@snmt-react-ui/country-select 2.6.20 → 2.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/country-select.js +998 -878
  2. package/package.json +3 -3
@@ -5,7 +5,7 @@ import "./index.css";
5
5
  import { jsx as o, Fragment as Y, jsxs as C } from "react/jsx-runtime";
6
6
  import { SNMTUiContext as pe } from "@snmt-react-ui/core";
7
7
  import { Select as fe, Flex as me, Avatar as we, Checkbox as ke, Tooltip as J1, Typography as Q1, Tag as Le, Popover as ve } from "antd";
8
- import { createContext as t1, forwardRef as w1, useRef as J, useImperativeHandle as q1, useState as O, useEffect as S, useCallback as Z, useContext as Q } from "react";
8
+ import { createContext as t1, forwardRef as w1, useRef as J, useImperativeHandle as q1, useState as O, useEffect as S, useCallback as j, useContext as Q } from "react";
9
9
  var Ne = Object.defineProperty, xe = (i, e, t) => e in i ? Ne(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Re = (i, e, t) => xe(i, e + "", t), Me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function be() {
11
11
  if (console && console.warn) {
@@ -39,13 +39,13 @@ const X1 = (i, e) => () => {
39
39
  }), i.loadLanguages(e, X1(i, n));
40
40
  }, ye = function(i, e) {
41
41
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
42
- const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, r = e.languages[e.languages.length - 1];
42
+ const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, a = e.languages[e.languages.length - 1];
43
43
  if (n.toLowerCase() === "cimode") return !0;
44
- const c = (a, g) => {
45
- const d = e.services.backendConnector.state[`${a}|${g}`];
44
+ const c = (r, g) => {
45
+ const d = e.services.backendConnector.state[`${r}|${g}`];
46
46
  return d === -1 || d === 2;
47
47
  };
48
- return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(r, i)));
48
+ return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(a, i)));
49
49
  }, Ee = function(i, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
51
  return !e.languages || !e.languages.length ? (R1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
@@ -88,8 +88,8 @@ let Ve = {
88
88
  };
89
89
  const Ae = () => Ve;
90
90
  let Te;
91
- const Be = () => Te, je = t1();
92
- class De {
91
+ const Ze = () => Te, De = t1();
92
+ class Be {
93
93
  constructor() {
94
94
  Re(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
@@ -99,62 +99,62 @@ class De {
99
99
  });
100
100
  }
101
101
  }
102
- const Ze = (i, e) => {
102
+ const je = (i, e) => {
103
103
  const t = J();
104
104
  return S(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, ee = (i, e, t, n) => i.getFixedT(e, t, n), We = (i, e, t, n) => Z(ee(i, e, t, n), [i, e, t, n]), Ge = function(i) {
107
+ }, ee = (i, e, t, n) => i.getFixedT(e, t, n), Ge = (i, e, t, n) => j(ee(i, e, t, n), [i, e, t, n]), We = function(i) {
108
108
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
109
109
  const {
110
110
  i18n: t
111
111
  } = e, {
112
112
  i18n: n,
113
113
  defaultNS: s
114
- } = Q(je) || {}, r = t || n || Be();
115
- if (r && !r.reportNamespaces && (r.reportNamespaces = new De()), !r) {
114
+ } = Q(De) || {}, a = t || n || Ze();
115
+ if (a && !a.reportNamespaces && (a.reportNamespaces = new Be()), !a) {
116
116
  R1("You will need to pass in an i18next instance by using initReactI18next");
117
- const f = (v, N) => U(N) ? N : _e(N) && U(N.defaultValue) ? N.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, R = [f, {}, !1];
118
- return R.t = f, R.i18n = {}, R.ready = !1, R;
117
+ const f = (N, x) => U(x) ? x : _e(x) && U(x.defaultValue) ? x.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, M = [f, {}, !1];
118
+ return M.t = f, M.i18n = {}, M.ready = !1, M;
119
119
  }
120
- r.options.react && r.options.react.wait !== void 0 && R1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
120
+ a.options.react && a.options.react.wait !== void 0 && R1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
122
122
  ...Ae(),
123
- ...r.options.react,
123
+ ...a.options.react,
124
124
  ...e
125
125
  }, {
126
- useSuspense: a,
126
+ useSuspense: r,
127
127
  keyPrefix: g
128
128
  } = c;
129
129
  let d = i;
130
- d = U(d) ? [d] : d || ["translation"], r.reportNamespaces.addUsedNamespaces && r.reportNamespaces.addUsedNamespaces(d);
131
- const l = (r.isInitialized || r.initializedStoreOnce) && d.every((f) => Ee(f, r, c)), h = We(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), u = () => h, p = () => ee(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), [w, L] = O(u);
130
+ d = U(d) ? [d] : d || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(d);
131
+ const l = (a.isInitialized || a.initializedStoreOnce) && d.every((f) => Ee(f, a, c)), h = Ge(a, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), u = () => h, p = () => ee(a, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), [w, v] = O(u);
132
132
  let m = d.join();
133
133
  e.lng && (m = `${e.lng}${m}`);
134
- const E = Ze(m), M = J(!0);
134
+ const E = je(m), k = J(!0);
135
135
  S(() => {
136
136
  const {
137
137
  bindI18n: f,
138
- bindI18nStore: R
138
+ bindI18nStore: M
139
139
  } = c;
140
- M.current = !0, !l && !a && (e.lng ? V1(r, e.lng, d, () => {
141
- M.current && L(p);
142
- }) : S1(r, d, () => {
143
- M.current && L(p);
144
- })), l && E && E !== m && M.current && L(p);
145
- const v = () => {
146
- M.current && L(p);
140
+ k.current = !0, !l && !r && (e.lng ? V1(a, e.lng, d, () => {
141
+ k.current && v(p);
142
+ }) : S1(a, d, () => {
143
+ k.current && v(p);
144
+ })), l && E && E !== m && k.current && v(p);
145
+ const N = () => {
146
+ k.current && v(p);
147
147
  };
148
- return f && r && r.on(f, v), R && r && r.store.on(R, v), () => {
149
- M.current = !1, f && r && f.split(" ").forEach((N) => r.off(N, v)), R && r && R.split(" ").forEach((N) => r.store.off(N, v));
148
+ return f && a && a.on(f, N), M && a && a.store.on(M, N), () => {
149
+ k.current = !1, f && a && f.split(" ").forEach((x) => a.off(x, N)), M && a && M.split(" ").forEach((x) => a.store.off(x, N));
150
150
  };
151
- }, [r, m]), S(() => {
152
- M.current && l && L(u);
153
- }, [r, g, l]);
154
- const H = [w, r, l];
155
- if (H.t = w, H.i18n = r, H.ready = l, l || !l && !a) return H;
151
+ }, [a, m]), S(() => {
152
+ k.current && l && v(u);
153
+ }, [a, g, l]);
154
+ const H = [w, a, l];
155
+ if (H.t = w, H.i18n = a, H.ready = l, l || !l && !r) return H;
156
156
  throw new Promise((f) => {
157
- e.lng ? V1(r, e.lng, d, () => f()) : S1(r, d, () => f());
157
+ e.lng ? V1(a, e.lng, d, () => f()) : S1(a, d, () => f());
158
158
  });
159
159
  }, o1 = ({
160
160
  children: i,
@@ -162,9 +162,9 @@ const Ze = (i, e) => {
162
162
  flexWrap: t = "nowrap",
163
163
  alignItems: n = "normal",
164
164
  justifyContent: s = "normal",
165
- flex: r,
165
+ flex: a,
166
166
  gap: c,
167
- padding: a
167
+ padding: r
168
168
  }) => /* @__PURE__ */ o(
169
169
  me,
170
170
  {
@@ -173,9 +173,9 @@ const Ze = (i, e) => {
173
173
  wrap: t,
174
174
  align: n,
175
175
  justify: s,
176
- flex: r,
176
+ flex: a,
177
177
  gap: c,
178
- style: { padding: a },
178
+ style: { padding: r },
179
179
  children: i
180
180
  }
181
181
  ), Ke = ({ shape: i = "circle", size: e = 32, children: t, ...n }) => {
@@ -192,7 +192,7 @@ const Ze = (i, e) => {
192
192
  }
193
193
  );
194
194
  };
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_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))(D || {});
195
+ var B = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(B || {});
196
196
  const E1 = t1({
197
197
  locale: "en",
198
198
  theme: "light"
@@ -204,11 +204,11 @@ const Pe = ({
204
204
  children: t,
205
205
  onChange: n,
206
206
  disabled: s = !1,
207
- disableUncheck: r = !1
207
+ disableUncheck: a = !1
208
208
  }) => {
209
- const [c, a] = O(i), [g, d] = O(e);
209
+ const [c, r] = O(i), [g, d] = O(e);
210
210
  S(() => {
211
- a(i), d(e);
211
+ r(i), d(e);
212
212
  }, [i, e]);
213
213
  const { theme: l } = Q(E1);
214
214
  return /* @__PURE__ */ o(
@@ -218,7 +218,7 @@ const Pe = ({
218
218
  checked: c,
219
219
  indeterminate: g,
220
220
  onChange: (h) => {
221
- r && c || (d(!1), a(h.target.checked), n && n(h));
221
+ a && c || (d(!1), r(h.target.checked), n && n(h));
222
222
  },
223
223
  disabled: s,
224
224
  children: t
@@ -259,28 +259,40 @@ const $e = ({
259
259
  )
260
260
  }
261
261
  ), Fe = ({
262
- width: i = 16,
263
- height: e = 16,
264
- color: t = "#001E52",
262
+ width: i = 20,
263
+ height: e = 20,
264
+ color: t = b.GREY_DARK_5,
265
265
  className: n,
266
266
  onClick: s
267
267
  }) => /* @__PURE__ */ C(
268
268
  "svg",
269
269
  {
270
- xmlns: "http://www.w3.org/2000/svg",
271
270
  width: i,
272
271
  height: e,
273
272
  className: n,
274
273
  onClick: s,
275
- viewBox: "0 0 16 16",
274
+ viewBox: "0 0 24 25",
276
275
  fill: "none",
276
+ xmlns: "http://www.w3.org/2000/svg",
277
277
  children: [
278
- /* @__PURE__ */ o("circle", { cx: "8", cy: "8", r: "7.4", stroke: t, strokeWidth: "1.2" }),
279
- /* @__PURE__ */ o("path", { d: "M7 6.5H9V12.5335H7V6.5Z", fill: t }),
280
278
  /* @__PURE__ */ o(
281
279
  "path",
282
280
  {
283
- d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5C9 5.05228 8.55228 5.5 8 5.5C7.44772 5.5 7 5.05228 7 4.5Z",
281
+ d: "M11.25 17L11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17Z",
282
+ fill: t
283
+ }
284
+ ),
285
+ /* @__PURE__ */ o(
286
+ "path",
287
+ {
288
+ d: "M11.4523 7.49701C11.7294 7.18913 12.204 7.16426 12.5118 7.44135C12.8197 7.71844 12.8446 8.19304 12.5675 8.50092L12.5577 8.51166C12.2806 8.81954 11.806 8.84442 11.4982 8.56732C11.1904 8.29021 11.1655 7.81558 11.4425 7.50775L11.4523 7.49701Z",
289
+ fill: t
290
+ }
291
+ ),
292
+ /* @__PURE__ */ o(
293
+ "path",
294
+ {
295
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
284
296
  fill: t
285
297
  }
286
298
  )
@@ -532,7 +544,7 @@ const $e = ({
532
544
  /* @__PURE__ */ o("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
533
545
  ]
534
546
  }
535
- ), et = ({
547
+ ), e2 = ({
536
548
  width: i = 16,
537
549
  height: e = 12,
538
550
  color: t = "#001E52",
@@ -581,41 +593,47 @@ const $e = ({
581
593
  )
582
594
  ] })
583
595
  }
584
- ), tt = ({
585
- width: i = 16,
586
- height: e = 16,
587
- color: t = "#001E52",
596
+ ), t2 = ({
597
+ width: i = 20,
598
+ height: e = 20,
599
+ color: t = b.GREY_DARK_5,
588
600
  className: n,
589
601
  onClick: s
590
602
  }) => /* @__PURE__ */ C(
591
603
  "svg",
592
604
  {
593
- xmlns: "http://www.w3.org/2000/svg",
594
605
  width: i,
595
606
  height: e,
596
607
  className: n,
597
608
  onClick: s,
598
- viewBox: "0 0 16 16",
609
+ viewBox: "0 0 24 25",
599
610
  fill: "none",
611
+ xmlns: "http://www.w3.org/2000/svg",
600
612
  children: [
601
- /* @__PURE__ */ o("circle", { cx: "8", cy: "8", r: "7.27273", stroke: t, strokeWidth: "1.45455" }),
602
613
  /* @__PURE__ */ o(
603
614
  "path",
604
615
  {
605
- d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.53345C9 9.08574 8.55228 9.53345 8 9.53345C7.44772 9.53345 7 9.08574 7 8.53345V4.5Z",
616
+ d: "M11.25 13.5L11.25 7.5C11.25 7.08579 11.5858 6.75 12 6.75C12.4142 6.75 12.75 7.08579 12.75 7.5L12.75 13.5C12.75 13.9142 12.4142 14.25 12 14.25C11.5858 14.25 11.25 13.9142 11.25 13.5Z",
606
617
  fill: t
607
618
  }
608
619
  ),
609
620
  /* @__PURE__ */ o(
610
621
  "path",
611
622
  {
612
- d: "M7 11.5327C7 10.9804 7.44772 10.5327 8 10.5327C8.55228 10.5327 9 10.9804 9 11.5327C9 12.085 8.55228 12.5327 8 12.5327C7.44772 12.5327 7 12.085 7 11.5327Z",
623
+ d: "M11.4523 16.997C11.7294 16.6891 12.204 16.6643 12.5118 16.9413C12.8197 17.2184 12.8446 17.693 12.5675 18.0009L12.5577 18.0117C12.2806 18.3195 11.806 18.3444 11.4982 18.0673C11.1904 17.7902 11.1655 17.3156 11.4425 17.0078L11.4523 16.997Z",
624
+ fill: t
625
+ }
626
+ ),
627
+ /* @__PURE__ */ o(
628
+ "path",
629
+ {
630
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
613
631
  fill: t
614
632
  }
615
633
  )
616
634
  ]
617
635
  }
618
- ), it = ({
636
+ ), i2 = ({
619
637
  width: i = 20,
620
638
  height: e = 20,
621
639
  color: t = "#001E52",
@@ -662,7 +680,7 @@ const $e = ({
662
680
  )
663
681
  ]
664
682
  }
665
- ), nt = ({
683
+ ), n2 = ({
666
684
  width: i = 20,
667
685
  height: e = 20,
668
686
  color: t = "#001E52",
@@ -695,7 +713,7 @@ const $e = ({
695
713
  )
696
714
  ]
697
715
  }
698
- ), st = ({
716
+ ), s2 = ({
699
717
  width: i = 20,
700
718
  height: e = 20,
701
719
  color: t = "#001E52",
@@ -742,7 +760,7 @@ const $e = ({
742
760
  )
743
761
  ]
744
762
  }
745
- ), ot = ({
763
+ ), o2 = ({
746
764
  width: i = 20,
747
765
  height: e = 20,
748
766
  color: t = "#001E52",
@@ -775,7 +793,7 @@ const $e = ({
775
793
  )
776
794
  ]
777
795
  }
778
- ), rt = ({
796
+ ), r2 = ({
779
797
  width: i = 18,
780
798
  height: e = 16,
781
799
  color: t = "#001E52",
@@ -814,7 +832,7 @@ const $e = ({
814
832
  )
815
833
  ]
816
834
  }
817
- ), at = ({
835
+ ), a2 = ({
818
836
  width: i = 20,
819
837
  height: e = 20,
820
838
  color: t = "#001E52",
@@ -847,7 +865,7 @@ const $e = ({
847
865
  )
848
866
  ]
849
867
  }
850
- ), lt = ({
868
+ ), l2 = ({
851
869
  width: i = 20,
852
870
  height: e = 20,
853
871
  color: t = "#001E52",
@@ -871,7 +889,7 @@ const $e = ({
871
889
  }
872
890
  )
873
891
  }
874
- ), ht = ({
892
+ ), h2 = ({
875
893
  width: i = 20,
876
894
  height: e = 20,
877
895
  color: t = "#001E52",
@@ -904,7 +922,7 @@ const $e = ({
904
922
  )
905
923
  ]
906
924
  }
907
- ), ct = ({
925
+ ), c2 = ({
908
926
  width: i = 20,
909
927
  height: e = 23,
910
928
  color: t = "#001E52",
@@ -965,7 +983,7 @@ const $e = ({
965
983
  )
966
984
  ]
967
985
  }
968
- ), dt = ({
986
+ ), d2 = ({
969
987
  width: i = 14,
970
988
  height: e = 14,
971
989
  color: t = "#10B981",
@@ -994,7 +1012,40 @@ const $e = ({
994
1012
  )
995
1013
  ]
996
1014
  }
997
- ), gt = ({
1015
+ ), g2 = ({
1016
+ width: i = 20,
1017
+ height: e = 20,
1018
+ color: t = b.GREY_DARK_5,
1019
+ className: n,
1020
+ onClick: s
1021
+ }) => /* @__PURE__ */ C(
1022
+ "svg",
1023
+ {
1024
+ width: i,
1025
+ height: e,
1026
+ className: n,
1027
+ onClick: s,
1028
+ viewBox: "0 0 24 25",
1029
+ fill: "none",
1030
+ xmlns: "http://www.w3.org/2000/svg",
1031
+ children: [
1032
+ /* @__PURE__ */ o(
1033
+ "path",
1034
+ {
1035
+ d: "M6.46978 13.5303C6.17689 13.2374 6.17689 12.7626 6.46978 12.4697C6.76268 12.1768 7.23755 12.1768 7.53044 12.4697L9.99979 14.939L16.4694 8.46941C16.7622 8.17662 17.2371 8.17683 17.5301 8.46941C17.823 8.7623 17.823 9.23717 17.5301 9.53007L10.5301 16.53C10.2372 16.8229 9.76236 16.8229 9.46946 16.53L6.46978 13.5303Z",
1036
+ fill: t
1037
+ }
1038
+ ),
1039
+ /* @__PURE__ */ o(
1040
+ "path",
1041
+ {
1042
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
1043
+ fill: t
1044
+ }
1045
+ )
1046
+ ]
1047
+ }
1048
+ ), u2 = ({
998
1049
  width: i = 10,
999
1050
  height: e = 10,
1000
1051
  color: t = "#88A4FF",
@@ -1042,7 +1093,7 @@ const $e = ({
1042
1093
  )
1043
1094
  ]
1044
1095
  }
1045
- ), ut = ({
1096
+ ), C2 = ({
1046
1097
  width: i = 14,
1047
1098
  height: e = 14,
1048
1099
  color: t = "#8E8E93",
@@ -1070,7 +1121,7 @@ const $e = ({
1070
1121
  )
1071
1122
  ]
1072
1123
  }
1073
- ), Ct = ({
1124
+ ), p2 = ({
1074
1125
  width: i = 14,
1075
1126
  height: e = 14,
1076
1127
  color: t = "#FFB020",
@@ -1104,7 +1155,7 @@ const $e = ({
1104
1155
  )
1105
1156
  ]
1106
1157
  }
1107
- ), pt = ({
1158
+ ), f2 = ({
1108
1159
  width: i = 14,
1109
1160
  height: e = 14,
1110
1161
  color: t = "#D0421B",
@@ -1152,7 +1203,7 @@ const $e = ({
1152
1203
  )
1153
1204
  ]
1154
1205
  }
1155
- ), ft = ({
1206
+ ), m2 = ({
1156
1207
  width: i = 20,
1157
1208
  height: e = 20,
1158
1209
  color: t = "#070739",
@@ -1182,7 +1233,7 @@ const $e = ({
1182
1233
  /* @__PURE__ */ o("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1183
1234
  ]
1184
1235
  }
1185
- ), mt = ({
1236
+ ), w2 = ({
1186
1237
  width: i = 20,
1187
1238
  height: e = 20,
1188
1239
  color: t = "#070739",
@@ -1220,7 +1271,7 @@ const $e = ({
1220
1271
  )
1221
1272
  ]
1222
1273
  }
1223
- ), wt = ({
1274
+ ), k2 = ({
1224
1275
  width: i = 9,
1225
1276
  height: e = 5,
1226
1277
  color: t = "#001E52",
@@ -1246,7 +1297,7 @@ const $e = ({
1246
1297
  }
1247
1298
  )
1248
1299
  }
1249
- ), kt = ({
1300
+ ), L2 = ({
1250
1301
  width: i = 20,
1251
1302
  height: e = 20,
1252
1303
  color: t = "#F2F2F7",
@@ -1275,7 +1326,7 @@ const $e = ({
1275
1326
  )
1276
1327
  ]
1277
1328
  }
1278
- ), Lt = ({
1329
+ ), v2 = ({
1279
1330
  width: i = 20,
1280
1331
  height: e = 20,
1281
1332
  color: t = "#004ED7",
@@ -1304,7 +1355,7 @@ const $e = ({
1304
1355
  )
1305
1356
  ]
1306
1357
  }
1307
- ), vt = ({
1358
+ ), N2 = ({
1308
1359
  width: i = 10,
1309
1360
  height: e = 10,
1310
1361
  color: t = "#001E52",
@@ -1333,7 +1384,7 @@ const $e = ({
1333
1384
  )
1334
1385
  ]
1335
1386
  }
1336
- ), Nt = ({
1387
+ ), x2 = ({
1337
1388
  width: i = 10,
1338
1389
  height: e = 10,
1339
1390
  color: t = "#001E52",
@@ -1370,7 +1421,7 @@ const $e = ({
1370
1421
  )
1371
1422
  ]
1372
1423
  }
1373
- ), xt = ({
1424
+ ), R2 = ({
1374
1425
  className: i,
1375
1426
  color: e = b.GREY_DARK_5,
1376
1427
  height: t = 24,
@@ -1409,7 +1460,7 @@ const $e = ({
1409
1460
  )
1410
1461
  ]
1411
1462
  }
1412
- ), Rt = ({
1463
+ ), M2 = ({
1413
1464
  className: i,
1414
1465
  color: e = b.GREY_DARK_5,
1415
1466
  height: t = 20,
@@ -1436,7 +1487,7 @@ const $e = ({
1436
1487
  }
1437
1488
  )
1438
1489
  }
1439
- ), Mt = ({
1490
+ ), b2 = ({
1440
1491
  className: i,
1441
1492
  color: e = b.GREY_DARK_5,
1442
1493
  height: t = 20,
@@ -1463,7 +1514,7 @@ const $e = ({
1463
1514
  }
1464
1515
  )
1465
1516
  }
1466
- ), bt = ({
1517
+ ), y2 = ({
1467
1518
  className: i,
1468
1519
  color: e = b.GREY_DARK_5,
1469
1520
  height: t = 5,
@@ -1487,7 +1538,7 @@ const $e = ({
1487
1538
  }
1488
1539
  )
1489
1540
  }
1490
- ), yt = ({
1541
+ ), E2 = ({
1491
1542
  className: i,
1492
1543
  color: e = b.GREY_DARK_5,
1493
1544
  height: t = 5,
@@ -1512,7 +1563,7 @@ const $e = ({
1512
1563
  }
1513
1564
  )
1514
1565
  }
1515
- ), Et = ({
1566
+ ), _2 = ({
1516
1567
  className: i,
1517
1568
  color: e = b.GREY_DARK_5,
1518
1569
  height: t = 24,
@@ -1551,7 +1602,7 @@ const $e = ({
1551
1602
  )
1552
1603
  ]
1553
1604
  }
1554
- ), _t = ({
1605
+ ), H2 = ({
1555
1606
  className: i,
1556
1607
  color: e = b.GREY_DARK_5,
1557
1608
  height: t = 24,
@@ -1590,7 +1641,7 @@ const $e = ({
1590
1641
  )
1591
1642
  ]
1592
1643
  }
1593
- ), Ht = ({
1644
+ ), I2 = ({
1594
1645
  className: i,
1595
1646
  color: e = b.GREY_DARK_5,
1596
1647
  height: t = 24,
@@ -1617,7 +1668,7 @@ const $e = ({
1617
1668
  }
1618
1669
  )
1619
1670
  }
1620
- ), It = ({
1671
+ ), O2 = ({
1621
1672
  className: i,
1622
1673
  color: e = b.GREY_DARK_5,
1623
1674
  height: t = 24,
@@ -1676,7 +1727,7 @@ const $e = ({
1676
1727
  )
1677
1728
  ]
1678
1729
  }
1679
- ), Ot = ({
1730
+ ), S2 = ({
1680
1731
  className: i,
1681
1732
  color: e = b.GREY_DARK_5,
1682
1733
  height: t = 24,
@@ -1713,7 +1764,7 @@ const $e = ({
1713
1764
  )
1714
1765
  ]
1715
1766
  }
1716
- ), St = ({
1767
+ ), V2 = ({
1717
1768
  className: i,
1718
1769
  color: e = b.GREY_DARK_3,
1719
1770
  height: t = 14,
@@ -1750,7 +1801,7 @@ const $e = ({
1750
1801
  )
1751
1802
  ]
1752
1803
  }
1753
- ), Vt = ({
1804
+ ), A2 = ({
1754
1805
  className: i,
1755
1806
  color: e = b.GREY_DARK_5,
1756
1807
  height: t = 18,
@@ -1777,7 +1828,7 @@ const $e = ({
1777
1828
  }
1778
1829
  )
1779
1830
  }
1780
- ), At = ({
1831
+ ), T2 = ({
1781
1832
  className: i,
1782
1833
  color: e = b.GREY_DARK_5,
1783
1834
  height: t = 24,
@@ -1829,7 +1880,7 @@ const $e = ({
1829
1880
  )
1830
1881
  ]
1831
1882
  }
1832
- ), Tt = ({
1883
+ ), Z2 = ({
1833
1884
  className: i,
1834
1885
  color: e = b.GREY_DARK_5,
1835
1886
  height: t = 24,
@@ -1866,7 +1917,7 @@ const $e = ({
1866
1917
  )
1867
1918
  ]
1868
1919
  }
1869
- ), Bt = ({
1920
+ ), D2 = ({
1870
1921
  className: i,
1871
1922
  color: e = b.NOTIFICATION_WARNING_DARK,
1872
1923
  height: t = 37,
@@ -1905,7 +1956,7 @@ const $e = ({
1905
1956
  )
1906
1957
  ]
1907
1958
  }
1908
- ), jt = ({
1959
+ ), B2 = ({
1909
1960
  className: i,
1910
1961
  color: e = b.GREY_DARK_5,
1911
1962
  height: t = 24,
@@ -1931,7 +1982,7 @@ const $e = ({
1931
1982
  }
1932
1983
  )
1933
1984
  }
1934
- ), Dt = ({
1985
+ ), j2 = ({
1935
1986
  className: i,
1936
1987
  color: e = b.GREY_DARK_5,
1937
1988
  height: t = 24,
@@ -1970,7 +2021,7 @@ const $e = ({
1970
2021
  )
1971
2022
  ]
1972
2023
  }
1973
- ), Zt = ({
2024
+ ), G2 = ({
1974
2025
  className: i,
1975
2026
  color: e = b.GREY_DARK_5,
1976
2027
  height: t = 24,
@@ -2009,7 +2060,7 @@ const $e = ({
2009
2060
  )
2010
2061
  ]
2011
2062
  }
2012
- ), Wt = ({
2063
+ ), W2 = ({
2013
2064
  className: i,
2014
2065
  color: e = b.GREY_DARK_5,
2015
2066
  height: t = 24,
@@ -2078,7 +2129,7 @@ const $e = ({
2078
2129
  )
2079
2130
  ]
2080
2131
  }
2081
- ), Gt = ({
2132
+ ), K2 = ({
2082
2133
  className: i,
2083
2134
  color: e = b.GREY_DARK_5,
2084
2135
  height: t = 24,
@@ -2135,7 +2186,7 @@ const $e = ({
2135
2186
  )
2136
2187
  ]
2137
2188
  }
2138
- ), Kt = ({
2189
+ ), P2 = ({
2139
2190
  className: i,
2140
2191
  color: e = b.GREY_DARK_5,
2141
2192
  height: t = 24,
@@ -2174,7 +2225,7 @@ const $e = ({
2174
2225
  )
2175
2226
  ]
2176
2227
  }
2177
- ), Pt = ({
2228
+ ), $2 = ({
2178
2229
  className: i,
2179
2230
  color: e = b.GREY_DARK_5,
2180
2231
  height: t = 24,
@@ -2223,7 +2274,7 @@ const $e = ({
2223
2274
  )
2224
2275
  ]
2225
2276
  }
2226
- ), $t = ({
2277
+ ), F2 = ({
2227
2278
  className: i,
2228
2279
  color: e = b.GREY_DARK_5,
2229
2280
  height: t = 24,
@@ -2250,7 +2301,7 @@ const $e = ({
2250
2301
  }
2251
2302
  )
2252
2303
  }
2253
- ), Ft = ({
2304
+ ), Y2 = ({
2254
2305
  className: i,
2255
2306
  color: e = b.GREY_DARK_5,
2256
2307
  height: t = 20,
@@ -2279,7 +2330,7 @@ const $e = ({
2279
2330
  )
2280
2331
  ]
2281
2332
  }
2282
- ), Yt = ({
2333
+ ), U2 = ({
2283
2334
  className: i,
2284
2335
  color: e = "#001E52",
2285
2336
  height: t = 24,
@@ -2305,7 +2356,7 @@ const $e = ({
2305
2356
  }
2306
2357
  )
2307
2358
  }
2308
- ), Ut = ({
2359
+ ), z2 = ({
2309
2360
  className: i,
2310
2361
  color: e = "#131314",
2311
2362
  height: t = 20,
@@ -2333,7 +2384,7 @@ const $e = ({
2333
2384
  }
2334
2385
  )
2335
2386
  }
2336
- ), zt = ({
2387
+ ), J2 = ({
2337
2388
  className: i,
2338
2389
  color: e = "#001E52",
2339
2390
  height: t = 24,
@@ -2371,7 +2422,7 @@ const $e = ({
2371
2422
  )
2372
2423
  ] }) })
2373
2424
  }
2374
- ), Jt = ({
2425
+ ), Q2 = ({
2375
2426
  width: i = 20,
2376
2427
  height: e = 20,
2377
2428
  color: t = "#001E52",
@@ -2427,7 +2478,7 @@ const $e = ({
2427
2478
  }
2428
2479
  )
2429
2480
  }
2430
- ), Qt = ({
2481
+ ), q2 = ({
2431
2482
  width: i = 24,
2432
2483
  height: e = 24,
2433
2484
  color: t = "#131314",
@@ -2460,7 +2511,7 @@ const $e = ({
2460
2511
  )
2461
2512
  ]
2462
2513
  }
2463
- ), qt = ({
2514
+ ), X2 = ({
2464
2515
  width: i = 24,
2465
2516
  height: e = 24,
2466
2517
  color: t = b.GREY_DARK_2,
@@ -2499,7 +2550,7 @@ const $e = ({
2499
2550
  )
2500
2551
  ]
2501
2552
  }
2502
- ), Xt = ({
2553
+ ), et = ({
2503
2554
  width: i = 24,
2504
2555
  height: e = 24,
2505
2556
  color: t = b.GREY_DARK_2,
@@ -2526,7 +2577,7 @@ const $e = ({
2526
2577
  }
2527
2578
  )
2528
2579
  }
2529
- ), e2 = ({
2580
+ ), tt = ({
2530
2581
  width: i = 24,
2531
2582
  height: e = 24,
2532
2583
  color: t = b.GREY_DARK_2,
@@ -2566,7 +2617,7 @@ const $e = ({
2566
2617
  )
2567
2618
  ]
2568
2619
  }
2569
- ), t2 = ({
2620
+ ), it = ({
2570
2621
  width: i = 24,
2571
2622
  height: e = 24,
2572
2623
  color: t = b.GREY_DARK_2,
@@ -2593,7 +2644,7 @@ const $e = ({
2593
2644
  }
2594
2645
  )
2595
2646
  }
2596
- ), i2 = ({
2647
+ ), nt = ({
2597
2648
  width: i = 24,
2598
2649
  height: e = 24,
2599
2650
  color: t = b.GREY_DARK_2,
@@ -2620,7 +2671,7 @@ const $e = ({
2620
2671
  }
2621
2672
  )
2622
2673
  }
2623
- ), n2 = ({
2674
+ ), st = ({
2624
2675
  width: i = 20,
2625
2676
  height: e = 20,
2626
2677
  color: t = "#001E52",
@@ -2652,205 +2703,207 @@ const $e = ({
2652
2703
  height: t,
2653
2704
  color: n,
2654
2705
  className: s,
2655
- disabled: r = !1,
2706
+ disabled: a = !1,
2656
2707
  onClick: c
2657
2708
  }) => {
2658
- const [a, g] = O(s), { theme: d } = Q(te), l = r ? d && d === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : n, h = r ? void 0 : c;
2709
+ const [r, g] = O(s), { theme: d } = Q(te), l = a ? d && d === "dark" ? b.GREY_LIGHT_4 : b.GREY_DARK_1 : n, h = a ? void 0 : c;
2659
2710
  return S(() => {
2660
2711
  if (s) {
2661
- h && !r && g(`${s} clickable`);
2712
+ h && !a && g(`${s} clickable`);
2662
2713
  return;
2663
2714
  }
2664
- h && !r && g("clickable");
2665
- }, [h, s, r]), /* @__PURE__ */ o(Y, { children: (() => {
2715
+ h && !a && g("clickable");
2716
+ }, [h, s, a]), /* @__PURE__ */ o(Y, { children: (() => {
2666
2717
  switch (i) {
2667
2718
  case "nextIcon":
2668
- return Rt({ width: e, height: t, color: l, className: a, onClick: h });
2719
+ return M2({ width: e, height: t, color: l, className: r, onClick: h });
2669
2720
  case "prevIcon":
2670
- return Mt({ width: e, height: t, color: l, className: a, onClick: h });
2721
+ return b2({ width: e, height: t, color: l, className: r, onClick: h });
2671
2722
  case "arrowDown":
2672
- return $e({ width: e, height: t, color: l, className: a, onClick: h });
2723
+ return $e({ width: e, height: t, color: l, className: r, onClick: h });
2673
2724
  case "info":
2674
- return Fe({ width: e, height: t, color: l, className: a, onClick: h });
2725
+ return Fe({ width: e, height: t, color: l, className: r, onClick: h });
2675
2726
  case "arrowRight":
2676
- return Ye({ width: e, height: t, color: l, className: a, onClick: h });
2727
+ return Ye({ width: e, height: t, color: l, className: r, onClick: h });
2677
2728
  case "calendar":
2678
- return Ue({ width: e, height: t, color: l, className: a, onClick: h });
2729
+ return Ue({ width: e, height: t, color: l, className: r, onClick: h });
2679
2730
  case "ok":
2680
- return ze({ width: e, height: t, color: l, className: a, onClick: h });
2731
+ return ze({ width: e, height: t, color: l, className: r, onClick: h });
2681
2732
  case "cancel":
2682
- return Je({ width: e, height: t, color: l, className: a, onClick: h });
2733
+ return Je({ width: e, height: t, color: l, className: r, onClick: h });
2683
2734
  case "add":
2684
- return Qe({ width: e, height: t, color: l, className: a, onClick: h });
2735
+ return Qe({ width: e, height: t, color: l, className: r, onClick: h });
2685
2736
  case "list":
2686
- return qe({ width: e, height: t, color: l, className: a, onClick: h });
2737
+ return qe({ width: e, height: t, color: l, className: r, onClick: h });
2687
2738
  case "dragAndDrop":
2688
- return Xe({ width: e, height: t, color: l, className: a, onClick: h });
2739
+ return Xe({ width: e, height: t, color: l, className: r, onClick: h });
2689
2740
  case "filter":
2690
- return et({ width: e, height: t, color: l, className: a, onClick: h });
2741
+ return e2({ width: e, height: t, color: l, className: r, onClick: h });
2691
2742
  case "attention":
2692
- return tt({ width: e, height: t, color: l, className: a, onClick: h });
2743
+ return t2({ width: e, height: t, color: l, className: r, onClick: h });
2693
2744
  case "users":
2694
- return it({ width: e, height: t, color: l, className: a, onClick: h });
2745
+ return i2({ width: e, height: t, color: l, className: r, onClick: h });
2695
2746
  case "mySkillsMatrix":
2696
- return nt({
2747
+ return n2({
2697
2748
  width: e,
2698
2749
  height: t,
2699
2750
  color: l,
2700
- className: a,
2751
+ className: r,
2701
2752
  onClick: h
2702
2753
  });
2703
2754
  case "skills":
2704
- return st({ width: e, height: t, color: l, className: a, onClick: h });
2755
+ return s2({ width: e, height: t, color: l, className: r, onClick: h });
2705
2756
  case "skillsMatrices":
2706
- return ot({
2757
+ return o2({
2707
2758
  width: e,
2708
2759
  height: t,
2709
2760
  color: l,
2710
- className: a,
2761
+ className: r,
2711
2762
  onClick: h
2712
2763
  });
2713
2764
  case "history":
2714
- return rt({ width: e, height: t, color: l, className: a, onClick: h });
2765
+ return r2({ width: e, height: t, color: l, className: r, onClick: h });
2715
2766
  case "logOut":
2716
- return at({ width: e, height: t, color: l, className: a, onClick: h });
2767
+ return a2({ width: e, height: t, color: l, className: r, onClick: h });
2717
2768
  case "settings":
2718
- return lt({ width: e, height: t, color: l, className: a, onClick: h });
2769
+ return l2({ width: e, height: t, color: l, className: r, onClick: h });
2719
2770
  case "trash":
2720
- return ht({ width: e, height: t, color: l, className: a, onClick: h });
2771
+ return h2({ width: e, height: t, color: l, className: r, onClick: h });
2721
2772
  case "settings4":
2722
- return ct({ width: e, height: t, color: l, className: a, onClick: h });
2773
+ return c2({ width: e, height: t, color: l, className: r, onClick: h });
2723
2774
  case "success":
2724
- return dt({ width: e, height: t, color: l, className: a, onClick: h });
2775
+ return d2({ width: e, height: t, color: l, className: r, onClick: h });
2776
+ case "checkCircle":
2777
+ return g2({ width: e, height: t, color: l, className: r, onClick: h });
2725
2778
  case "errorSmall":
2726
- return gt({ width: e, height: t, color: l, className: a, onClick: h });
2779
+ return u2({ width: e, height: t, color: l, className: r, onClick: h });
2727
2780
  case "infoMedium":
2728
- return ut({ width: e, height: t, color: l, className: a, onClick: h });
2781
+ return C2({ width: e, height: t, color: l, className: r, onClick: h });
2729
2782
  case "attentionMedium":
2730
- return Ct({
2783
+ return p2({
2731
2784
  width: e,
2732
2785
  height: t,
2733
2786
  color: l,
2734
- className: a,
2787
+ className: r,
2735
2788
  onClick: h
2736
2789
  });
2737
2790
  case "errorMedium":
2738
- return pt({ width: e, height: t, color: l, className: a, onClick: h });
2791
+ return f2({ width: e, height: t, color: l, className: r, onClick: h });
2739
2792
  case "visibilityIcon":
2740
- return ft({
2793
+ return m2({
2741
2794
  width: e,
2742
2795
  height: t,
2743
2796
  color: l,
2744
- className: a,
2797
+ className: r,
2745
2798
  onClick: h
2746
2799
  });
2747
2800
  case "visibilityOffIcon":
2748
- return mt({
2801
+ return w2({
2749
2802
  width: e,
2750
2803
  height: t,
2751
2804
  color: l,
2752
- className: a,
2805
+ className: r,
2753
2806
  onClick: h
2754
2807
  });
2755
2808
  case "selectArrowIcon":
2756
- return wt({
2809
+ return k2({
2757
2810
  width: e,
2758
2811
  height: t,
2759
2812
  color: l,
2760
- className: a,
2813
+ className: r,
2761
2814
  onClick: h
2762
2815
  });
2763
2816
  case "expandArrowIcon":
2764
- return kt({
2817
+ return L2({
2765
2818
  width: e,
2766
2819
  height: t,
2767
2820
  color: l,
2768
- className: a,
2821
+ className: r,
2769
2822
  onClick: h
2770
2823
  });
2771
2824
  case "expandActiveArrowIcon":
2772
- return Lt({
2825
+ return v2({
2773
2826
  width: e,
2774
2827
  height: t,
2775
2828
  color: l,
2776
- className: a,
2829
+ className: r,
2777
2830
  onClick: h
2778
2831
  });
2779
2832
  case "sortUp":
2780
- return vt({ width: e, height: t, color: l, className: a, onClick: h });
2833
+ return N2({ width: e, height: t, color: l, className: r, onClick: h });
2781
2834
  case "sortDown":
2782
- return Nt({ width: e, height: t, color: l, className: a, onClick: h });
2835
+ return x2({ width: e, height: t, color: l, className: r, onClick: h });
2783
2836
  case "search":
2784
- return xt({ width: e, height: t, color: l, className: a, onClick: h });
2837
+ return R2({ width: e, height: t, color: l, className: r, onClick: h });
2785
2838
  case "arrowUpFilled":
2786
- return yt({ width: e, height: t, color: l, className: a, onClick: h });
2839
+ return E2({ width: e, height: t, color: l, className: r, onClick: h });
2787
2840
  case "arrowDownFilled":
2788
- return bt({ width: e, height: t, color: l, className: a, onClick: h });
2841
+ return y2({ width: e, height: t, color: l, className: r, onClick: h });
2789
2842
  case "link":
2790
- return Et({ width: e, height: t, color: l, className: a, onClick: h });
2843
+ return _2({ width: e, height: t, color: l, className: r, onClick: h });
2791
2844
  case "telegram":
2792
- return Ht({ width: e, height: t, color: l, className: a, onClick: h });
2845
+ return I2({ width: e, height: t, color: l, className: r, onClick: h });
2793
2846
  case "mail":
2794
- return Ot({ width: e, height: t, color: l, className: a, onClick: h });
2847
+ return S2({ width: e, height: t, color: l, className: r, onClick: h });
2795
2848
  case "github":
2796
- return _t({ width: e, height: t, color: l, className: a, onClick: h });
2849
+ return H2({ width: e, height: t, color: l, className: r, onClick: h });
2797
2850
  case "linkedIn":
2798
- return It({ width: e, height: t, color: l, className: a, onClick: h });
2851
+ return O2({ width: e, height: t, color: l, className: r, onClick: h });
2799
2852
  case "emptyStateIcon":
2800
- return St({ width: e, height: t, color: l, className: a, onClick: h });
2853
+ return V2({ width: e, height: t, color: l, className: r, onClick: h });
2801
2854
  case "filtersIcon":
2802
- return Vt({ width: e, height: t, color: l, className: a, onClick: h });
2855
+ return A2({ width: e, height: t, color: l, className: r, onClick: h });
2803
2856
  case "dotMenuIcon":
2804
- return At({ width: e, height: t, color: l, className: a, onClick: h });
2857
+ return T2({ width: e, height: t, color: l, className: r, onClick: h });
2805
2858
  case "plusCircle":
2806
- return Tt({ width: e, height: t, color: l, className: a, onClick: h });
2859
+ return Z2({ width: e, height: t, color: l, className: r, onClick: h });
2807
2860
  case "warning":
2808
- return Bt({ width: e, height: t, color: l, className: a, onClick: h });
2861
+ return D2({ width: e, height: t, color: l, className: r, onClick: h });
2809
2862
  case "back":
2810
- return jt({ width: e, height: t, color: l, className: a, onClick: h });
2863
+ return B2({ width: e, height: t, color: l, className: r, onClick: h });
2811
2864
  case "bell":
2812
- return Dt({ width: e, height: t, color: l, className: a, onClick: h });
2865
+ return j2({ width: e, height: t, color: l, className: r, onClick: h });
2813
2866
  case "contract":
2814
- return Wt({ width: e, height: t, color: l, className: a, onClick: h });
2867
+ return W2({ width: e, height: t, color: l, className: r, onClick: h });
2815
2868
  case "trash2":
2816
- return Zt({ width: e, height: t, color: l, className: a, onClick: h });
2869
+ return G2({ width: e, height: t, color: l, className: r, onClick: h });
2817
2870
  case "resourceManager":
2818
- return Gt({ width: e, height: t, color: l, className: a, onClick: h });
2871
+ return K2({ width: e, height: t, color: l, className: r, onClick: h });
2819
2872
  case "settings2":
2820
- return Kt({ width: e, height: t, color: l, className: a, onClick: h });
2873
+ return P2({ width: e, height: t, color: l, className: r, onClick: h });
2821
2874
  case "image":
2822
- return Pt({ width: e, height: t, color: l, className: a, onClick: h });
2875
+ return $2({ width: e, height: t, color: l, className: r, onClick: h });
2823
2876
  case "edit":
2824
- return $t({ width: e, height: t, color: l, className: a, onClick: h });
2877
+ return F2({ width: e, height: t, color: l, className: r, onClick: h });
2825
2878
  case "filledArrowRight":
2826
- return Ft({ width: e, height: t, color: l, className: a, onClick: h });
2879
+ return Y2({ width: e, height: t, color: l, className: r, onClick: h });
2827
2880
  case "burgerMenu":
2828
- return Yt({ width: e, height: t, color: l, className: a, onClick: h });
2881
+ return U2({ width: e, height: t, color: l, className: r, onClick: h });
2829
2882
  case "signOut":
2830
- return Ut({ width: e, height: t, color: l, className: a, onClick: h });
2883
+ return z2({ width: e, height: t, color: l, className: r, onClick: h });
2831
2884
  case "refresh":
2832
- return zt({ width: e, height: t, color: l, className: a, onClick: h });
2885
+ return J2({ width: e, height: t, color: l, className: r, onClick: h });
2833
2886
  case "projects":
2834
- return Jt({ width: e, height: t, color: l, className: a, onClick: h });
2887
+ return Q2({ width: e, height: t, color: l, className: r, onClick: h });
2835
2888
  case "profile":
2836
- return n2({ width: e, height: t, color: l, className: a, onClick: h });
2889
+ return st({ width: e, height: t, color: l, className: r, onClick: h });
2837
2890
  case "exit":
2838
- return Qt({ width: e, height: t, color: l, className: a, onClick: h });
2891
+ return q2({ width: e, height: t, color: l, className: r, onClick: h });
2839
2892
  case "client":
2840
- return qt({ width: e, height: t, color: l, className: a, onClick: h });
2893
+ return X2({ width: e, height: t, color: l, className: r, onClick: h });
2841
2894
  case "calendar2":
2842
- return Xt({ width: e, height: t, color: l, className: a, onClick: h });
2895
+ return et({ width: e, height: t, color: l, className: r, onClick: h });
2843
2896
  case "openPointCircle":
2844
- return e2({ width: e, height: t, color: l, className: a, onClick: h });
2897
+ return tt({ width: e, height: t, color: l, className: r, onClick: h });
2845
2898
  case "community":
2846
- return t2({ width: e, height: t, color: l, className: a, onClick: h });
2899
+ return it({ width: e, height: t, color: l, className: r, onClick: h });
2847
2900
  case "docs":
2848
- return i2({ width: e, height: t, color: l, className: a, onClick: h });
2901
+ return nt({ width: e, height: t, color: l, className: r, onClick: h });
2849
2902
  default:
2850
2903
  return /* @__PURE__ */ o(Y, { children: "No Icon provided" });
2851
2904
  }
2852
2905
  })() });
2853
- }, s2 = ({ children: i, title: e, arrow: t = !0, open: n, placement: s = "top" }) => /* @__PURE__ */ o(
2906
+ }, ot = ({ children: i, title: e, arrow: t = !0, open: n, placement: s = "top" }) => /* @__PURE__ */ o(
2854
2907
  J1,
2855
2908
  {
2856
2909
  overlayClassName: "snmt-tooltip",
@@ -2860,45 +2913,48 @@ const $e = ({
2860
2913
  placement: s,
2861
2914
  children: i
2862
2915
  }
2863
- ), { Title: o2, Text: r2 } = Q1, a2 = {
2916
+ ), { Title: rt, Text: at } = Q1, lt = {
2864
2917
  h1: 1,
2865
2918
  h2: 2,
2866
2919
  h3: 3,
2867
2920
  h4: 4
2868
- }, l2 = w1(
2921
+ }, ht = w1(
2869
2922
  ({
2870
2923
  align: i = "inherit",
2871
2924
  variant: e = "body1",
2872
2925
  color: t,
2873
2926
  children: n,
2874
2927
  onClick: s,
2875
- collapsed: r,
2928
+ collapsed: a,
2876
2929
  whiteSpace: c = "normal",
2877
2930
  /** This prop allows you to enable tooltip if text size is too big */
2878
- trim: a = !1
2931
+ trim: r = !1
2879
2932
  }, g) => {
2880
2933
  const d = J(null);
2881
2934
  q1(g, () => d.current);
2882
2935
  const [l, h] = O(!1);
2883
2936
  S(() => {
2884
- if (!a) return;
2885
- const m = () => {
2937
+ var m;
2938
+ if (!r) return;
2939
+ const E = () => {
2886
2940
  d.current && h(d.current.scrollWidth > d.current.clientWidth);
2887
- }, E = new ResizeObserver(m);
2888
- return d.current && E.observe(d.current), () => {
2889
- E.disconnect();
2890
2941
  };
2891
- }, [a, l]);
2942
+ E();
2943
+ const k = new ResizeObserver(E);
2944
+ return d.current && k.observe(d.current), (m = d.current) != null && m.parentElement && k.observe(d.current.parentElement), () => {
2945
+ k.disconnect();
2946
+ };
2947
+ }, [r]);
2892
2948
  const u = e === "h1" || e === "h2" || e === "h3" || e === "h4";
2893
2949
  let p = `snmt-typography snmt-typography-${e}`;
2894
- i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), r && (p += " collapsed"), a && (p += " collapsed");
2950
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed"), r && (p += " collapsed");
2895
2951
  const w = {
2896
2952
  className: p,
2897
- style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
2953
+ style: { color: t, whiteSpace: r ? "nowrap" : c, display: r ? "block" : "" },
2898
2954
  onClick: s,
2899
2955
  ref: d
2900
- }, L = u ? /* @__PURE__ */ o(o2, { level: a2[e], ...w, children: n }) : /* @__PURE__ */ o(r2, { ...w, children: n });
2901
- return a && l ? /* @__PURE__ */ o(s2, { placement: "top", title: n, children: L }) : L;
2956
+ }, v = u ? /* @__PURE__ */ o(rt, { level: lt[e], ...w, children: n }) : /* @__PURE__ */ o(at, { ...w, children: n });
2957
+ return r && l ? /* @__PURE__ */ o(ot, { placement: "top", title: n, children: v }) : v;
2902
2958
  }
2903
2959
  );
2904
2960
  var y = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(y || {});
@@ -2907,7 +2963,7 @@ const ie = t1({
2907
2963
  theme: "light"
2908
2964
  });
2909
2965
  ie.Provider;
2910
- const h2 = ({
2966
+ const ct = ({
2911
2967
  width: i = 20,
2912
2968
  height: e = 20,
2913
2969
  color: t = "#001E52",
@@ -2934,35 +2990,47 @@ const h2 = ({
2934
2990
  }
2935
2991
  )
2936
2992
  }
2937
- ), c2 = ({
2938
- width: i = 16,
2939
- height: e = 16,
2940
- color: t = "#001E52",
2993
+ ), dt = ({
2994
+ width: i = 20,
2995
+ height: e = 20,
2996
+ color: t = y.GREY_DARK_5,
2941
2997
  className: n,
2942
2998
  onClick: s
2943
2999
  }) => /* @__PURE__ */ C(
2944
3000
  "svg",
2945
3001
  {
2946
- xmlns: "http://www.w3.org/2000/svg",
2947
3002
  width: i,
2948
3003
  height: e,
2949
3004
  className: n,
2950
3005
  onClick: s,
2951
- viewBox: "0 0 16 16",
3006
+ viewBox: "0 0 24 25",
2952
3007
  fill: "none",
3008
+ xmlns: "http://www.w3.org/2000/svg",
2953
3009
  children: [
2954
- /* @__PURE__ */ o("circle", { cx: "8", cy: "8", r: "7.4", stroke: t, strokeWidth: "1.2" }),
2955
- /* @__PURE__ */ o("path", { d: "M7 6.5H9V12.5335H7V6.5Z", fill: t }),
2956
3010
  /* @__PURE__ */ o(
2957
3011
  "path",
2958
3012
  {
2959
- d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5C9 5.05228 8.55228 5.5 8 5.5C7.44772 5.5 7 5.05228 7 4.5Z",
3013
+ d: "M11.25 17L11.25 12C11.25 11.5858 11.5858 11.25 12 11.25C12.4142 11.25 12.75 11.5858 12.75 12V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17Z",
3014
+ fill: t
3015
+ }
3016
+ ),
3017
+ /* @__PURE__ */ o(
3018
+ "path",
3019
+ {
3020
+ d: "M11.4523 7.49701C11.7294 7.18913 12.204 7.16426 12.5118 7.44135C12.8197 7.71844 12.8446 8.19304 12.5675 8.50092L12.5577 8.51166C12.2806 8.81954 11.806 8.84442 11.4982 8.56732C11.1904 8.29021 11.1655 7.81558 11.4425 7.50775L11.4523 7.49701Z",
3021
+ fill: t
3022
+ }
3023
+ ),
3024
+ /* @__PURE__ */ o(
3025
+ "path",
3026
+ {
3027
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
2960
3028
  fill: t
2961
3029
  }
2962
3030
  )
2963
3031
  ]
2964
3032
  }
2965
- ), d2 = ({
3033
+ ), gt = ({
2966
3034
  width: i = 20,
2967
3035
  height: e = 20,
2968
3036
  color: t = "#001E52",
@@ -2997,7 +3065,7 @@ const h2 = ({
2997
3065
  )
2998
3066
  ]
2999
3067
  }
3000
- ), g2 = ({
3068
+ ), ut = ({
3001
3069
  width: i = 18,
3002
3070
  height: e = 18,
3003
3071
  color: t = "#001E52",
@@ -3036,7 +3104,7 @@ const h2 = ({
3036
3104
  )
3037
3105
  ]
3038
3106
  }
3039
- ), u2 = ({
3107
+ ), Ct = ({
3040
3108
  width: i = 20,
3041
3109
  height: e = 20,
3042
3110
  color: t = "#001E52",
@@ -3062,7 +3130,7 @@ const h2 = ({
3062
3130
  }
3063
3131
  )
3064
3132
  }
3065
- ), C2 = ({
3133
+ ), pt = ({
3066
3134
  width: i = 20,
3067
3135
  height: e = 20,
3068
3136
  color: t = "#001E52",
@@ -3083,7 +3151,7 @@ const h2 = ({
3083
3151
  /* @__PURE__ */ o("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
3084
3152
  ]
3085
3153
  }
3086
- ), p2 = ({
3154
+ ), ft = ({
3087
3155
  width: i = 20,
3088
3156
  height: e = 20,
3089
3157
  color: t = "#001E52",
@@ -3115,7 +3183,7 @@ const h2 = ({
3115
3183
  )
3116
3184
  ]
3117
3185
  }
3118
- ), f2 = ({
3186
+ ), mt = ({
3119
3187
  width: i = 20,
3120
3188
  height: e = 20,
3121
3189
  color: t = "#001E52",
@@ -3169,7 +3237,7 @@ const h2 = ({
3169
3237
  )
3170
3238
  ]
3171
3239
  }
3172
- ), m2 = ({
3240
+ ), wt = ({
3173
3241
  width: i = 20,
3174
3242
  height: e = 20,
3175
3243
  color: t = "#001E52",
@@ -3208,7 +3276,7 @@ const h2 = ({
3208
3276
  /* @__PURE__ */ o("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
3209
3277
  ]
3210
3278
  }
3211
- ), w2 = ({
3279
+ ), kt = ({
3212
3280
  width: i = 16,
3213
3281
  height: e = 12,
3214
3282
  color: t = "#001E52",
@@ -3257,41 +3325,47 @@ const h2 = ({
3257
3325
  )
3258
3326
  ] })
3259
3327
  }
3260
- ), k2 = ({
3261
- width: i = 16,
3262
- height: e = 16,
3263
- color: t = "#001E52",
3328
+ ), Lt = ({
3329
+ width: i = 20,
3330
+ height: e = 20,
3331
+ color: t = y.GREY_DARK_5,
3264
3332
  className: n,
3265
3333
  onClick: s
3266
3334
  }) => /* @__PURE__ */ C(
3267
3335
  "svg",
3268
3336
  {
3269
- xmlns: "http://www.w3.org/2000/svg",
3270
3337
  width: i,
3271
3338
  height: e,
3272
3339
  className: n,
3273
3340
  onClick: s,
3274
- viewBox: "0 0 16 16",
3341
+ viewBox: "0 0 24 25",
3275
3342
  fill: "none",
3343
+ xmlns: "http://www.w3.org/2000/svg",
3276
3344
  children: [
3277
- /* @__PURE__ */ o("circle", { cx: "8", cy: "8", r: "7.27273", stroke: t, strokeWidth: "1.45455" }),
3278
3345
  /* @__PURE__ */ o(
3279
3346
  "path",
3280
3347
  {
3281
- d: "M7 4.5C7 3.94772 7.44772 3.5 8 3.5C8.55228 3.5 9 3.94772 9 4.5V8.53345C9 9.08574 8.55228 9.53345 8 9.53345C7.44772 9.53345 7 9.08574 7 8.53345V4.5Z",
3348
+ d: "M11.25 13.5L11.25 7.5C11.25 7.08579 11.5858 6.75 12 6.75C12.4142 6.75 12.75 7.08579 12.75 7.5L12.75 13.5C12.75 13.9142 12.4142 14.25 12 14.25C11.5858 14.25 11.25 13.9142 11.25 13.5Z",
3349
+ fill: t
3350
+ }
3351
+ ),
3352
+ /* @__PURE__ */ o(
3353
+ "path",
3354
+ {
3355
+ d: "M11.4523 16.997C11.7294 16.6891 12.204 16.6643 12.5118 16.9413C12.8197 17.2184 12.8446 17.693 12.5675 18.0009L12.5577 18.0117C12.2806 18.3195 11.806 18.3444 11.4982 18.0673C11.1904 17.7902 11.1655 17.3156 11.4425 17.0078L11.4523 16.997Z",
3282
3356
  fill: t
3283
3357
  }
3284
3358
  ),
3285
3359
  /* @__PURE__ */ o(
3286
3360
  "path",
3287
3361
  {
3288
- d: "M7 11.5327C7 10.9804 7.44772 10.5327 8 10.5327C8.55228 10.5327 9 10.9804 9 11.5327C9 12.085 8.55228 12.5327 8 12.5327C7.44772 12.5327 7 12.085 7 11.5327Z",
3362
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
3289
3363
  fill: t
3290
3364
  }
3291
3365
  )
3292
3366
  ]
3293
3367
  }
3294
- ), L2 = ({
3368
+ ), vt = ({
3295
3369
  width: i = 20,
3296
3370
  height: e = 20,
3297
3371
  color: t = "#001E52",
@@ -3338,7 +3412,7 @@ const h2 = ({
3338
3412
  )
3339
3413
  ]
3340
3414
  }
3341
- ), v2 = ({
3415
+ ), Nt = ({
3342
3416
  width: i = 20,
3343
3417
  height: e = 20,
3344
3418
  color: t = "#001E52",
@@ -3371,7 +3445,7 @@ const h2 = ({
3371
3445
  )
3372
3446
  ]
3373
3447
  }
3374
- ), N2 = ({
3448
+ ), xt = ({
3375
3449
  width: i = 20,
3376
3450
  height: e = 20,
3377
3451
  color: t = "#001E52",
@@ -3418,7 +3492,7 @@ const h2 = ({
3418
3492
  )
3419
3493
  ]
3420
3494
  }
3421
- ), x2 = ({
3495
+ ), Rt = ({
3422
3496
  width: i = 20,
3423
3497
  height: e = 20,
3424
3498
  color: t = "#001E52",
@@ -3451,7 +3525,7 @@ const h2 = ({
3451
3525
  )
3452
3526
  ]
3453
3527
  }
3454
- ), R2 = ({
3528
+ ), Mt = ({
3455
3529
  width: i = 18,
3456
3530
  height: e = 16,
3457
3531
  color: t = "#001E52",
@@ -3490,7 +3564,7 @@ const h2 = ({
3490
3564
  )
3491
3565
  ]
3492
3566
  }
3493
- ), M2 = ({
3567
+ ), bt = ({
3494
3568
  width: i = 20,
3495
3569
  height: e = 20,
3496
3570
  color: t = "#001E52",
@@ -3523,7 +3597,7 @@ const h2 = ({
3523
3597
  )
3524
3598
  ]
3525
3599
  }
3526
- ), b2 = ({
3600
+ ), yt = ({
3527
3601
  width: i = 20,
3528
3602
  height: e = 20,
3529
3603
  color: t = "#001E52",
@@ -3547,7 +3621,7 @@ const h2 = ({
3547
3621
  }
3548
3622
  )
3549
3623
  }
3550
- ), y2 = ({
3624
+ ), Et = ({
3551
3625
  width: i = 20,
3552
3626
  height: e = 20,
3553
3627
  color: t = "#001E52",
@@ -3580,7 +3654,7 @@ const h2 = ({
3580
3654
  )
3581
3655
  ]
3582
3656
  }
3583
- ), E2 = ({
3657
+ ), _t = ({
3584
3658
  width: i = 20,
3585
3659
  height: e = 23,
3586
3660
  color: t = "#001E52",
@@ -3641,7 +3715,7 @@ const h2 = ({
3641
3715
  )
3642
3716
  ]
3643
3717
  }
3644
- ), _2 = ({
3718
+ ), Ht = ({
3645
3719
  width: i = 14,
3646
3720
  height: e = 14,
3647
3721
  color: t = "#10B981",
@@ -3670,7 +3744,40 @@ const h2 = ({
3670
3744
  )
3671
3745
  ]
3672
3746
  }
3673
- ), H2 = ({
3747
+ ), It = ({
3748
+ width: i = 20,
3749
+ height: e = 20,
3750
+ color: t = y.GREY_DARK_5,
3751
+ className: n,
3752
+ onClick: s
3753
+ }) => /* @__PURE__ */ C(
3754
+ "svg",
3755
+ {
3756
+ width: i,
3757
+ height: e,
3758
+ className: n,
3759
+ onClick: s,
3760
+ viewBox: "0 0 24 25",
3761
+ fill: "none",
3762
+ xmlns: "http://www.w3.org/2000/svg",
3763
+ children: [
3764
+ /* @__PURE__ */ o(
3765
+ "path",
3766
+ {
3767
+ d: "M6.46978 13.5303C6.17689 13.2374 6.17689 12.7626 6.46978 12.4697C6.76268 12.1768 7.23755 12.1768 7.53044 12.4697L9.99979 14.939L16.4694 8.46941C16.7622 8.17662 17.2371 8.17683 17.5301 8.46941C17.823 8.7623 17.823 9.23717 17.5301 9.53007L10.5301 16.53C10.2372 16.8229 9.76236 16.8229 9.46946 16.53L6.46978 13.5303Z",
3768
+ fill: t
3769
+ }
3770
+ ),
3771
+ /* @__PURE__ */ o(
3772
+ "path",
3773
+ {
3774
+ d: "M21.25 12.5C21.25 7.39137 17.1086 3.25 12 3.25C6.89137 3.25 2.75 7.39137 2.75 12.5C2.75 17.6086 6.89137 21.75 12 21.75C17.1086 21.75 21.25 17.6086 21.25 12.5ZM22.75 12.5C22.75 18.4371 17.9371 23.25 12 23.25C6.06294 23.25 1.25 18.4371 1.25 12.5C1.25 6.56294 6.06294 1.75 12 1.75C17.9371 1.75 22.75 6.56294 22.75 12.5Z",
3775
+ fill: t
3776
+ }
3777
+ )
3778
+ ]
3779
+ }
3780
+ ), Ot = ({
3674
3781
  width: i = 10,
3675
3782
  height: e = 10,
3676
3783
  color: t = "#88A4FF",
@@ -3718,7 +3825,7 @@ const h2 = ({
3718
3825
  )
3719
3826
  ]
3720
3827
  }
3721
- ), I2 = ({
3828
+ ), St = ({
3722
3829
  width: i = 14,
3723
3830
  height: e = 14,
3724
3831
  color: t = "#8E8E93",
@@ -3746,7 +3853,7 @@ const h2 = ({
3746
3853
  )
3747
3854
  ]
3748
3855
  }
3749
- ), O2 = ({
3856
+ ), Vt = ({
3750
3857
  width: i = 14,
3751
3858
  height: e = 14,
3752
3859
  color: t = "#FFB020",
@@ -3780,7 +3887,7 @@ const h2 = ({
3780
3887
  )
3781
3888
  ]
3782
3889
  }
3783
- ), S2 = ({
3890
+ ), At = ({
3784
3891
  width: i = 14,
3785
3892
  height: e = 14,
3786
3893
  color: t = "#D0421B",
@@ -3828,7 +3935,7 @@ const h2 = ({
3828
3935
  )
3829
3936
  ]
3830
3937
  }
3831
- ), V2 = ({
3938
+ ), Tt = ({
3832
3939
  width: i = 20,
3833
3940
  height: e = 20,
3834
3941
  color: t = "#070739",
@@ -3858,7 +3965,7 @@ const h2 = ({
3858
3965
  /* @__PURE__ */ o("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
3859
3966
  ]
3860
3967
  }
3861
- ), A2 = ({
3968
+ ), Zt = ({
3862
3969
  width: i = 20,
3863
3970
  height: e = 20,
3864
3971
  color: t = "#070739",
@@ -3896,7 +4003,7 @@ const h2 = ({
3896
4003
  )
3897
4004
  ]
3898
4005
  }
3899
- ), T2 = ({
4006
+ ), Dt = ({
3900
4007
  width: i = 9,
3901
4008
  height: e = 5,
3902
4009
  color: t = "#001E52",
@@ -3922,7 +4029,7 @@ const h2 = ({
3922
4029
  }
3923
4030
  )
3924
4031
  }
3925
- ), B2 = ({
4032
+ ), Bt = ({
3926
4033
  width: i = 20,
3927
4034
  height: e = 20,
3928
4035
  color: t = "#F2F2F7",
@@ -3951,7 +4058,7 @@ const h2 = ({
3951
4058
  )
3952
4059
  ]
3953
4060
  }
3954
- ), j2 = ({
4061
+ ), jt = ({
3955
4062
  width: i = 20,
3956
4063
  height: e = 20,
3957
4064
  color: t = "#004ED7",
@@ -3980,7 +4087,7 @@ const h2 = ({
3980
4087
  )
3981
4088
  ]
3982
4089
  }
3983
- ), D2 = ({
4090
+ ), Gt = ({
3984
4091
  width: i = 10,
3985
4092
  height: e = 10,
3986
4093
  color: t = "#001E52",
@@ -4009,7 +4116,7 @@ const h2 = ({
4009
4116
  )
4010
4117
  ]
4011
4118
  }
4012
- ), Z2 = ({
4119
+ ), Wt = ({
4013
4120
  width: i = 10,
4014
4121
  height: e = 10,
4015
4122
  color: t = "#001E52",
@@ -4046,7 +4153,7 @@ const h2 = ({
4046
4153
  )
4047
4154
  ]
4048
4155
  }
4049
- ), W2 = ({
4156
+ ), Kt = ({
4050
4157
  className: i,
4051
4158
  color: e = y.GREY_DARK_5,
4052
4159
  height: t = 24,
@@ -4085,7 +4192,7 @@ const h2 = ({
4085
4192
  )
4086
4193
  ]
4087
4194
  }
4088
- ), G2 = ({
4195
+ ), Pt = ({
4089
4196
  className: i,
4090
4197
  color: e = y.GREY_DARK_5,
4091
4198
  height: t = 20,
@@ -4112,7 +4219,7 @@ const h2 = ({
4112
4219
  }
4113
4220
  )
4114
4221
  }
4115
- ), K2 = ({
4222
+ ), $t = ({
4116
4223
  className: i,
4117
4224
  color: e = y.GREY_DARK_5,
4118
4225
  height: t = 20,
@@ -4139,7 +4246,7 @@ const h2 = ({
4139
4246
  }
4140
4247
  )
4141
4248
  }
4142
- ), P2 = ({
4249
+ ), Ft = ({
4143
4250
  className: i,
4144
4251
  color: e = y.GREY_DARK_5,
4145
4252
  height: t = 5,
@@ -4163,7 +4270,7 @@ const h2 = ({
4163
4270
  }
4164
4271
  )
4165
4272
  }
4166
- ), $2 = ({
4273
+ ), Yt = ({
4167
4274
  className: i,
4168
4275
  color: e = y.GREY_DARK_5,
4169
4276
  height: t = 5,
@@ -4188,7 +4295,7 @@ const h2 = ({
4188
4295
  }
4189
4296
  )
4190
4297
  }
4191
- ), F2 = ({
4298
+ ), Ut = ({
4192
4299
  className: i,
4193
4300
  color: e = y.GREY_DARK_5,
4194
4301
  height: t = 24,
@@ -4227,7 +4334,7 @@ const h2 = ({
4227
4334
  )
4228
4335
  ]
4229
4336
  }
4230
- ), Y2 = ({
4337
+ ), zt = ({
4231
4338
  className: i,
4232
4339
  color: e = y.GREY_DARK_5,
4233
4340
  height: t = 24,
@@ -4266,7 +4373,7 @@ const h2 = ({
4266
4373
  )
4267
4374
  ]
4268
4375
  }
4269
- ), U2 = ({
4376
+ ), Jt = ({
4270
4377
  className: i,
4271
4378
  color: e = y.GREY_DARK_5,
4272
4379
  height: t = 24,
@@ -4293,7 +4400,7 @@ const h2 = ({
4293
4400
  }
4294
4401
  )
4295
4402
  }
4296
- ), z2 = ({
4403
+ ), Qt = ({
4297
4404
  className: i,
4298
4405
  color: e = y.GREY_DARK_5,
4299
4406
  height: t = 24,
@@ -4352,7 +4459,7 @@ const h2 = ({
4352
4459
  )
4353
4460
  ]
4354
4461
  }
4355
- ), J2 = ({
4462
+ ), qt = ({
4356
4463
  className: i,
4357
4464
  color: e = y.GREY_DARK_5,
4358
4465
  height: t = 24,
@@ -4389,7 +4496,7 @@ const h2 = ({
4389
4496
  )
4390
4497
  ]
4391
4498
  }
4392
- ), Q2 = ({
4499
+ ), Xt = ({
4393
4500
  className: i,
4394
4501
  color: e = y.GREY_DARK_3,
4395
4502
  height: t = 14,
@@ -4426,7 +4533,7 @@ const h2 = ({
4426
4533
  )
4427
4534
  ]
4428
4535
  }
4429
- ), q2 = ({
4536
+ ), e5 = ({
4430
4537
  className: i,
4431
4538
  color: e = y.GREY_DARK_5,
4432
4539
  height: t = 18,
@@ -4453,7 +4560,7 @@ const h2 = ({
4453
4560
  }
4454
4561
  )
4455
4562
  }
4456
- ), X2 = ({
4563
+ ), t5 = ({
4457
4564
  className: i,
4458
4565
  color: e = y.GREY_DARK_5,
4459
4566
  height: t = 24,
@@ -4505,7 +4612,7 @@ const h2 = ({
4505
4612
  )
4506
4613
  ]
4507
4614
  }
4508
- ), ei = ({
4615
+ ), i5 = ({
4509
4616
  className: i,
4510
4617
  color: e = y.GREY_DARK_5,
4511
4618
  height: t = 24,
@@ -4542,7 +4649,7 @@ const h2 = ({
4542
4649
  )
4543
4650
  ]
4544
4651
  }
4545
- ), ti = ({
4652
+ ), n5 = ({
4546
4653
  className: i,
4547
4654
  color: e = y.NOTIFICATION_WARNING_DARK,
4548
4655
  height: t = 37,
@@ -4581,7 +4688,7 @@ const h2 = ({
4581
4688
  )
4582
4689
  ]
4583
4690
  }
4584
- ), ii = ({
4691
+ ), s5 = ({
4585
4692
  className: i,
4586
4693
  color: e = y.GREY_DARK_5,
4587
4694
  height: t = 24,
@@ -4607,7 +4714,7 @@ const h2 = ({
4607
4714
  }
4608
4715
  )
4609
4716
  }
4610
- ), ni = ({
4717
+ ), o5 = ({
4611
4718
  className: i,
4612
4719
  color: e = y.GREY_DARK_5,
4613
4720
  height: t = 24,
@@ -4646,7 +4753,7 @@ const h2 = ({
4646
4753
  )
4647
4754
  ]
4648
4755
  }
4649
- ), si = ({
4756
+ ), r5 = ({
4650
4757
  className: i,
4651
4758
  color: e = y.GREY_DARK_5,
4652
4759
  height: t = 24,
@@ -4685,7 +4792,7 @@ const h2 = ({
4685
4792
  )
4686
4793
  ]
4687
4794
  }
4688
- ), oi = ({
4795
+ ), a5 = ({
4689
4796
  className: i,
4690
4797
  color: e = y.GREY_DARK_5,
4691
4798
  height: t = 24,
@@ -4754,7 +4861,7 @@ const h2 = ({
4754
4861
  )
4755
4862
  ]
4756
4863
  }
4757
- ), ri = ({
4864
+ ), l5 = ({
4758
4865
  className: i,
4759
4866
  color: e = y.GREY_DARK_5,
4760
4867
  height: t = 24,
@@ -4811,7 +4918,7 @@ const h2 = ({
4811
4918
  )
4812
4919
  ]
4813
4920
  }
4814
- ), ai = ({
4921
+ ), h5 = ({
4815
4922
  className: i,
4816
4923
  color: e = y.GREY_DARK_5,
4817
4924
  height: t = 24,
@@ -4850,7 +4957,7 @@ const h2 = ({
4850
4957
  )
4851
4958
  ]
4852
4959
  }
4853
- ), li = ({
4960
+ ), c5 = ({
4854
4961
  className: i,
4855
4962
  color: e = y.GREY_DARK_5,
4856
4963
  height: t = 24,
@@ -4899,7 +5006,7 @@ const h2 = ({
4899
5006
  )
4900
5007
  ]
4901
5008
  }
4902
- ), hi = ({
5009
+ ), d5 = ({
4903
5010
  className: i,
4904
5011
  color: e = y.GREY_DARK_5,
4905
5012
  height: t = 24,
@@ -4926,7 +5033,7 @@ const h2 = ({
4926
5033
  }
4927
5034
  )
4928
5035
  }
4929
- ), ci = ({
5036
+ ), g5 = ({
4930
5037
  className: i,
4931
5038
  color: e = y.GREY_DARK_5,
4932
5039
  height: t = 20,
@@ -4955,7 +5062,7 @@ const h2 = ({
4955
5062
  )
4956
5063
  ]
4957
5064
  }
4958
- ), di = ({
5065
+ ), u5 = ({
4959
5066
  className: i,
4960
5067
  color: e = "#001E52",
4961
5068
  height: t = 24,
@@ -4981,7 +5088,7 @@ const h2 = ({
4981
5088
  }
4982
5089
  )
4983
5090
  }
4984
- ), gi = ({
5091
+ ), C5 = ({
4985
5092
  className: i,
4986
5093
  color: e = "#131314",
4987
5094
  height: t = 20,
@@ -5009,7 +5116,7 @@ const h2 = ({
5009
5116
  }
5010
5117
  )
5011
5118
  }
5012
- ), ui = ({
5119
+ ), p5 = ({
5013
5120
  className: i,
5014
5121
  color: e = "#001E52",
5015
5122
  height: t = 24,
@@ -5047,7 +5154,7 @@ const h2 = ({
5047
5154
  )
5048
5155
  ] }) })
5049
5156
  }
5050
- ), Ci = ({
5157
+ ), f5 = ({
5051
5158
  width: i = 20,
5052
5159
  height: e = 20,
5053
5160
  color: t = "#001E52",
@@ -5103,7 +5210,7 @@ const h2 = ({
5103
5210
  }
5104
5211
  )
5105
5212
  }
5106
- ), pi = ({
5213
+ ), m5 = ({
5107
5214
  width: i = 24,
5108
5215
  height: e = 24,
5109
5216
  color: t = "#131314",
@@ -5136,7 +5243,7 @@ const h2 = ({
5136
5243
  )
5137
5244
  ]
5138
5245
  }
5139
- ), fi = ({
5246
+ ), w5 = ({
5140
5247
  width: i = 24,
5141
5248
  height: e = 24,
5142
5249
  color: t = y.GREY_DARK_2,
@@ -5175,7 +5282,7 @@ const h2 = ({
5175
5282
  )
5176
5283
  ]
5177
5284
  }
5178
- ), mi = ({
5285
+ ), k5 = ({
5179
5286
  width: i = 24,
5180
5287
  height: e = 24,
5181
5288
  color: t = y.GREY_DARK_2,
@@ -5202,7 +5309,7 @@ const h2 = ({
5202
5309
  }
5203
5310
  )
5204
5311
  }
5205
- ), wi = ({
5312
+ ), L5 = ({
5206
5313
  width: i = 24,
5207
5314
  height: e = 24,
5208
5315
  color: t = y.GREY_DARK_2,
@@ -5242,7 +5349,7 @@ const h2 = ({
5242
5349
  )
5243
5350
  ]
5244
5351
  }
5245
- ), ki = ({
5352
+ ), v5 = ({
5246
5353
  width: i = 24,
5247
5354
  height: e = 24,
5248
5355
  color: t = y.GREY_DARK_2,
@@ -5269,7 +5376,7 @@ const h2 = ({
5269
5376
  }
5270
5377
  )
5271
5378
  }
5272
- ), Li = ({
5379
+ ), N5 = ({
5273
5380
  width: i = 24,
5274
5381
  height: e = 24,
5275
5382
  color: t = y.GREY_DARK_2,
@@ -5296,7 +5403,7 @@ const h2 = ({
5296
5403
  }
5297
5404
  )
5298
5405
  }
5299
- ), vi = ({
5406
+ ), x5 = ({
5300
5407
  width: i = 20,
5301
5408
  height: e = 20,
5302
5409
  color: t = "#001E52",
@@ -5322,256 +5429,258 @@ const h2 = ({
5322
5429
  }
5323
5430
  )
5324
5431
  }
5325
- ), Ni = ({
5432
+ ), R5 = ({
5326
5433
  name: i,
5327
5434
  width: e,
5328
5435
  height: t,
5329
5436
  color: n,
5330
5437
  className: s,
5331
- disabled: r = !1,
5438
+ disabled: a = !1,
5332
5439
  onClick: c
5333
5440
  }) => {
5334
- const [a, g] = O(s), { theme: d } = Q(ie), l = r ? d && d === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : n, h = r ? void 0 : c;
5441
+ const [r, g] = O(s), { theme: d } = Q(ie), l = a ? d && d === "dark" ? y.GREY_LIGHT_4 : y.GREY_DARK_1 : n, h = a ? void 0 : c;
5335
5442
  return S(() => {
5336
5443
  if (s) {
5337
- h && !r && g(`${s} clickable`);
5444
+ h && !a && g(`${s} clickable`);
5338
5445
  return;
5339
5446
  }
5340
- h && !r && g("clickable");
5341
- }, [h, s, r]), /* @__PURE__ */ o(Y, { children: (() => {
5447
+ h && !a && g("clickable");
5448
+ }, [h, s, a]), /* @__PURE__ */ o(Y, { children: (() => {
5342
5449
  switch (i) {
5343
5450
  case "nextIcon":
5344
- return G2({ width: e, height: t, color: l, className: a, onClick: h });
5451
+ return Pt({ width: e, height: t, color: l, className: r, onClick: h });
5345
5452
  case "prevIcon":
5346
- return K2({ width: e, height: t, color: l, className: a, onClick: h });
5453
+ return $t({ width: e, height: t, color: l, className: r, onClick: h });
5347
5454
  case "arrowDown":
5348
- return h2({ width: e, height: t, color: l, className: a, onClick: h });
5455
+ return ct({ width: e, height: t, color: l, className: r, onClick: h });
5349
5456
  case "info":
5350
- return c2({ width: e, height: t, color: l, className: a, onClick: h });
5457
+ return dt({ width: e, height: t, color: l, className: r, onClick: h });
5351
5458
  case "arrowRight":
5352
- return d2({ width: e, height: t, color: l, className: a, onClick: h });
5459
+ return gt({ width: e, height: t, color: l, className: r, onClick: h });
5353
5460
  case "calendar":
5354
- return g2({ width: e, height: t, color: l, className: a, onClick: h });
5461
+ return ut({ width: e, height: t, color: l, className: r, onClick: h });
5355
5462
  case "ok":
5356
- return u2({ width: e, height: t, color: l, className: a, onClick: h });
5463
+ return Ct({ width: e, height: t, color: l, className: r, onClick: h });
5357
5464
  case "cancel":
5358
- return C2({ width: e, height: t, color: l, className: a, onClick: h });
5465
+ return pt({ width: e, height: t, color: l, className: r, onClick: h });
5359
5466
  case "add":
5360
- return p2({ width: e, height: t, color: l, className: a, onClick: h });
5467
+ return ft({ width: e, height: t, color: l, className: r, onClick: h });
5361
5468
  case "list":
5362
- return f2({ width: e, height: t, color: l, className: a, onClick: h });
5469
+ return mt({ width: e, height: t, color: l, className: r, onClick: h });
5363
5470
  case "dragAndDrop":
5364
- return m2({ width: e, height: t, color: l, className: a, onClick: h });
5471
+ return wt({ width: e, height: t, color: l, className: r, onClick: h });
5365
5472
  case "filter":
5366
- return w2({ width: e, height: t, color: l, className: a, onClick: h });
5473
+ return kt({ width: e, height: t, color: l, className: r, onClick: h });
5367
5474
  case "attention":
5368
- return k2({ width: e, height: t, color: l, className: a, onClick: h });
5475
+ return Lt({ width: e, height: t, color: l, className: r, onClick: h });
5369
5476
  case "users":
5370
- return L2({ width: e, height: t, color: l, className: a, onClick: h });
5477
+ return vt({ width: e, height: t, color: l, className: r, onClick: h });
5371
5478
  case "mySkillsMatrix":
5372
- return v2({
5479
+ return Nt({
5373
5480
  width: e,
5374
5481
  height: t,
5375
5482
  color: l,
5376
- className: a,
5483
+ className: r,
5377
5484
  onClick: h
5378
5485
  });
5379
5486
  case "skills":
5380
- return N2({ width: e, height: t, color: l, className: a, onClick: h });
5487
+ return xt({ width: e, height: t, color: l, className: r, onClick: h });
5381
5488
  case "skillsMatrices":
5382
- return x2({
5489
+ return Rt({
5383
5490
  width: e,
5384
5491
  height: t,
5385
5492
  color: l,
5386
- className: a,
5493
+ className: r,
5387
5494
  onClick: h
5388
5495
  });
5389
5496
  case "history":
5390
- return R2({ width: e, height: t, color: l, className: a, onClick: h });
5497
+ return Mt({ width: e, height: t, color: l, className: r, onClick: h });
5391
5498
  case "logOut":
5392
- return M2({ width: e, height: t, color: l, className: a, onClick: h });
5499
+ return bt({ width: e, height: t, color: l, className: r, onClick: h });
5393
5500
  case "settings":
5394
- return b2({ width: e, height: t, color: l, className: a, onClick: h });
5501
+ return yt({ width: e, height: t, color: l, className: r, onClick: h });
5395
5502
  case "trash":
5396
- return y2({ width: e, height: t, color: l, className: a, onClick: h });
5503
+ return Et({ width: e, height: t, color: l, className: r, onClick: h });
5397
5504
  case "settings4":
5398
- return E2({ width: e, height: t, color: l, className: a, onClick: h });
5505
+ return _t({ width: e, height: t, color: l, className: r, onClick: h });
5399
5506
  case "success":
5400
- return _2({ width: e, height: t, color: l, className: a, onClick: h });
5507
+ return Ht({ width: e, height: t, color: l, className: r, onClick: h });
5508
+ case "checkCircle":
5509
+ return It({ width: e, height: t, color: l, className: r, onClick: h });
5401
5510
  case "errorSmall":
5402
- return H2({ width: e, height: t, color: l, className: a, onClick: h });
5511
+ return Ot({ width: e, height: t, color: l, className: r, onClick: h });
5403
5512
  case "infoMedium":
5404
- return I2({ width: e, height: t, color: l, className: a, onClick: h });
5513
+ return St({ width: e, height: t, color: l, className: r, onClick: h });
5405
5514
  case "attentionMedium":
5406
- return O2({
5515
+ return Vt({
5407
5516
  width: e,
5408
5517
  height: t,
5409
5518
  color: l,
5410
- className: a,
5519
+ className: r,
5411
5520
  onClick: h
5412
5521
  });
5413
5522
  case "errorMedium":
5414
- return S2({ width: e, height: t, color: l, className: a, onClick: h });
5523
+ return At({ width: e, height: t, color: l, className: r, onClick: h });
5415
5524
  case "visibilityIcon":
5416
- return V2({
5525
+ return Tt({
5417
5526
  width: e,
5418
5527
  height: t,
5419
5528
  color: l,
5420
- className: a,
5529
+ className: r,
5421
5530
  onClick: h
5422
5531
  });
5423
5532
  case "visibilityOffIcon":
5424
- return A2({
5533
+ return Zt({
5425
5534
  width: e,
5426
5535
  height: t,
5427
5536
  color: l,
5428
- className: a,
5537
+ className: r,
5429
5538
  onClick: h
5430
5539
  });
5431
5540
  case "selectArrowIcon":
5432
- return T2({
5541
+ return Dt({
5433
5542
  width: e,
5434
5543
  height: t,
5435
5544
  color: l,
5436
- className: a,
5545
+ className: r,
5437
5546
  onClick: h
5438
5547
  });
5439
5548
  case "expandArrowIcon":
5440
- return B2({
5549
+ return Bt({
5441
5550
  width: e,
5442
5551
  height: t,
5443
5552
  color: l,
5444
- className: a,
5553
+ className: r,
5445
5554
  onClick: h
5446
5555
  });
5447
5556
  case "expandActiveArrowIcon":
5448
- return j2({
5557
+ return jt({
5449
5558
  width: e,
5450
5559
  height: t,
5451
5560
  color: l,
5452
- className: a,
5561
+ className: r,
5453
5562
  onClick: h
5454
5563
  });
5455
5564
  case "sortUp":
5456
- return D2({ width: e, height: t, color: l, className: a, onClick: h });
5565
+ return Gt({ width: e, height: t, color: l, className: r, onClick: h });
5457
5566
  case "sortDown":
5458
- return Z2({ width: e, height: t, color: l, className: a, onClick: h });
5567
+ return Wt({ width: e, height: t, color: l, className: r, onClick: h });
5459
5568
  case "search":
5460
- return W2({ width: e, height: t, color: l, className: a, onClick: h });
5569
+ return Kt({ width: e, height: t, color: l, className: r, onClick: h });
5461
5570
  case "arrowUpFilled":
5462
- return $2({ width: e, height: t, color: l, className: a, onClick: h });
5571
+ return Yt({ width: e, height: t, color: l, className: r, onClick: h });
5463
5572
  case "arrowDownFilled":
5464
- return P2({ width: e, height: t, color: l, className: a, onClick: h });
5573
+ return Ft({ width: e, height: t, color: l, className: r, onClick: h });
5465
5574
  case "link":
5466
- return F2({ width: e, height: t, color: l, className: a, onClick: h });
5575
+ return Ut({ width: e, height: t, color: l, className: r, onClick: h });
5467
5576
  case "telegram":
5468
- return U2({ width: e, height: t, color: l, className: a, onClick: h });
5577
+ return Jt({ width: e, height: t, color: l, className: r, onClick: h });
5469
5578
  case "mail":
5470
- return J2({ width: e, height: t, color: l, className: a, onClick: h });
5579
+ return qt({ width: e, height: t, color: l, className: r, onClick: h });
5471
5580
  case "github":
5472
- return Y2({ width: e, height: t, color: l, className: a, onClick: h });
5581
+ return zt({ width: e, height: t, color: l, className: r, onClick: h });
5473
5582
  case "linkedIn":
5474
- return z2({ width: e, height: t, color: l, className: a, onClick: h });
5583
+ return Qt({ width: e, height: t, color: l, className: r, onClick: h });
5475
5584
  case "emptyStateIcon":
5476
- return Q2({ width: e, height: t, color: l, className: a, onClick: h });
5585
+ return Xt({ width: e, height: t, color: l, className: r, onClick: h });
5477
5586
  case "filtersIcon":
5478
- return q2({ width: e, height: t, color: l, className: a, onClick: h });
5587
+ return e5({ width: e, height: t, color: l, className: r, onClick: h });
5479
5588
  case "dotMenuIcon":
5480
- return X2({ width: e, height: t, color: l, className: a, onClick: h });
5589
+ return t5({ width: e, height: t, color: l, className: r, onClick: h });
5481
5590
  case "plusCircle":
5482
- return ei({ width: e, height: t, color: l, className: a, onClick: h });
5591
+ return i5({ width: e, height: t, color: l, className: r, onClick: h });
5483
5592
  case "warning":
5484
- return ti({ width: e, height: t, color: l, className: a, onClick: h });
5593
+ return n5({ width: e, height: t, color: l, className: r, onClick: h });
5485
5594
  case "back":
5486
- return ii({ width: e, height: t, color: l, className: a, onClick: h });
5595
+ return s5({ width: e, height: t, color: l, className: r, onClick: h });
5487
5596
  case "bell":
5488
- return ni({ width: e, height: t, color: l, className: a, onClick: h });
5597
+ return o5({ width: e, height: t, color: l, className: r, onClick: h });
5489
5598
  case "contract":
5490
- return oi({ width: e, height: t, color: l, className: a, onClick: h });
5599
+ return a5({ width: e, height: t, color: l, className: r, onClick: h });
5491
5600
  case "trash2":
5492
- return si({ width: e, height: t, color: l, className: a, onClick: h });
5601
+ return r5({ width: e, height: t, color: l, className: r, onClick: h });
5493
5602
  case "resourceManager":
5494
- return ri({ width: e, height: t, color: l, className: a, onClick: h });
5603
+ return l5({ width: e, height: t, color: l, className: r, onClick: h });
5495
5604
  case "settings2":
5496
- return ai({ width: e, height: t, color: l, className: a, onClick: h });
5605
+ return h5({ width: e, height: t, color: l, className: r, onClick: h });
5497
5606
  case "image":
5498
- return li({ width: e, height: t, color: l, className: a, onClick: h });
5607
+ return c5({ width: e, height: t, color: l, className: r, onClick: h });
5499
5608
  case "edit":
5500
- return hi({ width: e, height: t, color: l, className: a, onClick: h });
5609
+ return d5({ width: e, height: t, color: l, className: r, onClick: h });
5501
5610
  case "filledArrowRight":
5502
- return ci({ width: e, height: t, color: l, className: a, onClick: h });
5611
+ return g5({ width: e, height: t, color: l, className: r, onClick: h });
5503
5612
  case "burgerMenu":
5504
- return di({ width: e, height: t, color: l, className: a, onClick: h });
5613
+ return u5({ width: e, height: t, color: l, className: r, onClick: h });
5505
5614
  case "signOut":
5506
- return gi({ width: e, height: t, color: l, className: a, onClick: h });
5615
+ return C5({ width: e, height: t, color: l, className: r, onClick: h });
5507
5616
  case "refresh":
5508
- return ui({ width: e, height: t, color: l, className: a, onClick: h });
5617
+ return p5({ width: e, height: t, color: l, className: r, onClick: h });
5509
5618
  case "projects":
5510
- return Ci({ width: e, height: t, color: l, className: a, onClick: h });
5619
+ return f5({ width: e, height: t, color: l, className: r, onClick: h });
5511
5620
  case "profile":
5512
- return vi({ width: e, height: t, color: l, className: a, onClick: h });
5621
+ return x5({ width: e, height: t, color: l, className: r, onClick: h });
5513
5622
  case "exit":
5514
- return pi({ width: e, height: t, color: l, className: a, onClick: h });
5623
+ return m5({ width: e, height: t, color: l, className: r, onClick: h });
5515
5624
  case "client":
5516
- return fi({ width: e, height: t, color: l, className: a, onClick: h });
5625
+ return w5({ width: e, height: t, color: l, className: r, onClick: h });
5517
5626
  case "calendar2":
5518
- return mi({ width: e, height: t, color: l, className: a, onClick: h });
5627
+ return k5({ width: e, height: t, color: l, className: r, onClick: h });
5519
5628
  case "openPointCircle":
5520
- return wi({ width: e, height: t, color: l, className: a, onClick: h });
5629
+ return L5({ width: e, height: t, color: l, className: r, onClick: h });
5521
5630
  case "community":
5522
- return ki({ width: e, height: t, color: l, className: a, onClick: h });
5631
+ return v5({ width: e, height: t, color: l, className: r, onClick: h });
5523
5632
  case "docs":
5524
- return Li({ width: e, height: t, color: l, className: a, onClick: h });
5633
+ return N5({ width: e, height: t, color: l, className: r, onClick: h });
5525
5634
  default:
5526
5635
  return /* @__PURE__ */ o(Y, { children: "No Icon provided" });
5527
5636
  }
5528
5637
  })() });
5529
5638
  };
5530
5639
  var r1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(r1 || {});
5531
- const xi = t1({
5640
+ const M5 = t1({
5532
5641
  locale: "en",
5533
5642
  theme: "light"
5534
5643
  });
5535
- xi.Provider;
5644
+ M5.Provider;
5536
5645
  const ne = ({
5537
5646
  children: i,
5538
5647
  width: e,
5539
5648
  size: t = "small",
5540
5649
  onClose: n,
5541
5650
  closable: s = !0,
5542
- disabled: r = !1
5651
+ disabled: a = !1
5543
5652
  }) => {
5544
- const c = t === "small" ? 10 : 12.5, a = () => {
5545
- r || n == null || n();
5653
+ const c = t === "small" ? 10 : 12.5, r = () => {
5654
+ a || n == null || n();
5546
5655
  };
5547
5656
  return /* @__PURE__ */ o(
5548
5657
  Le,
5549
5658
  {
5550
- className: `snmt-tag ${t} ${r ? "disabled" : ""}`,
5659
+ className: `snmt-tag ${t} ${a ? "disabled" : ""}`,
5551
5660
  closeIcon: /* @__PURE__ */ o(
5552
- Ni,
5661
+ R5,
5553
5662
  {
5554
5663
  name: "errorSmall",
5555
- color: r ? r1.GREY_DARK_1 : r1.GREY_DARK_2,
5664
+ color: a ? r1.GREY_DARK_1 : r1.GREY_DARK_2,
5556
5665
  width: c,
5557
5666
  height: c,
5558
- onClick: a
5667
+ onClick: r
5559
5668
  }
5560
5669
  ),
5561
5670
  bordered: !1,
5562
5671
  style: { width: e ?? "fit-content" },
5563
5672
  closable: s,
5564
5673
  children: typeof i == "string" ? /* @__PURE__ */ o(
5565
- l2,
5674
+ ht,
5566
5675
  {
5567
5676
  variant: t === "small" ? "body4" : "body2",
5568
- color: r ? r1.GREY_DARK_2 : r1.GREY_DARK_5,
5677
+ color: a ? r1.GREY_DARK_2 : r1.GREY_DARK_5,
5569
5678
  children: i
5570
5679
  }
5571
5680
  ) : i
5572
5681
  }
5573
5682
  );
5574
- }, Ri = ({ children: i, title: e, arrow: t = !0, open: n, placement: s = "top" }) => /* @__PURE__ */ o(
5683
+ }, b5 = ({ children: i, title: e, arrow: t = !0, open: n, placement: s = "top" }) => /* @__PURE__ */ o(
5575
5684
  J1,
5576
5685
  {
5577
5686
  overlayClassName: "snmt-tooltip",
@@ -5581,55 +5690,58 @@ const ne = ({
5581
5690
  placement: s,
5582
5691
  children: i
5583
5692
  }
5584
- ), { Title: Mi, Text: bi } = Q1, yi = {
5693
+ ), { Title: y5, Text: E5 } = Q1, _5 = {
5585
5694
  h1: 1,
5586
5695
  h2: 2,
5587
5696
  h3: 3,
5588
5697
  h4: 4
5589
- }, Ei = w1(
5698
+ }, H5 = w1(
5590
5699
  ({
5591
5700
  align: i = "inherit",
5592
5701
  variant: e = "body1",
5593
5702
  color: t,
5594
5703
  children: n,
5595
5704
  onClick: s,
5596
- collapsed: r,
5705
+ collapsed: a,
5597
5706
  whiteSpace: c = "normal",
5598
5707
  /** This prop allows you to enable tooltip if text size is too big */
5599
- trim: a = !1
5708
+ trim: r = !1
5600
5709
  }, g) => {
5601
5710
  const d = J(null);
5602
5711
  q1(g, () => d.current);
5603
5712
  const [l, h] = O(!1);
5604
5713
  S(() => {
5605
- if (!a) return;
5606
- const m = () => {
5714
+ var m;
5715
+ if (!r) return;
5716
+ const E = () => {
5607
5717
  d.current && h(d.current.scrollWidth > d.current.clientWidth);
5608
- }, E = new ResizeObserver(m);
5609
- return d.current && E.observe(d.current), () => {
5610
- E.disconnect();
5611
5718
  };
5612
- }, [a, l]);
5719
+ E();
5720
+ const k = new ResizeObserver(E);
5721
+ return d.current && k.observe(d.current), (m = d.current) != null && m.parentElement && k.observe(d.current.parentElement), () => {
5722
+ k.disconnect();
5723
+ };
5724
+ }, [r]);
5613
5725
  const u = e === "h1" || e === "h2" || e === "h3" || e === "h4";
5614
5726
  let p = `snmt-typography snmt-typography-${e}`;
5615
- i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), r && (p += " collapsed"), a && (p += " collapsed");
5727
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), a && (p += " collapsed"), r && (p += " collapsed");
5616
5728
  const w = {
5617
5729
  className: p,
5618
- style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
5730
+ style: { color: t, whiteSpace: r ? "nowrap" : c, display: r ? "block" : "" },
5619
5731
  onClick: s,
5620
5732
  ref: d
5621
- }, L = u ? /* @__PURE__ */ o(Mi, { level: yi[e], ...w, children: n }) : /* @__PURE__ */ o(bi, { ...w, children: n });
5622
- return a && l ? /* @__PURE__ */ o(Ri, { placement: "top", title: n, children: L }) : L;
5733
+ }, v = u ? /* @__PURE__ */ o(y5, { level: _5[e], ...w, children: n }) : /* @__PURE__ */ o(E5, { ...w, children: n });
5734
+ return r && l ? /* @__PURE__ */ o(b5, { placement: "top", title: n, children: v }) : v;
5623
5735
  }
5624
- ), _i = ({
5736
+ ), I5 = ({
5625
5737
  children: i,
5626
5738
  content: e,
5627
5739
  isOpen: t,
5628
5740
  setIsOpen: n,
5629
5741
  placement: s = "topRight",
5630
- noPadding: r = !1
5742
+ noPadding: a = !1
5631
5743
  }) => {
5632
- const [c, a] = O(!1);
5744
+ const [c, r] = O(!1);
5633
5745
  return /* @__PURE__ */ o(
5634
5746
  ve,
5635
5747
  {
@@ -5637,16 +5749,16 @@ const ne = ({
5637
5749
  arrow: !1,
5638
5750
  placement: s,
5639
5751
  trigger: "click",
5640
- overlayClassName: `snmt-popover ${r ? "" : "padding"}`,
5752
+ overlayClassName: `snmt-popover ${a ? "" : "padding"}`,
5641
5753
  open: t ?? c,
5642
5754
  onOpenChange: (g) => {
5643
- a(g), n == null || n(g);
5755
+ r(g), n == null || n(g);
5644
5756
  },
5645
5757
  children: /* @__PURE__ */ o("div", { className: "wrapper", children: i })
5646
5758
  }
5647
5759
  );
5648
5760
  };
5649
- var Hi = { exports: {} };
5761
+ var O5 = { exports: {} };
5650
5762
  (function(i, e) {
5651
5763
  (function(t, n) {
5652
5764
  i.exports = n();
@@ -5656,27 +5768,27 @@ var Hi = { exports: {} };
5656
5768
  return "[" + t + (n[(s - 20) % 10] || n[s] || n[0]) + "]";
5657
5769
  } };
5658
5770
  });
5659
- })(Hi);
5660
- const Ii = ({
5771
+ })(O5);
5772
+ const S5 = ({
5661
5773
  values: i,
5662
5774
  onTagClose: e,
5663
5775
  maxWidth: t,
5664
5776
  closable: n = !0,
5665
5777
  disabled: s,
5666
- options: r,
5778
+ options: a,
5667
5779
  extraOptions: c
5668
5780
  }) => {
5669
- const { locale: a } = Q(E1), { t: g } = Ge("common", { lng: a }), [d, l] = O(!1);
5781
+ const { locale: r } = Q(E1), { t: g } = We("common", { lng: r }), [d, l] = O(!1);
5670
5782
  if (S(() => {
5671
5783
  i.length || l(!1);
5672
5784
  }, [i]), !i.length)
5673
5785
  return null;
5674
5786
  const h = (u) => {
5675
5787
  var p, w;
5676
- return ((p = r == null ? void 0 : r.find((m) => m.value === u)) == null ? void 0 : p.label) || ((w = c == null ? void 0 : c.find((m) => m.value === u)) == null ? void 0 : w.label) || u;
5788
+ return ((p = a == null ? void 0 : a.find((m) => m.value === u)) == null ? void 0 : p.label) || ((w = c == null ? void 0 : c.find((m) => m.value === u)) == null ? void 0 : w.label) || u;
5677
5789
  };
5678
5790
  return /* @__PURE__ */ C(
5679
- _i,
5791
+ I5,
5680
5792
  {
5681
5793
  content: (
5682
5794
  // 90: paddings + margins + gaps and so on
@@ -5709,16 +5821,16 @@ const Ii = ({
5709
5821
  backgroundSize: "20% calc(200% + 20px)"
5710
5822
  };
5711
5823
  return /* @__PURE__ */ o("span", { className: "snmt-loader", style: n });
5712
- }, Oi = w1(
5824
+ }, V5 = w1(
5713
5825
  ({
5714
5826
  value: i,
5715
5827
  onChange: e,
5716
5828
  placeholder: t,
5717
5829
  mode: n,
5718
5830
  search: s = !1,
5719
- options: r,
5831
+ options: a,
5720
5832
  width: c,
5721
- disabled: a = !1,
5833
+ disabled: r = !1,
5722
5834
  required: g = !1,
5723
5835
  clearable: d = !1,
5724
5836
  scrollThresholdValue: l = 50,
@@ -5726,98 +5838,98 @@ const Ii = ({
5726
5838
  onDropdownVisibleChange: u,
5727
5839
  onScrollToEnd: p,
5728
5840
  onPopupScroll: w,
5729
- id: L,
5841
+ id: v,
5730
5842
  extraOptions: m,
5731
5843
  dropdownRender: E,
5732
- optionRender: M,
5844
+ optionRender: k,
5733
5845
  isLoading: H,
5734
5846
  readOnly: f,
5735
- error: R
5736
- }, v) => {
5737
- const [N, B] = O(!1), [G, i1] = O(!1), [$, h1] = O(!0), [I, K] = O(i), F = J(null);
5847
+ error: M
5848
+ }, N) => {
5849
+ const [x, Z] = O(!1), [W, i1] = O(!1), [$, h1] = O(!0), [I, K] = O(i), F = J(null);
5738
5850
  S(() => {
5739
5851
  K(i);
5740
5852
  }, [i]);
5741
- const q = (x) => {
5742
- B(x), u && u(x);
5743
- }, c1 = (x, _) => {
5744
- var j;
5745
- return !!((j = _ == null ? void 0 : _.label) != null && j.toString().toLowerCase().includes(x.toLowerCase()));
5853
+ const q = (R) => {
5854
+ Z(R), u && u(R);
5855
+ }, c1 = (R, _) => {
5856
+ var D;
5857
+ return !!((D = _ == null ? void 0 : _.label) != null && D.toString().toLowerCase().includes(R.toLowerCase()));
5746
5858
  }, A = () => {
5747
5859
  i1(!0);
5748
5860
  }, P = () => {
5749
5861
  i1(!1);
5750
- }, T = Z(
5751
- (x) => {
5752
- if (K(x), n) {
5753
- const j = x;
5754
- e == null || e(j);
5862
+ }, T = j(
5863
+ (R) => {
5864
+ if (K(R), n) {
5865
+ const D = R;
5866
+ e == null || e(D);
5755
5867
  return;
5756
5868
  }
5757
- const _ = x;
5869
+ const _ = R;
5758
5870
  e == null || e(_);
5759
5871
  },
5760
5872
  [n, e]
5761
- ), d1 = Z(() => {
5762
- if (!(f || a)) {
5873
+ ), d1 = j(() => {
5874
+ if (!(f || r)) {
5763
5875
  if (n) {
5764
5876
  T([]);
5765
5877
  return;
5766
5878
  }
5767
5879
  T("");
5768
5880
  }
5769
- }, [a, T, n, f]), g1 = Z(
5770
- (x) => {
5771
- const _ = I.filter((j) => j !== x);
5881
+ }, [r, T, n, f]), g1 = j(
5882
+ (R) => {
5883
+ const _ = I.filter((D) => D !== R);
5772
5884
  T(_), K(_);
5773
5885
  },
5774
5886
  [T, I]
5775
- ), _1 = Z(
5776
- (x) => (I == null ? void 0 : I.indexOf(x)) === 0 ? (
5887
+ ), _1 = j(
5888
+ (R) => (I == null ? void 0 : I.indexOf(R)) === 0 ? (
5777
5889
  // if the search input is empty
5778
5890
  // then display the placeholder, else do not display it
5779
5891
  /* @__PURE__ */ o("span", { className: "custom-placeholder", children: $ ? t : "" })
5780
5892
  ) : /* @__PURE__ */ o(Y, {}),
5781
5893
  [$, I, t]
5782
- ), he = (x) => {
5783
- x.preventDefault(), x.stopPropagation();
5784
- }, ce = async (x) => {
5785
- const { target: _ } = x;
5786
- _.scrollTop + _.offsetHeight >= _.scrollHeight - l && (p == null || p(!0)), w && await w(x);
5787
- }, L1 = Z(
5788
- (x) => {
5789
- var _, j;
5790
- return ((_ = r.find((v1) => v1.value === x)) == null ? void 0 : _.label) || ((j = m == null ? void 0 : m.find(
5791
- (v1) => v1.value === x
5792
- )) == null ? void 0 : j.label) || x;
5894
+ ), he = (R) => {
5895
+ R.preventDefault(), R.stopPropagation();
5896
+ }, ce = async (R) => {
5897
+ const { target: _ } = R;
5898
+ _.scrollTop + _.offsetHeight >= _.scrollHeight - l && (p == null || p(!0)), w && await w(R);
5899
+ }, L1 = j(
5900
+ (R) => {
5901
+ var _, D;
5902
+ return ((_ = a.find((v1) => v1.value === R)) == null ? void 0 : _.label) || ((D = m == null ? void 0 : m.find(
5903
+ (v1) => v1.value === R
5904
+ )) == null ? void 0 : D.label) || R;
5793
5905
  },
5794
- [m, r]
5795
- ), de = Z(
5796
- (x) => {
5906
+ [m, a]
5907
+ ), de = j(
5908
+ (R) => {
5797
5909
  var _;
5798
5910
  return /* @__PURE__ */ o(
5799
- Ii,
5911
+ S5,
5800
5912
  {
5801
- values: x,
5913
+ values: R,
5802
5914
  onTagClose: g1,
5803
5915
  maxWidth: ((_ = F.current) == null ? void 0 : _.clientWidth) || 0,
5804
- disabled: a,
5916
+ disabled: r,
5805
5917
  closable: !f,
5806
- options: r,
5918
+ options: a,
5807
5919
  extraOptions: m
5808
5920
  }
5809
5921
  );
5810
5922
  },
5811
- [a, m, g1, r, f]
5812
- ), ge = Z(
5813
- ({ label: x, value: _, mode: j }) => j === "filter" ? _1(_) : /* @__PURE__ */ o("div", { onMouseDown: he, className: "tag-wrapper", children: /* @__PURE__ */ o(ne, { onClose: () => g1(_), disabled: a, children: typeof x == "object" ? x : L1(_) }) }),
5814
- [a, L1, g1, _1]
5923
+ [r, m, g1, a, f]
5924
+ ), ge = j(
5925
+ ({ label: R, value: _, mode: D }) => D === "filter" ? _1(_) : /* @__PURE__ */ o("div", { onMouseDown: he, className: "tag-wrapper", children: /* @__PURE__ */ o(ne, { onClose: () => g1(_), disabled: r, children: typeof R == "object" ? R : L1(_) }) }),
5926
+ [r, L1, g1, _1]
5815
5927
  ), H1 = Array.isArray(I) && I.length > 0 || !!I && typeof I == "string" && I.trim() !== "";
5816
5928
  return /* @__PURE__ */ C("div", { className: "snmt-select-container", children: [
5817
5929
  /* @__PURE__ */ C(
5818
5930
  "div",
5819
5931
  {
5820
- className: `snmt-select-1-15-6 ${G ? "snmt-select-focused" : ""}
5932
+ className: `snmt-select-1-15-6 ${W ? "snmt-select-focused" : ""}
5821
5933
  ${n ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
5822
5934
  ref: F,
5823
5935
  style: { width: c },
@@ -5827,27 +5939,27 @@ const Ii = ({
5827
5939
  {
5828
5940
  className: "snmt-select-blank",
5829
5941
  popupClassName: f ? "dropdown-read-only" : "",
5830
- id: L,
5831
- ref: v,
5942
+ id: v,
5943
+ ref: N,
5832
5944
  showSearch: !!s,
5833
5945
  filterOption: s && c1,
5834
5946
  onDropdownVisibleChange: q,
5835
- disabled: a,
5947
+ disabled: r,
5836
5948
  value: I || void 0,
5837
- labelRender: (x) => {
5838
- const _ = L1(x.value);
5839
- return a ? /* @__PURE__ */ o("span", { style: { color: D.GREY_DARK_1 }, children: _ }) : _;
5949
+ labelRender: (R) => {
5950
+ const _ = L1(R.value);
5951
+ return r ? /* @__PURE__ */ o("span", { style: { color: B.GREY_DARK_1 }, children: _ }) : _;
5840
5952
  },
5841
5953
  mode: n === "filter" ? "multiple" : n,
5842
5954
  onChange: T,
5843
5955
  onFocus: A,
5844
5956
  onBlur: P,
5845
- onSearch: (x) => {
5846
- h1(!x), h && h(x);
5957
+ onSearch: (R) => {
5958
+ h1(!R), h && h(R);
5847
5959
  },
5848
5960
  onSelect: () => h1(!0),
5849
5961
  onDeselect: () => h1(!0),
5850
- tagRender: (x) => ge({ ...x, mode: n }),
5962
+ tagRender: (R) => ge({ ...R, mode: n }),
5851
5963
  maxTagCount: "responsive",
5852
5964
  maxTagPlaceholder: de,
5853
5965
  onPopupScroll: ce,
@@ -5858,13 +5970,13 @@ const Ii = ({
5858
5970
  {
5859
5971
  onClick: d1,
5860
5972
  style: {
5861
- cursor: a ? "not-allowed" : "pointer"
5973
+ cursor: r ? "not-allowed" : "pointer"
5862
5974
  },
5863
5975
  children: /* @__PURE__ */ o(
5864
5976
  n1,
5865
5977
  {
5866
5978
  name: "cancel",
5867
- color: a ? D.GREY_DARK_1 : D.GREY_DARK_5
5979
+ color: r ? B.GREY_DARK_1 : B.GREY_DARK_5
5868
5980
  }
5869
5981
  )
5870
5982
  }
@@ -5873,39 +5985,39 @@ const Ii = ({
5873
5985
  n1,
5874
5986
  {
5875
5987
  name: "selectArrowIcon",
5876
- color: a ? D.GREY_DARK_1 : D.GREY_DARK_5,
5877
- className: N ? "select-arrow-rotated" : "select-arrow",
5878
- onClick: () => B(!N)
5988
+ color: r ? B.GREY_DARK_1 : B.GREY_DARK_5,
5989
+ className: x ? "select-arrow-rotated" : "select-arrow",
5990
+ onClick: () => Z(!x)
5879
5991
  }
5880
5992
  )
5881
5993
  ] }) }),
5882
- removeIcon: /* @__PURE__ */ o(n1, { name: "errorSmall", color: D.GREY_DARK_1 }),
5883
- options: r,
5884
- optionRender: (x) => M ? M(x.data) : /* @__PURE__ */ C(o1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5994
+ removeIcon: /* @__PURE__ */ o(n1, { name: "errorSmall", color: B.GREY_DARK_1 }),
5995
+ options: a,
5996
+ optionRender: (R) => k ? k(R.data) : /* @__PURE__ */ C(o1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5885
5997
  /* @__PURE__ */ C(o1, { alignItems: "center", gap: 12, children: [
5886
5998
  n && /* @__PURE__ */ o(
5887
5999
  Pe,
5888
6000
  {
5889
- checked: !!(I != null && I.includes(x.value))
6001
+ checked: !!(I != null && I.includes(R.value))
5890
6002
  }
5891
6003
  ),
5892
6004
  /* @__PURE__ */ C(o1, { alignItems: "center", gap: 8, children: [
5893
- x.data.image && /* @__PURE__ */ o(Ke, { src: x.data.image, size: 20 }),
5894
- /* @__PURE__ */ o("span", { children: x.label })
6005
+ R.data.image && /* @__PURE__ */ o(Ke, { src: R.data.image, size: 20 }),
6006
+ /* @__PURE__ */ o("span", { children: R.label })
5895
6007
  ] })
5896
6008
  ] }),
5897
- !n && I === x.value && /* @__PURE__ */ o(
6009
+ !n && I === R.value && /* @__PURE__ */ o(
5898
6010
  n1,
5899
6011
  {
5900
6012
  name: "ok",
5901
- color: D.BLUE_PRIMARY,
6013
+ color: B.BLUE_PRIMARY,
5902
6014
  width: 16,
5903
6015
  height: 16
5904
6016
  }
5905
6017
  )
5906
6018
  ] }),
5907
- dropdownRender: (x) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
5908
- /* @__PURE__ */ o("div", { className: "dropdown-menu", children: E ? E(x) : x }),
6019
+ dropdownRender: (R) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
6020
+ /* @__PURE__ */ o("div", { className: "dropdown-menu", children: E ? E(R) : R }),
5909
6021
  H && /* @__PURE__ */ o("div", { className: "loading-overlay", children: /* @__PURE__ */ o(A1, { size: 28 }) })
5910
6022
  ] })
5911
6023
  }
@@ -5914,14 +6026,14 @@ const Ii = ({
5914
6026
  /* @__PURE__ */ o(
5915
6027
  "label",
5916
6028
  {
5917
- className: `${G || H1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${G ? "label-focused" : ""} ${H ? "label-loading" : ""} ${R ? "label-error" : ""}`,
6029
+ className: `${W || H1 ? "label-floating" : ""} ${r ? "label-disabled" : ""} ${W ? "label-focused" : ""} ${H ? "label-loading" : ""} ${M ? "label-error" : ""}`,
5918
6030
  children: g ? `${t}*` : t
5919
6031
  }
5920
6032
  ),
5921
6033
  /* @__PURE__ */ o(
5922
6034
  "fieldset",
5923
6035
  {
5924
- className: `${G ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${H1 ? "fieldset-filled" : ""} ${R ? "fieldset-error" : ""}`,
6036
+ className: `${W ? "fieldset-focused" : ""} ${r ? "fieldset-disabled" : ""} ${H1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}`,
5925
6037
  children: /* @__PURE__ */ o("legend", { children: /* @__PURE__ */ o("span", { children: g ? `${t}*` : t }) })
5926
6038
  }
5927
6039
  )
@@ -5929,35 +6041,43 @@ const Ii = ({
5929
6041
  ]
5930
6042
  }
5931
6043
  ),
5932
- R && /* @__PURE__ */ C(o1, { justifyContent: "flex-start", gap: 6, children: [
5933
- /* @__PURE__ */ o(n1, { name: "attention", color: D.NOTIFICATION_ERROR_DARK }),
5934
- typeof R == "string" ? /* @__PURE__ */ o(Ei, { color: D.NOTIFICATION_ERROR_DARK, variant: "body4", children: R }) : R
6044
+ M && /* @__PURE__ */ C(o1, { justifyContent: "flex-start", gap: 6, children: [
6045
+ /* @__PURE__ */ o(
6046
+ n1,
6047
+ {
6048
+ name: "attention",
6049
+ color: B.NOTIFICATION_ERROR_DARK,
6050
+ height: 16,
6051
+ width: 16
6052
+ }
6053
+ ),
6054
+ typeof M == "string" ? /* @__PURE__ */ o(H5, { color: B.NOTIFICATION_ERROR_DARK, variant: "body4", children: M }) : M
5935
6055
  ] })
5936
6056
  ] });
5937
6057
  }
5938
- ), k = (i) => typeof i == "string", s1 = () => {
6058
+ ), L = (i) => typeof i == "string", s1 = () => {
5939
6059
  let i, e;
5940
6060
  const t = new Promise((n, s) => {
5941
6061
  i = n, e = s;
5942
6062
  });
5943
6063
  return t.resolve = i, t.reject = e, t;
5944
- }, T1 = (i) => i == null ? "" : "" + i, Si = (i, e, t) => {
6064
+ }, T1 = (i) => i == null ? "" : "" + i, A5 = (i, e, t) => {
5945
6065
  i.forEach((n) => {
5946
6066
  e[n] && (t[n] = e[n]);
5947
6067
  });
5948
- }, Vi = /###/g, B1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Vi, ".") : i, j1 = (i) => !i || k(i), a1 = (i, e, t) => {
5949
- const n = k(e) ? e.split(".") : e;
6068
+ }, T5 = /###/g, Z1 = (i) => i && i.indexOf("###") > -1 ? i.replace(T5, ".") : i, D1 = (i) => !i || L(i), a1 = (i, e, t) => {
6069
+ const n = L(e) ? e.split(".") : e;
5950
6070
  let s = 0;
5951
6071
  for (; s < n.length - 1; ) {
5952
- if (j1(i)) return {};
5953
- const r = B1(n[s]);
5954
- !i[r] && t && (i[r] = new t()), Object.prototype.hasOwnProperty.call(i, r) ? i = i[r] : i = {}, ++s;
6072
+ if (D1(i)) return {};
6073
+ const a = Z1(n[s]);
6074
+ !i[a] && t && (i[a] = new t()), Object.prototype.hasOwnProperty.call(i, a) ? i = i[a] : i = {}, ++s;
5955
6075
  }
5956
- return j1(i) ? {} : {
6076
+ return D1(i) ? {} : {
5957
6077
  obj: i,
5958
- k: B1(n[s])
6078
+ k: Z1(n[s])
5959
6079
  };
5960
- }, D1 = (i, e, t) => {
6080
+ }, B1 = (i, e, t) => {
5961
6081
  const {
5962
6082
  obj: n,
5963
6083
  k: s
@@ -5966,16 +6086,16 @@ const Ii = ({
5966
6086
  n[s] = t;
5967
6087
  return;
5968
6088
  }
5969
- let r = e[e.length - 1], c = e.slice(0, e.length - 1), a = a1(i, c, Object);
5970
- for (; a.obj === void 0 && c.length; )
5971
- r = `${c[c.length - 1]}.${r}`, c = c.slice(0, c.length - 1), a = a1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${r}`] < "u" && (a.obj = void 0);
5972
- a.obj[`${a.k}.${r}`] = t;
5973
- }, Ai = (i, e, t, n) => {
6089
+ let a = e[e.length - 1], c = e.slice(0, e.length - 1), r = a1(i, c, Object);
6090
+ for (; r.obj === void 0 && c.length; )
6091
+ a = `${c[c.length - 1]}.${a}`, c = c.slice(0, c.length - 1), r = a1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${a}`] < "u" && (r.obj = void 0);
6092
+ r.obj[`${r.k}.${a}`] = t;
6093
+ }, Z5 = (i, e, t, n) => {
5974
6094
  const {
5975
6095
  obj: s,
5976
- k: r
6096
+ k: a
5977
6097
  } = a1(i, e, Object);
5978
- s[r] = s[r] || [], s[r].push(t);
6098
+ s[a] = s[a] || [], s[a].push(t);
5979
6099
  }, C1 = (i, e) => {
5980
6100
  const {
5981
6101
  obj: t,
@@ -5983,15 +6103,15 @@ const Ii = ({
5983
6103
  } = a1(i, e);
5984
6104
  if (t)
5985
6105
  return t[n];
5986
- }, Ti = (i, e, t) => {
6106
+ }, D5 = (i, e, t) => {
5987
6107
  const n = C1(i, t);
5988
6108
  return n !== void 0 ? n : C1(e, t);
5989
6109
  }, se = (i, e, t) => {
5990
6110
  for (const n in e)
5991
- n !== "__proto__" && n !== "constructor" && (n in i ? k(i[n]) || i[n] instanceof String || k(e[n]) || e[n] instanceof String ? t && (i[n] = e[n]) : se(i[n], e[n], t) : i[n] = e[n]);
6111
+ n !== "__proto__" && n !== "constructor" && (n in i ? L(i[n]) || i[n] instanceof String || L(e[n]) || e[n] instanceof String ? t && (i[n] = e[n]) : se(i[n], e[n], t) : i[n] = e[n]);
5992
6112
  return i;
5993
6113
  }, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5994
- var Bi = {
6114
+ var B5 = {
5995
6115
  "&": "&amp;",
5996
6116
  "<": "&lt;",
5997
6117
  ">": "&gt;",
@@ -5999,8 +6119,8 @@ var Bi = {
5999
6119
  "'": "&#39;",
6000
6120
  "/": "&#x2F;"
6001
6121
  };
6002
- const ji = (i) => k(i) ? i.replace(/[&<>"'\/]/g, (e) => Bi[e]) : i;
6003
- class Di {
6122
+ const j5 = (i) => L(i) ? i.replace(/[&<>"'\/]/g, (e) => B5[e]) : i;
6123
+ class G5 {
6004
6124
  constructor(e) {
6005
6125
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
6006
6126
  }
@@ -6012,38 +6132,38 @@ class Di {
6012
6132
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
6013
6133
  }
6014
6134
  }
6015
- const Zi = [" ", ",", "?", "!", ";"], Wi = new Di(20), Gi = (i, e, t) => {
6135
+ const W5 = [" ", ",", "?", "!", ";"], K5 = new G5(20), P5 = (i, e, t) => {
6016
6136
  e = e || "", t = t || "";
6017
- const n = Zi.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
6137
+ const n = W5.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
6018
6138
  if (n.length === 0) return !0;
6019
- const s = Wi.getRegExp(`(${n.map((c) => c === "?" ? "\\?" : c).join("|")})`);
6020
- let r = !s.test(i);
6021
- if (!r) {
6139
+ const s = K5.getRegExp(`(${n.map((c) => c === "?" ? "\\?" : c).join("|")})`);
6140
+ let a = !s.test(i);
6141
+ if (!a) {
6022
6142
  const c = i.indexOf(t);
6023
- c > 0 && !s.test(i.substring(0, c)) && (r = !0);
6143
+ c > 0 && !s.test(i.substring(0, c)) && (a = !0);
6024
6144
  }
6025
- return r;
6145
+ return a;
6026
6146
  }, M1 = function(i, e) {
6027
6147
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
6028
6148
  if (!i) return;
6029
6149
  if (i[e]) return i[e];
6030
6150
  const n = e.split(t);
6031
6151
  let s = i;
6032
- for (let r = 0; r < n.length; ) {
6152
+ for (let a = 0; a < n.length; ) {
6033
6153
  if (!s || typeof s != "object")
6034
6154
  return;
6035
- let c, a = "";
6036
- for (let g = r; g < n.length; ++g)
6037
- if (g !== r && (a += t), a += n[g], c = s[a], c !== void 0) {
6155
+ let c, r = "";
6156
+ for (let g = a; g < n.length; ++g)
6157
+ if (g !== a && (r += t), r += n[g], c = s[r], c !== void 0) {
6038
6158
  if (["string", "number", "boolean"].indexOf(typeof c) > -1 && g < n.length - 1)
6039
6159
  continue;
6040
- r += g - r + 1;
6160
+ a += g - a + 1;
6041
6161
  break;
6042
6162
  }
6043
6163
  s = c;
6044
6164
  }
6045
6165
  return s;
6046
- }, p1 = (i) => i && i.replace("_", "-"), Ki = {
6166
+ }, p1 = (i) => i && i.replace("_", "-"), $5 = {
6047
6167
  type: "logger",
6048
6168
  log(i) {
6049
6169
  this.output("log", i);
@@ -6065,7 +6185,7 @@ class f1 {
6065
6185
  }
6066
6186
  init(e) {
6067
6187
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6068
- this.prefix = t.prefix || "i18next:", this.logger = e || Ki, this.options = t, this.debug = t.debug;
6188
+ this.prefix = t.prefix || "i18next:", this.logger = e || $5, this.options = t, this.debug = t.debug;
6069
6189
  }
6070
6190
  log() {
6071
6191
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -6088,7 +6208,7 @@ class f1 {
6088
6208
  return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
6089
6209
  }
6090
6210
  forward(e, t, n, s) {
6091
- return s && !this.debug ? null : (k(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
6211
+ return s && !this.debug ? null : (L(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
6092
6212
  }
6093
6213
  create(e) {
6094
6214
  return new f1(this.logger, {
@@ -6100,7 +6220,7 @@ class f1 {
6100
6220
  return e = e || this.options, e.prefix = e.prefix || this.prefix, new f1(this.logger, e);
6101
6221
  }
6102
6222
  }
6103
- var W = new f1();
6223
+ var G = new f1();
6104
6224
  class k1 {
6105
6225
  constructor() {
6106
6226
  this.observers = {};
@@ -6125,17 +6245,17 @@ class k1 {
6125
6245
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), s = 1; s < t; s++)
6126
6246
  n[s - 1] = arguments[s];
6127
6247
  this.observers[e] && Array.from(this.observers[e].entries()).forEach((c) => {
6128
- let [a, g] = c;
6248
+ let [r, g] = c;
6129
6249
  for (let d = 0; d < g; d++)
6130
- a(...n);
6250
+ r(...n);
6131
6251
  }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((c) => {
6132
- let [a, g] = c;
6252
+ let [r, g] = c;
6133
6253
  for (let d = 0; d < g; d++)
6134
- a.apply(a, [e, ...n]);
6254
+ r.apply(r, [e, ...n]);
6135
6255
  });
6136
6256
  }
6137
6257
  }
6138
- class Z1 extends k1 {
6258
+ class j1 extends k1 {
6139
6259
  constructor(e) {
6140
6260
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
6141
6261
  ns: ["translation"],
@@ -6152,41 +6272,41 @@ class Z1 extends k1 {
6152
6272
  }
6153
6273
  getResource(e, t, n) {
6154
6274
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6155
- const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
6156
- let a;
6157
- e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], n && (Array.isArray(n) ? a.push(...n) : k(n) && r ? a.push(...n.split(r)) : a.push(n)));
6158
- const g = C1(this.data, a);
6159
- return !g && !t && !n && e.indexOf(".") > -1 && (e = a[0], t = a[1], n = a.slice(2).join(".")), g || !c || !k(n) ? g : M1(this.data && this.data[e] && this.data[e][t], n, r);
6275
+ const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
6276
+ let r;
6277
+ e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], n && (Array.isArray(n) ? r.push(...n) : L(n) && a ? r.push(...n.split(a)) : r.push(n)));
6278
+ const g = C1(this.data, r);
6279
+ return !g && !t && !n && e.indexOf(".") > -1 && (e = r[0], t = r[1], n = r.slice(2).join(".")), g || !c || !L(n) ? g : M1(this.data && this.data[e] && this.data[e][t], n, a);
6160
6280
  }
6161
6281
  addResource(e, t, n, s) {
6162
- let r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
6282
+ let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
6163
6283
  silent: !1
6164
6284
  };
6165
- const c = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
6166
- let a = [e, t];
6167
- n && (a = a.concat(c ? n.split(c) : n)), e.indexOf(".") > -1 && (a = e.split("."), s = t, t = a[1]), this.addNamespaces(t), D1(this.data, a, s), r.silent || this.emit("added", e, t, n, s);
6285
+ const c = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator;
6286
+ let r = [e, t];
6287
+ n && (r = r.concat(c ? n.split(c) : n)), e.indexOf(".") > -1 && (r = e.split("."), s = t, t = r[1]), this.addNamespaces(t), B1(this.data, r, s), a.silent || this.emit("added", e, t, n, s);
6168
6288
  }
6169
6289
  addResources(e, t, n) {
6170
6290
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
6171
6291
  silent: !1
6172
6292
  };
6173
- for (const r in n)
6174
- (k(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], {
6293
+ for (const a in n)
6294
+ (L(n[a]) || Array.isArray(n[a])) && this.addResource(e, t, a, n[a], {
6175
6295
  silent: !0
6176
6296
  });
6177
6297
  s.silent || this.emit("added", e, t, n);
6178
6298
  }
6179
- addResourceBundle(e, t, n, s, r) {
6299
+ addResourceBundle(e, t, n, s, a) {
6180
6300
  let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
6181
6301
  silent: !1,
6182
6302
  skipCopy: !1
6183
- }, a = [e, t];
6184
- e.indexOf(".") > -1 && (a = e.split("."), s = n, n = t, t = a[1]), this.addNamespaces(t);
6185
- let g = C1(this.data, a) || {};
6186
- c.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? se(g, n, r) : g = {
6303
+ }, r = [e, t];
6304
+ e.indexOf(".") > -1 && (r = e.split("."), s = n, n = t, t = r[1]), this.addNamespaces(t);
6305
+ let g = C1(this.data, r) || {};
6306
+ c.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? se(g, n, a) : g = {
6187
6307
  ...g,
6188
6308
  ...n
6189
- }, D1(this.data, a, g), c.silent || this.emit("added", e, t, n);
6309
+ }, B1(this.data, r, g), c.silent || this.emit("added", e, t, n);
6190
6310
  }
6191
6311
  removeResourceBundle(e, t) {
6192
6312
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -6216,16 +6336,16 @@ var oe = {
6216
6336
  this.processors[i.name] = i;
6217
6337
  },
6218
6338
  handle(i, e, t, n, s) {
6219
- return i.forEach((r) => {
6220
- this.processors[r] && (e = this.processors[r].process(e, t, n, s));
6339
+ return i.forEach((a) => {
6340
+ this.processors[a] && (e = this.processors[a].process(e, t, n, s));
6221
6341
  }), e;
6222
6342
  }
6223
6343
  };
6224
- const W1 = {};
6344
+ const G1 = {};
6225
6345
  class m1 extends k1 {
6226
6346
  constructor(e) {
6227
6347
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6228
- super(), Si(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = W.create("translator");
6348
+ super(), A5(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = G.create("translator");
6229
6349
  }
6230
6350
  changeLanguage(e) {
6231
6351
  e && (this.language = e);
@@ -6243,21 +6363,21 @@ class m1 extends k1 {
6243
6363
  let n = t.nsSeparator !== void 0 ? t.nsSeparator : this.options.nsSeparator;
6244
6364
  n === void 0 && (n = ":");
6245
6365
  const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
6246
- let r = t.ns || this.options.defaultNS || [];
6247
- const c = n && e.indexOf(n) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Gi(e, n, s);
6248
- if (c && !a) {
6366
+ let a = t.ns || this.options.defaultNS || [];
6367
+ const c = n && e.indexOf(n) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !P5(e, n, s);
6368
+ if (c && !r) {
6249
6369
  const g = e.match(this.interpolator.nestingRegexp);
6250
6370
  if (g && g.length > 0)
6251
6371
  return {
6252
6372
  key: e,
6253
- namespaces: k(r) ? [r] : r
6373
+ namespaces: L(a) ? [a] : a
6254
6374
  };
6255
6375
  const d = e.split(n);
6256
- (n !== s || n === s && this.options.ns.indexOf(d[0]) > -1) && (r = d.shift()), e = d.join(s);
6376
+ (n !== s || n === s && this.options.ns.indexOf(d[0]) > -1) && (a = d.shift()), e = d.join(s);
6257
6377
  }
6258
6378
  return {
6259
6379
  key: e,
6260
- namespaces: k(r) ? [r] : r
6380
+ namespaces: L(a) ? [a] : a
6261
6381
  };
6262
6382
  }
6263
6383
  translate(e, t, n) {
@@ -6265,10 +6385,10 @@ class m1 extends k1 {
6265
6385
  ...t
6266
6386
  }), t || (t = {}), e == null) return "";
6267
6387
  Array.isArray(e) || (e = [String(e)]);
6268
- const s = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, r = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
6388
+ const s = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
6269
6389
  key: c,
6270
- namespaces: a
6271
- } = this.extractFromKey(e[e.length - 1], t), g = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
6390
+ namespaces: r
6391
+ } = this.extractFromKey(e[e.length - 1], t), g = r[r.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
6272
6392
  if (d && d.toLowerCase() === "cimode") {
6273
6393
  if (l) {
6274
6394
  const f = t.nsSeparator || this.options.nsSeparator;
@@ -6292,40 +6412,40 @@ class m1 extends k1 {
6292
6412
  }
6293
6413
  const h = this.resolve(e, t);
6294
6414
  let u = h && h.res;
6295
- const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, L = Object.prototype.toString.apply(u), m = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, M = !this.i18nFormat || this.i18nFormat.handleAsObject, H = !k(u) && typeof u != "boolean" && typeof u != "number";
6296
- if (M && u && H && m.indexOf(L) < 0 && !(k(E) && Array.isArray(u))) {
6415
+ const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(u), m = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, k = !this.i18nFormat || this.i18nFormat.handleAsObject, H = !L(u) && typeof u != "boolean" && typeof u != "number";
6416
+ if (k && u && H && m.indexOf(v) < 0 && !(L(E) && Array.isArray(u))) {
6297
6417
  if (!t.returnObjects && !this.options.returnObjects) {
6298
6418
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
6299
6419
  const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
6300
6420
  ...t,
6301
- ns: a
6421
+ ns: r
6302
6422
  }) : `key '${c} (${this.language})' returned an object instead of string.`;
6303
6423
  return s ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
6304
6424
  }
6305
- if (r) {
6306
- const f = Array.isArray(u), R = f ? [] : {}, v = f ? w : p;
6307
- for (const N in u)
6308
- if (Object.prototype.hasOwnProperty.call(u, N)) {
6309
- const B = `${v}${r}${N}`;
6310
- R[N] = this.translate(B, {
6425
+ if (a) {
6426
+ const f = Array.isArray(u), M = f ? [] : {}, N = f ? w : p;
6427
+ for (const x in u)
6428
+ if (Object.prototype.hasOwnProperty.call(u, x)) {
6429
+ const Z = `${N}${a}${x}`;
6430
+ M[x] = this.translate(Z, {
6311
6431
  ...t,
6312
6432
  joinArrays: !1,
6313
- ns: a
6314
- }), R[N] === B && (R[N] = u[N]);
6433
+ ns: r
6434
+ }), M[x] === Z && (M[x] = u[x]);
6315
6435
  }
6316
- u = R;
6436
+ u = M;
6317
6437
  }
6318
- } else if (M && k(E) && Array.isArray(u))
6438
+ } else if (k && L(E) && Array.isArray(u))
6319
6439
  u = u.join(E), u && (u = this.extendTranslation(u, e, t, n));
6320
6440
  else {
6321
- let f = !1, R = !1;
6322
- const v = t.count !== void 0 && !k(t.count), N = m1.hasDefaultValue(t), B = v ? this.pluralResolver.getSuffix(d, t.count, t) : "", G = t.ordinal && v ? this.pluralResolver.getSuffix(d, t.count, {
6441
+ let f = !1, M = !1;
6442
+ const N = t.count !== void 0 && !L(t.count), x = m1.hasDefaultValue(t), Z = N ? this.pluralResolver.getSuffix(d, t.count, t) : "", W = t.ordinal && N ? this.pluralResolver.getSuffix(d, t.count, {
6323
6443
  ordinal: !1
6324
- }) : "", i1 = v && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${B}`] || t[`defaultValue${G}`] || t.defaultValue;
6325
- !this.isValidLookup(u) && N && (f = !0, u = $), this.isValidLookup(u) || (R = !0, u = c);
6326
- const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : u, K = N && $ !== u && this.options.updateMissing;
6327
- if (R || f || K) {
6328
- if (this.logger.log(K ? "updateKey" : "missingKey", d, g, c, K ? $ : u), r) {
6444
+ }) : "", i1 = N && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${Z}`] || t[`defaultValue${W}`] || t.defaultValue;
6445
+ !this.isValidLookup(u) && x && (f = !0, u = $), this.isValidLookup(u) || (M = !0, u = c);
6446
+ const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : u, K = x && $ !== u && this.options.updateMissing;
6447
+ if (M || f || K) {
6448
+ if (this.logger.log(K ? "updateKey" : "missingKey", d, g, c, K ? $ : u), a) {
6329
6449
  const A = this.resolve(c, {
6330
6450
  ...t,
6331
6451
  keySeparator: !1
@@ -6339,21 +6459,21 @@ class m1 extends k1 {
6339
6459
  F.push(q[A]);
6340
6460
  else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
6341
6461
  const c1 = (A, P, T) => {
6342
- const d1 = N && T !== u ? T : I;
6462
+ const d1 = x && T !== u ? T : I;
6343
6463
  this.options.missingKeyHandler ? this.options.missingKeyHandler(A, g, P, d1, K, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, g, P, d1, K, t), this.emit("missingKey", A, g, P, u);
6344
6464
  };
6345
- this.options.saveMissing && (this.options.saveMissingPlurals && v ? F.forEach((A) => {
6465
+ this.options.saveMissing && (this.options.saveMissingPlurals && N ? F.forEach((A) => {
6346
6466
  const P = this.pluralResolver.getSuffixes(A, t);
6347
6467
  i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((T) => {
6348
6468
  c1([A], c + T, t[`defaultValue${T}`] || $);
6349
6469
  });
6350
6470
  }) : c1(F, c, $));
6351
6471
  }
6352
- u = this.extendTranslation(u, e, t, h, n), R && u === c && this.options.appendNamespaceToMissingKey && (u = `${g}:${c}`), (R || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${g}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
6472
+ u = this.extendTranslation(u, e, t, h, n), M && u === c && this.options.appendNamespaceToMissingKey && (u = `${g}:${c}`), (M || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${g}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
6353
6473
  }
6354
6474
  return s ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
6355
6475
  }
6356
- extendTranslation(e, t, n, s, r) {
6476
+ extendTranslation(e, t, n, s, a) {
6357
6477
  var c = this;
6358
6478
  if (this.i18nFormat && this.i18nFormat.parse)
6359
6479
  e = this.i18nFormat.parse(e, {
@@ -6370,13 +6490,13 @@ class m1 extends k1 {
6370
6490
  ...n.interpolation
6371
6491
  }
6372
6492
  });
6373
- const d = k(e) && (n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
6493
+ const d = L(e) && (n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
6374
6494
  let l;
6375
6495
  if (d) {
6376
6496
  const u = e.match(this.interpolator.nestingRegexp);
6377
6497
  l = u && u.length;
6378
6498
  }
6379
- let h = n.replace && !k(n.replace) ? n.replace : n;
6499
+ let h = n.replace && !L(n.replace) ? n.replace : n;
6380
6500
  if (this.options.interpolation.defaultVariables && (h = {
6381
6501
  ...this.options.interpolation.defaultVariables,
6382
6502
  ...h
@@ -6387,10 +6507,10 @@ class m1 extends k1 {
6387
6507
  !n.lng && this.options.compatibilityAPI !== "v1" && s && s.res && (n.lng = this.language || s.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, function() {
6388
6508
  for (var u = arguments.length, p = new Array(u), w = 0; w < u; w++)
6389
6509
  p[w] = arguments[w];
6390
- return r && r[0] === p[0] && !n.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
6510
+ return a && a[0] === p[0] && !n.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
6391
6511
  }, n)), n.interpolation && this.interpolator.reset();
6392
6512
  }
6393
- const a = n.postProcess || this.options.postProcess, g = k(a) ? [a] : a;
6513
+ const r = n.postProcess || this.options.postProcess, g = L(r) ? [r] : r;
6394
6514
  return e != null && g && g.length && n.applyPostProcessor !== !1 && (e = oe.handle(g, e, t, this.options && this.options.postProcessPassResolved ? {
6395
6515
  i18nResolved: {
6396
6516
  ...s,
@@ -6400,41 +6520,41 @@ class m1 extends k1 {
6400
6520
  } : n, this)), e;
6401
6521
  }
6402
6522
  resolve(e) {
6403
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n, s, r, c, a;
6404
- return k(e) && (e = [e]), e.forEach((g) => {
6523
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n, s, a, c, r;
6524
+ return L(e) && (e = [e]), e.forEach((g) => {
6405
6525
  if (this.isValidLookup(n)) return;
6406
6526
  const d = this.extractFromKey(g, t), l = d.key;
6407
6527
  s = l;
6408
6528
  let h = d.namespaces;
6409
6529
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
6410
- const u = t.count !== void 0 && !k(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (k(t.context) || typeof t.context == "number") && t.context !== "", L = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6530
+ const u = t.count !== void 0 && !L(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (L(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6411
6531
  h.forEach((m) => {
6412
- this.isValidLookup(n) || (a = m, !W1[`${L[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (W1[`${L[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${L.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!!!")), L.forEach((E) => {
6532
+ this.isValidLookup(n) || (r = m, !G1[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (G1[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${v.join(", ")}" won't get resolved as namespace "${r}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((E) => {
6413
6533
  if (this.isValidLookup(n)) return;
6414
6534
  c = E;
6415
- const M = [l];
6535
+ const k = [l];
6416
6536
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
6417
- this.i18nFormat.addLookupKeys(M, l, E, m, t);
6537
+ this.i18nFormat.addLookupKeys(k, l, E, m, t);
6418
6538
  else {
6419
6539
  let f;
6420
6540
  u && (f = this.pluralResolver.getSuffix(E, t.count, t));
6421
- const R = `${this.options.pluralSeparator}zero`, v = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
6422
- if (u && (M.push(l + f), t.ordinal && f.indexOf(v) === 0 && M.push(l + f.replace(v, this.options.pluralSeparator)), p && M.push(l + R)), w) {
6423
- const N = `${l}${this.options.contextSeparator}${t.context}`;
6424
- M.push(N), u && (M.push(N + f), t.ordinal && f.indexOf(v) === 0 && M.push(N + f.replace(v, this.options.pluralSeparator)), p && M.push(N + R));
6541
+ const M = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
6542
+ if (u && (k.push(l + f), t.ordinal && f.indexOf(N) === 0 && k.push(l + f.replace(N, this.options.pluralSeparator)), p && k.push(l + M)), w) {
6543
+ const x = `${l}${this.options.contextSeparator}${t.context}`;
6544
+ k.push(x), u && (k.push(x + f), t.ordinal && f.indexOf(N) === 0 && k.push(x + f.replace(N, this.options.pluralSeparator)), p && k.push(x + M));
6425
6545
  }
6426
6546
  }
6427
6547
  let H;
6428
- for (; H = M.pop(); )
6429
- this.isValidLookup(n) || (r = H, n = this.getResource(E, m, H, t));
6548
+ for (; H = k.pop(); )
6549
+ this.isValidLookup(n) || (a = H, n = this.getResource(E, m, H, t));
6430
6550
  }));
6431
6551
  });
6432
6552
  }), {
6433
6553
  res: n,
6434
6554
  usedKey: s,
6435
- exactUsedKey: r,
6555
+ exactUsedKey: a,
6436
6556
  usedLng: c,
6437
- usedNS: a
6557
+ usedNS: r
6438
6558
  };
6439
6559
  }
6440
6560
  isValidLookup(e) {
@@ -6446,7 +6566,7 @@ class m1 extends k1 {
6446
6566
  }
6447
6567
  getUsedParamsDetails() {
6448
6568
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6449
- const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], n = e.replace && !k(e.replace);
6569
+ const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], n = e.replace && !L(e.replace);
6450
6570
  let s = n ? e.replace : e;
6451
6571
  if (n && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
6452
6572
  ...this.options.interpolation.defaultVariables,
@@ -6455,8 +6575,8 @@ class m1 extends k1 {
6455
6575
  s = {
6456
6576
  ...s
6457
6577
  };
6458
- for (const r of t)
6459
- delete s[r];
6578
+ for (const a of t)
6579
+ delete s[a];
6460
6580
  }
6461
6581
  return s;
6462
6582
  }
@@ -6469,9 +6589,9 @@ class m1 extends k1 {
6469
6589
  }
6470
6590
  }
6471
6591
  const N1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
6472
- class G1 {
6592
+ class W1 {
6473
6593
  constructor(e) {
6474
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = W.create("languageUtils");
6594
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = G.create("languageUtils");
6475
6595
  }
6476
6596
  getScriptPartFromCode(e) {
6477
6597
  if (e = p1(e), !e || e.indexOf("-") < 0) return null;
@@ -6484,7 +6604,7 @@ class G1 {
6484
6604
  return this.formatLanguageCode(t[0]);
6485
6605
  }
6486
6606
  formatLanguageCode(e) {
6487
- if (k(e) && e.indexOf("-") > -1) {
6607
+ if (L(e) && e.indexOf("-") > -1) {
6488
6608
  if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
6489
6609
  try {
6490
6610
  let s = Intl.getCanonicalLocales(e)[0];
@@ -6511,30 +6631,30 @@ class G1 {
6511
6631
  if (t) return;
6512
6632
  const s = this.getLanguagePartFromCode(n);
6513
6633
  if (this.isSupportedCode(s)) return t = s;
6514
- t = this.options.supportedLngs.find((r) => {
6515
- if (r === s) return r;
6516
- if (!(r.indexOf("-") < 0 && s.indexOf("-") < 0) && (r.indexOf("-") > 0 && s.indexOf("-") < 0 && r.substring(0, r.indexOf("-")) === s || r.indexOf(s) === 0 && s.length > 1))
6517
- return r;
6634
+ t = this.options.supportedLngs.find((a) => {
6635
+ if (a === s) return a;
6636
+ if (!(a.indexOf("-") < 0 && s.indexOf("-") < 0) && (a.indexOf("-") > 0 && s.indexOf("-") < 0 && a.substring(0, a.indexOf("-")) === s || a.indexOf(s) === 0 && s.length > 1))
6637
+ return a;
6518
6638
  });
6519
6639
  }), t || (t = this.getFallbackCodes(this.options.fallbackLng)[0]), t;
6520
6640
  }
6521
6641
  getFallbackCodes(e, t) {
6522
6642
  if (!e) return [];
6523
- if (typeof e == "function" && (e = e(t)), k(e) && (e = [e]), Array.isArray(e)) return e;
6643
+ if (typeof e == "function" && (e = e(t)), L(e) && (e = [e]), Array.isArray(e)) return e;
6524
6644
  if (!t) return e.default || [];
6525
6645
  let n = e[t];
6526
6646
  return n || (n = e[this.getScriptPartFromCode(t)]), n || (n = e[this.formatLanguageCode(t)]), n || (n = e[this.getLanguagePartFromCode(t)]), n || (n = e.default), n || [];
6527
6647
  }
6528
6648
  toResolveHierarchy(e, t) {
6529
- const n = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], r = (c) => {
6649
+ const n = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], a = (c) => {
6530
6650
  c && (this.isSupportedCode(c) ? s.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
6531
6651
  };
6532
- return k(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && r(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && r(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && r(this.getLanguagePartFromCode(e))) : k(e) && r(this.formatLanguageCode(e)), n.forEach((c) => {
6533
- s.indexOf(c) < 0 && r(this.formatLanguageCode(c));
6652
+ return L(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(e))) : L(e) && a(this.formatLanguageCode(e)), n.forEach((c) => {
6653
+ s.indexOf(c) < 0 && a(this.formatLanguageCode(c));
6534
6654
  }), s;
6535
6655
  }
6536
6656
  }
6537
- let Pi = [{
6657
+ let F5 = [{
6538
6658
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
6539
6659
  nr: [1, 2],
6540
6660
  fc: 1
@@ -6626,7 +6746,7 @@ let Pi = [{
6626
6746
  lngs: ["he", "iw"],
6627
6747
  nr: [1, 2, 20, 21],
6628
6748
  fc: 22
6629
- }], $i = {
6749
+ }], Y5 = {
6630
6750
  1: (i) => +(i > 1),
6631
6751
  2: (i) => +(i != 1),
6632
6752
  3: (i) => 0,
@@ -6650,28 +6770,28 @@ let Pi = [{
6650
6770
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
6651
6771
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
6652
6772
  };
6653
- const Fi = ["v1", "v2", "v3"], Yi = ["v4"], K1 = {
6773
+ const U5 = ["v1", "v2", "v3"], z5 = ["v4"], K1 = {
6654
6774
  zero: 0,
6655
6775
  one: 1,
6656
6776
  two: 2,
6657
6777
  few: 3,
6658
6778
  many: 4,
6659
6779
  other: 5
6660
- }, Ui = () => {
6780
+ }, J5 = () => {
6661
6781
  const i = {};
6662
- return Pi.forEach((e) => {
6782
+ return F5.forEach((e) => {
6663
6783
  e.lngs.forEach((t) => {
6664
6784
  i[t] = {
6665
6785
  numbers: e.nr,
6666
- plurals: $i[e.fc]
6786
+ plurals: Y5[e.fc]
6667
6787
  };
6668
6788
  });
6669
6789
  }), i;
6670
6790
  };
6671
- class zi {
6791
+ class Q5 {
6672
6792
  constructor(e) {
6673
6793
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6674
- this.languageUtils = e, this.options = t, this.logger = W.create("pluralResolver"), (!this.options.compatibilityJSON || Yi.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 = Ui(), this.pluralRulesCache = {};
6794
+ this.languageUtils = e, this.options = t, this.logger = G.create("pluralResolver"), (!this.options.compatibilityJSON || z5.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 = J5(), this.pluralRulesCache = {};
6675
6795
  }
6676
6796
  addRule(e, t) {
6677
6797
  this.rules[e] = t;
@@ -6682,12 +6802,12 @@ class zi {
6682
6802
  getRule(e) {
6683
6803
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6684
6804
  if (this.shouldUseIntlApi()) {
6685
- const n = p1(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", r = JSON.stringify({
6805
+ const n = p1(e === "dev" ? "en" : e), s = t.ordinal ? "ordinal" : "cardinal", a = JSON.stringify({
6686
6806
  cleanedCode: n,
6687
6807
  type: s
6688
6808
  });
6689
- if (r in this.pluralRulesCache)
6690
- return this.pluralRulesCache[r];
6809
+ if (a in this.pluralRulesCache)
6810
+ return this.pluralRulesCache[a];
6691
6811
  let c;
6692
6812
  try {
6693
6813
  c = new Intl.PluralRules(n, {
@@ -6698,7 +6818,7 @@ class zi {
6698
6818
  const g = this.languageUtils.getLanguagePartFromCode(e);
6699
6819
  c = this.getRule(g, t);
6700
6820
  }
6701
- return this.pluralRulesCache[r] = c, c;
6821
+ return this.pluralRulesCache[a] = c, c;
6702
6822
  }
6703
6823
  return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
6704
6824
  }
@@ -6714,7 +6834,7 @@ class zi {
6714
6834
  getSuffixes(e) {
6715
6835
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6716
6836
  const n = this.getRule(e, t);
6717
- return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((s, r) => K1[s] - K1[r]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : n.numbers.map((s) => this.getSuffix(e, s, t)) : [];
6837
+ return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((s, a) => K1[s] - K1[a]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : n.numbers.map((s) => this.getSuffix(e, s, t)) : [];
6718
6838
  }
6719
6839
  getSuffix(e, t) {
6720
6840
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -6725,21 +6845,21 @@ class zi {
6725
6845
  const n = e.noAbs ? e.plurals(t) : e.plurals(Math.abs(t));
6726
6846
  let s = e.numbers[n];
6727
6847
  this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 && (s === 2 ? s = "plural" : s === 1 && (s = ""));
6728
- const r = () => this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
6729
- return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : r() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? r() : this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
6848
+ const a = () => this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
6849
+ return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : a() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? a() : this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
6730
6850
  }
6731
6851
  shouldUseIntlApi() {
6732
- return !Fi.includes(this.options.compatibilityJSON);
6852
+ return !U5.includes(this.options.compatibilityJSON);
6733
6853
  }
6734
6854
  }
6735
6855
  const P1 = function(i, e, t) {
6736
- let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, r = Ti(i, e, t);
6737
- return !r && s && k(t) && (r = M1(i, t, n), r === void 0 && (r = M1(e, t, n))), r;
6856
+ let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = D5(i, e, t);
6857
+ return !a && s && L(t) && (a = M1(i, t, n), a === void 0 && (a = M1(e, t, n))), a;
6738
6858
  }, x1 = (i) => i.replace(/\$/g, "$$$$");
6739
- class Ji {
6859
+ class q5 {
6740
6860
  constructor() {
6741
6861
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6742
- this.logger = W.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
6862
+ this.logger = G.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
6743
6863
  }
6744
6864
  init() {
6745
6865
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -6750,9 +6870,9 @@ class Ji {
6750
6870
  escape: t,
6751
6871
  escapeValue: n,
6752
6872
  useRawValueToEscape: s,
6753
- prefix: r,
6873
+ prefix: a,
6754
6874
  prefixEscaped: c,
6755
- suffix: a,
6875
+ suffix: r,
6756
6876
  suffixEscaped: g,
6757
6877
  formatSeparator: d,
6758
6878
  unescapeSuffix: l,
@@ -6760,12 +6880,12 @@ class Ji {
6760
6880
  nestingPrefix: u,
6761
6881
  nestingPrefixEscaped: p,
6762
6882
  nestingSuffix: w,
6763
- nestingSuffixEscaped: L,
6883
+ nestingSuffixEscaped: v,
6764
6884
  nestingOptionsSeparator: m,
6765
6885
  maxReplaces: E,
6766
- alwaysFormat: M
6886
+ alwaysFormat: k
6767
6887
  } = e.interpolation;
6768
- this.escape = t !== void 0 ? t : ji, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = r ? X(r) : c || "{{", this.suffix = a ? X(a) : g || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? X(u) : p || X("$t("), this.nestingSuffix = w ? X(w) : L || X(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = M !== void 0 ? M : !1, this.resetRegExp();
6888
+ this.escape = t !== void 0 ? t : j5, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = a ? X(a) : c || "{{", this.suffix = r ? X(r) : g || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = u ? X(u) : p || X("$t("), this.nestingSuffix = w ? X(w) : v || X(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = k !== void 0 ? k : !1, this.resetRegExp();
6769
6889
  }
6770
6890
  reset() {
6771
6891
  this.options && this.init(this.options);
@@ -6775,7 +6895,7 @@ class Ji {
6775
6895
  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}`);
6776
6896
  }
6777
6897
  interpolate(e, t, n, s) {
6778
- let r, c, a;
6898
+ let a, c, r;
6779
6899
  const g = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
6780
6900
  if (p.indexOf(this.formatSeparator) < 0) {
6781
6901
  const E = P1(t, g, p, this.options.keySeparator, this.options.ignoreJSONStructure);
@@ -6785,11 +6905,11 @@ class Ji {
6785
6905
  interpolationkey: p
6786
6906
  }) : E;
6787
6907
  }
6788
- const w = p.split(this.formatSeparator), L = w.shift().trim(), m = w.join(this.formatSeparator).trim();
6789
- return this.format(P1(t, g, L, this.options.keySeparator, this.options.ignoreJSONStructure), m, n, {
6908
+ const w = p.split(this.formatSeparator), v = w.shift().trim(), m = w.join(this.formatSeparator).trim();
6909
+ return this.format(P1(t, g, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, n, {
6790
6910
  ...s,
6791
6911
  ...t,
6792
- interpolationkey: L
6912
+ interpolationkey: v
6793
6913
  });
6794
6914
  };
6795
6915
  this.resetRegExp();
@@ -6801,29 +6921,29 @@ class Ji {
6801
6921
  regex: this.regexp,
6802
6922
  safeValue: (p) => this.escapeValue ? x1(this.escape(p)) : x1(p)
6803
6923
  }].forEach((p) => {
6804
- for (a = 0; r = p.regex.exec(e); ) {
6805
- const w = r[1].trim();
6924
+ for (r = 0; a = p.regex.exec(e); ) {
6925
+ const w = a[1].trim();
6806
6926
  if (c = d(w), c === void 0)
6807
6927
  if (typeof l == "function") {
6808
- const m = l(e, r, s);
6809
- c = k(m) ? m : "";
6928
+ const m = l(e, a, s);
6929
+ c = L(m) ? m : "";
6810
6930
  } else if (s && Object.prototype.hasOwnProperty.call(s, w))
6811
6931
  c = "";
6812
6932
  else if (h) {
6813
- c = r[0];
6933
+ c = a[0];
6814
6934
  continue;
6815
6935
  } else
6816
6936
  this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
6817
- else !k(c) && !this.useRawValueToEscape && (c = T1(c));
6818
- const L = p.safeValue(c);
6819
- if (e = e.replace(r[0], L), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= r[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
6937
+ else !L(c) && !this.useRawValueToEscape && (c = T1(c));
6938
+ const v = p.safeValue(c);
6939
+ if (e = e.replace(a[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= a[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
6820
6940
  break;
6821
6941
  }
6822
6942
  }), e;
6823
6943
  }
6824
6944
  nest(e, t) {
6825
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s, r, c;
6826
- const a = (g, d) => {
6945
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s, a, c;
6946
+ const r = (g, d) => {
6827
6947
  const l = this.nestingOptionsSeparator;
6828
6948
  if (g.indexOf(l) < 0) return g;
6829
6949
  const h = g.split(new RegExp(`${l}[ ]*{`));
@@ -6836,8 +6956,8 @@ class Ji {
6836
6956
  ...d,
6837
6957
  ...c
6838
6958
  });
6839
- } catch (L) {
6840
- return this.logger.warn(`failed parsing options string in nesting for key ${g}`, L), `${g}${l}${u}`;
6959
+ } catch (v) {
6960
+ return this.logger.warn(`failed parsing options string in nesting for key ${g}`, v), `${g}${l}${u}`;
6841
6961
  }
6842
6962
  return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, g;
6843
6963
  };
@@ -6845,22 +6965,22 @@ class Ji {
6845
6965
  let g = [];
6846
6966
  c = {
6847
6967
  ...n
6848
- }, c = c.replace && !k(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
6968
+ }, c = c.replace && !L(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
6849
6969
  let d = !1;
6850
6970
  if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
6851
6971
  const l = s[1].split(this.formatSeparator).map((h) => h.trim());
6852
6972
  s[1] = l.shift(), g = l, d = !0;
6853
6973
  }
6854
- if (r = t(a.call(this, s[1].trim(), c), c), r && s[0] === e && !k(r)) return r;
6855
- k(r) || (r = T1(r)), r || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), r = ""), d && (r = g.reduce((l, h) => this.format(l, h, n.lng, {
6974
+ if (a = t(r.call(this, s[1].trim(), c), c), a && s[0] === e && !L(a)) return a;
6975
+ L(a) || (a = T1(a)), a || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), a = ""), d && (a = g.reduce((l, h) => this.format(l, h, n.lng, {
6856
6976
  ...n,
6857
6977
  interpolationkey: s[1].trim()
6858
- }), r.trim())), e = e.replace(s[0], r), this.regexp.lastIndex = 0;
6978
+ }), a.trim())), e = e.replace(s[0], a), this.regexp.lastIndex = 0;
6859
6979
  }
6860
6980
  return e;
6861
6981
  }
6862
6982
  }
6863
- const Qi = (i) => {
6983
+ const X5 = (i) => {
6864
6984
  let e = i.toLowerCase().trim();
6865
6985
  const t = {};
6866
6986
  if (i.indexOf("(") > -1) {
@@ -6869,7 +6989,7 @@ const Qi = (i) => {
6869
6989
  const s = n[1].substring(0, n[1].length - 1);
6870
6990
  e === "currency" && s.indexOf(":") < 0 ? t.currency || (t.currency = s.trim()) : e === "relativetime" && s.indexOf(":") < 0 ? t.range || (t.range = s.trim()) : s.split(";").forEach((c) => {
6871
6991
  if (c) {
6872
- const [a, ...g] = c.split(":"), d = g.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
6992
+ const [r, ...g] = c.split(":"), d = g.join(":").trim().replace(/^'+|'+$/g, ""), l = r.trim();
6873
6993
  t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
6874
6994
  }
6875
6995
  });
@@ -6881,50 +7001,50 @@ const Qi = (i) => {
6881
7001
  }, e1 = (i) => {
6882
7002
  const e = {};
6883
7003
  return (t, n, s) => {
6884
- let r = s;
6885
- s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (r = {
6886
- ...r,
7004
+ let a = s;
7005
+ s && s.interpolationkey && s.formatParams && s.formatParams[s.interpolationkey] && s[s.interpolationkey] && (a = {
7006
+ ...a,
6887
7007
  [s.interpolationkey]: void 0
6888
7008
  });
6889
- const c = n + JSON.stringify(r);
6890
- let a = e[c];
6891
- return a || (a = i(p1(n), s), e[c] = a), a(t);
7009
+ const c = n + JSON.stringify(a);
7010
+ let r = e[c];
7011
+ return r || (r = i(p1(n), s), e[c] = r), r(t);
6892
7012
  };
6893
7013
  };
6894
- class qi {
7014
+ class ei {
6895
7015
  constructor() {
6896
7016
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6897
- this.logger = W.create("formatter"), this.options = e, this.formats = {
7017
+ this.logger = G.create("formatter"), this.options = e, this.formats = {
6898
7018
  number: e1((t, n) => {
6899
7019
  const s = new Intl.NumberFormat(t, {
6900
7020
  ...n
6901
7021
  });
6902
- return (r) => s.format(r);
7022
+ return (a) => s.format(a);
6903
7023
  }),
6904
7024
  currency: e1((t, n) => {
6905
7025
  const s = new Intl.NumberFormat(t, {
6906
7026
  ...n,
6907
7027
  style: "currency"
6908
7028
  });
6909
- return (r) => s.format(r);
7029
+ return (a) => s.format(a);
6910
7030
  }),
6911
7031
  datetime: e1((t, n) => {
6912
7032
  const s = new Intl.DateTimeFormat(t, {
6913
7033
  ...n
6914
7034
  });
6915
- return (r) => s.format(r);
7035
+ return (a) => s.format(a);
6916
7036
  }),
6917
7037
  relativetime: e1((t, n) => {
6918
7038
  const s = new Intl.RelativeTimeFormat(t, {
6919
7039
  ...n
6920
7040
  });
6921
- return (r) => s.format(r, n.range || "day");
7041
+ return (a) => s.format(a, n.range || "day");
6922
7042
  }),
6923
7043
  list: e1((t, n) => {
6924
7044
  const s = new Intl.ListFormat(t, {
6925
7045
  ...n
6926
7046
  });
6927
- return (r) => s.format(r);
7047
+ return (a) => s.format(a);
6928
7048
  })
6929
7049
  }, this.init(e);
6930
7050
  }
@@ -6942,21 +7062,21 @@ class qi {
6942
7062
  }
6943
7063
  format(e, t, n) {
6944
7064
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6945
- const r = t.split(this.formatSeparator);
6946
- if (r.length > 1 && r[0].indexOf("(") > 1 && r[0].indexOf(")") < 0 && r.find((a) => a.indexOf(")") > -1)) {
6947
- const a = r.findIndex((g) => g.indexOf(")") > -1);
6948
- r[0] = [r[0], ...r.splice(1, a)].join(this.formatSeparator);
7065
+ const a = t.split(this.formatSeparator);
7066
+ if (a.length > 1 && a[0].indexOf("(") > 1 && a[0].indexOf(")") < 0 && a.find((r) => r.indexOf(")") > -1)) {
7067
+ const r = a.findIndex((g) => g.indexOf(")") > -1);
7068
+ a[0] = [a[0], ...a.splice(1, r)].join(this.formatSeparator);
6949
7069
  }
6950
- return r.reduce((a, g) => {
7070
+ return a.reduce((r, g) => {
6951
7071
  const {
6952
7072
  formatName: d,
6953
7073
  formatOptions: l
6954
- } = Qi(g);
7074
+ } = X5(g);
6955
7075
  if (this.formats[d]) {
6956
- let h = a;
7076
+ let h = r;
6957
7077
  try {
6958
7078
  const u = s && s.formatParams && s.formatParams[s.interpolationkey] || {}, p = u.locale || u.lng || s.locale || s.lng || n;
6959
- h = this.formats[d](a, p, {
7079
+ h = this.formats[d](r, p, {
6960
7080
  ...l,
6961
7081
  ...s,
6962
7082
  ...u
@@ -6967,57 +7087,57 @@ class qi {
6967
7087
  return h;
6968
7088
  } else
6969
7089
  this.logger.warn(`there was no format function for ${d}`);
6970
- return a;
7090
+ return r;
6971
7091
  }, e);
6972
7092
  }
6973
7093
  }
6974
- const Xi = (i, e) => {
7094
+ const ti = (i, e) => {
6975
7095
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
6976
7096
  };
6977
- class e5 extends k1 {
7097
+ class ii extends k1 {
6978
7098
  constructor(e, t, n) {
6979
7099
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6980
- super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = W.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(n, s.backend, s);
7100
+ super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = G.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(n, s.backend, s);
6981
7101
  }
6982
7102
  queueLoad(e, t, n, s) {
6983
- const r = {}, c = {}, a = {}, g = {};
7103
+ const a = {}, c = {}, r = {}, g = {};
6984
7104
  return e.forEach((d) => {
6985
7105
  let l = !0;
6986
7106
  t.forEach((h) => {
6987
7107
  const u = `${d}|${h}`;
6988
- !n.reload && this.store.hasResourceBundle(d, h) ? this.state[u] = 2 : this.state[u] < 0 || (this.state[u] === 1 ? c[u] === void 0 && (c[u] = !0) : (this.state[u] = 1, l = !1, c[u] === void 0 && (c[u] = !0), r[u] === void 0 && (r[u] = !0), g[h] === void 0 && (g[h] = !0)));
6989
- }), l || (a[d] = !0);
6990
- }), (Object.keys(r).length || Object.keys(c).length) && this.queue.push({
7108
+ !n.reload && this.store.hasResourceBundle(d, h) ? this.state[u] = 2 : this.state[u] < 0 || (this.state[u] === 1 ? c[u] === void 0 && (c[u] = !0) : (this.state[u] = 1, l = !1, c[u] === void 0 && (c[u] = !0), a[u] === void 0 && (a[u] = !0), g[h] === void 0 && (g[h] = !0)));
7109
+ }), l || (r[d] = !0);
7110
+ }), (Object.keys(a).length || Object.keys(c).length) && this.queue.push({
6991
7111
  pending: c,
6992
7112
  pendingCount: Object.keys(c).length,
6993
7113
  loaded: {},
6994
7114
  errors: [],
6995
7115
  callback: s
6996
7116
  }), {
6997
- toLoad: Object.keys(r),
7117
+ toLoad: Object.keys(a),
6998
7118
  pending: Object.keys(c),
6999
- toLoadLanguages: Object.keys(a),
7119
+ toLoadLanguages: Object.keys(r),
7000
7120
  toLoadNamespaces: Object.keys(g)
7001
7121
  };
7002
7122
  }
7003
7123
  loaded(e, t, n) {
7004
- const s = e.split("|"), r = s[0], c = s[1];
7005
- t && this.emit("failedLoading", r, c, t), !t && n && this.store.addResourceBundle(r, c, n, void 0, void 0, {
7124
+ const s = e.split("|"), a = s[0], c = s[1];
7125
+ t && this.emit("failedLoading", a, c, t), !t && n && this.store.addResourceBundle(a, c, n, void 0, void 0, {
7006
7126
  skipCopy: !0
7007
7127
  }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
7008
- const a = {};
7128
+ const r = {};
7009
7129
  this.queue.forEach((g) => {
7010
- Ai(g.loaded, [r], c), Xi(g, e), t && g.errors.push(t), g.pendingCount === 0 && !g.done && (Object.keys(g.loaded).forEach((d) => {
7011
- a[d] || (a[d] = {});
7130
+ Z5(g.loaded, [a], c), ti(g, e), t && g.errors.push(t), g.pendingCount === 0 && !g.done && (Object.keys(g.loaded).forEach((d) => {
7131
+ r[d] || (r[d] = {});
7012
7132
  const l = g.loaded[d];
7013
7133
  l.length && l.forEach((h) => {
7014
- a[d][h] === void 0 && (a[d][h] = !0);
7134
+ r[d][h] === void 0 && (r[d][h] = !0);
7015
7135
  });
7016
7136
  }), g.done = !0, g.errors.length ? g.callback(g.errors) : g.callback());
7017
- }), this.emit("loaded", a), this.queue = this.queue.filter((g) => !g.done);
7137
+ }), this.emit("loaded", r), this.queue = this.queue.filter((g) => !g.done);
7018
7138
  }
7019
7139
  read(e, t, n) {
7020
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
7140
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
7021
7141
  if (!e.length) return c(null, {});
7022
7142
  if (this.readingCalls >= this.maxParallelReads) {
7023
7143
  this.waitingReads.push({
@@ -7025,21 +7145,21 @@ class e5 extends k1 {
7025
7145
  ns: t,
7026
7146
  fcName: n,
7027
7147
  tried: s,
7028
- wait: r,
7148
+ wait: a,
7029
7149
  callback: c
7030
7150
  });
7031
7151
  return;
7032
7152
  }
7033
7153
  this.readingCalls++;
7034
- const a = (d, l) => {
7154
+ const r = (d, l) => {
7035
7155
  if (this.readingCalls--, this.waitingReads.length > 0) {
7036
7156
  const h = this.waitingReads.shift();
7037
7157
  this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
7038
7158
  }
7039
7159
  if (d && l && s < this.maxRetries) {
7040
7160
  setTimeout(() => {
7041
- this.read.call(this, e, t, n, s + 1, r * 2, c);
7042
- }, r);
7161
+ this.read.call(this, e, t, n, s + 1, a * 2, c);
7162
+ }, a);
7043
7163
  return;
7044
7164
  }
7045
7165
  c(d, l);
@@ -7047,23 +7167,23 @@ class e5 extends k1 {
7047
7167
  if (g.length === 2) {
7048
7168
  try {
7049
7169
  const d = g(e, t);
7050
- d && typeof d.then == "function" ? d.then((l) => a(null, l)).catch(a) : a(null, d);
7170
+ d && typeof d.then == "function" ? d.then((l) => r(null, l)).catch(r) : r(null, d);
7051
7171
  } catch (d) {
7052
- a(d);
7172
+ r(d);
7053
7173
  }
7054
7174
  return;
7055
7175
  }
7056
- return g(e, t, a);
7176
+ return g(e, t, r);
7057
7177
  }
7058
7178
  prepareLoading(e, t) {
7059
7179
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
7060
7180
  if (!this.backend)
7061
7181
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
7062
- k(e) && (e = this.languageUtils.toResolveHierarchy(e)), k(t) && (t = [t]);
7063
- const r = this.queueLoad(e, t, n, s);
7064
- if (!r.toLoad.length)
7065
- return r.pending.length || s(), null;
7066
- r.toLoad.forEach((c) => {
7182
+ L(e) && (e = this.languageUtils.toResolveHierarchy(e)), L(t) && (t = [t]);
7183
+ const a = this.queueLoad(e, t, n, s);
7184
+ if (!a.toLoad.length)
7185
+ return a.pending.length || s(), null;
7186
+ a.toLoad.forEach((c) => {
7067
7187
  this.loadOne(c);
7068
7188
  });
7069
7189
  }
@@ -7077,13 +7197,13 @@ class e5 extends k1 {
7077
7197
  }
7078
7198
  loadOne(e) {
7079
7199
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
7080
- const n = e.split("|"), s = n[0], r = n[1];
7081
- this.read(s, r, "read", void 0, void 0, (c, a) => {
7082
- c && this.logger.warn(`${t}loading namespace ${r} for language ${s} failed`, c), !c && a && this.logger.log(`${t}loaded namespace ${r} for language ${s}`, a), this.loaded(e, c, a);
7200
+ const n = e.split("|"), s = n[0], a = n[1];
7201
+ this.read(s, a, "read", void 0, void 0, (c, r) => {
7202
+ c && this.logger.warn(`${t}loading namespace ${a} for language ${s} failed`, c), !c && r && this.logger.log(`${t}loaded namespace ${a} for language ${s}`, r), this.loaded(e, c, r);
7083
7203
  });
7084
7204
  }
7085
- saveMissing(e, t, n, s, r) {
7086
- let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
7205
+ saveMissing(e, t, n, s, a) {
7206
+ let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, r = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
7087
7207
  };
7088
7208
  if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
7089
7209
  this.logger.warn(`did not save key "${n}" 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!!!");
@@ -7093,17 +7213,17 @@ class e5 extends k1 {
7093
7213
  if (this.backend && this.backend.create) {
7094
7214
  const g = {
7095
7215
  ...c,
7096
- isUpdate: r
7216
+ isUpdate: a
7097
7217
  }, d = this.backend.create.bind(this.backend);
7098
7218
  if (d.length < 6)
7099
7219
  try {
7100
7220
  let l;
7101
- d.length === 5 ? l = d(e, t, n, s, g) : l = d(e, t, n, s), l && typeof l.then == "function" ? l.then((h) => a(null, h)).catch(a) : a(null, l);
7221
+ d.length === 5 ? l = d(e, t, n, s, g) : l = d(e, t, n, s), l && typeof l.then == "function" ? l.then((h) => r(null, h)).catch(r) : r(null, l);
7102
7222
  } catch (l) {
7103
- a(l);
7223
+ r(l);
7104
7224
  }
7105
7225
  else
7106
- d(e, t, n, s, a, g);
7226
+ d(e, t, n, s, r, g);
7107
7227
  }
7108
7228
  !e || !e[0] || this.store.addResource(e[0], t, n, s);
7109
7229
  }
@@ -7144,7 +7264,7 @@ const $1 = () => ({
7144
7264
  appendNamespaceToCIMode: !1,
7145
7265
  overloadTranslationOptionHandler: (i) => {
7146
7266
  let e = {};
7147
- if (typeof i[1] == "object" && (e = i[1]), k(i[1]) && (e.defaultValue = i[1]), k(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
7267
+ if (typeof i[1] == "object" && (e = i[1]), L(i[1]) && (e.defaultValue = i[1]), L(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
7148
7268
  const t = i[3] || i[2];
7149
7269
  Object.keys(t).forEach((n) => {
7150
7270
  e[n] = t[n];
@@ -7165,8 +7285,8 @@ const $1 = () => ({
7165
7285
  maxReplaces: 1e3,
7166
7286
  skipOnVariables: !0
7167
7287
  }
7168
- }), F1 = (i) => (k(i.ns) && (i.ns = [i.ns]), k(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), k(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), u1 = () => {
7169
- }, t5 = (i) => {
7288
+ }), F1 = (i) => (L(i.ns) && (i.ns = [i.ns]), L(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), L(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), u1 = () => {
7289
+ }, ni = (i) => {
7170
7290
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
7171
7291
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
7172
7292
  });
@@ -7174,9 +7294,9 @@ const $1 = () => ({
7174
7294
  class l1 extends k1 {
7175
7295
  constructor() {
7176
7296
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
7177
- if (super(), this.options = F1(e), this.services = {}, this.logger = W, this.modules = {
7297
+ if (super(), this.options = F1(e), this.services = {}, this.logger = G, this.modules = {
7178
7298
  external: []
7179
- }, t5(this), t && !this.isInitialized && !e.isClone) {
7299
+ }, ni(this), t && !this.isInitialized && !e.isClone) {
7180
7300
  if (!this.options.initImmediate)
7181
7301
  return this.init(e, t), this;
7182
7302
  setTimeout(() => {
@@ -7187,7 +7307,7 @@ class l1 extends k1 {
7187
7307
  init() {
7188
7308
  var e = this;
7189
7309
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
7190
- this.isInitializing = !0, typeof t == "function" && (n = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (k(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
7310
+ this.isInitializing = !0, typeof t == "function" && (n = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (L(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
7191
7311
  const s = $1();
7192
7312
  this.options = {
7193
7313
  ...s,
@@ -7197,28 +7317,28 @@ class l1 extends k1 {
7197
7317
  ...s.interpolation,
7198
7318
  ...this.options.interpolation
7199
7319
  }), t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
7200
- const r = (l) => l ? typeof l == "function" ? new l() : l : null;
7320
+ const a = (l) => l ? typeof l == "function" ? new l() : l : null;
7201
7321
  if (!this.options.isClone) {
7202
- this.modules.logger ? W.init(r(this.modules.logger), this.options) : W.init(null, this.options);
7322
+ this.modules.logger ? G.init(a(this.modules.logger), this.options) : G.init(null, this.options);
7203
7323
  let l;
7204
- this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = qi);
7205
- const h = new G1(this.options);
7206
- this.store = new Z1(this.options.resources, this.options);
7324
+ this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = ei);
7325
+ const h = new W1(this.options);
7326
+ this.store = new j1(this.options.resources, this.options);
7207
7327
  const u = this.services;
7208
- u.logger = W, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new zi(h, {
7328
+ u.logger = G, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new Q5(h, {
7209
7329
  prepend: this.options.pluralSeparator,
7210
7330
  compatibilityJSON: this.options.compatibilityJSON,
7211
7331
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
7212
- }), l && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (u.formatter = r(l), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new Ji(this.options), u.utils = {
7332
+ }), l && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (u.formatter = a(l), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new q5(this.options), u.utils = {
7213
7333
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
7214
- }, u.backendConnector = new e5(r(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
7215
- for (var w = arguments.length, L = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7216
- L[m - 1] = arguments[m];
7217
- e.emit(p, ...L);
7218
- }), this.modules.languageDetector && (u.languageDetector = r(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = r(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(p) {
7219
- for (var w = arguments.length, L = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7220
- L[m - 1] = arguments[m];
7221
- e.emit(p, ...L);
7334
+ }, u.backendConnector = new ii(a(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
7335
+ for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7336
+ v[m - 1] = arguments[m];
7337
+ e.emit(p, ...v);
7338
+ }), this.modules.languageDetector && (u.languageDetector = a(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = a(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(p) {
7339
+ for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7340
+ v[m - 1] = arguments[m];
7341
+ e.emit(p, ...v);
7222
7342
  }), this.modules.external.forEach((p) => {
7223
7343
  p.init && p.init(this);
7224
7344
  });
@@ -7247,25 +7367,25 @@ class l1 extends k1 {
7247
7367
  }
7248
7368
  loadResources(e) {
7249
7369
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
7250
- const s = k(e) ? e : this.language;
7370
+ const s = L(e) ? e : this.language;
7251
7371
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
7252
7372
  if (s && s.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
7253
- const r = [], c = (a) => {
7254
- if (!a || a === "cimode") return;
7255
- this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
7256
- d !== "cimode" && r.indexOf(d) < 0 && r.push(d);
7373
+ const a = [], c = (r) => {
7374
+ if (!r || r === "cimode") return;
7375
+ this.services.languageUtils.toResolveHierarchy(r).forEach((d) => {
7376
+ d !== "cimode" && a.indexOf(d) < 0 && a.push(d);
7257
7377
  });
7258
7378
  };
7259
- s ? c(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((g) => c(g)), this.options.preload && this.options.preload.forEach((a) => c(a)), this.services.backendConnector.load(r, this.options.ns, (a) => {
7260
- !a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), n(a);
7379
+ s ? c(s) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((g) => c(g)), this.options.preload && this.options.preload.forEach((r) => c(r)), this.services.backendConnector.load(a, this.options.ns, (r) => {
7380
+ !r && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), n(r);
7261
7381
  });
7262
7382
  } else
7263
7383
  n(null);
7264
7384
  }
7265
7385
  reloadResources(e, t, n) {
7266
7386
  const s = s1();
7267
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = u1), this.services.backendConnector.reload(e, t, (r) => {
7268
- s.resolve(), n(r);
7387
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = u1), this.services.backendConnector.reload(e, t, (a) => {
7388
+ s.resolve(), n(a);
7269
7389
  }), s;
7270
7390
  }
7271
7391
  use(e) {
@@ -7288,41 +7408,41 @@ class l1 extends k1 {
7288
7408
  this.isLanguageChangingTo = e;
7289
7409
  const s = s1();
7290
7410
  this.emit("languageChanging", e);
7291
- const r = (g) => {
7411
+ const a = (g) => {
7292
7412
  this.language = g, this.languages = this.services.languageUtils.toResolveHierarchy(g), this.resolvedLanguage = void 0, this.setResolvedLanguage(g);
7293
7413
  }, c = (g, d) => {
7294
- d ? (r(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, s.resolve(function() {
7414
+ d ? (a(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, s.resolve(function() {
7295
7415
  return n.t(...arguments);
7296
7416
  }), t && t(g, function() {
7297
7417
  return n.t(...arguments);
7298
7418
  });
7299
- }, a = (g) => {
7419
+ }, r = (g) => {
7300
7420
  !e && !g && this.services.languageDetector && (g = []);
7301
- const d = k(g) ? g : this.services.languageUtils.getBestMatchFromCodes(g);
7302
- d && (this.language || r(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
7421
+ const d = L(g) ? g : this.services.languageUtils.getBestMatchFromCodes(g);
7422
+ d && (this.language || a(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
7303
7423
  c(l, d);
7304
7424
  });
7305
7425
  };
7306
- 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), s;
7426
+ return !e && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(e), s;
7307
7427
  }
7308
7428
  getFixedT(e, t, n) {
7309
7429
  var s = this;
7310
- const r = function(c, a) {
7430
+ const a = function(c, r) {
7311
7431
  let g;
7312
- if (typeof a != "object") {
7432
+ if (typeof r != "object") {
7313
7433
  for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
7314
7434
  l[h - 2] = arguments[h];
7315
- g = s.options.overloadTranslationOptionHandler([c, a].concat(l));
7435
+ g = s.options.overloadTranslationOptionHandler([c, r].concat(l));
7316
7436
  } else
7317
7437
  g = {
7318
- ...a
7438
+ ...r
7319
7439
  };
7320
- g.lng = g.lng || r.lng, g.lngs = g.lngs || r.lngs, g.ns = g.ns || r.ns, g.keyPrefix !== "" && (g.keyPrefix = g.keyPrefix || n || r.keyPrefix);
7440
+ g.lng = g.lng || a.lng, g.lngs = g.lngs || a.lngs, g.ns = g.ns || a.ns, g.keyPrefix !== "" && (g.keyPrefix = g.keyPrefix || n || a.keyPrefix);
7321
7441
  const u = s.options.keySeparator || ".";
7322
7442
  let p;
7323
7443
  return g.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${g.keyPrefix}${u}${w}`) : p = g.keyPrefix ? `${g.keyPrefix}${u}${c}` : c, s.t(p, g);
7324
7444
  };
7325
- return k(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
7445
+ return L(e) ? a.lng = e : a.lngs = e, a.ns = t, a.keyPrefix = n, a;
7326
7446
  }
7327
7447
  t() {
7328
7448
  return this.translator && this.translator.translate(...arguments);
@@ -7339,21 +7459,21 @@ class l1 extends k1 {
7339
7459
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
7340
7460
  if (!this.languages || !this.languages.length)
7341
7461
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
7342
- const n = t.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, r = this.languages[this.languages.length - 1];
7462
+ const n = t.lng || this.resolvedLanguage || this.languages[0], s = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1];
7343
7463
  if (n.toLowerCase() === "cimode") return !0;
7344
- const c = (a, g) => {
7345
- const d = this.services.backendConnector.state[`${a}|${g}`];
7464
+ const c = (r, g) => {
7465
+ const d = this.services.backendConnector.state[`${r}|${g}`];
7346
7466
  return d === -1 || d === 0 || d === 2;
7347
7467
  };
7348
7468
  if (t.precheck) {
7349
- const a = t.precheck(this, c);
7350
- if (a !== void 0) return a;
7469
+ const r = t.precheck(this, c);
7470
+ if (r !== void 0) return r;
7351
7471
  }
7352
- return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(n, e) && (!s || c(r, e)));
7472
+ return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(n, e) && (!s || c(a, e)));
7353
7473
  }
7354
7474
  loadNamespaces(e, t) {
7355
7475
  const n = s1();
7356
- return this.options.ns ? (k(e) && (e = [e]), e.forEach((s) => {
7476
+ return this.options.ns ? (L(e) && (e = [e]), e.forEach((s) => {
7357
7477
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
7358
7478
  }), this.loadResources((s) => {
7359
7479
  n.resolve(), t && t(s);
@@ -7361,15 +7481,15 @@ class l1 extends k1 {
7361
7481
  }
7362
7482
  loadLanguages(e, t) {
7363
7483
  const n = s1();
7364
- k(e) && (e = [e]);
7365
- const s = this.options.preload || [], r = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
7366
- return r.length ? (this.options.preload = s.concat(r), this.loadResources((c) => {
7484
+ L(e) && (e = [e]);
7485
+ const s = this.options.preload || [], a = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
7486
+ return a.length ? (this.options.preload = s.concat(a), this.loadResources((c) => {
7367
7487
  n.resolve(), t && t(c);
7368
7488
  }), n) : (t && t(), Promise.resolve());
7369
7489
  }
7370
7490
  dir(e) {
7371
7491
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
7372
- 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"], n = this.services && this.services.languageUtils || new G1($1());
7492
+ 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"], n = this.services && this.services.languageUtils || new W1($1());
7373
7493
  return t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
7374
7494
  }
7375
7495
  static createInstance() {
@@ -7384,20 +7504,20 @@ class l1 extends k1 {
7384
7504
  ...this.options,
7385
7505
  ...e,
7386
7506
  isClone: !0
7387
- }, r = new l1(s);
7388
- return (e.debug !== void 0 || e.prefix !== void 0) && (r.logger = r.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
7389
- r[a] = this[a];
7390
- }), r.services = {
7507
+ }, a = new l1(s);
7508
+ return (e.debug !== void 0 || e.prefix !== void 0) && (a.logger = a.logger.clone(e)), ["store", "services", "language"].forEach((r) => {
7509
+ a[r] = this[r];
7510
+ }), a.services = {
7391
7511
  ...this.services
7392
- }, r.services.utils = {
7393
- hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
7394
- }, n && (r.store = new Z1(this.store.data, s), r.services.resourceStore = r.store), r.translator = new m1(r.services, s), r.translator.on("*", function(a) {
7512
+ }, a.services.utils = {
7513
+ hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
7514
+ }, n && (a.store = new j1(this.store.data, s), a.services.resourceStore = a.store), a.translator = new m1(a.services, s), a.translator.on("*", function(r) {
7395
7515
  for (var g = arguments.length, d = new Array(g > 1 ? g - 1 : 0), l = 1; l < g; l++)
7396
7516
  d[l - 1] = arguments[l];
7397
- r.emit(a, ...d);
7398
- }), r.init(s, t), r.translator.options = s, r.translator.backendConnector.services.utils = {
7399
- hasLoadedNamespace: r.hasLoadedNamespace.bind(r)
7400
- }, r;
7517
+ a.emit(r, ...d);
7518
+ }), a.init(s, t), a.translator.options = s, a.translator.backendConnector.services.utils = {
7519
+ hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
7520
+ }, a;
7401
7521
  }
7402
7522
  toJSON() {
7403
7523
  return {
@@ -7425,7 +7545,7 @@ V.setDefaultNamespace;
7425
7545
  V.hasLoadedNamespace;
7426
7546
  V.loadNamespaces;
7427
7547
  V.loadLanguages;
7428
- function i5() {
7548
+ function si() {
7429
7549
  if (console && console.warn) {
7430
7550
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7431
7551
  e[t] = arguments[t];
@@ -7436,7 +7556,7 @@ const Y1 = {};
7436
7556
  function b1() {
7437
7557
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
7438
7558
  e[t] = arguments[t];
7439
- z(e[0]) && Y1[e[0]] || (z(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), i5(...e));
7559
+ z(e[0]) && Y1[e[0]] || (z(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), si(...e));
7440
7560
  }
7441
7561
  const re = (i, e) => () => {
7442
7562
  if (i.isInitialized)
@@ -7455,24 +7575,24 @@ const re = (i, e) => () => {
7455
7575
  z(t) && (t = [t]), t.forEach((s) => {
7456
7576
  i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
7457
7577
  }), i.loadLanguages(e, re(i, n));
7458
- }, n5 = function(i, e) {
7578
+ }, oi = function(i, e) {
7459
7579
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7460
- const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, r = e.languages[e.languages.length - 1];
7580
+ const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, a = e.languages[e.languages.length - 1];
7461
7581
  if (n.toLowerCase() === "cimode") return !0;
7462
- const c = (a, g) => {
7463
- const d = e.services.backendConnector.state[`${a}|${g}`];
7582
+ const c = (r, g) => {
7583
+ const d = e.services.backendConnector.state[`${r}|${g}`];
7464
7584
  return d === -1 || d === 2;
7465
7585
  };
7466
- return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(r, i)));
7467
- }, s5 = function(i, e) {
7586
+ return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(a, i)));
7587
+ }, ri = function(i, e) {
7468
7588
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
7469
7589
  return !e.languages || !e.languages.length ? (b1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
7470
7590
  lng: t.lng,
7471
- precheck: (s, r) => {
7472
- if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !r(s.isLanguageChangingTo, i)) return !1;
7591
+ precheck: (s, a) => {
7592
+ if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !a(s.isLanguageChangingTo, i)) return !1;
7473
7593
  }
7474
- }) : n5(i, e, t);
7475
- }, z = (i) => typeof i == "string", o5 = (i) => typeof i == "object" && i !== null, r5 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, a5 = {
7594
+ }) : oi(i, e, t);
7595
+ }, z = (i) => typeof i == "string", ai = (i) => typeof i == "object" && i !== null, li = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, hi = {
7476
7596
  "&amp;": "&",
7477
7597
  "&#38;": "&",
7478
7598
  "&lt;": "<",
@@ -7493,7 +7613,7 @@ const re = (i, e) => () => {
7493
7613
  "&#8230;": "…",
7494
7614
  "&#x2F;": "/",
7495
7615
  "&#47;": "/"
7496
- }, l5 = (i) => a5[i], h5 = (i) => i.replace(r5, l5);
7616
+ }, ci = (i) => hi[i], di = (i) => i.replace(li, ci);
7497
7617
  let y1 = {
7498
7618
  bindI18n: "languageChanged",
7499
7619
  bindI18nStore: "",
@@ -7502,25 +7622,25 @@ let y1 = {
7502
7622
  transWrapTextNodes: "",
7503
7623
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
7504
7624
  useSuspense: !0,
7505
- unescape: h5
7625
+ unescape: di
7506
7626
  };
7507
- const c5 = function() {
7627
+ const gi = function() {
7508
7628
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7509
7629
  y1 = {
7510
7630
  ...y1,
7511
7631
  ...i
7512
7632
  };
7513
- }, d5 = () => y1;
7633
+ }, ui = () => y1;
7514
7634
  let ae;
7515
- const g5 = (i) => {
7635
+ const Ci = (i) => {
7516
7636
  ae = i;
7517
- }, u5 = () => ae, C5 = {
7637
+ }, pi = () => ae, fi = {
7518
7638
  type: "3rdParty",
7519
7639
  init(i) {
7520
- c5(i.options.react), g5(i);
7640
+ gi(i.options.react), Ci(i);
7521
7641
  }
7522
- }, p5 = t1();
7523
- class f5 {
7642
+ }, mi = t1();
7643
+ class wi {
7524
7644
  constructor() {
7525
7645
  I1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
7526
7646
  this.usedNamespaces = {};
@@ -7531,148 +7651,148 @@ class f5 {
7531
7651
  });
7532
7652
  }
7533
7653
  }
7534
- const m5 = (i, e) => {
7654
+ const ki = (i, e) => {
7535
7655
  const t = J();
7536
7656
  return S(() => {
7537
7657
  t.current = i;
7538
7658
  }, [i, e]), t.current;
7539
- }, le = (i, e, t, n) => i.getFixedT(e, t, n), w5 = (i, e, t, n) => Z(le(i, e, t, n), [i, e, t, n]), k5 = function(i) {
7659
+ }, le = (i, e, t, n) => i.getFixedT(e, t, n), Li = (i, e, t, n) => j(le(i, e, t, n), [i, e, t, n]), vi = function(i) {
7540
7660
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7541
7661
  const {
7542
7662
  i18n: t
7543
7663
  } = e, {
7544
7664
  i18n: n,
7545
7665
  defaultNS: s
7546
- } = Q(p5) || {}, r = t || n || u5();
7547
- if (r && !r.reportNamespaces && (r.reportNamespaces = new f5()), !r) {
7666
+ } = Q(mi) || {}, a = t || n || pi();
7667
+ if (a && !a.reportNamespaces && (a.reportNamespaces = new wi()), !a) {
7548
7668
  b1("You will need to pass in an i18next instance by using initReactI18next");
7549
- const f = (v, N) => z(N) ? N : o5(N) && z(N.defaultValue) ? N.defaultValue : Array.isArray(v) ? v[v.length - 1] : v, R = [f, {}, !1];
7550
- return R.t = f, R.i18n = {}, R.ready = !1, R;
7669
+ const f = (N, x) => z(x) ? x : ai(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, M = [f, {}, !1];
7670
+ return M.t = f, M.i18n = {}, M.ready = !1, M;
7551
7671
  }
7552
- r.options.react && r.options.react.wait !== void 0 && b1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7672
+ a.options.react && a.options.react.wait !== void 0 && b1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
7553
7673
  const c = {
7554
- ...d5(),
7555
- ...r.options.react,
7674
+ ...ui(),
7675
+ ...a.options.react,
7556
7676
  ...e
7557
7677
  }, {
7558
- useSuspense: a,
7678
+ useSuspense: r,
7559
7679
  keyPrefix: g
7560
7680
  } = c;
7561
7681
  let d = i;
7562
- d = z(d) ? [d] : d || ["translation"], r.reportNamespaces.addUsedNamespaces && r.reportNamespaces.addUsedNamespaces(d);
7563
- const l = (r.isInitialized || r.initializedStoreOnce) && d.every((f) => s5(f, r, c)), h = w5(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), u = () => h, p = () => le(r, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), [w, L] = O(u);
7682
+ d = z(d) ? [d] : d || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(d);
7683
+ const l = (a.isInitialized || a.initializedStoreOnce) && d.every((f) => ri(f, a, c)), h = Li(a, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), u = () => h, p = () => le(a, e.lng || null, c.nsMode === "fallback" ? d : d[0], g), [w, v] = O(u);
7564
7684
  let m = d.join();
7565
7685
  e.lng && (m = `${e.lng}${m}`);
7566
- const E = m5(m), M = J(!0);
7686
+ const E = ki(m), k = J(!0);
7567
7687
  S(() => {
7568
7688
  const {
7569
7689
  bindI18n: f,
7570
- bindI18nStore: R
7690
+ bindI18nStore: M
7571
7691
  } = c;
7572
- M.current = !0, !l && !a && (e.lng ? z1(r, e.lng, d, () => {
7573
- M.current && L(p);
7574
- }) : U1(r, d, () => {
7575
- M.current && L(p);
7576
- })), l && E && E !== m && M.current && L(p);
7577
- const v = () => {
7578
- M.current && L(p);
7692
+ k.current = !0, !l && !r && (e.lng ? z1(a, e.lng, d, () => {
7693
+ k.current && v(p);
7694
+ }) : U1(a, d, () => {
7695
+ k.current && v(p);
7696
+ })), l && E && E !== m && k.current && v(p);
7697
+ const N = () => {
7698
+ k.current && v(p);
7579
7699
  };
7580
- return f && r && r.on(f, v), R && r && r.store.on(R, v), () => {
7581
- M.current = !1, f && r && f.split(" ").forEach((N) => r.off(N, v)), R && r && R.split(" ").forEach((N) => r.store.off(N, v));
7700
+ return f && a && a.on(f, N), M && a && a.store.on(M, N), () => {
7701
+ k.current = !1, f && a && f.split(" ").forEach((x) => a.off(x, N)), M && a && M.split(" ").forEach((x) => a.store.off(x, N));
7582
7702
  };
7583
- }, [r, m]), S(() => {
7584
- M.current && l && L(u);
7585
- }, [r, g, l]);
7586
- const H = [w, r, l];
7587
- if (H.t = w, H.i18n = r, H.ready = l, l || !l && !a) return H;
7703
+ }, [a, m]), S(() => {
7704
+ k.current && l && v(u);
7705
+ }, [a, g, l]);
7706
+ const H = [w, a, l];
7707
+ if (H.t = w, H.i18n = a, H.ready = l, l || !l && !r) return H;
7588
7708
  throw new Promise((f) => {
7589
- e.lng ? z1(r, e.lng, d, () => f()) : U1(r, d, () => f());
7709
+ e.lng ? z1(a, e.lng, d, () => f()) : U1(a, d, () => f());
7590
7710
  });
7591
- }, L5 = "Country", v5 = {
7592
- placeholder: L5
7593
- }, N5 = "Страна", x5 = {
7594
- placeholder: N5
7711
+ }, Ni = "Country", xi = {
7712
+ placeholder: Ni
7713
+ }, Ri = "Страна", Mi = {
7714
+ placeholder: Ri
7595
7715
  };
7596
- V.use(C5).init({
7716
+ V.use(fi).init({
7597
7717
  defaultNS: "common",
7598
7718
  lng: "en",
7599
7719
  resources: {
7600
7720
  en: {
7601
- common: v5
7721
+ common: xi
7602
7722
  },
7603
7723
  ru: {
7604
- common: x5
7724
+ common: Mi
7605
7725
  }
7606
7726
  }
7607
7727
  });
7608
- const I5 = w1(
7728
+ const Si = w1(
7609
7729
  ({
7610
7730
  width: i,
7611
7731
  selectedCity: e,
7612
7732
  setSelectedCity: t,
7613
7733
  onChange: n,
7614
7734
  value: s,
7615
- id: r,
7735
+ id: a,
7616
7736
  disabled: c,
7617
- required: a,
7737
+ required: r,
7618
7738
  clearable: g,
7619
7739
  error: d
7620
7740
  }, l) => {
7621
- const [h, u] = O([]), [p, w] = O([]), [L, m] = O(!1), { locale: E, axiosPeople: M } = Q(pe);
7622
- if (!M)
7741
+ const [h, u] = O([]), [p, w] = O([]), [v, m] = O(!1), { locale: E, axiosPeople: k } = Q(pe);
7742
+ if (!k)
7623
7743
  throw new Error(
7624
7744
  `CountrySelect requires "axiosPeople" to fetch counties.
7625
7745
  Please provide it via SNMTUiContext.`
7626
7746
  );
7627
- const { t: H } = k5("common", { lng: E }), f = Z(async () => {
7747
+ const { t: H } = vi("common", { lng: E }), f = j(async () => {
7628
7748
  m(!0);
7629
7749
  try {
7630
- const v = await M.post("v1/countries/search");
7631
- w(v == null ? void 0 : v.data.data);
7750
+ const N = await k.post("v1/countries/search");
7751
+ w(N == null ? void 0 : N.data.data);
7632
7752
  } catch {
7633
7753
  u([]);
7634
7754
  } finally {
7635
7755
  m(!1);
7636
7756
  }
7637
- }, [M]);
7757
+ }, [k]);
7638
7758
  S(() => {
7639
7759
  f();
7640
7760
  }, []), S(() => {
7641
7761
  if (e) {
7642
- const v = e.split("-")[1], N = p.filter(
7643
- (B) => B.name.includes(v)
7762
+ const N = e.split("-")[1], x = p.filter(
7763
+ (Z) => Z.name.includes(N)
7644
7764
  );
7645
- if (N.length) {
7646
- const B = N.map((G) => ({
7647
- label: G.name,
7648
- value: G.name
7765
+ if (x.length) {
7766
+ const Z = x.map((W) => ({
7767
+ label: W.name,
7768
+ value: W.name
7649
7769
  }));
7650
- n(B[0].value);
7770
+ n(Z[0].value);
7651
7771
  }
7652
7772
  }
7653
7773
  }, [e, p, n]), S(() => {
7654
- const v = p.map((N) => ({
7655
- label: N.name,
7656
- value: N.name
7774
+ const N = p.map((x) => ({
7775
+ label: x.name,
7776
+ value: x.name
7657
7777
  }));
7658
- u(v);
7778
+ u(N);
7659
7779
  }, [p]);
7660
- const R = (v) => {
7661
- v === null ? (n(""), t && t("")) : (n(v), t && t(""));
7780
+ const M = (N) => {
7781
+ N === null ? (n(""), t && t("")) : (n(N), t && t(""));
7662
7782
  };
7663
7783
  return /* @__PURE__ */ o("div", { className: "snmt-country-select", children: /* @__PURE__ */ o(
7664
- Oi,
7784
+ V5,
7665
7785
  {
7666
- id: r,
7786
+ id: a,
7667
7787
  width: i,
7668
7788
  placeholder: H("placeholder"),
7669
7789
  value: s,
7670
7790
  ref: l,
7671
- onChange: R,
7791
+ onChange: M,
7672
7792
  options: h,
7673
7793
  disabled: c,
7674
- isLoading: L,
7675
- required: a,
7794
+ isLoading: v,
7795
+ required: r,
7676
7796
  clearable: g,
7677
7797
  error: d
7678
7798
  }
@@ -7680,5 +7800,5 @@ const I5 = w1(
7680
7800
  }
7681
7801
  );
7682
7802
  export {
7683
- I5 as CountrySelect
7803
+ Si as CountrySelect
7684
7804
  };