@snmt-react-ui/user-select 2.9.8 → 2.9.9
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/user-select.js +905 -684
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -4,7 +4,7 @@ var T1 = (i, e, t) => k2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { forwardRef as L1, useState as S, useRef as q, useCallback as $, useEffect as K, useMemo as v2, useImperativeHandle as H1, useContext as r1, createContext as d1 } from "react";
|
|
7
|
-
import { Select as N2, Tag as R2, Flex as x2, Checkbox as
|
|
7
|
+
import { Select as N2, Tag as R2, Flex as x2, Checkbox as _2, Avatar as M2, Typography as a2, Popover as b2 } from "antd";
|
|
8
8
|
import { SNMTUiContext as y2 } from "@snmt-react-ui/core";
|
|
9
9
|
var H2 = Object.defineProperty, V2 = (i, e, t) => e in i ? H2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, E2 = (i, e, t) => V2(i, e + "", t), I2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function A2() {
|
|
@@ -99,12 +99,12 @@ class F2 {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const U2 = (i, e) => {
|
|
103
103
|
const t = q();
|
|
104
104
|
return K(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
|
-
},
|
|
107
|
+
}, h2 = (i, e, t, s) => i.getFixedT(e, t, s), W2 = (i, e, t, s) => $(h2(i, e, t, s), [i, e, t, s]), z2 = function(i) {
|
|
108
108
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
109
109
|
const {
|
|
110
110
|
i18n: t
|
|
@@ -114,7 +114,7 @@ const W2 = (i, e) => {
|
|
|
114
114
|
} = r1(j2) || {}, o = t || s || $2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new F2()), !o) {
|
|
116
116
|
O1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const p = (
|
|
117
|
+
const p = (_, R) => s1(R) ? R : S2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [p, {}, !1];
|
|
118
118
|
return x.t = p, x.i18n = {}, x.ready = !1, x;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && O1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
@@ -128,31 +128,31 @@ const W2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => Z2(p, o, c)), h =
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => Z2(p, o, c)), h = W2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => h2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = S(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
|
-
const H =
|
|
134
|
+
const H = U2(m), b = q(!0);
|
|
135
135
|
K(() => {
|
|
136
136
|
const {
|
|
137
137
|
bindI18n: p,
|
|
138
138
|
bindI18nStore: x
|
|
139
139
|
} = c;
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
b.current = !0, !l && !a && (e.lng ? P1(o, e.lng, d, () => {
|
|
141
|
+
b.current && v(f);
|
|
142
142
|
}) : B1(o, d, () => {
|
|
143
|
-
|
|
144
|
-
})), l && H && H !== m &&
|
|
145
|
-
const
|
|
146
|
-
|
|
143
|
+
b.current && v(f);
|
|
144
|
+
})), l && H && H !== m && b.current && v(f);
|
|
145
|
+
const _ = () => {
|
|
146
|
+
b.current && v(f);
|
|
147
147
|
};
|
|
148
|
-
return p && o && o.on(p,
|
|
149
|
-
|
|
148
|
+
return p && o && o.on(p, _), x && o && o.store.on(x, _), () => {
|
|
149
|
+
b.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
|
|
150
150
|
};
|
|
151
151
|
}, [o, m]), K(() => {
|
|
152
|
-
|
|
152
|
+
b.current && l && v(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const A = [
|
|
155
|
-
if (A.t =
|
|
154
|
+
const A = [k, o, l];
|
|
155
|
+
if (A.t = k, A.i18n = o, A.ready = l, l || !l && !a) return A;
|
|
156
156
|
throw new Promise((p) => {
|
|
157
157
|
e.lng ? P1(o, e.lng, d, () => p()) : B1(o, d, () => p());
|
|
158
158
|
});
|
|
@@ -181,7 +181,7 @@ const W2 = (i, e) => {
|
|
|
181
181
|
), J2 = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
182
182
|
const n = typeof s.src == "string";
|
|
183
183
|
return /* @__PURE__ */ r(
|
|
184
|
-
|
|
184
|
+
M2,
|
|
185
185
|
{
|
|
186
186
|
className: `snmt-avatar ${n ? "image" : ""}`,
|
|
187
187
|
shape: i,
|
|
@@ -212,7 +212,7 @@ const q2 = ({
|
|
|
212
212
|
}, [i, e]);
|
|
213
213
|
const { theme: l } = r1(G1);
|
|
214
214
|
return /* @__PURE__ */ r(
|
|
215
|
-
|
|
215
|
+
_2,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
218
218
|
checked: c,
|
|
@@ -225,12 +225,12 @@ const q2 = ({
|
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
|
-
var
|
|
229
|
-
const
|
|
228
|
+
var w = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(w || {});
|
|
229
|
+
const c2 = d1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
232
232
|
});
|
|
233
|
-
|
|
233
|
+
c2.Provider;
|
|
234
234
|
const Q2 = ({
|
|
235
235
|
width: i = 20,
|
|
236
236
|
height: e = 20,
|
|
@@ -261,7 +261,7 @@ const Q2 = ({
|
|
|
261
261
|
), X2 = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
264
|
+
color: t = w.GREY_DARK_5,
|
|
265
265
|
className: s,
|
|
266
266
|
onClick: n
|
|
267
267
|
}) => /* @__PURE__ */ u(
|
|
@@ -336,7 +336,109 @@ const Q2 = ({
|
|
|
336
336
|
), t5 = ({
|
|
337
337
|
width: i = 20,
|
|
338
338
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
339
|
+
color: t = w.GREY_DARK_5,
|
|
340
|
+
className: s,
|
|
341
|
+
onClick: n
|
|
342
|
+
}) => /* @__PURE__ */ u(
|
|
343
|
+
"svg",
|
|
344
|
+
{
|
|
345
|
+
width: i,
|
|
346
|
+
height: e,
|
|
347
|
+
className: s,
|
|
348
|
+
onClick: n,
|
|
349
|
+
viewBox: "0 0 25 25",
|
|
350
|
+
fill: "none",
|
|
351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
352
|
+
children: [
|
|
353
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
354
|
+
"path",
|
|
355
|
+
{
|
|
356
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
357
|
+
fill: t
|
|
358
|
+
}
|
|
359
|
+
) }),
|
|
360
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
), i5 = ({
|
|
364
|
+
width: i = 20,
|
|
365
|
+
height: e = 20,
|
|
366
|
+
color: t = w.GREY_DARK_5,
|
|
367
|
+
className: s,
|
|
368
|
+
onClick: n
|
|
369
|
+
}) => /* @__PURE__ */ r(
|
|
370
|
+
"svg",
|
|
371
|
+
{
|
|
372
|
+
width: i,
|
|
373
|
+
height: e,
|
|
374
|
+
className: s,
|
|
375
|
+
onClick: n,
|
|
376
|
+
viewBox: "0 0 25 25",
|
|
377
|
+
fill: "none",
|
|
378
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
379
|
+
children: /* @__PURE__ */ r(
|
|
380
|
+
"path",
|
|
381
|
+
{
|
|
382
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
383
|
+
fill: t
|
|
384
|
+
}
|
|
385
|
+
)
|
|
386
|
+
}
|
|
387
|
+
), s5 = ({
|
|
388
|
+
width: i = 20,
|
|
389
|
+
height: e = 20,
|
|
390
|
+
color: t = w.GREY_DARK_5,
|
|
391
|
+
className: s,
|
|
392
|
+
onClick: n
|
|
393
|
+
}) => /* @__PURE__ */ u(
|
|
394
|
+
"svg",
|
|
395
|
+
{
|
|
396
|
+
width: i,
|
|
397
|
+
height: e,
|
|
398
|
+
className: s,
|
|
399
|
+
onClick: n,
|
|
400
|
+
viewBox: "0 0 25 25",
|
|
401
|
+
fill: "none",
|
|
402
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
405
|
+
"path",
|
|
406
|
+
{
|
|
407
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
408
|
+
fill: t
|
|
409
|
+
}
|
|
410
|
+
) }),
|
|
411
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
), n5 = ({
|
|
415
|
+
width: i = 20,
|
|
416
|
+
height: e = 20,
|
|
417
|
+
color: t = w.GREY_DARK_5,
|
|
418
|
+
className: s,
|
|
419
|
+
onClick: n
|
|
420
|
+
}) => /* @__PURE__ */ r(
|
|
421
|
+
"svg",
|
|
422
|
+
{
|
|
423
|
+
width: i,
|
|
424
|
+
height: e,
|
|
425
|
+
className: s,
|
|
426
|
+
onClick: n,
|
|
427
|
+
viewBox: "0 0 25 25",
|
|
428
|
+
fill: "none",
|
|
429
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
430
|
+
children: /* @__PURE__ */ r(
|
|
431
|
+
"path",
|
|
432
|
+
{
|
|
433
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
434
|
+
fill: t
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
}
|
|
438
|
+
), r5 = ({
|
|
439
|
+
width: i = 20,
|
|
440
|
+
height: e = 20,
|
|
441
|
+
color: t = w.GREY_DARK_5,
|
|
340
442
|
className: s,
|
|
341
443
|
onClick: n
|
|
342
444
|
}) => /* @__PURE__ */ u(
|
|
@@ -380,10 +482,10 @@ const Q2 = ({
|
|
|
380
482
|
)
|
|
381
483
|
]
|
|
382
484
|
}
|
|
383
|
-
),
|
|
485
|
+
), o5 = ({
|
|
384
486
|
width: i = 20,
|
|
385
487
|
height: e = 20,
|
|
386
|
-
color: t =
|
|
488
|
+
color: t = w.GREY_DARK_5,
|
|
387
489
|
className: s,
|
|
388
490
|
onClick: n
|
|
389
491
|
}) => /* @__PURE__ */ r(
|
|
@@ -404,10 +506,10 @@ const Q2 = ({
|
|
|
404
506
|
}
|
|
405
507
|
)
|
|
406
508
|
}
|
|
407
|
-
),
|
|
509
|
+
), a5 = ({
|
|
408
510
|
width: i = 20,
|
|
409
511
|
height: e = 20,
|
|
410
|
-
color: t =
|
|
512
|
+
color: t = w.GREY_DARK_5,
|
|
411
513
|
className: s,
|
|
412
514
|
onClick: n
|
|
413
515
|
}) => /* @__PURE__ */ r(
|
|
@@ -428,10 +530,10 @@ const Q2 = ({
|
|
|
428
530
|
}
|
|
429
531
|
)
|
|
430
532
|
}
|
|
431
|
-
),
|
|
533
|
+
), l5 = ({
|
|
432
534
|
width: i = 20,
|
|
433
535
|
height: e = 20,
|
|
434
|
-
color: t =
|
|
536
|
+
color: t = w.GREY_DARK_5,
|
|
435
537
|
className: s,
|
|
436
538
|
onClick: n
|
|
437
539
|
}) => /* @__PURE__ */ r(
|
|
@@ -452,10 +554,10 @@ const Q2 = ({
|
|
|
452
554
|
}
|
|
453
555
|
)
|
|
454
556
|
}
|
|
455
|
-
),
|
|
557
|
+
), h5 = ({
|
|
456
558
|
width: i = 20,
|
|
457
559
|
height: e = 20,
|
|
458
|
-
color: t =
|
|
560
|
+
color: t = w.GREY_DARK_5,
|
|
459
561
|
className: s,
|
|
460
562
|
onClick: n
|
|
461
563
|
}) => /* @__PURE__ */ u(
|
|
@@ -513,10 +615,10 @@ const Q2 = ({
|
|
|
513
615
|
)
|
|
514
616
|
]
|
|
515
617
|
}
|
|
516
|
-
),
|
|
618
|
+
), c5 = ({
|
|
517
619
|
width: i = 20,
|
|
518
620
|
height: e = 20,
|
|
519
|
-
color: t =
|
|
621
|
+
color: t = w.GREY_DARK_5,
|
|
520
622
|
className: s,
|
|
521
623
|
onClick: n
|
|
522
624
|
}) => /* @__PURE__ */ u(
|
|
@@ -560,10 +662,10 @@ const Q2 = ({
|
|
|
560
662
|
)
|
|
561
663
|
]
|
|
562
664
|
}
|
|
563
|
-
),
|
|
665
|
+
), d5 = ({
|
|
564
666
|
width: i = 20,
|
|
565
667
|
height: e = 20,
|
|
566
|
-
color: t =
|
|
668
|
+
color: t = w.GREY_DARK_5,
|
|
567
669
|
className: s,
|
|
568
670
|
onClick: n
|
|
569
671
|
}) => /* @__PURE__ */ u(
|
|
@@ -600,10 +702,10 @@ const Q2 = ({
|
|
|
600
702
|
)
|
|
601
703
|
]
|
|
602
704
|
}
|
|
603
|
-
),
|
|
705
|
+
), C5 = ({
|
|
604
706
|
width: i = 20,
|
|
605
707
|
height: e = 20,
|
|
606
|
-
color: t =
|
|
708
|
+
color: t = w.GREY_DARK_5,
|
|
607
709
|
className: s,
|
|
608
710
|
onClick: n
|
|
609
711
|
}) => /* @__PURE__ */ u(
|
|
@@ -640,10 +742,10 @@ const Q2 = ({
|
|
|
640
742
|
)
|
|
641
743
|
]
|
|
642
744
|
}
|
|
643
|
-
),
|
|
745
|
+
), g5 = ({
|
|
644
746
|
width: i = 20,
|
|
645
747
|
height: e = 20,
|
|
646
|
-
color: t =
|
|
748
|
+
color: t = w.GREY_DARK_5,
|
|
647
749
|
className: s,
|
|
648
750
|
onClick: n
|
|
649
751
|
}) => /* @__PURE__ */ u(
|
|
@@ -687,10 +789,10 @@ const Q2 = ({
|
|
|
687
789
|
)
|
|
688
790
|
]
|
|
689
791
|
}
|
|
690
|
-
),
|
|
792
|
+
), u5 = ({
|
|
691
793
|
width: i = 20,
|
|
692
794
|
height: e = 20,
|
|
693
|
-
color: t =
|
|
795
|
+
color: t = w.GREY_DARK_5,
|
|
694
796
|
className: s,
|
|
695
797
|
onClick: n
|
|
696
798
|
}) => /* @__PURE__ */ u(
|
|
@@ -734,10 +836,10 @@ const Q2 = ({
|
|
|
734
836
|
)
|
|
735
837
|
]
|
|
736
838
|
}
|
|
737
|
-
),
|
|
839
|
+
), f5 = ({
|
|
738
840
|
width: i = 20,
|
|
739
841
|
height: e = 20,
|
|
740
|
-
color: t =
|
|
842
|
+
color: t = w.GREY_DARK_5,
|
|
741
843
|
className: s,
|
|
742
844
|
onClick: n
|
|
743
845
|
}) => /* @__PURE__ */ u(
|
|
@@ -781,10 +883,10 @@ const Q2 = ({
|
|
|
781
883
|
)
|
|
782
884
|
]
|
|
783
885
|
}
|
|
784
|
-
),
|
|
886
|
+
), p5 = ({
|
|
785
887
|
width: i = 20,
|
|
786
888
|
height: e = 20,
|
|
787
|
-
color: t =
|
|
889
|
+
color: t = w.GREY_DARK_5,
|
|
788
890
|
className: s,
|
|
789
891
|
onClick: n
|
|
790
892
|
}) => /* @__PURE__ */ u(
|
|
@@ -821,10 +923,10 @@ const Q2 = ({
|
|
|
821
923
|
)
|
|
822
924
|
]
|
|
823
925
|
}
|
|
824
|
-
),
|
|
926
|
+
), m5 = ({
|
|
825
927
|
width: i = 20,
|
|
826
928
|
height: e = 20,
|
|
827
|
-
color: t =
|
|
929
|
+
color: t = w.GREY_DARK_5,
|
|
828
930
|
className: s,
|
|
829
931
|
onClick: n
|
|
830
932
|
}) => /* @__PURE__ */ u(
|
|
@@ -854,10 +956,10 @@ const Q2 = ({
|
|
|
854
956
|
)
|
|
855
957
|
]
|
|
856
958
|
}
|
|
857
|
-
),
|
|
959
|
+
), w5 = ({
|
|
858
960
|
width: i = 20,
|
|
859
961
|
height: e = 20,
|
|
860
|
-
color: t =
|
|
962
|
+
color: t = w.GREY_DARK_5,
|
|
861
963
|
className: s,
|
|
862
964
|
onClick: n
|
|
863
965
|
}) => /* @__PURE__ */ u(
|
|
@@ -887,10 +989,10 @@ const Q2 = ({
|
|
|
887
989
|
)
|
|
888
990
|
]
|
|
889
991
|
}
|
|
890
|
-
),
|
|
992
|
+
), L5 = ({
|
|
891
993
|
width: i = 20,
|
|
892
994
|
height: e = 20,
|
|
893
|
-
color: t =
|
|
995
|
+
color: t = w.GREY_DARK_5,
|
|
894
996
|
className: s,
|
|
895
997
|
onClick: n
|
|
896
998
|
}) => /* @__PURE__ */ u(
|
|
@@ -920,10 +1022,10 @@ const Q2 = ({
|
|
|
920
1022
|
)
|
|
921
1023
|
]
|
|
922
1024
|
}
|
|
923
|
-
),
|
|
1025
|
+
), k5 = ({
|
|
924
1026
|
width: i = 20,
|
|
925
1027
|
height: e = 20,
|
|
926
|
-
color: t =
|
|
1028
|
+
color: t = w.GREY_DARK_5,
|
|
927
1029
|
className: s,
|
|
928
1030
|
onClick: n
|
|
929
1031
|
}) => /* @__PURE__ */ u(
|
|
@@ -953,10 +1055,10 @@ const Q2 = ({
|
|
|
953
1055
|
)
|
|
954
1056
|
]
|
|
955
1057
|
}
|
|
956
|
-
),
|
|
1058
|
+
), v5 = ({
|
|
957
1059
|
width: i = 20,
|
|
958
1060
|
height: e = 20,
|
|
959
|
-
color: t =
|
|
1061
|
+
color: t = w.GREY_DARK_5,
|
|
960
1062
|
className: s,
|
|
961
1063
|
onClick: n
|
|
962
1064
|
}) => /* @__PURE__ */ u(
|
|
@@ -993,10 +1095,10 @@ const Q2 = ({
|
|
|
993
1095
|
)
|
|
994
1096
|
]
|
|
995
1097
|
}
|
|
996
|
-
),
|
|
1098
|
+
), N5 = ({
|
|
997
1099
|
width: i = 20,
|
|
998
1100
|
height: e = 20,
|
|
999
|
-
color: t =
|
|
1101
|
+
color: t = w.GREY_DARK_5,
|
|
1000
1102
|
className: s,
|
|
1001
1103
|
onClick: n
|
|
1002
1104
|
}) => /* @__PURE__ */ u(
|
|
@@ -1026,10 +1128,10 @@ const Q2 = ({
|
|
|
1026
1128
|
)
|
|
1027
1129
|
]
|
|
1028
1130
|
}
|
|
1029
|
-
),
|
|
1131
|
+
), R5 = ({
|
|
1030
1132
|
width: i = 20,
|
|
1031
1133
|
height: e = 20,
|
|
1032
|
-
color: t =
|
|
1134
|
+
color: t = w.GREY_DARK_5,
|
|
1033
1135
|
className: s,
|
|
1034
1136
|
onClick: n
|
|
1035
1137
|
}) => /* @__PURE__ */ u(
|
|
@@ -1059,7 +1161,7 @@ const Q2 = ({
|
|
|
1059
1161
|
)
|
|
1060
1162
|
]
|
|
1061
1163
|
}
|
|
1062
|
-
),
|
|
1164
|
+
), x5 = ({
|
|
1063
1165
|
width: i = 20,
|
|
1064
1166
|
height: e = 20,
|
|
1065
1167
|
color: t = "#070739",
|
|
@@ -1089,7 +1191,7 @@ const Q2 = ({
|
|
|
1089
1191
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1090
1192
|
]
|
|
1091
1193
|
}
|
|
1092
|
-
),
|
|
1194
|
+
), _5 = ({
|
|
1093
1195
|
width: i = 20,
|
|
1094
1196
|
height: e = 20,
|
|
1095
1197
|
color: t = "#070739",
|
|
@@ -1127,7 +1229,7 @@ const Q2 = ({
|
|
|
1127
1229
|
)
|
|
1128
1230
|
]
|
|
1129
1231
|
}
|
|
1130
|
-
),
|
|
1232
|
+
), M5 = ({
|
|
1131
1233
|
width: i = 9,
|
|
1132
1234
|
height: e = 5,
|
|
1133
1235
|
color: t = "#001E52",
|
|
@@ -1153,7 +1255,7 @@ const Q2 = ({
|
|
|
1153
1255
|
}
|
|
1154
1256
|
)
|
|
1155
1257
|
}
|
|
1156
|
-
),
|
|
1258
|
+
), b5 = ({
|
|
1157
1259
|
width: i = 20,
|
|
1158
1260
|
height: e = 20,
|
|
1159
1261
|
color: t = "#F2F2F7",
|
|
@@ -1182,7 +1284,7 @@ const Q2 = ({
|
|
|
1182
1284
|
)
|
|
1183
1285
|
]
|
|
1184
1286
|
}
|
|
1185
|
-
),
|
|
1287
|
+
), y5 = ({
|
|
1186
1288
|
width: i = 20,
|
|
1187
1289
|
height: e = 20,
|
|
1188
1290
|
color: t = "#004ED7",
|
|
@@ -1211,7 +1313,7 @@ const Q2 = ({
|
|
|
1211
1313
|
)
|
|
1212
1314
|
]
|
|
1213
1315
|
}
|
|
1214
|
-
),
|
|
1316
|
+
), H5 = ({
|
|
1215
1317
|
width: i = 10,
|
|
1216
1318
|
height: e = 10,
|
|
1217
1319
|
color: t = "#001E52",
|
|
@@ -1240,7 +1342,7 @@ const Q2 = ({
|
|
|
1240
1342
|
)
|
|
1241
1343
|
]
|
|
1242
1344
|
}
|
|
1243
|
-
),
|
|
1345
|
+
), V5 = ({
|
|
1244
1346
|
width: i = 10,
|
|
1245
1347
|
height: e = 10,
|
|
1246
1348
|
color: t = "#001E52",
|
|
@@ -1277,9 +1379,9 @@ const Q2 = ({
|
|
|
1277
1379
|
)
|
|
1278
1380
|
]
|
|
1279
1381
|
}
|
|
1280
|
-
),
|
|
1382
|
+
), E5 = ({
|
|
1281
1383
|
className: i,
|
|
1282
|
-
color: e =
|
|
1384
|
+
color: e = w.GREY_DARK_5,
|
|
1283
1385
|
height: t = 20,
|
|
1284
1386
|
width: s = 20,
|
|
1285
1387
|
onClick: n
|
|
@@ -1310,9 +1412,9 @@ const Q2 = ({
|
|
|
1310
1412
|
)
|
|
1311
1413
|
]
|
|
1312
1414
|
}
|
|
1313
|
-
),
|
|
1415
|
+
), I5 = ({
|
|
1314
1416
|
className: i,
|
|
1315
|
-
color: e =
|
|
1417
|
+
color: e = w.GREY_DARK_5,
|
|
1316
1418
|
height: t = 20,
|
|
1317
1419
|
width: s = 20,
|
|
1318
1420
|
onClick: n
|
|
@@ -1337,9 +1439,9 @@ const Q2 = ({
|
|
|
1337
1439
|
}
|
|
1338
1440
|
)
|
|
1339
1441
|
}
|
|
1340
|
-
),
|
|
1442
|
+
), A5 = ({
|
|
1341
1443
|
className: i,
|
|
1342
|
-
color: e =
|
|
1444
|
+
color: e = w.GREY_DARK_5,
|
|
1343
1445
|
height: t = 20,
|
|
1344
1446
|
width: s = 20,
|
|
1345
1447
|
onClick: n
|
|
@@ -1364,9 +1466,9 @@ const Q2 = ({
|
|
|
1364
1466
|
}
|
|
1365
1467
|
)
|
|
1366
1468
|
}
|
|
1367
|
-
),
|
|
1469
|
+
), O5 = ({
|
|
1368
1470
|
className: i,
|
|
1369
|
-
color: e =
|
|
1471
|
+
color: e = w.GREY_DARK_5,
|
|
1370
1472
|
height: t = 5,
|
|
1371
1473
|
width: s = 10,
|
|
1372
1474
|
onClick: n
|
|
@@ -1388,9 +1490,9 @@ const Q2 = ({
|
|
|
1388
1490
|
}
|
|
1389
1491
|
)
|
|
1390
1492
|
}
|
|
1391
|
-
),
|
|
1493
|
+
), Z5 = ({
|
|
1392
1494
|
className: i,
|
|
1393
|
-
color: e =
|
|
1495
|
+
color: e = w.GREY_DARK_5,
|
|
1394
1496
|
height: t = 5,
|
|
1395
1497
|
width: s = 10,
|
|
1396
1498
|
onClick: n
|
|
@@ -1413,9 +1515,9 @@ const Q2 = ({
|
|
|
1413
1515
|
}
|
|
1414
1516
|
)
|
|
1415
1517
|
}
|
|
1416
|
-
),
|
|
1518
|
+
), S5 = ({
|
|
1417
1519
|
className: i,
|
|
1418
|
-
color: e =
|
|
1520
|
+
color: e = w.GREY_DARK_5,
|
|
1419
1521
|
height: t = 20,
|
|
1420
1522
|
width: s = 20,
|
|
1421
1523
|
onClick: n
|
|
@@ -1446,9 +1548,9 @@ const Q2 = ({
|
|
|
1446
1548
|
)
|
|
1447
1549
|
]
|
|
1448
1550
|
}
|
|
1449
|
-
),
|
|
1551
|
+
), D5 = ({
|
|
1450
1552
|
className: i,
|
|
1451
|
-
color: e =
|
|
1553
|
+
color: e = w.GREY_DARK_5,
|
|
1452
1554
|
height: t = 24,
|
|
1453
1555
|
width: s = 24,
|
|
1454
1556
|
onClick: n
|
|
@@ -1485,9 +1587,9 @@ const Q2 = ({
|
|
|
1485
1587
|
)
|
|
1486
1588
|
]
|
|
1487
1589
|
}
|
|
1488
|
-
),
|
|
1590
|
+
), G5 = ({
|
|
1489
1591
|
className: i,
|
|
1490
|
-
color: e =
|
|
1592
|
+
color: e = w.GREY_DARK_5,
|
|
1491
1593
|
height: t = 24,
|
|
1492
1594
|
width: s = 24,
|
|
1493
1595
|
onClick: n
|
|
@@ -1512,9 +1614,9 @@ const Q2 = ({
|
|
|
1512
1614
|
}
|
|
1513
1615
|
)
|
|
1514
1616
|
}
|
|
1515
|
-
),
|
|
1617
|
+
), T5 = ({
|
|
1516
1618
|
className: i,
|
|
1517
|
-
color: e =
|
|
1619
|
+
color: e = w.GREY_DARK_5,
|
|
1518
1620
|
height: t = 24,
|
|
1519
1621
|
width: s = 24,
|
|
1520
1622
|
onClick: n
|
|
@@ -1571,9 +1673,9 @@ const Q2 = ({
|
|
|
1571
1673
|
)
|
|
1572
1674
|
]
|
|
1573
1675
|
}
|
|
1574
|
-
),
|
|
1676
|
+
), K5 = ({
|
|
1575
1677
|
className: i,
|
|
1576
|
-
color: e =
|
|
1678
|
+
color: e = w.GREY_DARK_5,
|
|
1577
1679
|
height: t = 24,
|
|
1578
1680
|
width: s = 24,
|
|
1579
1681
|
onClick: n
|
|
@@ -1608,9 +1710,9 @@ const Q2 = ({
|
|
|
1608
1710
|
)
|
|
1609
1711
|
]
|
|
1610
1712
|
}
|
|
1611
|
-
),
|
|
1713
|
+
), B5 = ({
|
|
1612
1714
|
className: i,
|
|
1613
|
-
color: e =
|
|
1715
|
+
color: e = w.GREY_DARK_3,
|
|
1614
1716
|
height: t = 14,
|
|
1615
1717
|
width: s = 14,
|
|
1616
1718
|
onClick: n
|
|
@@ -1645,9 +1747,9 @@ const Q2 = ({
|
|
|
1645
1747
|
)
|
|
1646
1748
|
]
|
|
1647
1749
|
}
|
|
1648
|
-
),
|
|
1750
|
+
), P5 = ({
|
|
1649
1751
|
className: i,
|
|
1650
|
-
color: e =
|
|
1752
|
+
color: e = w.GREY_DARK_5,
|
|
1651
1753
|
height: t = 18,
|
|
1652
1754
|
onClick: s,
|
|
1653
1755
|
width: n = 18
|
|
@@ -1672,9 +1774,9 @@ const Q2 = ({
|
|
|
1672
1774
|
}
|
|
1673
1775
|
)
|
|
1674
1776
|
}
|
|
1675
|
-
),
|
|
1777
|
+
), Y5 = ({
|
|
1676
1778
|
className: i,
|
|
1677
|
-
color: e =
|
|
1779
|
+
color: e = w.GREY_DARK_5,
|
|
1678
1780
|
height: t = 24,
|
|
1679
1781
|
width: s = 24,
|
|
1680
1782
|
onClick: n
|
|
@@ -1724,9 +1826,9 @@ const Q2 = ({
|
|
|
1724
1826
|
)
|
|
1725
1827
|
]
|
|
1726
1828
|
}
|
|
1727
|
-
),
|
|
1829
|
+
), $5 = ({
|
|
1728
1830
|
className: i,
|
|
1729
|
-
color: e =
|
|
1831
|
+
color: e = w.GREY_DARK_5,
|
|
1730
1832
|
height: t = 24,
|
|
1731
1833
|
width: s = 24,
|
|
1732
1834
|
onClick: n
|
|
@@ -1761,9 +1863,9 @@ const Q2 = ({
|
|
|
1761
1863
|
)
|
|
1762
1864
|
]
|
|
1763
1865
|
}
|
|
1764
|
-
),
|
|
1866
|
+
), j5 = ({
|
|
1765
1867
|
className: i,
|
|
1766
|
-
color: e =
|
|
1868
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
1767
1869
|
height: t = 37,
|
|
1768
1870
|
width: s = 36,
|
|
1769
1871
|
onClick: n
|
|
@@ -1800,9 +1902,9 @@ const Q2 = ({
|
|
|
1800
1902
|
)
|
|
1801
1903
|
]
|
|
1802
1904
|
}
|
|
1803
|
-
),
|
|
1905
|
+
), F5 = ({
|
|
1804
1906
|
className: i,
|
|
1805
|
-
color: e =
|
|
1907
|
+
color: e = w.GREY_DARK_5,
|
|
1806
1908
|
height: t = 24,
|
|
1807
1909
|
width: s = 24,
|
|
1808
1910
|
onClick: n
|
|
@@ -1826,9 +1928,9 @@ const Q2 = ({
|
|
|
1826
1928
|
}
|
|
1827
1929
|
)
|
|
1828
1930
|
}
|
|
1829
|
-
),
|
|
1931
|
+
), U5 = ({
|
|
1830
1932
|
className: i,
|
|
1831
|
-
color: e =
|
|
1933
|
+
color: e = w.GREY_DARK_5,
|
|
1832
1934
|
height: t = 24,
|
|
1833
1935
|
width: s = 24,
|
|
1834
1936
|
onClick: n
|
|
@@ -1865,9 +1967,9 @@ const Q2 = ({
|
|
|
1865
1967
|
)
|
|
1866
1968
|
]
|
|
1867
1969
|
}
|
|
1868
|
-
),
|
|
1970
|
+
), W5 = ({
|
|
1869
1971
|
className: i,
|
|
1870
|
-
color: e =
|
|
1972
|
+
color: e = w.GREY_DARK_5,
|
|
1871
1973
|
height: t = 20,
|
|
1872
1974
|
width: s = 20,
|
|
1873
1975
|
onClick: n
|
|
@@ -1898,9 +2000,9 @@ const Q2 = ({
|
|
|
1898
2000
|
)
|
|
1899
2001
|
]
|
|
1900
2002
|
}
|
|
1901
|
-
),
|
|
2003
|
+
), z5 = ({
|
|
1902
2004
|
className: i,
|
|
1903
|
-
color: e =
|
|
2005
|
+
color: e = w.GREY_DARK_5,
|
|
1904
2006
|
height: t = 24,
|
|
1905
2007
|
width: s = 24,
|
|
1906
2008
|
onClick: n
|
|
@@ -1967,9 +2069,9 @@ const Q2 = ({
|
|
|
1967
2069
|
)
|
|
1968
2070
|
]
|
|
1969
2071
|
}
|
|
1970
|
-
),
|
|
2072
|
+
), J5 = ({
|
|
1971
2073
|
className: i,
|
|
1972
|
-
color: e =
|
|
2074
|
+
color: e = w.GREY_DARK_5,
|
|
1973
2075
|
height: t = 24,
|
|
1974
2076
|
width: s = 24,
|
|
1975
2077
|
onClick: n
|
|
@@ -2024,9 +2126,9 @@ const Q2 = ({
|
|
|
2024
2126
|
)
|
|
2025
2127
|
]
|
|
2026
2128
|
}
|
|
2027
|
-
),
|
|
2129
|
+
), q5 = ({
|
|
2028
2130
|
className: i,
|
|
2029
|
-
color: e =
|
|
2131
|
+
color: e = w.GREY_DARK_5,
|
|
2030
2132
|
height: t = 24,
|
|
2031
2133
|
width: s = 24,
|
|
2032
2134
|
onClick: n
|
|
@@ -2073,9 +2175,9 @@ const Q2 = ({
|
|
|
2073
2175
|
)
|
|
2074
2176
|
]
|
|
2075
2177
|
}
|
|
2076
|
-
),
|
|
2178
|
+
), Q5 = ({
|
|
2077
2179
|
className: i,
|
|
2078
|
-
color: e =
|
|
2180
|
+
color: e = w.GREY_DARK_5,
|
|
2079
2181
|
height: t = 24,
|
|
2080
2182
|
width: s = 24,
|
|
2081
2183
|
onClick: n
|
|
@@ -2100,9 +2202,9 @@ const Q2 = ({
|
|
|
2100
2202
|
}
|
|
2101
2203
|
)
|
|
2102
2204
|
}
|
|
2103
|
-
),
|
|
2205
|
+
), X5 = ({
|
|
2104
2206
|
className: i,
|
|
2105
|
-
color: e =
|
|
2207
|
+
color: e = w.GREY_DARK_5,
|
|
2106
2208
|
height: t = 20,
|
|
2107
2209
|
width: s = 20,
|
|
2108
2210
|
onClick: n
|
|
@@ -2117,7 +2219,7 @@ const Q2 = ({
|
|
|
2117
2219
|
fill: "none",
|
|
2118
2220
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2119
2221
|
children: [
|
|
2120
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2222
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
2121
2223
|
/* @__PURE__ */ r(
|
|
2122
2224
|
"path",
|
|
2123
2225
|
{
|
|
@@ -2129,7 +2231,7 @@ const Q2 = ({
|
|
|
2129
2231
|
)
|
|
2130
2232
|
]
|
|
2131
2233
|
}
|
|
2132
|
-
),
|
|
2234
|
+
), ee = ({
|
|
2133
2235
|
className: i,
|
|
2134
2236
|
color: e = "#001E52",
|
|
2135
2237
|
height: t = 24,
|
|
@@ -2155,7 +2257,7 @@ const Q2 = ({
|
|
|
2155
2257
|
}
|
|
2156
2258
|
)
|
|
2157
2259
|
}
|
|
2158
|
-
),
|
|
2260
|
+
), te = ({
|
|
2159
2261
|
className: i,
|
|
2160
2262
|
color: e = "#001E52",
|
|
2161
2263
|
height: t = 24,
|
|
@@ -2193,10 +2295,10 @@ const Q2 = ({
|
|
|
2193
2295
|
)
|
|
2194
2296
|
] }) })
|
|
2195
2297
|
}
|
|
2196
|
-
),
|
|
2298
|
+
), ie = ({
|
|
2197
2299
|
width: i = 20,
|
|
2198
2300
|
height: e = 20,
|
|
2199
|
-
color: t =
|
|
2301
|
+
color: t = w.GREY_DARK_5,
|
|
2200
2302
|
className: s,
|
|
2201
2303
|
onClick: n
|
|
2202
2304
|
}) => /* @__PURE__ */ r(
|
|
@@ -2217,7 +2319,7 @@ const Q2 = ({
|
|
|
2217
2319
|
}
|
|
2218
2320
|
)
|
|
2219
2321
|
}
|
|
2220
|
-
),
|
|
2322
|
+
), se = ({
|
|
2221
2323
|
width: i = 24,
|
|
2222
2324
|
height: e = 24,
|
|
2223
2325
|
color: t = "#131314",
|
|
@@ -2250,10 +2352,10 @@ const Q2 = ({
|
|
|
2250
2352
|
)
|
|
2251
2353
|
]
|
|
2252
2354
|
}
|
|
2253
|
-
),
|
|
2355
|
+
), ne = ({
|
|
2254
2356
|
width: i = 20,
|
|
2255
2357
|
height: e = 20,
|
|
2256
|
-
color: t =
|
|
2358
|
+
color: t = w.GREY_DARK_5,
|
|
2257
2359
|
className: s,
|
|
2258
2360
|
onClick: n
|
|
2259
2361
|
}) => /* @__PURE__ */ u(
|
|
@@ -2283,10 +2385,10 @@ const Q2 = ({
|
|
|
2283
2385
|
)
|
|
2284
2386
|
]
|
|
2285
2387
|
}
|
|
2286
|
-
),
|
|
2388
|
+
), re = ({
|
|
2287
2389
|
width: i = 24,
|
|
2288
2390
|
height: e = 24,
|
|
2289
|
-
color: t =
|
|
2391
|
+
color: t = w.GREY_DARK_2,
|
|
2290
2392
|
className: s,
|
|
2291
2393
|
onClick: n
|
|
2292
2394
|
}) => /* @__PURE__ */ u(
|
|
@@ -2323,10 +2425,10 @@ const Q2 = ({
|
|
|
2323
2425
|
)
|
|
2324
2426
|
]
|
|
2325
2427
|
}
|
|
2326
|
-
),
|
|
2428
|
+
), oe = ({
|
|
2327
2429
|
width: i = 24,
|
|
2328
2430
|
height: e = 24,
|
|
2329
|
-
color: t =
|
|
2431
|
+
color: t = w.GREY_DARK_2,
|
|
2330
2432
|
className: s,
|
|
2331
2433
|
onClick: n
|
|
2332
2434
|
}) => /* @__PURE__ */ r(
|
|
@@ -2350,10 +2452,10 @@ const Q2 = ({
|
|
|
2350
2452
|
}
|
|
2351
2453
|
)
|
|
2352
2454
|
}
|
|
2353
|
-
),
|
|
2455
|
+
), ae = ({
|
|
2354
2456
|
width: i = 24,
|
|
2355
2457
|
height: e = 24,
|
|
2356
|
-
color: t =
|
|
2458
|
+
color: t = w.GREY_DARK_2,
|
|
2357
2459
|
className: s,
|
|
2358
2460
|
onClick: n
|
|
2359
2461
|
}) => /* @__PURE__ */ r(
|
|
@@ -2386,7 +2488,7 @@ const Q2 = ({
|
|
|
2386
2488
|
disabled: o = !1,
|
|
2387
2489
|
onClick: c
|
|
2388
2490
|
}) => {
|
|
2389
|
-
const [a, C] = S(n), { theme: d } = r1(
|
|
2491
|
+
const [a, C] = S(n), { theme: d } = r1(c2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2390
2492
|
return K(() => {
|
|
2391
2493
|
if (n) {
|
|
2392
2494
|
h && !o && C(`${n} clickable`);
|
|
@@ -2396,9 +2498,9 @@ const Q2 = ({
|
|
|
2396
2498
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
2397
2499
|
switch (i) {
|
|
2398
2500
|
case "nextIcon":
|
|
2399
|
-
return
|
|
2501
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2400
2502
|
case "prevIcon":
|
|
2401
|
-
return
|
|
2503
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2402
2504
|
case "arrowDown":
|
|
2403
2505
|
return Q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2404
2506
|
case "info":
|
|
@@ -2406,25 +2508,25 @@ const Q2 = ({
|
|
|
2406
2508
|
case "arrowRight":
|
|
2407
2509
|
return e5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2408
2510
|
case "calendar":
|
|
2409
|
-
return
|
|
2511
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2410
2512
|
case "check":
|
|
2411
|
-
return
|
|
2513
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2412
2514
|
case "cancel":
|
|
2413
|
-
return
|
|
2515
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2414
2516
|
case "add":
|
|
2415
|
-
return
|
|
2517
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2416
2518
|
case "list":
|
|
2417
|
-
return
|
|
2519
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2418
2520
|
case "dragAndDrop":
|
|
2419
|
-
return
|
|
2521
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2420
2522
|
case "filter":
|
|
2421
|
-
return
|
|
2523
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2422
2524
|
case "attention":
|
|
2423
|
-
return
|
|
2525
|
+
return C5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2424
2526
|
case "users":
|
|
2425
|
-
return
|
|
2527
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2426
2528
|
case "mySkillsMatrix":
|
|
2427
|
-
return
|
|
2529
|
+
return u5({
|
|
2428
2530
|
width: e,
|
|
2429
2531
|
height: t,
|
|
2430
2532
|
color: l,
|
|
@@ -2432,9 +2534,9 @@ const Q2 = ({
|
|
|
2432
2534
|
onClick: h
|
|
2433
2535
|
});
|
|
2434
2536
|
case "skills":
|
|
2435
|
-
return
|
|
2537
|
+
return f5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2436
2538
|
case "skillsMatrices":
|
|
2437
|
-
return
|
|
2539
|
+
return p5({
|
|
2438
2540
|
width: e,
|
|
2439
2541
|
height: t,
|
|
2440
2542
|
color: l,
|
|
@@ -2442,21 +2544,21 @@ const Q2 = ({
|
|
|
2442
2544
|
onClick: h
|
|
2443
2545
|
});
|
|
2444
2546
|
case "history":
|
|
2445
|
-
return
|
|
2547
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2446
2548
|
case "logOut":
|
|
2447
|
-
return
|
|
2549
|
+
return w5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2448
2550
|
case "settings":
|
|
2449
|
-
return
|
|
2551
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2450
2552
|
case "trash":
|
|
2451
|
-
return
|
|
2553
|
+
return k5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2452
2554
|
case "settings2":
|
|
2453
|
-
return
|
|
2555
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2454
2556
|
case "checkCircle":
|
|
2455
|
-
return
|
|
2557
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2456
2558
|
case "cancelCircle":
|
|
2457
|
-
return
|
|
2559
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2458
2560
|
case "visibilityIcon":
|
|
2459
|
-
return
|
|
2561
|
+
return x5({
|
|
2460
2562
|
width: e,
|
|
2461
2563
|
height: t,
|
|
2462
2564
|
color: l,
|
|
@@ -2464,7 +2566,7 @@ const Q2 = ({
|
|
|
2464
2566
|
onClick: h
|
|
2465
2567
|
});
|
|
2466
2568
|
case "visibilityOffIcon":
|
|
2467
|
-
return
|
|
2569
|
+
return _5({
|
|
2468
2570
|
width: e,
|
|
2469
2571
|
height: t,
|
|
2470
2572
|
color: l,
|
|
@@ -2472,7 +2574,7 @@ const Q2 = ({
|
|
|
2472
2574
|
onClick: h
|
|
2473
2575
|
});
|
|
2474
2576
|
case "selectArrowIcon":
|
|
2475
|
-
return
|
|
2577
|
+
return M5({
|
|
2476
2578
|
width: e,
|
|
2477
2579
|
height: t,
|
|
2478
2580
|
color: l,
|
|
@@ -2480,7 +2582,7 @@ const Q2 = ({
|
|
|
2480
2582
|
onClick: h
|
|
2481
2583
|
});
|
|
2482
2584
|
case "expandArrowIcon":
|
|
2483
|
-
return
|
|
2585
|
+
return b5({
|
|
2484
2586
|
width: e,
|
|
2485
2587
|
height: t,
|
|
2486
2588
|
color: l,
|
|
@@ -2488,7 +2590,7 @@ const Q2 = ({
|
|
|
2488
2590
|
onClick: h
|
|
2489
2591
|
});
|
|
2490
2592
|
case "expandActiveArrowIcon":
|
|
2491
|
-
return
|
|
2593
|
+
return y5({
|
|
2492
2594
|
width: e,
|
|
2493
2595
|
height: t,
|
|
2494
2596
|
color: l,
|
|
@@ -2496,77 +2598,85 @@ const Q2 = ({
|
|
|
2496
2598
|
onClick: h
|
|
2497
2599
|
});
|
|
2498
2600
|
case "sortUp":
|
|
2499
|
-
return
|
|
2601
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2500
2602
|
case "sortDown":
|
|
2501
|
-
return
|
|
2603
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2502
2604
|
case "search":
|
|
2503
|
-
return _5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2504
|
-
case "arrowUpFilled":
|
|
2505
2605
|
return E5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2606
|
+
case "arrowUpFilled":
|
|
2607
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2506
2608
|
case "arrowDownFilled":
|
|
2507
|
-
return
|
|
2609
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
|
+
case "arrow2Up":
|
|
2611
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
|
+
case "arrow2Right":
|
|
2613
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
|
+
case "arrow2Down":
|
|
2615
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
|
+
case "arrow2Left":
|
|
2617
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2508
2618
|
case "link":
|
|
2509
|
-
return
|
|
2619
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2620
|
case "telegram":
|
|
2511
|
-
return
|
|
2621
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2622
|
case "mail":
|
|
2513
|
-
return
|
|
2623
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2624
|
case "github":
|
|
2515
|
-
return
|
|
2625
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2626
|
case "linkedIn":
|
|
2517
|
-
return
|
|
2627
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2628
|
case "emptyStateIcon":
|
|
2519
|
-
return
|
|
2629
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2630
|
case "filtersIcon":
|
|
2521
|
-
return
|
|
2631
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2632
|
case "dotMenuIcon":
|
|
2523
|
-
return
|
|
2633
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2524
2634
|
case "plusCircle":
|
|
2525
|
-
return
|
|
2635
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2526
2636
|
case "warning":
|
|
2527
|
-
return
|
|
2637
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2528
2638
|
case "back":
|
|
2529
|
-
return
|
|
2639
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2530
2640
|
case "bell":
|
|
2531
|
-
return
|
|
2641
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2532
2642
|
case "copy":
|
|
2533
|
-
return
|
|
2643
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2534
2644
|
case "contract":
|
|
2535
|
-
return
|
|
2645
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2536
2646
|
case "resourceManager":
|
|
2537
|
-
return
|
|
2647
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2538
2648
|
case "image":
|
|
2539
|
-
return
|
|
2649
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2540
2650
|
case "edit":
|
|
2541
|
-
return
|
|
2651
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2542
2652
|
case "filledArrowRight":
|
|
2543
|
-
return
|
|
2653
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2544
2654
|
case "burgerMenu":
|
|
2545
|
-
return
|
|
2655
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2546
2656
|
case "refresh":
|
|
2547
|
-
return
|
|
2657
|
+
return te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2548
2658
|
case "projects":
|
|
2549
|
-
return
|
|
2659
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2550
2660
|
case "user":
|
|
2551
|
-
return
|
|
2661
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2552
2662
|
case "exit":
|
|
2553
|
-
return
|
|
2663
|
+
return se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2554
2664
|
case "openPointCircle":
|
|
2555
|
-
return
|
|
2665
|
+
return re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2556
2666
|
case "community":
|
|
2557
|
-
return
|
|
2667
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2558
2668
|
case "docs":
|
|
2559
|
-
return
|
|
2669
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2560
2670
|
default:
|
|
2561
2671
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
2562
2672
|
}
|
|
2563
2673
|
})() });
|
|
2564
|
-
}, { Title:
|
|
2674
|
+
}, { Title: le, Text: he } = a2, ce = {
|
|
2565
2675
|
h1: 1,
|
|
2566
2676
|
h2: 2,
|
|
2567
2677
|
h3: 3,
|
|
2568
2678
|
h4: 4
|
|
2569
|
-
},
|
|
2679
|
+
}, de = L1(
|
|
2570
2680
|
({
|
|
2571
2681
|
align: i = "inherit",
|
|
2572
2682
|
variant: e = "body1",
|
|
@@ -2582,21 +2692,21 @@ const Q2 = ({
|
|
|
2582
2692
|
H1(C, () => d.current);
|
|
2583
2693
|
const [l, h] = S(!1);
|
|
2584
2694
|
K(() => {
|
|
2585
|
-
var
|
|
2695
|
+
var v;
|
|
2586
2696
|
if (!a) return;
|
|
2587
2697
|
const m = () => {
|
|
2588
2698
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2589
2699
|
};
|
|
2590
2700
|
m();
|
|
2591
2701
|
const H = new ResizeObserver(m);
|
|
2592
|
-
return d.current && H.observe(d.current), (
|
|
2702
|
+
return d.current && H.observe(d.current), (v = d.current) != null && v.parentElement && H.observe(d.current.parentElement), () => {
|
|
2593
2703
|
H.disconnect();
|
|
2594
2704
|
};
|
|
2595
2705
|
}, [a]);
|
|
2596
2706
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2597
2707
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
2598
2708
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
2599
|
-
const
|
|
2709
|
+
const k = {
|
|
2600
2710
|
className: f,
|
|
2601
2711
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
2602
2712
|
onClick: n,
|
|
@@ -2608,16 +2718,16 @@ const Q2 = ({
|
|
|
2608
2718
|
}
|
|
2609
2719
|
} : void 0
|
|
2610
2720
|
};
|
|
2611
|
-
return g ? /* @__PURE__ */ r(
|
|
2721
|
+
return g ? /* @__PURE__ */ r(le, { level: ce[e], ...k, children: s }) : /* @__PURE__ */ r(he, { ...k, children: s });
|
|
2612
2722
|
}
|
|
2613
2723
|
);
|
|
2614
|
-
var
|
|
2724
|
+
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
|
|
2615
2725
|
const d2 = d1({
|
|
2616
2726
|
locale: "en",
|
|
2617
2727
|
theme: "light"
|
|
2618
2728
|
});
|
|
2619
2729
|
d2.Provider;
|
|
2620
|
-
const
|
|
2730
|
+
const Ce = ({
|
|
2621
2731
|
width: i = 20,
|
|
2622
2732
|
height: e = 20,
|
|
2623
2733
|
color: t = "#001E52",
|
|
@@ -2631,23 +2741,149 @@ const le = ({
|
|
|
2631
2741
|
height: e,
|
|
2632
2742
|
className: s,
|
|
2633
2743
|
onClick: n,
|
|
2634
|
-
viewBox: "0 0 20 20",
|
|
2744
|
+
viewBox: "0 0 20 20",
|
|
2745
|
+
fill: "none",
|
|
2746
|
+
children: /* @__PURE__ */ r(
|
|
2747
|
+
"path",
|
|
2748
|
+
{
|
|
2749
|
+
d: "M15.625 10.4688L10 16.0937L4.375 10.4687M10 15.3125L10 3.90625",
|
|
2750
|
+
stroke: t,
|
|
2751
|
+
strokeWidth: "1.875",
|
|
2752
|
+
strokeLinecap: "round",
|
|
2753
|
+
strokeLinejoin: "round"
|
|
2754
|
+
}
|
|
2755
|
+
)
|
|
2756
|
+
}
|
|
2757
|
+
), ge = ({
|
|
2758
|
+
width: i = 20,
|
|
2759
|
+
height: e = 20,
|
|
2760
|
+
color: t = L.GREY_DARK_5,
|
|
2761
|
+
className: s,
|
|
2762
|
+
onClick: n
|
|
2763
|
+
}) => /* @__PURE__ */ u(
|
|
2764
|
+
"svg",
|
|
2765
|
+
{
|
|
2766
|
+
width: i,
|
|
2767
|
+
height: e,
|
|
2768
|
+
className: s,
|
|
2769
|
+
onClick: n,
|
|
2770
|
+
viewBox: "0 0 24 25",
|
|
2771
|
+
fill: "none",
|
|
2772
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2773
|
+
children: [
|
|
2774
|
+
/* @__PURE__ */ r(
|
|
2775
|
+
"path",
|
|
2776
|
+
{
|
|
2777
|
+
d: "M11.25 17L11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17Z",
|
|
2778
|
+
fill: t
|
|
2779
|
+
}
|
|
2780
|
+
),
|
|
2781
|
+
/* @__PURE__ */ r(
|
|
2782
|
+
"path",
|
|
2783
|
+
{
|
|
2784
|
+
d: "M11.4523 7.49701C11.7294 7.18913 12.204 7.16426 12.5118 7.44135C12.8197 7.71844 12.8446 8.19304 12.5675 8.50092L12.5577 8.51166C12.2806 8.81954 11.806 8.84442 11.4982 8.56732C11.1904 8.29021 11.1655 7.81558 11.4425 7.50775L11.4523 7.49701Z",
|
|
2785
|
+
fill: t
|
|
2786
|
+
}
|
|
2787
|
+
),
|
|
2788
|
+
/* @__PURE__ */ r(
|
|
2789
|
+
"path",
|
|
2790
|
+
{
|
|
2791
|
+
d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
|
|
2792
|
+
fill: t
|
|
2793
|
+
}
|
|
2794
|
+
)
|
|
2795
|
+
]
|
|
2796
|
+
}
|
|
2797
|
+
), ue = ({
|
|
2798
|
+
width: i = 20,
|
|
2799
|
+
height: e = 20,
|
|
2800
|
+
color: t = "#001E52",
|
|
2801
|
+
className: s,
|
|
2802
|
+
onClick: n
|
|
2803
|
+
}) => /* @__PURE__ */ u(
|
|
2804
|
+
"svg",
|
|
2805
|
+
{
|
|
2806
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2807
|
+
width: i,
|
|
2808
|
+
height: e,
|
|
2809
|
+
className: s,
|
|
2810
|
+
onClick: n,
|
|
2811
|
+
viewBox: "0 0 20 20",
|
|
2812
|
+
fill: "none",
|
|
2813
|
+
children: [
|
|
2814
|
+
/* @__PURE__ */ r(
|
|
2815
|
+
"path",
|
|
2816
|
+
{
|
|
2817
|
+
fillRule: "evenodd",
|
|
2818
|
+
clipRule: "evenodd",
|
|
2819
|
+
d: "M8.50264 13.4974C8.80563 13.8004 9.29688 13.8004 9.59987 13.4974L13.0481 10.0491C13.3511 9.74609 13.3511 9.25485 13.0481 8.95185L9.59987 5.50358C9.29688 5.20058 8.80563 5.20058 8.50264 5.50358C8.19964 5.80657 8.19964 6.29782 8.50264 6.60081L11.4023 9.50047L8.50264 12.4001C8.19964 12.7031 8.19964 13.1944 8.50264 13.4974Z",
|
|
2820
|
+
fill: t
|
|
2821
|
+
}
|
|
2822
|
+
),
|
|
2823
|
+
/* @__PURE__ */ r(
|
|
2824
|
+
"path",
|
|
2825
|
+
{
|
|
2826
|
+
d: "M5 8.87524C4.65482 8.87524 4.375 9.15507 4.375 9.50024C4.375 9.84542 4.65482 10.1252 5 10.1252V8.87524ZM12.5 8.87524H5V10.1252H12.5V8.87524Z",
|
|
2827
|
+
fill: t
|
|
2828
|
+
}
|
|
2829
|
+
)
|
|
2830
|
+
]
|
|
2831
|
+
}
|
|
2832
|
+
), fe = ({
|
|
2833
|
+
width: i = 20,
|
|
2834
|
+
height: e = 20,
|
|
2835
|
+
color: t = L.GREY_DARK_5,
|
|
2836
|
+
className: s,
|
|
2837
|
+
onClick: n
|
|
2838
|
+
}) => /* @__PURE__ */ u(
|
|
2839
|
+
"svg",
|
|
2840
|
+
{
|
|
2841
|
+
width: i,
|
|
2842
|
+
height: e,
|
|
2843
|
+
className: s,
|
|
2844
|
+
onClick: n,
|
|
2845
|
+
viewBox: "0 0 25 25",
|
|
2846
|
+
fill: "none",
|
|
2847
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2848
|
+
children: [
|
|
2849
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
2850
|
+
"path",
|
|
2851
|
+
{
|
|
2852
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
2853
|
+
fill: t
|
|
2854
|
+
}
|
|
2855
|
+
) }),
|
|
2856
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2857
|
+
]
|
|
2858
|
+
}
|
|
2859
|
+
), pe = ({
|
|
2860
|
+
width: i = 20,
|
|
2861
|
+
height: e = 20,
|
|
2862
|
+
color: t = L.GREY_DARK_5,
|
|
2863
|
+
className: s,
|
|
2864
|
+
onClick: n
|
|
2865
|
+
}) => /* @__PURE__ */ r(
|
|
2866
|
+
"svg",
|
|
2867
|
+
{
|
|
2868
|
+
width: i,
|
|
2869
|
+
height: e,
|
|
2870
|
+
className: s,
|
|
2871
|
+
onClick: n,
|
|
2872
|
+
viewBox: "0 0 25 25",
|
|
2635
2873
|
fill: "none",
|
|
2874
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2636
2875
|
children: /* @__PURE__ */ r(
|
|
2637
2876
|
"path",
|
|
2638
2877
|
{
|
|
2639
|
-
d: "
|
|
2640
|
-
|
|
2641
|
-
strokeWidth: "1.875",
|
|
2642
|
-
strokeLinecap: "round",
|
|
2643
|
-
strokeLinejoin: "round"
|
|
2878
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
2879
|
+
fill: t
|
|
2644
2880
|
}
|
|
2645
2881
|
)
|
|
2646
2882
|
}
|
|
2647
|
-
),
|
|
2883
|
+
), me = ({
|
|
2648
2884
|
width: i = 20,
|
|
2649
2885
|
height: e = 20,
|
|
2650
|
-
color: t =
|
|
2886
|
+
color: t = L.GREY_DARK_5,
|
|
2651
2887
|
className: s,
|
|
2652
2888
|
onClick: n
|
|
2653
2889
|
}) => /* @__PURE__ */ u(
|
|
@@ -2657,72 +2893,48 @@ const le = ({
|
|
|
2657
2893
|
height: e,
|
|
2658
2894
|
className: s,
|
|
2659
2895
|
onClick: n,
|
|
2660
|
-
viewBox: "0 0
|
|
2896
|
+
viewBox: "0 0 25 25",
|
|
2661
2897
|
fill: "none",
|
|
2662
2898
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2663
2899
|
children: [
|
|
2664
|
-
/* @__PURE__ */ r(
|
|
2665
|
-
"path",
|
|
2666
|
-
{
|
|
2667
|
-
d: "M11.25 17L11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17Z",
|
|
2668
|
-
fill: t
|
|
2669
|
-
}
|
|
2670
|
-
),
|
|
2671
|
-
/* @__PURE__ */ r(
|
|
2672
|
-
"path",
|
|
2673
|
-
{
|
|
2674
|
-
d: "M11.4523 7.49701C11.7294 7.18913 12.204 7.16426 12.5118 7.44135C12.8197 7.71844 12.8446 8.19304 12.5675 8.50092L12.5577 8.51166C12.2806 8.81954 11.806 8.84442 11.4982 8.56732C11.1904 8.29021 11.1655 7.81558 11.4425 7.50775L11.4523 7.49701Z",
|
|
2675
|
-
fill: t
|
|
2676
|
-
}
|
|
2677
|
-
),
|
|
2678
|
-
/* @__PURE__ */ r(
|
|
2900
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
2679
2901
|
"path",
|
|
2680
2902
|
{
|
|
2681
|
-
d: "
|
|
2903
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
2682
2904
|
fill: t
|
|
2683
2905
|
}
|
|
2684
|
-
)
|
|
2906
|
+
) }),
|
|
2907
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2685
2908
|
]
|
|
2686
2909
|
}
|
|
2687
|
-
),
|
|
2910
|
+
), we = ({
|
|
2688
2911
|
width: i = 20,
|
|
2689
2912
|
height: e = 20,
|
|
2690
|
-
color: t =
|
|
2913
|
+
color: t = L.GREY_DARK_5,
|
|
2691
2914
|
className: s,
|
|
2692
2915
|
onClick: n
|
|
2693
|
-
}) => /* @__PURE__ */
|
|
2916
|
+
}) => /* @__PURE__ */ r(
|
|
2694
2917
|
"svg",
|
|
2695
2918
|
{
|
|
2696
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2697
2919
|
width: i,
|
|
2698
2920
|
height: e,
|
|
2699
2921
|
className: s,
|
|
2700
2922
|
onClick: n,
|
|
2701
|
-
viewBox: "0 0
|
|
2923
|
+
viewBox: "0 0 25 25",
|
|
2702
2924
|
fill: "none",
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
}
|
|
2712
|
-
),
|
|
2713
|
-
/* @__PURE__ */ r(
|
|
2714
|
-
"path",
|
|
2715
|
-
{
|
|
2716
|
-
d: "M5 8.87524C4.65482 8.87524 4.375 9.15507 4.375 9.50024C4.375 9.84542 4.65482 10.1252 5 10.1252V8.87524ZM12.5 8.87524H5V10.1252H12.5V8.87524Z",
|
|
2717
|
-
fill: t
|
|
2718
|
-
}
|
|
2719
|
-
)
|
|
2720
|
-
]
|
|
2925
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2926
|
+
children: /* @__PURE__ */ r(
|
|
2927
|
+
"path",
|
|
2928
|
+
{
|
|
2929
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
2930
|
+
fill: t
|
|
2931
|
+
}
|
|
2932
|
+
)
|
|
2721
2933
|
}
|
|
2722
|
-
),
|
|
2934
|
+
), Le = ({
|
|
2723
2935
|
width: i = 20,
|
|
2724
2936
|
height: e = 20,
|
|
2725
|
-
color: t =
|
|
2937
|
+
color: t = L.GREY_DARK_5,
|
|
2726
2938
|
className: s,
|
|
2727
2939
|
onClick: n
|
|
2728
2940
|
}) => /* @__PURE__ */ u(
|
|
@@ -2766,10 +2978,10 @@ const le = ({
|
|
|
2766
2978
|
)
|
|
2767
2979
|
]
|
|
2768
2980
|
}
|
|
2769
|
-
),
|
|
2981
|
+
), ke = ({
|
|
2770
2982
|
width: i = 20,
|
|
2771
2983
|
height: e = 20,
|
|
2772
|
-
color: t =
|
|
2984
|
+
color: t = L.GREY_DARK_5,
|
|
2773
2985
|
className: s,
|
|
2774
2986
|
onClick: n
|
|
2775
2987
|
}) => /* @__PURE__ */ r(
|
|
@@ -2790,10 +3002,10 @@ const le = ({
|
|
|
2790
3002
|
}
|
|
2791
3003
|
)
|
|
2792
3004
|
}
|
|
2793
|
-
),
|
|
3005
|
+
), ve = ({
|
|
2794
3006
|
width: i = 20,
|
|
2795
3007
|
height: e = 20,
|
|
2796
|
-
color: t =
|
|
3008
|
+
color: t = L.GREY_DARK_5,
|
|
2797
3009
|
className: s,
|
|
2798
3010
|
onClick: n
|
|
2799
3011
|
}) => /* @__PURE__ */ r(
|
|
@@ -2814,10 +3026,10 @@ const le = ({
|
|
|
2814
3026
|
}
|
|
2815
3027
|
)
|
|
2816
3028
|
}
|
|
2817
|
-
),
|
|
3029
|
+
), Ne = ({
|
|
2818
3030
|
width: i = 20,
|
|
2819
3031
|
height: e = 20,
|
|
2820
|
-
color: t =
|
|
3032
|
+
color: t = L.GREY_DARK_5,
|
|
2821
3033
|
className: s,
|
|
2822
3034
|
onClick: n
|
|
2823
3035
|
}) => /* @__PURE__ */ r(
|
|
@@ -2838,10 +3050,10 @@ const le = ({
|
|
|
2838
3050
|
}
|
|
2839
3051
|
)
|
|
2840
3052
|
}
|
|
2841
|
-
),
|
|
3053
|
+
), Re = ({
|
|
2842
3054
|
width: i = 20,
|
|
2843
3055
|
height: e = 20,
|
|
2844
|
-
color: t =
|
|
3056
|
+
color: t = L.GREY_DARK_5,
|
|
2845
3057
|
className: s,
|
|
2846
3058
|
onClick: n
|
|
2847
3059
|
}) => /* @__PURE__ */ u(
|
|
@@ -2899,10 +3111,10 @@ const le = ({
|
|
|
2899
3111
|
)
|
|
2900
3112
|
]
|
|
2901
3113
|
}
|
|
2902
|
-
),
|
|
3114
|
+
), xe = ({
|
|
2903
3115
|
width: i = 20,
|
|
2904
3116
|
height: e = 20,
|
|
2905
|
-
color: t =
|
|
3117
|
+
color: t = L.GREY_DARK_5,
|
|
2906
3118
|
className: s,
|
|
2907
3119
|
onClick: n
|
|
2908
3120
|
}) => /* @__PURE__ */ u(
|
|
@@ -2946,10 +3158,10 @@ const le = ({
|
|
|
2946
3158
|
)
|
|
2947
3159
|
]
|
|
2948
3160
|
}
|
|
2949
|
-
),
|
|
3161
|
+
), _e = ({
|
|
2950
3162
|
width: i = 20,
|
|
2951
3163
|
height: e = 20,
|
|
2952
|
-
color: t =
|
|
3164
|
+
color: t = L.GREY_DARK_5,
|
|
2953
3165
|
className: s,
|
|
2954
3166
|
onClick: n
|
|
2955
3167
|
}) => /* @__PURE__ */ u(
|
|
@@ -2986,10 +3198,10 @@ const le = ({
|
|
|
2986
3198
|
)
|
|
2987
3199
|
]
|
|
2988
3200
|
}
|
|
2989
|
-
),
|
|
3201
|
+
), Me = ({
|
|
2990
3202
|
width: i = 20,
|
|
2991
3203
|
height: e = 20,
|
|
2992
|
-
color: t =
|
|
3204
|
+
color: t = L.GREY_DARK_5,
|
|
2993
3205
|
className: s,
|
|
2994
3206
|
onClick: n
|
|
2995
3207
|
}) => /* @__PURE__ */ u(
|
|
@@ -3026,10 +3238,10 @@ const le = ({
|
|
|
3026
3238
|
)
|
|
3027
3239
|
]
|
|
3028
3240
|
}
|
|
3029
|
-
),
|
|
3241
|
+
), be = ({
|
|
3030
3242
|
width: i = 20,
|
|
3031
3243
|
height: e = 20,
|
|
3032
|
-
color: t =
|
|
3244
|
+
color: t = L.GREY_DARK_5,
|
|
3033
3245
|
className: s,
|
|
3034
3246
|
onClick: n
|
|
3035
3247
|
}) => /* @__PURE__ */ u(
|
|
@@ -3073,10 +3285,10 @@ const le = ({
|
|
|
3073
3285
|
)
|
|
3074
3286
|
]
|
|
3075
3287
|
}
|
|
3076
|
-
),
|
|
3288
|
+
), ye = ({
|
|
3077
3289
|
width: i = 20,
|
|
3078
3290
|
height: e = 20,
|
|
3079
|
-
color: t =
|
|
3291
|
+
color: t = L.GREY_DARK_5,
|
|
3080
3292
|
className: s,
|
|
3081
3293
|
onClick: n
|
|
3082
3294
|
}) => /* @__PURE__ */ u(
|
|
@@ -3120,10 +3332,10 @@ const le = ({
|
|
|
3120
3332
|
)
|
|
3121
3333
|
]
|
|
3122
3334
|
}
|
|
3123
|
-
),
|
|
3335
|
+
), He = ({
|
|
3124
3336
|
width: i = 20,
|
|
3125
3337
|
height: e = 20,
|
|
3126
|
-
color: t =
|
|
3338
|
+
color: t = L.GREY_DARK_5,
|
|
3127
3339
|
className: s,
|
|
3128
3340
|
onClick: n
|
|
3129
3341
|
}) => /* @__PURE__ */ u(
|
|
@@ -3167,10 +3379,10 @@ const le = ({
|
|
|
3167
3379
|
)
|
|
3168
3380
|
]
|
|
3169
3381
|
}
|
|
3170
|
-
),
|
|
3382
|
+
), Ve = ({
|
|
3171
3383
|
width: i = 20,
|
|
3172
3384
|
height: e = 20,
|
|
3173
|
-
color: t =
|
|
3385
|
+
color: t = L.GREY_DARK_5,
|
|
3174
3386
|
className: s,
|
|
3175
3387
|
onClick: n
|
|
3176
3388
|
}) => /* @__PURE__ */ u(
|
|
@@ -3207,10 +3419,10 @@ const le = ({
|
|
|
3207
3419
|
)
|
|
3208
3420
|
]
|
|
3209
3421
|
}
|
|
3210
|
-
),
|
|
3422
|
+
), Ee = ({
|
|
3211
3423
|
width: i = 20,
|
|
3212
3424
|
height: e = 20,
|
|
3213
|
-
color: t =
|
|
3425
|
+
color: t = L.GREY_DARK_5,
|
|
3214
3426
|
className: s,
|
|
3215
3427
|
onClick: n
|
|
3216
3428
|
}) => /* @__PURE__ */ u(
|
|
@@ -3240,10 +3452,10 @@ const le = ({
|
|
|
3240
3452
|
)
|
|
3241
3453
|
]
|
|
3242
3454
|
}
|
|
3243
|
-
),
|
|
3455
|
+
), Ie = ({
|
|
3244
3456
|
width: i = 20,
|
|
3245
3457
|
height: e = 20,
|
|
3246
|
-
color: t =
|
|
3458
|
+
color: t = L.GREY_DARK_5,
|
|
3247
3459
|
className: s,
|
|
3248
3460
|
onClick: n
|
|
3249
3461
|
}) => /* @__PURE__ */ u(
|
|
@@ -3273,10 +3485,10 @@ const le = ({
|
|
|
3273
3485
|
)
|
|
3274
3486
|
]
|
|
3275
3487
|
}
|
|
3276
|
-
),
|
|
3488
|
+
), Ae = ({
|
|
3277
3489
|
width: i = 20,
|
|
3278
3490
|
height: e = 20,
|
|
3279
|
-
color: t =
|
|
3491
|
+
color: t = L.GREY_DARK_5,
|
|
3280
3492
|
className: s,
|
|
3281
3493
|
onClick: n
|
|
3282
3494
|
}) => /* @__PURE__ */ u(
|
|
@@ -3306,10 +3518,10 @@ const le = ({
|
|
|
3306
3518
|
)
|
|
3307
3519
|
]
|
|
3308
3520
|
}
|
|
3309
|
-
),
|
|
3521
|
+
), Oe = ({
|
|
3310
3522
|
width: i = 20,
|
|
3311
3523
|
height: e = 20,
|
|
3312
|
-
color: t =
|
|
3524
|
+
color: t = L.GREY_DARK_5,
|
|
3313
3525
|
className: s,
|
|
3314
3526
|
onClick: n
|
|
3315
3527
|
}) => /* @__PURE__ */ u(
|
|
@@ -3339,10 +3551,10 @@ const le = ({
|
|
|
3339
3551
|
)
|
|
3340
3552
|
]
|
|
3341
3553
|
}
|
|
3342
|
-
),
|
|
3554
|
+
), Ze = ({
|
|
3343
3555
|
width: i = 20,
|
|
3344
3556
|
height: e = 20,
|
|
3345
|
-
color: t =
|
|
3557
|
+
color: t = L.GREY_DARK_5,
|
|
3346
3558
|
className: s,
|
|
3347
3559
|
onClick: n
|
|
3348
3560
|
}) => /* @__PURE__ */ u(
|
|
@@ -3379,10 +3591,10 @@ const le = ({
|
|
|
3379
3591
|
)
|
|
3380
3592
|
]
|
|
3381
3593
|
}
|
|
3382
|
-
),
|
|
3594
|
+
), Se = ({
|
|
3383
3595
|
width: i = 20,
|
|
3384
3596
|
height: e = 20,
|
|
3385
|
-
color: t =
|
|
3597
|
+
color: t = L.GREY_DARK_5,
|
|
3386
3598
|
className: s,
|
|
3387
3599
|
onClick: n
|
|
3388
3600
|
}) => /* @__PURE__ */ u(
|
|
@@ -3412,10 +3624,10 @@ const le = ({
|
|
|
3412
3624
|
)
|
|
3413
3625
|
]
|
|
3414
3626
|
}
|
|
3415
|
-
),
|
|
3627
|
+
), De = ({
|
|
3416
3628
|
width: i = 20,
|
|
3417
3629
|
height: e = 20,
|
|
3418
|
-
color: t =
|
|
3630
|
+
color: t = L.GREY_DARK_5,
|
|
3419
3631
|
className: s,
|
|
3420
3632
|
onClick: n
|
|
3421
3633
|
}) => /* @__PURE__ */ u(
|
|
@@ -3445,7 +3657,7 @@ const le = ({
|
|
|
3445
3657
|
)
|
|
3446
3658
|
]
|
|
3447
3659
|
}
|
|
3448
|
-
),
|
|
3660
|
+
), Ge = ({
|
|
3449
3661
|
width: i = 20,
|
|
3450
3662
|
height: e = 20,
|
|
3451
3663
|
color: t = "#070739",
|
|
@@ -3475,7 +3687,7 @@ const le = ({
|
|
|
3475
3687
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3476
3688
|
]
|
|
3477
3689
|
}
|
|
3478
|
-
),
|
|
3690
|
+
), Te = ({
|
|
3479
3691
|
width: i = 20,
|
|
3480
3692
|
height: e = 20,
|
|
3481
3693
|
color: t = "#070739",
|
|
@@ -3513,7 +3725,7 @@ const le = ({
|
|
|
3513
3725
|
)
|
|
3514
3726
|
]
|
|
3515
3727
|
}
|
|
3516
|
-
),
|
|
3728
|
+
), Ke = ({
|
|
3517
3729
|
width: i = 9,
|
|
3518
3730
|
height: e = 5,
|
|
3519
3731
|
color: t = "#001E52",
|
|
@@ -3539,7 +3751,7 @@ const le = ({
|
|
|
3539
3751
|
}
|
|
3540
3752
|
)
|
|
3541
3753
|
}
|
|
3542
|
-
),
|
|
3754
|
+
), Be = ({
|
|
3543
3755
|
width: i = 20,
|
|
3544
3756
|
height: e = 20,
|
|
3545
3757
|
color: t = "#F2F2F7",
|
|
@@ -3568,7 +3780,7 @@ const le = ({
|
|
|
3568
3780
|
)
|
|
3569
3781
|
]
|
|
3570
3782
|
}
|
|
3571
|
-
),
|
|
3783
|
+
), Pe = ({
|
|
3572
3784
|
width: i = 20,
|
|
3573
3785
|
height: e = 20,
|
|
3574
3786
|
color: t = "#004ED7",
|
|
@@ -3597,7 +3809,7 @@ const le = ({
|
|
|
3597
3809
|
)
|
|
3598
3810
|
]
|
|
3599
3811
|
}
|
|
3600
|
-
),
|
|
3812
|
+
), Ye = ({
|
|
3601
3813
|
width: i = 10,
|
|
3602
3814
|
height: e = 10,
|
|
3603
3815
|
color: t = "#001E52",
|
|
@@ -3626,7 +3838,7 @@ const le = ({
|
|
|
3626
3838
|
)
|
|
3627
3839
|
]
|
|
3628
3840
|
}
|
|
3629
|
-
),
|
|
3841
|
+
), $e = ({
|
|
3630
3842
|
width: i = 10,
|
|
3631
3843
|
height: e = 10,
|
|
3632
3844
|
color: t = "#001E52",
|
|
@@ -3663,9 +3875,9 @@ const le = ({
|
|
|
3663
3875
|
)
|
|
3664
3876
|
]
|
|
3665
3877
|
}
|
|
3666
|
-
),
|
|
3878
|
+
), je = ({
|
|
3667
3879
|
className: i,
|
|
3668
|
-
color: e =
|
|
3880
|
+
color: e = L.GREY_DARK_5,
|
|
3669
3881
|
height: t = 20,
|
|
3670
3882
|
width: s = 20,
|
|
3671
3883
|
onClick: n
|
|
@@ -3696,9 +3908,9 @@ const le = ({
|
|
|
3696
3908
|
)
|
|
3697
3909
|
]
|
|
3698
3910
|
}
|
|
3699
|
-
),
|
|
3911
|
+
), Fe = ({
|
|
3700
3912
|
className: i,
|
|
3701
|
-
color: e =
|
|
3913
|
+
color: e = L.GREY_DARK_5,
|
|
3702
3914
|
height: t = 20,
|
|
3703
3915
|
width: s = 20,
|
|
3704
3916
|
onClick: n
|
|
@@ -3723,9 +3935,9 @@ const le = ({
|
|
|
3723
3935
|
}
|
|
3724
3936
|
)
|
|
3725
3937
|
}
|
|
3726
|
-
),
|
|
3938
|
+
), Ue = ({
|
|
3727
3939
|
className: i,
|
|
3728
|
-
color: e =
|
|
3940
|
+
color: e = L.GREY_DARK_5,
|
|
3729
3941
|
height: t = 20,
|
|
3730
3942
|
width: s = 20,
|
|
3731
3943
|
onClick: n
|
|
@@ -3750,9 +3962,9 @@ const le = ({
|
|
|
3750
3962
|
}
|
|
3751
3963
|
)
|
|
3752
3964
|
}
|
|
3753
|
-
),
|
|
3965
|
+
), We = ({
|
|
3754
3966
|
className: i,
|
|
3755
|
-
color: e =
|
|
3967
|
+
color: e = L.GREY_DARK_5,
|
|
3756
3968
|
height: t = 5,
|
|
3757
3969
|
width: s = 10,
|
|
3758
3970
|
onClick: n
|
|
@@ -3774,9 +3986,9 @@ const le = ({
|
|
|
3774
3986
|
}
|
|
3775
3987
|
)
|
|
3776
3988
|
}
|
|
3777
|
-
),
|
|
3989
|
+
), ze = ({
|
|
3778
3990
|
className: i,
|
|
3779
|
-
color: e =
|
|
3991
|
+
color: e = L.GREY_DARK_5,
|
|
3780
3992
|
height: t = 5,
|
|
3781
3993
|
width: s = 10,
|
|
3782
3994
|
onClick: n
|
|
@@ -3799,9 +4011,9 @@ const le = ({
|
|
|
3799
4011
|
}
|
|
3800
4012
|
)
|
|
3801
4013
|
}
|
|
3802
|
-
),
|
|
4014
|
+
), Je = ({
|
|
3803
4015
|
className: i,
|
|
3804
|
-
color: e =
|
|
4016
|
+
color: e = L.GREY_DARK_5,
|
|
3805
4017
|
height: t = 20,
|
|
3806
4018
|
width: s = 20,
|
|
3807
4019
|
onClick: n
|
|
@@ -3832,9 +4044,9 @@ const le = ({
|
|
|
3832
4044
|
)
|
|
3833
4045
|
]
|
|
3834
4046
|
}
|
|
3835
|
-
),
|
|
4047
|
+
), qe = ({
|
|
3836
4048
|
className: i,
|
|
3837
|
-
color: e =
|
|
4049
|
+
color: e = L.GREY_DARK_5,
|
|
3838
4050
|
height: t = 24,
|
|
3839
4051
|
width: s = 24,
|
|
3840
4052
|
onClick: n
|
|
@@ -3871,9 +4083,9 @@ const le = ({
|
|
|
3871
4083
|
)
|
|
3872
4084
|
]
|
|
3873
4085
|
}
|
|
3874
|
-
),
|
|
4086
|
+
), Qe = ({
|
|
3875
4087
|
className: i,
|
|
3876
|
-
color: e =
|
|
4088
|
+
color: e = L.GREY_DARK_5,
|
|
3877
4089
|
height: t = 24,
|
|
3878
4090
|
width: s = 24,
|
|
3879
4091
|
onClick: n
|
|
@@ -3898,9 +4110,9 @@ const le = ({
|
|
|
3898
4110
|
}
|
|
3899
4111
|
)
|
|
3900
4112
|
}
|
|
3901
|
-
),
|
|
4113
|
+
), Xe = ({
|
|
3902
4114
|
className: i,
|
|
3903
|
-
color: e =
|
|
4115
|
+
color: e = L.GREY_DARK_5,
|
|
3904
4116
|
height: t = 24,
|
|
3905
4117
|
width: s = 24,
|
|
3906
4118
|
onClick: n
|
|
@@ -3957,9 +4169,9 @@ const le = ({
|
|
|
3957
4169
|
)
|
|
3958
4170
|
]
|
|
3959
4171
|
}
|
|
3960
|
-
),
|
|
4172
|
+
), et = ({
|
|
3961
4173
|
className: i,
|
|
3962
|
-
color: e =
|
|
4174
|
+
color: e = L.GREY_DARK_5,
|
|
3963
4175
|
height: t = 24,
|
|
3964
4176
|
width: s = 24,
|
|
3965
4177
|
onClick: n
|
|
@@ -3994,9 +4206,9 @@ const le = ({
|
|
|
3994
4206
|
)
|
|
3995
4207
|
]
|
|
3996
4208
|
}
|
|
3997
|
-
),
|
|
4209
|
+
), tt = ({
|
|
3998
4210
|
className: i,
|
|
3999
|
-
color: e =
|
|
4211
|
+
color: e = L.GREY_DARK_3,
|
|
4000
4212
|
height: t = 14,
|
|
4001
4213
|
width: s = 14,
|
|
4002
4214
|
onClick: n
|
|
@@ -4031,9 +4243,9 @@ const le = ({
|
|
|
4031
4243
|
)
|
|
4032
4244
|
]
|
|
4033
4245
|
}
|
|
4034
|
-
),
|
|
4246
|
+
), it = ({
|
|
4035
4247
|
className: i,
|
|
4036
|
-
color: e =
|
|
4248
|
+
color: e = L.GREY_DARK_5,
|
|
4037
4249
|
height: t = 18,
|
|
4038
4250
|
onClick: s,
|
|
4039
4251
|
width: n = 18
|
|
@@ -4058,9 +4270,9 @@ const le = ({
|
|
|
4058
4270
|
}
|
|
4059
4271
|
)
|
|
4060
4272
|
}
|
|
4061
|
-
),
|
|
4273
|
+
), st = ({
|
|
4062
4274
|
className: i,
|
|
4063
|
-
color: e =
|
|
4275
|
+
color: e = L.GREY_DARK_5,
|
|
4064
4276
|
height: t = 24,
|
|
4065
4277
|
width: s = 24,
|
|
4066
4278
|
onClick: n
|
|
@@ -4110,9 +4322,9 @@ const le = ({
|
|
|
4110
4322
|
)
|
|
4111
4323
|
]
|
|
4112
4324
|
}
|
|
4113
|
-
),
|
|
4325
|
+
), nt = ({
|
|
4114
4326
|
className: i,
|
|
4115
|
-
color: e =
|
|
4327
|
+
color: e = L.GREY_DARK_5,
|
|
4116
4328
|
height: t = 24,
|
|
4117
4329
|
width: s = 24,
|
|
4118
4330
|
onClick: n
|
|
@@ -4147,9 +4359,9 @@ const le = ({
|
|
|
4147
4359
|
)
|
|
4148
4360
|
]
|
|
4149
4361
|
}
|
|
4150
|
-
),
|
|
4362
|
+
), rt = ({
|
|
4151
4363
|
className: i,
|
|
4152
|
-
color: e =
|
|
4364
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
4153
4365
|
height: t = 37,
|
|
4154
4366
|
width: s = 36,
|
|
4155
4367
|
onClick: n
|
|
@@ -4186,9 +4398,9 @@ const le = ({
|
|
|
4186
4398
|
)
|
|
4187
4399
|
]
|
|
4188
4400
|
}
|
|
4189
|
-
),
|
|
4401
|
+
), ot = ({
|
|
4190
4402
|
className: i,
|
|
4191
|
-
color: e =
|
|
4403
|
+
color: e = L.GREY_DARK_5,
|
|
4192
4404
|
height: t = 24,
|
|
4193
4405
|
width: s = 24,
|
|
4194
4406
|
onClick: n
|
|
@@ -4212,9 +4424,9 @@ const le = ({
|
|
|
4212
4424
|
}
|
|
4213
4425
|
)
|
|
4214
4426
|
}
|
|
4215
|
-
),
|
|
4427
|
+
), at = ({
|
|
4216
4428
|
className: i,
|
|
4217
|
-
color: e =
|
|
4429
|
+
color: e = L.GREY_DARK_5,
|
|
4218
4430
|
height: t = 24,
|
|
4219
4431
|
width: s = 24,
|
|
4220
4432
|
onClick: n
|
|
@@ -4251,9 +4463,9 @@ const le = ({
|
|
|
4251
4463
|
)
|
|
4252
4464
|
]
|
|
4253
4465
|
}
|
|
4254
|
-
),
|
|
4466
|
+
), lt = ({
|
|
4255
4467
|
className: i,
|
|
4256
|
-
color: e =
|
|
4468
|
+
color: e = L.GREY_DARK_5,
|
|
4257
4469
|
height: t = 20,
|
|
4258
4470
|
width: s = 20,
|
|
4259
4471
|
onClick: n
|
|
@@ -4284,9 +4496,9 @@ const le = ({
|
|
|
4284
4496
|
)
|
|
4285
4497
|
]
|
|
4286
4498
|
}
|
|
4287
|
-
),
|
|
4499
|
+
), ht = ({
|
|
4288
4500
|
className: i,
|
|
4289
|
-
color: e =
|
|
4501
|
+
color: e = L.GREY_DARK_5,
|
|
4290
4502
|
height: t = 24,
|
|
4291
4503
|
width: s = 24,
|
|
4292
4504
|
onClick: n
|
|
@@ -4353,9 +4565,9 @@ const le = ({
|
|
|
4353
4565
|
)
|
|
4354
4566
|
]
|
|
4355
4567
|
}
|
|
4356
|
-
),
|
|
4568
|
+
), ct = ({
|
|
4357
4569
|
className: i,
|
|
4358
|
-
color: e =
|
|
4570
|
+
color: e = L.GREY_DARK_5,
|
|
4359
4571
|
height: t = 24,
|
|
4360
4572
|
width: s = 24,
|
|
4361
4573
|
onClick: n
|
|
@@ -4410,9 +4622,9 @@ const le = ({
|
|
|
4410
4622
|
)
|
|
4411
4623
|
]
|
|
4412
4624
|
}
|
|
4413
|
-
),
|
|
4625
|
+
), dt = ({
|
|
4414
4626
|
className: i,
|
|
4415
|
-
color: e =
|
|
4627
|
+
color: e = L.GREY_DARK_5,
|
|
4416
4628
|
height: t = 24,
|
|
4417
4629
|
width: s = 24,
|
|
4418
4630
|
onClick: n
|
|
@@ -4459,9 +4671,9 @@ const le = ({
|
|
|
4459
4671
|
)
|
|
4460
4672
|
]
|
|
4461
4673
|
}
|
|
4462
|
-
),
|
|
4674
|
+
), Ct = ({
|
|
4463
4675
|
className: i,
|
|
4464
|
-
color: e =
|
|
4676
|
+
color: e = L.GREY_DARK_5,
|
|
4465
4677
|
height: t = 24,
|
|
4466
4678
|
width: s = 24,
|
|
4467
4679
|
onClick: n
|
|
@@ -4486,9 +4698,9 @@ const le = ({
|
|
|
4486
4698
|
}
|
|
4487
4699
|
)
|
|
4488
4700
|
}
|
|
4489
|
-
),
|
|
4701
|
+
), gt = ({
|
|
4490
4702
|
className: i,
|
|
4491
|
-
color: e =
|
|
4703
|
+
color: e = L.GREY_DARK_5,
|
|
4492
4704
|
height: t = 20,
|
|
4493
4705
|
width: s = 20,
|
|
4494
4706
|
onClick: n
|
|
@@ -4503,7 +4715,7 @@ const le = ({
|
|
|
4503
4715
|
fill: "none",
|
|
4504
4716
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4505
4717
|
children: [
|
|
4506
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4718
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
4507
4719
|
/* @__PURE__ */ r(
|
|
4508
4720
|
"path",
|
|
4509
4721
|
{
|
|
@@ -4515,7 +4727,7 @@ const le = ({
|
|
|
4515
4727
|
)
|
|
4516
4728
|
]
|
|
4517
4729
|
}
|
|
4518
|
-
),
|
|
4730
|
+
), ut = ({
|
|
4519
4731
|
className: i,
|
|
4520
4732
|
color: e = "#001E52",
|
|
4521
4733
|
height: t = 24,
|
|
@@ -4541,7 +4753,7 @@ const le = ({
|
|
|
4541
4753
|
}
|
|
4542
4754
|
)
|
|
4543
4755
|
}
|
|
4544
|
-
),
|
|
4756
|
+
), ft = ({
|
|
4545
4757
|
className: i,
|
|
4546
4758
|
color: e = "#001E52",
|
|
4547
4759
|
height: t = 24,
|
|
@@ -4579,10 +4791,10 @@ const le = ({
|
|
|
4579
4791
|
)
|
|
4580
4792
|
] }) })
|
|
4581
4793
|
}
|
|
4582
|
-
),
|
|
4794
|
+
), pt = ({
|
|
4583
4795
|
width: i = 20,
|
|
4584
4796
|
height: e = 20,
|
|
4585
|
-
color: t =
|
|
4797
|
+
color: t = L.GREY_DARK_5,
|
|
4586
4798
|
className: s,
|
|
4587
4799
|
onClick: n
|
|
4588
4800
|
}) => /* @__PURE__ */ r(
|
|
@@ -4603,7 +4815,7 @@ const le = ({
|
|
|
4603
4815
|
}
|
|
4604
4816
|
)
|
|
4605
4817
|
}
|
|
4606
|
-
),
|
|
4818
|
+
), mt = ({
|
|
4607
4819
|
width: i = 24,
|
|
4608
4820
|
height: e = 24,
|
|
4609
4821
|
color: t = "#131314",
|
|
@@ -4636,10 +4848,10 @@ const le = ({
|
|
|
4636
4848
|
)
|
|
4637
4849
|
]
|
|
4638
4850
|
}
|
|
4639
|
-
),
|
|
4851
|
+
), wt = ({
|
|
4640
4852
|
width: i = 20,
|
|
4641
4853
|
height: e = 20,
|
|
4642
|
-
color: t =
|
|
4854
|
+
color: t = L.GREY_DARK_5,
|
|
4643
4855
|
className: s,
|
|
4644
4856
|
onClick: n
|
|
4645
4857
|
}) => /* @__PURE__ */ u(
|
|
@@ -4669,10 +4881,10 @@ const le = ({
|
|
|
4669
4881
|
)
|
|
4670
4882
|
]
|
|
4671
4883
|
}
|
|
4672
|
-
),
|
|
4884
|
+
), Lt = ({
|
|
4673
4885
|
width: i = 24,
|
|
4674
4886
|
height: e = 24,
|
|
4675
|
-
color: t =
|
|
4887
|
+
color: t = L.GREY_DARK_2,
|
|
4676
4888
|
className: s,
|
|
4677
4889
|
onClick: n
|
|
4678
4890
|
}) => /* @__PURE__ */ u(
|
|
@@ -4709,10 +4921,10 @@ const le = ({
|
|
|
4709
4921
|
)
|
|
4710
4922
|
]
|
|
4711
4923
|
}
|
|
4712
|
-
),
|
|
4924
|
+
), kt = ({
|
|
4713
4925
|
width: i = 24,
|
|
4714
4926
|
height: e = 24,
|
|
4715
|
-
color: t =
|
|
4927
|
+
color: t = L.GREY_DARK_2,
|
|
4716
4928
|
className: s,
|
|
4717
4929
|
onClick: n
|
|
4718
4930
|
}) => /* @__PURE__ */ r(
|
|
@@ -4736,10 +4948,10 @@ const le = ({
|
|
|
4736
4948
|
}
|
|
4737
4949
|
)
|
|
4738
4950
|
}
|
|
4739
|
-
),
|
|
4951
|
+
), vt = ({
|
|
4740
4952
|
width: i = 24,
|
|
4741
4953
|
height: e = 24,
|
|
4742
|
-
color: t =
|
|
4954
|
+
color: t = L.GREY_DARK_2,
|
|
4743
4955
|
className: s,
|
|
4744
4956
|
onClick: n
|
|
4745
4957
|
}) => /* @__PURE__ */ r(
|
|
@@ -4763,7 +4975,7 @@ const le = ({
|
|
|
4763
4975
|
}
|
|
4764
4976
|
)
|
|
4765
4977
|
}
|
|
4766
|
-
),
|
|
4978
|
+
), Nt = ({
|
|
4767
4979
|
name: i,
|
|
4768
4980
|
width: e,
|
|
4769
4981
|
height: t,
|
|
@@ -4772,7 +4984,7 @@ const le = ({
|
|
|
4772
4984
|
disabled: o = !1,
|
|
4773
4985
|
onClick: c
|
|
4774
4986
|
}) => {
|
|
4775
|
-
const [a, C] = S(n), { theme: d } = r1(d2), l = o ? d && d === "dark" ?
|
|
4987
|
+
const [a, C] = S(n), { theme: d } = r1(d2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
4776
4988
|
return K(() => {
|
|
4777
4989
|
if (n) {
|
|
4778
4990
|
h && !o && C(`${n} clickable`);
|
|
@@ -4782,35 +4994,35 @@ const le = ({
|
|
|
4782
4994
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
4783
4995
|
switch (i) {
|
|
4784
4996
|
case "nextIcon":
|
|
4785
|
-
return
|
|
4997
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4786
4998
|
case "prevIcon":
|
|
4787
|
-
return
|
|
4999
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4788
5000
|
case "arrowDown":
|
|
4789
|
-
return
|
|
5001
|
+
return Ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4790
5002
|
case "info":
|
|
4791
|
-
return
|
|
5003
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4792
5004
|
case "arrowRight":
|
|
4793
|
-
return
|
|
5005
|
+
return ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4794
5006
|
case "calendar":
|
|
4795
|
-
return
|
|
5007
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4796
5008
|
case "check":
|
|
4797
|
-
return
|
|
5009
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4798
5010
|
case "cancel":
|
|
4799
|
-
return
|
|
5011
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4800
5012
|
case "add":
|
|
4801
|
-
return
|
|
5013
|
+
return Ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4802
5014
|
case "list":
|
|
4803
|
-
return
|
|
5015
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4804
5016
|
case "dragAndDrop":
|
|
4805
|
-
return
|
|
5017
|
+
return xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4806
5018
|
case "filter":
|
|
4807
|
-
return
|
|
5019
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4808
5020
|
case "attention":
|
|
4809
|
-
return
|
|
5021
|
+
return Me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4810
5022
|
case "users":
|
|
4811
|
-
return
|
|
5023
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4812
5024
|
case "mySkillsMatrix":
|
|
4813
|
-
return
|
|
5025
|
+
return ye({
|
|
4814
5026
|
width: e,
|
|
4815
5027
|
height: t,
|
|
4816
5028
|
color: l,
|
|
@@ -4818,9 +5030,9 @@ const le = ({
|
|
|
4818
5030
|
onClick: h
|
|
4819
5031
|
});
|
|
4820
5032
|
case "skills":
|
|
4821
|
-
return
|
|
5033
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4822
5034
|
case "skillsMatrices":
|
|
4823
|
-
return
|
|
5035
|
+
return Ve({
|
|
4824
5036
|
width: e,
|
|
4825
5037
|
height: t,
|
|
4826
5038
|
color: l,
|
|
@@ -4828,21 +5040,21 @@ const le = ({
|
|
|
4828
5040
|
onClick: h
|
|
4829
5041
|
});
|
|
4830
5042
|
case "history":
|
|
4831
|
-
return
|
|
5043
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4832
5044
|
case "logOut":
|
|
4833
|
-
return
|
|
5045
|
+
return Ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4834
5046
|
case "settings":
|
|
4835
|
-
return
|
|
5047
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4836
5048
|
case "trash":
|
|
4837
|
-
return
|
|
5049
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4838
5050
|
case "settings2":
|
|
4839
|
-
return
|
|
5051
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4840
5052
|
case "checkCircle":
|
|
4841
|
-
return
|
|
5053
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4842
5054
|
case "cancelCircle":
|
|
4843
|
-
return
|
|
5055
|
+
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4844
5056
|
case "visibilityIcon":
|
|
4845
|
-
return
|
|
5057
|
+
return Ge({
|
|
4846
5058
|
width: e,
|
|
4847
5059
|
height: t,
|
|
4848
5060
|
color: l,
|
|
@@ -4850,7 +5062,7 @@ const le = ({
|
|
|
4850
5062
|
onClick: h
|
|
4851
5063
|
});
|
|
4852
5064
|
case "visibilityOffIcon":
|
|
4853
|
-
return
|
|
5065
|
+
return Te({
|
|
4854
5066
|
width: e,
|
|
4855
5067
|
height: t,
|
|
4856
5068
|
color: l,
|
|
@@ -4858,7 +5070,7 @@ const le = ({
|
|
|
4858
5070
|
onClick: h
|
|
4859
5071
|
});
|
|
4860
5072
|
case "selectArrowIcon":
|
|
4861
|
-
return
|
|
5073
|
+
return Ke({
|
|
4862
5074
|
width: e,
|
|
4863
5075
|
height: t,
|
|
4864
5076
|
color: l,
|
|
@@ -4866,7 +5078,7 @@ const le = ({
|
|
|
4866
5078
|
onClick: h
|
|
4867
5079
|
});
|
|
4868
5080
|
case "expandArrowIcon":
|
|
4869
|
-
return
|
|
5081
|
+
return Be({
|
|
4870
5082
|
width: e,
|
|
4871
5083
|
height: t,
|
|
4872
5084
|
color: l,
|
|
@@ -4874,7 +5086,7 @@ const le = ({
|
|
|
4874
5086
|
onClick: h
|
|
4875
5087
|
});
|
|
4876
5088
|
case "expandActiveArrowIcon":
|
|
4877
|
-
return
|
|
5089
|
+
return Pe({
|
|
4878
5090
|
width: e,
|
|
4879
5091
|
height: t,
|
|
4880
5092
|
color: l,
|
|
@@ -4882,78 +5094,86 @@ const le = ({
|
|
|
4882
5094
|
onClick: h
|
|
4883
5095
|
});
|
|
4884
5096
|
case "sortUp":
|
|
4885
|
-
return
|
|
5097
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4886
5098
|
case "sortDown":
|
|
4887
|
-
return
|
|
5099
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4888
5100
|
case "search":
|
|
4889
|
-
return
|
|
5101
|
+
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4890
5102
|
case "arrowUpFilled":
|
|
4891
|
-
return
|
|
5103
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4892
5104
|
case "arrowDownFilled":
|
|
4893
|
-
return
|
|
5105
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
|
+
case "arrow2Up":
|
|
5107
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
|
+
case "arrow2Right":
|
|
5109
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
|
+
case "arrow2Down":
|
|
5111
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
|
+
case "arrow2Left":
|
|
5113
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4894
5114
|
case "link":
|
|
4895
|
-
return
|
|
5115
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4896
5116
|
case "telegram":
|
|
4897
|
-
return
|
|
5117
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4898
5118
|
case "mail":
|
|
4899
|
-
return
|
|
5119
|
+
return et({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4900
5120
|
case "github":
|
|
4901
|
-
return
|
|
5121
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4902
5122
|
case "linkedIn":
|
|
4903
|
-
return
|
|
5123
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4904
5124
|
case "emptyStateIcon":
|
|
4905
|
-
return
|
|
5125
|
+
return tt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4906
5126
|
case "filtersIcon":
|
|
4907
|
-
return
|
|
5127
|
+
return it({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4908
5128
|
case "dotMenuIcon":
|
|
4909
|
-
return
|
|
5129
|
+
return st({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4910
5130
|
case "plusCircle":
|
|
4911
|
-
return
|
|
5131
|
+
return nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4912
5132
|
case "warning":
|
|
4913
|
-
return
|
|
5133
|
+
return rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4914
5134
|
case "back":
|
|
4915
|
-
return
|
|
5135
|
+
return ot({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4916
5136
|
case "bell":
|
|
4917
|
-
return
|
|
5137
|
+
return at({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4918
5138
|
case "copy":
|
|
4919
|
-
return
|
|
5139
|
+
return lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4920
5140
|
case "contract":
|
|
4921
|
-
return
|
|
5141
|
+
return ht({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4922
5142
|
case "resourceManager":
|
|
4923
|
-
return
|
|
5143
|
+
return ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4924
5144
|
case "image":
|
|
4925
|
-
return
|
|
5145
|
+
return dt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4926
5146
|
case "edit":
|
|
4927
|
-
return
|
|
5147
|
+
return Ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4928
5148
|
case "filledArrowRight":
|
|
4929
|
-
return
|
|
5149
|
+
return gt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4930
5150
|
case "burgerMenu":
|
|
4931
|
-
return
|
|
5151
|
+
return ut({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4932
5152
|
case "refresh":
|
|
4933
|
-
return
|
|
5153
|
+
return ft({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4934
5154
|
case "projects":
|
|
4935
|
-
return
|
|
5155
|
+
return pt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4936
5156
|
case "user":
|
|
4937
|
-
return
|
|
5157
|
+
return wt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4938
5158
|
case "exit":
|
|
4939
|
-
return
|
|
5159
|
+
return mt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4940
5160
|
case "openPointCircle":
|
|
4941
|
-
return
|
|
5161
|
+
return Lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4942
5162
|
case "community":
|
|
4943
|
-
return
|
|
5163
|
+
return kt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4944
5164
|
case "docs":
|
|
4945
|
-
return
|
|
5165
|
+
return vt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4946
5166
|
default:
|
|
4947
5167
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
4948
5168
|
}
|
|
4949
5169
|
})() });
|
|
4950
5170
|
};
|
|
4951
5171
|
var p1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(p1 || {});
|
|
4952
|
-
const
|
|
5172
|
+
const Rt = d1({
|
|
4953
5173
|
locale: "en",
|
|
4954
5174
|
theme: "light"
|
|
4955
5175
|
});
|
|
4956
|
-
|
|
5176
|
+
Rt.Provider;
|
|
4957
5177
|
const C2 = ({
|
|
4958
5178
|
children: i,
|
|
4959
5179
|
width: e,
|
|
@@ -4970,7 +5190,7 @@ const C2 = ({
|
|
|
4970
5190
|
{
|
|
4971
5191
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
4972
5192
|
closeIcon: /* @__PURE__ */ r(
|
|
4973
|
-
|
|
5193
|
+
Nt,
|
|
4974
5194
|
{
|
|
4975
5195
|
name: "cancelCircle",
|
|
4976
5196
|
color: o ? p1.GREY_DARK_1 : p1.GREY_DARK_2,
|
|
@@ -4983,7 +5203,7 @@ const C2 = ({
|
|
|
4983
5203
|
style: { width: e ?? "fit-content" },
|
|
4984
5204
|
closable: n,
|
|
4985
5205
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
4986
|
-
|
|
5206
|
+
de,
|
|
4987
5207
|
{
|
|
4988
5208
|
variant: t === "small" ? "body4" : "body2",
|
|
4989
5209
|
color: o ? p1.GREY_DARK_2 : p1.GREY_DARK_5,
|
|
@@ -4992,12 +5212,12 @@ const C2 = ({
|
|
|
4992
5212
|
) : i
|
|
4993
5213
|
}
|
|
4994
5214
|
);
|
|
4995
|
-
}, { Title:
|
|
5215
|
+
}, { Title: xt, Text: _t } = a2, Mt = {
|
|
4996
5216
|
h1: 1,
|
|
4997
5217
|
h2: 2,
|
|
4998
5218
|
h3: 3,
|
|
4999
5219
|
h4: 4
|
|
5000
|
-
},
|
|
5220
|
+
}, bt = L1(
|
|
5001
5221
|
({
|
|
5002
5222
|
align: i = "inherit",
|
|
5003
5223
|
variant: e = "body1",
|
|
@@ -5013,21 +5233,21 @@ const C2 = ({
|
|
|
5013
5233
|
H1(C, () => d.current);
|
|
5014
5234
|
const [l, h] = S(!1);
|
|
5015
5235
|
K(() => {
|
|
5016
|
-
var
|
|
5236
|
+
var v;
|
|
5017
5237
|
if (!a) return;
|
|
5018
5238
|
const m = () => {
|
|
5019
5239
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5020
5240
|
};
|
|
5021
5241
|
m();
|
|
5022
5242
|
const H = new ResizeObserver(m);
|
|
5023
|
-
return d.current && H.observe(d.current), (
|
|
5243
|
+
return d.current && H.observe(d.current), (v = d.current) != null && v.parentElement && H.observe(d.current.parentElement), () => {
|
|
5024
5244
|
H.disconnect();
|
|
5025
5245
|
};
|
|
5026
5246
|
}, [a]);
|
|
5027
5247
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5028
5248
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
5029
5249
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
5030
|
-
const
|
|
5250
|
+
const k = {
|
|
5031
5251
|
className: f,
|
|
5032
5252
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
5033
5253
|
onClick: n,
|
|
@@ -5039,34 +5259,35 @@ const C2 = ({
|
|
|
5039
5259
|
}
|
|
5040
5260
|
} : void 0
|
|
5041
5261
|
};
|
|
5042
|
-
return g ? /* @__PURE__ */ r(
|
|
5262
|
+
return g ? /* @__PURE__ */ r(xt, { level: Mt[e], ...k, children: s }) : /* @__PURE__ */ r(_t, { ...k, children: s });
|
|
5043
5263
|
}
|
|
5044
|
-
),
|
|
5264
|
+
), yt = ({
|
|
5045
5265
|
children: i,
|
|
5046
5266
|
content: e,
|
|
5047
5267
|
isOpen: t,
|
|
5048
5268
|
setIsOpen: s,
|
|
5049
5269
|
placement: n = "topRight",
|
|
5050
|
-
noPadding: o = !1
|
|
5270
|
+
noPadding: o = !1,
|
|
5271
|
+
trigger: c = "click"
|
|
5051
5272
|
}) => {
|
|
5052
|
-
const [
|
|
5273
|
+
const [a, C] = S(!1);
|
|
5053
5274
|
return /* @__PURE__ */ r(
|
|
5054
|
-
|
|
5275
|
+
b2,
|
|
5055
5276
|
{
|
|
5056
5277
|
content: e,
|
|
5057
5278
|
arrow: !1,
|
|
5058
5279
|
placement: n,
|
|
5059
|
-
trigger:
|
|
5280
|
+
trigger: c,
|
|
5060
5281
|
overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
|
|
5061
|
-
open: t ??
|
|
5062
|
-
onOpenChange: (
|
|
5063
|
-
|
|
5282
|
+
open: t ?? a,
|
|
5283
|
+
onOpenChange: (d) => {
|
|
5284
|
+
C(d), s == null || s(d);
|
|
5064
5285
|
},
|
|
5065
5286
|
children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
|
|
5066
5287
|
}
|
|
5067
5288
|
);
|
|
5068
5289
|
};
|
|
5069
|
-
var
|
|
5290
|
+
var Ht = { exports: {} };
|
|
5070
5291
|
(function(i, e) {
|
|
5071
5292
|
(function(t, s) {
|
|
5072
5293
|
i.exports = s();
|
|
@@ -5076,8 +5297,8 @@ var vt = { exports: {} };
|
|
|
5076
5297
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5077
5298
|
} };
|
|
5078
5299
|
});
|
|
5079
|
-
})(
|
|
5080
|
-
const
|
|
5300
|
+
})(Ht);
|
|
5301
|
+
const Vt = ({
|
|
5081
5302
|
values: i,
|
|
5082
5303
|
onTagClose: e,
|
|
5083
5304
|
maxWidth: t,
|
|
@@ -5092,11 +5313,11 @@ const Nt = ({
|
|
|
5092
5313
|
}, [i]), !i.length)
|
|
5093
5314
|
return null;
|
|
5094
5315
|
const h = (g) => {
|
|
5095
|
-
var f,
|
|
5096
|
-
return ((f = o == null ? void 0 : o.find((
|
|
5316
|
+
var f, k;
|
|
5317
|
+
return ((f = o == null ? void 0 : o.find((v) => v.value === g)) == null ? void 0 : f.label) || ((k = c == null ? void 0 : c.find((v) => v.value === g)) == null ? void 0 : k.label) || g;
|
|
5097
5318
|
};
|
|
5098
5319
|
return /* @__PURE__ */ u(
|
|
5099
|
-
|
|
5320
|
+
yt,
|
|
5100
5321
|
{
|
|
5101
5322
|
content: (
|
|
5102
5323
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5121,12 +5342,12 @@ const Nt = ({
|
|
|
5121
5342
|
]
|
|
5122
5343
|
}
|
|
5123
5344
|
);
|
|
5124
|
-
},
|
|
5345
|
+
}, Et = {
|
|
5125
5346
|
small: 20,
|
|
5126
5347
|
medium: 28,
|
|
5127
5348
|
large: 48
|
|
5128
5349
|
}, Y1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5129
|
-
const t =
|
|
5350
|
+
const t = Et[i], s = `no-repeat linear-gradient(${e}
|
|
5130
5351
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5131
5352
|
width: t,
|
|
5132
5353
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
@@ -5149,22 +5370,22 @@ const Nt = ({
|
|
|
5149
5370
|
onSearchChange: h,
|
|
5150
5371
|
onDropdownVisibleChange: g,
|
|
5151
5372
|
onScrollToEnd: f,
|
|
5152
|
-
onPopupScroll:
|
|
5153
|
-
id:
|
|
5373
|
+
onPopupScroll: k,
|
|
5374
|
+
id: v,
|
|
5154
5375
|
extraOptions: m,
|
|
5155
5376
|
dropdownRender: H,
|
|
5156
|
-
optionRender:
|
|
5377
|
+
optionRender: b,
|
|
5157
5378
|
isLoading: A,
|
|
5158
5379
|
readOnly: p,
|
|
5159
5380
|
error: x
|
|
5160
|
-
},
|
|
5381
|
+
}, _) => {
|
|
5161
5382
|
const [R, j] = S(!1), [J, F] = S(!1), [V, G] = S(!0), [E, O] = S(i), D = q(null);
|
|
5162
5383
|
K(() => {
|
|
5163
5384
|
O(i);
|
|
5164
5385
|
}, [i]);
|
|
5165
5386
|
const B = (N) => {
|
|
5166
5387
|
j(N), g && g(N);
|
|
5167
|
-
},
|
|
5388
|
+
}, W = (N, y) => {
|
|
5168
5389
|
var T;
|
|
5169
5390
|
return !!((T = y == null ? void 0 : y.label) != null && T.toString().toLowerCase().includes(N.toLowerCase()));
|
|
5170
5391
|
}, I = () => {
|
|
@@ -5207,7 +5428,7 @@ const Nt = ({
|
|
|
5207
5428
|
N.preventDefault(), N.stopPropagation();
|
|
5208
5429
|
}, v1 = async (N) => {
|
|
5209
5430
|
const { target: y } = N;
|
|
5210
|
-
y.scrollTop + y.offsetHeight >= y.scrollHeight - l && (f == null || f(!0)),
|
|
5431
|
+
y.scrollTop + y.offsetHeight >= y.scrollHeight - l && (f == null || f(!0)), k && await k(N);
|
|
5211
5432
|
}, o1 = $(
|
|
5212
5433
|
(N) => {
|
|
5213
5434
|
var y, T;
|
|
@@ -5220,7 +5441,7 @@ const Nt = ({
|
|
|
5220
5441
|
(N) => {
|
|
5221
5442
|
var y;
|
|
5222
5443
|
return /* @__PURE__ */ r(
|
|
5223
|
-
|
|
5444
|
+
Vt,
|
|
5224
5445
|
{
|
|
5225
5446
|
values: N,
|
|
5226
5447
|
onTagClose: t1,
|
|
@@ -5251,10 +5472,10 @@ const Nt = ({
|
|
|
5251
5472
|
{
|
|
5252
5473
|
className: "snmt-select-blank",
|
|
5253
5474
|
popupClassName: p ? "dropdown-read-only" : "",
|
|
5254
|
-
id:
|
|
5255
|
-
ref:
|
|
5475
|
+
id: v,
|
|
5476
|
+
ref: _,
|
|
5256
5477
|
showSearch: !!n,
|
|
5257
|
-
filterOption: n &&
|
|
5478
|
+
filterOption: n && W,
|
|
5258
5479
|
onDropdownVisibleChange: B,
|
|
5259
5480
|
disabled: a,
|
|
5260
5481
|
value: E || void 0,
|
|
@@ -5305,7 +5526,7 @@ const Nt = ({
|
|
|
5305
5526
|
] }) }),
|
|
5306
5527
|
removeIcon: /* @__PURE__ */ r(g1, { name: "cancelCircle", color: Q.GREY_DARK_1 }),
|
|
5307
5528
|
options: o,
|
|
5308
|
-
optionRender: (N) =>
|
|
5529
|
+
optionRender: (N) => b ? b(N.data) : /* @__PURE__ */ u(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5309
5530
|
/* @__PURE__ */ u(f1, { alignItems: "center", gap: 12, children: [
|
|
5310
5531
|
s && /* @__PURE__ */ r(
|
|
5311
5532
|
q2,
|
|
@@ -5355,12 +5576,12 @@ const Nt = ({
|
|
|
5355
5576
|
width: 16
|
|
5356
5577
|
}
|
|
5357
5578
|
),
|
|
5358
|
-
typeof x == "string" ? /* @__PURE__ */ r(
|
|
5579
|
+
typeof x == "string" ? /* @__PURE__ */ r(bt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
|
|
5359
5580
|
] })
|
|
5360
5581
|
] });
|
|
5361
5582
|
}
|
|
5362
5583
|
);
|
|
5363
|
-
function
|
|
5584
|
+
function It(i, e = 500) {
|
|
5364
5585
|
const t = q();
|
|
5365
5586
|
return K(() => () => {
|
|
5366
5587
|
t.current && clearTimeout(t.current);
|
|
@@ -5395,15 +5616,15 @@ const E1 = 100, l1 = {
|
|
|
5395
5616
|
extraOptions: h,
|
|
5396
5617
|
onDropdownVisibleChange: g,
|
|
5397
5618
|
optionRender: f,
|
|
5398
|
-
dropdownRender:
|
|
5399
|
-
readOnly:
|
|
5619
|
+
dropdownRender: k,
|
|
5620
|
+
readOnly: v,
|
|
5400
5621
|
clearable: m = !1,
|
|
5401
5622
|
required: H = !1,
|
|
5402
|
-
error:
|
|
5623
|
+
error: b
|
|
5403
5624
|
}, A) => {
|
|
5404
|
-
const [p, x] = S(), [
|
|
5625
|
+
const [p, x] = S(), [_, R] = S(l1), [j, J] = S(!1), [F, V] = S(), [G, E] = S(!1), [O, D] = S(
|
|
5405
5626
|
h ?? []
|
|
5406
|
-
), B = j1(
|
|
5627
|
+
), B = j1(_.offset), W = j1(F), [I, Y] = S(!1), P = q(!1), e1 = $(
|
|
5407
5628
|
async ({
|
|
5408
5629
|
limit: Z = E1,
|
|
5409
5630
|
offset: z,
|
|
@@ -5429,19 +5650,19 @@ const E1 = 100, l1 = {
|
|
|
5429
5650
|
}
|
|
5430
5651
|
},
|
|
5431
5652
|
[i]
|
|
5432
|
-
), t1 =
|
|
5653
|
+
), t1 = It((Z) => {
|
|
5433
5654
|
V(Z), Z || R(l1);
|
|
5434
5655
|
}), C1 = $(
|
|
5435
5656
|
(Z) => t1(Z),
|
|
5436
5657
|
[t1]
|
|
5437
5658
|
), k1 = $(
|
|
5438
5659
|
async (Z) => {
|
|
5439
|
-
j || Z &&
|
|
5660
|
+
j || Z && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && R((z) => ({
|
|
5440
5661
|
...z,
|
|
5441
5662
|
offset: z.offset + E1
|
|
5442
5663
|
}));
|
|
5443
5664
|
},
|
|
5444
|
-
[j, p == null ? void 0 : p.length,
|
|
5665
|
+
[j, p == null ? void 0 : p.length, _.count]
|
|
5445
5666
|
), v1 = $(
|
|
5446
5667
|
(Z) => {
|
|
5447
5668
|
E(Z), !Z && F && (V(void 0), R(l1), Y(!0)), g == null || g(Z);
|
|
@@ -5449,8 +5670,8 @@ const E1 = 100, l1 = {
|
|
|
5449
5670
|
[g, F]
|
|
5450
5671
|
);
|
|
5451
5672
|
K(() => {
|
|
5452
|
-
!P.current || j || (I || G && (B !==
|
|
5453
|
-
}, [I, G,
|
|
5673
|
+
!P.current || j || (I || G && (B !== _.offset || W !== F || !p)) && (e1({ offset: _.offset, limit: E1, search: F }), I && Y(!1));
|
|
5674
|
+
}, [I, G, _.offset, F, B, W, p, j]), K(() => {
|
|
5454
5675
|
(d || l) && e1(l1), P.current = !0;
|
|
5455
5676
|
}, []), K(() => {
|
|
5456
5677
|
h && D((Z) => {
|
|
@@ -5499,11 +5720,11 @@ const E1 = 100, l1 = {
|
|
|
5499
5720
|
extraOptions: O,
|
|
5500
5721
|
isLoading: j,
|
|
5501
5722
|
optionRender: f,
|
|
5502
|
-
dropdownRender:
|
|
5503
|
-
readOnly:
|
|
5723
|
+
dropdownRender: k,
|
|
5724
|
+
readOnly: v,
|
|
5504
5725
|
clearable: m,
|
|
5505
5726
|
required: H,
|
|
5506
|
-
error:
|
|
5727
|
+
error: b
|
|
5507
5728
|
}),
|
|
5508
5729
|
[
|
|
5509
5730
|
n,
|
|
@@ -5521,11 +5742,11 @@ const E1 = 100, l1 = {
|
|
|
5521
5742
|
O,
|
|
5522
5743
|
j,
|
|
5523
5744
|
f,
|
|
5524
|
-
|
|
5525
|
-
|
|
5745
|
+
k,
|
|
5746
|
+
v,
|
|
5526
5747
|
m,
|
|
5527
5748
|
H,
|
|
5528
|
-
|
|
5749
|
+
b
|
|
5529
5750
|
]
|
|
5530
5751
|
);
|
|
5531
5752
|
return H1(A, () => ({
|
|
@@ -5536,12 +5757,12 @@ const E1 = 100, l1 = {
|
|
|
5536
5757
|
}
|
|
5537
5758
|
);
|
|
5538
5759
|
var x1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(x1 || {});
|
|
5539
|
-
const
|
|
5760
|
+
const At = {
|
|
5540
5761
|
small: 20,
|
|
5541
5762
|
medium: 28,
|
|
5542
5763
|
large: 48
|
|
5543
|
-
},
|
|
5544
|
-
const t =
|
|
5764
|
+
}, Ot = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5765
|
+
const t = At[i], s = `no-repeat linear-gradient(${e}
|
|
5545
5766
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5546
5767
|
width: t,
|
|
5547
5768
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
@@ -5549,18 +5770,18 @@ const Mt = {
|
|
|
5549
5770
|
};
|
|
5550
5771
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5551
5772
|
};
|
|
5552
|
-
function
|
|
5773
|
+
function Zt() {
|
|
5553
5774
|
if (console && console.warn) {
|
|
5554
5775
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
5555
5776
|
e[t] = arguments[t];
|
|
5556
5777
|
n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
5557
5778
|
}
|
|
5558
5779
|
}
|
|
5559
|
-
const
|
|
5780
|
+
const U1 = {};
|
|
5560
5781
|
function Z1() {
|
|
5561
5782
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
5562
5783
|
e[t] = arguments[t];
|
|
5563
|
-
n1(e[0]) &&
|
|
5784
|
+
n1(e[0]) && U1[e[0]] || (n1(e[0]) && (U1[e[0]] = /* @__PURE__ */ new Date()), Zt(...e));
|
|
5564
5785
|
}
|
|
5565
5786
|
const g2 = (i, e) => () => {
|
|
5566
5787
|
if (i.isInitialized)
|
|
@@ -5573,13 +5794,13 @@ const g2 = (i, e) => () => {
|
|
|
5573
5794
|
};
|
|
5574
5795
|
i.on("initialized", t);
|
|
5575
5796
|
}
|
|
5576
|
-
},
|
|
5797
|
+
}, W1 = (i, e, t) => {
|
|
5577
5798
|
i.loadNamespaces(e, g2(i, t));
|
|
5578
5799
|
}, z1 = (i, e, t, s) => {
|
|
5579
5800
|
n1(t) && (t = [t]), t.forEach((n) => {
|
|
5580
5801
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
5581
5802
|
}), i.loadLanguages(e, g2(i, s));
|
|
5582
|
-
},
|
|
5803
|
+
}, St = function(i, e) {
|
|
5583
5804
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5584
5805
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
5585
5806
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -5588,15 +5809,15 @@ const g2 = (i, e) => () => {
|
|
|
5588
5809
|
return d === -1 || d === 2;
|
|
5589
5810
|
};
|
|
5590
5811
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
|
5591
|
-
},
|
|
5812
|
+
}, Dt = function(i, e) {
|
|
5592
5813
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5593
5814
|
return !e.languages || !e.languages.length ? (Z1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
5594
5815
|
lng: t.lng,
|
|
5595
5816
|
precheck: (n, o) => {
|
|
5596
5817
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
5597
5818
|
}
|
|
5598
|
-
}) :
|
|
5599
|
-
}, n1 = (i) => typeof i == "string",
|
|
5819
|
+
}) : St(i, e, t);
|
|
5820
|
+
}, n1 = (i) => typeof i == "string", Gt = (i) => typeof i == "object" && i !== null, Tt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Kt = {
|
|
5600
5821
|
"&": "&",
|
|
5601
5822
|
"&": "&",
|
|
5602
5823
|
"<": "<",
|
|
@@ -5617,7 +5838,7 @@ const g2 = (i, e) => () => {
|
|
|
5617
5838
|
"…": "…",
|
|
5618
5839
|
"/": "/",
|
|
5619
5840
|
"/": "/"
|
|
5620
|
-
},
|
|
5841
|
+
}, Bt = (i) => Kt[i], Pt = (i) => i.replace(Tt, Bt);
|
|
5621
5842
|
let S1 = {
|
|
5622
5843
|
bindI18n: "languageChanged",
|
|
5623
5844
|
bindI18nStore: "",
|
|
@@ -5626,25 +5847,25 @@ let S1 = {
|
|
|
5626
5847
|
transWrapTextNodes: "",
|
|
5627
5848
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
5628
5849
|
useSuspense: !0,
|
|
5629
|
-
unescape:
|
|
5850
|
+
unescape: Pt
|
|
5630
5851
|
};
|
|
5631
|
-
const
|
|
5852
|
+
const Yt = function() {
|
|
5632
5853
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5633
5854
|
S1 = {
|
|
5634
5855
|
...S1,
|
|
5635
5856
|
...i
|
|
5636
5857
|
};
|
|
5637
|
-
},
|
|
5858
|
+
}, $t = () => S1;
|
|
5638
5859
|
let u2;
|
|
5639
|
-
const
|
|
5860
|
+
const jt = (i) => {
|
|
5640
5861
|
u2 = i;
|
|
5641
|
-
},
|
|
5862
|
+
}, Ft = () => u2, Ut = {
|
|
5642
5863
|
type: "3rdParty",
|
|
5643
5864
|
init(i) {
|
|
5644
|
-
|
|
5865
|
+
Yt(i.options.react), jt(i);
|
|
5645
5866
|
}
|
|
5646
|
-
},
|
|
5647
|
-
class
|
|
5867
|
+
}, Wt = d1();
|
|
5868
|
+
class zt {
|
|
5648
5869
|
constructor() {
|
|
5649
5870
|
T1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
5650
5871
|
this.usedNamespaces = {};
|
|
@@ -5655,27 +5876,27 @@ class Bt {
|
|
|
5655
5876
|
});
|
|
5656
5877
|
}
|
|
5657
5878
|
}
|
|
5658
|
-
const
|
|
5879
|
+
const Jt = (i, e) => {
|
|
5659
5880
|
const t = q();
|
|
5660
5881
|
return K(() => {
|
|
5661
5882
|
t.current = i;
|
|
5662
5883
|
}, [i, e]), t.current;
|
|
5663
|
-
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
5884
|
+
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s), qt = (i, e, t, s) => $(f2(i, e, t, s), [i, e, t, s]), Qt = function(i) {
|
|
5664
5885
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5665
5886
|
const {
|
|
5666
5887
|
i18n: t
|
|
5667
5888
|
} = e, {
|
|
5668
5889
|
i18n: s,
|
|
5669
5890
|
defaultNS: n
|
|
5670
|
-
} = r1(
|
|
5671
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
5891
|
+
} = r1(Wt) || {}, o = t || s || Ft();
|
|
5892
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new zt()), !o) {
|
|
5672
5893
|
Z1("You will need to pass in an i18next instance by using initReactI18next");
|
|
5673
|
-
const p = (
|
|
5894
|
+
const p = (_, R) => n1(R) ? R : Gt(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [p, {}, !1];
|
|
5674
5895
|
return x.t = p, x.i18n = {}, x.ready = !1, x;
|
|
5675
5896
|
}
|
|
5676
5897
|
o.options.react && o.options.react.wait !== void 0 && Z1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
5677
5898
|
const c = {
|
|
5678
|
-
|
|
5899
|
+
...$t(),
|
|
5679
5900
|
...o.options.react,
|
|
5680
5901
|
...e
|
|
5681
5902
|
}, {
|
|
@@ -5684,46 +5905,46 @@ const Pt = (i, e) => {
|
|
|
5684
5905
|
} = c;
|
|
5685
5906
|
let d = i;
|
|
5686
5907
|
d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
5687
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) =>
|
|
5908
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => Dt(p, o, c)), h = qt(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = S(g);
|
|
5688
5909
|
let m = d.join();
|
|
5689
5910
|
e.lng && (m = `${e.lng}${m}`);
|
|
5690
|
-
const H =
|
|
5911
|
+
const H = Jt(m), b = q(!0);
|
|
5691
5912
|
K(() => {
|
|
5692
5913
|
const {
|
|
5693
5914
|
bindI18n: p,
|
|
5694
5915
|
bindI18nStore: x
|
|
5695
5916
|
} = c;
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
}) :
|
|
5699
|
-
|
|
5700
|
-
})), l && H && H !== m &&
|
|
5701
|
-
const
|
|
5702
|
-
|
|
5917
|
+
b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
|
|
5918
|
+
b.current && v(f);
|
|
5919
|
+
}) : W1(o, d, () => {
|
|
5920
|
+
b.current && v(f);
|
|
5921
|
+
})), l && H && H !== m && b.current && v(f);
|
|
5922
|
+
const _ = () => {
|
|
5923
|
+
b.current && v(f);
|
|
5703
5924
|
};
|
|
5704
|
-
return p && o && o.on(p,
|
|
5705
|
-
|
|
5925
|
+
return p && o && o.on(p, _), x && o && o.store.on(x, _), () => {
|
|
5926
|
+
b.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
|
|
5706
5927
|
};
|
|
5707
5928
|
}, [o, m]), K(() => {
|
|
5708
|
-
|
|
5929
|
+
b.current && l && v(g);
|
|
5709
5930
|
}, [o, C, l]);
|
|
5710
|
-
const A = [
|
|
5711
|
-
if (A.t =
|
|
5931
|
+
const A = [k, o, l];
|
|
5932
|
+
if (A.t = k, A.i18n = o, A.ready = l, l || !l && !a) return A;
|
|
5712
5933
|
throw new Promise((p) => {
|
|
5713
|
-
e.lng ? z1(o, e.lng, d, () => p()) :
|
|
5934
|
+
e.lng ? z1(o, e.lng, d, () => p()) : W1(o, d, () => p());
|
|
5714
5935
|
});
|
|
5715
|
-
},
|
|
5936
|
+
}, M = (i) => typeof i == "string", u1 = () => {
|
|
5716
5937
|
let i, e;
|
|
5717
5938
|
const t = new Promise((s, n) => {
|
|
5718
5939
|
i = s, e = n;
|
|
5719
5940
|
});
|
|
5720
5941
|
return t.resolve = i, t.reject = e, t;
|
|
5721
|
-
}, J1 = (i) => i == null ? "" : "" + i,
|
|
5942
|
+
}, J1 = (i) => i == null ? "" : "" + i, Xt = (i, e, t) => {
|
|
5722
5943
|
i.forEach((s) => {
|
|
5723
5944
|
e[s] && (t[s] = e[s]);
|
|
5724
5945
|
});
|
|
5725
|
-
},
|
|
5726
|
-
const s =
|
|
5946
|
+
}, e7 = /###/g, q1 = (i) => i && i.indexOf("###") > -1 ? i.replace(e7, ".") : i, Q1 = (i) => !i || M(i), m1 = (i, e, t) => {
|
|
5947
|
+
const s = M(e) ? e.split(".") : e;
|
|
5727
5948
|
let n = 0;
|
|
5728
5949
|
for (; n < s.length - 1; ) {
|
|
5729
5950
|
if (Q1(i)) return {};
|
|
@@ -5747,28 +5968,28 @@ const Pt = (i, e) => {
|
|
|
5747
5968
|
for (; a.obj === void 0 && c.length; )
|
|
5748
5969
|
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = m1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5749
5970
|
a.obj[`${a.k}.${o}`] = t;
|
|
5750
|
-
},
|
|
5971
|
+
}, t7 = (i, e, t, s) => {
|
|
5751
5972
|
const {
|
|
5752
5973
|
obj: n,
|
|
5753
5974
|
k: o
|
|
5754
5975
|
} = m1(i, e, Object);
|
|
5755
5976
|
n[o] = n[o] || [], n[o].push(t);
|
|
5756
|
-
},
|
|
5977
|
+
}, _1 = (i, e) => {
|
|
5757
5978
|
const {
|
|
5758
5979
|
obj: t,
|
|
5759
5980
|
k: s
|
|
5760
5981
|
} = m1(i, e);
|
|
5761
5982
|
if (t)
|
|
5762
5983
|
return t[s];
|
|
5763
|
-
},
|
|
5764
|
-
const s =
|
|
5765
|
-
return s !== void 0 ? s :
|
|
5984
|
+
}, i7 = (i, e, t) => {
|
|
5985
|
+
const s = _1(i, t);
|
|
5986
|
+
return s !== void 0 ? s : _1(e, t);
|
|
5766
5987
|
}, p2 = (i, e, t) => {
|
|
5767
5988
|
for (const s in e)
|
|
5768
|
-
s !== "__proto__" && s !== "constructor" && (s in i ?
|
|
5989
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : p2(i[s], e[s], t) : i[s] = e[s]);
|
|
5769
5990
|
return i;
|
|
5770
|
-
},
|
|
5771
|
-
var
|
|
5991
|
+
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5992
|
+
var s7 = {
|
|
5772
5993
|
"&": "&",
|
|
5773
5994
|
"<": "<",
|
|
5774
5995
|
">": ">",
|
|
@@ -5776,8 +5997,8 @@ var zt = {
|
|
|
5776
5997
|
"'": "'",
|
|
5777
5998
|
"/": "/"
|
|
5778
5999
|
};
|
|
5779
|
-
const
|
|
5780
|
-
class
|
|
6000
|
+
const n7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => s7[e]) : i;
|
|
6001
|
+
class r7 {
|
|
5781
6002
|
constructor(e) {
|
|
5782
6003
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5783
6004
|
}
|
|
@@ -5789,11 +6010,11 @@ class qt {
|
|
|
5789
6010
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5790
6011
|
}
|
|
5791
6012
|
}
|
|
5792
|
-
const
|
|
6013
|
+
const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
|
|
5793
6014
|
e = e || "", t = t || "";
|
|
5794
|
-
const s =
|
|
6015
|
+
const s = o7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5795
6016
|
if (s.length === 0) return !0;
|
|
5796
|
-
const n =
|
|
6017
|
+
const n = a7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5797
6018
|
let o = !n.test(i);
|
|
5798
6019
|
if (!o) {
|
|
5799
6020
|
const c = i.indexOf(t);
|
|
@@ -5820,7 +6041,7 @@ const Qt = [" ", ",", "?", "!", ";"], Xt = new qt(20), e7 = (i, e, t) => {
|
|
|
5820
6041
|
n = c;
|
|
5821
6042
|
}
|
|
5822
6043
|
return n;
|
|
5823
|
-
},
|
|
6044
|
+
}, M1 = (i) => i && i.replace("_", "-"), h7 = {
|
|
5824
6045
|
type: "logger",
|
|
5825
6046
|
log(i) {
|
|
5826
6047
|
this.output("log", i);
|
|
@@ -5835,14 +6056,14 @@ const Qt = [" ", ",", "?", "!", ";"], Xt = new qt(20), e7 = (i, e, t) => {
|
|
|
5835
6056
|
console && console[i] && console[i].apply(console, e);
|
|
5836
6057
|
}
|
|
5837
6058
|
};
|
|
5838
|
-
class
|
|
6059
|
+
class b1 {
|
|
5839
6060
|
constructor(e) {
|
|
5840
6061
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5841
6062
|
this.init(e, t);
|
|
5842
6063
|
}
|
|
5843
6064
|
init(e) {
|
|
5844
6065
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5845
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
6066
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || h7, this.options = t, this.debug = t.debug;
|
|
5846
6067
|
}
|
|
5847
6068
|
log() {
|
|
5848
6069
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5865,19 +6086,19 @@ class _1 {
|
|
|
5865
6086
|
return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
|
|
5866
6087
|
}
|
|
5867
6088
|
forward(e, t, s, n) {
|
|
5868
|
-
return n && !this.debug ? null : (
|
|
6089
|
+
return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5869
6090
|
}
|
|
5870
6091
|
create(e) {
|
|
5871
|
-
return new
|
|
6092
|
+
return new b1(this.logger, {
|
|
5872
6093
|
prefix: `${this.prefix}:${e}:`,
|
|
5873
6094
|
...this.options
|
|
5874
6095
|
});
|
|
5875
6096
|
}
|
|
5876
6097
|
clone(e) {
|
|
5877
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
6098
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
|
|
5878
6099
|
}
|
|
5879
6100
|
}
|
|
5880
|
-
var X = new
|
|
6101
|
+
var X = new b1();
|
|
5881
6102
|
class V1 {
|
|
5882
6103
|
constructor() {
|
|
5883
6104
|
this.observers = {};
|
|
@@ -5931,9 +6152,9 @@ class e2 extends V1 {
|
|
|
5931
6152
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5932
6153
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5933
6154
|
let a;
|
|
5934
|
-
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) :
|
|
5935
|
-
const C =
|
|
5936
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !
|
|
6155
|
+
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : M(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
6156
|
+
const C = _1(this.data, a);
|
|
6157
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !M(s) ? C : D1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5937
6158
|
}
|
|
5938
6159
|
addResource(e, t, s, n) {
|
|
5939
6160
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -5948,7 +6169,7 @@ class e2 extends V1 {
|
|
|
5948
6169
|
silent: !1
|
|
5949
6170
|
};
|
|
5950
6171
|
for (const o in s)
|
|
5951
|
-
(
|
|
6172
|
+
(M(s[o]) || Array.isArray(s[o])) && this.addResource(e, t, o, s[o], {
|
|
5952
6173
|
silent: !0
|
|
5953
6174
|
});
|
|
5954
6175
|
n.silent || this.emit("added", e, t, s);
|
|
@@ -5959,7 +6180,7 @@ class e2 extends V1 {
|
|
|
5959
6180
|
skipCopy: !1
|
|
5960
6181
|
}, a = [e, t];
|
|
5961
6182
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5962
|
-
let C =
|
|
6183
|
+
let C = _1(this.data, a) || {};
|
|
5963
6184
|
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? p2(C, s, o) : C = {
|
|
5964
6185
|
...C,
|
|
5965
6186
|
...s
|
|
@@ -6002,7 +6223,7 @@ const t2 = {};
|
|
|
6002
6223
|
class y1 extends V1 {
|
|
6003
6224
|
constructor(e) {
|
|
6004
6225
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6005
|
-
super(),
|
|
6226
|
+
super(), Xt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = X.create("translator");
|
|
6006
6227
|
}
|
|
6007
6228
|
changeLanguage(e) {
|
|
6008
6229
|
e && (this.language = e);
|
|
@@ -6021,20 +6242,20 @@ class y1 extends V1 {
|
|
|
6021
6242
|
s === void 0 && (s = ":");
|
|
6022
6243
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
6023
6244
|
let o = t.ns || this.options.defaultNS || [];
|
|
6024
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
6245
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !l7(e, s, n);
|
|
6025
6246
|
if (c && !a) {
|
|
6026
6247
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
6027
6248
|
if (C && C.length > 0)
|
|
6028
6249
|
return {
|
|
6029
6250
|
key: e,
|
|
6030
|
-
namespaces:
|
|
6251
|
+
namespaces: M(o) ? [o] : o
|
|
6031
6252
|
};
|
|
6032
6253
|
const d = e.split(s);
|
|
6033
6254
|
(s !== n || s === n && this.options.ns.indexOf(d[0]) > -1) && (o = d.shift()), e = d.join(n);
|
|
6034
6255
|
}
|
|
6035
6256
|
return {
|
|
6036
6257
|
key: e,
|
|
6037
|
-
namespaces:
|
|
6258
|
+
namespaces: M(o) ? [o] : o
|
|
6038
6259
|
};
|
|
6039
6260
|
}
|
|
6040
6261
|
translate(e, t, s) {
|
|
@@ -6069,8 +6290,8 @@ class y1 extends V1 {
|
|
|
6069
6290
|
}
|
|
6070
6291
|
const h = this.resolve(e, t);
|
|
6071
6292
|
let g = h && h.res;
|
|
6072
|
-
const f = h && h.usedKey || c,
|
|
6073
|
-
if (
|
|
6293
|
+
const f = h && h.usedKey || c, k = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], H = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, A = !M(g) && typeof g != "boolean" && typeof g != "number";
|
|
6294
|
+
if (b && g && A && m.indexOf(v) < 0 && !(M(H) && Array.isArray(g))) {
|
|
6074
6295
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
6075
6296
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
6076
6297
|
const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
|
|
@@ -6080,10 +6301,10 @@ class y1 extends V1 {
|
|
|
6080
6301
|
return n ? (h.res = p, h.usedParams = this.getUsedParamsDetails(t), h) : p;
|
|
6081
6302
|
}
|
|
6082
6303
|
if (o) {
|
|
6083
|
-
const p = Array.isArray(g), x = p ? [] : {},
|
|
6304
|
+
const p = Array.isArray(g), x = p ? [] : {}, _ = p ? k : f;
|
|
6084
6305
|
for (const R in g)
|
|
6085
6306
|
if (Object.prototype.hasOwnProperty.call(g, R)) {
|
|
6086
|
-
const j = `${
|
|
6307
|
+
const j = `${_}${o}${R}`;
|
|
6087
6308
|
x[R] = this.translate(j, {
|
|
6088
6309
|
...t,
|
|
6089
6310
|
joinArrays: !1,
|
|
@@ -6092,13 +6313,13 @@ class y1 extends V1 {
|
|
|
6092
6313
|
}
|
|
6093
6314
|
g = x;
|
|
6094
6315
|
}
|
|
6095
|
-
} else if (
|
|
6316
|
+
} else if (b && M(H) && Array.isArray(g))
|
|
6096
6317
|
g = g.join(H), g && (g = this.extendTranslation(g, e, t, s));
|
|
6097
6318
|
else {
|
|
6098
6319
|
let p = !1, x = !1;
|
|
6099
|
-
const
|
|
6320
|
+
const _ = t.count !== void 0 && !M(t.count), R = y1.hasDefaultValue(t), j = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", J = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6100
6321
|
ordinal: !1
|
|
6101
|
-
}) : "", F =
|
|
6322
|
+
}) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${J}`] || t.defaultValue;
|
|
6102
6323
|
!this.isValidLookup(g) && R && (p = !0, g = V), this.isValidLookup(g) || (x = !0, g = c);
|
|
6103
6324
|
const E = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, O = R && V !== g && this.options.updateMissing;
|
|
6104
6325
|
if (x || p || O) {
|
|
@@ -6115,16 +6336,16 @@ class y1 extends V1 {
|
|
|
6115
6336
|
for (let I = 0; I < B.length; I++)
|
|
6116
6337
|
D.push(B[I]);
|
|
6117
6338
|
else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
|
|
6118
|
-
const
|
|
6339
|
+
const W = (I, Y, P) => {
|
|
6119
6340
|
const e1 = R && P !== g ? P : E;
|
|
6120
6341
|
this.options.missingKeyHandler ? this.options.missingKeyHandler(I, C, Y, e1, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, C, Y, e1, O, t), this.emit("missingKey", I, C, Y, g);
|
|
6121
6342
|
};
|
|
6122
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
|
6343
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? D.forEach((I) => {
|
|
6123
6344
|
const Y = this.pluralResolver.getSuffixes(I, t);
|
|
6124
6345
|
F && t[`defaultValue${this.options.pluralSeparator}zero`] && Y.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Y.push(`${this.options.pluralSeparator}zero`), Y.forEach((P) => {
|
|
6125
|
-
|
|
6346
|
+
W([I], c + P, t[`defaultValue${P}`] || V);
|
|
6126
6347
|
});
|
|
6127
|
-
}) :
|
|
6348
|
+
}) : W(D, c, V));
|
|
6128
6349
|
}
|
|
6129
6350
|
g = this.extendTranslation(g, e, t, h, s), x && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (x || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
6130
6351
|
}
|
|
@@ -6147,13 +6368,13 @@ class y1 extends V1 {
|
|
|
6147
6368
|
...s.interpolation
|
|
6148
6369
|
}
|
|
6149
6370
|
});
|
|
6150
|
-
const d =
|
|
6371
|
+
const d = M(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
6151
6372
|
let l;
|
|
6152
6373
|
if (d) {
|
|
6153
6374
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
6154
6375
|
l = g && g.length;
|
|
6155
6376
|
}
|
|
6156
|
-
let h = s.replace && !
|
|
6377
|
+
let h = s.replace && !M(s.replace) ? s.replace : s;
|
|
6157
6378
|
if (this.options.interpolation.defaultVariables && (h = {
|
|
6158
6379
|
...this.options.interpolation.defaultVariables,
|
|
6159
6380
|
...h
|
|
@@ -6162,12 +6383,12 @@ class y1 extends V1 {
|
|
|
6162
6383
|
l < f && (s.nest = !1);
|
|
6163
6384
|
}
|
|
6164
6385
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
6165
|
-
for (var g = arguments.length, f = new Array(g),
|
|
6166
|
-
f[
|
|
6386
|
+
for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
|
|
6387
|
+
f[k] = arguments[k];
|
|
6167
6388
|
return o && o[0] === f[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
|
|
6168
6389
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
6169
6390
|
}
|
|
6170
|
-
const a = s.postProcess || this.options.postProcess, C =
|
|
6391
|
+
const a = s.postProcess || this.options.postProcess, C = M(a) ? [a] : a;
|
|
6171
6392
|
return e != null && C && C.length && s.applyPostProcessor !== !1 && (e = m2.handle(C, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
6172
6393
|
i18nResolved: {
|
|
6173
6394
|
...n,
|
|
@@ -6178,31 +6399,31 @@ class y1 extends V1 {
|
|
|
6178
6399
|
}
|
|
6179
6400
|
resolve(e) {
|
|
6180
6401
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, c, a;
|
|
6181
|
-
return
|
|
6402
|
+
return M(e) && (e = [e]), e.forEach((C) => {
|
|
6182
6403
|
if (this.isValidLookup(s)) return;
|
|
6183
6404
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
6184
6405
|
n = l;
|
|
6185
6406
|
let h = d.namespaces;
|
|
6186
6407
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6187
|
-
const g = t.count !== void 0 && !
|
|
6408
|
+
const g = t.count !== void 0 && !M(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6188
6409
|
h.forEach((m) => {
|
|
6189
|
-
this.isValidLookup(s) || (a = m, !t2[`${
|
|
6410
|
+
this.isValidLookup(s) || (a = m, !t2[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (t2[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((H) => {
|
|
6190
6411
|
if (this.isValidLookup(s)) return;
|
|
6191
6412
|
c = H;
|
|
6192
|
-
const
|
|
6413
|
+
const b = [l];
|
|
6193
6414
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6194
|
-
this.i18nFormat.addLookupKeys(
|
|
6415
|
+
this.i18nFormat.addLookupKeys(b, l, H, m, t);
|
|
6195
6416
|
else {
|
|
6196
6417
|
let p;
|
|
6197
6418
|
g && (p = this.pluralResolver.getSuffix(H, t.count, t));
|
|
6198
|
-
const x = `${this.options.pluralSeparator}zero`,
|
|
6199
|
-
if (g && (
|
|
6419
|
+
const x = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6420
|
+
if (g && (b.push(l + p), t.ordinal && p.indexOf(_) === 0 && b.push(l + p.replace(_, this.options.pluralSeparator)), f && b.push(l + x)), k) {
|
|
6200
6421
|
const R = `${l}${this.options.contextSeparator}${t.context}`;
|
|
6201
|
-
|
|
6422
|
+
b.push(R), g && (b.push(R + p), t.ordinal && p.indexOf(_) === 0 && b.push(R + p.replace(_, this.options.pluralSeparator)), f && b.push(R + x));
|
|
6202
6423
|
}
|
|
6203
6424
|
}
|
|
6204
6425
|
let A;
|
|
6205
|
-
for (; A =
|
|
6426
|
+
for (; A = b.pop(); )
|
|
6206
6427
|
this.isValidLookup(s) || (o = A, s = this.getResource(H, m, A, t));
|
|
6207
6428
|
}));
|
|
6208
6429
|
});
|
|
@@ -6223,7 +6444,7 @@ class y1 extends V1 {
|
|
|
6223
6444
|
}
|
|
6224
6445
|
getUsedParamsDetails() {
|
|
6225
6446
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6226
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !
|
|
6447
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !M(e.replace);
|
|
6227
6448
|
let n = s ? e.replace : e;
|
|
6228
6449
|
if (s && typeof e.count < "u" && (n.count = e.count), this.options.interpolation.defaultVariables && (n = {
|
|
6229
6450
|
...this.options.interpolation.defaultVariables,
|
|
@@ -6251,17 +6472,17 @@ class i2 {
|
|
|
6251
6472
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = X.create("languageUtils");
|
|
6252
6473
|
}
|
|
6253
6474
|
getScriptPartFromCode(e) {
|
|
6254
|
-
if (e =
|
|
6475
|
+
if (e = M1(e), !e || e.indexOf("-") < 0) return null;
|
|
6255
6476
|
const t = e.split("-");
|
|
6256
6477
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6257
6478
|
}
|
|
6258
6479
|
getLanguagePartFromCode(e) {
|
|
6259
|
-
if (e =
|
|
6480
|
+
if (e = M1(e), !e || e.indexOf("-") < 0) return e;
|
|
6260
6481
|
const t = e.split("-");
|
|
6261
6482
|
return this.formatLanguageCode(t[0]);
|
|
6262
6483
|
}
|
|
6263
6484
|
formatLanguageCode(e) {
|
|
6264
|
-
if (
|
|
6485
|
+
if (M(e) && e.indexOf("-") > -1) {
|
|
6265
6486
|
if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
|
|
6266
6487
|
try {
|
|
6267
6488
|
let n = Intl.getCanonicalLocales(e)[0];
|
|
@@ -6297,7 +6518,7 @@ class i2 {
|
|
|
6297
6518
|
}
|
|
6298
6519
|
getFallbackCodes(e, t) {
|
|
6299
6520
|
if (!e) return [];
|
|
6300
|
-
if (typeof e == "function" && (e = e(t)),
|
|
6521
|
+
if (typeof e == "function" && (e = e(t)), M(e) && (e = [e]), Array.isArray(e)) return e;
|
|
6301
6522
|
if (!t) return e.default || [];
|
|
6302
6523
|
let s = e[t];
|
|
6303
6524
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
@@ -6306,12 +6527,12 @@ class i2 {
|
|
|
6306
6527
|
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (c) => {
|
|
6307
6528
|
c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
6308
6529
|
};
|
|
6309
|
-
return
|
|
6530
|
+
return M(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : M(e) && o(this.formatLanguageCode(e)), s.forEach((c) => {
|
|
6310
6531
|
n.indexOf(c) < 0 && o(this.formatLanguageCode(c));
|
|
6311
6532
|
}), n;
|
|
6312
6533
|
}
|
|
6313
6534
|
}
|
|
6314
|
-
let
|
|
6535
|
+
let c7 = [{
|
|
6315
6536
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6316
6537
|
nr: [1, 2],
|
|
6317
6538
|
fc: 1
|
|
@@ -6403,7 +6624,7 @@ let i7 = [{
|
|
|
6403
6624
|
lngs: ["he", "iw"],
|
|
6404
6625
|
nr: [1, 2, 20, 21],
|
|
6405
6626
|
fc: 22
|
|
6406
|
-
}],
|
|
6627
|
+
}], d7 = {
|
|
6407
6628
|
1: (i) => +(i > 1),
|
|
6408
6629
|
2: (i) => +(i != 1),
|
|
6409
6630
|
3: (i) => 0,
|
|
@@ -6427,28 +6648,28 @@ let i7 = [{
|
|
|
6427
6648
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6428
6649
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6429
6650
|
};
|
|
6430
|
-
const
|
|
6651
|
+
const C7 = ["v1", "v2", "v3"], g7 = ["v4"], s2 = {
|
|
6431
6652
|
zero: 0,
|
|
6432
6653
|
one: 1,
|
|
6433
6654
|
two: 2,
|
|
6434
6655
|
few: 3,
|
|
6435
6656
|
many: 4,
|
|
6436
6657
|
other: 5
|
|
6437
|
-
},
|
|
6658
|
+
}, u7 = () => {
|
|
6438
6659
|
const i = {};
|
|
6439
|
-
return
|
|
6660
|
+
return c7.forEach((e) => {
|
|
6440
6661
|
e.lngs.forEach((t) => {
|
|
6441
6662
|
i[t] = {
|
|
6442
6663
|
numbers: e.nr,
|
|
6443
|
-
plurals:
|
|
6664
|
+
plurals: d7[e.fc]
|
|
6444
6665
|
};
|
|
6445
6666
|
});
|
|
6446
6667
|
}), i;
|
|
6447
6668
|
};
|
|
6448
|
-
class
|
|
6669
|
+
class f7 {
|
|
6449
6670
|
constructor(e) {
|
|
6450
6671
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6451
|
-
this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6672
|
+
this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON || g7.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = u7(), this.pluralRulesCache = {};
|
|
6452
6673
|
}
|
|
6453
6674
|
addRule(e, t) {
|
|
6454
6675
|
this.rules[e] = t;
|
|
@@ -6459,7 +6680,7 @@ class a7 {
|
|
|
6459
6680
|
getRule(e) {
|
|
6460
6681
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6461
6682
|
if (this.shouldUseIntlApi()) {
|
|
6462
|
-
const s =
|
|
6683
|
+
const s = M1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6463
6684
|
cleanedCode: s,
|
|
6464
6685
|
type: n
|
|
6465
6686
|
});
|
|
@@ -6506,14 +6727,14 @@ class a7 {
|
|
|
6506
6727
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
6507
6728
|
}
|
|
6508
6729
|
shouldUseIntlApi() {
|
|
6509
|
-
return !
|
|
6730
|
+
return !C7.includes(this.options.compatibilityJSON);
|
|
6510
6731
|
}
|
|
6511
6732
|
}
|
|
6512
6733
|
const n2 = function(i, e, t) {
|
|
6513
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6514
|
-
return !o && n &&
|
|
6734
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = i7(i, e, t);
|
|
6735
|
+
return !o && n && M(t) && (o = D1(i, t, s), o === void 0 && (o = D1(e, t, s))), o;
|
|
6515
6736
|
}, A1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6516
|
-
class
|
|
6737
|
+
class p7 {
|
|
6517
6738
|
constructor() {
|
|
6518
6739
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6519
6740
|
this.logger = X.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6536,13 +6757,13 @@ class l7 {
|
|
|
6536
6757
|
unescapePrefix: h,
|
|
6537
6758
|
nestingPrefix: g,
|
|
6538
6759
|
nestingPrefixEscaped: f,
|
|
6539
|
-
nestingSuffix:
|
|
6540
|
-
nestingSuffixEscaped:
|
|
6760
|
+
nestingSuffix: k,
|
|
6761
|
+
nestingSuffixEscaped: v,
|
|
6541
6762
|
nestingOptionsSeparator: m,
|
|
6542
6763
|
maxReplaces: H,
|
|
6543
|
-
alwaysFormat:
|
|
6764
|
+
alwaysFormat: b
|
|
6544
6765
|
} = e.interpolation;
|
|
6545
|
-
this.escape = t !== void 0 ? t :
|
|
6766
|
+
this.escape = t !== void 0 ? t : n7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : f || h1("$t("), this.nestingSuffix = k ? h1(k) : v || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = H || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6546
6767
|
}
|
|
6547
6768
|
reset() {
|
|
6548
6769
|
this.options && this.init(this.options);
|
|
@@ -6562,11 +6783,11 @@ class l7 {
|
|
|
6562
6783
|
interpolationkey: f
|
|
6563
6784
|
}) : H;
|
|
6564
6785
|
}
|
|
6565
|
-
const
|
|
6566
|
-
return this.format(n2(t, C,
|
|
6786
|
+
const k = f.split(this.formatSeparator), v = k.shift().trim(), m = k.join(this.formatSeparator).trim();
|
|
6787
|
+
return this.format(n2(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6567
6788
|
...n,
|
|
6568
6789
|
...t,
|
|
6569
|
-
interpolationkey:
|
|
6790
|
+
interpolationkey: v
|
|
6570
6791
|
});
|
|
6571
6792
|
};
|
|
6572
6793
|
this.resetRegExp();
|
|
@@ -6579,21 +6800,21 @@ class l7 {
|
|
|
6579
6800
|
safeValue: (f) => this.escapeValue ? A1(this.escape(f)) : A1(f)
|
|
6580
6801
|
}].forEach((f) => {
|
|
6581
6802
|
for (a = 0; o = f.regex.exec(e); ) {
|
|
6582
|
-
const
|
|
6583
|
-
if (c = d(
|
|
6803
|
+
const k = o[1].trim();
|
|
6804
|
+
if (c = d(k), c === void 0)
|
|
6584
6805
|
if (typeof l == "function") {
|
|
6585
6806
|
const m = l(e, o, n);
|
|
6586
|
-
c =
|
|
6587
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6807
|
+
c = M(m) ? m : "";
|
|
6808
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6588
6809
|
c = "";
|
|
6589
6810
|
else if (h) {
|
|
6590
6811
|
c = o[0];
|
|
6591
6812
|
continue;
|
|
6592
6813
|
} else
|
|
6593
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6594
|
-
else !
|
|
6595
|
-
const
|
|
6596
|
-
if (e = e.replace(o[0],
|
|
6814
|
+
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
|
|
6815
|
+
else !M(c) && !this.useRawValueToEscape && (c = J1(c));
|
|
6816
|
+
const v = f.safeValue(c);
|
|
6817
|
+
if (e = e.replace(o[0], v), h ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6597
6818
|
break;
|
|
6598
6819
|
}
|
|
6599
6820
|
}), e;
|
|
@@ -6606,15 +6827,15 @@ class l7 {
|
|
|
6606
6827
|
const h = C.split(new RegExp(`${l}[ ]*{`));
|
|
6607
6828
|
let g = `{${h[1]}`;
|
|
6608
6829
|
C = h[0], g = this.interpolate(g, c);
|
|
6609
|
-
const f = g.match(/'/g),
|
|
6610
|
-
(f && f.length % 2 === 0 && !
|
|
6830
|
+
const f = g.match(/'/g), k = g.match(/"/g);
|
|
6831
|
+
(f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6611
6832
|
try {
|
|
6612
6833
|
c = JSON.parse(g), d && (c = {
|
|
6613
6834
|
...d,
|
|
6614
6835
|
...c
|
|
6615
6836
|
});
|
|
6616
|
-
} catch (
|
|
6617
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${C}`,
|
|
6837
|
+
} catch (v) {
|
|
6838
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, v), `${C}${l}${g}`;
|
|
6618
6839
|
}
|
|
6619
6840
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
|
|
6620
6841
|
};
|
|
@@ -6622,14 +6843,14 @@ class l7 {
|
|
|
6622
6843
|
let C = [];
|
|
6623
6844
|
c = {
|
|
6624
6845
|
...s
|
|
6625
|
-
}, c = c.replace && !
|
|
6846
|
+
}, c = c.replace && !M(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
6626
6847
|
let d = !1;
|
|
6627
6848
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6628
6849
|
const l = n[1].split(this.formatSeparator).map((h) => h.trim());
|
|
6629
6850
|
n[1] = l.shift(), C = l, d = !0;
|
|
6630
6851
|
}
|
|
6631
|
-
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !
|
|
6632
|
-
|
|
6852
|
+
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !M(o)) return o;
|
|
6853
|
+
M(o) || (o = J1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
|
|
6633
6854
|
...s,
|
|
6634
6855
|
interpolationkey: n[1].trim()
|
|
6635
6856
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6637,7 +6858,7 @@ class l7 {
|
|
|
6637
6858
|
return e;
|
|
6638
6859
|
}
|
|
6639
6860
|
}
|
|
6640
|
-
const
|
|
6861
|
+
const m7 = (i) => {
|
|
6641
6862
|
let e = i.toLowerCase().trim();
|
|
6642
6863
|
const t = {};
|
|
6643
6864
|
if (i.indexOf("(") > -1) {
|
|
@@ -6655,7 +6876,7 @@ const c7 = (i) => {
|
|
|
6655
6876
|
formatName: e,
|
|
6656
6877
|
formatOptions: t
|
|
6657
6878
|
};
|
|
6658
|
-
},
|
|
6879
|
+
}, c1 = (i) => {
|
|
6659
6880
|
const e = {};
|
|
6660
6881
|
return (t, s, n) => {
|
|
6661
6882
|
let o = n;
|
|
@@ -6665,39 +6886,39 @@ const c7 = (i) => {
|
|
|
6665
6886
|
});
|
|
6666
6887
|
const c = s + JSON.stringify(o);
|
|
6667
6888
|
let a = e[c];
|
|
6668
|
-
return a || (a = i(
|
|
6889
|
+
return a || (a = i(M1(s), n), e[c] = a), a(t);
|
|
6669
6890
|
};
|
|
6670
6891
|
};
|
|
6671
|
-
class
|
|
6892
|
+
class w7 {
|
|
6672
6893
|
constructor() {
|
|
6673
6894
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6674
6895
|
this.logger = X.create("formatter"), this.options = e, this.formats = {
|
|
6675
|
-
number:
|
|
6896
|
+
number: c1((t, s) => {
|
|
6676
6897
|
const n = new Intl.NumberFormat(t, {
|
|
6677
6898
|
...s
|
|
6678
6899
|
});
|
|
6679
6900
|
return (o) => n.format(o);
|
|
6680
6901
|
}),
|
|
6681
|
-
currency:
|
|
6902
|
+
currency: c1((t, s) => {
|
|
6682
6903
|
const n = new Intl.NumberFormat(t, {
|
|
6683
6904
|
...s,
|
|
6684
6905
|
style: "currency"
|
|
6685
6906
|
});
|
|
6686
6907
|
return (o) => n.format(o);
|
|
6687
6908
|
}),
|
|
6688
|
-
datetime:
|
|
6909
|
+
datetime: c1((t, s) => {
|
|
6689
6910
|
const n = new Intl.DateTimeFormat(t, {
|
|
6690
6911
|
...s
|
|
6691
6912
|
});
|
|
6692
6913
|
return (o) => n.format(o);
|
|
6693
6914
|
}),
|
|
6694
|
-
relativetime:
|
|
6915
|
+
relativetime: c1((t, s) => {
|
|
6695
6916
|
const n = new Intl.RelativeTimeFormat(t, {
|
|
6696
6917
|
...s
|
|
6697
6918
|
});
|
|
6698
6919
|
return (o) => n.format(o, s.range || "day");
|
|
6699
6920
|
}),
|
|
6700
|
-
list:
|
|
6921
|
+
list: c1((t, s) => {
|
|
6701
6922
|
const n = new Intl.ListFormat(t, {
|
|
6702
6923
|
...s
|
|
6703
6924
|
});
|
|
@@ -6715,7 +6936,7 @@ class h7 {
|
|
|
6715
6936
|
this.formats[e.toLowerCase().trim()] = t;
|
|
6716
6937
|
}
|
|
6717
6938
|
addCached(e, t) {
|
|
6718
|
-
this.formats[e.toLowerCase().trim()] =
|
|
6939
|
+
this.formats[e.toLowerCase().trim()] = c1(t);
|
|
6719
6940
|
}
|
|
6720
6941
|
format(e, t, s) {
|
|
6721
6942
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -6728,7 +6949,7 @@ class h7 {
|
|
|
6728
6949
|
const {
|
|
6729
6950
|
formatName: d,
|
|
6730
6951
|
formatOptions: l
|
|
6731
|
-
} =
|
|
6952
|
+
} = m7(C);
|
|
6732
6953
|
if (this.formats[d]) {
|
|
6733
6954
|
let h = a;
|
|
6734
6955
|
try {
|
|
@@ -6748,10 +6969,10 @@ class h7 {
|
|
|
6748
6969
|
}, e);
|
|
6749
6970
|
}
|
|
6750
6971
|
}
|
|
6751
|
-
const
|
|
6972
|
+
const L7 = (i, e) => {
|
|
6752
6973
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6753
6974
|
};
|
|
6754
|
-
class
|
|
6975
|
+
class k7 extends V1 {
|
|
6755
6976
|
constructor(e, t, s) {
|
|
6756
6977
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6757
6978
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = X.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
|
@@ -6784,7 +7005,7 @@ class C7 extends V1 {
|
|
|
6784
7005
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6785
7006
|
const a = {};
|
|
6786
7007
|
this.queue.forEach((C) => {
|
|
6787
|
-
|
|
7008
|
+
t7(C.loaded, [o], c), L7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6788
7009
|
a[d] || (a[d] = {});
|
|
6789
7010
|
const l = C.loaded[d];
|
|
6790
7011
|
l.length && l.forEach((h) => {
|
|
@@ -6836,7 +7057,7 @@ class C7 extends V1 {
|
|
|
6836
7057
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = arguments.length > 3 ? arguments[3] : void 0;
|
|
6837
7058
|
if (!this.backend)
|
|
6838
7059
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
|
|
6839
|
-
|
|
7060
|
+
M(e) && (e = this.languageUtils.toResolveHierarchy(e)), M(t) && (t = [t]);
|
|
6840
7061
|
const o = this.queueLoad(e, t, s, n);
|
|
6841
7062
|
if (!o.toLoad.length)
|
|
6842
7063
|
return o.pending.length || n(), null;
|
|
@@ -6921,7 +7142,7 @@ const r2 = () => ({
|
|
|
6921
7142
|
appendNamespaceToCIMode: !1,
|
|
6922
7143
|
overloadTranslationOptionHandler: (i) => {
|
|
6923
7144
|
let e = {};
|
|
6924
|
-
if (typeof i[1] == "object" && (e = i[1]),
|
|
7145
|
+
if (typeof i[1] == "object" && (e = i[1]), M(i[1]) && (e.defaultValue = i[1]), M(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
|
|
6925
7146
|
const t = i[3] || i[2];
|
|
6926
7147
|
Object.keys(t).forEach((s) => {
|
|
6927
7148
|
e[s] = t[s];
|
|
@@ -6942,8 +7163,8 @@ const r2 = () => ({
|
|
|
6942
7163
|
maxReplaces: 1e3,
|
|
6943
7164
|
skipOnVariables: !0
|
|
6944
7165
|
}
|
|
6945
|
-
}), o2 = (i) => (
|
|
6946
|
-
},
|
|
7166
|
+
}), o2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), R1 = () => {
|
|
7167
|
+
}, v7 = (i) => {
|
|
6947
7168
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6948
7169
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6949
7170
|
});
|
|
@@ -6953,7 +7174,7 @@ class w1 extends V1 {
|
|
|
6953
7174
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6954
7175
|
if (super(), this.options = o2(e), this.services = {}, this.logger = X, this.modules = {
|
|
6955
7176
|
external: []
|
|
6956
|
-
},
|
|
7177
|
+
}, v7(this), t && !this.isInitialized && !e.isClone) {
|
|
6957
7178
|
if (!this.options.initImmediate)
|
|
6958
7179
|
return this.init(e, t), this;
|
|
6959
7180
|
setTimeout(() => {
|
|
@@ -6964,7 +7185,7 @@ class w1 extends V1 {
|
|
|
6964
7185
|
init() {
|
|
6965
7186
|
var e = this;
|
|
6966
7187
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
6967
|
-
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (
|
|
7188
|
+
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
6968
7189
|
const n = r2();
|
|
6969
7190
|
this.options = {
|
|
6970
7191
|
...n,
|
|
@@ -6978,24 +7199,24 @@ class w1 extends V1 {
|
|
|
6978
7199
|
if (!this.options.isClone) {
|
|
6979
7200
|
this.modules.logger ? X.init(o(this.modules.logger), this.options) : X.init(null, this.options);
|
|
6980
7201
|
let l;
|
|
6981
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
7202
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = w7);
|
|
6982
7203
|
const h = new i2(this.options);
|
|
6983
7204
|
this.store = new e2(this.options.resources, this.options);
|
|
6984
7205
|
const g = this.services;
|
|
6985
|
-
g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new
|
|
7206
|
+
g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new f7(h, {
|
|
6986
7207
|
prepend: this.options.pluralSeparator,
|
|
6987
7208
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6988
7209
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6989
|
-
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new
|
|
7210
|
+
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new p7(this.options), g.utils = {
|
|
6990
7211
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6991
|
-
}, g.backendConnector = new
|
|
6992
|
-
for (var
|
|
6993
|
-
|
|
6994
|
-
e.emit(f, ...
|
|
7212
|
+
}, g.backendConnector = new k7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
|
|
7213
|
+
for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
7214
|
+
v[m - 1] = arguments[m];
|
|
7215
|
+
e.emit(f, ...v);
|
|
6995
7216
|
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new y1(this.services, this.options), this.translator.on("*", function(f) {
|
|
6996
|
-
for (var
|
|
6997
|
-
|
|
6998
|
-
e.emit(f, ...
|
|
7217
|
+
for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
7218
|
+
v[m - 1] = arguments[m];
|
|
7219
|
+
e.emit(f, ...v);
|
|
6999
7220
|
}), this.modules.external.forEach((f) => {
|
|
7000
7221
|
f.init && f.init(this);
|
|
7001
7222
|
});
|
|
@@ -7024,7 +7245,7 @@ class w1 extends V1 {
|
|
|
7024
7245
|
}
|
|
7025
7246
|
loadResources(e) {
|
|
7026
7247
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R1;
|
|
7027
|
-
const n =
|
|
7248
|
+
const n = M(e) ? e : this.language;
|
|
7028
7249
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
7029
7250
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
7030
7251
|
const o = [], c = (a) => {
|
|
@@ -7075,7 +7296,7 @@ class w1 extends V1 {
|
|
|
7075
7296
|
});
|
|
7076
7297
|
}, a = (C) => {
|
|
7077
7298
|
!e && !C && this.services.languageDetector && (C = []);
|
|
7078
|
-
const d =
|
|
7299
|
+
const d = M(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
7079
7300
|
d && (this.language || o(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
|
|
7080
7301
|
c(l, d);
|
|
7081
7302
|
});
|
|
@@ -7097,9 +7318,9 @@ class w1 extends V1 {
|
|
|
7097
7318
|
C.lng = C.lng || o.lng, C.lngs = C.lngs || o.lngs, C.ns = C.ns || o.ns, C.keyPrefix !== "" && (C.keyPrefix = C.keyPrefix || s || o.keyPrefix);
|
|
7098
7319
|
const g = n.options.keySeparator || ".";
|
|
7099
7320
|
let f;
|
|
7100
|
-
return C.keyPrefix && Array.isArray(c) ? f = c.map((
|
|
7321
|
+
return C.keyPrefix && Array.isArray(c) ? f = c.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(f, C);
|
|
7101
7322
|
};
|
|
7102
|
-
return
|
|
7323
|
+
return M(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
7103
7324
|
}
|
|
7104
7325
|
t() {
|
|
7105
7326
|
return this.translator && this.translator.translate(...arguments);
|
|
@@ -7130,7 +7351,7 @@ class w1 extends V1 {
|
|
|
7130
7351
|
}
|
|
7131
7352
|
loadNamespaces(e, t) {
|
|
7132
7353
|
const s = u1();
|
|
7133
|
-
return this.options.ns ? (
|
|
7354
|
+
return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
|
|
7134
7355
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
7135
7356
|
}), this.loadResources((n) => {
|
|
7136
7357
|
s.resolve(), t && t(n);
|
|
@@ -7138,7 +7359,7 @@ class w1 extends V1 {
|
|
|
7138
7359
|
}
|
|
7139
7360
|
loadLanguages(e, t) {
|
|
7140
7361
|
const s = u1();
|
|
7141
|
-
|
|
7362
|
+
M(e) && (e = [e]);
|
|
7142
7363
|
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7143
7364
|
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
7144
7365
|
s.resolve(), t && t(c);
|
|
@@ -7186,42 +7407,42 @@ class w1 extends V1 {
|
|
|
7186
7407
|
};
|
|
7187
7408
|
}
|
|
7188
7409
|
}
|
|
7189
|
-
const
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
const
|
|
7206
|
-
archived:
|
|
7207
|
-
deleted:
|
|
7208
|
-
},
|
|
7209
|
-
archived:
|
|
7210
|
-
deleted:
|
|
7410
|
+
const U = w1.createInstance();
|
|
7411
|
+
U.createInstance = w1.createInstance;
|
|
7412
|
+
U.createInstance;
|
|
7413
|
+
U.dir;
|
|
7414
|
+
U.init;
|
|
7415
|
+
U.loadResources;
|
|
7416
|
+
U.reloadResources;
|
|
7417
|
+
U.use;
|
|
7418
|
+
U.changeLanguage;
|
|
7419
|
+
U.getFixedT;
|
|
7420
|
+
U.t;
|
|
7421
|
+
U.exists;
|
|
7422
|
+
U.setDefaultNamespace;
|
|
7423
|
+
U.hasLoadedNamespace;
|
|
7424
|
+
U.loadNamespaces;
|
|
7425
|
+
U.loadLanguages;
|
|
7426
|
+
const N7 = "Archived", R7 = "Deleted", x7 = {
|
|
7427
|
+
archived: N7,
|
|
7428
|
+
deleted: R7
|
|
7429
|
+
}, _7 = "Заархивирован", M7 = "Удалён", b7 = {
|
|
7430
|
+
archived: _7,
|
|
7431
|
+
deleted: M7
|
|
7211
7432
|
};
|
|
7212
|
-
|
|
7433
|
+
U.use(Ut).init({
|
|
7213
7434
|
defaultNS: "common",
|
|
7214
7435
|
lng: "en",
|
|
7215
7436
|
resources: {
|
|
7216
7437
|
en: {
|
|
7217
|
-
common:
|
|
7438
|
+
common: x7
|
|
7218
7439
|
},
|
|
7219
7440
|
ru: {
|
|
7220
|
-
common:
|
|
7441
|
+
common: b7
|
|
7221
7442
|
}
|
|
7222
7443
|
}
|
|
7223
7444
|
});
|
|
7224
|
-
const
|
|
7445
|
+
const O7 = L1(
|
|
7225
7446
|
({
|
|
7226
7447
|
fetchParams: i,
|
|
7227
7448
|
mode: e = void 0,
|
|
@@ -7236,18 +7457,18 @@ const b7 = L1(
|
|
|
7236
7457
|
required: l,
|
|
7237
7458
|
error: h
|
|
7238
7459
|
}, g) => {
|
|
7239
|
-
const { axiosPeople: f, locale:
|
|
7460
|
+
const { axiosPeople: f, locale: k } = r1(y2), { t: v } = Qt("common", { lng: k }), [m, H] = S([]), [b, A] = S(!0), p = q(m), x = q(null);
|
|
7240
7461
|
if (H1(g, () => x.current), !f)
|
|
7241
7462
|
throw new Error(
|
|
7242
7463
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
7243
7464
|
Please provide it via SNMTUiContext.`
|
|
7244
7465
|
);
|
|
7245
|
-
const
|
|
7466
|
+
const _ = $(
|
|
7246
7467
|
(V) => {
|
|
7247
7468
|
let G = "";
|
|
7248
|
-
return V.deletedAt && (G += `[${
|
|
7469
|
+
return V.deletedAt && (G += `[${v("deleted")}] `), V.status === x1.ARCHIVED && (G += `[${v("archived")}] `), `${G}${V.firstName} ${V.lastName}`;
|
|
7249
7470
|
},
|
|
7250
|
-
[
|
|
7471
|
+
[v]
|
|
7251
7472
|
), R = $(
|
|
7252
7473
|
async ({
|
|
7253
7474
|
offset: V,
|
|
@@ -7256,32 +7477,32 @@ const b7 = L1(
|
|
|
7256
7477
|
}) => {
|
|
7257
7478
|
var O, D, B;
|
|
7258
7479
|
try {
|
|
7259
|
-
const
|
|
7480
|
+
const W = await f.post("v1/users/search", {
|
|
7260
7481
|
offset: V,
|
|
7261
7482
|
limit: G,
|
|
7262
7483
|
search: E,
|
|
7263
7484
|
...i,
|
|
7264
7485
|
includeCount: !0
|
|
7265
|
-
}), { data: I, metadata: Y } =
|
|
7486
|
+
}), { data: I, metadata: Y } = W.data;
|
|
7266
7487
|
return {
|
|
7267
7488
|
options: I.map((P) => ({
|
|
7268
7489
|
value: P.id,
|
|
7269
|
-
label:
|
|
7490
|
+
label: _(P),
|
|
7270
7491
|
image: C ? P.avatarUrl : void 0
|
|
7271
7492
|
})),
|
|
7272
7493
|
count: Y.count
|
|
7273
7494
|
};
|
|
7274
|
-
} catch (
|
|
7495
|
+
} catch (W) {
|
|
7275
7496
|
return c && c({
|
|
7276
|
-
status: ((O =
|
|
7277
|
-
message: ((B = (D =
|
|
7497
|
+
status: ((O = W.response) == null ? void 0 : O.status) ?? 500,
|
|
7498
|
+
message: ((B = (D = W.response) == null ? void 0 : D.data) == null ? void 0 : B.message) ?? "Error while fetching options"
|
|
7278
7499
|
}), {
|
|
7279
7500
|
options: [],
|
|
7280
7501
|
count: 0
|
|
7281
7502
|
};
|
|
7282
7503
|
}
|
|
7283
7504
|
},
|
|
7284
|
-
[f, i,
|
|
7505
|
+
[f, i, _, C, c]
|
|
7285
7506
|
), j = $(
|
|
7286
7507
|
async (V) => {
|
|
7287
7508
|
var G, E, O;
|
|
@@ -7296,12 +7517,12 @@ const b7 = L1(
|
|
|
7296
7517
|
status: [x1.ACTIVE, x1.ARCHIVED]
|
|
7297
7518
|
}
|
|
7298
7519
|
})).data.data);
|
|
7299
|
-
const
|
|
7520
|
+
const W = B.map((I) => ({
|
|
7300
7521
|
value: I.id,
|
|
7301
|
-
label:
|
|
7522
|
+
label: _(I),
|
|
7302
7523
|
image: C ? I.avatarUrl : void 0
|
|
7303
7524
|
}));
|
|
7304
|
-
return [...p.current, ...
|
|
7525
|
+
return [...p.current, ...W];
|
|
7305
7526
|
} catch (D) {
|
|
7306
7527
|
return c && c({
|
|
7307
7528
|
status: ((G = D.response) == null ? void 0 : G.status) ?? 500,
|
|
@@ -7309,7 +7530,7 @@ const b7 = L1(
|
|
|
7309
7530
|
}), [];
|
|
7310
7531
|
}
|
|
7311
7532
|
},
|
|
7312
|
-
[f,
|
|
7533
|
+
[f, _, c, C]
|
|
7313
7534
|
);
|
|
7314
7535
|
K(() => {
|
|
7315
7536
|
p.current = m;
|
|
@@ -7346,8 +7567,8 @@ const b7 = L1(
|
|
|
7346
7567
|
},
|
|
7347
7568
|
[a, R]
|
|
7348
7569
|
);
|
|
7349
|
-
if (
|
|
7350
|
-
return /* @__PURE__ */ r(
|
|
7570
|
+
if (b)
|
|
7571
|
+
return /* @__PURE__ */ r(Ot, {});
|
|
7351
7572
|
const F = {
|
|
7352
7573
|
ref: x,
|
|
7353
7574
|
placeholder: t,
|
|
@@ -7382,5 +7603,5 @@ const b7 = L1(
|
|
|
7382
7603
|
}
|
|
7383
7604
|
);
|
|
7384
7605
|
export {
|
|
7385
|
-
|
|
7606
|
+
O7 as UserSelect
|
|
7386
7607
|
};
|