@snmt-react-ui/country-select 2.9.10 → 2.9.11

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 +327 -275
  2. package/package.json +3 -3
@@ -4,7 +4,7 @@ var D1 = (l, e, t) => N2(l, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
5
  import { jsx as n, Fragment as $, jsxs as g } from "react/jsx-runtime";
6
6
  import { COLORS as h, SNMTUiContext as Q } from "@snmt-react-ui/core";
7
- import { Select as M2, Tag as y1, Flex as x2, Checkbox as Z2, Avatar as R2, Typography as d1, Popover as V2 } from "antd";
7
+ import { Select as M2, Tag as y1, Flex as Z2, Checkbox as x2, Avatar as V2, Typography as d1, Popover as R2 } from "antd";
8
8
  import { forwardRef as q, useState as E, useRef as P, useEffect as D, useCallback as O, useContext as T, useImperativeHandle as g1, createContext as e2 } from "react";
9
9
  var H2 = Object.defineProperty, _2 = (l, e, t) => e in l ? H2(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, b2 = (l, e, t) => _2(l, e + "", t), y2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function E2() {
@@ -15,7 +15,7 @@ function E2() {
15
15
  }
16
16
  }
17
17
  const K1 = {};
18
- function V1() {
18
+ function R1() {
19
19
  for (var l = arguments.length, e = new Array(l), t = 0; t < l; t++)
20
20
  e[t] = arguments[t];
21
21
  z(e[0]) && K1[e[0]] || (z(e[0]) && (K1[e[0]] = /* @__PURE__ */ new Date()), E2(...e));
@@ -48,7 +48,7 @@ const t2 = (l, e) => () => {
48
48
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, l) ? !1 : !!(e.hasResourceBundle(i, l) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(i, l) && (!s || c(C, l)));
49
49
  }, D2 = function(l, e) {
50
50
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
51
- return !e.languages || !e.languages.length ? (V1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(l, {
51
+ return !e.languages || !e.languages.length ? (R1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(l, {
52
52
  lng: t.lng,
53
53
  precheck: (i, s) => {
54
54
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !s(i.isLanguageChangingTo, l)) return !1;
@@ -89,7 +89,7 @@ let O2 = {
89
89
  const I2 = () => O2;
90
90
  let $2;
91
91
  const P2 = () => $2, T2 = e2();
92
- class j2 {
92
+ class F2 {
93
93
  constructor() {
94
94
  b2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
@@ -99,7 +99,7 @@ class j2 {
99
99
  });
100
100
  }
101
101
  }
102
- const F2 = (l, e) => {
102
+ const j2 = (l, e) => {
103
103
  const t = P();
104
104
  return D(() => {
105
105
  t.current = l;
@@ -112,12 +112,12 @@ const F2 = (l, e) => {
112
112
  i18n: i,
113
113
  defaultNS: s
114
114
  } = T(T2) || {}, C = t || i || P2();
115
- if (C && !C.reportNamespaces && (C.reportNamespaces = new j2()), !C) {
116
- V1("You will need to pass in an i18next instance by using initReactI18next");
117
- const v = (N, M) => z(M) ? M : K2(M) && z(M.defaultValue) ? M.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, V = [v, {}, !1];
118
- return V.t = v, V.i18n = {}, V.ready = !1, V;
115
+ if (C && !C.reportNamespaces && (C.reportNamespaces = new F2()), !C) {
116
+ R1("You will need to pass in an i18next instance by using initReactI18next");
117
+ const v = (N, M) => z(M) ? M : K2(M) && z(M.defaultValue) ? M.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, R = [v, {}, !1];
118
+ return R.t = v, R.i18n = {}, R.ready = !1, R;
119
119
  }
120
- C.options.react && C.options.react.wait !== void 0 && V1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
120
+ C.options.react && C.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
  ...I2(),
123
123
  ...C.options.react,
@@ -131,25 +131,25 @@ const F2 = (l, e) => {
131
131
  const r = (C.isInitialized || C.initializedStoreOnce) && o.every((v) => D2(v, C, c)), p = U2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), w = () => p, f = () => i2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), [u, L] = E(w);
132
132
  let m = o.join();
133
133
  e.lng && (m = `${e.lng}${m}`);
134
- const x = F2(m), R = P(!0);
134
+ const Z = j2(m), V = P(!0);
135
135
  D(() => {
136
136
  const {
137
137
  bindI18n: v,
138
- bindI18nStore: V
138
+ bindI18nStore: R
139
139
  } = c;
140
- R.current = !0, !r && !d && (e.lng ? B1(C, e.lng, o, () => {
141
- R.current && L(f);
140
+ V.current = !0, !r && !d && (e.lng ? B1(C, e.lng, o, () => {
141
+ V.current && L(f);
142
142
  }) : G1(C, o, () => {
143
- R.current && L(f);
144
- })), r && x && x !== m && R.current && L(f);
143
+ V.current && L(f);
144
+ })), r && Z && Z !== m && V.current && L(f);
145
145
  const N = () => {
146
- R.current && L(f);
146
+ V.current && L(f);
147
147
  };
148
- return v && C && C.on(v, N), V && C && C.store.on(V, N), () => {
149
- R.current = !1, v && C && v.split(" ").forEach((M) => C.off(M, N)), V && C && V.split(" ").forEach((M) => C.store.off(M, N));
148
+ return v && C && C.on(v, N), R && C && C.store.on(R, N), () => {
149
+ V.current = !1, v && C && v.split(" ").forEach((M) => C.off(M, N)), R && C && R.split(" ").forEach((M) => C.store.off(M, N));
150
150
  };
151
151
  }, [C, m]), D(() => {
152
- R.current && r && L(w);
152
+ V.current && r && L(w);
153
153
  }, [C, a, r]);
154
154
  const b = [u, C, r];
155
155
  if (b.t = u, b.i18n = C, b.ready = r, r || !r && !d) return b;
@@ -166,7 +166,7 @@ const F2 = (l, e) => {
166
166
  gap: c,
167
167
  padding: d
168
168
  }) => /* @__PURE__ */ n(
169
- x2,
169
+ Z2,
170
170
  {
171
171
  className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
172
172
  vertical: e === "column",
@@ -205,9 +205,9 @@ const F2 = (l, e) => {
205
205
  o.current && p(o.current.scrollWidth > o.current.clientWidth);
206
206
  };
207
207
  m();
208
- const x = new ResizeObserver(m);
209
- return o.current && x.observe(o.current), (L = o.current) != null && L.parentElement && x.observe(o.current.parentElement), () => {
210
- x.disconnect();
208
+ const Z = new ResizeObserver(m);
209
+ return o.current && Z.observe(o.current), (L = o.current) != null && L.parentElement && Z.observe(o.current.parentElement), () => {
210
+ Z.disconnect();
211
211
  };
212
212
  }, [d]);
213
213
  const w = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -251,7 +251,7 @@ const F2 = (l, e) => {
251
251
  style: { gap: l ? e === "large" || e === "medium" ? 12 : 8 : 0 },
252
252
  children: [
253
253
  /* @__PURE__ */ n(
254
- R2,
254
+ V2,
255
255
  {
256
256
  className: `snmt-avatar ${s ? "image" : ""}`,
257
257
  src: s,
@@ -297,9 +297,9 @@ const F2 = (l, e) => {
297
297
  o.current && p(o.current.scrollWidth > o.current.clientWidth);
298
298
  };
299
299
  m();
300
- const x = new ResizeObserver(m);
301
- return o.current && x.observe(o.current), (L = o.current) != null && L.parentElement && x.observe(o.current.parentElement), () => {
302
- x.disconnect();
300
+ const Z = new ResizeObserver(m);
301
+ return o.current && Z.observe(o.current), (L = o.current) != null && L.parentElement && Z.observe(o.current.parentElement), () => {
302
+ Z.disconnect();
303
303
  };
304
304
  }, [d]);
305
305
  const w = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -333,7 +333,7 @@ const F2 = (l, e) => {
333
333
  }, [l, e]);
334
334
  const { theme: r } = T(Q);
335
335
  return /* @__PURE__ */ n(
336
- Z2,
336
+ x2,
337
337
  {
338
338
  className: `snmt-checkbox snmt-checkbox-${r}`,
339
339
  checked: c,
@@ -1031,7 +1031,7 @@ const F2 = (l, e) => {
1031
1031
  )
1032
1032
  ]
1033
1033
  }
1034
- ), x5 = ({
1034
+ ), Z5 = ({
1035
1035
  width: l = 20,
1036
1036
  height: e = 20,
1037
1037
  color: t = h.GREY_DARK_5,
@@ -1078,7 +1078,7 @@ const F2 = (l, e) => {
1078
1078
  )
1079
1079
  ]
1080
1080
  }
1081
- ), Z5 = ({
1081
+ ), x5 = ({
1082
1082
  width: l = 20,
1083
1083
  height: e = 20,
1084
1084
  color: t = h.GREY_DARK_5,
@@ -1125,7 +1125,7 @@ const F2 = (l, e) => {
1125
1125
  )
1126
1126
  ]
1127
1127
  }
1128
- ), R5 = ({
1128
+ ), V5 = ({
1129
1129
  width: l = 20,
1130
1130
  height: e = 20,
1131
1131
  color: t = h.GREY_DARK_5,
@@ -1165,7 +1165,7 @@ const F2 = (l, e) => {
1165
1165
  )
1166
1166
  ]
1167
1167
  }
1168
- ), V5 = ({
1168
+ ), R5 = ({
1169
1169
  width: l = 20,
1170
1170
  height: e = 20,
1171
1171
  color: t = h.GREY_DARK_5,
@@ -1762,7 +1762,7 @@ const F2 = (l, e) => {
1762
1762
  }
1763
1763
  )
1764
1764
  }
1765
- ), j5 = ({
1765
+ ), F5 = ({
1766
1766
  className: l,
1767
1767
  color: e = h.GREY_DARK_5,
1768
1768
  height: t = 20,
@@ -1809,7 +1809,7 @@ const F2 = (l, e) => {
1809
1809
  )
1810
1810
  ]
1811
1811
  }
1812
- ), F5 = ({
1812
+ ), j5 = ({
1813
1813
  className: l,
1814
1814
  color: e = h.GREY_DARK_5,
1815
1815
  height: t = 20,
@@ -2549,7 +2549,7 @@ const F2 = (l, e) => {
2549
2549
  color: t = h.GREY_DARK_5,
2550
2550
  className: i,
2551
2551
  onClick: s
2552
- }) => /* @__PURE__ */ n(
2552
+ }) => /* @__PURE__ */ g(
2553
2553
  "svg",
2554
2554
  {
2555
2555
  width: l,
@@ -2559,16 +2559,29 @@ const F2 = (l, e) => {
2559
2559
  xmlns: "http://www.w3.org/2000/svg",
2560
2560
  className: i,
2561
2561
  onClick: s,
2562
- children: /* @__PURE__ */ n(
2563
- "path",
2564
- {
2565
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
2566
- stroke: t,
2567
- strokeWidth: "1.5",
2568
- strokeLinecap: "round",
2569
- strokeLinejoin: "round"
2570
- }
2571
- )
2562
+ children: [
2563
+ /* @__PURE__ */ n(
2564
+ "path",
2565
+ {
2566
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
2567
+ fill: t
2568
+ }
2569
+ ),
2570
+ /* @__PURE__ */ n(
2571
+ "path",
2572
+ {
2573
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
2574
+ fill: t
2575
+ }
2576
+ ),
2577
+ /* @__PURE__ */ n(
2578
+ "path",
2579
+ {
2580
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
2581
+ fill: t
2582
+ }
2583
+ )
2584
+ ]
2572
2585
  }
2573
2586
  ), d7 = ({
2574
2587
  width: l = 20,
@@ -2641,7 +2654,7 @@ const F2 = (l, e) => {
2641
2654
  case "users":
2642
2655
  return M5({ width: e, height: t, color: a, className: r, onClick: o });
2643
2656
  case "mySkillsMatrix":
2644
- return x5({
2657
+ return Z5({
2645
2658
  width: e,
2646
2659
  height: t,
2647
2660
  color: a,
@@ -2649,9 +2662,9 @@ const F2 = (l, e) => {
2649
2662
  onClick: o
2650
2663
  });
2651
2664
  case "skills":
2652
- return Z5({ width: e, height: t, color: a, className: r, onClick: o });
2665
+ return x5({ width: e, height: t, color: a, className: r, onClick: o });
2653
2666
  case "skillsMatrices":
2654
- return R5({
2667
+ return V5({
2655
2668
  width: e,
2656
2669
  height: t,
2657
2670
  color: a,
@@ -2659,7 +2672,7 @@ const F2 = (l, e) => {
2659
2672
  onClick: o
2660
2673
  });
2661
2674
  case "history":
2662
- return V5({ width: e, height: t, color: a, className: r, onClick: o });
2675
+ return R5({ width: e, height: t, color: a, className: r, onClick: o });
2663
2676
  case "logOut":
2664
2677
  return H5({ width: e, height: t, color: a, className: r, onClick: o });
2665
2678
  case "settings":
@@ -2713,11 +2726,11 @@ const F2 = (l, e) => {
2713
2726
  case "telegram":
2714
2727
  return T5({ width: e, height: t, color: a, className: r, onClick: o });
2715
2728
  case "mail":
2716
- return F5({ width: e, height: t, color: a, className: r, onClick: o });
2729
+ return j5({ width: e, height: t, color: a, className: r, onClick: o });
2717
2730
  case "github":
2718
2731
  return P5({ width: e, height: t, color: a, className: r, onClick: o });
2719
2732
  case "linkedIn":
2720
- return j5({ width: e, height: t, color: a, className: r, onClick: o });
2733
+ return F5({ width: e, height: t, color: a, className: r, onClick: o });
2721
2734
  case "emptyStateIcon":
2722
2735
  return U5({ width: e, height: t, color: a, className: r, onClick: o });
2723
2736
  case "dotMenuIcon":
@@ -2787,9 +2800,9 @@ const F2 = (l, e) => {
2787
2800
  o.current && p(o.current.scrollWidth > o.current.clientWidth);
2788
2801
  };
2789
2802
  m();
2790
- const x = new ResizeObserver(m);
2791
- return o.current && x.observe(o.current), (L = o.current) != null && L.parentElement && x.observe(o.current.parentElement), () => {
2792
- x.disconnect();
2803
+ const Z = new ResizeObserver(m);
2804
+ return o.current && Z.observe(o.current), (L = o.current) != null && L.parentElement && Z.observe(o.current.parentElement), () => {
2805
+ Z.disconnect();
2793
2806
  };
2794
2807
  }, [d]);
2795
2808
  const w = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -2997,7 +3010,7 @@ const F2 = (l, e) => {
2997
3010
  }
2998
3011
  )
2999
3012
  }
3000
- ), x7 = ({
3013
+ ), Z7 = ({
3001
3014
  width: l = 20,
3002
3015
  height: e = 20,
3003
3016
  color: t = h.GREY_DARK_5,
@@ -3024,7 +3037,7 @@ const F2 = (l, e) => {
3024
3037
  /* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ n("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
3025
3038
  ]
3026
3039
  }
3027
- ), Z7 = ({
3040
+ ), x7 = ({
3028
3041
  width: l = 20,
3029
3042
  height: e = 20,
3030
3043
  color: t = h.GREY_DARK_5,
@@ -3048,7 +3061,7 @@ const F2 = (l, e) => {
3048
3061
  }
3049
3062
  )
3050
3063
  }
3051
- ), R7 = ({
3064
+ ), V7 = ({
3052
3065
  width: l = 20,
3053
3066
  height: e = 20,
3054
3067
  color: t = h.GREY_DARK_5,
@@ -3088,7 +3101,7 @@ const F2 = (l, e) => {
3088
3101
  )
3089
3102
  ]
3090
3103
  }
3091
- ), V7 = ({
3104
+ ), R7 = ({
3092
3105
  width: l = 20,
3093
3106
  height: e = 20,
3094
3107
  color: t = h.GREY_DARK_5,
@@ -3794,7 +3807,7 @@ const F2 = (l, e) => {
3794
3807
  )
3795
3808
  ]
3796
3809
  }
3797
- ), j7 = ({
3810
+ ), F7 = ({
3798
3811
  width: l = 20,
3799
3812
  height: e = 20,
3800
3813
  color: t = h.GREY_DARK_5,
@@ -3827,7 +3840,7 @@ const F2 = (l, e) => {
3827
3840
  )
3828
3841
  ]
3829
3842
  }
3830
- ), F7 = ({
3843
+ ), j7 = ({
3831
3844
  width: l = 20,
3832
3845
  height: e = 20,
3833
3846
  color: t = h.GREY_DARK_5,
@@ -5000,13 +5013,13 @@ const F2 = (l, e) => {
5000
5013
  )
5001
5014
  ]
5002
5015
  }
5003
- ), x9 = ({
5016
+ ), Z9 = ({
5004
5017
  width: l = 20,
5005
5018
  height: e = 20,
5006
5019
  color: t = h.GREY_DARK_5,
5007
5020
  className: i,
5008
5021
  onClick: s
5009
- }) => /* @__PURE__ */ n(
5022
+ }) => /* @__PURE__ */ g(
5010
5023
  "svg",
5011
5024
  {
5012
5025
  width: l,
@@ -5016,18 +5029,31 @@ const F2 = (l, e) => {
5016
5029
  xmlns: "http://www.w3.org/2000/svg",
5017
5030
  className: i,
5018
5031
  onClick: s,
5019
- children: /* @__PURE__ */ n(
5020
- "path",
5021
- {
5022
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
5023
- stroke: t,
5024
- strokeWidth: "1.5",
5025
- strokeLinecap: "round",
5026
- strokeLinejoin: "round"
5027
- }
5028
- )
5032
+ children: [
5033
+ /* @__PURE__ */ n(
5034
+ "path",
5035
+ {
5036
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
5037
+ fill: t
5038
+ }
5039
+ ),
5040
+ /* @__PURE__ */ n(
5041
+ "path",
5042
+ {
5043
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
5044
+ fill: t
5045
+ }
5046
+ ),
5047
+ /* @__PURE__ */ n(
5048
+ "path",
5049
+ {
5050
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
5051
+ fill: t
5052
+ }
5053
+ )
5054
+ ]
5029
5055
  }
5030
- ), Z9 = ({
5056
+ ), x9 = ({
5031
5057
  width: l = 20,
5032
5058
  height: e = 20,
5033
5059
  color: t = h.GREY_DARK_5,
@@ -5051,7 +5077,7 @@ const F2 = (l, e) => {
5051
5077
  }
5052
5078
  )
5053
5079
  }
5054
- ), R9 = ({
5080
+ ), V9 = ({
5055
5081
  name: l,
5056
5082
  width: e,
5057
5083
  height: t,
@@ -5074,9 +5100,9 @@ const F2 = (l, e) => {
5074
5100
  case "info":
5075
5101
  return k7({ width: e, height: t, color: a, className: r, onClick: o });
5076
5102
  case "archive":
5077
- return R7({ width: e, height: t, color: a, className: r, onClick: o });
5078
- case "unarchive":
5079
5103
  return V7({ width: e, height: t, color: a, className: r, onClick: o });
5104
+ case "unarchive":
5105
+ return R7({ width: e, height: t, color: a, className: r, onClick: o });
5080
5106
  case "calendar":
5081
5107
  return H7({ width: e, height: t, color: a, className: r, onClick: o });
5082
5108
  case "check":
@@ -5126,9 +5152,9 @@ const F2 = (l, e) => {
5126
5152
  case "settings2":
5127
5153
  return T7({ width: e, height: t, color: a, className: r, onClick: o });
5128
5154
  case "checkCircle":
5129
- return j7({ width: e, height: t, color: a, className: r, onClick: o });
5130
- case "cancelCircle":
5131
5155
  return F7({ width: e, height: t, color: a, className: r, onClick: o });
5156
+ case "cancelCircle":
5157
+ return j7({ width: e, height: t, color: a, className: r, onClick: o });
5132
5158
  case "visibilityIcon":
5133
5159
  return U7({
5134
5160
  width: e,
@@ -5162,9 +5188,9 @@ const F2 = (l, e) => {
5162
5188
  case "arrow2Right":
5163
5189
  return M7({ width: e, height: t, color: a, className: r, onClick: o });
5164
5190
  case "arrow2Down":
5165
- return x7({ width: e, height: t, color: a, className: r, onClick: o });
5166
- case "arrow2Left":
5167
5191
  return Z7({ width: e, height: t, color: a, className: r, onClick: o });
5192
+ case "arrow2Left":
5193
+ return x7({ width: e, height: t, color: a, className: r, onClick: o });
5168
5194
  case "link":
5169
5195
  return t9({ width: e, height: t, color: a, className: r, onClick: o });
5170
5196
  case "telegram":
@@ -5210,9 +5236,9 @@ const F2 = (l, e) => {
5210
5236
  case "community":
5211
5237
  return M9({ width: e, height: t, color: a, className: r, onClick: o });
5212
5238
  case "docs":
5213
- return x9({ width: e, height: t, color: a, className: r, onClick: o });
5214
- case "unpaidLeave":
5215
5239
  return Z9({ width: e, height: t, color: a, className: r, onClick: o });
5240
+ case "unpaidLeave":
5241
+ return x9({ width: e, height: t, color: a, className: r, onClick: o });
5216
5242
  default:
5217
5243
  return /* @__PURE__ */ n($, { children: "No Icon provided" });
5218
5244
  }
@@ -5233,7 +5259,7 @@ const F2 = (l, e) => {
5233
5259
  {
5234
5260
  className: `snmt-tag ${t} ${C ? "disabled" : ""}`,
5235
5261
  closeIcon: /* @__PURE__ */ n(
5236
- R9,
5262
+ V9,
5237
5263
  {
5238
5264
  name: "cancelCircle",
5239
5265
  color: C ? h.GREY_DARK_1 : h.GREY_DARK_2,
@@ -5255,7 +5281,7 @@ const F2 = (l, e) => {
5255
5281
  ) : l
5256
5282
  }
5257
5283
  );
5258
- }, { Title: V9, Text: H9 } = d1, _9 = {
5284
+ }, { Title: R9, Text: H9 } = d1, _9 = {
5259
5285
  h1: 1,
5260
5286
  h2: 2,
5261
5287
  h3: 3,
@@ -5282,9 +5308,9 @@ const F2 = (l, e) => {
5282
5308
  o.current && p(o.current.scrollWidth > o.current.clientWidth);
5283
5309
  };
5284
5310
  m();
5285
- const x = new ResizeObserver(m);
5286
- return o.current && x.observe(o.current), (L = o.current) != null && L.parentElement && x.observe(o.current.parentElement), () => {
5287
- x.disconnect();
5311
+ const Z = new ResizeObserver(m);
5312
+ return o.current && Z.observe(o.current), (L = o.current) != null && L.parentElement && Z.observe(o.current.parentElement), () => {
5313
+ Z.disconnect();
5288
5314
  };
5289
5315
  }, [d]);
5290
5316
  const w = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -5302,7 +5328,7 @@ const F2 = (l, e) => {
5302
5328
  }
5303
5329
  } : void 0
5304
5330
  };
5305
- return w ? /* @__PURE__ */ n(V9, { level: _9[e], ...u, children: i }) : /* @__PURE__ */ n(H9, { ...u, children: i });
5331
+ return w ? /* @__PURE__ */ n(R9, { level: _9[e], ...u, children: i }) : /* @__PURE__ */ n(H9, { ...u, children: i });
5306
5332
  }
5307
5333
  ), y9 = ({
5308
5334
  children: l,
@@ -5315,7 +5341,7 @@ const F2 = (l, e) => {
5315
5341
  }) => {
5316
5342
  const [d, a] = E(!1);
5317
5343
  return /* @__PURE__ */ n(
5318
- V2,
5344
+ R2,
5319
5345
  {
5320
5346
  content: e,
5321
5347
  arrow: !1,
@@ -5356,9 +5382,9 @@ const F2 = (l, e) => {
5356
5382
  o.current && p(o.current.scrollWidth > o.current.clientWidth);
5357
5383
  };
5358
5384
  m();
5359
- const x = new ResizeObserver(m);
5360
- return o.current && x.observe(o.current), (L = o.current) != null && L.parentElement && x.observe(o.current.parentElement), () => {
5361
- x.disconnect();
5385
+ const Z = new ResizeObserver(m);
5386
+ return o.current && Z.observe(o.current), (L = o.current) != null && L.parentElement && Z.observe(o.current.parentElement), () => {
5387
+ Z.disconnect();
5362
5388
  };
5363
5389
  }, [d]);
5364
5390
  const w = e === "h1" || e === "h2" || e === "h3" || e === "h4";
@@ -5657,7 +5683,7 @@ const F2 = (l, e) => {
5657
5683
  )
5658
5684
  ]
5659
5685
  }
5660
- ), j9 = ({
5686
+ ), F9 = ({
5661
5687
  width: l = 20,
5662
5688
  height: e = 20,
5663
5689
  color: t = h.GREY_DARK_5,
@@ -5703,7 +5729,7 @@ const F2 = (l, e) => {
5703
5729
  )
5704
5730
  ]
5705
5731
  }
5706
- ), F9 = ({
5732
+ ), j9 = ({
5707
5733
  width: l = 20,
5708
5734
  height: e = 20,
5709
5735
  color: t = h.GREY_DARK_5,
@@ -6868,7 +6894,7 @@ const F2 = (l, e) => {
6868
6894
  )
6869
6895
  ]
6870
6896
  }
6871
- ), x0 = ({
6897
+ ), Z0 = ({
6872
6898
  className: l,
6873
6899
  color: e = h.GREY_DARK_5,
6874
6900
  height: t = 20,
@@ -6905,7 +6931,7 @@ const F2 = (l, e) => {
6905
6931
  )
6906
6932
  ]
6907
6933
  }
6908
- ), Z0 = ({
6934
+ ), x0 = ({
6909
6935
  className: l,
6910
6936
  color: e = h.GREY_DARK_5,
6911
6937
  height: t = 20,
@@ -6929,7 +6955,7 @@ const F2 = (l, e) => {
6929
6955
  }
6930
6956
  )
6931
6957
  }
6932
- ), R0 = ({
6958
+ ), V0 = ({
6933
6959
  className: l,
6934
6960
  color: e = h.GREY_DARK_5,
6935
6961
  height: t = 20,
@@ -6990,7 +7016,7 @@ const F2 = (l, e) => {
6990
7016
  )
6991
7017
  ]
6992
7018
  }
6993
- ), V0 = ({
7019
+ ), R0 = ({
6994
7020
  className: l,
6995
7021
  color: e = h.GREY_DARK_5,
6996
7022
  height: t = 20,
@@ -7575,7 +7601,7 @@ const F2 = (l, e) => {
7575
7601
  color: t = h.GREY_DARK_5,
7576
7602
  className: i,
7577
7603
  onClick: s
7578
- }) => /* @__PURE__ */ n(
7604
+ }) => /* @__PURE__ */ g(
7579
7605
  "svg",
7580
7606
  {
7581
7607
  width: l,
@@ -7585,16 +7611,29 @@ const F2 = (l, e) => {
7585
7611
  xmlns: "http://www.w3.org/2000/svg",
7586
7612
  className: i,
7587
7613
  onClick: s,
7588
- children: /* @__PURE__ */ n(
7589
- "path",
7590
- {
7591
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
7592
- stroke: t,
7593
- strokeWidth: "1.5",
7594
- strokeLinecap: "round",
7595
- strokeLinejoin: "round"
7596
- }
7597
- )
7614
+ children: [
7615
+ /* @__PURE__ */ n(
7616
+ "path",
7617
+ {
7618
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
7619
+ fill: t
7620
+ }
7621
+ ),
7622
+ /* @__PURE__ */ n(
7623
+ "path",
7624
+ {
7625
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
7626
+ fill: t
7627
+ }
7628
+ ),
7629
+ /* @__PURE__ */ n(
7630
+ "path",
7631
+ {
7632
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
7633
+ fill: t
7634
+ }
7635
+ )
7636
+ ]
7598
7637
  }
7599
7638
  ), P0 = ({
7600
7639
  width: l = 20,
@@ -7645,9 +7684,9 @@ const F2 = (l, e) => {
7645
7684
  case "archive":
7646
7685
  return T9({ width: e, height: t, color: a, className: r, onClick: o });
7647
7686
  case "unarchive":
7648
- return j9({ width: e, height: t, color: a, className: r, onClick: o });
7649
- case "calendar":
7650
7687
  return F9({ width: e, height: t, color: a, className: r, onClick: o });
7688
+ case "calendar":
7689
+ return j9({ width: e, height: t, color: a, className: r, onClick: o });
7651
7690
  case "check":
7652
7691
  return U9({ width: e, height: t, color: a, className: r, onClick: o });
7653
7692
  case "cancel":
@@ -7661,7 +7700,7 @@ const F2 = (l, e) => {
7661
7700
  case "filter1":
7662
7701
  return q9({ width: e, height: t, color: a, className: r, onClick: o });
7663
7702
  case "filter2":
7664
- return Z0({ width: e, height: t, color: a, className: r, onClick: o });
7703
+ return x0({ width: e, height: t, color: a, className: r, onClick: o });
7665
7704
  case "attention":
7666
7705
  return X9({ width: e, height: t, color: a, className: r, onClick: o });
7667
7706
  case "users":
@@ -7745,11 +7784,11 @@ const F2 = (l, e) => {
7745
7784
  case "linkedIn":
7746
7785
  return N0({ width: e, height: t, color: a, className: r, onClick: o });
7747
7786
  case "emptyStateIcon":
7748
- return x0({ width: e, height: t, color: a, className: r, onClick: o });
7787
+ return Z0({ width: e, height: t, color: a, className: r, onClick: o });
7749
7788
  case "dotMenuIcon":
7750
- return R0({ width: e, height: t, color: a, className: r, onClick: o });
7751
- case "plusCircle":
7752
7789
  return V0({ width: e, height: t, color: a, className: r, onClick: o });
7790
+ case "plusCircle":
7791
+ return R0({ width: e, height: t, color: a, className: r, onClick: o });
7753
7792
  case "warning":
7754
7793
  return H0({ width: e, height: t, color: a, className: r, onClick: o });
7755
7794
  case "bell":
@@ -7812,7 +7851,7 @@ const F2 = (l, e) => {
7812
7851
  children: /* @__PURE__ */ n(s2, { variant: s, color: h.GREY_DARK_4, children: l })
7813
7852
  }
7814
7853
  );
7815
- }, j0 = ({
7854
+ }, F0 = ({
7816
7855
  text: l,
7817
7856
  status: e,
7818
7857
  withIcon: t = !1,
@@ -7861,8 +7900,8 @@ const F2 = (l, e) => {
7861
7900
  ]
7862
7901
  }
7863
7902
  );
7864
- }, n2 = (l) => l.variant === "status" ? /* @__PURE__ */ n(j0, { ...l }) : /* @__PURE__ */ n(T0, { ...l });
7865
- var F0 = { exports: {} };
7903
+ }, n2 = (l) => l.variant === "status" ? /* @__PURE__ */ n(F0, { ...l }) : /* @__PURE__ */ n(T0, { ...l });
7904
+ var j0 = { exports: {} };
7866
7905
  (function(l, e) {
7867
7906
  (function(t, i) {
7868
7907
  l.exports = i();
@@ -7872,7 +7911,7 @@ var F0 = { exports: {} };
7872
7911
  return "[" + t + (i[(s - 20) % 10] || i[s] || i[0]) + "]";
7873
7912
  } };
7874
7913
  });
7875
- })(F0);
7914
+ })(j0);
7876
7915
  const U0 = ({
7877
7916
  values: l,
7878
7917
  onTagClose: e,
@@ -7890,7 +7929,7 @@ const U0 = ({
7890
7929
  return null;
7891
7930
  const w = (f) => {
7892
7931
  var u, L;
7893
- return ((u = C == null ? void 0 : C.find((x) => x.value === f)) == null ? void 0 : u.label) || ((L = c == null ? void 0 : c.find((x) => x.value === f)) == null ? void 0 : L.label) || f;
7932
+ return ((u = C == null ? void 0 : C.find((Z) => Z.value === f)) == null ? void 0 : u.label) || ((L = c == null ? void 0 : c.find((Z) => Z.value === f)) == null ? void 0 : L.label) || f;
7894
7933
  };
7895
7934
  return /* @__PURE__ */ g(
7896
7935
  y9,
@@ -8962,7 +9001,7 @@ const U0 = ({
8962
9001
  )
8963
9002
  ]
8964
9003
  }
8965
- ), x4 = ({
9004
+ ), Z4 = ({
8966
9005
  width: l = 20,
8967
9006
  height: e = 20,
8968
9007
  color: t = h.GREY_DARK_5,
@@ -8995,7 +9034,7 @@ const U0 = ({
8995
9034
  )
8996
9035
  ]
8997
9036
  }
8998
- ), Z4 = ({
9037
+ ), x4 = ({
8999
9038
  width: l = 20,
9000
9039
  height: e = 20,
9001
9040
  color: t = "#070739",
@@ -9025,7 +9064,7 @@ const U0 = ({
9025
9064
  /* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
9026
9065
  ]
9027
9066
  }
9028
- ), R4 = ({
9067
+ ), V4 = ({
9029
9068
  width: l = 20,
9030
9069
  height: e = 20,
9031
9070
  color: t = "#070739",
@@ -9063,7 +9102,7 @@ const U0 = ({
9063
9102
  )
9064
9103
  ]
9065
9104
  }
9066
- ), V4 = ({
9105
+ ), R4 = ({
9067
9106
  width: l = 20,
9068
9107
  height: e = 20,
9069
9108
  color: t = h.GREY_DARK_5,
@@ -9699,7 +9738,7 @@ const U0 = ({
9699
9738
  )
9700
9739
  ]
9701
9740
  }
9702
- ), j4 = ({
9741
+ ), F4 = ({
9703
9742
  className: l,
9704
9743
  color: e = h.GREY_DARK_5,
9705
9744
  height: t = 20,
@@ -9753,7 +9792,7 @@ const U0 = ({
9753
9792
  )
9754
9793
  ]
9755
9794
  }
9756
- ), F4 = ({
9795
+ ), j4 = ({
9757
9796
  className: l,
9758
9797
  color: e = h.GREY_DARK_5,
9759
9798
  height: t = 20,
@@ -10141,7 +10180,7 @@ const U0 = ({
10141
10180
  color: t = h.GREY_DARK_5,
10142
10181
  className: i,
10143
10182
  onClick: s
10144
- }) => /* @__PURE__ */ n(
10183
+ }) => /* @__PURE__ */ g(
10145
10184
  "svg",
10146
10185
  {
10147
10186
  width: l,
@@ -10151,16 +10190,29 @@ const U0 = ({
10151
10190
  xmlns: "http://www.w3.org/2000/svg",
10152
10191
  className: i,
10153
10192
  onClick: s,
10154
- children: /* @__PURE__ */ n(
10155
- "path",
10156
- {
10157
- d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
10158
- stroke: t,
10159
- strokeWidth: "1.5",
10160
- strokeLinecap: "round",
10161
- strokeLinejoin: "round"
10162
- }
10163
- )
10193
+ children: [
10194
+ /* @__PURE__ */ n(
10195
+ "path",
10196
+ {
10197
+ d: "M20.25 19V6.81055L16.1895 2.75L7 2.75C6.58579 2.75 6.25 2.41421 6.25 2C6.25 1.58579 6.58579 1.25 7 1.25L16.5 1.25C16.6989 1.25 16.8896 1.32907 17.0303 1.46973L21.5303 5.96973C21.6709 6.11038 21.75 6.30109 21.75 6.5V19C21.75 19.4142 21.4142 19.75 21 19.75C20.5858 19.75 20.25 19.4142 20.25 19Z",
10198
+ fill: t
10199
+ }
10200
+ ),
10201
+ /* @__PURE__ */ n(
10202
+ "path",
10203
+ {
10204
+ d: "M18.75 20.5C18.75 21.7426 17.7426 22.75 16.5 22.75H4.5C3.25736 22.75 2.25 21.7426 2.25 20.5V6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H14.252C14.6098 4.25013 14.953 4.39245 15.2061 4.64551L18.3545 7.79395C18.6076 8.04701 18.7499 8.39018 18.75 8.74805V20.5ZM3.75 20.5C3.75 20.9142 4.08579 21.25 4.5 21.25H16.5C16.9142 21.25 17.25 20.9142 17.25 20.5V8.81055L14.1895 5.75H4.5C4.08579 5.75 3.75 6.08579 3.75 6.5V20.5Z",
10205
+ fill: t
10206
+ }
10207
+ ),
10208
+ /* @__PURE__ */ n(
10209
+ "path",
10210
+ {
10211
+ d: "M13.25 5C13.25 4.58579 13.5858 4.25 14 4.25C14.4142 4.25 14.75 4.58579 14.75 5V8.25H18C18.4142 8.25 18.75 8.58579 18.75 9C18.75 9.41421 18.4142 9.75 18 9.75H14.5996C13.8543 9.74979 13.2502 9.14567 13.25 8.40039V5Z",
10212
+ fill: t
10213
+ }
10214
+ )
10215
+ ]
10164
10216
  }
10165
10217
  ), l6 = ({
10166
10218
  width: l = 20,
@@ -10263,9 +10315,9 @@ const U0 = ({
10263
10315
  case "checkCircle":
10264
10316
  return M4({ width: e, height: t, color: a, className: r, onClick: o });
10265
10317
  case "cancelCircle":
10266
- return x4({ width: e, height: t, color: a, className: r, onClick: o });
10318
+ return Z4({ width: e, height: t, color: a, className: r, onClick: o });
10267
10319
  case "visibilityIcon":
10268
- return Z4({
10320
+ return x4({
10269
10321
  width: e,
10270
10322
  height: t,
10271
10323
  color: a,
@@ -10273,7 +10325,7 @@ const U0 = ({
10273
10325
  onClick: o
10274
10326
  });
10275
10327
  case "visibilityOffIcon":
10276
- return R4({
10328
+ return V4({
10277
10329
  width: e,
10278
10330
  height: t,
10279
10331
  color: a,
@@ -10281,7 +10333,7 @@ const U0 = ({
10281
10333
  onClick: o
10282
10334
  });
10283
10335
  case "sortUp":
10284
- return V4({ width: e, height: t, color: a, className: r, onClick: o });
10336
+ return R4({ width: e, height: t, color: a, className: r, onClick: o });
10285
10337
  case "sortDown":
10286
10338
  return H4({ width: e, height: t, color: a, className: r, onClick: o });
10287
10339
  case "sortDouble":
@@ -10323,9 +10375,9 @@ const U0 = ({
10323
10375
  case "copy":
10324
10376
  return T4({ width: e, height: t, color: a, className: r, onClick: o });
10325
10377
  case "contract":
10326
- return j4({ width: e, height: t, color: a, className: r, onClick: o });
10327
- case "resourceManager":
10328
10378
  return F4({ width: e, height: t, color: a, className: r, onClick: o });
10379
+ case "resourceManager":
10380
+ return j4({ width: e, height: t, color: a, className: r, onClick: o });
10329
10381
  case "image":
10330
10382
  return U4({ width: e, height: t, color: a, className: r, onClick: o });
10331
10383
  case "edit":
@@ -10400,11 +10452,11 @@ const r6 = q((l, e) => {
10400
10452
  onDropdownVisibleChange: u,
10401
10453
  onScrollToEnd: L,
10402
10454
  onPopupScroll: m,
10403
- id: x,
10404
- extraOptions: R,
10455
+ id: Z,
10456
+ extraOptions: V,
10405
10457
  dropdownRender: b,
10406
10458
  optionRender: v,
10407
- isLoading: V,
10459
+ isLoading: R,
10408
10460
  readOnly: N,
10409
10461
  error: M,
10410
10462
  selectedItemVariant: G = "default",
@@ -10412,7 +10464,7 @@ const r6 = q((l, e) => {
10412
10464
  } = l;
10413
10465
  let X;
10414
10466
  C && C !== "single" && (X = l.overflowBehaviour ?? "responsive");
10415
- const [S, w1] = E(!1), [U, j] = E(!1), [F, W] = E(!1), [s1, A] = E(!0), [_, Y] = E(t), n1 = P(null), M1 = C === "single" && G === "badge";
10467
+ const [S, w1] = E(!1), [U, F] = E(!1), [j, W] = E(!1), [s1, A] = E(!0), [_, Y] = E(t), n1 = P(null), M1 = C === "single" && G === "badge";
10416
10468
  D(() => {
10417
10469
  Y(t);
10418
10470
  }, [t]);
@@ -10422,9 +10474,9 @@ const r6 = q((l, e) => {
10422
10474
  var y;
10423
10475
  return !!((y = H == null ? void 0 : H.label) != null && y.toString().toLowerCase().includes(k.toLowerCase()));
10424
10476
  }, g2 = () => {
10425
- j(!0);
10477
+ F(!0);
10426
10478
  }, w2 = () => {
10427
- j(!1);
10479
+ F(!1);
10428
10480
  }, e1 = O(
10429
10481
  (k) => {
10430
10482
  let H = null;
@@ -10469,12 +10521,12 @@ const r6 = q((l, e) => {
10469
10521
  }, u2 = async (k) => {
10470
10522
  const { target: H } = k;
10471
10523
  H.scrollTop + H.offsetHeight >= H.scrollHeight - w && (L == null || L(!0)), m && await m(k);
10472
- }, x1 = O(
10524
+ }, Z1 = O(
10473
10525
  (k) => {
10474
10526
  var H, y;
10475
- return ((H = d.find((t1) => t1.value === k)) == null ? void 0 : H.label) || ((y = R == null ? void 0 : R.find((t1) => t1.value === k)) == null ? void 0 : y.label) || k;
10527
+ return ((H = d.find((t1) => t1.value === k)) == null ? void 0 : H.label) || ((y = V == null ? void 0 : V.find((t1) => t1.value === k)) == null ? void 0 : y.label) || k;
10476
10528
  },
10477
- [R, d]
10529
+ [V, d]
10478
10530
  ), L2 = O(
10479
10531
  (k, H = "default") => {
10480
10532
  var y;
@@ -10487,18 +10539,18 @@ const r6 = q((l, e) => {
10487
10539
  disabled: o,
10488
10540
  closable: !N,
10489
10541
  options: d,
10490
- extraOptions: R,
10542
+ extraOptions: V,
10491
10543
  selectedItemVariant: H
10492
10544
  }
10493
10545
  );
10494
10546
  },
10495
- [o, R, f1, d, N]
10547
+ [o, V, f1, d, N]
10496
10548
  ), m2 = O(
10497
10549
  ({ label: k, value: H, mode: y }) => {
10498
10550
  if (y === "filter")
10499
10551
  return E1(H);
10500
10552
  {
10501
- const o1 = G === "badge" && d.find((v2) => v2.label === k), t1 = typeof k == "object" ? k : x1(H);
10553
+ const o1 = G === "badge" && d.find((v2) => v2.label === k), t1 = typeof k == "object" ? k : Z1(H);
10502
10554
  return /* @__PURE__ */ n("div", { onMouseDown: p2, className: "tag-wrapper", children: G === "badge" ? /* @__PURE__ */ n(
10503
10555
  n2,
10504
10556
  {
@@ -10510,7 +10562,7 @@ const r6 = q((l, e) => {
10510
10562
  ) : /* @__PURE__ */ n(l2, { onClose: () => f1(H), disabled: o, children: t1 }) });
10511
10563
  }
10512
10564
  },
10513
- [o, x1, f1, E1, G, d]
10565
+ [o, Z1, f1, E1, G, d]
10514
10566
  ), A1 = Array.isArray(_) && _.length > 0 || !!_ && typeof _ == "string" && _.trim() !== "";
10515
10567
  return /* @__PURE__ */ g(
10516
10568
  "div",
@@ -10533,7 +10585,7 @@ const r6 = q((l, e) => {
10533
10585
  {
10534
10586
  className: "snmt-select-blank",
10535
10587
  popupClassName: N ? "dropdown-read-only" : "",
10536
- id: x,
10588
+ id: Z,
10537
10589
  ref: e,
10538
10590
  showSearch: !!c,
10539
10591
  filterOption: c && d2,
@@ -10541,7 +10593,7 @@ const r6 = q((l, e) => {
10541
10593
  disabled: o,
10542
10594
  value: _ || void 0,
10543
10595
  labelRender: (k) => {
10544
- const H = x1(k.value);
10596
+ const H = Z1(k.value);
10545
10597
  return o ? /* @__PURE__ */ n("span", { style: { color: h.GREY_DARK_1 }, children: H }) : H;
10546
10598
  },
10547
10599
  mode: C6(C, M1),
@@ -10560,7 +10612,7 @@ const r6 = q((l, e) => {
10560
10612
  maxTagCount: X === "responsive" ? "responsive" : void 0,
10561
10613
  maxTagPlaceholder: (k) => L2(k, G),
10562
10614
  onPopupScroll: u2,
10563
- prefix: V && /* @__PURE__ */ n(S1, { size: "small" }),
10615
+ prefix: R && /* @__PURE__ */ n(S1, { size: "small" }),
10564
10616
  suffixIcon: /* @__PURE__ */ n("div", { className: "wrapper-suffix-icon", children: C !== "filter" && /* @__PURE__ */ g($, { children: [
10565
10617
  _ && !!_.length && p && /* @__PURE__ */ n(
10566
10618
  "div",
@@ -10578,7 +10630,7 @@ const r6 = q((l, e) => {
10578
10630
  )
10579
10631
  }
10580
10632
  ),
10581
- B === "borderless" && (F || U) && /* @__PURE__ */ n(
10633
+ B === "borderless" && (j || U) && /* @__PURE__ */ n(
10582
10634
  n6,
10583
10635
  {
10584
10636
  isActive: S,
@@ -10621,14 +10673,14 @@ const r6 = q((l, e) => {
10621
10673
  ] }),
10622
10674
  dropdownRender: (k) => /* @__PURE__ */ g("div", { className: "dropdown-container", children: [
10623
10675
  /* @__PURE__ */ n("div", { className: "dropdown-menu", children: b ? b(k) : k }),
10624
- V && /* @__PURE__ */ n("div", { className: "loading-overlay", children: /* @__PURE__ */ n(S1, {}) })
10676
+ R && /* @__PURE__ */ n("div", { className: "loading-overlay", children: /* @__PURE__ */ n(S1, {}) })
10625
10677
  ] })
10626
10678
  }
10627
10679
  ),
10628
10680
  s && B !== "borderless" && /* @__PURE__ */ n(
10629
10681
  "label",
10630
10682
  {
10631
- className: `${U || A1 ? "label-floating" : ""} ${o ? "label-disabled" : ""} ${U ? "label-focused" : ""} ${V ? "label-loading" : ""} ${M ? "label-error" : ""}`,
10683
+ className: `${U || A1 ? "label-floating" : ""} ${o ? "label-disabled" : ""} ${U ? "label-focused" : ""} ${R ? "label-loading" : ""} ${M ? "label-error" : ""}`,
10632
10684
  children: r ? `${s}*` : s
10633
10685
  }
10634
10686
  ),
@@ -10636,7 +10688,7 @@ const r6 = q((l, e) => {
10636
10688
  "fieldset",
10637
10689
  {
10638
10690
  className: `${U ? "fieldset-focused" : ""} ${o ? "fieldset-disabled" : ""} ${A1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}
10639
- ${F ? "fieldset-hovered" : ""}`,
10691
+ ${j ? "fieldset-hovered" : ""}`,
10640
10692
  children: /* @__PURE__ */ n("legend", { children: s && B !== "borderless" && /* @__PURE__ */ n("span", { children: r ? `${s}*` : s }) })
10641
10693
  }
10642
10694
  )
@@ -10662,7 +10714,7 @@ const r6 = q((l, e) => {
10662
10714
  function C6(l, e) {
10663
10715
  return l === "filter" || e ? "multiple" : l === "single" ? void 0 : l;
10664
10716
  }
10665
- const Z = (l) => typeof l == "string", r1 = () => {
10717
+ const x = (l) => typeof l == "string", r1 = () => {
10666
10718
  let l, e;
10667
10719
  const t = new Promise((i, s) => {
10668
10720
  l = i, e = s;
@@ -10672,8 +10724,8 @@ const Z = (l) => typeof l == "string", r1 = () => {
10672
10724
  l.forEach((i) => {
10673
10725
  e[i] && (t[i] = e[i]);
10674
10726
  });
10675
- }, c6 = /###/g, I1 = (l) => l && l.indexOf("###") > -1 ? l.replace(c6, ".") : l, $1 = (l) => !l || Z(l), h1 = (l, e, t) => {
10676
- const i = Z(e) ? e.split(".") : e;
10727
+ }, c6 = /###/g, I1 = (l) => l && l.indexOf("###") > -1 ? l.replace(c6, ".") : l, $1 = (l) => !l || x(l), h1 = (l, e, t) => {
10728
+ const i = x(e) ? e.split(".") : e;
10677
10729
  let s = 0;
10678
10730
  for (; s < i.length - 1; ) {
10679
10731
  if ($1(l)) return {};
@@ -10715,7 +10767,7 @@ const Z = (l) => typeof l == "string", r1 = () => {
10715
10767
  return i !== void 0 ? i : L1(e, t);
10716
10768
  }, o2 = (l, e, t) => {
10717
10769
  for (const i in e)
10718
- i !== "__proto__" && i !== "constructor" && (i in l ? Z(l[i]) || l[i] instanceof String || Z(e[i]) || e[i] instanceof String ? t && (l[i] = e[i]) : o2(l[i], e[i], t) : l[i] = e[i]);
10770
+ i !== "__proto__" && i !== "constructor" && (i in l ? x(l[i]) || l[i] instanceof String || x(e[i]) || e[i] instanceof String ? t && (l[i] = e[i]) : o2(l[i], e[i], t) : l[i] = e[i]);
10719
10771
  return l;
10720
10772
  }, i1 = (l) => l.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
10721
10773
  var w6 = {
@@ -10726,7 +10778,7 @@ var w6 = {
10726
10778
  "'": "&#39;",
10727
10779
  "/": "&#x2F;"
10728
10780
  };
10729
- const f6 = (l) => Z(l) ? l.replace(/[&<>"'\/]/g, (e) => w6[e]) : l;
10781
+ const f6 = (l) => x(l) ? l.replace(/[&<>"'\/]/g, (e) => w6[e]) : l;
10730
10782
  class p6 {
10731
10783
  constructor(e) {
10732
10784
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
@@ -10815,7 +10867,7 @@ class v1 {
10815
10867
  return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
10816
10868
  }
10817
10869
  forward(e, t, i, s) {
10818
- return s && !this.debug ? null : (Z(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
10870
+ return s && !this.debug ? null : (x(e[0]) && (e[0] = `${i}${this.prefix} ${e[0]}`), this.logger[t](e));
10819
10871
  }
10820
10872
  create(e) {
10821
10873
  return new v1(this.logger, {
@@ -10881,9 +10933,9 @@ class T1 extends N1 {
10881
10933
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
10882
10934
  const C = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
10883
10935
  let d;
10884
- e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], i && (Array.isArray(i) ? d.push(...i) : Z(i) && C ? d.push(...i.split(C)) : d.push(i)));
10936
+ e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], i && (Array.isArray(i) ? d.push(...i) : x(i) && C ? d.push(...i.split(C)) : d.push(i)));
10885
10937
  const a = L1(this.data, d);
10886
- return !a && !t && !i && e.indexOf(".") > -1 && (e = d[0], t = d[1], i = d.slice(2).join(".")), a || !c || !Z(i) ? a : H1(this.data && this.data[e] && this.data[e][t], i, C);
10938
+ return !a && !t && !i && e.indexOf(".") > -1 && (e = d[0], t = d[1], i = d.slice(2).join(".")), a || !c || !x(i) ? a : H1(this.data && this.data[e] && this.data[e][t], i, C);
10887
10939
  }
10888
10940
  addResource(e, t, i, s) {
10889
10941
  let C = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -10898,7 +10950,7 @@ class T1 extends N1 {
10898
10950
  silent: !1
10899
10951
  };
10900
10952
  for (const C in i)
10901
- (Z(i[C]) || Array.isArray(i[C])) && this.addResource(e, t, C, i[C], {
10953
+ (x(i[C]) || Array.isArray(i[C])) && this.addResource(e, t, C, i[C], {
10902
10954
  silent: !0
10903
10955
  });
10904
10956
  s.silent || this.emit("added", e, t, i);
@@ -10948,7 +11000,7 @@ var a2 = {
10948
11000
  }), e;
10949
11001
  }
10950
11002
  };
10951
- const j1 = {};
11003
+ const F1 = {};
10952
11004
  class k1 extends N1 {
10953
11005
  constructor(e) {
10954
11006
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -10977,14 +11029,14 @@ class k1 extends N1 {
10977
11029
  if (a && a.length > 0)
10978
11030
  return {
10979
11031
  key: e,
10980
- namespaces: Z(C) ? [C] : C
11032
+ namespaces: x(C) ? [C] : C
10981
11033
  };
10982
11034
  const o = e.split(i);
10983
11035
  (i !== s || i === s && this.options.ns.indexOf(o[0]) > -1) && (C = o.shift()), e = o.join(s);
10984
11036
  }
10985
11037
  return {
10986
11038
  key: e,
10987
- namespaces: Z(C) ? [C] : C
11039
+ namespaces: x(C) ? [C] : C
10988
11040
  };
10989
11041
  }
10990
11042
  translate(e, t, i) {
@@ -11019,8 +11071,8 @@ class k1 extends N1 {
11019
11071
  }
11020
11072
  const p = this.resolve(e, t);
11021
11073
  let w = p && p.res;
11022
- const f = p && p.usedKey || c, u = p && p.exactUsedKey || c, L = Object.prototype.toString.apply(w), m = ["[object Number]", "[object Function]", "[object RegExp]"], x = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, R = !this.i18nFormat || this.i18nFormat.handleAsObject, b = !Z(w) && typeof w != "boolean" && typeof w != "number";
11023
- if (R && w && b && m.indexOf(L) < 0 && !(Z(x) && Array.isArray(w))) {
11074
+ const f = p && p.usedKey || c, u = p && p.exactUsedKey || c, L = Object.prototype.toString.apply(w), m = ["[object Number]", "[object Function]", "[object RegExp]"], Z = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, V = !this.i18nFormat || this.i18nFormat.handleAsObject, b = !x(w) && typeof w != "boolean" && typeof w != "number";
11075
+ if (V && w && b && m.indexOf(L) < 0 && !(x(Z) && Array.isArray(w))) {
11024
11076
  if (!t.returnObjects && !this.options.returnObjects) {
11025
11077
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
11026
11078
  const v = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, w, {
@@ -11030,53 +11082,53 @@ class k1 extends N1 {
11030
11082
  return s ? (p.res = v, p.usedParams = this.getUsedParamsDetails(t), p) : v;
11031
11083
  }
11032
11084
  if (C) {
11033
- const v = Array.isArray(w), V = v ? [] : {}, N = v ? u : f;
11085
+ const v = Array.isArray(w), R = v ? [] : {}, N = v ? u : f;
11034
11086
  for (const M in w)
11035
11087
  if (Object.prototype.hasOwnProperty.call(w, M)) {
11036
11088
  const G = `${N}${C}${M}`;
11037
- V[M] = this.translate(G, {
11089
+ R[M] = this.translate(G, {
11038
11090
  ...t,
11039
11091
  joinArrays: !1,
11040
11092
  ns: d
11041
- }), V[M] === G && (V[M] = w[M]);
11093
+ }), R[M] === G && (R[M] = w[M]);
11042
11094
  }
11043
- w = V;
11095
+ w = R;
11044
11096
  }
11045
- } else if (R && Z(x) && Array.isArray(w))
11046
- w = w.join(x), w && (w = this.extendTranslation(w, e, t, i));
11097
+ } else if (V && x(Z) && Array.isArray(w))
11098
+ w = w.join(Z), w && (w = this.extendTranslation(w, e, t, i));
11047
11099
  else {
11048
- let v = !1, V = !1;
11049
- const N = t.count !== void 0 && !Z(t.count), M = k1.hasDefaultValue(t), G = N ? this.pluralResolver.getSuffix(o, t.count, t) : "", B = t.ordinal && N ? this.pluralResolver.getSuffix(o, t.count, {
11100
+ let v = !1, R = !1;
11101
+ const N = t.count !== void 0 && !x(t.count), M = k1.hasDefaultValue(t), G = N ? this.pluralResolver.getSuffix(o, t.count, t) : "", B = t.ordinal && N ? this.pluralResolver.getSuffix(o, t.count, {
11050
11102
  ordinal: !1
11051
11103
  }) : "", X = N && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), S = X && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${G}`] || t[`defaultValue${B}`] || t.defaultValue;
11052
- !this.isValidLookup(w) && M && (v = !0, w = S), this.isValidLookup(w) || (V = !0, w = c);
11053
- const U = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && V ? void 0 : w, j = M && S !== w && this.options.updateMissing;
11054
- if (V || v || j) {
11055
- if (this.logger.log(j ? "updateKey" : "missingKey", o, a, c, j ? S : w), C) {
11104
+ !this.isValidLookup(w) && M && (v = !0, w = S), this.isValidLookup(w) || (R = !0, w = c);
11105
+ const U = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && R ? void 0 : w, F = M && S !== w && this.options.updateMissing;
11106
+ if (R || v || F) {
11107
+ if (this.logger.log(F ? "updateKey" : "missingKey", o, a, c, F ? S : w), C) {
11056
11108
  const A = this.resolve(c, {
11057
11109
  ...t,
11058
11110
  keySeparator: !1
11059
11111
  });
11060
11112
  A && A.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
11061
11113
  }
11062
- let F = [];
11114
+ let j = [];
11063
11115
  const W = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
11064
11116
  if (this.options.saveMissingTo === "fallback" && W && W[0])
11065
11117
  for (let A = 0; A < W.length; A++)
11066
- F.push(W[A]);
11067
- else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
11118
+ j.push(W[A]);
11119
+ else this.options.saveMissingTo === "all" ? j = this.languageUtils.toResolveHierarchy(t.lng || this.language) : j.push(t.lng || this.language);
11068
11120
  const s1 = (A, _, Y) => {
11069
11121
  const n1 = M && Y !== w ? Y : U;
11070
- this.options.missingKeyHandler ? this.options.missingKeyHandler(A, a, _, n1, j, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, a, _, n1, j, t), this.emit("missingKey", A, a, _, w);
11122
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(A, a, _, n1, F, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(A, a, _, n1, F, t), this.emit("missingKey", A, a, _, w);
11071
11123
  };
11072
- this.options.saveMissing && (this.options.saveMissingPlurals && N ? F.forEach((A) => {
11124
+ this.options.saveMissing && (this.options.saveMissingPlurals && N ? j.forEach((A) => {
11073
11125
  const _ = this.pluralResolver.getSuffixes(A, t);
11074
11126
  X && t[`defaultValue${this.options.pluralSeparator}zero`] && _.indexOf(`${this.options.pluralSeparator}zero`) < 0 && _.push(`${this.options.pluralSeparator}zero`), _.forEach((Y) => {
11075
11127
  s1([A], c + Y, t[`defaultValue${Y}`] || S);
11076
11128
  });
11077
- }) : s1(F, c, S));
11129
+ }) : s1(j, c, S));
11078
11130
  }
11079
- w = this.extendTranslation(w, e, t, p, i), V && w === c && this.options.appendNamespaceToMissingKey && (w = `${a}:${c}`), (V || v) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? w = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${c}` : c, v ? w : void 0) : w = this.options.parseMissingKeyHandler(w));
11131
+ w = this.extendTranslation(w, e, t, p, i), R && w === c && this.options.appendNamespaceToMissingKey && (w = `${a}:${c}`), (R || v) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? w = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${c}` : c, v ? w : void 0) : w = this.options.parseMissingKeyHandler(w));
11080
11132
  }
11081
11133
  return s ? (p.res = w, p.usedParams = this.getUsedParamsDetails(t), p) : w;
11082
11134
  }
@@ -11097,13 +11149,13 @@ class k1 extends N1 {
11097
11149
  ...i.interpolation
11098
11150
  }
11099
11151
  });
11100
- const o = Z(e) && (i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
11152
+ const o = x(e) && (i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
11101
11153
  let r;
11102
11154
  if (o) {
11103
11155
  const w = e.match(this.interpolator.nestingRegexp);
11104
11156
  r = w && w.length;
11105
11157
  }
11106
- let p = i.replace && !Z(i.replace) ? i.replace : i;
11158
+ let p = i.replace && !x(i.replace) ? i.replace : i;
11107
11159
  if (this.options.interpolation.defaultVariables && (p = {
11108
11160
  ...this.options.interpolation.defaultVariables,
11109
11161
  ...p
@@ -11117,7 +11169,7 @@ class k1 extends N1 {
11117
11169
  return C && C[0] === f[0] && !i.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
11118
11170
  }, i)), i.interpolation && this.interpolator.reset();
11119
11171
  }
11120
- const d = i.postProcess || this.options.postProcess, a = Z(d) ? [d] : d;
11172
+ const d = i.postProcess || this.options.postProcess, a = x(d) ? [d] : d;
11121
11173
  return e != null && a && a.length && i.applyPostProcessor !== !1 && (e = a2.handle(a, e, t, this.options && this.options.postProcessPassResolved ? {
11122
11174
  i18nResolved: {
11123
11175
  ...s,
@@ -11128,32 +11180,32 @@ class k1 extends N1 {
11128
11180
  }
11129
11181
  resolve(e) {
11130
11182
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, s, C, c, d;
11131
- return Z(e) && (e = [e]), e.forEach((a) => {
11183
+ return x(e) && (e = [e]), e.forEach((a) => {
11132
11184
  if (this.isValidLookup(i)) return;
11133
11185
  const o = this.extractFromKey(a, t), r = o.key;
11134
11186
  s = r;
11135
11187
  let p = o.namespaces;
11136
11188
  this.options.fallbackNS && (p = p.concat(this.options.fallbackNS));
11137
- const w = t.count !== void 0 && !Z(t.count), f = w && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), u = t.context !== void 0 && (Z(t.context) || typeof t.context == "number") && t.context !== "", L = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
11189
+ const w = t.count !== void 0 && !x(t.count), f = w && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), u = t.context !== void 0 && (x(t.context) || typeof t.context == "number") && t.context !== "", L = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
11138
11190
  p.forEach((m) => {
11139
- this.isValidLookup(i) || (d = m, !j1[`${L[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (j1[`${L[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${L.join(", ")}" won't get resolved as namespace "${d}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), L.forEach((x) => {
11191
+ this.isValidLookup(i) || (d = m, !F1[`${L[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && (F1[`${L[0]}-${m}`] = !0, this.logger.warn(`key "${s}" for languages "${L.join(", ")}" won't get resolved as namespace "${d}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), L.forEach((Z) => {
11140
11192
  if (this.isValidLookup(i)) return;
11141
- c = x;
11142
- const R = [r];
11193
+ c = Z;
11194
+ const V = [r];
11143
11195
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
11144
- this.i18nFormat.addLookupKeys(R, r, x, m, t);
11196
+ this.i18nFormat.addLookupKeys(V, r, Z, m, t);
11145
11197
  else {
11146
11198
  let v;
11147
- w && (v = this.pluralResolver.getSuffix(x, t.count, t));
11148
- const V = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
11149
- if (w && (R.push(r + v), t.ordinal && v.indexOf(N) === 0 && R.push(r + v.replace(N, this.options.pluralSeparator)), f && R.push(r + V)), u) {
11199
+ w && (v = this.pluralResolver.getSuffix(Z, t.count, t));
11200
+ const R = `${this.options.pluralSeparator}zero`, N = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
11201
+ if (w && (V.push(r + v), t.ordinal && v.indexOf(N) === 0 && V.push(r + v.replace(N, this.options.pluralSeparator)), f && V.push(r + R)), u) {
11150
11202
  const M = `${r}${this.options.contextSeparator}${t.context}`;
11151
- R.push(M), w && (R.push(M + v), t.ordinal && v.indexOf(N) === 0 && R.push(M + v.replace(N, this.options.pluralSeparator)), f && R.push(M + V));
11203
+ V.push(M), w && (V.push(M + v), t.ordinal && v.indexOf(N) === 0 && V.push(M + v.replace(N, this.options.pluralSeparator)), f && V.push(M + R));
11152
11204
  }
11153
11205
  }
11154
11206
  let b;
11155
- for (; b = R.pop(); )
11156
- this.isValidLookup(i) || (C = b, i = this.getResource(x, m, b, t));
11207
+ for (; b = V.pop(); )
11208
+ this.isValidLookup(i) || (C = b, i = this.getResource(Z, m, b, t));
11157
11209
  }));
11158
11210
  });
11159
11211
  }), {
@@ -11173,7 +11225,7 @@ class k1 extends N1 {
11173
11225
  }
11174
11226
  getUsedParamsDetails() {
11175
11227
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11176
- const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !Z(e.replace);
11228
+ const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = e.replace && !x(e.replace);
11177
11229
  let s = i ? e.replace : e;
11178
11230
  if (i && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
11179
11231
  ...this.options.interpolation.defaultVariables,
@@ -11195,8 +11247,8 @@ class k1 extends N1 {
11195
11247
  return !1;
11196
11248
  }
11197
11249
  }
11198
- const Z1 = (l) => l.charAt(0).toUpperCase() + l.slice(1);
11199
- class F1 {
11250
+ const x1 = (l) => l.charAt(0).toUpperCase() + l.slice(1);
11251
+ class j1 {
11200
11252
  constructor(e) {
11201
11253
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = I.create("languageUtils");
11202
11254
  }
@@ -11211,7 +11263,7 @@ class F1 {
11211
11263
  return this.formatLanguageCode(t[0]);
11212
11264
  }
11213
11265
  formatLanguageCode(e) {
11214
- if (Z(e) && e.indexOf("-") > -1) {
11266
+ if (x(e) && e.indexOf("-") > -1) {
11215
11267
  if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
11216
11268
  try {
11217
11269
  let s = Intl.getCanonicalLocales(e)[0];
@@ -11220,7 +11272,7 @@ class F1 {
11220
11272
  }
11221
11273
  const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
11222
11274
  let i = e.split("-");
11223
- return this.options.lowerCaseLng ? i = i.map((s) => s.toLowerCase()) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), t.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Z1(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), t.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Z1(i[1].toLowerCase())), t.indexOf(i[2].toLowerCase()) > -1 && (i[2] = Z1(i[2].toLowerCase()))), i.join("-");
11275
+ return this.options.lowerCaseLng ? i = i.map((s) => s.toLowerCase()) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), t.indexOf(i[1].toLowerCase()) > -1 && (i[1] = x1(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), t.indexOf(i[1].toLowerCase()) > -1 && (i[1] = x1(i[1].toLowerCase())), t.indexOf(i[2].toLowerCase()) > -1 && (i[2] = x1(i[2].toLowerCase()))), i.join("-");
11224
11276
  }
11225
11277
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
11226
11278
  }
@@ -11247,7 +11299,7 @@ class F1 {
11247
11299
  }
11248
11300
  getFallbackCodes(e, t) {
11249
11301
  if (!e) return [];
11250
- if (typeof e == "function" && (e = e(t)), Z(e) && (e = [e]), Array.isArray(e)) return e;
11302
+ if (typeof e == "function" && (e = e(t)), x(e) && (e = [e]), Array.isArray(e)) return e;
11251
11303
  if (!t) return e.default || [];
11252
11304
  let i = e[t];
11253
11305
  return i || (i = e[this.getScriptPartFromCode(t)]), i || (i = e[this.formatLanguageCode(t)]), i || (i = e[this.getLanguagePartFromCode(t)]), i || (i = e.default), i || [];
@@ -11256,7 +11308,7 @@ class F1 {
11256
11308
  const i = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], C = (c) => {
11257
11309
  c && (this.isSupportedCode(c) ? s.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
11258
11310
  };
11259
- return Z(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && C(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && C(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && C(this.getLanguagePartFromCode(e))) : Z(e) && C(this.formatLanguageCode(e)), i.forEach((c) => {
11311
+ return x(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && C(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && C(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && C(this.getLanguagePartFromCode(e))) : x(e) && C(this.formatLanguageCode(e)), i.forEach((c) => {
11260
11312
  s.indexOf(c) < 0 && C(this.formatLanguageCode(c));
11261
11313
  }), s;
11262
11314
  }
@@ -11377,14 +11429,14 @@ let k6 = [{
11377
11429
  21: (l) => l % 100 == 1 ? 1 : l % 100 == 2 ? 2 : l % 100 == 3 || l % 100 == 4 ? 3 : 0,
11378
11430
  22: (l) => l == 1 ? 0 : l == 2 ? 1 : (l < 0 || l > 10) && l % 10 == 0 ? 2 : 3
11379
11431
  };
11380
- const M6 = ["v1", "v2", "v3"], x6 = ["v4"], U1 = {
11432
+ const M6 = ["v1", "v2", "v3"], Z6 = ["v4"], U1 = {
11381
11433
  zero: 0,
11382
11434
  one: 1,
11383
11435
  two: 2,
11384
11436
  few: 3,
11385
11437
  many: 4,
11386
11438
  other: 5
11387
- }, Z6 = () => {
11439
+ }, x6 = () => {
11388
11440
  const l = {};
11389
11441
  return k6.forEach((e) => {
11390
11442
  e.lngs.forEach((t) => {
@@ -11395,10 +11447,10 @@ const M6 = ["v1", "v2", "v3"], x6 = ["v4"], U1 = {
11395
11447
  });
11396
11448
  }), l;
11397
11449
  };
11398
- class R6 {
11450
+ class V6 {
11399
11451
  constructor(e) {
11400
11452
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11401
- this.languageUtils = e, this.options = t, this.logger = I.create("pluralResolver"), (!this.options.compatibilityJSON || x6.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 = Z6(), this.pluralRulesCache = {};
11453
+ this.languageUtils = e, this.options = t, this.logger = I.create("pluralResolver"), (!this.options.compatibilityJSON || Z6.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 = x6(), this.pluralRulesCache = {};
11402
11454
  }
11403
11455
  addRule(e, t) {
11404
11456
  this.rules[e] = t;
@@ -11461,9 +11513,9 @@ class R6 {
11461
11513
  }
11462
11514
  const W1 = function(l, e, t) {
11463
11515
  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, C = g6(l, e, t);
11464
- return !C && s && Z(t) && (C = H1(l, t, i), C === void 0 && (C = H1(e, t, i))), C;
11465
- }, R1 = (l) => l.replace(/\$/g, "$$$$");
11466
- class V6 {
11516
+ return !C && s && x(t) && (C = H1(l, t, i), C === void 0 && (C = H1(e, t, i))), C;
11517
+ }, V1 = (l) => l.replace(/\$/g, "$$$$");
11518
+ class R6 {
11467
11519
  constructor() {
11468
11520
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11469
11521
  this.logger = I.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -11489,10 +11541,10 @@ class V6 {
11489
11541
  nestingSuffix: u,
11490
11542
  nestingSuffixEscaped: L,
11491
11543
  nestingOptionsSeparator: m,
11492
- maxReplaces: x,
11493
- alwaysFormat: R
11544
+ maxReplaces: Z,
11545
+ alwaysFormat: V
11494
11546
  } = e.interpolation;
11495
- this.escape = t !== void 0 ? t : f6, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = C ? i1(C) : c || "{{", this.suffix = d ? i1(d) : a || "}}", this.formatSeparator = o || ",", this.unescapePrefix = r ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r || "", this.nestingPrefix = w ? i1(w) : f || i1("$t("), this.nestingSuffix = u ? i1(u) : L || i1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = R !== void 0 ? R : !1, this.resetRegExp();
11547
+ this.escape = t !== void 0 ? t : f6, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = C ? i1(C) : c || "{{", this.suffix = d ? i1(d) : a || "}}", this.formatSeparator = o || ",", this.unescapePrefix = r ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r || "", this.nestingPrefix = w ? i1(w) : f || i1("$t("), this.nestingSuffix = u ? i1(u) : L || i1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = Z || 1e3, this.alwaysFormat = V !== void 0 ? V : !1, this.resetRegExp();
11496
11548
  }
11497
11549
  reset() {
11498
11550
  this.options && this.init(this.options);
@@ -11505,12 +11557,12 @@ class V6 {
11505
11557
  let C, c, d;
11506
11558
  const a = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, o = (f) => {
11507
11559
  if (f.indexOf(this.formatSeparator) < 0) {
11508
- const x = W1(t, a, f, this.options.keySeparator, this.options.ignoreJSONStructure);
11509
- return this.alwaysFormat ? this.format(x, void 0, i, {
11560
+ const Z = W1(t, a, f, this.options.keySeparator, this.options.ignoreJSONStructure);
11561
+ return this.alwaysFormat ? this.format(Z, void 0, i, {
11510
11562
  ...s,
11511
11563
  ...t,
11512
11564
  interpolationkey: f
11513
- }) : x;
11565
+ }) : Z;
11514
11566
  }
11515
11567
  const u = f.split(this.formatSeparator), L = u.shift().trim(), m = u.join(this.formatSeparator).trim();
11516
11568
  return this.format(W1(t, a, L, this.options.keySeparator, this.options.ignoreJSONStructure), m, i, {
@@ -11523,17 +11575,17 @@ class V6 {
11523
11575
  const r = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, p = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
11524
11576
  return [{
11525
11577
  regex: this.regexpUnescape,
11526
- safeValue: (f) => R1(f)
11578
+ safeValue: (f) => V1(f)
11527
11579
  }, {
11528
11580
  regex: this.regexp,
11529
- safeValue: (f) => this.escapeValue ? R1(this.escape(f)) : R1(f)
11581
+ safeValue: (f) => this.escapeValue ? V1(this.escape(f)) : V1(f)
11530
11582
  }].forEach((f) => {
11531
11583
  for (d = 0; C = f.regex.exec(e); ) {
11532
11584
  const u = C[1].trim();
11533
11585
  if (c = o(u), c === void 0)
11534
11586
  if (typeof r == "function") {
11535
11587
  const m = r(e, C, s);
11536
- c = Z(m) ? m : "";
11588
+ c = x(m) ? m : "";
11537
11589
  } else if (s && Object.prototype.hasOwnProperty.call(s, u))
11538
11590
  c = "";
11539
11591
  else if (p) {
@@ -11541,7 +11593,7 @@ class V6 {
11541
11593
  continue;
11542
11594
  } else
11543
11595
  this.logger.warn(`missed to pass in variable ${u} for interpolating ${e}`), c = "";
11544
- else !Z(c) && !this.useRawValueToEscape && (c = O1(c));
11596
+ else !x(c) && !this.useRawValueToEscape && (c = O1(c));
11545
11597
  const L = f.safeValue(c);
11546
11598
  if (e = e.replace(C[0], L), p ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= C[0].length) : f.regex.lastIndex = 0, d++, d >= this.maxReplaces)
11547
11599
  break;
@@ -11572,14 +11624,14 @@ class V6 {
11572
11624
  let a = [];
11573
11625
  c = {
11574
11626
  ...i
11575
- }, c = c.replace && !Z(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
11627
+ }, c = c.replace && !x(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
11576
11628
  let o = !1;
11577
11629
  if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
11578
11630
  const r = s[1].split(this.formatSeparator).map((p) => p.trim());
11579
11631
  s[1] = r.shift(), a = r, o = !0;
11580
11632
  }
11581
- if (C = t(d.call(this, s[1].trim(), c), c), C && s[0] === e && !Z(C)) return C;
11582
- Z(C) || (C = O1(C)), C || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), C = ""), o && (C = a.reduce((r, p) => this.format(r, p, i.lng, {
11633
+ if (C = t(d.call(this, s[1].trim(), c), c), C && s[0] === e && !x(C)) return C;
11634
+ x(C) || (C = O1(C)), C || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), C = ""), o && (C = a.reduce((r, p) => this.format(r, p, i.lng, {
11583
11635
  ...i,
11584
11636
  interpolationkey: s[1].trim()
11585
11637
  }), C.trim())), e = e.replace(s[0], C), this.regexp.lastIndex = 0;
@@ -11786,7 +11838,7 @@ class y6 extends N1 {
11786
11838
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
11787
11839
  if (!this.backend)
11788
11840
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
11789
- Z(e) && (e = this.languageUtils.toResolveHierarchy(e)), Z(t) && (t = [t]);
11841
+ x(e) && (e = this.languageUtils.toResolveHierarchy(e)), x(t) && (t = [t]);
11790
11842
  const C = this.queueLoad(e, t, i, s);
11791
11843
  if (!C.toLoad.length)
11792
11844
  return C.pending.length || s(), null;
@@ -11871,7 +11923,7 @@ const z1 = () => ({
11871
11923
  appendNamespaceToCIMode: !1,
11872
11924
  overloadTranslationOptionHandler: (l) => {
11873
11925
  let e = {};
11874
- if (typeof l[1] == "object" && (e = l[1]), Z(l[1]) && (e.defaultValue = l[1]), Z(l[2]) && (e.tDescription = l[2]), typeof l[2] == "object" || typeof l[3] == "object") {
11926
+ if (typeof l[1] == "object" && (e = l[1]), x(l[1]) && (e.defaultValue = l[1]), x(l[2]) && (e.tDescription = l[2]), typeof l[2] == "object" || typeof l[3] == "object") {
11875
11927
  const t = l[3] || l[2];
11876
11928
  Object.keys(t).forEach((i) => {
11877
11929
  e[i] = t[i];
@@ -11892,7 +11944,7 @@ const z1 = () => ({
11892
11944
  maxReplaces: 1e3,
11893
11945
  skipOnVariables: !0
11894
11946
  }
11895
- }), J1 = (l) => (Z(l.ns) && (l.ns = [l.ns]), Z(l.fallbackLng) && (l.fallbackLng = [l.fallbackLng]), Z(l.fallbackNS) && (l.fallbackNS = [l.fallbackNS]), l.supportedLngs && l.supportedLngs.indexOf("cimode") < 0 && (l.supportedLngs = l.supportedLngs.concat(["cimode"])), l), u1 = () => {
11947
+ }), J1 = (l) => (x(l.ns) && (l.ns = [l.ns]), x(l.fallbackLng) && (l.fallbackLng = [l.fallbackLng]), x(l.fallbackNS) && (l.fallbackNS = [l.fallbackNS]), l.supportedLngs && l.supportedLngs.indexOf("cimode") < 0 && (l.supportedLngs = l.supportedLngs.concat(["cimode"])), l), u1 = () => {
11896
11948
  }, E6 = (l) => {
11897
11949
  Object.getOwnPropertyNames(Object.getPrototypeOf(l)).forEach((t) => {
11898
11950
  typeof l[t] == "function" && (l[t] = l[t].bind(l));
@@ -11914,7 +11966,7 @@ class c1 extends N1 {
11914
11966
  init() {
11915
11967
  var e = this;
11916
11968
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
11917
- this.isInitializing = !0, typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (Z(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
11969
+ this.isInitializing = !0, typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (x(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
11918
11970
  const s = z1();
11919
11971
  this.options = {
11920
11972
  ...s,
@@ -11929,14 +11981,14 @@ class c1 extends N1 {
11929
11981
  this.modules.logger ? I.init(C(this.modules.logger), this.options) : I.init(null, this.options);
11930
11982
  let r;
11931
11983
  this.modules.formatter ? r = this.modules.formatter : typeof Intl < "u" && (r = _6);
11932
- const p = new F1(this.options);
11984
+ const p = new j1(this.options);
11933
11985
  this.store = new T1(this.options.resources, this.options);
11934
11986
  const w = this.services;
11935
- w.logger = I, w.resourceStore = this.store, w.languageUtils = p, w.pluralResolver = new R6(p, {
11987
+ w.logger = I, w.resourceStore = this.store, w.languageUtils = p, w.pluralResolver = new V6(p, {
11936
11988
  prepend: this.options.pluralSeparator,
11937
11989
  compatibilityJSON: this.options.compatibilityJSON,
11938
11990
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
11939
- }), r && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (w.formatter = C(r), w.formatter.init(w, this.options), this.options.interpolation.format = w.formatter.format.bind(w.formatter)), w.interpolator = new V6(this.options), w.utils = {
11991
+ }), r && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (w.formatter = C(r), w.formatter.init(w, this.options), this.options.interpolation.format = w.formatter.format.bind(w.formatter)), w.interpolator = new R6(this.options), w.utils = {
11940
11992
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
11941
11993
  }, w.backendConnector = new y6(C(this.modules.backend), w.resourceStore, w, this.options), w.backendConnector.on("*", function(f) {
11942
11994
  for (var u = arguments.length, L = new Array(u > 1 ? u - 1 : 0), m = 1; m < u; m++)
@@ -11974,7 +12026,7 @@ class c1 extends N1 {
11974
12026
  }
11975
12027
  loadResources(e) {
11976
12028
  let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
11977
- const s = Z(e) ? e : this.language;
12029
+ const s = x(e) ? e : this.language;
11978
12030
  if (typeof e == "function" && (i = e), !this.options.resources || this.options.partialBundledLanguages) {
11979
12031
  if (s && s.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i();
11980
12032
  const C = [], c = (d) => {
@@ -12025,7 +12077,7 @@ class c1 extends N1 {
12025
12077
  });
12026
12078
  }, d = (a) => {
12027
12079
  !e && !a && this.services.languageDetector && (a = []);
12028
- const o = Z(a) ? a : this.services.languageUtils.getBestMatchFromCodes(a);
12080
+ const o = x(a) ? a : this.services.languageUtils.getBestMatchFromCodes(a);
12029
12081
  o && (this.language || C(o), this.translator.language || this.translator.changeLanguage(o), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(o)), this.loadResources(o, (r) => {
12030
12082
  c(r, o);
12031
12083
  });
@@ -12049,7 +12101,7 @@ class c1 extends N1 {
12049
12101
  let f;
12050
12102
  return a.keyPrefix && Array.isArray(c) ? f = c.map((u) => `${a.keyPrefix}${w}${u}`) : f = a.keyPrefix ? `${a.keyPrefix}${w}${c}` : c, s.t(f, a);
12051
12103
  };
12052
- return Z(e) ? C.lng = e : C.lngs = e, C.ns = t, C.keyPrefix = i, C;
12104
+ return x(e) ? C.lng = e : C.lngs = e, C.ns = t, C.keyPrefix = i, C;
12053
12105
  }
12054
12106
  t() {
12055
12107
  return this.translator && this.translator.translate(...arguments);
@@ -12080,7 +12132,7 @@ class c1 extends N1 {
12080
12132
  }
12081
12133
  loadNamespaces(e, t) {
12082
12134
  const i = r1();
12083
- return this.options.ns ? (Z(e) && (e = [e]), e.forEach((s) => {
12135
+ return this.options.ns ? (x(e) && (e = [e]), e.forEach((s) => {
12084
12136
  this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
12085
12137
  }), this.loadResources((s) => {
12086
12138
  i.resolve(), t && t(s);
@@ -12088,7 +12140,7 @@ class c1 extends N1 {
12088
12140
  }
12089
12141
  loadLanguages(e, t) {
12090
12142
  const i = r1();
12091
- Z(e) && (e = [e]);
12143
+ x(e) && (e = [e]);
12092
12144
  const s = this.options.preload || [], C = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
12093
12145
  return C.length ? (this.options.preload = s.concat(C), this.loadResources((c) => {
12094
12146
  i.resolve(), t && t(c);
@@ -12096,7 +12148,7 @@ class c1 extends N1 {
12096
12148
  }
12097
12149
  dir(e) {
12098
12150
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
12099
- 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"], i = this.services && this.services.languageUtils || new F1(z1());
12151
+ 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"], i = this.services && this.services.languageUtils || new j1(z1());
12100
12152
  return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
12101
12153
  }
12102
12154
  static createInstance() {
@@ -12241,12 +12293,12 @@ const I6 = function() {
12241
12293
  let C2;
12242
12294
  const P6 = (l) => {
12243
12295
  C2 = l;
12244
- }, T6 = () => C2, j6 = {
12296
+ }, T6 = () => C2, F6 = {
12245
12297
  type: "3rdParty",
12246
12298
  init(l) {
12247
12299
  I6(l.options.react), P6(l);
12248
12300
  }
12249
- }, F6 = e2();
12301
+ }, j6 = e2();
12250
12302
  class U6 {
12251
12303
  constructor() {
12252
12304
  D1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
@@ -12270,11 +12322,11 @@ const W6 = (l, e) => {
12270
12322
  } = e, {
12271
12323
  i18n: i,
12272
12324
  defaultNS: s
12273
- } = T(F6) || {}, C = t || i || T6();
12325
+ } = T(j6) || {}, C = t || i || T6();
12274
12326
  if (C && !C.reportNamespaces && (C.reportNamespaces = new U6()), !C) {
12275
12327
  _1("You will need to pass in an i18next instance by using initReactI18next");
12276
- const v = (N, M) => J(M) ? M : G6(M) && J(M.defaultValue) ? M.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, V = [v, {}, !1];
12277
- return V.t = v, V.i18n = {}, V.ready = !1, V;
12328
+ const v = (N, M) => J(M) ? M : G6(M) && J(M.defaultValue) ? M.defaultValue : Array.isArray(N) ? N[N.length - 1] : N, R = [v, {}, !1];
12329
+ return R.t = v, R.i18n = {}, R.ready = !1, R;
12278
12330
  }
12279
12331
  C.options.react && C.options.react.wait !== void 0 && _1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
12280
12332
  const c = {
@@ -12290,25 +12342,25 @@ const W6 = (l, e) => {
12290
12342
  const r = (C.isInitialized || C.initializedStoreOnce) && o.every((v) => K6(v, C, c)), p = z6(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), w = () => p, f = () => h2(C, e.lng || null, c.nsMode === "fallback" ? o : o[0], a), [u, L] = E(w);
12291
12343
  let m = o.join();
12292
12344
  e.lng && (m = `${e.lng}${m}`);
12293
- const x = W6(m), R = P(!0);
12345
+ const Z = W6(m), V = P(!0);
12294
12346
  D(() => {
12295
12347
  const {
12296
12348
  bindI18n: v,
12297
- bindI18nStore: V
12349
+ bindI18nStore: R
12298
12350
  } = c;
12299
- R.current = !0, !r && !d && (e.lng ? X1(C, e.lng, o, () => {
12300
- R.current && L(f);
12351
+ V.current = !0, !r && !d && (e.lng ? X1(C, e.lng, o, () => {
12352
+ V.current && L(f);
12301
12353
  }) : q1(C, o, () => {
12302
- R.current && L(f);
12303
- })), r && x && x !== m && R.current && L(f);
12354
+ V.current && L(f);
12355
+ })), r && Z && Z !== m && V.current && L(f);
12304
12356
  const N = () => {
12305
- R.current && L(f);
12357
+ V.current && L(f);
12306
12358
  };
12307
- return v && C && C.on(v, N), V && C && C.store.on(V, N), () => {
12308
- R.current = !1, v && C && v.split(" ").forEach((M) => C.off(M, N)), V && C && V.split(" ").forEach((M) => C.store.off(M, N));
12359
+ return v && C && C.on(v, N), R && C && C.store.on(R, N), () => {
12360
+ V.current = !1, v && C && v.split(" ").forEach((M) => C.off(M, N)), R && C && R.split(" ").forEach((M) => C.store.off(M, N));
12309
12361
  };
12310
12362
  }, [C, m]), D(() => {
12311
- R.current && r && L(w);
12363
+ V.current && r && L(w);
12312
12364
  }, [C, a, r]);
12313
12365
  const b = [u, C, r];
12314
12366
  if (b.t = u, b.i18n = C, b.ready = r, r || !r && !d) return b;
@@ -12320,7 +12372,7 @@ const W6 = (l, e) => {
12320
12372
  }, X6 = "Страна", e8 = {
12321
12373
  placeholder: X6
12322
12374
  };
12323
- K.use(j6).init({
12375
+ K.use(F6).init({
12324
12376
  defaultNS: "common",
12325
12377
  lng: "en",
12326
12378
  resources: {
@@ -12345,23 +12397,23 @@ const a8 = q(
12345
12397
  clearable: a,
12346
12398
  error: o
12347
12399
  }, r) => {
12348
- const [p, w] = E([]), [f, u] = E([]), [L, m] = E(!1), { locale: x, axiosPeople: R } = T(Q);
12349
- if (!R)
12400
+ const [p, w] = E([]), [f, u] = E([]), [L, m] = E(!1), { locale: Z, axiosPeople: V } = T(Q);
12401
+ if (!V)
12350
12402
  throw new Error(
12351
12403
  `CountrySelect requires "axiosPeople" to fetch counties.
12352
12404
  Please provide it via SNMTUiContext.`
12353
12405
  );
12354
- const { t: b } = J6("common", { lng: x }), v = O(async () => {
12406
+ const { t: b } = J6("common", { lng: Z }), v = O(async () => {
12355
12407
  m(!0);
12356
12408
  try {
12357
- const N = await R.post("v1/countries/search");
12409
+ const N = await V.post("v1/countries/search");
12358
12410
  u(N == null ? void 0 : N.data.data);
12359
12411
  } catch {
12360
12412
  w([]);
12361
12413
  } finally {
12362
12414
  m(!1);
12363
12415
  }
12364
- }, [R]);
12416
+ }, [V]);
12365
12417
  D(() => {
12366
12418
  v();
12367
12419
  }, []), D(() => {
@@ -12384,7 +12436,7 @@ const a8 = q(
12384
12436
  }));
12385
12437
  w(N);
12386
12438
  }, [f]);
12387
- const V = (N) => {
12439
+ const R = (N) => {
12388
12440
  N === null ? (i(""), t && t("")) : (i(N), t && t(""));
12389
12441
  };
12390
12442
  return /* @__PURE__ */ n("div", { className: "snmt-country-select", children: /* @__PURE__ */ n(
@@ -12395,7 +12447,7 @@ const a8 = q(
12395
12447
  placeholder: b("placeholder"),
12396
12448
  value: s,
12397
12449
  ref: r,
12398
- onChange: V,
12450
+ onChange: R,
12399
12451
  options: p,
12400
12452
  disabled: c,
12401
12453
  isLoading: L,