@snmt-react-ui/user-select 2.9.21 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- var v2 = Object.defineProperty;
2
- var N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var B1 = (i, e, t) => N2(i, typeof e != "symbol" ? e + "" : e, t);
1
+ var N2 = Object.defineProperty;
2
+ var R2 = (i, e, t) => e in i ? N2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
+ var B1 = (i, e, t) => R2(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
6
- import { forwardRef as r1, useState as S, useRef as J, useCallback as $, useEffect as K, useMemo as R2, useImperativeHandle as C1, useContext as o1, createContext as a1 } from "react";
7
- import { Select as x2, Tag as _2, Flex as M2, Checkbox as y2, Avatar as b2, Typography as H1, Popover as E2 } from "antd";
8
- import { SNMTUiContext as H2 } from "@snmt-react-ui/core";
9
- var A2 = Object.defineProperty, I2 = (i, e, t) => e in i ? A2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, V2 = (i, e, t) => I2(i, e + "", t), O2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function G2() {
5
+ import { jsx as r, Fragment as n1, jsxs as C } from "react/jsx-runtime";
6
+ import { forwardRef as o1, useState as S, useRef as J, useCallback as $, useEffect as B, useMemo as x2, useImperativeHandle as C1, useContext as a1, createContext as l1 } from "react";
7
+ import { Select as _2, Tag as M2, Flex as b2, Checkbox as y2, Avatar as E2, Typography as H1, Popover as H2 } from "antd";
8
+ import { SNMTUiContext as I2 } from "@snmt-react-ui/core";
9
+ var A2 = Object.defineProperty, V2 = (i, e, t) => e in i ? A2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, O2 = (i, e, t) => V2(i, e + "", t), G2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
+ function S2() {
11
11
  if (console && console.warn) {
12
12
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
13
13
  e[t] = arguments[t];
14
- n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
14
+ s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
17
  const Y1 = {};
18
18
  function G1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- n1(e[0]) && Y1[e[0]] || (n1(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), G2(...e));
21
+ s1(e[0]) && Y1[e[0]] || (s1(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), S2(...e));
22
22
  }
23
- const h2 = (i, e) => () => {
23
+ const d2 = (i, e) => () => {
24
24
  if (i.isInitialized)
25
25
  e();
26
26
  else {
@@ -32,12 +32,12 @@ const h2 = (i, e) => () => {
32
32
  i.on("initialized", t);
33
33
  }
34
34
  }, P1 = (i, e, t) => {
35
- i.loadNamespaces(e, h2(i, t));
35
+ i.loadNamespaces(e, d2(i, t));
36
36
  }, $1 = (i, e, t, n) => {
37
- n1(t) && (t = [t]), t.forEach((s) => {
37
+ s1(t) && (t = [t]), t.forEach((s) => {
38
38
  i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
39
- }), i.loadLanguages(e, h2(i, n));
40
- }, S2 = function(i, e) {
39
+ }), i.loadLanguages(e, d2(i, n));
40
+ }, Z2 = function(i, e) {
41
41
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
42
42
  const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
43
43
  if (n.toLowerCase() === "cimode") return !0;
@@ -46,15 +46,15 @@ const h2 = (i, e) => () => {
46
46
  return a === -1 || a === 2;
47
47
  };
48
48
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(n, i) && (!s || h(o, i)));
49
- }, Z2 = function(i, e) {
49
+ }, T2 = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (G1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
52
52
  lng: t.lng,
53
53
  precheck: (n, s) => {
54
54
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !s(n.isLanguageChangingTo, i)) return !1;
55
55
  }
56
- }) : S2(i, e, t);
57
- }, n1 = (i) => typeof i == "string", T2 = (i) => typeof i == "object" && i !== null, D2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, K2 = {
56
+ }) : Z2(i, e, t);
57
+ }, s1 = (i) => typeof i == "string", D2 = (i) => typeof i == "object" && i !== null, K2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, B2 = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -75,8 +75,8 @@ const h2 = (i, e) => () => {
75
75
  "&#8230;": "…",
76
76
  "&#x2F;": "/",
77
77
  "&#47;": "/"
78
- }, B2 = (i) => K2[i], Y2 = (i) => i.replace(D2, B2);
79
- let P2 = {
78
+ }, Y2 = (i) => B2[i], P2 = (i) => i.replace(K2, Y2);
79
+ let $2 = {
80
80
  bindI18n: "languageChanged",
81
81
  bindI18nStore: "",
82
82
  transEmptyNodeValue: "",
@@ -84,14 +84,14 @@ let P2 = {
84
84
  transWrapTextNodes: "",
85
85
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
86
86
  useSuspense: !0,
87
- unescape: Y2
87
+ unescape: P2
88
88
  };
89
- const $2 = () => P2;
90
- let j2;
91
- const F2 = () => j2, U2 = a1();
92
- class W2 {
89
+ const j2 = () => $2;
90
+ let F2;
91
+ const U2 = () => F2, W2 = l1();
92
+ class z2 {
93
93
  constructor() {
94
- V2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
94
+ O2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
96
96
  addUsedNamespaces(e) {
97
97
  e.forEach((t) => {
@@ -99,27 +99,27 @@ class W2 {
99
99
  });
100
100
  }
101
101
  }
102
- const z2 = (i, e) => {
102
+ const J2 = (i, e) => {
103
103
  const t = J();
104
- return K(() => {
104
+ return B(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, d2 = (i, e, t, n) => i.getFixedT(e, t, n), J2 = (i, e, t, n) => $(d2(i, e, t, n), [i, e, t, n]), q2 = function(i) {
107
+ }, g2 = (i, e, t, n) => i.getFixedT(e, t, n), q2 = (i, e, t, n) => $(g2(i, e, t, n), [i, e, t, n]), Q2 = function(i) {
108
108
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
109
109
  const {
110
110
  i18n: t
111
111
  } = e, {
112
112
  i18n: n,
113
113
  defaultNS: s
114
- } = o1(U2) || {}, o = t || n || F2();
115
- if (o && !o.reportNamespaces && (o.reportNamespaces = new W2()), !o) {
114
+ } = a1(W2) || {}, o = t || n || U2();
115
+ if (o && !o.reportNamespaces && (o.reportNamespaces = new z2()), !o) {
116
116
  G1("You will need to pass in an i18next instance by using initReactI18next");
117
- const f = (_, R) => n1(R) ? R : T2(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
117
+ const f = (_, R) => s1(R) ? R : D2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
118
118
  return x.t = f, x.i18n = {}, x.ready = !1, x;
119
119
  }
120
120
  o.options.react && o.options.react.wait !== void 0 && G1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const h = {
122
- ...$2(),
122
+ ...j2(),
123
123
  ...o.options.react,
124
124
  ...e
125
125
  }, {
@@ -127,29 +127,29 @@ const z2 = (i, e) => {
127
127
  keyPrefix: l
128
128
  } = h;
129
129
  let a = i;
130
- a = n1(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
131
- const c = (o.isInitialized || o.initializedStoreOnce) && a.every((f) => Z2(f, o, h)), u = J2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => d2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), [w, L] = S(g);
130
+ a = s1(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
131
+ const c = (o.isInitialized || o.initializedStoreOnce) && a.every((f) => T2(f, o, h)), u = q2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => g2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), [w, L] = S(g);
132
132
  let m = a.join();
133
133
  e.lng && (m = `${e.lng}${m}`);
134
- const y = z2(m), b = J(!0);
135
- K(() => {
134
+ const b = J2(m), y = J(!0);
135
+ B(() => {
136
136
  const {
137
137
  bindI18n: f,
138
138
  bindI18nStore: x
139
139
  } = h;
140
- b.current = !0, !c && !d && (e.lng ? $1(o, e.lng, a, () => {
141
- b.current && L(p);
140
+ y.current = !0, !c && !d && (e.lng ? $1(o, e.lng, a, () => {
141
+ y.current && L(p);
142
142
  }) : P1(o, a, () => {
143
- b.current && L(p);
144
- })), c && y && y !== m && b.current && L(p);
143
+ y.current && L(p);
144
+ })), c && b && b !== m && y.current && L(p);
145
145
  const _ = () => {
146
- b.current && L(p);
146
+ y.current && L(p);
147
147
  };
148
148
  return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
149
- b.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
149
+ y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
150
150
  };
151
- }, [o, m]), K(() => {
152
- b.current && c && L(g);
151
+ }, [o, m]), B(() => {
152
+ y.current && c && L(g);
153
153
  }, [o, l, c]);
154
154
  const V = [w, o, c];
155
155
  if (V.t = w, V.i18n = o, V.ready = c, c || !c && !d) return V;
@@ -166,7 +166,7 @@ const z2 = (i, e) => {
166
166
  gap: h,
167
167
  padding: d
168
168
  }) => /* @__PURE__ */ r(
169
- M2,
169
+ b2,
170
170
  {
171
171
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
172
172
  vertical: e === "column",
@@ -178,12 +178,12 @@ const z2 = (i, e) => {
178
178
  style: { padding: d },
179
179
  children: i
180
180
  }
181
- ), { Title: Q2, Text: X2 } = H1, e5 = {
181
+ ), { Title: X2, Text: e5 } = H1, t5 = {
182
182
  h1: 1,
183
183
  h2: 2,
184
184
  h3: 3,
185
185
  h4: 4
186
- }, j1 = r1(
186
+ }, j1 = o1(
187
187
  ({
188
188
  align: i = "inherit",
189
189
  variant: e = "body1",
@@ -198,16 +198,16 @@ const z2 = (i, e) => {
198
198
  const a = J(null);
199
199
  C1(l, () => a.current);
200
200
  const [c, u] = S(!1);
201
- K(() => {
201
+ B(() => {
202
202
  var L;
203
203
  if (!d) return;
204
204
  const m = () => {
205
205
  a.current && u(a.current.scrollWidth > a.current.clientWidth);
206
206
  };
207
207
  m();
208
- const y = new ResizeObserver(m);
209
- return a.current && y.observe(a.current), (L = a.current) != null && L.parentElement && y.observe(a.current.parentElement), () => {
210
- y.disconnect();
208
+ const b = new ResizeObserver(m);
209
+ return a.current && b.observe(a.current), (L = a.current) != null && L.parentElement && b.observe(a.current.parentElement), () => {
210
+ b.disconnect();
211
211
  };
212
212
  }, [d]);
213
213
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -225,17 +225,17 @@ const z2 = (i, e) => {
225
225
  }
226
226
  } : void 0
227
227
  };
228
- return g ? /* @__PURE__ */ r(Q2, { level: e5[e], ...w, children: n }) : /* @__PURE__ */ r(X2, { ...w, children: n });
228
+ return g ? /* @__PURE__ */ r(X2, { level: t5[e], ...w, children: n }) : /* @__PURE__ */ r(e5, { ...w, children: n });
229
229
  }
230
230
  );
231
231
  var S1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(S1 || {});
232
- const t5 = a1({
232
+ const i5 = l1({
233
233
  locale: "en",
234
234
  theme: "light"
235
235
  });
236
- t5.Provider;
237
- const i5 = ({ children: i, label: e, variant: t = "small", src: n }) => {
238
- const s = typeof n == "string", o = {
236
+ i5.Provider;
237
+ const n5 = ({ label: i, variant: e = "small", src: t, fallbackText: n }) => {
238
+ const s = t != null && t.trim() ? t : void 0, o = {
239
239
  large: 80,
240
240
  medium: 48,
241
241
  small: 32,
@@ -255,24 +255,23 @@ const i5 = ({ children: i, label: e, variant: t = "small", src: n }) => {
255
255
  "div",
256
256
  {
257
257
  className: "snmt-avatar-with-label-wrapper",
258
- style: { gap: e ? t === "large" || t === "medium" ? 12 : 8 : 0 },
258
+ style: { gap: i ? e === "large" || e === "medium" ? 12 : 8 : 0 },
259
259
  children: [
260
260
  /* @__PURE__ */ r(
261
- b2,
261
+ E2,
262
262
  {
263
263
  className: `snmt-avatar ${s ? "image" : ""}`,
264
- shape: "circle",
265
- src: n,
266
- size: o[t],
267
- children: /* @__PURE__ */ r(j1, { color: S1.GREY_LIGHT_0, variant: h[t], children: i })
264
+ src: s,
265
+ size: o[e],
266
+ children: /* @__PURE__ */ r(j1, { color: S1.GREY_LIGHT_0, variant: h[e], children: !s && n })
268
267
  }
269
268
  ),
270
- e && /* @__PURE__ */ r(
269
+ i && /* @__PURE__ */ r(
271
270
  j1,
272
271
  {
273
272
  color: S1.GREY_DARK_5,
274
- variant: t ? d[t] : "body2",
275
- children: e
273
+ variant: e ? d[e] : "body2",
274
+ children: i
276
275
  }
277
276
  )
278
277
  ]
@@ -280,17 +279,17 @@ const i5 = ({ children: i, label: e, variant: t = "small", src: n }) => {
280
279
  );
281
280
  };
282
281
  var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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 || {});
283
- const K1 = a1({
282
+ const K1 = l1({
284
283
  locale: "en",
285
284
  theme: "light"
286
285
  });
287
286
  K1.Provider;
288
- const { Title: n5, Text: s5 } = H1, r5 = {
287
+ const { Title: s5, Text: r5 } = H1, o5 = {
289
288
  h1: 1,
290
289
  h2: 2,
291
290
  h3: 3,
292
291
  h4: 4
293
- }, o5 = r1(
292
+ }, a5 = o1(
294
293
  ({
295
294
  align: i = "inherit",
296
295
  variant: e = "body1",
@@ -305,16 +304,16 @@ const { Title: n5, Text: s5 } = H1, r5 = {
305
304
  const a = J(null);
306
305
  C1(l, () => a.current);
307
306
  const [c, u] = S(!1);
308
- K(() => {
307
+ B(() => {
309
308
  var L;
310
309
  if (!d) return;
311
310
  const m = () => {
312
311
  a.current && u(a.current.scrollWidth > a.current.clientWidth);
313
312
  };
314
313
  m();
315
- const y = new ResizeObserver(m);
316
- return a.current && y.observe(a.current), (L = a.current) != null && L.parentElement && y.observe(a.current.parentElement), () => {
317
- y.disconnect();
314
+ const b = new ResizeObserver(m);
315
+ return a.current && b.observe(a.current), (L = a.current) != null && L.parentElement && b.observe(a.current.parentElement), () => {
316
+ b.disconnect();
318
317
  };
319
318
  }, [d]);
320
319
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -332,9 +331,9 @@ const { Title: n5, Text: s5 } = H1, r5 = {
332
331
  }
333
332
  } : void 0
334
333
  };
335
- return g ? /* @__PURE__ */ r(n5, { level: r5[e], ...w, children: n }) : /* @__PURE__ */ r(s5, { ...w, children: n });
334
+ return g ? /* @__PURE__ */ r(s5, { level: o5[e], ...w, children: n }) : /* @__PURE__ */ r(r5, { ...w, children: n });
336
335
  }
337
- ), a5 = ({
336
+ ), l5 = ({
338
337
  checked: i = !0,
339
338
  indeterminate: e = !1,
340
339
  label: t,
@@ -343,10 +342,10 @@ const { Title: n5, Text: s5 } = H1, r5 = {
343
342
  disableUncheck: o = !1
344
343
  }) => {
345
344
  const [h, d] = S(i), [l, a] = S(e);
346
- K(() => {
345
+ B(() => {
347
346
  d(i), a(e);
348
347
  }, [i, e]);
349
- const { theme: c } = o1(K1);
348
+ const { theme: c } = a1(K1);
350
349
  return /* @__PURE__ */ r(
351
350
  y2,
352
351
  {
@@ -358,7 +357,7 @@ const { Title: n5, Text: s5 } = H1, r5 = {
358
357
  },
359
358
  disabled: s,
360
359
  children: t && /* @__PURE__ */ r(
361
- o5,
360
+ a5,
362
361
  {
363
362
  variant: "body2",
364
363
  color: s ? Q.GREY_DARK_2 : Q.GREY_DARK_5,
@@ -369,12 +368,12 @@ const { Title: n5, Text: s5 } = H1, r5 = {
369
368
  );
370
369
  };
371
370
  var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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 || {});
372
- const g2 = a1({
371
+ const C2 = l1({
373
372
  locale: "en",
374
373
  theme: "light"
375
374
  });
376
- g2.Provider;
377
- const l5 = ({
375
+ C2.Provider;
376
+ const c5 = ({
378
377
  width: i = 20,
379
378
  height: e = 20,
380
379
  color: t = "#001E52",
@@ -401,7 +400,7 @@ const l5 = ({
401
400
  }
402
401
  )
403
402
  }
404
- ), c5 = ({
403
+ ), h5 = ({
405
404
  width: i = 20,
406
405
  height: e = 20,
407
406
  color: t = k.GREY_DARK_5,
@@ -441,7 +440,7 @@ const l5 = ({
441
440
  )
442
441
  ]
443
442
  }
444
- ), h5 = ({
443
+ ), d5 = ({
445
444
  width: i = 20,
446
445
  height: e = 20,
447
446
  color: t = "#001E52",
@@ -476,7 +475,7 @@ const l5 = ({
476
475
  )
477
476
  ]
478
477
  }
479
- ), d5 = ({
478
+ ), g5 = ({
480
479
  width: i = 20,
481
480
  height: e = 20,
482
481
  color: t = k.GREY_DARK_5,
@@ -503,7 +502,7 @@ const l5 = ({
503
502
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
504
503
  ]
505
504
  }
506
- ), g5 = ({
505
+ ), C5 = ({
507
506
  width: i = 20,
508
507
  height: e = 20,
509
508
  color: t = k.GREY_DARK_5,
@@ -527,7 +526,7 @@ const l5 = ({
527
526
  }
528
527
  )
529
528
  }
530
- ), C5 = ({
529
+ ), u5 = ({
531
530
  width: i = 20,
532
531
  height: e = 20,
533
532
  color: t = k.GREY_DARK_5,
@@ -554,7 +553,7 @@ const l5 = ({
554
553
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
555
554
  ]
556
555
  }
557
- ), u5 = ({
556
+ ), p5 = ({
558
557
  width: i = 20,
559
558
  height: e = 20,
560
559
  color: t = k.GREY_DARK_5,
@@ -578,7 +577,7 @@ const l5 = ({
578
577
  }
579
578
  )
580
579
  }
581
- ), p5 = ({
580
+ ), f5 = ({
582
581
  width: i = 20,
583
582
  height: e = 20,
584
583
  color: t = k.GREY_DARK_5,
@@ -625,7 +624,7 @@ const l5 = ({
625
624
  )
626
625
  ]
627
626
  }
628
- ), f5 = ({
627
+ ), m5 = ({
629
628
  width: i = 20,
630
629
  height: e = 20,
631
630
  color: t = k.GREY_DARK_5,
@@ -649,7 +648,7 @@ const l5 = ({
649
648
  }
650
649
  )
651
650
  }
652
- ), m5 = ({
651
+ ), w5 = ({
653
652
  width: i = 20,
654
653
  height: e = 20,
655
654
  color: t = k.GREY_DARK_5,
@@ -673,7 +672,7 @@ const l5 = ({
673
672
  }
674
673
  )
675
674
  }
676
- ), w5 = ({
675
+ ), L5 = ({
677
676
  width: i = 20,
678
677
  height: e = 20,
679
678
  color: t = k.GREY_DARK_5,
@@ -697,7 +696,7 @@ const l5 = ({
697
696
  }
698
697
  )
699
698
  }
700
- ), L5 = ({
699
+ ), k5 = ({
701
700
  width: i = 20,
702
701
  height: e = 20,
703
702
  color: t = k.GREY_DARK_5,
@@ -758,7 +757,7 @@ const l5 = ({
758
757
  )
759
758
  ]
760
759
  }
761
- ), k5 = ({
760
+ ), v5 = ({
762
761
  width: i = 20,
763
762
  height: e = 20,
764
763
  color: t = k.GREY_DARK_5,
@@ -805,7 +804,7 @@ const l5 = ({
805
804
  )
806
805
  ]
807
806
  }
808
- ), v5 = ({
807
+ ), N5 = ({
809
808
  width: i = 20,
810
809
  height: e = 20,
811
810
  color: t = k.GREY_DARK_5,
@@ -845,7 +844,7 @@ const l5 = ({
845
844
  )
846
845
  ]
847
846
  }
848
- ), N5 = ({
847
+ ), R5 = ({
849
848
  width: i = 20,
850
849
  height: e = 20,
851
850
  color: t = k.GREY_DARK_5,
@@ -885,7 +884,7 @@ const l5 = ({
885
884
  )
886
885
  ]
887
886
  }
888
- ), R5 = ({
887
+ ), x5 = ({
889
888
  width: i = 20,
890
889
  height: e = 20,
891
890
  color: t = k.GREY_DARK_5,
@@ -932,7 +931,7 @@ const l5 = ({
932
931
  )
933
932
  ]
934
933
  }
935
- ), x5 = ({
934
+ ), _5 = ({
936
935
  width: i = 20,
937
936
  height: e = 20,
938
937
  color: t = k.GREY_DARK_5,
@@ -979,7 +978,7 @@ const l5 = ({
979
978
  )
980
979
  ]
981
980
  }
982
- ), _5 = ({
981
+ ), M5 = ({
983
982
  width: i = 20,
984
983
  height: e = 20,
985
984
  color: t = k.GREY_DARK_5,
@@ -1026,7 +1025,7 @@ const l5 = ({
1026
1025
  )
1027
1026
  ]
1028
1027
  }
1029
- ), M5 = ({
1028
+ ), b5 = ({
1030
1029
  width: i = 20,
1031
1030
  height: e = 20,
1032
1031
  color: t = k.GREY_DARK_5,
@@ -1099,7 +1098,7 @@ const l5 = ({
1099
1098
  )
1100
1099
  ]
1101
1100
  }
1102
- ), b5 = ({
1101
+ ), E5 = ({
1103
1102
  width: i = 20,
1104
1103
  height: e = 20,
1105
1104
  color: t = k.GREY_DARK_5,
@@ -1132,7 +1131,7 @@ const l5 = ({
1132
1131
  )
1133
1132
  ]
1134
1133
  }
1135
- ), E5 = ({
1134
+ ), H5 = ({
1136
1135
  width: i = 20,
1137
1136
  height: e = 20,
1138
1137
  color: t = k.GREY_DARK_5,
@@ -1165,7 +1164,7 @@ const l5 = ({
1165
1164
  )
1166
1165
  ]
1167
1166
  }
1168
- ), H5 = ({
1167
+ ), I5 = ({
1169
1168
  width: i = 20,
1170
1169
  height: e = 20,
1171
1170
  color: t = k.GREY_DARK_5,
@@ -1238,7 +1237,7 @@ const l5 = ({
1238
1237
  )
1239
1238
  ]
1240
1239
  }
1241
- ), I5 = ({
1240
+ ), V5 = ({
1242
1241
  width: i = 20,
1243
1242
  height: e = 20,
1244
1243
  color: t = k.GREY_DARK_5,
@@ -1271,7 +1270,7 @@ const l5 = ({
1271
1270
  )
1272
1271
  ]
1273
1272
  }
1274
- ), V5 = ({
1273
+ ), O5 = ({
1275
1274
  width: i = 20,
1276
1275
  height: e = 20,
1277
1276
  color: t = k.GREY_DARK_5,
@@ -1304,7 +1303,7 @@ const l5 = ({
1304
1303
  )
1305
1304
  ]
1306
1305
  }
1307
- ), O5 = ({
1306
+ ), G5 = ({
1308
1307
  width: i = 20,
1309
1308
  height: e = 20,
1310
1309
  color: t = "#070739",
@@ -1334,7 +1333,7 @@ const l5 = ({
1334
1333
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1335
1334
  ]
1336
1335
  }
1337
- ), G5 = ({
1336
+ ), S5 = ({
1338
1337
  width: i = 20,
1339
1338
  height: e = 20,
1340
1339
  color: t = "#070739",
@@ -1372,7 +1371,7 @@ const l5 = ({
1372
1371
  )
1373
1372
  ]
1374
1373
  }
1375
- ), S5 = ({
1374
+ ), Z5 = ({
1376
1375
  width: i = 9,
1377
1376
  height: e = 5,
1378
1377
  color: t = "#001E52",
@@ -1398,7 +1397,7 @@ const l5 = ({
1398
1397
  }
1399
1398
  )
1400
1399
  }
1401
- ), Z5 = ({
1400
+ ), T5 = ({
1402
1401
  width: i = 20,
1403
1402
  height: e = 20,
1404
1403
  color: t = "#F2F2F7",
@@ -1427,7 +1426,7 @@ const l5 = ({
1427
1426
  )
1428
1427
  ]
1429
1428
  }
1430
- ), T5 = ({
1429
+ ), D5 = ({
1431
1430
  width: i = 20,
1432
1431
  height: e = 20,
1433
1432
  color: t = "#004ED7",
@@ -1456,7 +1455,7 @@ const l5 = ({
1456
1455
  )
1457
1456
  ]
1458
1457
  }
1459
- ), D5 = ({
1458
+ ), K5 = ({
1460
1459
  width: i = 10,
1461
1460
  height: e = 10,
1462
1461
  color: t = "#001E52",
@@ -1485,7 +1484,7 @@ const l5 = ({
1485
1484
  )
1486
1485
  ]
1487
1486
  }
1488
- ), K5 = ({
1487
+ ), B5 = ({
1489
1488
  width: i = 10,
1490
1489
  height: e = 10,
1491
1490
  color: t = "#001E52",
@@ -1522,7 +1521,7 @@ const l5 = ({
1522
1521
  )
1523
1522
  ]
1524
1523
  }
1525
- ), B5 = ({
1524
+ ), Y5 = ({
1526
1525
  className: i,
1527
1526
  color: e = k.GREY_DARK_5,
1528
1527
  height: t = 20,
@@ -1555,7 +1554,7 @@ const l5 = ({
1555
1554
  )
1556
1555
  ]
1557
1556
  }
1558
- ), Y5 = ({
1557
+ ), P5 = ({
1559
1558
  className: i,
1560
1559
  color: e = k.GREY_DARK_5,
1561
1560
  height: t = 20,
@@ -1582,7 +1581,7 @@ const l5 = ({
1582
1581
  }
1583
1582
  )
1584
1583
  }
1585
- ), P5 = ({
1584
+ ), $5 = ({
1586
1585
  className: i,
1587
1586
  color: e = k.GREY_DARK_5,
1588
1587
  height: t = 20,
@@ -1609,7 +1608,7 @@ const l5 = ({
1609
1608
  }
1610
1609
  )
1611
1610
  }
1612
- ), $5 = ({
1611
+ ), j5 = ({
1613
1612
  className: i,
1614
1613
  color: e = k.GREY_DARK_5,
1615
1614
  height: t = 5,
@@ -1633,7 +1632,7 @@ const l5 = ({
1633
1632
  }
1634
1633
  )
1635
1634
  }
1636
- ), j5 = ({
1635
+ ), F5 = ({
1637
1636
  className: i,
1638
1637
  color: e = k.GREY_DARK_5,
1639
1638
  height: t = 5,
@@ -1658,7 +1657,7 @@ const l5 = ({
1658
1657
  }
1659
1658
  )
1660
1659
  }
1661
- ), F5 = ({
1660
+ ), U5 = ({
1662
1661
  className: i,
1663
1662
  color: e = k.GREY_DARK_5,
1664
1663
  height: t = 20,
@@ -1691,7 +1690,7 @@ const l5 = ({
1691
1690
  )
1692
1691
  ]
1693
1692
  }
1694
- ), U5 = ({
1693
+ ), W5 = ({
1695
1694
  className: i,
1696
1695
  color: e = k.GREY_DARK_5,
1697
1696
  height: t = 24,
@@ -1730,7 +1729,7 @@ const l5 = ({
1730
1729
  )
1731
1730
  ]
1732
1731
  }
1733
- ), W5 = ({
1732
+ ), z5 = ({
1734
1733
  className: i,
1735
1734
  color: e = k.GREY_DARK_5,
1736
1735
  height: t = 24,
@@ -1757,7 +1756,7 @@ const l5 = ({
1757
1756
  }
1758
1757
  )
1759
1758
  }
1760
- ), z5 = ({
1759
+ ), J5 = ({
1761
1760
  className: i,
1762
1761
  color: e = k.GREY_DARK_5,
1763
1762
  height: t = 24,
@@ -1816,7 +1815,7 @@ const l5 = ({
1816
1815
  )
1817
1816
  ]
1818
1817
  }
1819
- ), J5 = ({
1818
+ ), q5 = ({
1820
1819
  className: i,
1821
1820
  color: e = k.GREY_DARK_5,
1822
1821
  height: t = 24,
@@ -1853,7 +1852,7 @@ const l5 = ({
1853
1852
  )
1854
1853
  ]
1855
1854
  }
1856
- ), q5 = ({
1855
+ ), Q5 = ({
1857
1856
  className: i,
1858
1857
  color: e = k.GREY_DARK_3,
1859
1858
  height: t = 14,
@@ -1890,7 +1889,7 @@ const l5 = ({
1890
1889
  )
1891
1890
  ]
1892
1891
  }
1893
- ), Q5 = ({
1892
+ ), X5 = ({
1894
1893
  className: i,
1895
1894
  color: e = k.GREY_DARK_5,
1896
1895
  height: t = 18,
@@ -1917,7 +1916,7 @@ const l5 = ({
1917
1916
  }
1918
1917
  )
1919
1918
  }
1920
- ), X5 = ({
1919
+ ), ee = ({
1921
1920
  className: i,
1922
1921
  color: e = k.GREY_DARK_5,
1923
1922
  height: t = 24,
@@ -1969,7 +1968,7 @@ const l5 = ({
1969
1968
  )
1970
1969
  ]
1971
1970
  }
1972
- ), ee = ({
1971
+ ), te = ({
1973
1972
  className: i,
1974
1973
  color: e = k.GREY_DARK_5,
1975
1974
  height: t = 24,
@@ -2006,7 +2005,7 @@ const l5 = ({
2006
2005
  )
2007
2006
  ]
2008
2007
  }
2009
- ), te = ({
2008
+ ), ie = ({
2010
2009
  className: i,
2011
2010
  color: e = k.NOTIFICATION_WARNING_DARK,
2012
2011
  height: t = 37,
@@ -2045,7 +2044,7 @@ const l5 = ({
2045
2044
  )
2046
2045
  ]
2047
2046
  }
2048
- ), ie = ({
2047
+ ), ne = ({
2049
2048
  className: i,
2050
2049
  color: e = k.GREY_DARK_5,
2051
2050
  height: t = 24,
@@ -2071,7 +2070,7 @@ const l5 = ({
2071
2070
  }
2072
2071
  )
2073
2072
  }
2074
- ), ne = ({
2073
+ ), se = ({
2075
2074
  className: i,
2076
2075
  color: e = k.GREY_DARK_5,
2077
2076
  height: t = 24,
@@ -2110,7 +2109,7 @@ const l5 = ({
2110
2109
  )
2111
2110
  ]
2112
2111
  }
2113
- ), se = ({
2112
+ ), re = ({
2114
2113
  className: i,
2115
2114
  color: e = k.GREY_DARK_5,
2116
2115
  height: t = 20,
@@ -2143,7 +2142,7 @@ const l5 = ({
2143
2142
  )
2144
2143
  ]
2145
2144
  }
2146
- ), re = ({
2145
+ ), oe = ({
2147
2146
  className: i,
2148
2147
  color: e = k.GREY_DARK_5,
2149
2148
  height: t = 24,
@@ -2212,7 +2211,7 @@ const l5 = ({
2212
2211
  )
2213
2212
  ]
2214
2213
  }
2215
- ), oe = ({
2214
+ ), ae = ({
2216
2215
  className: i,
2217
2216
  color: e = k.GREY_DARK_5,
2218
2217
  height: t = 24,
@@ -2269,7 +2268,7 @@ const l5 = ({
2269
2268
  )
2270
2269
  ]
2271
2270
  }
2272
- ), ae = ({
2271
+ ), le = ({
2273
2272
  className: i,
2274
2273
  color: e = k.GREY_DARK_5,
2275
2274
  height: t = 24,
@@ -2318,7 +2317,7 @@ const l5 = ({
2318
2317
  )
2319
2318
  ]
2320
2319
  }
2321
- ), le = ({
2320
+ ), ce = ({
2322
2321
  className: i,
2323
2322
  color: e = k.GREY_DARK_5,
2324
2323
  height: t = 24,
@@ -2345,7 +2344,7 @@ const l5 = ({
2345
2344
  }
2346
2345
  )
2347
2346
  }
2348
- ), ce = ({
2347
+ ), he = ({
2349
2348
  className: i,
2350
2349
  color: e = k.GREY_DARK_5,
2351
2350
  height: t = 20,
@@ -2374,7 +2373,7 @@ const l5 = ({
2374
2373
  )
2375
2374
  ]
2376
2375
  }
2377
- ), he = ({
2376
+ ), de = ({
2378
2377
  className: i,
2379
2378
  color: e = "#001E52",
2380
2379
  height: t = 24,
@@ -2400,7 +2399,7 @@ const l5 = ({
2400
2399
  }
2401
2400
  )
2402
2401
  }
2403
- ), de = ({
2402
+ ), ge = ({
2404
2403
  className: i,
2405
2404
  color: e = "#001E52",
2406
2405
  height: t = 24,
@@ -2438,7 +2437,7 @@ const l5 = ({
2438
2437
  )
2439
2438
  ] }) })
2440
2439
  }
2441
- ), ge = ({
2440
+ ), Ce = ({
2442
2441
  width: i = 20,
2443
2442
  height: e = 20,
2444
2443
  color: t = k.GREY_DARK_5,
@@ -2462,7 +2461,7 @@ const l5 = ({
2462
2461
  }
2463
2462
  )
2464
2463
  }
2465
- ), Ce = ({
2464
+ ), ue = ({
2466
2465
  width: i = 24,
2467
2466
  height: e = 24,
2468
2467
  color: t = "#131314",
@@ -2495,7 +2494,7 @@ const l5 = ({
2495
2494
  )
2496
2495
  ]
2497
2496
  }
2498
- ), ue = ({
2497
+ ), pe = ({
2499
2498
  width: i = 20,
2500
2499
  height: e = 20,
2501
2500
  color: t = k.GREY_DARK_5,
@@ -2528,7 +2527,7 @@ const l5 = ({
2528
2527
  )
2529
2528
  ]
2530
2529
  }
2531
- ), pe = ({
2530
+ ), fe = ({
2532
2531
  width: i = 24,
2533
2532
  height: e = 24,
2534
2533
  color: t = k.GREY_DARK_2,
@@ -2568,7 +2567,7 @@ const l5 = ({
2568
2567
  )
2569
2568
  ]
2570
2569
  }
2571
- ), fe = ({
2570
+ ), me = ({
2572
2571
  width: i = 24,
2573
2572
  height: e = 24,
2574
2573
  color: t = k.GREY_DARK_2,
@@ -2595,7 +2594,7 @@ const l5 = ({
2595
2594
  }
2596
2595
  )
2597
2596
  }
2598
- ), me = ({
2597
+ ), we = ({
2599
2598
  width: i = 24,
2600
2599
  height: e = 24,
2601
2600
  color: t = k.GREY_DARK_2,
@@ -2631,39 +2630,39 @@ const l5 = ({
2631
2630
  disabled: o = !1,
2632
2631
  onClick: h
2633
2632
  }) => {
2634
- const { theme: d } = o1(g2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : n, a = o ? void 0 : h, c = h && !o ? `${s || ""} clickable` : s;
2635
- return /* @__PURE__ */ r(i1, { children: (() => {
2633
+ const { theme: d } = a1(C2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : n, a = o ? void 0 : h, c = h && !o ? `${s || ""} clickable` : s;
2634
+ return /* @__PURE__ */ r(n1, { children: (() => {
2636
2635
  switch (i) {
2637
2636
  case "nextIcon":
2638
- return Y5({ width: e, height: t, color: l, className: c, onClick: a });
2639
- case "prevIcon":
2640
2637
  return P5({ width: e, height: t, color: l, className: c, onClick: a });
2638
+ case "prevIcon":
2639
+ return $5({ width: e, height: t, color: l, className: c, onClick: a });
2641
2640
  case "arrowDown":
2642
- return l5({ width: e, height: t, color: l, className: c, onClick: a });
2643
- case "info":
2644
2641
  return c5({ width: e, height: t, color: l, className: c, onClick: a });
2645
- case "arrowRight":
2642
+ case "info":
2646
2643
  return h5({ width: e, height: t, color: l, className: c, onClick: a });
2644
+ case "arrowRight":
2645
+ return d5({ width: e, height: t, color: l, className: c, onClick: a });
2647
2646
  case "calendar":
2648
- return p5({ width: e, height: t, color: l, className: c, onClick: a });
2649
- case "check":
2650
2647
  return f5({ width: e, height: t, color: l, className: c, onClick: a });
2651
- case "cancel":
2648
+ case "check":
2652
2649
  return m5({ width: e, height: t, color: l, className: c, onClick: a });
2653
- case "add":
2650
+ case "cancel":
2654
2651
  return w5({ width: e, height: t, color: l, className: c, onClick: a });
2655
- case "list":
2652
+ case "add":
2656
2653
  return L5({ width: e, height: t, color: l, className: c, onClick: a });
2657
- case "dragAndDrop":
2654
+ case "list":
2658
2655
  return k5({ width: e, height: t, color: l, className: c, onClick: a });
2659
- case "filter":
2656
+ case "dragAndDrop":
2660
2657
  return v5({ width: e, height: t, color: l, className: c, onClick: a });
2661
- case "attention":
2658
+ case "filter":
2662
2659
  return N5({ width: e, height: t, color: l, className: c, onClick: a });
2663
- case "users":
2660
+ case "attention":
2664
2661
  return R5({ width: e, height: t, color: l, className: c, onClick: a });
2662
+ case "users":
2663
+ return x5({ width: e, height: t, color: l, className: c, onClick: a });
2665
2664
  case "mySkillsMatrix":
2666
- return x5({
2665
+ return _5({
2667
2666
  width: e,
2668
2667
  height: t,
2669
2668
  color: l,
@@ -2671,9 +2670,9 @@ const l5 = ({
2671
2670
  onClick: a
2672
2671
  });
2673
2672
  case "skills":
2674
- return _5({ width: e, height: t, color: l, className: c, onClick: a });
2673
+ return M5({ width: e, height: t, color: l, className: c, onClick: a });
2675
2674
  case "skillsMatrices":
2676
- return M5({
2675
+ return b5({
2677
2676
  width: e,
2678
2677
  height: t,
2679
2678
  color: l,
@@ -2683,19 +2682,19 @@ const l5 = ({
2683
2682
  case "history":
2684
2683
  return y5({ width: e, height: t, color: l, className: c, onClick: a });
2685
2684
  case "logOut":
2686
- return b5({ width: e, height: t, color: l, className: c, onClick: a });
2687
- case "settings":
2688
2685
  return E5({ width: e, height: t, color: l, className: c, onClick: a });
2689
- case "trash":
2686
+ case "settings":
2690
2687
  return H5({ width: e, height: t, color: l, className: c, onClick: a });
2688
+ case "trash":
2689
+ return I5({ width: e, height: t, color: l, className: c, onClick: a });
2691
2690
  case "settings2":
2692
2691
  return A5({ width: e, height: t, color: l, className: c, onClick: a });
2693
2692
  case "checkCircle":
2694
- return I5({ width: e, height: t, color: l, className: c, onClick: a });
2695
- case "cancelCircle":
2696
2693
  return V5({ width: e, height: t, color: l, className: c, onClick: a });
2694
+ case "cancelCircle":
2695
+ return O5({ width: e, height: t, color: l, className: c, onClick: a });
2697
2696
  case "visibilityIcon":
2698
- return O5({
2697
+ return G5({
2699
2698
  width: e,
2700
2699
  height: t,
2701
2700
  color: l,
@@ -2703,7 +2702,7 @@ const l5 = ({
2703
2702
  onClick: a
2704
2703
  });
2705
2704
  case "visibilityOffIcon":
2706
- return G5({
2705
+ return S5({
2707
2706
  width: e,
2708
2707
  height: t,
2709
2708
  color: l,
@@ -2711,7 +2710,7 @@ const l5 = ({
2711
2710
  onClick: a
2712
2711
  });
2713
2712
  case "selectArrowIcon":
2714
- return S5({
2713
+ return Z5({
2715
2714
  width: e,
2716
2715
  height: t,
2717
2716
  color: l,
@@ -2719,7 +2718,7 @@ const l5 = ({
2719
2718
  onClick: a
2720
2719
  });
2721
2720
  case "expandArrowIcon":
2722
- return Z5({
2721
+ return T5({
2723
2722
  width: e,
2724
2723
  height: t,
2725
2724
  color: l,
@@ -2727,7 +2726,7 @@ const l5 = ({
2727
2726
  onClick: a
2728
2727
  });
2729
2728
  case "expandActiveArrowIcon":
2730
- return T5({
2729
+ return D5({
2731
2730
  width: e,
2732
2731
  height: t,
2733
2732
  color: l,
@@ -2735,85 +2734,85 @@ const l5 = ({
2735
2734
  onClick: a
2736
2735
  });
2737
2736
  case "sortUp":
2738
- return D5({ width: e, height: t, color: l, className: c, onClick: a });
2739
- case "sortDown":
2740
2737
  return K5({ width: e, height: t, color: l, className: c, onClick: a });
2741
- case "search":
2738
+ case "sortDown":
2742
2739
  return B5({ width: e, height: t, color: l, className: c, onClick: a });
2740
+ case "search":
2741
+ return Y5({ width: e, height: t, color: l, className: c, onClick: a });
2743
2742
  case "arrowUpFilled":
2744
- return j5({ width: e, height: t, color: l, className: c, onClick: a });
2743
+ return F5({ width: e, height: t, color: l, className: c, onClick: a });
2745
2744
  case "arrowDownFilled":
2746
- return $5({ width: e, height: t, color: l, className: c, onClick: a });
2745
+ return j5({ width: e, height: t, color: l, className: c, onClick: a });
2747
2746
  case "arrow2Up":
2748
- return d5({ width: e, height: t, color: l, className: c, onClick: a });
2749
- case "arrow2Right":
2750
2747
  return g5({ width: e, height: t, color: l, className: c, onClick: a });
2751
- case "arrow2Down":
2748
+ case "arrow2Right":
2752
2749
  return C5({ width: e, height: t, color: l, className: c, onClick: a });
2753
- case "arrow2Left":
2750
+ case "arrow2Down":
2754
2751
  return u5({ width: e, height: t, color: l, className: c, onClick: a });
2752
+ case "arrow2Left":
2753
+ return p5({ width: e, height: t, color: l, className: c, onClick: a });
2755
2754
  case "link":
2756
- return F5({ width: e, height: t, color: l, className: c, onClick: a });
2755
+ return U5({ width: e, height: t, color: l, className: c, onClick: a });
2757
2756
  case "telegram":
2758
- return W5({ width: e, height: t, color: l, className: c, onClick: a });
2757
+ return z5({ width: e, height: t, color: l, className: c, onClick: a });
2759
2758
  case "mail":
2760
- return J5({ width: e, height: t, color: l, className: c, onClick: a });
2759
+ return q5({ width: e, height: t, color: l, className: c, onClick: a });
2761
2760
  case "github":
2762
- return U5({ width: e, height: t, color: l, className: c, onClick: a });
2761
+ return W5({ width: e, height: t, color: l, className: c, onClick: a });
2763
2762
  case "linkedIn":
2764
- return z5({ width: e, height: t, color: l, className: c, onClick: a });
2763
+ return J5({ width: e, height: t, color: l, className: c, onClick: a });
2765
2764
  case "emptyStateIcon":
2766
- return q5({ width: e, height: t, color: l, className: c, onClick: a });
2767
- case "filtersIcon":
2768
2765
  return Q5({ width: e, height: t, color: l, className: c, onClick: a });
2769
- case "dotMenuIcon":
2766
+ case "filtersIcon":
2770
2767
  return X5({ width: e, height: t, color: l, className: c, onClick: a });
2771
- case "plusCircle":
2768
+ case "dotMenuIcon":
2772
2769
  return ee({ width: e, height: t, color: l, className: c, onClick: a });
2773
- case "warning":
2770
+ case "plusCircle":
2774
2771
  return te({ width: e, height: t, color: l, className: c, onClick: a });
2775
- case "back":
2772
+ case "warning":
2776
2773
  return ie({ width: e, height: t, color: l, className: c, onClick: a });
2777
- case "bell":
2774
+ case "back":
2778
2775
  return ne({ width: e, height: t, color: l, className: c, onClick: a });
2779
- case "copy":
2776
+ case "bell":
2780
2777
  return se({ width: e, height: t, color: l, className: c, onClick: a });
2781
- case "contract":
2778
+ case "copy":
2782
2779
  return re({ width: e, height: t, color: l, className: c, onClick: a });
2783
- case "resourceManager":
2780
+ case "contract":
2784
2781
  return oe({ width: e, height: t, color: l, className: c, onClick: a });
2785
- case "image":
2782
+ case "resourceManager":
2786
2783
  return ae({ width: e, height: t, color: l, className: c, onClick: a });
2787
- case "edit":
2784
+ case "image":
2788
2785
  return le({ width: e, height: t, color: l, className: c, onClick: a });
2789
- case "filledArrowRight":
2786
+ case "edit":
2790
2787
  return ce({ width: e, height: t, color: l, className: c, onClick: a });
2791
- case "burgerMenu":
2788
+ case "filledArrowRight":
2792
2789
  return he({ width: e, height: t, color: l, className: c, onClick: a });
2793
- case "refresh":
2790
+ case "burgerMenu":
2794
2791
  return de({ width: e, height: t, color: l, className: c, onClick: a });
2795
- case "projects":
2792
+ case "refresh":
2796
2793
  return ge({ width: e, height: t, color: l, className: c, onClick: a });
2794
+ case "projects":
2795
+ return Ce({ width: e, height: t, color: l, className: c, onClick: a });
2797
2796
  case "user":
2798
- return ue({ width: e, height: t, color: l, className: c, onClick: a });
2797
+ return pe({ width: e, height: t, color: l, className: c, onClick: a });
2799
2798
  case "exit":
2800
- return Ce({ width: e, height: t, color: l, className: c, onClick: a });
2799
+ return ue({ width: e, height: t, color: l, className: c, onClick: a });
2801
2800
  case "openPointCircle":
2802
- return pe({ width: e, height: t, color: l, className: c, onClick: a });
2803
- case "community":
2804
2801
  return fe({ width: e, height: t, color: l, className: c, onClick: a });
2805
- case "docs":
2802
+ case "community":
2806
2803
  return me({ width: e, height: t, color: l, className: c, onClick: a });
2804
+ case "docs":
2805
+ return we({ width: e, height: t, color: l, className: c, onClick: a });
2807
2806
  default:
2808
- return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
2807
+ return /* @__PURE__ */ r(n1, { children: "No Icon provided" });
2809
2808
  }
2810
2809
  })() });
2811
- }, { Title: we, Text: Le } = H1, ke = {
2810
+ }, { Title: Le, Text: ke } = H1, ve = {
2812
2811
  h1: 1,
2813
2812
  h2: 2,
2814
2813
  h3: 3,
2815
2814
  h4: 4
2816
- }, ve = r1(
2815
+ }, Ne = o1(
2817
2816
  ({
2818
2817
  align: i = "inherit",
2819
2818
  variant: e = "body1",
@@ -2828,16 +2827,16 @@ const l5 = ({
2828
2827
  const a = J(null);
2829
2828
  C1(l, () => a.current);
2830
2829
  const [c, u] = S(!1);
2831
- K(() => {
2830
+ B(() => {
2832
2831
  var L;
2833
2832
  if (!d) return;
2834
2833
  const m = () => {
2835
2834
  a.current && u(a.current.scrollWidth > a.current.clientWidth);
2836
2835
  };
2837
2836
  m();
2838
- const y = new ResizeObserver(m);
2839
- return a.current && y.observe(a.current), (L = a.current) != null && L.parentElement && y.observe(a.current.parentElement), () => {
2840
- y.disconnect();
2837
+ const b = new ResizeObserver(m);
2838
+ return a.current && b.observe(a.current), (L = a.current) != null && L.parentElement && b.observe(a.current.parentElement), () => {
2839
+ b.disconnect();
2841
2840
  };
2842
2841
  }, [d]);
2843
2842
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -2855,16 +2854,16 @@ const l5 = ({
2855
2854
  }
2856
2855
  } : void 0
2857
2856
  };
2858
- return g ? /* @__PURE__ */ r(we, { level: ke[e], ...w, children: n }) : /* @__PURE__ */ r(Le, { ...w, children: n });
2857
+ return g ? /* @__PURE__ */ r(Le, { level: ve[e], ...w, children: n }) : /* @__PURE__ */ r(ke, { ...w, children: n });
2859
2858
  }
2860
2859
  );
2861
2860
  var v = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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 || {});
2862
- const C2 = a1({
2861
+ const u2 = l1({
2863
2862
  locale: "en",
2864
2863
  theme: "light"
2865
2864
  });
2866
- C2.Provider;
2867
- const Ne = ({
2865
+ u2.Provider;
2866
+ const Re = ({
2868
2867
  width: i = 20,
2869
2868
  height: e = 20,
2870
2869
  color: t = "#001E52",
@@ -2891,7 +2890,7 @@ const Ne = ({
2891
2890
  }
2892
2891
  )
2893
2892
  }
2894
- ), Re = ({
2893
+ ), xe = ({
2895
2894
  width: i = 20,
2896
2895
  height: e = 20,
2897
2896
  color: t = v.GREY_DARK_5,
@@ -2931,7 +2930,7 @@ const Ne = ({
2931
2930
  )
2932
2931
  ]
2933
2932
  }
2934
- ), xe = ({
2933
+ ), _e = ({
2935
2934
  width: i = 20,
2936
2935
  height: e = 20,
2937
2936
  color: t = "#001E52",
@@ -2966,7 +2965,7 @@ const Ne = ({
2966
2965
  )
2967
2966
  ]
2968
2967
  }
2969
- ), _e = ({
2968
+ ), Me = ({
2970
2969
  width: i = 20,
2971
2970
  height: e = 20,
2972
2971
  color: t = v.GREY_DARK_5,
@@ -2993,7 +2992,7 @@ const Ne = ({
2993
2992
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
2994
2993
  ]
2995
2994
  }
2996
- ), Me = ({
2995
+ ), be = ({
2997
2996
  width: i = 20,
2998
2997
  height: e = 20,
2999
2998
  color: t = v.GREY_DARK_5,
@@ -3044,7 +3043,7 @@ const Ne = ({
3044
3043
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
3045
3044
  ]
3046
3045
  }
3047
- ), be = ({
3046
+ ), Ee = ({
3048
3047
  width: i = 20,
3049
3048
  height: e = 20,
3050
3049
  color: t = v.GREY_DARK_5,
@@ -3068,7 +3067,7 @@ const Ne = ({
3068
3067
  }
3069
3068
  )
3070
3069
  }
3071
- ), Ee = ({
3070
+ ), He = ({
3072
3071
  width: i = 20,
3073
3072
  height: e = 20,
3074
3073
  color: t = v.GREY_DARK_5,
@@ -3115,7 +3114,7 @@ const Ne = ({
3115
3114
  )
3116
3115
  ]
3117
3116
  }
3118
- ), He = ({
3117
+ ), Ie = ({
3119
3118
  width: i = 20,
3120
3119
  height: e = 20,
3121
3120
  color: t = v.GREY_DARK_5,
@@ -3163,7 +3162,7 @@ const Ne = ({
3163
3162
  }
3164
3163
  )
3165
3164
  }
3166
- ), Ie = ({
3165
+ ), Ve = ({
3167
3166
  width: i = 20,
3168
3167
  height: e = 20,
3169
3168
  color: t = v.GREY_DARK_5,
@@ -3187,7 +3186,7 @@ const Ne = ({
3187
3186
  }
3188
3187
  )
3189
3188
  }
3190
- ), Ve = ({
3189
+ ), Oe = ({
3191
3190
  width: i = 20,
3192
3191
  height: e = 20,
3193
3192
  color: t = v.GREY_DARK_5,
@@ -3248,7 +3247,7 @@ const Ne = ({
3248
3247
  )
3249
3248
  ]
3250
3249
  }
3251
- ), Oe = ({
3250
+ ), Ge = ({
3252
3251
  width: i = 20,
3253
3252
  height: e = 20,
3254
3253
  color: t = v.GREY_DARK_5,
@@ -3295,7 +3294,7 @@ const Ne = ({
3295
3294
  )
3296
3295
  ]
3297
3296
  }
3298
- ), Ge = ({
3297
+ ), Se = ({
3299
3298
  width: i = 20,
3300
3299
  height: e = 20,
3301
3300
  color: t = v.GREY_DARK_5,
@@ -3335,7 +3334,7 @@ const Ne = ({
3335
3334
  )
3336
3335
  ]
3337
3336
  }
3338
- ), Se = ({
3337
+ ), Ze = ({
3339
3338
  width: i = 20,
3340
3339
  height: e = 20,
3341
3340
  color: t = v.GREY_DARK_5,
@@ -3375,7 +3374,7 @@ const Ne = ({
3375
3374
  )
3376
3375
  ]
3377
3376
  }
3378
- ), Ze = ({
3377
+ ), Te = ({
3379
3378
  width: i = 20,
3380
3379
  height: e = 20,
3381
3380
  color: t = v.GREY_DARK_5,
@@ -3422,7 +3421,7 @@ const Ne = ({
3422
3421
  )
3423
3422
  ]
3424
3423
  }
3425
- ), Te = ({
3424
+ ), De = ({
3426
3425
  width: i = 20,
3427
3426
  height: e = 20,
3428
3427
  color: t = v.GREY_DARK_5,
@@ -3469,7 +3468,7 @@ const Ne = ({
3469
3468
  )
3470
3469
  ]
3471
3470
  }
3472
- ), De = ({
3471
+ ), Ke = ({
3473
3472
  width: i = 20,
3474
3473
  height: e = 20,
3475
3474
  color: t = v.GREY_DARK_5,
@@ -3516,7 +3515,7 @@ const Ne = ({
3516
3515
  )
3517
3516
  ]
3518
3517
  }
3519
- ), Ke = ({
3518
+ ), Be = ({
3520
3519
  width: i = 20,
3521
3520
  height: e = 20,
3522
3521
  color: t = v.GREY_DARK_5,
@@ -3556,7 +3555,7 @@ const Ne = ({
3556
3555
  )
3557
3556
  ]
3558
3557
  }
3559
- ), Be = ({
3558
+ ), Ye = ({
3560
3559
  width: i = 20,
3561
3560
  height: e = 20,
3562
3561
  color: t = v.GREY_DARK_5,
@@ -3589,7 +3588,7 @@ const Ne = ({
3589
3588
  )
3590
3589
  ]
3591
3590
  }
3592
- ), Ye = ({
3591
+ ), Pe = ({
3593
3592
  width: i = 20,
3594
3593
  height: e = 20,
3595
3594
  color: t = v.GREY_DARK_5,
@@ -3622,7 +3621,7 @@ const Ne = ({
3622
3621
  )
3623
3622
  ]
3624
3623
  }
3625
- ), Pe = ({
3624
+ ), $e = ({
3626
3625
  width: i = 20,
3627
3626
  height: e = 20,
3628
3627
  color: t = v.GREY_DARK_5,
@@ -3655,7 +3654,7 @@ const Ne = ({
3655
3654
  )
3656
3655
  ]
3657
3656
  }
3658
- ), $e = ({
3657
+ ), je = ({
3659
3658
  width: i = 20,
3660
3659
  height: e = 20,
3661
3660
  color: t = v.GREY_DARK_5,
@@ -3688,7 +3687,7 @@ const Ne = ({
3688
3687
  )
3689
3688
  ]
3690
3689
  }
3691
- ), je = ({
3690
+ ), Fe = ({
3692
3691
  width: i = 20,
3693
3692
  height: e = 20,
3694
3693
  color: t = v.GREY_DARK_5,
@@ -3728,7 +3727,7 @@ const Ne = ({
3728
3727
  )
3729
3728
  ]
3730
3729
  }
3731
- ), Fe = ({
3730
+ ), Ue = ({
3732
3731
  width: i = 20,
3733
3732
  height: e = 20,
3734
3733
  color: t = v.GREY_DARK_5,
@@ -3761,7 +3760,7 @@ const Ne = ({
3761
3760
  )
3762
3761
  ]
3763
3762
  }
3764
- ), Ue = ({
3763
+ ), We = ({
3765
3764
  width: i = 20,
3766
3765
  height: e = 20,
3767
3766
  color: t = v.GREY_DARK_5,
@@ -3794,7 +3793,7 @@ const Ne = ({
3794
3793
  )
3795
3794
  ]
3796
3795
  }
3797
- ), We = ({
3796
+ ), ze = ({
3798
3797
  width: i = 20,
3799
3798
  height: e = 20,
3800
3799
  color: t = "#070739",
@@ -3824,7 +3823,7 @@ const Ne = ({
3824
3823
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
3825
3824
  ]
3826
3825
  }
3827
- ), ze = ({
3826
+ ), Je = ({
3828
3827
  width: i = 20,
3829
3828
  height: e = 20,
3830
3829
  color: t = "#070739",
@@ -3862,7 +3861,7 @@ const Ne = ({
3862
3861
  )
3863
3862
  ]
3864
3863
  }
3865
- ), Je = ({
3864
+ ), qe = ({
3866
3865
  width: i = 9,
3867
3866
  height: e = 5,
3868
3867
  color: t = "#001E52",
@@ -3888,7 +3887,7 @@ const Ne = ({
3888
3887
  }
3889
3888
  )
3890
3889
  }
3891
- ), qe = ({
3890
+ ), Qe = ({
3892
3891
  width: i = 20,
3893
3892
  height: e = 20,
3894
3893
  color: t = "#F2F2F7",
@@ -3917,7 +3916,7 @@ const Ne = ({
3917
3916
  )
3918
3917
  ]
3919
3918
  }
3920
- ), Qe = ({
3919
+ ), Xe = ({
3921
3920
  width: i = 20,
3922
3921
  height: e = 20,
3923
3922
  color: t = "#004ED7",
@@ -3946,7 +3945,7 @@ const Ne = ({
3946
3945
  )
3947
3946
  ]
3948
3947
  }
3949
- ), Xe = ({
3948
+ ), et = ({
3950
3949
  width: i = 10,
3951
3950
  height: e = 10,
3952
3951
  color: t = "#001E52",
@@ -3975,7 +3974,7 @@ const Ne = ({
3975
3974
  )
3976
3975
  ]
3977
3976
  }
3978
- ), et = ({
3977
+ ), tt = ({
3979
3978
  width: i = 10,
3980
3979
  height: e = 10,
3981
3980
  color: t = "#001E52",
@@ -4012,7 +4011,7 @@ const Ne = ({
4012
4011
  )
4013
4012
  ]
4014
4013
  }
4015
- ), tt = ({
4014
+ ), it = ({
4016
4015
  className: i,
4017
4016
  color: e = v.GREY_DARK_5,
4018
4017
  height: t = 20,
@@ -4045,7 +4044,7 @@ const Ne = ({
4045
4044
  )
4046
4045
  ]
4047
4046
  }
4048
- ), it = ({
4047
+ ), nt = ({
4049
4048
  className: i,
4050
4049
  color: e = v.GREY_DARK_5,
4051
4050
  height: t = 20,
@@ -4072,7 +4071,7 @@ const Ne = ({
4072
4071
  }
4073
4072
  )
4074
4073
  }
4075
- ), nt = ({
4074
+ ), st = ({
4076
4075
  className: i,
4077
4076
  color: e = v.GREY_DARK_5,
4078
4077
  height: t = 20,
@@ -4099,7 +4098,7 @@ const Ne = ({
4099
4098
  }
4100
4099
  )
4101
4100
  }
4102
- ), st = ({
4101
+ ), rt = ({
4103
4102
  className: i,
4104
4103
  color: e = v.GREY_DARK_5,
4105
4104
  height: t = 5,
@@ -4123,7 +4122,7 @@ const Ne = ({
4123
4122
  }
4124
4123
  )
4125
4124
  }
4126
- ), rt = ({
4125
+ ), ot = ({
4127
4126
  className: i,
4128
4127
  color: e = v.GREY_DARK_5,
4129
4128
  height: t = 5,
@@ -4148,7 +4147,7 @@ const Ne = ({
4148
4147
  }
4149
4148
  )
4150
4149
  }
4151
- ), ot = ({
4150
+ ), at = ({
4152
4151
  className: i,
4153
4152
  color: e = v.GREY_DARK_5,
4154
4153
  height: t = 20,
@@ -4181,7 +4180,7 @@ const Ne = ({
4181
4180
  )
4182
4181
  ]
4183
4182
  }
4184
- ), at = ({
4183
+ ), lt = ({
4185
4184
  className: i,
4186
4185
  color: e = v.GREY_DARK_5,
4187
4186
  height: t = 24,
@@ -4220,7 +4219,7 @@ const Ne = ({
4220
4219
  )
4221
4220
  ]
4222
4221
  }
4223
- ), lt = ({
4222
+ ), ct = ({
4224
4223
  className: i,
4225
4224
  color: e = v.GREY_DARK_5,
4226
4225
  height: t = 24,
@@ -4247,7 +4246,7 @@ const Ne = ({
4247
4246
  }
4248
4247
  )
4249
4248
  }
4250
- ), ct = ({
4249
+ ), ht = ({
4251
4250
  className: i,
4252
4251
  color: e = v.GREY_DARK_5,
4253
4252
  height: t = 24,
@@ -4306,7 +4305,7 @@ const Ne = ({
4306
4305
  )
4307
4306
  ]
4308
4307
  }
4309
- ), ht = ({
4308
+ ), dt = ({
4310
4309
  className: i,
4311
4310
  color: e = v.GREY_DARK_5,
4312
4311
  height: t = 24,
@@ -4343,7 +4342,7 @@ const Ne = ({
4343
4342
  )
4344
4343
  ]
4345
4344
  }
4346
- ), dt = ({
4345
+ ), gt = ({
4347
4346
  className: i,
4348
4347
  color: e = v.GREY_DARK_3,
4349
4348
  height: t = 14,
@@ -4380,7 +4379,7 @@ const Ne = ({
4380
4379
  )
4381
4380
  ]
4382
4381
  }
4383
- ), gt = ({
4382
+ ), Ct = ({
4384
4383
  className: i,
4385
4384
  color: e = v.GREY_DARK_5,
4386
4385
  height: t = 18,
@@ -4407,7 +4406,7 @@ const Ne = ({
4407
4406
  }
4408
4407
  )
4409
4408
  }
4410
- ), Ct = ({
4409
+ ), ut = ({
4411
4410
  className: i,
4412
4411
  color: e = v.GREY_DARK_5,
4413
4412
  height: t = 24,
@@ -4459,7 +4458,7 @@ const Ne = ({
4459
4458
  )
4460
4459
  ]
4461
4460
  }
4462
- ), ut = ({
4461
+ ), pt = ({
4463
4462
  className: i,
4464
4463
  color: e = v.GREY_DARK_5,
4465
4464
  height: t = 24,
@@ -4496,7 +4495,7 @@ const Ne = ({
4496
4495
  )
4497
4496
  ]
4498
4497
  }
4499
- ), pt = ({
4498
+ ), ft = ({
4500
4499
  className: i,
4501
4500
  color: e = v.NOTIFICATION_WARNING_DARK,
4502
4501
  height: t = 37,
@@ -4535,7 +4534,7 @@ const Ne = ({
4535
4534
  )
4536
4535
  ]
4537
4536
  }
4538
- ), ft = ({
4537
+ ), mt = ({
4539
4538
  className: i,
4540
4539
  color: e = v.GREY_DARK_5,
4541
4540
  height: t = 24,
@@ -4561,7 +4560,7 @@ const Ne = ({
4561
4560
  }
4562
4561
  )
4563
4562
  }
4564
- ), mt = ({
4563
+ ), wt = ({
4565
4564
  className: i,
4566
4565
  color: e = v.GREY_DARK_5,
4567
4566
  height: t = 24,
@@ -4600,7 +4599,7 @@ const Ne = ({
4600
4599
  )
4601
4600
  ]
4602
4601
  }
4603
- ), wt = ({
4602
+ ), Lt = ({
4604
4603
  className: i,
4605
4604
  color: e = v.GREY_DARK_5,
4606
4605
  height: t = 20,
@@ -4633,7 +4632,7 @@ const Ne = ({
4633
4632
  )
4634
4633
  ]
4635
4634
  }
4636
- ), Lt = ({
4635
+ ), kt = ({
4637
4636
  className: i,
4638
4637
  color: e = v.GREY_DARK_5,
4639
4638
  height: t = 24,
@@ -4702,7 +4701,7 @@ const Ne = ({
4702
4701
  )
4703
4702
  ]
4704
4703
  }
4705
- ), kt = ({
4704
+ ), vt = ({
4706
4705
  className: i,
4707
4706
  color: e = v.GREY_DARK_5,
4708
4707
  height: t = 24,
@@ -4759,7 +4758,7 @@ const Ne = ({
4759
4758
  )
4760
4759
  ]
4761
4760
  }
4762
- ), vt = ({
4761
+ ), Nt = ({
4763
4762
  className: i,
4764
4763
  color: e = v.GREY_DARK_5,
4765
4764
  height: t = 24,
@@ -4808,7 +4807,7 @@ const Ne = ({
4808
4807
  )
4809
4808
  ]
4810
4809
  }
4811
- ), Nt = ({
4810
+ ), Rt = ({
4812
4811
  className: i,
4813
4812
  color: e = v.GREY_DARK_5,
4814
4813
  height: t = 24,
@@ -4835,7 +4834,7 @@ const Ne = ({
4835
4834
  }
4836
4835
  )
4837
4836
  }
4838
- ), Rt = ({
4837
+ ), xt = ({
4839
4838
  className: i,
4840
4839
  color: e = v.GREY_DARK_5,
4841
4840
  height: t = 20,
@@ -4864,7 +4863,7 @@ const Ne = ({
4864
4863
  )
4865
4864
  ]
4866
4865
  }
4867
- ), xt = ({
4866
+ ), _t = ({
4868
4867
  className: i,
4869
4868
  color: e = "#001E52",
4870
4869
  height: t = 24,
@@ -4890,7 +4889,7 @@ const Ne = ({
4890
4889
  }
4891
4890
  )
4892
4891
  }
4893
- ), _t = ({
4892
+ ), Mt = ({
4894
4893
  className: i,
4895
4894
  color: e = "#001E52",
4896
4895
  height: t = 24,
@@ -4928,7 +4927,7 @@ const Ne = ({
4928
4927
  )
4929
4928
  ] }) })
4930
4929
  }
4931
- ), Mt = ({
4930
+ ), bt = ({
4932
4931
  width: i = 20,
4933
4932
  height: e = 20,
4934
4933
  color: t = v.GREY_DARK_5,
@@ -4985,7 +4984,7 @@ const Ne = ({
4985
4984
  )
4986
4985
  ]
4987
4986
  }
4988
- ), bt = ({
4987
+ ), Et = ({
4989
4988
  width: i = 20,
4990
4989
  height: e = 20,
4991
4990
  color: t = v.GREY_DARK_5,
@@ -5018,7 +5017,7 @@ const Ne = ({
5018
5017
  )
5019
5018
  ]
5020
5019
  }
5021
- ), Et = ({
5020
+ ), Ht = ({
5022
5021
  width: i = 24,
5023
5022
  height: e = 24,
5024
5023
  color: t = v.GREY_DARK_2,
@@ -5058,7 +5057,7 @@ const Ne = ({
5058
5057
  )
5059
5058
  ]
5060
5059
  }
5061
- ), Ht = ({
5060
+ ), It = ({
5062
5061
  width: i = 24,
5063
5062
  height: e = 24,
5064
5063
  color: t = v.GREY_DARK_2,
@@ -5112,7 +5111,7 @@ const Ne = ({
5112
5111
  }
5113
5112
  )
5114
5113
  }
5115
- ), It = ({
5114
+ ), Vt = ({
5116
5115
  name: i,
5117
5116
  width: e,
5118
5117
  height: t,
@@ -5121,39 +5120,39 @@ const Ne = ({
5121
5120
  disabled: o = !1,
5122
5121
  onClick: h
5123
5122
  }) => {
5124
- const { theme: d } = o1(C2), l = o ? d && d === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : n, a = o ? void 0 : h, c = h && !o ? `${s || ""} clickable` : s;
5125
- return /* @__PURE__ */ r(i1, { children: (() => {
5123
+ const { theme: d } = a1(u2), l = o ? d && d === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : n, a = o ? void 0 : h, c = h && !o ? `${s || ""} clickable` : s;
5124
+ return /* @__PURE__ */ r(n1, { children: (() => {
5126
5125
  switch (i) {
5127
5126
  case "nextIcon":
5128
- return it({ width: e, height: t, color: l, className: c, onClick: a });
5129
- case "prevIcon":
5130
5127
  return nt({ width: e, height: t, color: l, className: c, onClick: a });
5128
+ case "prevIcon":
5129
+ return st({ width: e, height: t, color: l, className: c, onClick: a });
5131
5130
  case "arrowDown":
5132
- return Ne({ width: e, height: t, color: l, className: c, onClick: a });
5133
- case "info":
5134
5131
  return Re({ width: e, height: t, color: l, className: c, onClick: a });
5135
- case "arrowRight":
5132
+ case "info":
5136
5133
  return xe({ width: e, height: t, color: l, className: c, onClick: a });
5134
+ case "arrowRight":
5135
+ return _e({ width: e, height: t, color: l, className: c, onClick: a });
5137
5136
  case "calendar":
5138
- return Ee({ width: e, height: t, color: l, className: c, onClick: a });
5139
- case "check":
5140
5137
  return He({ width: e, height: t, color: l, className: c, onClick: a });
5138
+ case "check":
5139
+ return Ie({ width: e, height: t, color: l, className: c, onClick: a });
5141
5140
  case "cancel":
5142
5141
  return Ae({ width: e, height: t, color: l, className: c, onClick: a });
5143
5142
  case "add":
5144
- return Ie({ width: e, height: t, color: l, className: c, onClick: a });
5145
- case "list":
5146
5143
  return Ve({ width: e, height: t, color: l, className: c, onClick: a });
5147
- case "dragAndDrop":
5144
+ case "list":
5148
5145
  return Oe({ width: e, height: t, color: l, className: c, onClick: a });
5149
- case "filter":
5146
+ case "dragAndDrop":
5150
5147
  return Ge({ width: e, height: t, color: l, className: c, onClick: a });
5151
- case "attention":
5148
+ case "filter":
5152
5149
  return Se({ width: e, height: t, color: l, className: c, onClick: a });
5153
- case "users":
5150
+ case "attention":
5154
5151
  return Ze({ width: e, height: t, color: l, className: c, onClick: a });
5152
+ case "users":
5153
+ return Te({ width: e, height: t, color: l, className: c, onClick: a });
5155
5154
  case "mySkillsMatrix":
5156
- return Te({
5155
+ return De({
5157
5156
  width: e,
5158
5157
  height: t,
5159
5158
  color: l,
@@ -5161,9 +5160,9 @@ const Ne = ({
5161
5160
  onClick: a
5162
5161
  });
5163
5162
  case "skills":
5164
- return De({ width: e, height: t, color: l, className: c, onClick: a });
5163
+ return Ke({ width: e, height: t, color: l, className: c, onClick: a });
5165
5164
  case "skillsMatrices":
5166
- return Ke({
5165
+ return Be({
5167
5166
  width: e,
5168
5167
  height: t,
5169
5168
  color: l,
@@ -5171,21 +5170,21 @@ const Ne = ({
5171
5170
  onClick: a
5172
5171
  });
5173
5172
  case "history":
5174
- return Be({ width: e, height: t, color: l, className: c, onClick: a });
5175
- case "logOut":
5176
5173
  return Ye({ width: e, height: t, color: l, className: c, onClick: a });
5177
- case "settings":
5174
+ case "logOut":
5178
5175
  return Pe({ width: e, height: t, color: l, className: c, onClick: a });
5179
- case "trash":
5176
+ case "settings":
5180
5177
  return $e({ width: e, height: t, color: l, className: c, onClick: a });
5181
- case "settings2":
5178
+ case "trash":
5182
5179
  return je({ width: e, height: t, color: l, className: c, onClick: a });
5183
- case "checkCircle":
5180
+ case "settings2":
5184
5181
  return Fe({ width: e, height: t, color: l, className: c, onClick: a });
5185
- case "cancelCircle":
5182
+ case "checkCircle":
5186
5183
  return Ue({ width: e, height: t, color: l, className: c, onClick: a });
5184
+ case "cancelCircle":
5185
+ return We({ width: e, height: t, color: l, className: c, onClick: a });
5187
5186
  case "visibilityIcon":
5188
- return We({
5187
+ return ze({
5189
5188
  width: e,
5190
5189
  height: t,
5191
5190
  color: l,
@@ -5193,7 +5192,7 @@ const Ne = ({
5193
5192
  onClick: a
5194
5193
  });
5195
5194
  case "visibilityOffIcon":
5196
- return ze({
5195
+ return Je({
5197
5196
  width: e,
5198
5197
  height: t,
5199
5198
  color: l,
@@ -5201,7 +5200,7 @@ const Ne = ({
5201
5200
  onClick: a
5202
5201
  });
5203
5202
  case "selectArrowIcon":
5204
- return Je({
5203
+ return qe({
5205
5204
  width: e,
5206
5205
  height: t,
5207
5206
  color: l,
@@ -5209,7 +5208,7 @@ const Ne = ({
5209
5208
  onClick: a
5210
5209
  });
5211
5210
  case "expandArrowIcon":
5212
- return qe({
5211
+ return Qe({
5213
5212
  width: e,
5214
5213
  height: t,
5215
5214
  color: l,
@@ -5217,7 +5216,7 @@ const Ne = ({
5217
5216
  onClick: a
5218
5217
  });
5219
5218
  case "expandActiveArrowIcon":
5220
- return Qe({
5219
+ return Xe({
5221
5220
  width: e,
5222
5221
  height: t,
5223
5222
  color: l,
@@ -5225,87 +5224,87 @@ const Ne = ({
5225
5224
  onClick: a
5226
5225
  });
5227
5226
  case "sortUp":
5228
- return Xe({ width: e, height: t, color: l, className: c, onClick: a });
5229
- case "sortDown":
5230
5227
  return et({ width: e, height: t, color: l, className: c, onClick: a });
5231
- case "search":
5228
+ case "sortDown":
5232
5229
  return tt({ width: e, height: t, color: l, className: c, onClick: a });
5230
+ case "search":
5231
+ return it({ width: e, height: t, color: l, className: c, onClick: a });
5233
5232
  case "arrowUpFilled":
5234
- return rt({ width: e, height: t, color: l, className: c, onClick: a });
5233
+ return ot({ width: e, height: t, color: l, className: c, onClick: a });
5235
5234
  case "arrowDownFilled":
5236
- return st({ width: e, height: t, color: l, className: c, onClick: a });
5235
+ return rt({ width: e, height: t, color: l, className: c, onClick: a });
5237
5236
  case "arrow2Up":
5238
- return _e({ width: e, height: t, color: l, className: c, onClick: a });
5239
- case "arrow2Right":
5240
5237
  return Me({ width: e, height: t, color: l, className: c, onClick: a });
5238
+ case "arrow2Right":
5239
+ return be({ width: e, height: t, color: l, className: c, onClick: a });
5241
5240
  case "arrow2Down":
5242
5241
  return ye({ width: e, height: t, color: l, className: c, onClick: a });
5243
5242
  case "arrow2Left":
5244
- return be({ width: e, height: t, color: l, className: c, onClick: a });
5243
+ return Ee({ width: e, height: t, color: l, className: c, onClick: a });
5245
5244
  case "link":
5246
- return ot({ width: e, height: t, color: l, className: c, onClick: a });
5245
+ return at({ width: e, height: t, color: l, className: c, onClick: a });
5247
5246
  case "telegram":
5248
- return lt({ width: e, height: t, color: l, className: c, onClick: a });
5247
+ return ct({ width: e, height: t, color: l, className: c, onClick: a });
5249
5248
  case "mail":
5250
- return ht({ width: e, height: t, color: l, className: c, onClick: a });
5249
+ return dt({ width: e, height: t, color: l, className: c, onClick: a });
5251
5250
  case "github":
5252
- return at({ width: e, height: t, color: l, className: c, onClick: a });
5251
+ return lt({ width: e, height: t, color: l, className: c, onClick: a });
5253
5252
  case "linkedIn":
5254
- return ct({ width: e, height: t, color: l, className: c, onClick: a });
5253
+ return ht({ width: e, height: t, color: l, className: c, onClick: a });
5255
5254
  case "emptyStateIcon":
5256
- return dt({ width: e, height: t, color: l, className: c, onClick: a });
5257
- case "filtersIcon":
5258
5255
  return gt({ width: e, height: t, color: l, className: c, onClick: a });
5259
- case "dotMenuIcon":
5256
+ case "filtersIcon":
5260
5257
  return Ct({ width: e, height: t, color: l, className: c, onClick: a });
5261
- case "plusCircle":
5258
+ case "dotMenuIcon":
5262
5259
  return ut({ width: e, height: t, color: l, className: c, onClick: a });
5263
- case "warning":
5260
+ case "plusCircle":
5264
5261
  return pt({ width: e, height: t, color: l, className: c, onClick: a });
5265
- case "back":
5262
+ case "warning":
5266
5263
  return ft({ width: e, height: t, color: l, className: c, onClick: a });
5267
- case "bell":
5264
+ case "back":
5268
5265
  return mt({ width: e, height: t, color: l, className: c, onClick: a });
5269
- case "copy":
5266
+ case "bell":
5270
5267
  return wt({ width: e, height: t, color: l, className: c, onClick: a });
5271
- case "contract":
5268
+ case "copy":
5272
5269
  return Lt({ width: e, height: t, color: l, className: c, onClick: a });
5273
- case "resourceManager":
5270
+ case "contract":
5274
5271
  return kt({ width: e, height: t, color: l, className: c, onClick: a });
5275
- case "image":
5272
+ case "resourceManager":
5276
5273
  return vt({ width: e, height: t, color: l, className: c, onClick: a });
5277
- case "edit":
5274
+ case "image":
5278
5275
  return Nt({ width: e, height: t, color: l, className: c, onClick: a });
5279
- case "filledArrowRight":
5276
+ case "edit":
5280
5277
  return Rt({ width: e, height: t, color: l, className: c, onClick: a });
5281
- case "burgerMenu":
5278
+ case "filledArrowRight":
5282
5279
  return xt({ width: e, height: t, color: l, className: c, onClick: a });
5283
- case "refresh":
5280
+ case "burgerMenu":
5284
5281
  return _t({ width: e, height: t, color: l, className: c, onClick: a });
5285
- case "projects":
5282
+ case "refresh":
5286
5283
  return Mt({ width: e, height: t, color: l, className: c, onClick: a });
5287
- case "user":
5284
+ case "projects":
5288
5285
  return bt({ width: e, height: t, color: l, className: c, onClick: a });
5286
+ case "user":
5287
+ return Et({ width: e, height: t, color: l, className: c, onClick: a });
5289
5288
  case "exit":
5290
5289
  return yt({ width: e, height: t, color: l, className: c, onClick: a });
5291
5290
  case "openPointCircle":
5292
- return Et({ width: e, height: t, color: l, className: c, onClick: a });
5293
- case "community":
5294
5291
  return Ht({ width: e, height: t, color: l, className: c, onClick: a });
5292
+ case "community":
5293
+ return It({ width: e, height: t, color: l, className: c, onClick: a });
5295
5294
  case "docs":
5296
5295
  return At({ width: e, height: t, color: l, className: c, onClick: a });
5297
5296
  default:
5298
- return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
5297
+ return /* @__PURE__ */ r(n1, { children: "No Icon provided" });
5299
5298
  }
5300
5299
  })() });
5301
5300
  };
5302
5301
  var w1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(w1 || {});
5303
- const Vt = a1({
5302
+ const Ot = l1({
5304
5303
  locale: "en",
5305
5304
  theme: "light"
5306
5305
  });
5307
- Vt.Provider;
5308
- const u2 = ({
5306
+ Ot.Provider;
5307
+ const p2 = ({
5309
5308
  children: i,
5310
5309
  width: e,
5311
5310
  size: t = "small",
@@ -5317,11 +5316,11 @@ const u2 = ({
5317
5316
  o || n == null || n();
5318
5317
  };
5319
5318
  return /* @__PURE__ */ r(
5320
- _2,
5319
+ M2,
5321
5320
  {
5322
5321
  className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
5323
5322
  closeIcon: /* @__PURE__ */ r(
5324
- It,
5323
+ Vt,
5325
5324
  {
5326
5325
  name: "cancelCircle",
5327
5326
  color: o ? w1.GREY_DARK_1 : w1.GREY_DARK_2,
@@ -5334,7 +5333,7 @@ const u2 = ({
5334
5333
  style: { width: e ?? "fit-content" },
5335
5334
  closable: s,
5336
5335
  children: typeof i == "string" ? /* @__PURE__ */ r(
5337
- ve,
5336
+ Ne,
5338
5337
  {
5339
5338
  variant: t === "small" ? "body4" : "body2",
5340
5339
  color: o ? w1.GREY_DARK_2 : w1.GREY_DARK_5,
@@ -5343,12 +5342,12 @@ const u2 = ({
5343
5342
  ) : i
5344
5343
  }
5345
5344
  );
5346
- }, { Title: Ot, Text: Gt } = H1, St = {
5345
+ }, { Title: Gt, Text: St } = H1, Zt = {
5347
5346
  h1: 1,
5348
5347
  h2: 2,
5349
5348
  h3: 3,
5350
5349
  h4: 4
5351
- }, Zt = r1(
5350
+ }, Tt = o1(
5352
5351
  ({
5353
5352
  align: i = "inherit",
5354
5353
  variant: e = "body1",
@@ -5363,16 +5362,16 @@ const u2 = ({
5363
5362
  const a = J(null);
5364
5363
  C1(l, () => a.current);
5365
5364
  const [c, u] = S(!1);
5366
- K(() => {
5365
+ B(() => {
5367
5366
  var L;
5368
5367
  if (!d) return;
5369
5368
  const m = () => {
5370
5369
  a.current && u(a.current.scrollWidth > a.current.clientWidth);
5371
5370
  };
5372
5371
  m();
5373
- const y = new ResizeObserver(m);
5374
- return a.current && y.observe(a.current), (L = a.current) != null && L.parentElement && y.observe(a.current.parentElement), () => {
5375
- y.disconnect();
5372
+ const b = new ResizeObserver(m);
5373
+ return a.current && b.observe(a.current), (L = a.current) != null && L.parentElement && b.observe(a.current.parentElement), () => {
5374
+ b.disconnect();
5376
5375
  };
5377
5376
  }, [d]);
5378
5377
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -5390,9 +5389,9 @@ const u2 = ({
5390
5389
  }
5391
5390
  } : void 0
5392
5391
  };
5393
- return g ? /* @__PURE__ */ r(Ot, { level: St[e], ...w, children: n }) : /* @__PURE__ */ r(Gt, { ...w, children: n });
5392
+ return g ? /* @__PURE__ */ r(Gt, { level: Zt[e], ...w, children: n }) : /* @__PURE__ */ r(St, { ...w, children: n });
5394
5393
  }
5395
- ), Tt = ({
5394
+ ), Dt = ({
5396
5395
  children: i,
5397
5396
  content: e,
5398
5397
  isOpen: t,
@@ -5403,7 +5402,7 @@ const u2 = ({
5403
5402
  }) => {
5404
5403
  const [d, l] = S(!1);
5405
5404
  return /* @__PURE__ */ r(
5406
- E2,
5405
+ H2,
5407
5406
  {
5408
5407
  content: e,
5409
5408
  arrow: !1,
@@ -5418,18 +5417,18 @@ const u2 = ({
5418
5417
  }
5419
5418
  );
5420
5419
  };
5421
- var Dt = { exports: {} };
5420
+ var Kt = { exports: {} };
5422
5421
  (function(i, e) {
5423
5422
  (function(t, n) {
5424
5423
  i.exports = n();
5425
- })(O2, function() {
5424
+ })(G2, function() {
5426
5425
  return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
5427
5426
  var n = ["th", "st", "nd", "rd"], s = t % 100;
5428
5427
  return "[" + t + (n[(s - 20) % 10] || n[s] || n[0]) + "]";
5429
5428
  } };
5430
5429
  });
5431
- })(Dt);
5432
- const Kt = ({
5430
+ })(Kt);
5431
+ const Bt = ({
5433
5432
  values: i,
5434
5433
  onTagClose: e,
5435
5434
  maxWidth: t,
@@ -5438,8 +5437,8 @@ const Kt = ({
5438
5437
  options: o,
5439
5438
  extraOptions: h
5440
5439
  }) => {
5441
- const { locale: d } = o1(K1), { t: l } = q2("common", { lng: d }), [a, c] = S(!1);
5442
- if (K(() => {
5440
+ const { locale: d } = a1(K1), { t: l } = Q2("common", { lng: d }), [a, c] = S(!1);
5441
+ if (B(() => {
5443
5442
  i.length || c(!1);
5444
5443
  }, [i]), !i.length)
5445
5444
  return null;
@@ -5448,12 +5447,12 @@ const Kt = ({
5448
5447
  return ((p = o == null ? void 0 : o.find((L) => L.value === g)) == null ? void 0 : p.label) || ((w = h == null ? void 0 : h.find((L) => L.value === g)) == null ? void 0 : w.label) || g;
5449
5448
  };
5450
5449
  return /* @__PURE__ */ C(
5451
- Tt,
5450
+ Dt,
5452
5451
  {
5453
5452
  content: (
5454
5453
  // 90: paddings + margins + gaps and so on
5455
5454
  /* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(m1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: g }) => /* @__PURE__ */ r(
5456
- u2,
5455
+ p2,
5457
5456
  {
5458
5457
  onClose: () => e(g),
5459
5458
  closable: n,
@@ -5473,19 +5472,19 @@ const Kt = ({
5473
5472
  ]
5474
5473
  }
5475
5474
  );
5476
- }, Bt = {
5475
+ }, Yt = {
5477
5476
  small: 20,
5478
5477
  medium: 28,
5479
5478
  large: 48
5480
5479
  }, F1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
5481
- const t = Bt[i], n = `no-repeat linear-gradient(${e}
5480
+ const t = Yt[i], n = `no-repeat linear-gradient(${e}
5482
5481
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
5483
5482
  width: t,
5484
5483
  background: `${n} 0% 100%, ${n} 50% 100%, ${n} 100% 100%`,
5485
5484
  backgroundSize: "20% calc(200% + 20px)"
5486
5485
  };
5487
5486
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
5488
- }, U1 = r1(
5487
+ }, U1 = o1(
5489
5488
  ({
5490
5489
  value: i,
5491
5490
  onChange: e,
@@ -5504,78 +5503,78 @@ const Kt = ({
5504
5503
  onPopupScroll: w,
5505
5504
  id: L,
5506
5505
  extraOptions: m,
5507
- dropdownRender: y,
5508
- optionRender: b,
5506
+ dropdownRender: b,
5507
+ optionRender: y,
5509
5508
  isLoading: V,
5510
5509
  readOnly: f,
5511
5510
  error: x
5512
5511
  }, _) => {
5513
- const [R, j] = S(!1), [q, F] = S(!1), [H, T] = S(!0), [A, O] = S(i), Z = J(null);
5514
- K(() => {
5512
+ const [R, j] = S(!1), [q, F] = S(!1), [I, D] = S(!0), [A, O] = S(i), Z = J(null);
5513
+ B(() => {
5515
5514
  O(i);
5516
5515
  }, [i]);
5517
- const B = (N) => {
5516
+ const Y = (N) => {
5518
5517
  j(N), g && g(N);
5519
5518
  }, W = (N, E) => {
5520
- var D;
5521
- return !!((D = E == null ? void 0 : E.label) != null && D.toString().toLowerCase().includes(N.toLowerCase()));
5522
- }, I = () => {
5519
+ var K;
5520
+ return !!((K = E == null ? void 0 : E.label) != null && K.toString().toLowerCase().includes(N.toLowerCase()));
5521
+ }, H = () => {
5523
5522
  F(!0);
5524
5523
  }, P = () => {
5525
5524
  F(!1);
5526
- }, Y = $(
5525
+ }, T = $(
5527
5526
  (N) => {
5528
5527
  if (O(N), n) {
5529
- const D = N;
5530
- e == null || e(D);
5528
+ const K = N;
5529
+ e == null || e(K);
5531
5530
  return;
5532
5531
  }
5533
5532
  const E = N;
5534
5533
  e == null || e(E);
5535
5534
  },
5536
5535
  [n, e]
5537
- ), e1 = $(() => {
5536
+ ), t1 = $(() => {
5538
5537
  if (!(f || d)) {
5539
5538
  if (n) {
5540
- Y([]);
5539
+ T([]);
5541
5540
  return;
5542
5541
  }
5543
- Y("");
5542
+ T("");
5544
5543
  }
5545
- }, [d, Y, n, f]), t1 = $(
5544
+ }, [d, T, n, f]), i1 = $(
5546
5545
  (N) => {
5547
- const E = A.filter((D) => D !== N);
5548
- Y(E), O(E);
5546
+ const E = A.filter((K) => K !== N);
5547
+ T(E), O(E);
5549
5548
  },
5550
- [Y, A]
5549
+ [T, A]
5551
5550
  ), u1 = $(
5552
5551
  (N) => (A == null ? void 0 : A.indexOf(N)) === 0 ? (
5553
5552
  // if the search input is empty
5554
5553
  // then display the placeholder, else do not display it
5555
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: H ? t : "" })
5556
- ) : /* @__PURE__ */ r(i1, {}),
5557
- [H, A, t]
5554
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: I ? t : "" })
5555
+ ) : /* @__PURE__ */ r(n1, {}),
5556
+ [I, A, t]
5558
5557
  ), v1 = (N) => {
5559
5558
  N.preventDefault(), N.stopPropagation();
5560
5559
  }, N1 = async (N) => {
5561
5560
  const { target: E } = N;
5562
5561
  E.scrollTop + E.offsetHeight >= E.scrollHeight - c && (p == null || p(!0)), w && await w(N);
5563
- }, l1 = $(
5562
+ }, c1 = $(
5564
5563
  (N) => {
5565
- var E, D;
5566
- return ((E = o.find((c1) => c1.value === N)) == null ? void 0 : E.label) || ((D = m == null ? void 0 : m.find(
5567
- (c1) => c1.value === N
5568
- )) == null ? void 0 : D.label) || N;
5564
+ var E, K;
5565
+ return ((E = o.find((X) => X.value === N)) == null ? void 0 : E.label) || ((K = m == null ? void 0 : m.find(
5566
+ (X) => X.value === N
5567
+ )) == null ? void 0 : K.label) || N;
5569
5568
  },
5570
5569
  [m, o]
5571
5570
  ), R1 = $(
5572
5571
  (N) => {
5573
5572
  var E;
5574
5573
  return /* @__PURE__ */ r(
5575
- Kt,
5574
+ Bt,
5576
5575
  {
5577
5576
  values: N,
5578
- onTagClose: t1,
5577
+ onTagClose: i1,
5579
5578
  maxWidth: ((E = Z.current) == null ? void 0 : E.clientWidth) || 0,
5580
5579
  disabled: d,
5581
5580
  closable: !f,
@@ -5584,10 +5583,10 @@ const Kt = ({
5584
5583
  }
5585
5584
  );
5586
5585
  },
5587
- [d, m, t1, o, f]
5586
+ [d, m, i1, o, f]
5588
5587
  ), G = $(
5589
- ({ label: N, value: E, mode: D }) => D === "filter" ? u1(E) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(u2, { onClose: () => t1(E), disabled: d, children: typeof N == "object" ? N : l1(E) }) }),
5590
- [d, l1, t1, u1]
5588
+ ({ label: N, value: E, mode: K }) => K === "filter" ? u1(E) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(p2, { onClose: () => i1(E), disabled: d, children: typeof N == "object" ? N : c1(E) }) }),
5589
+ [d, c1, i1, u1]
5591
5590
  ), z = Array.isArray(A) && A.length > 0 || !!A && typeof A == "string" && A.trim() !== "";
5592
5591
  return /* @__PURE__ */ C("div", { className: "snmt-select-container", children: [
5593
5592
  /* @__PURE__ */ C(
@@ -5599,7 +5598,7 @@ const Kt = ({
5599
5598
  style: { width: h },
5600
5599
  children: [
5601
5600
  /* @__PURE__ */ r(
5602
- x2,
5601
+ _2,
5603
5602
  {
5604
5603
  className: "snmt-select-blank",
5605
5604
  popupClassName: f ? "dropdown-read-only" : "",
@@ -5607,32 +5606,32 @@ const Kt = ({
5607
5606
  ref: _,
5608
5607
  showSearch: !!s,
5609
5608
  filterOption: s && W,
5610
- onDropdownVisibleChange: B,
5609
+ onDropdownVisibleChange: Y,
5611
5610
  disabled: d,
5612
5611
  value: A || void 0,
5613
5612
  labelRender: (N) => {
5614
- const E = l1(N.value);
5613
+ const E = c1(N.value);
5615
5614
  return d ? /* @__PURE__ */ r("span", { style: { color: Q.GREY_DARK_1 }, children: E }) : E;
5616
5615
  },
5617
5616
  mode: n === "filter" ? "multiple" : n,
5618
- onChange: Y,
5619
- onFocus: I,
5617
+ onChange: T,
5618
+ onFocus: H,
5620
5619
  onBlur: P,
5621
5620
  onSearch: (N) => {
5622
- T(!N), u && u(N);
5621
+ D(!N), u && u(N);
5623
5622
  },
5624
- onSelect: () => T(!0),
5625
- onDeselect: () => T(!0),
5623
+ onSelect: () => D(!0),
5624
+ onDeselect: () => D(!0),
5626
5625
  tagRender: (N) => G({ ...N, mode: n }),
5627
5626
  maxTagCount: "responsive",
5628
5627
  maxTagPlaceholder: R1,
5629
5628
  onPopupScroll: N1,
5630
5629
  prefix: V && /* @__PURE__ */ r(F1, { size: "small" }),
5631
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: n !== "filter" && /* @__PURE__ */ C(i1, { children: [
5630
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: n !== "filter" && /* @__PURE__ */ C(n1, { children: [
5632
5631
  A && !!A.length && (n || a) && /* @__PURE__ */ r(
5633
5632
  "div",
5634
5633
  {
5635
- onClick: e1,
5634
+ onClick: t1,
5636
5635
  style: {
5637
5636
  cursor: d ? "not-allowed" : "pointer"
5638
5637
  },
@@ -5657,28 +5656,35 @@ const Kt = ({
5657
5656
  ] }) }),
5658
5657
  removeIcon: /* @__PURE__ */ r(p1, { name: "cancelCircle", color: Q.GREY_DARK_1 }),
5659
5658
  options: o,
5660
- optionRender: (N) => b ? b(N.data) : /* @__PURE__ */ C(m1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5659
+ optionRender: (N) => y ? y(N.data) : /* @__PURE__ */ C(m1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5661
5660
  /* @__PURE__ */ C(m1, { alignItems: "center", gap: 12, children: [
5662
5661
  n && /* @__PURE__ */ r(
5663
- a5,
5662
+ l5,
5664
5663
  {
5665
5664
  checked: !!(A != null && A.includes(N.value))
5666
5665
  }
5667
5666
  ),
5668
5667
  /* @__PURE__ */ C(m1, { alignItems: "center", gap: 8, children: [
5669
- N.data.image && /* @__PURE__ */ r(i5, { src: N.data.image, variant: "xsmall" }),
5668
+ N.data.image !== void 0 && /* @__PURE__ */ r(
5669
+ n5,
5670
+ {
5671
+ src: N.data.image,
5672
+ variant: "xsmall",
5673
+ fallbackText: N.data.imageFallbackText ? N.data.imageFallbackText : ""
5674
+ }
5675
+ ),
5670
5676
  /* @__PURE__ */ r("span", { children: N.label })
5671
5677
  ] })
5672
5678
  ] }),
5673
5679
  !n && A === N.value && /* @__PURE__ */ r(p1, { name: "check", color: Q.BLUE_DARK_1 })
5674
5680
  ] }),
5675
5681
  dropdownRender: (N) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
5676
- /* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(N) : N }),
5682
+ /* @__PURE__ */ r("div", { className: "dropdown-menu", children: b ? b(N) : N }),
5677
5683
  V && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(F1, {}) })
5678
5684
  ] })
5679
5685
  }
5680
5686
  ),
5681
- t && /* @__PURE__ */ C(i1, { children: [
5687
+ t && /* @__PURE__ */ C(n1, { children: [
5682
5688
  /* @__PURE__ */ r(
5683
5689
  "label",
5684
5690
  {
@@ -5707,14 +5713,14 @@ const Kt = ({
5707
5713
  width: 16
5708
5714
  }
5709
5715
  ),
5710
- typeof x == "string" ? /* @__PURE__ */ r(Zt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
5716
+ typeof x == "string" ? /* @__PURE__ */ r(Tt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
5711
5717
  ] })
5712
5718
  ] });
5713
5719
  }
5714
5720
  );
5715
- function Yt(i, e = 500) {
5721
+ function Pt(i, e = 500) {
5716
5722
  const t = J();
5717
- return K(() => () => {
5723
+ return B(() => () => {
5718
5724
  t.current && clearTimeout(t.current);
5719
5725
  }, []), (...n) => {
5720
5726
  const s = setTimeout(() => {
@@ -5725,13 +5731,13 @@ function Yt(i, e = 500) {
5725
5731
  }
5726
5732
  function W1(i) {
5727
5733
  const e = J(i);
5728
- return K(() => {
5734
+ return B(() => {
5729
5735
  e.current = i;
5730
5736
  }, [i]), e.current;
5731
5737
  }
5732
- const I1 = 100, h1 = {
5738
+ const A1 = 100, h1 = {
5733
5739
  offset: 0
5734
- }, z1 = r1(
5740
+ }, z1 = o1(
5735
5741
  ({
5736
5742
  loadOptions: i,
5737
5743
  width: e,
@@ -5750,14 +5756,14 @@ const I1 = 100, h1 = {
5750
5756
  dropdownRender: w,
5751
5757
  readOnly: L,
5752
5758
  clearable: m = !1,
5753
- required: y = !1,
5754
- error: b
5759
+ required: b = !1,
5760
+ error: y
5755
5761
  }, V) => {
5756
- const [f, x] = S(), [_, R] = S(h1), [j, q] = S(!1), [F, H] = S(), [T, A] = S(!1), [O, Z] = S(
5762
+ const [f, x] = S(), [_, R] = S(h1), [j, q] = S(!1), [F, I] = S(), [D, A] = S(!1), [O, Z] = S(
5757
5763
  u ?? []
5758
- ), B = W1(_.offset), W = W1(F), [I, P] = S(!1), Y = J(!1), e1 = $(
5764
+ ), Y = W1(_.offset), W = W1(F), [H, P] = S(!1), T = J(!1), t1 = $(
5759
5765
  async ({
5760
- limit: G = I1,
5766
+ limit: G = A1,
5761
5767
  offset: z,
5762
5768
  search: N
5763
5769
  }) => {
@@ -5769,9 +5775,9 @@ const I1 = 100, h1 = {
5769
5775
  search: N
5770
5776
  });
5771
5777
  x(
5772
- (D) => z === 0 ? E.options : [...D ?? [], ...E.options]
5773
- ), R((D) => ({
5774
- ...D,
5778
+ (K) => z === 0 ? E.options : [...K ?? [], ...E.options]
5779
+ ), R((K) => ({
5780
+ ...K,
5775
5781
  count: E.count
5776
5782
  }));
5777
5783
  } catch (E) {
@@ -5781,30 +5787,30 @@ const I1 = 100, h1 = {
5781
5787
  }
5782
5788
  },
5783
5789
  [i]
5784
- ), t1 = Yt((G) => {
5785
- H(G), G || R(h1);
5790
+ ), i1 = Pt((G) => {
5791
+ I(G), G || R(h1);
5786
5792
  }), u1 = $(
5787
- (G) => t1(G),
5788
- [t1]
5793
+ (G) => i1(G),
5794
+ [i1]
5789
5795
  ), v1 = $(
5790
5796
  async (G) => {
5791
5797
  j || G && _.count && _.count > ((f == null ? void 0 : f.length) ?? 0) && R((z) => ({
5792
5798
  ...z,
5793
- offset: z.offset + I1
5799
+ offset: z.offset + A1
5794
5800
  }));
5795
5801
  },
5796
5802
  [j, f == null ? void 0 : f.length, _.count]
5797
5803
  ), N1 = $(
5798
5804
  (G) => {
5799
- A(G), !G && F && (H(void 0), R(h1), P(!0)), g == null || g(G);
5805
+ A(G), !G && F && (I(void 0), R(h1), P(!0)), g == null || g(G);
5800
5806
  },
5801
5807
  [g, F]
5802
5808
  );
5803
- K(() => {
5804
- !Y.current || j || (I || T && (B !== _.offset || W !== F || !f)) && (e1({ offset: _.offset, limit: I1, search: F }), I && P(!1));
5805
- }, [I, T, _.offset, F, B, W, f, j]), K(() => {
5806
- (a || c) && e1(h1), Y.current = !0;
5807
- }, []), K(() => {
5809
+ B(() => {
5810
+ !T.current || j || (H || D && (Y !== _.offset || W !== F || !f)) && (t1({ offset: _.offset, limit: A1, search: F }), H && P(!1));
5811
+ }, [H, D, _.offset, F, Y, W, f, j]), B(() => {
5812
+ (a || c) && t1(h1), T.current = !0;
5813
+ }, []), B(() => {
5808
5814
  u && Z((G) => {
5809
5815
  const z = u.filter(
5810
5816
  (N) => !G.some((E) => E.value === N.value)
@@ -5812,33 +5818,35 @@ const I1 = 100, h1 = {
5812
5818
  return [...G, ...z];
5813
5819
  });
5814
5820
  }, [u]);
5815
- const l1 = $(
5821
+ const c1 = $(
5816
5822
  (G) => {
5817
5823
  t && t(G);
5818
5824
  let z = [];
5819
5825
  if (l ? z = Array.isArray(G) ? G : [] : z = G ? [G] : [], F) {
5820
5826
  const N = z.filter(
5821
- (E) => !(O != null && O.some((D) => D.value === E))
5827
+ (E) => !(O != null && O.some((K) => K.value === E))
5822
5828
  );
5823
5829
  N.length > 0 && Z((E = []) => [
5824
5830
  ...E,
5825
- ...N.map((D) => {
5826
- const c1 = f == null ? void 0 : f.find((k2) => k2.value === D);
5831
+ ...N.map((K) => {
5832
+ const X = f == null ? void 0 : f.find((v2) => v2.value === K);
5827
5833
  return {
5828
- value: D,
5829
- label: (c1 == null ? void 0 : c1.label) ?? D
5834
+ value: K,
5835
+ label: (X == null ? void 0 : X.label) ?? K,
5836
+ imageFallbackText: (X == null ? void 0 : X.imageFallbackText) ?? "",
5837
+ image: (X == null ? void 0 : X.image) ?? void 0
5830
5838
  };
5831
5839
  })
5832
- ]), H(void 0), R(h1), P(!0);
5840
+ ]), I(void 0), R(h1), P(!0);
5833
5841
  }
5834
5842
  },
5835
5843
  [t, F, l, f, O]
5836
- ), R1 = R2(
5844
+ ), R1 = x2(
5837
5845
  () => ({
5838
5846
  id: s,
5839
5847
  width: e,
5840
5848
  options: f || [],
5841
- onChange: l1,
5849
+ onChange: c1,
5842
5850
  ref: V,
5843
5851
  placeholder: d,
5844
5852
  search: !0,
@@ -5854,14 +5862,14 @@ const I1 = 100, h1 = {
5854
5862
  dropdownRender: w,
5855
5863
  readOnly: L,
5856
5864
  clearable: m,
5857
- required: y,
5858
- error: b
5865
+ required: b,
5866
+ error: y
5859
5867
  }),
5860
5868
  [
5861
5869
  s,
5862
5870
  e,
5863
5871
  f,
5864
- l1,
5872
+ c1,
5865
5873
  V,
5866
5874
  d,
5867
5875
  n,
@@ -5876,24 +5884,24 @@ const I1 = 100, h1 = {
5876
5884
  w,
5877
5885
  L,
5878
5886
  m,
5879
- y,
5880
- b
5887
+ b,
5888
+ y
5881
5889
  ]
5882
5890
  );
5883
5891
  return C1(V, () => ({
5884
5892
  refetchOptions: async () => {
5885
- R(h1), H(void 0), P(!0);
5893
+ R(h1), I(void 0), P(!0);
5886
5894
  }
5887
5895
  })), l ? /* @__PURE__ */ r(U1, { ...R1, value: n, mode: l }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(U1, { ...R1, value: n }) });
5888
5896
  }
5889
5897
  );
5890
5898
  var _1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(_1 || {});
5891
- const Pt = {
5899
+ const $t = {
5892
5900
  small: 20,
5893
5901
  medium: 28,
5894
5902
  large: 48
5895
- }, $t = ({ size: i = "medium", color: e = "#004ed7" }) => {
5896
- const t = Pt[i], n = `no-repeat linear-gradient(${e}
5903
+ }, jt = ({ size: i = "medium", color: e = "#004ed7" }) => {
5904
+ const t = $t[i], n = `no-repeat linear-gradient(${e}
5897
5905
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
5898
5906
  width: t,
5899
5907
  background: `${n} 0% 100%, ${n} 50% 100%, ${n} 100% 100%`,
@@ -5901,20 +5909,20 @@ const Pt = {
5901
5909
  };
5902
5910
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
5903
5911
  };
5904
- function jt() {
5912
+ function Ft() {
5905
5913
  if (console && console.warn) {
5906
5914
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
5907
5915
  e[t] = arguments[t];
5908
- s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
5916
+ r1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
5909
5917
  }
5910
5918
  }
5911
5919
  const J1 = {};
5912
5920
  function Z1() {
5913
5921
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
5914
5922
  e[t] = arguments[t];
5915
- s1(e[0]) && J1[e[0]] || (s1(e[0]) && (J1[e[0]] = /* @__PURE__ */ new Date()), jt(...e));
5923
+ r1(e[0]) && J1[e[0]] || (r1(e[0]) && (J1[e[0]] = /* @__PURE__ */ new Date()), Ft(...e));
5916
5924
  }
5917
- const p2 = (i, e) => () => {
5925
+ const f2 = (i, e) => () => {
5918
5926
  if (i.isInitialized)
5919
5927
  e();
5920
5928
  else {
@@ -5926,12 +5934,12 @@ const p2 = (i, e) => () => {
5926
5934
  i.on("initialized", t);
5927
5935
  }
5928
5936
  }, q1 = (i, e, t) => {
5929
- i.loadNamespaces(e, p2(i, t));
5937
+ i.loadNamespaces(e, f2(i, t));
5930
5938
  }, Q1 = (i, e, t, n) => {
5931
- s1(t) && (t = [t]), t.forEach((s) => {
5939
+ r1(t) && (t = [t]), t.forEach((s) => {
5932
5940
  i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
5933
- }), i.loadLanguages(e, p2(i, n));
5934
- }, Ft = function(i, e) {
5941
+ }), i.loadLanguages(e, f2(i, n));
5942
+ }, Ut = function(i, e) {
5935
5943
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5936
5944
  const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
5937
5945
  if (n.toLowerCase() === "cimode") return !0;
@@ -5940,15 +5948,15 @@ const p2 = (i, e) => () => {
5940
5948
  return a === -1 || a === 2;
5941
5949
  };
5942
5950
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(n, i) && (!s || h(o, i)));
5943
- }, Ut = function(i, e) {
5951
+ }, Wt = function(i, e) {
5944
5952
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5945
5953
  return !e.languages || !e.languages.length ? (Z1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
5946
5954
  lng: t.lng,
5947
5955
  precheck: (s, o) => {
5948
5956
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !o(s.isLanguageChangingTo, i)) return !1;
5949
5957
  }
5950
- }) : Ft(i, e, t);
5951
- }, s1 = (i) => typeof i == "string", Wt = (i) => typeof i == "object" && i !== null, zt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Jt = {
5958
+ }) : Ut(i, e, t);
5959
+ }, r1 = (i) => typeof i == "string", zt = (i) => typeof i == "object" && i !== null, Jt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, qt = {
5952
5960
  "&amp;": "&",
5953
5961
  "&#38;": "&",
5954
5962
  "&lt;": "<",
@@ -5969,7 +5977,7 @@ const p2 = (i, e) => () => {
5969
5977
  "&#8230;": "…",
5970
5978
  "&#x2F;": "/",
5971
5979
  "&#47;": "/"
5972
- }, qt = (i) => Jt[i], Qt = (i) => i.replace(zt, qt);
5980
+ }, Qt = (i) => qt[i], Xt = (i) => i.replace(Jt, Qt);
5973
5981
  let T1 = {
5974
5982
  bindI18n: "languageChanged",
5975
5983
  bindI18nStore: "",
@@ -5978,25 +5986,25 @@ let T1 = {
5978
5986
  transWrapTextNodes: "",
5979
5987
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
5980
5988
  useSuspense: !0,
5981
- unescape: Qt
5989
+ unescape: Xt
5982
5990
  };
5983
- const Xt = function() {
5991
+ const e7 = function() {
5984
5992
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5985
5993
  T1 = {
5986
5994
  ...T1,
5987
5995
  ...i
5988
5996
  };
5989
- }, e7 = () => T1;
5990
- let f2;
5991
- const t7 = (i) => {
5992
- f2 = i;
5993
- }, i7 = () => f2, n7 = {
5997
+ }, t7 = () => T1;
5998
+ let m2;
5999
+ const i7 = (i) => {
6000
+ m2 = i;
6001
+ }, n7 = () => m2, s7 = {
5994
6002
  type: "3rdParty",
5995
6003
  init(i) {
5996
- Xt(i.options.react), t7(i);
6004
+ e7(i.options.react), i7(i);
5997
6005
  }
5998
- }, s7 = a1();
5999
- class r7 {
6006
+ }, r7 = l1();
6007
+ class o7 {
6000
6008
  constructor() {
6001
6009
  B1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
6002
6010
  this.usedNamespaces = {};
@@ -6007,27 +6015,27 @@ class r7 {
6007
6015
  });
6008
6016
  }
6009
6017
  }
6010
- const o7 = (i, e) => {
6018
+ const a7 = (i, e) => {
6011
6019
  const t = J();
6012
- return K(() => {
6020
+ return B(() => {
6013
6021
  t.current = i;
6014
6022
  }, [i, e]), t.current;
6015
- }, m2 = (i, e, t, n) => i.getFixedT(e, t, n), a7 = (i, e, t, n) => $(m2(i, e, t, n), [i, e, t, n]), l7 = function(i) {
6023
+ }, w2 = (i, e, t, n) => i.getFixedT(e, t, n), l7 = (i, e, t, n) => $(w2(i, e, t, n), [i, e, t, n]), c7 = function(i) {
6016
6024
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6017
6025
  const {
6018
6026
  i18n: t
6019
6027
  } = e, {
6020
6028
  i18n: n,
6021
6029
  defaultNS: s
6022
- } = o1(s7) || {}, o = t || n || i7();
6023
- if (o && !o.reportNamespaces && (o.reportNamespaces = new r7()), !o) {
6030
+ } = a1(r7) || {}, o = t || n || n7();
6031
+ if (o && !o.reportNamespaces && (o.reportNamespaces = new o7()), !o) {
6024
6032
  Z1("You will need to pass in an i18next instance by using initReactI18next");
6025
- const f = (_, R) => s1(R) ? R : Wt(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
6033
+ const f = (_, R) => r1(R) ? R : zt(R) && r1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
6026
6034
  return x.t = f, x.i18n = {}, x.ready = !1, x;
6027
6035
  }
6028
6036
  o.options.react && o.options.react.wait !== void 0 && Z1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
6029
6037
  const h = {
6030
- ...e7(),
6038
+ ...t7(),
6031
6039
  ...o.options.react,
6032
6040
  ...e
6033
6041
  }, {
@@ -6035,29 +6043,29 @@ const o7 = (i, e) => {
6035
6043
  keyPrefix: l
6036
6044
  } = h;
6037
6045
  let a = i;
6038
- a = s1(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
6039
- const c = (o.isInitialized || o.initializedStoreOnce) && a.every((f) => Ut(f, o, h)), u = a7(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => m2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), [w, L] = S(g);
6046
+ a = r1(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
6047
+ const c = (o.isInitialized || o.initializedStoreOnce) && a.every((f) => Wt(f, o, h)), u = l7(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => w2(o, e.lng || null, h.nsMode === "fallback" ? a : a[0], l), [w, L] = S(g);
6040
6048
  let m = a.join();
6041
6049
  e.lng && (m = `${e.lng}${m}`);
6042
- const y = o7(m), b = J(!0);
6043
- K(() => {
6050
+ const b = a7(m), y = J(!0);
6051
+ B(() => {
6044
6052
  const {
6045
6053
  bindI18n: f,
6046
6054
  bindI18nStore: x
6047
6055
  } = h;
6048
- b.current = !0, !c && !d && (e.lng ? Q1(o, e.lng, a, () => {
6049
- b.current && L(p);
6056
+ y.current = !0, !c && !d && (e.lng ? Q1(o, e.lng, a, () => {
6057
+ y.current && L(p);
6050
6058
  }) : q1(o, a, () => {
6051
- b.current && L(p);
6052
- })), c && y && y !== m && b.current && L(p);
6059
+ y.current && L(p);
6060
+ })), c && b && b !== m && y.current && L(p);
6053
6061
  const _ = () => {
6054
- b.current && L(p);
6062
+ y.current && L(p);
6055
6063
  };
6056
6064
  return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
6057
- b.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
6065
+ y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
6058
6066
  };
6059
- }, [o, m]), K(() => {
6060
- b.current && c && L(g);
6067
+ }, [o, m]), B(() => {
6068
+ y.current && c && L(g);
6061
6069
  }, [o, l, c]);
6062
6070
  const V = [w, o, c];
6063
6071
  if (V.t = w, V.i18n = o, V.ready = c, c || !c && !d) return V;
@@ -6070,11 +6078,11 @@ const o7 = (i, e) => {
6070
6078
  i = n, e = s;
6071
6079
  });
6072
6080
  return t.resolve = i, t.reject = e, t;
6073
- }, X1 = (i) => i == null ? "" : "" + i, c7 = (i, e, t) => {
6081
+ }, X1 = (i) => i == null ? "" : "" + i, h7 = (i, e, t) => {
6074
6082
  i.forEach((n) => {
6075
6083
  e[n] && (t[n] = e[n]);
6076
6084
  });
6077
- }, h7 = /###/g, e2 = (i) => i && i.indexOf("###") > -1 ? i.replace(h7, ".") : i, t2 = (i) => !i || M(i), L1 = (i, e, t) => {
6085
+ }, d7 = /###/g, e2 = (i) => i && i.indexOf("###") > -1 ? i.replace(d7, ".") : i, t2 = (i) => !i || M(i), L1 = (i, e, t) => {
6078
6086
  const n = M(e) ? e.split(".") : e;
6079
6087
  let s = 0;
6080
6088
  for (; s < n.length - 1; ) {
@@ -6099,7 +6107,7 @@ const o7 = (i, e) => {
6099
6107
  for (; d.obj === void 0 && h.length; )
6100
6108
  o = `${h[h.length - 1]}.${o}`, h = h.slice(0, h.length - 1), d = L1(i, h, Object), d && d.obj && typeof d.obj[`${d.k}.${o}`] < "u" && (d.obj = void 0);
6101
6109
  d.obj[`${d.k}.${o}`] = t;
6102
- }, d7 = (i, e, t, n) => {
6110
+ }, g7 = (i, e, t, n) => {
6103
6111
  const {
6104
6112
  obj: s,
6105
6113
  k: o
@@ -6112,15 +6120,15 @@ const o7 = (i, e) => {
6112
6120
  } = L1(i, e);
6113
6121
  if (t)
6114
6122
  return t[n];
6115
- }, g7 = (i, e, t) => {
6123
+ }, C7 = (i, e, t) => {
6116
6124
  const n = M1(i, t);
6117
6125
  return n !== void 0 ? n : M1(e, t);
6118
- }, w2 = (i, e, t) => {
6126
+ }, L2 = (i, e, t) => {
6119
6127
  for (const n in e)
6120
- n !== "__proto__" && n !== "constructor" && (n in i ? M(i[n]) || i[n] instanceof String || M(e[n]) || e[n] instanceof String ? t && (i[n] = e[n]) : w2(i[n], e[n], t) : i[n] = e[n]);
6128
+ n !== "__proto__" && n !== "constructor" && (n in i ? M(i[n]) || i[n] instanceof String || M(e[n]) || e[n] instanceof String ? t && (i[n] = e[n]) : L2(i[n], e[n], t) : i[n] = e[n]);
6121
6129
  return i;
6122
6130
  }, d1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
6123
- var C7 = {
6131
+ var u7 = {
6124
6132
  "&": "&amp;",
6125
6133
  "<": "&lt;",
6126
6134
  ">": "&gt;",
@@ -6128,8 +6136,8 @@ var C7 = {
6128
6136
  "'": "&#39;",
6129
6137
  "/": "&#x2F;"
6130
6138
  };
6131
- const u7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => C7[e]) : i;
6132
- class p7 {
6139
+ const p7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => u7[e]) : i;
6140
+ class f7 {
6133
6141
  constructor(e) {
6134
6142
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
6135
6143
  }
@@ -6141,11 +6149,11 @@ class p7 {
6141
6149
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
6142
6150
  }
6143
6151
  }
6144
- const f7 = [" ", ",", "?", "!", ";"], m7 = new p7(20), w7 = (i, e, t) => {
6152
+ const m7 = [" ", ",", "?", "!", ";"], w7 = new f7(20), L7 = (i, e, t) => {
6145
6153
  e = e || "", t = t || "";
6146
- const n = f7.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
6154
+ const n = m7.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
6147
6155
  if (n.length === 0) return !0;
6148
- const s = m7.getRegExp(`(${n.map((h) => h === "?" ? "\\?" : h).join("|")})`);
6156
+ const s = w7.getRegExp(`(${n.map((h) => h === "?" ? "\\?" : h).join("|")})`);
6149
6157
  let o = !s.test(i);
6150
6158
  if (!o) {
6151
6159
  const h = i.indexOf(t);
@@ -6172,7 +6180,7 @@ const f7 = [" ", ",", "?", "!", ";"], m7 = new p7(20), w7 = (i, e, t) => {
6172
6180
  s = h;
6173
6181
  }
6174
6182
  return s;
6175
- }, y1 = (i) => i && i.replace("_", "-"), L7 = {
6183
+ }, b1 = (i) => i && i.replace("_", "-"), k7 = {
6176
6184
  type: "logger",
6177
6185
  log(i) {
6178
6186
  this.output("log", i);
@@ -6187,14 +6195,14 @@ const f7 = [" ", ",", "?", "!", ";"], m7 = new p7(20), w7 = (i, e, t) => {
6187
6195
  console && console[i] && console[i].apply(console, e);
6188
6196
  }
6189
6197
  };
6190
- class b1 {
6198
+ class y1 {
6191
6199
  constructor(e) {
6192
6200
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6193
6201
  this.init(e, t);
6194
6202
  }
6195
6203
  init(e) {
6196
6204
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6197
- this.prefix = t.prefix || "i18next:", this.logger = e || L7, this.options = t, this.debug = t.debug;
6205
+ this.prefix = t.prefix || "i18next:", this.logger = e || k7, this.options = t, this.debug = t.debug;
6198
6206
  }
6199
6207
  log() {
6200
6208
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -6220,17 +6228,17 @@ class b1 {
6220
6228
  return s && !this.debug ? null : (M(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
6221
6229
  }
6222
6230
  create(e) {
6223
- return new b1(this.logger, {
6231
+ return new y1(this.logger, {
6224
6232
  prefix: `${this.prefix}:${e}:`,
6225
6233
  ...this.options
6226
6234
  });
6227
6235
  }
6228
6236
  clone(e) {
6229
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
6237
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new y1(this.logger, e);
6230
6238
  }
6231
6239
  }
6232
- var X = new b1();
6233
- class A1 {
6240
+ var e1 = new y1();
6241
+ class I1 {
6234
6242
  constructor() {
6235
6243
  this.observers = {};
6236
6244
  }
@@ -6264,7 +6272,7 @@ class A1 {
6264
6272
  });
6265
6273
  }
6266
6274
  }
6267
- class n2 extends A1 {
6275
+ class n2 extends I1 {
6268
6276
  constructor(e) {
6269
6277
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
6270
6278
  ns: ["translation"],
@@ -6312,7 +6320,7 @@ class n2 extends A1 {
6312
6320
  }, d = [e, t];
6313
6321
  e.indexOf(".") > -1 && (d = e.split("."), s = n, n = t, t = d[1]), this.addNamespaces(t);
6314
6322
  let l = M1(this.data, d) || {};
6315
- h.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? w2(l, n, o) : l = {
6323
+ h.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? L2(l, n, o) : l = {
6316
6324
  ...l,
6317
6325
  ...n
6318
6326
  }, i2(this.data, d, l), h.silent || this.emit("added", e, t, n);
@@ -6339,7 +6347,7 @@ class n2 extends A1 {
6339
6347
  return this.data;
6340
6348
  }
6341
6349
  }
6342
- var L2 = {
6350
+ var k2 = {
6343
6351
  processors: {},
6344
6352
  addPostProcessor(i) {
6345
6353
  this.processors[i.name] = i;
@@ -6351,10 +6359,10 @@ var L2 = {
6351
6359
  }
6352
6360
  };
6353
6361
  const s2 = {};
6354
- class E1 extends A1 {
6362
+ class E1 extends I1 {
6355
6363
  constructor(e) {
6356
6364
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6357
- super(), c7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = X.create("translator");
6365
+ super(), h7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = e1.create("translator");
6358
6366
  }
6359
6367
  changeLanguage(e) {
6360
6368
  e && (this.language = e);
@@ -6373,7 +6381,7 @@ class E1 extends A1 {
6373
6381
  n === void 0 && (n = ":");
6374
6382
  const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
6375
6383
  let o = t.ns || this.options.defaultNS || [];
6376
- const h = n && e.indexOf(n) > -1, d = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !w7(e, n, s);
6384
+ const h = n && e.indexOf(n) > -1, d = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !L7(e, n, s);
6377
6385
  if (h && !d) {
6378
6386
  const l = e.match(this.interpolator.nestingRegexp);
6379
6387
  if (l && l.length > 0)
@@ -6421,8 +6429,8 @@ class E1 extends A1 {
6421
6429
  }
6422
6430
  const u = this.resolve(e, t);
6423
6431
  let g = u && u.res;
6424
- const p = u && u.usedKey || h, w = u && u.exactUsedKey || h, L = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, V = !M(g) && typeof g != "boolean" && typeof g != "number";
6425
- if (b && g && V && m.indexOf(L) < 0 && !(M(y) && Array.isArray(g))) {
6432
+ const p = u && u.usedKey || h, w = u && u.exactUsedKey || h, L = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, V = !M(g) && typeof g != "boolean" && typeof g != "number";
6433
+ if (y && g && V && m.indexOf(L) < 0 && !(M(b) && Array.isArray(g))) {
6426
6434
  if (!t.returnObjects && !this.options.returnObjects) {
6427
6435
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
6428
6436
  const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
@@ -6444,39 +6452,39 @@ class E1 extends A1 {
6444
6452
  }
6445
6453
  g = x;
6446
6454
  }
6447
- } else if (b && M(y) && Array.isArray(g))
6448
- g = g.join(y), g && (g = this.extendTranslation(g, e, t, n));
6455
+ } else if (y && M(b) && Array.isArray(g))
6456
+ g = g.join(b), g && (g = this.extendTranslation(g, e, t, n));
6449
6457
  else {
6450
6458
  let f = !1, x = !1;
6451
6459
  const _ = t.count !== void 0 && !M(t.count), R = E1.hasDefaultValue(t), j = _ ? this.pluralResolver.getSuffix(a, t.count, t) : "", q = t.ordinal && _ ? this.pluralResolver.getSuffix(a, t.count, {
6452
6460
  ordinal: !1
6453
- }) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), H = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${q}`] || t.defaultValue;
6454
- !this.isValidLookup(g) && R && (f = !0, g = H), this.isValidLookup(g) || (x = !0, g = h);
6455
- const A = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, O = R && H !== g && this.options.updateMissing;
6461
+ }) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), I = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${q}`] || t.defaultValue;
6462
+ !this.isValidLookup(g) && R && (f = !0, g = I), this.isValidLookup(g) || (x = !0, g = h);
6463
+ const A = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, O = R && I !== g && this.options.updateMissing;
6456
6464
  if (x || f || O) {
6457
- if (this.logger.log(O ? "updateKey" : "missingKey", a, l, h, O ? H : g), o) {
6458
- const I = this.resolve(h, {
6465
+ if (this.logger.log(O ? "updateKey" : "missingKey", a, l, h, O ? I : g), o) {
6466
+ const H = this.resolve(h, {
6459
6467
  ...t,
6460
6468
  keySeparator: !1
6461
6469
  });
6462
- I && I.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.");
6470
+ 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.");
6463
6471
  }
6464
6472
  let Z = [];
6465
- const B = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
6466
- if (this.options.saveMissingTo === "fallback" && B && B[0])
6467
- for (let I = 0; I < B.length; I++)
6468
- Z.push(B[I]);
6473
+ const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
6474
+ if (this.options.saveMissingTo === "fallback" && Y && Y[0])
6475
+ for (let H = 0; H < Y.length; H++)
6476
+ Z.push(Y[H]);
6469
6477
  else this.options.saveMissingTo === "all" ? Z = this.languageUtils.toResolveHierarchy(t.lng || this.language) : Z.push(t.lng || this.language);
6470
- const W = (I, P, Y) => {
6471
- const e1 = R && Y !== g ? Y : A;
6472
- this.options.missingKeyHandler ? this.options.missingKeyHandler(I, l, P, e1, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, l, P, e1, O, t), this.emit("missingKey", I, l, P, g);
6478
+ const W = (H, P, T) => {
6479
+ const t1 = R && T !== g ? T : A;
6480
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(H, l, P, t1, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(H, l, P, t1, O, t), this.emit("missingKey", H, l, P, g);
6473
6481
  };
6474
- this.options.saveMissing && (this.options.saveMissingPlurals && _ ? Z.forEach((I) => {
6475
- const P = this.pluralResolver.getSuffixes(I, t);
6476
- F && t[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((Y) => {
6477
- W([I], h + Y, t[`defaultValue${Y}`] || H);
6482
+ this.options.saveMissing && (this.options.saveMissingPlurals && _ ? Z.forEach((H) => {
6483
+ const P = this.pluralResolver.getSuffixes(H, t);
6484
+ F && t[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((T) => {
6485
+ W([H], h + T, t[`defaultValue${T}`] || I);
6478
6486
  });
6479
- }) : W(Z, h, H));
6487
+ }) : W(Z, h, I));
6480
6488
  }
6481
6489
  g = this.extendTranslation(g, e, t, u, n), x && g === h && this.options.appendNamespaceToMissingKey && (g = `${l}:${h}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${h}` : h, f ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
6482
6490
  }
@@ -6520,7 +6528,7 @@ class E1 extends A1 {
6520
6528
  }, n)), n.interpolation && this.interpolator.reset();
6521
6529
  }
6522
6530
  const d = n.postProcess || this.options.postProcess, l = M(d) ? [d] : d;
6523
- return e != null && l && l.length && n.applyPostProcessor !== !1 && (e = L2.handle(l, e, t, this.options && this.options.postProcessPassResolved ? {
6531
+ return e != null && l && l.length && n.applyPostProcessor !== !1 && (e = k2.handle(l, e, t, this.options && this.options.postProcessPassResolved ? {
6524
6532
  i18nResolved: {
6525
6533
  ...s,
6526
6534
  usedParams: this.getUsedParamsDetails(n)
@@ -6538,24 +6546,24 @@ class E1 extends A1 {
6538
6546
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
6539
6547
  const g = t.count !== void 0 && !M(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", L = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6540
6548
  u.forEach((m) => {
6541
- this.isValidLookup(n) || (d = m, !s2[`${L[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (s2[`${L[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${L.join(", ")}" won't get resolved as namespace "${d}" 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!!!")), L.forEach((y) => {
6549
+ this.isValidLookup(n) || (d = m, !s2[`${L[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (s2[`${L[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${L.join(", ")}" won't get resolved as namespace "${d}" 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!!!")), L.forEach((b) => {
6542
6550
  if (this.isValidLookup(n)) return;
6543
- h = y;
6544
- const b = [c];
6551
+ h = b;
6552
+ const y = [c];
6545
6553
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
6546
- this.i18nFormat.addLookupKeys(b, c, y, m, t);
6554
+ this.i18nFormat.addLookupKeys(y, c, b, m, t);
6547
6555
  else {
6548
6556
  let f;
6549
- g && (f = this.pluralResolver.getSuffix(y, t.count, t));
6557
+ g && (f = this.pluralResolver.getSuffix(b, t.count, t));
6550
6558
  const x = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
6551
- if (g && (b.push(c + f), t.ordinal && f.indexOf(_) === 0 && b.push(c + f.replace(_, this.options.pluralSeparator)), p && b.push(c + x)), w) {
6559
+ if (g && (y.push(c + f), t.ordinal && f.indexOf(_) === 0 && y.push(c + f.replace(_, this.options.pluralSeparator)), p && y.push(c + x)), w) {
6552
6560
  const R = `${c}${this.options.contextSeparator}${t.context}`;
6553
- b.push(R), g && (b.push(R + f), t.ordinal && f.indexOf(_) === 0 && b.push(R + f.replace(_, this.options.pluralSeparator)), p && b.push(R + x));
6561
+ y.push(R), g && (y.push(R + f), t.ordinal && f.indexOf(_) === 0 && y.push(R + f.replace(_, this.options.pluralSeparator)), p && y.push(R + x));
6554
6562
  }
6555
6563
  }
6556
6564
  let V;
6557
- for (; V = b.pop(); )
6558
- this.isValidLookup(n) || (o = V, n = this.getResource(y, m, V, t));
6565
+ for (; V = y.pop(); )
6566
+ this.isValidLookup(n) || (o = V, n = this.getResource(b, m, V, t));
6559
6567
  }));
6560
6568
  });
6561
6569
  }), {
@@ -6600,15 +6608,15 @@ class E1 extends A1 {
6600
6608
  const V1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
6601
6609
  class r2 {
6602
6610
  constructor(e) {
6603
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = X.create("languageUtils");
6611
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = e1.create("languageUtils");
6604
6612
  }
6605
6613
  getScriptPartFromCode(e) {
6606
- if (e = y1(e), !e || e.indexOf("-") < 0) return null;
6614
+ if (e = b1(e), !e || e.indexOf("-") < 0) return null;
6607
6615
  const t = e.split("-");
6608
6616
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
6609
6617
  }
6610
6618
  getLanguagePartFromCode(e) {
6611
- if (e = y1(e), !e || e.indexOf("-") < 0) return e;
6619
+ if (e = b1(e), !e || e.indexOf("-") < 0) return e;
6612
6620
  const t = e.split("-");
6613
6621
  return this.formatLanguageCode(t[0]);
6614
6622
  }
@@ -6663,7 +6671,7 @@ class r2 {
6663
6671
  }), s;
6664
6672
  }
6665
6673
  }
6666
- let k7 = [{
6674
+ let v7 = [{
6667
6675
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
6668
6676
  nr: [1, 2],
6669
6677
  fc: 1
@@ -6755,7 +6763,7 @@ let k7 = [{
6755
6763
  lngs: ["he", "iw"],
6756
6764
  nr: [1, 2, 20, 21],
6757
6765
  fc: 22
6758
- }], v7 = {
6766
+ }], N7 = {
6759
6767
  1: (i) => +(i > 1),
6760
6768
  2: (i) => +(i != 1),
6761
6769
  3: (i) => 0,
@@ -6779,28 +6787,28 @@ let k7 = [{
6779
6787
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
6780
6788
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
6781
6789
  };
6782
- const N7 = ["v1", "v2", "v3"], R7 = ["v4"], o2 = {
6790
+ const R7 = ["v1", "v2", "v3"], x7 = ["v4"], o2 = {
6783
6791
  zero: 0,
6784
6792
  one: 1,
6785
6793
  two: 2,
6786
6794
  few: 3,
6787
6795
  many: 4,
6788
6796
  other: 5
6789
- }, x7 = () => {
6797
+ }, _7 = () => {
6790
6798
  const i = {};
6791
- return k7.forEach((e) => {
6799
+ return v7.forEach((e) => {
6792
6800
  e.lngs.forEach((t) => {
6793
6801
  i[t] = {
6794
6802
  numbers: e.nr,
6795
- plurals: v7[e.fc]
6803
+ plurals: N7[e.fc]
6796
6804
  };
6797
6805
  });
6798
6806
  }), i;
6799
6807
  };
6800
- class _7 {
6808
+ class M7 {
6801
6809
  constructor(e) {
6802
6810
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6803
- this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON || R7.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 = x7(), this.pluralRulesCache = {};
6811
+ this.languageUtils = e, this.options = t, this.logger = e1.create("pluralResolver"), (!this.options.compatibilityJSON || x7.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 = _7(), this.pluralRulesCache = {};
6804
6812
  }
6805
6813
  addRule(e, t) {
6806
6814
  this.rules[e] = t;
@@ -6811,7 +6819,7 @@ class _7 {
6811
6819
  getRule(e) {
6812
6820
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6813
6821
  if (this.shouldUseIntlApi()) {
6814
- const n = y1(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
6822
+ const n = b1(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
6815
6823
  cleanedCode: n,
6816
6824
  type: s
6817
6825
  });
@@ -6858,17 +6866,17 @@ class _7 {
6858
6866
  return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
6859
6867
  }
6860
6868
  shouldUseIntlApi() {
6861
- return !N7.includes(this.options.compatibilityJSON);
6869
+ return !R7.includes(this.options.compatibilityJSON);
6862
6870
  }
6863
6871
  }
6864
6872
  const a2 = function(i, e, t) {
6865
- let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = g7(i, e, t);
6873
+ let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = C7(i, e, t);
6866
6874
  return !o && s && M(t) && (o = D1(i, t, n), o === void 0 && (o = D1(e, t, n))), o;
6867
6875
  }, O1 = (i) => i.replace(/\$/g, "$$$$");
6868
- class M7 {
6876
+ class b7 {
6869
6877
  constructor() {
6870
6878
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6871
- this.logger = X.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
6879
+ this.logger = e1.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
6872
6880
  }
6873
6881
  init() {
6874
6882
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -6891,10 +6899,10 @@ class M7 {
6891
6899
  nestingSuffix: w,
6892
6900
  nestingSuffixEscaped: L,
6893
6901
  nestingOptionsSeparator: m,
6894
- maxReplaces: y,
6895
- alwaysFormat: b
6902
+ maxReplaces: b,
6903
+ alwaysFormat: y
6896
6904
  } = e.interpolation;
6897
- this.escape = t !== void 0 ? t : u7, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = o ? d1(o) : h || "{{", this.suffix = d ? d1(d) : l || "}}", this.formatSeparator = a || ",", this.unescapePrefix = c ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = g ? d1(g) : p || d1("$t("), this.nestingSuffix = w ? d1(w) : L || d1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
6905
+ this.escape = t !== void 0 ? t : p7, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = o ? d1(o) : h || "{{", this.suffix = d ? d1(d) : l || "}}", this.formatSeparator = a || ",", this.unescapePrefix = c ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = g ? d1(g) : p || d1("$t("), this.nestingSuffix = w ? d1(w) : L || d1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
6898
6906
  }
6899
6907
  reset() {
6900
6908
  this.options && this.init(this.options);
@@ -6907,12 +6915,12 @@ class M7 {
6907
6915
  let o, h, d;
6908
6916
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, a = (p) => {
6909
6917
  if (p.indexOf(this.formatSeparator) < 0) {
6910
- const y = a2(t, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
6911
- return this.alwaysFormat ? this.format(y, void 0, n, {
6918
+ const b = a2(t, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
6919
+ return this.alwaysFormat ? this.format(b, void 0, n, {
6912
6920
  ...s,
6913
6921
  ...t,
6914
6922
  interpolationkey: p
6915
- }) : y;
6923
+ }) : b;
6916
6924
  }
6917
6925
  const w = p.split(this.formatSeparator), L = w.shift().trim(), m = w.join(this.formatSeparator).trim();
6918
6926
  return this.format(a2(t, l, L, this.options.keySeparator, this.options.ignoreJSONStructure), m, n, {
@@ -7017,13 +7025,13 @@ const y7 = (i) => {
7017
7025
  });
7018
7026
  const h = n + JSON.stringify(o);
7019
7027
  let d = e[h];
7020
- return d || (d = i(y1(n), s), e[h] = d), d(t);
7028
+ return d || (d = i(b1(n), s), e[h] = d), d(t);
7021
7029
  };
7022
7030
  };
7023
- class b7 {
7031
+ class E7 {
7024
7032
  constructor() {
7025
7033
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7026
- this.logger = X.create("formatter"), this.options = e, this.formats = {
7034
+ this.logger = e1.create("formatter"), this.options = e, this.formats = {
7027
7035
  number: g1((t, n) => {
7028
7036
  const s = new Intl.NumberFormat(t, {
7029
7037
  ...n
@@ -7100,13 +7108,13 @@ class b7 {
7100
7108
  }, e);
7101
7109
  }
7102
7110
  }
7103
- const E7 = (i, e) => {
7111
+ const H7 = (i, e) => {
7104
7112
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
7105
7113
  };
7106
- class H7 extends A1 {
7114
+ class I7 extends I1 {
7107
7115
  constructor(e, t, n) {
7108
7116
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
7109
- super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = X.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(n, s.backend, s);
7117
+ super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = e1.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(n, s.backend, s);
7110
7118
  }
7111
7119
  queueLoad(e, t, n, s) {
7112
7120
  const o = {}, h = {}, d = {}, l = {};
@@ -7136,7 +7144,7 @@ class H7 extends A1 {
7136
7144
  }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
7137
7145
  const d = {};
7138
7146
  this.queue.forEach((l) => {
7139
- d7(l.loaded, [o], h), E7(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((a) => {
7147
+ g7(l.loaded, [o], h), H7(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((a) => {
7140
7148
  d[a] || (d[a] = {});
7141
7149
  const c = l.loaded[a];
7142
7150
  c.length && c.forEach((u) => {
@@ -7300,10 +7308,10 @@ const l2 = () => ({
7300
7308
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
7301
7309
  });
7302
7310
  };
7303
- class k1 extends A1 {
7311
+ class k1 extends I1 {
7304
7312
  constructor() {
7305
7313
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
7306
- if (super(), this.options = c2(e), this.services = {}, this.logger = X, this.modules = {
7314
+ if (super(), this.options = c2(e), this.services = {}, this.logger = e1, this.modules = {
7307
7315
  external: []
7308
7316
  }, A7(this), t && !this.isInitialized && !e.isClone) {
7309
7317
  if (!this.options.initImmediate)
@@ -7328,19 +7336,19 @@ class k1 extends A1 {
7328
7336
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
7329
7337
  const o = (c) => c ? typeof c == "function" ? new c() : c : null;
7330
7338
  if (!this.options.isClone) {
7331
- this.modules.logger ? X.init(o(this.modules.logger), this.options) : X.init(null, this.options);
7339
+ this.modules.logger ? e1.init(o(this.modules.logger), this.options) : e1.init(null, this.options);
7332
7340
  let c;
7333
- this.modules.formatter ? c = this.modules.formatter : typeof Intl < "u" && (c = b7);
7341
+ this.modules.formatter ? c = this.modules.formatter : typeof Intl < "u" && (c = E7);
7334
7342
  const u = new r2(this.options);
7335
7343
  this.store = new n2(this.options.resources, this.options);
7336
7344
  const g = this.services;
7337
- g.logger = X, g.resourceStore = this.store, g.languageUtils = u, g.pluralResolver = new _7(u, {
7345
+ g.logger = e1, g.resourceStore = this.store, g.languageUtils = u, g.pluralResolver = new M7(u, {
7338
7346
  prepend: this.options.pluralSeparator,
7339
7347
  compatibilityJSON: this.options.compatibilityJSON,
7340
7348
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
7341
- }), c && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (g.formatter = o(c), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new M7(this.options), g.utils = {
7349
+ }), c && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (g.formatter = o(c), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new b7(this.options), g.utils = {
7342
7350
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
7343
- }, g.backendConnector = new H7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
7351
+ }, g.backendConnector = new I7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
7344
7352
  for (var w = arguments.length, L = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7345
7353
  L[m - 1] = arguments[m];
7346
7354
  e.emit(p, ...L);
@@ -7400,7 +7408,7 @@ class k1 extends A1 {
7400
7408
  use(e) {
7401
7409
  if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
7402
7410
  if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
7403
- 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" && L2.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
7411
+ 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" && k2.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
7404
7412
  }
7405
7413
  setResolvedLanguage(e) {
7406
7414
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -7554,26 +7562,26 @@ U.setDefaultNamespace;
7554
7562
  U.hasLoadedNamespace;
7555
7563
  U.loadNamespaces;
7556
7564
  U.loadLanguages;
7557
- const I7 = "Archived", V7 = "Deleted", O7 = {
7558
- archived: I7,
7559
- deleted: V7
7560
- }, G7 = "Заархивирован", S7 = "Удалён", Z7 = {
7561
- archived: G7,
7562
- deleted: S7
7565
+ const V7 = "Archived", O7 = "Deleted", G7 = {
7566
+ archived: V7,
7567
+ deleted: O7
7568
+ }, S7 = "Заархивирован", Z7 = "Удалён", T7 = {
7569
+ archived: S7,
7570
+ deleted: Z7
7563
7571
  };
7564
- U.use(n7).init({
7572
+ U.use(s7).init({
7565
7573
  defaultNS: "common",
7566
7574
  lng: "en",
7567
7575
  resources: {
7568
7576
  en: {
7569
- common: O7
7577
+ common: G7
7570
7578
  },
7571
7579
  ru: {
7572
- common: Z7
7580
+ common: T7
7573
7581
  }
7574
7582
  }
7575
7583
  });
7576
- const $7 = r1(
7584
+ const j7 = o1(
7577
7585
  ({
7578
7586
  fetchParams: i,
7579
7587
  mode: e = void 0,
@@ -7588,45 +7596,46 @@ const $7 = r1(
7588
7596
  required: c,
7589
7597
  error: u
7590
7598
  }, g) => {
7591
- const { axiosPeople: p, locale: w } = o1(H2), { t: L } = l7("common", { lng: w }), [m, y] = S([]), [b, V] = S(!0), f = J(m), x = J(null);
7599
+ const { axiosPeople: p, locale: w } = a1(I2), { t: L } = c7("common", { lng: w }), [m, b] = S([]), [y, V] = S(!0), f = J(m), x = J(null);
7592
7600
  if (C1(g, () => x.current), !p)
7593
7601
  throw new Error(
7594
7602
  `UserSelect requires "axiosPeople" to fetch users.
7595
7603
  Please provide it via SNMTUiContext.`
7596
7604
  );
7597
7605
  const _ = $(
7598
- (H) => {
7599
- let T = "";
7600
- return H.deletedAt && (T += `[${L("deleted")}] `), H.status === _1.ARCHIVED && (T += `[${L("archived")}] `), `${T}${H.firstName} ${H.lastName}`;
7606
+ (I) => {
7607
+ let D = "";
7608
+ return I.deletedAt && (D += `[${L("deleted")}] `), I.status === _1.ARCHIVED && (D += `[${L("archived")}] `), `${D}${I.firstName} ${I.lastName}`;
7601
7609
  },
7602
7610
  [L]
7603
7611
  ), R = $(
7604
7612
  async ({
7605
- offset: H,
7606
- limit: T,
7613
+ offset: I,
7614
+ limit: D,
7607
7615
  search: A
7608
7616
  }) => {
7609
- var O, Z, B;
7617
+ var O, Z, Y;
7610
7618
  try {
7611
7619
  const W = await p.post("v1/users/search", {
7612
- offset: H,
7613
- limit: T,
7620
+ offset: I,
7621
+ limit: D,
7614
7622
  search: A,
7615
7623
  ...i,
7616
7624
  includeCount: !0
7617
- }), { data: I, metadata: P } = W.data;
7625
+ }), { data: H, metadata: P } = W.data;
7618
7626
  return {
7619
- options: I.map((Y) => ({
7620
- value: Y.id,
7621
- label: _(Y),
7622
- image: l ? Y.avatarUrl : void 0
7627
+ options: H.map((T) => ({
7628
+ value: T.id,
7629
+ label: _(T),
7630
+ image: l ? T.avatarUrl : void 0,
7631
+ imageFallbackText: T.avatarUrl ? "" : h2(`${T.firstName} ${T.lastName}`)
7623
7632
  })),
7624
7633
  count: P.count
7625
7634
  };
7626
7635
  } catch (W) {
7627
7636
  return h && h({
7628
7637
  status: ((O = W.response) == null ? void 0 : O.status) ?? 500,
7629
- message: ((B = (Z = W.response) == null ? void 0 : Z.data) == null ? void 0 : B.message) ?? "Error while fetching options"
7638
+ message: ((Y = (Z = W.response) == null ? void 0 : Z.data) == null ? void 0 : Y.message) ?? "Error while fetching options"
7630
7639
  }), {
7631
7640
  options: [],
7632
7641
  count: 0
@@ -7635,71 +7644,72 @@ const $7 = r1(
7635
7644
  },
7636
7645
  [p, i, _, l, h]
7637
7646
  ), j = $(
7638
- async (H) => {
7639
- var T, A, O;
7647
+ async (I) => {
7648
+ var D, A, O;
7640
7649
  try {
7641
- const Z = H.filter(
7642
- (I) => !f.current.some((P) => P.value === I)
7650
+ const Z = I.filter(
7651
+ (H) => !f.current.some((P) => P.value === H)
7643
7652
  );
7644
- let B = [];
7645
- Z.length && (B = (await p.post("v1/users/search", {
7653
+ let Y = [];
7654
+ Z.length && (Y = (await p.post("v1/users/search", {
7646
7655
  filters: {
7647
7656
  id: Z,
7648
7657
  status: [_1.ACTIVE, _1.ARCHIVED]
7649
7658
  }
7650
7659
  })).data.data);
7651
- const W = B.map((I) => ({
7652
- value: I.id,
7653
- label: _(I),
7654
- image: l ? I.avatarUrl : void 0
7660
+ const W = Y.map((H) => ({
7661
+ value: H.id,
7662
+ label: _(H),
7663
+ image: l ? H.avatarUrl : void 0,
7664
+ imageFallbackText: H.avatarUrl ? "" : h2(`${H.firstName} ${H.lastName}`)
7655
7665
  }));
7656
7666
  return [...f.current, ...W];
7657
7667
  } catch (Z) {
7658
7668
  return h && h({
7659
- status: ((T = Z.response) == null ? void 0 : T.status) ?? 500,
7669
+ status: ((D = Z.response) == null ? void 0 : D.status) ?? 500,
7660
7670
  message: ((O = (A = Z.response) == null ? void 0 : A.data) == null ? void 0 : O.message) ?? "Error while fetching selected items"
7661
7671
  }), [];
7662
7672
  }
7663
7673
  },
7664
7674
  [p, _, h, l]
7665
7675
  );
7666
- K(() => {
7676
+ B(() => {
7667
7677
  f.current = m;
7668
- }, [m]), K(() => {
7669
- var H;
7670
- (H = x.current) == null || H.refetchOptions();
7671
- }, [i]), K(() => {
7678
+ }, [m]), B(() => {
7679
+ var I;
7680
+ (I = x.current) == null || I.refetchOptions();
7681
+ }, [i]), B(() => {
7672
7682
  if (!s) {
7673
7683
  V(!1);
7674
7684
  return;
7675
7685
  }
7676
7686
  (async () => {
7677
- const T = Array.isArray(s) ? s : [s], A = await j(T);
7678
- y(A), V(!1);
7687
+ const D = Array.isArray(s) ? s : [s], A = await j(D);
7688
+ b(A), V(!1);
7679
7689
  })();
7680
7690
  }, [j, s]);
7681
7691
  const q = $(
7682
7692
  async ({
7683
- limit: H,
7684
- offset: T,
7693
+ limit: I,
7694
+ offset: D,
7685
7695
  search: A
7686
7696
  }) => {
7687
7697
  const { count: O, ...Z } = await R({
7688
- offset: T,
7689
- limit: H,
7698
+ offset: D,
7699
+ limit: I,
7690
7700
  search: A
7691
7701
  });
7692
- let B = Z.options;
7693
- return d && T === 0 && (B = [{ value: null, label: "None" }, ...B]), {
7694
- options: B,
7702
+ let Y = Z.options;
7703
+ return d && D === 0 && (Y = [{ value: null, label: "None" }, ...Y]), {
7704
+ options: Y,
7695
7705
  count: O,
7696
- limit: H
7706
+ limit: I
7697
7707
  };
7698
7708
  },
7699
7709
  [d, R]
7700
7710
  );
7701
- if (b)
7702
- return /* @__PURE__ */ r($t, {});
7711
+ if (y)
7712
+ return /* @__PURE__ */ r(jt, {});
7703
7713
  const F = {
7704
7714
  ref: x,
7705
7715
  placeholder: t,
@@ -7732,7 +7742,15 @@ const $7 = r1(
7732
7742
  }
7733
7743
  );
7734
7744
  }
7735
- );
7745
+ ), h2 = (i) => {
7746
+ var t, n, s, o;
7747
+ let e = "";
7748
+ if (i) {
7749
+ const h = i.trim().split(" ").filter(Boolean), d = ((n = (t = h[0]) == null ? void 0 : t[0]) == null ? void 0 : n.toUpperCase()) ?? "", l = ((o = (s = h[1]) == null ? void 0 : s[0]) == null ? void 0 : o.toUpperCase()) ?? "";
7750
+ e = `${d}${l}`;
7751
+ }
7752
+ return e;
7753
+ };
7736
7754
  export {
7737
- $7 as UserSelect
7755
+ j7 as UserSelect
7738
7756
  };