@snmt-react-ui/city-select 2.3.3 → 2.4.0
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/city-select.js +829 -828
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
1
|
+
var he = Object.defineProperty;
|
2
|
+
var ce = (i, e, t) => e in i ? he(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
3
|
+
var b1 = (i, e, t) => ce(i, typeof e != "symbol" ? e + "" : e, t);
|
4
4
|
import "./index.css";
|
5
|
-
import { jsx as n, Fragment as
|
6
|
-
import { SNMTUiContext as
|
7
|
-
import { Select as
|
8
|
-
import { createContext as n1, forwardRef as f1, useState as O, useRef as r1, useEffect as
|
5
|
+
import { jsx as n, Fragment as t1, jsxs as C } from "react/jsx-runtime";
|
6
|
+
import { SNMTUiContext as de } from "@snmt-react-ui/core";
|
7
|
+
import { Select as ge, Flex as Ce, Avatar as ue, Checkbox as pe, Typography as $1, Tag as Y1, Popover as fe } from "antd";
|
8
|
+
import { createContext as n1, forwardRef as f1, useState as O, useRef as r1, useEffect as j, useCallback as K, useContext as l1 } from "react";
|
9
9
|
const d1 = ({
|
10
10
|
children: i,
|
11
11
|
direction: e = "row",
|
@@ -16,7 +16,7 @@ const d1 = ({
|
|
16
16
|
gap: c,
|
17
17
|
padding: r
|
18
18
|
}) => /* @__PURE__ */ n(
|
19
|
-
|
19
|
+
Ce,
|
20
20
|
{
|
21
21
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
22
22
|
vertical: e === "column",
|
@@ -28,10 +28,10 @@ const d1 = ({
|
|
28
28
|
style: { padding: r },
|
29
29
|
children: i
|
30
30
|
}
|
31
|
-
),
|
31
|
+
), we = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
32
32
|
const o = typeof s.src == "string";
|
33
33
|
return /* @__PURE__ */ n(
|
34
|
-
|
34
|
+
ue,
|
35
35
|
{
|
36
36
|
className: `snmt-avatar ${o ? "image" : ""}`,
|
37
37
|
shape: i,
|
@@ -42,13 +42,13 @@ const d1 = ({
|
|
42
42
|
}
|
43
43
|
);
|
44
44
|
};
|
45
|
-
var
|
46
|
-
const
|
45
|
+
var e1 = /* @__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))(e1 || {});
|
46
|
+
const U1 = n1({
|
47
47
|
locale: "en",
|
48
48
|
theme: "light"
|
49
49
|
});
|
50
|
-
|
51
|
-
const
|
50
|
+
U1.Provider;
|
51
|
+
const me = ({
|
52
52
|
checked: i = !0,
|
53
53
|
indeterminate: e = !1,
|
54
54
|
children: t,
|
@@ -57,12 +57,12 @@ const we = ({
|
|
57
57
|
disableUncheck: l = !1
|
58
58
|
}) => {
|
59
59
|
const [c, r] = O(i), [d, g] = O(e);
|
60
|
-
|
60
|
+
j(() => {
|
61
61
|
r(i), g(e);
|
62
62
|
}, [i, e]);
|
63
|
-
const { theme: a } = l1(
|
63
|
+
const { theme: a } = l1(U1);
|
64
64
|
return /* @__PURE__ */ n(
|
65
|
-
|
65
|
+
pe,
|
66
66
|
{
|
67
67
|
className: `snmt-checkbox snmt-checkbox-${a}`,
|
68
68
|
checked: c,
|
@@ -75,13 +75,13 @@ const we = ({
|
|
75
75
|
}
|
76
76
|
);
|
77
77
|
};
|
78
|
-
var
|
79
|
-
const
|
78
|
+
var k = /* @__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))(k || {});
|
79
|
+
const z1 = n1({
|
80
80
|
locale: "en",
|
81
81
|
theme: "light"
|
82
82
|
});
|
83
|
-
|
84
|
-
const
|
83
|
+
z1.Provider;
|
84
|
+
const ke = ({
|
85
85
|
width: i = 20,
|
86
86
|
height: e = 20,
|
87
87
|
color: t = "#001E52",
|
@@ -108,7 +108,7 @@ const me = ({
|
|
108
108
|
}
|
109
109
|
)
|
110
110
|
}
|
111
|
-
),
|
111
|
+
), Le = ({
|
112
112
|
width: i = 20,
|
113
113
|
height: e = 20,
|
114
114
|
color: t = "#001E52",
|
@@ -135,7 +135,7 @@ const me = ({
|
|
135
135
|
}
|
136
136
|
)
|
137
137
|
}
|
138
|
-
),
|
138
|
+
), ve = ({
|
139
139
|
width: i = 16,
|
140
140
|
height: e = 16,
|
141
141
|
color: t = "#001E52",
|
@@ -163,7 +163,7 @@ const me = ({
|
|
163
163
|
)
|
164
164
|
]
|
165
165
|
}
|
166
|
-
),
|
166
|
+
), Ne = ({
|
167
167
|
width: i = 20,
|
168
168
|
height: e = 20,
|
169
169
|
color: t = "#001E52",
|
@@ -198,7 +198,7 @@ const me = ({
|
|
198
198
|
)
|
199
199
|
]
|
200
200
|
}
|
201
|
-
),
|
201
|
+
), xe = ({
|
202
202
|
width: i = 18,
|
203
203
|
height: e = 18,
|
204
204
|
color: t = "#001E52",
|
@@ -237,7 +237,7 @@ const me = ({
|
|
237
237
|
)
|
238
238
|
]
|
239
239
|
}
|
240
|
-
),
|
240
|
+
), Re = ({
|
241
241
|
width: i = 20,
|
242
242
|
height: e = 20,
|
243
243
|
color: t = "#001E52",
|
@@ -263,7 +263,7 @@ const me = ({
|
|
263
263
|
}
|
264
264
|
)
|
265
265
|
}
|
266
|
-
),
|
266
|
+
), Me = ({
|
267
267
|
width: i = 20,
|
268
268
|
height: e = 20,
|
269
269
|
color: t = "#001E52",
|
@@ -284,7 +284,7 @@ const me = ({
|
|
284
284
|
/* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
285
285
|
]
|
286
286
|
}
|
287
|
-
),
|
287
|
+
), ye = ({
|
288
288
|
width: i = 20,
|
289
289
|
height: e = 20,
|
290
290
|
color: t = "#001E52",
|
@@ -316,7 +316,7 @@ const me = ({
|
|
316
316
|
)
|
317
317
|
]
|
318
318
|
}
|
319
|
-
),
|
319
|
+
), be = ({
|
320
320
|
width: i = 20,
|
321
321
|
height: e = 20,
|
322
322
|
color: t = "#001E52",
|
@@ -370,7 +370,7 @@ const me = ({
|
|
370
370
|
)
|
371
371
|
]
|
372
372
|
}
|
373
|
-
),
|
373
|
+
), Ee = ({
|
374
374
|
width: i = 20,
|
375
375
|
height: e = 20,
|
376
376
|
color: t = "#001E52",
|
@@ -409,7 +409,7 @@ const me = ({
|
|
409
409
|
/* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
410
410
|
]
|
411
411
|
}
|
412
|
-
),
|
412
|
+
), He = ({
|
413
413
|
width: i = 16,
|
414
414
|
height: e = 12,
|
415
415
|
color: t = "#001E52",
|
@@ -458,7 +458,7 @@ const me = ({
|
|
458
458
|
)
|
459
459
|
] })
|
460
460
|
}
|
461
|
-
),
|
461
|
+
), _e = ({
|
462
462
|
width: i = 16,
|
463
463
|
height: e = 16,
|
464
464
|
color: t = "#001E52",
|
@@ -492,7 +492,7 @@ const me = ({
|
|
492
492
|
)
|
493
493
|
]
|
494
494
|
}
|
495
|
-
),
|
495
|
+
), Ve = ({
|
496
496
|
width: i = 10,
|
497
497
|
height: e = 10,
|
498
498
|
color: t = "#001E52",
|
@@ -531,7 +531,7 @@ const me = ({
|
|
531
531
|
)
|
532
532
|
] })
|
533
533
|
}
|
534
|
-
),
|
534
|
+
), Ie = ({
|
535
535
|
width: i = 16,
|
536
536
|
height: e = 16,
|
537
537
|
color: t = "#001E52",
|
@@ -567,7 +567,7 @@ const me = ({
|
|
567
567
|
)
|
568
568
|
]
|
569
569
|
}
|
570
|
-
),
|
570
|
+
), Se = ({
|
571
571
|
width: i = 11,
|
572
572
|
height: e = 32,
|
573
573
|
color: t = "#001E52",
|
@@ -605,7 +605,7 @@ const me = ({
|
|
605
605
|
/* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
606
606
|
]
|
607
607
|
}
|
608
|
-
),
|
608
|
+
), Oe = ({
|
609
609
|
width: i = 20,
|
610
610
|
height: e = 20,
|
611
611
|
color: t = "#001E52",
|
@@ -652,7 +652,7 @@ const me = ({
|
|
652
652
|
)
|
653
653
|
]
|
654
654
|
}
|
655
|
-
),
|
655
|
+
), Ae = ({
|
656
656
|
width: i = 20,
|
657
657
|
height: e = 20,
|
658
658
|
color: t = "#001E52",
|
@@ -685,7 +685,7 @@ const me = ({
|
|
685
685
|
)
|
686
686
|
]
|
687
687
|
}
|
688
|
-
),
|
688
|
+
), Be = ({
|
689
689
|
width: i = 20,
|
690
690
|
height: e = 20,
|
691
691
|
color: t = "#001E52",
|
@@ -732,7 +732,7 @@ const me = ({
|
|
732
732
|
)
|
733
733
|
]
|
734
734
|
}
|
735
|
-
),
|
735
|
+
), Ze = ({
|
736
736
|
width: i = 20,
|
737
737
|
height: e = 20,
|
738
738
|
color: t = "#001E52",
|
@@ -765,7 +765,7 @@ const me = ({
|
|
765
765
|
)
|
766
766
|
]
|
767
767
|
}
|
768
|
-
),
|
768
|
+
), We = ({
|
769
769
|
width: i = 18,
|
770
770
|
height: e = 16,
|
771
771
|
color: t = "#001E52",
|
@@ -804,7 +804,7 @@ const me = ({
|
|
804
804
|
)
|
805
805
|
]
|
806
806
|
}
|
807
|
-
),
|
807
|
+
), je = ({
|
808
808
|
width: i = 20,
|
809
809
|
height: e = 20,
|
810
810
|
color: t = "#001E52",
|
@@ -837,7 +837,7 @@ const me = ({
|
|
837
837
|
)
|
838
838
|
]
|
839
839
|
}
|
840
|
-
),
|
840
|
+
), De = ({
|
841
841
|
width: i = 20,
|
842
842
|
height: e = 20,
|
843
843
|
color: t = "#001E52",
|
@@ -861,7 +861,7 @@ const me = ({
|
|
861
861
|
}
|
862
862
|
)
|
863
863
|
}
|
864
|
-
),
|
864
|
+
), Te = ({
|
865
865
|
width: i = 20,
|
866
866
|
height: e = 20,
|
867
867
|
color: t = "#001E52",
|
@@ -908,7 +908,7 @@ const me = ({
|
|
908
908
|
)
|
909
909
|
]
|
910
910
|
}
|
911
|
-
),
|
911
|
+
), Ge = ({
|
912
912
|
width: i = 20,
|
913
913
|
height: e = 20,
|
914
914
|
color: t = "#001E52",
|
@@ -941,7 +941,7 @@ const me = ({
|
|
941
941
|
)
|
942
942
|
]
|
943
943
|
}
|
944
|
-
),
|
944
|
+
), Ke = ({
|
945
945
|
width: i = 20,
|
946
946
|
height: e = 20,
|
947
947
|
color: t = "#001E52",
|
@@ -974,7 +974,7 @@ const me = ({
|
|
974
974
|
)
|
975
975
|
]
|
976
976
|
}
|
977
|
-
),
|
977
|
+
), Pe = ({
|
978
978
|
width: i = 20,
|
979
979
|
height: e = 23,
|
980
980
|
color: t = "#001E52",
|
@@ -1035,7 +1035,7 @@ const me = ({
|
|
1035
1035
|
)
|
1036
1036
|
]
|
1037
1037
|
}
|
1038
|
-
),
|
1038
|
+
), Fe = ({
|
1039
1039
|
width: i = 20,
|
1040
1040
|
height: e = 20,
|
1041
1041
|
color: t = "#001E52",
|
@@ -1075,7 +1075,7 @@ const me = ({
|
|
1075
1075
|
)
|
1076
1076
|
]
|
1077
1077
|
}
|
1078
|
-
),
|
1078
|
+
), $e = ({
|
1079
1079
|
width: i = 32,
|
1080
1080
|
height: e = 25,
|
1081
1081
|
color: t = "#001E52",
|
@@ -1103,7 +1103,7 @@ const me = ({
|
|
1103
1103
|
)
|
1104
1104
|
]
|
1105
1105
|
}
|
1106
|
-
),
|
1106
|
+
), Ye = ({
|
1107
1107
|
width: i = 14,
|
1108
1108
|
height: e = 14,
|
1109
1109
|
color: t = "#10B981",
|
@@ -1132,7 +1132,7 @@ const me = ({
|
|
1132
1132
|
)
|
1133
1133
|
]
|
1134
1134
|
}
|
1135
|
-
),
|
1135
|
+
), Ue = ({
|
1136
1136
|
width: i = 11,
|
1137
1137
|
height: e = 11,
|
1138
1138
|
color: t = "#FFB020",
|
@@ -1166,7 +1166,7 @@ const me = ({
|
|
1166
1166
|
)
|
1167
1167
|
]
|
1168
1168
|
}
|
1169
|
-
),
|
1169
|
+
), ze = ({
|
1170
1170
|
width: i = 10,
|
1171
1171
|
height: e = 10,
|
1172
1172
|
color: t = "#88A4FF",
|
@@ -1214,7 +1214,7 @@ const me = ({
|
|
1214
1214
|
)
|
1215
1215
|
]
|
1216
1216
|
}
|
1217
|
-
),
|
1217
|
+
), Je = ({
|
1218
1218
|
width: i = 14,
|
1219
1219
|
height: e = 14,
|
1220
1220
|
color: t = "#8E8E93",
|
@@ -1242,7 +1242,7 @@ const me = ({
|
|
1242
1242
|
)
|
1243
1243
|
]
|
1244
1244
|
}
|
1245
|
-
),
|
1245
|
+
), Qe = ({
|
1246
1246
|
width: i = 14,
|
1247
1247
|
height: e = 14,
|
1248
1248
|
color: t = "#FFB020",
|
@@ -1276,7 +1276,7 @@ const me = ({
|
|
1276
1276
|
)
|
1277
1277
|
]
|
1278
1278
|
}
|
1279
|
-
),
|
1279
|
+
), qe = ({
|
1280
1280
|
width: i = 14,
|
1281
1281
|
height: e = 14,
|
1282
1282
|
color: t = "#D0421B",
|
@@ -1324,7 +1324,7 @@ const me = ({
|
|
1324
1324
|
)
|
1325
1325
|
]
|
1326
1326
|
}
|
1327
|
-
),
|
1327
|
+
), Xe = ({
|
1328
1328
|
width: i = 20,
|
1329
1329
|
height: e = 20,
|
1330
1330
|
color: t = "#070739",
|
@@ -1354,7 +1354,7 @@ const me = ({
|
|
1354
1354
|
/* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
1355
1355
|
]
|
1356
1356
|
}
|
1357
|
-
),
|
1357
|
+
), et = ({
|
1358
1358
|
width: i = 20,
|
1359
1359
|
height: e = 20,
|
1360
1360
|
color: t = "#070739",
|
@@ -1392,7 +1392,7 @@ const me = ({
|
|
1392
1392
|
)
|
1393
1393
|
]
|
1394
1394
|
}
|
1395
|
-
),
|
1395
|
+
), tt = ({
|
1396
1396
|
width: i = 9,
|
1397
1397
|
height: e = 5,
|
1398
1398
|
color: t = "#001E52",
|
@@ -1418,7 +1418,7 @@ const me = ({
|
|
1418
1418
|
}
|
1419
1419
|
)
|
1420
1420
|
}
|
1421
|
-
),
|
1421
|
+
), it = ({
|
1422
1422
|
width: i = 20,
|
1423
1423
|
height: e = 20,
|
1424
1424
|
color: t = "#F2F2F7",
|
@@ -1447,7 +1447,7 @@ const me = ({
|
|
1447
1447
|
)
|
1448
1448
|
]
|
1449
1449
|
}
|
1450
|
-
),
|
1450
|
+
), st = ({
|
1451
1451
|
width: i = 20,
|
1452
1452
|
height: e = 20,
|
1453
1453
|
color: t = "#004ED7",
|
@@ -1476,7 +1476,7 @@ const me = ({
|
|
1476
1476
|
)
|
1477
1477
|
]
|
1478
1478
|
}
|
1479
|
-
),
|
1479
|
+
), ot = ({
|
1480
1480
|
width: i = 248,
|
1481
1481
|
height: e = 248,
|
1482
1482
|
color: t = "#070739",
|
@@ -1513,7 +1513,7 @@ const me = ({
|
|
1513
1513
|
)
|
1514
1514
|
]
|
1515
1515
|
}
|
1516
|
-
),
|
1516
|
+
), nt = ({
|
1517
1517
|
width: i = 24,
|
1518
1518
|
height: e = 24,
|
1519
1519
|
color: t = "#001E52",
|
@@ -1552,7 +1552,7 @@ const me = ({
|
|
1552
1552
|
)
|
1553
1553
|
]
|
1554
1554
|
}
|
1555
|
-
),
|
1555
|
+
), rt = ({
|
1556
1556
|
width: i = 10,
|
1557
1557
|
height: e = 10,
|
1558
1558
|
color: t = "#001E52",
|
@@ -1581,7 +1581,7 @@ const me = ({
|
|
1581
1581
|
)
|
1582
1582
|
]
|
1583
1583
|
}
|
1584
|
-
),
|
1584
|
+
), lt = ({
|
1585
1585
|
width: i = 10,
|
1586
1586
|
height: e = 10,
|
1587
1587
|
color: t = "#001E52",
|
@@ -1618,10 +1618,10 @@ const me = ({
|
|
1618
1618
|
)
|
1619
1619
|
]
|
1620
1620
|
}
|
1621
|
-
),
|
1621
|
+
), at = ({
|
1622
1622
|
width: i = 24,
|
1623
1623
|
height: e = 24,
|
1624
|
-
color: t =
|
1624
|
+
color: t = k.GREY_DARK_5,
|
1625
1625
|
className: s,
|
1626
1626
|
onClick: o
|
1627
1627
|
}) => /* @__PURE__ */ C(
|
@@ -1657,10 +1657,10 @@ const me = ({
|
|
1657
1657
|
)
|
1658
1658
|
]
|
1659
1659
|
}
|
1660
|
-
),
|
1660
|
+
), ht = ({
|
1661
1661
|
width: i = 20,
|
1662
1662
|
height: e = 20,
|
1663
|
-
color: t =
|
1663
|
+
color: t = k.GREY_DARK_1,
|
1664
1664
|
className: s,
|
1665
1665
|
onClick: o
|
1666
1666
|
}) => /* @__PURE__ */ C(
|
@@ -1690,10 +1690,10 @@ const me = ({
|
|
1690
1690
|
)
|
1691
1691
|
]
|
1692
1692
|
}
|
1693
|
-
),
|
1693
|
+
), ct = ({
|
1694
1694
|
width: i = 81,
|
1695
1695
|
height: e = 80,
|
1696
|
-
color: t =
|
1696
|
+
color: t = k.GREY_DARK_5,
|
1697
1697
|
className: s,
|
1698
1698
|
onClick: o
|
1699
1699
|
}) => /* @__PURE__ */ C(
|
@@ -1739,9 +1739,9 @@ const me = ({
|
|
1739
1739
|
)
|
1740
1740
|
]
|
1741
1741
|
}
|
1742
|
-
),
|
1742
|
+
), dt = ({
|
1743
1743
|
className: i,
|
1744
|
-
color: e =
|
1744
|
+
color: e = k.GREY_DARK_5,
|
1745
1745
|
height: t = 20,
|
1746
1746
|
width: s = 20,
|
1747
1747
|
onClick: o
|
@@ -1766,9 +1766,9 @@ const me = ({
|
|
1766
1766
|
}
|
1767
1767
|
)
|
1768
1768
|
}
|
1769
|
-
),
|
1769
|
+
), gt = ({
|
1770
1770
|
className: i,
|
1771
|
-
color: e =
|
1771
|
+
color: e = k.GREY_DARK_5,
|
1772
1772
|
height: t = 20,
|
1773
1773
|
width: s = 20,
|
1774
1774
|
onClick: o
|
@@ -1793,9 +1793,9 @@ const me = ({
|
|
1793
1793
|
}
|
1794
1794
|
)
|
1795
1795
|
}
|
1796
|
-
),
|
1796
|
+
), Ct = ({
|
1797
1797
|
className: i,
|
1798
|
-
color: e =
|
1798
|
+
color: e = k.GREY_DARK_5,
|
1799
1799
|
height: t = 5,
|
1800
1800
|
width: s = 10,
|
1801
1801
|
onClick: o
|
@@ -1817,9 +1817,9 @@ const me = ({
|
|
1817
1817
|
}
|
1818
1818
|
)
|
1819
1819
|
}
|
1820
|
-
),
|
1820
|
+
), ut = ({
|
1821
1821
|
className: i,
|
1822
|
-
color: e =
|
1822
|
+
color: e = k.GREY_DARK_5,
|
1823
1823
|
height: t = 5,
|
1824
1824
|
width: s = 10,
|
1825
1825
|
onClick: o
|
@@ -1842,9 +1842,9 @@ const me = ({
|
|
1842
1842
|
}
|
1843
1843
|
)
|
1844
1844
|
}
|
1845
|
-
),
|
1845
|
+
), pt = ({
|
1846
1846
|
className: i,
|
1847
|
-
color: e =
|
1847
|
+
color: e = k.GREY_DARK_5,
|
1848
1848
|
height: t = 24,
|
1849
1849
|
width: s = 24,
|
1850
1850
|
onClick: o
|
@@ -1881,9 +1881,9 @@ const me = ({
|
|
1881
1881
|
)
|
1882
1882
|
]
|
1883
1883
|
}
|
1884
|
-
),
|
1884
|
+
), ft = ({
|
1885
1885
|
className: i,
|
1886
|
-
color: e =
|
1886
|
+
color: e = k.GREY_DARK_5,
|
1887
1887
|
height: t = 24,
|
1888
1888
|
width: s = 24,
|
1889
1889
|
onClick: o
|
@@ -1920,9 +1920,9 @@ const me = ({
|
|
1920
1920
|
)
|
1921
1921
|
]
|
1922
1922
|
}
|
1923
|
-
),
|
1923
|
+
), wt = ({
|
1924
1924
|
className: i,
|
1925
|
-
color: e =
|
1925
|
+
color: e = k.GREY_DARK_5,
|
1926
1926
|
height: t = 24,
|
1927
1927
|
width: s = 24,
|
1928
1928
|
onClick: o
|
@@ -1947,9 +1947,9 @@ const me = ({
|
|
1947
1947
|
}
|
1948
1948
|
)
|
1949
1949
|
}
|
1950
|
-
),
|
1950
|
+
), mt = ({
|
1951
1951
|
className: i,
|
1952
|
-
color: e =
|
1952
|
+
color: e = k.GREY_DARK_5,
|
1953
1953
|
height: t = 24,
|
1954
1954
|
width: s = 24,
|
1955
1955
|
onClick: o
|
@@ -2006,9 +2006,9 @@ const me = ({
|
|
2006
2006
|
)
|
2007
2007
|
]
|
2008
2008
|
}
|
2009
|
-
),
|
2009
|
+
), kt = ({
|
2010
2010
|
className: i,
|
2011
|
-
color: e =
|
2011
|
+
color: e = k.GREY_DARK_5,
|
2012
2012
|
height: t = 24,
|
2013
2013
|
width: s = 24,
|
2014
2014
|
onClick: o
|
@@ -2043,9 +2043,9 @@ const me = ({
|
|
2043
2043
|
)
|
2044
2044
|
]
|
2045
2045
|
}
|
2046
|
-
),
|
2046
|
+
), Lt = ({
|
2047
2047
|
className: i,
|
2048
|
-
color: e =
|
2048
|
+
color: e = k.GREY_DARK_3,
|
2049
2049
|
height: t = 14,
|
2050
2050
|
width: s = 14,
|
2051
2051
|
onClick: o
|
@@ -2080,9 +2080,9 @@ const me = ({
|
|
2080
2080
|
)
|
2081
2081
|
]
|
2082
2082
|
}
|
2083
|
-
),
|
2083
|
+
), vt = ({
|
2084
2084
|
className: i,
|
2085
|
-
color: e =
|
2085
|
+
color: e = k.GREY_DARK_5,
|
2086
2086
|
height: t = 18,
|
2087
2087
|
onClick: s,
|
2088
2088
|
width: o = 18
|
@@ -2107,9 +2107,9 @@ const me = ({
|
|
2107
2107
|
}
|
2108
2108
|
)
|
2109
2109
|
}
|
2110
|
-
),
|
2110
|
+
), Nt = ({
|
2111
2111
|
className: i,
|
2112
|
-
color: e =
|
2112
|
+
color: e = k.GREY_DARK_5,
|
2113
2113
|
height: t = 24,
|
2114
2114
|
width: s = 24,
|
2115
2115
|
onClick: o
|
@@ -2159,9 +2159,9 @@ const me = ({
|
|
2159
2159
|
)
|
2160
2160
|
]
|
2161
2161
|
}
|
2162
|
-
),
|
2162
|
+
), xt = ({
|
2163
2163
|
className: i,
|
2164
|
-
color: e =
|
2164
|
+
color: e = k.GREY_DARK_5,
|
2165
2165
|
height: t = 24,
|
2166
2166
|
width: s = 24,
|
2167
2167
|
onClick: o
|
@@ -2196,9 +2196,9 @@ const me = ({
|
|
2196
2196
|
)
|
2197
2197
|
]
|
2198
2198
|
}
|
2199
|
-
),
|
2199
|
+
), Rt = ({
|
2200
2200
|
className: i,
|
2201
|
-
color: e =
|
2201
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
2202
2202
|
height: t = 37,
|
2203
2203
|
width: s = 36,
|
2204
2204
|
onClick: o
|
@@ -2235,9 +2235,9 @@ const me = ({
|
|
2235
2235
|
)
|
2236
2236
|
]
|
2237
2237
|
}
|
2238
|
-
),
|
2238
|
+
), Mt = ({
|
2239
2239
|
className: i,
|
2240
|
-
color: e =
|
2240
|
+
color: e = k.GREY_DARK_5,
|
2241
2241
|
height: t = 24,
|
2242
2242
|
width: s = 24,
|
2243
2243
|
onClick: o
|
@@ -2261,9 +2261,9 @@ const me = ({
|
|
2261
2261
|
}
|
2262
2262
|
)
|
2263
2263
|
}
|
2264
|
-
),
|
2264
|
+
), yt = ({
|
2265
2265
|
className: i,
|
2266
|
-
color: e =
|
2266
|
+
color: e = k.GREY_DARK_5,
|
2267
2267
|
height: t = 24,
|
2268
2268
|
width: s = 24,
|
2269
2269
|
onClick: o
|
@@ -2300,9 +2300,9 @@ const me = ({
|
|
2300
2300
|
)
|
2301
2301
|
]
|
2302
2302
|
}
|
2303
|
-
),
|
2303
|
+
), bt = ({
|
2304
2304
|
className: i,
|
2305
|
-
color: e =
|
2305
|
+
color: e = k.GREY_DARK_5,
|
2306
2306
|
height: t = 24,
|
2307
2307
|
width: s = 24,
|
2308
2308
|
onClick: o
|
@@ -2339,9 +2339,9 @@ const me = ({
|
|
2339
2339
|
)
|
2340
2340
|
]
|
2341
2341
|
}
|
2342
|
-
),
|
2342
|
+
), Et = ({
|
2343
2343
|
className: i,
|
2344
|
-
color: e =
|
2344
|
+
color: e = k.GREY_DARK_5,
|
2345
2345
|
height: t = 24,
|
2346
2346
|
width: s = 24,
|
2347
2347
|
onClick: o
|
@@ -2408,9 +2408,9 @@ const me = ({
|
|
2408
2408
|
)
|
2409
2409
|
]
|
2410
2410
|
}
|
2411
|
-
),
|
2411
|
+
), Ht = ({
|
2412
2412
|
className: i,
|
2413
|
-
color: e =
|
2413
|
+
color: e = k.GREY_DARK_5,
|
2414
2414
|
height: t = 24,
|
2415
2415
|
width: s = 24,
|
2416
2416
|
onClick: o
|
@@ -2447,9 +2447,9 @@ const me = ({
|
|
2447
2447
|
)
|
2448
2448
|
]
|
2449
2449
|
}
|
2450
|
-
),
|
2450
|
+
), _t = ({
|
2451
2451
|
className: i,
|
2452
|
-
color: e =
|
2452
|
+
color: e = k.GREY_DARK_5,
|
2453
2453
|
height: t = 24,
|
2454
2454
|
width: s = 24,
|
2455
2455
|
onClick: o
|
@@ -2504,9 +2504,9 @@ const me = ({
|
|
2504
2504
|
)
|
2505
2505
|
]
|
2506
2506
|
}
|
2507
|
-
),
|
2507
|
+
), Vt = ({
|
2508
2508
|
className: i,
|
2509
|
-
color: e =
|
2509
|
+
color: e = k.GREY_DARK_5,
|
2510
2510
|
height: t = 24,
|
2511
2511
|
width: s = 24,
|
2512
2512
|
onClick: o
|
@@ -2543,9 +2543,9 @@ const me = ({
|
|
2543
2543
|
)
|
2544
2544
|
]
|
2545
2545
|
}
|
2546
|
-
),
|
2546
|
+
), It = ({
|
2547
2547
|
className: i,
|
2548
|
-
color: e =
|
2548
|
+
color: e = k.GREY_DARK_5,
|
2549
2549
|
height: t = 24,
|
2550
2550
|
width: s = 24,
|
2551
2551
|
onClick: o
|
@@ -2592,9 +2592,9 @@ const me = ({
|
|
2592
2592
|
)
|
2593
2593
|
]
|
2594
2594
|
}
|
2595
|
-
),
|
2595
|
+
), St = ({
|
2596
2596
|
className: i,
|
2597
|
-
color: e =
|
2597
|
+
color: e = k.GREY_DARK_5,
|
2598
2598
|
height: t = 24,
|
2599
2599
|
width: s = 24,
|
2600
2600
|
onClick: o
|
@@ -2631,9 +2631,9 @@ const me = ({
|
|
2631
2631
|
)
|
2632
2632
|
]
|
2633
2633
|
}
|
2634
|
-
),
|
2634
|
+
), Ot = ({
|
2635
2635
|
className: i,
|
2636
|
-
color: e =
|
2636
|
+
color: e = k.GREY_DARK_5,
|
2637
2637
|
height: t = 24,
|
2638
2638
|
width: s = 24,
|
2639
2639
|
onClick: o
|
@@ -2658,9 +2658,9 @@ const me = ({
|
|
2658
2658
|
}
|
2659
2659
|
)
|
2660
2660
|
}
|
2661
|
-
),
|
2661
|
+
), At = ({
|
2662
2662
|
className: i,
|
2663
|
-
color: e =
|
2663
|
+
color: e = k.GREY_DARK_5,
|
2664
2664
|
height: t = 24,
|
2665
2665
|
width: s = 24,
|
2666
2666
|
onClick: o
|
@@ -2696,9 +2696,9 @@ const me = ({
|
|
2696
2696
|
)
|
2697
2697
|
]
|
2698
2698
|
}
|
2699
|
-
),
|
2699
|
+
), Bt = ({
|
2700
2700
|
className: i,
|
2701
|
-
color: e =
|
2701
|
+
color: e = k.GREY_DARK_5,
|
2702
2702
|
height: t = 24,
|
2703
2703
|
width: s = 24,
|
2704
2704
|
onClick: o
|
@@ -2717,9 +2717,9 @@ const me = ({
|
|
2717
2717
|
/* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
2718
2718
|
]
|
2719
2719
|
}
|
2720
|
-
),
|
2720
|
+
), Zt = ({
|
2721
2721
|
className: i,
|
2722
|
-
color: e =
|
2722
|
+
color: e = k.GREY_DARK_5,
|
2723
2723
|
height: t = 24,
|
2724
2724
|
width: s = 24,
|
2725
2725
|
onClick: o
|
@@ -2756,9 +2756,9 @@ const me = ({
|
|
2756
2756
|
)
|
2757
2757
|
]
|
2758
2758
|
}
|
2759
|
-
),
|
2759
|
+
), Wt = ({
|
2760
2760
|
className: i,
|
2761
|
-
color: e =
|
2761
|
+
color: e = k.GREY_DARK_5,
|
2762
2762
|
height: t = 24,
|
2763
2763
|
width: s = 24,
|
2764
2764
|
onClick: o
|
@@ -2795,9 +2795,9 @@ const me = ({
|
|
2795
2795
|
)
|
2796
2796
|
]
|
2797
2797
|
}
|
2798
|
-
),
|
2798
|
+
), jt = ({
|
2799
2799
|
className: i,
|
2800
|
-
color: e =
|
2800
|
+
color: e = k.GREY_DARK_5,
|
2801
2801
|
height: t = 24,
|
2802
2802
|
width: s = 24,
|
2803
2803
|
onClick: o
|
@@ -2834,9 +2834,9 @@ const me = ({
|
|
2834
2834
|
)
|
2835
2835
|
]
|
2836
2836
|
}
|
2837
|
-
),
|
2837
|
+
), Dt = ({
|
2838
2838
|
className: i,
|
2839
|
-
color: e =
|
2839
|
+
color: e = k.GREY_DARK_2,
|
2840
2840
|
height: t = 16,
|
2841
2841
|
width: s = 16,
|
2842
2842
|
onClick: o
|
@@ -2860,9 +2860,9 @@ const me = ({
|
|
2860
2860
|
}
|
2861
2861
|
)
|
2862
2862
|
}
|
2863
|
-
),
|
2863
|
+
), Tt = ({
|
2864
2864
|
className: i,
|
2865
|
-
color: e =
|
2865
|
+
color: e = k.GREY_DARK_5,
|
2866
2866
|
height: t = 20,
|
2867
2867
|
width: s = 20,
|
2868
2868
|
onClick: o
|
@@ -2889,9 +2889,9 @@ const me = ({
|
|
2889
2889
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
2890
2890
|
]
|
2891
2891
|
}
|
2892
|
-
),
|
2892
|
+
), Gt = ({
|
2893
2893
|
className: i,
|
2894
|
-
color: e =
|
2894
|
+
color: e = k.GREY_DARK_5,
|
2895
2895
|
height: t = 20,
|
2896
2896
|
width: s = 20,
|
2897
2897
|
onClick: o
|
@@ -2918,9 +2918,9 @@ const me = ({
|
|
2918
2918
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
2919
2919
|
]
|
2920
2920
|
}
|
2921
|
-
),
|
2921
|
+
), Kt = ({
|
2922
2922
|
className: i,
|
2923
|
-
color: e =
|
2923
|
+
color: e = k.GREY_DARK_5,
|
2924
2924
|
height: t = 20,
|
2925
2925
|
width: s = 20,
|
2926
2926
|
onClick: o
|
@@ -2935,7 +2935,7 @@ const me = ({
|
|
2935
2935
|
fill: "none",
|
2936
2936
|
xmlns: "http://www.w3.org/2000/svg",
|
2937
2937
|
children: [
|
2938
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
2938
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
2939
2939
|
/* @__PURE__ */ n(
|
2940
2940
|
"path",
|
2941
2941
|
{
|
@@ -2947,9 +2947,9 @@ const me = ({
|
|
2947
2947
|
)
|
2948
2948
|
]
|
2949
2949
|
}
|
2950
|
-
),
|
2950
|
+
), Pt = ({
|
2951
2951
|
className: i,
|
2952
|
-
color: e =
|
2952
|
+
color: e = k.GREY_DARK_5,
|
2953
2953
|
height: t = 20,
|
2954
2954
|
width: s = 20,
|
2955
2955
|
onClick: o
|
@@ -2964,7 +2964,7 @@ const me = ({
|
|
2964
2964
|
fill: "none",
|
2965
2965
|
xmlns: "http://www.w3.org/2000/svg",
|
2966
2966
|
children: [
|
2967
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
2967
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
2968
2968
|
/* @__PURE__ */ n(
|
2969
2969
|
"path",
|
2970
2970
|
{
|
@@ -2976,7 +2976,7 @@ const me = ({
|
|
2976
2976
|
)
|
2977
2977
|
]
|
2978
2978
|
}
|
2979
|
-
),
|
2979
|
+
), Ft = ({
|
2980
2980
|
className: i,
|
2981
2981
|
color: e = "#001E52",
|
2982
2982
|
height: t = 24,
|
@@ -3002,7 +3002,7 @@ const me = ({
|
|
3002
3002
|
}
|
3003
3003
|
)
|
3004
3004
|
}
|
3005
|
-
),
|
3005
|
+
), $t = ({
|
3006
3006
|
className: i,
|
3007
3007
|
color: e = "#131314",
|
3008
3008
|
height: t = 20,
|
@@ -3030,7 +3030,7 @@ const me = ({
|
|
3030
3030
|
}
|
3031
3031
|
)
|
3032
3032
|
}
|
3033
|
-
),
|
3033
|
+
), Yt = ({
|
3034
3034
|
className: i,
|
3035
3035
|
color: e = "#001E52",
|
3036
3036
|
height: t = 24,
|
@@ -3068,7 +3068,7 @@ const me = ({
|
|
3068
3068
|
)
|
3069
3069
|
] }) })
|
3070
3070
|
}
|
3071
|
-
),
|
3071
|
+
), Ut = ({
|
3072
3072
|
width: i = 20,
|
3073
3073
|
height: e = 20,
|
3074
3074
|
color: t = "#001E52",
|
@@ -3133,49 +3133,49 @@ const me = ({
|
|
3133
3133
|
disabled: l = !1,
|
3134
3134
|
onClick: c
|
3135
3135
|
}) => {
|
3136
|
-
const [r, d] = O(o), { theme: g } = l1(
|
3137
|
-
return
|
3136
|
+
const [r, d] = O(o), { theme: g } = l1(z1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
|
3137
|
+
return j(() => {
|
3138
3138
|
if (o) {
|
3139
3139
|
h && !l && d(`${o} clickable`);
|
3140
3140
|
return;
|
3141
3141
|
}
|
3142
3142
|
h && !l && d("clickable");
|
3143
|
-
}, [h, o, l]), /* @__PURE__ */ n(
|
3143
|
+
}, [h, o, l]), /* @__PURE__ */ n(t1, { children: (() => {
|
3144
3144
|
switch (i) {
|
3145
3145
|
case "nextIcon":
|
3146
|
-
return
|
3146
|
+
return dt({ width: e, height: t, color: a, className: r, onClick: h });
|
3147
3147
|
case "prevIcon":
|
3148
|
-
return
|
3148
|
+
return gt({ width: e, height: t, color: a, className: r, onClick: h });
|
3149
3149
|
case "arrowUp":
|
3150
|
-
return me({ width: e, height: t, color: a, className: r, onClick: h });
|
3151
|
-
case "arrowDown":
|
3152
3150
|
return ke({ width: e, height: t, color: a, className: r, onClick: h });
|
3153
|
-
case "
|
3151
|
+
case "arrowDown":
|
3154
3152
|
return Le({ width: e, height: t, color: a, className: r, onClick: h });
|
3155
|
-
case "
|
3153
|
+
case "info":
|
3156
3154
|
return ve({ width: e, height: t, color: a, className: r, onClick: h });
|
3157
|
-
case "
|
3155
|
+
case "arrowRight":
|
3158
3156
|
return Ne({ width: e, height: t, color: a, className: r, onClick: h });
|
3159
|
-
case "
|
3157
|
+
case "calendar":
|
3160
3158
|
return xe({ width: e, height: t, color: a, className: r, onClick: h });
|
3161
|
-
case "
|
3159
|
+
case "ok":
|
3162
3160
|
return Re({ width: e, height: t, color: a, className: r, onClick: h });
|
3163
|
-
case "
|
3161
|
+
case "cancel":
|
3164
3162
|
return Me({ width: e, height: t, color: a, className: r, onClick: h });
|
3165
|
-
case "
|
3163
|
+
case "add":
|
3166
3164
|
return ye({ width: e, height: t, color: a, className: r, onClick: h });
|
3167
|
-
case "
|
3165
|
+
case "list":
|
3168
3166
|
return be({ width: e, height: t, color: a, className: r, onClick: h });
|
3169
|
-
case "
|
3167
|
+
case "dragAndDrop":
|
3170
3168
|
return Ee({ width: e, height: t, color: a, className: r, onClick: h });
|
3171
|
-
case "
|
3169
|
+
case "filter":
|
3172
3170
|
return He({ width: e, height: t, color: a, className: r, onClick: h });
|
3173
|
-
case "
|
3171
|
+
case "attention":
|
3174
3172
|
return _e({ width: e, height: t, color: a, className: r, onClick: h });
|
3175
|
-
case "
|
3173
|
+
case "plus":
|
3176
3174
|
return Ve({ width: e, height: t, color: a, className: r, onClick: h });
|
3175
|
+
case "time":
|
3176
|
+
return Ie({ width: e, height: t, color: a, className: r, onClick: h });
|
3177
3177
|
case "arrowDownLong":
|
3178
|
-
return
|
3178
|
+
return Se({
|
3179
3179
|
width: e,
|
3180
3180
|
height: t,
|
3181
3181
|
color: a,
|
@@ -3183,9 +3183,9 @@ const me = ({
|
|
3183
3183
|
onClick: h
|
3184
3184
|
});
|
3185
3185
|
case "users":
|
3186
|
-
return
|
3186
|
+
return Oe({ width: e, height: t, color: a, className: r, onClick: h });
|
3187
3187
|
case "mySkillsMatrix":
|
3188
|
-
return
|
3188
|
+
return Ae({
|
3189
3189
|
width: e,
|
3190
3190
|
height: t,
|
3191
3191
|
color: a,
|
@@ -3193,9 +3193,9 @@ const me = ({
|
|
3193
3193
|
onClick: h
|
3194
3194
|
});
|
3195
3195
|
case "skills":
|
3196
|
-
return
|
3196
|
+
return Be({ width: e, height: t, color: a, className: r, onClick: h });
|
3197
3197
|
case "skillsMatrices":
|
3198
|
-
return
|
3198
|
+
return Ze({
|
3199
3199
|
width: e,
|
3200
3200
|
height: t,
|
3201
3201
|
color: a,
|
@@ -3203,23 +3203,23 @@ const me = ({
|
|
3203
3203
|
onClick: h
|
3204
3204
|
});
|
3205
3205
|
case "history":
|
3206
|
-
return Ze({ width: e, height: t, color: a, className: r, onClick: h });
|
3207
|
-
case "logOut":
|
3208
3206
|
return We({ width: e, height: t, color: a, className: r, onClick: h });
|
3209
|
-
case "
|
3207
|
+
case "logOut":
|
3210
3208
|
return je({ width: e, height: t, color: a, className: r, onClick: h });
|
3211
|
-
case "
|
3209
|
+
case "settings":
|
3212
3210
|
return De({ width: e, height: t, color: a, className: r, onClick: h });
|
3213
|
-
case "
|
3211
|
+
case "addSkill":
|
3214
3212
|
return Te({ width: e, height: t, color: a, className: r, onClick: h });
|
3215
|
-
case "
|
3213
|
+
case "conversation":
|
3216
3214
|
return Ge({ width: e, height: t, color: a, className: r, onClick: h });
|
3217
|
-
case "
|
3215
|
+
case "trash":
|
3218
3216
|
return Ke({ width: e, height: t, color: a, className: r, onClick: h });
|
3219
|
-
case "
|
3217
|
+
case "settings4":
|
3220
3218
|
return Pe({ width: e, height: t, color: a, className: r, onClick: h });
|
3219
|
+
case "edit2":
|
3220
|
+
return Fe({ width: e, height: t, color: a, className: r, onClick: h });
|
3221
3221
|
case "notifications":
|
3222
|
-
return
|
3222
|
+
return $e({
|
3223
3223
|
width: e,
|
3224
3224
|
height: t,
|
3225
3225
|
color: a,
|
@@ -3227,9 +3227,9 @@ const me = ({
|
|
3227
3227
|
onClick: h
|
3228
3228
|
});
|
3229
3229
|
case "success":
|
3230
|
-
return
|
3230
|
+
return Ye({ width: e, height: t, color: a, className: r, onClick: h });
|
3231
3231
|
case "attentionSmall":
|
3232
|
-
return
|
3232
|
+
return Ue({
|
3233
3233
|
width: e,
|
3234
3234
|
height: t,
|
3235
3235
|
color: a,
|
@@ -3237,11 +3237,11 @@ const me = ({
|
|
3237
3237
|
onClick: h
|
3238
3238
|
});
|
3239
3239
|
case "errorSmall":
|
3240
|
-
return Ue({ width: e, height: t, color: a, className: r, onClick: h });
|
3241
|
-
case "infoMedium":
|
3242
3240
|
return ze({ width: e, height: t, color: a, className: r, onClick: h });
|
3241
|
+
case "infoMedium":
|
3242
|
+
return Je({ width: e, height: t, color: a, className: r, onClick: h });
|
3243
3243
|
case "attentionMedium":
|
3244
|
-
return
|
3244
|
+
return Qe({
|
3245
3245
|
width: e,
|
3246
3246
|
height: t,
|
3247
3247
|
color: a,
|
@@ -3249,9 +3249,9 @@ const me = ({
|
|
3249
3249
|
onClick: h
|
3250
3250
|
});
|
3251
3251
|
case "errorMedium":
|
3252
|
-
return
|
3252
|
+
return qe({ width: e, height: t, color: a, className: r, onClick: h });
|
3253
3253
|
case "faviconSkills":
|
3254
|
-
return
|
3254
|
+
return ot({
|
3255
3255
|
width: e,
|
3256
3256
|
height: t,
|
3257
3257
|
color: a,
|
@@ -3259,7 +3259,7 @@ const me = ({
|
|
3259
3259
|
onClick: h
|
3260
3260
|
});
|
3261
3261
|
case "visibilityIcon":
|
3262
|
-
return
|
3262
|
+
return Xe({
|
3263
3263
|
width: e,
|
3264
3264
|
height: t,
|
3265
3265
|
color: a,
|
@@ -3267,7 +3267,7 @@ const me = ({
|
|
3267
3267
|
onClick: h
|
3268
3268
|
});
|
3269
3269
|
case "visibilityOffIcon":
|
3270
|
-
return
|
3270
|
+
return et({
|
3271
3271
|
width: e,
|
3272
3272
|
height: t,
|
3273
3273
|
color: a,
|
@@ -3275,7 +3275,7 @@ const me = ({
|
|
3275
3275
|
onClick: h
|
3276
3276
|
});
|
3277
3277
|
case "selectArrowIcon":
|
3278
|
-
return
|
3278
|
+
return tt({
|
3279
3279
|
width: e,
|
3280
3280
|
height: t,
|
3281
3281
|
color: a,
|
@@ -3283,7 +3283,7 @@ const me = ({
|
|
3283
3283
|
onClick: h
|
3284
3284
|
});
|
3285
3285
|
case "expandArrowIcon":
|
3286
|
-
return
|
3286
|
+
return it({
|
3287
3287
|
width: e,
|
3288
3288
|
height: t,
|
3289
3289
|
color: a,
|
@@ -3291,7 +3291,7 @@ const me = ({
|
|
3291
3291
|
onClick: h
|
3292
3292
|
});
|
3293
3293
|
case "expandActiveArrowIcon":
|
3294
|
-
return
|
3294
|
+
return st({
|
3295
3295
|
width: e,
|
3296
3296
|
height: t,
|
3297
3297
|
color: a,
|
@@ -3299,99 +3299,99 @@ const me = ({
|
|
3299
3299
|
onClick: h
|
3300
3300
|
});
|
3301
3301
|
case "camera":
|
3302
|
-
return
|
3302
|
+
return nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3303
3303
|
case "sortUp":
|
3304
|
-
return
|
3304
|
+
return rt({ width: e, height: t, color: a, className: r, onClick: h });
|
3305
3305
|
case "sortDown":
|
3306
|
-
return
|
3306
|
+
return lt({ width: e, height: t, color: a, className: r, onClick: h });
|
3307
3307
|
case "logOut2":
|
3308
|
-
return
|
3308
|
+
return at({ width: e, height: t, color: a, className: r, onClick: h });
|
3309
3309
|
case "search":
|
3310
|
-
return
|
3310
|
+
return ht({ width: e, height: t, color: a, className: r, onClick: h });
|
3311
3311
|
case "handRock":
|
3312
|
-
return
|
3312
|
+
return ct({ width: e, height: t, color: a, className: r, onClick: h });
|
3313
3313
|
case "arrowUpFilled":
|
3314
|
-
return
|
3314
|
+
return ut({ width: e, height: t, color: a, className: r, onClick: h });
|
3315
3315
|
case "arrowDownFilled":
|
3316
|
-
return
|
3316
|
+
return Ct({ width: e, height: t, color: a, className: r, onClick: h });
|
3317
3317
|
case "link":
|
3318
|
-
return
|
3318
|
+
return pt({ width: e, height: t, color: a, className: r, onClick: h });
|
3319
3319
|
case "telegram":
|
3320
|
-
return
|
3320
|
+
return wt({ width: e, height: t, color: a, className: r, onClick: h });
|
3321
3321
|
case "mail":
|
3322
|
-
return
|
3322
|
+
return kt({ width: e, height: t, color: a, className: r, onClick: h });
|
3323
3323
|
case "github":
|
3324
|
-
return
|
3324
|
+
return ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3325
3325
|
case "linkedIn":
|
3326
|
-
return
|
3326
|
+
return mt({ width: e, height: t, color: a, className: r, onClick: h });
|
3327
3327
|
case "emptyStateIcon":
|
3328
|
-
return
|
3328
|
+
return Lt({ width: e, height: t, color: a, className: r, onClick: h });
|
3329
3329
|
case "filtersIcon":
|
3330
|
-
return
|
3330
|
+
return vt({ width: e, height: t, color: a, className: r, onClick: h });
|
3331
3331
|
case "dotMenuIcon":
|
3332
|
-
return
|
3332
|
+
return Nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3333
3333
|
case "plusCircle":
|
3334
|
-
return
|
3334
|
+
return xt({ width: e, height: t, color: a, className: r, onClick: h });
|
3335
3335
|
case "warning":
|
3336
|
-
return
|
3336
|
+
return Rt({ width: e, height: t, color: a, className: r, onClick: h });
|
3337
3337
|
case "back":
|
3338
|
-
return
|
3338
|
+
return Mt({ width: e, height: t, color: a, className: r, onClick: h });
|
3339
3339
|
case "bell":
|
3340
|
-
return
|
3340
|
+
return yt({ width: e, height: t, color: a, className: r, onClick: h });
|
3341
3341
|
case "contract":
|
3342
|
-
return
|
3342
|
+
return Et({ width: e, height: t, color: a, className: r, onClick: h });
|
3343
3343
|
case "trash2":
|
3344
|
-
return
|
3344
|
+
return bt({ width: e, height: t, color: a, className: r, onClick: h });
|
3345
3345
|
case "manager":
|
3346
|
-
return
|
3346
|
+
return Ht({ width: e, height: t, color: a, className: r, onClick: h });
|
3347
3347
|
case "resourceManager":
|
3348
|
-
return
|
3348
|
+
return _t({ width: e, height: t, color: a, className: r, onClick: h });
|
3349
3349
|
case "settings2":
|
3350
|
-
return
|
3350
|
+
return Vt({ width: e, height: t, color: a, className: r, onClick: h });
|
3351
3351
|
case "image":
|
3352
|
-
return
|
3352
|
+
return It({ width: e, height: t, color: a, className: r, onClick: h });
|
3353
3353
|
case "upload":
|
3354
|
-
return
|
3354
|
+
return St({ width: e, height: t, color: a, className: r, onClick: h });
|
3355
3355
|
case "edit":
|
3356
|
-
return
|
3356
|
+
return Ot({ width: e, height: t, color: a, className: r, onClick: h });
|
3357
3357
|
case "location":
|
3358
|
-
return
|
3358
|
+
return At({ width: e, height: t, color: a, className: r, onClick: h });
|
3359
3359
|
case "plus2":
|
3360
|
-
return
|
3360
|
+
return Bt({ width: e, height: t, color: a, className: r, onClick: h });
|
3361
3361
|
case "search2":
|
3362
|
-
return
|
3362
|
+
return Zt({ width: e, height: t, color: a, className: r, onClick: h });
|
3363
3363
|
case "fastArrowLeft":
|
3364
|
-
return
|
3364
|
+
return Wt({ width: e, height: t, color: a, className: r, onClick: h });
|
3365
3365
|
case "fastArrowRight":
|
3366
|
-
return
|
3366
|
+
return jt({ width: e, height: t, color: a, className: r, onClick: h });
|
3367
3367
|
case "crossInCircle":
|
3368
|
-
return
|
3368
|
+
return Dt({ width: e, height: t, color: a, className: r, onClick: h });
|
3369
3369
|
case "arrowUp2":
|
3370
|
-
return
|
3370
|
+
return Gt({ width: e, height: t, color: a, className: r, onClick: h });
|
3371
3371
|
case "arrowDown2":
|
3372
|
-
return
|
3372
|
+
return Tt({ width: e, height: t, color: a, className: r, onClick: h });
|
3373
3373
|
case "filledArrowLeft":
|
3374
|
-
return
|
3374
|
+
return Kt({ width: e, height: t, color: a, className: r, onClick: h });
|
3375
3375
|
case "filledArrowRight":
|
3376
|
-
return
|
3376
|
+
return Pt({ width: e, height: t, color: a, className: r, onClick: h });
|
3377
3377
|
case "burgerMenu":
|
3378
|
-
return
|
3378
|
+
return Ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3379
3379
|
case "signOut":
|
3380
|
-
return
|
3380
|
+
return $t({ width: e, height: t, color: a, className: r, onClick: h });
|
3381
3381
|
case "refresh":
|
3382
|
-
return
|
3382
|
+
return Yt({ width: e, height: t, color: a, className: r, onClick: h });
|
3383
3383
|
case "projects":
|
3384
|
-
return
|
3384
|
+
return Ut({ width: e, height: t, color: a, className: r, onClick: h });
|
3385
3385
|
default:
|
3386
|
-
return /* @__PURE__ */ n(
|
3386
|
+
return /* @__PURE__ */ n(t1, { children: "No Icon provided" });
|
3387
3387
|
}
|
3388
3388
|
})() });
|
3389
|
-
}, { Title:
|
3389
|
+
}, { Title: zt, Text: Jt } = $1, Qt = {
|
3390
3390
|
h1: 1,
|
3391
3391
|
h2: 2,
|
3392
3392
|
h3: 3,
|
3393
3393
|
h4: 4
|
3394
|
-
},
|
3394
|
+
}, qt = f1(
|
3395
3395
|
({
|
3396
3396
|
align: i = "inherit",
|
3397
3397
|
variant: e = "body1",
|
@@ -3404,17 +3404,17 @@ const me = ({
|
|
3404
3404
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
3405
3405
|
let g = `snmt-typography snmt-typography-${e}`;
|
3406
3406
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
|
3407
|
-
|
3407
|
+
zt,
|
3408
3408
|
{
|
3409
3409
|
className: g,
|
3410
3410
|
style: { color: t, whiteSpace: c },
|
3411
3411
|
onClick: o,
|
3412
|
-
level:
|
3412
|
+
level: Qt[e],
|
3413
3413
|
ref: r,
|
3414
3414
|
children: s
|
3415
3415
|
}
|
3416
3416
|
) : /* @__PURE__ */ n(
|
3417
|
-
|
3417
|
+
Jt,
|
3418
3418
|
{
|
3419
3419
|
className: g,
|
3420
3420
|
style: { color: t, whiteSpace: c },
|
@@ -3425,13 +3425,13 @@ const me = ({
|
|
3425
3425
|
);
|
3426
3426
|
}
|
3427
3427
|
);
|
3428
|
-
var
|
3429
|
-
const
|
3428
|
+
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 || {});
|
3429
|
+
const J1 = n1({
|
3430
3430
|
locale: "en",
|
3431
3431
|
theme: "light"
|
3432
3432
|
});
|
3433
|
-
|
3434
|
-
const
|
3433
|
+
J1.Provider;
|
3434
|
+
const Xt = ({
|
3435
3435
|
width: i = 20,
|
3436
3436
|
height: e = 20,
|
3437
3437
|
color: t = "#001E52",
|
@@ -3458,7 +3458,7 @@ const q2 = ({
|
|
3458
3458
|
}
|
3459
3459
|
)
|
3460
3460
|
}
|
3461
|
-
),
|
3461
|
+
), e2 = ({
|
3462
3462
|
width: i = 20,
|
3463
3463
|
height: e = 20,
|
3464
3464
|
color: t = "#001E52",
|
@@ -3485,7 +3485,7 @@ const q2 = ({
|
|
3485
3485
|
}
|
3486
3486
|
)
|
3487
3487
|
}
|
3488
|
-
),
|
3488
|
+
), t2 = ({
|
3489
3489
|
width: i = 16,
|
3490
3490
|
height: e = 16,
|
3491
3491
|
color: t = "#001E52",
|
@@ -3513,7 +3513,7 @@ const q2 = ({
|
|
3513
3513
|
)
|
3514
3514
|
]
|
3515
3515
|
}
|
3516
|
-
),
|
3516
|
+
), i2 = ({
|
3517
3517
|
width: i = 20,
|
3518
3518
|
height: e = 20,
|
3519
3519
|
color: t = "#001E52",
|
@@ -3548,7 +3548,7 @@ const q2 = ({
|
|
3548
3548
|
)
|
3549
3549
|
]
|
3550
3550
|
}
|
3551
|
-
),
|
3551
|
+
), s2 = ({
|
3552
3552
|
width: i = 18,
|
3553
3553
|
height: e = 18,
|
3554
3554
|
color: t = "#001E52",
|
@@ -3587,7 +3587,7 @@ const q2 = ({
|
|
3587
3587
|
)
|
3588
3588
|
]
|
3589
3589
|
}
|
3590
|
-
),
|
3590
|
+
), o2 = ({
|
3591
3591
|
width: i = 20,
|
3592
3592
|
height: e = 20,
|
3593
3593
|
color: t = "#001E52",
|
@@ -3613,7 +3613,7 @@ const q2 = ({
|
|
3613
3613
|
}
|
3614
3614
|
)
|
3615
3615
|
}
|
3616
|
-
),
|
3616
|
+
), n2 = ({
|
3617
3617
|
width: i = 20,
|
3618
3618
|
height: e = 20,
|
3619
3619
|
color: t = "#001E52",
|
@@ -3634,7 +3634,7 @@ const q2 = ({
|
|
3634
3634
|
/* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
3635
3635
|
]
|
3636
3636
|
}
|
3637
|
-
),
|
3637
|
+
), r2 = ({
|
3638
3638
|
width: i = 20,
|
3639
3639
|
height: e = 20,
|
3640
3640
|
color: t = "#001E52",
|
@@ -3666,7 +3666,7 @@ const q2 = ({
|
|
3666
3666
|
)
|
3667
3667
|
]
|
3668
3668
|
}
|
3669
|
-
),
|
3669
|
+
), l2 = ({
|
3670
3670
|
width: i = 20,
|
3671
3671
|
height: e = 20,
|
3672
3672
|
color: t = "#001E52",
|
@@ -3720,7 +3720,7 @@ const q2 = ({
|
|
3720
3720
|
)
|
3721
3721
|
]
|
3722
3722
|
}
|
3723
|
-
),
|
3723
|
+
), a2 = ({
|
3724
3724
|
width: i = 20,
|
3725
3725
|
height: e = 20,
|
3726
3726
|
color: t = "#001E52",
|
@@ -3759,7 +3759,7 @@ const q2 = ({
|
|
3759
3759
|
/* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
3760
3760
|
]
|
3761
3761
|
}
|
3762
|
-
),
|
3762
|
+
), h2 = ({
|
3763
3763
|
width: i = 16,
|
3764
3764
|
height: e = 12,
|
3765
3765
|
color: t = "#001E52",
|
@@ -3808,7 +3808,7 @@ const q2 = ({
|
|
3808
3808
|
)
|
3809
3809
|
] })
|
3810
3810
|
}
|
3811
|
-
),
|
3811
|
+
), c2 = ({
|
3812
3812
|
width: i = 16,
|
3813
3813
|
height: e = 16,
|
3814
3814
|
color: t = "#001E52",
|
@@ -3842,7 +3842,7 @@ const q2 = ({
|
|
3842
3842
|
)
|
3843
3843
|
]
|
3844
3844
|
}
|
3845
|
-
),
|
3845
|
+
), d2 = ({
|
3846
3846
|
width: i = 10,
|
3847
3847
|
height: e = 10,
|
3848
3848
|
color: t = "#001E52",
|
@@ -3881,7 +3881,7 @@ const q2 = ({
|
|
3881
3881
|
)
|
3882
3882
|
] })
|
3883
3883
|
}
|
3884
|
-
),
|
3884
|
+
), g2 = ({
|
3885
3885
|
width: i = 16,
|
3886
3886
|
height: e = 16,
|
3887
3887
|
color: t = "#001E52",
|
@@ -3917,7 +3917,7 @@ const q2 = ({
|
|
3917
3917
|
)
|
3918
3918
|
]
|
3919
3919
|
}
|
3920
|
-
),
|
3920
|
+
), C2 = ({
|
3921
3921
|
width: i = 11,
|
3922
3922
|
height: e = 32,
|
3923
3923
|
color: t = "#001E52",
|
@@ -3955,7 +3955,7 @@ const q2 = ({
|
|
3955
3955
|
/* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
3956
3956
|
]
|
3957
3957
|
}
|
3958
|
-
),
|
3958
|
+
), u2 = ({
|
3959
3959
|
width: i = 20,
|
3960
3960
|
height: e = 20,
|
3961
3961
|
color: t = "#001E52",
|
@@ -4002,7 +4002,7 @@ const q2 = ({
|
|
4002
4002
|
)
|
4003
4003
|
]
|
4004
4004
|
}
|
4005
|
-
),
|
4005
|
+
), p2 = ({
|
4006
4006
|
width: i = 20,
|
4007
4007
|
height: e = 20,
|
4008
4008
|
color: t = "#001E52",
|
@@ -4035,7 +4035,7 @@ const q2 = ({
|
|
4035
4035
|
)
|
4036
4036
|
]
|
4037
4037
|
}
|
4038
|
-
),
|
4038
|
+
), f2 = ({
|
4039
4039
|
width: i = 20,
|
4040
4040
|
height: e = 20,
|
4041
4041
|
color: t = "#001E52",
|
@@ -4082,7 +4082,7 @@ const q2 = ({
|
|
4082
4082
|
)
|
4083
4083
|
]
|
4084
4084
|
}
|
4085
|
-
),
|
4085
|
+
), w2 = ({
|
4086
4086
|
width: i = 20,
|
4087
4087
|
height: e = 20,
|
4088
4088
|
color: t = "#001E52",
|
@@ -4115,7 +4115,7 @@ const q2 = ({
|
|
4115
4115
|
)
|
4116
4116
|
]
|
4117
4117
|
}
|
4118
|
-
),
|
4118
|
+
), m2 = ({
|
4119
4119
|
width: i = 18,
|
4120
4120
|
height: e = 16,
|
4121
4121
|
color: t = "#001E52",
|
@@ -4154,7 +4154,7 @@ const q2 = ({
|
|
4154
4154
|
)
|
4155
4155
|
]
|
4156
4156
|
}
|
4157
|
-
),
|
4157
|
+
), k2 = ({
|
4158
4158
|
width: i = 20,
|
4159
4159
|
height: e = 20,
|
4160
4160
|
color: t = "#001E52",
|
@@ -4187,7 +4187,7 @@ const q2 = ({
|
|
4187
4187
|
)
|
4188
4188
|
]
|
4189
4189
|
}
|
4190
|
-
),
|
4190
|
+
), L2 = ({
|
4191
4191
|
width: i = 20,
|
4192
4192
|
height: e = 20,
|
4193
4193
|
color: t = "#001E52",
|
@@ -4211,7 +4211,7 @@ const q2 = ({
|
|
4211
4211
|
}
|
4212
4212
|
)
|
4213
4213
|
}
|
4214
|
-
),
|
4214
|
+
), v2 = ({
|
4215
4215
|
width: i = 20,
|
4216
4216
|
height: e = 20,
|
4217
4217
|
color: t = "#001E52",
|
@@ -4258,7 +4258,7 @@ const q2 = ({
|
|
4258
4258
|
)
|
4259
4259
|
]
|
4260
4260
|
}
|
4261
|
-
),
|
4261
|
+
), N2 = ({
|
4262
4262
|
width: i = 20,
|
4263
4263
|
height: e = 20,
|
4264
4264
|
color: t = "#001E52",
|
@@ -4291,7 +4291,7 @@ const q2 = ({
|
|
4291
4291
|
)
|
4292
4292
|
]
|
4293
4293
|
}
|
4294
|
-
),
|
4294
|
+
), x2 = ({
|
4295
4295
|
width: i = 20,
|
4296
4296
|
height: e = 20,
|
4297
4297
|
color: t = "#001E52",
|
@@ -4324,7 +4324,7 @@ const q2 = ({
|
|
4324
4324
|
)
|
4325
4325
|
]
|
4326
4326
|
}
|
4327
|
-
),
|
4327
|
+
), R2 = ({
|
4328
4328
|
width: i = 20,
|
4329
4329
|
height: e = 23,
|
4330
4330
|
color: t = "#001E52",
|
@@ -4385,7 +4385,7 @@ const q2 = ({
|
|
4385
4385
|
)
|
4386
4386
|
]
|
4387
4387
|
}
|
4388
|
-
),
|
4388
|
+
), M2 = ({
|
4389
4389
|
width: i = 20,
|
4390
4390
|
height: e = 20,
|
4391
4391
|
color: t = "#001E52",
|
@@ -4425,7 +4425,7 @@ const q2 = ({
|
|
4425
4425
|
)
|
4426
4426
|
]
|
4427
4427
|
}
|
4428
|
-
),
|
4428
|
+
), y2 = ({
|
4429
4429
|
width: i = 32,
|
4430
4430
|
height: e = 25,
|
4431
4431
|
color: t = "#001E52",
|
@@ -4453,7 +4453,7 @@ const q2 = ({
|
|
4453
4453
|
)
|
4454
4454
|
]
|
4455
4455
|
}
|
4456
|
-
),
|
4456
|
+
), b2 = ({
|
4457
4457
|
width: i = 14,
|
4458
4458
|
height: e = 14,
|
4459
4459
|
color: t = "#10B981",
|
@@ -4482,7 +4482,7 @@ const q2 = ({
|
|
4482
4482
|
)
|
4483
4483
|
]
|
4484
4484
|
}
|
4485
|
-
),
|
4485
|
+
), E2 = ({
|
4486
4486
|
width: i = 11,
|
4487
4487
|
height: e = 11,
|
4488
4488
|
color: t = "#FFB020",
|
@@ -4516,7 +4516,7 @@ const q2 = ({
|
|
4516
4516
|
)
|
4517
4517
|
]
|
4518
4518
|
}
|
4519
|
-
),
|
4519
|
+
), H2 = ({
|
4520
4520
|
width: i = 10,
|
4521
4521
|
height: e = 10,
|
4522
4522
|
color: t = "#88A4FF",
|
@@ -4564,7 +4564,7 @@ const q2 = ({
|
|
4564
4564
|
)
|
4565
4565
|
]
|
4566
4566
|
}
|
4567
|
-
),
|
4567
|
+
), _2 = ({
|
4568
4568
|
width: i = 14,
|
4569
4569
|
height: e = 14,
|
4570
4570
|
color: t = "#8E8E93",
|
@@ -4592,7 +4592,7 @@ const q2 = ({
|
|
4592
4592
|
)
|
4593
4593
|
]
|
4594
4594
|
}
|
4595
|
-
),
|
4595
|
+
), V2 = ({
|
4596
4596
|
width: i = 14,
|
4597
4597
|
height: e = 14,
|
4598
4598
|
color: t = "#FFB020",
|
@@ -4626,7 +4626,7 @@ const q2 = ({
|
|
4626
4626
|
)
|
4627
4627
|
]
|
4628
4628
|
}
|
4629
|
-
),
|
4629
|
+
), I2 = ({
|
4630
4630
|
width: i = 14,
|
4631
4631
|
height: e = 14,
|
4632
4632
|
color: t = "#D0421B",
|
@@ -4674,7 +4674,7 @@ const q2 = ({
|
|
4674
4674
|
)
|
4675
4675
|
]
|
4676
4676
|
}
|
4677
|
-
),
|
4677
|
+
), S2 = ({
|
4678
4678
|
width: i = 20,
|
4679
4679
|
height: e = 20,
|
4680
4680
|
color: t = "#070739",
|
@@ -4704,7 +4704,7 @@ const q2 = ({
|
|
4704
4704
|
/* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
4705
4705
|
]
|
4706
4706
|
}
|
4707
|
-
),
|
4707
|
+
), O2 = ({
|
4708
4708
|
width: i = 20,
|
4709
4709
|
height: e = 20,
|
4710
4710
|
color: t = "#070739",
|
@@ -4742,7 +4742,7 @@ const q2 = ({
|
|
4742
4742
|
)
|
4743
4743
|
]
|
4744
4744
|
}
|
4745
|
-
),
|
4745
|
+
), A2 = ({
|
4746
4746
|
width: i = 9,
|
4747
4747
|
height: e = 5,
|
4748
4748
|
color: t = "#001E52",
|
@@ -4768,7 +4768,7 @@ const q2 = ({
|
|
4768
4768
|
}
|
4769
4769
|
)
|
4770
4770
|
}
|
4771
|
-
),
|
4771
|
+
), B2 = ({
|
4772
4772
|
width: i = 20,
|
4773
4773
|
height: e = 20,
|
4774
4774
|
color: t = "#F2F2F7",
|
@@ -4797,7 +4797,7 @@ const q2 = ({
|
|
4797
4797
|
)
|
4798
4798
|
]
|
4799
4799
|
}
|
4800
|
-
),
|
4800
|
+
), Z2 = ({
|
4801
4801
|
width: i = 20,
|
4802
4802
|
height: e = 20,
|
4803
4803
|
color: t = "#004ED7",
|
@@ -4826,7 +4826,7 @@ const q2 = ({
|
|
4826
4826
|
)
|
4827
4827
|
]
|
4828
4828
|
}
|
4829
|
-
),
|
4829
|
+
), W2 = ({
|
4830
4830
|
width: i = 248,
|
4831
4831
|
height: e = 248,
|
4832
4832
|
color: t = "#070739",
|
@@ -4863,7 +4863,7 @@ const q2 = ({
|
|
4863
4863
|
)
|
4864
4864
|
]
|
4865
4865
|
}
|
4866
|
-
),
|
4866
|
+
), j2 = ({
|
4867
4867
|
width: i = 24,
|
4868
4868
|
height: e = 24,
|
4869
4869
|
color: t = "#001E52",
|
@@ -4902,7 +4902,7 @@ const q2 = ({
|
|
4902
4902
|
)
|
4903
4903
|
]
|
4904
4904
|
}
|
4905
|
-
),
|
4905
|
+
), D2 = ({
|
4906
4906
|
width: i = 10,
|
4907
4907
|
height: e = 10,
|
4908
4908
|
color: t = "#001E52",
|
@@ -4931,7 +4931,7 @@ const q2 = ({
|
|
4931
4931
|
)
|
4932
4932
|
]
|
4933
4933
|
}
|
4934
|
-
),
|
4934
|
+
), T2 = ({
|
4935
4935
|
width: i = 10,
|
4936
4936
|
height: e = 10,
|
4937
4937
|
color: t = "#001E52",
|
@@ -4968,10 +4968,10 @@ const q2 = ({
|
|
4968
4968
|
)
|
4969
4969
|
]
|
4970
4970
|
}
|
4971
|
-
),
|
4971
|
+
), G2 = ({
|
4972
4972
|
width: i = 24,
|
4973
4973
|
height: e = 24,
|
4974
|
-
color: t =
|
4974
|
+
color: t = L.GREY_DARK_5,
|
4975
4975
|
className: s,
|
4976
4976
|
onClick: o
|
4977
4977
|
}) => /* @__PURE__ */ C(
|
@@ -5007,10 +5007,10 @@ const q2 = ({
|
|
5007
5007
|
)
|
5008
5008
|
]
|
5009
5009
|
}
|
5010
|
-
),
|
5010
|
+
), K2 = ({
|
5011
5011
|
width: i = 20,
|
5012
5012
|
height: e = 20,
|
5013
|
-
color: t =
|
5013
|
+
color: t = L.GREY_DARK_1,
|
5014
5014
|
className: s,
|
5015
5015
|
onClick: o
|
5016
5016
|
}) => /* @__PURE__ */ C(
|
@@ -5040,10 +5040,10 @@ const q2 = ({
|
|
5040
5040
|
)
|
5041
5041
|
]
|
5042
5042
|
}
|
5043
|
-
),
|
5043
|
+
), P2 = ({
|
5044
5044
|
width: i = 81,
|
5045
5045
|
height: e = 80,
|
5046
|
-
color: t =
|
5046
|
+
color: t = L.GREY_DARK_5,
|
5047
5047
|
className: s,
|
5048
5048
|
onClick: o
|
5049
5049
|
}) => /* @__PURE__ */ C(
|
@@ -5089,9 +5089,9 @@ const q2 = ({
|
|
5089
5089
|
)
|
5090
5090
|
]
|
5091
5091
|
}
|
5092
|
-
),
|
5092
|
+
), F2 = ({
|
5093
5093
|
className: i,
|
5094
|
-
color: e =
|
5094
|
+
color: e = L.GREY_DARK_5,
|
5095
5095
|
height: t = 20,
|
5096
5096
|
width: s = 20,
|
5097
5097
|
onClick: o
|
@@ -5116,9 +5116,9 @@ const q2 = ({
|
|
5116
5116
|
}
|
5117
5117
|
)
|
5118
5118
|
}
|
5119
|
-
),
|
5119
|
+
), $2 = ({
|
5120
5120
|
className: i,
|
5121
|
-
color: e =
|
5121
|
+
color: e = L.GREY_DARK_5,
|
5122
5122
|
height: t = 20,
|
5123
5123
|
width: s = 20,
|
5124
5124
|
onClick: o
|
@@ -5143,9 +5143,9 @@ const q2 = ({
|
|
5143
5143
|
}
|
5144
5144
|
)
|
5145
5145
|
}
|
5146
|
-
),
|
5146
|
+
), Y2 = ({
|
5147
5147
|
className: i,
|
5148
|
-
color: e =
|
5148
|
+
color: e = L.GREY_DARK_5,
|
5149
5149
|
height: t = 5,
|
5150
5150
|
width: s = 10,
|
5151
5151
|
onClick: o
|
@@ -5167,9 +5167,9 @@ const q2 = ({
|
|
5167
5167
|
}
|
5168
5168
|
)
|
5169
5169
|
}
|
5170
|
-
),
|
5170
|
+
), U2 = ({
|
5171
5171
|
className: i,
|
5172
|
-
color: e =
|
5172
|
+
color: e = L.GREY_DARK_5,
|
5173
5173
|
height: t = 5,
|
5174
5174
|
width: s = 10,
|
5175
5175
|
onClick: o
|
@@ -5192,9 +5192,9 @@ const q2 = ({
|
|
5192
5192
|
}
|
5193
5193
|
)
|
5194
5194
|
}
|
5195
|
-
),
|
5195
|
+
), z2 = ({
|
5196
5196
|
className: i,
|
5197
|
-
color: e =
|
5197
|
+
color: e = L.GREY_DARK_5,
|
5198
5198
|
height: t = 24,
|
5199
5199
|
width: s = 24,
|
5200
5200
|
onClick: o
|
@@ -5231,9 +5231,9 @@ const q2 = ({
|
|
5231
5231
|
)
|
5232
5232
|
]
|
5233
5233
|
}
|
5234
|
-
),
|
5234
|
+
), J2 = ({
|
5235
5235
|
className: i,
|
5236
|
-
color: e =
|
5236
|
+
color: e = L.GREY_DARK_5,
|
5237
5237
|
height: t = 24,
|
5238
5238
|
width: s = 24,
|
5239
5239
|
onClick: o
|
@@ -5270,9 +5270,9 @@ const q2 = ({
|
|
5270
5270
|
)
|
5271
5271
|
]
|
5272
5272
|
}
|
5273
|
-
),
|
5273
|
+
), Q2 = ({
|
5274
5274
|
className: i,
|
5275
|
-
color: e =
|
5275
|
+
color: e = L.GREY_DARK_5,
|
5276
5276
|
height: t = 24,
|
5277
5277
|
width: s = 24,
|
5278
5278
|
onClick: o
|
@@ -5297,9 +5297,9 @@ const q2 = ({
|
|
5297
5297
|
}
|
5298
5298
|
)
|
5299
5299
|
}
|
5300
|
-
),
|
5300
|
+
), q2 = ({
|
5301
5301
|
className: i,
|
5302
|
-
color: e =
|
5302
|
+
color: e = L.GREY_DARK_5,
|
5303
5303
|
height: t = 24,
|
5304
5304
|
width: s = 24,
|
5305
5305
|
onClick: o
|
@@ -5356,9 +5356,9 @@ const q2 = ({
|
|
5356
5356
|
)
|
5357
5357
|
]
|
5358
5358
|
}
|
5359
|
-
),
|
5359
|
+
), X2 = ({
|
5360
5360
|
className: i,
|
5361
|
-
color: e =
|
5361
|
+
color: e = L.GREY_DARK_5,
|
5362
5362
|
height: t = 24,
|
5363
5363
|
width: s = 24,
|
5364
5364
|
onClick: o
|
@@ -5393,9 +5393,9 @@ const q2 = ({
|
|
5393
5393
|
)
|
5394
5394
|
]
|
5395
5395
|
}
|
5396
|
-
),
|
5396
|
+
), e5 = ({
|
5397
5397
|
className: i,
|
5398
|
-
color: e =
|
5398
|
+
color: e = L.GREY_DARK_3,
|
5399
5399
|
height: t = 14,
|
5400
5400
|
width: s = 14,
|
5401
5401
|
onClick: o
|
@@ -5430,9 +5430,9 @@ const q2 = ({
|
|
5430
5430
|
)
|
5431
5431
|
]
|
5432
5432
|
}
|
5433
|
-
),
|
5433
|
+
), t5 = ({
|
5434
5434
|
className: i,
|
5435
|
-
color: e =
|
5435
|
+
color: e = L.GREY_DARK_5,
|
5436
5436
|
height: t = 18,
|
5437
5437
|
onClick: s,
|
5438
5438
|
width: o = 18
|
@@ -5457,9 +5457,9 @@ const q2 = ({
|
|
5457
5457
|
}
|
5458
5458
|
)
|
5459
5459
|
}
|
5460
|
-
),
|
5460
|
+
), i5 = ({
|
5461
5461
|
className: i,
|
5462
|
-
color: e =
|
5462
|
+
color: e = L.GREY_DARK_5,
|
5463
5463
|
height: t = 24,
|
5464
5464
|
width: s = 24,
|
5465
5465
|
onClick: o
|
@@ -5509,9 +5509,9 @@ const q2 = ({
|
|
5509
5509
|
)
|
5510
5510
|
]
|
5511
5511
|
}
|
5512
|
-
),
|
5512
|
+
), s5 = ({
|
5513
5513
|
className: i,
|
5514
|
-
color: e =
|
5514
|
+
color: e = L.GREY_DARK_5,
|
5515
5515
|
height: t = 24,
|
5516
5516
|
width: s = 24,
|
5517
5517
|
onClick: o
|
@@ -5546,9 +5546,9 @@ const q2 = ({
|
|
5546
5546
|
)
|
5547
5547
|
]
|
5548
5548
|
}
|
5549
|
-
),
|
5549
|
+
), o5 = ({
|
5550
5550
|
className: i,
|
5551
|
-
color: e =
|
5551
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
5552
5552
|
height: t = 37,
|
5553
5553
|
width: s = 36,
|
5554
5554
|
onClick: o
|
@@ -5585,9 +5585,9 @@ const q2 = ({
|
|
5585
5585
|
)
|
5586
5586
|
]
|
5587
5587
|
}
|
5588
|
-
),
|
5588
|
+
), n5 = ({
|
5589
5589
|
className: i,
|
5590
|
-
color: e =
|
5590
|
+
color: e = L.GREY_DARK_5,
|
5591
5591
|
height: t = 24,
|
5592
5592
|
width: s = 24,
|
5593
5593
|
onClick: o
|
@@ -5611,9 +5611,9 @@ const q2 = ({
|
|
5611
5611
|
}
|
5612
5612
|
)
|
5613
5613
|
}
|
5614
|
-
),
|
5614
|
+
), r5 = ({
|
5615
5615
|
className: i,
|
5616
|
-
color: e =
|
5616
|
+
color: e = L.GREY_DARK_5,
|
5617
5617
|
height: t = 24,
|
5618
5618
|
width: s = 24,
|
5619
5619
|
onClick: o
|
@@ -5650,9 +5650,9 @@ const q2 = ({
|
|
5650
5650
|
)
|
5651
5651
|
]
|
5652
5652
|
}
|
5653
|
-
),
|
5653
|
+
), l5 = ({
|
5654
5654
|
className: i,
|
5655
|
-
color: e =
|
5655
|
+
color: e = L.GREY_DARK_5,
|
5656
5656
|
height: t = 24,
|
5657
5657
|
width: s = 24,
|
5658
5658
|
onClick: o
|
@@ -5689,9 +5689,9 @@ const q2 = ({
|
|
5689
5689
|
)
|
5690
5690
|
]
|
5691
5691
|
}
|
5692
|
-
),
|
5692
|
+
), a5 = ({
|
5693
5693
|
className: i,
|
5694
|
-
color: e =
|
5694
|
+
color: e = L.GREY_DARK_5,
|
5695
5695
|
height: t = 24,
|
5696
5696
|
width: s = 24,
|
5697
5697
|
onClick: o
|
@@ -5758,9 +5758,9 @@ const q2 = ({
|
|
5758
5758
|
)
|
5759
5759
|
]
|
5760
5760
|
}
|
5761
|
-
),
|
5761
|
+
), h5 = ({
|
5762
5762
|
className: i,
|
5763
|
-
color: e =
|
5763
|
+
color: e = L.GREY_DARK_5,
|
5764
5764
|
height: t = 24,
|
5765
5765
|
width: s = 24,
|
5766
5766
|
onClick: o
|
@@ -5797,9 +5797,9 @@ const q2 = ({
|
|
5797
5797
|
)
|
5798
5798
|
]
|
5799
5799
|
}
|
5800
|
-
),
|
5800
|
+
), c5 = ({
|
5801
5801
|
className: i,
|
5802
|
-
color: e =
|
5802
|
+
color: e = L.GREY_DARK_5,
|
5803
5803
|
height: t = 24,
|
5804
5804
|
width: s = 24,
|
5805
5805
|
onClick: o
|
@@ -5854,9 +5854,9 @@ const q2 = ({
|
|
5854
5854
|
)
|
5855
5855
|
]
|
5856
5856
|
}
|
5857
|
-
),
|
5857
|
+
), d5 = ({
|
5858
5858
|
className: i,
|
5859
|
-
color: e =
|
5859
|
+
color: e = L.GREY_DARK_5,
|
5860
5860
|
height: t = 24,
|
5861
5861
|
width: s = 24,
|
5862
5862
|
onClick: o
|
@@ -5893,9 +5893,9 @@ const q2 = ({
|
|
5893
5893
|
)
|
5894
5894
|
]
|
5895
5895
|
}
|
5896
|
-
),
|
5896
|
+
), g5 = ({
|
5897
5897
|
className: i,
|
5898
|
-
color: e =
|
5898
|
+
color: e = L.GREY_DARK_5,
|
5899
5899
|
height: t = 24,
|
5900
5900
|
width: s = 24,
|
5901
5901
|
onClick: o
|
@@ -5942,9 +5942,9 @@ const q2 = ({
|
|
5942
5942
|
)
|
5943
5943
|
]
|
5944
5944
|
}
|
5945
|
-
),
|
5945
|
+
), C5 = ({
|
5946
5946
|
className: i,
|
5947
|
-
color: e =
|
5947
|
+
color: e = L.GREY_DARK_5,
|
5948
5948
|
height: t = 24,
|
5949
5949
|
width: s = 24,
|
5950
5950
|
onClick: o
|
@@ -5981,9 +5981,9 @@ const q2 = ({
|
|
5981
5981
|
)
|
5982
5982
|
]
|
5983
5983
|
}
|
5984
|
-
),
|
5984
|
+
), u5 = ({
|
5985
5985
|
className: i,
|
5986
|
-
color: e =
|
5986
|
+
color: e = L.GREY_DARK_5,
|
5987
5987
|
height: t = 24,
|
5988
5988
|
width: s = 24,
|
5989
5989
|
onClick: o
|
@@ -6008,9 +6008,9 @@ const q2 = ({
|
|
6008
6008
|
}
|
6009
6009
|
)
|
6010
6010
|
}
|
6011
|
-
),
|
6011
|
+
), p5 = ({
|
6012
6012
|
className: i,
|
6013
|
-
color: e =
|
6013
|
+
color: e = L.GREY_DARK_5,
|
6014
6014
|
height: t = 24,
|
6015
6015
|
width: s = 24,
|
6016
6016
|
onClick: o
|
@@ -6046,9 +6046,9 @@ const q2 = ({
|
|
6046
6046
|
)
|
6047
6047
|
]
|
6048
6048
|
}
|
6049
|
-
),
|
6049
|
+
), f5 = ({
|
6050
6050
|
className: i,
|
6051
|
-
color: e =
|
6051
|
+
color: e = L.GREY_DARK_5,
|
6052
6052
|
height: t = 24,
|
6053
6053
|
width: s = 24,
|
6054
6054
|
onClick: o
|
@@ -6067,9 +6067,9 @@ const q2 = ({
|
|
6067
6067
|
/* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
6068
6068
|
]
|
6069
6069
|
}
|
6070
|
-
),
|
6070
|
+
), w5 = ({
|
6071
6071
|
className: i,
|
6072
|
-
color: e =
|
6072
|
+
color: e = L.GREY_DARK_5,
|
6073
6073
|
height: t = 24,
|
6074
6074
|
width: s = 24,
|
6075
6075
|
onClick: o
|
@@ -6106,9 +6106,9 @@ const q2 = ({
|
|
6106
6106
|
)
|
6107
6107
|
]
|
6108
6108
|
}
|
6109
|
-
),
|
6109
|
+
), m5 = ({
|
6110
6110
|
className: i,
|
6111
|
-
color: e =
|
6111
|
+
color: e = L.GREY_DARK_5,
|
6112
6112
|
height: t = 24,
|
6113
6113
|
width: s = 24,
|
6114
6114
|
onClick: o
|
@@ -6145,9 +6145,9 @@ const q2 = ({
|
|
6145
6145
|
)
|
6146
6146
|
]
|
6147
6147
|
}
|
6148
|
-
),
|
6148
|
+
), k5 = ({
|
6149
6149
|
className: i,
|
6150
|
-
color: e =
|
6150
|
+
color: e = L.GREY_DARK_5,
|
6151
6151
|
height: t = 24,
|
6152
6152
|
width: s = 24,
|
6153
6153
|
onClick: o
|
@@ -6184,9 +6184,9 @@ const q2 = ({
|
|
6184
6184
|
)
|
6185
6185
|
]
|
6186
6186
|
}
|
6187
|
-
),
|
6187
|
+
), L5 = ({
|
6188
6188
|
className: i,
|
6189
|
-
color: e =
|
6189
|
+
color: e = L.GREY_DARK_2,
|
6190
6190
|
height: t = 16,
|
6191
6191
|
width: s = 16,
|
6192
6192
|
onClick: o
|
@@ -6210,9 +6210,9 @@ const q2 = ({
|
|
6210
6210
|
}
|
6211
6211
|
)
|
6212
6212
|
}
|
6213
|
-
),
|
6213
|
+
), v5 = ({
|
6214
6214
|
className: i,
|
6215
|
-
color: e =
|
6215
|
+
color: e = L.GREY_DARK_5,
|
6216
6216
|
height: t = 20,
|
6217
6217
|
width: s = 20,
|
6218
6218
|
onClick: o
|
@@ -6239,9 +6239,9 @@ const q2 = ({
|
|
6239
6239
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6240
6240
|
]
|
6241
6241
|
}
|
6242
|
-
),
|
6242
|
+
), N5 = ({
|
6243
6243
|
className: i,
|
6244
|
-
color: e =
|
6244
|
+
color: e = L.GREY_DARK_5,
|
6245
6245
|
height: t = 20,
|
6246
6246
|
width: s = 20,
|
6247
6247
|
onClick: o
|
@@ -6268,9 +6268,9 @@ const q2 = ({
|
|
6268
6268
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6269
6269
|
]
|
6270
6270
|
}
|
6271
|
-
),
|
6271
|
+
), x5 = ({
|
6272
6272
|
className: i,
|
6273
|
-
color: e =
|
6273
|
+
color: e = L.GREY_DARK_5,
|
6274
6274
|
height: t = 20,
|
6275
6275
|
width: s = 20,
|
6276
6276
|
onClick: o
|
@@ -6285,7 +6285,7 @@ const q2 = ({
|
|
6285
6285
|
fill: "none",
|
6286
6286
|
xmlns: "http://www.w3.org/2000/svg",
|
6287
6287
|
children: [
|
6288
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6288
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
6289
6289
|
/* @__PURE__ */ n(
|
6290
6290
|
"path",
|
6291
6291
|
{
|
@@ -6297,9 +6297,9 @@ const q2 = ({
|
|
6297
6297
|
)
|
6298
6298
|
]
|
6299
6299
|
}
|
6300
|
-
),
|
6300
|
+
), R5 = ({
|
6301
6301
|
className: i,
|
6302
|
-
color: e =
|
6302
|
+
color: e = L.GREY_DARK_5,
|
6303
6303
|
height: t = 20,
|
6304
6304
|
width: s = 20,
|
6305
6305
|
onClick: o
|
@@ -6314,7 +6314,7 @@ const q2 = ({
|
|
6314
6314
|
fill: "none",
|
6315
6315
|
xmlns: "http://www.w3.org/2000/svg",
|
6316
6316
|
children: [
|
6317
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6317
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
6318
6318
|
/* @__PURE__ */ n(
|
6319
6319
|
"path",
|
6320
6320
|
{
|
@@ -6326,7 +6326,7 @@ const q2 = ({
|
|
6326
6326
|
)
|
6327
6327
|
]
|
6328
6328
|
}
|
6329
|
-
),
|
6329
|
+
), M5 = ({
|
6330
6330
|
className: i,
|
6331
6331
|
color: e = "#001E52",
|
6332
6332
|
height: t = 24,
|
@@ -6352,7 +6352,7 @@ const q2 = ({
|
|
6352
6352
|
}
|
6353
6353
|
)
|
6354
6354
|
}
|
6355
|
-
),
|
6355
|
+
), y5 = ({
|
6356
6356
|
className: i,
|
6357
6357
|
color: e = "#131314",
|
6358
6358
|
height: t = 20,
|
@@ -6380,7 +6380,7 @@ const q2 = ({
|
|
6380
6380
|
}
|
6381
6381
|
)
|
6382
6382
|
}
|
6383
|
-
),
|
6383
|
+
), b5 = ({
|
6384
6384
|
className: i,
|
6385
6385
|
color: e = "#001E52",
|
6386
6386
|
height: t = 24,
|
@@ -6418,7 +6418,7 @@ const q2 = ({
|
|
6418
6418
|
)
|
6419
6419
|
] }) })
|
6420
6420
|
}
|
6421
|
-
),
|
6421
|
+
), E5 = ({
|
6422
6422
|
width: i = 20,
|
6423
6423
|
height: e = 20,
|
6424
6424
|
color: t = "#001E52",
|
@@ -6474,7 +6474,7 @@ const q2 = ({
|
|
6474
6474
|
}
|
6475
6475
|
)
|
6476
6476
|
}
|
6477
|
-
),
|
6477
|
+
), H5 = ({
|
6478
6478
|
name: i,
|
6479
6479
|
width: e,
|
6480
6480
|
height: t,
|
@@ -6483,49 +6483,49 @@ const q2 = ({
|
|
6483
6483
|
disabled: l = !1,
|
6484
6484
|
onClick: c
|
6485
6485
|
}) => {
|
6486
|
-
const [r, d] = O(o), { theme: g } = l1(
|
6487
|
-
return
|
6486
|
+
const [r, d] = O(o), { theme: g } = l1(J1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
|
6487
|
+
return j(() => {
|
6488
6488
|
if (o) {
|
6489
6489
|
h && !l && d(`${o} clickable`);
|
6490
6490
|
return;
|
6491
6491
|
}
|
6492
6492
|
h && !l && d("clickable");
|
6493
|
-
}, [h, o, l]), /* @__PURE__ */ n(
|
6493
|
+
}, [h, o, l]), /* @__PURE__ */ n(t1, { children: (() => {
|
6494
6494
|
switch (i) {
|
6495
6495
|
case "nextIcon":
|
6496
|
-
return
|
6496
|
+
return F2({ width: e, height: t, color: a, className: r, onClick: h });
|
6497
6497
|
case "prevIcon":
|
6498
|
-
return
|
6498
|
+
return $2({ width: e, height: t, color: a, className: r, onClick: h });
|
6499
6499
|
case "arrowUp":
|
6500
|
-
return
|
6500
|
+
return Xt({ width: e, height: t, color: a, className: r, onClick: h });
|
6501
6501
|
case "arrowDown":
|
6502
|
-
return
|
6502
|
+
return e2({ width: e, height: t, color: a, className: r, onClick: h });
|
6503
6503
|
case "info":
|
6504
|
-
return
|
6504
|
+
return t2({ width: e, height: t, color: a, className: r, onClick: h });
|
6505
6505
|
case "arrowRight":
|
6506
|
-
return
|
6506
|
+
return i2({ width: e, height: t, color: a, className: r, onClick: h });
|
6507
6507
|
case "calendar":
|
6508
|
-
return
|
6508
|
+
return s2({ width: e, height: t, color: a, className: r, onClick: h });
|
6509
6509
|
case "ok":
|
6510
|
-
return
|
6510
|
+
return o2({ width: e, height: t, color: a, className: r, onClick: h });
|
6511
6511
|
case "cancel":
|
6512
|
-
return
|
6512
|
+
return n2({ width: e, height: t, color: a, className: r, onClick: h });
|
6513
6513
|
case "add":
|
6514
|
-
return
|
6514
|
+
return r2({ width: e, height: t, color: a, className: r, onClick: h });
|
6515
6515
|
case "list":
|
6516
|
-
return
|
6516
|
+
return l2({ width: e, height: t, color: a, className: r, onClick: h });
|
6517
6517
|
case "dragAndDrop":
|
6518
|
-
return
|
6518
|
+
return a2({ width: e, height: t, color: a, className: r, onClick: h });
|
6519
6519
|
case "filter":
|
6520
|
-
return
|
6520
|
+
return h2({ width: e, height: t, color: a, className: r, onClick: h });
|
6521
6521
|
case "attention":
|
6522
|
-
return
|
6522
|
+
return c2({ width: e, height: t, color: a, className: r, onClick: h });
|
6523
6523
|
case "plus":
|
6524
|
-
return
|
6524
|
+
return d2({ width: e, height: t, color: a, className: r, onClick: h });
|
6525
6525
|
case "time":
|
6526
|
-
return
|
6526
|
+
return g2({ width: e, height: t, color: a, className: r, onClick: h });
|
6527
6527
|
case "arrowDownLong":
|
6528
|
-
return
|
6528
|
+
return C2({
|
6529
6529
|
width: e,
|
6530
6530
|
height: t,
|
6531
6531
|
color: a,
|
@@ -6533,9 +6533,9 @@ const q2 = ({
|
|
6533
6533
|
onClick: h
|
6534
6534
|
});
|
6535
6535
|
case "users":
|
6536
|
-
return
|
6536
|
+
return u2({ width: e, height: t, color: a, className: r, onClick: h });
|
6537
6537
|
case "mySkillsMatrix":
|
6538
|
-
return
|
6538
|
+
return p2({
|
6539
6539
|
width: e,
|
6540
6540
|
height: t,
|
6541
6541
|
color: a,
|
@@ -6543,9 +6543,9 @@ const q2 = ({
|
|
6543
6543
|
onClick: h
|
6544
6544
|
});
|
6545
6545
|
case "skills":
|
6546
|
-
return
|
6546
|
+
return f2({ width: e, height: t, color: a, className: r, onClick: h });
|
6547
6547
|
case "skillsMatrices":
|
6548
|
-
return
|
6548
|
+
return w2({
|
6549
6549
|
width: e,
|
6550
6550
|
height: t,
|
6551
6551
|
color: a,
|
@@ -6553,23 +6553,23 @@ const q2 = ({
|
|
6553
6553
|
onClick: h
|
6554
6554
|
});
|
6555
6555
|
case "history":
|
6556
|
-
return
|
6556
|
+
return m2({ width: e, height: t, color: a, className: r, onClick: h });
|
6557
6557
|
case "logOut":
|
6558
|
-
return
|
6558
|
+
return k2({ width: e, height: t, color: a, className: r, onClick: h });
|
6559
6559
|
case "settings":
|
6560
|
-
return
|
6560
|
+
return L2({ width: e, height: t, color: a, className: r, onClick: h });
|
6561
6561
|
case "addSkill":
|
6562
|
-
return
|
6562
|
+
return v2({ width: e, height: t, color: a, className: r, onClick: h });
|
6563
6563
|
case "conversation":
|
6564
|
-
return
|
6564
|
+
return N2({ width: e, height: t, color: a, className: r, onClick: h });
|
6565
6565
|
case "trash":
|
6566
|
-
return
|
6566
|
+
return x2({ width: e, height: t, color: a, className: r, onClick: h });
|
6567
6567
|
case "settings4":
|
6568
|
-
return
|
6568
|
+
return R2({ width: e, height: t, color: a, className: r, onClick: h });
|
6569
6569
|
case "edit2":
|
6570
|
-
return
|
6570
|
+
return M2({ width: e, height: t, color: a, className: r, onClick: h });
|
6571
6571
|
case "notifications":
|
6572
|
-
return
|
6572
|
+
return y2({
|
6573
6573
|
width: e,
|
6574
6574
|
height: t,
|
6575
6575
|
color: a,
|
@@ -6577,9 +6577,9 @@ const q2 = ({
|
|
6577
6577
|
onClick: h
|
6578
6578
|
});
|
6579
6579
|
case "success":
|
6580
|
-
return
|
6580
|
+
return b2({ width: e, height: t, color: a, className: r, onClick: h });
|
6581
6581
|
case "attentionSmall":
|
6582
|
-
return
|
6582
|
+
return E2({
|
6583
6583
|
width: e,
|
6584
6584
|
height: t,
|
6585
6585
|
color: a,
|
@@ -6587,11 +6587,11 @@ const q2 = ({
|
|
6587
6587
|
onClick: h
|
6588
6588
|
});
|
6589
6589
|
case "errorSmall":
|
6590
|
-
return
|
6590
|
+
return H2({ width: e, height: t, color: a, className: r, onClick: h });
|
6591
6591
|
case "infoMedium":
|
6592
|
-
return
|
6592
|
+
return _2({ width: e, height: t, color: a, className: r, onClick: h });
|
6593
6593
|
case "attentionMedium":
|
6594
|
-
return
|
6594
|
+
return V2({
|
6595
6595
|
width: e,
|
6596
6596
|
height: t,
|
6597
6597
|
color: a,
|
@@ -6599,9 +6599,9 @@ const q2 = ({
|
|
6599
6599
|
onClick: h
|
6600
6600
|
});
|
6601
6601
|
case "errorMedium":
|
6602
|
-
return
|
6602
|
+
return I2({ width: e, height: t, color: a, className: r, onClick: h });
|
6603
6603
|
case "faviconSkills":
|
6604
|
-
return
|
6604
|
+
return W2({
|
6605
6605
|
width: e,
|
6606
6606
|
height: t,
|
6607
6607
|
color: a,
|
@@ -6609,7 +6609,7 @@ const q2 = ({
|
|
6609
6609
|
onClick: h
|
6610
6610
|
});
|
6611
6611
|
case "visibilityIcon":
|
6612
|
-
return
|
6612
|
+
return S2({
|
6613
6613
|
width: e,
|
6614
6614
|
height: t,
|
6615
6615
|
color: a,
|
@@ -6617,7 +6617,7 @@ const q2 = ({
|
|
6617
6617
|
onClick: h
|
6618
6618
|
});
|
6619
6619
|
case "visibilityOffIcon":
|
6620
|
-
return
|
6620
|
+
return O2({
|
6621
6621
|
width: e,
|
6622
6622
|
height: t,
|
6623
6623
|
color: a,
|
@@ -6625,7 +6625,7 @@ const q2 = ({
|
|
6625
6625
|
onClick: h
|
6626
6626
|
});
|
6627
6627
|
case "selectArrowIcon":
|
6628
|
-
return
|
6628
|
+
return A2({
|
6629
6629
|
width: e,
|
6630
6630
|
height: t,
|
6631
6631
|
color: a,
|
@@ -6633,7 +6633,7 @@ const q2 = ({
|
|
6633
6633
|
onClick: h
|
6634
6634
|
});
|
6635
6635
|
case "expandArrowIcon":
|
6636
|
-
return
|
6636
|
+
return B2({
|
6637
6637
|
width: e,
|
6638
6638
|
height: t,
|
6639
6639
|
color: a,
|
@@ -6641,7 +6641,7 @@ const q2 = ({
|
|
6641
6641
|
onClick: h
|
6642
6642
|
});
|
6643
6643
|
case "expandActiveArrowIcon":
|
6644
|
-
return
|
6644
|
+
return Z2({
|
6645
6645
|
width: e,
|
6646
6646
|
height: t,
|
6647
6647
|
color: a,
|
@@ -6649,111 +6649,111 @@ const q2 = ({
|
|
6649
6649
|
onClick: h
|
6650
6650
|
});
|
6651
6651
|
case "camera":
|
6652
|
-
return
|
6652
|
+
return j2({ width: e, height: t, color: a, className: r, onClick: h });
|
6653
6653
|
case "sortUp":
|
6654
|
-
return
|
6654
|
+
return D2({ width: e, height: t, color: a, className: r, onClick: h });
|
6655
6655
|
case "sortDown":
|
6656
|
-
return
|
6656
|
+
return T2({ width: e, height: t, color: a, className: r, onClick: h });
|
6657
6657
|
case "logOut2":
|
6658
|
-
return
|
6658
|
+
return G2({ width: e, height: t, color: a, className: r, onClick: h });
|
6659
6659
|
case "search":
|
6660
|
-
return
|
6660
|
+
return K2({ width: e, height: t, color: a, className: r, onClick: h });
|
6661
6661
|
case "handRock":
|
6662
|
-
return
|
6662
|
+
return P2({ width: e, height: t, color: a, className: r, onClick: h });
|
6663
6663
|
case "arrowUpFilled":
|
6664
|
-
return
|
6664
|
+
return U2({ width: e, height: t, color: a, className: r, onClick: h });
|
6665
6665
|
case "arrowDownFilled":
|
6666
|
-
return
|
6666
|
+
return Y2({ width: e, height: t, color: a, className: r, onClick: h });
|
6667
6667
|
case "link":
|
6668
|
-
return
|
6668
|
+
return z2({ width: e, height: t, color: a, className: r, onClick: h });
|
6669
6669
|
case "telegram":
|
6670
|
-
return
|
6670
|
+
return Q2({ width: e, height: t, color: a, className: r, onClick: h });
|
6671
6671
|
case "mail":
|
6672
|
-
return
|
6672
|
+
return X2({ width: e, height: t, color: a, className: r, onClick: h });
|
6673
6673
|
case "github":
|
6674
|
-
return
|
6674
|
+
return J2({ width: e, height: t, color: a, className: r, onClick: h });
|
6675
6675
|
case "linkedIn":
|
6676
|
-
return
|
6676
|
+
return q2({ width: e, height: t, color: a, className: r, onClick: h });
|
6677
6677
|
case "emptyStateIcon":
|
6678
|
-
return Xt({ width: e, height: t, color: a, className: r, onClick: h });
|
6679
|
-
case "filtersIcon":
|
6680
6678
|
return e5({ width: e, height: t, color: a, className: r, onClick: h });
|
6681
|
-
case "
|
6679
|
+
case "filtersIcon":
|
6682
6680
|
return t5({ width: e, height: t, color: a, className: r, onClick: h });
|
6683
|
-
case "
|
6681
|
+
case "dotMenuIcon":
|
6684
6682
|
return i5({ width: e, height: t, color: a, className: r, onClick: h });
|
6685
|
-
case "
|
6683
|
+
case "plusCircle":
|
6686
6684
|
return s5({ width: e, height: t, color: a, className: r, onClick: h });
|
6687
|
-
case "
|
6685
|
+
case "warning":
|
6688
6686
|
return o5({ width: e, height: t, color: a, className: r, onClick: h });
|
6689
|
-
case "
|
6687
|
+
case "back":
|
6690
6688
|
return n5({ width: e, height: t, color: a, className: r, onClick: h });
|
6689
|
+
case "bell":
|
6690
|
+
return r5({ width: e, height: t, color: a, className: r, onClick: h });
|
6691
6691
|
case "contract":
|
6692
|
-
return
|
6692
|
+
return a5({ width: e, height: t, color: a, className: r, onClick: h });
|
6693
6693
|
case "trash2":
|
6694
|
-
return
|
6694
|
+
return l5({ width: e, height: t, color: a, className: r, onClick: h });
|
6695
6695
|
case "manager":
|
6696
|
-
return a5({ width: e, height: t, color: a, className: r, onClick: h });
|
6697
|
-
case "resourceManager":
|
6698
6696
|
return h5({ width: e, height: t, color: a, className: r, onClick: h });
|
6699
|
-
case "
|
6697
|
+
case "resourceManager":
|
6700
6698
|
return c5({ width: e, height: t, color: a, className: r, onClick: h });
|
6701
|
-
case "
|
6699
|
+
case "settings2":
|
6702
6700
|
return d5({ width: e, height: t, color: a, className: r, onClick: h });
|
6703
|
-
case "
|
6701
|
+
case "image":
|
6704
6702
|
return g5({ width: e, height: t, color: a, className: r, onClick: h });
|
6705
|
-
case "
|
6703
|
+
case "upload":
|
6706
6704
|
return C5({ width: e, height: t, color: a, className: r, onClick: h });
|
6707
|
-
case "
|
6705
|
+
case "edit":
|
6708
6706
|
return u5({ width: e, height: t, color: a, className: r, onClick: h });
|
6709
|
-
case "
|
6707
|
+
case "location":
|
6710
6708
|
return p5({ width: e, height: t, color: a, className: r, onClick: h });
|
6711
|
-
case "
|
6709
|
+
case "plus2":
|
6712
6710
|
return f5({ width: e, height: t, color: a, className: r, onClick: h });
|
6713
|
-
case "
|
6711
|
+
case "search2":
|
6714
6712
|
return w5({ width: e, height: t, color: a, className: r, onClick: h });
|
6715
|
-
case "
|
6713
|
+
case "fastArrowLeft":
|
6716
6714
|
return m5({ width: e, height: t, color: a, className: r, onClick: h });
|
6717
|
-
case "
|
6715
|
+
case "fastArrowRight":
|
6718
6716
|
return k5({ width: e, height: t, color: a, className: r, onClick: h });
|
6717
|
+
case "crossInCircle":
|
6718
|
+
return L5({ width: e, height: t, color: a, className: r, onClick: h });
|
6719
6719
|
case "arrowUp2":
|
6720
|
-
return
|
6720
|
+
return N5({ width: e, height: t, color: a, className: r, onClick: h });
|
6721
6721
|
case "arrowDown2":
|
6722
|
-
return
|
6722
|
+
return v5({ width: e, height: t, color: a, className: r, onClick: h });
|
6723
6723
|
case "filledArrowLeft":
|
6724
|
-
return N5({ width: e, height: t, color: a, className: r, onClick: h });
|
6725
|
-
case "filledArrowRight":
|
6726
6724
|
return x5({ width: e, height: t, color: a, className: r, onClick: h });
|
6727
|
-
case "
|
6725
|
+
case "filledArrowRight":
|
6728
6726
|
return R5({ width: e, height: t, color: a, className: r, onClick: h });
|
6729
|
-
case "
|
6727
|
+
case "burgerMenu":
|
6730
6728
|
return M5({ width: e, height: t, color: a, className: r, onClick: h });
|
6731
|
-
case "
|
6729
|
+
case "signOut":
|
6732
6730
|
return y5({ width: e, height: t, color: a, className: r, onClick: h });
|
6733
|
-
case "
|
6731
|
+
case "refresh":
|
6734
6732
|
return b5({ width: e, height: t, color: a, className: r, onClick: h });
|
6733
|
+
case "projects":
|
6734
|
+
return E5({ width: e, height: t, color: a, className: r, onClick: h });
|
6735
6735
|
default:
|
6736
|
-
return /* @__PURE__ */ n(
|
6736
|
+
return /* @__PURE__ */ n(t1, { children: "No Icon provided" });
|
6737
6737
|
}
|
6738
6738
|
})() });
|
6739
6739
|
};
|
6740
|
-
var
|
6741
|
-
const
|
6740
|
+
var Q1 = /* @__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))(Q1 || {});
|
6741
|
+
const _5 = n1({
|
6742
6742
|
locale: "en",
|
6743
6743
|
theme: "light"
|
6744
6744
|
});
|
6745
|
-
|
6746
|
-
const
|
6745
|
+
_5.Provider;
|
6746
|
+
const q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o = !0 }) => {
|
6747
6747
|
const l = t === "small" ? 10 : 12.5;
|
6748
6748
|
return /* @__PURE__ */ n(
|
6749
|
-
|
6749
|
+
Y1,
|
6750
6750
|
{
|
6751
6751
|
className: `snmt-tag ${t}`,
|
6752
6752
|
closeIcon: /* @__PURE__ */ n(
|
6753
|
-
|
6753
|
+
H5,
|
6754
6754
|
{
|
6755
6755
|
name: "errorSmall",
|
6756
|
-
color:
|
6756
|
+
color: Q1.GREY_DARK_2,
|
6757
6757
|
width: l,
|
6758
6758
|
height: l,
|
6759
6759
|
onClick: s
|
@@ -6762,15 +6762,15 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6762
6762
|
bordered: !1,
|
6763
6763
|
style: { width: e ?? "fit-content" },
|
6764
6764
|
closable: o,
|
6765
|
-
children: typeof i == "string" ? /* @__PURE__ */ n(
|
6765
|
+
children: typeof i == "string" ? /* @__PURE__ */ n(qt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
|
6766
6766
|
}
|
6767
6767
|
);
|
6768
|
-
}, { Title:
|
6768
|
+
}, { Title: V5, Text: I5 } = $1, S5 = {
|
6769
6769
|
h1: 1,
|
6770
6770
|
h2: 2,
|
6771
6771
|
h3: 3,
|
6772
6772
|
h4: 4
|
6773
|
-
},
|
6773
|
+
}, X1 = f1(
|
6774
6774
|
({
|
6775
6775
|
align: i = "inherit",
|
6776
6776
|
variant: e = "body1",
|
@@ -6783,17 +6783,17 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6783
6783
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
6784
6784
|
let g = `snmt-typography snmt-typography-${e}`;
|
6785
6785
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
|
6786
|
-
|
6786
|
+
V5,
|
6787
6787
|
{
|
6788
6788
|
className: g,
|
6789
6789
|
style: { color: t, whiteSpace: c },
|
6790
6790
|
onClick: o,
|
6791
|
-
level:
|
6791
|
+
level: S5[e],
|
6792
6792
|
ref: r,
|
6793
6793
|
children: s
|
6794
6794
|
}
|
6795
6795
|
) : /* @__PURE__ */ n(
|
6796
|
-
|
6796
|
+
I5,
|
6797
6797
|
{
|
6798
6798
|
className: g,
|
6799
6799
|
style: { color: t, whiteSpace: c },
|
@@ -6803,7 +6803,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6803
6803
|
}
|
6804
6804
|
);
|
6805
6805
|
}
|
6806
|
-
),
|
6806
|
+
), O5 = ({
|
6807
6807
|
children: i,
|
6808
6808
|
content: e,
|
6809
6809
|
isOpen: t,
|
@@ -6813,7 +6813,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6813
6813
|
}) => {
|
6814
6814
|
const [c, r] = O(!1);
|
6815
6815
|
return /* @__PURE__ */ n(
|
6816
|
-
|
6816
|
+
fe,
|
6817
6817
|
{
|
6818
6818
|
content: e,
|
6819
6819
|
arrow: !1,
|
@@ -6827,7 +6827,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6827
6827
|
children: /* @__PURE__ */ n("div", { className: "wrapper", children: i })
|
6828
6828
|
}
|
6829
6829
|
);
|
6830
|
-
},
|
6830
|
+
}, A5 = ({
|
6831
6831
|
values: i,
|
6832
6832
|
onTagClose: e,
|
6833
6833
|
maxWidth: t,
|
@@ -6836,7 +6836,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6836
6836
|
extraOptions: l
|
6837
6837
|
}) => {
|
6838
6838
|
const [c, r] = O(!1);
|
6839
|
-
|
6839
|
+
j(() => {
|
6840
6840
|
i.length || r(!1);
|
6841
6841
|
}, [i]);
|
6842
6842
|
const d = (a) => {
|
@@ -6849,12 +6849,12 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6849
6849
|
return ((h = o == null ? void 0 : o.find((w) => w.value === a)) == null ? void 0 : h.label) || ((u = l == null ? void 0 : l.find((w) => w.value === a)) == null ? void 0 : u.label) || a;
|
6850
6850
|
};
|
6851
6851
|
return /* @__PURE__ */ n("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ n(
|
6852
|
-
|
6852
|
+
O5,
|
6853
6853
|
{
|
6854
6854
|
content: (
|
6855
6855
|
// 90: paddings + margins + gaps and so on
|
6856
6856
|
/* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(d1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ n(
|
6857
|
-
|
6857
|
+
q1,
|
6858
6858
|
{
|
6859
6859
|
onClose: () => e(a),
|
6860
6860
|
closable: !s,
|
@@ -6866,13 +6866,13 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6866
6866
|
placement: "bottomRight",
|
6867
6867
|
isOpen: c,
|
6868
6868
|
setIsOpen: r,
|
6869
|
-
children: /* @__PURE__ */ n(
|
6869
|
+
children: /* @__PURE__ */ n(Y1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ C(X1, { variant: "body4", color: c ? e1.BLUE_PRIMARY : void 0, children: [
|
6870
6870
|
i.length,
|
6871
6871
|
" more"
|
6872
6872
|
] }) })
|
6873
6873
|
}
|
6874
6874
|
) });
|
6875
|
-
},
|
6875
|
+
}, E1 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
6876
6876
|
const t = `no-repeat linear-gradient(${e}
|
6877
6877
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
6878
6878
|
width: i,
|
@@ -6880,7 +6880,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6880
6880
|
backgroundSize: "20% calc(200% + 20px)"
|
6881
6881
|
};
|
6882
6882
|
return /* @__PURE__ */ n("span", { className: "snmt-loader", style: s });
|
6883
|
-
},
|
6883
|
+
}, B5 = f1(
|
6884
6884
|
({
|
6885
6885
|
value: i,
|
6886
6886
|
onChange: e,
|
@@ -6891,170 +6891,171 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
6891
6891
|
width: c,
|
6892
6892
|
disabled: r = !1,
|
6893
6893
|
required: d = !1,
|
6894
|
-
|
6895
|
-
|
6896
|
-
|
6897
|
-
|
6898
|
-
|
6899
|
-
|
6900
|
-
|
6901
|
-
|
6902
|
-
|
6903
|
-
|
6904
|
-
|
6905
|
-
|
6906
|
-
|
6907
|
-
|
6908
|
-
|
6894
|
+
clearable: g = !1,
|
6895
|
+
scrollThresholdValue: a = 50,
|
6896
|
+
onSearchChange: h,
|
6897
|
+
onDropdownVisibleChange: u,
|
6898
|
+
onScrollToEnd: p,
|
6899
|
+
onPopupScroll: w,
|
6900
|
+
id: x,
|
6901
|
+
extraOptions: v,
|
6902
|
+
dropdownRender: E,
|
6903
|
+
optionRender: R,
|
6904
|
+
isLoading: B,
|
6905
|
+
readOnly: m
|
6906
|
+
}, M) => {
|
6907
|
+
const [y, N] = O(!1), [T, Q] = O(!1), [$, W] = O(!0), [b, _] = O(i), I = r1(null);
|
6908
|
+
j(() => {
|
6909
|
+
_(i);
|
6909
6910
|
}, [i]);
|
6910
|
-
const
|
6911
|
-
|
6912
|
-
},
|
6913
|
-
var
|
6914
|
-
return !!((
|
6915
|
-
},
|
6916
|
-
|
6917
|
-
},
|
6918
|
-
|
6919
|
-
},
|
6911
|
+
const G = (f) => {
|
6912
|
+
N(f), u && u(f);
|
6913
|
+
}, F = (f, H) => {
|
6914
|
+
var D;
|
6915
|
+
return !!((D = H == null ? void 0 : H.label) != null && D.toString().toLowerCase().includes(f.toLowerCase()));
|
6916
|
+
}, Y = () => {
|
6917
|
+
Q(!0);
|
6918
|
+
}, V = () => {
|
6919
|
+
Q(!1);
|
6920
|
+
}, Z = K(
|
6920
6921
|
(f) => {
|
6921
|
-
if (
|
6922
|
-
const
|
6923
|
-
e == null || e(
|
6922
|
+
if (_(f), s) {
|
6923
|
+
const D = f;
|
6924
|
+
e == null || e(D);
|
6924
6925
|
return;
|
6925
6926
|
}
|
6926
6927
|
const H = f;
|
6927
6928
|
e == null || e(H);
|
6928
6929
|
},
|
6929
6930
|
[s, e]
|
6930
|
-
),
|
6931
|
-
if (!
|
6931
|
+
), U = K(() => {
|
6932
|
+
if (!m) {
|
6932
6933
|
if (s) {
|
6933
|
-
|
6934
|
+
Z([]);
|
6934
6935
|
return;
|
6935
6936
|
}
|
6936
|
-
|
6937
|
+
Z("");
|
6937
6938
|
}
|
6938
|
-
}, [
|
6939
|
+
}, [Z, s, m]), z = K(
|
6939
6940
|
(f) => {
|
6940
|
-
const H =
|
6941
|
-
|
6941
|
+
const H = b.filter((D) => D !== f);
|
6942
|
+
Z(H), _(H);
|
6942
6943
|
},
|
6943
|
-
[
|
6944
|
-
),
|
6945
|
-
(f) => (
|
6944
|
+
[Z, b]
|
6945
|
+
), y1 = K(
|
6946
|
+
(f) => (b == null ? void 0 : b.indexOf(f)) === 0 ? (
|
6946
6947
|
// if the search input is empty
|
6947
6948
|
// then display the placeholder, else do not display it
|
6948
|
-
/* @__PURE__ */ n("span", { className: "custom-placeholder", children:
|
6949
|
-
) : /* @__PURE__ */ n(
|
6950
|
-
[
|
6951
|
-
),
|
6949
|
+
/* @__PURE__ */ n("span", { className: "custom-placeholder", children: $ ? t : "" })
|
6950
|
+
) : /* @__PURE__ */ n(t1, {}),
|
6951
|
+
[$, b, t]
|
6952
|
+
), ne = (f) => {
|
6952
6953
|
f.preventDefault(), f.stopPropagation();
|
6953
|
-
},
|
6954
|
+
}, re = async (f) => {
|
6954
6955
|
const { target: H } = f;
|
6955
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight -
|
6956
|
-
}, m1 =
|
6956
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - a && (p == null || p(!0)), w && await w(f);
|
6957
|
+
}, m1 = K(
|
6957
6958
|
(f) => {
|
6958
|
-
var H,
|
6959
|
-
return ((H = l.find((k1) => k1.value === f)) == null ? void 0 : H.label) || ((
|
6959
|
+
var H, D;
|
6960
|
+
return ((H = l.find((k1) => k1.value === f)) == null ? void 0 : H.label) || ((D = v == null ? void 0 : v.find(
|
6960
6961
|
(k1) => k1.value === f
|
6961
|
-
)) == null ? void 0 :
|
6962
|
+
)) == null ? void 0 : D.label) || f;
|
6962
6963
|
},
|
6963
|
-
[
|
6964
|
-
),
|
6964
|
+
[v, l]
|
6965
|
+
), le = K(
|
6965
6966
|
(f) => {
|
6966
6967
|
var H;
|
6967
6968
|
return /* @__PURE__ */ n(
|
6968
|
-
|
6969
|
+
A5,
|
6969
6970
|
{
|
6970
6971
|
values: f,
|
6971
|
-
onTagClose:
|
6972
|
-
maxWidth: ((H =
|
6973
|
-
disabled: r ||
|
6972
|
+
onTagClose: z,
|
6973
|
+
maxWidth: ((H = I.current) == null ? void 0 : H.clientWidth) || 0,
|
6974
|
+
disabled: r || m,
|
6974
6975
|
options: l,
|
6975
|
-
extraOptions:
|
6976
|
+
extraOptions: v
|
6976
6977
|
}
|
6977
6978
|
);
|
6978
6979
|
},
|
6979
|
-
[r,
|
6980
|
-
),
|
6981
|
-
({ label: f, value: H, mode:
|
6982
|
-
[r, m1,
|
6980
|
+
[r, v, z, l, m]
|
6981
|
+
), ae = K(
|
6982
|
+
({ label: f, value: H, mode: D }) => D === "filter" ? y1(H) : /* @__PURE__ */ n("div", { onMouseDown: ne, className: "tag-wrapper", children: /* @__PURE__ */ n(q1, { onClose: () => z(H), closable: !r, children: /* @__PURE__ */ n(X1, { variant: "body4", children: typeof f == "object" ? f : m1(H) }) }) }),
|
6983
|
+
[r, m1, z, y1]
|
6983
6984
|
);
|
6984
6985
|
return /* @__PURE__ */ C(
|
6985
6986
|
"div",
|
6986
6987
|
{
|
6987
|
-
className: `snmt-select ${
|
6988
|
-
${s ? "" : "snmt-select-single"} ${
|
6989
|
-
ref:
|
6988
|
+
className: `snmt-select ${T ? "snmt-select-focused" : ""}
|
6989
|
+
${s ? "" : "snmt-select-single"} ${m ? "snmt-select-read-only" : ""}`,
|
6990
|
+
ref: I,
|
6990
6991
|
style: { width: c },
|
6991
6992
|
children: [
|
6992
6993
|
/* @__PURE__ */ n(
|
6993
|
-
|
6994
|
+
ge,
|
6994
6995
|
{
|
6995
6996
|
className: "snmt-select-blank",
|
6996
|
-
popupClassName:
|
6997
|
-
id:
|
6998
|
-
ref:
|
6997
|
+
popupClassName: m ? "dropdown-read-only" : "",
|
6998
|
+
id: x,
|
6999
|
+
ref: M,
|
6999
7000
|
showSearch: !!o,
|
7000
|
-
filterOption: o &&
|
7001
|
-
onDropdownVisibleChange:
|
7001
|
+
filterOption: o && F,
|
7002
|
+
onDropdownVisibleChange: G,
|
7002
7003
|
placeholder: t ? d ? `${t}*` : t : void 0,
|
7003
7004
|
disabled: r,
|
7004
|
-
value:
|
7005
|
+
value: b || void 0,
|
7005
7006
|
labelRender: (f) => m1(f.value),
|
7006
7007
|
mode: s === "filter" ? "multiple" : s,
|
7007
|
-
onChange:
|
7008
|
-
onFocus:
|
7009
|
-
onBlur:
|
7008
|
+
onChange: Z,
|
7009
|
+
onFocus: Y,
|
7010
|
+
onBlur: V,
|
7010
7011
|
onSearch: (f) => {
|
7011
|
-
|
7012
|
+
W(!f), h && h(f);
|
7012
7013
|
},
|
7013
|
-
onSelect: () =>
|
7014
|
-
onDeselect: () =>
|
7015
|
-
tagRender: (f) =>
|
7014
|
+
onSelect: () => W(!0),
|
7015
|
+
onDeselect: () => W(!0),
|
7016
|
+
tagRender: (f) => ae({ ...f, mode: s }),
|
7016
7017
|
maxTagCount: "responsive",
|
7017
|
-
maxTagPlaceholder:
|
7018
|
-
onPopupScroll:
|
7019
|
-
prefix:
|
7020
|
-
suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(
|
7021
|
-
|
7018
|
+
maxTagPlaceholder: le,
|
7019
|
+
onPopupScroll: re,
|
7020
|
+
prefix: B && /* @__PURE__ */ n(E1, { size: 15 }),
|
7021
|
+
suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(t1, { children: [
|
7022
|
+
b && !!b.length && (s || g) && /* @__PURE__ */ n("div", { onClick: U, children: /* @__PURE__ */ n(a1, { name: "cancel" }) }),
|
7022
7023
|
/* @__PURE__ */ n(
|
7023
7024
|
a1,
|
7024
7025
|
{
|
7025
7026
|
name: "selectArrowIcon",
|
7026
|
-
color: r ?
|
7027
|
-
className:
|
7028
|
-
onClick: () =>
|
7027
|
+
color: r ? e1.GREY_DARK_1 : e1.GREY_DARK_5,
|
7028
|
+
className: y ? "select-arrow-rotated" : "select-arrow",
|
7029
|
+
onClick: () => N(!y)
|
7029
7030
|
}
|
7030
7031
|
)
|
7031
7032
|
] }) }),
|
7032
|
-
removeIcon: /* @__PURE__ */ n(a1, { name: "errorSmall", color:
|
7033
|
+
removeIcon: /* @__PURE__ */ n(a1, { name: "errorSmall", color: e1.GREY_DARK_2 }),
|
7033
7034
|
options: l,
|
7034
|
-
optionRender: (f) =>
|
7035
|
+
optionRender: (f) => R ? R(f.data) : /* @__PURE__ */ C(d1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
7035
7036
|
/* @__PURE__ */ C(d1, { alignItems: "center", gap: 12, children: [
|
7036
7037
|
s && /* @__PURE__ */ n(
|
7037
|
-
|
7038
|
+
me,
|
7038
7039
|
{
|
7039
|
-
checked: !!(
|
7040
|
+
checked: !!(b != null && b.includes(f.value))
|
7040
7041
|
}
|
7041
7042
|
),
|
7042
7043
|
/* @__PURE__ */ C(d1, { alignItems: "center", gap: 8, children: [
|
7043
|
-
f.data.image && /* @__PURE__ */ n(
|
7044
|
+
f.data.image && /* @__PURE__ */ n(we, { src: f.data.image, size: 20 }),
|
7044
7045
|
/* @__PURE__ */ n("span", { children: f.label })
|
7045
7046
|
] })
|
7046
7047
|
] }),
|
7047
|
-
!s &&
|
7048
|
+
!s && b === f.value && /* @__PURE__ */ n(
|
7048
7049
|
a1,
|
7049
7050
|
{
|
7050
7051
|
name: "ok",
|
7051
|
-
color:
|
7052
|
+
color: e1.BLUE_PRIMARY,
|
7052
7053
|
width: 16,
|
7053
7054
|
height: 16
|
7054
7055
|
}
|
7055
7056
|
)
|
7056
7057
|
] }),
|
7057
|
-
dropdownRender:
|
7058
|
+
dropdownRender: B ? () => /* @__PURE__ */ n(
|
7058
7059
|
"div",
|
7059
7060
|
{
|
7060
7061
|
style: {
|
@@ -7062,15 +7063,15 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
7062
7063
|
display: "grid",
|
7063
7064
|
justifyContent: "center"
|
7064
7065
|
},
|
7065
|
-
children: /* @__PURE__ */ n(
|
7066
|
+
children: /* @__PURE__ */ n(E1, { size: 28 })
|
7066
7067
|
}
|
7067
|
-
) : (f) =>
|
7068
|
+
) : (f) => E ? E(f) : f
|
7068
7069
|
}
|
7069
7070
|
),
|
7070
7071
|
/* @__PURE__ */ n(
|
7071
7072
|
"fieldset",
|
7072
7073
|
{
|
7073
|
-
className: `${
|
7074
|
+
className: `${T ? "fieldset-focused" : ""}
|
7074
7075
|
${r ? "fieldset-disabled" : ""}
|
7075
7076
|
${typeof i == "string" && i ? "fieldset-filled" : ""}
|
7076
7077
|
${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
|
@@ -7081,7 +7082,7 @@ const Q1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
|
|
7081
7082
|
}
|
7082
7083
|
);
|
7083
7084
|
}
|
7084
|
-
),
|
7085
|
+
), Z5 = {
|
7085
7086
|
type: "logger",
|
7086
7087
|
log(i) {
|
7087
7088
|
this.output("log", i);
|
@@ -7103,7 +7104,7 @@ class g1 {
|
|
7103
7104
|
}
|
7104
7105
|
init(e) {
|
7105
7106
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7106
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
7107
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Z5, this.options = t, this.debug = t.debug;
|
7107
7108
|
}
|
7108
7109
|
log() {
|
7109
7110
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
@@ -7138,7 +7139,7 @@ class g1 {
|
|
7138
7139
|
return e = e || this.options, e.prefix = e.prefix || this.prefix, new g1(this.logger, e);
|
7139
7140
|
}
|
7140
7141
|
}
|
7141
|
-
var
|
7142
|
+
var P = new g1();
|
7142
7143
|
class w1 {
|
7143
7144
|
constructor() {
|
7144
7145
|
this.observers = {};
|
@@ -7179,23 +7180,23 @@ const i1 = () => {
|
|
7179
7180
|
i = s, e = o;
|
7180
7181
|
});
|
7181
7182
|
return t.resolve = i, t.reject = e, t;
|
7182
|
-
},
|
7183
|
+
}, H1 = (i) => i == null ? "" : "" + i, W5 = (i, e, t) => {
|
7183
7184
|
i.forEach((s) => {
|
7184
7185
|
e[s] && (t[s] = e[s]);
|
7185
7186
|
});
|
7186
|
-
},
|
7187
|
+
}, j5 = /###/g, _1 = (i) => i && i.indexOf("###") > -1 ? i.replace(j5, ".") : i, V1 = (i) => !i || typeof i == "string", s1 = (i, e, t) => {
|
7187
7188
|
const s = typeof e != "string" ? e : e.split(".");
|
7188
7189
|
let o = 0;
|
7189
7190
|
for (; o < s.length - 1; ) {
|
7190
|
-
if (
|
7191
|
-
const l =
|
7191
|
+
if (V1(i)) return {};
|
7192
|
+
const l = _1(s[o]);
|
7192
7193
|
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++o;
|
7193
7194
|
}
|
7194
|
-
return
|
7195
|
+
return V1(i) ? {} : {
|
7195
7196
|
obj: i,
|
7196
|
-
k:
|
7197
|
+
k: _1(s[o])
|
7197
7198
|
};
|
7198
|
-
},
|
7199
|
+
}, I1 = (i, e, t) => {
|
7199
7200
|
const {
|
7200
7201
|
obj: s,
|
7201
7202
|
k: o
|
@@ -7208,7 +7209,7 @@ const i1 = () => {
|
|
7208
7209
|
for (; r.obj === void 0 && c.length; )
|
7209
7210
|
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r = s1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${l}`] < "u" && (r.obj = void 0);
|
7210
7211
|
r.obj[`${r.k}.${l}`] = t;
|
7211
|
-
},
|
7212
|
+
}, D5 = (i, e, t, s) => {
|
7212
7213
|
const {
|
7213
7214
|
obj: o,
|
7214
7215
|
k: l
|
@@ -7221,15 +7222,15 @@ const i1 = () => {
|
|
7221
7222
|
} = s1(i, e);
|
7222
7223
|
if (t)
|
7223
7224
|
return t[s];
|
7224
|
-
},
|
7225
|
+
}, T5 = (i, e, t) => {
|
7225
7226
|
const s = C1(i, t);
|
7226
7227
|
return s !== void 0 ? s : C1(e, t);
|
7227
|
-
},
|
7228
|
+
}, ee = (i, e, t) => {
|
7228
7229
|
for (const s in e)
|
7229
|
-
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]) :
|
7230
|
+
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]) : ee(i[s], e[s], t) : i[s] = e[s]);
|
7230
7231
|
return i;
|
7231
|
-
},
|
7232
|
-
var
|
7232
|
+
}, q = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
7233
|
+
var G5 = {
|
7233
7234
|
"&": "&",
|
7234
7235
|
"<": "<",
|
7235
7236
|
">": ">",
|
@@ -7237,8 +7238,8 @@ var T5 = {
|
|
7237
7238
|
"'": "'",
|
7238
7239
|
"/": "/"
|
7239
7240
|
};
|
7240
|
-
const
|
7241
|
-
class
|
7241
|
+
const K5 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => G5[e]) : i;
|
7242
|
+
class P5 {
|
7242
7243
|
constructor(e) {
|
7243
7244
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
7244
7245
|
}
|
@@ -7250,11 +7251,11 @@ class K5 {
|
|
7250
7251
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
7251
7252
|
}
|
7252
7253
|
}
|
7253
|
-
const
|
7254
|
+
const F5 = [" ", ",", "?", "!", ";"], $5 = new P5(20), Y5 = (i, e, t) => {
|
7254
7255
|
e = e || "", t = t || "";
|
7255
|
-
const s =
|
7256
|
+
const s = F5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
7256
7257
|
if (s.length === 0) return !0;
|
7257
|
-
const o =
|
7258
|
+
const o = $5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
7258
7259
|
let l = !o.test(i);
|
7259
7260
|
if (!l) {
|
7260
7261
|
const c = i.indexOf(t);
|
@@ -7282,7 +7283,7 @@ const P5 = [" ", ",", "?", "!", ";"], F5 = new K5(20), $5 = (i, e, t) => {
|
|
7282
7283
|
}
|
7283
7284
|
return o;
|
7284
7285
|
}, u1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
|
7285
|
-
class
|
7286
|
+
class S1 extends w1 {
|
7286
7287
|
constructor(e) {
|
7287
7288
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
7288
7289
|
ns: ["translation"],
|
@@ -7311,7 +7312,7 @@ class I1 extends w1 {
|
|
7311
7312
|
};
|
7312
7313
|
const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
|
7313
7314
|
let r = [e, t];
|
7314
|
-
s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), o = t, t = r[1]), this.addNamespaces(t),
|
7315
|
+
s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), o = t, t = r[1]), this.addNamespaces(t), I1(this.data, r, o), l.silent || this.emit("added", e, t, s, o);
|
7315
7316
|
}
|
7316
7317
|
addResources(e, t, s) {
|
7317
7318
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
@@ -7330,10 +7331,10 @@ class I1 extends w1 {
|
|
7330
7331
|
}, r = [e, t];
|
7331
7332
|
e.indexOf(".") > -1 && (r = e.split("."), o = s, s = t, t = r[1]), this.addNamespaces(t);
|
7332
7333
|
let d = C1(this.data, r) || {};
|
7333
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), o ?
|
7334
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), o ? ee(d, s, l) : d = {
|
7334
7335
|
...d,
|
7335
7336
|
...s
|
7336
|
-
},
|
7337
|
+
}, I1(this.data, r, d), c.silent || this.emit("added", e, t, s);
|
7337
7338
|
}
|
7338
7339
|
removeResourceBundle(e, t) {
|
7339
7340
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
@@ -7357,7 +7358,7 @@ class I1 extends w1 {
|
|
7357
7358
|
return this.data;
|
7358
7359
|
}
|
7359
7360
|
}
|
7360
|
-
var
|
7361
|
+
var te = {
|
7361
7362
|
processors: {},
|
7362
7363
|
addPostProcessor(i) {
|
7363
7364
|
this.processors[i.name] = i;
|
@@ -7368,11 +7369,11 @@ var ee = {
|
|
7368
7369
|
}), e;
|
7369
7370
|
}
|
7370
7371
|
};
|
7371
|
-
const
|
7372
|
+
const O1 = {};
|
7372
7373
|
class p1 extends w1 {
|
7373
7374
|
constructor(e) {
|
7374
7375
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7375
|
-
super(),
|
7376
|
+
super(), W5(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = P.create("translator");
|
7376
7377
|
}
|
7377
7378
|
changeLanguage(e) {
|
7378
7379
|
e && (this.language = e);
|
@@ -7391,7 +7392,7 @@ class p1 extends w1 {
|
|
7391
7392
|
s === void 0 && (s = ":");
|
7392
7393
|
const o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
7393
7394
|
let l = t.ns || this.options.defaultNS || [];
|
7394
|
-
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator &&
|
7395
|
+
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Y5(e, s, o);
|
7395
7396
|
if (c && !r) {
|
7396
7397
|
const d = e.match(this.interpolator.nestingRegexp);
|
7397
7398
|
if (d && d.length > 0)
|
@@ -7418,15 +7419,15 @@ class p1 extends w1 {
|
|
7418
7419
|
} = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
7419
7420
|
if (g && g.toLowerCase() === "cimode") {
|
7420
7421
|
if (a) {
|
7421
|
-
const
|
7422
|
+
const m = t.nsSeparator || this.options.nsSeparator;
|
7422
7423
|
return o ? {
|
7423
|
-
res: `${d}${
|
7424
|
+
res: `${d}${m}${c}`,
|
7424
7425
|
usedKey: c,
|
7425
7426
|
exactUsedKey: c,
|
7426
7427
|
usedLng: g,
|
7427
7428
|
usedNS: d,
|
7428
7429
|
usedParams: this.getUsedParamsDetails(t)
|
7429
|
-
} : `${d}${
|
7430
|
+
} : `${d}${m}${c}`;
|
7430
7431
|
}
|
7431
7432
|
return o ? {
|
7432
7433
|
res: c,
|
@@ -7439,64 +7440,64 @@ class p1 extends w1 {
|
|
7439
7440
|
}
|
7440
7441
|
const h = this.resolve(e, t);
|
7441
7442
|
let u = h && h.res;
|
7442
|
-
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c,
|
7443
|
-
if (R && u && (typeof u != "string" && typeof u != "boolean" && typeof u != "number") && v.indexOf(
|
7443
|
+
const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), v = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
7444
|
+
if (R && u && (typeof u != "string" && typeof u != "boolean" && typeof u != "number") && v.indexOf(x) < 0 && !(typeof E == "string" && Array.isArray(u))) {
|
7444
7445
|
if (!t.returnObjects && !this.options.returnObjects) {
|
7445
7446
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
7446
|
-
const
|
7447
|
+
const m = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
|
7447
7448
|
...t,
|
7448
7449
|
ns: r
|
7449
7450
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
7450
|
-
return o ? (h.res =
|
7451
|
+
return o ? (h.res = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
|
7451
7452
|
}
|
7452
7453
|
if (l) {
|
7453
|
-
const
|
7454
|
-
for (const
|
7455
|
-
if (Object.prototype.hasOwnProperty.call(u,
|
7456
|
-
const
|
7457
|
-
M[
|
7454
|
+
const m = Array.isArray(u), M = m ? [] : {}, y = m ? w : p;
|
7455
|
+
for (const N in u)
|
7456
|
+
if (Object.prototype.hasOwnProperty.call(u, N)) {
|
7457
|
+
const T = `${y}${l}${N}`;
|
7458
|
+
M[N] = this.translate(T, {
|
7458
7459
|
...t,
|
7459
7460
|
joinArrays: !1,
|
7460
7461
|
ns: r
|
7461
|
-
}), M[
|
7462
|
+
}), M[N] === T && (M[N] = u[N]);
|
7462
7463
|
}
|
7463
7464
|
u = M;
|
7464
7465
|
}
|
7465
7466
|
} else if (R && typeof E == "string" && Array.isArray(u))
|
7466
7467
|
u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
|
7467
7468
|
else {
|
7468
|
-
let
|
7469
|
-
const
|
7469
|
+
let m = !1, M = !1;
|
7470
|
+
const y = t.count !== void 0 && typeof t.count != "string", N = p1.hasDefaultValue(t), T = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", Q = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
|
7470
7471
|
ordinal: !1
|
7471
|
-
}) : "",
|
7472
|
-
!this.isValidLookup(u) &&
|
7473
|
-
const
|
7474
|
-
if (M ||
|
7475
|
-
if (this.logger.log(
|
7476
|
-
const
|
7472
|
+
}) : "", $ = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = $ && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${Q}`] || t.defaultValue;
|
7473
|
+
!this.isValidLookup(u) && N && (m = !0, u = W), this.isValidLookup(u) || (M = !0, u = c);
|
7474
|
+
const _ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : u, I = N && W !== u && this.options.updateMissing;
|
7475
|
+
if (M || m || I) {
|
7476
|
+
if (this.logger.log(I ? "updateKey" : "missingKey", g, d, c, I ? W : u), l) {
|
7477
|
+
const V = this.resolve(c, {
|
7477
7478
|
...t,
|
7478
7479
|
keySeparator: !1
|
7479
7480
|
});
|
7480
|
-
|
7481
|
+
V && V.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.");
|
7481
7482
|
}
|
7482
|
-
let
|
7483
|
+
let G = [];
|
7483
7484
|
const F = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
7484
7485
|
if (this.options.saveMissingTo === "fallback" && F && F[0])
|
7485
|
-
for (let
|
7486
|
-
|
7487
|
-
else this.options.saveMissingTo === "all" ?
|
7488
|
-
const
|
7489
|
-
const
|
7490
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
7486
|
+
for (let V = 0; V < F.length; V++)
|
7487
|
+
G.push(F[V]);
|
7488
|
+
else this.options.saveMissingTo === "all" ? G = this.languageUtils.toResolveHierarchy(t.lng || this.language) : G.push(t.lng || this.language);
|
7489
|
+
const Y = (V, Z, U) => {
|
7490
|
+
const z = N && U !== u ? U : _;
|
7491
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, Z, z, I, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, Z, z, I, t), this.emit("missingKey", V, d, Z, u);
|
7491
7492
|
};
|
7492
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
7493
|
-
const
|
7494
|
-
|
7495
|
-
|
7493
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && y ? G.forEach((V) => {
|
7494
|
+
const Z = this.pluralResolver.getSuffixes(V, t);
|
7495
|
+
$ && t[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((U) => {
|
7496
|
+
Y([V], c + U, t[`defaultValue${U}`] || W);
|
7496
7497
|
});
|
7497
|
-
}) :
|
7498
|
+
}) : Y(G, c, W));
|
7498
7499
|
}
|
7499
|
-
u = this.extendTranslation(u, e, t, h, s), M && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (M ||
|
7500
|
+
u = this.extendTranslation(u, e, t, h, s), M && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (M || m) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, m ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
|
7500
7501
|
}
|
7501
7502
|
return o ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
|
7502
7503
|
}
|
@@ -7538,7 +7539,7 @@ class p1 extends w1 {
|
|
7538
7539
|
}, s)), s.interpolation && this.interpolator.reset();
|
7539
7540
|
}
|
7540
7541
|
const r = s.postProcess || this.options.postProcess, d = typeof r == "string" ? [r] : r;
|
7541
|
-
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e =
|
7542
|
+
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = te.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
7542
7543
|
i18nResolved: {
|
7543
7544
|
...o,
|
7544
7545
|
usedParams: this.getUsedParamsDetails(s)
|
@@ -7554,26 +7555,26 @@ class p1 extends w1 {
|
|
7554
7555
|
o = a;
|
7555
7556
|
let h = g.namespaces;
|
7556
7557
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
7557
|
-
const u = t.count !== void 0 && typeof t.count != "string", p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "",
|
7558
|
+
const u = t.count !== void 0 && typeof t.count != "string", p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
7558
7559
|
h.forEach((v) => {
|
7559
|
-
this.isValidLookup(s) || (r = v, !
|
7560
|
+
this.isValidLookup(s) || (r = v, !O1[`${x[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (O1[`${x[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${x.join(", ")}" won't get resolved as namespace "${r}" 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!!!")), x.forEach((E) => {
|
7560
7561
|
if (this.isValidLookup(s)) return;
|
7561
7562
|
c = E;
|
7562
7563
|
const R = [a];
|
7563
7564
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
7564
7565
|
this.i18nFormat.addLookupKeys(R, a, E, v, t);
|
7565
7566
|
else {
|
7566
|
-
let
|
7567
|
-
u && (
|
7568
|
-
const M = `${this.options.pluralSeparator}zero`,
|
7569
|
-
if (u && (R.push(a +
|
7570
|
-
const
|
7571
|
-
R.push(
|
7567
|
+
let m;
|
7568
|
+
u && (m = this.pluralResolver.getSuffix(E, t.count, t));
|
7569
|
+
const M = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
7570
|
+
if (u && (R.push(a + m), t.ordinal && m.indexOf(y) === 0 && R.push(a + m.replace(y, this.options.pluralSeparator)), p && R.push(a + M)), w) {
|
7571
|
+
const N = `${a}${this.options.contextSeparator}${t.context}`;
|
7572
|
+
R.push(N), u && (R.push(N + m), t.ordinal && m.indexOf(y) === 0 && R.push(N + m.replace(y, this.options.pluralSeparator)), p && R.push(N + M));
|
7572
7573
|
}
|
7573
7574
|
}
|
7574
|
-
let
|
7575
|
-
for (;
|
7576
|
-
this.isValidLookup(s) || (l =
|
7575
|
+
let B;
|
7576
|
+
for (; B = R.pop(); )
|
7577
|
+
this.isValidLookup(s) || (l = B, s = this.getResource(E, v, B, t));
|
7577
7578
|
}));
|
7578
7579
|
});
|
7579
7580
|
}), {
|
@@ -7616,9 +7617,9 @@ class p1 extends w1 {
|
|
7616
7617
|
}
|
7617
7618
|
}
|
7618
7619
|
const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
7619
|
-
class
|
7620
|
+
class A1 {
|
7620
7621
|
constructor(e) {
|
7621
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
7622
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = P.create("languageUtils");
|
7622
7623
|
}
|
7623
7624
|
getScriptPartFromCode(e) {
|
7624
7625
|
if (e = u1(e), !e || e.indexOf("-") < 0) return null;
|
@@ -7675,7 +7676,7 @@ class O1 {
|
|
7675
7676
|
}), o;
|
7676
7677
|
}
|
7677
7678
|
}
|
7678
|
-
let
|
7679
|
+
let U5 = [{
|
7679
7680
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
7680
7681
|
nr: [1, 2],
|
7681
7682
|
fc: 1
|
@@ -7767,7 +7768,7 @@ let Y5 = [{
|
|
7767
7768
|
lngs: ["he", "iw"],
|
7768
7769
|
nr: [1, 2, 20, 21],
|
7769
7770
|
fc: 22
|
7770
|
-
}],
|
7771
|
+
}], z5 = {
|
7771
7772
|
1: (i) => +(i > 1),
|
7772
7773
|
2: (i) => +(i != 1),
|
7773
7774
|
3: (i) => 0,
|
@@ -7791,28 +7792,28 @@ let Y5 = [{
|
|
7791
7792
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
7792
7793
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
7793
7794
|
};
|
7794
|
-
const
|
7795
|
+
const J5 = ["v1", "v2", "v3"], Q5 = ["v4"], B1 = {
|
7795
7796
|
zero: 0,
|
7796
7797
|
one: 1,
|
7797
7798
|
two: 2,
|
7798
7799
|
few: 3,
|
7799
7800
|
many: 4,
|
7800
7801
|
other: 5
|
7801
|
-
},
|
7802
|
+
}, q5 = () => {
|
7802
7803
|
const i = {};
|
7803
|
-
return
|
7804
|
+
return U5.forEach((e) => {
|
7804
7805
|
e.lngs.forEach((t) => {
|
7805
7806
|
i[t] = {
|
7806
7807
|
numbers: e.nr,
|
7807
|
-
plurals:
|
7808
|
+
plurals: z5[e.fc]
|
7808
7809
|
};
|
7809
7810
|
});
|
7810
7811
|
}), i;
|
7811
7812
|
};
|
7812
|
-
class
|
7813
|
+
class X5 {
|
7813
7814
|
constructor(e) {
|
7814
7815
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7815
|
-
this.languageUtils = e, this.options = t, this.logger =
|
7816
|
+
this.languageUtils = e, this.options = t, this.logger = P.create("pluralResolver"), (!this.options.compatibilityJSON || Q5.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 = q5(), this.pluralRulesCache = {};
|
7816
7817
|
}
|
7817
7818
|
addRule(e, t) {
|
7818
7819
|
this.rules[e] = t;
|
@@ -7851,7 +7852,7 @@ class q5 {
|
|
7851
7852
|
getSuffixes(e) {
|
7852
7853
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7853
7854
|
const s = this.getRule(e, t);
|
7854
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, l) =>
|
7855
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, l) => B1[o] - B1[l]).map((o) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : s.numbers.map((o) => this.getSuffix(e, o, t)) : [];
|
7855
7856
|
}
|
7856
7857
|
getSuffix(e, t) {
|
7857
7858
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
@@ -7866,17 +7867,17 @@ class q5 {
|
|
7866
7867
|
return this.options.compatibilityJSON === "v1" ? o === 1 ? "" : typeof o == "number" ? `_plural_${o.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();
|
7867
7868
|
}
|
7868
7869
|
shouldUseIntlApi() {
|
7869
|
-
return !
|
7870
|
+
return !J5.includes(this.options.compatibilityJSON);
|
7870
7871
|
}
|
7871
7872
|
}
|
7872
|
-
const
|
7873
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
7873
|
+
const Z1 = function(i, e, t) {
|
7874
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = T5(i, e, t);
|
7874
7875
|
return !l && o && typeof t == "string" && (l = x1(i, t, s), l === void 0 && (l = x1(e, t, s))), l;
|
7875
7876
|
}, v1 = (i) => i.replace(/\$/g, "$$$$");
|
7876
|
-
class
|
7877
|
+
class e3 {
|
7877
7878
|
constructor() {
|
7878
7879
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7879
|
-
this.logger =
|
7880
|
+
this.logger = P.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
7880
7881
|
}
|
7881
7882
|
init() {
|
7882
7883
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -7897,12 +7898,12 @@ class X5 {
|
|
7897
7898
|
nestingPrefix: u,
|
7898
7899
|
nestingPrefixEscaped: p,
|
7899
7900
|
nestingSuffix: w,
|
7900
|
-
nestingSuffixEscaped:
|
7901
|
+
nestingSuffixEscaped: x,
|
7901
7902
|
nestingOptionsSeparator: v,
|
7902
7903
|
maxReplaces: E,
|
7903
7904
|
alwaysFormat: R
|
7904
7905
|
} = e.interpolation;
|
7905
|
-
this.escape = t !== void 0 ? t :
|
7906
|
+
this.escape = t !== void 0 ? t : K5, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = l ? q(l) : c || "{{", this.suffix = r ? q(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? q(u) : p || q("$t("), this.nestingSuffix = w ? q(w) : x || q(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
|
7906
7907
|
}
|
7907
7908
|
reset() {
|
7908
7909
|
this.options && this.init(this.options);
|
@@ -7915,18 +7916,18 @@ class X5 {
|
|
7915
7916
|
let l, c, r;
|
7916
7917
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
7917
7918
|
if (p.indexOf(this.formatSeparator) < 0) {
|
7918
|
-
const E =
|
7919
|
+
const E = Z1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
7919
7920
|
return this.alwaysFormat ? this.format(E, void 0, s, {
|
7920
7921
|
...o,
|
7921
7922
|
...t,
|
7922
7923
|
interpolationkey: p
|
7923
7924
|
}) : E;
|
7924
7925
|
}
|
7925
|
-
const w = p.split(this.formatSeparator),
|
7926
|
-
return this.format(
|
7926
|
+
const w = p.split(this.formatSeparator), x = w.shift().trim(), v = w.join(this.formatSeparator).trim();
|
7927
|
+
return this.format(Z1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), v, s, {
|
7927
7928
|
...o,
|
7928
7929
|
...t,
|
7929
|
-
interpolationkey:
|
7930
|
+
interpolationkey: x
|
7930
7931
|
});
|
7931
7932
|
};
|
7932
7933
|
this.resetRegExp();
|
@@ -7951,9 +7952,9 @@ class X5 {
|
|
7951
7952
|
continue;
|
7952
7953
|
} else
|
7953
7954
|
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
7954
|
-
else typeof c != "string" && !this.useRawValueToEscape && (c =
|
7955
|
-
const
|
7956
|
-
if (e = e.replace(l[0],
|
7955
|
+
else typeof c != "string" && !this.useRawValueToEscape && (c = H1(c));
|
7956
|
+
const x = p.safeValue(c);
|
7957
|
+
if (e = e.replace(l[0], x), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
|
7957
7958
|
break;
|
7958
7959
|
}
|
7959
7960
|
}), e;
|
@@ -7973,8 +7974,8 @@ class X5 {
|
|
7973
7974
|
...g,
|
7974
7975
|
...c
|
7975
7976
|
});
|
7976
|
-
} catch (
|
7977
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${d}`,
|
7977
|
+
} catch (x) {
|
7978
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${d}`, x), `${d}${a}${u}`;
|
7978
7979
|
}
|
7979
7980
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
|
7980
7981
|
};
|
@@ -7989,7 +7990,7 @@ class X5 {
|
|
7989
7990
|
o[1] = a.shift(), d = a, g = !0;
|
7990
7991
|
}
|
7991
7992
|
if (l = t(r.call(this, o[1].trim(), c), c), l && o[0] === e && typeof l != "string") return l;
|
7992
|
-
typeof l != "string" && (l =
|
7993
|
+
typeof l != "string" && (l = H1(l)), l || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
|
7993
7994
|
...s,
|
7994
7995
|
interpolationkey: o[1].trim()
|
7995
7996
|
}), l.trim())), e = e.replace(o[0], l), this.regexp.lastIndex = 0;
|
@@ -7997,7 +7998,7 @@ class X5 {
|
|
7997
7998
|
return e;
|
7998
7999
|
}
|
7999
8000
|
}
|
8000
|
-
const
|
8001
|
+
const t3 = (i) => {
|
8001
8002
|
let e = i.toLowerCase().trim();
|
8002
8003
|
const t = {};
|
8003
8004
|
if (i.indexOf("(") > -1) {
|
@@ -8015,7 +8016,7 @@ const e3 = (i) => {
|
|
8015
8016
|
formatName: e,
|
8016
8017
|
formatOptions: t
|
8017
8018
|
};
|
8018
|
-
},
|
8019
|
+
}, X = (i) => {
|
8019
8020
|
const e = {};
|
8020
8021
|
return (t, s, o) => {
|
8021
8022
|
let l = o;
|
@@ -8028,36 +8029,36 @@ const e3 = (i) => {
|
|
8028
8029
|
return r || (r = i(u1(s), o), e[c] = r), r(t);
|
8029
8030
|
};
|
8030
8031
|
};
|
8031
|
-
class
|
8032
|
+
class i3 {
|
8032
8033
|
constructor() {
|
8033
8034
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8034
|
-
this.logger =
|
8035
|
-
number:
|
8035
|
+
this.logger = P.create("formatter"), this.options = e, this.formats = {
|
8036
|
+
number: X((t, s) => {
|
8036
8037
|
const o = new Intl.NumberFormat(t, {
|
8037
8038
|
...s
|
8038
8039
|
});
|
8039
8040
|
return (l) => o.format(l);
|
8040
8041
|
}),
|
8041
|
-
currency:
|
8042
|
+
currency: X((t, s) => {
|
8042
8043
|
const o = new Intl.NumberFormat(t, {
|
8043
8044
|
...s,
|
8044
8045
|
style: "currency"
|
8045
8046
|
});
|
8046
8047
|
return (l) => o.format(l);
|
8047
8048
|
}),
|
8048
|
-
datetime:
|
8049
|
+
datetime: X((t, s) => {
|
8049
8050
|
const o = new Intl.DateTimeFormat(t, {
|
8050
8051
|
...s
|
8051
8052
|
});
|
8052
8053
|
return (l) => o.format(l);
|
8053
8054
|
}),
|
8054
|
-
relativetime:
|
8055
|
+
relativetime: X((t, s) => {
|
8055
8056
|
const o = new Intl.RelativeTimeFormat(t, {
|
8056
8057
|
...s
|
8057
8058
|
});
|
8058
8059
|
return (l) => o.format(l, s.range || "day");
|
8059
8060
|
}),
|
8060
|
-
list:
|
8061
|
+
list: X((t, s) => {
|
8061
8062
|
const o = new Intl.ListFormat(t, {
|
8062
8063
|
...s
|
8063
8064
|
});
|
@@ -8075,7 +8076,7 @@ class t3 {
|
|
8075
8076
|
this.formats[e.toLowerCase().trim()] = t;
|
8076
8077
|
}
|
8077
8078
|
addCached(e, t) {
|
8078
|
-
this.formats[e.toLowerCase().trim()] =
|
8079
|
+
this.formats[e.toLowerCase().trim()] = X(t);
|
8079
8080
|
}
|
8080
8081
|
format(e, t, s) {
|
8081
8082
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
@@ -8088,7 +8089,7 @@ class t3 {
|
|
8088
8089
|
const {
|
8089
8090
|
formatName: g,
|
8090
8091
|
formatOptions: a
|
8091
|
-
} =
|
8092
|
+
} = t3(d);
|
8092
8093
|
if (this.formats[g]) {
|
8093
8094
|
let h = r;
|
8094
8095
|
try {
|
@@ -8108,13 +8109,13 @@ class t3 {
|
|
8108
8109
|
}, e);
|
8109
8110
|
}
|
8110
8111
|
}
|
8111
|
-
const
|
8112
|
+
const s3 = (i, e) => {
|
8112
8113
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
8113
8114
|
};
|
8114
|
-
class
|
8115
|
+
class o3 extends w1 {
|
8115
8116
|
constructor(e, t, s) {
|
8116
8117
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
8117
|
-
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger =
|
8118
|
+
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = P.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
|
8118
8119
|
}
|
8119
8120
|
queueLoad(e, t, s, o) {
|
8120
8121
|
const l = {}, c = {}, r = {}, d = {};
|
@@ -8144,7 +8145,7 @@ class s3 extends w1 {
|
|
8144
8145
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
8145
8146
|
const r = {};
|
8146
8147
|
this.queue.forEach((d) => {
|
8147
|
-
|
8148
|
+
D5(d.loaded, [l], c), s3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
8148
8149
|
r[g] || (r[g] = {});
|
8149
8150
|
const a = d.loaded[g];
|
8150
8151
|
a.length && a.forEach((h) => {
|
@@ -8246,7 +8247,7 @@ class s3 extends w1 {
|
|
8246
8247
|
}
|
8247
8248
|
}
|
8248
8249
|
}
|
8249
|
-
const
|
8250
|
+
const W1 = () => ({
|
8250
8251
|
debug: !1,
|
8251
8252
|
initImmediate: !0,
|
8252
8253
|
ns: ["translation"],
|
@@ -8302,8 +8303,8 @@ const Z1 = () => ({
|
|
8302
8303
|
maxReplaces: 1e3,
|
8303
8304
|
skipOnVariables: !0
|
8304
8305
|
}
|
8305
|
-
}),
|
8306
|
-
},
|
8306
|
+
}), j1 = (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), h1 = () => {
|
8307
|
+
}, n3 = (i) => {
|
8307
8308
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
8308
8309
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
8309
8310
|
});
|
@@ -8311,9 +8312,9 @@ const Z1 = () => ({
|
|
8311
8312
|
class o1 extends w1 {
|
8312
8313
|
constructor() {
|
8313
8314
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
8314
|
-
if (super(), this.options =
|
8315
|
+
if (super(), this.options = j1(e), this.services = {}, this.logger = P, this.modules = {
|
8315
8316
|
external: []
|
8316
|
-
},
|
8317
|
+
}, n3(this), t && !this.isInitialized && !e.isClone) {
|
8317
8318
|
if (!this.options.initImmediate)
|
8318
8319
|
return this.init(e, t), this;
|
8319
8320
|
setTimeout(() => {
|
@@ -8325,37 +8326,37 @@ class o1 extends w1 {
|
|
8325
8326
|
var e = this;
|
8326
8327
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
8327
8328
|
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]));
|
8328
|
-
const o =
|
8329
|
+
const o = W1();
|
8329
8330
|
this.options = {
|
8330
8331
|
...o,
|
8331
8332
|
...this.options,
|
8332
|
-
...
|
8333
|
+
...j1(t)
|
8333
8334
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
8334
8335
|
...o.interpolation,
|
8335
8336
|
...this.options.interpolation
|
8336
8337
|
}), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
8337
8338
|
const l = (a) => a ? typeof a == "function" ? new a() : a : null;
|
8338
8339
|
if (!this.options.isClone) {
|
8339
|
-
this.modules.logger ?
|
8340
|
+
this.modules.logger ? P.init(l(this.modules.logger), this.options) : P.init(null, this.options);
|
8340
8341
|
let a;
|
8341
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
8342
|
-
const h = new
|
8343
|
-
this.store = new
|
8342
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = i3);
|
8343
|
+
const h = new A1(this.options);
|
8344
|
+
this.store = new S1(this.options.resources, this.options);
|
8344
8345
|
const u = this.services;
|
8345
|
-
u.logger =
|
8346
|
+
u.logger = P, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new X5(h, {
|
8346
8347
|
prepend: this.options.pluralSeparator,
|
8347
8348
|
compatibilityJSON: this.options.compatibilityJSON,
|
8348
8349
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
8349
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new
|
8350
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new e3(this.options), u.utils = {
|
8350
8351
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
8351
|
-
}, u.backendConnector = new
|
8352
|
-
for (var w = arguments.length,
|
8353
|
-
|
8354
|
-
e.emit(p, ...
|
8352
|
+
}, u.backendConnector = new o3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
|
8353
|
+
for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), v = 1; v < w; v++)
|
8354
|
+
x[v - 1] = arguments[v];
|
8355
|
+
e.emit(p, ...x);
|
8355
8356
|
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new p1(this.services, this.options), this.translator.on("*", function(p) {
|
8356
|
-
for (var w = arguments.length,
|
8357
|
-
|
8358
|
-
e.emit(p, ...
|
8357
|
+
for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), v = 1; v < w; v++)
|
8358
|
+
x[v - 1] = arguments[v];
|
8359
|
+
e.emit(p, ...x);
|
8359
8360
|
}), this.modules.external.forEach((p) => {
|
8360
8361
|
p.init && p.init(this);
|
8361
8362
|
});
|
@@ -8408,7 +8409,7 @@ class o1 extends w1 {
|
|
8408
8409
|
use(e) {
|
8409
8410
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
8410
8411
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
8411
|
-
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" &&
|
8412
|
+
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" && te.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
8412
8413
|
}
|
8413
8414
|
setResolvedLanguage(e) {
|
8414
8415
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
@@ -8506,7 +8507,7 @@ class o1 extends w1 {
|
|
8506
8507
|
}
|
8507
8508
|
dir(e) {
|
8508
8509
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
8509
|
-
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
|
8510
|
+
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 A1(W1());
|
8510
8511
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
8511
8512
|
}
|
8512
8513
|
static createInstance() {
|
@@ -8528,7 +8529,7 @@ class o1 extends w1 {
|
|
8528
8529
|
...this.services
|
8529
8530
|
}, l.services.utils = {
|
8530
8531
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
8531
|
-
}, s && (l.store = new
|
8532
|
+
}, s && (l.store = new S1(this.store.data, o), l.services.resourceStore = l.store), l.translator = new p1(l.services, o), l.translator.on("*", function(r) {
|
8532
8533
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
8533
8534
|
g[a - 1] = arguments[a];
|
8534
8535
|
l.emit(r, ...g);
|
@@ -8562,20 +8563,20 @@ A.setDefaultNamespace;
|
|
8562
8563
|
A.hasLoadedNamespace;
|
8563
8564
|
A.loadNamespaces;
|
8564
8565
|
A.loadLanguages;
|
8565
|
-
function
|
8566
|
+
function r3() {
|
8566
8567
|
if (console && console.warn) {
|
8567
8568
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8568
8569
|
e[t] = arguments[t];
|
8569
|
-
|
8570
|
+
J(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
8570
8571
|
}
|
8571
8572
|
}
|
8572
|
-
const
|
8573
|
+
const D1 = {};
|
8573
8574
|
function R1() {
|
8574
8575
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8575
8576
|
e[t] = arguments[t];
|
8576
|
-
|
8577
|
+
J(e[0]) && D1[e[0]] || (J(e[0]) && (D1[e[0]] = /* @__PURE__ */ new Date()), r3(...e));
|
8577
8578
|
}
|
8578
|
-
const
|
8579
|
+
const ie = (i, e) => () => {
|
8579
8580
|
if (i.isInitialized)
|
8580
8581
|
e();
|
8581
8582
|
else {
|
@@ -8586,13 +8587,13 @@ const te = (i, e) => () => {
|
|
8586
8587
|
};
|
8587
8588
|
i.on("initialized", t);
|
8588
8589
|
}
|
8589
|
-
},
|
8590
|
-
i.loadNamespaces(e,
|
8591
|
-
},
|
8592
|
-
|
8590
|
+
}, T1 = (i, e, t) => {
|
8591
|
+
i.loadNamespaces(e, ie(i, t));
|
8592
|
+
}, G1 = (i, e, t, s) => {
|
8593
|
+
J(t) && (t = [t]), t.forEach((o) => {
|
8593
8594
|
i.options.ns.indexOf(o) < 0 && i.options.ns.push(o);
|
8594
|
-
}), i.loadLanguages(e,
|
8595
|
-
},
|
8595
|
+
}), i.loadLanguages(e, ie(i, s));
|
8596
|
+
}, l3 = function(i, e) {
|
8596
8597
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8597
8598
|
const s = e.languages[0], o = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
8598
8599
|
if (s.toLowerCase() === "cimode") return !0;
|
@@ -8601,15 +8602,15 @@ const te = (i, e) => () => {
|
|
8601
8602
|
return g === -1 || g === 2;
|
8602
8603
|
};
|
8603
8604
|
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) && (!o || c(l, i)));
|
8604
|
-
},
|
8605
|
+
}, a3 = function(i, e) {
|
8605
8606
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8606
8607
|
return !e.languages || !e.languages.length ? (R1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
8607
8608
|
lng: t.lng,
|
8608
8609
|
precheck: (o, l) => {
|
8609
8610
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !l(o.isLanguageChangingTo, i)) return !1;
|
8610
8611
|
}
|
8611
|
-
}) :
|
8612
|
-
},
|
8612
|
+
}) : l3(i, e, t);
|
8613
|
+
}, J = (i) => typeof i == "string", h3 = (i) => typeof i == "object" && i !== null, c3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, d3 = {
|
8613
8614
|
"&": "&",
|
8614
8615
|
"&": "&",
|
8615
8616
|
"<": "<",
|
@@ -8630,7 +8631,7 @@ const te = (i, e) => () => {
|
|
8630
8631
|
"…": "…",
|
8631
8632
|
"/": "/",
|
8632
8633
|
"/": "/"
|
8633
|
-
},
|
8634
|
+
}, g3 = (i) => d3[i], C3 = (i) => i.replace(c3, g3);
|
8634
8635
|
let M1 = {
|
8635
8636
|
bindI18n: "languageChanged",
|
8636
8637
|
bindI18nStore: "",
|
@@ -8639,27 +8640,27 @@ let M1 = {
|
|
8639
8640
|
transWrapTextNodes: "",
|
8640
8641
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
8641
8642
|
useSuspense: !0,
|
8642
|
-
unescape:
|
8643
|
+
unescape: C3
|
8643
8644
|
};
|
8644
|
-
const
|
8645
|
+
const u3 = function() {
|
8645
8646
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8646
8647
|
M1 = {
|
8647
8648
|
...M1,
|
8648
8649
|
...i
|
8649
8650
|
};
|
8650
|
-
},
|
8651
|
-
let
|
8652
|
-
const
|
8653
|
-
|
8654
|
-
},
|
8651
|
+
}, p3 = () => M1;
|
8652
|
+
let se;
|
8653
|
+
const f3 = (i) => {
|
8654
|
+
se = i;
|
8655
|
+
}, w3 = () => se, m3 = {
|
8655
8656
|
type: "3rdParty",
|
8656
8657
|
init(i) {
|
8657
|
-
|
8658
|
+
u3(i.options.react), f3(i);
|
8658
8659
|
}
|
8659
|
-
},
|
8660
|
-
class
|
8660
|
+
}, k3 = n1();
|
8661
|
+
class L3 {
|
8661
8662
|
constructor() {
|
8662
|
-
|
8663
|
+
b1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
8663
8664
|
this.usedNamespaces = {};
|
8664
8665
|
}
|
8665
8666
|
addUsedNamespaces(e) {
|
@@ -8668,27 +8669,27 @@ class k3 {
|
|
8668
8669
|
});
|
8669
8670
|
}
|
8670
8671
|
}
|
8671
|
-
const
|
8672
|
+
const v3 = (i, e) => {
|
8672
8673
|
const t = r1();
|
8673
|
-
return
|
8674
|
+
return j(() => {
|
8674
8675
|
t.current = i;
|
8675
8676
|
}, [i, e]), t.current;
|
8676
|
-
},
|
8677
|
+
}, oe = (i, e, t, s) => i.getFixedT(e, t, s), N3 = (i, e, t, s) => K(oe(i, e, t, s), [i, e, t, s]), x3 = function(i) {
|
8677
8678
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
8678
8679
|
const {
|
8679
8680
|
i18n: t
|
8680
8681
|
} = e, {
|
8681
8682
|
i18n: s,
|
8682
8683
|
defaultNS: o
|
8683
|
-
} = l1(
|
8684
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
8684
|
+
} = l1(k3) || {}, l = t || s || w3();
|
8685
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new L3()), !l) {
|
8685
8686
|
R1("You will need to pass in an i18next instance by using initReactI18next");
|
8686
|
-
const
|
8687
|
-
return M.t =
|
8687
|
+
const m = (y, N) => J(N) ? N : h3(N) && J(N.defaultValue) ? N.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, M = [m, {}, !1];
|
8688
|
+
return M.t = m, M.i18n = {}, M.ready = !1, M;
|
8688
8689
|
}
|
8689
8690
|
l.options.react && l.options.react.wait !== void 0 && R1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
8690
8691
|
const c = {
|
8691
|
-
...
|
8692
|
+
...p3(),
|
8692
8693
|
...l.options.react,
|
8693
8694
|
...e
|
8694
8695
|
}, {
|
@@ -8696,67 +8697,67 @@ const L3 = (i, e) => {
|
|
8696
8697
|
keyPrefix: d
|
8697
8698
|
} = c;
|
8698
8699
|
let g = i;
|
8699
|
-
g =
|
8700
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((
|
8700
|
+
g = J(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
8701
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((m) => a3(m, l, c)), h = N3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => oe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, x] = O(u);
|
8701
8702
|
let v = g.join();
|
8702
8703
|
e.lng && (v = `${e.lng}${v}`);
|
8703
|
-
const E =
|
8704
|
-
|
8704
|
+
const E = v3(v), R = r1(!0);
|
8705
|
+
j(() => {
|
8705
8706
|
const {
|
8706
|
-
bindI18n:
|
8707
|
+
bindI18n: m,
|
8707
8708
|
bindI18nStore: M
|
8708
8709
|
} = c;
|
8709
|
-
R.current = !0, !a && !r && (e.lng ?
|
8710
|
-
R.current &&
|
8711
|
-
}) :
|
8712
|
-
R.current &&
|
8713
|
-
})), a && E && E !== v && R.current &&
|
8714
|
-
const
|
8715
|
-
R.current &&
|
8710
|
+
R.current = !0, !a && !r && (e.lng ? G1(l, e.lng, g, () => {
|
8711
|
+
R.current && x(p);
|
8712
|
+
}) : T1(l, g, () => {
|
8713
|
+
R.current && x(p);
|
8714
|
+
})), a && E && E !== v && R.current && x(p);
|
8715
|
+
const y = () => {
|
8716
|
+
R.current && x(p);
|
8716
8717
|
};
|
8717
|
-
return
|
8718
|
-
R.current = !1,
|
8718
|
+
return m && l && l.on(m, y), M && l && l.store.on(M, y), () => {
|
8719
|
+
R.current = !1, m && l && m.split(" ").forEach((N) => l.off(N, y)), M && l && M.split(" ").forEach((N) => l.store.off(N, y));
|
8719
8720
|
};
|
8720
|
-
}, [l, v]),
|
8721
|
-
R.current && a &&
|
8721
|
+
}, [l, v]), j(() => {
|
8722
|
+
R.current && a && x(u);
|
8722
8723
|
}, [l, d, a]);
|
8723
|
-
const
|
8724
|
-
if (
|
8725
|
-
throw new Promise((
|
8726
|
-
e.lng ?
|
8724
|
+
const B = [w, l, a];
|
8725
|
+
if (B.t = w, B.i18n = l, B.ready = a, a || !a && !r) return B;
|
8726
|
+
throw new Promise((m) => {
|
8727
|
+
e.lng ? G1(l, e.lng, g, () => m()) : T1(l, g, () => m());
|
8727
8728
|
});
|
8728
8729
|
};
|
8729
8730
|
var S = [];
|
8730
8731
|
for (var N1 = 0; N1 < 256; ++N1)
|
8731
8732
|
S.push((N1 + 256).toString(16).slice(1));
|
8732
|
-
function
|
8733
|
+
function R3(i, e = 0) {
|
8733
8734
|
return (S[i[e + 0]] + S[i[e + 1]] + S[i[e + 2]] + S[i[e + 3]] + "-" + S[i[e + 4]] + S[i[e + 5]] + "-" + S[i[e + 6]] + S[i[e + 7]] + "-" + S[i[e + 8]] + S[i[e + 9]] + "-" + S[i[e + 10]] + S[i[e + 11]] + S[i[e + 12]] + S[i[e + 13]] + S[i[e + 14]] + S[i[e + 15]]).toLowerCase();
|
8734
8735
|
}
|
8735
|
-
var c1,
|
8736
|
-
function
|
8736
|
+
var c1, M3 = new Uint8Array(16);
|
8737
|
+
function y3() {
|
8737
8738
|
if (!c1 && (c1 = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !c1))
|
8738
8739
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
8739
|
-
return c1(
|
8740
|
+
return c1(M3);
|
8740
8741
|
}
|
8741
|
-
var
|
8742
|
-
const
|
8743
|
-
randomUUID:
|
8742
|
+
var b3 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
8743
|
+
const K1 = {
|
8744
|
+
randomUUID: b3
|
8744
8745
|
};
|
8745
|
-
function
|
8746
|
-
if (
|
8747
|
-
return
|
8746
|
+
function P1(i, e, t) {
|
8747
|
+
if (K1.randomUUID && !e && !i)
|
8748
|
+
return K1.randomUUID();
|
8748
8749
|
i = i || {};
|
8749
|
-
var s = i.random || (i.rng ||
|
8750
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
8750
|
+
var s = i.random || (i.rng || y3)();
|
8751
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, R3(s);
|
8751
8752
|
}
|
8752
|
-
const
|
8753
|
-
placeholder:
|
8754
|
-
},
|
8755
|
-
placeholder:
|
8753
|
+
const E3 = "City", H3 = {
|
8754
|
+
placeholder: E3
|
8755
|
+
}, _3 = "Город", V3 = {
|
8756
|
+
placeholder: _3
|
8756
8757
|
};
|
8757
|
-
function
|
8758
|
+
function I3(i, e = 500) {
|
8758
8759
|
const t = r1();
|
8759
|
-
return
|
8760
|
+
return j(() => () => {
|
8760
8761
|
t.current && clearTimeout(t.current);
|
8761
8762
|
}, []), (...o) => {
|
8762
8763
|
const l = setTimeout(() => {
|
@@ -8765,81 +8766,81 @@ function V3(i, e = 500) {
|
|
8765
8766
|
clearTimeout(t.current), t.current = l;
|
8766
8767
|
};
|
8767
8768
|
}
|
8768
|
-
A.use(
|
8769
|
+
A.use(m3).init({
|
8769
8770
|
defaultNS: "common",
|
8770
8771
|
lng: "en",
|
8771
8772
|
resources: {
|
8772
8773
|
en: {
|
8773
|
-
common:
|
8774
|
+
common: H3
|
8774
8775
|
},
|
8775
8776
|
ru: {
|
8776
|
-
common:
|
8777
|
+
common: V3
|
8777
8778
|
}
|
8778
8779
|
}
|
8779
8780
|
});
|
8780
|
-
const
|
8781
|
+
const F1 = {
|
8781
8782
|
limit: 100,
|
8782
8783
|
offset: 0
|
8783
|
-
},
|
8784
|
+
}, D3 = f1(
|
8784
8785
|
({ width: i, selectedCountry: e, onChange: t, value: s, id: o, disabled: l }, c) => {
|
8785
|
-
const [r, d] = O([]), [g, a] = O(
|
8786
|
+
const [r, d] = O([]), [g, a] = O(F1), [h, u] = O(null), [p, w] = O([]), [x, v] = O(!0), [E, R] = O(!1), B = r1(e), { locale: m, axiosPeople: M } = l1(de);
|
8786
8787
|
if (!M)
|
8787
8788
|
throw new Error(
|
8788
8789
|
`CitySelect requires "axiosPeople" to fetch cities.
|
8789
8790
|
Please provide it via SNMTUiContext.`
|
8790
8791
|
);
|
8791
|
-
const { t:
|
8792
|
-
async (
|
8793
|
-
|
8792
|
+
const { t: y } = x3("common", { lng: m }), N = K(
|
8793
|
+
async (b) => {
|
8794
|
+
b ? R(!0) : v(!0);
|
8794
8795
|
try {
|
8795
|
-
const
|
8796
|
+
const _ = {
|
8796
8797
|
offset: g.offset,
|
8797
8798
|
limit: g.limit
|
8798
8799
|
};
|
8799
|
-
e && e.length > 0 && (
|
8800
|
-
const
|
8801
|
-
key:
|
8802
|
-
label:
|
8803
|
-
value:
|
8800
|
+
e && e.length > 0 && (_.countryId = e), b && (_.search = b);
|
8801
|
+
const I = await M.post("v1/cities/search", _), G = (I == null ? void 0 : I.data.data) || [], F = I == null ? void 0 : I.data.metadata.count, Y = G.map((V) => ({
|
8802
|
+
key: P1(),
|
8803
|
+
label: V.name,
|
8804
|
+
value: V.geoNameId
|
8804
8805
|
}));
|
8805
8806
|
d(
|
8806
|
-
(
|
8807
|
-
), w(
|
8807
|
+
(V) => g.offset === 0 ? Y : [...V, ...Y]
|
8808
|
+
), w(G), u(F);
|
8808
8809
|
} finally {
|
8809
8810
|
v(!1), R(!1);
|
8810
8811
|
}
|
8811
8812
|
},
|
8812
|
-
[M, g, e]
|
8813
|
+
[M, g.offset, g.limit, e]
|
8813
8814
|
);
|
8814
|
-
|
8815
|
-
a(
|
8816
|
-
}, [e]),
|
8817
|
-
|
8818
|
-
}, [
|
8815
|
+
j(() => {
|
8816
|
+
a(F1);
|
8817
|
+
}, [e]), j(() => {
|
8818
|
+
N();
|
8819
|
+
}, [N, e]), j(() => {
|
8819
8820
|
t("");
|
8820
|
-
const
|
8821
|
-
key:
|
8822
|
-
label:
|
8823
|
-
value:
|
8821
|
+
const b = p.map((_) => ({
|
8822
|
+
key: P1(),
|
8823
|
+
label: _.name,
|
8824
|
+
value: _.geoNameId
|
8824
8825
|
}));
|
8825
8826
|
d(
|
8826
|
-
(
|
8827
|
-
),
|
8827
|
+
(_) => g.offset === 0 ? b : [..._, ...b]
|
8828
|
+
), B.current = e, s && t(s);
|
8828
8829
|
}, [e, t, s, p, g.offset]);
|
8829
|
-
const
|
8830
|
-
(
|
8831
|
-
a((
|
8830
|
+
const T = I3(N), Q = K(
|
8831
|
+
(b) => {
|
8832
|
+
a((_) => ({ ..._, offset: 0, search: b })), R(!0), T(b);
|
8832
8833
|
},
|
8833
|
-
[
|
8834
|
-
),
|
8835
|
-
const { target:
|
8836
|
-
|
8837
|
-
...
|
8838
|
-
offset:
|
8834
|
+
[T]
|
8835
|
+
), $ = async (b) => {
|
8836
|
+
const { target: _ } = b;
|
8837
|
+
_.scrollTop + _.offsetHeight >= _.scrollHeight - 50 && h !== null && h > 0 && a((I) => ({
|
8838
|
+
...I,
|
8839
|
+
offset: I.offset + I.limit
|
8839
8840
|
}));
|
8840
|
-
};
|
8841
|
+
}, W = x || E;
|
8841
8842
|
return /* @__PURE__ */ n("div", { className: "snmt-city-select", children: /* @__PURE__ */ n(
|
8842
|
-
|
8843
|
+
B5,
|
8843
8844
|
{
|
8844
8845
|
id: o,
|
8845
8846
|
width: i,
|
@@ -8847,16 +8848,16 @@ const P1 = {
|
|
8847
8848
|
onChange: t,
|
8848
8849
|
ref: c,
|
8849
8850
|
search: !0,
|
8850
|
-
value: s,
|
8851
|
-
onSearchChange:
|
8852
|
-
placeholder:
|
8853
|
-
onPopupScroll:
|
8851
|
+
value: W && s ? null : s,
|
8852
|
+
onSearchChange: Q,
|
8853
|
+
placeholder: y("placeholder"),
|
8854
|
+
onPopupScroll: $,
|
8854
8855
|
disabled: l,
|
8855
|
-
isLoading:
|
8856
|
+
isLoading: W
|
8856
8857
|
}
|
8857
8858
|
) });
|
8858
8859
|
}
|
8859
8860
|
);
|
8860
8861
|
export {
|
8861
|
-
|
8862
|
+
D3 as CitySelect
|
8862
8863
|
};
|