@snmt-react-ui/user-select 2.1.2 → 2.1.4
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 +826 -804
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var ee = Object.defineProperty;
|
|
2
|
+
var te = (i, e, t) => e in i ? ee(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var R1 = (i, e, t) => te(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, jsxs as u, Fragment as q } from "react/jsx-runtime";
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { Select as
|
|
8
|
-
import { SNMTUiContext as
|
|
9
|
-
const
|
|
6
|
+
import { createContext as n1, forwardRef as r1, useState as I, useRef as p1, useEffect as Z, useCallback as $, useContext as o1 } from "react";
|
|
7
|
+
import { Select as ie, Flex as se, Avatar as ne, Checkbox as re, Typography as T1, Tag as G1, Popover as oe } from "antd";
|
|
8
|
+
import { SNMTUiContext as le } from "@snmt-react-ui/core";
|
|
9
|
+
const h1 = ({
|
|
10
10
|
children: i,
|
|
11
11
|
direction: e = "row",
|
|
12
12
|
flexWrap: t = "nowrap",
|
|
@@ -16,7 +16,7 @@ const a1 = ({
|
|
|
16
16
|
gap: c,
|
|
17
17
|
padding: o
|
|
18
18
|
}) => /* @__PURE__ */ r(
|
|
19
|
-
|
|
19
|
+
se,
|
|
20
20
|
{
|
|
21
21
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
|
22
22
|
vertical: e === "column",
|
|
@@ -28,26 +28,27 @@ const a1 = ({
|
|
|
28
28
|
style: { padding: o },
|
|
29
29
|
children: i
|
|
30
30
|
}
|
|
31
|
-
),
|
|
31
|
+
), ae = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
32
32
|
const n = typeof s.src == "string";
|
|
33
33
|
return /* @__PURE__ */ r(
|
|
34
|
-
|
|
34
|
+
ne,
|
|
35
35
|
{
|
|
36
36
|
className: `snmt-avatar ${n ? "image" : ""}`,
|
|
37
37
|
shape: i,
|
|
38
38
|
size: e,
|
|
39
|
+
style: { minWidth: e, minHeight: e },
|
|
39
40
|
...s,
|
|
40
41
|
children: t
|
|
41
42
|
}
|
|
42
43
|
);
|
|
43
44
|
};
|
|
44
45
|
var Q = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(Q || {});
|
|
45
|
-
const
|
|
46
|
+
const K1 = n1({
|
|
46
47
|
locale: "en",
|
|
47
48
|
theme: "light"
|
|
48
49
|
});
|
|
49
|
-
|
|
50
|
-
const
|
|
50
|
+
K1.Provider;
|
|
51
|
+
const he = ({
|
|
51
52
|
checked: i = !0,
|
|
52
53
|
indeterminate: e = !1,
|
|
53
54
|
children: t,
|
|
@@ -59,9 +60,9 @@ const ae = ({
|
|
|
59
60
|
Z(() => {
|
|
60
61
|
o(i), g(e);
|
|
61
62
|
}, [i, e]);
|
|
62
|
-
const { theme: a } =
|
|
63
|
+
const { theme: a } = o1(K1);
|
|
63
64
|
return /* @__PURE__ */ r(
|
|
64
|
-
|
|
65
|
+
re,
|
|
65
66
|
{
|
|
66
67
|
className: `snmt-checkbox snmt-checkbox-${a}`,
|
|
67
68
|
checked: c,
|
|
@@ -75,12 +76,12 @@ const ae = ({
|
|
|
75
76
|
);
|
|
76
77
|
};
|
|
77
78
|
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.PURPLE_LIGHT = "var(--purple-light)", 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))(L || {});
|
|
78
|
-
const
|
|
79
|
+
const P1 = n1({
|
|
79
80
|
locale: "en",
|
|
80
81
|
theme: "light"
|
|
81
82
|
});
|
|
82
|
-
|
|
83
|
-
const
|
|
83
|
+
P1.Provider;
|
|
84
|
+
const ce = ({
|
|
84
85
|
width: i = 20,
|
|
85
86
|
height: e = 20,
|
|
86
87
|
color: t = "#001E52",
|
|
@@ -107,7 +108,7 @@ const he = ({
|
|
|
107
108
|
}
|
|
108
109
|
)
|
|
109
110
|
}
|
|
110
|
-
),
|
|
111
|
+
), de = ({
|
|
111
112
|
width: i = 20,
|
|
112
113
|
height: e = 20,
|
|
113
114
|
color: t = "#001E52",
|
|
@@ -134,7 +135,7 @@ const he = ({
|
|
|
134
135
|
}
|
|
135
136
|
)
|
|
136
137
|
}
|
|
137
|
-
),
|
|
138
|
+
), ge = ({
|
|
138
139
|
width: i = 16,
|
|
139
140
|
height: e = 16,
|
|
140
141
|
color: t = "#001E52",
|
|
@@ -162,7 +163,7 @@ const he = ({
|
|
|
162
163
|
)
|
|
163
164
|
]
|
|
164
165
|
}
|
|
165
|
-
),
|
|
166
|
+
), ue = ({
|
|
166
167
|
width: i = 20,
|
|
167
168
|
height: e = 20,
|
|
168
169
|
color: t = "#001E52",
|
|
@@ -197,7 +198,7 @@ const he = ({
|
|
|
197
198
|
)
|
|
198
199
|
]
|
|
199
200
|
}
|
|
200
|
-
),
|
|
201
|
+
), Ce = ({
|
|
201
202
|
width: i = 18,
|
|
202
203
|
height: e = 18,
|
|
203
204
|
color: t = "#001E52",
|
|
@@ -236,7 +237,7 @@ const he = ({
|
|
|
236
237
|
)
|
|
237
238
|
]
|
|
238
239
|
}
|
|
239
|
-
),
|
|
240
|
+
), pe = ({
|
|
240
241
|
width: i = 20,
|
|
241
242
|
height: e = 20,
|
|
242
243
|
color: t = "#001E52",
|
|
@@ -262,7 +263,7 @@ const he = ({
|
|
|
262
263
|
}
|
|
263
264
|
)
|
|
264
265
|
}
|
|
265
|
-
),
|
|
266
|
+
), fe = ({
|
|
266
267
|
width: i = 20,
|
|
267
268
|
height: e = 20,
|
|
268
269
|
color: t = "#001E52",
|
|
@@ -283,7 +284,7 @@ const he = ({
|
|
|
283
284
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
284
285
|
]
|
|
285
286
|
}
|
|
286
|
-
),
|
|
287
|
+
), we = ({
|
|
287
288
|
width: i = 20,
|
|
288
289
|
height: e = 20,
|
|
289
290
|
color: t = "#001E52",
|
|
@@ -315,7 +316,7 @@ const he = ({
|
|
|
315
316
|
)
|
|
316
317
|
]
|
|
317
318
|
}
|
|
318
|
-
),
|
|
319
|
+
), me = ({
|
|
319
320
|
width: i = 20,
|
|
320
321
|
height: e = 20,
|
|
321
322
|
color: t = "#001E52",
|
|
@@ -369,7 +370,7 @@ const he = ({
|
|
|
369
370
|
)
|
|
370
371
|
]
|
|
371
372
|
}
|
|
372
|
-
),
|
|
373
|
+
), ke = ({
|
|
373
374
|
width: i = 20,
|
|
374
375
|
height: e = 20,
|
|
375
376
|
color: t = "#001E52",
|
|
@@ -408,7 +409,7 @@ const he = ({
|
|
|
408
409
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
409
410
|
]
|
|
410
411
|
}
|
|
411
|
-
),
|
|
412
|
+
), Le = ({
|
|
412
413
|
width: i = 16,
|
|
413
414
|
height: e = 12,
|
|
414
415
|
color: t = "#001E52",
|
|
@@ -457,7 +458,7 @@ const he = ({
|
|
|
457
458
|
)
|
|
458
459
|
] })
|
|
459
460
|
}
|
|
460
|
-
),
|
|
461
|
+
), ve = ({
|
|
461
462
|
width: i = 16,
|
|
462
463
|
height: e = 16,
|
|
463
464
|
color: t = "#001E52",
|
|
@@ -491,7 +492,7 @@ const he = ({
|
|
|
491
492
|
)
|
|
492
493
|
]
|
|
493
494
|
}
|
|
494
|
-
),
|
|
495
|
+
), Ne = ({
|
|
495
496
|
width: i = 10,
|
|
496
497
|
height: e = 10,
|
|
497
498
|
color: t = "#001E52",
|
|
@@ -530,7 +531,7 @@ const he = ({
|
|
|
530
531
|
)
|
|
531
532
|
] })
|
|
532
533
|
}
|
|
533
|
-
),
|
|
534
|
+
), xe = ({
|
|
534
535
|
width: i = 16,
|
|
535
536
|
height: e = 16,
|
|
536
537
|
color: t = "#001E52",
|
|
@@ -566,7 +567,7 @@ const he = ({
|
|
|
566
567
|
)
|
|
567
568
|
]
|
|
568
569
|
}
|
|
569
|
-
),
|
|
570
|
+
), Re = ({
|
|
570
571
|
width: i = 11,
|
|
571
572
|
height: e = 32,
|
|
572
573
|
color: t = "#001E52",
|
|
@@ -604,7 +605,7 @@ const he = ({
|
|
|
604
605
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
605
606
|
]
|
|
606
607
|
}
|
|
607
|
-
),
|
|
608
|
+
), Me = ({
|
|
608
609
|
width: i = 20,
|
|
609
610
|
height: e = 20,
|
|
610
611
|
color: t = "#001E52",
|
|
@@ -651,7 +652,7 @@ const he = ({
|
|
|
651
652
|
)
|
|
652
653
|
]
|
|
653
654
|
}
|
|
654
|
-
),
|
|
655
|
+
), ye = ({
|
|
655
656
|
width: i = 20,
|
|
656
657
|
height: e = 20,
|
|
657
658
|
color: t = "#001E52",
|
|
@@ -684,7 +685,7 @@ const he = ({
|
|
|
684
685
|
)
|
|
685
686
|
]
|
|
686
687
|
}
|
|
687
|
-
),
|
|
688
|
+
), be = ({
|
|
688
689
|
width: i = 20,
|
|
689
690
|
height: e = 20,
|
|
690
691
|
color: t = "#001E52",
|
|
@@ -731,7 +732,7 @@ const he = ({
|
|
|
731
732
|
)
|
|
732
733
|
]
|
|
733
734
|
}
|
|
734
|
-
),
|
|
735
|
+
), Ee = ({
|
|
735
736
|
width: i = 20,
|
|
736
737
|
height: e = 20,
|
|
737
738
|
color: t = "#001E52",
|
|
@@ -764,7 +765,7 @@ const he = ({
|
|
|
764
765
|
)
|
|
765
766
|
]
|
|
766
767
|
}
|
|
767
|
-
),
|
|
768
|
+
), Ve = ({
|
|
768
769
|
width: i = 18,
|
|
769
770
|
height: e = 16,
|
|
770
771
|
color: t = "#001E52",
|
|
@@ -803,7 +804,7 @@ const he = ({
|
|
|
803
804
|
)
|
|
804
805
|
]
|
|
805
806
|
}
|
|
806
|
-
),
|
|
807
|
+
), _e = ({
|
|
807
808
|
width: i = 20,
|
|
808
809
|
height: e = 20,
|
|
809
810
|
color: t = "#001E52",
|
|
@@ -836,7 +837,7 @@ const he = ({
|
|
|
836
837
|
)
|
|
837
838
|
]
|
|
838
839
|
}
|
|
839
|
-
),
|
|
840
|
+
), He = ({
|
|
840
841
|
width: i = 20,
|
|
841
842
|
height: e = 20,
|
|
842
843
|
color: t = "#001E52",
|
|
@@ -860,7 +861,7 @@ const he = ({
|
|
|
860
861
|
}
|
|
861
862
|
)
|
|
862
863
|
}
|
|
863
|
-
),
|
|
864
|
+
), Ie = ({
|
|
864
865
|
width: i = 20,
|
|
865
866
|
height: e = 20,
|
|
866
867
|
color: t = "#001E52",
|
|
@@ -907,7 +908,7 @@ const he = ({
|
|
|
907
908
|
)
|
|
908
909
|
]
|
|
909
910
|
}
|
|
910
|
-
),
|
|
911
|
+
), Se = ({
|
|
911
912
|
width: i = 20,
|
|
912
913
|
height: e = 20,
|
|
913
914
|
color: t = "#001E52",
|
|
@@ -940,7 +941,7 @@ const he = ({
|
|
|
940
941
|
)
|
|
941
942
|
]
|
|
942
943
|
}
|
|
943
|
-
),
|
|
944
|
+
), Oe = ({
|
|
944
945
|
width: i = 20,
|
|
945
946
|
height: e = 20,
|
|
946
947
|
color: t = "#001E52",
|
|
@@ -973,7 +974,7 @@ const he = ({
|
|
|
973
974
|
)
|
|
974
975
|
]
|
|
975
976
|
}
|
|
976
|
-
),
|
|
977
|
+
), Ae = ({
|
|
977
978
|
width: i = 20,
|
|
978
979
|
height: e = 23,
|
|
979
980
|
color: t = "#001E52",
|
|
@@ -1034,7 +1035,7 @@ const he = ({
|
|
|
1034
1035
|
)
|
|
1035
1036
|
]
|
|
1036
1037
|
}
|
|
1037
|
-
),
|
|
1038
|
+
), Be = ({
|
|
1038
1039
|
width: i = 20,
|
|
1039
1040
|
height: e = 20,
|
|
1040
1041
|
color: t = "#001E52",
|
|
@@ -1074,7 +1075,7 @@ const he = ({
|
|
|
1074
1075
|
)
|
|
1075
1076
|
]
|
|
1076
1077
|
}
|
|
1077
|
-
),
|
|
1078
|
+
), We = ({
|
|
1078
1079
|
width: i = 32,
|
|
1079
1080
|
height: e = 25,
|
|
1080
1081
|
color: t = "#001E52",
|
|
@@ -1102,7 +1103,7 @@ const he = ({
|
|
|
1102
1103
|
)
|
|
1103
1104
|
]
|
|
1104
1105
|
}
|
|
1105
|
-
),
|
|
1106
|
+
), je = ({
|
|
1106
1107
|
width: i = 14,
|
|
1107
1108
|
height: e = 14,
|
|
1108
1109
|
color: t = "#10B981",
|
|
@@ -1131,7 +1132,7 @@ const he = ({
|
|
|
1131
1132
|
)
|
|
1132
1133
|
]
|
|
1133
1134
|
}
|
|
1134
|
-
),
|
|
1135
|
+
), Ze = ({
|
|
1135
1136
|
width: i = 11,
|
|
1136
1137
|
height: e = 11,
|
|
1137
1138
|
color: t = "#FFB020",
|
|
@@ -1165,7 +1166,7 @@ const he = ({
|
|
|
1165
1166
|
)
|
|
1166
1167
|
]
|
|
1167
1168
|
}
|
|
1168
|
-
),
|
|
1169
|
+
), De = ({
|
|
1169
1170
|
width: i = 10,
|
|
1170
1171
|
height: e = 10,
|
|
1171
1172
|
color: t = "#88A4FF",
|
|
@@ -1213,7 +1214,7 @@ const he = ({
|
|
|
1213
1214
|
)
|
|
1214
1215
|
]
|
|
1215
1216
|
}
|
|
1216
|
-
),
|
|
1217
|
+
), Te = ({
|
|
1217
1218
|
width: i = 14,
|
|
1218
1219
|
height: e = 14,
|
|
1219
1220
|
color: t = "#8E8E93",
|
|
@@ -1241,7 +1242,7 @@ const he = ({
|
|
|
1241
1242
|
)
|
|
1242
1243
|
]
|
|
1243
1244
|
}
|
|
1244
|
-
),
|
|
1245
|
+
), Ge = ({
|
|
1245
1246
|
width: i = 14,
|
|
1246
1247
|
height: e = 14,
|
|
1247
1248
|
color: t = "#FFB020",
|
|
@@ -1275,7 +1276,7 @@ const he = ({
|
|
|
1275
1276
|
)
|
|
1276
1277
|
]
|
|
1277
1278
|
}
|
|
1278
|
-
),
|
|
1279
|
+
), Ke = ({
|
|
1279
1280
|
width: i = 14,
|
|
1280
1281
|
height: e = 14,
|
|
1281
1282
|
color: t = "#D0421B",
|
|
@@ -1323,7 +1324,7 @@ const he = ({
|
|
|
1323
1324
|
)
|
|
1324
1325
|
]
|
|
1325
1326
|
}
|
|
1326
|
-
),
|
|
1327
|
+
), Pe = ({
|
|
1327
1328
|
width: i = 20,
|
|
1328
1329
|
height: e = 20,
|
|
1329
1330
|
color: t = "#070739",
|
|
@@ -1353,7 +1354,7 @@ const he = ({
|
|
|
1353
1354
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1354
1355
|
]
|
|
1355
1356
|
}
|
|
1356
|
-
),
|
|
1357
|
+
), $e = ({
|
|
1357
1358
|
width: i = 20,
|
|
1358
1359
|
height: e = 20,
|
|
1359
1360
|
color: t = "#070739",
|
|
@@ -1391,7 +1392,7 @@ const he = ({
|
|
|
1391
1392
|
)
|
|
1392
1393
|
]
|
|
1393
1394
|
}
|
|
1394
|
-
),
|
|
1395
|
+
), Fe = ({
|
|
1395
1396
|
width: i = 9,
|
|
1396
1397
|
height: e = 5,
|
|
1397
1398
|
color: t = "#001E52",
|
|
@@ -1417,7 +1418,7 @@ const he = ({
|
|
|
1417
1418
|
}
|
|
1418
1419
|
)
|
|
1419
1420
|
}
|
|
1420
|
-
),
|
|
1421
|
+
), Ye = ({
|
|
1421
1422
|
width: i = 20,
|
|
1422
1423
|
height: e = 20,
|
|
1423
1424
|
color: t = "#F2F2F7",
|
|
@@ -1446,7 +1447,7 @@ const he = ({
|
|
|
1446
1447
|
)
|
|
1447
1448
|
]
|
|
1448
1449
|
}
|
|
1449
|
-
),
|
|
1450
|
+
), Ue = ({
|
|
1450
1451
|
width: i = 20,
|
|
1451
1452
|
height: e = 20,
|
|
1452
1453
|
color: t = "#004ED7",
|
|
@@ -1475,7 +1476,7 @@ const he = ({
|
|
|
1475
1476
|
)
|
|
1476
1477
|
]
|
|
1477
1478
|
}
|
|
1478
|
-
),
|
|
1479
|
+
), ze = ({
|
|
1479
1480
|
width: i = 248,
|
|
1480
1481
|
height: e = 248,
|
|
1481
1482
|
color: t = "#070739",
|
|
@@ -1512,7 +1513,7 @@ const he = ({
|
|
|
1512
1513
|
)
|
|
1513
1514
|
]
|
|
1514
1515
|
}
|
|
1515
|
-
),
|
|
1516
|
+
), Je = ({
|
|
1516
1517
|
width: i = 24,
|
|
1517
1518
|
height: e = 24,
|
|
1518
1519
|
color: t = "#001E52",
|
|
@@ -1551,7 +1552,7 @@ const he = ({
|
|
|
1551
1552
|
)
|
|
1552
1553
|
]
|
|
1553
1554
|
}
|
|
1554
|
-
),
|
|
1555
|
+
), Qe = ({
|
|
1555
1556
|
width: i = 10,
|
|
1556
1557
|
height: e = 10,
|
|
1557
1558
|
color: t = "#001E52",
|
|
@@ -1580,7 +1581,7 @@ const he = ({
|
|
|
1580
1581
|
)
|
|
1581
1582
|
]
|
|
1582
1583
|
}
|
|
1583
|
-
),
|
|
1584
|
+
), qe = ({
|
|
1584
1585
|
width: i = 10,
|
|
1585
1586
|
height: e = 10,
|
|
1586
1587
|
color: t = "#001E52",
|
|
@@ -1617,7 +1618,7 @@ const he = ({
|
|
|
1617
1618
|
)
|
|
1618
1619
|
]
|
|
1619
1620
|
}
|
|
1620
|
-
),
|
|
1621
|
+
), Xe = ({
|
|
1621
1622
|
width: i = 24,
|
|
1622
1623
|
height: e = 24,
|
|
1623
1624
|
color: t = L.GREY_DARK_5,
|
|
@@ -1656,7 +1657,7 @@ const he = ({
|
|
|
1656
1657
|
)
|
|
1657
1658
|
]
|
|
1658
1659
|
}
|
|
1659
|
-
),
|
|
1660
|
+
), et = ({
|
|
1660
1661
|
width: i = 20,
|
|
1661
1662
|
height: e = 20,
|
|
1662
1663
|
color: t = L.GREY_DARK_1,
|
|
@@ -1689,7 +1690,7 @@ const he = ({
|
|
|
1689
1690
|
)
|
|
1690
1691
|
]
|
|
1691
1692
|
}
|
|
1692
|
-
),
|
|
1693
|
+
), tt = ({
|
|
1693
1694
|
width: i = 81,
|
|
1694
1695
|
height: e = 80,
|
|
1695
1696
|
color: t = L.GREY_DARK_5,
|
|
@@ -1738,7 +1739,7 @@ const he = ({
|
|
|
1738
1739
|
)
|
|
1739
1740
|
]
|
|
1740
1741
|
}
|
|
1741
|
-
),
|
|
1742
|
+
), it = ({
|
|
1742
1743
|
className: i,
|
|
1743
1744
|
color: e = L.GREY_DARK_5,
|
|
1744
1745
|
height: t = 20,
|
|
@@ -1765,7 +1766,7 @@ const he = ({
|
|
|
1765
1766
|
}
|
|
1766
1767
|
)
|
|
1767
1768
|
}
|
|
1768
|
-
),
|
|
1769
|
+
), st = ({
|
|
1769
1770
|
className: i,
|
|
1770
1771
|
color: e = L.GREY_DARK_5,
|
|
1771
1772
|
height: t = 20,
|
|
@@ -1792,7 +1793,7 @@ const he = ({
|
|
|
1792
1793
|
}
|
|
1793
1794
|
)
|
|
1794
1795
|
}
|
|
1795
|
-
),
|
|
1796
|
+
), nt = ({
|
|
1796
1797
|
className: i,
|
|
1797
1798
|
color: e = L.GREY_DARK_5,
|
|
1798
1799
|
height: t = 5,
|
|
@@ -1816,7 +1817,7 @@ const he = ({
|
|
|
1816
1817
|
}
|
|
1817
1818
|
)
|
|
1818
1819
|
}
|
|
1819
|
-
),
|
|
1820
|
+
), rt = ({
|
|
1820
1821
|
className: i,
|
|
1821
1822
|
color: e = L.GREY_DARK_5,
|
|
1822
1823
|
height: t = 5,
|
|
@@ -1841,7 +1842,7 @@ const he = ({
|
|
|
1841
1842
|
}
|
|
1842
1843
|
)
|
|
1843
1844
|
}
|
|
1844
|
-
),
|
|
1845
|
+
), ot = ({
|
|
1845
1846
|
className: i,
|
|
1846
1847
|
color: e = L.GREY_DARK_5,
|
|
1847
1848
|
height: t = 24,
|
|
@@ -1880,7 +1881,7 @@ const he = ({
|
|
|
1880
1881
|
)
|
|
1881
1882
|
]
|
|
1882
1883
|
}
|
|
1883
|
-
),
|
|
1884
|
+
), lt = ({
|
|
1884
1885
|
className: i,
|
|
1885
1886
|
color: e = L.GREY_DARK_5,
|
|
1886
1887
|
height: t = 24,
|
|
@@ -1919,7 +1920,7 @@ const he = ({
|
|
|
1919
1920
|
)
|
|
1920
1921
|
]
|
|
1921
1922
|
}
|
|
1922
|
-
),
|
|
1923
|
+
), at = ({
|
|
1923
1924
|
className: i,
|
|
1924
1925
|
color: e = L.GREY_DARK_5,
|
|
1925
1926
|
height: t = 24,
|
|
@@ -1946,7 +1947,7 @@ const he = ({
|
|
|
1946
1947
|
}
|
|
1947
1948
|
)
|
|
1948
1949
|
}
|
|
1949
|
-
),
|
|
1950
|
+
), ht = ({
|
|
1950
1951
|
className: i,
|
|
1951
1952
|
color: e = L.GREY_DARK_5,
|
|
1952
1953
|
height: t = 24,
|
|
@@ -2005,7 +2006,7 @@ const he = ({
|
|
|
2005
2006
|
)
|
|
2006
2007
|
]
|
|
2007
2008
|
}
|
|
2008
|
-
),
|
|
2009
|
+
), ct = ({
|
|
2009
2010
|
className: i,
|
|
2010
2011
|
color: e = L.GREY_DARK_5,
|
|
2011
2012
|
height: t = 24,
|
|
@@ -2042,7 +2043,7 @@ const he = ({
|
|
|
2042
2043
|
)
|
|
2043
2044
|
]
|
|
2044
2045
|
}
|
|
2045
|
-
),
|
|
2046
|
+
), dt = ({
|
|
2046
2047
|
className: i,
|
|
2047
2048
|
color: e = L.GREY_DARK_3,
|
|
2048
2049
|
height: t = 14,
|
|
@@ -2079,7 +2080,7 @@ const he = ({
|
|
|
2079
2080
|
)
|
|
2080
2081
|
]
|
|
2081
2082
|
}
|
|
2082
|
-
),
|
|
2083
|
+
), gt = ({
|
|
2083
2084
|
className: i,
|
|
2084
2085
|
color: e = L.GREY_DARK_5,
|
|
2085
2086
|
height: t = 18,
|
|
@@ -2106,7 +2107,7 @@ const he = ({
|
|
|
2106
2107
|
}
|
|
2107
2108
|
)
|
|
2108
2109
|
}
|
|
2109
|
-
),
|
|
2110
|
+
), ut = ({
|
|
2110
2111
|
className: i,
|
|
2111
2112
|
color: e = L.GREY_DARK_5,
|
|
2112
2113
|
height: t = 24,
|
|
@@ -2158,7 +2159,7 @@ const he = ({
|
|
|
2158
2159
|
)
|
|
2159
2160
|
]
|
|
2160
2161
|
}
|
|
2161
|
-
),
|
|
2162
|
+
), Ct = ({
|
|
2162
2163
|
className: i,
|
|
2163
2164
|
color: e = L.GREY_DARK_5,
|
|
2164
2165
|
height: t = 24,
|
|
@@ -2195,7 +2196,7 @@ const he = ({
|
|
|
2195
2196
|
)
|
|
2196
2197
|
]
|
|
2197
2198
|
}
|
|
2198
|
-
),
|
|
2199
|
+
), pt = ({
|
|
2199
2200
|
className: i,
|
|
2200
2201
|
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
2201
2202
|
height: t = 37,
|
|
@@ -2234,7 +2235,7 @@ const he = ({
|
|
|
2234
2235
|
)
|
|
2235
2236
|
]
|
|
2236
2237
|
}
|
|
2237
|
-
),
|
|
2238
|
+
), ft = ({
|
|
2238
2239
|
className: i,
|
|
2239
2240
|
color: e = L.GREY_DARK_5,
|
|
2240
2241
|
height: t = 24,
|
|
@@ -2260,7 +2261,7 @@ const he = ({
|
|
|
2260
2261
|
}
|
|
2261
2262
|
)
|
|
2262
2263
|
}
|
|
2263
|
-
),
|
|
2264
|
+
), wt = ({
|
|
2264
2265
|
className: i,
|
|
2265
2266
|
color: e = L.GREY_DARK_5,
|
|
2266
2267
|
height: t = 24,
|
|
@@ -2299,7 +2300,7 @@ const he = ({
|
|
|
2299
2300
|
)
|
|
2300
2301
|
]
|
|
2301
2302
|
}
|
|
2302
|
-
),
|
|
2303
|
+
), mt = ({
|
|
2303
2304
|
className: i,
|
|
2304
2305
|
color: e = L.GREY_DARK_5,
|
|
2305
2306
|
height: t = 24,
|
|
@@ -2338,7 +2339,7 @@ const he = ({
|
|
|
2338
2339
|
)
|
|
2339
2340
|
]
|
|
2340
2341
|
}
|
|
2341
|
-
),
|
|
2342
|
+
), kt = ({
|
|
2342
2343
|
className: i,
|
|
2343
2344
|
color: e = L.GREY_DARK_5,
|
|
2344
2345
|
height: t = 24,
|
|
@@ -2407,7 +2408,7 @@ const he = ({
|
|
|
2407
2408
|
)
|
|
2408
2409
|
]
|
|
2409
2410
|
}
|
|
2410
|
-
),
|
|
2411
|
+
), Lt = ({
|
|
2411
2412
|
className: i,
|
|
2412
2413
|
color: e = L.GREY_DARK_5,
|
|
2413
2414
|
height: t = 24,
|
|
@@ -2446,7 +2447,7 @@ const he = ({
|
|
|
2446
2447
|
)
|
|
2447
2448
|
]
|
|
2448
2449
|
}
|
|
2449
|
-
),
|
|
2450
|
+
), vt = ({
|
|
2450
2451
|
className: i,
|
|
2451
2452
|
color: e = L.GREY_DARK_5,
|
|
2452
2453
|
height: t = 24,
|
|
@@ -2503,7 +2504,7 @@ const he = ({
|
|
|
2503
2504
|
)
|
|
2504
2505
|
]
|
|
2505
2506
|
}
|
|
2506
|
-
),
|
|
2507
|
+
), Nt = ({
|
|
2507
2508
|
className: i,
|
|
2508
2509
|
color: e = L.GREY_DARK_5,
|
|
2509
2510
|
height: t = 24,
|
|
@@ -2542,7 +2543,7 @@ const he = ({
|
|
|
2542
2543
|
)
|
|
2543
2544
|
]
|
|
2544
2545
|
}
|
|
2545
|
-
),
|
|
2546
|
+
), xt = ({
|
|
2546
2547
|
className: i,
|
|
2547
2548
|
color: e = L.GREY_DARK_5,
|
|
2548
2549
|
height: t = 24,
|
|
@@ -2591,7 +2592,7 @@ const he = ({
|
|
|
2591
2592
|
)
|
|
2592
2593
|
]
|
|
2593
2594
|
}
|
|
2594
|
-
),
|
|
2595
|
+
), Rt = ({
|
|
2595
2596
|
className: i,
|
|
2596
2597
|
color: e = L.GREY_DARK_5,
|
|
2597
2598
|
height: t = 24,
|
|
@@ -2630,7 +2631,7 @@ const he = ({
|
|
|
2630
2631
|
)
|
|
2631
2632
|
]
|
|
2632
2633
|
}
|
|
2633
|
-
),
|
|
2634
|
+
), Mt = ({
|
|
2634
2635
|
className: i,
|
|
2635
2636
|
color: e = L.GREY_DARK_5,
|
|
2636
2637
|
height: t = 24,
|
|
@@ -2657,7 +2658,7 @@ const he = ({
|
|
|
2657
2658
|
}
|
|
2658
2659
|
)
|
|
2659
2660
|
}
|
|
2660
|
-
),
|
|
2661
|
+
), yt = ({
|
|
2661
2662
|
className: i,
|
|
2662
2663
|
color: e = L.GREY_DARK_5,
|
|
2663
2664
|
height: t = 24,
|
|
@@ -2695,7 +2696,7 @@ const he = ({
|
|
|
2695
2696
|
)
|
|
2696
2697
|
]
|
|
2697
2698
|
}
|
|
2698
|
-
),
|
|
2699
|
+
), bt = ({
|
|
2699
2700
|
className: i,
|
|
2700
2701
|
color: e = L.GREY_DARK_5,
|
|
2701
2702
|
height: t = 24,
|
|
@@ -2716,7 +2717,7 @@ const he = ({
|
|
|
2716
2717
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
2717
2718
|
]
|
|
2718
2719
|
}
|
|
2719
|
-
),
|
|
2720
|
+
), Et = ({
|
|
2720
2721
|
className: i,
|
|
2721
2722
|
color: e = L.GREY_DARK_5,
|
|
2722
2723
|
height: t = 24,
|
|
@@ -2755,7 +2756,7 @@ const he = ({
|
|
|
2755
2756
|
)
|
|
2756
2757
|
]
|
|
2757
2758
|
}
|
|
2758
|
-
),
|
|
2759
|
+
), Vt = ({
|
|
2759
2760
|
className: i,
|
|
2760
2761
|
color: e = L.GREY_DARK_5,
|
|
2761
2762
|
height: t = 24,
|
|
@@ -2794,7 +2795,7 @@ const he = ({
|
|
|
2794
2795
|
)
|
|
2795
2796
|
]
|
|
2796
2797
|
}
|
|
2797
|
-
),
|
|
2798
|
+
), _t = ({
|
|
2798
2799
|
className: i,
|
|
2799
2800
|
color: e = L.GREY_DARK_5,
|
|
2800
2801
|
height: t = 24,
|
|
@@ -2833,7 +2834,7 @@ const he = ({
|
|
|
2833
2834
|
)
|
|
2834
2835
|
]
|
|
2835
2836
|
}
|
|
2836
|
-
),
|
|
2837
|
+
), Ht = ({
|
|
2837
2838
|
className: i,
|
|
2838
2839
|
color: e = L.GREY_DARK_2,
|
|
2839
2840
|
height: t = 16,
|
|
@@ -2859,7 +2860,7 @@ const he = ({
|
|
|
2859
2860
|
}
|
|
2860
2861
|
)
|
|
2861
2862
|
}
|
|
2862
|
-
),
|
|
2863
|
+
), It = ({
|
|
2863
2864
|
className: i,
|
|
2864
2865
|
color: e = L.GREY_DARK_5,
|
|
2865
2866
|
height: t = 20,
|
|
@@ -2888,7 +2889,7 @@ const he = ({
|
|
|
2888
2889
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2889
2890
|
]
|
|
2890
2891
|
}
|
|
2891
|
-
),
|
|
2892
|
+
), St = ({
|
|
2892
2893
|
className: i,
|
|
2893
2894
|
color: e = L.GREY_DARK_5,
|
|
2894
2895
|
height: t = 20,
|
|
@@ -2917,7 +2918,7 @@ const he = ({
|
|
|
2917
2918
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
2918
2919
|
]
|
|
2919
2920
|
}
|
|
2920
|
-
),
|
|
2921
|
+
), Ot = ({
|
|
2921
2922
|
className: i,
|
|
2922
2923
|
color: e = L.GREY_DARK_5,
|
|
2923
2924
|
height: t = 20,
|
|
@@ -2946,7 +2947,7 @@ const he = ({
|
|
|
2946
2947
|
)
|
|
2947
2948
|
]
|
|
2948
2949
|
}
|
|
2949
|
-
),
|
|
2950
|
+
), At = ({
|
|
2950
2951
|
className: i,
|
|
2951
2952
|
color: e = L.GREY_DARK_5,
|
|
2952
2953
|
height: t = 20,
|
|
@@ -2975,7 +2976,7 @@ const he = ({
|
|
|
2975
2976
|
)
|
|
2976
2977
|
]
|
|
2977
2978
|
}
|
|
2978
|
-
),
|
|
2979
|
+
), Bt = ({
|
|
2979
2980
|
className: i,
|
|
2980
2981
|
color: e = "#001E52",
|
|
2981
2982
|
height: t = 24,
|
|
@@ -3001,7 +3002,7 @@ const he = ({
|
|
|
3001
3002
|
}
|
|
3002
3003
|
)
|
|
3003
3004
|
}
|
|
3004
|
-
),
|
|
3005
|
+
), Wt = ({
|
|
3005
3006
|
className: i,
|
|
3006
3007
|
color: e = "#131314",
|
|
3007
3008
|
height: t = 20,
|
|
@@ -3029,7 +3030,7 @@ const he = ({
|
|
|
3029
3030
|
}
|
|
3030
3031
|
)
|
|
3031
3032
|
}
|
|
3032
|
-
),
|
|
3033
|
+
), jt = ({
|
|
3033
3034
|
className: i,
|
|
3034
3035
|
color: e = "#001E52",
|
|
3035
3036
|
height: t = 24,
|
|
@@ -3067,7 +3068,7 @@ const he = ({
|
|
|
3067
3068
|
)
|
|
3068
3069
|
] }) })
|
|
3069
3070
|
}
|
|
3070
|
-
),
|
|
3071
|
+
), l1 = ({
|
|
3071
3072
|
name: i,
|
|
3072
3073
|
width: e,
|
|
3073
3074
|
height: t,
|
|
@@ -3076,7 +3077,7 @@ const he = ({
|
|
|
3076
3077
|
disabled: l = !1,
|
|
3077
3078
|
onClick: c
|
|
3078
3079
|
}) => {
|
|
3079
|
-
const [o, d] = I(n), { theme: g } =
|
|
3080
|
+
const [o, d] = I(n), { theme: g } = o1(P1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
3080
3081
|
return Z(() => {
|
|
3081
3082
|
if (n) {
|
|
3082
3083
|
h && !l && d(`${n} clickable`);
|
|
@@ -3086,39 +3087,39 @@ const he = ({
|
|
|
3086
3087
|
}, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
|
|
3087
3088
|
switch (i) {
|
|
3088
3089
|
case "nextIcon":
|
|
3089
|
-
return tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3090
|
-
case "prevIcon":
|
|
3091
3090
|
return it({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3091
|
+
case "prevIcon":
|
|
3092
|
+
return st({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3092
3093
|
case "arrowUp":
|
|
3093
|
-
return he({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3094
|
-
case "arrowDown":
|
|
3095
3094
|
return ce({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3096
|
-
case "
|
|
3095
|
+
case "arrowDown":
|
|
3097
3096
|
return de({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3098
|
-
case "
|
|
3097
|
+
case "info":
|
|
3099
3098
|
return ge({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3100
|
-
case "
|
|
3099
|
+
case "arrowRight":
|
|
3101
3100
|
return ue({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3102
|
-
case "
|
|
3101
|
+
case "calendar":
|
|
3103
3102
|
return Ce({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3104
|
-
case "
|
|
3103
|
+
case "ok":
|
|
3105
3104
|
return pe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3106
|
-
case "
|
|
3105
|
+
case "cancel":
|
|
3107
3106
|
return fe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3108
|
-
case "
|
|
3107
|
+
case "add":
|
|
3109
3108
|
return we({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3110
|
-
case "
|
|
3109
|
+
case "list":
|
|
3111
3110
|
return me({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3112
|
-
case "
|
|
3111
|
+
case "dragAndDrop":
|
|
3113
3112
|
return ke({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3114
|
-
case "
|
|
3113
|
+
case "filter":
|
|
3115
3114
|
return Le({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3116
|
-
case "
|
|
3115
|
+
case "attention":
|
|
3117
3116
|
return ve({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3118
|
-
case "
|
|
3117
|
+
case "plus":
|
|
3119
3118
|
return Ne({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3119
|
+
case "time":
|
|
3120
|
+
return xe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3120
3121
|
case "arrowDownLong":
|
|
3121
|
-
return
|
|
3122
|
+
return Re({
|
|
3122
3123
|
width: e,
|
|
3123
3124
|
height: t,
|
|
3124
3125
|
color: a,
|
|
@@ -3126,9 +3127,9 @@ const he = ({
|
|
|
3126
3127
|
onClick: h
|
|
3127
3128
|
});
|
|
3128
3129
|
case "users":
|
|
3129
|
-
return
|
|
3130
|
+
return Me({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3130
3131
|
case "mySkillsMatrix":
|
|
3131
|
-
return
|
|
3132
|
+
return ye({
|
|
3132
3133
|
width: e,
|
|
3133
3134
|
height: t,
|
|
3134
3135
|
color: a,
|
|
@@ -3136,9 +3137,9 @@ const he = ({
|
|
|
3136
3137
|
onClick: h
|
|
3137
3138
|
});
|
|
3138
3139
|
case "skills":
|
|
3139
|
-
return
|
|
3140
|
+
return be({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3140
3141
|
case "skillsMatrices":
|
|
3141
|
-
return
|
|
3142
|
+
return Ee({
|
|
3142
3143
|
width: e,
|
|
3143
3144
|
height: t,
|
|
3144
3145
|
color: a,
|
|
@@ -3146,23 +3147,23 @@ const he = ({
|
|
|
3146
3147
|
onClick: h
|
|
3147
3148
|
});
|
|
3148
3149
|
case "history":
|
|
3149
|
-
return Ee({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3150
|
-
case "logOut":
|
|
3151
3150
|
return Ve({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3152
|
-
case "
|
|
3151
|
+
case "logOut":
|
|
3153
3152
|
return _e({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3154
|
-
case "
|
|
3153
|
+
case "settings":
|
|
3155
3154
|
return He({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3156
|
-
case "
|
|
3155
|
+
case "addSkill":
|
|
3157
3156
|
return Ie({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3158
|
-
case "
|
|
3157
|
+
case "conversation":
|
|
3159
3158
|
return Se({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3160
|
-
case "
|
|
3159
|
+
case "trash":
|
|
3161
3160
|
return Oe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3162
|
-
case "
|
|
3161
|
+
case "settings4":
|
|
3163
3162
|
return Ae({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3163
|
+
case "edit2":
|
|
3164
|
+
return Be({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3164
3165
|
case "notifications":
|
|
3165
|
-
return
|
|
3166
|
+
return We({
|
|
3166
3167
|
width: e,
|
|
3167
3168
|
height: t,
|
|
3168
3169
|
color: a,
|
|
@@ -3170,9 +3171,9 @@ const he = ({
|
|
|
3170
3171
|
onClick: h
|
|
3171
3172
|
});
|
|
3172
3173
|
case "success":
|
|
3173
|
-
return
|
|
3174
|
+
return je({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3174
3175
|
case "attentionSmall":
|
|
3175
|
-
return
|
|
3176
|
+
return Ze({
|
|
3176
3177
|
width: e,
|
|
3177
3178
|
height: t,
|
|
3178
3179
|
color: a,
|
|
@@ -3180,11 +3181,11 @@ const he = ({
|
|
|
3180
3181
|
onClick: h
|
|
3181
3182
|
});
|
|
3182
3183
|
case "errorSmall":
|
|
3183
|
-
return Ze({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3184
|
-
case "infoMedium":
|
|
3185
3184
|
return De({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3185
|
+
case "infoMedium":
|
|
3186
|
+
return Te({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3186
3187
|
case "attentionMedium":
|
|
3187
|
-
return
|
|
3188
|
+
return Ge({
|
|
3188
3189
|
width: e,
|
|
3189
3190
|
height: t,
|
|
3190
3191
|
color: a,
|
|
@@ -3192,9 +3193,9 @@ const he = ({
|
|
|
3192
3193
|
onClick: h
|
|
3193
3194
|
});
|
|
3194
3195
|
case "errorMedium":
|
|
3195
|
-
return
|
|
3196
|
+
return Ke({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3196
3197
|
case "faviconSkills":
|
|
3197
|
-
return
|
|
3198
|
+
return ze({
|
|
3198
3199
|
width: e,
|
|
3199
3200
|
height: t,
|
|
3200
3201
|
color: a,
|
|
@@ -3202,7 +3203,7 @@ const he = ({
|
|
|
3202
3203
|
onClick: h
|
|
3203
3204
|
});
|
|
3204
3205
|
case "visibilityIcon":
|
|
3205
|
-
return
|
|
3206
|
+
return Pe({
|
|
3206
3207
|
width: e,
|
|
3207
3208
|
height: t,
|
|
3208
3209
|
color: a,
|
|
@@ -3210,7 +3211,7 @@ const he = ({
|
|
|
3210
3211
|
onClick: h
|
|
3211
3212
|
});
|
|
3212
3213
|
case "visibilityOffIcon":
|
|
3213
|
-
return
|
|
3214
|
+
return $e({
|
|
3214
3215
|
width: e,
|
|
3215
3216
|
height: t,
|
|
3216
3217
|
color: a,
|
|
@@ -3218,7 +3219,7 @@ const he = ({
|
|
|
3218
3219
|
onClick: h
|
|
3219
3220
|
});
|
|
3220
3221
|
case "selectArrowIcon":
|
|
3221
|
-
return
|
|
3222
|
+
return Fe({
|
|
3222
3223
|
width: e,
|
|
3223
3224
|
height: t,
|
|
3224
3225
|
color: a,
|
|
@@ -3226,7 +3227,7 @@ const he = ({
|
|
|
3226
3227
|
onClick: h
|
|
3227
3228
|
});
|
|
3228
3229
|
case "expandArrowIcon":
|
|
3229
|
-
return
|
|
3230
|
+
return Ye({
|
|
3230
3231
|
width: e,
|
|
3231
3232
|
height: t,
|
|
3232
3233
|
color: a,
|
|
@@ -3234,7 +3235,7 @@ const he = ({
|
|
|
3234
3235
|
onClick: h
|
|
3235
3236
|
});
|
|
3236
3237
|
case "expandActiveArrowIcon":
|
|
3237
|
-
return
|
|
3238
|
+
return Ue({
|
|
3238
3239
|
width: e,
|
|
3239
3240
|
height: t,
|
|
3240
3241
|
color: a,
|
|
@@ -3242,97 +3243,97 @@ const he = ({
|
|
|
3242
3243
|
onClick: h
|
|
3243
3244
|
});
|
|
3244
3245
|
case "camera":
|
|
3245
|
-
return ze({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3246
|
-
case "sortUp":
|
|
3247
3246
|
return Je({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3248
|
-
case "
|
|
3247
|
+
case "sortUp":
|
|
3249
3248
|
return Qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3250
|
-
case "
|
|
3249
|
+
case "sortDown":
|
|
3251
3250
|
return qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3252
|
-
case "
|
|
3251
|
+
case "logOut2":
|
|
3253
3252
|
return Xe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3254
|
-
case "
|
|
3253
|
+
case "search":
|
|
3255
3254
|
return et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3255
|
+
case "handRock":
|
|
3256
|
+
return tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3256
3257
|
case "arrowUpFilled":
|
|
3257
|
-
return
|
|
3258
|
+
return rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3258
3259
|
case "arrowDownFilled":
|
|
3259
|
-
return
|
|
3260
|
+
return nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3260
3261
|
case "link":
|
|
3261
|
-
return
|
|
3262
|
+
return ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3262
3263
|
case "telegram":
|
|
3263
|
-
return
|
|
3264
|
+
return at({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3264
3265
|
case "mail":
|
|
3265
|
-
return
|
|
3266
|
+
return ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3266
3267
|
case "github":
|
|
3267
|
-
return
|
|
3268
|
+
return lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3268
3269
|
case "linkedIn":
|
|
3269
|
-
return
|
|
3270
|
+
return ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3270
3271
|
case "emptyStateIcon":
|
|
3271
|
-
return ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3272
|
-
case "filtersIcon":
|
|
3273
3272
|
return dt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3274
|
-
case "
|
|
3273
|
+
case "filtersIcon":
|
|
3275
3274
|
return gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3276
|
-
case "
|
|
3275
|
+
case "dotMenuIcon":
|
|
3277
3276
|
return ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3278
|
-
case "
|
|
3277
|
+
case "plusCircle":
|
|
3279
3278
|
return Ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3280
|
-
case "
|
|
3279
|
+
case "warning":
|
|
3281
3280
|
return pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3282
|
-
case "
|
|
3281
|
+
case "back":
|
|
3283
3282
|
return ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3283
|
+
case "bell":
|
|
3284
|
+
return wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3284
3285
|
case "contract":
|
|
3285
|
-
return
|
|
3286
|
+
return kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3286
3287
|
case "trash2":
|
|
3287
|
-
return
|
|
3288
|
+
return mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3288
3289
|
case "manager":
|
|
3289
|
-
return kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3290
|
-
case "resourceManager":
|
|
3291
3290
|
return Lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3292
|
-
case "
|
|
3291
|
+
case "resourceManager":
|
|
3293
3292
|
return vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3294
|
-
case "
|
|
3293
|
+
case "settings2":
|
|
3295
3294
|
return Nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3296
|
-
case "
|
|
3295
|
+
case "image":
|
|
3297
3296
|
return xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3298
|
-
case "
|
|
3297
|
+
case "upload":
|
|
3299
3298
|
return Rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3300
|
-
case "
|
|
3299
|
+
case "edit":
|
|
3301
3300
|
return Mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3302
|
-
case "
|
|
3301
|
+
case "location":
|
|
3303
3302
|
return yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3304
|
-
case "
|
|
3303
|
+
case "plus2":
|
|
3305
3304
|
return bt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3306
|
-
case "
|
|
3305
|
+
case "search2":
|
|
3307
3306
|
return Et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3308
|
-
case "
|
|
3307
|
+
case "fastArrowLeft":
|
|
3309
3308
|
return Vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3310
|
-
case "
|
|
3309
|
+
case "fastArrowRight":
|
|
3311
3310
|
return _t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3311
|
+
case "crossInCircle":
|
|
3312
|
+
return Ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3312
3313
|
case "arrowUp2":
|
|
3313
|
-
return
|
|
3314
|
+
return St({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3314
3315
|
case "arrowDown2":
|
|
3315
|
-
return
|
|
3316
|
+
return It({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3316
3317
|
case "filledArrowLeft":
|
|
3317
|
-
return St({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3318
|
-
case "filledArrowRight":
|
|
3319
3318
|
return Ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3320
|
-
case "
|
|
3319
|
+
case "filledArrowRight":
|
|
3321
3320
|
return At({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3322
|
-
case "
|
|
3321
|
+
case "burgerMenu":
|
|
3323
3322
|
return Bt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3324
|
-
case "
|
|
3323
|
+
case "signOut":
|
|
3325
3324
|
return Wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3325
|
+
case "refresh":
|
|
3326
|
+
return jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3326
3327
|
default:
|
|
3327
3328
|
return /* @__PURE__ */ r(q, { children: "No Icon provided" });
|
|
3328
3329
|
}
|
|
3329
3330
|
})() });
|
|
3330
|
-
}, { Title:
|
|
3331
|
+
}, { Title: Zt, Text: Dt } = T1, Tt = {
|
|
3331
3332
|
h1: 1,
|
|
3332
3333
|
h2: 2,
|
|
3333
3334
|
h3: 3,
|
|
3334
3335
|
h4: 4
|
|
3335
|
-
},
|
|
3336
|
+
}, Gt = r1(
|
|
3336
3337
|
({
|
|
3337
3338
|
align: i = "inherit",
|
|
3338
3339
|
variant: e = "body1",
|
|
@@ -3345,17 +3346,17 @@ const he = ({
|
|
|
3345
3346
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
3346
3347
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
3347
3348
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
3348
|
-
|
|
3349
|
+
Zt,
|
|
3349
3350
|
{
|
|
3350
3351
|
className: g,
|
|
3351
3352
|
style: { color: t, whiteSpace: c },
|
|
3352
3353
|
onClick: n,
|
|
3353
|
-
level:
|
|
3354
|
+
level: Tt[e],
|
|
3354
3355
|
ref: o,
|
|
3355
3356
|
children: s
|
|
3356
3357
|
}
|
|
3357
3358
|
) : /* @__PURE__ */ r(
|
|
3358
|
-
|
|
3359
|
+
Dt,
|
|
3359
3360
|
{
|
|
3360
3361
|
className: g,
|
|
3361
3362
|
style: { color: t, whiteSpace: c },
|
|
@@ -3367,12 +3368,12 @@ const he = ({
|
|
|
3367
3368
|
}
|
|
3368
3369
|
);
|
|
3369
3370
|
var v = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(v || {});
|
|
3370
|
-
const
|
|
3371
|
+
const $1 = n1({
|
|
3371
3372
|
locale: "en",
|
|
3372
3373
|
theme: "light"
|
|
3373
3374
|
});
|
|
3374
|
-
|
|
3375
|
-
const
|
|
3375
|
+
$1.Provider;
|
|
3376
|
+
const Kt = ({
|
|
3376
3377
|
width: i = 20,
|
|
3377
3378
|
height: e = 20,
|
|
3378
3379
|
color: t = "#001E52",
|
|
@@ -3399,7 +3400,7 @@ const Gt = ({
|
|
|
3399
3400
|
}
|
|
3400
3401
|
)
|
|
3401
3402
|
}
|
|
3402
|
-
),
|
|
3403
|
+
), Pt = ({
|
|
3403
3404
|
width: i = 20,
|
|
3404
3405
|
height: e = 20,
|
|
3405
3406
|
color: t = "#001E52",
|
|
@@ -3426,7 +3427,7 @@ const Gt = ({
|
|
|
3426
3427
|
}
|
|
3427
3428
|
)
|
|
3428
3429
|
}
|
|
3429
|
-
),
|
|
3430
|
+
), $t = ({
|
|
3430
3431
|
width: i = 16,
|
|
3431
3432
|
height: e = 16,
|
|
3432
3433
|
color: t = "#001E52",
|
|
@@ -3454,7 +3455,7 @@ const Gt = ({
|
|
|
3454
3455
|
)
|
|
3455
3456
|
]
|
|
3456
3457
|
}
|
|
3457
|
-
),
|
|
3458
|
+
), Ft = ({
|
|
3458
3459
|
width: i = 20,
|
|
3459
3460
|
height: e = 20,
|
|
3460
3461
|
color: t = "#001E52",
|
|
@@ -3489,7 +3490,7 @@ const Gt = ({
|
|
|
3489
3490
|
)
|
|
3490
3491
|
]
|
|
3491
3492
|
}
|
|
3492
|
-
),
|
|
3493
|
+
), Yt = ({
|
|
3493
3494
|
width: i = 18,
|
|
3494
3495
|
height: e = 18,
|
|
3495
3496
|
color: t = "#001E52",
|
|
@@ -3528,7 +3529,7 @@ const Gt = ({
|
|
|
3528
3529
|
)
|
|
3529
3530
|
]
|
|
3530
3531
|
}
|
|
3531
|
-
),
|
|
3532
|
+
), Ut = ({
|
|
3532
3533
|
width: i = 20,
|
|
3533
3534
|
height: e = 20,
|
|
3534
3535
|
color: t = "#001E52",
|
|
@@ -3554,7 +3555,7 @@ const Gt = ({
|
|
|
3554
3555
|
}
|
|
3555
3556
|
)
|
|
3556
3557
|
}
|
|
3557
|
-
),
|
|
3558
|
+
), zt = ({
|
|
3558
3559
|
width: i = 20,
|
|
3559
3560
|
height: e = 20,
|
|
3560
3561
|
color: t = "#001E52",
|
|
@@ -3575,7 +3576,7 @@ const Gt = ({
|
|
|
3575
3576
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
3576
3577
|
]
|
|
3577
3578
|
}
|
|
3578
|
-
),
|
|
3579
|
+
), Jt = ({
|
|
3579
3580
|
width: i = 20,
|
|
3580
3581
|
height: e = 20,
|
|
3581
3582
|
color: t = "#001E52",
|
|
@@ -3607,7 +3608,7 @@ const Gt = ({
|
|
|
3607
3608
|
)
|
|
3608
3609
|
]
|
|
3609
3610
|
}
|
|
3610
|
-
),
|
|
3611
|
+
), Qt = ({
|
|
3611
3612
|
width: i = 20,
|
|
3612
3613
|
height: e = 20,
|
|
3613
3614
|
color: t = "#001E52",
|
|
@@ -3661,7 +3662,7 @@ const Gt = ({
|
|
|
3661
3662
|
)
|
|
3662
3663
|
]
|
|
3663
3664
|
}
|
|
3664
|
-
),
|
|
3665
|
+
), qt = ({
|
|
3665
3666
|
width: i = 20,
|
|
3666
3667
|
height: e = 20,
|
|
3667
3668
|
color: t = "#001E52",
|
|
@@ -3700,7 +3701,7 @@ const Gt = ({
|
|
|
3700
3701
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
3701
3702
|
]
|
|
3702
3703
|
}
|
|
3703
|
-
),
|
|
3704
|
+
), Xt = ({
|
|
3704
3705
|
width: i = 16,
|
|
3705
3706
|
height: e = 12,
|
|
3706
3707
|
color: t = "#001E52",
|
|
@@ -3749,7 +3750,7 @@ const Gt = ({
|
|
|
3749
3750
|
)
|
|
3750
3751
|
] })
|
|
3751
3752
|
}
|
|
3752
|
-
),
|
|
3753
|
+
), e2 = ({
|
|
3753
3754
|
width: i = 16,
|
|
3754
3755
|
height: e = 16,
|
|
3755
3756
|
color: t = "#001E52",
|
|
@@ -3783,7 +3784,7 @@ const Gt = ({
|
|
|
3783
3784
|
)
|
|
3784
3785
|
]
|
|
3785
3786
|
}
|
|
3786
|
-
),
|
|
3787
|
+
), t2 = ({
|
|
3787
3788
|
width: i = 10,
|
|
3788
3789
|
height: e = 10,
|
|
3789
3790
|
color: t = "#001E52",
|
|
@@ -3822,7 +3823,7 @@ const Gt = ({
|
|
|
3822
3823
|
)
|
|
3823
3824
|
] })
|
|
3824
3825
|
}
|
|
3825
|
-
),
|
|
3826
|
+
), i2 = ({
|
|
3826
3827
|
width: i = 16,
|
|
3827
3828
|
height: e = 16,
|
|
3828
3829
|
color: t = "#001E52",
|
|
@@ -3858,7 +3859,7 @@ const Gt = ({
|
|
|
3858
3859
|
)
|
|
3859
3860
|
]
|
|
3860
3861
|
}
|
|
3861
|
-
),
|
|
3862
|
+
), s2 = ({
|
|
3862
3863
|
width: i = 11,
|
|
3863
3864
|
height: e = 32,
|
|
3864
3865
|
color: t = "#001E52",
|
|
@@ -3896,7 +3897,7 @@ const Gt = ({
|
|
|
3896
3897
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
3897
3898
|
]
|
|
3898
3899
|
}
|
|
3899
|
-
),
|
|
3900
|
+
), n2 = ({
|
|
3900
3901
|
width: i = 20,
|
|
3901
3902
|
height: e = 20,
|
|
3902
3903
|
color: t = "#001E52",
|
|
@@ -3943,7 +3944,7 @@ const Gt = ({
|
|
|
3943
3944
|
)
|
|
3944
3945
|
]
|
|
3945
3946
|
}
|
|
3946
|
-
),
|
|
3947
|
+
), r2 = ({
|
|
3947
3948
|
width: i = 20,
|
|
3948
3949
|
height: e = 20,
|
|
3949
3950
|
color: t = "#001E52",
|
|
@@ -3976,7 +3977,7 @@ const Gt = ({
|
|
|
3976
3977
|
)
|
|
3977
3978
|
]
|
|
3978
3979
|
}
|
|
3979
|
-
),
|
|
3980
|
+
), o2 = ({
|
|
3980
3981
|
width: i = 20,
|
|
3981
3982
|
height: e = 20,
|
|
3982
3983
|
color: t = "#001E52",
|
|
@@ -4023,7 +4024,7 @@ const Gt = ({
|
|
|
4023
4024
|
)
|
|
4024
4025
|
]
|
|
4025
4026
|
}
|
|
4026
|
-
),
|
|
4027
|
+
), l2 = ({
|
|
4027
4028
|
width: i = 20,
|
|
4028
4029
|
height: e = 20,
|
|
4029
4030
|
color: t = "#001E52",
|
|
@@ -4056,7 +4057,7 @@ const Gt = ({
|
|
|
4056
4057
|
)
|
|
4057
4058
|
]
|
|
4058
4059
|
}
|
|
4059
|
-
),
|
|
4060
|
+
), a2 = ({
|
|
4060
4061
|
width: i = 18,
|
|
4061
4062
|
height: e = 16,
|
|
4062
4063
|
color: t = "#001E52",
|
|
@@ -4095,7 +4096,7 @@ const Gt = ({
|
|
|
4095
4096
|
)
|
|
4096
4097
|
]
|
|
4097
4098
|
}
|
|
4098
|
-
),
|
|
4099
|
+
), h2 = ({
|
|
4099
4100
|
width: i = 20,
|
|
4100
4101
|
height: e = 20,
|
|
4101
4102
|
color: t = "#001E52",
|
|
@@ -4128,7 +4129,7 @@ const Gt = ({
|
|
|
4128
4129
|
)
|
|
4129
4130
|
]
|
|
4130
4131
|
}
|
|
4131
|
-
),
|
|
4132
|
+
), c2 = ({
|
|
4132
4133
|
width: i = 20,
|
|
4133
4134
|
height: e = 20,
|
|
4134
4135
|
color: t = "#001E52",
|
|
@@ -4152,7 +4153,7 @@ const Gt = ({
|
|
|
4152
4153
|
}
|
|
4153
4154
|
)
|
|
4154
4155
|
}
|
|
4155
|
-
),
|
|
4156
|
+
), d2 = ({
|
|
4156
4157
|
width: i = 20,
|
|
4157
4158
|
height: e = 20,
|
|
4158
4159
|
color: t = "#001E52",
|
|
@@ -4199,7 +4200,7 @@ const Gt = ({
|
|
|
4199
4200
|
)
|
|
4200
4201
|
]
|
|
4201
4202
|
}
|
|
4202
|
-
),
|
|
4203
|
+
), g2 = ({
|
|
4203
4204
|
width: i = 20,
|
|
4204
4205
|
height: e = 20,
|
|
4205
4206
|
color: t = "#001E52",
|
|
@@ -4232,7 +4233,7 @@ const Gt = ({
|
|
|
4232
4233
|
)
|
|
4233
4234
|
]
|
|
4234
4235
|
}
|
|
4235
|
-
),
|
|
4236
|
+
), u2 = ({
|
|
4236
4237
|
width: i = 20,
|
|
4237
4238
|
height: e = 20,
|
|
4238
4239
|
color: t = "#001E52",
|
|
@@ -4265,7 +4266,7 @@ const Gt = ({
|
|
|
4265
4266
|
)
|
|
4266
4267
|
]
|
|
4267
4268
|
}
|
|
4268
|
-
),
|
|
4269
|
+
), C2 = ({
|
|
4269
4270
|
width: i = 20,
|
|
4270
4271
|
height: e = 23,
|
|
4271
4272
|
color: t = "#001E52",
|
|
@@ -4326,7 +4327,7 @@ const Gt = ({
|
|
|
4326
4327
|
)
|
|
4327
4328
|
]
|
|
4328
4329
|
}
|
|
4329
|
-
),
|
|
4330
|
+
), p2 = ({
|
|
4330
4331
|
width: i = 20,
|
|
4331
4332
|
height: e = 20,
|
|
4332
4333
|
color: t = "#001E52",
|
|
@@ -4366,7 +4367,7 @@ const Gt = ({
|
|
|
4366
4367
|
)
|
|
4367
4368
|
]
|
|
4368
4369
|
}
|
|
4369
|
-
),
|
|
4370
|
+
), f2 = ({
|
|
4370
4371
|
width: i = 32,
|
|
4371
4372
|
height: e = 25,
|
|
4372
4373
|
color: t = "#001E52",
|
|
@@ -4394,7 +4395,7 @@ const Gt = ({
|
|
|
4394
4395
|
)
|
|
4395
4396
|
]
|
|
4396
4397
|
}
|
|
4397
|
-
),
|
|
4398
|
+
), w2 = ({
|
|
4398
4399
|
width: i = 14,
|
|
4399
4400
|
height: e = 14,
|
|
4400
4401
|
color: t = "#10B981",
|
|
@@ -4423,7 +4424,7 @@ const Gt = ({
|
|
|
4423
4424
|
)
|
|
4424
4425
|
]
|
|
4425
4426
|
}
|
|
4426
|
-
),
|
|
4427
|
+
), m2 = ({
|
|
4427
4428
|
width: i = 11,
|
|
4428
4429
|
height: e = 11,
|
|
4429
4430
|
color: t = "#FFB020",
|
|
@@ -4457,7 +4458,7 @@ const Gt = ({
|
|
|
4457
4458
|
)
|
|
4458
4459
|
]
|
|
4459
4460
|
}
|
|
4460
|
-
),
|
|
4461
|
+
), k2 = ({
|
|
4461
4462
|
width: i = 10,
|
|
4462
4463
|
height: e = 10,
|
|
4463
4464
|
color: t = "#88A4FF",
|
|
@@ -4505,7 +4506,7 @@ const Gt = ({
|
|
|
4505
4506
|
)
|
|
4506
4507
|
]
|
|
4507
4508
|
}
|
|
4508
|
-
),
|
|
4509
|
+
), L2 = ({
|
|
4509
4510
|
width: i = 14,
|
|
4510
4511
|
height: e = 14,
|
|
4511
4512
|
color: t = "#8E8E93",
|
|
@@ -4533,7 +4534,7 @@ const Gt = ({
|
|
|
4533
4534
|
)
|
|
4534
4535
|
]
|
|
4535
4536
|
}
|
|
4536
|
-
),
|
|
4537
|
+
), v2 = ({
|
|
4537
4538
|
width: i = 14,
|
|
4538
4539
|
height: e = 14,
|
|
4539
4540
|
color: t = "#FFB020",
|
|
@@ -4567,7 +4568,7 @@ const Gt = ({
|
|
|
4567
4568
|
)
|
|
4568
4569
|
]
|
|
4569
4570
|
}
|
|
4570
|
-
),
|
|
4571
|
+
), N2 = ({
|
|
4571
4572
|
width: i = 14,
|
|
4572
4573
|
height: e = 14,
|
|
4573
4574
|
color: t = "#D0421B",
|
|
@@ -4615,7 +4616,7 @@ const Gt = ({
|
|
|
4615
4616
|
)
|
|
4616
4617
|
]
|
|
4617
4618
|
}
|
|
4618
|
-
),
|
|
4619
|
+
), x2 = ({
|
|
4619
4620
|
width: i = 20,
|
|
4620
4621
|
height: e = 20,
|
|
4621
4622
|
color: t = "#070739",
|
|
@@ -4645,7 +4646,7 @@ const Gt = ({
|
|
|
4645
4646
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
4646
4647
|
]
|
|
4647
4648
|
}
|
|
4648
|
-
),
|
|
4649
|
+
), R2 = ({
|
|
4649
4650
|
width: i = 20,
|
|
4650
4651
|
height: e = 20,
|
|
4651
4652
|
color: t = "#070739",
|
|
@@ -4683,7 +4684,7 @@ const Gt = ({
|
|
|
4683
4684
|
)
|
|
4684
4685
|
]
|
|
4685
4686
|
}
|
|
4686
|
-
),
|
|
4687
|
+
), M2 = ({
|
|
4687
4688
|
width: i = 9,
|
|
4688
4689
|
height: e = 5,
|
|
4689
4690
|
color: t = "#001E52",
|
|
@@ -4709,7 +4710,7 @@ const Gt = ({
|
|
|
4709
4710
|
}
|
|
4710
4711
|
)
|
|
4711
4712
|
}
|
|
4712
|
-
),
|
|
4713
|
+
), y2 = ({
|
|
4713
4714
|
width: i = 20,
|
|
4714
4715
|
height: e = 20,
|
|
4715
4716
|
color: t = "#F2F2F7",
|
|
@@ -4738,7 +4739,7 @@ const Gt = ({
|
|
|
4738
4739
|
)
|
|
4739
4740
|
]
|
|
4740
4741
|
}
|
|
4741
|
-
),
|
|
4742
|
+
), b2 = ({
|
|
4742
4743
|
width: i = 20,
|
|
4743
4744
|
height: e = 20,
|
|
4744
4745
|
color: t = "#004ED7",
|
|
@@ -4767,7 +4768,7 @@ const Gt = ({
|
|
|
4767
4768
|
)
|
|
4768
4769
|
]
|
|
4769
4770
|
}
|
|
4770
|
-
),
|
|
4771
|
+
), E2 = ({
|
|
4771
4772
|
width: i = 248,
|
|
4772
4773
|
height: e = 248,
|
|
4773
4774
|
color: t = "#070739",
|
|
@@ -4804,7 +4805,7 @@ const Gt = ({
|
|
|
4804
4805
|
)
|
|
4805
4806
|
]
|
|
4806
4807
|
}
|
|
4807
|
-
),
|
|
4808
|
+
), V2 = ({
|
|
4808
4809
|
width: i = 24,
|
|
4809
4810
|
height: e = 24,
|
|
4810
4811
|
color: t = "#001E52",
|
|
@@ -4843,7 +4844,7 @@ const Gt = ({
|
|
|
4843
4844
|
)
|
|
4844
4845
|
]
|
|
4845
4846
|
}
|
|
4846
|
-
),
|
|
4847
|
+
), _2 = ({
|
|
4847
4848
|
width: i = 10,
|
|
4848
4849
|
height: e = 10,
|
|
4849
4850
|
color: t = "#001E52",
|
|
@@ -4872,7 +4873,7 @@ const Gt = ({
|
|
|
4872
4873
|
)
|
|
4873
4874
|
]
|
|
4874
4875
|
}
|
|
4875
|
-
),
|
|
4876
|
+
), H2 = ({
|
|
4876
4877
|
width: i = 10,
|
|
4877
4878
|
height: e = 10,
|
|
4878
4879
|
color: t = "#001E52",
|
|
@@ -4909,7 +4910,7 @@ const Gt = ({
|
|
|
4909
4910
|
)
|
|
4910
4911
|
]
|
|
4911
4912
|
}
|
|
4912
|
-
),
|
|
4913
|
+
), I2 = ({
|
|
4913
4914
|
width: i = 24,
|
|
4914
4915
|
height: e = 24,
|
|
4915
4916
|
color: t = v.GREY_DARK_5,
|
|
@@ -4948,7 +4949,7 @@ const Gt = ({
|
|
|
4948
4949
|
)
|
|
4949
4950
|
]
|
|
4950
4951
|
}
|
|
4951
|
-
),
|
|
4952
|
+
), S2 = ({
|
|
4952
4953
|
width: i = 20,
|
|
4953
4954
|
height: e = 20,
|
|
4954
4955
|
color: t = v.GREY_DARK_1,
|
|
@@ -4981,7 +4982,7 @@ const Gt = ({
|
|
|
4981
4982
|
)
|
|
4982
4983
|
]
|
|
4983
4984
|
}
|
|
4984
|
-
),
|
|
4985
|
+
), O2 = ({
|
|
4985
4986
|
width: i = 81,
|
|
4986
4987
|
height: e = 80,
|
|
4987
4988
|
color: t = v.GREY_DARK_5,
|
|
@@ -5030,7 +5031,7 @@ const Gt = ({
|
|
|
5030
5031
|
)
|
|
5031
5032
|
]
|
|
5032
5033
|
}
|
|
5033
|
-
),
|
|
5034
|
+
), A2 = ({
|
|
5034
5035
|
className: i,
|
|
5035
5036
|
color: e = v.GREY_DARK_5,
|
|
5036
5037
|
height: t = 20,
|
|
@@ -5057,7 +5058,7 @@ const Gt = ({
|
|
|
5057
5058
|
}
|
|
5058
5059
|
)
|
|
5059
5060
|
}
|
|
5060
|
-
),
|
|
5061
|
+
), B2 = ({
|
|
5061
5062
|
className: i,
|
|
5062
5063
|
color: e = v.GREY_DARK_5,
|
|
5063
5064
|
height: t = 20,
|
|
@@ -5084,7 +5085,7 @@ const Gt = ({
|
|
|
5084
5085
|
}
|
|
5085
5086
|
)
|
|
5086
5087
|
}
|
|
5087
|
-
),
|
|
5088
|
+
), W2 = ({
|
|
5088
5089
|
className: i,
|
|
5089
5090
|
color: e = v.GREY_DARK_5,
|
|
5090
5091
|
height: t = 5,
|
|
@@ -5108,7 +5109,7 @@ const Gt = ({
|
|
|
5108
5109
|
}
|
|
5109
5110
|
)
|
|
5110
5111
|
}
|
|
5111
|
-
),
|
|
5112
|
+
), j2 = ({
|
|
5112
5113
|
className: i,
|
|
5113
5114
|
color: e = v.GREY_DARK_5,
|
|
5114
5115
|
height: t = 5,
|
|
@@ -5133,7 +5134,7 @@ const Gt = ({
|
|
|
5133
5134
|
}
|
|
5134
5135
|
)
|
|
5135
5136
|
}
|
|
5136
|
-
),
|
|
5137
|
+
), Z2 = ({
|
|
5137
5138
|
className: i,
|
|
5138
5139
|
color: e = v.GREY_DARK_5,
|
|
5139
5140
|
height: t = 24,
|
|
@@ -5172,7 +5173,7 @@ const Gt = ({
|
|
|
5172
5173
|
)
|
|
5173
5174
|
]
|
|
5174
5175
|
}
|
|
5175
|
-
),
|
|
5176
|
+
), D2 = ({
|
|
5176
5177
|
className: i,
|
|
5177
5178
|
color: e = v.GREY_DARK_5,
|
|
5178
5179
|
height: t = 24,
|
|
@@ -5211,7 +5212,7 @@ const Gt = ({
|
|
|
5211
5212
|
)
|
|
5212
5213
|
]
|
|
5213
5214
|
}
|
|
5214
|
-
),
|
|
5215
|
+
), T2 = ({
|
|
5215
5216
|
className: i,
|
|
5216
5217
|
color: e = v.GREY_DARK_5,
|
|
5217
5218
|
height: t = 24,
|
|
@@ -5238,7 +5239,7 @@ const Gt = ({
|
|
|
5238
5239
|
}
|
|
5239
5240
|
)
|
|
5240
5241
|
}
|
|
5241
|
-
),
|
|
5242
|
+
), G2 = ({
|
|
5242
5243
|
className: i,
|
|
5243
5244
|
color: e = v.GREY_DARK_5,
|
|
5244
5245
|
height: t = 24,
|
|
@@ -5297,7 +5298,7 @@ const Gt = ({
|
|
|
5297
5298
|
)
|
|
5298
5299
|
]
|
|
5299
5300
|
}
|
|
5300
|
-
),
|
|
5301
|
+
), K2 = ({
|
|
5301
5302
|
className: i,
|
|
5302
5303
|
color: e = v.GREY_DARK_5,
|
|
5303
5304
|
height: t = 24,
|
|
@@ -5334,7 +5335,7 @@ const Gt = ({
|
|
|
5334
5335
|
)
|
|
5335
5336
|
]
|
|
5336
5337
|
}
|
|
5337
|
-
),
|
|
5338
|
+
), P2 = ({
|
|
5338
5339
|
className: i,
|
|
5339
5340
|
color: e = v.GREY_DARK_3,
|
|
5340
5341
|
height: t = 14,
|
|
@@ -5371,7 +5372,7 @@ const Gt = ({
|
|
|
5371
5372
|
)
|
|
5372
5373
|
]
|
|
5373
5374
|
}
|
|
5374
|
-
),
|
|
5375
|
+
), $2 = ({
|
|
5375
5376
|
className: i,
|
|
5376
5377
|
color: e = v.GREY_DARK_5,
|
|
5377
5378
|
height: t = 18,
|
|
@@ -5398,7 +5399,7 @@ const Gt = ({
|
|
|
5398
5399
|
}
|
|
5399
5400
|
)
|
|
5400
5401
|
}
|
|
5401
|
-
),
|
|
5402
|
+
), F2 = ({
|
|
5402
5403
|
className: i,
|
|
5403
5404
|
color: e = v.GREY_DARK_5,
|
|
5404
5405
|
height: t = 24,
|
|
@@ -5450,7 +5451,7 @@ const Gt = ({
|
|
|
5450
5451
|
)
|
|
5451
5452
|
]
|
|
5452
5453
|
}
|
|
5453
|
-
),
|
|
5454
|
+
), Y2 = ({
|
|
5454
5455
|
className: i,
|
|
5455
5456
|
color: e = v.GREY_DARK_5,
|
|
5456
5457
|
height: t = 24,
|
|
@@ -5487,7 +5488,7 @@ const Gt = ({
|
|
|
5487
5488
|
)
|
|
5488
5489
|
]
|
|
5489
5490
|
}
|
|
5490
|
-
),
|
|
5491
|
+
), U2 = ({
|
|
5491
5492
|
className: i,
|
|
5492
5493
|
color: e = v.NOTIFICATION_WARNING_DARK,
|
|
5493
5494
|
height: t = 37,
|
|
@@ -5526,7 +5527,7 @@ const Gt = ({
|
|
|
5526
5527
|
)
|
|
5527
5528
|
]
|
|
5528
5529
|
}
|
|
5529
|
-
),
|
|
5530
|
+
), z2 = ({
|
|
5530
5531
|
className: i,
|
|
5531
5532
|
color: e = v.GREY_DARK_5,
|
|
5532
5533
|
height: t = 24,
|
|
@@ -5552,7 +5553,7 @@ const Gt = ({
|
|
|
5552
5553
|
}
|
|
5553
5554
|
)
|
|
5554
5555
|
}
|
|
5555
|
-
),
|
|
5556
|
+
), J2 = ({
|
|
5556
5557
|
className: i,
|
|
5557
5558
|
color: e = v.GREY_DARK_5,
|
|
5558
5559
|
height: t = 24,
|
|
@@ -5591,7 +5592,7 @@ const Gt = ({
|
|
|
5591
5592
|
)
|
|
5592
5593
|
]
|
|
5593
5594
|
}
|
|
5594
|
-
),
|
|
5595
|
+
), Q2 = ({
|
|
5595
5596
|
className: i,
|
|
5596
5597
|
color: e = v.GREY_DARK_5,
|
|
5597
5598
|
height: t = 24,
|
|
@@ -5630,7 +5631,7 @@ const Gt = ({
|
|
|
5630
5631
|
)
|
|
5631
5632
|
]
|
|
5632
5633
|
}
|
|
5633
|
-
),
|
|
5634
|
+
), q2 = ({
|
|
5634
5635
|
className: i,
|
|
5635
5636
|
color: e = v.GREY_DARK_5,
|
|
5636
5637
|
height: t = 24,
|
|
@@ -5699,7 +5700,7 @@ const Gt = ({
|
|
|
5699
5700
|
)
|
|
5700
5701
|
]
|
|
5701
5702
|
}
|
|
5702
|
-
),
|
|
5703
|
+
), X2 = ({
|
|
5703
5704
|
className: i,
|
|
5704
5705
|
color: e = v.GREY_DARK_5,
|
|
5705
5706
|
height: t = 24,
|
|
@@ -5738,7 +5739,7 @@ const Gt = ({
|
|
|
5738
5739
|
)
|
|
5739
5740
|
]
|
|
5740
5741
|
}
|
|
5741
|
-
),
|
|
5742
|
+
), ei = ({
|
|
5742
5743
|
className: i,
|
|
5743
5744
|
color: e = v.GREY_DARK_5,
|
|
5744
5745
|
height: t = 24,
|
|
@@ -5795,7 +5796,7 @@ const Gt = ({
|
|
|
5795
5796
|
)
|
|
5796
5797
|
]
|
|
5797
5798
|
}
|
|
5798
|
-
),
|
|
5799
|
+
), ti = ({
|
|
5799
5800
|
className: i,
|
|
5800
5801
|
color: e = v.GREY_DARK_5,
|
|
5801
5802
|
height: t = 24,
|
|
@@ -5834,7 +5835,7 @@ const Gt = ({
|
|
|
5834
5835
|
)
|
|
5835
5836
|
]
|
|
5836
5837
|
}
|
|
5837
|
-
),
|
|
5838
|
+
), ii = ({
|
|
5838
5839
|
className: i,
|
|
5839
5840
|
color: e = v.GREY_DARK_5,
|
|
5840
5841
|
height: t = 24,
|
|
@@ -5883,7 +5884,7 @@ const Gt = ({
|
|
|
5883
5884
|
)
|
|
5884
5885
|
]
|
|
5885
5886
|
}
|
|
5886
|
-
),
|
|
5887
|
+
), si = ({
|
|
5887
5888
|
className: i,
|
|
5888
5889
|
color: e = v.GREY_DARK_5,
|
|
5889
5890
|
height: t = 24,
|
|
@@ -5922,7 +5923,7 @@ const Gt = ({
|
|
|
5922
5923
|
)
|
|
5923
5924
|
]
|
|
5924
5925
|
}
|
|
5925
|
-
),
|
|
5926
|
+
), ni = ({
|
|
5926
5927
|
className: i,
|
|
5927
5928
|
color: e = v.GREY_DARK_5,
|
|
5928
5929
|
height: t = 24,
|
|
@@ -5949,7 +5950,7 @@ const Gt = ({
|
|
|
5949
5950
|
}
|
|
5950
5951
|
)
|
|
5951
5952
|
}
|
|
5952
|
-
),
|
|
5953
|
+
), ri = ({
|
|
5953
5954
|
className: i,
|
|
5954
5955
|
color: e = v.GREY_DARK_5,
|
|
5955
5956
|
height: t = 24,
|
|
@@ -5987,7 +5988,7 @@ const Gt = ({
|
|
|
5987
5988
|
)
|
|
5988
5989
|
]
|
|
5989
5990
|
}
|
|
5990
|
-
),
|
|
5991
|
+
), oi = ({
|
|
5991
5992
|
className: i,
|
|
5992
5993
|
color: e = v.GREY_DARK_5,
|
|
5993
5994
|
height: t = 24,
|
|
@@ -6008,7 +6009,7 @@ const Gt = ({
|
|
|
6008
6009
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
6009
6010
|
]
|
|
6010
6011
|
}
|
|
6011
|
-
),
|
|
6012
|
+
), li = ({
|
|
6012
6013
|
className: i,
|
|
6013
6014
|
color: e = v.GREY_DARK_5,
|
|
6014
6015
|
height: t = 24,
|
|
@@ -6047,7 +6048,7 @@ const Gt = ({
|
|
|
6047
6048
|
)
|
|
6048
6049
|
]
|
|
6049
6050
|
}
|
|
6050
|
-
),
|
|
6051
|
+
), ai = ({
|
|
6051
6052
|
className: i,
|
|
6052
6053
|
color: e = v.GREY_DARK_5,
|
|
6053
6054
|
height: t = 24,
|
|
@@ -6086,7 +6087,7 @@ const Gt = ({
|
|
|
6086
6087
|
)
|
|
6087
6088
|
]
|
|
6088
6089
|
}
|
|
6089
|
-
),
|
|
6090
|
+
), hi = ({
|
|
6090
6091
|
className: i,
|
|
6091
6092
|
color: e = v.GREY_DARK_5,
|
|
6092
6093
|
height: t = 24,
|
|
@@ -6125,7 +6126,7 @@ const Gt = ({
|
|
|
6125
6126
|
)
|
|
6126
6127
|
]
|
|
6127
6128
|
}
|
|
6128
|
-
),
|
|
6129
|
+
), ci = ({
|
|
6129
6130
|
className: i,
|
|
6130
6131
|
color: e = v.GREY_DARK_2,
|
|
6131
6132
|
height: t = 16,
|
|
@@ -6151,7 +6152,7 @@ const Gt = ({
|
|
|
6151
6152
|
}
|
|
6152
6153
|
)
|
|
6153
6154
|
}
|
|
6154
|
-
),
|
|
6155
|
+
), di = ({
|
|
6155
6156
|
className: i,
|
|
6156
6157
|
color: e = v.GREY_DARK_5,
|
|
6157
6158
|
height: t = 20,
|
|
@@ -6180,7 +6181,7 @@ const Gt = ({
|
|
|
6180
6181
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6181
6182
|
]
|
|
6182
6183
|
}
|
|
6183
|
-
),
|
|
6184
|
+
), gi = ({
|
|
6184
6185
|
className: i,
|
|
6185
6186
|
color: e = v.GREY_DARK_5,
|
|
6186
6187
|
height: t = 20,
|
|
@@ -6209,7 +6210,7 @@ const Gt = ({
|
|
|
6209
6210
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6210
6211
|
]
|
|
6211
6212
|
}
|
|
6212
|
-
),
|
|
6213
|
+
), ui = ({
|
|
6213
6214
|
className: i,
|
|
6214
6215
|
color: e = v.GREY_DARK_5,
|
|
6215
6216
|
height: t = 20,
|
|
@@ -6238,7 +6239,7 @@ const Gt = ({
|
|
|
6238
6239
|
)
|
|
6239
6240
|
]
|
|
6240
6241
|
}
|
|
6241
|
-
),
|
|
6242
|
+
), Ci = ({
|
|
6242
6243
|
className: i,
|
|
6243
6244
|
color: e = v.GREY_DARK_5,
|
|
6244
6245
|
height: t = 20,
|
|
@@ -6267,7 +6268,7 @@ const Gt = ({
|
|
|
6267
6268
|
)
|
|
6268
6269
|
]
|
|
6269
6270
|
}
|
|
6270
|
-
),
|
|
6271
|
+
), pi = ({
|
|
6271
6272
|
className: i,
|
|
6272
6273
|
color: e = "#001E52",
|
|
6273
6274
|
height: t = 24,
|
|
@@ -6293,7 +6294,7 @@ const Gt = ({
|
|
|
6293
6294
|
}
|
|
6294
6295
|
)
|
|
6295
6296
|
}
|
|
6296
|
-
),
|
|
6297
|
+
), fi = ({
|
|
6297
6298
|
className: i,
|
|
6298
6299
|
color: e = "#131314",
|
|
6299
6300
|
height: t = 20,
|
|
@@ -6321,7 +6322,7 @@ const Gt = ({
|
|
|
6321
6322
|
}
|
|
6322
6323
|
)
|
|
6323
6324
|
}
|
|
6324
|
-
),
|
|
6325
|
+
), wi = ({
|
|
6325
6326
|
className: i,
|
|
6326
6327
|
color: e = "#001E52",
|
|
6327
6328
|
height: t = 24,
|
|
@@ -6359,7 +6360,7 @@ const Gt = ({
|
|
|
6359
6360
|
)
|
|
6360
6361
|
] }) })
|
|
6361
6362
|
}
|
|
6362
|
-
),
|
|
6363
|
+
), mi = ({
|
|
6363
6364
|
name: i,
|
|
6364
6365
|
width: e,
|
|
6365
6366
|
height: t,
|
|
@@ -6368,7 +6369,7 @@ const Gt = ({
|
|
|
6368
6369
|
disabled: l = !1,
|
|
6369
6370
|
onClick: c
|
|
6370
6371
|
}) => {
|
|
6371
|
-
const [o, d] = I(n), { theme: g } =
|
|
6372
|
+
const [o, d] = I(n), { theme: g } = o1($1), a = l ? g && g === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
6372
6373
|
return Z(() => {
|
|
6373
6374
|
if (n) {
|
|
6374
6375
|
h && !l && d(`${n} clickable`);
|
|
@@ -6378,39 +6379,39 @@ const Gt = ({
|
|
|
6378
6379
|
}, [h, n, l]), /* @__PURE__ */ r(q, { children: (() => {
|
|
6379
6380
|
switch (i) {
|
|
6380
6381
|
case "nextIcon":
|
|
6381
|
-
return O2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6382
|
-
case "prevIcon":
|
|
6383
6382
|
return A2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6383
|
+
case "prevIcon":
|
|
6384
|
+
return B2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6384
6385
|
case "arrowUp":
|
|
6385
|
-
return Gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6386
|
-
case "arrowDown":
|
|
6387
6386
|
return Kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6388
|
-
case "
|
|
6387
|
+
case "arrowDown":
|
|
6389
6388
|
return Pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6390
|
-
case "
|
|
6389
|
+
case "info":
|
|
6391
6390
|
return $t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6392
|
-
case "
|
|
6391
|
+
case "arrowRight":
|
|
6393
6392
|
return Ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6394
|
-
case "
|
|
6393
|
+
case "calendar":
|
|
6395
6394
|
return Yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6396
|
-
case "
|
|
6395
|
+
case "ok":
|
|
6397
6396
|
return Ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6398
|
-
case "
|
|
6397
|
+
case "cancel":
|
|
6399
6398
|
return zt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6400
|
-
case "
|
|
6399
|
+
case "add":
|
|
6401
6400
|
return Jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6402
|
-
case "
|
|
6401
|
+
case "list":
|
|
6403
6402
|
return Qt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6404
|
-
case "
|
|
6403
|
+
case "dragAndDrop":
|
|
6405
6404
|
return qt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6406
|
-
case "
|
|
6405
|
+
case "filter":
|
|
6407
6406
|
return Xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6408
|
-
case "
|
|
6407
|
+
case "attention":
|
|
6409
6408
|
return e2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6410
|
-
case "
|
|
6409
|
+
case "plus":
|
|
6411
6410
|
return t2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6411
|
+
case "time":
|
|
6412
|
+
return i2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6412
6413
|
case "arrowDownLong":
|
|
6413
|
-
return
|
|
6414
|
+
return s2({
|
|
6414
6415
|
width: e,
|
|
6415
6416
|
height: t,
|
|
6416
6417
|
color: a,
|
|
@@ -6418,9 +6419,9 @@ const Gt = ({
|
|
|
6418
6419
|
onClick: h
|
|
6419
6420
|
});
|
|
6420
6421
|
case "users":
|
|
6421
|
-
return
|
|
6422
|
+
return n2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6422
6423
|
case "mySkillsMatrix":
|
|
6423
|
-
return
|
|
6424
|
+
return r2({
|
|
6424
6425
|
width: e,
|
|
6425
6426
|
height: t,
|
|
6426
6427
|
color: a,
|
|
@@ -6428,9 +6429,9 @@ const Gt = ({
|
|
|
6428
6429
|
onClick: h
|
|
6429
6430
|
});
|
|
6430
6431
|
case "skills":
|
|
6431
|
-
return
|
|
6432
|
+
return o2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6432
6433
|
case "skillsMatrices":
|
|
6433
|
-
return
|
|
6434
|
+
return l2({
|
|
6434
6435
|
width: e,
|
|
6435
6436
|
height: t,
|
|
6436
6437
|
color: a,
|
|
@@ -6438,23 +6439,23 @@ const Gt = ({
|
|
|
6438
6439
|
onClick: h
|
|
6439
6440
|
});
|
|
6440
6441
|
case "history":
|
|
6441
|
-
return l2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6442
|
-
case "logOut":
|
|
6443
6442
|
return a2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6444
|
-
case "
|
|
6443
|
+
case "logOut":
|
|
6445
6444
|
return h2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6446
|
-
case "
|
|
6445
|
+
case "settings":
|
|
6447
6446
|
return c2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6448
|
-
case "
|
|
6447
|
+
case "addSkill":
|
|
6449
6448
|
return d2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6450
|
-
case "
|
|
6449
|
+
case "conversation":
|
|
6451
6450
|
return g2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6452
|
-
case "
|
|
6451
|
+
case "trash":
|
|
6453
6452
|
return u2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6454
|
-
case "
|
|
6453
|
+
case "settings4":
|
|
6455
6454
|
return C2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6455
|
+
case "edit2":
|
|
6456
|
+
return p2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6456
6457
|
case "notifications":
|
|
6457
|
-
return
|
|
6458
|
+
return f2({
|
|
6458
6459
|
width: e,
|
|
6459
6460
|
height: t,
|
|
6460
6461
|
color: a,
|
|
@@ -6462,9 +6463,9 @@ const Gt = ({
|
|
|
6462
6463
|
onClick: h
|
|
6463
6464
|
});
|
|
6464
6465
|
case "success":
|
|
6465
|
-
return
|
|
6466
|
+
return w2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6466
6467
|
case "attentionSmall":
|
|
6467
|
-
return
|
|
6468
|
+
return m2({
|
|
6468
6469
|
width: e,
|
|
6469
6470
|
height: t,
|
|
6470
6471
|
color: a,
|
|
@@ -6472,11 +6473,11 @@ const Gt = ({
|
|
|
6472
6473
|
onClick: h
|
|
6473
6474
|
});
|
|
6474
6475
|
case "errorSmall":
|
|
6475
|
-
return m2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6476
|
-
case "infoMedium":
|
|
6477
6476
|
return k2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6477
|
+
case "infoMedium":
|
|
6478
|
+
return L2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6478
6479
|
case "attentionMedium":
|
|
6479
|
-
return
|
|
6480
|
+
return v2({
|
|
6480
6481
|
width: e,
|
|
6481
6482
|
height: t,
|
|
6482
6483
|
color: a,
|
|
@@ -6484,9 +6485,9 @@ const Gt = ({
|
|
|
6484
6485
|
onClick: h
|
|
6485
6486
|
});
|
|
6486
6487
|
case "errorMedium":
|
|
6487
|
-
return
|
|
6488
|
+
return N2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6488
6489
|
case "faviconSkills":
|
|
6489
|
-
return
|
|
6490
|
+
return E2({
|
|
6490
6491
|
width: e,
|
|
6491
6492
|
height: t,
|
|
6492
6493
|
color: a,
|
|
@@ -6494,7 +6495,7 @@ const Gt = ({
|
|
|
6494
6495
|
onClick: h
|
|
6495
6496
|
});
|
|
6496
6497
|
case "visibilityIcon":
|
|
6497
|
-
return
|
|
6498
|
+
return x2({
|
|
6498
6499
|
width: e,
|
|
6499
6500
|
height: t,
|
|
6500
6501
|
color: a,
|
|
@@ -6502,7 +6503,7 @@ const Gt = ({
|
|
|
6502
6503
|
onClick: h
|
|
6503
6504
|
});
|
|
6504
6505
|
case "visibilityOffIcon":
|
|
6505
|
-
return
|
|
6506
|
+
return R2({
|
|
6506
6507
|
width: e,
|
|
6507
6508
|
height: t,
|
|
6508
6509
|
color: a,
|
|
@@ -6510,7 +6511,7 @@ const Gt = ({
|
|
|
6510
6511
|
onClick: h
|
|
6511
6512
|
});
|
|
6512
6513
|
case "selectArrowIcon":
|
|
6513
|
-
return
|
|
6514
|
+
return M2({
|
|
6514
6515
|
width: e,
|
|
6515
6516
|
height: t,
|
|
6516
6517
|
color: a,
|
|
@@ -6518,7 +6519,7 @@ const Gt = ({
|
|
|
6518
6519
|
onClick: h
|
|
6519
6520
|
});
|
|
6520
6521
|
case "expandArrowIcon":
|
|
6521
|
-
return
|
|
6522
|
+
return y2({
|
|
6522
6523
|
width: e,
|
|
6523
6524
|
height: t,
|
|
6524
6525
|
color: a,
|
|
@@ -6526,7 +6527,7 @@ const Gt = ({
|
|
|
6526
6527
|
onClick: h
|
|
6527
6528
|
});
|
|
6528
6529
|
case "expandActiveArrowIcon":
|
|
6529
|
-
return
|
|
6530
|
+
return b2({
|
|
6530
6531
|
width: e,
|
|
6531
6532
|
height: t,
|
|
6532
6533
|
color: a,
|
|
@@ -6534,109 +6535,109 @@ const Gt = ({
|
|
|
6534
6535
|
onClick: h
|
|
6535
6536
|
});
|
|
6536
6537
|
case "camera":
|
|
6537
|
-
return E2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6538
|
-
case "sortUp":
|
|
6539
6538
|
return V2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6540
|
-
case "
|
|
6539
|
+
case "sortUp":
|
|
6541
6540
|
return _2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6542
|
-
case "
|
|
6541
|
+
case "sortDown":
|
|
6543
6542
|
return H2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6544
|
-
case "
|
|
6543
|
+
case "logOut2":
|
|
6545
6544
|
return I2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6546
|
-
case "
|
|
6545
|
+
case "search":
|
|
6547
6546
|
return S2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6547
|
+
case "handRock":
|
|
6548
|
+
return O2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6548
6549
|
case "arrowUpFilled":
|
|
6549
|
-
return
|
|
6550
|
+
return j2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6550
6551
|
case "arrowDownFilled":
|
|
6551
|
-
return
|
|
6552
|
+
return W2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6552
6553
|
case "link":
|
|
6553
|
-
return
|
|
6554
|
+
return Z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6554
6555
|
case "telegram":
|
|
6555
|
-
return
|
|
6556
|
+
return T2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6556
6557
|
case "mail":
|
|
6557
|
-
return
|
|
6558
|
+
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6558
6559
|
case "github":
|
|
6559
|
-
return
|
|
6560
|
+
return D2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6560
6561
|
case "linkedIn":
|
|
6561
|
-
return
|
|
6562
|
+
return G2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6562
6563
|
case "emptyStateIcon":
|
|
6563
|
-
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6564
|
-
case "filtersIcon":
|
|
6565
6564
|
return P2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6566
|
-
case "
|
|
6565
|
+
case "filtersIcon":
|
|
6567
6566
|
return $2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6568
|
-
case "
|
|
6567
|
+
case "dotMenuIcon":
|
|
6569
6568
|
return F2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6570
|
-
case "
|
|
6569
|
+
case "plusCircle":
|
|
6571
6570
|
return Y2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6572
|
-
case "
|
|
6571
|
+
case "warning":
|
|
6573
6572
|
return U2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6574
|
-
case "
|
|
6573
|
+
case "back":
|
|
6575
6574
|
return z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6575
|
+
case "bell":
|
|
6576
|
+
return J2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6576
6577
|
case "contract":
|
|
6577
|
-
return
|
|
6578
|
+
return q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6578
6579
|
case "trash2":
|
|
6579
|
-
return
|
|
6580
|
+
return Q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6580
6581
|
case "manager":
|
|
6581
|
-
return q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6582
|
-
case "resourceManager":
|
|
6583
6582
|
return X2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6584
|
-
case "
|
|
6583
|
+
case "resourceManager":
|
|
6585
6584
|
return ei({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6586
|
-
case "
|
|
6585
|
+
case "settings2":
|
|
6587
6586
|
return ti({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6588
|
-
case "
|
|
6587
|
+
case "image":
|
|
6589
6588
|
return ii({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6590
|
-
case "
|
|
6589
|
+
case "upload":
|
|
6591
6590
|
return si({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6592
|
-
case "
|
|
6591
|
+
case "edit":
|
|
6593
6592
|
return ni({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6594
|
-
case "
|
|
6593
|
+
case "location":
|
|
6595
6594
|
return ri({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6596
|
-
case "
|
|
6595
|
+
case "plus2":
|
|
6597
6596
|
return oi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6598
|
-
case "
|
|
6597
|
+
case "search2":
|
|
6599
6598
|
return li({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6600
|
-
case "
|
|
6599
|
+
case "fastArrowLeft":
|
|
6601
6600
|
return ai({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6602
|
-
case "
|
|
6601
|
+
case "fastArrowRight":
|
|
6603
6602
|
return hi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6603
|
+
case "crossInCircle":
|
|
6604
|
+
return ci({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6604
6605
|
case "arrowUp2":
|
|
6605
|
-
return
|
|
6606
|
+
return gi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6606
6607
|
case "arrowDown2":
|
|
6607
|
-
return
|
|
6608
|
+
return di({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6608
6609
|
case "filledArrowLeft":
|
|
6609
|
-
return gi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6610
|
-
case "filledArrowRight":
|
|
6611
6610
|
return ui({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6612
|
-
case "
|
|
6611
|
+
case "filledArrowRight":
|
|
6613
6612
|
return Ci({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6614
|
-
case "
|
|
6613
|
+
case "burgerMenu":
|
|
6615
6614
|
return pi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6616
|
-
case "
|
|
6615
|
+
case "signOut":
|
|
6617
6616
|
return fi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6617
|
+
case "refresh":
|
|
6618
|
+
return wi({ width: e, height: t, color: a, className: o, onClick: h });
|
|
6618
6619
|
default:
|
|
6619
6620
|
return /* @__PURE__ */ r(q, { children: "No Icon provided" });
|
|
6620
6621
|
}
|
|
6621
6622
|
})() });
|
|
6622
6623
|
};
|
|
6623
|
-
var
|
|
6624
|
-
const
|
|
6624
|
+
var F1 = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(F1 || {});
|
|
6625
|
+
const ki = n1({
|
|
6625
6626
|
locale: "en",
|
|
6626
6627
|
theme: "light"
|
|
6627
6628
|
});
|
|
6628
|
-
|
|
6629
|
-
const
|
|
6629
|
+
ki.Provider;
|
|
6630
|
+
const Y1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
|
|
6630
6631
|
const l = t === "small" ? 10 : 12.5;
|
|
6631
6632
|
return /* @__PURE__ */ r(
|
|
6632
|
-
|
|
6633
|
+
G1,
|
|
6633
6634
|
{
|
|
6634
6635
|
className: `snmt-tag ${t}`,
|
|
6635
6636
|
closeIcon: /* @__PURE__ */ r(
|
|
6636
|
-
|
|
6637
|
+
mi,
|
|
6637
6638
|
{
|
|
6638
6639
|
name: "errorSmall",
|
|
6639
|
-
color:
|
|
6640
|
+
color: F1.GREY_DARK_2,
|
|
6640
6641
|
width: l,
|
|
6641
6642
|
height: l,
|
|
6642
6643
|
onClick: s
|
|
@@ -6645,15 +6646,15 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6645
6646
|
bordered: !1,
|
|
6646
6647
|
style: { width: e ?? "fit-content" },
|
|
6647
6648
|
closable: n,
|
|
6648
|
-
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
6649
|
+
children: typeof i == "string" ? /* @__PURE__ */ r(Gt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
|
|
6649
6650
|
}
|
|
6650
6651
|
);
|
|
6651
|
-
}, { Title:
|
|
6652
|
+
}, { Title: Li, Text: vi } = T1, Ni = {
|
|
6652
6653
|
h1: 1,
|
|
6653
6654
|
h2: 2,
|
|
6654
6655
|
h3: 3,
|
|
6655
6656
|
h4: 4
|
|
6656
|
-
},
|
|
6657
|
+
}, U1 = r1(
|
|
6657
6658
|
({
|
|
6658
6659
|
align: i = "inherit",
|
|
6659
6660
|
variant: e = "body1",
|
|
@@ -6666,17 +6667,17 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6666
6667
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
6667
6668
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
6668
6669
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
6669
|
-
|
|
6670
|
+
Li,
|
|
6670
6671
|
{
|
|
6671
6672
|
className: g,
|
|
6672
6673
|
style: { color: t, whiteSpace: c },
|
|
6673
6674
|
onClick: n,
|
|
6674
|
-
level:
|
|
6675
|
+
level: Ni[e],
|
|
6675
6676
|
ref: o,
|
|
6676
6677
|
children: s
|
|
6677
6678
|
}
|
|
6678
6679
|
) : /* @__PURE__ */ r(
|
|
6679
|
-
|
|
6680
|
+
vi,
|
|
6680
6681
|
{
|
|
6681
6682
|
className: g,
|
|
6682
6683
|
style: { color: t, whiteSpace: c },
|
|
@@ -6686,7 +6687,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6686
6687
|
}
|
|
6687
6688
|
);
|
|
6688
6689
|
}
|
|
6689
|
-
),
|
|
6690
|
+
), xi = ({
|
|
6690
6691
|
children: i,
|
|
6691
6692
|
content: e,
|
|
6692
6693
|
isOpen: t,
|
|
@@ -6696,7 +6697,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6696
6697
|
}) => {
|
|
6697
6698
|
const [c, o] = I(!1);
|
|
6698
6699
|
return /* @__PURE__ */ r(
|
|
6699
|
-
|
|
6700
|
+
oe,
|
|
6700
6701
|
{
|
|
6701
6702
|
content: e,
|
|
6702
6703
|
arrow: !1,
|
|
@@ -6710,7 +6711,7 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6710
6711
|
children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
|
|
6711
6712
|
}
|
|
6712
6713
|
);
|
|
6713
|
-
},
|
|
6714
|
+
}, Ri = ({
|
|
6714
6715
|
values: i,
|
|
6715
6716
|
onTagClose: e,
|
|
6716
6717
|
maxWidth: t,
|
|
@@ -6732,12 +6733,12 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6732
6733
|
return ((h = n == null ? void 0 : n.find((p) => p.value === a)) == null ? void 0 : h.label) || ((C = l == null ? void 0 : l.find((p) => p.value === a)) == null ? void 0 : C.label) || a;
|
|
6733
6734
|
};
|
|
6734
6735
|
return /* @__PURE__ */ r("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ r(
|
|
6735
|
-
|
|
6736
|
+
xi,
|
|
6736
6737
|
{
|
|
6737
6738
|
content: (
|
|
6738
6739
|
// 90: paddings + margins + gaps and so on
|
|
6739
|
-
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(
|
|
6740
|
-
|
|
6740
|
+
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(h1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ r(
|
|
6741
|
+
Y1,
|
|
6741
6742
|
{
|
|
6742
6743
|
onClose: () => e(a),
|
|
6743
6744
|
closable: !s,
|
|
@@ -6749,13 +6750,21 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6749
6750
|
placement: "bottomRight",
|
|
6750
6751
|
isOpen: c,
|
|
6751
6752
|
setIsOpen: o,
|
|
6752
|
-
children: /* @__PURE__ */ r(
|
|
6753
|
+
children: /* @__PURE__ */ r(G1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ u(U1, { variant: "body4", color: c ? Q.BLUE_PRIMARY : void 0, children: [
|
|
6753
6754
|
i.length,
|
|
6754
6755
|
" more"
|
|
6755
6756
|
] }) })
|
|
6756
6757
|
}
|
|
6757
6758
|
) });
|
|
6758
|
-
},
|
|
6759
|
+
}, Mi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
6760
|
+
const t = `no-repeat linear-gradient(${e}
|
|
6761
|
+
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
6762
|
+
width: i,
|
|
6763
|
+
background: `${t} 0% 100%, ${t} 50% 100%, ${t} 100% 100%`,
|
|
6764
|
+
backgroundSize: "20% calc(200% + 20px)"
|
|
6765
|
+
};
|
|
6766
|
+
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
6767
|
+
}, M1 = r1(
|
|
6759
6768
|
({
|
|
6760
6769
|
value: i,
|
|
6761
6770
|
onChange: e,
|
|
@@ -6771,141 +6780,142 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6771
6780
|
onDropdownVisibleChange: h,
|
|
6772
6781
|
onScrollToEnd: C,
|
|
6773
6782
|
onPopupScroll: p,
|
|
6774
|
-
id:
|
|
6775
|
-
extraOptions:
|
|
6776
|
-
|
|
6777
|
-
|
|
6783
|
+
id: w,
|
|
6784
|
+
extraOptions: N,
|
|
6785
|
+
isLoading: x
|
|
6786
|
+
}, V) => {
|
|
6787
|
+
const [y, H] = I(!1), [f, m] = I(!1), [M, R] = I(!0), [b, O] = I(i), E = p1(null);
|
|
6778
6788
|
Z(() => {
|
|
6779
|
-
|
|
6789
|
+
O(i);
|
|
6780
6790
|
}, [i]);
|
|
6781
|
-
const
|
|
6782
|
-
|
|
6783
|
-
},
|
|
6784
|
-
var
|
|
6785
|
-
return !!((
|
|
6786
|
-
}, K = () => {
|
|
6787
|
-
f(!0);
|
|
6791
|
+
const W = (k) => {
|
|
6792
|
+
H(k), h && h(k);
|
|
6793
|
+
}, P = (k, _) => {
|
|
6794
|
+
var K;
|
|
6795
|
+
return !!((K = _ == null ? void 0 : _.label) != null && K.toString().toLowerCase().includes(k.toLowerCase()));
|
|
6788
6796
|
}, j = () => {
|
|
6789
|
-
|
|
6790
|
-
},
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6797
|
+
m(!0);
|
|
6798
|
+
}, B = () => {
|
|
6799
|
+
m(!1);
|
|
6800
|
+
}, D = (k) => {
|
|
6801
|
+
if (O(k), s) {
|
|
6802
|
+
const K = k;
|
|
6803
|
+
e == null || e(K);
|
|
6794
6804
|
return;
|
|
6795
6805
|
}
|
|
6796
|
-
const _ =
|
|
6806
|
+
const _ = k;
|
|
6797
6807
|
e == null || e(_);
|
|
6798
|
-
},
|
|
6808
|
+
}, U = () => {
|
|
6799
6809
|
if (s) {
|
|
6800
|
-
|
|
6810
|
+
D([]);
|
|
6801
6811
|
return;
|
|
6802
6812
|
}
|
|
6803
|
-
|
|
6804
|
-
},
|
|
6805
|
-
const _ =
|
|
6806
|
-
|
|
6807
|
-
},
|
|
6813
|
+
D("");
|
|
6814
|
+
}, X = (k) => {
|
|
6815
|
+
const _ = b.filter((K) => K !== k);
|
|
6816
|
+
D(_), O(_);
|
|
6817
|
+
}, A = (k) => (b == null ? void 0 : b.indexOf(k)) === 0 ? (
|
|
6808
6818
|
// if the search input is empty
|
|
6809
6819
|
// then display the placeholder, else do not display it
|
|
6810
|
-
/* @__PURE__ */ r("span", { className: "custom-placeholder", children:
|
|
6811
|
-
) : /* @__PURE__ */ r(q, {}),
|
|
6812
|
-
|
|
6813
|
-
},
|
|
6814
|
-
const { target: _ } =
|
|
6815
|
-
_.scrollTop + _.offsetHeight >= _.scrollHeight - g && (C == null || C(!0)), p && await p(
|
|
6816
|
-
},
|
|
6817
|
-
var _,
|
|
6818
|
-
return ((_ = l.find((
|
|
6820
|
+
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: M ? t : "" })
|
|
6821
|
+
) : /* @__PURE__ */ r(q, {}), G = (k) => {
|
|
6822
|
+
k.preventDefault(), k.stopPropagation();
|
|
6823
|
+
}, F = async (k) => {
|
|
6824
|
+
const { target: _ } = k;
|
|
6825
|
+
_.scrollTop + _.offsetHeight >= _.scrollHeight - g && (C == null || C(!0)), p && await p(k);
|
|
6826
|
+
}, e1 = (k) => {
|
|
6827
|
+
var _, K;
|
|
6828
|
+
return ((_ = l.find((w1) => w1.value === k)) == null ? void 0 : _.label) || ((K = N == null ? void 0 : N.find((w1) => w1.value === k)) == null ? void 0 : K.label) || k;
|
|
6819
6829
|
};
|
|
6820
6830
|
return /* @__PURE__ */ u(
|
|
6821
6831
|
"div",
|
|
6822
6832
|
{
|
|
6823
|
-
className: `snmt-select ${
|
|
6833
|
+
className: `snmt-select ${f ? "snmt-select-focused" : ""}
|
|
6824
6834
|
${s ? "" : "snmt-select-single"}`,
|
|
6825
|
-
ref:
|
|
6835
|
+
ref: E,
|
|
6826
6836
|
style: { width: c },
|
|
6827
6837
|
children: [
|
|
6828
6838
|
/* @__PURE__ */ r(
|
|
6829
|
-
|
|
6839
|
+
ie,
|
|
6830
6840
|
{
|
|
6831
6841
|
className: "snmt-select-blank",
|
|
6832
|
-
id:
|
|
6833
|
-
ref:
|
|
6842
|
+
id: w,
|
|
6843
|
+
ref: V,
|
|
6834
6844
|
showSearch: !!n,
|
|
6835
|
-
filterOption: n &&
|
|
6836
|
-
onDropdownVisibleChange:
|
|
6845
|
+
filterOption: n && P,
|
|
6846
|
+
onDropdownVisibleChange: W,
|
|
6837
6847
|
placeholder: t ? d ? `${t}*` : t : void 0,
|
|
6838
6848
|
disabled: o,
|
|
6839
|
-
value:
|
|
6840
|
-
labelRender: (
|
|
6849
|
+
value: b || void 0,
|
|
6850
|
+
labelRender: (k) => e1(k.value),
|
|
6841
6851
|
mode: s === "filter" ? "multiple" : s,
|
|
6842
|
-
onChange:
|
|
6843
|
-
onFocus:
|
|
6844
|
-
onBlur:
|
|
6845
|
-
onSearch: (
|
|
6846
|
-
|
|
6852
|
+
onChange: D,
|
|
6853
|
+
onFocus: j,
|
|
6854
|
+
onBlur: B,
|
|
6855
|
+
onSearch: (k) => {
|
|
6856
|
+
R(!k), a && a(k);
|
|
6847
6857
|
},
|
|
6848
|
-
onSelect: () =>
|
|
6849
|
-
onDeselect: () =>
|
|
6858
|
+
onSelect: () => R(!0),
|
|
6859
|
+
onDeselect: () => R(!0),
|
|
6850
6860
|
tagRender: s === "filter" ? (
|
|
6851
6861
|
// HACK to prevent showing selected options in input
|
|
6852
|
-
(
|
|
6853
|
-
) : (
|
|
6854
|
-
const _ = typeof
|
|
6855
|
-
return /* @__PURE__ */ r("div", { onMouseDown:
|
|
6856
|
-
|
|
6862
|
+
(k) => A(k.value)
|
|
6863
|
+
) : (k) => {
|
|
6864
|
+
const _ = typeof k.label == "object";
|
|
6865
|
+
return /* @__PURE__ */ r("div", { onMouseDown: G, className: "tag-wrapper", children: /* @__PURE__ */ r(
|
|
6866
|
+
Y1,
|
|
6857
6867
|
{
|
|
6858
|
-
onClose: () =>
|
|
6868
|
+
onClose: () => X(k.value),
|
|
6859
6869
|
closable: !o,
|
|
6860
|
-
children: /* @__PURE__ */ r(
|
|
6870
|
+
children: /* @__PURE__ */ r(U1, { variant: "body4", children: _ ? k.label : e1(k.value) })
|
|
6861
6871
|
}
|
|
6862
6872
|
) });
|
|
6863
6873
|
},
|
|
6864
6874
|
maxTagCount: "responsive",
|
|
6865
|
-
maxTagPlaceholder: (
|
|
6875
|
+
maxTagPlaceholder: (k) => {
|
|
6866
6876
|
var _;
|
|
6867
6877
|
return /* @__PURE__ */ r(
|
|
6868
|
-
|
|
6878
|
+
Ri,
|
|
6869
6879
|
{
|
|
6870
|
-
values:
|
|
6871
|
-
onTagClose:
|
|
6872
|
-
maxWidth: ((_ =
|
|
6880
|
+
values: k,
|
|
6881
|
+
onTagClose: X,
|
|
6882
|
+
maxWidth: ((_ = E.current) == null ? void 0 : _.clientWidth) || 0,
|
|
6873
6883
|
disabled: o,
|
|
6874
6884
|
options: l,
|
|
6875
|
-
extraOptions:
|
|
6885
|
+
extraOptions: N
|
|
6876
6886
|
}
|
|
6877
6887
|
);
|
|
6878
6888
|
},
|
|
6879
|
-
onPopupScroll:
|
|
6889
|
+
onPopupScroll: F,
|
|
6880
6890
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(q, { children: [
|
|
6881
|
-
s &&
|
|
6891
|
+
s && b && !!b.length && /* @__PURE__ */ r("div", { onClick: U, children: /* @__PURE__ */ r(l1, { name: "cancel" }) }),
|
|
6882
6892
|
/* @__PURE__ */ r(
|
|
6883
|
-
|
|
6893
|
+
l1,
|
|
6884
6894
|
{
|
|
6885
6895
|
name: "selectArrowIcon",
|
|
6886
6896
|
color: o ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
|
|
6887
|
-
className:
|
|
6888
|
-
onClick: () =>
|
|
6897
|
+
className: y ? "select-arrow-rotated" : "select-arrow",
|
|
6898
|
+
onClick: () => H(!y)
|
|
6889
6899
|
}
|
|
6890
6900
|
)
|
|
6891
6901
|
] }) }),
|
|
6892
|
-
removeIcon: /* @__PURE__ */ r(
|
|
6902
|
+
removeIcon: /* @__PURE__ */ r(l1, { name: "errorSmall", color: Q.GREY_DARK_2 }),
|
|
6893
6903
|
options: l,
|
|
6894
|
-
optionRender: (
|
|
6895
|
-
/* @__PURE__ */ u(
|
|
6904
|
+
optionRender: (k) => /* @__PURE__ */ u(h1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
6905
|
+
/* @__PURE__ */ u(h1, { alignItems: "center", gap: 12, children: [
|
|
6896
6906
|
s && /* @__PURE__ */ r(
|
|
6897
|
-
|
|
6907
|
+
he,
|
|
6898
6908
|
{
|
|
6899
|
-
checked: !!(
|
|
6909
|
+
checked: !!(b != null && b.includes(k.value))
|
|
6900
6910
|
}
|
|
6901
6911
|
),
|
|
6902
|
-
/* @__PURE__ */ u(
|
|
6903
|
-
|
|
6904
|
-
/* @__PURE__ */ r("span", { children:
|
|
6912
|
+
/* @__PURE__ */ u(h1, { alignItems: "center", gap: 8, children: [
|
|
6913
|
+
k.data.image && /* @__PURE__ */ r(ae, { src: k.data.image, size: 20 }),
|
|
6914
|
+
/* @__PURE__ */ r("span", { children: k.label })
|
|
6905
6915
|
] })
|
|
6906
6916
|
] }),
|
|
6907
|
-
!s &&
|
|
6908
|
-
|
|
6917
|
+
!s && b === k.value && /* @__PURE__ */ r(
|
|
6918
|
+
l1,
|
|
6909
6919
|
{
|
|
6910
6920
|
name: "ok",
|
|
6911
6921
|
color: Q.BLUE_PRIMARY,
|
|
@@ -6913,13 +6923,24 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6913
6923
|
height: 16
|
|
6914
6924
|
}
|
|
6915
6925
|
)
|
|
6916
|
-
] })
|
|
6926
|
+
] }),
|
|
6927
|
+
dropdownRender: x ? () => /* @__PURE__ */ r(
|
|
6928
|
+
"div",
|
|
6929
|
+
{
|
|
6930
|
+
style: {
|
|
6931
|
+
padding: "16px",
|
|
6932
|
+
display: "grid",
|
|
6933
|
+
justifyContent: "center"
|
|
6934
|
+
},
|
|
6935
|
+
children: /* @__PURE__ */ r(Mi, { size: 28 })
|
|
6936
|
+
}
|
|
6937
|
+
) : void 0
|
|
6917
6938
|
}
|
|
6918
6939
|
),
|
|
6919
6940
|
/* @__PURE__ */ r(
|
|
6920
6941
|
"fieldset",
|
|
6921
6942
|
{
|
|
6922
|
-
className: `${
|
|
6943
|
+
className: `${f ? "fieldset-focused" : ""}
|
|
6923
6944
|
${o ? "fieldset-disabled" : ""}
|
|
6924
6945
|
${typeof i == "string" && i ? "fieldset-filled" : ""}
|
|
6925
6946
|
${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
|
|
@@ -6931,8 +6952,8 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
|
|
|
6931
6952
|
);
|
|
6932
6953
|
}
|
|
6933
6954
|
);
|
|
6934
|
-
function
|
|
6935
|
-
const t =
|
|
6955
|
+
function yi(i, e = 500) {
|
|
6956
|
+
const t = p1();
|
|
6936
6957
|
return Z(() => () => {
|
|
6937
6958
|
t.current && clearTimeout(t.current);
|
|
6938
6959
|
}, []), (...s) => {
|
|
@@ -6942,10 +6963,10 @@ function Ri(i, e = 500) {
|
|
|
6942
6963
|
clearTimeout(t.current), t.current = n;
|
|
6943
6964
|
};
|
|
6944
6965
|
}
|
|
6945
|
-
const
|
|
6966
|
+
const m1 = {
|
|
6946
6967
|
limit: 100,
|
|
6947
6968
|
offset: 0
|
|
6948
|
-
},
|
|
6969
|
+
}, y1 = r1(
|
|
6949
6970
|
({
|
|
6950
6971
|
loadOptions: i,
|
|
6951
6972
|
width: e,
|
|
@@ -6959,32 +6980,32 @@ const w1 = {
|
|
|
6959
6980
|
loadOnClosedState: g,
|
|
6960
6981
|
extraOptions: a
|
|
6961
6982
|
}, h) => {
|
|
6962
|
-
const [C, p] = I([]), [
|
|
6983
|
+
const [C, p] = I([]), [w, N] = I(m1), [x, V] = I(!1), [y, H] = I(null), f = $(
|
|
6963
6984
|
async (E = !1, W) => {
|
|
6964
|
-
if (!
|
|
6965
|
-
|
|
6985
|
+
if (!x) {
|
|
6986
|
+
V(!0);
|
|
6966
6987
|
try {
|
|
6967
|
-
const
|
|
6988
|
+
const P = E ? { ...m1, search: W } : w, j = await i(P);
|
|
6968
6989
|
p(
|
|
6969
|
-
(
|
|
6970
|
-
), H(j.count),
|
|
6971
|
-
...
|
|
6972
|
-
offset:
|
|
6990
|
+
(B) => E ? j.options : [...B, ...j.options]
|
|
6991
|
+
), H(j.count), N((B) => ({
|
|
6992
|
+
...B,
|
|
6993
|
+
offset: B.offset + B.limit
|
|
6973
6994
|
}));
|
|
6974
6995
|
} finally {
|
|
6975
|
-
|
|
6996
|
+
V(!1);
|
|
6976
6997
|
}
|
|
6977
6998
|
}
|
|
6978
6999
|
},
|
|
6979
|
-
[
|
|
6980
|
-
),
|
|
7000
|
+
[w, i, x]
|
|
7001
|
+
), m = yi(f), M = $(
|
|
6981
7002
|
(E) => {
|
|
6982
|
-
(E === "" || E === void 0 || E === null) &&
|
|
7003
|
+
(E === "" || E === void 0 || E === null) && N(m1), m(!0, E);
|
|
6983
7004
|
},
|
|
6984
|
-
[
|
|
6985
|
-
),
|
|
7005
|
+
[m]
|
|
7006
|
+
), R = async (E) => {
|
|
6986
7007
|
E && y !== null && y > C.length && await f(!1);
|
|
6987
|
-
},
|
|
7008
|
+
}, b = $(
|
|
6988
7009
|
(E) => {
|
|
6989
7010
|
E && !g && f(!1);
|
|
6990
7011
|
},
|
|
@@ -6994,7 +7015,7 @@ const w1 = {
|
|
|
6994
7015
|
Z(() => {
|
|
6995
7016
|
g && f(!1);
|
|
6996
7017
|
}, []);
|
|
6997
|
-
const
|
|
7018
|
+
const O = {
|
|
6998
7019
|
id: n,
|
|
6999
7020
|
width: e,
|
|
7000
7021
|
options: C,
|
|
@@ -7004,18 +7025,19 @@ const w1 = {
|
|
|
7004
7025
|
search: !0,
|
|
7005
7026
|
value: s,
|
|
7006
7027
|
onSearchChange: M,
|
|
7007
|
-
onDropdownVisibleChange:
|
|
7028
|
+
onDropdownVisibleChange: b,
|
|
7008
7029
|
scrollThresholdValue: c,
|
|
7009
|
-
onScrollToEnd:
|
|
7030
|
+
onScrollToEnd: R,
|
|
7010
7031
|
loadOnClosedState: g,
|
|
7011
7032
|
disabled: l,
|
|
7012
|
-
extraOptions: a
|
|
7033
|
+
extraOptions: a,
|
|
7034
|
+
isLoading: x
|
|
7013
7035
|
};
|
|
7014
|
-
return d ? /* @__PURE__ */ r(
|
|
7036
|
+
return d ? /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(M1, { ...O, onChange: t, value: s }) });
|
|
7015
7037
|
}
|
|
7016
7038
|
);
|
|
7017
|
-
var
|
|
7018
|
-
const
|
|
7039
|
+
var c1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(c1 || {});
|
|
7040
|
+
const bi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
7019
7041
|
const t = `no-repeat linear-gradient(${e}
|
|
7020
7042
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
7021
7043
|
width: i,
|
|
@@ -7024,20 +7046,20 @@ const Mi = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
|
7024
7046
|
};
|
|
7025
7047
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
7026
7048
|
};
|
|
7027
|
-
function
|
|
7049
|
+
function Ei() {
|
|
7028
7050
|
if (console && console.warn) {
|
|
7029
7051
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7030
7052
|
e[t] = arguments[t];
|
|
7031
|
-
|
|
7053
|
+
Y(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7032
7054
|
}
|
|
7033
7055
|
}
|
|
7034
|
-
const
|
|
7035
|
-
function
|
|
7056
|
+
const b1 = {};
|
|
7057
|
+
function v1() {
|
|
7036
7058
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7037
7059
|
e[t] = arguments[t];
|
|
7038
|
-
|
|
7060
|
+
Y(e[0]) && b1[e[0]] || (Y(e[0]) && (b1[e[0]] = /* @__PURE__ */ new Date()), Ei(...e));
|
|
7039
7061
|
}
|
|
7040
|
-
const
|
|
7062
|
+
const z1 = (i, e) => () => {
|
|
7041
7063
|
if (i.isInitialized)
|
|
7042
7064
|
e();
|
|
7043
7065
|
else {
|
|
@@ -7048,13 +7070,13 @@ const U1 = (i, e) => () => {
|
|
|
7048
7070
|
};
|
|
7049
7071
|
i.on("initialized", t);
|
|
7050
7072
|
}
|
|
7051
|
-
},
|
|
7052
|
-
i.loadNamespaces(e,
|
|
7053
|
-
},
|
|
7054
|
-
|
|
7073
|
+
}, E1 = (i, e, t) => {
|
|
7074
|
+
i.loadNamespaces(e, z1(i, t));
|
|
7075
|
+
}, V1 = (i, e, t, s) => {
|
|
7076
|
+
Y(t) && (t = [t]), t.forEach((n) => {
|
|
7055
7077
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7056
|
-
}), i.loadLanguages(e,
|
|
7057
|
-
},
|
|
7078
|
+
}), i.loadLanguages(e, z1(i, s));
|
|
7079
|
+
}, Vi = function(i, e) {
|
|
7058
7080
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7059
7081
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
7060
7082
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -7063,15 +7085,15 @@ const U1 = (i, e) => () => {
|
|
|
7063
7085
|
return g === -1 || g === 2;
|
|
7064
7086
|
};
|
|
7065
7087
|
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(l, i)));
|
|
7066
|
-
},
|
|
7088
|
+
}, _i = function(i, e) {
|
|
7067
7089
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7068
|
-
return !e.languages || !e.languages.length ? (
|
|
7090
|
+
return !e.languages || !e.languages.length ? (v1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7069
7091
|
lng: t.lng,
|
|
7070
7092
|
precheck: (n, l) => {
|
|
7071
7093
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
|
|
7072
7094
|
}
|
|
7073
|
-
}) :
|
|
7074
|
-
},
|
|
7095
|
+
}) : Vi(i, e, t);
|
|
7096
|
+
}, Y = (i) => typeof i == "string", Hi = (i) => typeof i == "object" && i !== null, Ii = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Si = {
|
|
7075
7097
|
"&": "&",
|
|
7076
7098
|
"&": "&",
|
|
7077
7099
|
"<": "<",
|
|
@@ -7092,8 +7114,8 @@ const U1 = (i, e) => () => {
|
|
|
7092
7114
|
"…": "…",
|
|
7093
7115
|
"/": "/",
|
|
7094
7116
|
"/": "/"
|
|
7095
|
-
},
|
|
7096
|
-
let
|
|
7117
|
+
}, Oi = (i) => Si[i], Ai = (i) => i.replace(Ii, Oi);
|
|
7118
|
+
let N1 = {
|
|
7097
7119
|
bindI18n: "languageChanged",
|
|
7098
7120
|
bindI18nStore: "",
|
|
7099
7121
|
transEmptyNodeValue: "",
|
|
@@ -7101,27 +7123,27 @@ let v1 = {
|
|
|
7101
7123
|
transWrapTextNodes: "",
|
|
7102
7124
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7103
7125
|
useSuspense: !0,
|
|
7104
|
-
unescape:
|
|
7126
|
+
unescape: Ai
|
|
7105
7127
|
};
|
|
7106
|
-
const
|
|
7128
|
+
const Bi = function() {
|
|
7107
7129
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7108
|
-
|
|
7109
|
-
...
|
|
7130
|
+
N1 = {
|
|
7131
|
+
...N1,
|
|
7110
7132
|
...i
|
|
7111
7133
|
};
|
|
7112
|
-
},
|
|
7113
|
-
let
|
|
7114
|
-
const
|
|
7115
|
-
|
|
7116
|
-
},
|
|
7134
|
+
}, Wi = () => N1;
|
|
7135
|
+
let J1;
|
|
7136
|
+
const ji = (i) => {
|
|
7137
|
+
J1 = i;
|
|
7138
|
+
}, Zi = () => J1, Di = {
|
|
7117
7139
|
type: "3rdParty",
|
|
7118
7140
|
init(i) {
|
|
7119
|
-
|
|
7141
|
+
Bi(i.options.react), ji(i);
|
|
7120
7142
|
}
|
|
7121
|
-
},
|
|
7122
|
-
class
|
|
7143
|
+
}, Ti = n1();
|
|
7144
|
+
class Gi {
|
|
7123
7145
|
constructor() {
|
|
7124
|
-
|
|
7146
|
+
R1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7125
7147
|
this.usedNamespaces = {};
|
|
7126
7148
|
}
|
|
7127
7149
|
addUsedNamespaces(e) {
|
|
@@ -7130,27 +7152,27 @@ class Di {
|
|
|
7130
7152
|
});
|
|
7131
7153
|
}
|
|
7132
7154
|
}
|
|
7133
|
-
const
|
|
7134
|
-
const t =
|
|
7155
|
+
const Ki = (i, e) => {
|
|
7156
|
+
const t = p1();
|
|
7135
7157
|
return Z(() => {
|
|
7136
7158
|
t.current = i;
|
|
7137
7159
|
}, [i, e]), t.current;
|
|
7138
|
-
},
|
|
7160
|
+
}, Q1 = (i, e, t, s) => i.getFixedT(e, t, s), Pi = (i, e, t, s) => $(Q1(i, e, t, s), [i, e, t, s]), $i = function(i) {
|
|
7139
7161
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7140
7162
|
const {
|
|
7141
7163
|
i18n: t
|
|
7142
7164
|
} = e, {
|
|
7143
7165
|
i18n: s,
|
|
7144
7166
|
defaultNS: n
|
|
7145
|
-
} =
|
|
7146
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
|
7147
|
-
|
|
7148
|
-
const f = (M,
|
|
7149
|
-
return
|
|
7167
|
+
} = o1(Ti) || {}, l = t || s || Zi();
|
|
7168
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new Gi()), !l) {
|
|
7169
|
+
v1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7170
|
+
const f = (M, R) => Y(R) ? R : Hi(R) && Y(R.defaultValue) ? R.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, m = [f, {}, !1];
|
|
7171
|
+
return m.t = f, m.i18n = {}, m.ready = !1, m;
|
|
7150
7172
|
}
|
|
7151
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
|
7173
|
+
l.options.react && l.options.react.wait !== void 0 && v1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7152
7174
|
const c = {
|
|
7153
|
-
...
|
|
7175
|
+
...Wi(),
|
|
7154
7176
|
...l.options.react,
|
|
7155
7177
|
...e
|
|
7156
7178
|
}, {
|
|
@@ -7158,36 +7180,36 @@ const Ti = (i, e) => {
|
|
|
7158
7180
|
keyPrefix: d
|
|
7159
7181
|
} = c;
|
|
7160
7182
|
let g = i;
|
|
7161
|
-
g =
|
|
7162
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) =>
|
|
7163
|
-
let
|
|
7164
|
-
e.lng && (
|
|
7165
|
-
const
|
|
7183
|
+
g = Y(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
7184
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => _i(f, l, c)), h = Pi(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), C = () => h, p = () => Q1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, N] = I(C);
|
|
7185
|
+
let x = g.join();
|
|
7186
|
+
e.lng && (x = `${e.lng}${x}`);
|
|
7187
|
+
const V = Ki(x), y = p1(!0);
|
|
7166
7188
|
Z(() => {
|
|
7167
7189
|
const {
|
|
7168
7190
|
bindI18n: f,
|
|
7169
|
-
bindI18nStore:
|
|
7191
|
+
bindI18nStore: m
|
|
7170
7192
|
} = c;
|
|
7171
|
-
y.current = !0, !a && !o && (e.lng ?
|
|
7172
|
-
y.current &&
|
|
7173
|
-
}) :
|
|
7174
|
-
y.current &&
|
|
7175
|
-
})), a &&
|
|
7193
|
+
y.current = !0, !a && !o && (e.lng ? V1(l, e.lng, g, () => {
|
|
7194
|
+
y.current && N(p);
|
|
7195
|
+
}) : E1(l, g, () => {
|
|
7196
|
+
y.current && N(p);
|
|
7197
|
+
})), a && V && V !== x && y.current && N(p);
|
|
7176
7198
|
const M = () => {
|
|
7177
|
-
y.current &&
|
|
7199
|
+
y.current && N(p);
|
|
7178
7200
|
};
|
|
7179
|
-
return f && l && l.on(f, M),
|
|
7180
|
-
y.current = !1, f && l && f.split(" ").forEach((
|
|
7201
|
+
return f && l && l.on(f, M), m && l && l.store.on(m, M), () => {
|
|
7202
|
+
y.current = !1, f && l && f.split(" ").forEach((R) => l.off(R, M)), m && l && m.split(" ").forEach((R) => l.store.off(R, M));
|
|
7181
7203
|
};
|
|
7182
|
-
}, [l,
|
|
7183
|
-
y.current && a &&
|
|
7204
|
+
}, [l, x]), Z(() => {
|
|
7205
|
+
y.current && a && N(C);
|
|
7184
7206
|
}, [l, d, a]);
|
|
7185
|
-
const H = [
|
|
7186
|
-
if (H.t =
|
|
7207
|
+
const H = [w, l, a];
|
|
7208
|
+
if (H.t = w, H.i18n = l, H.ready = a, a || !a && !o) return H;
|
|
7187
7209
|
throw new Promise((f) => {
|
|
7188
|
-
e.lng ?
|
|
7210
|
+
e.lng ? V1(l, e.lng, g, () => f()) : E1(l, g, () => f());
|
|
7189
7211
|
});
|
|
7190
|
-
},
|
|
7212
|
+
}, Fi = {
|
|
7191
7213
|
type: "logger",
|
|
7192
7214
|
log(i) {
|
|
7193
7215
|
this.output("log", i);
|
|
@@ -7202,14 +7224,14 @@ const Ti = (i, e) => {
|
|
|
7202
7224
|
console && console[i] && console[i].apply(console, e);
|
|
7203
7225
|
}
|
|
7204
7226
|
};
|
|
7205
|
-
class
|
|
7227
|
+
class d1 {
|
|
7206
7228
|
constructor(e) {
|
|
7207
7229
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7208
7230
|
this.init(e, t);
|
|
7209
7231
|
}
|
|
7210
7232
|
init(e) {
|
|
7211
7233
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7212
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
7234
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Fi, this.options = t, this.debug = t.debug;
|
|
7213
7235
|
}
|
|
7214
7236
|
log() {
|
|
7215
7237
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -7235,17 +7257,17 @@ class c1 {
|
|
|
7235
7257
|
return n && !this.debug ? null : (typeof e[0] == "string" && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
7236
7258
|
}
|
|
7237
7259
|
create(e) {
|
|
7238
|
-
return new
|
|
7260
|
+
return new d1(this.logger, {
|
|
7239
7261
|
prefix: `${this.prefix}:${e}:`,
|
|
7240
7262
|
...this.options
|
|
7241
7263
|
});
|
|
7242
7264
|
}
|
|
7243
7265
|
clone(e) {
|
|
7244
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
7266
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new d1(this.logger, e);
|
|
7245
7267
|
}
|
|
7246
7268
|
}
|
|
7247
|
-
var
|
|
7248
|
-
class
|
|
7269
|
+
var T = new d1();
|
|
7270
|
+
class f1 {
|
|
7249
7271
|
constructor() {
|
|
7250
7272
|
this.observers = {};
|
|
7251
7273
|
}
|
|
@@ -7279,63 +7301,63 @@ class p1 {
|
|
|
7279
7301
|
});
|
|
7280
7302
|
}
|
|
7281
7303
|
}
|
|
7282
|
-
const
|
|
7304
|
+
const t1 = () => {
|
|
7283
7305
|
let i, e;
|
|
7284
7306
|
const t = new Promise((s, n) => {
|
|
7285
7307
|
i = s, e = n;
|
|
7286
7308
|
});
|
|
7287
7309
|
return t.resolve = i, t.reject = e, t;
|
|
7288
|
-
},
|
|
7310
|
+
}, _1 = (i) => i == null ? "" : "" + i, Yi = (i, e, t) => {
|
|
7289
7311
|
i.forEach((s) => {
|
|
7290
7312
|
e[s] && (t[s] = e[s]);
|
|
7291
7313
|
});
|
|
7292
|
-
},
|
|
7314
|
+
}, Ui = /###/g, H1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Ui, ".") : i, I1 = (i) => !i || typeof i == "string", i1 = (i, e, t) => {
|
|
7293
7315
|
const s = typeof e != "string" ? e : e.split(".");
|
|
7294
7316
|
let n = 0;
|
|
7295
7317
|
for (; n < s.length - 1; ) {
|
|
7296
|
-
if (
|
|
7297
|
-
const l =
|
|
7318
|
+
if (I1(i)) return {};
|
|
7319
|
+
const l = H1(s[n]);
|
|
7298
7320
|
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
|
|
7299
7321
|
}
|
|
7300
|
-
return
|
|
7322
|
+
return I1(i) ? {} : {
|
|
7301
7323
|
obj: i,
|
|
7302
|
-
k:
|
|
7324
|
+
k: H1(s[n])
|
|
7303
7325
|
};
|
|
7304
|
-
},
|
|
7326
|
+
}, S1 = (i, e, t) => {
|
|
7305
7327
|
const {
|
|
7306
7328
|
obj: s,
|
|
7307
7329
|
k: n
|
|
7308
|
-
} =
|
|
7330
|
+
} = i1(i, e, Object);
|
|
7309
7331
|
if (s !== void 0 || e.length === 1) {
|
|
7310
7332
|
s[n] = t;
|
|
7311
7333
|
return;
|
|
7312
7334
|
}
|
|
7313
|
-
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o =
|
|
7335
|
+
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = i1(i, c, Object);
|
|
7314
7336
|
for (; o.obj === void 0 && c.length; )
|
|
7315
|
-
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o =
|
|
7337
|
+
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = i1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
|
|
7316
7338
|
o.obj[`${o.k}.${l}`] = t;
|
|
7317
|
-
},
|
|
7339
|
+
}, zi = (i, e, t, s) => {
|
|
7318
7340
|
const {
|
|
7319
7341
|
obj: n,
|
|
7320
7342
|
k: l
|
|
7321
|
-
} =
|
|
7343
|
+
} = i1(i, e, Object);
|
|
7322
7344
|
n[l] = n[l] || [], n[l].push(t);
|
|
7323
|
-
},
|
|
7345
|
+
}, g1 = (i, e) => {
|
|
7324
7346
|
const {
|
|
7325
7347
|
obj: t,
|
|
7326
7348
|
k: s
|
|
7327
|
-
} =
|
|
7349
|
+
} = i1(i, e);
|
|
7328
7350
|
if (t)
|
|
7329
7351
|
return t[s];
|
|
7330
|
-
},
|
|
7331
|
-
const s =
|
|
7332
|
-
return s !== void 0 ? s :
|
|
7333
|
-
},
|
|
7352
|
+
}, Ji = (i, e, t) => {
|
|
7353
|
+
const s = g1(i, t);
|
|
7354
|
+
return s !== void 0 ? s : g1(e, t);
|
|
7355
|
+
}, q1 = (i, e, t) => {
|
|
7334
7356
|
for (const s in e)
|
|
7335
|
-
s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) :
|
|
7357
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : q1(i[s], e[s], t) : i[s] = e[s]);
|
|
7336
7358
|
return i;
|
|
7337
7359
|
}, z = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
7338
|
-
var
|
|
7360
|
+
var Qi = {
|
|
7339
7361
|
"&": "&",
|
|
7340
7362
|
"<": "<",
|
|
7341
7363
|
">": ">",
|
|
@@ -7343,8 +7365,8 @@ var zi = {
|
|
|
7343
7365
|
"'": "'",
|
|
7344
7366
|
"/": "/"
|
|
7345
7367
|
};
|
|
7346
|
-
const
|
|
7347
|
-
class
|
|
7368
|
+
const qi = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => Qi[e]) : i;
|
|
7369
|
+
class Xi {
|
|
7348
7370
|
constructor(e) {
|
|
7349
7371
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
7350
7372
|
}
|
|
@@ -7356,18 +7378,18 @@ class Qi {
|
|
|
7356
7378
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
7357
7379
|
}
|
|
7358
7380
|
}
|
|
7359
|
-
const
|
|
7381
|
+
const e5 = [" ", ",", "?", "!", ";"], t5 = new Xi(20), i5 = (i, e, t) => {
|
|
7360
7382
|
e = e || "", t = t || "";
|
|
7361
|
-
const s =
|
|
7383
|
+
const s = e5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
7362
7384
|
if (s.length === 0) return !0;
|
|
7363
|
-
const n =
|
|
7385
|
+
const n = t5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
7364
7386
|
let l = !n.test(i);
|
|
7365
7387
|
if (!l) {
|
|
7366
7388
|
const c = i.indexOf(t);
|
|
7367
7389
|
c > 0 && !n.test(i.substring(0, c)) && (l = !0);
|
|
7368
7390
|
}
|
|
7369
7391
|
return l;
|
|
7370
|
-
},
|
|
7392
|
+
}, x1 = function(i, e) {
|
|
7371
7393
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
7372
7394
|
if (!i) return;
|
|
7373
7395
|
if (i[e]) return i[e];
|
|
@@ -7387,8 +7409,8 @@ const qi = [" ", ",", "?", "!", ";"], Xi = new Qi(20), e5 = (i, e, t) => {
|
|
|
7387
7409
|
n = c;
|
|
7388
7410
|
}
|
|
7389
7411
|
return n;
|
|
7390
|
-
},
|
|
7391
|
-
class
|
|
7412
|
+
}, u1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
|
|
7413
|
+
class O1 extends f1 {
|
|
7392
7414
|
constructor(e) {
|
|
7393
7415
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
7394
7416
|
ns: ["translation"],
|
|
@@ -7408,8 +7430,8 @@ class S1 extends p1 {
|
|
|
7408
7430
|
const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
7409
7431
|
let o;
|
|
7410
7432
|
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : typeof s == "string" && l ? o.push(...s.split(l)) : o.push(s)));
|
|
7411
|
-
const d =
|
|
7412
|
-
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d :
|
|
7433
|
+
const d = g1(this.data, o);
|
|
7434
|
+
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : x1(this.data && this.data[e] && this.data[e][t], s, l);
|
|
7413
7435
|
}
|
|
7414
7436
|
addResource(e, t, s, n) {
|
|
7415
7437
|
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -7417,7 +7439,7 @@ class S1 extends p1 {
|
|
|
7417
7439
|
};
|
|
7418
7440
|
const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
|
|
7419
7441
|
let o = [e, t];
|
|
7420
|
-
s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t),
|
|
7442
|
+
s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), S1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
|
|
7421
7443
|
}
|
|
7422
7444
|
addResources(e, t, s) {
|
|
7423
7445
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -7435,11 +7457,11 @@ class S1 extends p1 {
|
|
|
7435
7457
|
skipCopy: !1
|
|
7436
7458
|
}, o = [e, t];
|
|
7437
7459
|
e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
|
|
7438
|
-
let d =
|
|
7439
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ?
|
|
7460
|
+
let d = g1(this.data, o) || {};
|
|
7461
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? q1(d, s, l) : d = {
|
|
7440
7462
|
...d,
|
|
7441
7463
|
...s
|
|
7442
|
-
},
|
|
7464
|
+
}, S1(this.data, o, d), c.silent || this.emit("added", e, t, s);
|
|
7443
7465
|
}
|
|
7444
7466
|
removeResourceBundle(e, t) {
|
|
7445
7467
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -7463,7 +7485,7 @@ class S1 extends p1 {
|
|
|
7463
7485
|
return this.data;
|
|
7464
7486
|
}
|
|
7465
7487
|
}
|
|
7466
|
-
var
|
|
7488
|
+
var X1 = {
|
|
7467
7489
|
processors: {},
|
|
7468
7490
|
addPostProcessor(i) {
|
|
7469
7491
|
this.processors[i.name] = i;
|
|
@@ -7474,11 +7496,11 @@ var q1 = {
|
|
|
7474
7496
|
}), e;
|
|
7475
7497
|
}
|
|
7476
7498
|
};
|
|
7477
|
-
const
|
|
7478
|
-
class
|
|
7499
|
+
const A1 = {};
|
|
7500
|
+
class C1 extends f1 {
|
|
7479
7501
|
constructor(e) {
|
|
7480
7502
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7481
|
-
super(),
|
|
7503
|
+
super(), Yi(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = T.create("translator");
|
|
7482
7504
|
}
|
|
7483
7505
|
changeLanguage(e) {
|
|
7484
7506
|
e && (this.language = e);
|
|
@@ -7497,7 +7519,7 @@ class u1 extends p1 {
|
|
|
7497
7519
|
s === void 0 && (s = ":");
|
|
7498
7520
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
7499
7521
|
let l = t.ns || this.options.defaultNS || [];
|
|
7500
|
-
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
7522
|
+
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !i5(e, s, n);
|
|
7501
7523
|
if (c && !o) {
|
|
7502
7524
|
const d = e.match(this.interpolator.nestingRegexp);
|
|
7503
7525
|
if (d && d.length > 0)
|
|
@@ -7545,8 +7567,8 @@ class u1 extends p1 {
|
|
|
7545
7567
|
}
|
|
7546
7568
|
const h = this.resolve(e, t);
|
|
7547
7569
|
let C = h && h.res;
|
|
7548
|
-
const p = h && h.usedKey || c,
|
|
7549
|
-
if (y && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") &&
|
|
7570
|
+
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, N = Object.prototype.toString.apply(C), x = ["[object Number]", "[object Function]", "[object RegExp]"], V = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
7571
|
+
if (y && C && (typeof C != "string" && typeof C != "boolean" && typeof C != "number") && x.indexOf(N) < 0 && !(typeof V == "string" && Array.isArray(C))) {
|
|
7550
7572
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
7551
7573
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
7552
7574
|
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, C, {
|
|
@@ -7556,53 +7578,53 @@ class u1 extends p1 {
|
|
|
7556
7578
|
return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
|
|
7557
7579
|
}
|
|
7558
7580
|
if (l) {
|
|
7559
|
-
const f = Array.isArray(C),
|
|
7560
|
-
for (const
|
|
7561
|
-
if (Object.prototype.hasOwnProperty.call(C,
|
|
7562
|
-
const
|
|
7563
|
-
|
|
7581
|
+
const f = Array.isArray(C), m = f ? [] : {}, M = f ? w : p;
|
|
7582
|
+
for (const R in C)
|
|
7583
|
+
if (Object.prototype.hasOwnProperty.call(C, R)) {
|
|
7584
|
+
const b = `${M}${l}${R}`;
|
|
7585
|
+
m[R] = this.translate(b, {
|
|
7564
7586
|
...t,
|
|
7565
7587
|
joinArrays: !1,
|
|
7566
7588
|
ns: o
|
|
7567
|
-
}),
|
|
7589
|
+
}), m[R] === b && (m[R] = C[R]);
|
|
7568
7590
|
}
|
|
7569
|
-
C =
|
|
7591
|
+
C = m;
|
|
7570
7592
|
}
|
|
7571
|
-
} else if (y && typeof
|
|
7572
|
-
C = C.join(
|
|
7593
|
+
} else if (y && typeof V == "string" && Array.isArray(C))
|
|
7594
|
+
C = C.join(V), C && (C = this.extendTranslation(C, e, t, s));
|
|
7573
7595
|
else {
|
|
7574
|
-
let f = !1,
|
|
7575
|
-
const M = t.count !== void 0 && typeof t.count != "string",
|
|
7596
|
+
let f = !1, m = !1;
|
|
7597
|
+
const M = t.count !== void 0 && typeof t.count != "string", R = C1.hasDefaultValue(t), b = M ? this.pluralResolver.getSuffix(g, t.count, t) : "", O = t.ordinal && M ? this.pluralResolver.getSuffix(g, t.count, {
|
|
7576
7598
|
ordinal: !1
|
|
7577
|
-
}) : "", E = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = E && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${
|
|
7578
|
-
!this.isValidLookup(C) &&
|
|
7579
|
-
const j = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
7580
|
-
if (
|
|
7581
|
-
if (this.logger.log(
|
|
7599
|
+
}) : "", E = M && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = E && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${b}`] || t[`defaultValue${O}`] || t.defaultValue;
|
|
7600
|
+
!this.isValidLookup(C) && R && (f = !0, C = W), this.isValidLookup(C) || (m = !0, C = c);
|
|
7601
|
+
const j = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && m ? void 0 : C, B = R && W !== C && this.options.updateMissing;
|
|
7602
|
+
if (m || f || B) {
|
|
7603
|
+
if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? W : C), l) {
|
|
7582
7604
|
const A = this.resolve(c, {
|
|
7583
7605
|
...t,
|
|
7584
7606
|
keySeparator: !1
|
|
7585
7607
|
});
|
|
7586
7608
|
A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
7587
7609
|
}
|
|
7588
|
-
let
|
|
7589
|
-
const
|
|
7590
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
7591
|
-
for (let A = 0; A <
|
|
7592
|
-
|
|
7593
|
-
else this.options.saveMissingTo === "all" ?
|
|
7594
|
-
const
|
|
7595
|
-
const
|
|
7596
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d,
|
|
7610
|
+
let D = [];
|
|
7611
|
+
const U = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
7612
|
+
if (this.options.saveMissingTo === "fallback" && U && U[0])
|
|
7613
|
+
for (let A = 0; A < U.length; A++)
|
|
7614
|
+
D.push(U[A]);
|
|
7615
|
+
else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
|
|
7616
|
+
const X = (A, G, F) => {
|
|
7617
|
+
const e1 = R && F !== C ? F : j;
|
|
7618
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, G, e1, B, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, G, e1, B, t), this.emit("missingKey", A, d, G, C);
|
|
7597
7619
|
};
|
|
7598
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && M ?
|
|
7599
|
-
const
|
|
7600
|
-
E && t[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
7601
|
-
|
|
7620
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && M ? D.forEach((A) => {
|
|
7621
|
+
const G = this.pluralResolver.getSuffixes(A, t);
|
|
7622
|
+
E && t[`defaultValue${this.options.pluralSeparator}zero`] && G.indexOf(`${this.options.pluralSeparator}zero`) < 0 && G.push(`${this.options.pluralSeparator}zero`), G.forEach((F) => {
|
|
7623
|
+
X([A], c + F, t[`defaultValue${F}`] || W);
|
|
7602
7624
|
});
|
|
7603
|
-
}) :
|
|
7625
|
+
}) : X(D, c, W));
|
|
7604
7626
|
}
|
|
7605
|
-
C = this.extendTranslation(C, e, t, h, s),
|
|
7627
|
+
C = this.extendTranslation(C, e, t, h, s), m && C === c && this.options.appendNamespaceToMissingKey && (C = `${d}:${c}`), (m || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? C = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? C : void 0) : C = this.options.parseMissingKeyHandler(C));
|
|
7606
7628
|
}
|
|
7607
7629
|
return n ? (h.res = C, h.usedParams = this.getUsedParamsDetails(t), h) : C;
|
|
7608
7630
|
}
|
|
@@ -7638,13 +7660,13 @@ class u1 extends p1 {
|
|
|
7638
7660
|
a < p && (s.nest = !1);
|
|
7639
7661
|
}
|
|
7640
7662
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
7641
|
-
for (var C = arguments.length, p = new Array(C),
|
|
7642
|
-
p[
|
|
7663
|
+
for (var C = arguments.length, p = new Array(C), w = 0; w < C; w++)
|
|
7664
|
+
p[w] = arguments[w];
|
|
7643
7665
|
return l && l[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
|
|
7644
7666
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
7645
7667
|
}
|
|
7646
7668
|
const o = s.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
|
|
7647
|
-
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e =
|
|
7669
|
+
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = X1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
7648
7670
|
i18nResolved: {
|
|
7649
7671
|
...n,
|
|
7650
7672
|
usedParams: this.getUsedParamsDetails(s)
|
|
@@ -7660,26 +7682,26 @@ class u1 extends p1 {
|
|
|
7660
7682
|
n = a;
|
|
7661
7683
|
let h = g.namespaces;
|
|
7662
7684
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
7663
|
-
const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
7664
|
-
h.forEach((
|
|
7665
|
-
this.isValidLookup(s) || (o =
|
|
7685
|
+
const C = t.count !== void 0 && typeof t.count != "string", p = C && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
7686
|
+
h.forEach((x) => {
|
|
7687
|
+
this.isValidLookup(s) || (o = x, !A1[`${N[0]}-${x}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (A1[`${N[0]}-${x}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" 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!!!")), N.forEach((V) => {
|
|
7666
7688
|
if (this.isValidLookup(s)) return;
|
|
7667
|
-
c =
|
|
7689
|
+
c = V;
|
|
7668
7690
|
const y = [a];
|
|
7669
7691
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
7670
|
-
this.i18nFormat.addLookupKeys(y, a,
|
|
7692
|
+
this.i18nFormat.addLookupKeys(y, a, V, x, t);
|
|
7671
7693
|
else {
|
|
7672
7694
|
let f;
|
|
7673
|
-
C && (f = this.pluralResolver.getSuffix(
|
|
7674
|
-
const
|
|
7675
|
-
if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a +
|
|
7676
|
-
const
|
|
7677
|
-
y.push(
|
|
7695
|
+
C && (f = this.pluralResolver.getSuffix(V, t.count, t));
|
|
7696
|
+
const m = `${this.options.pluralSeparator}zero`, M = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
7697
|
+
if (C && (y.push(a + f), t.ordinal && f.indexOf(M) === 0 && y.push(a + f.replace(M, this.options.pluralSeparator)), p && y.push(a + m)), w) {
|
|
7698
|
+
const R = `${a}${this.options.contextSeparator}${t.context}`;
|
|
7699
|
+
y.push(R), C && (y.push(R + f), t.ordinal && f.indexOf(M) === 0 && y.push(R + f.replace(M, this.options.pluralSeparator)), p && y.push(R + m));
|
|
7678
7700
|
}
|
|
7679
7701
|
}
|
|
7680
7702
|
let H;
|
|
7681
7703
|
for (; H = y.pop(); )
|
|
7682
|
-
this.isValidLookup(s) || (l = H, s = this.getResource(
|
|
7704
|
+
this.isValidLookup(s) || (l = H, s = this.getResource(V, x, H, t));
|
|
7683
7705
|
}));
|
|
7684
7706
|
});
|
|
7685
7707
|
}), {
|
|
@@ -7721,18 +7743,18 @@ class u1 extends p1 {
|
|
|
7721
7743
|
return !1;
|
|
7722
7744
|
}
|
|
7723
7745
|
}
|
|
7724
|
-
const
|
|
7725
|
-
class
|
|
7746
|
+
const k1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
7747
|
+
class B1 {
|
|
7726
7748
|
constructor(e) {
|
|
7727
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
7749
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = T.create("languageUtils");
|
|
7728
7750
|
}
|
|
7729
7751
|
getScriptPartFromCode(e) {
|
|
7730
|
-
if (e =
|
|
7752
|
+
if (e = u1(e), !e || e.indexOf("-") < 0) return null;
|
|
7731
7753
|
const t = e.split("-");
|
|
7732
7754
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
7733
7755
|
}
|
|
7734
7756
|
getLanguagePartFromCode(e) {
|
|
7735
|
-
if (e =
|
|
7757
|
+
if (e = u1(e), !e || e.indexOf("-") < 0) return e;
|
|
7736
7758
|
const t = e.split("-");
|
|
7737
7759
|
return this.formatLanguageCode(t[0]);
|
|
7738
7760
|
}
|
|
@@ -7740,7 +7762,7 @@ class A1 {
|
|
|
7740
7762
|
if (typeof e == "string" && e.indexOf("-") > -1) {
|
|
7741
7763
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
7742
7764
|
let s = e.split("-");
|
|
7743
|
-
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] =
|
|
7765
|
+
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = k1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = k1(s[2].toLowerCase()))), s.join("-");
|
|
7744
7766
|
}
|
|
7745
7767
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
7746
7768
|
}
|
|
@@ -7781,7 +7803,7 @@ class A1 {
|
|
|
7781
7803
|
}), n;
|
|
7782
7804
|
}
|
|
7783
7805
|
}
|
|
7784
|
-
let
|
|
7806
|
+
let s5 = [{
|
|
7785
7807
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
7786
7808
|
nr: [1, 2],
|
|
7787
7809
|
fc: 1
|
|
@@ -7873,7 +7895,7 @@ let t5 = [{
|
|
|
7873
7895
|
lngs: ["he", "iw"],
|
|
7874
7896
|
nr: [1, 2, 20, 21],
|
|
7875
7897
|
fc: 22
|
|
7876
|
-
}],
|
|
7898
|
+
}], n5 = {
|
|
7877
7899
|
1: (i) => +(i > 1),
|
|
7878
7900
|
2: (i) => +(i != 1),
|
|
7879
7901
|
3: (i) => 0,
|
|
@@ -7897,28 +7919,28 @@ let t5 = [{
|
|
|
7897
7919
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
7898
7920
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
7899
7921
|
};
|
|
7900
|
-
const
|
|
7922
|
+
const r5 = ["v1", "v2", "v3"], o5 = ["v4"], W1 = {
|
|
7901
7923
|
zero: 0,
|
|
7902
7924
|
one: 1,
|
|
7903
7925
|
two: 2,
|
|
7904
7926
|
few: 3,
|
|
7905
7927
|
many: 4,
|
|
7906
7928
|
other: 5
|
|
7907
|
-
},
|
|
7929
|
+
}, l5 = () => {
|
|
7908
7930
|
const i = {};
|
|
7909
|
-
return
|
|
7931
|
+
return s5.forEach((e) => {
|
|
7910
7932
|
e.lngs.forEach((t) => {
|
|
7911
7933
|
i[t] = {
|
|
7912
7934
|
numbers: e.nr,
|
|
7913
|
-
plurals:
|
|
7935
|
+
plurals: n5[e.fc]
|
|
7914
7936
|
};
|
|
7915
7937
|
});
|
|
7916
7938
|
}), i;
|
|
7917
7939
|
};
|
|
7918
|
-
class
|
|
7940
|
+
class a5 {
|
|
7919
7941
|
constructor(e) {
|
|
7920
7942
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7921
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
7943
|
+
this.languageUtils = e, this.options = t, this.logger = T.create("pluralResolver"), (!this.options.compatibilityJSON || o5.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 = l5(), this.pluralRulesCache = {};
|
|
7922
7944
|
}
|
|
7923
7945
|
addRule(e, t) {
|
|
7924
7946
|
this.rules[e] = t;
|
|
@@ -7930,7 +7952,7 @@ class o5 {
|
|
|
7930
7952
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7931
7953
|
if (this.shouldUseIntlApi())
|
|
7932
7954
|
try {
|
|
7933
|
-
const s =
|
|
7955
|
+
const s = u1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
|
|
7934
7956
|
cleanedCode: s,
|
|
7935
7957
|
type: n
|
|
7936
7958
|
});
|
|
@@ -7957,7 +7979,7 @@ class o5 {
|
|
|
7957
7979
|
getSuffixes(e) {
|
|
7958
7980
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7959
7981
|
const s = this.getRule(e, t);
|
|
7960
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) =>
|
|
7982
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => W1[n] - W1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
7961
7983
|
}
|
|
7962
7984
|
getSuffix(e, t) {
|
|
7963
7985
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -7972,17 +7994,17 @@ class o5 {
|
|
|
7972
7994
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
7973
7995
|
}
|
|
7974
7996
|
shouldUseIntlApi() {
|
|
7975
|
-
return !
|
|
7997
|
+
return !r5.includes(this.options.compatibilityJSON);
|
|
7976
7998
|
}
|
|
7977
7999
|
}
|
|
7978
|
-
const
|
|
7979
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
|
7980
|
-
return !l && n && typeof t == "string" && (l =
|
|
7981
|
-
},
|
|
7982
|
-
class
|
|
8000
|
+
const j1 = function(i, e, t) {
|
|
8001
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = Ji(i, e, t);
|
|
8002
|
+
return !l && n && typeof t == "string" && (l = x1(i, t, s), l === void 0 && (l = x1(e, t, s))), l;
|
|
8003
|
+
}, L1 = (i) => i.replace(/\$/g, "$$$$");
|
|
8004
|
+
class h5 {
|
|
7983
8005
|
constructor() {
|
|
7984
8006
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7985
|
-
this.logger =
|
|
8007
|
+
this.logger = T.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
7986
8008
|
}
|
|
7987
8009
|
init() {
|
|
7988
8010
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -8002,13 +8024,13 @@ class l5 {
|
|
|
8002
8024
|
unescapePrefix: h,
|
|
8003
8025
|
nestingPrefix: C,
|
|
8004
8026
|
nestingPrefixEscaped: p,
|
|
8005
|
-
nestingSuffix:
|
|
8006
|
-
nestingSuffixEscaped:
|
|
8007
|
-
nestingOptionsSeparator:
|
|
8008
|
-
maxReplaces:
|
|
8027
|
+
nestingSuffix: w,
|
|
8028
|
+
nestingSuffixEscaped: N,
|
|
8029
|
+
nestingOptionsSeparator: x,
|
|
8030
|
+
maxReplaces: V,
|
|
8009
8031
|
alwaysFormat: y
|
|
8010
8032
|
} = e.interpolation;
|
|
8011
|
-
this.escape = t !== void 0 ? t :
|
|
8033
|
+
this.escape = t !== void 0 ? t : qi, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? z(l) : c || "{{", this.suffix = o ? z(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = C ? z(C) : p || z("$t("), this.nestingSuffix = w ? z(w) : N || z(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = V || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
8012
8034
|
}
|
|
8013
8035
|
reset() {
|
|
8014
8036
|
this.options && this.init(this.options);
|
|
@@ -8021,45 +8043,45 @@ class l5 {
|
|
|
8021
8043
|
let l, c, o;
|
|
8022
8044
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
|
8023
8045
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
8024
|
-
const
|
|
8025
|
-
return this.alwaysFormat ? this.format(
|
|
8046
|
+
const V = j1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
8047
|
+
return this.alwaysFormat ? this.format(V, void 0, s, {
|
|
8026
8048
|
...n,
|
|
8027
8049
|
...t,
|
|
8028
8050
|
interpolationkey: p
|
|
8029
|
-
}) :
|
|
8051
|
+
}) : V;
|
|
8030
8052
|
}
|
|
8031
|
-
const
|
|
8032
|
-
return this.format(
|
|
8053
|
+
const w = p.split(this.formatSeparator), N = w.shift().trim(), x = w.join(this.formatSeparator).trim();
|
|
8054
|
+
return this.format(j1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), x, s, {
|
|
8033
8055
|
...n,
|
|
8034
8056
|
...t,
|
|
8035
|
-
interpolationkey:
|
|
8057
|
+
interpolationkey: N
|
|
8036
8058
|
});
|
|
8037
8059
|
};
|
|
8038
8060
|
this.resetRegExp();
|
|
8039
8061
|
const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
8040
8062
|
return [{
|
|
8041
8063
|
regex: this.regexpUnescape,
|
|
8042
|
-
safeValue: (p) =>
|
|
8064
|
+
safeValue: (p) => L1(p)
|
|
8043
8065
|
}, {
|
|
8044
8066
|
regex: this.regexp,
|
|
8045
|
-
safeValue: (p) => this.escapeValue ?
|
|
8067
|
+
safeValue: (p) => this.escapeValue ? L1(this.escape(p)) : L1(p)
|
|
8046
8068
|
}].forEach((p) => {
|
|
8047
8069
|
for (o = 0; l = p.regex.exec(e); ) {
|
|
8048
|
-
const
|
|
8049
|
-
if (c = g(
|
|
8070
|
+
const w = l[1].trim();
|
|
8071
|
+
if (c = g(w), c === void 0)
|
|
8050
8072
|
if (typeof a == "function") {
|
|
8051
|
-
const
|
|
8052
|
-
c = typeof
|
|
8053
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
8073
|
+
const x = a(e, l, n);
|
|
8074
|
+
c = typeof x == "string" ? x : "";
|
|
8075
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, w))
|
|
8054
8076
|
c = "";
|
|
8055
8077
|
else if (h) {
|
|
8056
8078
|
c = l[0];
|
|
8057
8079
|
continue;
|
|
8058
8080
|
} else
|
|
8059
|
-
this.logger.warn(`missed to pass in variable ${
|
|
8060
|
-
else typeof c != "string" && !this.useRawValueToEscape && (c =
|
|
8061
|
-
const
|
|
8062
|
-
if (e = e.replace(l[0],
|
|
8081
|
+
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
|
8082
|
+
else typeof c != "string" && !this.useRawValueToEscape && (c = _1(c));
|
|
8083
|
+
const N = p.safeValue(c);
|
|
8084
|
+
if (e = e.replace(l[0], N), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
8063
8085
|
break;
|
|
8064
8086
|
}
|
|
8065
8087
|
}), e;
|
|
@@ -8072,15 +8094,15 @@ class l5 {
|
|
|
8072
8094
|
const h = d.split(new RegExp(`${a}[ ]*{`));
|
|
8073
8095
|
let C = `{${h[1]}`;
|
|
8074
8096
|
d = h[0], C = this.interpolate(C, c);
|
|
8075
|
-
const p = C.match(/'/g),
|
|
8076
|
-
(p && p.length % 2 === 0 && !
|
|
8097
|
+
const p = C.match(/'/g), w = C.match(/"/g);
|
|
8098
|
+
(p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (C = C.replace(/'/g, '"'));
|
|
8077
8099
|
try {
|
|
8078
8100
|
c = JSON.parse(C), g && (c = {
|
|
8079
8101
|
...g,
|
|
8080
8102
|
...c
|
|
8081
8103
|
});
|
|
8082
|
-
} catch (
|
|
8083
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${d}`,
|
|
8104
|
+
} catch (N) {
|
|
8105
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${a}${C}`;
|
|
8084
8106
|
}
|
|
8085
8107
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
|
|
8086
8108
|
};
|
|
@@ -8095,7 +8117,7 @@ class l5 {
|
|
|
8095
8117
|
n[1] = a.shift(), d = a, g = !0;
|
|
8096
8118
|
}
|
|
8097
8119
|
if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && typeof l != "string") return l;
|
|
8098
|
-
typeof l != "string" && (l =
|
|
8120
|
+
typeof l != "string" && (l = _1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
|
|
8099
8121
|
...s,
|
|
8100
8122
|
interpolationkey: n[1].trim()
|
|
8101
8123
|
}), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
|
|
@@ -8103,7 +8125,7 @@ class l5 {
|
|
|
8103
8125
|
return e;
|
|
8104
8126
|
}
|
|
8105
8127
|
}
|
|
8106
|
-
const
|
|
8128
|
+
const c5 = (i) => {
|
|
8107
8129
|
let e = i.toLowerCase().trim();
|
|
8108
8130
|
const t = {};
|
|
8109
8131
|
if (i.indexOf("(") > -1) {
|
|
@@ -8131,13 +8153,13 @@ const a5 = (i) => {
|
|
|
8131
8153
|
});
|
|
8132
8154
|
const c = s + JSON.stringify(l);
|
|
8133
8155
|
let o = e[c];
|
|
8134
|
-
return o || (o = i(
|
|
8156
|
+
return o || (o = i(u1(s), n), e[c] = o), o(t);
|
|
8135
8157
|
};
|
|
8136
8158
|
};
|
|
8137
|
-
class
|
|
8159
|
+
class d5 {
|
|
8138
8160
|
constructor() {
|
|
8139
8161
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8140
|
-
this.logger =
|
|
8162
|
+
this.logger = T.create("formatter"), this.options = e, this.formats = {
|
|
8141
8163
|
number: J((t, s) => {
|
|
8142
8164
|
const n = new Intl.NumberFormat(t, {
|
|
8143
8165
|
...s
|
|
@@ -8194,7 +8216,7 @@ class h5 {
|
|
|
8194
8216
|
const {
|
|
8195
8217
|
formatName: g,
|
|
8196
8218
|
formatOptions: a
|
|
8197
|
-
} =
|
|
8219
|
+
} = c5(d);
|
|
8198
8220
|
if (this.formats[g]) {
|
|
8199
8221
|
let h = o;
|
|
8200
8222
|
try {
|
|
@@ -8214,13 +8236,13 @@ class h5 {
|
|
|
8214
8236
|
}, e);
|
|
8215
8237
|
}
|
|
8216
8238
|
}
|
|
8217
|
-
const
|
|
8239
|
+
const g5 = (i, e) => {
|
|
8218
8240
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
8219
8241
|
};
|
|
8220
|
-
class
|
|
8242
|
+
class u5 extends f1 {
|
|
8221
8243
|
constructor(e, t, s) {
|
|
8222
8244
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
8223
|
-
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger =
|
|
8245
|
+
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = T.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);
|
|
8224
8246
|
}
|
|
8225
8247
|
queueLoad(e, t, s, n) {
|
|
8226
8248
|
const l = {}, c = {}, o = {}, d = {};
|
|
@@ -8250,7 +8272,7 @@ class d5 extends p1 {
|
|
|
8250
8272
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
8251
8273
|
const o = {};
|
|
8252
8274
|
this.queue.forEach((d) => {
|
|
8253
|
-
|
|
8275
|
+
zi(d.loaded, [l], c), g5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
|
8254
8276
|
o[g] || (o[g] = {});
|
|
8255
8277
|
const a = d.loaded[g];
|
|
8256
8278
|
a.length && a.forEach((h) => {
|
|
@@ -8352,7 +8374,7 @@ class d5 extends p1 {
|
|
|
8352
8374
|
}
|
|
8353
8375
|
}
|
|
8354
8376
|
}
|
|
8355
|
-
const
|
|
8377
|
+
const Z1 = () => ({
|
|
8356
8378
|
debug: !1,
|
|
8357
8379
|
initImmediate: !0,
|
|
8358
8380
|
ns: ["translation"],
|
|
@@ -8408,18 +8430,18 @@ const j1 = () => ({
|
|
|
8408
8430
|
maxReplaces: 1e3,
|
|
8409
8431
|
skipOnVariables: !0
|
|
8410
8432
|
}
|
|
8411
|
-
}),
|
|
8412
|
-
},
|
|
8433
|
+
}), D1 = (i) => (typeof i.ns == "string" && (i.ns = [i.ns]), typeof i.fallbackLng == "string" && (i.fallbackLng = [i.fallbackLng]), typeof i.fallbackNS == "string" && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), a1 = () => {
|
|
8434
|
+
}, C5 = (i) => {
|
|
8413
8435
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
8414
8436
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
8415
8437
|
});
|
|
8416
8438
|
};
|
|
8417
|
-
class
|
|
8439
|
+
class s1 extends f1 {
|
|
8418
8440
|
constructor() {
|
|
8419
8441
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
8420
|
-
if (super(), this.options =
|
|
8442
|
+
if (super(), this.options = D1(e), this.services = {}, this.logger = T, this.modules = {
|
|
8421
8443
|
external: []
|
|
8422
|
-
},
|
|
8444
|
+
}, C5(this), t && !this.isInitialized && !e.isClone) {
|
|
8423
8445
|
if (!this.options.initImmediate)
|
|
8424
8446
|
return this.init(e, t), this;
|
|
8425
8447
|
setTimeout(() => {
|
|
@@ -8431,42 +8453,42 @@ class t1 extends p1 {
|
|
|
8431
8453
|
var e = this;
|
|
8432
8454
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
8433
8455
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
8434
|
-
const n =
|
|
8456
|
+
const n = Z1();
|
|
8435
8457
|
this.options = {
|
|
8436
8458
|
...n,
|
|
8437
8459
|
...this.options,
|
|
8438
|
-
...
|
|
8460
|
+
...D1(t)
|
|
8439
8461
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
8440
8462
|
...n.interpolation,
|
|
8441
8463
|
...this.options.interpolation
|
|
8442
8464
|
}), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
8443
8465
|
const l = (a) => a ? typeof a == "function" ? new a() : a : null;
|
|
8444
8466
|
if (!this.options.isClone) {
|
|
8445
|
-
this.modules.logger ?
|
|
8467
|
+
this.modules.logger ? T.init(l(this.modules.logger), this.options) : T.init(null, this.options);
|
|
8446
8468
|
let a;
|
|
8447
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
|
8448
|
-
const h = new
|
|
8449
|
-
this.store = new
|
|
8469
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = d5);
|
|
8470
|
+
const h = new B1(this.options);
|
|
8471
|
+
this.store = new O1(this.options.resources, this.options);
|
|
8450
8472
|
const C = this.services;
|
|
8451
|
-
C.logger =
|
|
8473
|
+
C.logger = T, C.resourceStore = this.store, C.languageUtils = h, C.pluralResolver = new a5(h, {
|
|
8452
8474
|
prepend: this.options.pluralSeparator,
|
|
8453
8475
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
8454
8476
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
8455
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new
|
|
8477
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (C.formatter = l(a), C.formatter.init(C, this.options), this.options.interpolation.format = C.formatter.format.bind(C.formatter)), C.interpolator = new h5(this.options), C.utils = {
|
|
8456
8478
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
8457
|
-
}, C.backendConnector = new
|
|
8458
|
-
for (var
|
|
8459
|
-
x
|
|
8460
|
-
e.emit(p, ...
|
|
8461
|
-
}), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new
|
|
8462
|
-
for (var
|
|
8463
|
-
x
|
|
8464
|
-
e.emit(p, ...
|
|
8479
|
+
}, C.backendConnector = new u5(l(this.modules.backend), C.resourceStore, C, this.options), C.backendConnector.on("*", function(p) {
|
|
8480
|
+
for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
|
|
8481
|
+
N[x - 1] = arguments[x];
|
|
8482
|
+
e.emit(p, ...N);
|
|
8483
|
+
}), this.modules.languageDetector && (C.languageDetector = l(this.modules.languageDetector), C.languageDetector.init && C.languageDetector.init(C, this.options.detection, this.options)), this.modules.i18nFormat && (C.i18nFormat = l(this.modules.i18nFormat), C.i18nFormat.init && C.i18nFormat.init(this)), this.translator = new C1(this.services, this.options), this.translator.on("*", function(p) {
|
|
8484
|
+
for (var w = arguments.length, N = new Array(w > 1 ? w - 1 : 0), x = 1; x < w; x++)
|
|
8485
|
+
N[x - 1] = arguments[x];
|
|
8486
|
+
e.emit(p, ...N);
|
|
8465
8487
|
}), this.modules.external.forEach((p) => {
|
|
8466
8488
|
p.init && p.init(this);
|
|
8467
8489
|
});
|
|
8468
8490
|
}
|
|
8469
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
8491
|
+
if (this.format = this.options.interpolation.format, s || (s = a1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
8470
8492
|
const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
8471
8493
|
a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
|
|
8472
8494
|
}
|
|
@@ -8479,7 +8501,7 @@ class t1 extends p1 {
|
|
|
8479
8501
|
return e.store[a](...arguments), e;
|
|
8480
8502
|
};
|
|
8481
8503
|
});
|
|
8482
|
-
const d =
|
|
8504
|
+
const d = t1(), g = () => {
|
|
8483
8505
|
const a = (h, C) => {
|
|
8484
8506
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(C), s(h, C);
|
|
8485
8507
|
};
|
|
@@ -8489,7 +8511,7 @@ class t1 extends p1 {
|
|
|
8489
8511
|
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
|
|
8490
8512
|
}
|
|
8491
8513
|
loadResources(e) {
|
|
8492
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8514
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
|
|
8493
8515
|
const n = typeof e == "string" ? e : this.language;
|
|
8494
8516
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
8495
8517
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -8506,15 +8528,15 @@ class t1 extends p1 {
|
|
|
8506
8528
|
s(null);
|
|
8507
8529
|
}
|
|
8508
8530
|
reloadResources(e, t, s) {
|
|
8509
|
-
const n =
|
|
8510
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s =
|
|
8531
|
+
const n = t1();
|
|
8532
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = a1), this.services.backendConnector.reload(e, t, (l) => {
|
|
8511
8533
|
n.resolve(), s(l);
|
|
8512
8534
|
}), n;
|
|
8513
8535
|
}
|
|
8514
8536
|
use(e) {
|
|
8515
8537
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
8516
8538
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
8517
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
8539
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && X1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
8518
8540
|
}
|
|
8519
8541
|
setResolvedLanguage(e) {
|
|
8520
8542
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -8529,7 +8551,7 @@ class t1 extends p1 {
|
|
|
8529
8551
|
changeLanguage(e, t) {
|
|
8530
8552
|
var s = this;
|
|
8531
8553
|
this.isLanguageChangingTo = e;
|
|
8532
|
-
const n =
|
|
8554
|
+
const n = t1();
|
|
8533
8555
|
this.emit("languageChanging", e);
|
|
8534
8556
|
const l = (d) => {
|
|
8535
8557
|
this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
|
|
@@ -8563,7 +8585,7 @@ class t1 extends p1 {
|
|
|
8563
8585
|
d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || l.keyPrefix);
|
|
8564
8586
|
const C = n.options.keySeparator || ".";
|
|
8565
8587
|
let p;
|
|
8566
|
-
return d.keyPrefix && Array.isArray(c) ? p = c.map((
|
|
8588
|
+
return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${C}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${C}${c}` : c, n.t(p, d);
|
|
8567
8589
|
};
|
|
8568
8590
|
return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
|
|
8569
8591
|
}
|
|
@@ -8595,7 +8617,7 @@ class t1 extends p1 {
|
|
|
8595
8617
|
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
|
|
8596
8618
|
}
|
|
8597
8619
|
loadNamespaces(e, t) {
|
|
8598
|
-
const s =
|
|
8620
|
+
const s = t1();
|
|
8599
8621
|
return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((n) => {
|
|
8600
8622
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
8601
8623
|
}), this.loadResources((n) => {
|
|
@@ -8603,7 +8625,7 @@ class t1 extends p1 {
|
|
|
8603
8625
|
}), s) : (t && t(), Promise.resolve());
|
|
8604
8626
|
}
|
|
8605
8627
|
loadLanguages(e, t) {
|
|
8606
|
-
const s =
|
|
8628
|
+
const s = t1();
|
|
8607
8629
|
typeof e == "string" && (e = [e]);
|
|
8608
8630
|
const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
8609
8631
|
return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
|
|
@@ -8612,29 +8634,29 @@ class t1 extends p1 {
|
|
|
8612
8634
|
}
|
|
8613
8635
|
dir(e) {
|
|
8614
8636
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
8615
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new
|
|
8637
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new B1(Z1());
|
|
8616
8638
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
8617
8639
|
}
|
|
8618
8640
|
static createInstance() {
|
|
8619
8641
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
8620
|
-
return new
|
|
8642
|
+
return new s1(e, t);
|
|
8621
8643
|
}
|
|
8622
8644
|
cloneInstance() {
|
|
8623
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
8645
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a1;
|
|
8624
8646
|
const s = e.forkResourceStore;
|
|
8625
8647
|
s && delete e.forkResourceStore;
|
|
8626
8648
|
const n = {
|
|
8627
8649
|
...this.options,
|
|
8628
8650
|
...e,
|
|
8629
8651
|
isClone: !0
|
|
8630
|
-
}, l = new
|
|
8652
|
+
}, l = new s1(n);
|
|
8631
8653
|
return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
|
|
8632
8654
|
l[o] = this[o];
|
|
8633
8655
|
}), l.services = {
|
|
8634
8656
|
...this.services
|
|
8635
8657
|
}, l.services.utils = {
|
|
8636
8658
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
|
8637
|
-
}, s && (l.store = new
|
|
8659
|
+
}, s && (l.store = new O1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new C1(l.services, n), l.translator.on("*", function(o) {
|
|
8638
8660
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
|
8639
8661
|
g[a - 1] = arguments[a];
|
|
8640
8662
|
l.emit(o, ...g);
|
|
@@ -8652,158 +8674,158 @@ class t1 extends p1 {
|
|
|
8652
8674
|
};
|
|
8653
8675
|
}
|
|
8654
8676
|
}
|
|
8655
|
-
const
|
|
8656
|
-
|
|
8657
|
-
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8661
|
-
|
|
8662
|
-
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
const
|
|
8672
|
-
archived:
|
|
8673
|
-
deleted:
|
|
8674
|
-
},
|
|
8675
|
-
archived:
|
|
8676
|
-
deleted:
|
|
8677
|
+
const S = s1.createInstance();
|
|
8678
|
+
S.createInstance = s1.createInstance;
|
|
8679
|
+
S.createInstance;
|
|
8680
|
+
S.dir;
|
|
8681
|
+
S.init;
|
|
8682
|
+
S.loadResources;
|
|
8683
|
+
S.reloadResources;
|
|
8684
|
+
S.use;
|
|
8685
|
+
S.changeLanguage;
|
|
8686
|
+
S.getFixedT;
|
|
8687
|
+
S.t;
|
|
8688
|
+
S.exists;
|
|
8689
|
+
S.setDefaultNamespace;
|
|
8690
|
+
S.hasLoadedNamespace;
|
|
8691
|
+
S.loadNamespaces;
|
|
8692
|
+
S.loadLanguages;
|
|
8693
|
+
const p5 = "Archived", f5 = "Deleted", w5 = {
|
|
8694
|
+
archived: p5,
|
|
8695
|
+
deleted: f5
|
|
8696
|
+
}, m5 = "Заархивирован", k5 = "Удалён", L5 = {
|
|
8697
|
+
archived: m5,
|
|
8698
|
+
deleted: k5
|
|
8677
8699
|
};
|
|
8678
|
-
|
|
8700
|
+
S.use(Di).init({
|
|
8679
8701
|
defaultNS: "common",
|
|
8680
8702
|
lng: "en",
|
|
8681
8703
|
resources: {
|
|
8682
8704
|
en: {
|
|
8683
|
-
common:
|
|
8705
|
+
common: w5
|
|
8684
8706
|
},
|
|
8685
8707
|
ru: {
|
|
8686
|
-
common:
|
|
8708
|
+
common: L5
|
|
8687
8709
|
}
|
|
8688
8710
|
}
|
|
8689
8711
|
});
|
|
8690
|
-
const
|
|
8712
|
+
const b5 = r1(
|
|
8691
8713
|
({ fetchParams: i, mode: e = void 0, placeholder: t, disabled: s, value: n, onChange: l, onError: c }, o) => {
|
|
8692
|
-
const { axiosPeople: d, locale: g } =
|
|
8714
|
+
const { axiosPeople: d, locale: g } = o1(le), { t: a } = $i("common", { lng: g }), [h, C] = I([]), [p, w] = I(!0);
|
|
8693
8715
|
if (!d)
|
|
8694
8716
|
throw new Error(
|
|
8695
8717
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
8696
8718
|
Please provide it via SNMTUiContext.`
|
|
8697
8719
|
);
|
|
8698
|
-
const
|
|
8720
|
+
const N = $(
|
|
8699
8721
|
(f) => {
|
|
8700
|
-
let
|
|
8701
|
-
return f.deletedAt && (
|
|
8722
|
+
let m = "";
|
|
8723
|
+
return f.deletedAt && (m += `[${a("deleted")}] `), f.status === c1.ARCHIVED && (m += `[${a("archived")}] `), `${m}${f.firstName} ${f.lastName}`;
|
|
8702
8724
|
},
|
|
8703
8725
|
[a]
|
|
8704
|
-
),
|
|
8726
|
+
), x = $(
|
|
8705
8727
|
async ({
|
|
8706
8728
|
offset: f,
|
|
8707
|
-
limit:
|
|
8729
|
+
limit: m,
|
|
8708
8730
|
search: M
|
|
8709
8731
|
}) => {
|
|
8710
|
-
var
|
|
8732
|
+
var R, b, O;
|
|
8711
8733
|
try {
|
|
8712
8734
|
const E = await d.post("v1/users/search", {
|
|
8713
8735
|
offset: f,
|
|
8714
|
-
limit:
|
|
8736
|
+
limit: m,
|
|
8715
8737
|
search: M,
|
|
8716
8738
|
...i,
|
|
8717
8739
|
includeCount: !0
|
|
8718
|
-
}), { data: W, metadata:
|
|
8740
|
+
}), { data: W, metadata: P } = E.data;
|
|
8719
8741
|
return {
|
|
8720
8742
|
options: W.map((j) => ({
|
|
8721
8743
|
value: j.id,
|
|
8722
|
-
label:
|
|
8744
|
+
label: N(j)
|
|
8723
8745
|
})),
|
|
8724
|
-
count:
|
|
8746
|
+
count: P.count
|
|
8725
8747
|
};
|
|
8726
8748
|
} catch (E) {
|
|
8727
8749
|
return c && c({
|
|
8728
|
-
status: ((
|
|
8729
|
-
message: ((
|
|
8750
|
+
status: ((R = E.response) == null ? void 0 : R.status) ?? 500,
|
|
8751
|
+
message: ((O = (b = E.response) == null ? void 0 : b.data) == null ? void 0 : O.message) ?? "Error while fetching options"
|
|
8730
8752
|
}), {
|
|
8731
8753
|
options: [],
|
|
8732
8754
|
count: 0
|
|
8733
8755
|
};
|
|
8734
8756
|
}
|
|
8735
8757
|
},
|
|
8736
|
-
[d, i, c,
|
|
8737
|
-
),
|
|
8758
|
+
[d, i, c, N]
|
|
8759
|
+
), V = $(
|
|
8738
8760
|
async (f) => {
|
|
8739
|
-
var
|
|
8761
|
+
var m, M, R;
|
|
8740
8762
|
try {
|
|
8741
8763
|
return await Promise.all(
|
|
8742
|
-
f.map(async (
|
|
8743
|
-
const E = h.find((j) => j.value ===
|
|
8764
|
+
f.map(async (O) => {
|
|
8765
|
+
const E = h.find((j) => j.value === O);
|
|
8744
8766
|
if (E)
|
|
8745
8767
|
return E;
|
|
8746
|
-
const
|
|
8768
|
+
const P = (await d.post("v1/users/search", {
|
|
8747
8769
|
filters: {
|
|
8748
|
-
id: [
|
|
8749
|
-
status: [
|
|
8770
|
+
id: [O],
|
|
8771
|
+
status: [c1.ACTIVE, c1.ARCHIVED]
|
|
8750
8772
|
}
|
|
8751
8773
|
})).data.data[0];
|
|
8752
8774
|
return {
|
|
8753
|
-
value:
|
|
8754
|
-
label:
|
|
8775
|
+
value: O,
|
|
8776
|
+
label: N(P)
|
|
8755
8777
|
};
|
|
8756
8778
|
})
|
|
8757
8779
|
);
|
|
8758
|
-
} catch (
|
|
8780
|
+
} catch (b) {
|
|
8759
8781
|
return c && c({
|
|
8760
|
-
status: ((
|
|
8761
|
-
message: ((
|
|
8782
|
+
status: ((m = b.response) == null ? void 0 : m.status) ?? 500,
|
|
8783
|
+
message: ((R = (M = b.response) == null ? void 0 : M.data) == null ? void 0 : R.message) ?? "Error while fetching selected items"
|
|
8762
8784
|
}), [];
|
|
8763
8785
|
}
|
|
8764
8786
|
},
|
|
8765
8787
|
// Use eslint disable to exclude selectedOptions to prevent infinity rerender
|
|
8766
8788
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
8767
|
-
[d,
|
|
8789
|
+
[d, N, c]
|
|
8768
8790
|
);
|
|
8769
8791
|
Z(() => {
|
|
8770
8792
|
if (!n) {
|
|
8771
|
-
|
|
8793
|
+
w(!1);
|
|
8772
8794
|
return;
|
|
8773
8795
|
}
|
|
8774
8796
|
(async () => {
|
|
8775
|
-
const
|
|
8776
|
-
C(M),
|
|
8797
|
+
const m = Array.isArray(n) ? n : [n], M = await V(m);
|
|
8798
|
+
C(M), w(!1);
|
|
8777
8799
|
})();
|
|
8778
|
-
}, [
|
|
8800
|
+
}, [V, n]);
|
|
8779
8801
|
const y = $(
|
|
8780
8802
|
async ({
|
|
8781
8803
|
limit: f,
|
|
8782
|
-
offset:
|
|
8804
|
+
offset: m,
|
|
8783
8805
|
search: M
|
|
8784
8806
|
}) => {
|
|
8785
|
-
const { options:
|
|
8786
|
-
offset:
|
|
8807
|
+
const { options: R, count: b } = await x({
|
|
8808
|
+
offset: m,
|
|
8787
8809
|
limit: f,
|
|
8788
8810
|
search: M
|
|
8789
8811
|
});
|
|
8790
8812
|
return {
|
|
8791
|
-
options:
|
|
8792
|
-
count:
|
|
8813
|
+
options: R,
|
|
8814
|
+
count: b,
|
|
8793
8815
|
limit: f
|
|
8794
8816
|
};
|
|
8795
8817
|
},
|
|
8796
|
-
[
|
|
8818
|
+
[x]
|
|
8797
8819
|
);
|
|
8798
8820
|
if (p)
|
|
8799
|
-
return /* @__PURE__ */ r(
|
|
8821
|
+
return /* @__PURE__ */ r(bi, {});
|
|
8800
8822
|
const H = {
|
|
8801
8823
|
ref: o,
|
|
8802
8824
|
placeholder: t,
|
|
8803
8825
|
disabled: s
|
|
8804
8826
|
};
|
|
8805
8827
|
return e ? /* @__PURE__ */ r(
|
|
8806
|
-
|
|
8828
|
+
y1,
|
|
8807
8829
|
{
|
|
8808
8830
|
...H,
|
|
8809
8831
|
mode: e,
|
|
@@ -8814,7 +8836,7 @@ const M5 = s1(
|
|
|
8814
8836
|
extraOptions: h
|
|
8815
8837
|
}
|
|
8816
8838
|
) : /* @__PURE__ */ r(
|
|
8817
|
-
|
|
8839
|
+
y1,
|
|
8818
8840
|
{
|
|
8819
8841
|
...H,
|
|
8820
8842
|
value: n,
|
|
@@ -8828,5 +8850,5 @@ const M5 = s1(
|
|
|
8828
8850
|
}
|
|
8829
8851
|
);
|
|
8830
8852
|
export {
|
|
8831
|
-
|
|
8853
|
+
b5 as UserSelect
|
|
8832
8854
|
};
|