@snmt-react-ui/user-select 2.5.5 → 2.5.7

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/user-select.js +919 -916
  2. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
- var oe = Object.defineProperty;
2
- var le = (i, e, t) => e in i ? oe(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var M1 = (i, e, t) => le(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var le = Object.defineProperty;
2
+ var ae = (i, e, t) => e in i ? le(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var y1 = (i, e, t) => ae(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as X, jsxs as C } from "react/jsx-runtime";
6
- import { createContext as r1, forwardRef as o1, useState as A, useRef as l1, useEffect as G, useCallback as j, useImperativeHandle as ae, useContext as a1 } from "react";
7
- import { Select as he, Flex as ce, Avatar as de, Checkbox as ge, Typography as K1, Tag as P1, Popover as Ce } from "antd";
8
- import { SNMTUiContext as ue } from "@snmt-react-ui/core";
5
+ import { jsx as r, Fragment as e1, jsxs as C } from "react/jsx-runtime";
6
+ import { createContext as r1, forwardRef as o1, useState as W, useRef as l1, useEffect as K, useCallback as G, useImperativeHandle as he, useContext as a1 } from "react";
7
+ import { Select as ce, Flex as de, Avatar as ge, Checkbox as Ce, Typography as P1, Tag as $1, Popover as ue } from "antd";
8
+ import { SNMTUiContext as pe } from "@snmt-react-ui/core";
9
9
  const d1 = ({
10
10
  children: i,
11
11
  direction: e = "row",
@@ -16,7 +16,7 @@ const d1 = ({
16
16
  gap: c,
17
17
  padding: o
18
18
  }) => /* @__PURE__ */ r(
19
- ce,
19
+ de,
20
20
  {
21
21
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
22
22
  vertical: e === "column",
@@ -28,10 +28,10 @@ const d1 = ({
28
28
  style: { padding: o },
29
29
  children: i
30
30
  }
31
- ), pe = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
31
+ ), fe = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
32
32
  const n = typeof s.src == "string";
33
33
  return /* @__PURE__ */ r(
34
- de,
34
+ ge,
35
35
  {
36
36
  className: `snmt-avatar ${n ? "image" : ""}`,
37
37
  shape: i,
@@ -42,13 +42,13 @@ const d1 = ({
42
42
  }
43
43
  );
44
44
  };
45
- var q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(q || {});
46
- const $1 = r1({
45
+ var X = /* @__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))(X || {});
46
+ const F1 = r1({
47
47
  locale: "en",
48
48
  theme: "light"
49
49
  });
50
- $1.Provider;
51
- const fe = ({
50
+ F1.Provider;
51
+ const we = ({
52
52
  checked: i = !0,
53
53
  indeterminate: e = !1,
54
54
  children: t,
@@ -56,13 +56,13 @@ const fe = ({
56
56
  disabled: n = !1,
57
57
  disableUncheck: l = !1
58
58
  }) => {
59
- const [c, o] = A(i), [d, g] = A(e);
60
- G(() => {
59
+ const [c, o] = W(i), [d, g] = W(e);
60
+ K(() => {
61
61
  o(i), g(e);
62
62
  }, [i, e]);
63
- const { theme: a } = a1($1);
63
+ const { theme: a } = a1(F1);
64
64
  return /* @__PURE__ */ r(
65
- ge,
65
+ Ce,
66
66
  {
67
67
  className: `snmt-checkbox snmt-checkbox-${a}`,
68
68
  checked: c,
@@ -75,13 +75,13 @@ const fe = ({
75
75
  }
76
76
  );
77
77
  };
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 F1 = r1({
78
+ var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(L || {});
79
+ const Y1 = r1({
80
80
  locale: "en",
81
81
  theme: "light"
82
82
  });
83
- F1.Provider;
84
- const we = ({
83
+ Y1.Provider;
84
+ const me = ({
85
85
  width: i = 20,
86
86
  height: e = 20,
87
87
  color: t = "#001E52",
@@ -108,7 +108,7 @@ const we = ({
108
108
  }
109
109
  )
110
110
  }
111
- ), me = ({
111
+ ), ke = ({
112
112
  width: i = 20,
113
113
  height: e = 20,
114
114
  color: t = "#001E52",
@@ -135,7 +135,7 @@ const we = ({
135
135
  }
136
136
  )
137
137
  }
138
- ), ke = ({
138
+ ), Le = ({
139
139
  width: i = 16,
140
140
  height: e = 16,
141
141
  color: t = "#001E52",
@@ -163,7 +163,7 @@ const we = ({
163
163
  )
164
164
  ]
165
165
  }
166
- ), Le = ({
166
+ ), ve = ({
167
167
  width: i = 20,
168
168
  height: e = 20,
169
169
  color: t = "#001E52",
@@ -198,7 +198,7 @@ const we = ({
198
198
  )
199
199
  ]
200
200
  }
201
- ), ve = ({
201
+ ), Ne = ({
202
202
  width: i = 18,
203
203
  height: e = 18,
204
204
  color: t = "#001E52",
@@ -237,7 +237,7 @@ const we = ({
237
237
  )
238
238
  ]
239
239
  }
240
- ), Ne = ({
240
+ ), xe = ({
241
241
  width: i = 20,
242
242
  height: e = 20,
243
243
  color: t = "#001E52",
@@ -263,7 +263,7 @@ const we = ({
263
263
  }
264
264
  )
265
265
  }
266
- ), xe = ({
266
+ ), Me = ({
267
267
  width: i = 20,
268
268
  height: e = 20,
269
269
  color: t = "#001E52",
@@ -316,7 +316,7 @@ const we = ({
316
316
  )
317
317
  ]
318
318
  }
319
- ), Me = ({
319
+ ), ye = ({
320
320
  width: i = 20,
321
321
  height: e = 20,
322
322
  color: t = "#001E52",
@@ -370,7 +370,7 @@ const we = ({
370
370
  )
371
371
  ]
372
372
  }
373
- ), ye = ({
373
+ ), be = ({
374
374
  width: i = 20,
375
375
  height: e = 20,
376
376
  color: t = "#001E52",
@@ -409,7 +409,7 @@ const we = ({
409
409
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
410
410
  ]
411
411
  }
412
- ), be = ({
412
+ ), Ee = ({
413
413
  width: i = 16,
414
414
  height: e = 12,
415
415
  color: t = "#001E52",
@@ -458,7 +458,7 @@ const we = ({
458
458
  )
459
459
  ] })
460
460
  }
461
- ), Ee = ({
461
+ ), He = ({
462
462
  width: i = 16,
463
463
  height: e = 16,
464
464
  color: t = "#001E52",
@@ -492,7 +492,7 @@ const we = ({
492
492
  )
493
493
  ]
494
494
  }
495
- ), He = ({
495
+ ), Ve = ({
496
496
  width: i = 10,
497
497
  height: e = 10,
498
498
  color: t = "#001E52",
@@ -531,7 +531,7 @@ const we = ({
531
531
  )
532
532
  ] })
533
533
  }
534
- ), Ve = ({
534
+ ), _e = ({
535
535
  width: i = 16,
536
536
  height: e = 16,
537
537
  color: t = "#001E52",
@@ -567,7 +567,7 @@ const we = ({
567
567
  )
568
568
  ]
569
569
  }
570
- ), _e = ({
570
+ ), Ie = ({
571
571
  width: i = 11,
572
572
  height: e = 32,
573
573
  color: t = "#001E52",
@@ -605,7 +605,7 @@ const we = ({
605
605
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
606
606
  ]
607
607
  }
608
- ), Ie = ({
608
+ ), Oe = ({
609
609
  width: i = 20,
610
610
  height: e = 20,
611
611
  color: t = "#001E52",
@@ -652,7 +652,7 @@ const we = ({
652
652
  )
653
653
  ]
654
654
  }
655
- ), Oe = ({
655
+ ), Se = ({
656
656
  width: i = 20,
657
657
  height: e = 20,
658
658
  color: t = "#001E52",
@@ -685,7 +685,7 @@ const we = ({
685
685
  )
686
686
  ]
687
687
  }
688
- ), Se = ({
688
+ ), Ae = ({
689
689
  width: i = 20,
690
690
  height: e = 20,
691
691
  color: t = "#001E52",
@@ -732,7 +732,7 @@ const we = ({
732
732
  )
733
733
  ]
734
734
  }
735
- ), Ae = ({
735
+ ), Be = ({
736
736
  width: i = 20,
737
737
  height: e = 20,
738
738
  color: t = "#001E52",
@@ -765,7 +765,7 @@ const we = ({
765
765
  )
766
766
  ]
767
767
  }
768
- ), Be = ({
768
+ ), Ze = ({
769
769
  width: i = 18,
770
770
  height: e = 16,
771
771
  color: t = "#001E52",
@@ -804,7 +804,7 @@ const we = ({
804
804
  )
805
805
  ]
806
806
  }
807
- ), Ze = ({
807
+ ), We = ({
808
808
  width: i = 20,
809
809
  height: e = 20,
810
810
  color: t = "#001E52",
@@ -837,7 +837,7 @@ const we = ({
837
837
  )
838
838
  ]
839
839
  }
840
- ), We = ({
840
+ ), je = ({
841
841
  width: i = 20,
842
842
  height: e = 20,
843
843
  color: t = "#001E52",
@@ -861,7 +861,7 @@ const we = ({
861
861
  }
862
862
  )
863
863
  }
864
- ), je = ({
864
+ ), De = ({
865
865
  width: i = 20,
866
866
  height: e = 20,
867
867
  color: t = "#001E52",
@@ -908,7 +908,7 @@ const we = ({
908
908
  )
909
909
  ]
910
910
  }
911
- ), De = ({
911
+ ), Te = ({
912
912
  width: i = 20,
913
913
  height: e = 20,
914
914
  color: t = "#001E52",
@@ -941,7 +941,7 @@ const we = ({
941
941
  )
942
942
  ]
943
943
  }
944
- ), Te = ({
944
+ ), Ge = ({
945
945
  width: i = 20,
946
946
  height: e = 20,
947
947
  color: t = "#001E52",
@@ -974,7 +974,7 @@ const we = ({
974
974
  )
975
975
  ]
976
976
  }
977
- ), Ge = ({
977
+ ), Ke = ({
978
978
  width: i = 20,
979
979
  height: e = 23,
980
980
  color: t = "#001E52",
@@ -1035,7 +1035,7 @@ const we = ({
1035
1035
  )
1036
1036
  ]
1037
1037
  }
1038
- ), Ke = ({
1038
+ ), Pe = ({
1039
1039
  width: i = 20,
1040
1040
  height: e = 20,
1041
1041
  color: t = "#001E52",
@@ -1075,7 +1075,7 @@ const we = ({
1075
1075
  )
1076
1076
  ]
1077
1077
  }
1078
- ), Pe = ({
1078
+ ), $e = ({
1079
1079
  width: i = 32,
1080
1080
  height: e = 25,
1081
1081
  color: t = "#001E52",
@@ -1103,7 +1103,7 @@ const we = ({
1103
1103
  )
1104
1104
  ]
1105
1105
  }
1106
- ), $e = ({
1106
+ ), Fe = ({
1107
1107
  width: i = 14,
1108
1108
  height: e = 14,
1109
1109
  color: t = "#10B981",
@@ -1132,7 +1132,7 @@ const we = ({
1132
1132
  )
1133
1133
  ]
1134
1134
  }
1135
- ), Fe = ({
1135
+ ), Ye = ({
1136
1136
  width: i = 11,
1137
1137
  height: e = 11,
1138
1138
  color: t = "#FFB020",
@@ -1166,7 +1166,7 @@ const we = ({
1166
1166
  )
1167
1167
  ]
1168
1168
  }
1169
- ), Ye = ({
1169
+ ), Ue = ({
1170
1170
  width: i = 10,
1171
1171
  height: e = 10,
1172
1172
  color: t = "#88A4FF",
@@ -1214,7 +1214,7 @@ const we = ({
1214
1214
  )
1215
1215
  ]
1216
1216
  }
1217
- ), Ue = ({
1217
+ ), ze = ({
1218
1218
  width: i = 14,
1219
1219
  height: e = 14,
1220
1220
  color: t = "#8E8E93",
@@ -1242,7 +1242,7 @@ const we = ({
1242
1242
  )
1243
1243
  ]
1244
1244
  }
1245
- ), ze = ({
1245
+ ), Je = ({
1246
1246
  width: i = 14,
1247
1247
  height: e = 14,
1248
1248
  color: t = "#FFB020",
@@ -1276,7 +1276,7 @@ const we = ({
1276
1276
  )
1277
1277
  ]
1278
1278
  }
1279
- ), Je = ({
1279
+ ), Qe = ({
1280
1280
  width: i = 14,
1281
1281
  height: e = 14,
1282
1282
  color: t = "#D0421B",
@@ -1324,7 +1324,7 @@ const we = ({
1324
1324
  )
1325
1325
  ]
1326
1326
  }
1327
- ), Qe = ({
1327
+ ), qe = ({
1328
1328
  width: i = 20,
1329
1329
  height: e = 20,
1330
1330
  color: t = "#070739",
@@ -1354,7 +1354,7 @@ const we = ({
1354
1354
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1355
1355
  ]
1356
1356
  }
1357
- ), qe = ({
1357
+ ), Xe = ({
1358
1358
  width: i = 20,
1359
1359
  height: e = 20,
1360
1360
  color: t = "#070739",
@@ -1392,7 +1392,7 @@ const we = ({
1392
1392
  )
1393
1393
  ]
1394
1394
  }
1395
- ), Xe = ({
1395
+ ), et = ({
1396
1396
  width: i = 9,
1397
1397
  height: e = 5,
1398
1398
  color: t = "#001E52",
@@ -1418,7 +1418,7 @@ const we = ({
1418
1418
  }
1419
1419
  )
1420
1420
  }
1421
- ), et = ({
1421
+ ), tt = ({
1422
1422
  width: i = 20,
1423
1423
  height: e = 20,
1424
1424
  color: t = "#F2F2F7",
@@ -1447,7 +1447,7 @@ const we = ({
1447
1447
  )
1448
1448
  ]
1449
1449
  }
1450
- ), tt = ({
1450
+ ), it = ({
1451
1451
  width: i = 20,
1452
1452
  height: e = 20,
1453
1453
  color: t = "#004ED7",
@@ -1476,7 +1476,7 @@ const we = ({
1476
1476
  )
1477
1477
  ]
1478
1478
  }
1479
- ), it = ({
1479
+ ), st = ({
1480
1480
  width: i = 248,
1481
1481
  height: e = 248,
1482
1482
  color: t = "#070739",
@@ -1513,7 +1513,7 @@ const we = ({
1513
1513
  )
1514
1514
  ]
1515
1515
  }
1516
- ), st = ({
1516
+ ), nt = ({
1517
1517
  width: i = 24,
1518
1518
  height: e = 24,
1519
1519
  color: t = "#001E52",
@@ -1552,7 +1552,7 @@ const we = ({
1552
1552
  )
1553
1553
  ]
1554
1554
  }
1555
- ), nt = ({
1555
+ ), rt = ({
1556
1556
  width: i = 10,
1557
1557
  height: e = 10,
1558
1558
  color: t = "#001E52",
@@ -1581,7 +1581,7 @@ const we = ({
1581
1581
  )
1582
1582
  ]
1583
1583
  }
1584
- ), rt = ({
1584
+ ), ot = ({
1585
1585
  width: i = 10,
1586
1586
  height: e = 10,
1587
1587
  color: t = "#001E52",
@@ -1618,10 +1618,10 @@ const we = ({
1618
1618
  )
1619
1619
  ]
1620
1620
  }
1621
- ), ot = ({
1621
+ ), lt = ({
1622
1622
  width: i = 24,
1623
1623
  height: e = 24,
1624
- color: t = k.GREY_DARK_5,
1624
+ color: t = L.GREY_DARK_5,
1625
1625
  className: s,
1626
1626
  onClick: n
1627
1627
  }) => /* @__PURE__ */ C(
@@ -1657,10 +1657,10 @@ const we = ({
1657
1657
  )
1658
1658
  ]
1659
1659
  }
1660
- ), lt = ({
1660
+ ), at = ({
1661
1661
  width: i = 20,
1662
1662
  height: e = 20,
1663
- color: t = k.GREY_DARK_1,
1663
+ color: t = L.GREY_DARK_1,
1664
1664
  className: s,
1665
1665
  onClick: n
1666
1666
  }) => /* @__PURE__ */ C(
@@ -1690,10 +1690,10 @@ const we = ({
1690
1690
  )
1691
1691
  ]
1692
1692
  }
1693
- ), at = ({
1693
+ ), ht = ({
1694
1694
  width: i = 81,
1695
1695
  height: e = 80,
1696
- color: t = k.GREY_DARK_5,
1696
+ color: t = L.GREY_DARK_5,
1697
1697
  className: s,
1698
1698
  onClick: n
1699
1699
  }) => /* @__PURE__ */ C(
@@ -1739,9 +1739,9 @@ const we = ({
1739
1739
  )
1740
1740
  ]
1741
1741
  }
1742
- ), ht = ({
1742
+ ), ct = ({
1743
1743
  className: i,
1744
- color: e = k.GREY_DARK_5,
1744
+ color: e = L.GREY_DARK_5,
1745
1745
  height: t = 20,
1746
1746
  width: s = 20,
1747
1747
  onClick: n
@@ -1766,9 +1766,9 @@ const we = ({
1766
1766
  }
1767
1767
  )
1768
1768
  }
1769
- ), ct = ({
1769
+ ), dt = ({
1770
1770
  className: i,
1771
- color: e = k.GREY_DARK_5,
1771
+ color: e = L.GREY_DARK_5,
1772
1772
  height: t = 20,
1773
1773
  width: s = 20,
1774
1774
  onClick: n
@@ -1793,9 +1793,9 @@ const we = ({
1793
1793
  }
1794
1794
  )
1795
1795
  }
1796
- ), dt = ({
1796
+ ), gt = ({
1797
1797
  className: i,
1798
- color: e = k.GREY_DARK_5,
1798
+ color: e = L.GREY_DARK_5,
1799
1799
  height: t = 5,
1800
1800
  width: s = 10,
1801
1801
  onClick: n
@@ -1817,9 +1817,9 @@ const we = ({
1817
1817
  }
1818
1818
  )
1819
1819
  }
1820
- ), gt = ({
1820
+ ), Ct = ({
1821
1821
  className: i,
1822
- color: e = k.GREY_DARK_5,
1822
+ color: e = L.GREY_DARK_5,
1823
1823
  height: t = 5,
1824
1824
  width: s = 10,
1825
1825
  onClick: n
@@ -1842,9 +1842,9 @@ const we = ({
1842
1842
  }
1843
1843
  )
1844
1844
  }
1845
- ), Ct = ({
1845
+ ), ut = ({
1846
1846
  className: i,
1847
- color: e = k.GREY_DARK_5,
1847
+ color: e = L.GREY_DARK_5,
1848
1848
  height: t = 24,
1849
1849
  width: s = 24,
1850
1850
  onClick: n
@@ -1881,9 +1881,9 @@ const we = ({
1881
1881
  )
1882
1882
  ]
1883
1883
  }
1884
- ), ut = ({
1884
+ ), pt = ({
1885
1885
  className: i,
1886
- color: e = k.GREY_DARK_5,
1886
+ color: e = L.GREY_DARK_5,
1887
1887
  height: t = 24,
1888
1888
  width: s = 24,
1889
1889
  onClick: n
@@ -1920,9 +1920,9 @@ const we = ({
1920
1920
  )
1921
1921
  ]
1922
1922
  }
1923
- ), pt = ({
1923
+ ), ft = ({
1924
1924
  className: i,
1925
- color: e = k.GREY_DARK_5,
1925
+ color: e = L.GREY_DARK_5,
1926
1926
  height: t = 24,
1927
1927
  width: s = 24,
1928
1928
  onClick: n
@@ -1947,9 +1947,9 @@ const we = ({
1947
1947
  }
1948
1948
  )
1949
1949
  }
1950
- ), ft = ({
1950
+ ), wt = ({
1951
1951
  className: i,
1952
- color: e = k.GREY_DARK_5,
1952
+ color: e = L.GREY_DARK_5,
1953
1953
  height: t = 24,
1954
1954
  width: s = 24,
1955
1955
  onClick: n
@@ -2006,9 +2006,9 @@ const we = ({
2006
2006
  )
2007
2007
  ]
2008
2008
  }
2009
- ), wt = ({
2009
+ ), mt = ({
2010
2010
  className: i,
2011
- color: e = k.GREY_DARK_5,
2011
+ color: e = L.GREY_DARK_5,
2012
2012
  height: t = 24,
2013
2013
  width: s = 24,
2014
2014
  onClick: n
@@ -2043,9 +2043,9 @@ const we = ({
2043
2043
  )
2044
2044
  ]
2045
2045
  }
2046
- ), mt = ({
2046
+ ), kt = ({
2047
2047
  className: i,
2048
- color: e = k.GREY_DARK_3,
2048
+ color: e = L.GREY_DARK_3,
2049
2049
  height: t = 14,
2050
2050
  width: s = 14,
2051
2051
  onClick: n
@@ -2080,9 +2080,9 @@ const we = ({
2080
2080
  )
2081
2081
  ]
2082
2082
  }
2083
- ), kt = ({
2083
+ ), Lt = ({
2084
2084
  className: i,
2085
- color: e = k.GREY_DARK_5,
2085
+ color: e = L.GREY_DARK_5,
2086
2086
  height: t = 18,
2087
2087
  onClick: s,
2088
2088
  width: n = 18
@@ -2107,9 +2107,9 @@ const we = ({
2107
2107
  }
2108
2108
  )
2109
2109
  }
2110
- ), Lt = ({
2110
+ ), vt = ({
2111
2111
  className: i,
2112
- color: e = k.GREY_DARK_5,
2112
+ color: e = L.GREY_DARK_5,
2113
2113
  height: t = 24,
2114
2114
  width: s = 24,
2115
2115
  onClick: n
@@ -2159,9 +2159,9 @@ const we = ({
2159
2159
  )
2160
2160
  ]
2161
2161
  }
2162
- ), vt = ({
2162
+ ), Nt = ({
2163
2163
  className: i,
2164
- color: e = k.GREY_DARK_5,
2164
+ color: e = L.GREY_DARK_5,
2165
2165
  height: t = 24,
2166
2166
  width: s = 24,
2167
2167
  onClick: n
@@ -2196,9 +2196,9 @@ const we = ({
2196
2196
  )
2197
2197
  ]
2198
2198
  }
2199
- ), Nt = ({
2199
+ ), xt = ({
2200
2200
  className: i,
2201
- color: e = k.NOTIFICATION_WARNING_DARK,
2201
+ color: e = L.NOTIFICATION_WARNING_DARK,
2202
2202
  height: t = 37,
2203
2203
  width: s = 36,
2204
2204
  onClick: n
@@ -2235,9 +2235,9 @@ const we = ({
2235
2235
  )
2236
2236
  ]
2237
2237
  }
2238
- ), xt = ({
2238
+ ), Mt = ({
2239
2239
  className: i,
2240
- color: e = k.GREY_DARK_5,
2240
+ color: e = L.GREY_DARK_5,
2241
2241
  height: t = 24,
2242
2242
  width: s = 24,
2243
2243
  onClick: n
@@ -2263,7 +2263,7 @@ const we = ({
2263
2263
  }
2264
2264
  ), Rt = ({
2265
2265
  className: i,
2266
- color: e = k.GREY_DARK_5,
2266
+ color: e = L.GREY_DARK_5,
2267
2267
  height: t = 24,
2268
2268
  width: s = 24,
2269
2269
  onClick: n
@@ -2300,9 +2300,9 @@ const we = ({
2300
2300
  )
2301
2301
  ]
2302
2302
  }
2303
- ), Mt = ({
2303
+ ), yt = ({
2304
2304
  className: i,
2305
- color: e = k.GREY_DARK_5,
2305
+ color: e = L.GREY_DARK_5,
2306
2306
  height: t = 24,
2307
2307
  width: s = 24,
2308
2308
  onClick: n
@@ -2339,9 +2339,9 @@ const we = ({
2339
2339
  )
2340
2340
  ]
2341
2341
  }
2342
- ), yt = ({
2342
+ ), bt = ({
2343
2343
  className: i,
2344
- color: e = k.GREY_DARK_5,
2344
+ color: e = L.GREY_DARK_5,
2345
2345
  height: t = 24,
2346
2346
  width: s = 24,
2347
2347
  onClick: n
@@ -2408,9 +2408,9 @@ const we = ({
2408
2408
  )
2409
2409
  ]
2410
2410
  }
2411
- ), bt = ({
2411
+ ), Et = ({
2412
2412
  className: i,
2413
- color: e = k.GREY_DARK_5,
2413
+ color: e = L.GREY_DARK_5,
2414
2414
  height: t = 24,
2415
2415
  width: s = 24,
2416
2416
  onClick: n
@@ -2447,9 +2447,9 @@ const we = ({
2447
2447
  )
2448
2448
  ]
2449
2449
  }
2450
- ), Et = ({
2450
+ ), Ht = ({
2451
2451
  className: i,
2452
- color: e = k.GREY_DARK_5,
2452
+ color: e = L.GREY_DARK_5,
2453
2453
  height: t = 24,
2454
2454
  width: s = 24,
2455
2455
  onClick: n
@@ -2504,9 +2504,9 @@ const we = ({
2504
2504
  )
2505
2505
  ]
2506
2506
  }
2507
- ), Ht = ({
2507
+ ), Vt = ({
2508
2508
  className: i,
2509
- color: e = k.GREY_DARK_5,
2509
+ color: e = L.GREY_DARK_5,
2510
2510
  height: t = 24,
2511
2511
  width: s = 24,
2512
2512
  onClick: n
@@ -2543,9 +2543,9 @@ const we = ({
2543
2543
  )
2544
2544
  ]
2545
2545
  }
2546
- ), Vt = ({
2546
+ ), _t = ({
2547
2547
  className: i,
2548
- color: e = k.GREY_DARK_5,
2548
+ color: e = L.GREY_DARK_5,
2549
2549
  height: t = 24,
2550
2550
  width: s = 24,
2551
2551
  onClick: n
@@ -2592,9 +2592,9 @@ const we = ({
2592
2592
  )
2593
2593
  ]
2594
2594
  }
2595
- ), _t = ({
2595
+ ), It = ({
2596
2596
  className: i,
2597
- color: e = k.GREY_DARK_5,
2597
+ color: e = L.GREY_DARK_5,
2598
2598
  height: t = 24,
2599
2599
  width: s = 24,
2600
2600
  onClick: n
@@ -2631,9 +2631,9 @@ const we = ({
2631
2631
  )
2632
2632
  ]
2633
2633
  }
2634
- ), It = ({
2634
+ ), Ot = ({
2635
2635
  className: i,
2636
- color: e = k.GREY_DARK_5,
2636
+ color: e = L.GREY_DARK_5,
2637
2637
  height: t = 24,
2638
2638
  width: s = 24,
2639
2639
  onClick: n
@@ -2658,9 +2658,9 @@ const we = ({
2658
2658
  }
2659
2659
  )
2660
2660
  }
2661
- ), Ot = ({
2661
+ ), St = ({
2662
2662
  className: i,
2663
- color: e = k.GREY_DARK_5,
2663
+ color: e = L.GREY_DARK_5,
2664
2664
  height: t = 24,
2665
2665
  width: s = 24,
2666
2666
  onClick: n
@@ -2696,9 +2696,9 @@ const we = ({
2696
2696
  )
2697
2697
  ]
2698
2698
  }
2699
- ), St = ({
2699
+ ), At = ({
2700
2700
  className: i,
2701
- color: e = k.GREY_DARK_5,
2701
+ color: e = L.GREY_DARK_5,
2702
2702
  height: t = 24,
2703
2703
  width: s = 24,
2704
2704
  onClick: n
@@ -2717,9 +2717,9 @@ const we = ({
2717
2717
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
2718
2718
  ]
2719
2719
  }
2720
- ), At = ({
2720
+ ), Bt = ({
2721
2721
  className: i,
2722
- color: e = k.GREY_DARK_5,
2722
+ color: e = L.GREY_DARK_5,
2723
2723
  height: t = 24,
2724
2724
  width: s = 24,
2725
2725
  onClick: n
@@ -2756,9 +2756,9 @@ const we = ({
2756
2756
  )
2757
2757
  ]
2758
2758
  }
2759
- ), Bt = ({
2759
+ ), Zt = ({
2760
2760
  className: i,
2761
- color: e = k.GREY_DARK_5,
2761
+ color: e = L.GREY_DARK_5,
2762
2762
  height: t = 24,
2763
2763
  width: s = 24,
2764
2764
  onClick: n
@@ -2795,9 +2795,9 @@ const we = ({
2795
2795
  )
2796
2796
  ]
2797
2797
  }
2798
- ), Zt = ({
2798
+ ), Wt = ({
2799
2799
  className: i,
2800
- color: e = k.GREY_DARK_5,
2800
+ color: e = L.GREY_DARK_5,
2801
2801
  height: t = 24,
2802
2802
  width: s = 24,
2803
2803
  onClick: n
@@ -2834,9 +2834,9 @@ const we = ({
2834
2834
  )
2835
2835
  ]
2836
2836
  }
2837
- ), Wt = ({
2837
+ ), jt = ({
2838
2838
  className: i,
2839
- color: e = k.GREY_DARK_2,
2839
+ color: e = L.GREY_DARK_2,
2840
2840
  height: t = 16,
2841
2841
  width: s = 16,
2842
2842
  onClick: n
@@ -2860,9 +2860,9 @@ const we = ({
2860
2860
  }
2861
2861
  )
2862
2862
  }
2863
- ), jt = ({
2863
+ ), Dt = ({
2864
2864
  className: i,
2865
- color: e = k.GREY_DARK_5,
2865
+ color: e = L.GREY_DARK_5,
2866
2866
  height: t = 20,
2867
2867
  width: s = 20,
2868
2868
  onClick: n
@@ -2889,9 +2889,9 @@ const we = ({
2889
2889
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
2890
2890
  ]
2891
2891
  }
2892
- ), Dt = ({
2892
+ ), Tt = ({
2893
2893
  className: i,
2894
- color: e = k.GREY_DARK_5,
2894
+ color: e = L.GREY_DARK_5,
2895
2895
  height: t = 20,
2896
2896
  width: s = 20,
2897
2897
  onClick: n
@@ -2918,9 +2918,9 @@ const we = ({
2918
2918
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
2919
2919
  ]
2920
2920
  }
2921
- ), Tt = ({
2921
+ ), Gt = ({
2922
2922
  className: i,
2923
- color: e = k.GREY_DARK_5,
2923
+ color: e = L.GREY_DARK_5,
2924
2924
  height: t = 20,
2925
2925
  width: s = 20,
2926
2926
  onClick: n
@@ -2935,7 +2935,7 @@ const we = ({
2935
2935
  fill: "none",
2936
2936
  xmlns: "http://www.w3.org/2000/svg",
2937
2937
  children: [
2938
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
2938
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
2939
2939
  /* @__PURE__ */ r(
2940
2940
  "path",
2941
2941
  {
@@ -2947,9 +2947,9 @@ const we = ({
2947
2947
  )
2948
2948
  ]
2949
2949
  }
2950
- ), Gt = ({
2950
+ ), Kt = ({
2951
2951
  className: i,
2952
- color: e = k.GREY_DARK_5,
2952
+ color: e = L.GREY_DARK_5,
2953
2953
  height: t = 20,
2954
2954
  width: s = 20,
2955
2955
  onClick: n
@@ -2964,7 +2964,7 @@ const we = ({
2964
2964
  fill: "none",
2965
2965
  xmlns: "http://www.w3.org/2000/svg",
2966
2966
  children: [
2967
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
2967
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
2968
2968
  /* @__PURE__ */ r(
2969
2969
  "path",
2970
2970
  {
@@ -2976,7 +2976,7 @@ const we = ({
2976
2976
  )
2977
2977
  ]
2978
2978
  }
2979
- ), Kt = ({
2979
+ ), Pt = ({
2980
2980
  className: i,
2981
2981
  color: e = "#001E52",
2982
2982
  height: t = 24,
@@ -3002,7 +3002,7 @@ const we = ({
3002
3002
  }
3003
3003
  )
3004
3004
  }
3005
- ), Pt = ({
3005
+ ), $t = ({
3006
3006
  className: i,
3007
3007
  color: e = "#131314",
3008
3008
  height: t = 20,
@@ -3030,7 +3030,7 @@ const we = ({
3030
3030
  }
3031
3031
  )
3032
3032
  }
3033
- ), $t = ({
3033
+ ), Ft = ({
3034
3034
  className: i,
3035
3035
  color: e = "#001E52",
3036
3036
  height: t = 24,
@@ -3068,7 +3068,7 @@ const we = ({
3068
3068
  )
3069
3069
  ] }) })
3070
3070
  }
3071
- ), Ft = ({
3071
+ ), Yt = ({
3072
3072
  width: i = 20,
3073
3073
  height: e = 20,
3074
3074
  color: t = "#001E52",
@@ -3133,49 +3133,49 @@ const we = ({
3133
3133
  disabled: l = !1,
3134
3134
  onClick: c
3135
3135
  }) => {
3136
- const [o, d] = A(n), { theme: g } = a1(F1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
3137
- return G(() => {
3136
+ const [o, d] = W(n), { theme: g } = a1(Y1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
3137
+ return K(() => {
3138
3138
  if (n) {
3139
3139
  h && !l && d(`${n} clickable`);
3140
3140
  return;
3141
3141
  }
3142
3142
  h && !l && d("clickable");
3143
- }, [h, n, l]), /* @__PURE__ */ r(X, { children: (() => {
3143
+ }, [h, n, l]), /* @__PURE__ */ r(e1, { children: (() => {
3144
3144
  switch (i) {
3145
3145
  case "nextIcon":
3146
- return ht({ width: e, height: t, color: a, className: o, onClick: h });
3147
- case "prevIcon":
3148
3146
  return ct({ width: e, height: t, color: a, className: o, onClick: h });
3147
+ case "prevIcon":
3148
+ return dt({ width: e, height: t, color: a, className: o, onClick: h });
3149
3149
  case "arrowUp":
3150
- return we({ width: e, height: t, color: a, className: o, onClick: h });
3151
- case "arrowDown":
3152
3150
  return me({ width: e, height: t, color: a, className: o, onClick: h });
3153
- case "info":
3151
+ case "arrowDown":
3154
3152
  return ke({ width: e, height: t, color: a, className: o, onClick: h });
3155
- case "arrowRight":
3153
+ case "info":
3156
3154
  return Le({ width: e, height: t, color: a, className: o, onClick: h });
3157
- case "calendar":
3155
+ case "arrowRight":
3158
3156
  return ve({ width: e, height: t, color: a, className: o, onClick: h });
3159
- case "ok":
3157
+ case "calendar":
3160
3158
  return Ne({ width: e, height: t, color: a, className: o, onClick: h });
3161
- case "cancel":
3159
+ case "ok":
3162
3160
  return xe({ width: e, height: t, color: a, className: o, onClick: h });
3161
+ case "cancel":
3162
+ return Me({ width: e, height: t, color: a, className: o, onClick: h });
3163
3163
  case "add":
3164
3164
  return Re({ width: e, height: t, color: a, className: o, onClick: h });
3165
3165
  case "list":
3166
- return Me({ width: e, height: t, color: a, className: o, onClick: h });
3167
- case "dragAndDrop":
3168
3166
  return ye({ width: e, height: t, color: a, className: o, onClick: h });
3169
- case "filter":
3167
+ case "dragAndDrop":
3170
3168
  return be({ width: e, height: t, color: a, className: o, onClick: h });
3171
- case "attention":
3169
+ case "filter":
3172
3170
  return Ee({ width: e, height: t, color: a, className: o, onClick: h });
3173
- case "plus":
3171
+ case "attention":
3174
3172
  return He({ width: e, height: t, color: a, className: o, onClick: h });
3175
- case "time":
3173
+ case "plus":
3176
3174
  return Ve({ width: e, height: t, color: a, className: o, onClick: h });
3175
+ case "time":
3176
+ return _e({ width: e, height: t, color: a, className: o, onClick: h });
3177
3177
  case "arrowDownLong":
3178
- return _e({
3178
+ return Ie({
3179
3179
  width: e,
3180
3180
  height: t,
3181
3181
  color: a,
@@ -3183,9 +3183,9 @@ const we = ({
3183
3183
  onClick: h
3184
3184
  });
3185
3185
  case "users":
3186
- return Ie({ width: e, height: t, color: a, className: o, onClick: h });
3186
+ return Oe({ width: e, height: t, color: a, className: o, onClick: h });
3187
3187
  case "mySkillsMatrix":
3188
- return Oe({
3188
+ return Se({
3189
3189
  width: e,
3190
3190
  height: t,
3191
3191
  color: a,
@@ -3193,9 +3193,9 @@ const we = ({
3193
3193
  onClick: h
3194
3194
  });
3195
3195
  case "skills":
3196
- return Se({ width: e, height: t, color: a, className: o, onClick: h });
3196
+ return Ae({ width: e, height: t, color: a, className: o, onClick: h });
3197
3197
  case "skillsMatrices":
3198
- return Ae({
3198
+ return Be({
3199
3199
  width: e,
3200
3200
  height: t,
3201
3201
  color: a,
@@ -3203,23 +3203,23 @@ const we = ({
3203
3203
  onClick: h
3204
3204
  });
3205
3205
  case "history":
3206
- return Be({ width: e, height: t, color: a, className: o, onClick: h });
3207
- case "logOut":
3208
3206
  return Ze({ width: e, height: t, color: a, className: o, onClick: h });
3209
- case "settings":
3207
+ case "logOut":
3210
3208
  return We({ width: e, height: t, color: a, className: o, onClick: h });
3211
- case "addSkill":
3209
+ case "settings":
3212
3210
  return je({ width: e, height: t, color: a, className: o, onClick: h });
3213
- case "conversation":
3211
+ case "addSkill":
3214
3212
  return De({ width: e, height: t, color: a, className: o, onClick: h });
3215
- case "trash":
3213
+ case "conversation":
3216
3214
  return Te({ width: e, height: t, color: a, className: o, onClick: h });
3217
- case "settings4":
3215
+ case "trash":
3218
3216
  return Ge({ width: e, height: t, color: a, className: o, onClick: h });
3219
- case "edit2":
3217
+ case "settings4":
3220
3218
  return Ke({ width: e, height: t, color: a, className: o, onClick: h });
3219
+ case "edit2":
3220
+ return Pe({ width: e, height: t, color: a, className: o, onClick: h });
3221
3221
  case "notifications":
3222
- return Pe({
3222
+ return $e({
3223
3223
  width: e,
3224
3224
  height: t,
3225
3225
  color: a,
@@ -3227,9 +3227,9 @@ const we = ({
3227
3227
  onClick: h
3228
3228
  });
3229
3229
  case "success":
3230
- return $e({ width: e, height: t, color: a, className: o, onClick: h });
3230
+ return Fe({ width: e, height: t, color: a, className: o, onClick: h });
3231
3231
  case "attentionSmall":
3232
- return Fe({
3232
+ return Ye({
3233
3233
  width: e,
3234
3234
  height: t,
3235
3235
  color: a,
@@ -3237,11 +3237,11 @@ const we = ({
3237
3237
  onClick: h
3238
3238
  });
3239
3239
  case "errorSmall":
3240
- return Ye({ width: e, height: t, color: a, className: o, onClick: h });
3241
- case "infoMedium":
3242
3240
  return Ue({ width: e, height: t, color: a, className: o, onClick: h });
3241
+ case "infoMedium":
3242
+ return ze({ width: e, height: t, color: a, className: o, onClick: h });
3243
3243
  case "attentionMedium":
3244
- return ze({
3244
+ return Je({
3245
3245
  width: e,
3246
3246
  height: t,
3247
3247
  color: a,
@@ -3249,9 +3249,9 @@ const we = ({
3249
3249
  onClick: h
3250
3250
  });
3251
3251
  case "errorMedium":
3252
- return Je({ width: e, height: t, color: a, className: o, onClick: h });
3252
+ return Qe({ width: e, height: t, color: a, className: o, onClick: h });
3253
3253
  case "faviconSkills":
3254
- return it({
3254
+ return st({
3255
3255
  width: e,
3256
3256
  height: t,
3257
3257
  color: a,
@@ -3259,7 +3259,7 @@ const we = ({
3259
3259
  onClick: h
3260
3260
  });
3261
3261
  case "visibilityIcon":
3262
- return Qe({
3262
+ return qe({
3263
3263
  width: e,
3264
3264
  height: t,
3265
3265
  color: a,
@@ -3267,7 +3267,7 @@ const we = ({
3267
3267
  onClick: h
3268
3268
  });
3269
3269
  case "visibilityOffIcon":
3270
- return qe({
3270
+ return Xe({
3271
3271
  width: e,
3272
3272
  height: t,
3273
3273
  color: a,
@@ -3275,7 +3275,7 @@ const we = ({
3275
3275
  onClick: h
3276
3276
  });
3277
3277
  case "selectArrowIcon":
3278
- return Xe({
3278
+ return et({
3279
3279
  width: e,
3280
3280
  height: t,
3281
3281
  color: a,
@@ -3283,7 +3283,7 @@ const we = ({
3283
3283
  onClick: h
3284
3284
  });
3285
3285
  case "expandArrowIcon":
3286
- return et({
3286
+ return tt({
3287
3287
  width: e,
3288
3288
  height: t,
3289
3289
  color: a,
@@ -3291,7 +3291,7 @@ const we = ({
3291
3291
  onClick: h
3292
3292
  });
3293
3293
  case "expandActiveArrowIcon":
3294
- return tt({
3294
+ return it({
3295
3295
  width: e,
3296
3296
  height: t,
3297
3297
  color: a,
@@ -3299,99 +3299,99 @@ const we = ({
3299
3299
  onClick: h
3300
3300
  });
3301
3301
  case "camera":
3302
- return st({ width: e, height: t, color: a, className: o, onClick: h });
3303
- case "sortUp":
3304
3302
  return nt({ width: e, height: t, color: a, className: o, onClick: h });
3305
- case "sortDown":
3303
+ case "sortUp":
3306
3304
  return rt({ width: e, height: t, color: a, className: o, onClick: h });
3307
- case "logOut2":
3305
+ case "sortDown":
3308
3306
  return ot({ width: e, height: t, color: a, className: o, onClick: h });
3309
- case "search":
3307
+ case "logOut2":
3310
3308
  return lt({ width: e, height: t, color: a, className: o, onClick: h });
3311
- case "handRock":
3309
+ case "search":
3312
3310
  return at({ width: e, height: t, color: a, className: o, onClick: h });
3311
+ case "handRock":
3312
+ return ht({ width: e, height: t, color: a, className: o, onClick: h });
3313
3313
  case "arrowUpFilled":
3314
- return gt({ width: e, height: t, color: a, className: o, onClick: h });
3314
+ return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3315
3315
  case "arrowDownFilled":
3316
- return dt({ width: e, height: t, color: a, className: o, onClick: h });
3316
+ return gt({ width: e, height: t, color: a, className: o, onClick: h });
3317
3317
  case "link":
3318
- return Ct({ width: e, height: t, color: a, className: o, onClick: h });
3318
+ return ut({ width: e, height: t, color: a, className: o, onClick: h });
3319
3319
  case "telegram":
3320
- return pt({ width: e, height: t, color: a, className: o, onClick: h });
3320
+ return ft({ width: e, height: t, color: a, className: o, onClick: h });
3321
3321
  case "mail":
3322
- return wt({ width: e, height: t, color: a, className: o, onClick: h });
3322
+ return mt({ width: e, height: t, color: a, className: o, onClick: h });
3323
3323
  case "github":
3324
- return ut({ width: e, height: t, color: a, className: o, onClick: h });
3324
+ return pt({ width: e, height: t, color: a, className: o, onClick: h });
3325
3325
  case "linkedIn":
3326
- return ft({ width: e, height: t, color: a, className: o, onClick: h });
3326
+ return wt({ width: e, height: t, color: a, className: o, onClick: h });
3327
3327
  case "emptyStateIcon":
3328
- return mt({ width: e, height: t, color: a, className: o, onClick: h });
3329
- case "filtersIcon":
3330
3328
  return kt({ width: e, height: t, color: a, className: o, onClick: h });
3331
- case "dotMenuIcon":
3329
+ case "filtersIcon":
3332
3330
  return Lt({ width: e, height: t, color: a, className: o, onClick: h });
3333
- case "plusCircle":
3331
+ case "dotMenuIcon":
3334
3332
  return vt({ width: e, height: t, color: a, className: o, onClick: h });
3335
- case "warning":
3333
+ case "plusCircle":
3336
3334
  return Nt({ width: e, height: t, color: a, className: o, onClick: h });
3337
- case "back":
3335
+ case "warning":
3338
3336
  return xt({ width: e, height: t, color: a, className: o, onClick: h });
3337
+ case "back":
3338
+ return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3339
3339
  case "bell":
3340
3340
  return Rt({ width: e, height: t, color: a, className: o, onClick: h });
3341
3341
  case "contract":
3342
- return yt({ width: e, height: t, color: a, className: o, onClick: h });
3342
+ return bt({ width: e, height: t, color: a, className: o, onClick: h });
3343
3343
  case "trash2":
3344
- return Mt({ width: e, height: t, color: a, className: o, onClick: h });
3344
+ return yt({ width: e, height: t, color: a, className: o, onClick: h });
3345
3345
  case "manager":
3346
- return bt({ width: e, height: t, color: a, className: o, onClick: h });
3347
- case "resourceManager":
3348
3346
  return Et({ width: e, height: t, color: a, className: o, onClick: h });
3349
- case "settings2":
3347
+ case "resourceManager":
3350
3348
  return Ht({ width: e, height: t, color: a, className: o, onClick: h });
3351
- case "image":
3349
+ case "settings2":
3352
3350
  return Vt({ width: e, height: t, color: a, className: o, onClick: h });
3353
- case "upload":
3351
+ case "image":
3354
3352
  return _t({ width: e, height: t, color: a, className: o, onClick: h });
3355
- case "edit":
3353
+ case "upload":
3356
3354
  return It({ width: e, height: t, color: a, className: o, onClick: h });
3357
- case "location":
3355
+ case "edit":
3358
3356
  return Ot({ width: e, height: t, color: a, className: o, onClick: h });
3359
- case "plus2":
3357
+ case "location":
3360
3358
  return St({ width: e, height: t, color: a, className: o, onClick: h });
3361
- case "search2":
3359
+ case "plus2":
3362
3360
  return At({ width: e, height: t, color: a, className: o, onClick: h });
3363
- case "fastArrowLeft":
3361
+ case "search2":
3364
3362
  return Bt({ width: e, height: t, color: a, className: o, onClick: h });
3365
- case "fastArrowRight":
3363
+ case "fastArrowLeft":
3366
3364
  return Zt({ width: e, height: t, color: a, className: o, onClick: h });
3367
- case "crossInCircle":
3365
+ case "fastArrowRight":
3368
3366
  return Wt({ width: e, height: t, color: a, className: o, onClick: h });
3367
+ case "crossInCircle":
3368
+ return jt({ width: e, height: t, color: a, className: o, onClick: h });
3369
3369
  case "arrowUp2":
3370
- return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3370
+ return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3371
3371
  case "arrowDown2":
3372
- return jt({ width: e, height: t, color: a, className: o, onClick: h });
3372
+ return Dt({ width: e, height: t, color: a, className: o, onClick: h });
3373
3373
  case "filledArrowLeft":
3374
- return Tt({ width: e, height: t, color: a, className: o, onClick: h });
3375
- case "filledArrowRight":
3376
3374
  return Gt({ width: e, height: t, color: a, className: o, onClick: h });
3377
- case "burgerMenu":
3375
+ case "filledArrowRight":
3378
3376
  return Kt({ width: e, height: t, color: a, className: o, onClick: h });
3379
- case "signOut":
3377
+ case "burgerMenu":
3380
3378
  return Pt({ width: e, height: t, color: a, className: o, onClick: h });
3381
- case "refresh":
3379
+ case "signOut":
3382
3380
  return $t({ width: e, height: t, color: a, className: o, onClick: h });
3383
- case "projects":
3381
+ case "refresh":
3384
3382
  return Ft({ width: e, height: t, color: a, className: o, onClick: h });
3383
+ case "projects":
3384
+ return Yt({ width: e, height: t, color: a, className: o, onClick: h });
3385
3385
  default:
3386
- return /* @__PURE__ */ r(X, { children: "No Icon provided" });
3386
+ return /* @__PURE__ */ r(e1, { children: "No Icon provided" });
3387
3387
  }
3388
3388
  })() });
3389
- }, { Title: Yt, Text: Ut } = K1, zt = {
3389
+ }, { Title: Ut, Text: zt } = P1, Jt = {
3390
3390
  h1: 1,
3391
3391
  h2: 2,
3392
3392
  h3: 3,
3393
3393
  h4: 4
3394
- }, Jt = o1(
3394
+ }, Qt = o1(
3395
3395
  ({
3396
3396
  align: i = "inherit",
3397
3397
  variant: e = "body1",
@@ -3404,17 +3404,17 @@ const we = ({
3404
3404
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
3405
3405
  let g = `snmt-typography snmt-typography-${e}`;
3406
3406
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
3407
- Yt,
3407
+ Ut,
3408
3408
  {
3409
3409
  className: g,
3410
3410
  style: { color: t, whiteSpace: c },
3411
3411
  onClick: n,
3412
- level: zt[e],
3412
+ level: Jt[e],
3413
3413
  ref: o,
3414
3414
  children: s
3415
3415
  }
3416
3416
  ) : /* @__PURE__ */ r(
3417
- Ut,
3417
+ zt,
3418
3418
  {
3419
3419
  className: g,
3420
3420
  style: { color: t, whiteSpace: c },
@@ -3425,13 +3425,13 @@ const we = ({
3425
3425
  );
3426
3426
  }
3427
3427
  );
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 Y1 = r1({
3428
+ var v = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(v || {});
3429
+ const U1 = r1({
3430
3430
  locale: "en",
3431
3431
  theme: "light"
3432
3432
  });
3433
- Y1.Provider;
3434
- const Qt = ({
3433
+ U1.Provider;
3434
+ const qt = ({
3435
3435
  width: i = 20,
3436
3436
  height: e = 20,
3437
3437
  color: t = "#001E52",
@@ -3458,7 +3458,7 @@ const Qt = ({
3458
3458
  }
3459
3459
  )
3460
3460
  }
3461
- ), qt = ({
3461
+ ), Xt = ({
3462
3462
  width: i = 20,
3463
3463
  height: e = 20,
3464
3464
  color: t = "#001E52",
@@ -3485,7 +3485,7 @@ const Qt = ({
3485
3485
  }
3486
3486
  )
3487
3487
  }
3488
- ), Xt = ({
3488
+ ), e2 = ({
3489
3489
  width: i = 16,
3490
3490
  height: e = 16,
3491
3491
  color: t = "#001E52",
@@ -3513,7 +3513,7 @@ const Qt = ({
3513
3513
  )
3514
3514
  ]
3515
3515
  }
3516
- ), e2 = ({
3516
+ ), t2 = ({
3517
3517
  width: i = 20,
3518
3518
  height: e = 20,
3519
3519
  color: t = "#001E52",
@@ -3548,7 +3548,7 @@ const Qt = ({
3548
3548
  )
3549
3549
  ]
3550
3550
  }
3551
- ), t2 = ({
3551
+ ), i2 = ({
3552
3552
  width: i = 18,
3553
3553
  height: e = 18,
3554
3554
  color: t = "#001E52",
@@ -3587,7 +3587,7 @@ const Qt = ({
3587
3587
  )
3588
3588
  ]
3589
3589
  }
3590
- ), i2 = ({
3590
+ ), s2 = ({
3591
3591
  width: i = 20,
3592
3592
  height: e = 20,
3593
3593
  color: t = "#001E52",
@@ -3613,7 +3613,7 @@ const Qt = ({
3613
3613
  }
3614
3614
  )
3615
3615
  }
3616
- ), s2 = ({
3616
+ ), n2 = ({
3617
3617
  width: i = 20,
3618
3618
  height: e = 20,
3619
3619
  color: t = "#001E52",
@@ -3634,7 +3634,7 @@ const Qt = ({
3634
3634
  /* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3635
3635
  ]
3636
3636
  }
3637
- ), n2 = ({
3637
+ ), r2 = ({
3638
3638
  width: i = 20,
3639
3639
  height: e = 20,
3640
3640
  color: t = "#001E52",
@@ -3666,7 +3666,7 @@ const Qt = ({
3666
3666
  )
3667
3667
  ]
3668
3668
  }
3669
- ), r2 = ({
3669
+ ), o2 = ({
3670
3670
  width: i = 20,
3671
3671
  height: e = 20,
3672
3672
  color: t = "#001E52",
@@ -3720,7 +3720,7 @@ const Qt = ({
3720
3720
  )
3721
3721
  ]
3722
3722
  }
3723
- ), o2 = ({
3723
+ ), l2 = ({
3724
3724
  width: i = 20,
3725
3725
  height: e = 20,
3726
3726
  color: t = "#001E52",
@@ -3759,7 +3759,7 @@ const Qt = ({
3759
3759
  /* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3760
3760
  ]
3761
3761
  }
3762
- ), l2 = ({
3762
+ ), a2 = ({
3763
3763
  width: i = 16,
3764
3764
  height: e = 12,
3765
3765
  color: t = "#001E52",
@@ -3808,7 +3808,7 @@ const Qt = ({
3808
3808
  )
3809
3809
  ] })
3810
3810
  }
3811
- ), a2 = ({
3811
+ ), h2 = ({
3812
3812
  width: i = 16,
3813
3813
  height: e = 16,
3814
3814
  color: t = "#001E52",
@@ -3842,7 +3842,7 @@ const Qt = ({
3842
3842
  )
3843
3843
  ]
3844
3844
  }
3845
- ), h2 = ({
3845
+ ), c2 = ({
3846
3846
  width: i = 10,
3847
3847
  height: e = 10,
3848
3848
  color: t = "#001E52",
@@ -3881,7 +3881,7 @@ const Qt = ({
3881
3881
  )
3882
3882
  ] })
3883
3883
  }
3884
- ), c2 = ({
3884
+ ), d2 = ({
3885
3885
  width: i = 16,
3886
3886
  height: e = 16,
3887
3887
  color: t = "#001E52",
@@ -3917,7 +3917,7 @@ const Qt = ({
3917
3917
  )
3918
3918
  ]
3919
3919
  }
3920
- ), d2 = ({
3920
+ ), g2 = ({
3921
3921
  width: i = 11,
3922
3922
  height: e = 32,
3923
3923
  color: t = "#001E52",
@@ -3955,7 +3955,7 @@ const Qt = ({
3955
3955
  /* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
3956
3956
  ]
3957
3957
  }
3958
- ), g2 = ({
3958
+ ), C2 = ({
3959
3959
  width: i = 20,
3960
3960
  height: e = 20,
3961
3961
  color: t = "#001E52",
@@ -4002,7 +4002,7 @@ const Qt = ({
4002
4002
  )
4003
4003
  ]
4004
4004
  }
4005
- ), C2 = ({
4005
+ ), u2 = ({
4006
4006
  width: i = 20,
4007
4007
  height: e = 20,
4008
4008
  color: t = "#001E52",
@@ -4035,7 +4035,7 @@ const Qt = ({
4035
4035
  )
4036
4036
  ]
4037
4037
  }
4038
- ), u2 = ({
4038
+ ), p2 = ({
4039
4039
  width: i = 20,
4040
4040
  height: e = 20,
4041
4041
  color: t = "#001E52",
@@ -4082,7 +4082,7 @@ const Qt = ({
4082
4082
  )
4083
4083
  ]
4084
4084
  }
4085
- ), p2 = ({
4085
+ ), f2 = ({
4086
4086
  width: i = 20,
4087
4087
  height: e = 20,
4088
4088
  color: t = "#001E52",
@@ -4115,7 +4115,7 @@ const Qt = ({
4115
4115
  )
4116
4116
  ]
4117
4117
  }
4118
- ), f2 = ({
4118
+ ), w2 = ({
4119
4119
  width: i = 18,
4120
4120
  height: e = 16,
4121
4121
  color: t = "#001E52",
@@ -4154,7 +4154,7 @@ const Qt = ({
4154
4154
  )
4155
4155
  ]
4156
4156
  }
4157
- ), w2 = ({
4157
+ ), m2 = ({
4158
4158
  width: i = 20,
4159
4159
  height: e = 20,
4160
4160
  color: t = "#001E52",
@@ -4187,7 +4187,7 @@ const Qt = ({
4187
4187
  )
4188
4188
  ]
4189
4189
  }
4190
- ), m2 = ({
4190
+ ), k2 = ({
4191
4191
  width: i = 20,
4192
4192
  height: e = 20,
4193
4193
  color: t = "#001E52",
@@ -4211,7 +4211,7 @@ const Qt = ({
4211
4211
  }
4212
4212
  )
4213
4213
  }
4214
- ), k2 = ({
4214
+ ), L2 = ({
4215
4215
  width: i = 20,
4216
4216
  height: e = 20,
4217
4217
  color: t = "#001E52",
@@ -4258,7 +4258,7 @@ const Qt = ({
4258
4258
  )
4259
4259
  ]
4260
4260
  }
4261
- ), L2 = ({
4261
+ ), v2 = ({
4262
4262
  width: i = 20,
4263
4263
  height: e = 20,
4264
4264
  color: t = "#001E52",
@@ -4291,7 +4291,7 @@ const Qt = ({
4291
4291
  )
4292
4292
  ]
4293
4293
  }
4294
- ), v2 = ({
4294
+ ), N2 = ({
4295
4295
  width: i = 20,
4296
4296
  height: e = 20,
4297
4297
  color: t = "#001E52",
@@ -4324,7 +4324,7 @@ const Qt = ({
4324
4324
  )
4325
4325
  ]
4326
4326
  }
4327
- ), N2 = ({
4327
+ ), x2 = ({
4328
4328
  width: i = 20,
4329
4329
  height: e = 23,
4330
4330
  color: t = "#001E52",
@@ -4385,7 +4385,7 @@ const Qt = ({
4385
4385
  )
4386
4386
  ]
4387
4387
  }
4388
- ), x2 = ({
4388
+ ), M2 = ({
4389
4389
  width: i = 20,
4390
4390
  height: e = 20,
4391
4391
  color: t = "#001E52",
@@ -4453,7 +4453,7 @@ const Qt = ({
4453
4453
  )
4454
4454
  ]
4455
4455
  }
4456
- ), M2 = ({
4456
+ ), y2 = ({
4457
4457
  width: i = 14,
4458
4458
  height: e = 14,
4459
4459
  color: t = "#10B981",
@@ -4482,7 +4482,7 @@ const Qt = ({
4482
4482
  )
4483
4483
  ]
4484
4484
  }
4485
- ), y2 = ({
4485
+ ), b2 = ({
4486
4486
  width: i = 11,
4487
4487
  height: e = 11,
4488
4488
  color: t = "#FFB020",
@@ -4516,7 +4516,7 @@ const Qt = ({
4516
4516
  )
4517
4517
  ]
4518
4518
  }
4519
- ), b2 = ({
4519
+ ), E2 = ({
4520
4520
  width: i = 10,
4521
4521
  height: e = 10,
4522
4522
  color: t = "#88A4FF",
@@ -4564,7 +4564,7 @@ const Qt = ({
4564
4564
  )
4565
4565
  ]
4566
4566
  }
4567
- ), E2 = ({
4567
+ ), H2 = ({
4568
4568
  width: i = 14,
4569
4569
  height: e = 14,
4570
4570
  color: t = "#8E8E93",
@@ -4592,7 +4592,7 @@ const Qt = ({
4592
4592
  )
4593
4593
  ]
4594
4594
  }
4595
- ), H2 = ({
4595
+ ), V2 = ({
4596
4596
  width: i = 14,
4597
4597
  height: e = 14,
4598
4598
  color: t = "#FFB020",
@@ -4626,7 +4626,7 @@ const Qt = ({
4626
4626
  )
4627
4627
  ]
4628
4628
  }
4629
- ), V2 = ({
4629
+ ), _2 = ({
4630
4630
  width: i = 14,
4631
4631
  height: e = 14,
4632
4632
  color: t = "#D0421B",
@@ -4674,7 +4674,7 @@ const Qt = ({
4674
4674
  )
4675
4675
  ]
4676
4676
  }
4677
- ), _2 = ({
4677
+ ), I2 = ({
4678
4678
  width: i = 20,
4679
4679
  height: e = 20,
4680
4680
  color: t = "#070739",
@@ -4704,7 +4704,7 @@ const Qt = ({
4704
4704
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
4705
4705
  ]
4706
4706
  }
4707
- ), I2 = ({
4707
+ ), O2 = ({
4708
4708
  width: i = 20,
4709
4709
  height: e = 20,
4710
4710
  color: t = "#070739",
@@ -4742,7 +4742,7 @@ const Qt = ({
4742
4742
  )
4743
4743
  ]
4744
4744
  }
4745
- ), O2 = ({
4745
+ ), S2 = ({
4746
4746
  width: i = 9,
4747
4747
  height: e = 5,
4748
4748
  color: t = "#001E52",
@@ -4768,7 +4768,7 @@ const Qt = ({
4768
4768
  }
4769
4769
  )
4770
4770
  }
4771
- ), S2 = ({
4771
+ ), A2 = ({
4772
4772
  width: i = 20,
4773
4773
  height: e = 20,
4774
4774
  color: t = "#F2F2F7",
@@ -4797,7 +4797,7 @@ const Qt = ({
4797
4797
  )
4798
4798
  ]
4799
4799
  }
4800
- ), A2 = ({
4800
+ ), B2 = ({
4801
4801
  width: i = 20,
4802
4802
  height: e = 20,
4803
4803
  color: t = "#004ED7",
@@ -4826,7 +4826,7 @@ const Qt = ({
4826
4826
  )
4827
4827
  ]
4828
4828
  }
4829
- ), B2 = ({
4829
+ ), Z2 = ({
4830
4830
  width: i = 248,
4831
4831
  height: e = 248,
4832
4832
  color: t = "#070739",
@@ -4863,7 +4863,7 @@ const Qt = ({
4863
4863
  )
4864
4864
  ]
4865
4865
  }
4866
- ), Z2 = ({
4866
+ ), W2 = ({
4867
4867
  width: i = 24,
4868
4868
  height: e = 24,
4869
4869
  color: t = "#001E52",
@@ -4902,7 +4902,7 @@ const Qt = ({
4902
4902
  )
4903
4903
  ]
4904
4904
  }
4905
- ), W2 = ({
4905
+ ), j2 = ({
4906
4906
  width: i = 10,
4907
4907
  height: e = 10,
4908
4908
  color: t = "#001E52",
@@ -4931,7 +4931,7 @@ const Qt = ({
4931
4931
  )
4932
4932
  ]
4933
4933
  }
4934
- ), j2 = ({
4934
+ ), D2 = ({
4935
4935
  width: i = 10,
4936
4936
  height: e = 10,
4937
4937
  color: t = "#001E52",
@@ -4968,10 +4968,10 @@ const Qt = ({
4968
4968
  )
4969
4969
  ]
4970
4970
  }
4971
- ), D2 = ({
4971
+ ), T2 = ({
4972
4972
  width: i = 24,
4973
4973
  height: e = 24,
4974
- color: t = L.GREY_DARK_5,
4974
+ color: t = v.GREY_DARK_5,
4975
4975
  className: s,
4976
4976
  onClick: n
4977
4977
  }) => /* @__PURE__ */ C(
@@ -5007,10 +5007,10 @@ const Qt = ({
5007
5007
  )
5008
5008
  ]
5009
5009
  }
5010
- ), T2 = ({
5010
+ ), G2 = ({
5011
5011
  width: i = 20,
5012
5012
  height: e = 20,
5013
- color: t = L.GREY_DARK_1,
5013
+ color: t = v.GREY_DARK_1,
5014
5014
  className: s,
5015
5015
  onClick: n
5016
5016
  }) => /* @__PURE__ */ C(
@@ -5040,10 +5040,10 @@ const Qt = ({
5040
5040
  )
5041
5041
  ]
5042
5042
  }
5043
- ), G2 = ({
5043
+ ), K2 = ({
5044
5044
  width: i = 81,
5045
5045
  height: e = 80,
5046
- color: t = L.GREY_DARK_5,
5046
+ color: t = v.GREY_DARK_5,
5047
5047
  className: s,
5048
5048
  onClick: n
5049
5049
  }) => /* @__PURE__ */ C(
@@ -5089,9 +5089,9 @@ const Qt = ({
5089
5089
  )
5090
5090
  ]
5091
5091
  }
5092
- ), K2 = ({
5092
+ ), P2 = ({
5093
5093
  className: i,
5094
- color: e = L.GREY_DARK_5,
5094
+ color: e = v.GREY_DARK_5,
5095
5095
  height: t = 20,
5096
5096
  width: s = 20,
5097
5097
  onClick: n
@@ -5116,9 +5116,9 @@ const Qt = ({
5116
5116
  }
5117
5117
  )
5118
5118
  }
5119
- ), P2 = ({
5119
+ ), $2 = ({
5120
5120
  className: i,
5121
- color: e = L.GREY_DARK_5,
5121
+ color: e = v.GREY_DARK_5,
5122
5122
  height: t = 20,
5123
5123
  width: s = 20,
5124
5124
  onClick: n
@@ -5143,9 +5143,9 @@ const Qt = ({
5143
5143
  }
5144
5144
  )
5145
5145
  }
5146
- ), $2 = ({
5146
+ ), F2 = ({
5147
5147
  className: i,
5148
- color: e = L.GREY_DARK_5,
5148
+ color: e = v.GREY_DARK_5,
5149
5149
  height: t = 5,
5150
5150
  width: s = 10,
5151
5151
  onClick: n
@@ -5167,9 +5167,9 @@ const Qt = ({
5167
5167
  }
5168
5168
  )
5169
5169
  }
5170
- ), F2 = ({
5170
+ ), Y2 = ({
5171
5171
  className: i,
5172
- color: e = L.GREY_DARK_5,
5172
+ color: e = v.GREY_DARK_5,
5173
5173
  height: t = 5,
5174
5174
  width: s = 10,
5175
5175
  onClick: n
@@ -5192,9 +5192,9 @@ const Qt = ({
5192
5192
  }
5193
5193
  )
5194
5194
  }
5195
- ), Y2 = ({
5195
+ ), U2 = ({
5196
5196
  className: i,
5197
- color: e = L.GREY_DARK_5,
5197
+ color: e = v.GREY_DARK_5,
5198
5198
  height: t = 24,
5199
5199
  width: s = 24,
5200
5200
  onClick: n
@@ -5231,9 +5231,9 @@ const Qt = ({
5231
5231
  )
5232
5232
  ]
5233
5233
  }
5234
- ), U2 = ({
5234
+ ), z2 = ({
5235
5235
  className: i,
5236
- color: e = L.GREY_DARK_5,
5236
+ color: e = v.GREY_DARK_5,
5237
5237
  height: t = 24,
5238
5238
  width: s = 24,
5239
5239
  onClick: n
@@ -5270,9 +5270,9 @@ const Qt = ({
5270
5270
  )
5271
5271
  ]
5272
5272
  }
5273
- ), z2 = ({
5273
+ ), J2 = ({
5274
5274
  className: i,
5275
- color: e = L.GREY_DARK_5,
5275
+ color: e = v.GREY_DARK_5,
5276
5276
  height: t = 24,
5277
5277
  width: s = 24,
5278
5278
  onClick: n
@@ -5297,9 +5297,9 @@ const Qt = ({
5297
5297
  }
5298
5298
  )
5299
5299
  }
5300
- ), J2 = ({
5300
+ ), Q2 = ({
5301
5301
  className: i,
5302
- color: e = L.GREY_DARK_5,
5302
+ color: e = v.GREY_DARK_5,
5303
5303
  height: t = 24,
5304
5304
  width: s = 24,
5305
5305
  onClick: n
@@ -5356,9 +5356,9 @@ const Qt = ({
5356
5356
  )
5357
5357
  ]
5358
5358
  }
5359
- ), Q2 = ({
5359
+ ), q2 = ({
5360
5360
  className: i,
5361
- color: e = L.GREY_DARK_5,
5361
+ color: e = v.GREY_DARK_5,
5362
5362
  height: t = 24,
5363
5363
  width: s = 24,
5364
5364
  onClick: n
@@ -5393,9 +5393,9 @@ const Qt = ({
5393
5393
  )
5394
5394
  ]
5395
5395
  }
5396
- ), q2 = ({
5396
+ ), X2 = ({
5397
5397
  className: i,
5398
- color: e = L.GREY_DARK_3,
5398
+ color: e = v.GREY_DARK_3,
5399
5399
  height: t = 14,
5400
5400
  width: s = 14,
5401
5401
  onClick: n
@@ -5430,9 +5430,9 @@ const Qt = ({
5430
5430
  )
5431
5431
  ]
5432
5432
  }
5433
- ), X2 = ({
5433
+ ), e5 = ({
5434
5434
  className: i,
5435
- color: e = L.GREY_DARK_5,
5435
+ color: e = v.GREY_DARK_5,
5436
5436
  height: t = 18,
5437
5437
  onClick: s,
5438
5438
  width: n = 18
@@ -5457,9 +5457,9 @@ const Qt = ({
5457
5457
  }
5458
5458
  )
5459
5459
  }
5460
- ), e5 = ({
5460
+ ), t5 = ({
5461
5461
  className: i,
5462
- color: e = L.GREY_DARK_5,
5462
+ color: e = v.GREY_DARK_5,
5463
5463
  height: t = 24,
5464
5464
  width: s = 24,
5465
5465
  onClick: n
@@ -5509,9 +5509,9 @@ const Qt = ({
5509
5509
  )
5510
5510
  ]
5511
5511
  }
5512
- ), t5 = ({
5512
+ ), i5 = ({
5513
5513
  className: i,
5514
- color: e = L.GREY_DARK_5,
5514
+ color: e = v.GREY_DARK_5,
5515
5515
  height: t = 24,
5516
5516
  width: s = 24,
5517
5517
  onClick: n
@@ -5546,9 +5546,9 @@ const Qt = ({
5546
5546
  )
5547
5547
  ]
5548
5548
  }
5549
- ), i5 = ({
5549
+ ), s5 = ({
5550
5550
  className: i,
5551
- color: e = L.NOTIFICATION_WARNING_DARK,
5551
+ color: e = v.NOTIFICATION_WARNING_DARK,
5552
5552
  height: t = 37,
5553
5553
  width: s = 36,
5554
5554
  onClick: n
@@ -5585,9 +5585,9 @@ const Qt = ({
5585
5585
  )
5586
5586
  ]
5587
5587
  }
5588
- ), s5 = ({
5588
+ ), n5 = ({
5589
5589
  className: i,
5590
- color: e = L.GREY_DARK_5,
5590
+ color: e = v.GREY_DARK_5,
5591
5591
  height: t = 24,
5592
5592
  width: s = 24,
5593
5593
  onClick: n
@@ -5611,9 +5611,9 @@ const Qt = ({
5611
5611
  }
5612
5612
  )
5613
5613
  }
5614
- ), n5 = ({
5614
+ ), r5 = ({
5615
5615
  className: i,
5616
- color: e = L.GREY_DARK_5,
5616
+ color: e = v.GREY_DARK_5,
5617
5617
  height: t = 24,
5618
5618
  width: s = 24,
5619
5619
  onClick: n
@@ -5650,9 +5650,9 @@ const Qt = ({
5650
5650
  )
5651
5651
  ]
5652
5652
  }
5653
- ), r5 = ({
5653
+ ), o5 = ({
5654
5654
  className: i,
5655
- color: e = L.GREY_DARK_5,
5655
+ color: e = v.GREY_DARK_5,
5656
5656
  height: t = 24,
5657
5657
  width: s = 24,
5658
5658
  onClick: n
@@ -5689,9 +5689,9 @@ const Qt = ({
5689
5689
  )
5690
5690
  ]
5691
5691
  }
5692
- ), o5 = ({
5692
+ ), l5 = ({
5693
5693
  className: i,
5694
- color: e = L.GREY_DARK_5,
5694
+ color: e = v.GREY_DARK_5,
5695
5695
  height: t = 24,
5696
5696
  width: s = 24,
5697
5697
  onClick: n
@@ -5758,9 +5758,9 @@ const Qt = ({
5758
5758
  )
5759
5759
  ]
5760
5760
  }
5761
- ), l5 = ({
5761
+ ), a5 = ({
5762
5762
  className: i,
5763
- color: e = L.GREY_DARK_5,
5763
+ color: e = v.GREY_DARK_5,
5764
5764
  height: t = 24,
5765
5765
  width: s = 24,
5766
5766
  onClick: n
@@ -5797,9 +5797,9 @@ const Qt = ({
5797
5797
  )
5798
5798
  ]
5799
5799
  }
5800
- ), a5 = ({
5800
+ ), h5 = ({
5801
5801
  className: i,
5802
- color: e = L.GREY_DARK_5,
5802
+ color: e = v.GREY_DARK_5,
5803
5803
  height: t = 24,
5804
5804
  width: s = 24,
5805
5805
  onClick: n
@@ -5854,9 +5854,9 @@ const Qt = ({
5854
5854
  )
5855
5855
  ]
5856
5856
  }
5857
- ), h5 = ({
5857
+ ), c5 = ({
5858
5858
  className: i,
5859
- color: e = L.GREY_DARK_5,
5859
+ color: e = v.GREY_DARK_5,
5860
5860
  height: t = 24,
5861
5861
  width: s = 24,
5862
5862
  onClick: n
@@ -5893,9 +5893,9 @@ const Qt = ({
5893
5893
  )
5894
5894
  ]
5895
5895
  }
5896
- ), c5 = ({
5896
+ ), d5 = ({
5897
5897
  className: i,
5898
- color: e = L.GREY_DARK_5,
5898
+ color: e = v.GREY_DARK_5,
5899
5899
  height: t = 24,
5900
5900
  width: s = 24,
5901
5901
  onClick: n
@@ -5942,9 +5942,9 @@ const Qt = ({
5942
5942
  )
5943
5943
  ]
5944
5944
  }
5945
- ), d5 = ({
5945
+ ), g5 = ({
5946
5946
  className: i,
5947
- color: e = L.GREY_DARK_5,
5947
+ color: e = v.GREY_DARK_5,
5948
5948
  height: t = 24,
5949
5949
  width: s = 24,
5950
5950
  onClick: n
@@ -5981,9 +5981,9 @@ const Qt = ({
5981
5981
  )
5982
5982
  ]
5983
5983
  }
5984
- ), g5 = ({
5984
+ ), C5 = ({
5985
5985
  className: i,
5986
- color: e = L.GREY_DARK_5,
5986
+ color: e = v.GREY_DARK_5,
5987
5987
  height: t = 24,
5988
5988
  width: s = 24,
5989
5989
  onClick: n
@@ -6008,9 +6008,9 @@ const Qt = ({
6008
6008
  }
6009
6009
  )
6010
6010
  }
6011
- ), C5 = ({
6011
+ ), u5 = ({
6012
6012
  className: i,
6013
- color: e = L.GREY_DARK_5,
6013
+ color: e = v.GREY_DARK_5,
6014
6014
  height: t = 24,
6015
6015
  width: s = 24,
6016
6016
  onClick: n
@@ -6046,9 +6046,9 @@ const Qt = ({
6046
6046
  )
6047
6047
  ]
6048
6048
  }
6049
- ), u5 = ({
6049
+ ), p5 = ({
6050
6050
  className: i,
6051
- color: e = L.GREY_DARK_5,
6051
+ color: e = v.GREY_DARK_5,
6052
6052
  height: t = 24,
6053
6053
  width: s = 24,
6054
6054
  onClick: n
@@ -6067,9 +6067,9 @@ const Qt = ({
6067
6067
  /* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
6068
6068
  ]
6069
6069
  }
6070
- ), p5 = ({
6070
+ ), f5 = ({
6071
6071
  className: i,
6072
- color: e = L.GREY_DARK_5,
6072
+ color: e = v.GREY_DARK_5,
6073
6073
  height: t = 24,
6074
6074
  width: s = 24,
6075
6075
  onClick: n
@@ -6106,9 +6106,9 @@ const Qt = ({
6106
6106
  )
6107
6107
  ]
6108
6108
  }
6109
- ), f5 = ({
6109
+ ), w5 = ({
6110
6110
  className: i,
6111
- color: e = L.GREY_DARK_5,
6111
+ color: e = v.GREY_DARK_5,
6112
6112
  height: t = 24,
6113
6113
  width: s = 24,
6114
6114
  onClick: n
@@ -6145,9 +6145,9 @@ const Qt = ({
6145
6145
  )
6146
6146
  ]
6147
6147
  }
6148
- ), w5 = ({
6148
+ ), m5 = ({
6149
6149
  className: i,
6150
- color: e = L.GREY_DARK_5,
6150
+ color: e = v.GREY_DARK_5,
6151
6151
  height: t = 24,
6152
6152
  width: s = 24,
6153
6153
  onClick: n
@@ -6184,9 +6184,9 @@ const Qt = ({
6184
6184
  )
6185
6185
  ]
6186
6186
  }
6187
- ), m5 = ({
6187
+ ), k5 = ({
6188
6188
  className: i,
6189
- color: e = L.GREY_DARK_2,
6189
+ color: e = v.GREY_DARK_2,
6190
6190
  height: t = 16,
6191
6191
  width: s = 16,
6192
6192
  onClick: n
@@ -6210,9 +6210,9 @@ const Qt = ({
6210
6210
  }
6211
6211
  )
6212
6212
  }
6213
- ), k5 = ({
6213
+ ), L5 = ({
6214
6214
  className: i,
6215
- color: e = L.GREY_DARK_5,
6215
+ color: e = v.GREY_DARK_5,
6216
6216
  height: t = 20,
6217
6217
  width: s = 20,
6218
6218
  onClick: n
@@ -6239,9 +6239,9 @@ const Qt = ({
6239
6239
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6240
6240
  ]
6241
6241
  }
6242
- ), L5 = ({
6242
+ ), v5 = ({
6243
6243
  className: i,
6244
- color: e = L.GREY_DARK_5,
6244
+ color: e = v.GREY_DARK_5,
6245
6245
  height: t = 20,
6246
6246
  width: s = 20,
6247
6247
  onClick: n
@@ -6268,9 +6268,9 @@ const Qt = ({
6268
6268
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
6269
6269
  ]
6270
6270
  }
6271
- ), v5 = ({
6271
+ ), N5 = ({
6272
6272
  className: i,
6273
- color: e = L.GREY_DARK_5,
6273
+ color: e = v.GREY_DARK_5,
6274
6274
  height: t = 20,
6275
6275
  width: s = 20,
6276
6276
  onClick: n
@@ -6285,7 +6285,7 @@ const Qt = ({
6285
6285
  fill: "none",
6286
6286
  xmlns: "http://www.w3.org/2000/svg",
6287
6287
  children: [
6288
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
6288
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: v.GREY_LIGHT_2 }),
6289
6289
  /* @__PURE__ */ r(
6290
6290
  "path",
6291
6291
  {
@@ -6297,9 +6297,9 @@ const Qt = ({
6297
6297
  )
6298
6298
  ]
6299
6299
  }
6300
- ), N5 = ({
6300
+ ), x5 = ({
6301
6301
  className: i,
6302
- color: e = L.GREY_DARK_5,
6302
+ color: e = v.GREY_DARK_5,
6303
6303
  height: t = 20,
6304
6304
  width: s = 20,
6305
6305
  onClick: n
@@ -6314,7 +6314,7 @@ const Qt = ({
6314
6314
  fill: "none",
6315
6315
  xmlns: "http://www.w3.org/2000/svg",
6316
6316
  children: [
6317
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
6317
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: v.GREY_LIGHT_2 }),
6318
6318
  /* @__PURE__ */ r(
6319
6319
  "path",
6320
6320
  {
@@ -6326,7 +6326,7 @@ const Qt = ({
6326
6326
  )
6327
6327
  ]
6328
6328
  }
6329
- ), x5 = ({
6329
+ ), M5 = ({
6330
6330
  className: i,
6331
6331
  color: e = "#001E52",
6332
6332
  height: t = 24,
@@ -6380,7 +6380,7 @@ const Qt = ({
6380
6380
  }
6381
6381
  )
6382
6382
  }
6383
- ), M5 = ({
6383
+ ), y5 = ({
6384
6384
  className: i,
6385
6385
  color: e = "#001E52",
6386
6386
  height: t = 24,
@@ -6418,7 +6418,7 @@ const Qt = ({
6418
6418
  )
6419
6419
  ] }) })
6420
6420
  }
6421
- ), y5 = ({
6421
+ ), b5 = ({
6422
6422
  width: i = 20,
6423
6423
  height: e = 20,
6424
6424
  color: t = "#001E52",
@@ -6474,7 +6474,7 @@ const Qt = ({
6474
6474
  }
6475
6475
  )
6476
6476
  }
6477
- ), b5 = ({
6477
+ ), E5 = ({
6478
6478
  name: i,
6479
6479
  width: e,
6480
6480
  height: t,
@@ -6483,49 +6483,49 @@ const Qt = ({
6483
6483
  disabled: l = !1,
6484
6484
  onClick: c
6485
6485
  }) => {
6486
- const [o, d] = A(n), { theme: g } = a1(Y1), a = l ? g && g === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = l ? void 0 : c;
6487
- return G(() => {
6486
+ const [o, d] = W(n), { theme: g } = a1(U1), a = l ? g && g === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : s, h = l ? void 0 : c;
6487
+ return K(() => {
6488
6488
  if (n) {
6489
6489
  h && !l && d(`${n} clickable`);
6490
6490
  return;
6491
6491
  }
6492
6492
  h && !l && d("clickable");
6493
- }, [h, n, l]), /* @__PURE__ */ r(X, { children: (() => {
6493
+ }, [h, n, l]), /* @__PURE__ */ r(e1, { children: (() => {
6494
6494
  switch (i) {
6495
6495
  case "nextIcon":
6496
- return K2({ width: e, height: t, color: a, className: o, onClick: h });
6497
- case "prevIcon":
6498
6496
  return P2({ width: e, height: t, color: a, className: o, onClick: h });
6497
+ case "prevIcon":
6498
+ return $2({ width: e, height: t, color: a, className: o, onClick: h });
6499
6499
  case "arrowUp":
6500
- return Qt({ width: e, height: t, color: a, className: o, onClick: h });
6501
- case "arrowDown":
6502
6500
  return qt({ width: e, height: t, color: a, className: o, onClick: h });
6503
- case "info":
6501
+ case "arrowDown":
6504
6502
  return Xt({ width: e, height: t, color: a, className: o, onClick: h });
6505
- case "arrowRight":
6503
+ case "info":
6506
6504
  return e2({ width: e, height: t, color: a, className: o, onClick: h });
6507
- case "calendar":
6505
+ case "arrowRight":
6508
6506
  return t2({ width: e, height: t, color: a, className: o, onClick: h });
6509
- case "ok":
6507
+ case "calendar":
6510
6508
  return i2({ width: e, height: t, color: a, className: o, onClick: h });
6511
- case "cancel":
6509
+ case "ok":
6512
6510
  return s2({ width: e, height: t, color: a, className: o, onClick: h });
6513
- case "add":
6511
+ case "cancel":
6514
6512
  return n2({ width: e, height: t, color: a, className: o, onClick: h });
6515
- case "list":
6513
+ case "add":
6516
6514
  return r2({ width: e, height: t, color: a, className: o, onClick: h });
6517
- case "dragAndDrop":
6515
+ case "list":
6518
6516
  return o2({ width: e, height: t, color: a, className: o, onClick: h });
6519
- case "filter":
6517
+ case "dragAndDrop":
6520
6518
  return l2({ width: e, height: t, color: a, className: o, onClick: h });
6521
- case "attention":
6519
+ case "filter":
6522
6520
  return a2({ width: e, height: t, color: a, className: o, onClick: h });
6523
- case "plus":
6521
+ case "attention":
6524
6522
  return h2({ width: e, height: t, color: a, className: o, onClick: h });
6525
- case "time":
6523
+ case "plus":
6526
6524
  return c2({ width: e, height: t, color: a, className: o, onClick: h });
6525
+ case "time":
6526
+ return d2({ width: e, height: t, color: a, className: o, onClick: h });
6527
6527
  case "arrowDownLong":
6528
- return d2({
6528
+ return g2({
6529
6529
  width: e,
6530
6530
  height: t,
6531
6531
  color: a,
@@ -6533,9 +6533,9 @@ const Qt = ({
6533
6533
  onClick: h
6534
6534
  });
6535
6535
  case "users":
6536
- return g2({ width: e, height: t, color: a, className: o, onClick: h });
6536
+ return C2({ width: e, height: t, color: a, className: o, onClick: h });
6537
6537
  case "mySkillsMatrix":
6538
- return C2({
6538
+ return u2({
6539
6539
  width: e,
6540
6540
  height: t,
6541
6541
  color: a,
@@ -6543,9 +6543,9 @@ const Qt = ({
6543
6543
  onClick: h
6544
6544
  });
6545
6545
  case "skills":
6546
- return u2({ width: e, height: t, color: a, className: o, onClick: h });
6546
+ return p2({ width: e, height: t, color: a, className: o, onClick: h });
6547
6547
  case "skillsMatrices":
6548
- return p2({
6548
+ return f2({
6549
6549
  width: e,
6550
6550
  height: t,
6551
6551
  color: a,
@@ -6553,21 +6553,21 @@ const Qt = ({
6553
6553
  onClick: h
6554
6554
  });
6555
6555
  case "history":
6556
- return f2({ width: e, height: t, color: a, className: o, onClick: h });
6557
- case "logOut":
6558
6556
  return w2({ width: e, height: t, color: a, className: o, onClick: h });
6559
- case "settings":
6557
+ case "logOut":
6560
6558
  return m2({ width: e, height: t, color: a, className: o, onClick: h });
6561
- case "addSkill":
6559
+ case "settings":
6562
6560
  return k2({ width: e, height: t, color: a, className: o, onClick: h });
6563
- case "conversation":
6561
+ case "addSkill":
6564
6562
  return L2({ width: e, height: t, color: a, className: o, onClick: h });
6565
- case "trash":
6563
+ case "conversation":
6566
6564
  return v2({ width: e, height: t, color: a, className: o, onClick: h });
6567
- case "settings4":
6565
+ case "trash":
6568
6566
  return N2({ width: e, height: t, color: a, className: o, onClick: h });
6569
- case "edit2":
6567
+ case "settings4":
6570
6568
  return x2({ width: e, height: t, color: a, className: o, onClick: h });
6569
+ case "edit2":
6570
+ return M2({ width: e, height: t, color: a, className: o, onClick: h });
6571
6571
  case "notifications":
6572
6572
  return R2({
6573
6573
  width: e,
@@ -6577,9 +6577,9 @@ const Qt = ({
6577
6577
  onClick: h
6578
6578
  });
6579
6579
  case "success":
6580
- return M2({ width: e, height: t, color: a, className: o, onClick: h });
6580
+ return y2({ width: e, height: t, color: a, className: o, onClick: h });
6581
6581
  case "attentionSmall":
6582
- return y2({
6582
+ return b2({
6583
6583
  width: e,
6584
6584
  height: t,
6585
6585
  color: a,
@@ -6587,11 +6587,11 @@ const Qt = ({
6587
6587
  onClick: h
6588
6588
  });
6589
6589
  case "errorSmall":
6590
- return b2({ width: e, height: t, color: a, className: o, onClick: h });
6591
- case "infoMedium":
6592
6590
  return E2({ width: e, height: t, color: a, className: o, onClick: h });
6591
+ case "infoMedium":
6592
+ return H2({ width: e, height: t, color: a, className: o, onClick: h });
6593
6593
  case "attentionMedium":
6594
- return H2({
6594
+ return V2({
6595
6595
  width: e,
6596
6596
  height: t,
6597
6597
  color: a,
@@ -6599,9 +6599,9 @@ const Qt = ({
6599
6599
  onClick: h
6600
6600
  });
6601
6601
  case "errorMedium":
6602
- return V2({ width: e, height: t, color: a, className: o, onClick: h });
6602
+ return _2({ width: e, height: t, color: a, className: o, onClick: h });
6603
6603
  case "faviconSkills":
6604
- return B2({
6604
+ return Z2({
6605
6605
  width: e,
6606
6606
  height: t,
6607
6607
  color: a,
@@ -6609,7 +6609,7 @@ const Qt = ({
6609
6609
  onClick: h
6610
6610
  });
6611
6611
  case "visibilityIcon":
6612
- return _2({
6612
+ return I2({
6613
6613
  width: e,
6614
6614
  height: t,
6615
6615
  color: a,
@@ -6617,7 +6617,7 @@ const Qt = ({
6617
6617
  onClick: h
6618
6618
  });
6619
6619
  case "visibilityOffIcon":
6620
- return I2({
6620
+ return O2({
6621
6621
  width: e,
6622
6622
  height: t,
6623
6623
  color: a,
@@ -6625,7 +6625,7 @@ const Qt = ({
6625
6625
  onClick: h
6626
6626
  });
6627
6627
  case "selectArrowIcon":
6628
- return O2({
6628
+ return S2({
6629
6629
  width: e,
6630
6630
  height: t,
6631
6631
  color: a,
@@ -6633,7 +6633,7 @@ const Qt = ({
6633
6633
  onClick: h
6634
6634
  });
6635
6635
  case "expandArrowIcon":
6636
- return S2({
6636
+ return A2({
6637
6637
  width: e,
6638
6638
  height: t,
6639
6639
  color: a,
@@ -6641,7 +6641,7 @@ const Qt = ({
6641
6641
  onClick: h
6642
6642
  });
6643
6643
  case "expandActiveArrowIcon":
6644
- return A2({
6644
+ return B2({
6645
6645
  width: e,
6646
6646
  height: t,
6647
6647
  color: a,
@@ -6649,111 +6649,111 @@ const Qt = ({
6649
6649
  onClick: h
6650
6650
  });
6651
6651
  case "camera":
6652
- return Z2({ width: e, height: t, color: a, className: o, onClick: h });
6653
- case "sortUp":
6654
6652
  return W2({ width: e, height: t, color: a, className: o, onClick: h });
6655
- case "sortDown":
6653
+ case "sortUp":
6656
6654
  return j2({ width: e, height: t, color: a, className: o, onClick: h });
6657
- case "logOut2":
6655
+ case "sortDown":
6658
6656
  return D2({ width: e, height: t, color: a, className: o, onClick: h });
6659
- case "search":
6657
+ case "logOut2":
6660
6658
  return T2({ width: e, height: t, color: a, className: o, onClick: h });
6661
- case "handRock":
6659
+ case "search":
6662
6660
  return G2({ width: e, height: t, color: a, className: o, onClick: h });
6661
+ case "handRock":
6662
+ return K2({ width: e, height: t, color: a, className: o, onClick: h });
6663
6663
  case "arrowUpFilled":
6664
- return F2({ width: e, height: t, color: a, className: o, onClick: h });
6664
+ return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6665
6665
  case "arrowDownFilled":
6666
- return $2({ width: e, height: t, color: a, className: o, onClick: h });
6666
+ return F2({ width: e, height: t, color: a, className: o, onClick: h });
6667
6667
  case "link":
6668
- return Y2({ width: e, height: t, color: a, className: o, onClick: h });
6668
+ return U2({ width: e, height: t, color: a, className: o, onClick: h });
6669
6669
  case "telegram":
6670
- return z2({ width: e, height: t, color: a, className: o, onClick: h });
6670
+ return J2({ width: e, height: t, color: a, className: o, onClick: h });
6671
6671
  case "mail":
6672
- return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6672
+ return q2({ width: e, height: t, color: a, className: o, onClick: h });
6673
6673
  case "github":
6674
- return U2({ width: e, height: t, color: a, className: o, onClick: h });
6674
+ return z2({ width: e, height: t, color: a, className: o, onClick: h });
6675
6675
  case "linkedIn":
6676
- return J2({ width: e, height: t, color: a, className: o, onClick: h });
6676
+ return Q2({ width: e, height: t, color: a, className: o, onClick: h });
6677
6677
  case "emptyStateIcon":
6678
- return q2({ width: e, height: t, color: a, className: o, onClick: h });
6679
- case "filtersIcon":
6680
6678
  return X2({ width: e, height: t, color: a, className: o, onClick: h });
6681
- case "dotMenuIcon":
6679
+ case "filtersIcon":
6682
6680
  return e5({ width: e, height: t, color: a, className: o, onClick: h });
6683
- case "plusCircle":
6681
+ case "dotMenuIcon":
6684
6682
  return t5({ width: e, height: t, color: a, className: o, onClick: h });
6685
- case "warning":
6683
+ case "plusCircle":
6686
6684
  return i5({ width: e, height: t, color: a, className: o, onClick: h });
6687
- case "back":
6685
+ case "warning":
6688
6686
  return s5({ width: e, height: t, color: a, className: o, onClick: h });
6689
- case "bell":
6687
+ case "back":
6690
6688
  return n5({ width: e, height: t, color: a, className: o, onClick: h });
6689
+ case "bell":
6690
+ return r5({ width: e, height: t, color: a, className: o, onClick: h });
6691
6691
  case "contract":
6692
- return o5({ width: e, height: t, color: a, className: o, onClick: h });
6692
+ return l5({ width: e, height: t, color: a, className: o, onClick: h });
6693
6693
  case "trash2":
6694
- return r5({ width: e, height: t, color: a, className: o, onClick: h });
6694
+ return o5({ width: e, height: t, color: a, className: o, onClick: h });
6695
6695
  case "manager":
6696
- return l5({ width: e, height: t, color: a, className: o, onClick: h });
6697
- case "resourceManager":
6698
6696
  return a5({ width: e, height: t, color: a, className: o, onClick: h });
6699
- case "settings2":
6697
+ case "resourceManager":
6700
6698
  return h5({ width: e, height: t, color: a, className: o, onClick: h });
6701
- case "image":
6699
+ case "settings2":
6702
6700
  return c5({ width: e, height: t, color: a, className: o, onClick: h });
6703
- case "upload":
6701
+ case "image":
6704
6702
  return d5({ width: e, height: t, color: a, className: o, onClick: h });
6705
- case "edit":
6703
+ case "upload":
6706
6704
  return g5({ width: e, height: t, color: a, className: o, onClick: h });
6707
- case "location":
6705
+ case "edit":
6708
6706
  return C5({ width: e, height: t, color: a, className: o, onClick: h });
6709
- case "plus2":
6707
+ case "location":
6710
6708
  return u5({ width: e, height: t, color: a, className: o, onClick: h });
6711
- case "search2":
6709
+ case "plus2":
6712
6710
  return p5({ width: e, height: t, color: a, className: o, onClick: h });
6713
- case "fastArrowLeft":
6711
+ case "search2":
6714
6712
  return f5({ width: e, height: t, color: a, className: o, onClick: h });
6715
- case "fastArrowRight":
6713
+ case "fastArrowLeft":
6716
6714
  return w5({ width: e, height: t, color: a, className: o, onClick: h });
6717
- case "crossInCircle":
6715
+ case "fastArrowRight":
6718
6716
  return m5({ width: e, height: t, color: a, className: o, onClick: h });
6717
+ case "crossInCircle":
6718
+ return k5({ width: e, height: t, color: a, className: o, onClick: h });
6719
6719
  case "arrowUp2":
6720
- return L5({ width: e, height: t, color: a, className: o, onClick: h });
6720
+ return v5({ width: e, height: t, color: a, className: o, onClick: h });
6721
6721
  case "arrowDown2":
6722
- return k5({ width: e, height: t, color: a, className: o, onClick: h });
6722
+ return L5({ width: e, height: t, color: a, className: o, onClick: h });
6723
6723
  case "filledArrowLeft":
6724
- return v5({ width: e, height: t, color: a, className: o, onClick: h });
6725
- case "filledArrowRight":
6726
6724
  return N5({ width: e, height: t, color: a, className: o, onClick: h });
6727
- case "burgerMenu":
6725
+ case "filledArrowRight":
6728
6726
  return x5({ width: e, height: t, color: a, className: o, onClick: h });
6727
+ case "burgerMenu":
6728
+ return M5({ width: e, height: t, color: a, className: o, onClick: h });
6729
6729
  case "signOut":
6730
6730
  return R5({ width: e, height: t, color: a, className: o, onClick: h });
6731
6731
  case "refresh":
6732
- return M5({ width: e, height: t, color: a, className: o, onClick: h });
6733
- case "projects":
6734
6732
  return y5({ width: e, height: t, color: a, className: o, onClick: h });
6733
+ case "projects":
6734
+ return b5({ width: e, height: t, color: a, className: o, onClick: h });
6735
6735
  default:
6736
- return /* @__PURE__ */ r(X, { children: "No Icon provided" });
6736
+ return /* @__PURE__ */ r(e1, { children: "No Icon provided" });
6737
6737
  }
6738
6738
  })() });
6739
6739
  };
6740
- var U1 = /* @__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))(U1 || {});
6741
- const E5 = r1({
6740
+ var z1 = /* @__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))(z1 || {});
6741
+ const H5 = r1({
6742
6742
  locale: "en",
6743
6743
  theme: "light"
6744
6744
  });
6745
- E5.Provider;
6746
- const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
6745
+ H5.Provider;
6746
+ const J1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n = !0 }) => {
6747
6747
  const l = t === "small" ? 10 : 12.5;
6748
6748
  return /* @__PURE__ */ r(
6749
- P1,
6749
+ $1,
6750
6750
  {
6751
6751
  className: `snmt-tag ${t}`,
6752
6752
  closeIcon: /* @__PURE__ */ r(
6753
- b5,
6753
+ E5,
6754
6754
  {
6755
6755
  name: "errorSmall",
6756
- color: U1.GREY_DARK_2,
6756
+ color: z1.GREY_DARK_2,
6757
6757
  width: l,
6758
6758
  height: l,
6759
6759
  onClick: s
@@ -6762,15 +6762,15 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6762
6762
  bordered: !1,
6763
6763
  style: { width: e ?? "fit-content" },
6764
6764
  closable: n,
6765
- children: typeof i == "string" ? /* @__PURE__ */ r(Jt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6765
+ children: typeof i == "string" ? /* @__PURE__ */ r(Qt, { variant: t === "small" ? "body4" : "body2", children: i }) : i
6766
6766
  }
6767
6767
  );
6768
- }, { Title: H5, Text: V5 } = K1, _5 = {
6768
+ }, { Title: V5, Text: _5 } = P1, I5 = {
6769
6769
  h1: 1,
6770
6770
  h2: 2,
6771
6771
  h3: 3,
6772
6772
  h4: 4
6773
- }, J1 = o1(
6773
+ }, Q1 = o1(
6774
6774
  ({
6775
6775
  align: i = "inherit",
6776
6776
  variant: e = "body1",
@@ -6783,17 +6783,17 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6783
6783
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
6784
6784
  let g = `snmt-typography snmt-typography-${e}`;
6785
6785
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
6786
- H5,
6786
+ V5,
6787
6787
  {
6788
6788
  className: g,
6789
6789
  style: { color: t, whiteSpace: c },
6790
6790
  onClick: n,
6791
- level: _5[e],
6791
+ level: I5[e],
6792
6792
  ref: o,
6793
6793
  children: s
6794
6794
  }
6795
6795
  ) : /* @__PURE__ */ r(
6796
- V5,
6796
+ _5,
6797
6797
  {
6798
6798
  className: g,
6799
6799
  style: { color: t, whiteSpace: c },
@@ -6803,7 +6803,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6803
6803
  }
6804
6804
  );
6805
6805
  }
6806
- ), I5 = ({
6806
+ ), O5 = ({
6807
6807
  children: i,
6808
6808
  content: e,
6809
6809
  isOpen: t,
@@ -6811,9 +6811,9 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6811
6811
  placement: n = "topRight",
6812
6812
  noPadding: l = !1
6813
6813
  }) => {
6814
- const [c, o] = A(!1);
6814
+ const [c, o] = W(!1);
6815
6815
  return /* @__PURE__ */ r(
6816
- Ce,
6816
+ ue,
6817
6817
  {
6818
6818
  content: e,
6819
6819
  arrow: !1,
@@ -6827,7 +6827,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6827
6827
  children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
6828
6828
  }
6829
6829
  );
6830
- }, O5 = ({
6830
+ }, S5 = ({
6831
6831
  values: i,
6832
6832
  onTagClose: e,
6833
6833
  maxWidth: t,
@@ -6835,8 +6835,8 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6835
6835
  options: n,
6836
6836
  extraOptions: l
6837
6837
  }) => {
6838
- const [c, o] = A(!1);
6839
- G(() => {
6838
+ const [c, o] = W(!1);
6839
+ K(() => {
6840
6840
  i.length || o(!1);
6841
6841
  }, [i]);
6842
6842
  const d = (a) => {
@@ -6849,12 +6849,12 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6849
6849
  return ((h = n == null ? void 0 : n.find((p) => p.value === a)) == null ? void 0 : h.label) || ((u = l == null ? void 0 : l.find((p) => p.value === a)) == null ? void 0 : u.label) || a;
6850
6850
  };
6851
6851
  return /* @__PURE__ */ r("div", { onMouseDown: d, className: "wrapper", children: /* @__PURE__ */ r(
6852
- I5,
6852
+ O5,
6853
6853
  {
6854
6854
  content: (
6855
6855
  // 90: paddings + margins + gaps and so on
6856
6856
  /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, children: /* @__PURE__ */ r(d1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: a }) => /* @__PURE__ */ r(
6857
- z1,
6857
+ J1,
6858
6858
  {
6859
6859
  onClose: () => e(a),
6860
6860
  closable: !s,
@@ -6866,13 +6866,13 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6866
6866
  placement: "bottomRight",
6867
6867
  isOpen: c,
6868
6868
  setIsOpen: o,
6869
- children: /* @__PURE__ */ r(P1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ C(J1, { variant: "body4", color: c ? q.BLUE_PRIMARY : void 0, children: [
6869
+ children: /* @__PURE__ */ r($1, { className: `overflow-button ${c ? "open" : ""}`, bordered: !1, children: /* @__PURE__ */ C(Q1, { variant: "body4", color: c ? X.BLUE_PRIMARY : void 0, children: [
6870
6870
  i.length,
6871
6871
  " more"
6872
6872
  ] }) })
6873
6873
  }
6874
6874
  ) });
6875
- }, y1 = ({ size: i = 30, color: e = "#004ed7" }) => {
6875
+ }, b1 = ({ size: i = 30, color: e = "#004ed7" }) => {
6876
6876
  const t = `no-repeat linear-gradient(${e}
6877
6877
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
6878
6878
  width: i,
@@ -6880,7 +6880,7 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6880
6880
  backgroundSize: "20% calc(200% + 20px)"
6881
6881
  };
6882
6882
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
6883
- }, b1 = o1(
6883
+ }, E1 = o1(
6884
6884
  ({
6885
6885
  value: i,
6886
6886
  onChange: e,
@@ -6891,170 +6891,171 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
6891
6891
  width: c,
6892
6892
  disabled: o = !1,
6893
6893
  required: d = !1,
6894
- scrollThresholdValue: g = 50,
6895
- onSearchChange: a,
6896
- onDropdownVisibleChange: h,
6897
- onScrollToEnd: u,
6898
- onPopupScroll: p,
6899
- id: v,
6900
- extraOptions: R,
6901
- dropdownRender: N,
6902
- optionRender: E,
6903
- isLoading: M,
6904
- readOnly: V
6905
- }, m) => {
6906
- const [y, x] = A(!1), [f, I] = A(!1), [B, S] = A(!0), [b, D] = A(i), W = l1(null);
6907
- G(() => {
6894
+ clearable: g = !1,
6895
+ scrollThresholdValue: a = 50,
6896
+ onSearchChange: h,
6897
+ onDropdownVisibleChange: u,
6898
+ onScrollToEnd: p,
6899
+ onPopupScroll: N,
6900
+ id: M,
6901
+ extraOptions: k,
6902
+ dropdownRender: b,
6903
+ optionRender: R,
6904
+ isLoading: S,
6905
+ readOnly: f
6906
+ }, y) => {
6907
+ const [x, w] = W(!1), [B, Z] = W(!1), [I, H] = W(!0), [V, D] = W(i), T = l1(null);
6908
+ K(() => {
6908
6909
  D(i);
6909
6910
  }, [i]);
6910
- const _ = (w) => {
6911
- x(w), h && h(w);
6912
- }, T = (w, O) => {
6913
- var K;
6914
- return !!((K = O == null ? void 0 : O.label) != null && K.toString().toLowerCase().includes(w.toLowerCase()));
6915
- }, Y = () => {
6916
- I(!0);
6917
- }, U = () => {
6918
- I(!1);
6919
- }, H = j(
6920
- (w) => {
6921
- if (D(w), s) {
6922
- const K = w;
6923
- e == null || e(K);
6911
+ const E = (m) => {
6912
+ w(m), u && u(m);
6913
+ }, F = (m, _) => {
6914
+ var P;
6915
+ return !!((P = _ == null ? void 0 : _.label) != null && P.toString().toLowerCase().includes(m.toLowerCase()));
6916
+ }, J = () => {
6917
+ Z(!0);
6918
+ }, A = () => {
6919
+ Z(!1);
6920
+ }, O = G(
6921
+ (m) => {
6922
+ if (D(m), s) {
6923
+ const P = m;
6924
+ e == null || e(P);
6924
6925
  return;
6925
6926
  }
6926
- const O = w;
6927
- e == null || e(O);
6927
+ const _ = m;
6928
+ e == null || e(_);
6928
6929
  },
6929
6930
  [s, e]
6930
- ), F = j(() => {
6931
- if (!V) {
6931
+ ), Y = G(() => {
6932
+ if (!f) {
6932
6933
  if (s) {
6933
- H([]);
6934
+ O([]);
6934
6935
  return;
6935
6936
  }
6936
- H("");
6937
+ O("");
6937
6938
  }
6938
- }, [H, s, V]), P = j(
6939
- (w) => {
6940
- const O = b.filter((K) => K !== w);
6941
- H(O), D(O);
6939
+ }, [O, s, f]), U = G(
6940
+ (m) => {
6941
+ const _ = V.filter((P) => P !== m);
6942
+ O(_), D(_);
6942
6943
  },
6943
- [H, b]
6944
- ), e1 = j(
6945
- (w) => (b == null ? void 0 : b.indexOf(w)) === 0 ? (
6944
+ [O, V]
6945
+ ), R1 = G(
6946
+ (m) => (V == null ? void 0 : V.indexOf(m)) === 0 ? (
6946
6947
  // if the search input is empty
6947
6948
  // then display the placeholder, else do not display it
6948
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: B ? t : "" })
6949
- ) : /* @__PURE__ */ r(X, {}),
6950
- [B, b, t]
6951
- ), ie = (w) => {
6952
- w.preventDefault(), w.stopPropagation();
6953
- }, se = async (w) => {
6954
- const { target: O } = w;
6955
- O.scrollTop + O.offsetHeight >= O.scrollHeight - g && (u == null || u(!0)), p && await p(w);
6956
- }, m1 = j(
6957
- (w) => {
6958
- var O, K;
6959
- return ((O = l.find((k1) => k1.value === w)) == null ? void 0 : O.label) || ((K = R == null ? void 0 : R.find(
6960
- (k1) => k1.value === w
6961
- )) == null ? void 0 : K.label) || w;
6949
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: I ? t : "" })
6950
+ ) : /* @__PURE__ */ r(e1, {}),
6951
+ [I, V, t]
6952
+ ), se = (m) => {
6953
+ m.preventDefault(), m.stopPropagation();
6954
+ }, ne = async (m) => {
6955
+ const { target: _ } = m;
6956
+ _.scrollTop + _.offsetHeight >= _.scrollHeight - a && (p == null || p(!0)), N && await N(m);
6957
+ }, m1 = G(
6958
+ (m) => {
6959
+ var _, P;
6960
+ return ((_ = l.find((k1) => k1.value === m)) == null ? void 0 : _.label) || ((P = k == null ? void 0 : k.find(
6961
+ (k1) => k1.value === m
6962
+ )) == null ? void 0 : P.label) || m;
6962
6963
  },
6963
- [R, l]
6964
- ), ne = j(
6965
- (w) => {
6966
- var O;
6964
+ [k, l]
6965
+ ), re = G(
6966
+ (m) => {
6967
+ var _;
6967
6968
  return /* @__PURE__ */ r(
6968
- O5,
6969
+ S5,
6969
6970
  {
6970
- values: w,
6971
- onTagClose: P,
6972
- maxWidth: ((O = W.current) == null ? void 0 : O.clientWidth) || 0,
6973
- disabled: o || V,
6971
+ values: m,
6972
+ onTagClose: U,
6973
+ maxWidth: ((_ = T.current) == null ? void 0 : _.clientWidth) || 0,
6974
+ disabled: o || f,
6974
6975
  options: l,
6975
- extraOptions: R
6976
+ extraOptions: k
6976
6977
  }
6977
6978
  );
6978
6979
  },
6979
- [o, R, P, l, V]
6980
- ), re = j(
6981
- ({ label: w, value: O, mode: K }) => K === "filter" ? e1(O) : /* @__PURE__ */ r("div", { onMouseDown: ie, className: "tag-wrapper", children: /* @__PURE__ */ r(z1, { onClose: () => P(O), closable: !o, children: /* @__PURE__ */ r(J1, { variant: "body4", children: typeof w == "object" ? w : m1(O) }) }) }),
6982
- [o, m1, P, e1]
6980
+ [o, k, U, l, f]
6981
+ ), oe = G(
6982
+ ({ label: m, value: _, mode: P }) => P === "filter" ? R1(_) : /* @__PURE__ */ r("div", { onMouseDown: se, className: "tag-wrapper", children: /* @__PURE__ */ r(J1, { onClose: () => U(_), closable: !o, children: /* @__PURE__ */ r(Q1, { variant: "body4", children: typeof m == "object" ? m : m1(_) }) }) }),
6983
+ [o, m1, U, R1]
6983
6984
  );
6984
6985
  return /* @__PURE__ */ C(
6985
6986
  "div",
6986
6987
  {
6987
- className: `snmt-select ${f ? "snmt-select-focused" : ""}
6988
- ${s ? "" : "snmt-select-single"} ${V ? "snmt-select-read-only" : ""}`,
6989
- ref: W,
6988
+ className: `snmt-select ${B ? "snmt-select-focused" : ""}
6989
+ ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
6990
+ ref: T,
6990
6991
  style: { width: c },
6991
6992
  children: [
6992
6993
  /* @__PURE__ */ r(
6993
- he,
6994
+ ce,
6994
6995
  {
6995
6996
  className: "snmt-select-blank",
6996
- popupClassName: V ? "dropdown-read-only" : "",
6997
- id: v,
6998
- ref: m,
6997
+ popupClassName: f ? "dropdown-read-only" : "",
6998
+ id: M,
6999
+ ref: y,
6999
7000
  showSearch: !!n,
7000
- filterOption: n && T,
7001
- onDropdownVisibleChange: _,
7001
+ filterOption: n && F,
7002
+ onDropdownVisibleChange: E,
7002
7003
  placeholder: t ? d ? `${t}*` : t : void 0,
7003
7004
  disabled: o,
7004
- value: b || void 0,
7005
- labelRender: (w) => m1(w.value),
7005
+ value: V || void 0,
7006
+ labelRender: (m) => m1(m.value),
7006
7007
  mode: s === "filter" ? "multiple" : s,
7007
- onChange: H,
7008
- onFocus: Y,
7009
- onBlur: U,
7010
- onSearch: (w) => {
7011
- S(!w), a && a(w);
7008
+ onChange: O,
7009
+ onFocus: J,
7010
+ onBlur: A,
7011
+ onSearch: (m) => {
7012
+ H(!m), h && h(m);
7012
7013
  },
7013
- onSelect: () => S(!0),
7014
- onDeselect: () => S(!0),
7015
- tagRender: (w) => re({ ...w, mode: s }),
7014
+ onSelect: () => H(!0),
7015
+ onDeselect: () => H(!0),
7016
+ tagRender: (m) => oe({ ...m, mode: s }),
7016
7017
  maxTagCount: "responsive",
7017
- maxTagPlaceholder: ne,
7018
- onPopupScroll: se,
7019
- prefix: M && /* @__PURE__ */ r(y1, { size: 15 }),
7020
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(X, { children: [
7021
- s && b && !!b.length && /* @__PURE__ */ r("div", { onClick: F, children: /* @__PURE__ */ r(h1, { name: "cancel" }) }),
7018
+ maxTagPlaceholder: re,
7019
+ onPopupScroll: ne,
7020
+ prefix: S && /* @__PURE__ */ r(b1, { size: 15 }),
7021
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(e1, { children: [
7022
+ V && !!V.length && (s || g) && /* @__PURE__ */ r("div", { onClick: Y, children: /* @__PURE__ */ r(h1, { name: "cancel" }) }),
7022
7023
  /* @__PURE__ */ r(
7023
7024
  h1,
7024
7025
  {
7025
7026
  name: "selectArrowIcon",
7026
- color: o ? q.GREY_DARK_1 : q.GREY_DARK_5,
7027
- className: y ? "select-arrow-rotated" : "select-arrow",
7028
- onClick: () => x(!y)
7027
+ color: o ? X.GREY_DARK_1 : X.GREY_DARK_5,
7028
+ className: x ? "select-arrow-rotated" : "select-arrow",
7029
+ onClick: () => w(!x)
7029
7030
  }
7030
7031
  )
7031
7032
  ] }) }),
7032
- removeIcon: /* @__PURE__ */ r(h1, { name: "errorSmall", color: q.GREY_DARK_2 }),
7033
+ removeIcon: /* @__PURE__ */ r(h1, { name: "errorSmall", color: X.GREY_DARK_2 }),
7033
7034
  options: l,
7034
- optionRender: (w) => E ? E(w.data) : /* @__PURE__ */ C(d1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7035
+ optionRender: (m) => R ? R(m.data) : /* @__PURE__ */ C(d1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
7035
7036
  /* @__PURE__ */ C(d1, { alignItems: "center", gap: 12, children: [
7036
7037
  s && /* @__PURE__ */ r(
7037
- fe,
7038
+ we,
7038
7039
  {
7039
- checked: !!(b != null && b.includes(w.value))
7040
+ checked: !!(V != null && V.includes(m.value))
7040
7041
  }
7041
7042
  ),
7042
7043
  /* @__PURE__ */ C(d1, { alignItems: "center", gap: 8, children: [
7043
- w.data.image && /* @__PURE__ */ r(pe, { src: w.data.image, size: 20 }),
7044
- /* @__PURE__ */ r("span", { children: w.label })
7044
+ m.data.image && /* @__PURE__ */ r(fe, { src: m.data.image, size: 20 }),
7045
+ /* @__PURE__ */ r("span", { children: m.label })
7045
7046
  ] })
7046
7047
  ] }),
7047
- !s && b === w.value && /* @__PURE__ */ r(
7048
+ !s && V === m.value && /* @__PURE__ */ r(
7048
7049
  h1,
7049
7050
  {
7050
7051
  name: "ok",
7051
- color: q.BLUE_PRIMARY,
7052
+ color: X.BLUE_PRIMARY,
7052
7053
  width: 16,
7053
7054
  height: 16
7054
7055
  }
7055
7056
  )
7056
7057
  ] }),
7057
- dropdownRender: M ? () => /* @__PURE__ */ r(
7058
+ dropdownRender: S ? () => /* @__PURE__ */ r(
7058
7059
  "div",
7059
7060
  {
7060
7061
  style: {
@@ -7062,15 +7063,15 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
7062
7063
  display: "grid",
7063
7064
  justifyContent: "center"
7064
7065
  },
7065
- children: /* @__PURE__ */ r(y1, { size: 28 })
7066
+ children: /* @__PURE__ */ r(b1, { size: 28 })
7066
7067
  }
7067
- ) : (w) => N ? N(w) : w
7068
+ ) : (m) => b ? b(m) : m
7068
7069
  }
7069
7070
  ),
7070
7071
  /* @__PURE__ */ r(
7071
7072
  "fieldset",
7072
7073
  {
7073
- className: `${f ? "fieldset-focused" : ""}
7074
+ className: `${B ? "fieldset-focused" : ""}
7074
7075
  ${o ? "fieldset-disabled" : ""}
7075
7076
  ${typeof i == "string" && i ? "fieldset-filled" : ""}
7076
7077
  ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
@@ -7082,9 +7083,9 @@ const z1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: n
7082
7083
  );
7083
7084
  }
7084
7085
  );
7085
- function S5(i, e = 500) {
7086
+ function A5(i, e = 500) {
7086
7087
  const t = l1();
7087
- return G(() => () => {
7088
+ return K(() => () => {
7088
7089
  t.current && clearTimeout(t.current);
7089
7090
  }, []), (...s) => {
7090
7091
  const n = setTimeout(() => {
@@ -7096,7 +7097,7 @@ function S5(i, e = 500) {
7096
7097
  const t1 = {
7097
7098
  limit: 100,
7098
7099
  offset: 0
7099
- }, E1 = o1(
7100
+ }, H1 = o1(
7100
7101
  ({
7101
7102
  loadOptions: i,
7102
7103
  width: e,
@@ -7112,73 +7113,75 @@ const t1 = {
7112
7113
  onDropdownVisibleChange: h,
7113
7114
  optionRender: u,
7114
7115
  dropdownRender: p,
7115
- readOnly: v
7116
- }, R) => {
7117
- const [N, E] = A([]), [M, V] = A(t1), [m, y] = A(!1), [x, f] = A(null), I = j(
7118
- async (_ = !1, T) => {
7119
- if (!m) {
7120
- y(!0);
7116
+ readOnly: N,
7117
+ clearable: M
7118
+ }, k) => {
7119
+ const [b, R] = W([]), [S, f] = W(t1), [y, x] = W(!1), [w, B] = W(null), Z = G(
7120
+ async (E = !1, F) => {
7121
+ if (!y) {
7122
+ x(!0);
7121
7123
  try {
7122
- const Y = _ ? { ...t1, search: T } : M, U = await i(Y);
7123
- E(
7124
- (H) => _ ? U.options : [...H, ...U.options]
7125
- ), f(U.count), V((H) => ({
7126
- ...H,
7127
- offset: H.offset + H.limit
7124
+ const J = E ? { ...t1, search: F } : S, A = await i(J);
7125
+ R(
7126
+ (O) => E ? A.options : [...O, ...A.options]
7127
+ ), B(A.count), f((O) => ({
7128
+ ...O,
7129
+ offset: O.offset + O.limit
7128
7130
  }));
7129
7131
  } finally {
7130
- y(!1);
7132
+ x(!1);
7131
7133
  }
7132
7134
  }
7133
7135
  },
7134
- [M, i, m]
7135
- ), B = S5(I), S = j(
7136
- (_) => {
7137
- _ === "" || _ === void 0 || _ === null ? (V(t1), B(!0)) : B(!0, _);
7136
+ [S, i, y]
7137
+ ), I = A5(Z), H = G(
7138
+ (E) => {
7139
+ E === "" || E === void 0 || E === null ? (f(t1), I(!0)) : I(!0, E);
7138
7140
  },
7139
- [B]
7140
- ), b = async (_) => {
7141
- _ && x !== null && x > N.length && await I(!1);
7142
- }, D = j(
7143
- (_) => {
7144
- _ && !g && (E([]), V(t1), I(!0)), h == null || h(_);
7141
+ [I]
7142
+ ), V = async (E) => {
7143
+ E && w !== null && w > b.length && await Z(!1);
7144
+ }, D = G(
7145
+ (E) => {
7146
+ E && !g && (R([]), f(t1), Z(!0)), h == null || h(E);
7145
7147
  },
7146
7148
  // eslint-disable-next-line
7147
7149
  [g]
7148
7150
  );
7149
- G(() => {
7150
- g && I(!1);
7151
+ K(() => {
7152
+ g && Z(!1);
7151
7153
  }, []);
7152
- const W = {
7154
+ const T = {
7153
7155
  id: n,
7154
7156
  width: e,
7155
- options: N,
7157
+ options: b,
7156
7158
  onChange: t,
7157
- ref: R,
7159
+ ref: k,
7158
7160
  placeholder: o,
7159
7161
  search: !0,
7160
7162
  value: s,
7161
- onSearchChange: S,
7163
+ onSearchChange: H,
7162
7164
  onDropdownVisibleChange: D,
7163
7165
  scrollThresholdValue: c,
7164
- onScrollToEnd: b,
7166
+ onScrollToEnd: V,
7165
7167
  loadOnClosedState: g,
7166
7168
  disabled: l,
7167
7169
  extraOptions: a,
7168
- isLoading: m,
7170
+ isLoading: y,
7169
7171
  optionRender: u,
7170
7172
  dropdownRender: p,
7171
- readOnly: v
7173
+ readOnly: N,
7174
+ clearable: M
7172
7175
  };
7173
- return ae(R, () => ({
7176
+ return he(k, () => ({
7174
7177
  refetchOptions: async () => {
7175
- V(t1), await I(!0);
7178
+ f(t1), await Z(!0);
7176
7179
  }
7177
- })), d ? /* @__PURE__ */ r(b1, { ...W, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(b1, { ...W, onChange: t, value: s }) });
7180
+ })), d ? /* @__PURE__ */ r(E1, { ...T, onChange: t, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(E1, { ...T, onChange: t, value: s }) });
7178
7181
  }
7179
7182
  );
7180
7183
  var g1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(g1 || {});
7181
- const A5 = ({ size: i = 30, color: e = "#004ed7" }) => {
7184
+ const B5 = ({ size: i = 30, color: e = "#004ed7" }) => {
7182
7185
  const t = `no-repeat linear-gradient(${e}
7183
7186
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
7184
7187
  width: i,
@@ -7187,20 +7190,20 @@ const A5 = ({ size: i = 30, color: e = "#004ed7" }) => {
7187
7190
  };
7188
7191
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
7189
7192
  };
7190
- function B5() {
7193
+ function Z5() {
7191
7194
  if (console && console.warn) {
7192
7195
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7193
7196
  e[t] = arguments[t];
7194
7197
  z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7195
7198
  }
7196
7199
  }
7197
- const H1 = {};
7200
+ const V1 = {};
7198
7201
  function N1() {
7199
7202
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7200
7203
  e[t] = arguments[t];
7201
- z(e[0]) && H1[e[0]] || (z(e[0]) && (H1[e[0]] = /* @__PURE__ */ new Date()), B5(...e));
7204
+ z(e[0]) && V1[e[0]] || (z(e[0]) && (V1[e[0]] = /* @__PURE__ */ new Date()), Z5(...e));
7202
7205
  }
7203
- const Q1 = (i, e) => () => {
7206
+ const q1 = (i, e) => () => {
7204
7207
  if (i.isInitialized)
7205
7208
  e();
7206
7209
  else {
@@ -7211,13 +7214,13 @@ const Q1 = (i, e) => () => {
7211
7214
  };
7212
7215
  i.on("initialized", t);
7213
7216
  }
7214
- }, V1 = (i, e, t) => {
7215
- i.loadNamespaces(e, Q1(i, t));
7216
- }, _1 = (i, e, t, s) => {
7217
+ }, _1 = (i, e, t) => {
7218
+ i.loadNamespaces(e, q1(i, t));
7219
+ }, I1 = (i, e, t, s) => {
7217
7220
  z(t) && (t = [t]), t.forEach((n) => {
7218
7221
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
7219
- }), i.loadLanguages(e, Q1(i, s));
7220
- }, Z5 = function(i, e) {
7222
+ }), i.loadLanguages(e, q1(i, s));
7223
+ }, W5 = function(i, e) {
7221
7224
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7222
7225
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
7223
7226
  if (s.toLowerCase() === "cimode") return !0;
@@ -7226,15 +7229,15 @@ const Q1 = (i, e) => () => {
7226
7229
  return g === -1 || g === 2;
7227
7230
  };
7228
7231
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
7229
- }, W5 = function(i, e) {
7232
+ }, j5 = function(i, e) {
7230
7233
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7231
7234
  return !e.languages || !e.languages.length ? (N1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7232
7235
  lng: t.lng,
7233
7236
  precheck: (n, l) => {
7234
7237
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
7235
7238
  }
7236
- }) : Z5(i, e, t);
7237
- }, z = (i) => typeof i == "string", j5 = (i) => typeof i == "object" && i !== null, D5 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, T5 = {
7239
+ }) : W5(i, e, t);
7240
+ }, z = (i) => typeof i == "string", D5 = (i) => typeof i == "object" && i !== null, T5 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, G5 = {
7238
7241
  "&amp;": "&",
7239
7242
  "&#38;": "&",
7240
7243
  "&lt;": "<",
@@ -7255,7 +7258,7 @@ const Q1 = (i, e) => () => {
7255
7258
  "&#8230;": "…",
7256
7259
  "&#x2F;": "/",
7257
7260
  "&#47;": "/"
7258
- }, G5 = (i) => T5[i], K5 = (i) => i.replace(D5, G5);
7261
+ }, K5 = (i) => G5[i], P5 = (i) => i.replace(T5, K5);
7259
7262
  let x1 = {
7260
7263
  bindI18n: "languageChanged",
7261
7264
  bindI18nStore: "",
@@ -7264,27 +7267,27 @@ let x1 = {
7264
7267
  transWrapTextNodes: "",
7265
7268
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
7266
7269
  useSuspense: !0,
7267
- unescape: K5
7270
+ unescape: P5
7268
7271
  };
7269
- const P5 = function() {
7272
+ const $5 = function() {
7270
7273
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7271
7274
  x1 = {
7272
7275
  ...x1,
7273
7276
  ...i
7274
7277
  };
7275
- }, $5 = () => x1;
7276
- let q1;
7277
- const F5 = (i) => {
7278
- q1 = i;
7279
- }, Y5 = () => q1, U5 = {
7278
+ }, F5 = () => x1;
7279
+ let X1;
7280
+ const Y5 = (i) => {
7281
+ X1 = i;
7282
+ }, U5 = () => X1, z5 = {
7280
7283
  type: "3rdParty",
7281
7284
  init(i) {
7282
- P5(i.options.react), F5(i);
7285
+ $5(i.options.react), Y5(i);
7283
7286
  }
7284
- }, z5 = r1();
7285
- class J5 {
7287
+ }, J5 = r1();
7288
+ class Q5 {
7286
7289
  constructor() {
7287
- M1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7290
+ y1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7288
7291
  this.usedNamespaces = {};
7289
7292
  }
7290
7293
  addUsedNamespaces(e) {
@@ -7293,27 +7296,27 @@ class J5 {
7293
7296
  });
7294
7297
  }
7295
7298
  }
7296
- const Q5 = (i, e) => {
7299
+ const q5 = (i, e) => {
7297
7300
  const t = l1();
7298
- return G(() => {
7301
+ return K(() => {
7299
7302
  t.current = i;
7300
7303
  }, [i, e]), t.current;
7301
- }, X1 = (i, e, t, s) => i.getFixedT(e, t, s), q5 = (i, e, t, s) => j(X1(i, e, t, s), [i, e, t, s]), X5 = function(i) {
7304
+ }, ee = (i, e, t, s) => i.getFixedT(e, t, s), X5 = (i, e, t, s) => G(ee(i, e, t, s), [i, e, t, s]), e3 = function(i) {
7302
7305
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7303
7306
  const {
7304
7307
  i18n: t
7305
7308
  } = e, {
7306
7309
  i18n: s,
7307
7310
  defaultNS: n
7308
- } = a1(z5) || {}, l = t || s || Y5();
7309
- if (l && !l.reportNamespaces && (l.reportNamespaces = new J5()), !l) {
7311
+ } = a1(J5) || {}, l = t || s || U5();
7312
+ if (l && !l.reportNamespaces && (l.reportNamespaces = new Q5()), !l) {
7310
7313
  N1("You will need to pass in an i18next instance by using initReactI18next");
7311
- const m = (x, f) => z(f) ? f : j5(f) && z(f.defaultValue) ? f.defaultValue : Array.isArray(x) ? x[x.length - 1] : x, y = [m, {}, !1];
7312
- return y.t = m, y.i18n = {}, y.ready = !1, y;
7314
+ const f = (x, w) => z(w) ? w : D5(w) && z(w.defaultValue) ? w.defaultValue : Array.isArray(x) ? x[x.length - 1] : x, y = [f, {}, !1];
7315
+ return y.t = f, y.i18n = {}, y.ready = !1, y;
7313
7316
  }
7314
7317
  l.options.react && l.options.react.wait !== void 0 && N1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7315
7318
  const c = {
7316
- ...$5(),
7319
+ ...F5(),
7317
7320
  ...l.options.react,
7318
7321
  ...e
7319
7322
  }, {
@@ -7322,35 +7325,35 @@ const Q5 = (i, e) => {
7322
7325
  } = c;
7323
7326
  let g = i;
7324
7327
  g = z(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
7325
- const a = (l.isInitialized || l.initializedStoreOnce) && g.every((m) => W5(m, l, c)), h = q5(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => X1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [v, R] = A(u);
7326
- let N = g.join();
7327
- e.lng && (N = `${e.lng}${N}`);
7328
- const E = Q5(N), M = l1(!0);
7329
- G(() => {
7328
+ const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => j5(f, l, c)), h = X5(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => ee(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [N, M] = W(u);
7329
+ let k = g.join();
7330
+ e.lng && (k = `${e.lng}${k}`);
7331
+ const b = q5(k), R = l1(!0);
7332
+ K(() => {
7330
7333
  const {
7331
- bindI18n: m,
7334
+ bindI18n: f,
7332
7335
  bindI18nStore: y
7333
7336
  } = c;
7334
- M.current = !0, !a && !o && (e.lng ? _1(l, e.lng, g, () => {
7335
- M.current && R(p);
7336
- }) : V1(l, g, () => {
7337
- M.current && R(p);
7338
- })), a && E && E !== N && M.current && R(p);
7337
+ R.current = !0, !a && !o && (e.lng ? I1(l, e.lng, g, () => {
7338
+ R.current && M(p);
7339
+ }) : _1(l, g, () => {
7340
+ R.current && M(p);
7341
+ })), a && b && b !== k && R.current && M(p);
7339
7342
  const x = () => {
7340
- M.current && R(p);
7343
+ R.current && M(p);
7341
7344
  };
7342
- return m && l && l.on(m, x), y && l && l.store.on(y, x), () => {
7343
- M.current = !1, m && l && m.split(" ").forEach((f) => l.off(f, x)), y && l && y.split(" ").forEach((f) => l.store.off(f, x));
7345
+ return f && l && l.on(f, x), y && l && l.store.on(y, x), () => {
7346
+ R.current = !1, f && l && f.split(" ").forEach((w) => l.off(w, x)), y && l && y.split(" ").forEach((w) => l.store.off(w, x));
7344
7347
  };
7345
- }, [l, N]), G(() => {
7346
- M.current && a && R(u);
7348
+ }, [l, k]), K(() => {
7349
+ R.current && a && M(u);
7347
7350
  }, [l, d, a]);
7348
- const V = [v, l, a];
7349
- if (V.t = v, V.i18n = l, V.ready = a, a || !a && !o) return V;
7350
- throw new Promise((m) => {
7351
- e.lng ? _1(l, e.lng, g, () => m()) : V1(l, g, () => m());
7351
+ const S = [N, l, a];
7352
+ if (S.t = N, S.i18n = l, S.ready = a, a || !a && !o) return S;
7353
+ throw new Promise((f) => {
7354
+ e.lng ? I1(l, e.lng, g, () => f()) : _1(l, g, () => f());
7352
7355
  });
7353
- }, e3 = {
7356
+ }, t3 = {
7354
7357
  type: "logger",
7355
7358
  log(i) {
7356
7359
  this.output("log", i);
@@ -7372,7 +7375,7 @@ class C1 {
7372
7375
  }
7373
7376
  init(e) {
7374
7377
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7375
- this.prefix = t.prefix || "i18next:", this.logger = e || e3, this.options = t, this.debug = t.debug;
7378
+ this.prefix = t.prefix || "i18next:", this.logger = e || t3, this.options = t, this.debug = t.debug;
7376
7379
  }
7377
7380
  log() {
7378
7381
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -7448,23 +7451,23 @@ const i1 = () => {
7448
7451
  i = s, e = n;
7449
7452
  });
7450
7453
  return t.resolve = i, t.reject = e, t;
7451
- }, I1 = (i) => i == null ? "" : "" + i, t3 = (i, e, t) => {
7454
+ }, O1 = (i) => i == null ? "" : "" + i, i3 = (i, e, t) => {
7452
7455
  i.forEach((s) => {
7453
7456
  e[s] && (t[s] = e[s]);
7454
7457
  });
7455
- }, i3 = /###/g, O1 = (i) => i && i.indexOf("###") > -1 ? i.replace(i3, ".") : i, S1 = (i) => !i || typeof i == "string", s1 = (i, e, t) => {
7458
+ }, s3 = /###/g, S1 = (i) => i && i.indexOf("###") > -1 ? i.replace(s3, ".") : i, A1 = (i) => !i || typeof i == "string", s1 = (i, e, t) => {
7456
7459
  const s = typeof e != "string" ? e : e.split(".");
7457
7460
  let n = 0;
7458
7461
  for (; n < s.length - 1; ) {
7459
- if (S1(i)) return {};
7460
- const l = O1(s[n]);
7462
+ if (A1(i)) return {};
7463
+ const l = S1(s[n]);
7461
7464
  !i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
7462
7465
  }
7463
- return S1(i) ? {} : {
7466
+ return A1(i) ? {} : {
7464
7467
  obj: i,
7465
- k: O1(s[n])
7468
+ k: S1(s[n])
7466
7469
  };
7467
- }, A1 = (i, e, t) => {
7470
+ }, B1 = (i, e, t) => {
7468
7471
  const {
7469
7472
  obj: s,
7470
7473
  k: n
@@ -7477,7 +7480,7 @@ const i1 = () => {
7477
7480
  for (; o.obj === void 0 && c.length; )
7478
7481
  l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = s1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
7479
7482
  o.obj[`${o.k}.${l}`] = t;
7480
- }, s3 = (i, e, t, s) => {
7483
+ }, n3 = (i, e, t, s) => {
7481
7484
  const {
7482
7485
  obj: n,
7483
7486
  k: l
@@ -7490,15 +7493,15 @@ const i1 = () => {
7490
7493
  } = s1(i, e);
7491
7494
  if (t)
7492
7495
  return t[s];
7493
- }, n3 = (i, e, t) => {
7496
+ }, r3 = (i, e, t) => {
7494
7497
  const s = u1(i, t);
7495
7498
  return s !== void 0 ? s : u1(e, t);
7496
- }, ee = (i, e, t) => {
7499
+ }, te = (i, e, t) => {
7497
7500
  for (const s in e)
7498
- s !== "__proto__" && s !== "constructor" && (s in i ? typeof i[s] == "string" || i[s] instanceof String || typeof e[s] == "string" || e[s] instanceof String ? t && (i[s] = e[s]) : ee(i[s], e[s], t) : i[s] = e[s]);
7501
+ 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]) : te(i[s], e[s], t) : i[s] = e[s]);
7499
7502
  return i;
7500
- }, J = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7501
- var r3 = {
7503
+ }, Q = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
7504
+ var o3 = {
7502
7505
  "&": "&amp;",
7503
7506
  "<": "&lt;",
7504
7507
  ">": "&gt;",
@@ -7506,8 +7509,8 @@ var r3 = {
7506
7509
  "'": "&#39;",
7507
7510
  "/": "&#x2F;"
7508
7511
  };
7509
- const o3 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => r3[e]) : i;
7510
- class l3 {
7512
+ const l3 = (i) => typeof i == "string" ? i.replace(/[&<>"'\/]/g, (e) => o3[e]) : i;
7513
+ class a3 {
7511
7514
  constructor(e) {
7512
7515
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
7513
7516
  }
@@ -7519,18 +7522,18 @@ class l3 {
7519
7522
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
7520
7523
  }
7521
7524
  }
7522
- const a3 = [" ", ",", "?", "!", ";"], h3 = new l3(20), c3 = (i, e, t) => {
7525
+ const h3 = [" ", ",", "?", "!", ";"], c3 = new a3(20), d3 = (i, e, t) => {
7523
7526
  e = e || "", t = t || "";
7524
- const s = a3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7527
+ const s = h3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
7525
7528
  if (s.length === 0) return !0;
7526
- const n = h3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7529
+ const n = c3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
7527
7530
  let l = !n.test(i);
7528
7531
  if (!l) {
7529
7532
  const c = i.indexOf(t);
7530
7533
  c > 0 && !n.test(i.substring(0, c)) && (l = !0);
7531
7534
  }
7532
7535
  return l;
7533
- }, R1 = function(i, e) {
7536
+ }, M1 = function(i, e) {
7534
7537
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
7535
7538
  if (!i) return;
7536
7539
  if (i[e]) return i[e];
@@ -7551,7 +7554,7 @@ const a3 = [" ", ",", "?", "!", ";"], h3 = new l3(20), c3 = (i, e, t) => {
7551
7554
  }
7552
7555
  return n;
7553
7556
  }, p1 = (i) => i && i.indexOf("_") > 0 ? i.replace("_", "-") : i;
7554
- class B1 extends w1 {
7557
+ class Z1 extends w1 {
7555
7558
  constructor(e) {
7556
7559
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
7557
7560
  ns: ["translation"],
@@ -7572,7 +7575,7 @@ class B1 extends w1 {
7572
7575
  let o;
7573
7576
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : typeof s == "string" && l ? o.push(...s.split(l)) : o.push(s)));
7574
7577
  const d = u1(this.data, o);
7575
- return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : R1(this.data && this.data[e] && this.data[e][t], s, l);
7578
+ return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || typeof s != "string" ? d : M1(this.data && this.data[e] && this.data[e][t], s, l);
7576
7579
  }
7577
7580
  addResource(e, t, s, n) {
7578
7581
  let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -7580,7 +7583,7 @@ class B1 extends w1 {
7580
7583
  };
7581
7584
  const c = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator;
7582
7585
  let o = [e, t];
7583
- s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), A1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7586
+ s && (o = o.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (o = e.split("."), n = t, t = o[1]), this.addNamespaces(t), B1(this.data, o, n), l.silent || this.emit("added", e, t, s, n);
7584
7587
  }
7585
7588
  addResources(e, t, s) {
7586
7589
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -7599,10 +7602,10 @@ class B1 extends w1 {
7599
7602
  }, o = [e, t];
7600
7603
  e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
7601
7604
  let d = u1(this.data, o) || {};
7602
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? ee(d, s, l) : d = {
7605
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? te(d, s, l) : d = {
7603
7606
  ...d,
7604
7607
  ...s
7605
- }, A1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7608
+ }, B1(this.data, o, d), c.silent || this.emit("added", e, t, s);
7606
7609
  }
7607
7610
  removeResourceBundle(e, t) {
7608
7611
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -7626,7 +7629,7 @@ class B1 extends w1 {
7626
7629
  return this.data;
7627
7630
  }
7628
7631
  }
7629
- var te = {
7632
+ var ie = {
7630
7633
  processors: {},
7631
7634
  addPostProcessor(i) {
7632
7635
  this.processors[i.name] = i;
@@ -7637,11 +7640,11 @@ var te = {
7637
7640
  }), e;
7638
7641
  }
7639
7642
  };
7640
- const Z1 = {};
7643
+ const W1 = {};
7641
7644
  class f1 extends w1 {
7642
7645
  constructor(e) {
7643
7646
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7644
- super(), t3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
7647
+ super(), i3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
7645
7648
  }
7646
7649
  changeLanguage(e) {
7647
7650
  e && (this.language = e);
@@ -7660,7 +7663,7 @@ class f1 extends w1 {
7660
7663
  s === void 0 && (s = ":");
7661
7664
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
7662
7665
  let l = t.ns || this.options.defaultNS || [];
7663
- const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !c3(e, s, n);
7666
+ const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !d3(e, s, n);
7664
7667
  if (c && !o) {
7665
7668
  const d = e.match(this.interpolator.nestingRegexp);
7666
7669
  if (d && d.length > 0)
@@ -7687,15 +7690,15 @@ class f1 extends w1 {
7687
7690
  } = this.extractFromKey(e[e.length - 1], t), d = o[o.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
7688
7691
  if (g && g.toLowerCase() === "cimode") {
7689
7692
  if (a) {
7690
- const m = t.nsSeparator || this.options.nsSeparator;
7693
+ const f = t.nsSeparator || this.options.nsSeparator;
7691
7694
  return n ? {
7692
- res: `${d}${m}${c}`,
7695
+ res: `${d}${f}${c}`,
7693
7696
  usedKey: c,
7694
7697
  exactUsedKey: c,
7695
7698
  usedLng: g,
7696
7699
  usedNS: d,
7697
7700
  usedParams: this.getUsedParamsDetails(t)
7698
- } : `${d}${m}${c}`;
7701
+ } : `${d}${f}${c}`;
7699
7702
  }
7700
7703
  return n ? {
7701
7704
  res: c,
@@ -7708,64 +7711,64 @@ class f1 extends w1 {
7708
7711
  }
7709
7712
  const h = this.resolve(e, t);
7710
7713
  let u = h && h.res;
7711
- const p = h && h.usedKey || c, v = h && h.exactUsedKey || c, R = Object.prototype.toString.apply(u), N = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject;
7712
- if (M && u && (typeof u != "string" && typeof u != "boolean" && typeof u != "number") && N.indexOf(R) < 0 && !(typeof E == "string" && Array.isArray(u))) {
7714
+ const p = h && h.usedKey || c, N = h && h.exactUsedKey || c, M = Object.prototype.toString.apply(u), k = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject;
7715
+ if (R && u && (typeof u != "string" && typeof u != "boolean" && typeof u != "number") && k.indexOf(M) < 0 && !(typeof b == "string" && Array.isArray(u))) {
7713
7716
  if (!t.returnObjects && !this.options.returnObjects) {
7714
7717
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
7715
- const m = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
7718
+ const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
7716
7719
  ...t,
7717
7720
  ns: o
7718
7721
  }) : `key '${c} (${this.language})' returned an object instead of string.`;
7719
- return n ? (h.res = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
7722
+ return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
7720
7723
  }
7721
7724
  if (l) {
7722
- const m = Array.isArray(u), y = m ? [] : {}, x = m ? v : p;
7723
- for (const f in u)
7724
- if (Object.prototype.hasOwnProperty.call(u, f)) {
7725
- const I = `${x}${l}${f}`;
7726
- y[f] = this.translate(I, {
7725
+ const f = Array.isArray(u), y = f ? [] : {}, x = f ? N : p;
7726
+ for (const w in u)
7727
+ if (Object.prototype.hasOwnProperty.call(u, w)) {
7728
+ const B = `${x}${l}${w}`;
7729
+ y[w] = this.translate(B, {
7727
7730
  ...t,
7728
7731
  joinArrays: !1,
7729
7732
  ns: o
7730
- }), y[f] === I && (y[f] = u[f]);
7733
+ }), y[w] === B && (y[w] = u[w]);
7731
7734
  }
7732
7735
  u = y;
7733
7736
  }
7734
- } else if (M && typeof E == "string" && Array.isArray(u))
7735
- u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
7737
+ } else if (R && typeof b == "string" && Array.isArray(u))
7738
+ u = u.join(b), u && (u = this.extendTranslation(u, e, t, s));
7736
7739
  else {
7737
- let m = !1, y = !1;
7738
- const x = t.count !== void 0 && typeof t.count != "string", f = f1.hasDefaultValue(t), I = x ? this.pluralResolver.getSuffix(g, t.count, t) : "", B = t.ordinal && x ? this.pluralResolver.getSuffix(g, t.count, {
7740
+ let f = !1, y = !1;
7741
+ const x = t.count !== void 0 && typeof t.count != "string", w = f1.hasDefaultValue(t), B = x ? this.pluralResolver.getSuffix(g, t.count, t) : "", Z = t.ordinal && x ? this.pluralResolver.getSuffix(g, t.count, {
7739
7742
  ordinal: !1
7740
- }) : "", S = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), b = S && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${I}`] || t[`defaultValue${B}`] || t.defaultValue;
7741
- !this.isValidLookup(u) && f && (m = !0, u = b), this.isValidLookup(u) || (y = !0, u = c);
7742
- const W = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : u, _ = f && b !== u && this.options.updateMissing;
7743
- if (y || m || _) {
7744
- if (this.logger.log(_ ? "updateKey" : "missingKey", g, d, c, _ ? b : u), l) {
7745
- const H = this.resolve(c, {
7743
+ }) : "", I = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), H = I && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${B}`] || t[`defaultValue${Z}`] || t.defaultValue;
7744
+ !this.isValidLookup(u) && w && (f = !0, u = H), this.isValidLookup(u) || (y = !0, u = c);
7745
+ const D = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && y ? void 0 : u, T = w && H !== u && this.options.updateMissing;
7746
+ if (y || f || T) {
7747
+ if (this.logger.log(T ? "updateKey" : "missingKey", g, d, c, T ? H : u), l) {
7748
+ const A = this.resolve(c, {
7746
7749
  ...t,
7747
7750
  keySeparator: !1
7748
7751
  });
7749
- H && H.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.");
7750
- }
7751
- let T = [];
7752
- const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7753
- if (this.options.saveMissingTo === "fallback" && Y && Y[0])
7754
- for (let H = 0; H < Y.length; H++)
7755
- T.push(Y[H]);
7756
- else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(t.lng || this.language) : T.push(t.lng || this.language);
7757
- const U = (H, F, P) => {
7758
- const e1 = f && P !== u ? P : W;
7759
- this.options.missingKeyHandler ? this.options.missingKeyHandler(H, d, F, e1, _, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(H, d, F, e1, _, t), this.emit("missingKey", H, d, F, u);
7752
+ A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
7753
+ }
7754
+ let E = [];
7755
+ const F = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
7756
+ if (this.options.saveMissingTo === "fallback" && F && F[0])
7757
+ for (let A = 0; A < F.length; A++)
7758
+ E.push(F[A]);
7759
+ else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(t.lng || this.language) : E.push(t.lng || this.language);
7760
+ const J = (A, O, Y) => {
7761
+ const U = w && Y !== u ? Y : D;
7762
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(A, d, O, U, T, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, d, O, U, T, t), this.emit("missingKey", A, d, O, u);
7760
7763
  };
7761
- this.options.saveMissing && (this.options.saveMissingPlurals && x ? T.forEach((H) => {
7762
- const F = this.pluralResolver.getSuffixes(H, t);
7763
- S && t[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((P) => {
7764
- U([H], c + P, t[`defaultValue${P}`] || b);
7764
+ this.options.saveMissing && (this.options.saveMissingPlurals && x ? E.forEach((A) => {
7765
+ const O = this.pluralResolver.getSuffixes(A, t);
7766
+ I && t[`defaultValue${this.options.pluralSeparator}zero`] && O.indexOf(`${this.options.pluralSeparator}zero`) < 0 && O.push(`${this.options.pluralSeparator}zero`), O.forEach((Y) => {
7767
+ J([A], c + Y, t[`defaultValue${Y}`] || H);
7765
7768
  });
7766
- }) : U(T, c, b));
7769
+ }) : J(E, c, H));
7767
7770
  }
7768
- u = this.extendTranslation(u, e, t, h, s), y && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (y || 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));
7771
+ u = this.extendTranslation(u, e, t, h, s), y && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (y || 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));
7769
7772
  }
7770
7773
  return n ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
7771
7774
  }
@@ -7801,13 +7804,13 @@ class f1 extends w1 {
7801
7804
  a < p && (s.nest = !1);
7802
7805
  }
7803
7806
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
7804
- for (var u = arguments.length, p = new Array(u), v = 0; v < u; v++)
7805
- p[v] = arguments[v];
7807
+ for (var u = arguments.length, p = new Array(u), N = 0; N < u; N++)
7808
+ p[N] = arguments[N];
7806
7809
  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);
7807
7810
  }, s)), s.interpolation && this.interpolator.reset();
7808
7811
  }
7809
7812
  const o = s.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
7810
- return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = te.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7813
+ return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = ie.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
7811
7814
  i18nResolved: {
7812
7815
  ...n,
7813
7816
  usedParams: this.getUsedParamsDetails(s)
@@ -7823,26 +7826,26 @@ class f1 extends w1 {
7823
7826
  n = a;
7824
7827
  let h = g.namespaces;
7825
7828
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
7826
- const u = t.count !== void 0 && typeof t.count != "string", p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), v = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", R = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7827
- h.forEach((N) => {
7828
- this.isValidLookup(s) || (o = N, !Z1[`${R[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Z1[`${R[0]}-${N}`] = !0, this.logger.warn(`key "${n}" for languages "${R.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), R.forEach((E) => {
7829
+ const u = t.count !== void 0 && typeof t.count != "string", p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), N = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", M = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
7830
+ h.forEach((k) => {
7831
+ this.isValidLookup(s) || (o = k, !W1[`${M[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (W1[`${M[0]}-${k}`] = !0, this.logger.warn(`key "${n}" for languages "${M.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), M.forEach((b) => {
7829
7832
  if (this.isValidLookup(s)) return;
7830
- c = E;
7831
- const M = [a];
7833
+ c = b;
7834
+ const R = [a];
7832
7835
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
7833
- this.i18nFormat.addLookupKeys(M, a, E, N, t);
7836
+ this.i18nFormat.addLookupKeys(R, a, b, k, t);
7834
7837
  else {
7835
- let m;
7836
- u && (m = this.pluralResolver.getSuffix(E, t.count, t));
7838
+ let f;
7839
+ u && (f = this.pluralResolver.getSuffix(b, t.count, t));
7837
7840
  const y = `${this.options.pluralSeparator}zero`, x = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
7838
- if (u && (M.push(a + m), t.ordinal && m.indexOf(x) === 0 && M.push(a + m.replace(x, this.options.pluralSeparator)), p && M.push(a + y)), v) {
7839
- const f = `${a}${this.options.contextSeparator}${t.context}`;
7840
- M.push(f), u && (M.push(f + m), t.ordinal && m.indexOf(x) === 0 && M.push(f + m.replace(x, this.options.pluralSeparator)), p && M.push(f + y));
7841
+ if (u && (R.push(a + f), t.ordinal && f.indexOf(x) === 0 && R.push(a + f.replace(x, this.options.pluralSeparator)), p && R.push(a + y)), N) {
7842
+ const w = `${a}${this.options.contextSeparator}${t.context}`;
7843
+ R.push(w), u && (R.push(w + f), t.ordinal && f.indexOf(x) === 0 && R.push(w + f.replace(x, this.options.pluralSeparator)), p && R.push(w + y));
7841
7844
  }
7842
7845
  }
7843
- let V;
7844
- for (; V = M.pop(); )
7845
- this.isValidLookup(s) || (l = V, s = this.getResource(E, N, V, t));
7846
+ let S;
7847
+ for (; S = R.pop(); )
7848
+ this.isValidLookup(s) || (l = S, s = this.getResource(b, k, S, t));
7846
7849
  }));
7847
7850
  });
7848
7851
  }), {
@@ -7885,7 +7888,7 @@ class f1 extends w1 {
7885
7888
  }
7886
7889
  }
7887
7890
  const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
7888
- class W1 {
7891
+ class j1 {
7889
7892
  constructor(e) {
7890
7893
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
7891
7894
  }
@@ -7944,7 +7947,7 @@ class W1 {
7944
7947
  }), n;
7945
7948
  }
7946
7949
  }
7947
- let d3 = [{
7950
+ let g3 = [{
7948
7951
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
7949
7952
  nr: [1, 2],
7950
7953
  fc: 1
@@ -8036,7 +8039,7 @@ let d3 = [{
8036
8039
  lngs: ["he", "iw"],
8037
8040
  nr: [1, 2, 20, 21],
8038
8041
  fc: 22
8039
- }], g3 = {
8042
+ }], C3 = {
8040
8043
  1: (i) => +(i > 1),
8041
8044
  2: (i) => +(i != 1),
8042
8045
  3: (i) => 0,
@@ -8060,28 +8063,28 @@ let d3 = [{
8060
8063
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
8061
8064
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
8062
8065
  };
8063
- const C3 = ["v1", "v2", "v3"], u3 = ["v4"], j1 = {
8066
+ const u3 = ["v1", "v2", "v3"], p3 = ["v4"], D1 = {
8064
8067
  zero: 0,
8065
8068
  one: 1,
8066
8069
  two: 2,
8067
8070
  few: 3,
8068
8071
  many: 4,
8069
8072
  other: 5
8070
- }, p3 = () => {
8073
+ }, f3 = () => {
8071
8074
  const i = {};
8072
- return d3.forEach((e) => {
8075
+ return g3.forEach((e) => {
8073
8076
  e.lngs.forEach((t) => {
8074
8077
  i[t] = {
8075
8078
  numbers: e.nr,
8076
- plurals: g3[e.fc]
8079
+ plurals: C3[e.fc]
8077
8080
  };
8078
8081
  });
8079
8082
  }), i;
8080
8083
  };
8081
- class f3 {
8084
+ class w3 {
8082
8085
  constructor(e) {
8083
8086
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8084
- this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), (!this.options.compatibilityJSON || u3.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 = p3(), this.pluralRulesCache = {};
8087
+ this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), (!this.options.compatibilityJSON || p3.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 = f3(), this.pluralRulesCache = {};
8085
8088
  }
8086
8089
  addRule(e, t) {
8087
8090
  this.rules[e] = t;
@@ -8120,7 +8123,7 @@ class f3 {
8120
8123
  getSuffixes(e) {
8121
8124
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8122
8125
  const s = this.getRule(e, t);
8123
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => j1[n] - j1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8126
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => D1[n] - D1[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
8124
8127
  }
8125
8128
  getSuffix(e, t) {
8126
8129
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -8135,14 +8138,14 @@ class f3 {
8135
8138
  return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
8136
8139
  }
8137
8140
  shouldUseIntlApi() {
8138
- return !C3.includes(this.options.compatibilityJSON);
8141
+ return !u3.includes(this.options.compatibilityJSON);
8139
8142
  }
8140
8143
  }
8141
- const D1 = function(i, e, t) {
8142
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = n3(i, e, t);
8143
- return !l && n && typeof t == "string" && (l = R1(i, t, s), l === void 0 && (l = R1(e, t, s))), l;
8144
+ const T1 = function(i, e, t) {
8145
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = r3(i, e, t);
8146
+ return !l && n && typeof t == "string" && (l = M1(i, t, s), l === void 0 && (l = M1(e, t, s))), l;
8144
8147
  }, v1 = (i) => i.replace(/\$/g, "$$$$");
8145
- class w3 {
8148
+ class m3 {
8146
8149
  constructor() {
8147
8150
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8148
8151
  this.logger = $.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -8165,13 +8168,13 @@ class w3 {
8165
8168
  unescapePrefix: h,
8166
8169
  nestingPrefix: u,
8167
8170
  nestingPrefixEscaped: p,
8168
- nestingSuffix: v,
8169
- nestingSuffixEscaped: R,
8170
- nestingOptionsSeparator: N,
8171
- maxReplaces: E,
8172
- alwaysFormat: M
8171
+ nestingSuffix: N,
8172
+ nestingSuffixEscaped: M,
8173
+ nestingOptionsSeparator: k,
8174
+ maxReplaces: b,
8175
+ alwaysFormat: R
8173
8176
  } = e.interpolation;
8174
- this.escape = t !== void 0 ? t : o3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? J(l) : c || "{{", this.suffix = o ? J(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? J(u) : p || J("$t("), this.nestingSuffix = v ? J(v) : R || J(")"), this.nestingOptionsSeparator = N || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = M !== void 0 ? M : !1, this.resetRegExp();
8177
+ this.escape = t !== void 0 ? t : l3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? Q(l) : c || "{{", this.suffix = o ? Q(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? Q(u) : p || Q("$t("), this.nestingSuffix = N ? Q(N) : M || Q(")"), this.nestingOptionsSeparator = k || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
8175
8178
  }
8176
8179
  reset() {
8177
8180
  this.options && this.init(this.options);
@@ -8184,18 +8187,18 @@ class w3 {
8184
8187
  let l, c, o;
8185
8188
  const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
8186
8189
  if (p.indexOf(this.formatSeparator) < 0) {
8187
- const E = D1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8188
- return this.alwaysFormat ? this.format(E, void 0, s, {
8190
+ const b = T1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
8191
+ return this.alwaysFormat ? this.format(b, void 0, s, {
8189
8192
  ...n,
8190
8193
  ...t,
8191
8194
  interpolationkey: p
8192
- }) : E;
8195
+ }) : b;
8193
8196
  }
8194
- const v = p.split(this.formatSeparator), R = v.shift().trim(), N = v.join(this.formatSeparator).trim();
8195
- return this.format(D1(t, d, R, this.options.keySeparator, this.options.ignoreJSONStructure), N, s, {
8197
+ const N = p.split(this.formatSeparator), M = N.shift().trim(), k = N.join(this.formatSeparator).trim();
8198
+ return this.format(T1(t, d, M, this.options.keySeparator, this.options.ignoreJSONStructure), k, s, {
8196
8199
  ...n,
8197
8200
  ...t,
8198
- interpolationkey: R
8201
+ interpolationkey: M
8199
8202
  });
8200
8203
  };
8201
8204
  this.resetRegExp();
@@ -8208,21 +8211,21 @@ class w3 {
8208
8211
  safeValue: (p) => this.escapeValue ? v1(this.escape(p)) : v1(p)
8209
8212
  }].forEach((p) => {
8210
8213
  for (o = 0; l = p.regex.exec(e); ) {
8211
- const v = l[1].trim();
8212
- if (c = g(v), c === void 0)
8214
+ const N = l[1].trim();
8215
+ if (c = g(N), c === void 0)
8213
8216
  if (typeof a == "function") {
8214
- const N = a(e, l, n);
8215
- c = typeof N == "string" ? N : "";
8216
- } else if (n && Object.prototype.hasOwnProperty.call(n, v))
8217
+ const k = a(e, l, n);
8218
+ c = typeof k == "string" ? k : "";
8219
+ } else if (n && Object.prototype.hasOwnProperty.call(n, N))
8217
8220
  c = "";
8218
8221
  else if (h) {
8219
8222
  c = l[0];
8220
8223
  continue;
8221
8224
  } else
8222
- this.logger.warn(`missed to pass in variable ${v} for interpolating ${e}`), c = "";
8223
- else typeof c != "string" && !this.useRawValueToEscape && (c = I1(c));
8224
- const R = p.safeValue(c);
8225
- if (e = e.replace(l[0], R), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8225
+ this.logger.warn(`missed to pass in variable ${N} for interpolating ${e}`), c = "";
8226
+ else typeof c != "string" && !this.useRawValueToEscape && (c = O1(c));
8227
+ const M = p.safeValue(c);
8228
+ if (e = e.replace(l[0], M), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
8226
8229
  break;
8227
8230
  }
8228
8231
  }), e;
@@ -8235,15 +8238,15 @@ class w3 {
8235
8238
  const h = d.split(new RegExp(`${a}[ ]*{`));
8236
8239
  let u = `{${h[1]}`;
8237
8240
  d = h[0], u = this.interpolate(u, c);
8238
- const p = u.match(/'/g), v = u.match(/"/g);
8239
- (p && p.length % 2 === 0 && !v || v.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
8241
+ const p = u.match(/'/g), N = u.match(/"/g);
8242
+ (p && p.length % 2 === 0 && !N || N.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
8240
8243
  try {
8241
8244
  c = JSON.parse(u), g && (c = {
8242
8245
  ...g,
8243
8246
  ...c
8244
8247
  });
8245
- } catch (R) {
8246
- return this.logger.warn(`failed parsing options string in nesting for key ${d}`, R), `${d}${a}${u}`;
8248
+ } catch (M) {
8249
+ return this.logger.warn(`failed parsing options string in nesting for key ${d}`, M), `${d}${a}${u}`;
8247
8250
  }
8248
8251
  return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, d;
8249
8252
  };
@@ -8258,7 +8261,7 @@ class w3 {
8258
8261
  n[1] = a.shift(), d = a, g = !0;
8259
8262
  }
8260
8263
  if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && typeof l != "string") return l;
8261
- typeof l != "string" && (l = I1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8264
+ typeof l != "string" && (l = O1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
8262
8265
  ...s,
8263
8266
  interpolationkey: n[1].trim()
8264
8267
  }), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
@@ -8266,7 +8269,7 @@ class w3 {
8266
8269
  return e;
8267
8270
  }
8268
8271
  }
8269
- const m3 = (i) => {
8272
+ const k3 = (i) => {
8270
8273
  let e = i.toLowerCase().trim();
8271
8274
  const t = {};
8272
8275
  if (i.indexOf("(") > -1) {
@@ -8284,7 +8287,7 @@ const m3 = (i) => {
8284
8287
  formatName: e,
8285
8288
  formatOptions: t
8286
8289
  };
8287
- }, Q = (i) => {
8290
+ }, q = (i) => {
8288
8291
  const e = {};
8289
8292
  return (t, s, n) => {
8290
8293
  let l = n;
@@ -8297,36 +8300,36 @@ const m3 = (i) => {
8297
8300
  return o || (o = i(p1(s), n), e[c] = o), o(t);
8298
8301
  };
8299
8302
  };
8300
- class k3 {
8303
+ class L3 {
8301
8304
  constructor() {
8302
8305
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
8303
8306
  this.logger = $.create("formatter"), this.options = e, this.formats = {
8304
- number: Q((t, s) => {
8307
+ number: q((t, s) => {
8305
8308
  const n = new Intl.NumberFormat(t, {
8306
8309
  ...s
8307
8310
  });
8308
8311
  return (l) => n.format(l);
8309
8312
  }),
8310
- currency: Q((t, s) => {
8313
+ currency: q((t, s) => {
8311
8314
  const n = new Intl.NumberFormat(t, {
8312
8315
  ...s,
8313
8316
  style: "currency"
8314
8317
  });
8315
8318
  return (l) => n.format(l);
8316
8319
  }),
8317
- datetime: Q((t, s) => {
8320
+ datetime: q((t, s) => {
8318
8321
  const n = new Intl.DateTimeFormat(t, {
8319
8322
  ...s
8320
8323
  });
8321
8324
  return (l) => n.format(l);
8322
8325
  }),
8323
- relativetime: Q((t, s) => {
8326
+ relativetime: q((t, s) => {
8324
8327
  const n = new Intl.RelativeTimeFormat(t, {
8325
8328
  ...s
8326
8329
  });
8327
8330
  return (l) => n.format(l, s.range || "day");
8328
8331
  }),
8329
- list: Q((t, s) => {
8332
+ list: q((t, s) => {
8330
8333
  const n = new Intl.ListFormat(t, {
8331
8334
  ...s
8332
8335
  });
@@ -8344,7 +8347,7 @@ class k3 {
8344
8347
  this.formats[e.toLowerCase().trim()] = t;
8345
8348
  }
8346
8349
  addCached(e, t) {
8347
- this.formats[e.toLowerCase().trim()] = Q(t);
8350
+ this.formats[e.toLowerCase().trim()] = q(t);
8348
8351
  }
8349
8352
  format(e, t, s) {
8350
8353
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -8357,7 +8360,7 @@ class k3 {
8357
8360
  const {
8358
8361
  formatName: g,
8359
8362
  formatOptions: a
8360
- } = m3(d);
8363
+ } = k3(d);
8361
8364
  if (this.formats[g]) {
8362
8365
  let h = o;
8363
8366
  try {
@@ -8377,10 +8380,10 @@ class k3 {
8377
8380
  }, e);
8378
8381
  }
8379
8382
  }
8380
- const L3 = (i, e) => {
8383
+ const v3 = (i, e) => {
8381
8384
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
8382
8385
  };
8383
- class v3 extends w1 {
8386
+ class N3 extends w1 {
8384
8387
  constructor(e, t, s) {
8385
8388
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8386
8389
  super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
@@ -8413,7 +8416,7 @@ class v3 extends w1 {
8413
8416
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
8414
8417
  const o = {};
8415
8418
  this.queue.forEach((d) => {
8416
- s3(d.loaded, [l], c), L3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8419
+ n3(d.loaded, [l], c), v3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
8417
8420
  o[g] || (o[g] = {});
8418
8421
  const a = d.loaded[g];
8419
8422
  a.length && a.forEach((h) => {
@@ -8515,7 +8518,7 @@ class v3 extends w1 {
8515
8518
  }
8516
8519
  }
8517
8520
  }
8518
- const T1 = () => ({
8521
+ const G1 = () => ({
8519
8522
  debug: !1,
8520
8523
  initImmediate: !0,
8521
8524
  ns: ["translation"],
@@ -8571,8 +8574,8 @@ const T1 = () => ({
8571
8574
  maxReplaces: 1e3,
8572
8575
  skipOnVariables: !0
8573
8576
  }
8574
- }), G1 = (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), c1 = () => {
8575
- }, N3 = (i) => {
8577
+ }), K1 = (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), c1 = () => {
8578
+ }, x3 = (i) => {
8576
8579
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
8577
8580
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
8578
8581
  });
@@ -8580,9 +8583,9 @@ const T1 = () => ({
8580
8583
  class n1 extends w1 {
8581
8584
  constructor() {
8582
8585
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
8583
- if (super(), this.options = G1(e), this.services = {}, this.logger = $, this.modules = {
8586
+ if (super(), this.options = K1(e), this.services = {}, this.logger = $, this.modules = {
8584
8587
  external: []
8585
- }, N3(this), t && !this.isInitialized && !e.isClone) {
8588
+ }, x3(this), t && !this.isInitialized && !e.isClone) {
8586
8589
  if (!this.options.initImmediate)
8587
8590
  return this.init(e, t), this;
8588
8591
  setTimeout(() => {
@@ -8594,11 +8597,11 @@ class n1 extends w1 {
8594
8597
  var e = this;
8595
8598
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
8596
8599
  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]));
8597
- const n = T1();
8600
+ const n = G1();
8598
8601
  this.options = {
8599
8602
  ...n,
8600
8603
  ...this.options,
8601
- ...G1(t)
8604
+ ...K1(t)
8602
8605
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
8603
8606
  ...n.interpolation,
8604
8607
  ...this.options.interpolation
@@ -8607,24 +8610,24 @@ class n1 extends w1 {
8607
8610
  if (!this.options.isClone) {
8608
8611
  this.modules.logger ? $.init(l(this.modules.logger), this.options) : $.init(null, this.options);
8609
8612
  let a;
8610
- this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = k3);
8611
- const h = new W1(this.options);
8612
- this.store = new B1(this.options.resources, this.options);
8613
+ this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = L3);
8614
+ const h = new j1(this.options);
8615
+ this.store = new Z1(this.options.resources, this.options);
8613
8616
  const u = this.services;
8614
- u.logger = $, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new f3(h, {
8617
+ u.logger = $, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new w3(h, {
8615
8618
  prepend: this.options.pluralSeparator,
8616
8619
  compatibilityJSON: this.options.compatibilityJSON,
8617
8620
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
8618
- }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.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 w3(this.options), u.utils = {
8621
+ }), a && (!this.options.interpolation.format || this.options.interpolation.format === n.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 m3(this.options), u.utils = {
8619
8622
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
8620
- }, u.backendConnector = new v3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
8621
- for (var v = arguments.length, R = new Array(v > 1 ? v - 1 : 0), N = 1; N < v; N++)
8622
- R[N - 1] = arguments[N];
8623
- e.emit(p, ...R);
8623
+ }, u.backendConnector = new N3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
8624
+ for (var N = arguments.length, M = new Array(N > 1 ? N - 1 : 0), k = 1; k < N; k++)
8625
+ M[k - 1] = arguments[k];
8626
+ e.emit(p, ...M);
8624
8627
  }), 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 f1(this.services, this.options), this.translator.on("*", function(p) {
8625
- for (var v = arguments.length, R = new Array(v > 1 ? v - 1 : 0), N = 1; N < v; N++)
8626
- R[N - 1] = arguments[N];
8627
- e.emit(p, ...R);
8628
+ for (var N = arguments.length, M = new Array(N > 1 ? N - 1 : 0), k = 1; k < N; k++)
8629
+ M[k - 1] = arguments[k];
8630
+ e.emit(p, ...M);
8628
8631
  }), this.modules.external.forEach((p) => {
8629
8632
  p.init && p.init(this);
8630
8633
  });
@@ -8677,7 +8680,7 @@ class n1 extends w1 {
8677
8680
  use(e) {
8678
8681
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
8679
8682
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
8680
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && te.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8683
+ 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" && ie.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
8681
8684
  }
8682
8685
  setResolvedLanguage(e) {
8683
8686
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -8726,7 +8729,7 @@ class n1 extends w1 {
8726
8729
  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);
8727
8730
  const u = n.options.keySeparator || ".";
8728
8731
  let p;
8729
- return d.keyPrefix && Array.isArray(c) ? p = c.map((v) => `${d.keyPrefix}${u}${v}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, n.t(p, d);
8732
+ return d.keyPrefix && Array.isArray(c) ? p = c.map((N) => `${d.keyPrefix}${u}${N}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, n.t(p, d);
8730
8733
  };
8731
8734
  return typeof e == "string" ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
8732
8735
  }
@@ -8775,7 +8778,7 @@ class n1 extends w1 {
8775
8778
  }
8776
8779
  dir(e) {
8777
8780
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
8778
- 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 W1(T1());
8781
+ 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 j1(G1());
8779
8782
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
8780
8783
  }
8781
8784
  static createInstance() {
@@ -8797,7 +8800,7 @@ class n1 extends w1 {
8797
8800
  ...this.services
8798
8801
  }, l.services.utils = {
8799
8802
  hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
8800
- }, s && (l.store = new B1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new f1(l.services, n), l.translator.on("*", function(o) {
8803
+ }, s && (l.store = new Z1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new f1(l.services, n), l.translator.on("*", function(o) {
8801
8804
  for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
8802
8805
  g[a - 1] = arguments[a];
8803
8806
  l.emit(o, ...g);
@@ -8815,42 +8818,42 @@ class n1 extends w1 {
8815
8818
  };
8816
8819
  }
8817
8820
  }
8818
- const Z = n1.createInstance();
8819
- Z.createInstance = n1.createInstance;
8820
- Z.createInstance;
8821
- Z.dir;
8822
- Z.init;
8823
- Z.loadResources;
8824
- Z.reloadResources;
8825
- Z.use;
8826
- Z.changeLanguage;
8827
- Z.getFixedT;
8828
- Z.t;
8829
- Z.exists;
8830
- Z.setDefaultNamespace;
8831
- Z.hasLoadedNamespace;
8832
- Z.loadNamespaces;
8833
- Z.loadLanguages;
8834
- const x3 = "Archived", R3 = "Deleted", M3 = {
8835
- archived: x3,
8821
+ const j = n1.createInstance();
8822
+ j.createInstance = n1.createInstance;
8823
+ j.createInstance;
8824
+ j.dir;
8825
+ j.init;
8826
+ j.loadResources;
8827
+ j.reloadResources;
8828
+ j.use;
8829
+ j.changeLanguage;
8830
+ j.getFixedT;
8831
+ j.t;
8832
+ j.exists;
8833
+ j.setDefaultNamespace;
8834
+ j.hasLoadedNamespace;
8835
+ j.loadNamespaces;
8836
+ j.loadLanguages;
8837
+ const M3 = "Archived", R3 = "Deleted", y3 = {
8838
+ archived: M3,
8836
8839
  deleted: R3
8837
- }, y3 = "Заархивирован", b3 = "Удалён", E3 = {
8838
- archived: y3,
8839
- deleted: b3
8840
+ }, b3 = "Заархивирован", E3 = "Удалён", H3 = {
8841
+ archived: b3,
8842
+ deleted: E3
8840
8843
  };
8841
- Z.use(U5).init({
8844
+ j.use(z5).init({
8842
8845
  defaultNS: "common",
8843
8846
  lng: "en",
8844
8847
  resources: {
8845
8848
  en: {
8846
- common: M3
8849
+ common: y3
8847
8850
  },
8848
8851
  ru: {
8849
- common: E3
8852
+ common: H3
8850
8853
  }
8851
8854
  }
8852
8855
  });
8853
- const A3 = o1(
8856
+ const B3 = o1(
8854
8857
  ({
8855
8858
  fetchParams: i,
8856
8859
  mode: e = void 0,
@@ -8861,137 +8864,137 @@ const A3 = o1(
8861
8864
  onError: c,
8862
8865
  allowEmpty: o = !1
8863
8866
  }, d) => {
8864
- const { axiosPeople: g, locale: a } = a1(ue), { t: h } = X5("common", { lng: a }), [u, p] = A([]), [v, R] = A(!0), N = l1(u);
8867
+ const { axiosPeople: g, locale: a } = a1(pe), { t: h } = e3("common", { lng: a }), [u, p] = W([]), [N, M] = W(!0), k = l1(u);
8865
8868
  if (!g)
8866
8869
  throw new Error(
8867
8870
  `UserSelect requires "axiosPeople" to fetch users.
8868
8871
  Please provide it via SNMTUiContext.`
8869
8872
  );
8870
- const E = j(
8873
+ const b = G(
8871
8874
  (x) => {
8872
- let f = "";
8873
- return x.deletedAt && (f += `[${h("deleted")}] `), x.status === g1.ARCHIVED && (f += `[${h("archived")}] `), `${f}${x.firstName} ${x.lastName}`;
8875
+ let w = "";
8876
+ return x.deletedAt && (w += `[${h("deleted")}] `), x.status === g1.ARCHIVED && (w += `[${h("archived")}] `), `${w}${x.firstName} ${x.lastName}`;
8874
8877
  },
8875
8878
  [h]
8876
- ), M = j(
8879
+ ), R = G(
8877
8880
  async ({
8878
8881
  offset: x,
8879
- limit: f,
8880
- search: I
8882
+ limit: w,
8883
+ search: B
8881
8884
  }) => {
8882
- var B, S, b;
8885
+ var Z, I, H;
8883
8886
  try {
8884
- const D = await g.post("v1/users/search", {
8887
+ const V = await g.post("v1/users/search", {
8885
8888
  offset: x,
8886
- limit: f,
8887
- search: I,
8889
+ limit: w,
8890
+ search: B,
8888
8891
  ...i,
8889
8892
  includeCount: !0
8890
- }), { data: W, metadata: _ } = D.data;
8893
+ }), { data: D, metadata: T } = V.data;
8891
8894
  return {
8892
- options: W.map((T) => ({
8893
- value: T.id,
8894
- label: E(T)
8895
+ options: D.map((E) => ({
8896
+ value: E.id,
8897
+ label: b(E)
8895
8898
  })),
8896
- count: _.count
8899
+ count: T.count
8897
8900
  };
8898
- } catch (D) {
8901
+ } catch (V) {
8899
8902
  return c && c({
8900
- status: ((B = D.response) == null ? void 0 : B.status) ?? 500,
8901
- message: ((b = (S = D.response) == null ? void 0 : S.data) == null ? void 0 : b.message) ?? "Error while fetching options"
8903
+ status: ((Z = V.response) == null ? void 0 : Z.status) ?? 500,
8904
+ message: ((H = (I = V.response) == null ? void 0 : I.data) == null ? void 0 : H.message) ?? "Error while fetching options"
8902
8905
  }), {
8903
8906
  options: [],
8904
8907
  count: 0
8905
8908
  };
8906
8909
  }
8907
8910
  },
8908
- [g, i, c, E]
8909
- ), V = j(
8911
+ [g, i, c, b]
8912
+ ), S = G(
8910
8913
  async (x) => {
8911
- var f, I, B;
8914
+ var w, B, Z;
8912
8915
  try {
8913
- const S = x.filter(
8914
- (W) => !N.current.some((_) => _.value === W)
8916
+ const I = x.filter(
8917
+ (D) => !k.current.some((T) => T.value === D)
8915
8918
  );
8916
- let b = [];
8917
- S.length && (b = (await g.post("v1/users/search", {
8919
+ let H = [];
8920
+ I.length && (H = (await g.post("v1/users/search", {
8918
8921
  filters: {
8919
- id: S,
8922
+ id: I,
8920
8923
  status: [g1.ACTIVE, g1.ARCHIVED]
8921
8924
  }
8922
8925
  })).data.data);
8923
- const D = b.map((W) => ({
8924
- value: W.id,
8925
- label: E(W)
8926
+ const V = H.map((D) => ({
8927
+ value: D.id,
8928
+ label: b(D)
8926
8929
  }));
8927
- return [...N.current, ...D];
8928
- } catch (S) {
8930
+ return [...k.current, ...V];
8931
+ } catch (I) {
8929
8932
  return c && c({
8930
- status: ((f = S.response) == null ? void 0 : f.status) ?? 500,
8931
- message: ((B = (I = S.response) == null ? void 0 : I.data) == null ? void 0 : B.message) ?? "Error while fetching selected items"
8933
+ status: ((w = I.response) == null ? void 0 : w.status) ?? 500,
8934
+ message: ((Z = (B = I.response) == null ? void 0 : B.data) == null ? void 0 : Z.message) ?? "Error while fetching selected items"
8932
8935
  }), [];
8933
8936
  }
8934
8937
  },
8935
- [g, E, c]
8938
+ [g, b, c]
8936
8939
  );
8937
- G(() => {
8938
- N.current = u;
8939
- }, [u]), G(() => {
8940
+ K(() => {
8941
+ k.current = u;
8942
+ }, [u]), K(() => {
8940
8943
  if (!n) {
8941
- R(!1);
8944
+ M(!1);
8942
8945
  return;
8943
8946
  }
8944
8947
  (async () => {
8945
- const f = Array.isArray(n) ? n : [n], I = await V(f);
8946
- p(I), R(!1);
8948
+ const w = Array.isArray(n) ? n : [n], B = await S(w);
8949
+ p(B), M(!1);
8947
8950
  })();
8948
- }, [V, n]);
8949
- const m = j(
8951
+ }, [S, n]);
8952
+ const f = G(
8950
8953
  async ({
8951
8954
  limit: x,
8952
- offset: f,
8953
- search: I
8955
+ offset: w,
8956
+ search: B
8954
8957
  }) => {
8955
- const { count: B, ...S } = await M({
8956
- offset: f,
8958
+ const { count: Z, ...I } = await R({
8959
+ offset: w,
8957
8960
  limit: x,
8958
- search: I
8961
+ search: B
8959
8962
  });
8960
- let b = S.options;
8961
- return o && f === 0 && (b = [{ value: null, label: "None" }, ...b]), {
8962
- options: b,
8963
- count: B,
8963
+ let H = I.options;
8964
+ return o && w === 0 && (H = [{ value: null, label: "None" }, ...H]), {
8965
+ options: H,
8966
+ count: Z,
8964
8967
  limit: x
8965
8968
  };
8966
8969
  },
8967
- [o, M]
8970
+ [o, R]
8968
8971
  );
8969
- if (v)
8970
- return /* @__PURE__ */ r(A5, {});
8972
+ if (N)
8973
+ return /* @__PURE__ */ r(B5, {});
8971
8974
  const y = {
8972
8975
  ref: d,
8973
8976
  placeholder: t,
8974
8977
  disabled: s
8975
8978
  };
8976
8979
  return e ? /* @__PURE__ */ r(
8977
- E1,
8980
+ H1,
8978
8981
  {
8979
8982
  ...y,
8980
8983
  mode: e,
8981
8984
  value: n,
8982
8985
  onChange: l,
8983
- loadOptions: m,
8986
+ loadOptions: f,
8984
8987
  loadOnClosedState: !0,
8985
8988
  extraOptions: u
8986
8989
  }
8987
8990
  ) : /* @__PURE__ */ r(
8988
- E1,
8991
+ H1,
8989
8992
  {
8990
8993
  ...y,
8991
8994
  value: n,
8992
8995
  mode: void 0,
8993
8996
  onChange: l,
8994
- loadOptions: m,
8997
+ loadOptions: f,
8995
8998
  loadOnClosedState: !0,
8996
8999
  extraOptions: u
8997
9000
  }
@@ -8999,5 +9002,5 @@ const A3 = o1(
8999
9002
  }
9000
9003
  );
9001
9004
  export {
9002
- A3 as UserSelect
9005
+ B3 as UserSelect
9003
9006
  };