@snmt-react-ui/country-select 2.8.8 → 2.8.10

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,24 +1,24 @@
1
1
  var C2 = Object.defineProperty;
2
2
  var g2 = (i, e, t) => e in i ? C2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var V1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
3
+ var A1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
- import { jsx as r, Fragment as W, jsxs as u } from "react/jsx-runtime";
5
+ import { jsx as r, Fragment as U, jsxs as u } from "react/jsx-runtime";
6
6
  import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
7
- import { Select as f2, Tag as p2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as J1, Popover as k2 } from "antd";
8
- import { forwardRef as w1, useState as I, useRef as J, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as Q1 } from "react";
7
+ import { Select as p2, Tag as f2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as y1, Popover as k2 } from "antd";
8
+ import { forwardRef as h1, useState as I, useRef as W, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as H1 } from "react";
9
9
  var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, R2 = (i, e, t) => N2(i, e + "", t), x2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
- function M2() {
10
+ function _2() {
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
- U(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
14
+ z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
- const I1 = {};
17
+ const Z1 = {};
18
18
  function x1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- U(e[0]) && I1[e[0]] || (U(e[0]) && (I1[e[0]] = /* @__PURE__ */ new Date()), M2(...e));
21
+ z(e[0]) && Z1[e[0]] || (z(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), _2(...e));
22
22
  }
23
23
  const q1 = (i, e) => () => {
24
24
  if (i.isInitialized)
@@ -31,21 +31,21 @@ const q1 = (i, e) => () => {
31
31
  };
32
32
  i.on("initialized", t);
33
33
  }
34
- }, A1 = (i, e, t) => {
34
+ }, O1 = (i, e, t) => {
35
35
  i.loadNamespaces(e, q1(i, t));
36
- }, Z1 = (i, e, t, s) => {
37
- U(t) && (t = [t]), t.forEach((n) => {
36
+ }, S1 = (i, e, t, s) => {
37
+ z(t) && (t = [t]), t.forEach((n) => {
38
38
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
39
39
  }), i.loadLanguages(e, q1(i, s));
40
- }, _2 = function(i, e) {
40
+ }, M2 = function(i, e) {
41
41
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
42
42
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
43
43
  if (s.toLowerCase() === "cimode") return !0;
44
- const h = (a, C) => {
44
+ const c = (a, C) => {
45
45
  const d = e.services.backendConnector.state[`${a}|${C}`];
46
46
  return d === -1 || d === 2;
47
47
  };
48
- return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
48
+ return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
49
49
  }, b2 = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (x1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
@@ -53,8 +53,8 @@ const q1 = (i, e) => () => {
53
53
  precheck: (s, n) => {
54
54
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
55
55
  }
56
- }) : _2(i, e, t);
57
- }, U = (i) => typeof i == "string", y2 = (i) => typeof i == "object" && i !== null, H2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, E2 = {
56
+ }) : M2(i, e, t);
57
+ }, z = (i) => typeof i == "string", y2 = (i) => typeof i == "object" && i !== null, H2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, E2 = {
58
58
  "&amp;": "&",
59
59
  "&#38;": "&",
60
60
  "&lt;": "<",
@@ -100,7 +100,7 @@ class G2 {
100
100
  }
101
101
  }
102
102
  const T2 = (i, e) => {
103
- const t = J();
103
+ const t = W();
104
104
  return A(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
@@ -114,47 +114,47 @@ const T2 = (i, e) => {
114
114
  } = Q(D2) || {}, o = t || s || S2();
115
115
  if (o && !o.reportNamespaces && (o.reportNamespaces = new G2()), !o) {
116
116
  x1("You will need to pass in an i18next instance by using initReactI18next");
117
- const p = (R, x) => U(x) ? x : y2(x) && U(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
118
- return _.t = p, _.i18n = {}, _.ready = !1, _;
117
+ const m = (R, x) => z(x) ? x : y2(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [m, {}, !1];
118
+ return M.t = m, M.i18n = {}, M.ready = !1, M;
119
119
  }
120
120
  o.options.react && o.options.react.wait !== void 0 && x1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
- const h = {
121
+ const c = {
122
122
  ...Z2(),
123
123
  ...o.options.react,
124
124
  ...e
125
125
  }, {
126
126
  useSuspense: a,
127
127
  keyPrefix: C
128
- } = h;
128
+ } = c;
129
129
  let d = i;
130
- d = U(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
131
- const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => b2(p, o, h)), c = K2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => X1(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
132
- let m = d.join();
133
- e.lng && (m = `${e.lng}${m}`);
134
- const y = T2(m), b = J(!0);
130
+ d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
131
+ const l = (o.isInitialized || o.initializedStoreOnce) && d.every((m) => b2(m, o, c)), h = K2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => X1(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = I(g);
132
+ let f = d.join();
133
+ e.lng && (f = `${e.lng}${f}`);
134
+ const y = T2(f), b = W(!0);
135
135
  A(() => {
136
136
  const {
137
- bindI18n: p,
138
- bindI18nStore: _
139
- } = h;
140
- b.current = !0, !l && !a && (e.lng ? Z1(o, e.lng, d, () => {
141
- b.current && N(f);
142
- }) : A1(o, d, () => {
143
- b.current && N(f);
144
- })), l && y && y !== m && b.current && N(f);
137
+ bindI18n: m,
138
+ bindI18nStore: M
139
+ } = c;
140
+ b.current = !0, !l && !a && (e.lng ? S1(o, e.lng, d, () => {
141
+ b.current && v(p);
142
+ }) : O1(o, d, () => {
143
+ b.current && v(p);
144
+ })), l && y && y !== f && b.current && v(p);
145
145
  const R = () => {
146
- b.current && N(f);
146
+ b.current && v(p);
147
147
  };
148
- return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
149
- b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
148
+ return m && o && o.on(m, R), M && o && o.store.on(M, R), () => {
149
+ b.current = !1, m && o && m.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
150
150
  };
151
- }, [o, m]), A(() => {
152
- b.current && l && N(g);
151
+ }, [o, f]), A(() => {
152
+ b.current && l && v(g);
153
153
  }, [o, C, l]);
154
154
  const E = [k, o, l];
155
155
  if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
156
- throw new Promise((p) => {
157
- e.lng ? Z1(o, e.lng, d, () => p()) : A1(o, d, () => p());
156
+ throw new Promise((m) => {
157
+ e.lng ? S1(o, e.lng, d, () => m()) : O1(o, d, () => m());
158
158
  });
159
159
  }, r1 = ({
160
160
  children: i,
@@ -163,7 +163,7 @@ const T2 = (i, e) => {
163
163
  alignItems: s = "normal",
164
164
  justifyContent: n = "normal",
165
165
  flex: o,
166
- gap: h,
166
+ gap: c,
167
167
  padding: a
168
168
  }) => /* @__PURE__ */ r(
169
169
  m2,
@@ -174,11 +174,11 @@ const T2 = (i, e) => {
174
174
  align: s,
175
175
  justify: n,
176
176
  flex: o,
177
- gap: h,
177
+ gap: c,
178
178
  style: { padding: a },
179
179
  children: i
180
180
  }
181
- ), P2 = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
181
+ ), Y2 = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
182
182
  const n = typeof s.src == "string";
183
183
  return /* @__PURE__ */ r(
184
184
  L2,
@@ -192,36 +192,93 @@ const T2 = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
195
- var T = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(T || {});
196
- const y1 = t1({
195
+ var D = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(D || {});
196
+ const E1 = t1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
- y1.Provider;
201
- const Y2 = ({
200
+ E1.Provider;
201
+ const { Title: P2, Text: j2 } = y1, $2 = {
202
+ h1: 1,
203
+ h2: 2,
204
+ h3: 3,
205
+ h4: 4
206
+ }, F2 = h1(
207
+ ({
208
+ align: i = "inherit",
209
+ variant: e = "body1",
210
+ color: t,
211
+ children: s,
212
+ onClick: n,
213
+ collapsed: o,
214
+ whiteSpace: c = "normal",
215
+ /** This prop allows you to enable tooltip if text size is too big */
216
+ trim: a = !1
217
+ }, C) => {
218
+ const d = W(null);
219
+ H1(C, () => d.current);
220
+ const [l, h] = I(!1);
221
+ A(() => {
222
+ var v;
223
+ if (!a) return;
224
+ const f = () => {
225
+ d.current && h(d.current.scrollWidth > d.current.clientWidth);
226
+ };
227
+ f();
228
+ const y = new ResizeObserver(f);
229
+ return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
230
+ y.disconnect();
231
+ };
232
+ }, [a]);
233
+ const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
234
+ let p = `snmt-typography snmt-typography-${e}`;
235
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
236
+ const k = {
237
+ className: p,
238
+ style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
239
+ onClick: n,
240
+ ref: d,
241
+ ellipsis: a && l ? {
242
+ tooltip: {
243
+ title: s,
244
+ overlayClassName: "snmt-tooltip"
245
+ }
246
+ } : void 0
247
+ };
248
+ return g ? /* @__PURE__ */ r(P2, { level: $2[e], ...k, children: s }) : /* @__PURE__ */ r(j2, { ...k, children: s });
249
+ }
250
+ ), W2 = ({
202
251
  checked: i = !0,
203
252
  indeterminate: e = !1,
204
253
  children: t,
205
- onChange: s,
206
- disabled: n = !1,
207
- disableUncheck: o = !1
254
+ label: s,
255
+ onChange: n,
256
+ disabled: o = !1,
257
+ disableUncheck: c = !1
208
258
  }) => {
209
- const [h, a] = I(i), [C, d] = I(e);
259
+ const [a, C] = I(i), [d, l] = I(e);
210
260
  A(() => {
211
- a(i), d(e);
261
+ C(i), l(e);
212
262
  }, [i, e]);
213
- const { theme: l } = Q(y1);
263
+ const { theme: h } = Q(E1);
214
264
  return /* @__PURE__ */ r(
215
265
  w2,
216
266
  {
217
- className: `snmt-checkbox snmt-checkbox-${l}`,
218
- checked: h,
219
- indeterminate: C,
220
- onChange: (c) => {
221
- o && h || (d(!1), a(c.target.checked), s && s(c));
267
+ className: `snmt-checkbox snmt-checkbox-${h}`,
268
+ checked: a,
269
+ indeterminate: d,
270
+ onChange: (g) => {
271
+ c && a || (l(!1), C(g.target.checked), n && n(g));
222
272
  },
223
- disabled: n,
224
- children: t
273
+ disabled: o,
274
+ children: t || s && /* @__PURE__ */ r(
275
+ F2,
276
+ {
277
+ variant: "body2",
278
+ color: o ? D.GREY_DARK_2 : D.GREY_DARK_5,
279
+ children: s
280
+ }
281
+ )
225
282
  }
226
283
  );
227
284
  };
@@ -231,7 +288,7 @@ const e2 = t1({
231
288
  theme: "light"
232
289
  });
233
290
  e2.Provider;
234
- const j2 = ({
291
+ const U2 = ({
235
292
  width: i = 20,
236
293
  height: e = 20,
237
294
  color: t = "#001E52",
@@ -258,7 +315,7 @@ const j2 = ({
258
315
  }
259
316
  )
260
317
  }
261
- ), $2 = ({
318
+ ), z2 = ({
262
319
  width: i = 20,
263
320
  height: e = 20,
264
321
  color: t = w.GREY_DARK_5,
@@ -298,7 +355,7 @@ const j2 = ({
298
355
  )
299
356
  ]
300
357
  }
301
- ), F2 = ({
358
+ ), J2 = ({
302
359
  width: i = 20,
303
360
  height: e = 20,
304
361
  color: t = "#001E52",
@@ -333,7 +390,109 @@ const j2 = ({
333
390
  )
334
391
  ]
335
392
  }
336
- ), W2 = ({
393
+ ), Q2 = ({
394
+ width: i = 20,
395
+ height: e = 20,
396
+ color: t = w.GREY_DARK_5,
397
+ className: s,
398
+ onClick: n
399
+ }) => /* @__PURE__ */ u(
400
+ "svg",
401
+ {
402
+ width: i,
403
+ height: e,
404
+ className: s,
405
+ onClick: n,
406
+ viewBox: "0 0 25 25",
407
+ fill: "none",
408
+ xmlns: "http://www.w3.org/2000/svg",
409
+ children: [
410
+ /* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
411
+ "path",
412
+ {
413
+ d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
414
+ fill: t
415
+ }
416
+ ) }),
417
+ /* @__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)" }) }) })
418
+ ]
419
+ }
420
+ ), q2 = ({
421
+ width: i = 20,
422
+ height: e = 20,
423
+ color: t = w.GREY_DARK_5,
424
+ className: s,
425
+ onClick: n
426
+ }) => /* @__PURE__ */ r(
427
+ "svg",
428
+ {
429
+ width: i,
430
+ height: e,
431
+ className: s,
432
+ onClick: n,
433
+ viewBox: "0 0 25 25",
434
+ fill: "none",
435
+ xmlns: "http://www.w3.org/2000/svg",
436
+ children: /* @__PURE__ */ r(
437
+ "path",
438
+ {
439
+ d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
440
+ fill: t
441
+ }
442
+ )
443
+ }
444
+ ), X2 = ({
445
+ width: i = 20,
446
+ height: e = 20,
447
+ color: t = w.GREY_DARK_5,
448
+ className: s,
449
+ onClick: n
450
+ }) => /* @__PURE__ */ u(
451
+ "svg",
452
+ {
453
+ width: i,
454
+ height: e,
455
+ className: s,
456
+ onClick: n,
457
+ viewBox: "0 0 25 25",
458
+ fill: "none",
459
+ xmlns: "http://www.w3.org/2000/svg",
460
+ children: [
461
+ /* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
462
+ "path",
463
+ {
464
+ d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
465
+ fill: t
466
+ }
467
+ ) }),
468
+ /* @__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)" }) }) })
469
+ ]
470
+ }
471
+ ), e5 = ({
472
+ width: i = 20,
473
+ height: e = 20,
474
+ color: t = w.GREY_DARK_5,
475
+ className: s,
476
+ onClick: n
477
+ }) => /* @__PURE__ */ r(
478
+ "svg",
479
+ {
480
+ width: i,
481
+ height: e,
482
+ className: s,
483
+ onClick: n,
484
+ viewBox: "0 0 25 25",
485
+ fill: "none",
486
+ xmlns: "http://www.w3.org/2000/svg",
487
+ children: /* @__PURE__ */ r(
488
+ "path",
489
+ {
490
+ d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
491
+ fill: t
492
+ }
493
+ )
494
+ }
495
+ ), t5 = ({
337
496
  width: i = 20,
338
497
  height: e = 20,
339
498
  color: t = w.GREY_DARK_5,
@@ -380,7 +539,7 @@ const j2 = ({
380
539
  )
381
540
  ]
382
541
  }
383
- ), U2 = ({
542
+ ), i5 = ({
384
543
  width: i = 20,
385
544
  height: e = 20,
386
545
  color: t = w.GREY_DARK_5,
@@ -404,7 +563,7 @@ const j2 = ({
404
563
  }
405
564
  )
406
565
  }
407
- ), z2 = ({
566
+ ), s5 = ({
408
567
  width: i = 20,
409
568
  height: e = 20,
410
569
  color: t = w.GREY_DARK_5,
@@ -428,7 +587,7 @@ const j2 = ({
428
587
  }
429
588
  )
430
589
  }
431
- ), J2 = ({
590
+ ), n5 = ({
432
591
  width: i = 20,
433
592
  height: e = 20,
434
593
  color: t = w.GREY_DARK_5,
@@ -452,7 +611,7 @@ const j2 = ({
452
611
  }
453
612
  )
454
613
  }
455
- ), Q2 = ({
614
+ ), r5 = ({
456
615
  width: i = 20,
457
616
  height: e = 20,
458
617
  color: t = w.GREY_DARK_5,
@@ -513,7 +672,7 @@ const j2 = ({
513
672
  )
514
673
  ]
515
674
  }
516
- ), q2 = ({
675
+ ), o5 = ({
517
676
  width: i = 20,
518
677
  height: e = 20,
519
678
  color: t = w.GREY_DARK_5,
@@ -560,7 +719,7 @@ const j2 = ({
560
719
  )
561
720
  ]
562
721
  }
563
- ), X2 = ({
722
+ ), a5 = ({
564
723
  width: i = 20,
565
724
  height: e = 20,
566
725
  color: t = w.GREY_DARK_5,
@@ -600,7 +759,7 @@ const j2 = ({
600
759
  )
601
760
  ]
602
761
  }
603
- ), e5 = ({
762
+ ), l5 = ({
604
763
  width: i = 20,
605
764
  height: e = 20,
606
765
  color: t = w.GREY_DARK_5,
@@ -640,7 +799,7 @@ const j2 = ({
640
799
  )
641
800
  ]
642
801
  }
643
- ), t5 = ({
802
+ ), h5 = ({
644
803
  width: i = 20,
645
804
  height: e = 20,
646
805
  color: t = w.GREY_DARK_5,
@@ -687,7 +846,7 @@ const j2 = ({
687
846
  )
688
847
  ]
689
848
  }
690
- ), i5 = ({
849
+ ), c5 = ({
691
850
  width: i = 20,
692
851
  height: e = 20,
693
852
  color: t = w.GREY_DARK_5,
@@ -734,7 +893,7 @@ const j2 = ({
734
893
  )
735
894
  ]
736
895
  }
737
- ), s5 = ({
896
+ ), d5 = ({
738
897
  width: i = 20,
739
898
  height: e = 20,
740
899
  color: t = w.GREY_DARK_5,
@@ -781,7 +940,7 @@ const j2 = ({
781
940
  )
782
941
  ]
783
942
  }
784
- ), n5 = ({
943
+ ), C5 = ({
785
944
  width: i = 20,
786
945
  height: e = 20,
787
946
  color: t = w.GREY_DARK_5,
@@ -821,7 +980,7 @@ const j2 = ({
821
980
  )
822
981
  ]
823
982
  }
824
- ), r5 = ({
983
+ ), g5 = ({
825
984
  width: i = 20,
826
985
  height: e = 20,
827
986
  color: t = w.GREY_DARK_5,
@@ -854,7 +1013,7 @@ const j2 = ({
854
1013
  )
855
1014
  ]
856
1015
  }
857
- ), o5 = ({
1016
+ ), u5 = ({
858
1017
  width: i = 20,
859
1018
  height: e = 20,
860
1019
  color: t = w.GREY_DARK_5,
@@ -887,7 +1046,7 @@ const j2 = ({
887
1046
  )
888
1047
  ]
889
1048
  }
890
- ), a5 = ({
1049
+ ), p5 = ({
891
1050
  width: i = 20,
892
1051
  height: e = 20,
893
1052
  color: t = w.GREY_DARK_5,
@@ -920,7 +1079,7 @@ const j2 = ({
920
1079
  )
921
1080
  ]
922
1081
  }
923
- ), l5 = ({
1082
+ ), f5 = ({
924
1083
  width: i = 20,
925
1084
  height: e = 20,
926
1085
  color: t = w.GREY_DARK_5,
@@ -953,7 +1112,7 @@ const j2 = ({
953
1112
  )
954
1113
  ]
955
1114
  }
956
- ), h5 = ({
1115
+ ), m5 = ({
957
1116
  width: i = 20,
958
1117
  height: e = 20,
959
1118
  color: t = w.GREY_DARK_5,
@@ -993,7 +1152,7 @@ const j2 = ({
993
1152
  )
994
1153
  ]
995
1154
  }
996
- ), c5 = ({
1155
+ ), w5 = ({
997
1156
  width: i = 20,
998
1157
  height: e = 20,
999
1158
  color: t = w.GREY_DARK_5,
@@ -1026,7 +1185,7 @@ const j2 = ({
1026
1185
  )
1027
1186
  ]
1028
1187
  }
1029
- ), d5 = ({
1188
+ ), L5 = ({
1030
1189
  width: i = 20,
1031
1190
  height: e = 20,
1032
1191
  color: t = w.GREY_DARK_5,
@@ -1059,7 +1218,7 @@ const j2 = ({
1059
1218
  )
1060
1219
  ]
1061
1220
  }
1062
- ), C5 = ({
1221
+ ), k5 = ({
1063
1222
  width: i = 20,
1064
1223
  height: e = 20,
1065
1224
  color: t = "#070739",
@@ -1089,7 +1248,7 @@ const j2 = ({
1089
1248
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1090
1249
  ]
1091
1250
  }
1092
- ), g5 = ({
1251
+ ), v5 = ({
1093
1252
  width: i = 20,
1094
1253
  height: e = 20,
1095
1254
  color: t = "#070739",
@@ -1127,7 +1286,7 @@ const j2 = ({
1127
1286
  )
1128
1287
  ]
1129
1288
  }
1130
- ), u5 = ({
1289
+ ), N5 = ({
1131
1290
  width: i = 9,
1132
1291
  height: e = 5,
1133
1292
  color: t = "#001E52",
@@ -1153,7 +1312,7 @@ const j2 = ({
1153
1312
  }
1154
1313
  )
1155
1314
  }
1156
- ), f5 = ({
1315
+ ), R5 = ({
1157
1316
  width: i = 20,
1158
1317
  height: e = 20,
1159
1318
  color: t = "#F2F2F7",
@@ -1182,7 +1341,7 @@ const j2 = ({
1182
1341
  )
1183
1342
  ]
1184
1343
  }
1185
- ), p5 = ({
1344
+ ), x5 = ({
1186
1345
  width: i = 20,
1187
1346
  height: e = 20,
1188
1347
  color: t = "#004ED7",
@@ -1211,7 +1370,7 @@ const j2 = ({
1211
1370
  )
1212
1371
  ]
1213
1372
  }
1214
- ), m5 = ({
1373
+ ), _5 = ({
1215
1374
  width: i = 10,
1216
1375
  height: e = 10,
1217
1376
  color: t = "#001E52",
@@ -1240,7 +1399,7 @@ const j2 = ({
1240
1399
  )
1241
1400
  ]
1242
1401
  }
1243
- ), w5 = ({
1402
+ ), M5 = ({
1244
1403
  width: i = 10,
1245
1404
  height: e = 10,
1246
1405
  color: t = "#001E52",
@@ -1277,7 +1436,7 @@ const j2 = ({
1277
1436
  )
1278
1437
  ]
1279
1438
  }
1280
- ), L5 = ({
1439
+ ), b5 = ({
1281
1440
  className: i,
1282
1441
  color: e = w.GREY_DARK_5,
1283
1442
  height: t = 20,
@@ -1310,7 +1469,7 @@ const j2 = ({
1310
1469
  )
1311
1470
  ]
1312
1471
  }
1313
- ), k5 = ({
1472
+ ), y5 = ({
1314
1473
  className: i,
1315
1474
  color: e = w.GREY_DARK_5,
1316
1475
  height: t = 20,
@@ -1337,7 +1496,7 @@ const j2 = ({
1337
1496
  }
1338
1497
  )
1339
1498
  }
1340
- ), v5 = ({
1499
+ ), H5 = ({
1341
1500
  className: i,
1342
1501
  color: e = w.GREY_DARK_5,
1343
1502
  height: t = 20,
@@ -1364,7 +1523,7 @@ const j2 = ({
1364
1523
  }
1365
1524
  )
1366
1525
  }
1367
- ), N5 = ({
1526
+ ), E5 = ({
1368
1527
  className: i,
1369
1528
  color: e = w.GREY_DARK_5,
1370
1529
  height: t = 5,
@@ -1388,7 +1547,7 @@ const j2 = ({
1388
1547
  }
1389
1548
  )
1390
1549
  }
1391
- ), R5 = ({
1550
+ ), V5 = ({
1392
1551
  className: i,
1393
1552
  color: e = w.GREY_DARK_5,
1394
1553
  height: t = 5,
@@ -1413,7 +1572,7 @@ const j2 = ({
1413
1572
  }
1414
1573
  )
1415
1574
  }
1416
- ), x5 = ({
1575
+ ), I5 = ({
1417
1576
  className: i,
1418
1577
  color: e = w.GREY_DARK_5,
1419
1578
  height: t = 20,
@@ -1446,7 +1605,7 @@ const j2 = ({
1446
1605
  )
1447
1606
  ]
1448
1607
  }
1449
- ), M5 = ({
1608
+ ), A5 = ({
1450
1609
  className: i,
1451
1610
  color: e = w.GREY_DARK_5,
1452
1611
  height: t = 24,
@@ -1485,7 +1644,7 @@ const j2 = ({
1485
1644
  )
1486
1645
  ]
1487
1646
  }
1488
- ), _5 = ({
1647
+ ), Z5 = ({
1489
1648
  className: i,
1490
1649
  color: e = w.GREY_DARK_5,
1491
1650
  height: t = 24,
@@ -1512,7 +1671,7 @@ const j2 = ({
1512
1671
  }
1513
1672
  )
1514
1673
  }
1515
- ), b5 = ({
1674
+ ), O5 = ({
1516
1675
  className: i,
1517
1676
  color: e = w.GREY_DARK_5,
1518
1677
  height: t = 24,
@@ -1571,7 +1730,7 @@ const j2 = ({
1571
1730
  )
1572
1731
  ]
1573
1732
  }
1574
- ), y5 = ({
1733
+ ), S5 = ({
1575
1734
  className: i,
1576
1735
  color: e = w.GREY_DARK_5,
1577
1736
  height: t = 24,
@@ -1608,7 +1767,7 @@ const j2 = ({
1608
1767
  )
1609
1768
  ]
1610
1769
  }
1611
- ), H5 = ({
1770
+ ), D5 = ({
1612
1771
  className: i,
1613
1772
  color: e = w.GREY_DARK_3,
1614
1773
  height: t = 14,
@@ -1645,7 +1804,7 @@ const j2 = ({
1645
1804
  )
1646
1805
  ]
1647
1806
  }
1648
- ), E5 = ({
1807
+ ), G5 = ({
1649
1808
  className: i,
1650
1809
  color: e = w.GREY_DARK_5,
1651
1810
  height: t = 18,
@@ -1672,7 +1831,7 @@ const j2 = ({
1672
1831
  }
1673
1832
  )
1674
1833
  }
1675
- ), V5 = ({
1834
+ ), T5 = ({
1676
1835
  className: i,
1677
1836
  color: e = w.GREY_DARK_5,
1678
1837
  height: t = 24,
@@ -1724,7 +1883,7 @@ const j2 = ({
1724
1883
  )
1725
1884
  ]
1726
1885
  }
1727
- ), I5 = ({
1886
+ ), K5 = ({
1728
1887
  className: i,
1729
1888
  color: e = w.GREY_DARK_5,
1730
1889
  height: t = 24,
@@ -1761,7 +1920,7 @@ const j2 = ({
1761
1920
  )
1762
1921
  ]
1763
1922
  }
1764
- ), A5 = ({
1923
+ ), B5 = ({
1765
1924
  className: i,
1766
1925
  color: e = w.NOTIFICATION_WARNING_DARK,
1767
1926
  height: t = 37,
@@ -1800,7 +1959,7 @@ const j2 = ({
1800
1959
  )
1801
1960
  ]
1802
1961
  }
1803
- ), Z5 = ({
1962
+ ), Y5 = ({
1804
1963
  className: i,
1805
1964
  color: e = w.GREY_DARK_5,
1806
1965
  height: t = 24,
@@ -1826,7 +1985,7 @@ const j2 = ({
1826
1985
  }
1827
1986
  )
1828
1987
  }
1829
- ), O5 = ({
1988
+ ), P5 = ({
1830
1989
  className: i,
1831
1990
  color: e = w.GREY_DARK_5,
1832
1991
  height: t = 24,
@@ -1865,7 +2024,7 @@ const j2 = ({
1865
2024
  )
1866
2025
  ]
1867
2026
  }
1868
- ), S5 = ({
2027
+ ), j5 = ({
1869
2028
  className: i,
1870
2029
  color: e = w.GREY_DARK_5,
1871
2030
  height: t = 20,
@@ -1898,7 +2057,7 @@ const j2 = ({
1898
2057
  )
1899
2058
  ]
1900
2059
  }
1901
- ), D5 = ({
2060
+ ), $5 = ({
1902
2061
  className: i,
1903
2062
  color: e = w.GREY_DARK_5,
1904
2063
  height: t = 24,
@@ -1967,7 +2126,7 @@ const j2 = ({
1967
2126
  )
1968
2127
  ]
1969
2128
  }
1970
- ), G5 = ({
2129
+ ), F5 = ({
1971
2130
  className: i,
1972
2131
  color: e = w.GREY_DARK_5,
1973
2132
  height: t = 24,
@@ -2024,7 +2183,7 @@ const j2 = ({
2024
2183
  )
2025
2184
  ]
2026
2185
  }
2027
- ), T5 = ({
2186
+ ), W5 = ({
2028
2187
  className: i,
2029
2188
  color: e = w.GREY_DARK_5,
2030
2189
  height: t = 24,
@@ -2073,7 +2232,7 @@ const j2 = ({
2073
2232
  )
2074
2233
  ]
2075
2234
  }
2076
- ), K5 = ({
2235
+ ), U5 = ({
2077
2236
  className: i,
2078
2237
  color: e = w.GREY_DARK_5,
2079
2238
  height: t = 24,
@@ -2100,7 +2259,7 @@ const j2 = ({
2100
2259
  }
2101
2260
  )
2102
2261
  }
2103
- ), B5 = ({
2262
+ ), z5 = ({
2104
2263
  className: i,
2105
2264
  color: e = w.GREY_DARK_5,
2106
2265
  height: t = 20,
@@ -2129,7 +2288,7 @@ const j2 = ({
2129
2288
  )
2130
2289
  ]
2131
2290
  }
2132
- ), P5 = ({
2291
+ ), J5 = ({
2133
2292
  className: i,
2134
2293
  color: e = "#001E52",
2135
2294
  height: t = 24,
@@ -2155,7 +2314,7 @@ const j2 = ({
2155
2314
  }
2156
2315
  )
2157
2316
  }
2158
- ), Y5 = ({
2317
+ ), Q5 = ({
2159
2318
  className: i,
2160
2319
  color: e = "#001E52",
2161
2320
  height: t = 24,
@@ -2193,7 +2352,7 @@ const j2 = ({
2193
2352
  )
2194
2353
  ] }) })
2195
2354
  }
2196
- ), j5 = ({
2355
+ ), q5 = ({
2197
2356
  width: i = 20,
2198
2357
  height: e = 20,
2199
2358
  color: t = w.GREY_DARK_5,
@@ -2217,7 +2376,7 @@ const j2 = ({
2217
2376
  }
2218
2377
  )
2219
2378
  }
2220
- ), $5 = ({
2379
+ ), X5 = ({
2221
2380
  width: i = 24,
2222
2381
  height: e = 24,
2223
2382
  color: t = "#131314",
@@ -2250,7 +2409,7 @@ const j2 = ({
2250
2409
  )
2251
2410
  ]
2252
2411
  }
2253
- ), F5 = ({
2412
+ ), ee = ({
2254
2413
  width: i = 20,
2255
2414
  height: e = 20,
2256
2415
  color: t = w.GREY_DARK_5,
@@ -2283,7 +2442,7 @@ const j2 = ({
2283
2442
  )
2284
2443
  ]
2285
2444
  }
2286
- ), W5 = ({
2445
+ ), te = ({
2287
2446
  width: i = 24,
2288
2447
  height: e = 24,
2289
2448
  color: t = w.GREY_DARK_2,
@@ -2323,7 +2482,7 @@ const j2 = ({
2323
2482
  )
2324
2483
  ]
2325
2484
  }
2326
- ), U5 = ({
2485
+ ), ie = ({
2327
2486
  width: i = 24,
2328
2487
  height: e = 24,
2329
2488
  color: t = w.GREY_DARK_2,
@@ -2350,7 +2509,7 @@ const j2 = ({
2350
2509
  }
2351
2510
  )
2352
2511
  }
2353
- ), z5 = ({
2512
+ ), se = ({
2354
2513
  width: i = 24,
2355
2514
  height: e = 24,
2356
2515
  color: t = w.GREY_DARK_2,
@@ -2384,189 +2543,197 @@ const j2 = ({
2384
2543
  color: s,
2385
2544
  className: n,
2386
2545
  disabled: o = !1,
2387
- onClick: h
2546
+ onClick: c
2388
2547
  }) => {
2389
- const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, c = o ? void 0 : h;
2548
+ const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
2390
2549
  return A(() => {
2391
2550
  if (n) {
2392
- c && !o && C(`${n} clickable`);
2551
+ h && !o && C(`${n} clickable`);
2393
2552
  return;
2394
2553
  }
2395
- c && !o && C("clickable");
2396
- }, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
2554
+ h && !o && C("clickable");
2555
+ }, [h, n, o]), /* @__PURE__ */ r(U, { children: (() => {
2397
2556
  switch (i) {
2398
2557
  case "nextIcon":
2399
- return k5({ width: e, height: t, color: l, className: a, onClick: c });
2558
+ return y5({ width: e, height: t, color: l, className: a, onClick: h });
2400
2559
  case "prevIcon":
2401
- return v5({ width: e, height: t, color: l, className: a, onClick: c });
2560
+ return H5({ width: e, height: t, color: l, className: a, onClick: h });
2402
2561
  case "arrowDown":
2403
- return j2({ width: e, height: t, color: l, className: a, onClick: c });
2562
+ return U2({ width: e, height: t, color: l, className: a, onClick: h });
2404
2563
  case "info":
2405
- return $2({ width: e, height: t, color: l, className: a, onClick: c });
2564
+ return z2({ width: e, height: t, color: l, className: a, onClick: h });
2406
2565
  case "arrowRight":
2407
- return F2({ width: e, height: t, color: l, className: a, onClick: c });
2566
+ return J2({ width: e, height: t, color: l, className: a, onClick: h });
2408
2567
  case "calendar":
2409
- return W2({ width: e, height: t, color: l, className: a, onClick: c });
2568
+ return t5({ width: e, height: t, color: l, className: a, onClick: h });
2410
2569
  case "check":
2411
- return U2({ width: e, height: t, color: l, className: a, onClick: c });
2570
+ return i5({ width: e, height: t, color: l, className: a, onClick: h });
2412
2571
  case "cancel":
2413
- return z2({ width: e, height: t, color: l, className: a, onClick: c });
2572
+ return s5({ width: e, height: t, color: l, className: a, onClick: h });
2414
2573
  case "add":
2415
- return J2({ width: e, height: t, color: l, className: a, onClick: c });
2574
+ return n5({ width: e, height: t, color: l, className: a, onClick: h });
2416
2575
  case "list":
2417
- return Q2({ width: e, height: t, color: l, className: a, onClick: c });
2576
+ return r5({ width: e, height: t, color: l, className: a, onClick: h });
2418
2577
  case "dragAndDrop":
2419
- return q2({ width: e, height: t, color: l, className: a, onClick: c });
2578
+ return o5({ width: e, height: t, color: l, className: a, onClick: h });
2420
2579
  case "filter":
2421
- return X2({ width: e, height: t, color: l, className: a, onClick: c });
2580
+ return a5({ width: e, height: t, color: l, className: a, onClick: h });
2422
2581
  case "attention":
2423
- return e5({ width: e, height: t, color: l, className: a, onClick: c });
2582
+ return l5({ width: e, height: t, color: l, className: a, onClick: h });
2424
2583
  case "users":
2425
- return t5({ width: e, height: t, color: l, className: a, onClick: c });
2584
+ return h5({ width: e, height: t, color: l, className: a, onClick: h });
2426
2585
  case "mySkillsMatrix":
2427
- return i5({
2586
+ return c5({
2428
2587
  width: e,
2429
2588
  height: t,
2430
2589
  color: l,
2431
2590
  className: a,
2432
- onClick: c
2591
+ onClick: h
2433
2592
  });
2434
2593
  case "skills":
2435
- return s5({ width: e, height: t, color: l, className: a, onClick: c });
2594
+ return d5({ width: e, height: t, color: l, className: a, onClick: h });
2436
2595
  case "skillsMatrices":
2437
- return n5({
2596
+ return C5({
2438
2597
  width: e,
2439
2598
  height: t,
2440
2599
  color: l,
2441
2600
  className: a,
2442
- onClick: c
2601
+ onClick: h
2443
2602
  });
2444
2603
  case "history":
2445
- return r5({ width: e, height: t, color: l, className: a, onClick: c });
2604
+ return g5({ width: e, height: t, color: l, className: a, onClick: h });
2446
2605
  case "logOut":
2447
- return o5({ width: e, height: t, color: l, className: a, onClick: c });
2606
+ return u5({ width: e, height: t, color: l, className: a, onClick: h });
2448
2607
  case "settings":
2449
- return a5({ width: e, height: t, color: l, className: a, onClick: c });
2608
+ return p5({ width: e, height: t, color: l, className: a, onClick: h });
2450
2609
  case "trash":
2451
- return l5({ width: e, height: t, color: l, className: a, onClick: c });
2610
+ return f5({ width: e, height: t, color: l, className: a, onClick: h });
2452
2611
  case "settings2":
2453
- return h5({ width: e, height: t, color: l, className: a, onClick: c });
2612
+ return m5({ width: e, height: t, color: l, className: a, onClick: h });
2454
2613
  case "checkCircle":
2455
- return c5({ width: e, height: t, color: l, className: a, onClick: c });
2614
+ return w5({ width: e, height: t, color: l, className: a, onClick: h });
2456
2615
  case "cancelCircle":
2457
- return d5({ width: e, height: t, color: l, className: a, onClick: c });
2616
+ return L5({ width: e, height: t, color: l, className: a, onClick: h });
2458
2617
  case "visibilityIcon":
2459
- return C5({
2618
+ return k5({
2460
2619
  width: e,
2461
2620
  height: t,
2462
2621
  color: l,
2463
2622
  className: a,
2464
- onClick: c
2623
+ onClick: h
2465
2624
  });
2466
2625
  case "visibilityOffIcon":
2467
- return g5({
2626
+ return v5({
2468
2627
  width: e,
2469
2628
  height: t,
2470
2629
  color: l,
2471
2630
  className: a,
2472
- onClick: c
2631
+ onClick: h
2473
2632
  });
2474
2633
  case "selectArrowIcon":
2475
- return u5({
2634
+ return N5({
2476
2635
  width: e,
2477
2636
  height: t,
2478
2637
  color: l,
2479
2638
  className: a,
2480
- onClick: c
2639
+ onClick: h
2481
2640
  });
2482
2641
  case "expandArrowIcon":
2483
- return f5({
2642
+ return R5({
2484
2643
  width: e,
2485
2644
  height: t,
2486
2645
  color: l,
2487
2646
  className: a,
2488
- onClick: c
2647
+ onClick: h
2489
2648
  });
2490
2649
  case "expandActiveArrowIcon":
2491
- return p5({
2650
+ return x5({
2492
2651
  width: e,
2493
2652
  height: t,
2494
2653
  color: l,
2495
2654
  className: a,
2496
- onClick: c
2655
+ onClick: h
2497
2656
  });
2498
2657
  case "sortUp":
2499
- return m5({ width: e, height: t, color: l, className: a, onClick: c });
2658
+ return _5({ width: e, height: t, color: l, className: a, onClick: h });
2500
2659
  case "sortDown":
2501
- return w5({ width: e, height: t, color: l, className: a, onClick: c });
2660
+ return M5({ width: e, height: t, color: l, className: a, onClick: h });
2502
2661
  case "search":
2503
- return L5({ width: e, height: t, color: l, className: a, onClick: c });
2662
+ return b5({ width: e, height: t, color: l, className: a, onClick: h });
2504
2663
  case "arrowUpFilled":
2505
- return R5({ width: e, height: t, color: l, className: a, onClick: c });
2664
+ return V5({ width: e, height: t, color: l, className: a, onClick: h });
2506
2665
  case "arrowDownFilled":
2507
- return N5({ width: e, height: t, color: l, className: a, onClick: c });
2666
+ return E5({ width: e, height: t, color: l, className: a, onClick: h });
2667
+ case "arrow2Up":
2668
+ return Q2({ width: e, height: t, color: l, className: a, onClick: h });
2669
+ case "arrow2Right":
2670
+ return q2({ width: e, height: t, color: l, className: a, onClick: h });
2671
+ case "arrow2Down":
2672
+ return X2({ width: e, height: t, color: l, className: a, onClick: h });
2673
+ case "arrow2Left":
2674
+ return e5({ width: e, height: t, color: l, className: a, onClick: h });
2508
2675
  case "link":
2509
- return x5({ width: e, height: t, color: l, className: a, onClick: c });
2676
+ return I5({ width: e, height: t, color: l, className: a, onClick: h });
2510
2677
  case "telegram":
2511
- return _5({ width: e, height: t, color: l, className: a, onClick: c });
2678
+ return Z5({ width: e, height: t, color: l, className: a, onClick: h });
2512
2679
  case "mail":
2513
- return y5({ width: e, height: t, color: l, className: a, onClick: c });
2680
+ return S5({ width: e, height: t, color: l, className: a, onClick: h });
2514
2681
  case "github":
2515
- return M5({ width: e, height: t, color: l, className: a, onClick: c });
2682
+ return A5({ width: e, height: t, color: l, className: a, onClick: h });
2516
2683
  case "linkedIn":
2517
- return b5({ width: e, height: t, color: l, className: a, onClick: c });
2684
+ return O5({ width: e, height: t, color: l, className: a, onClick: h });
2518
2685
  case "emptyStateIcon":
2519
- return H5({ width: e, height: t, color: l, className: a, onClick: c });
2686
+ return D5({ width: e, height: t, color: l, className: a, onClick: h });
2520
2687
  case "filtersIcon":
2521
- return E5({ width: e, height: t, color: l, className: a, onClick: c });
2688
+ return G5({ width: e, height: t, color: l, className: a, onClick: h });
2522
2689
  case "dotMenuIcon":
2523
- return V5({ width: e, height: t, color: l, className: a, onClick: c });
2690
+ return T5({ width: e, height: t, color: l, className: a, onClick: h });
2524
2691
  case "plusCircle":
2525
- return I5({ width: e, height: t, color: l, className: a, onClick: c });
2692
+ return K5({ width: e, height: t, color: l, className: a, onClick: h });
2526
2693
  case "warning":
2527
- return A5({ width: e, height: t, color: l, className: a, onClick: c });
2694
+ return B5({ width: e, height: t, color: l, className: a, onClick: h });
2528
2695
  case "back":
2529
- return Z5({ width: e, height: t, color: l, className: a, onClick: c });
2696
+ return Y5({ width: e, height: t, color: l, className: a, onClick: h });
2530
2697
  case "bell":
2531
- return O5({ width: e, height: t, color: l, className: a, onClick: c });
2698
+ return P5({ width: e, height: t, color: l, className: a, onClick: h });
2532
2699
  case "copy":
2533
- return S5({ width: e, height: t, color: l, className: a, onClick: c });
2700
+ return j5({ width: e, height: t, color: l, className: a, onClick: h });
2534
2701
  case "contract":
2535
- return D5({ width: e, height: t, color: l, className: a, onClick: c });
2702
+ return $5({ width: e, height: t, color: l, className: a, onClick: h });
2536
2703
  case "resourceManager":
2537
- return G5({ width: e, height: t, color: l, className: a, onClick: c });
2704
+ return F5({ width: e, height: t, color: l, className: a, onClick: h });
2538
2705
  case "image":
2539
- return T5({ width: e, height: t, color: l, className: a, onClick: c });
2706
+ return W5({ width: e, height: t, color: l, className: a, onClick: h });
2540
2707
  case "edit":
2541
- return K5({ width: e, height: t, color: l, className: a, onClick: c });
2708
+ return U5({ width: e, height: t, color: l, className: a, onClick: h });
2542
2709
  case "filledArrowRight":
2543
- return B5({ width: e, height: t, color: l, className: a, onClick: c });
2710
+ return z5({ width: e, height: t, color: l, className: a, onClick: h });
2544
2711
  case "burgerMenu":
2545
- return P5({ width: e, height: t, color: l, className: a, onClick: c });
2712
+ return J5({ width: e, height: t, color: l, className: a, onClick: h });
2546
2713
  case "refresh":
2547
- return Y5({ width: e, height: t, color: l, className: a, onClick: c });
2714
+ return Q5({ width: e, height: t, color: l, className: a, onClick: h });
2548
2715
  case "projects":
2549
- return j5({ width: e, height: t, color: l, className: a, onClick: c });
2716
+ return q5({ width: e, height: t, color: l, className: a, onClick: h });
2550
2717
  case "user":
2551
- return F5({ width: e, height: t, color: l, className: a, onClick: c });
2718
+ return ee({ width: e, height: t, color: l, className: a, onClick: h });
2552
2719
  case "exit":
2553
- return $5({ width: e, height: t, color: l, className: a, onClick: c });
2720
+ return X5({ width: e, height: t, color: l, className: a, onClick: h });
2554
2721
  case "openPointCircle":
2555
- return W5({ width: e, height: t, color: l, className: a, onClick: c });
2722
+ return te({ width: e, height: t, color: l, className: a, onClick: h });
2556
2723
  case "community":
2557
- return U5({ width: e, height: t, color: l, className: a, onClick: c });
2724
+ return ie({ width: e, height: t, color: l, className: a, onClick: h });
2558
2725
  case "docs":
2559
- return z5({ width: e, height: t, color: l, className: a, onClick: c });
2726
+ return se({ width: e, height: t, color: l, className: a, onClick: h });
2560
2727
  default:
2561
- return /* @__PURE__ */ r(W, { children: "No Icon provided" });
2728
+ return /* @__PURE__ */ r(U, { children: "No Icon provided" });
2562
2729
  }
2563
2730
  })() });
2564
- }, { Title: J5, Text: Q5 } = J1, q5 = {
2731
+ }, { Title: ne, Text: re } = y1, oe = {
2565
2732
  h1: 1,
2566
2733
  h2: 2,
2567
2734
  h3: 3,
2568
2735
  h4: 4
2569
- }, X5 = w1(
2736
+ }, ae = h1(
2570
2737
  ({
2571
2738
  align: i = "inherit",
2572
2739
  variant: e = "body1",
@@ -2574,31 +2741,31 @@ const j2 = ({
2574
2741
  children: s,
2575
2742
  onClick: n,
2576
2743
  collapsed: o,
2577
- whiteSpace: h = "normal",
2744
+ whiteSpace: c = "normal",
2578
2745
  /** This prop allows you to enable tooltip if text size is too big */
2579
2746
  trim: a = !1
2580
2747
  }, C) => {
2581
- const d = J(null);
2582
- Q1(C, () => d.current);
2583
- const [l, c] = I(!1);
2748
+ const d = W(null);
2749
+ H1(C, () => d.current);
2750
+ const [l, h] = I(!1);
2584
2751
  A(() => {
2585
- var N;
2752
+ var v;
2586
2753
  if (!a) return;
2587
- const m = () => {
2588
- d.current && c(d.current.scrollWidth > d.current.clientWidth);
2754
+ const f = () => {
2755
+ d.current && h(d.current.scrollWidth > d.current.clientWidth);
2589
2756
  };
2590
- m();
2591
- const y = new ResizeObserver(m);
2592
- return d.current && y.observe(d.current), (N = d.current) != null && N.parentElement && y.observe(d.current.parentElement), () => {
2757
+ f();
2758
+ const y = new ResizeObserver(f);
2759
+ return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
2593
2760
  y.disconnect();
2594
2761
  };
2595
2762
  }, [a]);
2596
2763
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
2597
- let f = `snmt-typography snmt-typography-${e}`;
2598
- i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
2764
+ let p = `snmt-typography snmt-typography-${e}`;
2765
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
2599
2766
  const k = {
2600
- className: f,
2601
- style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
2767
+ className: p,
2768
+ style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
2602
2769
  onClick: n,
2603
2770
  ref: d,
2604
2771
  ellipsis: a && l ? {
@@ -2608,7 +2775,7 @@ const j2 = ({
2608
2775
  }
2609
2776
  } : void 0
2610
2777
  };
2611
- return g ? /* @__PURE__ */ r(J5, { level: q5[e], ...k, children: s }) : /* @__PURE__ */ r(Q5, { ...k, children: s });
2778
+ return g ? /* @__PURE__ */ r(ne, { level: oe[e], ...k, children: s }) : /* @__PURE__ */ r(re, { ...k, children: s });
2612
2779
  }
2613
2780
  );
2614
2781
  var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
@@ -2617,7 +2784,7 @@ const t2 = t1({
2617
2784
  theme: "light"
2618
2785
  });
2619
2786
  t2.Provider;
2620
- const ee = ({
2787
+ const le = ({
2621
2788
  width: i = 20,
2622
2789
  height: e = 20,
2623
2790
  color: t = "#001E52",
@@ -2644,7 +2811,7 @@ const ee = ({
2644
2811
  }
2645
2812
  )
2646
2813
  }
2647
- ), te = ({
2814
+ ), he = ({
2648
2815
  width: i = 20,
2649
2816
  height: e = 20,
2650
2817
  color: t = L.GREY_DARK_5,
@@ -2684,7 +2851,7 @@ const ee = ({
2684
2851
  )
2685
2852
  ]
2686
2853
  }
2687
- ), ie = ({
2854
+ ), ce = ({
2688
2855
  width: i = 20,
2689
2856
  height: e = 20,
2690
2857
  color: t = "#001E52",
@@ -2719,7 +2886,109 @@ const ee = ({
2719
2886
  )
2720
2887
  ]
2721
2888
  }
2722
- ), se = ({
2889
+ ), de = ({
2890
+ width: i = 20,
2891
+ height: e = 20,
2892
+ color: t = L.GREY_DARK_5,
2893
+ className: s,
2894
+ onClick: n
2895
+ }) => /* @__PURE__ */ u(
2896
+ "svg",
2897
+ {
2898
+ width: i,
2899
+ height: e,
2900
+ className: s,
2901
+ onClick: n,
2902
+ viewBox: "0 0 25 25",
2903
+ fill: "none",
2904
+ xmlns: "http://www.w3.org/2000/svg",
2905
+ children: [
2906
+ /* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
2907
+ "path",
2908
+ {
2909
+ d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
2910
+ fill: t
2911
+ }
2912
+ ) }),
2913
+ /* @__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)" }) }) })
2914
+ ]
2915
+ }
2916
+ ), Ce = ({
2917
+ width: i = 20,
2918
+ height: e = 20,
2919
+ color: t = L.GREY_DARK_5,
2920
+ className: s,
2921
+ onClick: n
2922
+ }) => /* @__PURE__ */ r(
2923
+ "svg",
2924
+ {
2925
+ width: i,
2926
+ height: e,
2927
+ className: s,
2928
+ onClick: n,
2929
+ viewBox: "0 0 25 25",
2930
+ fill: "none",
2931
+ xmlns: "http://www.w3.org/2000/svg",
2932
+ children: /* @__PURE__ */ r(
2933
+ "path",
2934
+ {
2935
+ d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
2936
+ fill: t
2937
+ }
2938
+ )
2939
+ }
2940
+ ), ge = ({
2941
+ width: i = 20,
2942
+ height: e = 20,
2943
+ color: t = L.GREY_DARK_5,
2944
+ className: s,
2945
+ onClick: n
2946
+ }) => /* @__PURE__ */ u(
2947
+ "svg",
2948
+ {
2949
+ width: i,
2950
+ height: e,
2951
+ className: s,
2952
+ onClick: n,
2953
+ viewBox: "0 0 25 25",
2954
+ fill: "none",
2955
+ xmlns: "http://www.w3.org/2000/svg",
2956
+ children: [
2957
+ /* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
2958
+ "path",
2959
+ {
2960
+ d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
2961
+ fill: t
2962
+ }
2963
+ ) }),
2964
+ /* @__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)" }) }) })
2965
+ ]
2966
+ }
2967
+ ), ue = ({
2968
+ width: i = 20,
2969
+ height: e = 20,
2970
+ color: t = L.GREY_DARK_5,
2971
+ className: s,
2972
+ onClick: n
2973
+ }) => /* @__PURE__ */ r(
2974
+ "svg",
2975
+ {
2976
+ width: i,
2977
+ height: e,
2978
+ className: s,
2979
+ onClick: n,
2980
+ viewBox: "0 0 25 25",
2981
+ fill: "none",
2982
+ xmlns: "http://www.w3.org/2000/svg",
2983
+ children: /* @__PURE__ */ r(
2984
+ "path",
2985
+ {
2986
+ d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
2987
+ fill: t
2988
+ }
2989
+ )
2990
+ }
2991
+ ), pe = ({
2723
2992
  width: i = 20,
2724
2993
  height: e = 20,
2725
2994
  color: t = L.GREY_DARK_5,
@@ -2766,7 +3035,7 @@ const ee = ({
2766
3035
  )
2767
3036
  ]
2768
3037
  }
2769
- ), ne = ({
3038
+ ), fe = ({
2770
3039
  width: i = 20,
2771
3040
  height: e = 20,
2772
3041
  color: t = L.GREY_DARK_5,
@@ -2790,7 +3059,7 @@ const ee = ({
2790
3059
  }
2791
3060
  )
2792
3061
  }
2793
- ), re = ({
3062
+ ), me = ({
2794
3063
  width: i = 20,
2795
3064
  height: e = 20,
2796
3065
  color: t = L.GREY_DARK_5,
@@ -2814,7 +3083,7 @@ const ee = ({
2814
3083
  }
2815
3084
  )
2816
3085
  }
2817
- ), oe = ({
3086
+ ), we = ({
2818
3087
  width: i = 20,
2819
3088
  height: e = 20,
2820
3089
  color: t = L.GREY_DARK_5,
@@ -2838,7 +3107,7 @@ const ee = ({
2838
3107
  }
2839
3108
  )
2840
3109
  }
2841
- ), ae = ({
3110
+ ), Le = ({
2842
3111
  width: i = 20,
2843
3112
  height: e = 20,
2844
3113
  color: t = L.GREY_DARK_5,
@@ -2899,7 +3168,7 @@ const ee = ({
2899
3168
  )
2900
3169
  ]
2901
3170
  }
2902
- ), le = ({
3171
+ ), ke = ({
2903
3172
  width: i = 20,
2904
3173
  height: e = 20,
2905
3174
  color: t = L.GREY_DARK_5,
@@ -2946,7 +3215,7 @@ const ee = ({
2946
3215
  )
2947
3216
  ]
2948
3217
  }
2949
- ), he = ({
3218
+ ), ve = ({
2950
3219
  width: i = 20,
2951
3220
  height: e = 20,
2952
3221
  color: t = L.GREY_DARK_5,
@@ -2986,7 +3255,7 @@ const ee = ({
2986
3255
  )
2987
3256
  ]
2988
3257
  }
2989
- ), ce = ({
3258
+ ), Ne = ({
2990
3259
  width: i = 20,
2991
3260
  height: e = 20,
2992
3261
  color: t = L.GREY_DARK_5,
@@ -3026,7 +3295,7 @@ const ee = ({
3026
3295
  )
3027
3296
  ]
3028
3297
  }
3029
- ), de = ({
3298
+ ), Re = ({
3030
3299
  width: i = 20,
3031
3300
  height: e = 20,
3032
3301
  color: t = L.GREY_DARK_5,
@@ -3073,7 +3342,7 @@ const ee = ({
3073
3342
  )
3074
3343
  ]
3075
3344
  }
3076
- ), Ce = ({
3345
+ ), xe = ({
3077
3346
  width: i = 20,
3078
3347
  height: e = 20,
3079
3348
  color: t = L.GREY_DARK_5,
@@ -3120,7 +3389,7 @@ const ee = ({
3120
3389
  )
3121
3390
  ]
3122
3391
  }
3123
- ), ge = ({
3392
+ ), _e = ({
3124
3393
  width: i = 20,
3125
3394
  height: e = 20,
3126
3395
  color: t = L.GREY_DARK_5,
@@ -3167,7 +3436,7 @@ const ee = ({
3167
3436
  )
3168
3437
  ]
3169
3438
  }
3170
- ), ue = ({
3439
+ ), Me = ({
3171
3440
  width: i = 20,
3172
3441
  height: e = 20,
3173
3442
  color: t = L.GREY_DARK_5,
@@ -3207,7 +3476,7 @@ const ee = ({
3207
3476
  )
3208
3477
  ]
3209
3478
  }
3210
- ), fe = ({
3479
+ ), be = ({
3211
3480
  width: i = 20,
3212
3481
  height: e = 20,
3213
3482
  color: t = L.GREY_DARK_5,
@@ -3240,7 +3509,7 @@ const ee = ({
3240
3509
  )
3241
3510
  ]
3242
3511
  }
3243
- ), pe = ({
3512
+ ), ye = ({
3244
3513
  width: i = 20,
3245
3514
  height: e = 20,
3246
3515
  color: t = L.GREY_DARK_5,
@@ -3273,7 +3542,7 @@ const ee = ({
3273
3542
  )
3274
3543
  ]
3275
3544
  }
3276
- ), me = ({
3545
+ ), He = ({
3277
3546
  width: i = 20,
3278
3547
  height: e = 20,
3279
3548
  color: t = L.GREY_DARK_5,
@@ -3306,7 +3575,7 @@ const ee = ({
3306
3575
  )
3307
3576
  ]
3308
3577
  }
3309
- ), we = ({
3578
+ ), Ee = ({
3310
3579
  width: i = 20,
3311
3580
  height: e = 20,
3312
3581
  color: t = L.GREY_DARK_5,
@@ -3339,7 +3608,7 @@ const ee = ({
3339
3608
  )
3340
3609
  ]
3341
3610
  }
3342
- ), Le = ({
3611
+ ), Ve = ({
3343
3612
  width: i = 20,
3344
3613
  height: e = 20,
3345
3614
  color: t = L.GREY_DARK_5,
@@ -3379,7 +3648,7 @@ const ee = ({
3379
3648
  )
3380
3649
  ]
3381
3650
  }
3382
- ), ke = ({
3651
+ ), Ie = ({
3383
3652
  width: i = 20,
3384
3653
  height: e = 20,
3385
3654
  color: t = L.GREY_DARK_5,
@@ -3412,7 +3681,7 @@ const ee = ({
3412
3681
  )
3413
3682
  ]
3414
3683
  }
3415
- ), ve = ({
3684
+ ), Ae = ({
3416
3685
  width: i = 20,
3417
3686
  height: e = 20,
3418
3687
  color: t = L.GREY_DARK_5,
@@ -3445,7 +3714,7 @@ const ee = ({
3445
3714
  )
3446
3715
  ]
3447
3716
  }
3448
- ), Ne = ({
3717
+ ), Ze = ({
3449
3718
  width: i = 20,
3450
3719
  height: e = 20,
3451
3720
  color: t = "#070739",
@@ -3475,7 +3744,7 @@ const ee = ({
3475
3744
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
3476
3745
  ]
3477
3746
  }
3478
- ), Re = ({
3747
+ ), Oe = ({
3479
3748
  width: i = 20,
3480
3749
  height: e = 20,
3481
3750
  color: t = "#070739",
@@ -3513,7 +3782,7 @@ const ee = ({
3513
3782
  )
3514
3783
  ]
3515
3784
  }
3516
- ), xe = ({
3785
+ ), Se = ({
3517
3786
  width: i = 9,
3518
3787
  height: e = 5,
3519
3788
  color: t = "#001E52",
@@ -3539,7 +3808,7 @@ const ee = ({
3539
3808
  }
3540
3809
  )
3541
3810
  }
3542
- ), Me = ({
3811
+ ), De = ({
3543
3812
  width: i = 20,
3544
3813
  height: e = 20,
3545
3814
  color: t = "#F2F2F7",
@@ -3568,7 +3837,7 @@ const ee = ({
3568
3837
  )
3569
3838
  ]
3570
3839
  }
3571
- ), _e = ({
3840
+ ), Ge = ({
3572
3841
  width: i = 20,
3573
3842
  height: e = 20,
3574
3843
  color: t = "#004ED7",
@@ -3597,7 +3866,7 @@ const ee = ({
3597
3866
  )
3598
3867
  ]
3599
3868
  }
3600
- ), be = ({
3869
+ ), Te = ({
3601
3870
  width: i = 10,
3602
3871
  height: e = 10,
3603
3872
  color: t = "#001E52",
@@ -3626,7 +3895,7 @@ const ee = ({
3626
3895
  )
3627
3896
  ]
3628
3897
  }
3629
- ), ye = ({
3898
+ ), Ke = ({
3630
3899
  width: i = 10,
3631
3900
  height: e = 10,
3632
3901
  color: t = "#001E52",
@@ -3663,7 +3932,7 @@ const ee = ({
3663
3932
  )
3664
3933
  ]
3665
3934
  }
3666
- ), He = ({
3935
+ ), Be = ({
3667
3936
  className: i,
3668
3937
  color: e = L.GREY_DARK_5,
3669
3938
  height: t = 20,
@@ -3696,7 +3965,7 @@ const ee = ({
3696
3965
  )
3697
3966
  ]
3698
3967
  }
3699
- ), Ee = ({
3968
+ ), Ye = ({
3700
3969
  className: i,
3701
3970
  color: e = L.GREY_DARK_5,
3702
3971
  height: t = 20,
@@ -3723,7 +3992,7 @@ const ee = ({
3723
3992
  }
3724
3993
  )
3725
3994
  }
3726
- ), Ve = ({
3995
+ ), Pe = ({
3727
3996
  className: i,
3728
3997
  color: e = L.GREY_DARK_5,
3729
3998
  height: t = 20,
@@ -3750,7 +4019,7 @@ const ee = ({
3750
4019
  }
3751
4020
  )
3752
4021
  }
3753
- ), Ie = ({
4022
+ ), je = ({
3754
4023
  className: i,
3755
4024
  color: e = L.GREY_DARK_5,
3756
4025
  height: t = 5,
@@ -3774,7 +4043,7 @@ const ee = ({
3774
4043
  }
3775
4044
  )
3776
4045
  }
3777
- ), Ae = ({
4046
+ ), $e = ({
3778
4047
  className: i,
3779
4048
  color: e = L.GREY_DARK_5,
3780
4049
  height: t = 5,
@@ -3799,7 +4068,7 @@ const ee = ({
3799
4068
  }
3800
4069
  )
3801
4070
  }
3802
- ), Ze = ({
4071
+ ), Fe = ({
3803
4072
  className: i,
3804
4073
  color: e = L.GREY_DARK_5,
3805
4074
  height: t = 20,
@@ -3832,7 +4101,7 @@ const ee = ({
3832
4101
  )
3833
4102
  ]
3834
4103
  }
3835
- ), Oe = ({
4104
+ ), We = ({
3836
4105
  className: i,
3837
4106
  color: e = L.GREY_DARK_5,
3838
4107
  height: t = 24,
@@ -3871,7 +4140,7 @@ const ee = ({
3871
4140
  )
3872
4141
  ]
3873
4142
  }
3874
- ), Se = ({
4143
+ ), Ue = ({
3875
4144
  className: i,
3876
4145
  color: e = L.GREY_DARK_5,
3877
4146
  height: t = 24,
@@ -3898,7 +4167,7 @@ const ee = ({
3898
4167
  }
3899
4168
  )
3900
4169
  }
3901
- ), De = ({
4170
+ ), ze = ({
3902
4171
  className: i,
3903
4172
  color: e = L.GREY_DARK_5,
3904
4173
  height: t = 24,
@@ -3957,7 +4226,7 @@ const ee = ({
3957
4226
  )
3958
4227
  ]
3959
4228
  }
3960
- ), Ge = ({
4229
+ ), Je = ({
3961
4230
  className: i,
3962
4231
  color: e = L.GREY_DARK_5,
3963
4232
  height: t = 24,
@@ -3994,7 +4263,7 @@ const ee = ({
3994
4263
  )
3995
4264
  ]
3996
4265
  }
3997
- ), Te = ({
4266
+ ), Qe = ({
3998
4267
  className: i,
3999
4268
  color: e = L.GREY_DARK_3,
4000
4269
  height: t = 14,
@@ -4031,7 +4300,7 @@ const ee = ({
4031
4300
  )
4032
4301
  ]
4033
4302
  }
4034
- ), Ke = ({
4303
+ ), qe = ({
4035
4304
  className: i,
4036
4305
  color: e = L.GREY_DARK_5,
4037
4306
  height: t = 18,
@@ -4058,7 +4327,7 @@ const ee = ({
4058
4327
  }
4059
4328
  )
4060
4329
  }
4061
- ), Be = ({
4330
+ ), Xe = ({
4062
4331
  className: i,
4063
4332
  color: e = L.GREY_DARK_5,
4064
4333
  height: t = 24,
@@ -4110,7 +4379,7 @@ const ee = ({
4110
4379
  )
4111
4380
  ]
4112
4381
  }
4113
- ), Pe = ({
4382
+ ), e7 = ({
4114
4383
  className: i,
4115
4384
  color: e = L.GREY_DARK_5,
4116
4385
  height: t = 24,
@@ -4147,7 +4416,7 @@ const ee = ({
4147
4416
  )
4148
4417
  ]
4149
4418
  }
4150
- ), Ye = ({
4419
+ ), t7 = ({
4151
4420
  className: i,
4152
4421
  color: e = L.NOTIFICATION_WARNING_DARK,
4153
4422
  height: t = 37,
@@ -4186,7 +4455,7 @@ const ee = ({
4186
4455
  )
4187
4456
  ]
4188
4457
  }
4189
- ), je = ({
4458
+ ), i7 = ({
4190
4459
  className: i,
4191
4460
  color: e = L.GREY_DARK_5,
4192
4461
  height: t = 24,
@@ -4212,7 +4481,7 @@ const ee = ({
4212
4481
  }
4213
4482
  )
4214
4483
  }
4215
- ), $e = ({
4484
+ ), s7 = ({
4216
4485
  className: i,
4217
4486
  color: e = L.GREY_DARK_5,
4218
4487
  height: t = 24,
@@ -4251,7 +4520,7 @@ const ee = ({
4251
4520
  )
4252
4521
  ]
4253
4522
  }
4254
- ), Fe = ({
4523
+ ), n7 = ({
4255
4524
  className: i,
4256
4525
  color: e = L.GREY_DARK_5,
4257
4526
  height: t = 20,
@@ -4284,7 +4553,7 @@ const ee = ({
4284
4553
  )
4285
4554
  ]
4286
4555
  }
4287
- ), We = ({
4556
+ ), r7 = ({
4288
4557
  className: i,
4289
4558
  color: e = L.GREY_DARK_5,
4290
4559
  height: t = 24,
@@ -4353,7 +4622,7 @@ const ee = ({
4353
4622
  )
4354
4623
  ]
4355
4624
  }
4356
- ), Ue = ({
4625
+ ), o7 = ({
4357
4626
  className: i,
4358
4627
  color: e = L.GREY_DARK_5,
4359
4628
  height: t = 24,
@@ -4410,7 +4679,7 @@ const ee = ({
4410
4679
  )
4411
4680
  ]
4412
4681
  }
4413
- ), ze = ({
4682
+ ), a7 = ({
4414
4683
  className: i,
4415
4684
  color: e = L.GREY_DARK_5,
4416
4685
  height: t = 24,
@@ -4459,7 +4728,7 @@ const ee = ({
4459
4728
  )
4460
4729
  ]
4461
4730
  }
4462
- ), Je = ({
4731
+ ), l7 = ({
4463
4732
  className: i,
4464
4733
  color: e = L.GREY_DARK_5,
4465
4734
  height: t = 24,
@@ -4486,7 +4755,7 @@ const ee = ({
4486
4755
  }
4487
4756
  )
4488
4757
  }
4489
- ), Qe = ({
4758
+ ), h7 = ({
4490
4759
  className: i,
4491
4760
  color: e = L.GREY_DARK_5,
4492
4761
  height: t = 20,
@@ -4515,7 +4784,7 @@ const ee = ({
4515
4784
  )
4516
4785
  ]
4517
4786
  }
4518
- ), qe = ({
4787
+ ), c7 = ({
4519
4788
  className: i,
4520
4789
  color: e = "#001E52",
4521
4790
  height: t = 24,
@@ -4541,7 +4810,7 @@ const ee = ({
4541
4810
  }
4542
4811
  )
4543
4812
  }
4544
- ), Xe = ({
4813
+ ), d7 = ({
4545
4814
  className: i,
4546
4815
  color: e = "#001E52",
4547
4816
  height: t = 24,
@@ -4579,7 +4848,7 @@ const ee = ({
4579
4848
  )
4580
4849
  ] }) })
4581
4850
  }
4582
- ), e7 = ({
4851
+ ), C7 = ({
4583
4852
  width: i = 20,
4584
4853
  height: e = 20,
4585
4854
  color: t = L.GREY_DARK_5,
@@ -4603,7 +4872,7 @@ const ee = ({
4603
4872
  }
4604
4873
  )
4605
4874
  }
4606
- ), t7 = ({
4875
+ ), g7 = ({
4607
4876
  width: i = 24,
4608
4877
  height: e = 24,
4609
4878
  color: t = "#131314",
@@ -4636,7 +4905,7 @@ const ee = ({
4636
4905
  )
4637
4906
  ]
4638
4907
  }
4639
- ), i7 = ({
4908
+ ), u7 = ({
4640
4909
  width: i = 20,
4641
4910
  height: e = 20,
4642
4911
  color: t = L.GREY_DARK_5,
@@ -4669,7 +4938,7 @@ const ee = ({
4669
4938
  )
4670
4939
  ]
4671
4940
  }
4672
- ), s7 = ({
4941
+ ), p7 = ({
4673
4942
  width: i = 24,
4674
4943
  height: e = 24,
4675
4944
  color: t = L.GREY_DARK_2,
@@ -4709,7 +4978,7 @@ const ee = ({
4709
4978
  )
4710
4979
  ]
4711
4980
  }
4712
- ), n7 = ({
4981
+ ), f7 = ({
4713
4982
  width: i = 24,
4714
4983
  height: e = 24,
4715
4984
  color: t = L.GREY_DARK_2,
@@ -4736,7 +5005,7 @@ const ee = ({
4736
5005
  }
4737
5006
  )
4738
5007
  }
4739
- ), r7 = ({
5008
+ ), m7 = ({
4740
5009
  width: i = 24,
4741
5010
  height: e = 24,
4742
5011
  color: t = L.GREY_DARK_2,
@@ -4763,197 +5032,205 @@ const ee = ({
4763
5032
  }
4764
5033
  )
4765
5034
  }
4766
- ), o7 = ({
5035
+ ), w7 = ({
4767
5036
  name: i,
4768
5037
  width: e,
4769
5038
  height: t,
4770
5039
  color: s,
4771
5040
  className: n,
4772
5041
  disabled: o = !1,
4773
- onClick: h
5042
+ onClick: c
4774
5043
  }) => {
4775
- const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, c = o ? void 0 : h;
5044
+ const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
4776
5045
  return A(() => {
4777
5046
  if (n) {
4778
- c && !o && C(`${n} clickable`);
5047
+ h && !o && C(`${n} clickable`);
4779
5048
  return;
4780
5049
  }
4781
- c && !o && C("clickable");
4782
- }, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
5050
+ h && !o && C("clickable");
5051
+ }, [h, n, o]), /* @__PURE__ */ r(U, { children: (() => {
4783
5052
  switch (i) {
4784
5053
  case "nextIcon":
4785
- return Ee({ width: e, height: t, color: l, className: a, onClick: c });
5054
+ return Ye({ width: e, height: t, color: l, className: a, onClick: h });
4786
5055
  case "prevIcon":
4787
- return Ve({ width: e, height: t, color: l, className: a, onClick: c });
5056
+ return Pe({ width: e, height: t, color: l, className: a, onClick: h });
4788
5057
  case "arrowDown":
4789
- return ee({ width: e, height: t, color: l, className: a, onClick: c });
5058
+ return le({ width: e, height: t, color: l, className: a, onClick: h });
4790
5059
  case "info":
4791
- return te({ width: e, height: t, color: l, className: a, onClick: c });
5060
+ return he({ width: e, height: t, color: l, className: a, onClick: h });
4792
5061
  case "arrowRight":
4793
- return ie({ width: e, height: t, color: l, className: a, onClick: c });
5062
+ return ce({ width: e, height: t, color: l, className: a, onClick: h });
4794
5063
  case "calendar":
4795
- return se({ width: e, height: t, color: l, className: a, onClick: c });
5064
+ return pe({ width: e, height: t, color: l, className: a, onClick: h });
4796
5065
  case "check":
4797
- return ne({ width: e, height: t, color: l, className: a, onClick: c });
5066
+ return fe({ width: e, height: t, color: l, className: a, onClick: h });
4798
5067
  case "cancel":
4799
- return re({ width: e, height: t, color: l, className: a, onClick: c });
5068
+ return me({ width: e, height: t, color: l, className: a, onClick: h });
4800
5069
  case "add":
4801
- return oe({ width: e, height: t, color: l, className: a, onClick: c });
5070
+ return we({ width: e, height: t, color: l, className: a, onClick: h });
4802
5071
  case "list":
4803
- return ae({ width: e, height: t, color: l, className: a, onClick: c });
5072
+ return Le({ width: e, height: t, color: l, className: a, onClick: h });
4804
5073
  case "dragAndDrop":
4805
- return le({ width: e, height: t, color: l, className: a, onClick: c });
5074
+ return ke({ width: e, height: t, color: l, className: a, onClick: h });
4806
5075
  case "filter":
4807
- return he({ width: e, height: t, color: l, className: a, onClick: c });
5076
+ return ve({ width: e, height: t, color: l, className: a, onClick: h });
4808
5077
  case "attention":
4809
- return ce({ width: e, height: t, color: l, className: a, onClick: c });
5078
+ return Ne({ width: e, height: t, color: l, className: a, onClick: h });
4810
5079
  case "users":
4811
- return de({ width: e, height: t, color: l, className: a, onClick: c });
5080
+ return Re({ width: e, height: t, color: l, className: a, onClick: h });
4812
5081
  case "mySkillsMatrix":
4813
- return Ce({
5082
+ return xe({
4814
5083
  width: e,
4815
5084
  height: t,
4816
5085
  color: l,
4817
5086
  className: a,
4818
- onClick: c
5087
+ onClick: h
4819
5088
  });
4820
5089
  case "skills":
4821
- return ge({ width: e, height: t, color: l, className: a, onClick: c });
5090
+ return _e({ width: e, height: t, color: l, className: a, onClick: h });
4822
5091
  case "skillsMatrices":
4823
- return ue({
5092
+ return Me({
4824
5093
  width: e,
4825
5094
  height: t,
4826
5095
  color: l,
4827
5096
  className: a,
4828
- onClick: c
5097
+ onClick: h
4829
5098
  });
4830
5099
  case "history":
4831
- return fe({ width: e, height: t, color: l, className: a, onClick: c });
5100
+ return be({ width: e, height: t, color: l, className: a, onClick: h });
4832
5101
  case "logOut":
4833
- return pe({ width: e, height: t, color: l, className: a, onClick: c });
5102
+ return ye({ width: e, height: t, color: l, className: a, onClick: h });
4834
5103
  case "settings":
4835
- return me({ width: e, height: t, color: l, className: a, onClick: c });
5104
+ return He({ width: e, height: t, color: l, className: a, onClick: h });
4836
5105
  case "trash":
4837
- return we({ width: e, height: t, color: l, className: a, onClick: c });
5106
+ return Ee({ width: e, height: t, color: l, className: a, onClick: h });
4838
5107
  case "settings2":
4839
- return Le({ width: e, height: t, color: l, className: a, onClick: c });
5108
+ return Ve({ width: e, height: t, color: l, className: a, onClick: h });
4840
5109
  case "checkCircle":
4841
- return ke({ width: e, height: t, color: l, className: a, onClick: c });
5110
+ return Ie({ width: e, height: t, color: l, className: a, onClick: h });
4842
5111
  case "cancelCircle":
4843
- return ve({ width: e, height: t, color: l, className: a, onClick: c });
5112
+ return Ae({ width: e, height: t, color: l, className: a, onClick: h });
4844
5113
  case "visibilityIcon":
4845
- return Ne({
5114
+ return Ze({
4846
5115
  width: e,
4847
5116
  height: t,
4848
5117
  color: l,
4849
5118
  className: a,
4850
- onClick: c
5119
+ onClick: h
4851
5120
  });
4852
5121
  case "visibilityOffIcon":
4853
- return Re({
5122
+ return Oe({
4854
5123
  width: e,
4855
5124
  height: t,
4856
5125
  color: l,
4857
5126
  className: a,
4858
- onClick: c
5127
+ onClick: h
4859
5128
  });
4860
5129
  case "selectArrowIcon":
4861
- return xe({
5130
+ return Se({
4862
5131
  width: e,
4863
5132
  height: t,
4864
5133
  color: l,
4865
5134
  className: a,
4866
- onClick: c
5135
+ onClick: h
4867
5136
  });
4868
5137
  case "expandArrowIcon":
4869
- return Me({
5138
+ return De({
4870
5139
  width: e,
4871
5140
  height: t,
4872
5141
  color: l,
4873
5142
  className: a,
4874
- onClick: c
5143
+ onClick: h
4875
5144
  });
4876
5145
  case "expandActiveArrowIcon":
4877
- return _e({
5146
+ return Ge({
4878
5147
  width: e,
4879
5148
  height: t,
4880
5149
  color: l,
4881
5150
  className: a,
4882
- onClick: c
5151
+ onClick: h
4883
5152
  });
4884
5153
  case "sortUp":
4885
- return be({ width: e, height: t, color: l, className: a, onClick: c });
5154
+ return Te({ width: e, height: t, color: l, className: a, onClick: h });
4886
5155
  case "sortDown":
4887
- return ye({ width: e, height: t, color: l, className: a, onClick: c });
5156
+ return Ke({ width: e, height: t, color: l, className: a, onClick: h });
4888
5157
  case "search":
4889
- return He({ width: e, height: t, color: l, className: a, onClick: c });
5158
+ return Be({ width: e, height: t, color: l, className: a, onClick: h });
4890
5159
  case "arrowUpFilled":
4891
- return Ae({ width: e, height: t, color: l, className: a, onClick: c });
5160
+ return $e({ width: e, height: t, color: l, className: a, onClick: h });
4892
5161
  case "arrowDownFilled":
4893
- return Ie({ width: e, height: t, color: l, className: a, onClick: c });
5162
+ return je({ width: e, height: t, color: l, className: a, onClick: h });
5163
+ case "arrow2Up":
5164
+ return de({ width: e, height: t, color: l, className: a, onClick: h });
5165
+ case "arrow2Right":
5166
+ return Ce({ width: e, height: t, color: l, className: a, onClick: h });
5167
+ case "arrow2Down":
5168
+ return ge({ width: e, height: t, color: l, className: a, onClick: h });
5169
+ case "arrow2Left":
5170
+ return ue({ width: e, height: t, color: l, className: a, onClick: h });
4894
5171
  case "link":
4895
- return Ze({ width: e, height: t, color: l, className: a, onClick: c });
5172
+ return Fe({ width: e, height: t, color: l, className: a, onClick: h });
4896
5173
  case "telegram":
4897
- return Se({ width: e, height: t, color: l, className: a, onClick: c });
5174
+ return Ue({ width: e, height: t, color: l, className: a, onClick: h });
4898
5175
  case "mail":
4899
- return Ge({ width: e, height: t, color: l, className: a, onClick: c });
5176
+ return Je({ width: e, height: t, color: l, className: a, onClick: h });
4900
5177
  case "github":
4901
- return Oe({ width: e, height: t, color: l, className: a, onClick: c });
5178
+ return We({ width: e, height: t, color: l, className: a, onClick: h });
4902
5179
  case "linkedIn":
4903
- return De({ width: e, height: t, color: l, className: a, onClick: c });
5180
+ return ze({ width: e, height: t, color: l, className: a, onClick: h });
4904
5181
  case "emptyStateIcon":
4905
- return Te({ width: e, height: t, color: l, className: a, onClick: c });
5182
+ return Qe({ width: e, height: t, color: l, className: a, onClick: h });
4906
5183
  case "filtersIcon":
4907
- return Ke({ width: e, height: t, color: l, className: a, onClick: c });
5184
+ return qe({ width: e, height: t, color: l, className: a, onClick: h });
4908
5185
  case "dotMenuIcon":
4909
- return Be({ width: e, height: t, color: l, className: a, onClick: c });
5186
+ return Xe({ width: e, height: t, color: l, className: a, onClick: h });
4910
5187
  case "plusCircle":
4911
- return Pe({ width: e, height: t, color: l, className: a, onClick: c });
5188
+ return e7({ width: e, height: t, color: l, className: a, onClick: h });
4912
5189
  case "warning":
4913
- return Ye({ width: e, height: t, color: l, className: a, onClick: c });
5190
+ return t7({ width: e, height: t, color: l, className: a, onClick: h });
4914
5191
  case "back":
4915
- return je({ width: e, height: t, color: l, className: a, onClick: c });
5192
+ return i7({ width: e, height: t, color: l, className: a, onClick: h });
4916
5193
  case "bell":
4917
- return $e({ width: e, height: t, color: l, className: a, onClick: c });
5194
+ return s7({ width: e, height: t, color: l, className: a, onClick: h });
4918
5195
  case "copy":
4919
- return Fe({ width: e, height: t, color: l, className: a, onClick: c });
5196
+ return n7({ width: e, height: t, color: l, className: a, onClick: h });
4920
5197
  case "contract":
4921
- return We({ width: e, height: t, color: l, className: a, onClick: c });
5198
+ return r7({ width: e, height: t, color: l, className: a, onClick: h });
4922
5199
  case "resourceManager":
4923
- return Ue({ width: e, height: t, color: l, className: a, onClick: c });
5200
+ return o7({ width: e, height: t, color: l, className: a, onClick: h });
4924
5201
  case "image":
4925
- return ze({ width: e, height: t, color: l, className: a, onClick: c });
5202
+ return a7({ width: e, height: t, color: l, className: a, onClick: h });
4926
5203
  case "edit":
4927
- return Je({ width: e, height: t, color: l, className: a, onClick: c });
5204
+ return l7({ width: e, height: t, color: l, className: a, onClick: h });
4928
5205
  case "filledArrowRight":
4929
- return Qe({ width: e, height: t, color: l, className: a, onClick: c });
5206
+ return h7({ width: e, height: t, color: l, className: a, onClick: h });
4930
5207
  case "burgerMenu":
4931
- return qe({ width: e, height: t, color: l, className: a, onClick: c });
5208
+ return c7({ width: e, height: t, color: l, className: a, onClick: h });
4932
5209
  case "refresh":
4933
- return Xe({ width: e, height: t, color: l, className: a, onClick: c });
5210
+ return d7({ width: e, height: t, color: l, className: a, onClick: h });
4934
5211
  case "projects":
4935
- return e7({ width: e, height: t, color: l, className: a, onClick: c });
5212
+ return C7({ width: e, height: t, color: l, className: a, onClick: h });
4936
5213
  case "user":
4937
- return i7({ width: e, height: t, color: l, className: a, onClick: c });
5214
+ return u7({ width: e, height: t, color: l, className: a, onClick: h });
4938
5215
  case "exit":
4939
- return t7({ width: e, height: t, color: l, className: a, onClick: c });
5216
+ return g7({ width: e, height: t, color: l, className: a, onClick: h });
4940
5217
  case "openPointCircle":
4941
- return s7({ width: e, height: t, color: l, className: a, onClick: c });
5218
+ return p7({ width: e, height: t, color: l, className: a, onClick: h });
4942
5219
  case "community":
4943
- return n7({ width: e, height: t, color: l, className: a, onClick: c });
5220
+ return f7({ width: e, height: t, color: l, className: a, onClick: h });
4944
5221
  case "docs":
4945
- return r7({ width: e, height: t, color: l, className: a, onClick: c });
5222
+ return m7({ width: e, height: t, color: l, className: a, onClick: h });
4946
5223
  default:
4947
- return /* @__PURE__ */ r(W, { children: "No Icon provided" });
5224
+ return /* @__PURE__ */ r(U, { children: "No Icon provided" });
4948
5225
  }
4949
5226
  })() });
4950
5227
  };
4951
5228
  var o1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(o1 || {});
4952
- const a7 = t1({
5229
+ const L7 = t1({
4953
5230
  locale: "en",
4954
5231
  theme: "light"
4955
5232
  });
4956
- a7.Provider;
5233
+ L7.Provider;
4957
5234
  const i2 = ({
4958
5235
  children: i,
4959
5236
  width: e,
@@ -4962,20 +5239,20 @@ const i2 = ({
4962
5239
  closable: n = !0,
4963
5240
  disabled: o = !1
4964
5241
  }) => {
4965
- const h = t === "small" ? 10 : 12.5, a = () => {
5242
+ const c = t === "small" ? 10 : 12.5, a = () => {
4966
5243
  o || s == null || s();
4967
5244
  };
4968
5245
  return /* @__PURE__ */ r(
4969
- p2,
5246
+ f2,
4970
5247
  {
4971
5248
  className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
4972
5249
  closeIcon: /* @__PURE__ */ r(
4973
- o7,
5250
+ w7,
4974
5251
  {
4975
5252
  name: "cancelCircle",
4976
5253
  color: o ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
4977
- width: h,
4978
- height: h,
5254
+ width: c,
5255
+ height: c,
4979
5256
  onClick: a
4980
5257
  }
4981
5258
  ),
@@ -4983,7 +5260,7 @@ const i2 = ({
4983
5260
  style: { width: e ?? "fit-content" },
4984
5261
  closable: n,
4985
5262
  children: typeof i == "string" ? /* @__PURE__ */ r(
4986
- X5,
5263
+ ae,
4987
5264
  {
4988
5265
  variant: t === "small" ? "body4" : "body2",
4989
5266
  color: o ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
@@ -4992,12 +5269,12 @@ const i2 = ({
4992
5269
  ) : i
4993
5270
  }
4994
5271
  );
4995
- }, { Title: l7, Text: h7 } = J1, c7 = {
5272
+ }, { Title: k7, Text: v7 } = y1, N7 = {
4996
5273
  h1: 1,
4997
5274
  h2: 2,
4998
5275
  h3: 3,
4999
5276
  h4: 4
5000
- }, d7 = w1(
5277
+ }, R7 = h1(
5001
5278
  ({
5002
5279
  align: i = "inherit",
5003
5280
  variant: e = "body1",
@@ -5005,31 +5282,31 @@ const i2 = ({
5005
5282
  children: s,
5006
5283
  onClick: n,
5007
5284
  collapsed: o,
5008
- whiteSpace: h = "normal",
5285
+ whiteSpace: c = "normal",
5009
5286
  /** This prop allows you to enable tooltip if text size is too big */
5010
5287
  trim: a = !1
5011
5288
  }, C) => {
5012
- const d = J(null);
5013
- Q1(C, () => d.current);
5014
- const [l, c] = I(!1);
5289
+ const d = W(null);
5290
+ H1(C, () => d.current);
5291
+ const [l, h] = I(!1);
5015
5292
  A(() => {
5016
- var N;
5293
+ var v;
5017
5294
  if (!a) return;
5018
- const m = () => {
5019
- d.current && c(d.current.scrollWidth > d.current.clientWidth);
5295
+ const f = () => {
5296
+ d.current && h(d.current.scrollWidth > d.current.clientWidth);
5020
5297
  };
5021
- m();
5022
- const y = new ResizeObserver(m);
5023
- return d.current && y.observe(d.current), (N = d.current) != null && N.parentElement && y.observe(d.current.parentElement), () => {
5298
+ f();
5299
+ const y = new ResizeObserver(f);
5300
+ return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
5024
5301
  y.disconnect();
5025
5302
  };
5026
5303
  }, [a]);
5027
5304
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
5028
- let f = `snmt-typography snmt-typography-${e}`;
5029
- i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
5305
+ let p = `snmt-typography snmt-typography-${e}`;
5306
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
5030
5307
  const k = {
5031
- className: f,
5032
- style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
5308
+ className: p,
5309
+ style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
5033
5310
  onClick: n,
5034
5311
  ref: d,
5035
5312
  ellipsis: a && l ? {
@@ -5039,34 +5316,35 @@ const i2 = ({
5039
5316
  }
5040
5317
  } : void 0
5041
5318
  };
5042
- return g ? /* @__PURE__ */ r(l7, { level: c7[e], ...k, children: s }) : /* @__PURE__ */ r(h7, { ...k, children: s });
5319
+ return g ? /* @__PURE__ */ r(k7, { level: N7[e], ...k, children: s }) : /* @__PURE__ */ r(v7, { ...k, children: s });
5043
5320
  }
5044
- ), C7 = ({
5321
+ ), x7 = ({
5045
5322
  children: i,
5046
5323
  content: e,
5047
5324
  isOpen: t,
5048
5325
  setIsOpen: s,
5049
5326
  placement: n = "topRight",
5050
- noPadding: o = !1
5327
+ noPadding: o = !1,
5328
+ trigger: c = "click"
5051
5329
  }) => {
5052
- const [h, a] = I(!1);
5330
+ const [a, C] = I(!1);
5053
5331
  return /* @__PURE__ */ r(
5054
5332
  k2,
5055
5333
  {
5056
5334
  content: e,
5057
5335
  arrow: !1,
5058
5336
  placement: n,
5059
- trigger: "click",
5337
+ trigger: c,
5060
5338
  overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
5061
- open: t ?? h,
5062
- onOpenChange: (C) => {
5063
- a(C), s == null || s(C);
5339
+ open: t ?? a,
5340
+ onOpenChange: (d) => {
5341
+ C(d), s == null || s(d);
5064
5342
  },
5065
5343
  children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
5066
5344
  }
5067
5345
  );
5068
5346
  };
5069
- var g7 = { exports: {} };
5347
+ var _7 = { exports: {} };
5070
5348
  (function(i, e) {
5071
5349
  (function(t, s) {
5072
5350
  i.exports = s();
@@ -5076,27 +5354,27 @@ var g7 = { exports: {} };
5076
5354
  return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
5077
5355
  } };
5078
5356
  });
5079
- })(g7);
5080
- const u7 = ({
5357
+ })(_7);
5358
+ const M7 = ({
5081
5359
  values: i,
5082
5360
  onTagClose: e,
5083
5361
  maxWidth: t,
5084
5362
  closable: s = !0,
5085
5363
  disabled: n,
5086
5364
  options: o,
5087
- extraOptions: h
5365
+ extraOptions: c
5088
5366
  }) => {
5089
- const { locale: a } = Q(y1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
5367
+ const { locale: a } = Q(E1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
5090
5368
  if (A(() => {
5091
5369
  i.length || l(!1);
5092
5370
  }, [i]), !i.length)
5093
5371
  return null;
5094
- const c = (g) => {
5095
- var f, k;
5096
- return ((f = o == null ? void 0 : o.find((m) => m.value === g)) == null ? void 0 : f.label) || ((k = h == null ? void 0 : h.find((m) => m.value === g)) == null ? void 0 : k.label) || g;
5372
+ const h = (g) => {
5373
+ var p, k;
5374
+ return ((p = o == null ? void 0 : o.find((f) => f.value === g)) == null ? void 0 : p.label) || ((k = c == null ? void 0 : c.find((f) => f.value === g)) == null ? void 0 : k.label) || g;
5097
5375
  };
5098
5376
  return /* @__PURE__ */ u(
5099
- C7,
5377
+ x7,
5100
5378
  {
5101
5379
  content: (
5102
5380
  // 90: paddings + margins + gaps and so on
@@ -5106,7 +5384,7 @@ const u7 = ({
5106
5384
  onClose: () => e(g),
5107
5385
  closable: s,
5108
5386
  disabled: n,
5109
- children: c(g)
5387
+ children: h(g)
5110
5388
  },
5111
5389
  g
5112
5390
  )) }) })
@@ -5121,19 +5399,19 @@ const u7 = ({
5121
5399
  ]
5122
5400
  }
5123
5401
  );
5124
- }, f7 = {
5402
+ }, b7 = {
5125
5403
  small: 20,
5126
5404
  medium: 28,
5127
5405
  large: 48
5128
- }, O1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
5129
- const t = f7[i], s = `no-repeat linear-gradient(${e}
5406
+ }, D1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
5407
+ const t = b7[i], s = `no-repeat linear-gradient(${e}
5130
5408
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
5131
5409
  width: t,
5132
5410
  background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
5133
5411
  backgroundSize: "20% calc(200% + 20px)"
5134
5412
  };
5135
5413
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
5136
- }, p7 = w1(
5414
+ }, y7 = h1(
5137
5415
  ({
5138
5416
  value: i,
5139
5417
  onChange: e,
@@ -5141,146 +5419,146 @@ const u7 = ({
5141
5419
  mode: s,
5142
5420
  search: n = !1,
5143
5421
  options: o,
5144
- width: h,
5422
+ width: c,
5145
5423
  disabled: a = !1,
5146
5424
  required: C = !1,
5147
5425
  clearable: d = !1,
5148
5426
  scrollThresholdValue: l = 50,
5149
- onSearchChange: c,
5427
+ onSearchChange: h,
5150
5428
  onDropdownVisibleChange: g,
5151
- onScrollToEnd: f,
5429
+ onScrollToEnd: p,
5152
5430
  onPopupScroll: k,
5153
- id: N,
5154
- extraOptions: m,
5431
+ id: v,
5432
+ extraOptions: f,
5155
5433
  dropdownRender: y,
5156
5434
  optionRender: b,
5157
5435
  isLoading: E,
5158
- readOnly: p,
5159
- error: _
5436
+ readOnly: m,
5437
+ error: M
5160
5438
  }, R) => {
5161
- const [x, D] = I(!1), [P, i1] = I(!1), [$, h1] = I(!0), [V, Y] = I(i), F = J(null);
5439
+ const [x, G] = I(!1), [Y, i1] = I(!1), [$, c1] = I(!0), [V, P] = I(i), F = W(null);
5162
5440
  A(() => {
5163
- Y(i);
5441
+ P(i);
5164
5442
  }, [i]);
5165
- const q = (M) => {
5166
- D(M), g && g(M);
5167
- }, c1 = (M, H) => {
5168
- var G;
5169
- return !!((G = H == null ? void 0 : H.label) != null && G.toString().toLowerCase().includes(M.toLowerCase()));
5443
+ const q = (_) => {
5444
+ G(_), g && g(_);
5445
+ }, d1 = (_, H) => {
5446
+ var T;
5447
+ return !!((T = H == null ? void 0 : H.label) != null && T.toString().toLowerCase().includes(_.toLowerCase()));
5170
5448
  }, O = () => {
5171
5449
  i1(!0);
5172
5450
  }, j = () => {
5173
5451
  i1(!1);
5174
5452
  }, S = K(
5175
- (M) => {
5176
- if (Y(M), s) {
5177
- const G = M;
5178
- e == null || e(G);
5453
+ (_) => {
5454
+ if (P(_), s) {
5455
+ const T = _;
5456
+ e == null || e(T);
5179
5457
  return;
5180
5458
  }
5181
- const H = M;
5459
+ const H = _;
5182
5460
  e == null || e(H);
5183
5461
  },
5184
5462
  [s, e]
5185
- ), d1 = K(() => {
5186
- if (!(p || a)) {
5463
+ ), C1 = K(() => {
5464
+ if (!(m || a)) {
5187
5465
  if (s) {
5188
5466
  S([]);
5189
5467
  return;
5190
5468
  }
5191
5469
  S("");
5192
5470
  }
5193
- }, [a, S, s, p]), C1 = K(
5194
- (M) => {
5195
- const H = V.filter((G) => G !== M);
5196
- S(H), Y(H);
5471
+ }, [a, S, s, m]), g1 = K(
5472
+ (_) => {
5473
+ const H = V.filter((T) => T !== _);
5474
+ S(H), P(H);
5197
5475
  },
5198
5476
  [S, V]
5199
- ), H1 = K(
5200
- (M) => (V == null ? void 0 : V.indexOf(M)) === 0 ? (
5477
+ ), V1 = K(
5478
+ (_) => (V == null ? void 0 : V.indexOf(_)) === 0 ? (
5201
5479
  // if the search input is empty
5202
5480
  // then display the placeholder, else do not display it
5203
5481
  /* @__PURE__ */ r("span", { className: "custom-placeholder", children: $ ? t : "" })
5204
- ) : /* @__PURE__ */ r(W, {}),
5482
+ ) : /* @__PURE__ */ r(U, {}),
5205
5483
  [$, V, t]
5206
- ), l2 = (M) => {
5207
- M.preventDefault(), M.stopPropagation();
5208
- }, h2 = async (M) => {
5209
- const { target: H } = M;
5210
- H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)), k && await k(M);
5484
+ ), l2 = (_) => {
5485
+ _.preventDefault(), _.stopPropagation();
5486
+ }, h2 = async (_) => {
5487
+ const { target: H } = _;
5488
+ H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), k && await k(_);
5211
5489
  }, k1 = K(
5212
- (M) => {
5213
- var H, G;
5214
- return ((H = o.find((v1) => v1.value === M)) == null ? void 0 : H.label) || ((G = m == null ? void 0 : m.find(
5215
- (v1) => v1.value === M
5216
- )) == null ? void 0 : G.label) || M;
5490
+ (_) => {
5491
+ var H, T;
5492
+ return ((H = o.find((v1) => v1.value === _)) == null ? void 0 : H.label) || ((T = f == null ? void 0 : f.find(
5493
+ (v1) => v1.value === _
5494
+ )) == null ? void 0 : T.label) || _;
5217
5495
  },
5218
- [m, o]
5496
+ [f, o]
5219
5497
  ), c2 = K(
5220
- (M) => {
5498
+ (_) => {
5221
5499
  var H;
5222
5500
  return /* @__PURE__ */ r(
5223
- u7,
5501
+ M7,
5224
5502
  {
5225
- values: M,
5226
- onTagClose: C1,
5503
+ values: _,
5504
+ onTagClose: g1,
5227
5505
  maxWidth: ((H = F.current) == null ? void 0 : H.clientWidth) || 0,
5228
5506
  disabled: a,
5229
- closable: !p,
5507
+ closable: !m,
5230
5508
  options: o,
5231
- extraOptions: m
5509
+ extraOptions: f
5232
5510
  }
5233
5511
  );
5234
5512
  },
5235
- [a, m, C1, o, p]
5513
+ [a, f, g1, o, m]
5236
5514
  ), d2 = K(
5237
- ({ label: M, value: H, mode: G }) => G === "filter" ? H1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => C1(H), disabled: a, children: typeof M == "object" ? M : k1(H) }) }),
5238
- [a, k1, C1, H1]
5239
- ), E1 = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
5515
+ ({ label: _, value: H, mode: T }) => T === "filter" ? V1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => g1(H), disabled: a, children: typeof _ == "object" ? _ : k1(H) }) }),
5516
+ [a, k1, g1, V1]
5517
+ ), I1 = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
5240
5518
  return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
5241
5519
  /* @__PURE__ */ u(
5242
5520
  "div",
5243
5521
  {
5244
- className: `snmt-select-1-15-6 ${P ? "snmt-select-focused" : ""}
5245
- ${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
5522
+ className: `snmt-select-1-15-6 ${Y ? "snmt-select-focused" : ""}
5523
+ ${s ? "" : "snmt-select-single"} ${m ? "snmt-select-read-only" : ""}`,
5246
5524
  ref: F,
5247
- style: { width: h },
5525
+ style: { width: c },
5248
5526
  children: [
5249
5527
  /* @__PURE__ */ r(
5250
- f2,
5528
+ p2,
5251
5529
  {
5252
5530
  className: "snmt-select-blank",
5253
- popupClassName: p ? "dropdown-read-only" : "",
5254
- id: N,
5531
+ popupClassName: m ? "dropdown-read-only" : "",
5532
+ id: v,
5255
5533
  ref: R,
5256
5534
  showSearch: !!n,
5257
- filterOption: n && c1,
5535
+ filterOption: n && d1,
5258
5536
  onDropdownVisibleChange: q,
5259
5537
  disabled: a,
5260
5538
  value: V || void 0,
5261
- labelRender: (M) => {
5262
- const H = k1(M.value);
5263
- return a ? /* @__PURE__ */ r("span", { style: { color: T.GREY_DARK_1 }, children: H }) : H;
5539
+ labelRender: (_) => {
5540
+ const H = k1(_.value);
5541
+ return a ? /* @__PURE__ */ r("span", { style: { color: D.GREY_DARK_1 }, children: H }) : H;
5264
5542
  },
5265
5543
  mode: s === "filter" ? "multiple" : s,
5266
5544
  onChange: S,
5267
5545
  onFocus: O,
5268
5546
  onBlur: j,
5269
- onSearch: (M) => {
5270
- h1(!M), c && c(M);
5547
+ onSearch: (_) => {
5548
+ c1(!_), h && h(_);
5271
5549
  },
5272
- onSelect: () => h1(!0),
5273
- onDeselect: () => h1(!0),
5274
- tagRender: (M) => d2({ ...M, mode: s }),
5550
+ onSelect: () => c1(!0),
5551
+ onDeselect: () => c1(!0),
5552
+ tagRender: (_) => d2({ ..._, mode: s }),
5275
5553
  maxTagCount: "responsive",
5276
5554
  maxTagPlaceholder: c2,
5277
5555
  onPopupScroll: h2,
5278
- prefix: E && /* @__PURE__ */ r(O1, { size: "small" }),
5279
- suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(W, { children: [
5556
+ prefix: E && /* @__PURE__ */ r(D1, { size: "small" }),
5557
+ suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(U, { children: [
5280
5558
  V && !!V.length && (s || d) && /* @__PURE__ */ r(
5281
5559
  "div",
5282
5560
  {
5283
- onClick: d1,
5561
+ onClick: C1,
5284
5562
  style: {
5285
5563
  cursor: a ? "not-allowed" : "pointer"
5286
5564
  },
@@ -5288,7 +5566,7 @@ const u7 = ({
5288
5566
  s1,
5289
5567
  {
5290
5568
  name: "cancel",
5291
- color: a ? T.GREY_DARK_1 : T.GREY_DARK_2
5569
+ color: a ? D.GREY_DARK_1 : D.GREY_DARK_2
5292
5570
  }
5293
5571
  )
5294
5572
  }
@@ -5297,47 +5575,47 @@ const u7 = ({
5297
5575
  s1,
5298
5576
  {
5299
5577
  name: "selectArrowIcon",
5300
- color: a ? T.GREY_DARK_1 : T.GREY_DARK_5,
5578
+ color: a ? D.GREY_DARK_1 : D.GREY_DARK_5,
5301
5579
  className: x ? "select-arrow-rotated" : "select-arrow",
5302
- onClick: () => D(!x)
5580
+ onClick: () => G(!x)
5303
5581
  }
5304
5582
  )
5305
5583
  ] }) }),
5306
- removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color: T.GREY_DARK_1 }),
5584
+ removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color: D.GREY_DARK_1 }),
5307
5585
  options: o,
5308
- optionRender: (M) => b ? b(M.data) : /* @__PURE__ */ u(r1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5586
+ optionRender: (_) => b ? b(_.data) : /* @__PURE__ */ u(r1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5309
5587
  /* @__PURE__ */ u(r1, { alignItems: "center", gap: 12, children: [
5310
5588
  s && /* @__PURE__ */ r(
5311
- Y2,
5589
+ W2,
5312
5590
  {
5313
- checked: !!(V != null && V.includes(M.value))
5591
+ checked: !!(V != null && V.includes(_.value))
5314
5592
  }
5315
5593
  ),
5316
5594
  /* @__PURE__ */ u(r1, { alignItems: "center", gap: 8, children: [
5317
- M.data.image && /* @__PURE__ */ r(P2, { src: M.data.image, size: 20 }),
5318
- /* @__PURE__ */ r("span", { children: M.label })
5595
+ _.data.image && /* @__PURE__ */ r(Y2, { src: _.data.image, size: 20 }),
5596
+ /* @__PURE__ */ r("span", { children: _.label })
5319
5597
  ] })
5320
5598
  ] }),
5321
- !s && V === M.value && /* @__PURE__ */ r(s1, { name: "check", color: T.BLUE_DARK_1 })
5599
+ !s && V === _.value && /* @__PURE__ */ r(s1, { name: "check", color: D.BLUE_DARK_1 })
5322
5600
  ] }),
5323
- dropdownRender: (M) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
5324
- /* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(M) : M }),
5325
- E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(O1, {}) })
5601
+ dropdownRender: (_) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
5602
+ /* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(_) : _ }),
5603
+ E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(D1, {}) })
5326
5604
  ] })
5327
5605
  }
5328
5606
  ),
5329
- t && /* @__PURE__ */ u(W, { children: [
5607
+ t && /* @__PURE__ */ u(U, { children: [
5330
5608
  /* @__PURE__ */ r(
5331
5609
  "label",
5332
5610
  {
5333
- className: `${P || E1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${P ? "label-focused" : ""} ${E ? "label-loading" : ""} ${_ ? "label-error" : ""}`,
5611
+ className: `${Y || I1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${Y ? "label-focused" : ""} ${E ? "label-loading" : ""} ${M ? "label-error" : ""}`,
5334
5612
  children: C ? `${t}*` : t
5335
5613
  }
5336
5614
  ),
5337
5615
  /* @__PURE__ */ r(
5338
5616
  "fieldset",
5339
5617
  {
5340
- className: `${P ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${E1 ? "fieldset-filled" : ""} ${_ ? "fieldset-error" : ""}`,
5618
+ className: `${Y ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${I1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}`,
5341
5619
  children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
5342
5620
  }
5343
5621
  )
@@ -5345,43 +5623,43 @@ const u7 = ({
5345
5623
  ]
5346
5624
  }
5347
5625
  ),
5348
- _ && /* @__PURE__ */ u(r1, { justifyContent: "flex-start", gap: 6, children: [
5626
+ M && /* @__PURE__ */ u(r1, { justifyContent: "flex-start", gap: 6, children: [
5349
5627
  /* @__PURE__ */ r(
5350
5628
  s1,
5351
5629
  {
5352
5630
  name: "attention",
5353
- color: T.NOTIFICATION_ERROR_DARK,
5631
+ color: D.NOTIFICATION_ERROR_DARK,
5354
5632
  height: 16,
5355
5633
  width: 16
5356
5634
  }
5357
5635
  ),
5358
- typeof _ == "string" ? /* @__PURE__ */ r(d7, { color: T.NOTIFICATION_ERROR_DARK, variant: "body4", children: _ }) : _
5636
+ typeof M == "string" ? /* @__PURE__ */ r(R7, { color: D.NOTIFICATION_ERROR_DARK, variant: "body4", children: M }) : M
5359
5637
  ] })
5360
5638
  ] });
5361
5639
  }
5362
- ), v = (i) => typeof i == "string", n1 = () => {
5640
+ ), N = (i) => typeof i == "string", n1 = () => {
5363
5641
  let i, e;
5364
5642
  const t = new Promise((s, n) => {
5365
5643
  i = s, e = n;
5366
5644
  });
5367
5645
  return t.resolve = i, t.reject = e, t;
5368
- }, S1 = (i) => i == null ? "" : "" + i, m7 = (i, e, t) => {
5646
+ }, G1 = (i) => i == null ? "" : "" + i, H7 = (i, e, t) => {
5369
5647
  i.forEach((s) => {
5370
5648
  e[s] && (t[s] = e[s]);
5371
5649
  });
5372
- }, w7 = /###/g, D1 = (i) => i && i.indexOf("###") > -1 ? i.replace(w7, ".") : i, G1 = (i) => !i || v(i), a1 = (i, e, t) => {
5373
- const s = v(e) ? e.split(".") : e;
5650
+ }, E7 = /###/g, T1 = (i) => i && i.indexOf("###") > -1 ? i.replace(E7, ".") : i, K1 = (i) => !i || N(i), a1 = (i, e, t) => {
5651
+ const s = N(e) ? e.split(".") : e;
5374
5652
  let n = 0;
5375
5653
  for (; n < s.length - 1; ) {
5376
- if (G1(i)) return {};
5377
- const o = D1(s[n]);
5654
+ if (K1(i)) return {};
5655
+ const o = T1(s[n]);
5378
5656
  !i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++n;
5379
5657
  }
5380
- return G1(i) ? {} : {
5658
+ return K1(i) ? {} : {
5381
5659
  obj: i,
5382
- k: D1(s[n])
5660
+ k: T1(s[n])
5383
5661
  };
5384
- }, T1 = (i, e, t) => {
5662
+ }, B1 = (i, e, t) => {
5385
5663
  const {
5386
5664
  obj: s,
5387
5665
  k: n
@@ -5390,32 +5668,32 @@ const u7 = ({
5390
5668
  s[n] = t;
5391
5669
  return;
5392
5670
  }
5393
- let o = e[e.length - 1], h = e.slice(0, e.length - 1), a = a1(i, h, Object);
5394
- for (; a.obj === void 0 && h.length; )
5395
- o = `${h[h.length - 1]}.${o}`, h = h.slice(0, h.length - 1), a = a1(i, h, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
5671
+ let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = a1(i, c, Object);
5672
+ for (; a.obj === void 0 && c.length; )
5673
+ o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = a1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
5396
5674
  a.obj[`${a.k}.${o}`] = t;
5397
- }, L7 = (i, e, t, s) => {
5675
+ }, V7 = (i, e, t, s) => {
5398
5676
  const {
5399
5677
  obj: n,
5400
5678
  k: o
5401
5679
  } = a1(i, e, Object);
5402
5680
  n[o] = n[o] || [], n[o].push(t);
5403
- }, u1 = (i, e) => {
5681
+ }, p1 = (i, e) => {
5404
5682
  const {
5405
5683
  obj: t,
5406
5684
  k: s
5407
5685
  } = a1(i, e);
5408
5686
  if (t)
5409
5687
  return t[s];
5410
- }, k7 = (i, e, t) => {
5411
- const s = u1(i, t);
5412
- return s !== void 0 ? s : u1(e, t);
5688
+ }, I7 = (i, e, t) => {
5689
+ const s = p1(i, t);
5690
+ return s !== void 0 ? s : p1(e, t);
5413
5691
  }, s2 = (i, e, t) => {
5414
5692
  for (const s in e)
5415
- s !== "__proto__" && s !== "constructor" && (s in i ? v(i[s]) || i[s] instanceof String || v(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
5693
+ s !== "__proto__" && s !== "constructor" && (s in i ? N(i[s]) || i[s] instanceof String || N(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
5416
5694
  return i;
5417
5695
  }, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5418
- var v7 = {
5696
+ var A7 = {
5419
5697
  "&": "&amp;",
5420
5698
  "<": "&lt;",
5421
5699
  ">": "&gt;",
@@ -5423,8 +5701,8 @@ var v7 = {
5423
5701
  "'": "&#39;",
5424
5702
  "/": "&#x2F;"
5425
5703
  };
5426
- const N7 = (i) => v(i) ? i.replace(/[&<>"'\/]/g, (e) => v7[e]) : i;
5427
- class R7 {
5704
+ const Z7 = (i) => N(i) ? i.replace(/[&<>"'\/]/g, (e) => A7[e]) : i;
5705
+ class O7 {
5428
5706
  constructor(e) {
5429
5707
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
5430
5708
  }
@@ -5436,18 +5714,18 @@ class R7 {
5436
5714
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
5437
5715
  }
5438
5716
  }
5439
- const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
5717
+ const S7 = [" ", ",", "?", "!", ";"], D7 = new O7(20), G7 = (i, e, t) => {
5440
5718
  e = e || "", t = t || "";
5441
- const s = x7.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
5719
+ const s = S7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
5442
5720
  if (s.length === 0) return !0;
5443
- const n = M7.getRegExp(`(${s.map((h) => h === "?" ? "\\?" : h).join("|")})`);
5721
+ const n = D7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
5444
5722
  let o = !n.test(i);
5445
5723
  if (!o) {
5446
- const h = i.indexOf(t);
5447
- h > 0 && !n.test(i.substring(0, h)) && (o = !0);
5724
+ const c = i.indexOf(t);
5725
+ c > 0 && !n.test(i.substring(0, c)) && (o = !0);
5448
5726
  }
5449
5727
  return o;
5450
- }, M1 = function(i, e) {
5728
+ }, _1 = function(i, e) {
5451
5729
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
5452
5730
  if (!i) return;
5453
5731
  if (i[e]) return i[e];
@@ -5456,18 +5734,18 @@ const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
5456
5734
  for (let o = 0; o < s.length; ) {
5457
5735
  if (!n || typeof n != "object")
5458
5736
  return;
5459
- let h, a = "";
5737
+ let c, a = "";
5460
5738
  for (let C = o; C < s.length; ++C)
5461
- if (C !== o && (a += t), a += s[C], h = n[a], h !== void 0) {
5462
- if (["string", "number", "boolean"].indexOf(typeof h) > -1 && C < s.length - 1)
5739
+ if (C !== o && (a += t), a += s[C], c = n[a], c !== void 0) {
5740
+ if (["string", "number", "boolean"].indexOf(typeof c) > -1 && C < s.length - 1)
5463
5741
  continue;
5464
5742
  o += C - o + 1;
5465
5743
  break;
5466
5744
  }
5467
- n = h;
5745
+ n = c;
5468
5746
  }
5469
5747
  return n;
5470
- }, f1 = (i) => i && i.replace("_", "-"), b7 = {
5748
+ }, f1 = (i) => i && i.replace("_", "-"), T7 = {
5471
5749
  type: "logger",
5472
5750
  log(i) {
5473
5751
  this.output("log", i);
@@ -5482,14 +5760,14 @@ const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
5482
5760
  console && console[i] && console[i].apply(console, e);
5483
5761
  }
5484
5762
  };
5485
- class p1 {
5763
+ class m1 {
5486
5764
  constructor(e) {
5487
5765
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5488
5766
  this.init(e, t);
5489
5767
  }
5490
5768
  init(e) {
5491
5769
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5492
- this.prefix = t.prefix || "i18next:", this.logger = e || b7, this.options = t, this.debug = t.debug;
5770
+ this.prefix = t.prefix || "i18next:", this.logger = e || T7, this.options = t, this.debug = t.debug;
5493
5771
  }
5494
5772
  log() {
5495
5773
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -5512,19 +5790,19 @@ class p1 {
5512
5790
  return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
5513
5791
  }
5514
5792
  forward(e, t, s, n) {
5515
- return n && !this.debug ? null : (v(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
5793
+ return n && !this.debug ? null : (N(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
5516
5794
  }
5517
5795
  create(e) {
5518
- return new p1(this.logger, {
5796
+ return new m1(this.logger, {
5519
5797
  prefix: `${this.prefix}:${e}:`,
5520
5798
  ...this.options
5521
5799
  });
5522
5800
  }
5523
5801
  clone(e) {
5524
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new p1(this.logger, e);
5802
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new m1(this.logger, e);
5525
5803
  }
5526
5804
  }
5527
- var B = new p1();
5805
+ var B = new m1();
5528
5806
  class L1 {
5529
5807
  constructor() {
5530
5808
  this.observers = {};
@@ -5548,18 +5826,18 @@ class L1 {
5548
5826
  emit(e) {
5549
5827
  for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
5550
5828
  s[n - 1] = arguments[n];
5551
- this.observers[e] && Array.from(this.observers[e].entries()).forEach((h) => {
5552
- let [a, C] = h;
5829
+ this.observers[e] && Array.from(this.observers[e].entries()).forEach((c) => {
5830
+ let [a, C] = c;
5553
5831
  for (let d = 0; d < C; d++)
5554
5832
  a(...s);
5555
- }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((h) => {
5556
- let [a, C] = h;
5833
+ }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((c) => {
5834
+ let [a, C] = c;
5557
5835
  for (let d = 0; d < C; d++)
5558
5836
  a.apply(a, [e, ...s]);
5559
5837
  });
5560
5838
  }
5561
5839
  }
5562
- class K1 extends L1 {
5840
+ class Y1 extends L1 {
5563
5841
  constructor(e) {
5564
5842
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5565
5843
  ns: ["translation"],
@@ -5576,41 +5854,41 @@ class K1 extends L1 {
5576
5854
  }
5577
5855
  getResource(e, t, s) {
5578
5856
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
5579
- const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, h = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
5857
+ const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
5580
5858
  let a;
5581
- e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : v(s) && o ? a.push(...s.split(o)) : a.push(s)));
5582
- const C = u1(this.data, a);
5583
- return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !h || !v(s) ? C : M1(this.data && this.data[e] && this.data[e][t], s, o);
5859
+ e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : N(s) && o ? a.push(...s.split(o)) : a.push(s)));
5860
+ const C = p1(this.data, a);
5861
+ return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !N(s) ? C : _1(this.data && this.data[e] && this.data[e][t], s, o);
5584
5862
  }
5585
5863
  addResource(e, t, s, n) {
5586
5864
  let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
5587
5865
  silent: !1
5588
5866
  };
5589
- const h = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
5867
+ const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
5590
5868
  let a = [e, t];
5591
- s && (a = a.concat(h ? s.split(h) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), T1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
5869
+ s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), B1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
5592
5870
  }
5593
5871
  addResources(e, t, s) {
5594
5872
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
5595
5873
  silent: !1
5596
5874
  };
5597
5875
  for (const o in s)
5598
- (v(s[o]) || Array.isArray(s[o])) && this.addResource(e, t, o, s[o], {
5876
+ (N(s[o]) || Array.isArray(s[o])) && this.addResource(e, t, o, s[o], {
5599
5877
  silent: !0
5600
5878
  });
5601
5879
  n.silent || this.emit("added", e, t, s);
5602
5880
  }
5603
5881
  addResourceBundle(e, t, s, n, o) {
5604
- let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
5882
+ let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
5605
5883
  silent: !1,
5606
5884
  skipCopy: !1
5607
5885
  }, a = [e, t];
5608
5886
  e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
5609
- let C = u1(this.data, a) || {};
5610
- h.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
5887
+ let C = p1(this.data, a) || {};
5888
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
5611
5889
  ...C,
5612
5890
  ...s
5613
- }, T1(this.data, a, C), h.silent || this.emit("added", e, t, s);
5891
+ }, B1(this.data, a, C), c.silent || this.emit("added", e, t, s);
5614
5892
  }
5615
5893
  removeResourceBundle(e, t) {
5616
5894
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -5645,11 +5923,11 @@ var n2 = {
5645
5923
  }), e;
5646
5924
  }
5647
5925
  };
5648
- const B1 = {};
5649
- class m1 extends L1 {
5926
+ const P1 = {};
5927
+ class w1 extends L1 {
5650
5928
  constructor(e) {
5651
5929
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5652
- super(), m7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
5930
+ super(), H7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
5653
5931
  }
5654
5932
  changeLanguage(e) {
5655
5933
  e && (this.language = e);
@@ -5668,20 +5946,20 @@ class m1 extends L1 {
5668
5946
  s === void 0 && (s = ":");
5669
5947
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
5670
5948
  let o = t.ns || this.options.defaultNS || [];
5671
- const h = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !_7(e, s, n);
5672
- if (h && !a) {
5949
+ const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !G7(e, s, n);
5950
+ if (c && !a) {
5673
5951
  const C = e.match(this.interpolator.nestingRegexp);
5674
5952
  if (C && C.length > 0)
5675
5953
  return {
5676
5954
  key: e,
5677
- namespaces: v(o) ? [o] : o
5955
+ namespaces: N(o) ? [o] : o
5678
5956
  };
5679
5957
  const d = e.split(s);
5680
5958
  (s !== n || s === n && this.options.ns.indexOf(d[0]) > -1) && (o = d.shift()), e = d.join(n);
5681
5959
  }
5682
5960
  return {
5683
5961
  key: e,
5684
- namespaces: v(o) ? [o] : o
5962
+ namespaces: N(o) ? [o] : o
5685
5963
  };
5686
5964
  }
5687
5965
  translate(e, t, s) {
@@ -5690,67 +5968,67 @@ class m1 extends L1 {
5690
5968
  }), t || (t = {}), e == null) return "";
5691
5969
  Array.isArray(e) || (e = [String(e)]);
5692
5970
  const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
5693
- key: h,
5971
+ key: c,
5694
5972
  namespaces: a
5695
5973
  } = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
5696
5974
  if (d && d.toLowerCase() === "cimode") {
5697
5975
  if (l) {
5698
- const p = t.nsSeparator || this.options.nsSeparator;
5976
+ const m = t.nsSeparator || this.options.nsSeparator;
5699
5977
  return n ? {
5700
- res: `${C}${p}${h}`,
5701
- usedKey: h,
5702
- exactUsedKey: h,
5978
+ res: `${C}${m}${c}`,
5979
+ usedKey: c,
5980
+ exactUsedKey: c,
5703
5981
  usedLng: d,
5704
5982
  usedNS: C,
5705
5983
  usedParams: this.getUsedParamsDetails(t)
5706
- } : `${C}${p}${h}`;
5984
+ } : `${C}${m}${c}`;
5707
5985
  }
5708
5986
  return n ? {
5709
- res: h,
5710
- usedKey: h,
5711
- exactUsedKey: h,
5987
+ res: c,
5988
+ usedKey: c,
5989
+ exactUsedKey: c,
5712
5990
  usedLng: d,
5713
5991
  usedNS: C,
5714
5992
  usedParams: this.getUsedParamsDetails(t)
5715
- } : h;
5993
+ } : c;
5716
5994
  }
5717
- const c = this.resolve(e, t);
5718
- let g = c && c.res;
5719
- const f = c && c.usedKey || h, k = c && c.exactUsedKey || h, N = 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, E = !v(g) && typeof g != "boolean" && typeof g != "number";
5720
- if (b && g && E && m.indexOf(N) < 0 && !(v(y) && Array.isArray(g))) {
5995
+ const h = this.resolve(e, t);
5996
+ let g = h && h.res;
5997
+ const p = h && h.usedKey || c, k = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), f = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !N(g) && typeof g != "boolean" && typeof g != "number";
5998
+ if (b && g && E && f.indexOf(v) < 0 && !(N(y) && Array.isArray(g))) {
5721
5999
  if (!t.returnObjects && !this.options.returnObjects) {
5722
6000
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
5723
- const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
6001
+ const m = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
5724
6002
  ...t,
5725
6003
  ns: a
5726
- }) : `key '${h} (${this.language})' returned an object instead of string.`;
5727
- return n ? (c.res = p, c.usedParams = this.getUsedParamsDetails(t), c) : p;
6004
+ }) : `key '${c} (${this.language})' returned an object instead of string.`;
6005
+ return n ? (h.res = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
5728
6006
  }
5729
6007
  if (o) {
5730
- const p = Array.isArray(g), _ = p ? [] : {}, R = p ? k : f;
6008
+ const m = Array.isArray(g), M = m ? [] : {}, R = m ? k : p;
5731
6009
  for (const x in g)
5732
6010
  if (Object.prototype.hasOwnProperty.call(g, x)) {
5733
- const D = `${R}${o}${x}`;
5734
- _[x] = this.translate(D, {
6011
+ const G = `${R}${o}${x}`;
6012
+ M[x] = this.translate(G, {
5735
6013
  ...t,
5736
6014
  joinArrays: !1,
5737
6015
  ns: a
5738
- }), _[x] === D && (_[x] = g[x]);
6016
+ }), M[x] === G && (M[x] = g[x]);
5739
6017
  }
5740
- g = _;
6018
+ g = M;
5741
6019
  }
5742
- } else if (b && v(y) && Array.isArray(g))
6020
+ } else if (b && N(y) && Array.isArray(g))
5743
6021
  g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
5744
6022
  else {
5745
- let p = !1, _ = !1;
5746
- const R = t.count !== void 0 && !v(t.count), x = m1.hasDefaultValue(t), D = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", P = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
6023
+ let m = !1, M = !1;
6024
+ const R = t.count !== void 0 && !N(t.count), x = w1.hasDefaultValue(t), G = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", Y = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
5747
6025
  ordinal: !1
5748
- }) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${D}`] || t[`defaultValue${P}`] || t.defaultValue;
5749
- !this.isValidLookup(g) && x && (p = !0, g = $), this.isValidLookup(g) || (_ = !0, g = h);
5750
- const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && _ ? void 0 : g, Y = x && $ !== g && this.options.updateMissing;
5751
- if (_ || p || Y) {
5752
- if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, h, Y ? $ : g), o) {
5753
- const O = this.resolve(h, {
6026
+ }) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${G}`] || t[`defaultValue${Y}`] || t.defaultValue;
6027
+ !this.isValidLookup(g) && x && (m = !0, g = $), this.isValidLookup(g) || (M = !0, g = c);
6028
+ const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : g, P = x && $ !== g && this.options.updateMissing;
6029
+ if (M || m || P) {
6030
+ if (this.logger.log(P ? "updateKey" : "missingKey", d, C, c, P ? $ : g), o) {
6031
+ const O = this.resolve(c, {
5754
6032
  ...t,
5755
6033
  keySeparator: !1
5756
6034
  });
@@ -5762,23 +6040,23 @@ class m1 extends L1 {
5762
6040
  for (let O = 0; O < q.length; O++)
5763
6041
  F.push(q[O]);
5764
6042
  else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
5765
- const c1 = (O, j, S) => {
5766
- const d1 = x && S !== g ? S : V;
5767
- this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j, d1, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, C, j, d1, Y, t), this.emit("missingKey", O, C, j, g);
6043
+ const d1 = (O, j, S) => {
6044
+ const C1 = x && S !== g ? S : V;
6045
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j, C1, P, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, C, j, C1, P, t), this.emit("missingKey", O, C, j, g);
5768
6046
  };
5769
6047
  this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((O) => {
5770
6048
  const j = this.pluralResolver.getSuffixes(O, t);
5771
6049
  i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((S) => {
5772
- c1([O], h + S, t[`defaultValue${S}`] || $);
6050
+ d1([O], c + S, t[`defaultValue${S}`] || $);
5773
6051
  });
5774
- }) : c1(F, h, $));
6052
+ }) : d1(F, c, $));
5775
6053
  }
5776
- g = this.extendTranslation(g, e, t, c, s), _ && g === h && this.options.appendNamespaceToMissingKey && (g = `${C}:${h}`), (_ || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${h}` : h, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
6054
+ g = this.extendTranslation(g, e, t, h, s), M && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (M || m) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, m ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
5777
6055
  }
5778
- return n ? (c.res = g, c.usedParams = this.getUsedParamsDetails(t), c) : g;
6056
+ return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
5779
6057
  }
5780
6058
  extendTranslation(e, t, s, n, o) {
5781
- var h = this;
6059
+ var c = this;
5782
6060
  if (this.i18nFormat && this.i18nFormat.parse)
5783
6061
  e = this.i18nFormat.parse(e, {
5784
6062
  ...this.options.interpolation.defaultVariables,
@@ -5794,27 +6072,27 @@ class m1 extends L1 {
5794
6072
  ...s.interpolation
5795
6073
  }
5796
6074
  });
5797
- const d = v(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
6075
+ const d = N(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
5798
6076
  let l;
5799
6077
  if (d) {
5800
6078
  const g = e.match(this.interpolator.nestingRegexp);
5801
6079
  l = g && g.length;
5802
6080
  }
5803
- let c = s.replace && !v(s.replace) ? s.replace : s;
5804
- if (this.options.interpolation.defaultVariables && (c = {
6081
+ let h = s.replace && !N(s.replace) ? s.replace : s;
6082
+ if (this.options.interpolation.defaultVariables && (h = {
5805
6083
  ...this.options.interpolation.defaultVariables,
5806
- ...c
5807
- }), e = this.interpolator.interpolate(e, c, s.lng || this.language || n.usedLng, s), d) {
5808
- const g = e.match(this.interpolator.nestingRegexp), f = g && g.length;
5809
- l < f && (s.nest = !1);
6084
+ ...h
6085
+ }), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), d) {
6086
+ const g = e.match(this.interpolator.nestingRegexp), p = g && g.length;
6087
+ l < p && (s.nest = !1);
5810
6088
  }
5811
6089
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
5812
- for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
5813
- f[k] = arguments[k];
5814
- return o && o[0] === f[0] && !s.context ? (h.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : h.translate(...f, t);
6090
+ for (var g = arguments.length, p = new Array(g), k = 0; k < g; k++)
6091
+ p[k] = arguments[k];
6092
+ return o && o[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
5815
6093
  }, s)), s.interpolation && this.interpolator.reset();
5816
6094
  }
5817
- const a = s.postProcess || this.options.postProcess, C = v(a) ? [a] : a;
6095
+ const a = s.postProcess || this.options.postProcess, C = N(a) ? [a] : a;
5818
6096
  return e != null && C && C.length && s.applyPostProcessor !== !1 && (e = n2.handle(C, e, t, this.options && this.options.postProcessPassResolved ? {
5819
6097
  i18nResolved: {
5820
6098
  ...n,
@@ -5824,40 +6102,40 @@ class m1 extends L1 {
5824
6102
  } : s, this)), e;
5825
6103
  }
5826
6104
  resolve(e) {
5827
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, h, a;
5828
- return v(e) && (e = [e]), e.forEach((C) => {
6105
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, c, a;
6106
+ return N(e) && (e = [e]), e.forEach((C) => {
5829
6107
  if (this.isValidLookup(s)) return;
5830
6108
  const d = this.extractFromKey(C, t), l = d.key;
5831
6109
  n = l;
5832
- let c = d.namespaces;
5833
- this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
5834
- const g = t.count !== void 0 && !v(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (v(t.context) || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
5835
- c.forEach((m) => {
5836
- this.isValidLookup(s) || (a = m, !B1[`${N[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (B1[`${N[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEach((y) => {
6110
+ let h = d.namespaces;
6111
+ this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
6112
+ const g = t.count !== void 0 && !N(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (N(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6113
+ h.forEach((f) => {
6114
+ this.isValidLookup(s) || (a = f, !P1[`${v[0]}-${f}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (P1[`${v[0]}-${f}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((y) => {
5837
6115
  if (this.isValidLookup(s)) return;
5838
- h = y;
6116
+ c = y;
5839
6117
  const b = [l];
5840
6118
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
5841
- this.i18nFormat.addLookupKeys(b, l, y, m, t);
6119
+ this.i18nFormat.addLookupKeys(b, l, y, f, t);
5842
6120
  else {
5843
- let p;
5844
- g && (p = this.pluralResolver.getSuffix(y, t.count, t));
5845
- const _ = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
5846
- if (g && (b.push(l + p), t.ordinal && p.indexOf(R) === 0 && b.push(l + p.replace(R, this.options.pluralSeparator)), f && b.push(l + _)), k) {
6121
+ let m;
6122
+ g && (m = this.pluralResolver.getSuffix(y, t.count, t));
6123
+ const M = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
6124
+ if (g && (b.push(l + m), t.ordinal && m.indexOf(R) === 0 && b.push(l + m.replace(R, this.options.pluralSeparator)), p && b.push(l + M)), k) {
5847
6125
  const x = `${l}${this.options.contextSeparator}${t.context}`;
5848
- b.push(x), g && (b.push(x + p), t.ordinal && p.indexOf(R) === 0 && b.push(x + p.replace(R, this.options.pluralSeparator)), f && b.push(x + _));
6126
+ b.push(x), g && (b.push(x + m), t.ordinal && m.indexOf(R) === 0 && b.push(x + m.replace(R, this.options.pluralSeparator)), p && b.push(x + M));
5849
6127
  }
5850
6128
  }
5851
6129
  let E;
5852
6130
  for (; E = b.pop(); )
5853
- this.isValidLookup(s) || (o = E, s = this.getResource(y, m, E, t));
6131
+ this.isValidLookup(s) || (o = E, s = this.getResource(y, f, E, t));
5854
6132
  }));
5855
6133
  });
5856
6134
  }), {
5857
6135
  res: s,
5858
6136
  usedKey: n,
5859
6137
  exactUsedKey: o,
5860
- usedLng: h,
6138
+ usedLng: c,
5861
6139
  usedNS: a
5862
6140
  };
5863
6141
  }
@@ -5870,7 +6148,7 @@ class m1 extends L1 {
5870
6148
  }
5871
6149
  getUsedParamsDetails() {
5872
6150
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5873
- const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !v(e.replace);
6151
+ const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !N(e.replace);
5874
6152
  let n = s ? e.replace : e;
5875
6153
  if (s && typeof e.count < "u" && (n.count = e.count), this.options.interpolation.defaultVariables && (n = {
5876
6154
  ...this.options.interpolation.defaultVariables,
@@ -5893,7 +6171,7 @@ class m1 extends L1 {
5893
6171
  }
5894
6172
  }
5895
6173
  const N1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
5896
- class P1 {
6174
+ class j1 {
5897
6175
  constructor(e) {
5898
6176
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
5899
6177
  }
@@ -5908,7 +6186,7 @@ class P1 {
5908
6186
  return this.formatLanguageCode(t[0]);
5909
6187
  }
5910
6188
  formatLanguageCode(e) {
5911
- if (v(e) && e.indexOf("-") > -1) {
6189
+ if (N(e) && e.indexOf("-") > -1) {
5912
6190
  if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
5913
6191
  try {
5914
6192
  let n = Intl.getCanonicalLocales(e)[0];
@@ -5944,21 +6222,21 @@ class P1 {
5944
6222
  }
5945
6223
  getFallbackCodes(e, t) {
5946
6224
  if (!e) return [];
5947
- if (typeof e == "function" && (e = e(t)), v(e) && (e = [e]), Array.isArray(e)) return e;
6225
+ if (typeof e == "function" && (e = e(t)), N(e) && (e = [e]), Array.isArray(e)) return e;
5948
6226
  if (!t) return e.default || [];
5949
6227
  let s = e[t];
5950
6228
  return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
5951
6229
  }
5952
6230
  toResolveHierarchy(e, t) {
5953
- const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (h) => {
5954
- h && (this.isSupportedCode(h) ? n.push(h) : this.logger.warn(`rejecting language code not found in supportedLngs: ${h}`));
6231
+ const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (c) => {
6232
+ c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
5955
6233
  };
5956
- return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((h) => {
5957
- n.indexOf(h) < 0 && o(this.formatLanguageCode(h));
6234
+ return N(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : N(e) && o(this.formatLanguageCode(e)), s.forEach((c) => {
6235
+ n.indexOf(c) < 0 && o(this.formatLanguageCode(c));
5958
6236
  }), n;
5959
6237
  }
5960
6238
  }
5961
- let y7 = [{
6239
+ let K7 = [{
5962
6240
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
5963
6241
  nr: [1, 2],
5964
6242
  fc: 1
@@ -6050,7 +6328,7 @@ let y7 = [{
6050
6328
  lngs: ["he", "iw"],
6051
6329
  nr: [1, 2, 20, 21],
6052
6330
  fc: 22
6053
- }], H7 = {
6331
+ }], B7 = {
6054
6332
  1: (i) => +(i > 1),
6055
6333
  2: (i) => +(i != 1),
6056
6334
  3: (i) => 0,
@@ -6074,28 +6352,28 @@ let y7 = [{
6074
6352
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
6075
6353
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
6076
6354
  };
6077
- const E7 = ["v1", "v2", "v3"], V7 = ["v4"], Y1 = {
6355
+ const Y7 = ["v1", "v2", "v3"], P7 = ["v4"], $1 = {
6078
6356
  zero: 0,
6079
6357
  one: 1,
6080
6358
  two: 2,
6081
6359
  few: 3,
6082
6360
  many: 4,
6083
6361
  other: 5
6084
- }, I7 = () => {
6362
+ }, j7 = () => {
6085
6363
  const i = {};
6086
- return y7.forEach((e) => {
6364
+ return K7.forEach((e) => {
6087
6365
  e.lngs.forEach((t) => {
6088
6366
  i[t] = {
6089
6367
  numbers: e.nr,
6090
- plurals: H7[e.fc]
6368
+ plurals: B7[e.fc]
6091
6369
  };
6092
6370
  });
6093
6371
  }), i;
6094
6372
  };
6095
- class A7 {
6373
+ class $7 {
6096
6374
  constructor(e) {
6097
6375
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6098
- this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || V7.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 = I7(), this.pluralRulesCache = {};
6376
+ this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || P7.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 = j7(), this.pluralRulesCache = {};
6099
6377
  }
6100
6378
  addRule(e, t) {
6101
6379
  this.rules[e] = t;
@@ -6112,17 +6390,17 @@ class A7 {
6112
6390
  });
6113
6391
  if (o in this.pluralRulesCache)
6114
6392
  return this.pluralRulesCache[o];
6115
- let h;
6393
+ let c;
6116
6394
  try {
6117
- h = new Intl.PluralRules(s, {
6395
+ c = new Intl.PluralRules(s, {
6118
6396
  type: n
6119
6397
  });
6120
6398
  } catch {
6121
6399
  if (!e.match(/-|_/)) return;
6122
6400
  const C = this.languageUtils.getLanguagePartFromCode(e);
6123
- h = this.getRule(C, t);
6401
+ c = this.getRule(C, t);
6124
6402
  }
6125
- return this.pluralRulesCache[o] = h, h;
6403
+ return this.pluralRulesCache[o] = c, c;
6126
6404
  }
6127
6405
  return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
6128
6406
  }
@@ -6138,7 +6416,7 @@ class A7 {
6138
6416
  getSuffixes(e) {
6139
6417
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6140
6418
  const s = this.getRule(e, t);
6141
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => Y1[n] - Y1[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
6419
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => $1[n] - $1[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
6142
6420
  }
6143
6421
  getSuffix(e, t) {
6144
6422
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -6153,14 +6431,14 @@ class A7 {
6153
6431
  return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
6154
6432
  }
6155
6433
  shouldUseIntlApi() {
6156
- return !E7.includes(this.options.compatibilityJSON);
6434
+ return !Y7.includes(this.options.compatibilityJSON);
6157
6435
  }
6158
6436
  }
6159
- const j1 = function(i, e, t) {
6160
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = k7(i, e, t);
6161
- return !o && n && v(t) && (o = M1(i, t, s), o === void 0 && (o = M1(e, t, s))), o;
6437
+ const F1 = function(i, e, t) {
6438
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = I7(i, e, t);
6439
+ return !o && n && N(t) && (o = _1(i, t, s), o === void 0 && (o = _1(e, t, s))), o;
6162
6440
  }, R1 = (i) => i.replace(/\$/g, "$$$$");
6163
- class Z7 {
6441
+ class F7 {
6164
6442
  constructor() {
6165
6443
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6166
6444
  this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -6175,21 +6453,21 @@ class Z7 {
6175
6453
  escapeValue: s,
6176
6454
  useRawValueToEscape: n,
6177
6455
  prefix: o,
6178
- prefixEscaped: h,
6456
+ prefixEscaped: c,
6179
6457
  suffix: a,
6180
6458
  suffixEscaped: C,
6181
6459
  formatSeparator: d,
6182
6460
  unescapeSuffix: l,
6183
- unescapePrefix: c,
6461
+ unescapePrefix: h,
6184
6462
  nestingPrefix: g,
6185
- nestingPrefixEscaped: f,
6463
+ nestingPrefixEscaped: p,
6186
6464
  nestingSuffix: k,
6187
- nestingSuffixEscaped: N,
6188
- nestingOptionsSeparator: m,
6465
+ nestingSuffixEscaped: v,
6466
+ nestingOptionsSeparator: f,
6189
6467
  maxReplaces: y,
6190
6468
  alwaysFormat: b
6191
6469
  } = e.interpolation;
6192
- this.escape = t !== void 0 ? t : N7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : h || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : f || X("$t("), this.nestingSuffix = k ? X(k) : N || X(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
6470
+ this.escape = t !== void 0 ? t : Z7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : c || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : p || X("$t("), this.nestingSuffix = k ? X(k) : v || X(")"), this.nestingOptionsSeparator = f || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
6193
6471
  }
6194
6472
  reset() {
6195
6473
  this.options && this.init(this.options);
@@ -6199,84 +6477,84 @@ class Z7 {
6199
6477
  this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
6200
6478
  }
6201
6479
  interpolate(e, t, s, n) {
6202
- let o, h, a;
6203
- const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
6204
- if (f.indexOf(this.formatSeparator) < 0) {
6205
- const y = j1(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
6480
+ let o, c, a;
6481
+ const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
6482
+ if (p.indexOf(this.formatSeparator) < 0) {
6483
+ const y = F1(t, C, p, this.options.keySeparator, this.options.ignoreJSONStructure);
6206
6484
  return this.alwaysFormat ? this.format(y, void 0, s, {
6207
6485
  ...n,
6208
6486
  ...t,
6209
- interpolationkey: f
6487
+ interpolationkey: p
6210
6488
  }) : y;
6211
6489
  }
6212
- const k = f.split(this.formatSeparator), N = k.shift().trim(), m = k.join(this.formatSeparator).trim();
6213
- return this.format(j1(t, C, N, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
6490
+ const k = p.split(this.formatSeparator), v = k.shift().trim(), f = k.join(this.formatSeparator).trim();
6491
+ return this.format(F1(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), f, s, {
6214
6492
  ...n,
6215
6493
  ...t,
6216
- interpolationkey: N
6494
+ interpolationkey: v
6217
6495
  });
6218
6496
  };
6219
6497
  this.resetRegExp();
6220
- const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, c = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
6498
+ const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
6221
6499
  return [{
6222
6500
  regex: this.regexpUnescape,
6223
- safeValue: (f) => R1(f)
6501
+ safeValue: (p) => R1(p)
6224
6502
  }, {
6225
6503
  regex: this.regexp,
6226
- safeValue: (f) => this.escapeValue ? R1(this.escape(f)) : R1(f)
6227
- }].forEach((f) => {
6228
- for (a = 0; o = f.regex.exec(e); ) {
6504
+ safeValue: (p) => this.escapeValue ? R1(this.escape(p)) : R1(p)
6505
+ }].forEach((p) => {
6506
+ for (a = 0; o = p.regex.exec(e); ) {
6229
6507
  const k = o[1].trim();
6230
- if (h = d(k), h === void 0)
6508
+ if (c = d(k), c === void 0)
6231
6509
  if (typeof l == "function") {
6232
- const m = l(e, o, n);
6233
- h = v(m) ? m : "";
6510
+ const f = l(e, o, n);
6511
+ c = N(f) ? f : "";
6234
6512
  } else if (n && Object.prototype.hasOwnProperty.call(n, k))
6235
- h = "";
6236
- else if (c) {
6237
- h = o[0];
6513
+ c = "";
6514
+ else if (h) {
6515
+ c = o[0];
6238
6516
  continue;
6239
6517
  } else
6240
- this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), h = "";
6241
- else !v(h) && !this.useRawValueToEscape && (h = S1(h));
6242
- const N = f.safeValue(h);
6243
- if (e = e.replace(o[0], N), c ? (f.regex.lastIndex += h.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
6518
+ this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
6519
+ else !N(c) && !this.useRawValueToEscape && (c = G1(c));
6520
+ const v = p.safeValue(c);
6521
+ if (e = e.replace(o[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
6244
6522
  break;
6245
6523
  }
6246
6524
  }), e;
6247
6525
  }
6248
6526
  nest(e, t) {
6249
- let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, h;
6527
+ let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, c;
6250
6528
  const a = (C, d) => {
6251
6529
  const l = this.nestingOptionsSeparator;
6252
6530
  if (C.indexOf(l) < 0) return C;
6253
- const c = C.split(new RegExp(`${l}[ ]*{`));
6254
- let g = `{${c[1]}`;
6255
- C = c[0], g = this.interpolate(g, h);
6256
- const f = g.match(/'/g), k = g.match(/"/g);
6257
- (f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
6531
+ const h = C.split(new RegExp(`${l}[ ]*{`));
6532
+ let g = `{${h[1]}`;
6533
+ C = h[0], g = this.interpolate(g, c);
6534
+ const p = g.match(/'/g), k = g.match(/"/g);
6535
+ (p && p.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
6258
6536
  try {
6259
- h = JSON.parse(g), d && (h = {
6537
+ c = JSON.parse(g), d && (c = {
6260
6538
  ...d,
6261
- ...h
6539
+ ...c
6262
6540
  });
6263
- } catch (N) {
6264
- return this.logger.warn(`failed parsing options string in nesting for key ${C}`, N), `${C}${l}${g}`;
6541
+ } catch (v) {
6542
+ return this.logger.warn(`failed parsing options string in nesting for key ${C}`, v), `${C}${l}${g}`;
6265
6543
  }
6266
- return h.defaultValue && h.defaultValue.indexOf(this.prefix) > -1 && delete h.defaultValue, C;
6544
+ return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
6267
6545
  };
6268
6546
  for (; n = this.nestingRegexp.exec(e); ) {
6269
6547
  let C = [];
6270
- h = {
6548
+ c = {
6271
6549
  ...s
6272
- }, h = h.replace && !v(h.replace) ? h.replace : h, h.applyPostProcessor = !1, delete h.defaultValue;
6550
+ }, c = c.replace && !N(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
6273
6551
  let d = !1;
6274
6552
  if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
6275
- const l = n[1].split(this.formatSeparator).map((c) => c.trim());
6553
+ const l = n[1].split(this.formatSeparator).map((h) => h.trim());
6276
6554
  n[1] = l.shift(), C = l, d = !0;
6277
6555
  }
6278
- if (o = t(a.call(this, n[1].trim(), h), h), o && n[0] === e && !v(o)) return o;
6279
- v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, c) => this.format(l, c, s.lng, {
6556
+ if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !N(o)) return o;
6557
+ N(o) || (o = G1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
6280
6558
  ...s,
6281
6559
  interpolationkey: n[1].trim()
6282
6560
  }), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
@@ -6284,16 +6562,16 @@ class Z7 {
6284
6562
  return e;
6285
6563
  }
6286
6564
  }
6287
- const O7 = (i) => {
6565
+ const W7 = (i) => {
6288
6566
  let e = i.toLowerCase().trim();
6289
6567
  const t = {};
6290
6568
  if (i.indexOf("(") > -1) {
6291
6569
  const s = i.split("(");
6292
6570
  e = s[0].toLowerCase().trim();
6293
6571
  const n = s[1].substring(0, s[1].length - 1);
6294
- e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((h) => {
6295
- if (h) {
6296
- const [a, ...C] = h.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
6572
+ e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((c) => {
6573
+ if (c) {
6574
+ const [a, ...C] = c.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
6297
6575
  t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
6298
6576
  }
6299
6577
  });
@@ -6310,12 +6588,12 @@ const O7 = (i) => {
6310
6588
  ...o,
6311
6589
  [n.interpolationkey]: void 0
6312
6590
  });
6313
- const h = s + JSON.stringify(o);
6314
- let a = e[h];
6315
- return a || (a = i(f1(s), n), e[h] = a), a(t);
6591
+ const c = s + JSON.stringify(o);
6592
+ let a = e[c];
6593
+ return a || (a = i(f1(s), n), e[c] = a), a(t);
6316
6594
  };
6317
6595
  };
6318
- class S7 {
6596
+ class U7 {
6319
6597
  constructor() {
6320
6598
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6321
6599
  this.logger = B.create("formatter"), this.options = e, this.formats = {
@@ -6375,12 +6653,12 @@ class S7 {
6375
6653
  const {
6376
6654
  formatName: d,
6377
6655
  formatOptions: l
6378
- } = O7(C);
6656
+ } = W7(C);
6379
6657
  if (this.formats[d]) {
6380
- let c = a;
6658
+ let h = a;
6381
6659
  try {
6382
- const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = g.locale || g.lng || n.locale || n.lng || s;
6383
- c = this.formats[d](a, f, {
6660
+ const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = g.locale || g.lng || n.locale || n.lng || s;
6661
+ h = this.formats[d](a, p, {
6384
6662
  ...l,
6385
6663
  ...n,
6386
6664
  ...g
@@ -6388,61 +6666,61 @@ class S7 {
6388
6666
  } catch (g) {
6389
6667
  this.logger.warn(g);
6390
6668
  }
6391
- return c;
6669
+ return h;
6392
6670
  } else
6393
6671
  this.logger.warn(`there was no format function for ${d}`);
6394
6672
  return a;
6395
6673
  }, e);
6396
6674
  }
6397
6675
  }
6398
- const D7 = (i, e) => {
6676
+ const z7 = (i, e) => {
6399
6677
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
6400
6678
  };
6401
- class G7 extends L1 {
6679
+ class J7 extends L1 {
6402
6680
  constructor(e, t, s) {
6403
6681
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6404
6682
  super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = B.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
6405
6683
  }
6406
6684
  queueLoad(e, t, s, n) {
6407
- const o = {}, h = {}, a = {}, C = {};
6685
+ const o = {}, c = {}, a = {}, C = {};
6408
6686
  return e.forEach((d) => {
6409
6687
  let l = !0;
6410
- t.forEach((c) => {
6411
- const g = `${d}|${c}`;
6412
- !s.reload && this.store.hasResourceBundle(d, c) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? h[g] === void 0 && (h[g] = !0) : (this.state[g] = 1, l = !1, h[g] === void 0 && (h[g] = !0), o[g] === void 0 && (o[g] = !0), C[c] === void 0 && (C[c] = !0)));
6688
+ t.forEach((h) => {
6689
+ const g = `${d}|${h}`;
6690
+ !s.reload && this.store.hasResourceBundle(d, h) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? c[g] === void 0 && (c[g] = !0) : (this.state[g] = 1, l = !1, c[g] === void 0 && (c[g] = !0), o[g] === void 0 && (o[g] = !0), C[h] === void 0 && (C[h] = !0)));
6413
6691
  }), l || (a[d] = !0);
6414
- }), (Object.keys(o).length || Object.keys(h).length) && this.queue.push({
6415
- pending: h,
6416
- pendingCount: Object.keys(h).length,
6692
+ }), (Object.keys(o).length || Object.keys(c).length) && this.queue.push({
6693
+ pending: c,
6694
+ pendingCount: Object.keys(c).length,
6417
6695
  loaded: {},
6418
6696
  errors: [],
6419
6697
  callback: n
6420
6698
  }), {
6421
6699
  toLoad: Object.keys(o),
6422
- pending: Object.keys(h),
6700
+ pending: Object.keys(c),
6423
6701
  toLoadLanguages: Object.keys(a),
6424
6702
  toLoadNamespaces: Object.keys(C)
6425
6703
  };
6426
6704
  }
6427
6705
  loaded(e, t, s) {
6428
- const n = e.split("|"), o = n[0], h = n[1];
6429
- t && this.emit("failedLoading", o, h, t), !t && s && this.store.addResourceBundle(o, h, s, void 0, void 0, {
6706
+ const n = e.split("|"), o = n[0], c = n[1];
6707
+ t && this.emit("failedLoading", o, c, t), !t && s && this.store.addResourceBundle(o, c, s, void 0, void 0, {
6430
6708
  skipCopy: !0
6431
6709
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
6432
6710
  const a = {};
6433
6711
  this.queue.forEach((C) => {
6434
- L7(C.loaded, [o], h), D7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
6712
+ V7(C.loaded, [o], c), z7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
6435
6713
  a[d] || (a[d] = {});
6436
6714
  const l = C.loaded[d];
6437
- l.length && l.forEach((c) => {
6438
- a[d][c] === void 0 && (a[d][c] = !0);
6715
+ l.length && l.forEach((h) => {
6716
+ a[d][h] === void 0 && (a[d][h] = !0);
6439
6717
  });
6440
6718
  }), C.done = !0, C.errors.length ? C.callback(C.errors) : C.callback());
6441
6719
  }), this.emit("loaded", a), this.queue = this.queue.filter((C) => !C.done);
6442
6720
  }
6443
6721
  read(e, t, s) {
6444
- let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, h = arguments.length > 5 ? arguments[5] : void 0;
6445
- if (!e.length) return h(null, {});
6722
+ let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
6723
+ if (!e.length) return c(null, {});
6446
6724
  if (this.readingCalls >= this.maxParallelReads) {
6447
6725
  this.waitingReads.push({
6448
6726
  lng: e,
@@ -6450,23 +6728,23 @@ class G7 extends L1 {
6450
6728
  fcName: s,
6451
6729
  tried: n,
6452
6730
  wait: o,
6453
- callback: h
6731
+ callback: c
6454
6732
  });
6455
6733
  return;
6456
6734
  }
6457
6735
  this.readingCalls++;
6458
6736
  const a = (d, l) => {
6459
6737
  if (this.readingCalls--, this.waitingReads.length > 0) {
6460
- const c = this.waitingReads.shift();
6461
- this.read(c.lng, c.ns, c.fcName, c.tried, c.wait, c.callback);
6738
+ const h = this.waitingReads.shift();
6739
+ this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
6462
6740
  }
6463
6741
  if (d && l && n < this.maxRetries) {
6464
6742
  setTimeout(() => {
6465
- this.read.call(this, e, t, s, n + 1, o * 2, h);
6743
+ this.read.call(this, e, t, s, n + 1, o * 2, c);
6466
6744
  }, o);
6467
6745
  return;
6468
6746
  }
6469
- h(d, l);
6747
+ c(d, l);
6470
6748
  }, C = this.backend[s].bind(this.backend);
6471
6749
  if (C.length === 2) {
6472
6750
  try {
@@ -6483,12 +6761,12 @@ class G7 extends L1 {
6483
6761
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = arguments.length > 3 ? arguments[3] : void 0;
6484
6762
  if (!this.backend)
6485
6763
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
6486
- v(e) && (e = this.languageUtils.toResolveHierarchy(e)), v(t) && (t = [t]);
6764
+ N(e) && (e = this.languageUtils.toResolveHierarchy(e)), N(t) && (t = [t]);
6487
6765
  const o = this.queueLoad(e, t, s, n);
6488
6766
  if (!o.toLoad.length)
6489
6767
  return o.pending.length || n(), null;
6490
- o.toLoad.forEach((h) => {
6491
- this.loadOne(h);
6768
+ o.toLoad.forEach((c) => {
6769
+ this.loadOne(c);
6492
6770
  });
6493
6771
  }
6494
6772
  load(e, t, s) {
@@ -6502,12 +6780,12 @@ class G7 extends L1 {
6502
6780
  loadOne(e) {
6503
6781
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
6504
6782
  const s = e.split("|"), n = s[0], o = s[1];
6505
- this.read(n, o, "read", void 0, void 0, (h, a) => {
6506
- h && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, h), !h && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, h, a);
6783
+ this.read(n, o, "read", void 0, void 0, (c, a) => {
6784
+ c && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, c), !c && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, c, a);
6507
6785
  });
6508
6786
  }
6509
6787
  saveMissing(e, t, s, n, o) {
6510
- let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
6788
+ let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
6511
6789
  };
6512
6790
  if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
6513
6791
  this.logger.warn(`did not save key "${s}" as the namespace "${t}" 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!!!");
@@ -6516,13 +6794,13 @@ class G7 extends L1 {
6516
6794
  if (!(s == null || s === "")) {
6517
6795
  if (this.backend && this.backend.create) {
6518
6796
  const C = {
6519
- ...h,
6797
+ ...c,
6520
6798
  isUpdate: o
6521
6799
  }, d = this.backend.create.bind(this.backend);
6522
6800
  if (d.length < 6)
6523
6801
  try {
6524
6802
  let l;
6525
- d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((c) => a(null, c)).catch(a) : a(null, l);
6803
+ d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((h) => a(null, h)).catch(a) : a(null, l);
6526
6804
  } catch (l) {
6527
6805
  a(l);
6528
6806
  }
@@ -6533,7 +6811,7 @@ class G7 extends L1 {
6533
6811
  }
6534
6812
  }
6535
6813
  }
6536
- const $1 = () => ({
6814
+ const W1 = () => ({
6537
6815
  debug: !1,
6538
6816
  initImmediate: !0,
6539
6817
  ns: ["translation"],
@@ -6568,7 +6846,7 @@ const $1 = () => ({
6568
6846
  appendNamespaceToCIMode: !1,
6569
6847
  overloadTranslationOptionHandler: (i) => {
6570
6848
  let e = {};
6571
- if (typeof i[1] == "object" && (e = i[1]), v(i[1]) && (e.defaultValue = i[1]), v(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
6849
+ if (typeof i[1] == "object" && (e = i[1]), N(i[1]) && (e.defaultValue = i[1]), N(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
6572
6850
  const t = i[3] || i[2];
6573
6851
  Object.keys(t).forEach((s) => {
6574
6852
  e[s] = t[s];
@@ -6589,8 +6867,8 @@ const $1 = () => ({
6589
6867
  maxReplaces: 1e3,
6590
6868
  skipOnVariables: !0
6591
6869
  }
6592
- }), F1 = (i) => (v(i.ns) && (i.ns = [i.ns]), v(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), v(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), g1 = () => {
6593
- }, T7 = (i) => {
6870
+ }), U1 = (i) => (N(i.ns) && (i.ns = [i.ns]), N(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), N(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), u1 = () => {
6871
+ }, Q7 = (i) => {
6594
6872
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
6595
6873
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
6596
6874
  });
@@ -6598,9 +6876,9 @@ const $1 = () => ({
6598
6876
  class l1 extends L1 {
6599
6877
  constructor() {
6600
6878
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
6601
- if (super(), this.options = F1(e), this.services = {}, this.logger = B, this.modules = {
6879
+ if (super(), this.options = U1(e), this.services = {}, this.logger = B, this.modules = {
6602
6880
  external: []
6603
- }, T7(this), t && !this.isInitialized && !e.isClone) {
6881
+ }, Q7(this), t && !this.isInitialized && !e.isClone) {
6604
6882
  if (!this.options.initImmediate)
6605
6883
  return this.init(e, t), this;
6606
6884
  setTimeout(() => {
@@ -6611,12 +6889,12 @@ class l1 extends L1 {
6611
6889
  init() {
6612
6890
  var e = this;
6613
6891
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
6614
- this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (v(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
6615
- const n = $1();
6892
+ this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (N(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
6893
+ const n = W1();
6616
6894
  this.options = {
6617
6895
  ...n,
6618
6896
  ...this.options,
6619
- ...F1(t)
6897
+ ...U1(t)
6620
6898
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
6621
6899
  ...n.interpolation,
6622
6900
  ...this.options.interpolation
@@ -6625,29 +6903,29 @@ class l1 extends L1 {
6625
6903
  if (!this.options.isClone) {
6626
6904
  this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
6627
6905
  let l;
6628
- this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = S7);
6629
- const c = new P1(this.options);
6630
- this.store = new K1(this.options.resources, this.options);
6906
+ this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = U7);
6907
+ const h = new j1(this.options);
6908
+ this.store = new Y1(this.options.resources, this.options);
6631
6909
  const g = this.services;
6632
- g.logger = B, g.resourceStore = this.store, g.languageUtils = c, g.pluralResolver = new A7(c, {
6910
+ g.logger = B, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new $7(h, {
6633
6911
  prepend: this.options.pluralSeparator,
6634
6912
  compatibilityJSON: this.options.compatibilityJSON,
6635
6913
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6636
- }), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new Z7(this.options), g.utils = {
6914
+ }), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new F7(this.options), g.utils = {
6637
6915
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
6638
- }, g.backendConnector = new G7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
6639
- for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
6640
- N[m - 1] = arguments[m];
6641
- e.emit(f, ...N);
6642
- }), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(f) {
6643
- for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
6644
- N[m - 1] = arguments[m];
6645
- e.emit(f, ...N);
6646
- }), this.modules.external.forEach((f) => {
6647
- f.init && f.init(this);
6916
+ }, g.backendConnector = new J7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
6917
+ for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), f = 1; f < k; f++)
6918
+ v[f - 1] = arguments[f];
6919
+ e.emit(p, ...v);
6920
+ }), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new w1(this.services, this.options), this.translator.on("*", function(p) {
6921
+ for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), f = 1; f < k; f++)
6922
+ v[f - 1] = arguments[f];
6923
+ e.emit(p, ...v);
6924
+ }), this.modules.external.forEach((p) => {
6925
+ p.init && p.init(this);
6648
6926
  });
6649
6927
  }
6650
- if (this.format = this.options.interpolation.format, s || (s = g1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
6928
+ if (this.format = this.options.interpolation.format, s || (s = u1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
6651
6929
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
6652
6930
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
6653
6931
  }
@@ -6661,8 +6939,8 @@ class l1 extends L1 {
6661
6939
  };
6662
6940
  });
6663
6941
  const C = n1(), d = () => {
6664
- const l = (c, g) => {
6665
- this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(c, g);
6942
+ const l = (h, g) => {
6943
+ this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(h, g);
6666
6944
  };
6667
6945
  if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
6668
6946
  this.changeLanguage(this.options.lng, l);
@@ -6670,17 +6948,17 @@ class l1 extends L1 {
6670
6948
  return this.options.resources || !this.options.initImmediate ? d() : setTimeout(d, 0), C;
6671
6949
  }
6672
6950
  loadResources(e) {
6673
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : g1;
6674
- const n = v(e) ? e : this.language;
6951
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
6952
+ const n = N(e) ? e : this.language;
6675
6953
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
6676
6954
  if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
6677
- const o = [], h = (a) => {
6955
+ const o = [], c = (a) => {
6678
6956
  if (!a || a === "cimode") return;
6679
6957
  this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
6680
6958
  d !== "cimode" && o.indexOf(d) < 0 && o.push(d);
6681
6959
  });
6682
6960
  };
6683
- n ? h(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => h(C)), this.options.preload && this.options.preload.forEach((a) => h(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
6961
+ n ? c(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => c(C)), this.options.preload && this.options.preload.forEach((a) => c(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
6684
6962
  !a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(a);
6685
6963
  });
6686
6964
  } else
@@ -6688,7 +6966,7 @@ class l1 extends L1 {
6688
6966
  }
6689
6967
  reloadResources(e, t, s) {
6690
6968
  const n = n1();
6691
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = g1), this.services.backendConnector.reload(e, t, (o) => {
6969
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = u1), this.services.backendConnector.reload(e, t, (o) => {
6692
6970
  n.resolve(), s(o);
6693
6971
  }), n;
6694
6972
  }
@@ -6714,7 +6992,7 @@ class l1 extends L1 {
6714
6992
  this.emit("languageChanging", e);
6715
6993
  const o = (C) => {
6716
6994
  this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
6717
- }, h = (C, d) => {
6995
+ }, c = (C, d) => {
6718
6996
  d ? (o(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, n.resolve(function() {
6719
6997
  return s.t(...arguments);
6720
6998
  }), t && t(C, function() {
@@ -6722,31 +7000,31 @@ class l1 extends L1 {
6722
7000
  });
6723
7001
  }, a = (C) => {
6724
7002
  !e && !C && this.services.languageDetector && (C = []);
6725
- const d = v(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
7003
+ const d = N(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
6726
7004
  d && (this.language || o(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
6727
- h(l, d);
7005
+ c(l, d);
6728
7006
  });
6729
7007
  };
6730
7008
  return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n;
6731
7009
  }
6732
7010
  getFixedT(e, t, s) {
6733
7011
  var n = this;
6734
- const o = function(h, a) {
7012
+ const o = function(c, a) {
6735
7013
  let C;
6736
7014
  if (typeof a != "object") {
6737
- for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), c = 2; c < d; c++)
6738
- l[c - 2] = arguments[c];
6739
- C = n.options.overloadTranslationOptionHandler([h, a].concat(l));
7015
+ for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
7016
+ l[h - 2] = arguments[h];
7017
+ C = n.options.overloadTranslationOptionHandler([c, a].concat(l));
6740
7018
  } else
6741
7019
  C = {
6742
7020
  ...a
6743
7021
  };
6744
7022
  C.lng = C.lng || o.lng, C.lngs = C.lngs || o.lngs, C.ns = C.ns || o.ns, C.keyPrefix !== "" && (C.keyPrefix = C.keyPrefix || s || o.keyPrefix);
6745
7023
  const g = n.options.keySeparator || ".";
6746
- let f;
6747
- return C.keyPrefix && Array.isArray(h) ? f = h.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${h}` : h, n.t(f, C);
7024
+ let p;
7025
+ return C.keyPrefix && Array.isArray(c) ? p = c.map((k) => `${C.keyPrefix}${g}${k}`) : p = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(p, C);
6748
7026
  };
6749
- return v(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
7027
+ return N(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
6750
7028
  }
6751
7029
  t() {
6752
7030
  return this.translator && this.translator.translate(...arguments);
@@ -6765,19 +7043,19 @@ class l1 extends L1 {
6765
7043
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
6766
7044
  const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, o = this.languages[this.languages.length - 1];
6767
7045
  if (s.toLowerCase() === "cimode") return !0;
6768
- const h = (a, C) => {
7046
+ const c = (a, C) => {
6769
7047
  const d = this.services.backendConnector.state[`${a}|${C}`];
6770
7048
  return d === -1 || d === 0 || d === 2;
6771
7049
  };
6772
7050
  if (t.precheck) {
6773
- const a = t.precheck(this, h);
7051
+ const a = t.precheck(this, c);
6774
7052
  if (a !== void 0) return a;
6775
7053
  }
6776
- return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || h(s, e) && (!n || h(o, e)));
7054
+ return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
6777
7055
  }
6778
7056
  loadNamespaces(e, t) {
6779
7057
  const s = n1();
6780
- return this.options.ns ? (v(e) && (e = [e]), e.forEach((n) => {
7058
+ return this.options.ns ? (N(e) && (e = [e]), e.forEach((n) => {
6781
7059
  this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
6782
7060
  }), this.loadResources((n) => {
6783
7061
  s.resolve(), t && t(n);
@@ -6785,15 +7063,15 @@ class l1 extends L1 {
6785
7063
  }
6786
7064
  loadLanguages(e, t) {
6787
7065
  const s = n1();
6788
- v(e) && (e = [e]);
6789
- const n = this.options.preload || [], o = e.filter((h) => n.indexOf(h) < 0 && this.services.languageUtils.isSupportedCode(h));
6790
- return o.length ? (this.options.preload = n.concat(o), this.loadResources((h) => {
6791
- s.resolve(), t && t(h);
7066
+ N(e) && (e = [e]);
7067
+ const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
7068
+ return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
7069
+ s.resolve(), t && t(c);
6792
7070
  }), s) : (t && t(), Promise.resolve());
6793
7071
  }
6794
7072
  dir(e) {
6795
7073
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
6796
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new P1($1());
7074
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new j1(W1());
6797
7075
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
6798
7076
  }
6799
7077
  static createInstance() {
@@ -6801,7 +7079,7 @@ class l1 extends L1 {
6801
7079
  return new l1(e, t);
6802
7080
  }
6803
7081
  cloneInstance() {
6804
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : g1;
7082
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
6805
7083
  const s = e.forkResourceStore;
6806
7084
  s && delete e.forkResourceStore;
6807
7085
  const n = {
@@ -6815,7 +7093,7 @@ class l1 extends L1 {
6815
7093
  ...this.services
6816
7094
  }, o.services.utils = {
6817
7095
  hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
6818
- }, s && (o.store = new K1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new m1(o.services, n), o.translator.on("*", function(a) {
7096
+ }, s && (o.store = new Y1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new w1(o.services, n), o.translator.on("*", function(a) {
6819
7097
  for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
6820
7098
  d[l - 1] = arguments[l];
6821
7099
  o.emit(a, ...d);
@@ -6849,18 +7127,18 @@ Z.setDefaultNamespace;
6849
7127
  Z.hasLoadedNamespace;
6850
7128
  Z.loadNamespaces;
6851
7129
  Z.loadLanguages;
6852
- function K7() {
7130
+ function q7() {
6853
7131
  if (console && console.warn) {
6854
7132
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
6855
7133
  e[t] = arguments[t];
6856
- z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
7134
+ J(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
6857
7135
  }
6858
7136
  }
6859
- const W1 = {};
6860
- function _1() {
7137
+ const z1 = {};
7138
+ function M1() {
6861
7139
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
6862
7140
  e[t] = arguments[t];
6863
- z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), K7(...e));
7141
+ J(e[0]) && z1[e[0]] || (J(e[0]) && (z1[e[0]] = /* @__PURE__ */ new Date()), q7(...e));
6864
7142
  }
6865
7143
  const r2 = (i, e) => () => {
6866
7144
  if (i.isInitialized)
@@ -6873,30 +7151,30 @@ const r2 = (i, e) => () => {
6873
7151
  };
6874
7152
  i.on("initialized", t);
6875
7153
  }
6876
- }, U1 = (i, e, t) => {
7154
+ }, J1 = (i, e, t) => {
6877
7155
  i.loadNamespaces(e, r2(i, t));
6878
- }, z1 = (i, e, t, s) => {
6879
- z(t) && (t = [t]), t.forEach((n) => {
7156
+ }, Q1 = (i, e, t, s) => {
7157
+ J(t) && (t = [t]), t.forEach((n) => {
6880
7158
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
6881
7159
  }), i.loadLanguages(e, r2(i, s));
6882
- }, B7 = function(i, e) {
7160
+ }, X7 = function(i, e) {
6883
7161
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
6884
7162
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
6885
7163
  if (s.toLowerCase() === "cimode") return !0;
6886
- const h = (a, C) => {
7164
+ const c = (a, C) => {
6887
7165
  const d = e.services.backendConnector.state[`${a}|${C}`];
6888
7166
  return d === -1 || d === 2;
6889
7167
  };
6890
- return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
6891
- }, P7 = function(i, e) {
7168
+ return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
7169
+ }, e0 = function(i, e) {
6892
7170
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
6893
- return !e.languages || !e.languages.length ? (_1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7171
+ return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
6894
7172
  lng: t.lng,
6895
7173
  precheck: (n, o) => {
6896
7174
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
6897
7175
  }
6898
- }) : B7(i, e, t);
6899
- }, z = (i) => typeof i == "string", Y7 = (i) => typeof i == "object" && i !== null, j7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, $7 = {
7176
+ }) : X7(i, e, t);
7177
+ }, J = (i) => typeof i == "string", t0 = (i) => typeof i == "object" && i !== null, i0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, s0 = {
6900
7178
  "&amp;": "&",
6901
7179
  "&#38;": "&",
6902
7180
  "&lt;": "<",
@@ -6917,7 +7195,7 @@ const r2 = (i, e) => () => {
6917
7195
  "&#8230;": "…",
6918
7196
  "&#x2F;": "/",
6919
7197
  "&#47;": "/"
6920
- }, F7 = (i) => $7[i], W7 = (i) => i.replace(j7, F7);
7198
+ }, n0 = (i) => s0[i], r0 = (i) => i.replace(i0, n0);
6921
7199
  let b1 = {
6922
7200
  bindI18n: "languageChanged",
6923
7201
  bindI18nStore: "",
@@ -6926,27 +7204,27 @@ let b1 = {
6926
7204
  transWrapTextNodes: "",
6927
7205
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
6928
7206
  useSuspense: !0,
6929
- unescape: W7
7207
+ unescape: r0
6930
7208
  };
6931
- const U7 = function() {
7209
+ const o0 = function() {
6932
7210
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6933
7211
  b1 = {
6934
7212
  ...b1,
6935
7213
  ...i
6936
7214
  };
6937
- }, z7 = () => b1;
7215
+ }, a0 = () => b1;
6938
7216
  let o2;
6939
- const J7 = (i) => {
7217
+ const l0 = (i) => {
6940
7218
  o2 = i;
6941
- }, Q7 = () => o2, q7 = {
7219
+ }, h0 = () => o2, c0 = {
6942
7220
  type: "3rdParty",
6943
7221
  init(i) {
6944
- U7(i.options.react), J7(i);
7222
+ o0(i.options.react), l0(i);
6945
7223
  }
6946
- }, X7 = t1();
6947
- class et {
7224
+ }, d0 = t1();
7225
+ class C0 {
6948
7226
  constructor() {
6949
- V1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7227
+ A1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
6950
7228
  this.usedNamespaces = {};
6951
7229
  }
6952
7230
  addUsedNamespaces(e) {
@@ -6955,81 +7233,81 @@ class et {
6955
7233
  });
6956
7234
  }
6957
7235
  }
6958
- const tt = (i, e) => {
6959
- const t = J();
7236
+ const g0 = (i, e) => {
7237
+ const t = W();
6960
7238
  return A(() => {
6961
7239
  t.current = i;
6962
7240
  }, [i, e]), t.current;
6963
- }, a2 = (i, e, t, s) => i.getFixedT(e, t, s), it = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), st = function(i) {
7241
+ }, a2 = (i, e, t, s) => i.getFixedT(e, t, s), u0 = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), p0 = function(i) {
6964
7242
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6965
7243
  const {
6966
7244
  i18n: t
6967
7245
  } = e, {
6968
7246
  i18n: s,
6969
7247
  defaultNS: n
6970
- } = Q(X7) || {}, o = t || s || Q7();
6971
- if (o && !o.reportNamespaces && (o.reportNamespaces = new et()), !o) {
6972
- _1("You will need to pass in an i18next instance by using initReactI18next");
6973
- const p = (R, x) => z(x) ? x : Y7(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
6974
- return _.t = p, _.i18n = {}, _.ready = !1, _;
6975
- }
6976
- o.options.react && o.options.react.wait !== void 0 && _1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
6977
- const h = {
6978
- ...z7(),
7248
+ } = Q(d0) || {}, o = t || s || h0();
7249
+ if (o && !o.reportNamespaces && (o.reportNamespaces = new C0()), !o) {
7250
+ M1("You will need to pass in an i18next instance by using initReactI18next");
7251
+ const m = (R, x) => J(x) ? x : t0(x) && J(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [m, {}, !1];
7252
+ return M.t = m, M.i18n = {}, M.ready = !1, M;
7253
+ }
7254
+ o.options.react && o.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7255
+ const c = {
7256
+ ...a0(),
6979
7257
  ...o.options.react,
6980
7258
  ...e
6981
7259
  }, {
6982
7260
  useSuspense: a,
6983
7261
  keyPrefix: C
6984
- } = h;
7262
+ } = c;
6985
7263
  let d = i;
6986
- d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
6987
- const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => P7(p, o, h)), c = it(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => a2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
6988
- let m = d.join();
6989
- e.lng && (m = `${e.lng}${m}`);
6990
- const y = tt(m), b = J(!0);
7264
+ d = J(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
7265
+ const l = (o.isInitialized || o.initializedStoreOnce) && d.every((m) => e0(m, o, c)), h = u0(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = I(g);
7266
+ let f = d.join();
7267
+ e.lng && (f = `${e.lng}${f}`);
7268
+ const y = g0(f), b = W(!0);
6991
7269
  A(() => {
6992
7270
  const {
6993
- bindI18n: p,
6994
- bindI18nStore: _
6995
- } = h;
6996
- b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
6997
- b.current && N(f);
6998
- }) : U1(o, d, () => {
6999
- b.current && N(f);
7000
- })), l && y && y !== m && b.current && N(f);
7271
+ bindI18n: m,
7272
+ bindI18nStore: M
7273
+ } = c;
7274
+ b.current = !0, !l && !a && (e.lng ? Q1(o, e.lng, d, () => {
7275
+ b.current && v(p);
7276
+ }) : J1(o, d, () => {
7277
+ b.current && v(p);
7278
+ })), l && y && y !== f && b.current && v(p);
7001
7279
  const R = () => {
7002
- b.current && N(f);
7280
+ b.current && v(p);
7003
7281
  };
7004
- return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
7005
- b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
7282
+ return m && o && o.on(m, R), M && o && o.store.on(M, R), () => {
7283
+ b.current = !1, m && o && m.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
7006
7284
  };
7007
- }, [o, m]), A(() => {
7008
- b.current && l && N(g);
7285
+ }, [o, f]), A(() => {
7286
+ b.current && l && v(g);
7009
7287
  }, [o, C, l]);
7010
7288
  const E = [k, o, l];
7011
7289
  if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
7012
- throw new Promise((p) => {
7013
- e.lng ? z1(o, e.lng, d, () => p()) : U1(o, d, () => p());
7290
+ throw new Promise((m) => {
7291
+ e.lng ? Q1(o, e.lng, d, () => m()) : J1(o, d, () => m());
7014
7292
  });
7015
- }, nt = "Country", rt = {
7016
- placeholder: nt
7017
- }, ot = "Страна", at = {
7018
- placeholder: ot
7293
+ }, f0 = "Country", m0 = {
7294
+ placeholder: f0
7295
+ }, w0 = "Страна", L0 = {
7296
+ placeholder: w0
7019
7297
  };
7020
- Z.use(q7).init({
7298
+ Z.use(c0).init({
7021
7299
  defaultNS: "common",
7022
7300
  lng: "en",
7023
7301
  resources: {
7024
7302
  en: {
7025
- common: rt
7303
+ common: m0
7026
7304
  },
7027
7305
  ru: {
7028
- common: at
7306
+ common: L0
7029
7307
  }
7030
7308
  }
7031
7309
  });
7032
- const ft = w1(
7310
+ const b0 = h1(
7033
7311
  ({
7034
7312
  width: i,
7035
7313
  selectedCity: e,
@@ -7037,65 +7315,65 @@ const ft = w1(
7037
7315
  onChange: s,
7038
7316
  value: n,
7039
7317
  id: o,
7040
- disabled: h,
7318
+ disabled: c,
7041
7319
  required: a,
7042
7320
  clearable: C,
7043
7321
  error: d
7044
7322
  }, l) => {
7045
- const [c, g] = I([]), [f, k] = I([]), [N, m] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
7323
+ const [h, g] = I([]), [p, k] = I([]), [v, f] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
7046
7324
  if (!b)
7047
7325
  throw new Error(
7048
7326
  `CountrySelect requires "axiosPeople" to fetch counties.
7049
7327
  Please provide it via SNMTUiContext.`
7050
7328
  );
7051
- const { t: E } = st("common", { lng: y }), p = K(async () => {
7052
- m(!0);
7329
+ const { t: E } = p0("common", { lng: y }), m = K(async () => {
7330
+ f(!0);
7053
7331
  try {
7054
7332
  const R = await b.post("v1/countries/search");
7055
7333
  k(R == null ? void 0 : R.data.data);
7056
7334
  } catch {
7057
7335
  g([]);
7058
7336
  } finally {
7059
- m(!1);
7337
+ f(!1);
7060
7338
  }
7061
7339
  }, [b]);
7062
7340
  A(() => {
7063
- p();
7341
+ m();
7064
7342
  }, []), A(() => {
7065
7343
  if (e) {
7066
- const R = e.split("-")[1], x = f.filter(
7067
- (D) => D.name.includes(R)
7344
+ const R = e.split("-")[1], x = p.filter(
7345
+ (G) => G.name.includes(R)
7068
7346
  );
7069
7347
  if (x.length) {
7070
- const D = x.map((P) => ({
7071
- label: P.name,
7072
- value: P.name
7348
+ const G = x.map((Y) => ({
7349
+ label: Y.name,
7350
+ value: Y.name
7073
7351
  }));
7074
- s(D[0].value);
7352
+ s(G[0].value);
7075
7353
  }
7076
7354
  }
7077
- }, [e, f, s]), A(() => {
7078
- const R = f.map((x) => ({
7355
+ }, [e, p, s]), A(() => {
7356
+ const R = p.map((x) => ({
7079
7357
  label: x.name,
7080
7358
  value: x.name
7081
7359
  }));
7082
7360
  g(R);
7083
- }, [f]);
7084
- const _ = (R) => {
7361
+ }, [p]);
7362
+ const M = (R) => {
7085
7363
  R === null ? (s(""), t && t("")) : (s(R), t && t(""));
7086
7364
  };
7087
7365
  return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
7088
- p7,
7366
+ y7,
7089
7367
  {
7090
7368
  id: o,
7091
7369
  width: i,
7092
7370
  placeholder: E("placeholder"),
7093
7371
  value: n,
7094
7372
  ref: l,
7095
- onChange: _,
7096
- options: c,
7097
- disabled: h,
7098
- isLoading: N,
7373
+ onChange: M,
7374
+ options: h,
7375
+ disabled: c,
7376
+ isLoading: v,
7099
7377
  required: a,
7100
7378
  clearable: C,
7101
7379
  error: d
@@ -7104,5 +7382,5 @@ const ft = w1(
7104
7382
  }
7105
7383
  );
7106
7384
  export {
7107
- ft as CountrySelect
7385
+ b0 as CountrySelect
7108
7386
  };