@snmt-react-ui/user-select 2.7.13 → 2.7.14

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.
@@ -1,12 +1,12 @@
1
1
  var ke = Object.defineProperty;
2
2
  var Le = (i, e, t) => e in i ? ke(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var D1 = (i, e, t) => Le(i, typeof e != "symbol" ? e + "" : e, t);
3
+ var B1 = (i, e, t) => Le(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
5
  import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
6
- import { createContext as d1, forwardRef as k1, useState as B, useRef as X, useEffect as G, useCallback as $, useMemo as ve, useImperativeHandle as oe, useContext as r1 } from "react";
7
- import { Select as Ne, Flex as xe, Avatar as Re, Checkbox as Me, Typography as ae, Tag as ye, Popover as be } from "antd";
6
+ import { createContext as d1, forwardRef as k1, useState as j, useRef as X, useEffect as G, useCallback as $, useMemo as ve, useImperativeHandle as oe, useContext as r1 } from "react";
7
+ import { Select as Ne, Flex as xe, Avatar as Re, Checkbox as Me, Typography as ae, Tag as be, Popover as ye } from "antd";
8
8
  import { SNMTUiContext as Ee } from "@snmt-react-ui/core";
9
- var He = Object.defineProperty, _e = (i, e, t) => e in i ? He(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ie = (i, e, t) => _e(i, e + "", t), Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
+ var _e = Object.defineProperty, He = (i, e, t) => e in i ? _e(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ie = (i, e, t) => He(i, e + "", t), Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function Se() {
11
11
  if (console && console.warn) {
12
12
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
@@ -14,11 +14,11 @@ function Se() {
14
14
  s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
- const B1 = {};
17
+ const j1 = {};
18
18
  function S1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- s1(e[0]) && B1[e[0]] || (s1(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), Se(...e));
21
+ s1(e[0]) && j1[e[0]] || (s1(e[0]) && (j1[e[0]] = /* @__PURE__ */ new Date()), Se(...e));
22
22
  }
23
23
  const le = (i, e) => () => {
24
24
  if (i.isInitialized)
@@ -54,7 +54,7 @@ const le = (i, e) => () => {
54
54
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
55
55
  }
56
56
  }) : Ve(i, e, t);
57
- }, s1 = (i) => typeof i == "string", Te = (i) => typeof i == "object" && i !== null, je = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, De = {
57
+ }, s1 = (i) => typeof i == "string", Te = (i) => typeof i == "object" && i !== null, De = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Be = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -75,7 +75,7 @@ const le = (i, e) => () => {
75
75
  "&#8230;": "…",
76
76
  "&#x2F;": "/",
77
77
  "&#47;": "/"
78
- }, Be = (i) => De[i], Ze = (i) => i.replace(je, Be);
78
+ }, je = (i) => Be[i], Ze = (i) => i.replace(De, je);
79
79
  let We = {
80
80
  bindI18n: "languageChanged",
81
81
  bindI18nStore: "",
@@ -128,7 +128,7 @@ const Ye = (i, e) => {
128
128
  } = c;
129
129
  let g = i;
130
130
  g = s1(g) ? [g] : g || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(g);
131
- const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => Ae(f, o, c)), h = Ue(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => he(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, v] = B(u);
131
+ const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => Ae(f, o, c)), h = Ue(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => he(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, v] = j(u);
132
132
  let m = g.join();
133
133
  e.lng && (m = `${e.lng}${m}`);
134
134
  const O = Ye(m), M = X(!0);
@@ -192,12 +192,12 @@ const Ye = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- 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 || {});
196
- const j1 = d1({
195
+ 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.BLUE_DARK_3 = "var(--blue-dark-3)", 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 || {});
196
+ const D1 = d1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
- j1.Provider;
200
+ D1.Provider;
201
201
  const qe = ({
202
202
  checked: i = !0,
203
203
  indeterminate: e = !1,
@@ -206,11 +206,11 @@ const qe = ({
206
206
  disabled: n = !1,
207
207
  disableUncheck: o = !1
208
208
  }) => {
209
- const [c, a] = B(i), [d, g] = B(e);
209
+ const [c, a] = j(i), [d, g] = j(e);
210
210
  G(() => {
211
211
  a(i), g(e);
212
212
  }, [i, e]);
213
- const { theme: l } = r1(j1);
213
+ const { theme: l } = r1(D1);
214
214
  return /* @__PURE__ */ r(
215
215
  Me,
216
216
  {
@@ -225,7 +225,7 @@ const qe = ({
225
225
  }
226
226
  );
227
227
  };
228
- var b = /* @__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))(b || {});
228
+ var y = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_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))(y || {});
229
229
  const ce = d1({
230
230
  locale: "en",
231
231
  theme: "light"
@@ -1246,7 +1246,7 @@ const Qe = ({
1246
1246
  }
1247
1247
  )
1248
1248
  }
1249
- ), yt = ({
1249
+ ), bt = ({
1250
1250
  width: i = 20,
1251
1251
  height: e = 20,
1252
1252
  color: t = "#F2F2F7",
@@ -1275,7 +1275,7 @@ const Qe = ({
1275
1275
  )
1276
1276
  ]
1277
1277
  }
1278
- ), bt = ({
1278
+ ), yt = ({
1279
1279
  width: i = 20,
1280
1280
  height: e = 20,
1281
1281
  color: t = "#004ED7",
@@ -1333,7 +1333,7 @@ const Qe = ({
1333
1333
  )
1334
1334
  ]
1335
1335
  }
1336
- ), Ht = ({
1336
+ ), _t = ({
1337
1337
  width: i = 10,
1338
1338
  height: e = 10,
1339
1339
  color: t = "#001E52",
@@ -1370,9 +1370,9 @@ const Qe = ({
1370
1370
  )
1371
1371
  ]
1372
1372
  }
1373
- ), _t = ({
1373
+ ), Ht = ({
1374
1374
  className: i,
1375
- color: e = b.GREY_DARK_5,
1375
+ color: e = y.GREY_DARK_5,
1376
1376
  height: t = 24,
1377
1377
  width: s = 24,
1378
1378
  onClick: n
@@ -1411,7 +1411,7 @@ const Qe = ({
1411
1411
  }
1412
1412
  ), It = ({
1413
1413
  className: i,
1414
- color: e = b.GREY_DARK_5,
1414
+ color: e = y.GREY_DARK_5,
1415
1415
  height: t = 20,
1416
1416
  width: s = 20,
1417
1417
  onClick: n
@@ -1438,7 +1438,7 @@ const Qe = ({
1438
1438
  }
1439
1439
  ), Ot = ({
1440
1440
  className: i,
1441
- color: e = b.GREY_DARK_5,
1441
+ color: e = y.GREY_DARK_5,
1442
1442
  height: t = 20,
1443
1443
  width: s = 20,
1444
1444
  onClick: n
@@ -1465,7 +1465,7 @@ const Qe = ({
1465
1465
  }
1466
1466
  ), St = ({
1467
1467
  className: i,
1468
- color: e = b.GREY_DARK_5,
1468
+ color: e = y.GREY_DARK_5,
1469
1469
  height: t = 5,
1470
1470
  width: s = 10,
1471
1471
  onClick: n
@@ -1489,7 +1489,7 @@ const Qe = ({
1489
1489
  }
1490
1490
  ), Vt = ({
1491
1491
  className: i,
1492
- color: e = b.GREY_DARK_5,
1492
+ color: e = y.GREY_DARK_5,
1493
1493
  height: t = 5,
1494
1494
  width: s = 10,
1495
1495
  onClick: n
@@ -1514,7 +1514,7 @@ const Qe = ({
1514
1514
  }
1515
1515
  ), At = ({
1516
1516
  className: i,
1517
- color: e = b.GREY_DARK_5,
1517
+ color: e = y.GREY_DARK_5,
1518
1518
  height: t = 24,
1519
1519
  width: s = 24,
1520
1520
  onClick: n
@@ -1553,7 +1553,7 @@ const Qe = ({
1553
1553
  }
1554
1554
  ), Tt = ({
1555
1555
  className: i,
1556
- color: e = b.GREY_DARK_5,
1556
+ color: e = y.GREY_DARK_5,
1557
1557
  height: t = 24,
1558
1558
  width: s = 24,
1559
1559
  onClick: n
@@ -1590,9 +1590,9 @@ const Qe = ({
1590
1590
  )
1591
1591
  ]
1592
1592
  }
1593
- ), jt = ({
1593
+ ), Dt = ({
1594
1594
  className: i,
1595
- color: e = b.GREY_DARK_5,
1595
+ color: e = y.GREY_DARK_5,
1596
1596
  height: t = 24,
1597
1597
  width: s = 24,
1598
1598
  onClick: n
@@ -1617,9 +1617,9 @@ const Qe = ({
1617
1617
  }
1618
1618
  )
1619
1619
  }
1620
- ), Dt = ({
1620
+ ), Bt = ({
1621
1621
  className: i,
1622
- color: e = b.GREY_DARK_5,
1622
+ color: e = y.GREY_DARK_5,
1623
1623
  height: t = 24,
1624
1624
  width: s = 24,
1625
1625
  onClick: n
@@ -1676,9 +1676,9 @@ const Qe = ({
1676
1676
  )
1677
1677
  ]
1678
1678
  }
1679
- ), Bt = ({
1679
+ ), jt = ({
1680
1680
  className: i,
1681
- color: e = b.GREY_DARK_5,
1681
+ color: e = y.GREY_DARK_5,
1682
1682
  height: t = 24,
1683
1683
  width: s = 24,
1684
1684
  onClick: n
@@ -1715,7 +1715,7 @@ const Qe = ({
1715
1715
  }
1716
1716
  ), Zt = ({
1717
1717
  className: i,
1718
- color: e = b.GREY_DARK_3,
1718
+ color: e = y.GREY_DARK_3,
1719
1719
  height: t = 14,
1720
1720
  width: s = 14,
1721
1721
  onClick: n
@@ -1752,7 +1752,7 @@ const Qe = ({
1752
1752
  }
1753
1753
  ), Wt = ({
1754
1754
  className: i,
1755
- color: e = b.GREY_DARK_5,
1755
+ color: e = y.GREY_DARK_5,
1756
1756
  height: t = 18,
1757
1757
  onClick: s,
1758
1758
  width: n = 18
@@ -1779,7 +1779,7 @@ const Qe = ({
1779
1779
  }
1780
1780
  ), Gt = ({
1781
1781
  className: i,
1782
- color: e = b.GREY_DARK_5,
1782
+ color: e = y.GREY_DARK_5,
1783
1783
  height: t = 24,
1784
1784
  width: s = 24,
1785
1785
  onClick: n
@@ -1831,7 +1831,7 @@ const Qe = ({
1831
1831
  }
1832
1832
  ), Kt = ({
1833
1833
  className: i,
1834
- color: e = b.GREY_DARK_5,
1834
+ color: e = y.GREY_DARK_5,
1835
1835
  height: t = 24,
1836
1836
  width: s = 24,
1837
1837
  onClick: n
@@ -1868,7 +1868,7 @@ const Qe = ({
1868
1868
  }
1869
1869
  ), $t = ({
1870
1870
  className: i,
1871
- color: e = b.NOTIFICATION_WARNING_DARK,
1871
+ color: e = y.NOTIFICATION_WARNING_DARK,
1872
1872
  height: t = 37,
1873
1873
  width: s = 36,
1874
1874
  onClick: n
@@ -1907,7 +1907,7 @@ const Qe = ({
1907
1907
  }
1908
1908
  ), Pt = ({
1909
1909
  className: i,
1910
- color: e = b.GREY_DARK_5,
1910
+ color: e = y.GREY_DARK_5,
1911
1911
  height: t = 24,
1912
1912
  width: s = 24,
1913
1913
  onClick: n
@@ -1933,7 +1933,7 @@ const Qe = ({
1933
1933
  }
1934
1934
  ), Ft = ({
1935
1935
  className: i,
1936
- color: e = b.GREY_DARK_5,
1936
+ color: e = y.GREY_DARK_5,
1937
1937
  height: t = 24,
1938
1938
  width: s = 24,
1939
1939
  onClick: n
@@ -1972,7 +1972,7 @@ const Qe = ({
1972
1972
  }
1973
1973
  ), Yt = ({
1974
1974
  className: i,
1975
- color: e = b.GREY_DARK_5,
1975
+ color: e = y.GREY_DARK_5,
1976
1976
  height: t = 24,
1977
1977
  width: s = 24,
1978
1978
  onClick: n
@@ -2011,7 +2011,7 @@ const Qe = ({
2011
2011
  }
2012
2012
  ), Ut = ({
2013
2013
  className: i,
2014
- color: e = b.GREY_DARK_5,
2014
+ color: e = y.GREY_DARK_5,
2015
2015
  height: t = 24,
2016
2016
  width: s = 24,
2017
2017
  onClick: n
@@ -2080,7 +2080,7 @@ const Qe = ({
2080
2080
  }
2081
2081
  ), zt = ({
2082
2082
  className: i,
2083
- color: e = b.GREY_DARK_5,
2083
+ color: e = y.GREY_DARK_5,
2084
2084
  height: t = 24,
2085
2085
  width: s = 24,
2086
2086
  onClick: n
@@ -2137,7 +2137,7 @@ const Qe = ({
2137
2137
  }
2138
2138
  ), Jt = ({
2139
2139
  className: i,
2140
- color: e = b.GREY_DARK_5,
2140
+ color: e = y.GREY_DARK_5,
2141
2141
  height: t = 24,
2142
2142
  width: s = 24,
2143
2143
  onClick: n
@@ -2176,7 +2176,7 @@ const Qe = ({
2176
2176
  }
2177
2177
  ), qt = ({
2178
2178
  className: i,
2179
- color: e = b.GREY_DARK_5,
2179
+ color: e = y.GREY_DARK_5,
2180
2180
  height: t = 24,
2181
2181
  width: s = 24,
2182
2182
  onClick: n
@@ -2225,7 +2225,7 @@ const Qe = ({
2225
2225
  }
2226
2226
  ), Qt = ({
2227
2227
  className: i,
2228
- color: e = b.GREY_DARK_5,
2228
+ color: e = y.GREY_DARK_5,
2229
2229
  height: t = 24,
2230
2230
  width: s = 24,
2231
2231
  onClick: n
@@ -2252,7 +2252,7 @@ const Qe = ({
2252
2252
  }
2253
2253
  ), Xt = ({
2254
2254
  className: i,
2255
- color: e = b.GREY_DARK_5,
2255
+ color: e = y.GREY_DARK_5,
2256
2256
  height: t = 20,
2257
2257
  width: s = 20,
2258
2258
  onClick: n
@@ -2267,7 +2267,7 @@ const Qe = ({
2267
2267
  fill: "none",
2268
2268
  xmlns: "http://www.w3.org/2000/svg",
2269
2269
  children: [
2270
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: b.GREY_LIGHT_2 }),
2270
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: y.GREY_LIGHT_2 }),
2271
2271
  /* @__PURE__ */ r(
2272
2272
  "path",
2273
2273
  {
@@ -2463,7 +2463,7 @@ const Qe = ({
2463
2463
  ), r2 = ({
2464
2464
  width: i = 24,
2465
2465
  height: e = 24,
2466
- color: t = b.GREY_DARK_2,
2466
+ color: t = y.GREY_DARK_2,
2467
2467
  className: s,
2468
2468
  onClick: n
2469
2469
  }) => /* @__PURE__ */ C(
@@ -2502,7 +2502,7 @@ const Qe = ({
2502
2502
  ), o2 = ({
2503
2503
  width: i = 24,
2504
2504
  height: e = 24,
2505
- color: t = b.GREY_DARK_2,
2505
+ color: t = y.GREY_DARK_2,
2506
2506
  className: s,
2507
2507
  onClick: n
2508
2508
  }) => /* @__PURE__ */ r(
@@ -2529,7 +2529,7 @@ const Qe = ({
2529
2529
  ), a2 = ({
2530
2530
  width: i = 24,
2531
2531
  height: e = 24,
2532
- color: t = b.GREY_DARK_2,
2532
+ color: t = y.GREY_DARK_2,
2533
2533
  className: s,
2534
2534
  onClick: n
2535
2535
  }) => /* @__PURE__ */ C(
@@ -2569,7 +2569,7 @@ const Qe = ({
2569
2569
  ), l2 = ({
2570
2570
  width: i = 24,
2571
2571
  height: e = 24,
2572
- color: t = b.GREY_DARK_2,
2572
+ color: t = y.GREY_DARK_2,
2573
2573
  className: s,
2574
2574
  onClick: n
2575
2575
  }) => /* @__PURE__ */ r(
@@ -2596,7 +2596,7 @@ const Qe = ({
2596
2596
  ), h2 = ({
2597
2597
  width: i = 24,
2598
2598
  height: e = 24,
2599
- color: t = b.GREY_DARK_2,
2599
+ color: t = y.GREY_DARK_2,
2600
2600
  className: s,
2601
2601
  onClick: n
2602
2602
  }) => /* @__PURE__ */ r(
@@ -2655,7 +2655,7 @@ const Qe = ({
2655
2655
  disabled: o = !1,
2656
2656
  onClick: c
2657
2657
  }) => {
2658
- const [a, d] = B(n), { theme: g } = r1(ce), l = o ? g && g === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : s, h = o ? void 0 : c;
2658
+ const [a, d] = j(n), { theme: g } = r1(ce), l = o ? g && g === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : s, h = o ? void 0 : c;
2659
2659
  return G(() => {
2660
2660
  if (n) {
2661
2661
  h && !o && d(`${n} clickable`);
@@ -2761,7 +2761,7 @@ const Qe = ({
2761
2761
  onClick: h
2762
2762
  });
2763
2763
  case "expandArrowIcon":
2764
- return yt({
2764
+ return bt({
2765
2765
  width: e,
2766
2766
  height: t,
2767
2767
  color: l,
@@ -2769,7 +2769,7 @@ const Qe = ({
2769
2769
  onClick: h
2770
2770
  });
2771
2771
  case "expandActiveArrowIcon":
2772
- return bt({
2772
+ return yt({
2773
2773
  width: e,
2774
2774
  height: t,
2775
2775
  color: l,
@@ -2779,9 +2779,9 @@ const Qe = ({
2779
2779
  case "sortUp":
2780
2780
  return Et({ width: e, height: t, color: l, className: a, onClick: h });
2781
2781
  case "sortDown":
2782
- return Ht({ width: e, height: t, color: l, className: a, onClick: h });
2783
- case "search":
2784
2782
  return _t({ width: e, height: t, color: l, className: a, onClick: h });
2783
+ case "search":
2784
+ return Ht({ width: e, height: t, color: l, className: a, onClick: h });
2785
2785
  case "arrowUpFilled":
2786
2786
  return Vt({ width: e, height: t, color: l, className: a, onClick: h });
2787
2787
  case "arrowDownFilled":
@@ -2789,13 +2789,13 @@ const Qe = ({
2789
2789
  case "link":
2790
2790
  return At({ width: e, height: t, color: l, className: a, onClick: h });
2791
2791
  case "telegram":
2792
- return jt({ width: e, height: t, color: l, className: a, onClick: h });
2792
+ return Dt({ width: e, height: t, color: l, className: a, onClick: h });
2793
2793
  case "mail":
2794
- return Bt({ width: e, height: t, color: l, className: a, onClick: h });
2794
+ return jt({ width: e, height: t, color: l, className: a, onClick: h });
2795
2795
  case "github":
2796
2796
  return Tt({ width: e, height: t, color: l, className: a, onClick: h });
2797
2797
  case "linkedIn":
2798
- return Dt({ width: e, height: t, color: l, className: a, onClick: h });
2798
+ return Bt({ width: e, height: t, color: l, className: a, onClick: h });
2799
2799
  case "emptyStateIcon":
2800
2800
  return Zt({ width: e, height: t, color: l, className: a, onClick: h });
2801
2801
  case "filtersIcon":
@@ -2889,7 +2889,7 @@ const Qe = ({
2889
2889
  );
2890
2890
  }
2891
2891
  );
2892
- var E = /* @__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))(E || {});
2892
+ var E = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_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))(E || {});
2893
2893
  const de = d1({
2894
2894
  locale: "en",
2895
2895
  theme: "light"
@@ -3279,7 +3279,7 @@ const p2 = ({
3279
3279
  )
3280
3280
  ]
3281
3281
  }
3282
- ), y2 = ({
3282
+ ), b2 = ({
3283
3283
  width: i = 20,
3284
3284
  height: e = 20,
3285
3285
  color: t = "#001E52",
@@ -3326,7 +3326,7 @@ const p2 = ({
3326
3326
  )
3327
3327
  ]
3328
3328
  }
3329
- ), b2 = ({
3329
+ ), y2 = ({
3330
3330
  width: i = 20,
3331
3331
  height: e = 20,
3332
3332
  color: t = "#001E52",
@@ -3406,7 +3406,7 @@ const p2 = ({
3406
3406
  )
3407
3407
  ]
3408
3408
  }
3409
- ), H2 = ({
3409
+ ), _2 = ({
3410
3410
  width: i = 20,
3411
3411
  height: e = 20,
3412
3412
  color: t = "#001E52",
@@ -3439,7 +3439,7 @@ const p2 = ({
3439
3439
  )
3440
3440
  ]
3441
3441
  }
3442
- ), _2 = ({
3442
+ ), H2 = ({
3443
3443
  width: i = 18,
3444
3444
  height: e = 16,
3445
3445
  color: t = "#001E52",
@@ -3706,7 +3706,7 @@ const p2 = ({
3706
3706
  )
3707
3707
  ]
3708
3708
  }
3709
- ), j2 = ({
3709
+ ), D2 = ({
3710
3710
  width: i = 14,
3711
3711
  height: e = 14,
3712
3712
  color: t = "#8E8E93",
@@ -3734,7 +3734,7 @@ const p2 = ({
3734
3734
  )
3735
3735
  ]
3736
3736
  }
3737
- ), D2 = ({
3737
+ ), B2 = ({
3738
3738
  width: i = 14,
3739
3739
  height: e = 14,
3740
3740
  color: t = "#FFB020",
@@ -3768,7 +3768,7 @@ const p2 = ({
3768
3768
  )
3769
3769
  ]
3770
3770
  }
3771
- ), B2 = ({
3771
+ ), j2 = ({
3772
3772
  width: i = 14,
3773
3773
  height: e = 14,
3774
3774
  color: t = "#D0421B",
@@ -5257,7 +5257,7 @@ const p2 = ({
5257
5257
  }
5258
5258
  )
5259
5259
  }
5260
- ), yi = ({
5260
+ ), bi = ({
5261
5261
  width: i = 24,
5262
5262
  height: e = 24,
5263
5263
  color: t = E.GREY_DARK_2,
@@ -5284,7 +5284,7 @@ const p2 = ({
5284
5284
  }
5285
5285
  )
5286
5286
  }
5287
- ), bi = ({
5287
+ ), yi = ({
5288
5288
  width: i = 20,
5289
5289
  height: e = 20,
5290
5290
  color: t = "#001E52",
@@ -5319,7 +5319,7 @@ const p2 = ({
5319
5319
  disabled: o = !1,
5320
5320
  onClick: c
5321
5321
  }) => {
5322
- const [a, d] = B(n), { theme: g } = r1(de), l = o ? g && g === "dark" ? E.GREY_LIGHT_4 : E.GREY_DARK_1 : s, h = o ? void 0 : c;
5322
+ const [a, d] = j(n), { theme: g } = r1(de), l = o ? g && g === "dark" ? E.GREY_LIGHT_4 : E.GREY_DARK_1 : s, h = o ? void 0 : c;
5323
5323
  return G(() => {
5324
5324
  if (n) {
5325
5325
  h && !o && d(`${n} clickable`);
@@ -5355,9 +5355,9 @@ const p2 = ({
5355
5355
  case "attention":
5356
5356
  return M2({ width: e, height: t, color: l, className: a, onClick: h });
5357
5357
  case "users":
5358
- return y2({ width: e, height: t, color: l, className: a, onClick: h });
5358
+ return b2({ width: e, height: t, color: l, className: a, onClick: h });
5359
5359
  case "mySkillsMatrix":
5360
- return b2({
5360
+ return y2({
5361
5361
  width: e,
5362
5362
  height: t,
5363
5363
  color: l,
@@ -5367,7 +5367,7 @@ const p2 = ({
5367
5367
  case "skills":
5368
5368
  return E2({ width: e, height: t, color: l, className: a, onClick: h });
5369
5369
  case "skillsMatrices":
5370
- return H2({
5370
+ return _2({
5371
5371
  width: e,
5372
5372
  height: t,
5373
5373
  color: l,
@@ -5375,7 +5375,7 @@ const p2 = ({
5375
5375
  onClick: h
5376
5376
  });
5377
5377
  case "history":
5378
- return _2({ width: e, height: t, color: l, className: a, onClick: h });
5378
+ return H2({ width: e, height: t, color: l, className: a, onClick: h });
5379
5379
  case "logOut":
5380
5380
  return I2({ width: e, height: t, color: l, className: a, onClick: h });
5381
5381
  case "settings":
@@ -5389,9 +5389,9 @@ const p2 = ({
5389
5389
  case "errorSmall":
5390
5390
  return T2({ width: e, height: t, color: l, className: a, onClick: h });
5391
5391
  case "infoMedium":
5392
- return j2({ width: e, height: t, color: l, className: a, onClick: h });
5392
+ return D2({ width: e, height: t, color: l, className: a, onClick: h });
5393
5393
  case "attentionMedium":
5394
- return D2({
5394
+ return B2({
5395
5395
  width: e,
5396
5396
  height: t,
5397
5397
  color: l,
@@ -5399,7 +5399,7 @@ const p2 = ({
5399
5399
  onClick: h
5400
5400
  });
5401
5401
  case "errorMedium":
5402
- return B2({ width: e, height: t, color: l, className: a, onClick: h });
5402
+ return j2({ width: e, height: t, color: l, className: a, onClick: h });
5403
5403
  case "visibilityIcon":
5404
5404
  return Z2({
5405
5405
  width: e,
@@ -5497,7 +5497,7 @@ const p2 = ({
5497
5497
  case "projects":
5498
5498
  return Li({ width: e, height: t, color: l, className: a, onClick: h });
5499
5499
  case "profile":
5500
- return bi({ width: e, height: t, color: l, className: a, onClick: h });
5500
+ return yi({ width: e, height: t, color: l, className: a, onClick: h });
5501
5501
  case "exit":
5502
5502
  return vi({ width: e, height: t, color: l, className: a, onClick: h });
5503
5503
  case "client":
@@ -5509,18 +5509,18 @@ const p2 = ({
5509
5509
  case "community":
5510
5510
  return Mi({ width: e, height: t, color: l, className: a, onClick: h });
5511
5511
  case "docs":
5512
- return yi({ width: e, height: t, color: l, className: a, onClick: h });
5512
+ return bi({ width: e, height: t, color: l, className: a, onClick: h });
5513
5513
  default:
5514
5514
  return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
5515
5515
  }
5516
5516
  })() });
5517
5517
  };
5518
- var f1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(f1 || {});
5519
- const Hi = d1({
5518
+ var f1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(f1 || {});
5519
+ const _i = d1({
5520
5520
  locale: "en",
5521
5521
  theme: "light"
5522
5522
  });
5523
- Hi.Provider;
5523
+ _i.Provider;
5524
5524
  const ge = ({
5525
5525
  children: i,
5526
5526
  width: e,
@@ -5533,7 +5533,7 @@ const ge = ({
5533
5533
  o || s == null || s();
5534
5534
  };
5535
5535
  return /* @__PURE__ */ r(
5536
- ye,
5536
+ be,
5537
5537
  {
5538
5538
  className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
5539
5539
  closeIcon: /* @__PURE__ */ r(
@@ -5559,7 +5559,7 @@ const ge = ({
5559
5559
  ) : i
5560
5560
  }
5561
5561
  );
5562
- }, { Title: _i, Text: Ii } = ae, Oi = {
5562
+ }, { Title: Hi, Text: Ii } = ae, Oi = {
5563
5563
  h1: 1,
5564
5564
  h2: 2,
5565
5565
  h3: 3,
@@ -5577,7 +5577,7 @@ const ge = ({
5577
5577
  const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
5578
5578
  let g = `snmt-typography snmt-typography-${e}`;
5579
5579
  return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), o && (g += " collapsed"), d ? /* @__PURE__ */ r(
5580
- _i,
5580
+ Hi,
5581
5581
  {
5582
5582
  className: g,
5583
5583
  style: { color: t, whiteSpace: c },
@@ -5605,9 +5605,9 @@ const ge = ({
5605
5605
  placement: n = "topRight",
5606
5606
  noPadding: o = !1
5607
5607
  }) => {
5608
- const [c, a] = B(!1);
5608
+ const [c, a] = j(!1);
5609
5609
  return /* @__PURE__ */ r(
5610
- be,
5610
+ ye,
5611
5611
  {
5612
5612
  content: e,
5613
5613
  arrow: !1,
@@ -5642,7 +5642,7 @@ const Ti = ({
5642
5642
  options: o,
5643
5643
  extraOptions: c
5644
5644
  }) => {
5645
- const { locale: a } = r1(j1), { t: d } = ze("common", { lng: a }), [g, l] = B(!1);
5645
+ const { locale: a } = r1(D1), { t: d } = ze("common", { lng: a }), [g, l] = j(!1);
5646
5646
  if (G(() => {
5647
5647
  i.length || l(!1);
5648
5648
  }, [i]), !i.length)
@@ -5710,15 +5710,15 @@ const Ti = ({
5710
5710
  readOnly: f,
5711
5711
  error: N
5712
5712
  }, x) => {
5713
- const [L, P] = B(!1), [J, F] = B(!1), [H, j] = B(!0), [_, V] = B(i), T = X(null);
5713
+ const [L, P] = j(!1), [J, F] = j(!1), [_, D] = j(!0), [H, V] = j(i), T = X(null);
5714
5714
  G(() => {
5715
5715
  V(i);
5716
5716
  }, [i]);
5717
5717
  const Z = (w) => {
5718
5718
  P(w), u && u(w);
5719
- }, U = (w, y) => {
5720
- var D;
5721
- return !!((D = y == null ? void 0 : y.label) != null && D.toString().toLowerCase().includes(w.toLowerCase()));
5719
+ }, U = (w, b) => {
5720
+ var B;
5721
+ return !!((B = b == null ? void 0 : b.label) != null && B.toString().toLowerCase().includes(w.toLowerCase()));
5722
5722
  }, I = () => {
5723
5723
  F(!0);
5724
5724
  }, K = () => {
@@ -5726,12 +5726,12 @@ const Ti = ({
5726
5726
  }, W = $(
5727
5727
  (w) => {
5728
5728
  if (V(w), s) {
5729
- const D = w;
5730
- e == null || e(D);
5729
+ const B = w;
5730
+ e == null || e(B);
5731
5731
  return;
5732
5732
  }
5733
- const y = w;
5734
- e == null || e(y);
5733
+ const b = w;
5734
+ e == null || e(b);
5735
5735
  },
5736
5736
  [s, e]
5737
5737
  ), e1 = $(() => {
@@ -5744,39 +5744,39 @@ const Ti = ({
5744
5744
  }
5745
5745
  }, [a, W, s, f]), t1 = $(
5746
5746
  (w) => {
5747
- const y = _.filter((D) => D !== w);
5748
- W(y), V(y);
5747
+ const b = H.filter((B) => B !== w);
5748
+ W(b), V(b);
5749
5749
  },
5750
- [W, _]
5750
+ [W, H]
5751
5751
  ), g1 = $(
5752
- (w) => (_ == null ? void 0 : _.indexOf(w)) === 0 ? (
5752
+ (w) => (H == null ? void 0 : H.indexOf(w)) === 0 ? (
5753
5753
  // if the search input is empty
5754
5754
  // then display the placeholder, else do not display it
5755
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: H ? t : "" })
5755
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: _ ? t : "" })
5756
5756
  ) : /* @__PURE__ */ r(i1, {}),
5757
- [H, _, t]
5757
+ [_, H, t]
5758
5758
  ), L1 = (w) => {
5759
5759
  w.preventDefault(), w.stopPropagation();
5760
5760
  }, v1 = async (w) => {
5761
- const { target: y } = w;
5762
- y.scrollTop + y.offsetHeight >= y.scrollHeight - l && (p == null || p(!0)), k && await k(w);
5761
+ const { target: b } = w;
5762
+ b.scrollTop + b.offsetHeight >= b.scrollHeight - l && (p == null || p(!0)), k && await k(w);
5763
5763
  }, o1 = $(
5764
5764
  (w) => {
5765
- var y, D;
5766
- return ((y = o.find((a1) => a1.value === w)) == null ? void 0 : y.label) || ((D = m == null ? void 0 : m.find(
5765
+ var b, B;
5766
+ return ((b = o.find((a1) => a1.value === w)) == null ? void 0 : b.label) || ((B = m == null ? void 0 : m.find(
5767
5767
  (a1) => a1.value === w
5768
- )) == null ? void 0 : D.label) || w;
5768
+ )) == null ? void 0 : B.label) || w;
5769
5769
  },
5770
5770
  [m, o]
5771
5771
  ), N1 = $(
5772
5772
  (w) => {
5773
- var y;
5773
+ var b;
5774
5774
  return /* @__PURE__ */ r(
5775
5775
  Ti,
5776
5776
  {
5777
5777
  values: w,
5778
5778
  onTagClose: t1,
5779
- maxWidth: ((y = T.current) == null ? void 0 : y.clientWidth) || 0,
5779
+ maxWidth: ((b = T.current) == null ? void 0 : b.clientWidth) || 0,
5780
5780
  disabled: a,
5781
5781
  closable: !f,
5782
5782
  options: o,
@@ -5786,9 +5786,9 @@ const Ti = ({
5786
5786
  },
5787
5787
  [a, m, t1, o, f]
5788
5788
  ), A = $(
5789
- ({ label: w, value: y, mode: D }) => D === "filter" ? g1(y) : /* @__PURE__ */ r("div", { onMouseDown: L1, className: "tag-wrapper", children: /* @__PURE__ */ r(ge, { onClose: () => t1(y), disabled: a, children: typeof w == "object" ? w : o1(y) }) }),
5789
+ ({ label: w, value: b, mode: B }) => B === "filter" ? g1(b) : /* @__PURE__ */ r("div", { onMouseDown: L1, className: "tag-wrapper", children: /* @__PURE__ */ r(ge, { onClose: () => t1(b), disabled: a, children: typeof w == "object" ? w : o1(b) }) }),
5790
5790
  [a, o1, t1, g1]
5791
- ), z = Array.isArray(_) && _.length > 0 || !!_ && typeof _ == "string" && _.trim() !== "";
5791
+ ), z = Array.isArray(H) && H.length > 0 || !!H && typeof H == "string" && H.trim() !== "";
5792
5792
  return /* @__PURE__ */ C("div", { className: "snmt-select-container", children: [
5793
5793
  /* @__PURE__ */ C(
5794
5794
  "div",
@@ -5809,27 +5809,27 @@ const Ti = ({
5809
5809
  filterOption: n && U,
5810
5810
  onDropdownVisibleChange: Z,
5811
5811
  disabled: a,
5812
- value: _ || void 0,
5812
+ value: H || void 0,
5813
5813
  labelRender: (w) => {
5814
- const y = o1(w.value);
5815
- return a ? /* @__PURE__ */ r("span", { style: { color: q.GREY_DARK_1 }, children: y }) : y;
5814
+ const b = o1(w.value);
5815
+ return a ? /* @__PURE__ */ r("span", { style: { color: q.GREY_DARK_1 }, children: b }) : b;
5816
5816
  },
5817
5817
  mode: s === "filter" ? "multiple" : s,
5818
5818
  onChange: W,
5819
5819
  onFocus: I,
5820
5820
  onBlur: K,
5821
5821
  onSearch: (w) => {
5822
- j(!w), h && h(w);
5822
+ D(!w), h && h(w);
5823
5823
  },
5824
- onSelect: () => j(!0),
5825
- onDeselect: () => j(!0),
5824
+ onSelect: () => D(!0),
5825
+ onDeselect: () => D(!0),
5826
5826
  tagRender: (w) => A({ ...w, mode: s }),
5827
5827
  maxTagCount: "responsive",
5828
5828
  maxTagPlaceholder: N1,
5829
5829
  onPopupScroll: v1,
5830
5830
  prefix: S && /* @__PURE__ */ r(G1, { size: 15 }),
5831
5831
  suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(i1, { children: [
5832
- _ && !!_.length && (s || g) && /* @__PURE__ */ r(
5832
+ H && !!H.length && (s || g) && /* @__PURE__ */ r(
5833
5833
  "div",
5834
5834
  {
5835
5835
  onClick: e1,
@@ -5862,7 +5862,7 @@ const Ti = ({
5862
5862
  s && /* @__PURE__ */ r(
5863
5863
  qe,
5864
5864
  {
5865
- checked: !!(_ != null && _.includes(w.value))
5865
+ checked: !!(H != null && H.includes(w.value))
5866
5866
  }
5867
5867
  ),
5868
5868
  /* @__PURE__ */ C(p1, { alignItems: "center", gap: 8, children: [
@@ -5870,7 +5870,7 @@ const Ti = ({
5870
5870
  /* @__PURE__ */ r("span", { children: w.label })
5871
5871
  ] })
5872
5872
  ] }),
5873
- !s && _ === w.value && /* @__PURE__ */ r(
5873
+ !s && H === w.value && /* @__PURE__ */ r(
5874
5874
  u1,
5875
5875
  {
5876
5876
  name: "ok",
@@ -5912,7 +5912,7 @@ const Ti = ({
5912
5912
  ] });
5913
5913
  }
5914
5914
  );
5915
- function ji(i, e = 500) {
5915
+ function Di(i, e = 500) {
5916
5916
  const t = X();
5917
5917
  return G(() => () => {
5918
5918
  t.current && clearTimeout(t.current);
@@ -5929,7 +5929,7 @@ function $1(i) {
5929
5929
  e.current = i;
5930
5930
  }, [i]), e.current;
5931
5931
  }
5932
- const _1 = 100, l1 = {
5932
+ const H1 = 100, l1 = {
5933
5933
  offset: 0
5934
5934
  }, P1 = k1(
5935
5935
  ({
@@ -5953,36 +5953,36 @@ const _1 = 100, l1 = {
5953
5953
  required: O = !1,
5954
5954
  error: M
5955
5955
  }, S) => {
5956
- const [f, N] = B(), [x, L] = B(l1), [P, J] = B(!1), [F, H] = B(), [j, _] = B(!1), [V, T] = B(
5956
+ const [f, N] = j(), [x, L] = j(l1), [P, J] = j(!1), [F, _] = j(), [D, H] = j(!1), [V, T] = j(
5957
5957
  h ?? []
5958
- ), Z = $1(x.offset), U = $1(F), [I, K] = B(!1), W = X(!1), e1 = $(
5958
+ ), Z = $1(x.offset), U = $1(F), [I, K] = j(!1), W = X(!1), e1 = $(
5959
5959
  async ({
5960
- limit: A = _1,
5960
+ limit: A = H1,
5961
5961
  offset: z,
5962
5962
  search: w
5963
5963
  }) => {
5964
5964
  J(!0);
5965
5965
  try {
5966
- const y = await i({
5966
+ const b = await i({
5967
5967
  limit: A,
5968
5968
  offset: z,
5969
5969
  search: w
5970
5970
  });
5971
5971
  N(
5972
- (D) => z === 0 ? y.options : [...D ?? [], ...y.options]
5973
- ), L((D) => ({
5974
- ...D,
5975
- count: y.count
5972
+ (B) => z === 0 ? b.options : [...B ?? [], ...b.options]
5973
+ ), L((B) => ({
5974
+ ...B,
5975
+ count: b.count
5976
5976
  }));
5977
- } catch (y) {
5978
- return console.error("AsyncSelect. fetchOptions error", y), [];
5977
+ } catch (b) {
5978
+ return console.error("AsyncSelect. fetchOptions error", b), [];
5979
5979
  } finally {
5980
5980
  J(!1);
5981
5981
  }
5982
5982
  },
5983
5983
  [i]
5984
- ), t1 = ji((A) => {
5985
- H(A), A || L(l1);
5984
+ ), t1 = Di((A) => {
5985
+ _(A), A || L(l1);
5986
5986
  }), g1 = $(
5987
5987
  (A) => t1(A),
5988
5988
  [t1]
@@ -5990,24 +5990,24 @@ const _1 = 100, l1 = {
5990
5990
  async (A) => {
5991
5991
  P || A && x.count && x.count > ((f == null ? void 0 : f.length) ?? 0) && L((z) => ({
5992
5992
  ...z,
5993
- offset: z.offset + _1
5993
+ offset: z.offset + H1
5994
5994
  }));
5995
5995
  },
5996
5996
  [P, f == null ? void 0 : f.length, x.count]
5997
5997
  ), v1 = $(
5998
5998
  (A) => {
5999
- _(A), !A && F && (H(void 0), L(l1), K(!0)), u == null || u(A);
5999
+ H(A), !A && F && (_(void 0), L(l1), K(!0)), u == null || u(A);
6000
6000
  },
6001
6001
  [u, F]
6002
6002
  );
6003
6003
  G(() => {
6004
- !W.current || P || (I || j && (Z !== x.offset || U !== F || !f)) && (e1({ offset: x.offset, limit: _1, search: F }), I && K(!1));
6005
- }, [I, j, x.offset, F, Z, U, f, P]), G(() => {
6004
+ !W.current || P || (I || D && (Z !== x.offset || U !== F || !f)) && (e1({ offset: x.offset, limit: H1, search: F }), I && K(!1));
6005
+ }, [I, D, x.offset, F, Z, U, f, P]), G(() => {
6006
6006
  (g || l) && e1(l1), W.current = !0;
6007
6007
  }, []), G(() => {
6008
6008
  h && T((A) => {
6009
6009
  const z = h.filter(
6010
- (w) => !A.some((y) => y.value === w.value)
6010
+ (w) => !A.some((b) => b.value === w.value)
6011
6011
  );
6012
6012
  return [...A, ...z];
6013
6013
  });
@@ -6018,18 +6018,18 @@ const _1 = 100, l1 = {
6018
6018
  let z = [];
6019
6019
  if (d ? z = Array.isArray(A) ? A : [] : z = A ? [A] : [], F) {
6020
6020
  const w = z.filter(
6021
- (y) => !(V != null && V.some((D) => D.value === y))
6021
+ (b) => !(V != null && V.some((B) => B.value === b))
6022
6022
  );
6023
- w.length > 0 && T((y = []) => [
6024
- ...y,
6025
- ...w.map((D) => {
6026
- const a1 = f == null ? void 0 : f.find((we) => we.value === D);
6023
+ w.length > 0 && T((b = []) => [
6024
+ ...b,
6025
+ ...w.map((B) => {
6026
+ const a1 = f == null ? void 0 : f.find((we) => we.value === B);
6027
6027
  return {
6028
- value: D,
6029
- label: (a1 == null ? void 0 : a1.label) ?? D
6028
+ value: B,
6029
+ label: (a1 == null ? void 0 : a1.label) ?? B
6030
6030
  };
6031
6031
  })
6032
- ]), H(void 0), L(l1), K(!0);
6032
+ ]), _(void 0), L(l1), K(!0);
6033
6033
  }
6034
6034
  },
6035
6035
  [t, F, d, f, V]
@@ -6082,13 +6082,13 @@ const _1 = 100, l1 = {
6082
6082
  );
6083
6083
  return oe(S, () => ({
6084
6084
  refetchOptions: async () => {
6085
- L(l1), H(void 0), K(!0);
6085
+ L(l1), _(void 0), K(!0);
6086
6086
  }
6087
6087
  })), d ? /* @__PURE__ */ r(K1, { ...N1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(K1, { ...N1, value: s }) });
6088
6088
  }
6089
6089
  );
6090
6090
  var R1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(R1 || {});
6091
- const Di = ({ size: i = 30, color: e = "#004ed7" }) => {
6091
+ const Bi = ({ size: i = 30, color: e = "#004ed7" }) => {
6092
6092
  const t = `no-repeat linear-gradient(${e}
6093
6093
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
6094
6094
  width: i,
@@ -6097,7 +6097,7 @@ const Di = ({ size: i = 30, color: e = "#004ed7" }) => {
6097
6097
  };
6098
6098
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
6099
6099
  };
6100
- function Bi() {
6100
+ function ji() {
6101
6101
  if (console && console.warn) {
6102
6102
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
6103
6103
  e[t] = arguments[t];
@@ -6108,7 +6108,7 @@ const F1 = {};
6108
6108
  function V1() {
6109
6109
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
6110
6110
  e[t] = arguments[t];
6111
- n1(e[0]) && F1[e[0]] || (n1(e[0]) && (F1[e[0]] = /* @__PURE__ */ new Date()), Bi(...e));
6111
+ n1(e[0]) && F1[e[0]] || (n1(e[0]) && (F1[e[0]] = /* @__PURE__ */ new Date()), ji(...e));
6112
6112
  }
6113
6113
  const ue = (i, e) => () => {
6114
6114
  if (i.isInitialized)
@@ -6194,7 +6194,7 @@ const zi = (i) => {
6194
6194
  }, Qi = d1();
6195
6195
  class Xi {
6196
6196
  constructor() {
6197
- D1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
6197
+ B1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
6198
6198
  this.usedNamespaces = {};
6199
6199
  }
6200
6200
  addUsedNamespaces(e) {
@@ -6232,7 +6232,7 @@ const e0 = (i, e) => {
6232
6232
  } = c;
6233
6233
  let g = i;
6234
6234
  g = n1(g) ? [g] : g || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(g);
6235
- const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => Wi(f, o, c)), h = t0(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => pe(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, v] = B(u);
6235
+ const l = (o.isInitialized || o.initializedStoreOnce) && g.every((f) => Wi(f, o, c)), h = t0(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => pe(o, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [k, v] = j(u);
6236
6236
  let m = g.join();
6237
6237
  e.lng && (m = `${e.lng}${m}`);
6238
6238
  const O = e0(m), M = X(!0);
@@ -6368,7 +6368,7 @@ const c0 = [" ", ",", "?", "!", ";"], d0 = new h0(20), g0 = (i, e, t) => {
6368
6368
  n = c;
6369
6369
  }
6370
6370
  return n;
6371
- }, y1 = (i) => i && i.replace("_", "-"), u0 = {
6371
+ }, b1 = (i) => i && i.replace("_", "-"), u0 = {
6372
6372
  type: "logger",
6373
6373
  log(i) {
6374
6374
  this.output("log", i);
@@ -6383,7 +6383,7 @@ const c0 = [" ", ",", "?", "!", ";"], d0 = new h0(20), g0 = (i, e, t) => {
6383
6383
  console && console[i] && console[i].apply(console, e);
6384
6384
  }
6385
6385
  };
6386
- class b1 {
6386
+ class y1 {
6387
6387
  constructor(e) {
6388
6388
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6389
6389
  this.init(e, t);
@@ -6416,17 +6416,17 @@ class b1 {
6416
6416
  return n && !this.debug ? null : (R(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
6417
6417
  }
6418
6418
  create(e) {
6419
- return new b1(this.logger, {
6419
+ return new y1(this.logger, {
6420
6420
  prefix: `${this.prefix}:${e}:`,
6421
6421
  ...this.options
6422
6422
  });
6423
6423
  }
6424
6424
  clone(e) {
6425
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
6425
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new y1(this.logger, e);
6426
6426
  }
6427
6427
  }
6428
- var Q = new b1();
6429
- class H1 {
6428
+ var Q = new y1();
6429
+ class _1 {
6430
6430
  constructor() {
6431
6431
  this.observers = {};
6432
6432
  }
@@ -6460,7 +6460,7 @@ class H1 {
6460
6460
  });
6461
6461
  }
6462
6462
  }
6463
- class X1 extends H1 {
6463
+ class X1 extends _1 {
6464
6464
  constructor(e) {
6465
6465
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
6466
6466
  ns: ["translation"],
@@ -6547,7 +6547,7 @@ var me = {
6547
6547
  }
6548
6548
  };
6549
6549
  const ee = {};
6550
- class E1 extends H1 {
6550
+ class E1 extends _1 {
6551
6551
  constructor(e) {
6552
6552
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6553
6553
  super(), s0(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Q.create("translator");
@@ -6646,11 +6646,11 @@ class E1 extends H1 {
6646
6646
  let f = !1, N = !1;
6647
6647
  const x = t.count !== void 0 && !R(t.count), L = E1.hasDefaultValue(t), P = x ? this.pluralResolver.getSuffix(g, t.count, t) : "", J = t.ordinal && x ? this.pluralResolver.getSuffix(g, t.count, {
6648
6648
  ordinal: !1
6649
- }) : "", F = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), H = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${P}`] || t[`defaultValue${J}`] || t.defaultValue;
6650
- !this.isValidLookup(u) && L && (f = !0, u = H), this.isValidLookup(u) || (N = !0, u = c);
6651
- const _ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : u, V = L && H !== u && this.options.updateMissing;
6649
+ }) : "", F = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), _ = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${P}`] || t[`defaultValue${J}`] || t.defaultValue;
6650
+ !this.isValidLookup(u) && L && (f = !0, u = _), this.isValidLookup(u) || (N = !0, u = c);
6651
+ const H = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : u, V = L && _ !== u && this.options.updateMissing;
6652
6652
  if (N || f || V) {
6653
- if (this.logger.log(V ? "updateKey" : "missingKey", g, d, c, V ? H : u), o) {
6653
+ if (this.logger.log(V ? "updateKey" : "missingKey", g, d, c, V ? _ : u), o) {
6654
6654
  const I = this.resolve(c, {
6655
6655
  ...t,
6656
6656
  keySeparator: !1
@@ -6664,15 +6664,15 @@ class E1 extends H1 {
6664
6664
  T.push(Z[I]);
6665
6665
  else this.options.saveMissingTo === "all" ? T = this.languageUtils.toResolveHierarchy(t.lng || this.language) : T.push(t.lng || this.language);
6666
6666
  const U = (I, K, W) => {
6667
- const e1 = L && W !== u ? W : _;
6667
+ const e1 = L && W !== u ? W : H;
6668
6668
  this.options.missingKeyHandler ? this.options.missingKeyHandler(I, d, K, e1, V, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, d, K, e1, V, t), this.emit("missingKey", I, d, K, u);
6669
6669
  };
6670
6670
  this.options.saveMissing && (this.options.saveMissingPlurals && x ? T.forEach((I) => {
6671
6671
  const K = this.pluralResolver.getSuffixes(I, t);
6672
6672
  F && t[`defaultValue${this.options.pluralSeparator}zero`] && K.indexOf(`${this.options.pluralSeparator}zero`) < 0 && K.push(`${this.options.pluralSeparator}zero`), K.forEach((W) => {
6673
- U([I], c + W, t[`defaultValue${W}`] || H);
6673
+ U([I], c + W, t[`defaultValue${W}`] || _);
6674
6674
  });
6675
- }) : U(T, c, H));
6675
+ }) : U(T, c, _));
6676
6676
  }
6677
6677
  u = this.extendTranslation(u, e, t, h, s), N && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (N || 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));
6678
6678
  }
@@ -6799,12 +6799,12 @@ class te {
6799
6799
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Q.create("languageUtils");
6800
6800
  }
6801
6801
  getScriptPartFromCode(e) {
6802
- if (e = y1(e), !e || e.indexOf("-") < 0) return null;
6802
+ if (e = b1(e), !e || e.indexOf("-") < 0) return null;
6803
6803
  const t = e.split("-");
6804
6804
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
6805
6805
  }
6806
6806
  getLanguagePartFromCode(e) {
6807
- if (e = y1(e), !e || e.indexOf("-") < 0) return e;
6807
+ if (e = b1(e), !e || e.indexOf("-") < 0) return e;
6808
6808
  const t = e.split("-");
6809
6809
  return this.formatLanguageCode(t[0]);
6810
6810
  }
@@ -7007,7 +7007,7 @@ class k0 {
7007
7007
  getRule(e) {
7008
7008
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7009
7009
  if (this.shouldUseIntlApi()) {
7010
- const s = y1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
7010
+ const s = b1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
7011
7011
  cleanedCode: s,
7012
7012
  type: n
7013
7013
  });
@@ -7213,7 +7213,7 @@ const v0 = (i) => {
7213
7213
  });
7214
7214
  const c = s + JSON.stringify(o);
7215
7215
  let a = e[c];
7216
- return a || (a = i(y1(s), n), e[c] = a), a(t);
7216
+ return a || (a = i(b1(s), n), e[c] = a), a(t);
7217
7217
  };
7218
7218
  };
7219
7219
  class N0 {
@@ -7299,7 +7299,7 @@ class N0 {
7299
7299
  const x0 = (i, e) => {
7300
7300
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
7301
7301
  };
7302
- class R0 extends H1 {
7302
+ class R0 extends _1 {
7303
7303
  constructor(e, t, s) {
7304
7304
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
7305
7305
  super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = Q.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);
@@ -7496,7 +7496,7 @@ const ne = () => ({
7496
7496
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
7497
7497
  });
7498
7498
  };
7499
- class w1 extends H1 {
7499
+ class w1 extends _1 {
7500
7500
  constructor() {
7501
7501
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
7502
7502
  if (super(), this.options = re(e), this.services = {}, this.logger = Q, this.modules = {
@@ -7750,12 +7750,12 @@ Y.setDefaultNamespace;
7750
7750
  Y.hasLoadedNamespace;
7751
7751
  Y.loadNamespaces;
7752
7752
  Y.loadLanguages;
7753
- const y0 = "Archived", b0 = "Deleted", E0 = {
7754
- archived: y0,
7755
- deleted: b0
7756
- }, H0 = "Заархивирован", _0 = "Удалён", I0 = {
7757
- archived: H0,
7758
- deleted: _0
7753
+ const b0 = "Archived", y0 = "Deleted", E0 = {
7754
+ archived: b0,
7755
+ deleted: y0
7756
+ }, _0 = "Заархивирован", H0 = "Удалён", I0 = {
7757
+ archived: _0,
7758
+ deleted: H0
7759
7759
  };
7760
7760
  Y.use(qi).init({
7761
7761
  defaultNS: "common",
@@ -7769,7 +7769,7 @@ Y.use(qi).init({
7769
7769
  }
7770
7770
  }
7771
7771
  });
7772
- const D0 = k1(
7772
+ const B0 = k1(
7773
7773
  ({
7774
7774
  fetchParams: i,
7775
7775
  mode: e = void 0,
@@ -7784,30 +7784,30 @@ const D0 = k1(
7784
7784
  required: l,
7785
7785
  error: h
7786
7786
  }, u) => {
7787
- const { axiosPeople: p, locale: k } = r1(Ee), { t: v } = i0("common", { lng: k }), [m, O] = B([]), [M, S] = B(!0), f = X(m), N = X(null);
7787
+ const { axiosPeople: p, locale: k } = r1(Ee), { t: v } = i0("common", { lng: k }), [m, O] = j([]), [M, S] = j(!0), f = X(m), N = X(null);
7788
7788
  if (oe(u, () => N.current), !p)
7789
7789
  throw new Error(
7790
7790
  `UserSelect requires "axiosPeople" to fetch users.
7791
7791
  Please provide it via SNMTUiContext.`
7792
7792
  );
7793
7793
  const x = $(
7794
- (H) => {
7795
- let j = "";
7796
- return H.deletedAt && (j += `[${v("deleted")}] `), H.status === R1.ARCHIVED && (j += `[${v("archived")}] `), `${j}${H.firstName} ${H.lastName}`;
7794
+ (_) => {
7795
+ let D = "";
7796
+ return _.deletedAt && (D += `[${v("deleted")}] `), _.status === R1.ARCHIVED && (D += `[${v("archived")}] `), `${D}${_.firstName} ${_.lastName}`;
7797
7797
  },
7798
7798
  [v]
7799
7799
  ), L = $(
7800
7800
  async ({
7801
- offset: H,
7802
- limit: j,
7803
- search: _
7801
+ offset: _,
7802
+ limit: D,
7803
+ search: H
7804
7804
  }) => {
7805
7805
  var V, T, Z;
7806
7806
  try {
7807
7807
  const U = await p.post("v1/users/search", {
7808
- offset: H,
7809
- limit: j,
7810
- search: _,
7808
+ offset: _,
7809
+ limit: D,
7810
+ search: H,
7811
7811
  ...i,
7812
7812
  includeCount: !0
7813
7813
  }), { data: I, metadata: K } = U.data;
@@ -7831,10 +7831,10 @@ const D0 = k1(
7831
7831
  },
7832
7832
  [p, i, x, d, c]
7833
7833
  ), P = $(
7834
- async (H) => {
7835
- var j, _, V;
7834
+ async (_) => {
7835
+ var D, H, V;
7836
7836
  try {
7837
- const T = H.filter(
7837
+ const T = _.filter(
7838
7838
  (I) => !f.current.some((K) => K.value === I)
7839
7839
  );
7840
7840
  let Z = [];
@@ -7852,8 +7852,8 @@ const D0 = k1(
7852
7852
  return [...f.current, ...U];
7853
7853
  } catch (T) {
7854
7854
  return c && c({
7855
- status: ((j = T.response) == null ? void 0 : j.status) ?? 500,
7856
- message: ((V = (_ = T.response) == null ? void 0 : _.data) == null ? void 0 : V.message) ?? "Error while fetching selected items"
7855
+ status: ((D = T.response) == null ? void 0 : D.status) ?? 500,
7856
+ message: ((V = (H = T.response) == null ? void 0 : H.data) == null ? void 0 : V.message) ?? "Error while fetching selected items"
7857
7857
  }), [];
7858
7858
  }
7859
7859
  },
@@ -7862,40 +7862,40 @@ const D0 = k1(
7862
7862
  G(() => {
7863
7863
  f.current = m;
7864
7864
  }, [m]), G(() => {
7865
- var H;
7866
- (H = N.current) == null || H.refetchOptions();
7865
+ var _;
7866
+ (_ = N.current) == null || _.refetchOptions();
7867
7867
  }, [i]), G(() => {
7868
7868
  if (!n) {
7869
7869
  S(!1);
7870
7870
  return;
7871
7871
  }
7872
7872
  (async () => {
7873
- const j = Array.isArray(n) ? n : [n], _ = await P(j);
7874
- O(_), S(!1);
7873
+ const D = Array.isArray(n) ? n : [n], H = await P(D);
7874
+ O(H), S(!1);
7875
7875
  })();
7876
7876
  }, [P, n]);
7877
7877
  const J = $(
7878
7878
  async ({
7879
- limit: H,
7880
- offset: j,
7881
- search: _
7879
+ limit: _,
7880
+ offset: D,
7881
+ search: H
7882
7882
  }) => {
7883
7883
  const { count: V, ...T } = await L({
7884
- offset: j,
7885
- limit: H,
7886
- search: _
7884
+ offset: D,
7885
+ limit: _,
7886
+ search: H
7887
7887
  });
7888
7888
  let Z = T.options;
7889
- return a && j === 0 && (Z = [{ value: null, label: "None" }, ...Z]), {
7889
+ return a && D === 0 && (Z = [{ value: null, label: "None" }, ...Z]), {
7890
7890
  options: Z,
7891
7891
  count: V,
7892
- limit: H
7892
+ limit: _
7893
7893
  };
7894
7894
  },
7895
7895
  [a, L]
7896
7896
  );
7897
7897
  if (M)
7898
- return /* @__PURE__ */ r(Di, {});
7898
+ return /* @__PURE__ */ r(Bi, {});
7899
7899
  const F = {
7900
7900
  ref: N,
7901
7901
  placeholder: t,
@@ -7930,5 +7930,5 @@ const D0 = k1(
7930
7930
  }
7931
7931
  );
7932
7932
  export {
7933
- D0 as UserSelect
7933
+ B0 as UserSelect
7934
7934
  };