@snmt-react-ui/country-select 2.3.3 → 2.3.5

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.
Files changed (2) hide show
  1. package/dist/country-select.js +989 -988
  2. package/package.json +3 -3
@@ -1,37 +1,37 @@
1
- var ie = Object.defineProperty;
2
- var se = (i, e, t) => e in i ? ie(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var x1 = (i, e, t) => se(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var se = Object.defineProperty;
2
+ var oe = (i, e, t) => e in i ? se(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var R1 = (i, e, t) => oe(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as n, Fragment as z, jsxs as C } from "react/jsx-runtime";
6
- import { SNMTUiContext as oe } from "@snmt-react-ui/core";
7
- import { Select as ne, Flex as re, Avatar as le, Checkbox as ae, Typography as j1, Tag as D1, Popover as he } from "antd";
8
- import { createContext as e1, forwardRef as C1, useState as S, useRef as N1, useEffect as A, useCallback as j, useContext as t1 } from "react";
5
+ import { jsx as n, Fragment as J, jsxs as C } from "react/jsx-runtime";
6
+ import { SNMTUiContext as ne } from "@snmt-react-ui/core";
7
+ import { Select as re, Flex as le, Avatar as ae, Checkbox as he, Typography as D1, Tag as T1, Popover as ce } from "antd";
8
+ import { createContext as i1, forwardRef as C1, useState as S, useRef as N1, useEffect as B, useCallback as j, useContext as s1 } from "react";
9
9
  const a1 = ({
10
10
  children: i,
11
11
  direction: e = "row",
12
12
  flexWrap: t = "nowrap",
13
13
  alignItems: s = "normal",
14
14
  justifyContent: o = "normal",
15
- flex: a,
15
+ flex: l,
16
16
  gap: c,
17
17
  padding: r
18
18
  }) => /* @__PURE__ */ n(
19
- re,
19
+ le,
20
20
  {
21
21
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
22
22
  vertical: e === "column",
23
23
  wrap: t,
24
24
  align: s,
25
25
  justify: o,
26
- flex: a,
26
+ flex: l,
27
27
  gap: c,
28
28
  style: { padding: r },
29
29
  children: i
30
30
  }
31
- ), ce = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
31
+ ), de = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
32
32
  const o = typeof s.src == "string";
33
33
  return /* @__PURE__ */ n(
34
- le,
34
+ ae,
35
35
  {
36
36
  className: `snmt-avatar ${o ? "image" : ""}`,
37
37
  shape: i,
@@ -42,33 +42,33 @@ const a1 = ({
42
42
  }
43
43
  );
44
44
  };
45
- var U = /* @__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))(U || {});
46
- const T1 = e1({
45
+ var z = /* @__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))(z || {});
46
+ const G1 = i1({
47
47
  locale: "en",
48
48
  theme: "light"
49
49
  });
50
- T1.Provider;
51
- const de = ({
50
+ G1.Provider;
51
+ const ge = ({
52
52
  checked: i = !0,
53
53
  indeterminate: e = !1,
54
54
  children: t,
55
55
  onChange: s,
56
56
  disabled: o = !1,
57
- disableUncheck: a = !1
57
+ disableUncheck: l = !1
58
58
  }) => {
59
59
  const [c, r] = S(i), [d, g] = S(e);
60
- A(() => {
60
+ B(() => {
61
61
  r(i), g(e);
62
62
  }, [i, e]);
63
- const { theme: l } = t1(T1);
63
+ const { theme: a } = s1(G1);
64
64
  return /* @__PURE__ */ n(
65
- ae,
65
+ he,
66
66
  {
67
- className: `snmt-checkbox snmt-checkbox-${l}`,
67
+ className: `snmt-checkbox snmt-checkbox-${a}`,
68
68
  checked: c,
69
69
  indeterminate: d,
70
70
  onChange: (h) => {
71
- a && c || (g(!1), r(h.target.checked), s && s(h));
71
+ l && c || (g(!1), r(h.target.checked), s && s(h));
72
72
  },
73
73
  disabled: o,
74
74
  children: t
@@ -76,12 +76,12 @@ const de = ({
76
76
  );
77
77
  };
78
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 G1 = e1({
79
+ const K1 = i1({
80
80
  locale: "en",
81
81
  theme: "light"
82
82
  });
83
- G1.Provider;
84
- const ge = ({
83
+ K1.Provider;
84
+ const Ce = ({
85
85
  width: i = 20,
86
86
  height: e = 20,
87
87
  color: t = "#001E52",
@@ -108,7 +108,7 @@ const ge = ({
108
108
  }
109
109
  )
110
110
  }
111
- ), Ce = ({
111
+ ), ue = ({
112
112
  width: i = 20,
113
113
  height: e = 20,
114
114
  color: t = "#001E52",
@@ -135,7 +135,7 @@ const ge = ({
135
135
  }
136
136
  )
137
137
  }
138
- ), ue = ({
138
+ ), pe = ({
139
139
  width: i = 16,
140
140
  height: e = 16,
141
141
  color: t = "#001E52",
@@ -163,7 +163,7 @@ const ge = ({
163
163
  )
164
164
  ]
165
165
  }
166
- ), pe = ({
166
+ ), fe = ({
167
167
  width: i = 20,
168
168
  height: e = 20,
169
169
  color: t = "#001E52",
@@ -198,7 +198,7 @@ const ge = ({
198
198
  )
199
199
  ]
200
200
  }
201
- ), fe = ({
201
+ ), we = ({
202
202
  width: i = 18,
203
203
  height: e = 18,
204
204
  color: t = "#001E52",
@@ -237,7 +237,7 @@ const ge = ({
237
237
  )
238
238
  ]
239
239
  }
240
- ), we = ({
240
+ ), me = ({
241
241
  width: i = 20,
242
242
  height: e = 20,
243
243
  color: t = "#001E52",
@@ -263,7 +263,7 @@ const ge = ({
263
263
  }
264
264
  )
265
265
  }
266
- ), me = ({
266
+ ), ke = ({
267
267
  width: i = 20,
268
268
  height: e = 20,
269
269
  color: t = "#001E52",
@@ -284,7 +284,7 @@ const ge = ({
284
284
  /* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
285
285
  ]
286
286
  }
287
- ), ke = ({
287
+ ), Le = ({
288
288
  width: i = 20,
289
289
  height: e = 20,
290
290
  color: t = "#001E52",
@@ -316,7 +316,7 @@ const ge = ({
316
316
  )
317
317
  ]
318
318
  }
319
- ), Le = ({
319
+ ), ve = ({
320
320
  width: i = 20,
321
321
  height: e = 20,
322
322
  color: t = "#001E52",
@@ -370,7 +370,7 @@ const ge = ({
370
370
  )
371
371
  ]
372
372
  }
373
- ), ve = ({
373
+ ), Ne = ({
374
374
  width: i = 20,
375
375
  height: e = 20,
376
376
  color: t = "#001E52",
@@ -409,7 +409,7 @@ const ge = ({
409
409
  /* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
410
410
  ]
411
411
  }
412
- ), Ne = ({
412
+ ), xe = ({
413
413
  width: i = 16,
414
414
  height: e = 12,
415
415
  color: t = "#001E52",
@@ -458,7 +458,7 @@ const ge = ({
458
458
  )
459
459
  ] })
460
460
  }
461
- ), xe = ({
461
+ ), Re = ({
462
462
  width: i = 16,
463
463
  height: e = 16,
464
464
  color: t = "#001E52",
@@ -492,7 +492,7 @@ const ge = ({
492
492
  )
493
493
  ]
494
494
  }
495
- ), Re = ({
495
+ ), Me = ({
496
496
  width: i = 10,
497
497
  height: e = 10,
498
498
  color: t = "#001E52",
@@ -531,7 +531,7 @@ const ge = ({
531
531
  )
532
532
  ] })
533
533
  }
534
- ), Me = ({
534
+ ), ye = ({
535
535
  width: i = 16,
536
536
  height: e = 16,
537
537
  color: t = "#001E52",
@@ -567,7 +567,7 @@ const ge = ({
567
567
  )
568
568
  ]
569
569
  }
570
- ), ye = ({
570
+ ), be = ({
571
571
  width: i = 11,
572
572
  height: e = 32,
573
573
  color: t = "#001E52",
@@ -605,7 +605,7 @@ const ge = ({
605
605
  /* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
606
606
  ]
607
607
  }
608
- ), be = ({
608
+ ), Ee = ({
609
609
  width: i = 20,
610
610
  height: e = 20,
611
611
  color: t = "#001E52",
@@ -652,7 +652,7 @@ const ge = ({
652
652
  )
653
653
  ]
654
654
  }
655
- ), Ee = ({
655
+ ), He = ({
656
656
  width: i = 20,
657
657
  height: e = 20,
658
658
  color: t = "#001E52",
@@ -685,7 +685,7 @@ const ge = ({
685
685
  )
686
686
  ]
687
687
  }
688
- ), He = ({
688
+ ), _e = ({
689
689
  width: i = 20,
690
690
  height: e = 20,
691
691
  color: t = "#001E52",
@@ -732,7 +732,7 @@ const ge = ({
732
732
  )
733
733
  ]
734
734
  }
735
- ), _e = ({
735
+ ), Ve = ({
736
736
  width: i = 20,
737
737
  height: e = 20,
738
738
  color: t = "#001E52",
@@ -765,7 +765,7 @@ const ge = ({
765
765
  )
766
766
  ]
767
767
  }
768
- ), Ve = ({
768
+ ), Ie = ({
769
769
  width: i = 18,
770
770
  height: e = 16,
771
771
  color: t = "#001E52",
@@ -804,7 +804,7 @@ const ge = ({
804
804
  )
805
805
  ]
806
806
  }
807
- ), Ie = ({
807
+ ), Se = ({
808
808
  width: i = 20,
809
809
  height: e = 20,
810
810
  color: t = "#001E52",
@@ -837,7 +837,7 @@ const ge = ({
837
837
  )
838
838
  ]
839
839
  }
840
- ), Se = ({
840
+ ), Oe = ({
841
841
  width: i = 20,
842
842
  height: e = 20,
843
843
  color: t = "#001E52",
@@ -861,7 +861,7 @@ const ge = ({
861
861
  }
862
862
  )
863
863
  }
864
- ), Oe = ({
864
+ ), Ae = ({
865
865
  width: i = 20,
866
866
  height: e = 20,
867
867
  color: t = "#001E52",
@@ -908,7 +908,7 @@ const ge = ({
908
908
  )
909
909
  ]
910
910
  }
911
- ), Ae = ({
911
+ ), Be = ({
912
912
  width: i = 20,
913
913
  height: e = 20,
914
914
  color: t = "#001E52",
@@ -941,7 +941,7 @@ const ge = ({
941
941
  )
942
942
  ]
943
943
  }
944
- ), Be = ({
944
+ ), Ze = ({
945
945
  width: i = 20,
946
946
  height: e = 20,
947
947
  color: t = "#001E52",
@@ -974,7 +974,7 @@ const ge = ({
974
974
  )
975
975
  ]
976
976
  }
977
- ), Ze = ({
977
+ ), We = ({
978
978
  width: i = 20,
979
979
  height: e = 23,
980
980
  color: t = "#001E52",
@@ -1035,7 +1035,7 @@ const ge = ({
1035
1035
  )
1036
1036
  ]
1037
1037
  }
1038
- ), We = ({
1038
+ ), je = ({
1039
1039
  width: i = 20,
1040
1040
  height: e = 20,
1041
1041
  color: t = "#001E52",
@@ -1075,7 +1075,7 @@ const ge = ({
1075
1075
  )
1076
1076
  ]
1077
1077
  }
1078
- ), je = ({
1078
+ ), De = ({
1079
1079
  width: i = 32,
1080
1080
  height: e = 25,
1081
1081
  color: t = "#001E52",
@@ -1103,7 +1103,7 @@ const ge = ({
1103
1103
  )
1104
1104
  ]
1105
1105
  }
1106
- ), De = ({
1106
+ ), Te = ({
1107
1107
  width: i = 14,
1108
1108
  height: e = 14,
1109
1109
  color: t = "#10B981",
@@ -1132,7 +1132,7 @@ const ge = ({
1132
1132
  )
1133
1133
  ]
1134
1134
  }
1135
- ), Te = ({
1135
+ ), Ge = ({
1136
1136
  width: i = 11,
1137
1137
  height: e = 11,
1138
1138
  color: t = "#FFB020",
@@ -1166,7 +1166,7 @@ const ge = ({
1166
1166
  )
1167
1167
  ]
1168
1168
  }
1169
- ), Ge = ({
1169
+ ), Ke = ({
1170
1170
  width: i = 10,
1171
1171
  height: e = 10,
1172
1172
  color: t = "#88A4FF",
@@ -1214,7 +1214,7 @@ const ge = ({
1214
1214
  )
1215
1215
  ]
1216
1216
  }
1217
- ), Ke = ({
1217
+ ), Pe = ({
1218
1218
  width: i = 14,
1219
1219
  height: e = 14,
1220
1220
  color: t = "#8E8E93",
@@ -1242,7 +1242,7 @@ const ge = ({
1242
1242
  )
1243
1243
  ]
1244
1244
  }
1245
- ), Pe = ({
1245
+ ), $e = ({
1246
1246
  width: i = 14,
1247
1247
  height: e = 14,
1248
1248
  color: t = "#FFB020",
@@ -1324,7 +1324,7 @@ const ge = ({
1324
1324
  )
1325
1325
  ]
1326
1326
  }
1327
- ), $e = ({
1327
+ ), Ye = ({
1328
1328
  width: i = 20,
1329
1329
  height: e = 20,
1330
1330
  color: t = "#070739",
@@ -1354,7 +1354,7 @@ const ge = ({
1354
1354
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1355
1355
  ]
1356
1356
  }
1357
- ), Ye = ({
1357
+ ), Ue = ({
1358
1358
  width: i = 20,
1359
1359
  height: e = 20,
1360
1360
  color: t = "#070739",
@@ -1392,7 +1392,7 @@ const ge = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), Ue = ({
1395
+ ), ze = ({
1396
1396
  width: i = 9,
1397
1397
  height: e = 5,
1398
1398
  color: t = "#001E52",
@@ -1418,7 +1418,7 @@ const ge = ({
1418
1418
  }
1419
1419
  )
1420
1420
  }
1421
- ), ze = ({
1421
+ ), Je = ({
1422
1422
  width: i = 20,
1423
1423
  height: e = 20,
1424
1424
  color: t = "#F2F2F7",
@@ -1447,7 +1447,7 @@ const ge = ({
1447
1447
  )
1448
1448
  ]
1449
1449
  }
1450
- ), Je = ({
1450
+ ), Qe = ({
1451
1451
  width: i = 20,
1452
1452
  height: e = 20,
1453
1453
  color: t = "#004ED7",
@@ -1476,7 +1476,7 @@ const ge = ({
1476
1476
  )
1477
1477
  ]
1478
1478
  }
1479
- ), Qe = ({
1479
+ ), qe = ({
1480
1480
  width: i = 248,
1481
1481
  height: e = 248,
1482
1482
  color: t = "#070739",
@@ -1513,7 +1513,7 @@ const ge = ({
1513
1513
  )
1514
1514
  ]
1515
1515
  }
1516
- ), qe = ({
1516
+ ), Xe = ({
1517
1517
  width: i = 24,
1518
1518
  height: e = 24,
1519
1519
  color: t = "#001E52",
@@ -1552,7 +1552,7 @@ const ge = ({
1552
1552
  )
1553
1553
  ]
1554
1554
  }
1555
- ), Xe = ({
1555
+ ), e2 = ({
1556
1556
  width: i = 10,
1557
1557
  height: e = 10,
1558
1558
  color: t = "#001E52",
@@ -1581,7 +1581,7 @@ const ge = ({
1581
1581
  )
1582
1582
  ]
1583
1583
  }
1584
- ), e2 = ({
1584
+ ), t2 = ({
1585
1585
  width: i = 10,
1586
1586
  height: e = 10,
1587
1587
  color: t = "#001E52",
@@ -1618,7 +1618,7 @@ const ge = ({
1618
1618
  )
1619
1619
  ]
1620
1620
  }
1621
- ), t2 = ({
1621
+ ), i2 = ({
1622
1622
  width: i = 24,
1623
1623
  height: e = 24,
1624
1624
  color: t = k.GREY_DARK_5,
@@ -1657,7 +1657,7 @@ const ge = ({
1657
1657
  )
1658
1658
  ]
1659
1659
  }
1660
- ), i2 = ({
1660
+ ), s2 = ({
1661
1661
  width: i = 20,
1662
1662
  height: e = 20,
1663
1663
  color: t = k.GREY_DARK_1,
@@ -1690,7 +1690,7 @@ const ge = ({
1690
1690
  )
1691
1691
  ]
1692
1692
  }
1693
- ), s2 = ({
1693
+ ), o2 = ({
1694
1694
  width: i = 81,
1695
1695
  height: e = 80,
1696
1696
  color: t = k.GREY_DARK_5,
@@ -1739,7 +1739,7 @@ const ge = ({
1739
1739
  )
1740
1740
  ]
1741
1741
  }
1742
- ), o2 = ({
1742
+ ), n2 = ({
1743
1743
  className: i,
1744
1744
  color: e = k.GREY_DARK_5,
1745
1745
  height: t = 20,
@@ -1766,7 +1766,7 @@ const ge = ({
1766
1766
  }
1767
1767
  )
1768
1768
  }
1769
- ), n2 = ({
1769
+ ), r2 = ({
1770
1770
  className: i,
1771
1771
  color: e = k.GREY_DARK_5,
1772
1772
  height: t = 20,
@@ -1793,7 +1793,7 @@ const ge = ({
1793
1793
  }
1794
1794
  )
1795
1795
  }
1796
- ), r2 = ({
1796
+ ), l2 = ({
1797
1797
  className: i,
1798
1798
  color: e = k.GREY_DARK_5,
1799
1799
  height: t = 5,
@@ -1817,7 +1817,7 @@ const ge = ({
1817
1817
  }
1818
1818
  )
1819
1819
  }
1820
- ), l2 = ({
1820
+ ), a2 = ({
1821
1821
  className: i,
1822
1822
  color: e = k.GREY_DARK_5,
1823
1823
  height: t = 5,
@@ -1842,7 +1842,7 @@ const ge = ({
1842
1842
  }
1843
1843
  )
1844
1844
  }
1845
- ), a2 = ({
1845
+ ), h2 = ({
1846
1846
  className: i,
1847
1847
  color: e = k.GREY_DARK_5,
1848
1848
  height: t = 24,
@@ -1881,7 +1881,7 @@ const ge = ({
1881
1881
  )
1882
1882
  ]
1883
1883
  }
1884
- ), h2 = ({
1884
+ ), c2 = ({
1885
1885
  className: i,
1886
1886
  color: e = k.GREY_DARK_5,
1887
1887
  height: t = 24,
@@ -1920,7 +1920,7 @@ const ge = ({
1920
1920
  )
1921
1921
  ]
1922
1922
  }
1923
- ), c2 = ({
1923
+ ), d2 = ({
1924
1924
  className: i,
1925
1925
  color: e = k.GREY_DARK_5,
1926
1926
  height: t = 24,
@@ -1947,7 +1947,7 @@ const ge = ({
1947
1947
  }
1948
1948
  )
1949
1949
  }
1950
- ), d2 = ({
1950
+ ), g2 = ({
1951
1951
  className: i,
1952
1952
  color: e = k.GREY_DARK_5,
1953
1953
  height: t = 24,
@@ -2006,7 +2006,7 @@ const ge = ({
2006
2006
  )
2007
2007
  ]
2008
2008
  }
2009
- ), g2 = ({
2009
+ ), C2 = ({
2010
2010
  className: i,
2011
2011
  color: e = k.GREY_DARK_5,
2012
2012
  height: t = 24,
@@ -2043,7 +2043,7 @@ const ge = ({
2043
2043
  )
2044
2044
  ]
2045
2045
  }
2046
- ), C2 = ({
2046
+ ), u2 = ({
2047
2047
  className: i,
2048
2048
  color: e = k.GREY_DARK_3,
2049
2049
  height: t = 14,
@@ -2080,7 +2080,7 @@ const ge = ({
2080
2080
  )
2081
2081
  ]
2082
2082
  }
2083
- ), u2 = ({
2083
+ ), p2 = ({
2084
2084
  className: i,
2085
2085
  color: e = k.GREY_DARK_5,
2086
2086
  height: t = 18,
@@ -2107,7 +2107,7 @@ const ge = ({
2107
2107
  }
2108
2108
  )
2109
2109
  }
2110
- ), p2 = ({
2110
+ ), f2 = ({
2111
2111
  className: i,
2112
2112
  color: e = k.GREY_DARK_5,
2113
2113
  height: t = 24,
@@ -2159,7 +2159,7 @@ const ge = ({
2159
2159
  )
2160
2160
  ]
2161
2161
  }
2162
- ), f2 = ({
2162
+ ), w2 = ({
2163
2163
  className: i,
2164
2164
  color: e = k.GREY_DARK_5,
2165
2165
  height: t = 24,
@@ -2196,7 +2196,7 @@ const ge = ({
2196
2196
  )
2197
2197
  ]
2198
2198
  }
2199
- ), w2 = ({
2199
+ ), m2 = ({
2200
2200
  className: i,
2201
2201
  color: e = k.NOTIFICATION_WARNING_DARK,
2202
2202
  height: t = 37,
@@ -2235,7 +2235,7 @@ const ge = ({
2235
2235
  )
2236
2236
  ]
2237
2237
  }
2238
- ), m2 = ({
2238
+ ), k2 = ({
2239
2239
  className: i,
2240
2240
  color: e = k.GREY_DARK_5,
2241
2241
  height: t = 24,
@@ -2261,7 +2261,7 @@ const ge = ({
2261
2261
  }
2262
2262
  )
2263
2263
  }
2264
- ), k2 = ({
2264
+ ), L2 = ({
2265
2265
  className: i,
2266
2266
  color: e = k.GREY_DARK_5,
2267
2267
  height: t = 24,
@@ -2300,7 +2300,7 @@ const ge = ({
2300
2300
  )
2301
2301
  ]
2302
2302
  }
2303
- ), L2 = ({
2303
+ ), v2 = ({
2304
2304
  className: i,
2305
2305
  color: e = k.GREY_DARK_5,
2306
2306
  height: t = 24,
@@ -2339,7 +2339,7 @@ const ge = ({
2339
2339
  )
2340
2340
  ]
2341
2341
  }
2342
- ), v2 = ({
2342
+ ), N2 = ({
2343
2343
  className: i,
2344
2344
  color: e = k.GREY_DARK_5,
2345
2345
  height: t = 24,
@@ -2408,7 +2408,7 @@ const ge = ({
2408
2408
  )
2409
2409
  ]
2410
2410
  }
2411
- ), N2 = ({
2411
+ ), x2 = ({
2412
2412
  className: i,
2413
2413
  color: e = k.GREY_DARK_5,
2414
2414
  height: t = 24,
@@ -2447,7 +2447,7 @@ const ge = ({
2447
2447
  )
2448
2448
  ]
2449
2449
  }
2450
- ), x2 = ({
2450
+ ), R2 = ({
2451
2451
  className: i,
2452
2452
  color: e = k.GREY_DARK_5,
2453
2453
  height: t = 24,
@@ -2504,7 +2504,7 @@ const ge = ({
2504
2504
  )
2505
2505
  ]
2506
2506
  }
2507
- ), R2 = ({
2507
+ ), M2 = ({
2508
2508
  className: i,
2509
2509
  color: e = k.GREY_DARK_5,
2510
2510
  height: t = 24,
@@ -2543,7 +2543,7 @@ const ge = ({
2543
2543
  )
2544
2544
  ]
2545
2545
  }
2546
- ), M2 = ({
2546
+ ), y2 = ({
2547
2547
  className: i,
2548
2548
  color: e = k.GREY_DARK_5,
2549
2549
  height: t = 24,
@@ -2592,7 +2592,7 @@ const ge = ({
2592
2592
  )
2593
2593
  ]
2594
2594
  }
2595
- ), y2 = ({
2595
+ ), b2 = ({
2596
2596
  className: i,
2597
2597
  color: e = k.GREY_DARK_5,
2598
2598
  height: t = 24,
@@ -2631,7 +2631,7 @@ const ge = ({
2631
2631
  )
2632
2632
  ]
2633
2633
  }
2634
- ), b2 = ({
2634
+ ), E2 = ({
2635
2635
  className: i,
2636
2636
  color: e = k.GREY_DARK_5,
2637
2637
  height: t = 24,
@@ -2658,7 +2658,7 @@ const ge = ({
2658
2658
  }
2659
2659
  )
2660
2660
  }
2661
- ), E2 = ({
2661
+ ), H2 = ({
2662
2662
  className: i,
2663
2663
  color: e = k.GREY_DARK_5,
2664
2664
  height: t = 24,
@@ -2696,7 +2696,7 @@ const ge = ({
2696
2696
  )
2697
2697
  ]
2698
2698
  }
2699
- ), H2 = ({
2699
+ ), _2 = ({
2700
2700
  className: i,
2701
2701
  color: e = k.GREY_DARK_5,
2702
2702
  height: t = 24,
@@ -2717,7 +2717,7 @@ const ge = ({
2717
2717
  /* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2718
2718
  ]
2719
2719
  }
2720
- ), _2 = ({
2720
+ ), V2 = ({
2721
2721
  className: i,
2722
2722
  color: e = k.GREY_DARK_5,
2723
2723
  height: t = 24,
@@ -2756,7 +2756,7 @@ const ge = ({
2756
2756
  )
2757
2757
  ]
2758
2758
  }
2759
- ), V2 = ({
2759
+ ), I2 = ({
2760
2760
  className: i,
2761
2761
  color: e = k.GREY_DARK_5,
2762
2762
  height: t = 24,
@@ -2795,7 +2795,7 @@ const ge = ({
2795
2795
  )
2796
2796
  ]
2797
2797
  }
2798
- ), I2 = ({
2798
+ ), S2 = ({
2799
2799
  className: i,
2800
2800
  color: e = k.GREY_DARK_5,
2801
2801
  height: t = 24,
@@ -2834,7 +2834,7 @@ const ge = ({
2834
2834
  )
2835
2835
  ]
2836
2836
  }
2837
- ), S2 = ({
2837
+ ), O2 = ({
2838
2838
  className: i,
2839
2839
  color: e = k.GREY_DARK_2,
2840
2840
  height: t = 16,
@@ -2860,7 +2860,7 @@ const ge = ({
2860
2860
  }
2861
2861
  )
2862
2862
  }
2863
- ), O2 = ({
2863
+ ), A2 = ({
2864
2864
  className: i,
2865
2865
  color: e = k.GREY_DARK_5,
2866
2866
  height: t = 20,
@@ -2889,7 +2889,7 @@ const ge = ({
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
- ), A2 = ({
2892
+ ), B2 = ({
2893
2893
  className: i,
2894
2894
  color: e = k.GREY_DARK_5,
2895
2895
  height: t = 20,
@@ -2918,7 +2918,7 @@ const ge = ({
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
- ), B2 = ({
2921
+ ), Z2 = ({
2922
2922
  className: i,
2923
2923
  color: e = k.GREY_DARK_5,
2924
2924
  height: t = 20,
@@ -2947,7 +2947,7 @@ const ge = ({
2947
2947
  )
2948
2948
  ]
2949
2949
  }
2950
- ), Z2 = ({
2950
+ ), W2 = ({
2951
2951
  className: i,
2952
2952
  color: e = k.GREY_DARK_5,
2953
2953
  height: t = 20,
@@ -2976,7 +2976,7 @@ const ge = ({
2976
2976
  )
2977
2977
  ]
2978
2978
  }
2979
- ), W2 = ({
2979
+ ), j2 = ({
2980
2980
  className: i,
2981
2981
  color: e = "#001E52",
2982
2982
  height: t = 24,
@@ -3002,7 +3002,7 @@ const ge = ({
3002
3002
  }
3003
3003
  )
3004
3004
  }
3005
- ), j2 = ({
3005
+ ), D2 = ({
3006
3006
  className: i,
3007
3007
  color: e = "#131314",
3008
3008
  height: t = 20,
@@ -3030,7 +3030,7 @@ const ge = ({
3030
3030
  }
3031
3031
  )
3032
3032
  }
3033
- ), D2 = ({
3033
+ ), T2 = ({
3034
3034
  className: i,
3035
3035
  color: e = "#001E52",
3036
3036
  height: t = 24,
@@ -3068,7 +3068,7 @@ const ge = ({
3068
3068
  )
3069
3069
  ] }) })
3070
3070
  }
3071
- ), T2 = ({
3071
+ ), G2 = ({
3072
3072
  width: i = 20,
3073
3073
  height: e = 20,
3074
3074
  color: t = "#001E52",
@@ -3130,263 +3130,263 @@ const ge = ({
3130
3130
  height: t,
3131
3131
  color: s,
3132
3132
  className: o,
3133
- disabled: a = !1,
3133
+ disabled: l = !1,
3134
3134
  onClick: c
3135
3135
  }) => {
3136
- const [r, d] = S(o), { theme: g } = t1(G1), l = a ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = a ? void 0 : c;
3137
- return A(() => {
3136
+ const [r, d] = S(o), { theme: g } = s1(K1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3137
+ return B(() => {
3138
3138
  if (o) {
3139
- h && !a && d(`${o} clickable`);
3139
+ h && !l && d(`${o} clickable`);
3140
3140
  return;
3141
3141
  }
3142
- h && !a && d("clickable");
3143
- }, [h, o, a]), /* @__PURE__ */ n(z, { children: (() => {
3142
+ h && !l && d("clickable");
3143
+ }, [h, o, l]), /* @__PURE__ */ n(J, { children: (() => {
3144
3144
  switch (i) {
3145
3145
  case "nextIcon":
3146
- return o2({ width: e, height: t, color: l, className: r, onClick: h });
3146
+ return n2({ width: e, height: t, color: a, className: r, onClick: h });
3147
3147
  case "prevIcon":
3148
- return n2({ width: e, height: t, color: l, className: r, onClick: h });
3148
+ return r2({ width: e, height: t, color: a, className: r, onClick: h });
3149
3149
  case "arrowUp":
3150
- return ge({ width: e, height: t, color: l, className: r, onClick: h });
3150
+ return Ce({ width: e, height: t, color: a, className: r, onClick: h });
3151
3151
  case "arrowDown":
3152
- return Ce({ width: e, height: t, color: l, className: r, onClick: h });
3152
+ return ue({ width: e, height: t, color: a, className: r, onClick: h });
3153
3153
  case "info":
3154
- return ue({ width: e, height: t, color: l, className: r, onClick: h });
3154
+ return pe({ width: e, height: t, color: a, className: r, onClick: h });
3155
3155
  case "arrowRight":
3156
- return pe({ width: e, height: t, color: l, className: r, onClick: h });
3156
+ return fe({ width: e, height: t, color: a, className: r, onClick: h });
3157
3157
  case "calendar":
3158
- return fe({ width: e, height: t, color: l, className: r, onClick: h });
3158
+ return we({ width: e, height: t, color: a, className: r, onClick: h });
3159
3159
  case "ok":
3160
- return we({ width: e, height: t, color: l, className: r, onClick: h });
3160
+ return me({ width: e, height: t, color: a, className: r, onClick: h });
3161
3161
  case "cancel":
3162
- return me({ width: e, height: t, color: l, className: r, onClick: h });
3162
+ return ke({ width: e, height: t, color: a, className: r, onClick: h });
3163
3163
  case "add":
3164
- return ke({ width: e, height: t, color: l, className: r, onClick: h });
3164
+ return Le({ width: e, height: t, color: a, className: r, onClick: h });
3165
3165
  case "list":
3166
- return Le({ width: e, height: t, color: l, className: r, onClick: h });
3166
+ return ve({ width: e, height: t, color: a, className: r, onClick: h });
3167
3167
  case "dragAndDrop":
3168
- return ve({ width: e, height: t, color: l, className: r, onClick: h });
3168
+ return Ne({ width: e, height: t, color: a, className: r, onClick: h });
3169
3169
  case "filter":
3170
- return Ne({ width: e, height: t, color: l, className: r, onClick: h });
3170
+ return xe({ width: e, height: t, color: a, className: r, onClick: h });
3171
3171
  case "attention":
3172
- return xe({ width: e, height: t, color: l, className: r, onClick: h });
3172
+ return Re({ width: e, height: t, color: a, className: r, onClick: h });
3173
3173
  case "plus":
3174
- return Re({ width: e, height: t, color: l, className: r, onClick: h });
3174
+ return Me({ width: e, height: t, color: a, className: r, onClick: h });
3175
3175
  case "time":
3176
- return Me({ width: e, height: t, color: l, className: r, onClick: h });
3176
+ return ye({ width: e, height: t, color: a, className: r, onClick: h });
3177
3177
  case "arrowDownLong":
3178
- return ye({
3178
+ return be({
3179
3179
  width: e,
3180
3180
  height: t,
3181
- color: l,
3181
+ color: a,
3182
3182
  className: r,
3183
3183
  onClick: h
3184
3184
  });
3185
3185
  case "users":
3186
- return be({ width: e, height: t, color: l, className: r, onClick: h });
3186
+ return Ee({ width: e, height: t, color: a, className: r, onClick: h });
3187
3187
  case "mySkillsMatrix":
3188
- return Ee({
3188
+ return He({
3189
3189
  width: e,
3190
3190
  height: t,
3191
- color: l,
3191
+ color: a,
3192
3192
  className: r,
3193
3193
  onClick: h
3194
3194
  });
3195
3195
  case "skills":
3196
- return He({ width: e, height: t, color: l, className: r, onClick: h });
3196
+ return _e({ width: e, height: t, color: a, className: r, onClick: h });
3197
3197
  case "skillsMatrices":
3198
- return _e({
3198
+ return Ve({
3199
3199
  width: e,
3200
3200
  height: t,
3201
- color: l,
3201
+ color: a,
3202
3202
  className: r,
3203
3203
  onClick: h
3204
3204
  });
3205
3205
  case "history":
3206
- return Ve({ width: e, height: t, color: l, className: r, onClick: h });
3206
+ return Ie({ width: e, height: t, color: a, className: r, onClick: h });
3207
3207
  case "logOut":
3208
- return Ie({ width: e, height: t, color: l, className: r, onClick: h });
3208
+ return Se({ width: e, height: t, color: a, className: r, onClick: h });
3209
3209
  case "settings":
3210
- return Se({ width: e, height: t, color: l, className: r, onClick: h });
3210
+ return Oe({ width: e, height: t, color: a, className: r, onClick: h });
3211
3211
  case "addSkill":
3212
- return Oe({ width: e, height: t, color: l, className: r, onClick: h });
3212
+ return Ae({ width: e, height: t, color: a, className: r, onClick: h });
3213
3213
  case "conversation":
3214
- return Ae({ width: e, height: t, color: l, className: r, onClick: h });
3214
+ return Be({ width: e, height: t, color: a, className: r, onClick: h });
3215
3215
  case "trash":
3216
- return Be({ width: e, height: t, color: l, className: r, onClick: h });
3216
+ return Ze({ width: e, height: t, color: a, className: r, onClick: h });
3217
3217
  case "settings4":
3218
- return Ze({ width: e, height: t, color: l, className: r, onClick: h });
3218
+ return We({ width: e, height: t, color: a, className: r, onClick: h });
3219
3219
  case "edit2":
3220
- return We({ width: e, height: t, color: l, className: r, onClick: h });
3220
+ return je({ width: e, height: t, color: a, className: r, onClick: h });
3221
3221
  case "notifications":
3222
- return je({
3222
+ return De({
3223
3223
  width: e,
3224
3224
  height: t,
3225
- color: l,
3225
+ color: a,
3226
3226
  className: r,
3227
3227
  onClick: h
3228
3228
  });
3229
3229
  case "success":
3230
- return De({ width: e, height: t, color: l, className: r, onClick: h });
3230
+ return Te({ width: e, height: t, color: a, className: r, onClick: h });
3231
3231
  case "attentionSmall":
3232
- return Te({
3232
+ return Ge({
3233
3233
  width: e,
3234
3234
  height: t,
3235
- color: l,
3235
+ color: a,
3236
3236
  className: r,
3237
3237
  onClick: h
3238
3238
  });
3239
3239
  case "errorSmall":
3240
- return Ge({ width: e, height: t, color: l, className: r, onClick: h });
3240
+ return Ke({ width: e, height: t, color: a, className: r, onClick: h });
3241
3241
  case "infoMedium":
3242
- return Ke({ width: e, height: t, color: l, className: r, onClick: h });
3242
+ return Pe({ width: e, height: t, color: a, className: r, onClick: h });
3243
3243
  case "attentionMedium":
3244
- return Pe({
3244
+ return $e({
3245
3245
  width: e,
3246
3246
  height: t,
3247
- color: l,
3247
+ color: a,
3248
3248
  className: r,
3249
3249
  onClick: h
3250
3250
  });
3251
3251
  case "errorMedium":
3252
- return Fe({ width: e, height: t, color: l, className: r, onClick: h });
3252
+ return Fe({ width: e, height: t, color: a, className: r, onClick: h });
3253
3253
  case "faviconSkills":
3254
- return Qe({
3254
+ return qe({
3255
3255
  width: e,
3256
3256
  height: t,
3257
- color: l,
3257
+ color: a,
3258
3258
  className: r,
3259
3259
  onClick: h
3260
3260
  });
3261
3261
  case "visibilityIcon":
3262
- return $e({
3262
+ return Ye({
3263
3263
  width: e,
3264
3264
  height: t,
3265
- color: l,
3265
+ color: a,
3266
3266
  className: r,
3267
3267
  onClick: h
3268
3268
  });
3269
3269
  case "visibilityOffIcon":
3270
- return Ye({
3270
+ return Ue({
3271
3271
  width: e,
3272
3272
  height: t,
3273
- color: l,
3273
+ color: a,
3274
3274
  className: r,
3275
3275
  onClick: h
3276
3276
  });
3277
3277
  case "selectArrowIcon":
3278
- return Ue({
3278
+ return ze({
3279
3279
  width: e,
3280
3280
  height: t,
3281
- color: l,
3281
+ color: a,
3282
3282
  className: r,
3283
3283
  onClick: h
3284
3284
  });
3285
3285
  case "expandArrowIcon":
3286
- return ze({
3286
+ return Je({
3287
3287
  width: e,
3288
3288
  height: t,
3289
- color: l,
3289
+ color: a,
3290
3290
  className: r,
3291
3291
  onClick: h
3292
3292
  });
3293
3293
  case "expandActiveArrowIcon":
3294
- return Je({
3294
+ return Qe({
3295
3295
  width: e,
3296
3296
  height: t,
3297
- color: l,
3297
+ color: a,
3298
3298
  className: r,
3299
3299
  onClick: h
3300
3300
  });
3301
3301
  case "camera":
3302
- return qe({ width: e, height: t, color: l, className: r, onClick: h });
3302
+ return Xe({ width: e, height: t, color: a, className: r, onClick: h });
3303
3303
  case "sortUp":
3304
- return Xe({ width: e, height: t, color: l, className: r, onClick: h });
3304
+ return e2({ width: e, height: t, color: a, className: r, onClick: h });
3305
3305
  case "sortDown":
3306
- return e2({ width: e, height: t, color: l, className: r, onClick: h });
3306
+ return t2({ width: e, height: t, color: a, className: r, onClick: h });
3307
3307
  case "logOut2":
3308
- return t2({ width: e, height: t, color: l, className: r, onClick: h });
3308
+ return i2({ width: e, height: t, color: a, className: r, onClick: h });
3309
3309
  case "search":
3310
- return i2({ width: e, height: t, color: l, className: r, onClick: h });
3310
+ return s2({ width: e, height: t, color: a, className: r, onClick: h });
3311
3311
  case "handRock":
3312
- return s2({ width: e, height: t, color: l, className: r, onClick: h });
3312
+ return o2({ width: e, height: t, color: a, className: r, onClick: h });
3313
3313
  case "arrowUpFilled":
3314
- return l2({ width: e, height: t, color: l, className: r, onClick: h });
3314
+ return a2({ width: e, height: t, color: a, className: r, onClick: h });
3315
3315
  case "arrowDownFilled":
3316
- return r2({ width: e, height: t, color: l, className: r, onClick: h });
3316
+ return l2({ width: e, height: t, color: a, className: r, onClick: h });
3317
3317
  case "link":
3318
- return a2({ width: e, height: t, color: l, className: r, onClick: h });
3318
+ return h2({ width: e, height: t, color: a, className: r, onClick: h });
3319
3319
  case "telegram":
3320
- return c2({ width: e, height: t, color: l, className: r, onClick: h });
3320
+ return d2({ width: e, height: t, color: a, className: r, onClick: h });
3321
3321
  case "mail":
3322
- return g2({ width: e, height: t, color: l, className: r, onClick: h });
3322
+ return C2({ width: e, height: t, color: a, className: r, onClick: h });
3323
3323
  case "github":
3324
- return h2({ width: e, height: t, color: l, className: r, onClick: h });
3324
+ return c2({ width: e, height: t, color: a, className: r, onClick: h });
3325
3325
  case "linkedIn":
3326
- return d2({ width: e, height: t, color: l, className: r, onClick: h });
3326
+ return g2({ width: e, height: t, color: a, className: r, onClick: h });
3327
3327
  case "emptyStateIcon":
3328
- return C2({ width: e, height: t, color: l, className: r, onClick: h });
3328
+ return u2({ width: e, height: t, color: a, className: r, onClick: h });
3329
3329
  case "filtersIcon":
3330
- return u2({ width: e, height: t, color: l, className: r, onClick: h });
3330
+ return p2({ width: e, height: t, color: a, className: r, onClick: h });
3331
3331
  case "dotMenuIcon":
3332
- return p2({ width: e, height: t, color: l, className: r, onClick: h });
3332
+ return f2({ width: e, height: t, color: a, className: r, onClick: h });
3333
3333
  case "plusCircle":
3334
- return f2({ width: e, height: t, color: l, className: r, onClick: h });
3334
+ return w2({ width: e, height: t, color: a, className: r, onClick: h });
3335
3335
  case "warning":
3336
- return w2({ width: e, height: t, color: l, className: r, onClick: h });
3336
+ return m2({ width: e, height: t, color: a, className: r, onClick: h });
3337
3337
  case "back":
3338
- return m2({ width: e, height: t, color: l, className: r, onClick: h });
3338
+ return k2({ width: e, height: t, color: a, className: r, onClick: h });
3339
3339
  case "bell":
3340
- return k2({ width: e, height: t, color: l, className: r, onClick: h });
3340
+ return L2({ width: e, height: t, color: a, className: r, onClick: h });
3341
3341
  case "contract":
3342
- return v2({ width: e, height: t, color: l, className: r, onClick: h });
3342
+ return N2({ width: e, height: t, color: a, className: r, onClick: h });
3343
3343
  case "trash2":
3344
- return L2({ width: e, height: t, color: l, className: r, onClick: h });
3344
+ return v2({ width: e, height: t, color: a, className: r, onClick: h });
3345
3345
  case "manager":
3346
- return N2({ width: e, height: t, color: l, className: r, onClick: h });
3346
+ return x2({ width: e, height: t, color: a, className: r, onClick: h });
3347
3347
  case "resourceManager":
3348
- return x2({ width: e, height: t, color: l, className: r, onClick: h });
3348
+ return R2({ width: e, height: t, color: a, className: r, onClick: h });
3349
3349
  case "settings2":
3350
- return R2({ width: e, height: t, color: l, className: r, onClick: h });
3350
+ return M2({ width: e, height: t, color: a, className: r, onClick: h });
3351
3351
  case "image":
3352
- return M2({ width: e, height: t, color: l, className: r, onClick: h });
3352
+ return y2({ width: e, height: t, color: a, className: r, onClick: h });
3353
3353
  case "upload":
3354
- return y2({ width: e, height: t, color: l, className: r, onClick: h });
3354
+ return b2({ width: e, height: t, color: a, className: r, onClick: h });
3355
3355
  case "edit":
3356
- return b2({ width: e, height: t, color: l, className: r, onClick: h });
3356
+ return E2({ width: e, height: t, color: a, className: r, onClick: h });
3357
3357
  case "location":
3358
- return E2({ width: e, height: t, color: l, className: r, onClick: h });
3358
+ return H2({ width: e, height: t, color: a, className: r, onClick: h });
3359
3359
  case "plus2":
3360
- return H2({ width: e, height: t, color: l, className: r, onClick: h });
3360
+ return _2({ width: e, height: t, color: a, className: r, onClick: h });
3361
3361
  case "search2":
3362
- return _2({ width: e, height: t, color: l, className: r, onClick: h });
3362
+ return V2({ width: e, height: t, color: a, className: r, onClick: h });
3363
3363
  case "fastArrowLeft":
3364
- return V2({ width: e, height: t, color: l, className: r, onClick: h });
3364
+ return I2({ width: e, height: t, color: a, className: r, onClick: h });
3365
3365
  case "fastArrowRight":
3366
- return I2({ width: e, height: t, color: l, className: r, onClick: h });
3366
+ return S2({ width: e, height: t, color: a, className: r, onClick: h });
3367
3367
  case "crossInCircle":
3368
- return S2({ width: e, height: t, color: l, className: r, onClick: h });
3368
+ return O2({ width: e, height: t, color: a, className: r, onClick: h });
3369
3369
  case "arrowUp2":
3370
- return A2({ width: e, height: t, color: l, className: r, onClick: h });
3370
+ return B2({ width: e, height: t, color: a, className: r, onClick: h });
3371
3371
  case "arrowDown2":
3372
- return O2({ width: e, height: t, color: l, className: r, onClick: h });
3372
+ return A2({ width: e, height: t, color: a, className: r, onClick: h });
3373
3373
  case "filledArrowLeft":
3374
- return B2({ width: e, height: t, color: l, className: r, onClick: h });
3374
+ return Z2({ width: e, height: t, color: a, className: r, onClick: h });
3375
3375
  case "filledArrowRight":
3376
- return Z2({ width: e, height: t, color: l, className: r, onClick: h });
3376
+ return W2({ width: e, height: t, color: a, className: r, onClick: h });
3377
3377
  case "burgerMenu":
3378
- return W2({ width: e, height: t, color: l, className: r, onClick: h });
3378
+ return j2({ width: e, height: t, color: a, className: r, onClick: h });
3379
3379
  case "signOut":
3380
- return j2({ width: e, height: t, color: l, className: r, onClick: h });
3380
+ return D2({ width: e, height: t, color: a, className: r, onClick: h });
3381
3381
  case "refresh":
3382
- return D2({ width: e, height: t, color: l, className: r, onClick: h });
3382
+ return T2({ width: e, height: t, color: a, className: r, onClick: h });
3383
3383
  case "projects":
3384
- return T2({ width: e, height: t, color: l, className: r, onClick: h });
3384
+ return G2({ width: e, height: t, color: a, className: r, onClick: h });
3385
3385
  default:
3386
- return /* @__PURE__ */ n(z, { children: "No Icon provided" });
3386
+ return /* @__PURE__ */ n(J, { children: "No Icon provided" });
3387
3387
  }
3388
3388
  })() });
3389
- }, { Title: G2, Text: K2 } = j1, P2 = {
3389
+ }, { Title: K2, Text: P2 } = D1, $2 = {
3390
3390
  h1: 1,
3391
3391
  h2: 2,
3392
3392
  h3: 3,
@@ -3398,23 +3398,23 @@ const ge = ({
3398
3398
  color: t,
3399
3399
  children: s,
3400
3400
  onClick: o,
3401
- collapsed: a,
3401
+ collapsed: l,
3402
3402
  whiteSpace: c = "normal"
3403
3403
  }, r) => {
3404
3404
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3405
3405
  let g = `snmt-typography snmt-typography-${e}`;
3406
- return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), a && (g += " collapsed"), d ? /* @__PURE__ */ n(
3407
- G2,
3406
+ return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
3407
+ K2,
3408
3408
  {
3409
3409
  className: g,
3410
3410
  style: { color: t, whiteSpace: c },
3411
3411
  onClick: o,
3412
- level: P2[e],
3412
+ level: $2[e],
3413
3413
  ref: r,
3414
3414
  children: s
3415
3415
  }
3416
3416
  ) : /* @__PURE__ */ n(
3417
- K2,
3417
+ P2,
3418
3418
  {
3419
3419
  className: g,
3420
3420
  style: { color: t, whiteSpace: c },
@@ -3426,12 +3426,12 @@ const ge = ({
3426
3426
  }
3427
3427
  );
3428
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 K1 = e1({
3429
+ const P1 = i1({
3430
3430
  locale: "en",
3431
3431
  theme: "light"
3432
3432
  });
3433
- K1.Provider;
3434
- const $2 = ({
3433
+ P1.Provider;
3434
+ const Y2 = ({
3435
3435
  width: i = 20,
3436
3436
  height: e = 20,
3437
3437
  color: t = "#001E52",
@@ -3458,7 +3458,7 @@ const $2 = ({
3458
3458
  }
3459
3459
  )
3460
3460
  }
3461
- ), Y2 = ({
3461
+ ), U2 = ({
3462
3462
  width: i = 20,
3463
3463
  height: e = 20,
3464
3464
  color: t = "#001E52",
@@ -3485,7 +3485,7 @@ const $2 = ({
3485
3485
  }
3486
3486
  )
3487
3487
  }
3488
- ), U2 = ({
3488
+ ), z2 = ({
3489
3489
  width: i = 16,
3490
3490
  height: e = 16,
3491
3491
  color: t = "#001E52",
@@ -3513,7 +3513,7 @@ const $2 = ({
3513
3513
  )
3514
3514
  ]
3515
3515
  }
3516
- ), z2 = ({
3516
+ ), J2 = ({
3517
3517
  width: i = 20,
3518
3518
  height: e = 20,
3519
3519
  color: t = "#001E52",
@@ -3548,7 +3548,7 @@ const $2 = ({
3548
3548
  )
3549
3549
  ]
3550
3550
  }
3551
- ), J2 = ({
3551
+ ), Q2 = ({
3552
3552
  width: i = 18,
3553
3553
  height: e = 18,
3554
3554
  color: t = "#001E52",
@@ -3587,7 +3587,7 @@ const $2 = ({
3587
3587
  )
3588
3588
  ]
3589
3589
  }
3590
- ), Q2 = ({
3590
+ ), q2 = ({
3591
3591
  width: i = 20,
3592
3592
  height: e = 20,
3593
3593
  color: t = "#001E52",
@@ -3613,7 +3613,7 @@ const $2 = ({
3613
3613
  }
3614
3614
  )
3615
3615
  }
3616
- ), q2 = ({
3616
+ ), X2 = ({
3617
3617
  width: i = 20,
3618
3618
  height: e = 20,
3619
3619
  color: t = "#001E52",
@@ -3634,7 +3634,7 @@ const $2 = ({
3634
3634
  /* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3635
3635
  ]
3636
3636
  }
3637
- ), X2 = ({
3637
+ ), et = ({
3638
3638
  width: i = 20,
3639
3639
  height: e = 20,
3640
3640
  color: t = "#001E52",
@@ -3666,7 +3666,7 @@ const $2 = ({
3666
3666
  )
3667
3667
  ]
3668
3668
  }
3669
- ), et = ({
3669
+ ), tt = ({
3670
3670
  width: i = 20,
3671
3671
  height: e = 20,
3672
3672
  color: t = "#001E52",
@@ -3720,7 +3720,7 @@ const $2 = ({
3720
3720
  )
3721
3721
  ]
3722
3722
  }
3723
- ), tt = ({
3723
+ ), it = ({
3724
3724
  width: i = 20,
3725
3725
  height: e = 20,
3726
3726
  color: t = "#001E52",
@@ -3759,7 +3759,7 @@ const $2 = ({
3759
3759
  /* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3760
3760
  ]
3761
3761
  }
3762
- ), it = ({
3762
+ ), st = ({
3763
3763
  width: i = 16,
3764
3764
  height: e = 12,
3765
3765
  color: t = "#001E52",
@@ -3808,7 +3808,7 @@ const $2 = ({
3808
3808
  )
3809
3809
  ] })
3810
3810
  }
3811
- ), st = ({
3811
+ ), ot = ({
3812
3812
  width: i = 16,
3813
3813
  height: e = 16,
3814
3814
  color: t = "#001E52",
@@ -3842,7 +3842,7 @@ const $2 = ({
3842
3842
  )
3843
3843
  ]
3844
3844
  }
3845
- ), ot = ({
3845
+ ), nt = ({
3846
3846
  width: i = 10,
3847
3847
  height: e = 10,
3848
3848
  color: t = "#001E52",
@@ -3881,7 +3881,7 @@ const $2 = ({
3881
3881
  )
3882
3882
  ] })
3883
3883
  }
3884
- ), nt = ({
3884
+ ), rt = ({
3885
3885
  width: i = 16,
3886
3886
  height: e = 16,
3887
3887
  color: t = "#001E52",
@@ -3917,7 +3917,7 @@ const $2 = ({
3917
3917
  )
3918
3918
  ]
3919
3919
  }
3920
- ), rt = ({
3920
+ ), lt = ({
3921
3921
  width: i = 11,
3922
3922
  height: e = 32,
3923
3923
  color: t = "#001E52",
@@ -3955,7 +3955,7 @@ const $2 = ({
3955
3955
  /* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
3956
3956
  ]
3957
3957
  }
3958
- ), lt = ({
3958
+ ), at = ({
3959
3959
  width: i = 20,
3960
3960
  height: e = 20,
3961
3961
  color: t = "#001E52",
@@ -4002,7 +4002,7 @@ const $2 = ({
4002
4002
  )
4003
4003
  ]
4004
4004
  }
4005
- ), at = ({
4005
+ ), ht = ({
4006
4006
  width: i = 20,
4007
4007
  height: e = 20,
4008
4008
  color: t = "#001E52",
@@ -4035,7 +4035,7 @@ const $2 = ({
4035
4035
  )
4036
4036
  ]
4037
4037
  }
4038
- ), ht = ({
4038
+ ), ct = ({
4039
4039
  width: i = 20,
4040
4040
  height: e = 20,
4041
4041
  color: t = "#001E52",
@@ -4082,7 +4082,7 @@ const $2 = ({
4082
4082
  )
4083
4083
  ]
4084
4084
  }
4085
- ), ct = ({
4085
+ ), dt = ({
4086
4086
  width: i = 20,
4087
4087
  height: e = 20,
4088
4088
  color: t = "#001E52",
@@ -4115,7 +4115,7 @@ const $2 = ({
4115
4115
  )
4116
4116
  ]
4117
4117
  }
4118
- ), dt = ({
4118
+ ), gt = ({
4119
4119
  width: i = 18,
4120
4120
  height: e = 16,
4121
4121
  color: t = "#001E52",
@@ -4154,7 +4154,7 @@ const $2 = ({
4154
4154
  )
4155
4155
  ]
4156
4156
  }
4157
- ), gt = ({
4157
+ ), Ct = ({
4158
4158
  width: i = 20,
4159
4159
  height: e = 20,
4160
4160
  color: t = "#001E52",
@@ -4187,7 +4187,7 @@ const $2 = ({
4187
4187
  )
4188
4188
  ]
4189
4189
  }
4190
- ), Ct = ({
4190
+ ), ut = ({
4191
4191
  width: i = 20,
4192
4192
  height: e = 20,
4193
4193
  color: t = "#001E52",
@@ -4211,7 +4211,7 @@ const $2 = ({
4211
4211
  }
4212
4212
  )
4213
4213
  }
4214
- ), ut = ({
4214
+ ), pt = ({
4215
4215
  width: i = 20,
4216
4216
  height: e = 20,
4217
4217
  color: t = "#001E52",
@@ -4258,7 +4258,7 @@ const $2 = ({
4258
4258
  )
4259
4259
  ]
4260
4260
  }
4261
- ), pt = ({
4261
+ ), ft = ({
4262
4262
  width: i = 20,
4263
4263
  height: e = 20,
4264
4264
  color: t = "#001E52",
@@ -4291,7 +4291,7 @@ const $2 = ({
4291
4291
  )
4292
4292
  ]
4293
4293
  }
4294
- ), ft = ({
4294
+ ), wt = ({
4295
4295
  width: i = 20,
4296
4296
  height: e = 20,
4297
4297
  color: t = "#001E52",
@@ -4324,7 +4324,7 @@ const $2 = ({
4324
4324
  )
4325
4325
  ]
4326
4326
  }
4327
- ), wt = ({
4327
+ ), mt = ({
4328
4328
  width: i = 20,
4329
4329
  height: e = 23,
4330
4330
  color: t = "#001E52",
@@ -4385,7 +4385,7 @@ const $2 = ({
4385
4385
  )
4386
4386
  ]
4387
4387
  }
4388
- ), mt = ({
4388
+ ), kt = ({
4389
4389
  width: i = 20,
4390
4390
  height: e = 20,
4391
4391
  color: t = "#001E52",
@@ -4425,7 +4425,7 @@ const $2 = ({
4425
4425
  )
4426
4426
  ]
4427
4427
  }
4428
- ), kt = ({
4428
+ ), Lt = ({
4429
4429
  width: i = 32,
4430
4430
  height: e = 25,
4431
4431
  color: t = "#001E52",
@@ -4453,7 +4453,7 @@ const $2 = ({
4453
4453
  )
4454
4454
  ]
4455
4455
  }
4456
- ), Lt = ({
4456
+ ), vt = ({
4457
4457
  width: i = 14,
4458
4458
  height: e = 14,
4459
4459
  color: t = "#10B981",
@@ -4482,7 +4482,7 @@ const $2 = ({
4482
4482
  )
4483
4483
  ]
4484
4484
  }
4485
- ), vt = ({
4485
+ ), Nt = ({
4486
4486
  width: i = 11,
4487
4487
  height: e = 11,
4488
4488
  color: t = "#FFB020",
@@ -4516,7 +4516,7 @@ const $2 = ({
4516
4516
  )
4517
4517
  ]
4518
4518
  }
4519
- ), Nt = ({
4519
+ ), xt = ({
4520
4520
  width: i = 10,
4521
4521
  height: e = 10,
4522
4522
  color: t = "#88A4FF",
@@ -4564,7 +4564,7 @@ const $2 = ({
4564
4564
  )
4565
4565
  ]
4566
4566
  }
4567
- ), xt = ({
4567
+ ), Rt = ({
4568
4568
  width: i = 14,
4569
4569
  height: e = 14,
4570
4570
  color: t = "#8E8E93",
@@ -4592,7 +4592,7 @@ const $2 = ({
4592
4592
  )
4593
4593
  ]
4594
4594
  }
4595
- ), Rt = ({
4595
+ ), Mt = ({
4596
4596
  width: i = 14,
4597
4597
  height: e = 14,
4598
4598
  color: t = "#FFB020",
@@ -4626,7 +4626,7 @@ const $2 = ({
4626
4626
  )
4627
4627
  ]
4628
4628
  }
4629
- ), Mt = ({
4629
+ ), yt = ({
4630
4630
  width: i = 14,
4631
4631
  height: e = 14,
4632
4632
  color: t = "#D0421B",
@@ -4674,7 +4674,7 @@ const $2 = ({
4674
4674
  )
4675
4675
  ]
4676
4676
  }
4677
- ), yt = ({
4677
+ ), bt = ({
4678
4678
  width: i = 20,
4679
4679
  height: e = 20,
4680
4680
  color: t = "#070739",
@@ -4704,7 +4704,7 @@ const $2 = ({
4704
4704
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4705
4705
  ]
4706
4706
  }
4707
- ), bt = ({
4707
+ ), Et = ({
4708
4708
  width: i = 20,
4709
4709
  height: e = 20,
4710
4710
  color: t = "#070739",
@@ -4742,7 +4742,7 @@ const $2 = ({
4742
4742
  )
4743
4743
  ]
4744
4744
  }
4745
- ), Et = ({
4745
+ ), Ht = ({
4746
4746
  width: i = 9,
4747
4747
  height: e = 5,
4748
4748
  color: t = "#001E52",
@@ -4768,7 +4768,7 @@ const $2 = ({
4768
4768
  }
4769
4769
  )
4770
4770
  }
4771
- ), Ht = ({
4771
+ ), _t = ({
4772
4772
  width: i = 20,
4773
4773
  height: e = 20,
4774
4774
  color: t = "#F2F2F7",
@@ -4797,7 +4797,7 @@ const $2 = ({
4797
4797
  )
4798
4798
  ]
4799
4799
  }
4800
- ), _t = ({
4800
+ ), Vt = ({
4801
4801
  width: i = 20,
4802
4802
  height: e = 20,
4803
4803
  color: t = "#004ED7",
@@ -4826,7 +4826,7 @@ const $2 = ({
4826
4826
  )
4827
4827
  ]
4828
4828
  }
4829
- ), Vt = ({
4829
+ ), It = ({
4830
4830
  width: i = 248,
4831
4831
  height: e = 248,
4832
4832
  color: t = "#070739",
@@ -4863,7 +4863,7 @@ const $2 = ({
4863
4863
  )
4864
4864
  ]
4865
4865
  }
4866
- ), It = ({
4866
+ ), St = ({
4867
4867
  width: i = 24,
4868
4868
  height: e = 24,
4869
4869
  color: t = "#001E52",
@@ -4902,7 +4902,7 @@ const $2 = ({
4902
4902
  )
4903
4903
  ]
4904
4904
  }
4905
- ), St = ({
4905
+ ), Ot = ({
4906
4906
  width: i = 10,
4907
4907
  height: e = 10,
4908
4908
  color: t = "#001E52",
@@ -4931,7 +4931,7 @@ const $2 = ({
4931
4931
  )
4932
4932
  ]
4933
4933
  }
4934
- ), Ot = ({
4934
+ ), At = ({
4935
4935
  width: i = 10,
4936
4936
  height: e = 10,
4937
4937
  color: t = "#001E52",
@@ -4968,7 +4968,7 @@ const $2 = ({
4968
4968
  )
4969
4969
  ]
4970
4970
  }
4971
- ), At = ({
4971
+ ), Bt = ({
4972
4972
  width: i = 24,
4973
4973
  height: e = 24,
4974
4974
  color: t = L.GREY_DARK_5,
@@ -5007,7 +5007,7 @@ const $2 = ({
5007
5007
  )
5008
5008
  ]
5009
5009
  }
5010
- ), Bt = ({
5010
+ ), Zt = ({
5011
5011
  width: i = 20,
5012
5012
  height: e = 20,
5013
5013
  color: t = L.GREY_DARK_1,
@@ -5040,7 +5040,7 @@ const $2 = ({
5040
5040
  )
5041
5041
  ]
5042
5042
  }
5043
- ), Zt = ({
5043
+ ), Wt = ({
5044
5044
  width: i = 81,
5045
5045
  height: e = 80,
5046
5046
  color: t = L.GREY_DARK_5,
@@ -5089,7 +5089,7 @@ const $2 = ({
5089
5089
  )
5090
5090
  ]
5091
5091
  }
5092
- ), Wt = ({
5092
+ ), jt = ({
5093
5093
  className: i,
5094
5094
  color: e = L.GREY_DARK_5,
5095
5095
  height: t = 20,
@@ -5116,7 +5116,7 @@ const $2 = ({
5116
5116
  }
5117
5117
  )
5118
5118
  }
5119
- ), jt = ({
5119
+ ), Dt = ({
5120
5120
  className: i,
5121
5121
  color: e = L.GREY_DARK_5,
5122
5122
  height: t = 20,
@@ -5143,7 +5143,7 @@ const $2 = ({
5143
5143
  }
5144
5144
  )
5145
5145
  }
5146
- ), Dt = ({
5146
+ ), Tt = ({
5147
5147
  className: i,
5148
5148
  color: e = L.GREY_DARK_5,
5149
5149
  height: t = 5,
@@ -5167,7 +5167,7 @@ const $2 = ({
5167
5167
  }
5168
5168
  )
5169
5169
  }
5170
- ), Tt = ({
5170
+ ), Gt = ({
5171
5171
  className: i,
5172
5172
  color: e = L.GREY_DARK_5,
5173
5173
  height: t = 5,
@@ -5192,7 +5192,7 @@ const $2 = ({
5192
5192
  }
5193
5193
  )
5194
5194
  }
5195
- ), Gt = ({
5195
+ ), Kt = ({
5196
5196
  className: i,
5197
5197
  color: e = L.GREY_DARK_5,
5198
5198
  height: t = 24,
@@ -5231,7 +5231,7 @@ const $2 = ({
5231
5231
  )
5232
5232
  ]
5233
5233
  }
5234
- ), Kt = ({
5234
+ ), Pt = ({
5235
5235
  className: i,
5236
5236
  color: e = L.GREY_DARK_5,
5237
5237
  height: t = 24,
@@ -5270,7 +5270,7 @@ const $2 = ({
5270
5270
  )
5271
5271
  ]
5272
5272
  }
5273
- ), Pt = ({
5273
+ ), $t = ({
5274
5274
  className: i,
5275
5275
  color: e = L.GREY_DARK_5,
5276
5276
  height: t = 24,
@@ -5356,7 +5356,7 @@ const $2 = ({
5356
5356
  )
5357
5357
  ]
5358
5358
  }
5359
- ), $t = ({
5359
+ ), Yt = ({
5360
5360
  className: i,
5361
5361
  color: e = L.GREY_DARK_5,
5362
5362
  height: t = 24,
@@ -5393,7 +5393,7 @@ const $2 = ({
5393
5393
  )
5394
5394
  ]
5395
5395
  }
5396
- ), Yt = ({
5396
+ ), Ut = ({
5397
5397
  className: i,
5398
5398
  color: e = L.GREY_DARK_3,
5399
5399
  height: t = 14,
@@ -5430,7 +5430,7 @@ const $2 = ({
5430
5430
  )
5431
5431
  ]
5432
5432
  }
5433
- ), Ut = ({
5433
+ ), zt = ({
5434
5434
  className: i,
5435
5435
  color: e = L.GREY_DARK_5,
5436
5436
  height: t = 18,
@@ -5457,7 +5457,7 @@ const $2 = ({
5457
5457
  }
5458
5458
  )
5459
5459
  }
5460
- ), zt = ({
5460
+ ), Jt = ({
5461
5461
  className: i,
5462
5462
  color: e = L.GREY_DARK_5,
5463
5463
  height: t = 24,
@@ -5509,7 +5509,7 @@ const $2 = ({
5509
5509
  )
5510
5510
  ]
5511
5511
  }
5512
- ), Jt = ({
5512
+ ), Qt = ({
5513
5513
  className: i,
5514
5514
  color: e = L.GREY_DARK_5,
5515
5515
  height: t = 24,
@@ -5546,7 +5546,7 @@ const $2 = ({
5546
5546
  )
5547
5547
  ]
5548
5548
  }
5549
- ), Qt = ({
5549
+ ), qt = ({
5550
5550
  className: i,
5551
5551
  color: e = L.NOTIFICATION_WARNING_DARK,
5552
5552
  height: t = 37,
@@ -5585,7 +5585,7 @@ const $2 = ({
5585
5585
  )
5586
5586
  ]
5587
5587
  }
5588
- ), qt = ({
5588
+ ), Xt = ({
5589
5589
  className: i,
5590
5590
  color: e = L.GREY_DARK_5,
5591
5591
  height: t = 24,
@@ -5611,7 +5611,7 @@ const $2 = ({
5611
5611
  }
5612
5612
  )
5613
5613
  }
5614
- ), Xt = ({
5614
+ ), e5 = ({
5615
5615
  className: i,
5616
5616
  color: e = L.GREY_DARK_5,
5617
5617
  height: t = 24,
@@ -5650,7 +5650,7 @@ const $2 = ({
5650
5650
  )
5651
5651
  ]
5652
5652
  }
5653
- ), e5 = ({
5653
+ ), t5 = ({
5654
5654
  className: i,
5655
5655
  color: e = L.GREY_DARK_5,
5656
5656
  height: t = 24,
@@ -5689,7 +5689,7 @@ const $2 = ({
5689
5689
  )
5690
5690
  ]
5691
5691
  }
5692
- ), t5 = ({
5692
+ ), i5 = ({
5693
5693
  className: i,
5694
5694
  color: e = L.GREY_DARK_5,
5695
5695
  height: t = 24,
@@ -5758,7 +5758,7 @@ const $2 = ({
5758
5758
  )
5759
5759
  ]
5760
5760
  }
5761
- ), i5 = ({
5761
+ ), s5 = ({
5762
5762
  className: i,
5763
5763
  color: e = L.GREY_DARK_5,
5764
5764
  height: t = 24,
@@ -5797,7 +5797,7 @@ const $2 = ({
5797
5797
  )
5798
5798
  ]
5799
5799
  }
5800
- ), s5 = ({
5800
+ ), o5 = ({
5801
5801
  className: i,
5802
5802
  color: e = L.GREY_DARK_5,
5803
5803
  height: t = 24,
@@ -5854,7 +5854,7 @@ const $2 = ({
5854
5854
  )
5855
5855
  ]
5856
5856
  }
5857
- ), o5 = ({
5857
+ ), n5 = ({
5858
5858
  className: i,
5859
5859
  color: e = L.GREY_DARK_5,
5860
5860
  height: t = 24,
@@ -5893,7 +5893,7 @@ const $2 = ({
5893
5893
  )
5894
5894
  ]
5895
5895
  }
5896
- ), n5 = ({
5896
+ ), r5 = ({
5897
5897
  className: i,
5898
5898
  color: e = L.GREY_DARK_5,
5899
5899
  height: t = 24,
@@ -5942,7 +5942,7 @@ const $2 = ({
5942
5942
  )
5943
5943
  ]
5944
5944
  }
5945
- ), r5 = ({
5945
+ ), l5 = ({
5946
5946
  className: i,
5947
5947
  color: e = L.GREY_DARK_5,
5948
5948
  height: t = 24,
@@ -5981,7 +5981,7 @@ const $2 = ({
5981
5981
  )
5982
5982
  ]
5983
5983
  }
5984
- ), l5 = ({
5984
+ ), a5 = ({
5985
5985
  className: i,
5986
5986
  color: e = L.GREY_DARK_5,
5987
5987
  height: t = 24,
@@ -6008,7 +6008,7 @@ const $2 = ({
6008
6008
  }
6009
6009
  )
6010
6010
  }
6011
- ), a5 = ({
6011
+ ), h5 = ({
6012
6012
  className: i,
6013
6013
  color: e = L.GREY_DARK_5,
6014
6014
  height: t = 24,
@@ -6046,7 +6046,7 @@ const $2 = ({
6046
6046
  )
6047
6047
  ]
6048
6048
  }
6049
- ), h5 = ({
6049
+ ), c5 = ({
6050
6050
  className: i,
6051
6051
  color: e = L.GREY_DARK_5,
6052
6052
  height: t = 24,
@@ -6067,7 +6067,7 @@ const $2 = ({
6067
6067
  /* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6068
6068
  ]
6069
6069
  }
6070
- ), c5 = ({
6070
+ ), d5 = ({
6071
6071
  className: i,
6072
6072
  color: e = L.GREY_DARK_5,
6073
6073
  height: t = 24,
@@ -6106,7 +6106,7 @@ const $2 = ({
6106
6106
  )
6107
6107
  ]
6108
6108
  }
6109
- ), d5 = ({
6109
+ ), g5 = ({
6110
6110
  className: i,
6111
6111
  color: e = L.GREY_DARK_5,
6112
6112
  height: t = 24,
@@ -6145,7 +6145,7 @@ const $2 = ({
6145
6145
  )
6146
6146
  ]
6147
6147
  }
6148
- ), g5 = ({
6148
+ ), C5 = ({
6149
6149
  className: i,
6150
6150
  color: e = L.GREY_DARK_5,
6151
6151
  height: t = 24,
@@ -6184,7 +6184,7 @@ const $2 = ({
6184
6184
  )
6185
6185
  ]
6186
6186
  }
6187
- ), C5 = ({
6187
+ ), u5 = ({
6188
6188
  className: i,
6189
6189
  color: e = L.GREY_DARK_2,
6190
6190
  height: t = 16,
@@ -6210,7 +6210,7 @@ const $2 = ({
6210
6210
  }
6211
6211
  )
6212
6212
  }
6213
- ), u5 = ({
6213
+ ), p5 = ({
6214
6214
  className: i,
6215
6215
  color: e = L.GREY_DARK_5,
6216
6216
  height: t = 20,
@@ -6239,7 +6239,7 @@ const $2 = ({
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
- ), p5 = ({
6242
+ ), f5 = ({
6243
6243
  className: i,
6244
6244
  color: e = L.GREY_DARK_5,
6245
6245
  height: t = 20,
@@ -6268,7 +6268,7 @@ const $2 = ({
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
- ), f5 = ({
6271
+ ), w5 = ({
6272
6272
  className: i,
6273
6273
  color: e = L.GREY_DARK_5,
6274
6274
  height: t = 20,
@@ -6297,7 +6297,7 @@ const $2 = ({
6297
6297
  )
6298
6298
  ]
6299
6299
  }
6300
- ), w5 = ({
6300
+ ), m5 = ({
6301
6301
  className: i,
6302
6302
  color: e = L.GREY_DARK_5,
6303
6303
  height: t = 20,
@@ -6326,7 +6326,7 @@ const $2 = ({
6326
6326
  )
6327
6327
  ]
6328
6328
  }
6329
- ), m5 = ({
6329
+ ), k5 = ({
6330
6330
  className: i,
6331
6331
  color: e = "#001E52",
6332
6332
  height: t = 24,
@@ -6352,7 +6352,7 @@ const $2 = ({
6352
6352
  }
6353
6353
  )
6354
6354
  }
6355
- ), k5 = ({
6355
+ ), L5 = ({
6356
6356
  className: i,
6357
6357
  color: e = "#131314",
6358
6358
  height: t = 20,
@@ -6380,7 +6380,7 @@ const $2 = ({
6380
6380
  }
6381
6381
  )
6382
6382
  }
6383
- ), L5 = ({
6383
+ ), v5 = ({
6384
6384
  className: i,
6385
6385
  color: e = "#001E52",
6386
6386
  height: t = 24,
@@ -6418,7 +6418,7 @@ const $2 = ({
6418
6418
  )
6419
6419
  ] }) })
6420
6420
  }
6421
- ), v5 = ({
6421
+ ), N5 = ({
6422
6422
  width: i = 20,
6423
6423
  height: e = 20,
6424
6424
  color: t = "#001E52",
@@ -6474,288 +6474,288 @@ const $2 = ({
6474
6474
  }
6475
6475
  )
6476
6476
  }
6477
- ), N5 = ({
6477
+ ), x5 = ({
6478
6478
  name: i,
6479
6479
  width: e,
6480
6480
  height: t,
6481
6481
  color: s,
6482
6482
  className: o,
6483
- disabled: a = !1,
6483
+ disabled: l = !1,
6484
6484
  onClick: c
6485
6485
  }) => {
6486
- const [r, d] = S(o), { theme: g } = t1(K1), l = a ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = a ? void 0 : c;
6487
- return A(() => {
6486
+ const [r, d] = S(o), { theme: g } = s1(P1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6487
+ return B(() => {
6488
6488
  if (o) {
6489
- h && !a && d(`${o} clickable`);
6489
+ h && !l && d(`${o} clickable`);
6490
6490
  return;
6491
6491
  }
6492
- h && !a && d("clickable");
6493
- }, [h, o, a]), /* @__PURE__ */ n(z, { children: (() => {
6492
+ h && !l && d("clickable");
6493
+ }, [h, o, l]), /* @__PURE__ */ n(J, { children: (() => {
6494
6494
  switch (i) {
6495
6495
  case "nextIcon":
6496
- return Wt({ width: e, height: t, color: l, className: r, onClick: h });
6496
+ return jt({ width: e, height: t, color: a, className: r, onClick: h });
6497
6497
  case "prevIcon":
6498
- return jt({ width: e, height: t, color: l, className: r, onClick: h });
6498
+ return Dt({ width: e, height: t, color: a, className: r, onClick: h });
6499
6499
  case "arrowUp":
6500
- return $2({ width: e, height: t, color: l, className: r, onClick: h });
6500
+ return Y2({ width: e, height: t, color: a, className: r, onClick: h });
6501
6501
  case "arrowDown":
6502
- return Y2({ width: e, height: t, color: l, className: r, onClick: h });
6502
+ return U2({ width: e, height: t, color: a, className: r, onClick: h });
6503
6503
  case "info":
6504
- return U2({ width: e, height: t, color: l, className: r, onClick: h });
6504
+ return z2({ width: e, height: t, color: a, className: r, onClick: h });
6505
6505
  case "arrowRight":
6506
- return z2({ width: e, height: t, color: l, className: r, onClick: h });
6506
+ return J2({ width: e, height: t, color: a, className: r, onClick: h });
6507
6507
  case "calendar":
6508
- return J2({ width: e, height: t, color: l, className: r, onClick: h });
6508
+ return Q2({ width: e, height: t, color: a, className: r, onClick: h });
6509
6509
  case "ok":
6510
- return Q2({ width: e, height: t, color: l, className: r, onClick: h });
6510
+ return q2({ width: e, height: t, color: a, className: r, onClick: h });
6511
6511
  case "cancel":
6512
- return q2({ width: e, height: t, color: l, className: r, onClick: h });
6512
+ return X2({ width: e, height: t, color: a, className: r, onClick: h });
6513
6513
  case "add":
6514
- return X2({ width: e, height: t, color: l, className: r, onClick: h });
6514
+ return et({ width: e, height: t, color: a, className: r, onClick: h });
6515
6515
  case "list":
6516
- return et({ width: e, height: t, color: l, className: r, onClick: h });
6516
+ return tt({ width: e, height: t, color: a, className: r, onClick: h });
6517
6517
  case "dragAndDrop":
6518
- return tt({ width: e, height: t, color: l, className: r, onClick: h });
6518
+ return it({ width: e, height: t, color: a, className: r, onClick: h });
6519
6519
  case "filter":
6520
- return it({ width: e, height: t, color: l, className: r, onClick: h });
6520
+ return st({ width: e, height: t, color: a, className: r, onClick: h });
6521
6521
  case "attention":
6522
- return st({ width: e, height: t, color: l, className: r, onClick: h });
6522
+ return ot({ width: e, height: t, color: a, className: r, onClick: h });
6523
6523
  case "plus":
6524
- return ot({ width: e, height: t, color: l, className: r, onClick: h });
6524
+ return nt({ width: e, height: t, color: a, className: r, onClick: h });
6525
6525
  case "time":
6526
- return nt({ width: e, height: t, color: l, className: r, onClick: h });
6526
+ return rt({ width: e, height: t, color: a, className: r, onClick: h });
6527
6527
  case "arrowDownLong":
6528
- return rt({
6528
+ return lt({
6529
6529
  width: e,
6530
6530
  height: t,
6531
- color: l,
6531
+ color: a,
6532
6532
  className: r,
6533
6533
  onClick: h
6534
6534
  });
6535
6535
  case "users":
6536
- return lt({ width: e, height: t, color: l, className: r, onClick: h });
6536
+ return at({ width: e, height: t, color: a, className: r, onClick: h });
6537
6537
  case "mySkillsMatrix":
6538
- return at({
6538
+ return ht({
6539
6539
  width: e,
6540
6540
  height: t,
6541
- color: l,
6541
+ color: a,
6542
6542
  className: r,
6543
6543
  onClick: h
6544
6544
  });
6545
6545
  case "skills":
6546
- return ht({ width: e, height: t, color: l, className: r, onClick: h });
6546
+ return ct({ width: e, height: t, color: a, className: r, onClick: h });
6547
6547
  case "skillsMatrices":
6548
- return ct({
6548
+ return dt({
6549
6549
  width: e,
6550
6550
  height: t,
6551
- color: l,
6551
+ color: a,
6552
6552
  className: r,
6553
6553
  onClick: h
6554
6554
  });
6555
6555
  case "history":
6556
- return dt({ width: e, height: t, color: l, className: r, onClick: h });
6556
+ return gt({ width: e, height: t, color: a, className: r, onClick: h });
6557
6557
  case "logOut":
6558
- return gt({ width: e, height: t, color: l, className: r, onClick: h });
6558
+ return Ct({ width: e, height: t, color: a, className: r, onClick: h });
6559
6559
  case "settings":
6560
- return Ct({ width: e, height: t, color: l, className: r, onClick: h });
6560
+ return ut({ width: e, height: t, color: a, className: r, onClick: h });
6561
6561
  case "addSkill":
6562
- return ut({ width: e, height: t, color: l, className: r, onClick: h });
6562
+ return pt({ width: e, height: t, color: a, className: r, onClick: h });
6563
6563
  case "conversation":
6564
- return pt({ width: e, height: t, color: l, className: r, onClick: h });
6564
+ return ft({ width: e, height: t, color: a, className: r, onClick: h });
6565
6565
  case "trash":
6566
- return ft({ width: e, height: t, color: l, className: r, onClick: h });
6566
+ return wt({ width: e, height: t, color: a, className: r, onClick: h });
6567
6567
  case "settings4":
6568
- return wt({ width: e, height: t, color: l, className: r, onClick: h });
6568
+ return mt({ width: e, height: t, color: a, className: r, onClick: h });
6569
6569
  case "edit2":
6570
- return mt({ width: e, height: t, color: l, className: r, onClick: h });
6570
+ return kt({ width: e, height: t, color: a, className: r, onClick: h });
6571
6571
  case "notifications":
6572
- return kt({
6572
+ return Lt({
6573
6573
  width: e,
6574
6574
  height: t,
6575
- color: l,
6575
+ color: a,
6576
6576
  className: r,
6577
6577
  onClick: h
6578
6578
  });
6579
6579
  case "success":
6580
- return Lt({ width: e, height: t, color: l, className: r, onClick: h });
6580
+ return vt({ width: e, height: t, color: a, className: r, onClick: h });
6581
6581
  case "attentionSmall":
6582
- return vt({
6582
+ return Nt({
6583
6583
  width: e,
6584
6584
  height: t,
6585
- color: l,
6585
+ color: a,
6586
6586
  className: r,
6587
6587
  onClick: h
6588
6588
  });
6589
6589
  case "errorSmall":
6590
- return Nt({ width: e, height: t, color: l, className: r, onClick: h });
6590
+ return xt({ width: e, height: t, color: a, className: r, onClick: h });
6591
6591
  case "infoMedium":
6592
- return xt({ width: e, height: t, color: l, className: r, onClick: h });
6592
+ return Rt({ width: e, height: t, color: a, className: r, onClick: h });
6593
6593
  case "attentionMedium":
6594
- return Rt({
6594
+ return Mt({
6595
6595
  width: e,
6596
6596
  height: t,
6597
- color: l,
6597
+ color: a,
6598
6598
  className: r,
6599
6599
  onClick: h
6600
6600
  });
6601
6601
  case "errorMedium":
6602
- return Mt({ width: e, height: t, color: l, className: r, onClick: h });
6602
+ return yt({ width: e, height: t, color: a, className: r, onClick: h });
6603
6603
  case "faviconSkills":
6604
- return Vt({
6604
+ return It({
6605
6605
  width: e,
6606
6606
  height: t,
6607
- color: l,
6607
+ color: a,
6608
6608
  className: r,
6609
6609
  onClick: h
6610
6610
  });
6611
6611
  case "visibilityIcon":
6612
- return yt({
6612
+ return bt({
6613
6613
  width: e,
6614
6614
  height: t,
6615
- color: l,
6615
+ color: a,
6616
6616
  className: r,
6617
6617
  onClick: h
6618
6618
  });
6619
6619
  case "visibilityOffIcon":
6620
- return bt({
6620
+ return Et({
6621
6621
  width: e,
6622
6622
  height: t,
6623
- color: l,
6623
+ color: a,
6624
6624
  className: r,
6625
6625
  onClick: h
6626
6626
  });
6627
6627
  case "selectArrowIcon":
6628
- return Et({
6628
+ return Ht({
6629
6629
  width: e,
6630
6630
  height: t,
6631
- color: l,
6631
+ color: a,
6632
6632
  className: r,
6633
6633
  onClick: h
6634
6634
  });
6635
6635
  case "expandArrowIcon":
6636
- return Ht({
6636
+ return _t({
6637
6637
  width: e,
6638
6638
  height: t,
6639
- color: l,
6639
+ color: a,
6640
6640
  className: r,
6641
6641
  onClick: h
6642
6642
  });
6643
6643
  case "expandActiveArrowIcon":
6644
- return _t({
6644
+ return Vt({
6645
6645
  width: e,
6646
6646
  height: t,
6647
- color: l,
6647
+ color: a,
6648
6648
  className: r,
6649
6649
  onClick: h
6650
6650
  });
6651
6651
  case "camera":
6652
- return It({ width: e, height: t, color: l, className: r, onClick: h });
6652
+ return St({ width: e, height: t, color: a, className: r, onClick: h });
6653
6653
  case "sortUp":
6654
- return St({ width: e, height: t, color: l, className: r, onClick: h });
6654
+ return Ot({ width: e, height: t, color: a, className: r, onClick: h });
6655
6655
  case "sortDown":
6656
- return Ot({ width: e, height: t, color: l, className: r, onClick: h });
6656
+ return At({ width: e, height: t, color: a, className: r, onClick: h });
6657
6657
  case "logOut2":
6658
- return At({ width: e, height: t, color: l, className: r, onClick: h });
6658
+ return Bt({ width: e, height: t, color: a, className: r, onClick: h });
6659
6659
  case "search":
6660
- return Bt({ width: e, height: t, color: l, className: r, onClick: h });
6660
+ return Zt({ width: e, height: t, color: a, className: r, onClick: h });
6661
6661
  case "handRock":
6662
- return Zt({ width: e, height: t, color: l, className: r, onClick: h });
6662
+ return Wt({ width: e, height: t, color: a, className: r, onClick: h });
6663
6663
  case "arrowUpFilled":
6664
- return Tt({ width: e, height: t, color: l, className: r, onClick: h });
6664
+ return Gt({ width: e, height: t, color: a, className: r, onClick: h });
6665
6665
  case "arrowDownFilled":
6666
- return Dt({ width: e, height: t, color: l, className: r, onClick: h });
6666
+ return Tt({ width: e, height: t, color: a, className: r, onClick: h });
6667
6667
  case "link":
6668
- return Gt({ width: e, height: t, color: l, className: r, onClick: h });
6668
+ return Kt({ width: e, height: t, color: a, className: r, onClick: h });
6669
6669
  case "telegram":
6670
- return Pt({ width: e, height: t, color: l, className: r, onClick: h });
6670
+ return $t({ width: e, height: t, color: a, className: r, onClick: h });
6671
6671
  case "mail":
6672
- return $t({ width: e, height: t, color: l, className: r, onClick: h });
6672
+ return Yt({ width: e, height: t, color: a, className: r, onClick: h });
6673
6673
  case "github":
6674
- return Kt({ width: e, height: t, color: l, className: r, onClick: h });
6674
+ return Pt({ width: e, height: t, color: a, className: r, onClick: h });
6675
6675
  case "linkedIn":
6676
- return Ft({ width: e, height: t, color: l, className: r, onClick: h });
6676
+ return Ft({ width: e, height: t, color: a, className: r, onClick: h });
6677
6677
  case "emptyStateIcon":
6678
- return Yt({ width: e, height: t, color: l, className: r, onClick: h });
6678
+ return Ut({ width: e, height: t, color: a, className: r, onClick: h });
6679
6679
  case "filtersIcon":
6680
- return Ut({ width: e, height: t, color: l, className: r, onClick: h });
6680
+ return zt({ width: e, height: t, color: a, className: r, onClick: h });
6681
6681
  case "dotMenuIcon":
6682
- return zt({ width: e, height: t, color: l, className: r, onClick: h });
6682
+ return Jt({ width: e, height: t, color: a, className: r, onClick: h });
6683
6683
  case "plusCircle":
6684
- return Jt({ width: e, height: t, color: l, className: r, onClick: h });
6684
+ return Qt({ width: e, height: t, color: a, className: r, onClick: h });
6685
6685
  case "warning":
6686
- return Qt({ width: e, height: t, color: l, className: r, onClick: h });
6686
+ return qt({ width: e, height: t, color: a, className: r, onClick: h });
6687
6687
  case "back":
6688
- return qt({ width: e, height: t, color: l, className: r, onClick: h });
6688
+ return Xt({ width: e, height: t, color: a, className: r, onClick: h });
6689
6689
  case "bell":
6690
- return Xt({ width: e, height: t, color: l, className: r, onClick: h });
6690
+ return e5({ width: e, height: t, color: a, className: r, onClick: h });
6691
6691
  case "contract":
6692
- return t5({ width: e, height: t, color: l, className: r, onClick: h });
6692
+ return i5({ width: e, height: t, color: a, className: r, onClick: h });
6693
6693
  case "trash2":
6694
- return e5({ width: e, height: t, color: l, className: r, onClick: h });
6694
+ return t5({ width: e, height: t, color: a, className: r, onClick: h });
6695
6695
  case "manager":
6696
- return i5({ width: e, height: t, color: l, className: r, onClick: h });
6696
+ return s5({ width: e, height: t, color: a, className: r, onClick: h });
6697
6697
  case "resourceManager":
6698
- return s5({ width: e, height: t, color: l, className: r, onClick: h });
6698
+ return o5({ width: e, height: t, color: a, className: r, onClick: h });
6699
6699
  case "settings2":
6700
- return o5({ width: e, height: t, color: l, className: r, onClick: h });
6700
+ return n5({ width: e, height: t, color: a, className: r, onClick: h });
6701
6701
  case "image":
6702
- return n5({ width: e, height: t, color: l, className: r, onClick: h });
6702
+ return r5({ width: e, height: t, color: a, className: r, onClick: h });
6703
6703
  case "upload":
6704
- return r5({ width: e, height: t, color: l, className: r, onClick: h });
6704
+ return l5({ width: e, height: t, color: a, className: r, onClick: h });
6705
6705
  case "edit":
6706
- return l5({ width: e, height: t, color: l, className: r, onClick: h });
6706
+ return a5({ width: e, height: t, color: a, className: r, onClick: h });
6707
6707
  case "location":
6708
- return a5({ width: e, height: t, color: l, className: r, onClick: h });
6708
+ return h5({ width: e, height: t, color: a, className: r, onClick: h });
6709
6709
  case "plus2":
6710
- return h5({ width: e, height: t, color: l, className: r, onClick: h });
6710
+ return c5({ width: e, height: t, color: a, className: r, onClick: h });
6711
6711
  case "search2":
6712
- return c5({ width: e, height: t, color: l, className: r, onClick: h });
6712
+ return d5({ width: e, height: t, color: a, className: r, onClick: h });
6713
6713
  case "fastArrowLeft":
6714
- return d5({ width: e, height: t, color: l, className: r, onClick: h });
6714
+ return g5({ width: e, height: t, color: a, className: r, onClick: h });
6715
6715
  case "fastArrowRight":
6716
- return g5({ width: e, height: t, color: l, className: r, onClick: h });
6716
+ return C5({ width: e, height: t, color: a, className: r, onClick: h });
6717
6717
  case "crossInCircle":
6718
- return C5({ width: e, height: t, color: l, className: r, onClick: h });
6718
+ return u5({ width: e, height: t, color: a, className: r, onClick: h });
6719
6719
  case "arrowUp2":
6720
- return p5({ width: e, height: t, color: l, className: r, onClick: h });
6720
+ return f5({ width: e, height: t, color: a, className: r, onClick: h });
6721
6721
  case "arrowDown2":
6722
- return u5({ width: e, height: t, color: l, className: r, onClick: h });
6722
+ return p5({ width: e, height: t, color: a, className: r, onClick: h });
6723
6723
  case "filledArrowLeft":
6724
- return f5({ width: e, height: t, color: l, className: r, onClick: h });
6724
+ return w5({ width: e, height: t, color: a, className: r, onClick: h });
6725
6725
  case "filledArrowRight":
6726
- return w5({ width: e, height: t, color: l, className: r, onClick: h });
6726
+ return m5({ width: e, height: t, color: a, className: r, onClick: h });
6727
6727
  case "burgerMenu":
6728
- return m5({ width: e, height: t, color: l, className: r, onClick: h });
6728
+ return k5({ width: e, height: t, color: a, className: r, onClick: h });
6729
6729
  case "signOut":
6730
- return k5({ width: e, height: t, color: l, className: r, onClick: h });
6730
+ return L5({ width: e, height: t, color: a, className: r, onClick: h });
6731
6731
  case "refresh":
6732
- return L5({ width: e, height: t, color: l, className: r, onClick: h });
6732
+ return v5({ width: e, height: t, color: a, className: r, onClick: h });
6733
6733
  case "projects":
6734
- return v5({ width: e, height: t, color: l, className: r, onClick: h });
6734
+ return N5({ width: e, height: t, color: a, className: r, onClick: h });
6735
6735
  default:
6736
- return /* @__PURE__ */ n(z, { children: "No Icon provided" });
6736
+ return /* @__PURE__ */ n(J, { children: "No Icon provided" });
6737
6737
  }
6738
6738
  })() });
6739
6739
  };
6740
- var P1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(P1 || {});
6741
- const x5 = e1({
6740
+ var $1 = /* @__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))($1 || {});
6741
+ const R5 = i1({
6742
6742
  locale: "en",
6743
6743
  theme: "light"
6744
6744
  });
6745
- x5.Provider;
6745
+ R5.Provider;
6746
6746
  const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o = !0 }) => {
6747
- const a = t === "small" ? 10 : 12.5;
6747
+ const l = t === "small" ? 10 : 12.5;
6748
6748
  return /* @__PURE__ */ n(
6749
- D1,
6749
+ T1,
6750
6750
  {
6751
6751
  className: `snmt-tag ${t}`,
6752
6752
  closeIcon: /* @__PURE__ */ n(
6753
- N5,
6753
+ x5,
6754
6754
  {
6755
6755
  name: "errorSmall",
6756
- color: P1.GREY_DARK_2,
6757
- width: a,
6758
- height: a,
6756
+ color: $1.GREY_DARK_2,
6757
+ width: l,
6758
+ height: l,
6759
6759
  onClick: s
6760
6760
  }
6761
6761
  ),
@@ -6765,35 +6765,35 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6765
6765
  children: typeof i == "string" ? /* @__PURE__ */ n(F2, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6766
6766
  }
6767
6767
  );
6768
- }, { Title: R5, Text: M5 } = j1, y5 = {
6768
+ }, { Title: M5, Text: y5 } = D1, b5 = {
6769
6769
  h1: 1,
6770
6770
  h2: 2,
6771
6771
  h3: 3,
6772
6772
  h4: 4
6773
- }, $1 = C1(
6773
+ }, Y1 = C1(
6774
6774
  ({
6775
6775
  align: i = "inherit",
6776
6776
  variant: e = "body1",
6777
6777
  color: t,
6778
6778
  children: s,
6779
6779
  onClick: o,
6780
- collapsed: a,
6780
+ collapsed: l,
6781
6781
  whiteSpace: c = "normal"
6782
6782
  }, r) => {
6783
6783
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
6784
6784
  let g = `snmt-typography snmt-typography-${e}`;
6785
- return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), a && (g += " collapsed"), d ? /* @__PURE__ */ n(
6786
- R5,
6785
+ return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
6786
+ M5,
6787
6787
  {
6788
6788
  className: g,
6789
6789
  style: { color: t, whiteSpace: c },
6790
6790
  onClick: o,
6791
- level: y5[e],
6791
+ level: b5[e],
6792
6792
  ref: r,
6793
6793
  children: s
6794
6794
  }
6795
6795
  ) : /* @__PURE__ */ n(
6796
- M5,
6796
+ y5,
6797
6797
  {
6798
6798
  className: g,
6799
6799
  style: { color: t, whiteSpace: c },
@@ -6803,23 +6803,23 @@ const F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6803
6803
  }
6804
6804
  );
6805
6805
  }
6806
- ), b5 = ({
6806
+ ), E5 = ({
6807
6807
  children: i,
6808
6808
  content: e,
6809
6809
  isOpen: t,
6810
6810
  setIsOpen: s,
6811
6811
  placement: o = "topRight",
6812
- noPadding: a = !1
6812
+ noPadding: l = !1
6813
6813
  }) => {
6814
6814
  const [c, r] = S(!1);
6815
6815
  return /* @__PURE__ */ n(
6816
- he,
6816
+ ce,
6817
6817
  {
6818
6818
  content: e,
6819
6819
  arrow: !1,
6820
6820
  placement: o,
6821
6821
  trigger: "click",
6822
- overlayClassName: `snmt-popover ${a ? "" : "padding"}`,
6822
+ overlayClassName: `snmt-popover ${l ? "" : "padding"}`,
6823
6823
  open: t ?? c,
6824
6824
  onOpenChange: (d) => {
6825
6825
  r(d), s == null || s(d);
@@ -6827,52 +6827,52 @@ const F1 = ({ 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
- }, E5 = ({
6830
+ }, H5 = ({
6831
6831
  values: i,
6832
6832
  onTagClose: e,
6833
6833
  maxWidth: t,
6834
6834
  disabled: s,
6835
6835
  options: o,
6836
- extraOptions: a
6836
+ extraOptions: l
6837
6837
  }) => {
6838
6838
  const [c, r] = S(!1);
6839
- A(() => {
6839
+ B(() => {
6840
6840
  i.length || r(!1);
6841
6841
  }, [i]);
6842
- const d = (l) => {
6843
- l.preventDefault(), l.stopPropagation();
6842
+ const d = (a) => {
6843
+ a.preventDefault(), a.stopPropagation();
6844
6844
  };
6845
6845
  if (!i.length)
6846
6846
  return null;
6847
- const g = (l) => {
6847
+ const g = (a) => {
6848
6848
  var h, u;
6849
- return ((h = o == null ? void 0 : o.find((w) => w.value === l)) == null ? void 0 : h.label) || ((u = a == null ? void 0 : a.find((w) => w.value === l)) == null ? void 0 : u.label) || l;
6849
+ return ((h = o == null ? void 0 : o.find((m) => m.value === a)) == null ? void 0 : h.label) || ((u = l == null ? void 0 : l.find((m) => m.value === a)) == null ? void 0 : u.label) || a;
6850
6850
  };
6851
6851
  return /* @__PURE__ */ n("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ n(
6852
- b5,
6852
+ E5,
6853
6853
  {
6854
6854
  content: (
6855
6855
  // 90: paddings + margins + gaps and so on
6856
- /* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(a1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: l }) => /* @__PURE__ */ n(
6856
+ /* @__PURE__ */ n("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ n(a1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ n(
6857
6857
  F1,
6858
6858
  {
6859
- onClose: () => e(l),
6859
+ onClose: () => e(a),
6860
6860
  closable: !s,
6861
- children: g(l)
6861
+ children: g(a)
6862
6862
  },
6863
- l
6863
+ a
6864
6864
  )) }) })
6865
6865
  ),
6866
6866
  placement: "bottomRight",
6867
6867
  isOpen: c,
6868
6868
  setIsOpen: r,
6869
- children: /* @__PURE__ */ n(D1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ C($1, { variant: "body4", color: c ? U.BLUE_PRIMARY : void 0, children: [
6869
+ children: /* @__PURE__ */ n(T1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ C(Y1, { variant: "body4", color: c ? z.BLUE_PRIMARY : void 0, children: [
6870
6870
  i.length,
6871
6871
  " more"
6872
6872
  ] }) })
6873
6873
  }
6874
6874
  ) });
6875
- }, R1 = ({ size: i = 30, color: e = "#004ed7" }) => {
6875
+ }, M1 = ({ 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,181 +6880,182 @@ const F1 = ({ 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
- }, H5 = C1(
6883
+ }, _5 = C1(
6884
6884
  ({
6885
6885
  value: i,
6886
6886
  onChange: e,
6887
6887
  placeholder: t,
6888
6888
  mode: s,
6889
6889
  search: o = !1,
6890
- options: a,
6890
+ options: l,
6891
6891
  width: c,
6892
6892
  disabled: r = !1,
6893
6893
  required: d = !1,
6894
- scrollThresholdValue: g = 50,
6895
- onSearchChange: l,
6896
- onDropdownVisibleChange: h,
6897
- onScrollToEnd: u,
6898
- onPopupScroll: p,
6899
- id: w,
6894
+ clearable: g = !1,
6895
+ scrollThresholdValue: a = 50,
6896
+ onSearchChange: h,
6897
+ onDropdownVisibleChange: u,
6898
+ onScrollToEnd: p,
6899
+ onPopupScroll: m,
6900
+ id: N,
6900
6901
  extraOptions: v,
6901
- dropdownRender: N,
6902
- optionRender: E,
6903
- isLoading: R,
6904
- readOnly: M
6905
- }, m) => {
6906
- const [x, b] = S(!1), [y, D] = S(!1), [i1, P] = S(!0), [V, s1] = S(i), o1 = N1(null);
6907
- A(() => {
6908
- s1(i);
6902
+ dropdownRender: E,
6903
+ optionRender: R,
6904
+ isLoading: b,
6905
+ readOnly: f
6906
+ }, x) => {
6907
+ const [y, M] = S(!1), [T, o1] = S(!1), [Q, W] = S(!0), [O, q] = S(i), D = N1(null);
6908
+ B(() => {
6909
+ q(i);
6909
6910
  }, [i]);
6910
- const T = (f) => {
6911
- b(f), h && h(f);
6912
- }, G = (f, H) => {
6913
- var O;
6914
- return !!((O = H == null ? void 0 : H.label) != null && O.toString().toLowerCase().includes(f.toLowerCase()));
6915
- }, F = () => {
6916
- D(!0);
6911
+ const G = (w) => {
6912
+ M(w), u && u(w);
6913
+ }, F = (w, H) => {
6914
+ var A;
6915
+ return !!((A = H == null ? void 0 : H.label) != null && A.toString().toLowerCase().includes(w.toLowerCase()));
6917
6916
  }, n1 = () => {
6918
- D(!1);
6919
- }, _ = j(
6920
- (f) => {
6921
- if (s1(f), s) {
6922
- const O = f;
6923
- e == null || e(O);
6917
+ o1(!0);
6918
+ }, V = () => {
6919
+ o1(!1);
6920
+ }, I = j(
6921
+ (w) => {
6922
+ if (q(w), s) {
6923
+ const A = w;
6924
+ e == null || e(A);
6924
6925
  return;
6925
6926
  }
6926
- const H = f;
6927
+ const H = w;
6927
6928
  e == null || e(H);
6928
6929
  },
6929
6930
  [s, e]
6930
- ), W = j(() => {
6931
- if (!M) {
6931
+ ), K = j(() => {
6932
+ if (!f) {
6932
6933
  if (s) {
6933
- _([]);
6934
+ I([]);
6934
6935
  return;
6935
6936
  }
6936
- _("");
6937
+ I("");
6937
6938
  }
6938
- }, [_, s, M]), B = j(
6939
- (f) => {
6940
- const H = V.filter((O) => O !== f);
6941
- _(H), s1(H);
6939
+ }, [I, s, f]), P = j(
6940
+ (w) => {
6941
+ const H = O.filter((A) => A !== w);
6942
+ I(H), q(H);
6942
6943
  },
6943
- [_, V]
6944
- ), J = j(
6945
- (f) => (V == null ? void 0 : V.indexOf(f)) === 0 ? (
6944
+ [I, O]
6945
+ ), x1 = j(
6946
+ (w) => (O == null ? void 0 : O.indexOf(w)) === 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: i1 ? t : "" })
6949
- ) : /* @__PURE__ */ n(z, {}),
6950
- [i1, V, t]
6951
- ), q1 = (f) => {
6952
- f.preventDefault(), f.stopPropagation();
6953
- }, X1 = async (f) => {
6954
- const { target: H } = f;
6955
- H.scrollTop + H.offsetHeight >= H.scrollHeight - g && (u == null || u(!0)), p && await p(f);
6949
+ /* @__PURE__ */ n("span", { className: "custom-placeholder", children: Q ? t : "" })
6950
+ ) : /* @__PURE__ */ n(J, {}),
6951
+ [Q, O, t]
6952
+ ), X1 = (w) => {
6953
+ w.preventDefault(), w.stopPropagation();
6954
+ }, ee = async (w) => {
6955
+ const { target: H } = w;
6956
+ H.scrollTop + H.offsetHeight >= H.scrollHeight - a && (p == null || p(!0)), m && await m(w);
6956
6957
  }, p1 = j(
6957
- (f) => {
6958
- var H, O;
6959
- return ((H = a.find((f1) => f1.value === f)) == null ? void 0 : H.label) || ((O = v == null ? void 0 : v.find(
6960
- (f1) => f1.value === f
6961
- )) == null ? void 0 : O.label) || f;
6958
+ (w) => {
6959
+ var H, A;
6960
+ return ((H = l.find((f1) => f1.value === w)) == null ? void 0 : H.label) || ((A = v == null ? void 0 : v.find(
6961
+ (f1) => f1.value === w
6962
+ )) == null ? void 0 : A.label) || w;
6962
6963
  },
6963
- [v, a]
6964
- ), ee = j(
6965
- (f) => {
6964
+ [v, l]
6965
+ ), te = j(
6966
+ (w) => {
6966
6967
  var H;
6967
6968
  return /* @__PURE__ */ n(
6968
- E5,
6969
+ H5,
6969
6970
  {
6970
- values: f,
6971
- onTagClose: B,
6972
- maxWidth: ((H = o1.current) == null ? void 0 : H.clientWidth) || 0,
6973
- disabled: r || M,
6974
- options: a,
6971
+ values: w,
6972
+ onTagClose: P,
6973
+ maxWidth: ((H = D.current) == null ? void 0 : H.clientWidth) || 0,
6974
+ disabled: r || f,
6975
+ options: l,
6975
6976
  extraOptions: v
6976
6977
  }
6977
6978
  );
6978
6979
  },
6979
- [r, v, B, a, M]
6980
- ), te = j(
6981
- ({ label: f, value: H, mode: O }) => O === "filter" ? J(H) : /* @__PURE__ */ n("div", { onMouseDown: q1, className: "tag-wrapper", children: /* @__PURE__ */ n(F1, { onClose: () => B(H), closable: !r, children: /* @__PURE__ */ n($1, { variant: "body4", children: typeof f == "object" ? f : p1(H) }) }) }),
6982
- [r, p1, B, J]
6980
+ [r, v, P, l, f]
6981
+ ), ie = j(
6982
+ ({ label: w, value: H, mode: A }) => A === "filter" ? x1(H) : /* @__PURE__ */ n("div", { onMouseDown: X1, className: "tag-wrapper", children: /* @__PURE__ */ n(F1, { onClose: () => P(H), closable: !r, children: /* @__PURE__ */ n(Y1, { variant: "body4", children: typeof w == "object" ? w : p1(H) }) }) }),
6983
+ [r, p1, P, x1]
6983
6984
  );
6984
6985
  return /* @__PURE__ */ C(
6985
6986
  "div",
6986
6987
  {
6987
- className: `snmt-select ${y ? "snmt-select-focused" : ""}
6988
- ${s ? "" : "snmt-select-single"} ${M ? "snmt-select-read-only" : ""}`,
6989
- ref: o1,
6988
+ className: `snmt-select ${T ? "snmt-select-focused" : ""}
6989
+ ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
6990
+ ref: D,
6990
6991
  style: { width: c },
6991
6992
  children: [
6992
6993
  /* @__PURE__ */ n(
6993
- ne,
6994
+ re,
6994
6995
  {
6995
6996
  className: "snmt-select-blank",
6996
- popupClassName: M ? "dropdown-read-only" : "",
6997
- id: w,
6998
- ref: m,
6997
+ popupClassName: f ? "dropdown-read-only" : "",
6998
+ id: N,
6999
+ ref: x,
6999
7000
  showSearch: !!o,
7000
- filterOption: o && G,
7001
- onDropdownVisibleChange: T,
7001
+ filterOption: o && F,
7002
+ onDropdownVisibleChange: G,
7002
7003
  placeholder: t ? d ? `${t}*` : t : void 0,
7003
7004
  disabled: r,
7004
- value: V || void 0,
7005
- labelRender: (f) => p1(f.value),
7005
+ value: O || void 0,
7006
+ labelRender: (w) => p1(w.value),
7006
7007
  mode: s === "filter" ? "multiple" : s,
7007
- onChange: _,
7008
- onFocus: F,
7009
- onBlur: n1,
7010
- onSearch: (f) => {
7011
- P(!f), l && l(f);
7008
+ onChange: I,
7009
+ onFocus: n1,
7010
+ onBlur: V,
7011
+ onSearch: (w) => {
7012
+ W(!w), h && h(w);
7012
7013
  },
7013
- onSelect: () => P(!0),
7014
- onDeselect: () => P(!0),
7015
- tagRender: (f) => te({ ...f, mode: s }),
7014
+ onSelect: () => W(!0),
7015
+ onDeselect: () => W(!0),
7016
+ tagRender: (w) => ie({ ...w, mode: s }),
7016
7017
  maxTagCount: "responsive",
7017
- maxTagPlaceholder: ee,
7018
- onPopupScroll: X1,
7019
- prefix: R && /* @__PURE__ */ n(R1, { size: 15 }),
7020
- suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(z, { children: [
7021
- s && V && !!V.length && /* @__PURE__ */ n("div", { onClick: W, children: /* @__PURE__ */ n(r1, { name: "cancel" }) }),
7018
+ maxTagPlaceholder: te,
7019
+ onPopupScroll: ee,
7020
+ prefix: b && /* @__PURE__ */ n(M1, { size: 15 }),
7021
+ suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(J, { children: [
7022
+ O && !!O.length && (s || g) && /* @__PURE__ */ n("div", { onClick: K, children: /* @__PURE__ */ n(r1, { name: "cancel" }) }),
7022
7023
  /* @__PURE__ */ n(
7023
7024
  r1,
7024
7025
  {
7025
7026
  name: "selectArrowIcon",
7026
- color: r ? U.GREY_DARK_1 : U.GREY_DARK_5,
7027
- className: x ? "select-arrow-rotated" : "select-arrow",
7028
- onClick: () => b(!x)
7027
+ color: r ? z.GREY_DARK_1 : z.GREY_DARK_5,
7028
+ className: y ? "select-arrow-rotated" : "select-arrow",
7029
+ onClick: () => M(!y)
7029
7030
  }
7030
7031
  )
7031
7032
  ] }) }),
7032
- removeIcon: /* @__PURE__ */ n(r1, { name: "errorSmall", color: U.GREY_DARK_2 }),
7033
- options: a,
7034
- optionRender: (f) => E ? E(f.data) : /* @__PURE__ */ C(a1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7033
+ removeIcon: /* @__PURE__ */ n(r1, { name: "errorSmall", color: z.GREY_DARK_2 }),
7034
+ options: l,
7035
+ optionRender: (w) => R ? R(w.data) : /* @__PURE__ */ C(a1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7035
7036
  /* @__PURE__ */ C(a1, { alignItems: "center", gap: 12, children: [
7036
7037
  s && /* @__PURE__ */ n(
7037
- de,
7038
+ ge,
7038
7039
  {
7039
- checked: !!(V != null && V.includes(f.value))
7040
+ checked: !!(O != null && O.includes(w.value))
7040
7041
  }
7041
7042
  ),
7042
7043
  /* @__PURE__ */ C(a1, { alignItems: "center", gap: 8, children: [
7043
- f.data.image && /* @__PURE__ */ n(ce, { src: f.data.image, size: 20 }),
7044
- /* @__PURE__ */ n("span", { children: f.label })
7044
+ w.data.image && /* @__PURE__ */ n(de, { src: w.data.image, size: 20 }),
7045
+ /* @__PURE__ */ n("span", { children: w.label })
7045
7046
  ] })
7046
7047
  ] }),
7047
- !s && V === f.value && /* @__PURE__ */ n(
7048
+ !s && O === w.value && /* @__PURE__ */ n(
7048
7049
  r1,
7049
7050
  {
7050
7051
  name: "ok",
7051
- color: U.BLUE_PRIMARY,
7052
+ color: z.BLUE_PRIMARY,
7052
7053
  width: 16,
7053
7054
  height: 16
7054
7055
  }
7055
7056
  )
7056
7057
  ] }),
7057
- dropdownRender: R ? () => /* @__PURE__ */ n(
7058
+ dropdownRender: b ? () => /* @__PURE__ */ n(
7058
7059
  "div",
7059
7060
  {
7060
7061
  style: {
@@ -7062,15 +7063,15 @@ const F1 = ({ 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(R1, { size: 28 })
7066
+ children: /* @__PURE__ */ n(M1, { size: 28 })
7066
7067
  }
7067
- ) : (f) => N ? N(f) : f
7068
+ ) : (w) => E ? E(w) : w
7068
7069
  }
7069
7070
  ),
7070
7071
  /* @__PURE__ */ n(
7071
7072
  "fieldset",
7072
7073
  {
7073
- className: `${y ? "fieldset-focused" : ""}
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 F1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
7081
7082
  }
7082
7083
  );
7083
7084
  }
7084
- ), _5 = {
7085
+ ), V5 = {
7085
7086
  type: "logger",
7086
7087
  log(i) {
7087
7088
  this.output("log", i);
@@ -7103,7 +7104,7 @@ class h1 {
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 || _5, this.options = t, this.debug = t.debug;
7107
+ this.prefix = t.prefix || "i18next:", this.logger = e || V5, 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++)
@@ -7173,63 +7174,63 @@ class u1 {
7173
7174
  });
7174
7175
  }
7175
7176
  }
7176
- const Q = () => {
7177
+ const X = () => {
7177
7178
  let i, e;
7178
7179
  const t = new Promise((s, o) => {
7179
7180
  i = s, e = o;
7180
7181
  });
7181
7182
  return t.resolve = i, t.reject = e, t;
7182
- }, M1 = (i) => i == null ? "" : "" + i, V5 = (i, e, t) => {
7183
+ }, y1 = (i) => i == null ? "" : "" + i, I5 = (i, e, t) => {
7183
7184
  i.forEach((s) => {
7184
7185
  e[s] && (t[s] = e[s]);
7185
7186
  });
7186
- }, I5 = /###/g, y1 = (i) => i && i.indexOf("###") > -1 ? i.replace(I5, ".") : i, b1 = (i) => !i || typeof i == "string", q = (i, e, t) => {
7187
+ }, S5 = /###/g, b1 = (i) => i && i.indexOf("###") > -1 ? i.replace(S5, ".") : i, E1 = (i) => !i || typeof i == "string", e1 = (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 (b1(i)) return {};
7191
- const a = y1(s[o]);
7192
- !i[a] && t && (i[a] = new t()), Object.prototype.hasOwnProperty.call(i, a) ? i = i[a] : i = {}, ++o;
7191
+ if (E1(i)) return {};
7192
+ const l = b1(s[o]);
7193
+ !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++o;
7193
7194
  }
7194
- return b1(i) ? {} : {
7195
+ return E1(i) ? {} : {
7195
7196
  obj: i,
7196
- k: y1(s[o])
7197
+ k: b1(s[o])
7197
7198
  };
7198
- }, E1 = (i, e, t) => {
7199
+ }, H1 = (i, e, t) => {
7199
7200
  const {
7200
7201
  obj: s,
7201
7202
  k: o
7202
- } = q(i, e, Object);
7203
+ } = e1(i, e, Object);
7203
7204
  if (s !== void 0 || e.length === 1) {
7204
7205
  s[o] = t;
7205
7206
  return;
7206
7207
  }
7207
- let a = e[e.length - 1], c = e.slice(0, e.length - 1), r = q(i, c, Object);
7208
+ let l = e[e.length - 1], c = e.slice(0, e.length - 1), r = e1(i, c, Object);
7208
7209
  for (; r.obj === void 0 && c.length; )
7209
- a = `${c[c.length - 1]}.${a}`, c = c.slice(0, c.length - 1), r = q(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${a}`] < "u" && (r.obj = void 0);
7210
- r.obj[`${r.k}.${a}`] = t;
7211
- }, S5 = (i, e, t, s) => {
7210
+ l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r = e1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${l}`] < "u" && (r.obj = void 0);
7211
+ r.obj[`${r.k}.${l}`] = t;
7212
+ }, O5 = (i, e, t, s) => {
7212
7213
  const {
7213
7214
  obj: o,
7214
- k: a
7215
- } = q(i, e, Object);
7216
- o[a] = o[a] || [], o[a].push(t);
7215
+ k: l
7216
+ } = e1(i, e, Object);
7217
+ o[l] = o[l] || [], o[l].push(t);
7217
7218
  }, c1 = (i, e) => {
7218
7219
  const {
7219
7220
  obj: t,
7220
7221
  k: s
7221
- } = q(i, e);
7222
+ } = e1(i, e);
7222
7223
  if (t)
7223
7224
  return t[s];
7224
- }, O5 = (i, e, t) => {
7225
+ }, A5 = (i, e, t) => {
7225
7226
  const s = c1(i, t);
7226
7227
  return s !== void 0 ? s : c1(e, t);
7227
- }, Y1 = (i, e, t) => {
7228
+ }, U1 = (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]) : Y1(i[s], e[s], 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]) : U1(i[s], e[s], t) : i[s] = e[s]);
7230
7231
  return i;
7231
- }, $ = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7232
- var A5 = {
7232
+ }, Y = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7233
+ var B5 = {
7233
7234
  "&": "&amp;",
7234
7235
  "<": "&lt;",
7235
7236
  ">": "&gt;",
@@ -7237,8 +7238,8 @@ var A5 = {
7237
7238
  "'": "&#39;",
7238
7239
  "/": "&#x2F;"
7239
7240
  };
7240
- const B5 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => A5[e]) : i;
7241
- class Z5 {
7241
+ const Z5 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => B5[e]) : i;
7242
+ class W5 {
7242
7243
  constructor(e) {
7243
7244
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7244
7245
  }
@@ -7250,39 +7251,39 @@ class Z5 {
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 W5 = [" ", ",", "?", "!", ";"], j5 = new Z5(20), D5 = (i, e, t) => {
7254
+ const j5 = [" ", ",", "?", "!", ";"], D5 = new W5(20), T5 = (i, e, t) => {
7254
7255
  e = e || "", t = t || "";
7255
- const s = W5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7256
+ const s = j5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7256
7257
  if (s.length === 0) return !0;
7257
- const o = j5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7258
- let a = !o.test(i);
7259
- if (!a) {
7258
+ const o = D5.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7259
+ let l = !o.test(i);
7260
+ if (!l) {
7260
7261
  const c = i.indexOf(t);
7261
- c > 0 && !o.test(i.substring(0, c)) && (a = !0);
7262
+ c > 0 && !o.test(i.substring(0, c)) && (l = !0);
7262
7263
  }
7263
- return a;
7264
+ return l;
7264
7265
  }, k1 = function(i, e) {
7265
7266
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
7266
7267
  if (!i) return;
7267
7268
  if (i[e]) return i[e];
7268
7269
  const s = e.split(t);
7269
7270
  let o = i;
7270
- for (let a = 0; a < s.length; ) {
7271
+ for (let l = 0; l < s.length; ) {
7271
7272
  if (!o || typeof o != "object")
7272
7273
  return;
7273
7274
  let c, r = "";
7274
- for (let d = a; d < s.length; ++d)
7275
- if (d !== a && (r += t), r += s[d], c = o[r], c !== void 0) {
7275
+ for (let d = l; d < s.length; ++d)
7276
+ if (d !== l && (r += t), r += s[d], c = o[r], c !== void 0) {
7276
7277
  if (["string", "number", "boolean"].indexOf(typeof c) > -1 && d < s.length - 1)
7277
7278
  continue;
7278
- a += d - a + 1;
7279
+ l += d - l + 1;
7279
7280
  break;
7280
7281
  }
7281
7282
  o = c;
7282
7283
  }
7283
7284
  return o;
7284
7285
  }, d1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7285
- class H1 extends u1 {
7286
+ class _1 extends u1 {
7286
7287
  constructor(e) {
7287
7288
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7288
7289
  ns: ["translation"],
@@ -7299,41 +7300,41 @@ class H1 extends u1 {
7299
7300
  }
7300
7301
  getResource(e, t, s) {
7301
7302
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
7302
- const a = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, c = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
7303
+ const l = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, c = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
7303
7304
  let r;
7304
- e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : typeof s == "string" && a ? r.push(...s.split(a)) : r.push(s)));
7305
+ e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : typeof s == "string" && l ? r.push(...s.split(l)) : r.push(s)));
7305
7306
  const d = c1(this.data, r);
7306
- return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || typeof s != "string" ? d : k1(this.data && this.data[e] && this.data[e][t], s, a);
7307
+ return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || typeof s != "string" ? d : k1(this.data && this.data[e] && this.data[e][t], s, l);
7307
7308
  }
7308
7309
  addResource(e, t, s, o) {
7309
- let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
7310
+ let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
7310
7311
  silent: !1
7311
7312
  };
7312
- const c = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
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), E1(this.data, r, o), a.silent || this.emit("added", e, t, s, o);
7315
+ s && (r = r.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (r = e.split("."), o = t, t = r[1]), this.addNamespaces(t), H1(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] : {
7318
7319
  silent: !1
7319
7320
  };
7320
- for (const a in s)
7321
- (typeof s[a] == "string" || Array.isArray(s[a])) && this.addResource(e, t, a, s[a], {
7321
+ for (const l in s)
7322
+ (typeof s[l] == "string" || Array.isArray(s[l])) && this.addResource(e, t, l, s[l], {
7322
7323
  silent: !0
7323
7324
  });
7324
7325
  o.silent || this.emit("added", e, t, s);
7325
7326
  }
7326
- addResourceBundle(e, t, s, o, a) {
7327
+ addResourceBundle(e, t, s, o, l) {
7327
7328
  let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
7328
7329
  silent: !1,
7329
7330
  skipCopy: !1
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 ? Y1(d, s, a) : d = {
7334
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), o ? U1(d, s, l) : d = {
7334
7335
  ...d,
7335
7336
  ...s
7336
- }, E1(this.data, r, d), c.silent || this.emit("added", e, t, s);
7337
+ }, H1(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,22 +7358,22 @@ class H1 extends u1 {
7357
7358
  return this.data;
7358
7359
  }
7359
7360
  }
7360
- var U1 = {
7361
+ var z1 = {
7361
7362
  processors: {},
7362
7363
  addPostProcessor(i) {
7363
7364
  this.processors[i.name] = i;
7364
7365
  },
7365
7366
  handle(i, e, t, s, o) {
7366
- return i.forEach((a) => {
7367
- this.processors[a] && (e = this.processors[a].process(e, t, s, o));
7367
+ return i.forEach((l) => {
7368
+ this.processors[l] && (e = this.processors[l].process(e, t, s, o));
7368
7369
  }), e;
7369
7370
  }
7370
7371
  };
7371
- const _1 = {};
7372
+ const V1 = {};
7372
7373
  class g1 extends u1 {
7373
7374
  constructor(e) {
7374
7375
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7375
- super(), V5(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Z.create("translator");
7376
+ super(), I5(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Z.create("translator");
7376
7377
  }
7377
7378
  changeLanguage(e) {
7378
7379
  e && (this.language = e);
@@ -7390,21 +7391,21 @@ class g1 extends u1 {
7390
7391
  let s = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
7391
7392
  s === void 0 && (s = ":");
7392
7393
  const o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7393
- let a = t.ns || this.options.defaultNS || [];
7394
- const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !D5(e, s, o);
7394
+ let l = t.ns || this.options.defaultNS || [];
7395
+ const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !T5(e, s, o);
7395
7396
  if (c && !r) {
7396
7397
  const d = e.match(this.interpolator.nestingRegexp);
7397
7398
  if (d && d.length > 0)
7398
7399
  return {
7399
7400
  key: e,
7400
- namespaces: a
7401
+ namespaces: l
7401
7402
  };
7402
7403
  const g = e.split(s);
7403
- (s !== o || s === o && this.options.ns.indexOf(g[0]) > -1) && (a = g.shift()), e = g.join(o);
7404
+ (s !== o || s === o && this.options.ns.indexOf(g[0]) > -1) && (l = g.shift()), e = g.join(o);
7404
7405
  }
7405
- return typeof a == "string" && (a = [a]), {
7406
+ return typeof l == "string" && (l = [l]), {
7406
7407
  key: e,
7407
- namespaces: a
7408
+ namespaces: l
7408
7409
  };
7409
7410
  }
7410
7411
  translate(e, t, s) {
@@ -7412,21 +7413,21 @@ class g1 extends u1 {
7412
7413
  ...t
7413
7414
  }), t || (t = {}), e == null) return "";
7414
7415
  Array.isArray(e) || (e = [String(e)]);
7415
- const o = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
7416
+ const o = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, l = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
7416
7417
  key: c,
7417
7418
  namespaces: r
7418
- } = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
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
- if (l) {
7421
- const m = t.nsSeparator || this.options.nsSeparator;
7421
+ if (a) {
7422
+ const f = t.nsSeparator || this.options.nsSeparator;
7422
7423
  return o ? {
7423
- res: `${d}${m}${c}`,
7424
+ res: `${d}${f}${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}${m}${c}`;
7430
+ } : `${d}${f}${c}`;
7430
7431
  }
7431
7432
  return o ? {
7432
7433
  res: c,
@@ -7439,68 +7440,68 @@ class g1 extends u1 {
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, v = Object.prototype.toString.apply(u), N = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject;
7443
- if (R && u && (typeof u != "string" && typeof u != "boolean" && typeof u != "number") && N.indexOf(v) < 0 && !(typeof E == "string" && Array.isArray(u))) {
7443
+ const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, N = 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(N) < 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 m = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
7447
+ const f = 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 = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
7451
+ return o ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
7451
7452
  }
7452
- if (a) {
7453
- const m = Array.isArray(u), x = m ? [] : {}, b = m ? w : p;
7454
- for (const y in u)
7455
- if (Object.prototype.hasOwnProperty.call(u, y)) {
7456
- const D = `${b}${a}${y}`;
7457
- x[y] = this.translate(D, {
7453
+ if (l) {
7454
+ const f = Array.isArray(u), x = f ? [] : {}, y = f ? m : p;
7455
+ for (const M in u)
7456
+ if (Object.prototype.hasOwnProperty.call(u, M)) {
7457
+ const T = `${y}${l}${M}`;
7458
+ x[M] = this.translate(T, {
7458
7459
  ...t,
7459
7460
  joinArrays: !1,
7460
7461
  ns: r
7461
- }), x[y] === D && (x[y] = u[y]);
7462
+ }), x[M] === T && (x[M] = u[M]);
7462
7463
  }
7463
7464
  u = x;
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 m = !1, x = !1;
7469
- const b = t.count !== void 0 && typeof t.count != "string", y = g1.hasDefaultValue(t), D = b ? this.pluralResolver.getSuffix(g, t.count, t) : "", i1 = t.ordinal && b ? this.pluralResolver.getSuffix(g, t.count, {
7469
+ let f = !1, x = !1;
7470
+ const y = t.count !== void 0 && typeof t.count != "string", M = g1.hasDefaultValue(t), T = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", o1 = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
7470
7471
  ordinal: !1
7471
- }) : "", P = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = P && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${D}`] || t[`defaultValue${i1}`] || t.defaultValue;
7472
- !this.isValidLookup(u) && y && (m = !0, u = V), this.isValidLookup(u) || (x = !0, u = c);
7473
- const o1 = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : u, T = y && V !== u && this.options.updateMissing;
7474
- if (x || m || T) {
7475
- if (this.logger.log(T ? "updateKey" : "missingKey", g, d, c, T ? V : u), a) {
7476
- const _ = this.resolve(c, {
7472
+ }) : "", Q = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), W = Q && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${o1}`] || t.defaultValue;
7473
+ !this.isValidLookup(u) && M && (f = !0, u = W), this.isValidLookup(u) || (x = !0, u = c);
7474
+ const q = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : u, D = M && W !== u && this.options.updateMissing;
7475
+ if (x || f || D) {
7476
+ if (this.logger.log(D ? "updateKey" : "missingKey", g, d, c, D ? W : u), l) {
7477
+ const V = this.resolve(c, {
7477
7478
  ...t,
7478
7479
  keySeparator: !1
7479
7480
  });
7480
- _ && _.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
+ 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
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 _ = 0; _ < F.length; _++)
7486
- G.push(F[_]);
7486
+ for (let V = 0; V < F.length; V++)
7487
+ G.push(F[V]);
7487
7488
  else this.options.saveMissingTo === "all" ? G = this.languageUtils.toResolveHierarchy(t.lng || this.language) : G.push(t.lng || this.language);
7488
- const n1 = (_, W, B) => {
7489
- const J = y && B !== u ? B : o1;
7490
- this.options.missingKeyHandler ? this.options.missingKeyHandler(_, d, W, J, T, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(_, d, W, J, T, t), this.emit("missingKey", _, d, W, u);
7489
+ const n1 = (V, I, K) => {
7490
+ const P = M && K !== u ? K : q;
7491
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(V, d, I, P, D, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(V, d, I, P, D, t), this.emit("missingKey", V, d, I, u);
7491
7492
  };
7492
- this.options.saveMissing && (this.options.saveMissingPlurals && b ? G.forEach((_) => {
7493
- const W = this.pluralResolver.getSuffixes(_, t);
7494
- P && t[`defaultValue${this.options.pluralSeparator}zero`] && W.indexOf(`${this.options.pluralSeparator}zero`) < 0 && W.push(`${this.options.pluralSeparator}zero`), W.forEach((B) => {
7495
- n1([_], c + B, t[`defaultValue${B}`] || V);
7493
+ this.options.saveMissing && (this.options.saveMissingPlurals && y ? G.forEach((V) => {
7494
+ const I = this.pluralResolver.getSuffixes(V, t);
7495
+ Q && t[`defaultValue${this.options.pluralSeparator}zero`] && I.indexOf(`${this.options.pluralSeparator}zero`) < 0 && I.push(`${this.options.pluralSeparator}zero`), I.forEach((K) => {
7496
+ n1([V], c + K, t[`defaultValue${K}`] || W);
7496
7497
  });
7497
- }) : n1(G, c, V));
7498
+ }) : n1(G, c, W));
7498
7499
  }
7499
- u = this.extendTranslation(u, e, t, h, s), x && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (x || 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
+ u = this.extendTranslation(u, e, t, h, s), x && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? 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
  }
7503
- extendTranslation(e, t, s, o, a) {
7504
+ extendTranslation(e, t, s, o, l) {
7504
7505
  var c = this;
7505
7506
  if (this.i18nFormat && this.i18nFormat.parse)
7506
7507
  e = this.i18nFormat.parse(e, {
@@ -7518,10 +7519,10 @@ class g1 extends u1 {
7518
7519
  }
7519
7520
  });
7520
7521
  const g = typeof e == "string" && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
7521
- let l;
7522
+ let a;
7522
7523
  if (g) {
7523
7524
  const u = e.match(this.interpolator.nestingRegexp);
7524
- l = u && u.length;
7525
+ a = u && u.length;
7525
7526
  }
7526
7527
  let h = s.replace && typeof s.replace != "string" ? s.replace : s;
7527
7528
  if (this.options.interpolation.defaultVariables && (h = {
@@ -7529,16 +7530,16 @@ class g1 extends u1 {
7529
7530
  ...h
7530
7531
  }), e = this.interpolator.interpolate(e, h, s.lng || this.language || o.usedLng, s), g) {
7531
7532
  const u = e.match(this.interpolator.nestingRegexp), p = u && u.length;
7532
- l < p && (s.nest = !1);
7533
+ a < p && (s.nest = !1);
7533
7534
  }
7534
7535
  !s.lng && this.options.compatibilityAPI !== "v1" && o && o.res && (s.lng = this.language || o.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
7535
- for (var u = arguments.length, p = new Array(u), w = 0; w < u; w++)
7536
- p[w] = arguments[w];
7537
- return a && a[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
7536
+ for (var u = arguments.length, p = new Array(u), m = 0; m < u; m++)
7537
+ p[m] = arguments[m];
7538
+ return l && l[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
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 = U1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7542
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = z1.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7542
7543
  i18nResolved: {
7543
7544
  ...o,
7544
7545
  usedParams: this.getUsedParamsDetails(s)
@@ -7547,39 +7548,39 @@ class g1 extends u1 {
7547
7548
  } : s, this)), e;
7548
7549
  }
7549
7550
  resolve(e) {
7550
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, o, a, c, r;
7551
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, o, l, c, r;
7551
7552
  return typeof e == "string" && (e = [e]), e.forEach((d) => {
7552
7553
  if (this.isValidLookup(s)) return;
7553
- const g = this.extractFromKey(d, t), l = g.key;
7554
- o = l;
7554
+ const g = this.extractFromKey(d, t), a = g.key;
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 !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7558
- h.forEach((N) => {
7559
- this.isValidLookup(s) || (r = N, !_1[`${v[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (_1[`${v[0]}-${N}`] = !0, this.logger.warn(`key "${o}" for languages "${v.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!!!")), v.forEach((E) => {
7558
+ const u = t.count !== void 0 && typeof t.count != "string", p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7559
+ h.forEach((v) => {
7560
+ this.isValidLookup(s) || (r = v, !V1[`${N[0]}-${v}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (V1[`${N[0]}-${v}`] = !0, this.logger.warn(`key "${o}" for languages "${N.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!!!")), N.forEach((E) => {
7560
7561
  if (this.isValidLookup(s)) return;
7561
7562
  c = E;
7562
- const R = [l];
7563
+ const R = [a];
7563
7564
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
7564
- this.i18nFormat.addLookupKeys(R, l, E, N, t);
7565
+ this.i18nFormat.addLookupKeys(R, a, E, v, t);
7565
7566
  else {
7566
- let m;
7567
- u && (m = this.pluralResolver.getSuffix(E, t.count, t));
7568
- const x = `${this.options.pluralSeparator}zero`, b = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7569
- if (u && (R.push(l + m), t.ordinal && m.indexOf(b) === 0 && R.push(l + m.replace(b, this.options.pluralSeparator)), p && R.push(l + x)), w) {
7570
- const y = `${l}${this.options.contextSeparator}${t.context}`;
7571
- R.push(y), u && (R.push(y + m), t.ordinal && m.indexOf(b) === 0 && R.push(y + m.replace(b, this.options.pluralSeparator)), p && R.push(y + x));
7567
+ let f;
7568
+ u && (f = this.pluralResolver.getSuffix(E, t.count, t));
7569
+ const x = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7570
+ if (u && (R.push(a + f), t.ordinal && f.indexOf(y) === 0 && R.push(a + f.replace(y, this.options.pluralSeparator)), p && R.push(a + x)), m) {
7571
+ const M = `${a}${this.options.contextSeparator}${t.context}`;
7572
+ R.push(M), u && (R.push(M + f), t.ordinal && f.indexOf(y) === 0 && R.push(M + f.replace(y, this.options.pluralSeparator)), p && R.push(M + x));
7572
7573
  }
7573
7574
  }
7574
- let M;
7575
- for (; M = R.pop(); )
7576
- this.isValidLookup(s) || (a = M, s = this.getResource(E, N, M, t));
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
  }), {
7580
7581
  res: s,
7581
7582
  usedKey: o,
7582
- exactUsedKey: a,
7583
+ exactUsedKey: l,
7583
7584
  usedLng: c,
7584
7585
  usedNS: r
7585
7586
  };
@@ -7602,8 +7603,8 @@ class g1 extends u1 {
7602
7603
  o = {
7603
7604
  ...o
7604
7605
  };
7605
- for (const a of t)
7606
- delete o[a];
7606
+ for (const l of t)
7607
+ delete o[l];
7607
7608
  }
7608
7609
  return o;
7609
7610
  }
@@ -7616,7 +7617,7 @@ class g1 extends u1 {
7616
7617
  }
7617
7618
  }
7618
7619
  const w1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7619
- class V1 {
7620
+ class I1 {
7620
7621
  constructor(e) {
7621
7622
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Z.create("languageUtils");
7622
7623
  }
@@ -7652,10 +7653,10 @@ class V1 {
7652
7653
  if (t) return;
7653
7654
  const o = this.getLanguagePartFromCode(s);
7654
7655
  if (this.isSupportedCode(o)) return t = o;
7655
- t = this.options.supportedLngs.find((a) => {
7656
- if (a === o) return a;
7657
- if (!(a.indexOf("-") < 0 && o.indexOf("-") < 0) && (a.indexOf("-") > 0 && o.indexOf("-") < 0 && a.substring(0, a.indexOf("-")) === o || a.indexOf(o) === 0 && o.length > 1))
7658
- return a;
7656
+ t = this.options.supportedLngs.find((l) => {
7657
+ if (l === o) return l;
7658
+ if (!(l.indexOf("-") < 0 && o.indexOf("-") < 0) && (l.indexOf("-") > 0 && o.indexOf("-") < 0 && l.substring(0, l.indexOf("-")) === o || l.indexOf(o) === 0 && o.length > 1))
7659
+ return l;
7659
7660
  });
7660
7661
  }), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
7661
7662
  }
@@ -7667,15 +7668,15 @@ class V1 {
7667
7668
  return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
7668
7669
  }
7669
7670
  toResolveHierarchy(e, t) {
7670
- const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), o = [], a = (c) => {
7671
+ const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), o = [], l = (c) => {
7671
7672
  c && (this.isSupportedCode(c) ? o.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
7672
7673
  };
7673
- return typeof e == "string" && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(e))) : typeof e == "string" && a(this.formatLanguageCode(e)), s.forEach((c) => {
7674
- o.indexOf(c) < 0 && a(this.formatLanguageCode(c));
7674
+ return typeof e == "string" && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && l(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && l(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && l(this.getLanguagePartFromCode(e))) : typeof e == "string" && l(this.formatLanguageCode(e)), s.forEach((c) => {
7675
+ o.indexOf(c) < 0 && l(this.formatLanguageCode(c));
7675
7676
  }), o;
7676
7677
  }
7677
7678
  }
7678
- let T5 = [{
7679
+ let G5 = [{
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 T5 = [{
7767
7768
  lngs: ["he", "iw"],
7768
7769
  nr: [1, 2, 20, 21],
7769
7770
  fc: 22
7770
- }], G5 = {
7771
+ }], K5 = {
7771
7772
  1: (i) => +(i > 1),
7772
7773
  2: (i) => +(i != 1),
7773
7774
  3: (i) => 0,
@@ -7791,7 +7792,7 @@ let T5 = [{
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 K5 = ["v1", "v2", "v3"], P5 = ["v4"], I1 = {
7795
+ const P5 = ["v1", "v2", "v3"], $5 = ["v4"], S1 = {
7795
7796
  zero: 0,
7796
7797
  one: 1,
7797
7798
  two: 2,
@@ -7800,19 +7801,19 @@ const K5 = ["v1", "v2", "v3"], P5 = ["v4"], I1 = {
7800
7801
  other: 5
7801
7802
  }, F5 = () => {
7802
7803
  const i = {};
7803
- return T5.forEach((e) => {
7804
+ return G5.forEach((e) => {
7804
7805
  e.lngs.forEach((t) => {
7805
7806
  i[t] = {
7806
7807
  numbers: e.nr,
7807
- plurals: G5[e.fc]
7808
+ plurals: K5[e.fc]
7808
7809
  };
7809
7810
  });
7810
7811
  }), i;
7811
7812
  };
7812
- class $5 {
7813
+ class Y5 {
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 = Z.create("pluralResolver"), (!this.options.compatibilityJSON || P5.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 = F5(), this.pluralRulesCache = {};
7816
+ this.languageUtils = e, this.options = t, this.logger = Z.create("pluralResolver"), (!this.options.compatibilityJSON || $5.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 = F5(), this.pluralRulesCache = {};
7816
7817
  }
7817
7818
  addRule(e, t) {
7818
7819
  this.rules[e] = t;
@@ -7824,16 +7825,16 @@ class $5 {
7824
7825
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7825
7826
  if (this.shouldUseIntlApi())
7826
7827
  try {
7827
- const s = d1(e === "dev" ? "en" : e), o = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
7828
+ const s = d1(e === "dev" ? "en" : e), o = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
7828
7829
  cleanedCode: s,
7829
7830
  type: o
7830
7831
  });
7831
- if (a in this.pluralRulesCache)
7832
- return this.pluralRulesCache[a];
7832
+ if (l in this.pluralRulesCache)
7833
+ return this.pluralRulesCache[l];
7833
7834
  const c = new Intl.PluralRules(s, {
7834
7835
  type: o
7835
7836
  });
7836
- return this.pluralRulesCache[a] = c, c;
7837
+ return this.pluralRulesCache[l] = c, c;
7837
7838
  } catch {
7838
7839
  return;
7839
7840
  }
@@ -7851,7 +7852,7 @@ class $5 {
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, a) => I1[o] - I1[a]).map((o) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : s.numbers.map((o) => this.getSuffix(e, o, t)) : [];
7855
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, l) => S1[o] - S1[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] : {};
@@ -7862,18 +7863,18 @@ class $5 {
7862
7863
  const s = e.noAbs ? e.plurals(t) : e.plurals(Math.abs(t));
7863
7864
  let o = e.numbers[s];
7864
7865
  this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 && (o === 2 ? o = "plural" : o === 1 && (o = ""));
7865
- const a = () => this.options.prepend && o.toString() ? this.options.prepend + o.toString() : o.toString();
7866
- return this.options.compatibilityJSON === "v1" ? o === 1 ? "" : typeof o == "number" ? `_plural_${o.toString()}` : a() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? a() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
7866
+ const l = () => this.options.prepend && o.toString() ? this.options.prepend + o.toString() : o.toString();
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 !K5.includes(this.options.compatibilityJSON);
7870
+ return !P5.includes(this.options.compatibilityJSON);
7870
7871
  }
7871
7872
  }
7872
- const S1 = function(i, e, t) {
7873
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = O5(i, e, t);
7874
- return !a && o && typeof t == "string" && (a = k1(i, t, s), a === void 0 && (a = k1(e, t, s))), a;
7873
+ const O1 = 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 = A5(i, e, t);
7875
+ return !l && o && typeof t == "string" && (l = k1(i, t, s), l === void 0 && (l = k1(e, t, s))), l;
7875
7876
  }, m1 = (i) => i.replace(/\$/g, "$$$$");
7876
- class Y5 {
7877
+ class U5 {
7877
7878
  constructor() {
7878
7879
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7879
7880
  this.logger = Z.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -7887,22 +7888,22 @@ class Y5 {
7887
7888
  escape: t,
7888
7889
  escapeValue: s,
7889
7890
  useRawValueToEscape: o,
7890
- prefix: a,
7891
+ prefix: l,
7891
7892
  prefixEscaped: c,
7892
7893
  suffix: r,
7893
7894
  suffixEscaped: d,
7894
7895
  formatSeparator: g,
7895
- unescapeSuffix: l,
7896
+ unescapeSuffix: a,
7896
7897
  unescapePrefix: h,
7897
7898
  nestingPrefix: u,
7898
7899
  nestingPrefixEscaped: p,
7899
- nestingSuffix: w,
7900
- nestingSuffixEscaped: v,
7901
- nestingOptionsSeparator: N,
7900
+ nestingSuffix: m,
7901
+ nestingSuffixEscaped: N,
7902
+ nestingOptionsSeparator: v,
7902
7903
  maxReplaces: E,
7903
7904
  alwaysFormat: R
7904
7905
  } = e.interpolation;
7905
- this.escape = t !== void 0 ? t : B5, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = a ? $(a) : c || "{{", this.suffix = r ? $(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? $(u) : p || $("$t("), this.nestingSuffix = w ? $(w) : v || $(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
7906
+ this.escape = t !== void 0 ? t : Z5, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = l ? Y(l) : c || "{{", this.suffix = r ? Y(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? Y(u) : p || Y("$t("), this.nestingSuffix = m ? Y(m) : N || Y(")"), 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);
@@ -7912,25 +7913,25 @@ class Y5 {
7912
7913
  this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
7913
7914
  }
7914
7915
  interpolate(e, t, s, o) {
7915
- let a, c, r;
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 = S1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
7919
+ const E = O1(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), v = w.shift().trim(), N = w.join(this.formatSeparator).trim();
7926
- return this.format(S1(t, d, v, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
7926
+ const m = p.split(this.formatSeparator), N = m.shift().trim(), v = m.join(this.formatSeparator).trim();
7927
+ return this.format(O1(t, d, N, this.options.keySeparator, this.options.ignoreJSONStructure), v, s, {
7927
7928
  ...o,
7928
7929
  ...t,
7929
- interpolationkey: v
7930
+ interpolationkey: N
7930
7931
  });
7931
7932
  };
7932
7933
  this.resetRegExp();
7933
- const l = o && o.missingInterpolationHandler || this.options.missingInterpolationHandler, h = o && o.interpolation && o.interpolation.skipOnVariables !== void 0 ? o.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
7934
+ const a = o && o.missingInterpolationHandler || this.options.missingInterpolationHandler, h = o && o.interpolation && o.interpolation.skipOnVariables !== void 0 ? o.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
7934
7935
  return [{
7935
7936
  regex: this.regexpUnescape,
7936
7937
  safeValue: (p) => m1(p)
@@ -7938,43 +7939,43 @@ class Y5 {
7938
7939
  regex: this.regexp,
7939
7940
  safeValue: (p) => this.escapeValue ? m1(this.escape(p)) : m1(p)
7940
7941
  }].forEach((p) => {
7941
- for (r = 0; a = p.regex.exec(e); ) {
7942
- const w = a[1].trim();
7943
- if (c = g(w), c === void 0)
7944
- if (typeof l == "function") {
7945
- const N = l(e, a, o);
7946
- c = typeof N == "string" ? N : "";
7947
- } else if (o && Object.prototype.hasOwnProperty.call(o, w))
7942
+ for (r = 0; l = p.regex.exec(e); ) {
7943
+ const m = l[1].trim();
7944
+ if (c = g(m), c === void 0)
7945
+ if (typeof a == "function") {
7946
+ const v = a(e, l, o);
7947
+ c = typeof v == "string" ? v : "";
7948
+ } else if (o && Object.prototype.hasOwnProperty.call(o, m))
7948
7949
  c = "";
7949
7950
  else if (h) {
7950
- c = a[0];
7951
+ c = l[0];
7951
7952
  continue;
7952
7953
  } else
7953
- this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
7954
- else typeof c != "string" && !this.useRawValueToEscape && (c = M1(c));
7955
- const v = p.safeValue(c);
7956
- if (e = e.replace(a[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
7954
+ this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
7955
+ else typeof c != "string" && !this.useRawValueToEscape && (c = y1(c));
7956
+ const N = p.safeValue(c);
7957
+ if (e = e.replace(l[0], N), 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;
7960
7961
  }
7961
7962
  nest(e, t) {
7962
- let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, a, c;
7963
+ let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, l, c;
7963
7964
  const r = (d, g) => {
7964
- const l = this.nestingOptionsSeparator;
7965
- if (d.indexOf(l) < 0) return d;
7966
- const h = d.split(new RegExp(`${l}[ ]*{`));
7965
+ const a = this.nestingOptionsSeparator;
7966
+ if (d.indexOf(a) < 0) return d;
7967
+ const h = d.split(new RegExp(`${a}[ ]*{`));
7967
7968
  let u = `{${h[1]}`;
7968
7969
  d = h[0], u = this.interpolate(u, c);
7969
- const p = u.match(/'/g), w = u.match(/"/g);
7970
- (p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
7970
+ const p = u.match(/'/g), m = u.match(/"/g);
7971
+ (p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
7971
7972
  try {
7972
7973
  c = JSON.parse(u), g && (c = {
7973
7974
  ...g,
7974
7975
  ...c
7975
7976
  });
7976
- } catch (v) {
7977
- return this.logger.warn(`failed parsing options string in nesting for key ${d}`, v), `${d}${l}${u}`;
7977
+ } catch (N) {
7978
+ return this.logger.warn(`failed parsing options string in nesting for key ${d}`, N), `${d}${a}${u}`;
7978
7979
  }
7979
7980
  return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
7980
7981
  };
@@ -7985,19 +7986,19 @@ class Y5 {
7985
7986
  }, c = c.replace && typeof c.replace != "string" ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
7986
7987
  let g = !1;
7987
7988
  if (o[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(o[1])) {
7988
- const l = o[1].split(this.formatSeparator).map((h) => h.trim());
7989
- o[1] = l.shift(), d = l, g = !0;
7989
+ const a = o[1].split(this.formatSeparator).map((h) => h.trim());
7990
+ o[1] = a.shift(), d = a, g = !0;
7990
7991
  }
7991
- if (a = t(r.call(this, o[1].trim(), c), c), a && o[0] === e && typeof a != "string") return a;
7992
- typeof a != "string" && (a = M1(a)), a || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), a = ""), g && (a = d.reduce((l, h) => this.format(l, h, s.lng, {
7992
+ if (l = t(r.call(this, o[1].trim(), c), c), l && o[0] === e && typeof l != "string") return l;
7993
+ typeof l != "string" && (l = y1(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
- }), a.trim())), e = e.replace(o[0], a), this.regexp.lastIndex = 0;
7996
+ }), l.trim())), e = e.replace(o[0], l), this.regexp.lastIndex = 0;
7996
7997
  }
7997
7998
  return e;
7998
7999
  }
7999
8000
  }
8000
- const U5 = (i) => {
8001
+ const z5 = (i) => {
8001
8002
  let e = i.toLowerCase().trim();
8002
8003
  const t = {};
8003
8004
  if (i.indexOf("(") > -1) {
@@ -8006,8 +8007,8 @@ const U5 = (i) => {
8006
8007
  const o = s[1].substring(0, s[1].length - 1);
8007
8008
  e === "currency" && o.indexOf(":") < 0 ? t.currency || (t.currency = o.trim()) : e === "relativetime" && o.indexOf(":") < 0 ? t.range || (t.range = o.trim()) : o.split(";").forEach((c) => {
8008
8009
  if (c) {
8009
- const [r, ...d] = c.split(":"), g = d.join(":").trim().replace(/^'+|'+$/g, ""), l = r.trim();
8010
- t[l] || (t[l] = g), g === "false" && (t[l] = !1), g === "true" && (t[l] = !0), isNaN(g) || (t[l] = parseInt(g, 10));
8010
+ const [r, ...d] = c.split(":"), g = d.join(":").trim().replace(/^'+|'+$/g, ""), a = r.trim();
8011
+ t[a] || (t[a] = g), g === "false" && (t[a] = !1), g === "true" && (t[a] = !0), isNaN(g) || (t[a] = parseInt(g, 10));
8011
8012
  }
8012
8013
  });
8013
8014
  }
@@ -8015,53 +8016,53 @@ const U5 = (i) => {
8015
8016
  formatName: e,
8016
8017
  formatOptions: t
8017
8018
  };
8018
- }, Y = (i) => {
8019
+ }, U = (i) => {
8019
8020
  const e = {};
8020
8021
  return (t, s, o) => {
8021
- let a = o;
8022
- o && o.interpolationkey && o.formatParams && o.formatParams[o.interpolationkey] && o[o.interpolationkey] && (a = {
8023
- ...a,
8022
+ let l = o;
8023
+ o && o.interpolationkey && o.formatParams && o.formatParams[o.interpolationkey] && o[o.interpolationkey] && (l = {
8024
+ ...l,
8024
8025
  [o.interpolationkey]: void 0
8025
8026
  });
8026
- const c = s + JSON.stringify(a);
8027
+ const c = s + JSON.stringify(l);
8027
8028
  let r = e[c];
8028
8029
  return r || (r = i(d1(s), o), e[c] = r), r(t);
8029
8030
  };
8030
8031
  };
8031
- class z5 {
8032
+ class J5 {
8032
8033
  constructor() {
8033
8034
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8034
8035
  this.logger = Z.create("formatter"), this.options = e, this.formats = {
8035
- number: Y((t, s) => {
8036
+ number: U((t, s) => {
8036
8037
  const o = new Intl.NumberFormat(t, {
8037
8038
  ...s
8038
8039
  });
8039
- return (a) => o.format(a);
8040
+ return (l) => o.format(l);
8040
8041
  }),
8041
- currency: Y((t, s) => {
8042
+ currency: U((t, s) => {
8042
8043
  const o = new Intl.NumberFormat(t, {
8043
8044
  ...s,
8044
8045
  style: "currency"
8045
8046
  });
8046
- return (a) => o.format(a);
8047
+ return (l) => o.format(l);
8047
8048
  }),
8048
- datetime: Y((t, s) => {
8049
+ datetime: U((t, s) => {
8049
8050
  const o = new Intl.DateTimeFormat(t, {
8050
8051
  ...s
8051
8052
  });
8052
- return (a) => o.format(a);
8053
+ return (l) => o.format(l);
8053
8054
  }),
8054
- relativetime: Y((t, s) => {
8055
+ relativetime: U((t, s) => {
8055
8056
  const o = new Intl.RelativeTimeFormat(t, {
8056
8057
  ...s
8057
8058
  });
8058
- return (a) => o.format(a, s.range || "day");
8059
+ return (l) => o.format(l, s.range || "day");
8059
8060
  }),
8060
- list: Y((t, s) => {
8061
+ list: U((t, s) => {
8061
8062
  const o = new Intl.ListFormat(t, {
8062
8063
  ...s
8063
8064
  });
8064
- return (a) => o.format(a);
8065
+ return (l) => o.format(l);
8065
8066
  })
8066
8067
  }, this.init(e);
8067
8068
  }
@@ -8075,26 +8076,26 @@ class z5 {
8075
8076
  this.formats[e.toLowerCase().trim()] = t;
8076
8077
  }
8077
8078
  addCached(e, t) {
8078
- this.formats[e.toLowerCase().trim()] = Y(t);
8079
+ this.formats[e.toLowerCase().trim()] = U(t);
8079
8080
  }
8080
8081
  format(e, t, s) {
8081
8082
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8082
- const a = t.split(this.formatSeparator);
8083
- if (a.length > 1 && a[0].indexOf("(") > 1 && a[0].indexOf(")") < 0 && a.find((r) => r.indexOf(")") > -1)) {
8084
- const r = a.findIndex((d) => d.indexOf(")") > -1);
8085
- a[0] = [a[0], ...a.splice(1, r)].join(this.formatSeparator);
8083
+ const l = t.split(this.formatSeparator);
8084
+ if (l.length > 1 && l[0].indexOf("(") > 1 && l[0].indexOf(")") < 0 && l.find((r) => r.indexOf(")") > -1)) {
8085
+ const r = l.findIndex((d) => d.indexOf(")") > -1);
8086
+ l[0] = [l[0], ...l.splice(1, r)].join(this.formatSeparator);
8086
8087
  }
8087
- return a.reduce((r, d) => {
8088
+ return l.reduce((r, d) => {
8088
8089
  const {
8089
8090
  formatName: g,
8090
- formatOptions: l
8091
- } = U5(d);
8091
+ formatOptions: a
8092
+ } = z5(d);
8092
8093
  if (this.formats[g]) {
8093
8094
  let h = r;
8094
8095
  try {
8095
8096
  const u = o && o.formatParams && o.formatParams[o.interpolationkey] || {}, p = u.locale || u.lng || o.locale || o.lng || s;
8096
8097
  h = this.formats[g](r, p, {
8097
- ...l,
8098
+ ...a,
8098
8099
  ...o,
8099
8100
  ...u
8100
8101
  });
@@ -8108,53 +8109,53 @@ class z5 {
8108
8109
  }, e);
8109
8110
  }
8110
8111
  }
8111
- const J5 = (i, e) => {
8112
+ const Q5 = (i, e) => {
8112
8113
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8113
8114
  };
8114
- class Q5 extends u1 {
8115
+ class q5 extends u1 {
8115
8116
  constructor(e, t, s) {
8116
8117
  let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8117
8118
  super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = Z.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
- const a = {}, c = {}, r = {}, d = {};
8121
+ const l = {}, c = {}, r = {}, d = {};
8121
8122
  return e.forEach((g) => {
8122
- let l = !0;
8123
+ let a = !0;
8123
8124
  t.forEach((h) => {
8124
8125
  const u = `${g}|${h}`;
8125
- !s.reload && this.store.hasResourceBundle(g, h) ? this.state[u] = 2 : this.state[u] < 0 || (this.state[u] === 1 ? c[u] === void 0 && (c[u] = !0) : (this.state[u] = 1, l = !1, c[u] === void 0 && (c[u] = !0), a[u] === void 0 && (a[u] = !0), d[h] === void 0 && (d[h] = !0)));
8126
- }), l || (r[g] = !0);
8127
- }), (Object.keys(a).length || Object.keys(c).length) && this.queue.push({
8126
+ !s.reload && this.store.hasResourceBundle(g, h) ? this.state[u] = 2 : this.state[u] < 0 || (this.state[u] === 1 ? c[u] === void 0 && (c[u] = !0) : (this.state[u] = 1, a = !1, c[u] === void 0 && (c[u] = !0), l[u] === void 0 && (l[u] = !0), d[h] === void 0 && (d[h] = !0)));
8127
+ }), a || (r[g] = !0);
8128
+ }), (Object.keys(l).length || Object.keys(c).length) && this.queue.push({
8128
8129
  pending: c,
8129
8130
  pendingCount: Object.keys(c).length,
8130
8131
  loaded: {},
8131
8132
  errors: [],
8132
8133
  callback: o
8133
8134
  }), {
8134
- toLoad: Object.keys(a),
8135
+ toLoad: Object.keys(l),
8135
8136
  pending: Object.keys(c),
8136
8137
  toLoadLanguages: Object.keys(r),
8137
8138
  toLoadNamespaces: Object.keys(d)
8138
8139
  };
8139
8140
  }
8140
8141
  loaded(e, t, s) {
8141
- const o = e.split("|"), a = o[0], c = o[1];
8142
- t && this.emit("failedLoading", a, c, t), !t && s && this.store.addResourceBundle(a, c, s, void 0, void 0, {
8142
+ const o = e.split("|"), l = o[0], c = o[1];
8143
+ t && this.emit("failedLoading", l, c, t), !t && s && this.store.addResourceBundle(l, c, s, void 0, void 0, {
8143
8144
  skipCopy: !0
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
- S5(d.loaded, [a], c), J5(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8148
+ O5(d.loaded, [l], c), Q5(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
- const l = d.loaded[g];
8150
- l.length && l.forEach((h) => {
8150
+ const a = d.loaded[g];
8151
+ a.length && a.forEach((h) => {
8151
8152
  r[g][h] === void 0 && (r[g][h] = !0);
8152
8153
  });
8153
8154
  }), d.done = !0, d.errors.length ? d.callback(d.errors) : d.callback());
8154
8155
  }), this.emit("loaded", r), this.queue = this.queue.filter((d) => !d.done);
8155
8156
  }
8156
8157
  read(e, t, s) {
8157
- let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
8158
+ let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
8158
8159
  if (!e.length) return c(null, {});
8159
8160
  if (this.readingCalls >= this.maxParallelReads) {
8160
8161
  this.waitingReads.push({
@@ -8162,29 +8163,29 @@ class Q5 extends u1 {
8162
8163
  ns: t,
8163
8164
  fcName: s,
8164
8165
  tried: o,
8165
- wait: a,
8166
+ wait: l,
8166
8167
  callback: c
8167
8168
  });
8168
8169
  return;
8169
8170
  }
8170
8171
  this.readingCalls++;
8171
- const r = (g, l) => {
8172
+ const r = (g, a) => {
8172
8173
  if (this.readingCalls--, this.waitingReads.length > 0) {
8173
8174
  const h = this.waitingReads.shift();
8174
8175
  this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
8175
8176
  }
8176
- if (g && l && o < this.maxRetries) {
8177
+ if (g && a && o < this.maxRetries) {
8177
8178
  setTimeout(() => {
8178
- this.read.call(this, e, t, s, o + 1, a * 2, c);
8179
- }, a);
8179
+ this.read.call(this, e, t, s, o + 1, l * 2, c);
8180
+ }, l);
8180
8181
  return;
8181
8182
  }
8182
- c(g, l);
8183
+ c(g, a);
8183
8184
  }, d = this.backend[s].bind(this.backend);
8184
8185
  if (d.length === 2) {
8185
8186
  try {
8186
8187
  const g = d(e, t);
8187
- g && typeof g.then == "function" ? g.then((l) => r(null, l)).catch(r) : r(null, g);
8188
+ g && typeof g.then == "function" ? g.then((a) => r(null, a)).catch(r) : r(null, g);
8188
8189
  } catch (g) {
8189
8190
  r(g);
8190
8191
  }
@@ -8197,10 +8198,10 @@ class Q5 extends u1 {
8197
8198
  if (!this.backend)
8198
8199
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), o && o();
8199
8200
  typeof e == "string" && (e = this.languageUtils.toResolveHierarchy(e)), typeof t == "string" && (t = [t]);
8200
- const a = this.queueLoad(e, t, s, o);
8201
- if (!a.toLoad.length)
8202
- return a.pending.length || o(), null;
8203
- a.toLoad.forEach((c) => {
8201
+ const l = this.queueLoad(e, t, s, o);
8202
+ if (!l.toLoad.length)
8203
+ return l.pending.length || o(), null;
8204
+ l.toLoad.forEach((c) => {
8204
8205
  this.loadOne(c);
8205
8206
  });
8206
8207
  }
@@ -8214,12 +8215,12 @@ class Q5 extends u1 {
8214
8215
  }
8215
8216
  loadOne(e) {
8216
8217
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
8217
- const s = e.split("|"), o = s[0], a = s[1];
8218
- this.read(o, a, "read", void 0, void 0, (c, r) => {
8219
- c && this.logger.warn(`${t}loading namespace ${a} for language ${o} failed`, c), !c && r && this.logger.log(`${t}loaded namespace ${a} for language ${o}`, r), this.loaded(e, c, r);
8218
+ const s = e.split("|"), o = s[0], l = s[1];
8219
+ this.read(o, l, "read", void 0, void 0, (c, r) => {
8220
+ c && this.logger.warn(`${t}loading namespace ${l} for language ${o} failed`, c), !c && r && this.logger.log(`${t}loaded namespace ${l} for language ${o}`, r), this.loaded(e, c, r);
8220
8221
  });
8221
8222
  }
8222
- saveMissing(e, t, s, o, a) {
8223
+ saveMissing(e, t, s, o, l) {
8223
8224
  let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, r = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
8224
8225
  };
8225
8226
  if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
@@ -8230,14 +8231,14 @@ class Q5 extends u1 {
8230
8231
  if (this.backend && this.backend.create) {
8231
8232
  const d = {
8232
8233
  ...c,
8233
- isUpdate: a
8234
+ isUpdate: l
8234
8235
  }, g = this.backend.create.bind(this.backend);
8235
8236
  if (g.length < 6)
8236
8237
  try {
8237
- let l;
8238
- g.length === 5 ? l = g(e, t, s, o, d) : l = g(e, t, s, o), l && typeof l.then == "function" ? l.then((h) => r(null, h)).catch(r) : r(null, l);
8239
- } catch (l) {
8240
- r(l);
8238
+ let a;
8239
+ g.length === 5 ? a = g(e, t, s, o, d) : a = g(e, t, s, o), a && typeof a.then == "function" ? a.then((h) => r(null, h)).catch(r) : r(null, a);
8240
+ } catch (a) {
8241
+ r(a);
8241
8242
  }
8242
8243
  else
8243
8244
  g(e, t, s, o, r, d);
@@ -8246,7 +8247,7 @@ class Q5 extends u1 {
8246
8247
  }
8247
8248
  }
8248
8249
  }
8249
- const O1 = () => ({
8250
+ const A1 = () => ({
8250
8251
  debug: !1,
8251
8252
  initImmediate: !0,
8252
8253
  ns: ["translation"],
@@ -8302,18 +8303,18 @@ const O1 = () => ({
8302
8303
  maxReplaces: 1e3,
8303
8304
  skipOnVariables: !0
8304
8305
  }
8305
- }), A1 = (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), l1 = () => {
8306
- }, q5 = (i) => {
8306
+ }), B1 = (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), l1 = () => {
8307
+ }, X5 = (i) => {
8307
8308
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8308
8309
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8309
8310
  });
8310
8311
  };
8311
- class X extends u1 {
8312
+ class t1 extends u1 {
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 = A1(e), this.services = {}, this.logger = Z, this.modules = {
8315
+ if (super(), this.options = B1(e), this.services = {}, this.logger = Z, this.modules = {
8315
8316
  external: []
8316
- }, q5(this), t && !this.isInitialized && !e.isClone) {
8317
+ }, X5(this), t && !this.isInitialized && !e.isClone) {
8317
8318
  if (!this.options.initImmediate)
8318
8319
  return this.init(e, t), this;
8319
8320
  setTimeout(() => {
@@ -8325,60 +8326,60 @@ class X extends u1 {
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 = O1();
8329
+ const o = A1();
8329
8330
  this.options = {
8330
8331
  ...o,
8331
8332
  ...this.options,
8332
- ...A1(t)
8333
+ ...B1(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
- const a = (l) => l ? typeof l == "function" ? new l() : l : null;
8338
+ const l = (a) => a ? typeof a == "function" ? new a() : a : null;
8338
8339
  if (!this.options.isClone) {
8339
- this.modules.logger ? Z.init(a(this.modules.logger), this.options) : Z.init(null, this.options);
8340
- let l;
8341
- this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = z5);
8342
- const h = new V1(this.options);
8343
- this.store = new H1(this.options.resources, this.options);
8340
+ this.modules.logger ? Z.init(l(this.modules.logger), this.options) : Z.init(null, this.options);
8341
+ let a;
8342
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = J5);
8343
+ const h = new I1(this.options);
8344
+ this.store = new _1(this.options.resources, this.options);
8344
8345
  const u = this.services;
8345
- u.logger = Z, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new $5(h, {
8346
+ u.logger = Z, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new Y5(h, {
8346
8347
  prepend: this.options.pluralSeparator,
8347
8348
  compatibilityJSON: this.options.compatibilityJSON,
8348
8349
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8349
- }), l && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (u.formatter = a(l), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Y5(this.options), u.utils = {
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 U5(this.options), u.utils = {
8350
8351
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8351
- }, u.backendConnector = new Q5(a(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
8352
- for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
8353
- v[N - 1] = arguments[N];
8354
- e.emit(p, ...v);
8355
- }), this.modules.languageDetector && (u.languageDetector = a(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = a(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new g1(this.services, this.options), this.translator.on("*", function(p) {
8356
- for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), N = 1; N < w; N++)
8357
- v[N - 1] = arguments[N];
8358
- e.emit(p, ...v);
8352
+ }, u.backendConnector = new q5(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
8353
+ for (var m = arguments.length, N = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
8354
+ N[v - 1] = arguments[v];
8355
+ e.emit(p, ...N);
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 g1(this.services, this.options), this.translator.on("*", function(p) {
8357
+ for (var m = arguments.length, N = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
8358
+ N[v - 1] = arguments[v];
8359
+ e.emit(p, ...N);
8359
8360
  }), this.modules.external.forEach((p) => {
8360
8361
  p.init && p.init(this);
8361
8362
  });
8362
8363
  }
8363
8364
  if (this.format = this.options.interpolation.format, s || (s = l1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
8364
- const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8365
- l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
8365
+ const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
8366
+ a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
8366
8367
  }
8367
- !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((l) => {
8368
- this[l] = function() {
8369
- return e.store[l](...arguments);
8368
+ !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((a) => {
8369
+ this[a] = function() {
8370
+ return e.store[a](...arguments);
8370
8371
  };
8371
- }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((l) => {
8372
- this[l] = function() {
8373
- return e.store[l](...arguments), e;
8372
+ }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((a) => {
8373
+ this[a] = function() {
8374
+ return e.store[a](...arguments), e;
8374
8375
  };
8375
8376
  });
8376
- const d = Q(), g = () => {
8377
- const l = (h, u) => {
8377
+ const d = X(), g = () => {
8378
+ const a = (h, u) => {
8378
8379
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(u), s(h, u);
8379
8380
  };
8380
- if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
8381
- this.changeLanguage(this.options.lng, l);
8381
+ if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return a(null, this.t.bind(this));
8382
+ this.changeLanguage(this.options.lng, a);
8382
8383
  };
8383
8384
  return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
8384
8385
  }
@@ -8387,28 +8388,28 @@ class X extends u1 {
8387
8388
  const o = typeof e == "string" ? e : this.language;
8388
8389
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
8389
8390
  if (o && o.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
8390
- const a = [], c = (r) => {
8391
+ const l = [], c = (r) => {
8391
8392
  if (!r || r === "cimode") return;
8392
8393
  this.services.languageUtils.toResolveHierarchy(r).forEach((g) => {
8393
- g !== "cimode" && a.indexOf(g) < 0 && a.push(g);
8394
+ g !== "cimode" && l.indexOf(g) < 0 && l.push(g);
8394
8395
  });
8395
8396
  };
8396
- o ? c(o) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((d) => c(d)), this.options.preload && this.options.preload.forEach((r) => c(r)), this.services.backendConnector.load(a, this.options.ns, (r) => {
8397
+ o ? c(o) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((d) => c(d)), this.options.preload && this.options.preload.forEach((r) => c(r)), this.services.backendConnector.load(l, this.options.ns, (r) => {
8397
8398
  !r && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(r);
8398
8399
  });
8399
8400
  } else
8400
8401
  s(null);
8401
8402
  }
8402
8403
  reloadResources(e, t, s) {
8403
- const o = Q();
8404
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = l1), this.services.backendConnector.reload(e, t, (a) => {
8405
- o.resolve(), s(a);
8404
+ const o = X();
8405
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = l1), this.services.backendConnector.reload(e, t, (l) => {
8406
+ o.resolve(), s(l);
8406
8407
  }), o;
8407
8408
  }
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" && U1.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
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" && z1.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))
@@ -8423,12 +8424,12 @@ class X extends u1 {
8423
8424
  changeLanguage(e, t) {
8424
8425
  var s = this;
8425
8426
  this.isLanguageChangingTo = e;
8426
- const o = Q();
8427
+ const o = X();
8427
8428
  this.emit("languageChanging", e);
8428
- const a = (d) => {
8429
+ const l = (d) => {
8429
8430
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
8430
8431
  }, c = (d, g) => {
8431
- g ? (a(g), this.translator.changeLanguage(g), this.isLanguageChangingTo = void 0, this.emit("languageChanged", g), this.logger.log("languageChanged", g)) : this.isLanguageChangingTo = void 0, o.resolve(function() {
8432
+ g ? (l(g), this.translator.changeLanguage(g), this.isLanguageChangingTo = void 0, this.emit("languageChanged", g), this.logger.log("languageChanged", g)) : this.isLanguageChangingTo = void 0, o.resolve(function() {
8432
8433
  return s.t(...arguments);
8433
8434
  }), t && t(d, function() {
8434
8435
  return s.t(...arguments);
@@ -8436,30 +8437,30 @@ class X extends u1 {
8436
8437
  }, r = (d) => {
8437
8438
  !e && !d && this.services.languageDetector && (d = []);
8438
8439
  const g = typeof d == "string" ? d : this.services.languageUtils.getBestMatchFromCodes(d);
8439
- g && (this.language || a(g), this.translator.language || this.translator.changeLanguage(g), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(g)), this.loadResources(g, (l) => {
8440
- c(l, g);
8440
+ g && (this.language || l(g), this.translator.language || this.translator.changeLanguage(g), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(g)), this.loadResources(g, (a) => {
8441
+ c(a, g);
8441
8442
  });
8442
8443
  };
8443
8444
  return !e && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(e), o;
8444
8445
  }
8445
8446
  getFixedT(e, t, s) {
8446
8447
  var o = this;
8447
- const a = function(c, r) {
8448
+ const l = function(c, r) {
8448
8449
  let d;
8449
8450
  if (typeof r != "object") {
8450
- for (var g = arguments.length, l = new Array(g > 2 ? g - 2 : 0), h = 2; h < g; h++)
8451
- l[h - 2] = arguments[h];
8452
- d = o.options.overloadTranslationOptionHandler([c, r].concat(l));
8451
+ for (var g = arguments.length, a = new Array(g > 2 ? g - 2 : 0), h = 2; h < g; h++)
8452
+ a[h - 2] = arguments[h];
8453
+ d = o.options.overloadTranslationOptionHandler([c, r].concat(a));
8453
8454
  } else
8454
8455
  d = {
8455
8456
  ...r
8456
8457
  };
8457
- d.lng = d.lng || a.lng, d.lngs = d.lngs || a.lngs, d.ns = d.ns || a.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || a.keyPrefix);
8458
+ d.lng = d.lng || l.lng, d.lngs = d.lngs || l.lngs, d.ns = d.ns || l.ns, d.keyPrefix !== "" && (d.keyPrefix = d.keyPrefix || s || l.keyPrefix);
8458
8459
  const u = o.options.keySeparator || ".";
8459
8460
  let p;
8460
- return d.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${d.keyPrefix}${u}${w}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, o.t(p, d);
8461
+ return d.keyPrefix && Array.isArray(c) ? p = c.map((m) => `${d.keyPrefix}${u}${m}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, o.t(p, d);
8461
8462
  };
8462
- return typeof e == "string" ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = s, a;
8463
+ return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
8463
8464
  }
8464
8465
  t() {
8465
8466
  return this.translator && this.translator.translate(...arguments);
@@ -8476,7 +8477,7 @@ class X extends u1 {
8476
8477
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
8477
8478
  if (!this.languages || !this.languages.length)
8478
8479
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
8479
- const s = t.lng || this.resolvedLanguage || this.languages[0], o = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1];
8480
+ const s = t.lng || this.resolvedLanguage || this.languages[0], o = this.options ? this.options.fallbackLng : !1, l = this.languages[this.languages.length - 1];
8480
8481
  if (s.toLowerCase() === "cimode") return !0;
8481
8482
  const c = (r, d) => {
8482
8483
  const g = this.services.backendConnector.state[`${r}|${d}`];
@@ -8486,10 +8487,10 @@ class X extends u1 {
8486
8487
  const r = t.precheck(this, c);
8487
8488
  if (r !== void 0) return r;
8488
8489
  }
8489
- return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!o || c(a, e)));
8490
+ return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!o || c(l, e)));
8490
8491
  }
8491
8492
  loadNamespaces(e, t) {
8492
- const s = Q();
8493
+ const s = X();
8493
8494
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((o) => {
8494
8495
  this.options.ns.indexOf(o) < 0 && this.options.ns.push(o);
8495
8496
  }), this.loadResources((o) => {
@@ -8497,21 +8498,21 @@ class X extends u1 {
8497
8498
  }), s) : (t && t(), Promise.resolve());
8498
8499
  }
8499
8500
  loadLanguages(e, t) {
8500
- const s = Q();
8501
+ const s = X();
8501
8502
  typeof e == "string" && (e = [e]);
8502
- const o = this.options.preload || [], a = e.filter((c) => o.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
8503
- return a.length ? (this.options.preload = o.concat(a), this.loadResources((c) => {
8503
+ const o = this.options.preload || [], l = e.filter((c) => o.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
8504
+ return l.length ? (this.options.preload = o.concat(l), this.loadResources((c) => {
8504
8505
  s.resolve(), t && t(c);
8505
8506
  }), s) : (t && t(), Promise.resolve());
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 V1(O1());
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 I1(A1());
8510
8511
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
8511
8512
  }
8512
8513
  static createInstance() {
8513
8514
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8514
- return new X(e, t);
8515
+ return new t1(e, t);
8515
8516
  }
8516
8517
  cloneInstance() {
8517
8518
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : l1;
@@ -8521,20 +8522,20 @@ class X extends u1 {
8521
8522
  ...this.options,
8522
8523
  ...e,
8523
8524
  isClone: !0
8524
- }, a = new X(o);
8525
- return (e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
8526
- a[r] = this[r];
8527
- }), a.services = {
8525
+ }, l = new t1(o);
8526
+ return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
8527
+ l[r] = this[r];
8528
+ }), l.services = {
8528
8529
  ...this.services
8529
- }, a.services.utils = {
8530
- hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
8531
- }, s && (a.store = new H1(this.store.data, o), a.services.resourceStore = a.store), a.translator = new g1(a.services, o), a.translator.on("*", function(r) {
8532
- for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), l = 1; l < d; l++)
8533
- g[l - 1] = arguments[l];
8534
- a.emit(r, ...g);
8535
- }), a.init(o, t), a.translator.options = o, a.translator.backendConnector.services.utils = {
8536
- hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
8537
- }, a;
8530
+ }, l.services.utils = {
8531
+ hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
8532
+ }, s && (l.store = new _1(this.store.data, o), l.services.resourceStore = l.store), l.translator = new g1(l.services, o), l.translator.on("*", function(r) {
8533
+ for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
8534
+ g[a - 1] = arguments[a];
8535
+ l.emit(r, ...g);
8536
+ }), l.init(o, t), l.translator.options = o, l.translator.backendConnector.services.utils = {
8537
+ hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
8538
+ }, l;
8538
8539
  }
8539
8540
  toJSON() {
8540
8541
  return {
@@ -8546,36 +8547,36 @@ class X extends u1 {
8546
8547
  };
8547
8548
  }
8548
8549
  }
8549
- const I = X.createInstance();
8550
- I.createInstance = X.createInstance;
8551
- I.createInstance;
8552
- I.dir;
8553
- I.init;
8554
- I.loadResources;
8555
- I.reloadResources;
8556
- I.use;
8557
- I.changeLanguage;
8558
- I.getFixedT;
8559
- I.t;
8560
- I.exists;
8561
- I.setDefaultNamespace;
8562
- I.hasLoadedNamespace;
8563
- I.loadNamespaces;
8564
- I.loadLanguages;
8565
- function X5() {
8550
+ const _ = t1.createInstance();
8551
+ _.createInstance = t1.createInstance;
8552
+ _.createInstance;
8553
+ _.dir;
8554
+ _.init;
8555
+ _.loadResources;
8556
+ _.reloadResources;
8557
+ _.use;
8558
+ _.changeLanguage;
8559
+ _.getFixedT;
8560
+ _.t;
8561
+ _.exists;
8562
+ _.setDefaultNamespace;
8563
+ _.hasLoadedNamespace;
8564
+ _.loadNamespaces;
8565
+ _.loadLanguages;
8566
+ function e3() {
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
- K(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8570
+ $(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
8570
8571
  }
8571
8572
  }
8572
- const B1 = {};
8573
+ const Z1 = {};
8573
8574
  function L1() {
8574
8575
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
8575
8576
  e[t] = arguments[t];
8576
- K(e[0]) && B1[e[0]] || (K(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), X5(...e));
8577
+ $(e[0]) && Z1[e[0]] || ($(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), e3(...e));
8577
8578
  }
8578
- const z1 = (i, e) => () => {
8579
+ const J1 = (i, e) => () => {
8579
8580
  if (i.isInitialized)
8580
8581
  e();
8581
8582
  else {
@@ -8586,30 +8587,30 @@ const z1 = (i, e) => () => {
8586
8587
  };
8587
8588
  i.on("initialized", t);
8588
8589
  }
8589
- }, Z1 = (i, e, t) => {
8590
- i.loadNamespaces(e, z1(i, t));
8591
- }, W1 = (i, e, t, s) => {
8592
- K(t) && (t = [t]), t.forEach((o) => {
8590
+ }, W1 = (i, e, t) => {
8591
+ i.loadNamespaces(e, J1(i, t));
8592
+ }, j1 = (i, e, t, s) => {
8593
+ $(t) && (t = [t]), t.forEach((o) => {
8593
8594
  i.options.ns.indexOf(o) < 0 && i.options.ns.push(o);
8594
- }), i.loadLanguages(e, z1(i, s));
8595
- }, e3 = function(i, e) {
8595
+ }), i.loadLanguages(e, J1(i, s));
8596
+ }, t3 = function(i, e) {
8596
8597
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8597
- const s = e.languages[0], o = e.options ? e.options.fallbackLng : !1, a = e.languages[e.languages.length - 1];
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;
8599
8600
  const c = (r, d) => {
8600
8601
  const g = e.services.backendConnector.state[`${r}|${d}`];
8601
8602
  return g === -1 || g === 2;
8602
8603
  };
8603
- 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(a, i)));
8604
- }, t3 = function(i, e) {
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)));
8605
+ }, i3 = function(i, e) {
8605
8606
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8606
8607
  return !e.languages || !e.languages.length ? (L1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
8607
8608
  lng: t.lng,
8608
- precheck: (o, a) => {
8609
- if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !a(o.isLanguageChangingTo, i)) return !1;
8609
+ precheck: (o, l) => {
8610
+ if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !l(o.isLanguageChangingTo, i)) return !1;
8610
8611
  }
8611
- }) : e3(i, e, t);
8612
- }, K = (i) => typeof i == "string", i3 = (i) => typeof i == "object" && i !== null, s3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, o3 = {
8612
+ }) : t3(i, e, t);
8613
+ }, $ = (i) => typeof i == "string", s3 = (i) => typeof i == "object" && i !== null, o3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, n3 = {
8613
8614
  "&amp;": "&",
8614
8615
  "&#38;": "&",
8615
8616
  "&lt;": "<",
@@ -8630,7 +8631,7 @@ const z1 = (i, e) => () => {
8630
8631
  "&#8230;": "…",
8631
8632
  "&#x2F;": "/",
8632
8633
  "&#47;": "/"
8633
- }, n3 = (i) => o3[i], r3 = (i) => i.replace(s3, n3);
8634
+ }, r3 = (i) => n3[i], l3 = (i) => i.replace(o3, r3);
8634
8635
  let v1 = {
8635
8636
  bindI18n: "languageChanged",
8636
8637
  bindI18nStore: "",
@@ -8639,27 +8640,27 @@ let v1 = {
8639
8640
  transWrapTextNodes: "",
8640
8641
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
8641
8642
  useSuspense: !0,
8642
- unescape: r3
8643
+ unescape: l3
8643
8644
  };
8644
- const l3 = function() {
8645
+ const a3 = function() {
8645
8646
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8646
8647
  v1 = {
8647
8648
  ...v1,
8648
8649
  ...i
8649
8650
  };
8650
- }, a3 = () => v1;
8651
- let J1;
8652
- const h3 = (i) => {
8653
- J1 = i;
8654
- }, c3 = () => J1, d3 = {
8651
+ }, h3 = () => v1;
8652
+ let Q1;
8653
+ const c3 = (i) => {
8654
+ Q1 = i;
8655
+ }, d3 = () => Q1, g3 = {
8655
8656
  type: "3rdParty",
8656
8657
  init(i) {
8657
- l3(i.options.react), h3(i);
8658
+ a3(i.options.react), c3(i);
8658
8659
  }
8659
- }, g3 = e1();
8660
- class C3 {
8660
+ }, C3 = i1();
8661
+ class u3 {
8661
8662
  constructor() {
8662
- x1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
8663
+ R1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
8663
8664
  this.usedNamespaces = {};
8664
8665
  }
8665
8666
  addUsedNamespaces(e) {
@@ -8668,130 +8669,130 @@ class C3 {
8668
8669
  });
8669
8670
  }
8670
8671
  }
8671
- const u3 = (i, e) => {
8672
+ const p3 = (i, e) => {
8672
8673
  const t = N1();
8673
- return A(() => {
8674
+ return B(() => {
8674
8675
  t.current = i;
8675
8676
  }, [i, e]), t.current;
8676
- }, Q1 = (i, e, t, s) => i.getFixedT(e, t, s), p3 = (i, e, t, s) => j(Q1(i, e, t, s), [i, e, t, s]), f3 = function(i) {
8677
+ }, q1 = (i, e, t, s) => i.getFixedT(e, t, s), f3 = (i, e, t, s) => j(q1(i, e, t, s), [i, e, t, s]), w3 = 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
- } = t1(g3) || {}, a = t || s || c3();
8684
- if (a && !a.reportNamespaces && (a.reportNamespaces = new C3()), !a) {
8684
+ } = s1(C3) || {}, l = t || s || d3();
8685
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new u3()), !l) {
8685
8686
  L1("You will need to pass in an i18next instance by using initReactI18next");
8686
- const m = (b, y) => K(y) ? y : i3(y) && K(y.defaultValue) ? y.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, x = [m, {}, !1];
8687
- return x.t = m, x.i18n = {}, x.ready = !1, x;
8687
+ const f = (y, M) => $(M) ? M : s3(M) && $(M.defaultValue) ? M.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, x = [f, {}, !1];
8688
+ return x.t = f, x.i18n = {}, x.ready = !1, x;
8688
8689
  }
8689
- a.options.react && a.options.react.wait !== void 0 && L1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
8690
+ l.options.react && l.options.react.wait !== void 0 && L1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
8690
8691
  const c = {
8691
- ...a3(),
8692
- ...a.options.react,
8692
+ ...h3(),
8693
+ ...l.options.react,
8693
8694
  ...e
8694
8695
  }, {
8695
8696
  useSuspense: r,
8696
8697
  keyPrefix: d
8697
8698
  } = c;
8698
8699
  let g = i;
8699
- g = K(g) ? [g] : g || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(g);
8700
- const l = (a.isInitialized || a.initializedStoreOnce) && g.every((m) => t3(m, a, c)), h = p3(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => Q1(a, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [w, v] = S(u);
8701
- let N = g.join();
8702
- e.lng && (N = `${e.lng}${N}`);
8703
- const E = u3(N), R = N1(!0);
8704
- A(() => {
8700
+ g = $(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
8701
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => i3(f, l, c)), h = f3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => q1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, N] = S(u);
8702
+ let v = g.join();
8703
+ e.lng && (v = `${e.lng}${v}`);
8704
+ const E = p3(v), R = N1(!0);
8705
+ B(() => {
8705
8706
  const {
8706
- bindI18n: m,
8707
+ bindI18n: f,
8707
8708
  bindI18nStore: x
8708
8709
  } = c;
8709
- R.current = !0, !l && !r && (e.lng ? W1(a, e.lng, g, () => {
8710
- R.current && v(p);
8711
- }) : Z1(a, g, () => {
8712
- R.current && v(p);
8713
- })), l && E && E !== N && R.current && v(p);
8714
- const b = () => {
8715
- R.current && v(p);
8710
+ R.current = !0, !a && !r && (e.lng ? j1(l, e.lng, g, () => {
8711
+ R.current && N(p);
8712
+ }) : W1(l, g, () => {
8713
+ R.current && N(p);
8714
+ })), a && E && E !== v && R.current && N(p);
8715
+ const y = () => {
8716
+ R.current && N(p);
8716
8717
  };
8717
- return m && a && a.on(m, b), x && a && a.store.on(x, b), () => {
8718
- R.current = !1, m && a && m.split(" ").forEach((y) => a.off(y, b)), x && a && x.split(" ").forEach((y) => a.store.off(y, b));
8718
+ return f && l && l.on(f, y), x && l && l.store.on(x, y), () => {
8719
+ R.current = !1, f && l && f.split(" ").forEach((M) => l.off(M, y)), x && l && x.split(" ").forEach((M) => l.store.off(M, y));
8719
8720
  };
8720
- }, [a, N]), A(() => {
8721
- R.current && l && v(u);
8722
- }, [a, d, l]);
8723
- const M = [w, a, l];
8724
- if (M.t = w, M.i18n = a, M.ready = l, l || !l && !r) return M;
8725
- throw new Promise((m) => {
8726
- e.lng ? W1(a, e.lng, g, () => m()) : Z1(a, g, () => m());
8721
+ }, [l, v]), B(() => {
8722
+ R.current && a && N(u);
8723
+ }, [l, d, a]);
8724
+ const b = [m, l, a];
8725
+ if (b.t = m, b.i18n = l, b.ready = a, a || !a && !r) return b;
8726
+ throw new Promise((f) => {
8727
+ e.lng ? j1(l, e.lng, g, () => f()) : W1(l, g, () => f());
8727
8728
  });
8728
- }, w3 = "Country", m3 = {
8729
- placeholder: w3
8730
- }, k3 = "Страна", L3 = {
8731
- placeholder: k3
8729
+ }, m3 = "Country", k3 = {
8730
+ placeholder: m3
8731
+ }, L3 = "Страна", v3 = {
8732
+ placeholder: L3
8732
8733
  };
8733
- I.use(d3).init({
8734
+ _.use(g3).init({
8734
8735
  defaultNS: "common",
8735
8736
  lng: "en",
8736
8737
  resources: {
8737
8738
  en: {
8738
- common: m3
8739
+ common: k3
8739
8740
  },
8740
8741
  ru: {
8741
- common: L3
8742
+ common: v3
8742
8743
  }
8743
8744
  }
8744
8745
  });
8745
- const E3 = C1(
8746
- ({ width: i, selectedCity: e, setSelectedCity: t, onChange: s, value: o, id: a, disabled: c }, r) => {
8747
- const [d, g] = S([]), [l, h] = S([]), [u, p] = S(!1), { locale: w, axiosPeople: v } = t1(oe);
8748
- if (!v)
8746
+ const H3 = C1(
8747
+ ({ width: i, selectedCity: e, setSelectedCity: t, onChange: s, value: o, id: l, disabled: c }, r) => {
8748
+ const [d, g] = S([]), [a, h] = S([]), [u, p] = S(!1), { locale: m, axiosPeople: N } = s1(ne);
8749
+ if (!N)
8749
8750
  throw new Error(
8750
8751
  `CountrySelect requires "axiosPeople" to fetch counties.
8751
8752
  Please provide it via SNMTUiContext.`
8752
8753
  );
8753
- const { t: N } = f3("common", { lng: w }), E = j(async () => {
8754
+ const { t: v } = w3("common", { lng: m }), E = j(async () => {
8754
8755
  p(!0);
8755
8756
  try {
8756
- const M = await v.post("v1/countries/search");
8757
- h(M == null ? void 0 : M.data.data);
8757
+ const b = await N.post("v1/countries/search");
8758
+ h(b == null ? void 0 : b.data.data);
8758
8759
  } catch {
8759
8760
  g([]);
8760
8761
  } finally {
8761
8762
  p(!1);
8762
8763
  }
8763
- }, [v]);
8764
- A(() => {
8764
+ }, [N]);
8765
+ B(() => {
8765
8766
  E();
8766
- }, []), A(() => {
8767
+ }, []), B(() => {
8767
8768
  if (e) {
8768
- const M = e.split("-")[1], m = l.filter(
8769
- (x) => x.name.includes(M)
8769
+ const b = e.split("-")[1], f = a.filter(
8770
+ (x) => x.name.includes(b)
8770
8771
  );
8771
- if (m.length) {
8772
- const x = m.map((b) => ({
8773
- label: b.name,
8774
- value: b.name
8772
+ if (f.length) {
8773
+ const x = f.map((y) => ({
8774
+ label: y.name,
8775
+ value: y.name
8775
8776
  }));
8776
8777
  s(x[0].value);
8777
8778
  }
8778
8779
  }
8779
- }, [e, l, s]), A(() => {
8780
- const M = l.map((m) => ({
8781
- label: m.name,
8782
- value: m.name
8780
+ }, [e, a, s]), B(() => {
8781
+ const b = a.map((f) => ({
8782
+ label: f.name,
8783
+ value: f.name
8783
8784
  }));
8784
- g(M);
8785
- }, [l]);
8786
- const R = (M) => {
8787
- M === null ? (s(""), t && t("")) : (s(M), t && t(""));
8785
+ g(b);
8786
+ }, [a]);
8787
+ const R = (b) => {
8788
+ b === null ? (s(""), t && t("")) : (s(b), t && t(""));
8788
8789
  };
8789
8790
  return /* @__PURE__ */ n("div", { className: "snmt-country-select", children: /* @__PURE__ */ n(
8790
- H5,
8791
+ _5,
8791
8792
  {
8792
- id: a,
8793
+ id: l,
8793
8794
  width: i,
8794
- placeholder: N("placeholder"),
8795
+ placeholder: v("placeholder"),
8795
8796
  value: o,
8796
8797
  ref: r,
8797
8798
  onChange: R,
@@ -8803,5 +8804,5 @@ const E3 = C1(
8803
8804
  }
8804
8805
  );
8805
8806
  export {
8806
- E3 as CountrySelect
8807
+ H3 as CountrySelect
8807
8808
  };