@snmt-react-ui/user-select 2.9.9 → 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.
@@ -1,12 +1,12 @@
1
1
  var L2 = Object.defineProperty;
2
2
  var k2 = (i, e, t) => e in i ? L2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
3
- var T1 = (i, e, t) => k2(i, typeof e != "symbol" ? e + "" : e, t);
3
+ var K1 = (i, e, t) => k2(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import "./index.css";
5
5
  import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
6
- import { forwardRef as L1, useState as S, useRef as q, useCallback as $, useEffect as K, useMemo as v2, useImperativeHandle as H1, useContext as r1, createContext as d1 } from "react";
7
- import { Select as N2, Tag as R2, Flex as x2, Checkbox as _2, Avatar as M2, Typography as a2, Popover as b2 } from "antd";
6
+ import { forwardRef as d1, useState as O, useRef as J, useCallback as $, useEffect as G, useMemo as v2, useImperativeHandle as k1, useContext as r1, createContext as C1 } from "react";
7
+ import { Select as N2, Tag as R2, Flex as x2, Checkbox as _2, Avatar as M2, Typography as G1, Popover as b2 } from "antd";
8
8
  import { SNMTUiContext as y2 } from "@snmt-react-ui/core";
9
- var H2 = Object.defineProperty, V2 = (i, e, t) => e in i ? H2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, E2 = (i, e, t) => V2(i, e + "", t), I2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
+ var H2 = Object.defineProperty, E2 = (i, e, t) => e in i ? H2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, V2 = (i, e, t) => E2(i, e + "", t), I2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function A2() {
11
11
  if (console && console.warn) {
12
12
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
@@ -14,11 +14,11 @@ function A2() {
14
14
  s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
15
15
  }
16
16
  }
17
- const K1 = {};
17
+ const B1 = {};
18
18
  function O1() {
19
19
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
20
20
  e[t] = arguments[t];
21
- s1(e[0]) && K1[e[0]] || (s1(e[0]) && (K1[e[0]] = /* @__PURE__ */ new Date()), A2(...e));
21
+ s1(e[0]) && B1[e[0]] || (s1(e[0]) && (B1[e[0]] = /* @__PURE__ */ new Date()), A2(...e));
22
22
  }
23
23
  const l2 = (i, e) => () => {
24
24
  if (i.isInitialized)
@@ -31,9 +31,9 @@ const l2 = (i, e) => () => {
31
31
  };
32
32
  i.on("initialized", t);
33
33
  }
34
- }, B1 = (i, e, t) => {
34
+ }, P1 = (i, e, t) => {
35
35
  i.loadNamespaces(e, l2(i, t));
36
- }, P1 = (i, e, t, s) => {
36
+ }, Y1 = (i, e, t, s) => {
37
37
  s1(t) && (t = [t]), t.forEach((n) => {
38
38
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
39
39
  }), i.loadLanguages(e, l2(i, s));
@@ -88,10 +88,10 @@ let B2 = {
88
88
  };
89
89
  const P2 = () => B2;
90
90
  let Y2;
91
- const $2 = () => Y2, j2 = d1();
91
+ const $2 = () => Y2, j2 = C1();
92
92
  class F2 {
93
93
  constructor() {
94
- E2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
94
+ V2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
95
95
  }
96
96
  addUsedNamespaces(e) {
97
97
  e.forEach((t) => {
@@ -99,12 +99,12 @@ class F2 {
99
99
  });
100
100
  }
101
101
  }
102
- const U2 = (i, e) => {
103
- const t = q();
104
- return K(() => {
102
+ const W2 = (i, e) => {
103
+ const t = J();
104
+ return G(() => {
105
105
  t.current = i;
106
106
  }, [i, e]), t.current;
107
- }, h2 = (i, e, t, s) => i.getFixedT(e, t, s), W2 = (i, e, t, s) => $(h2(i, e, t, s), [i, e, t, s]), z2 = function(i) {
107
+ }, h2 = (i, e, t, s) => i.getFixedT(e, t, s), U2 = (i, e, t, s) => $(h2(i, e, t, s), [i, e, t, s]), z2 = function(i) {
108
108
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
109
109
  const {
110
110
  i18n: t
@@ -114,8 +114,8 @@ const U2 = (i, e) => {
114
114
  } = r1(j2) || {}, o = t || s || $2();
115
115
  if (o && !o.reportNamespaces && (o.reportNamespaces = new F2()), !o) {
116
116
  O1("You will need to pass in an i18next instance by using initReactI18next");
117
- const p = (_, R) => s1(R) ? R : S2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [p, {}, !1];
118
- return x.t = p, x.i18n = {}, x.ready = !1, x;
117
+ const f = (_, R) => s1(R) ? R : S2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
118
+ return x.t = f, x.i18n = {}, x.ready = !1, x;
119
119
  }
120
120
  o.options.react && o.options.react.wait !== void 0 && O1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
121
121
  const c = {
@@ -128,33 +128,33 @@ const U2 = (i, e) => {
128
128
  } = c;
129
129
  let d = i;
130
130
  d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
131
- const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => Z2(p, o, c)), h = W2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => h2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = S(g);
131
+ const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => Z2(f, o, c)), h = U2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => h2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = O(g);
132
132
  let m = d.join();
133
133
  e.lng && (m = `${e.lng}${m}`);
134
- const H = U2(m), b = q(!0);
135
- K(() => {
134
+ const b = W2(m), y = J(!0);
135
+ G(() => {
136
136
  const {
137
- bindI18n: p,
137
+ bindI18n: f,
138
138
  bindI18nStore: x
139
139
  } = c;
140
- b.current = !0, !l && !a && (e.lng ? P1(o, e.lng, d, () => {
141
- b.current && v(f);
142
- }) : B1(o, d, () => {
143
- b.current && v(f);
144
- })), l && H && H !== m && b.current && v(f);
140
+ y.current = !0, !l && !a && (e.lng ? Y1(o, e.lng, d, () => {
141
+ y.current && v(p);
142
+ }) : P1(o, d, () => {
143
+ y.current && v(p);
144
+ })), l && b && b !== m && y.current && v(p);
145
145
  const _ = () => {
146
- b.current && v(f);
146
+ y.current && v(p);
147
147
  };
148
- return p && o && o.on(p, _), x && o && o.store.on(x, _), () => {
149
- b.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
148
+ return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
149
+ y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
150
150
  };
151
- }, [o, m]), K(() => {
152
- b.current && l && v(g);
151
+ }, [o, m]), G(() => {
152
+ y.current && l && v(g);
153
153
  }, [o, C, l]);
154
- const A = [k, o, l];
155
- if (A.t = k, A.i18n = o, A.ready = l, l || !l && !a) return A;
156
- throw new Promise((p) => {
157
- e.lng ? P1(o, e.lng, d, () => p()) : B1(o, d, () => p());
154
+ const A = [w, o, l];
155
+ if (A.t = w, A.i18n = o, A.ready = l, l || !l && !a) return A;
156
+ throw new Promise((f) => {
157
+ e.lng ? Y1(o, e.lng, d, () => f()) : P1(o, d, () => f());
158
158
  });
159
159
  }, f1 = ({
160
160
  children: i,
@@ -193,24 +193,73 @@ const U2 = (i, e) => {
193
193
  );
194
194
  };
195
195
  var Q = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(Q || {});
196
- const G1 = d1({
196
+ const T1 = C1({
197
197
  locale: "en",
198
198
  theme: "light"
199
199
  });
200
- G1.Provider;
201
- const q2 = ({
200
+ T1.Provider;
201
+ const { Title: q2, Text: Q2 } = G1, X2 = {
202
+ h1: 1,
203
+ h2: 2,
204
+ h3: 3,
205
+ h4: 4
206
+ }, e5 = d1(
207
+ ({
208
+ align: i = "inherit",
209
+ variant: e = "body1",
210
+ color: t,
211
+ children: s,
212
+ onClick: n,
213
+ collapsed: o,
214
+ whiteSpace: c = "normal",
215
+ /** This prop allows you to enable tooltip if text size is too big */
216
+ trim: a = !1
217
+ }, C) => {
218
+ const d = J(null);
219
+ k1(C, () => d.current);
220
+ const [l, h] = O(!1);
221
+ G(() => {
222
+ var v;
223
+ if (!a) return;
224
+ const m = () => {
225
+ d.current && h(d.current.scrollWidth > d.current.clientWidth);
226
+ };
227
+ m();
228
+ const b = new ResizeObserver(m);
229
+ return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
230
+ b.disconnect();
231
+ };
232
+ }, [a]);
233
+ const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
234
+ let p = `snmt-typography snmt-typography-${e}`;
235
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
236
+ const w = {
237
+ className: p,
238
+ style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
239
+ onClick: n,
240
+ ref: d,
241
+ ellipsis: a && l ? {
242
+ tooltip: {
243
+ title: s,
244
+ overlayClassName: "snmt-tooltip"
245
+ }
246
+ } : void 0
247
+ };
248
+ return g ? /* @__PURE__ */ r(q2, { level: X2[e], ...w, children: s }) : /* @__PURE__ */ r(Q2, { ...w, children: s });
249
+ }
250
+ ), t5 = ({
202
251
  checked: i = !0,
203
252
  indeterminate: e = !1,
204
- children: t,
253
+ label: t,
205
254
  onChange: s,
206
255
  disabled: n = !1,
207
256
  disableUncheck: o = !1
208
257
  }) => {
209
- const [c, a] = S(i), [C, d] = S(e);
210
- K(() => {
258
+ const [c, a] = O(i), [C, d] = O(e);
259
+ G(() => {
211
260
  a(i), d(e);
212
261
  }, [i, e]);
213
- const { theme: l } = r1(G1);
262
+ const { theme: l } = r1(T1);
214
263
  return /* @__PURE__ */ r(
215
264
  _2,
216
265
  {
@@ -221,17 +270,24 @@ const q2 = ({
221
270
  o && c || (d(!1), a(h.target.checked), s && s(h));
222
271
  },
223
272
  disabled: n,
224
- children: t
273
+ children: t && /* @__PURE__ */ r(
274
+ e5,
275
+ {
276
+ variant: "body2",
277
+ color: n ? Q.GREY_DARK_2 : Q.GREY_DARK_5,
278
+ children: t
279
+ }
280
+ )
225
281
  }
226
282
  );
227
283
  };
228
- var w = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(w || {});
229
- const c2 = d1({
284
+ var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
285
+ const c2 = C1({
230
286
  locale: "en",
231
287
  theme: "light"
232
288
  });
233
289
  c2.Provider;
234
- const Q2 = ({
290
+ const i5 = ({
235
291
  width: i = 20,
236
292
  height: e = 20,
237
293
  color: t = "#001E52",
@@ -258,10 +314,10 @@ const Q2 = ({
258
314
  }
259
315
  )
260
316
  }
261
- ), X2 = ({
317
+ ), s5 = ({
262
318
  width: i = 20,
263
319
  height: e = 20,
264
- color: t = w.GREY_DARK_5,
320
+ color: t = L.GREY_DARK_5,
265
321
  className: s,
266
322
  onClick: n
267
323
  }) => /* @__PURE__ */ u(
@@ -298,7 +354,7 @@ const Q2 = ({
298
354
  )
299
355
  ]
300
356
  }
301
- ), e5 = ({
357
+ ), n5 = ({
302
358
  width: i = 20,
303
359
  height: e = 20,
304
360
  color: t = "#001E52",
@@ -333,10 +389,10 @@ const Q2 = ({
333
389
  )
334
390
  ]
335
391
  }
336
- ), t5 = ({
392
+ ), r5 = ({
337
393
  width: i = 20,
338
394
  height: e = 20,
339
- color: t = w.GREY_DARK_5,
395
+ color: t = L.GREY_DARK_5,
340
396
  className: s,
341
397
  onClick: n
342
398
  }) => /* @__PURE__ */ u(
@@ -360,10 +416,10 @@ const Q2 = ({
360
416
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
361
417
  ]
362
418
  }
363
- ), i5 = ({
419
+ ), o5 = ({
364
420
  width: i = 20,
365
421
  height: e = 20,
366
- color: t = w.GREY_DARK_5,
422
+ color: t = L.GREY_DARK_5,
367
423
  className: s,
368
424
  onClick: n
369
425
  }) => /* @__PURE__ */ r(
@@ -384,10 +440,10 @@ const Q2 = ({
384
440
  }
385
441
  )
386
442
  }
387
- ), s5 = ({
443
+ ), a5 = ({
388
444
  width: i = 20,
389
445
  height: e = 20,
390
- color: t = w.GREY_DARK_5,
446
+ color: t = L.GREY_DARK_5,
391
447
  className: s,
392
448
  onClick: n
393
449
  }) => /* @__PURE__ */ u(
@@ -411,10 +467,10 @@ const Q2 = ({
411
467
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
412
468
  ]
413
469
  }
414
- ), n5 = ({
470
+ ), l5 = ({
415
471
  width: i = 20,
416
472
  height: e = 20,
417
- color: t = w.GREY_DARK_5,
473
+ color: t = L.GREY_DARK_5,
418
474
  className: s,
419
475
  onClick: n
420
476
  }) => /* @__PURE__ */ r(
@@ -435,10 +491,10 @@ const Q2 = ({
435
491
  }
436
492
  )
437
493
  }
438
- ), r5 = ({
494
+ ), h5 = ({
439
495
  width: i = 20,
440
496
  height: e = 20,
441
- color: t = w.GREY_DARK_5,
497
+ color: t = L.GREY_DARK_5,
442
498
  className: s,
443
499
  onClick: n
444
500
  }) => /* @__PURE__ */ u(
@@ -482,10 +538,10 @@ const Q2 = ({
482
538
  )
483
539
  ]
484
540
  }
485
- ), o5 = ({
541
+ ), c5 = ({
486
542
  width: i = 20,
487
543
  height: e = 20,
488
- color: t = w.GREY_DARK_5,
544
+ color: t = L.GREY_DARK_5,
489
545
  className: s,
490
546
  onClick: n
491
547
  }) => /* @__PURE__ */ r(
@@ -506,10 +562,10 @@ const Q2 = ({
506
562
  }
507
563
  )
508
564
  }
509
- ), a5 = ({
565
+ ), d5 = ({
510
566
  width: i = 20,
511
567
  height: e = 20,
512
- color: t = w.GREY_DARK_5,
568
+ color: t = L.GREY_DARK_5,
513
569
  className: s,
514
570
  onClick: n
515
571
  }) => /* @__PURE__ */ r(
@@ -530,10 +586,10 @@ const Q2 = ({
530
586
  }
531
587
  )
532
588
  }
533
- ), l5 = ({
589
+ ), C5 = ({
534
590
  width: i = 20,
535
591
  height: e = 20,
536
- color: t = w.GREY_DARK_5,
592
+ color: t = L.GREY_DARK_5,
537
593
  className: s,
538
594
  onClick: n
539
595
  }) => /* @__PURE__ */ r(
@@ -554,10 +610,10 @@ const Q2 = ({
554
610
  }
555
611
  )
556
612
  }
557
- ), h5 = ({
613
+ ), g5 = ({
558
614
  width: i = 20,
559
615
  height: e = 20,
560
- color: t = w.GREY_DARK_5,
616
+ color: t = L.GREY_DARK_5,
561
617
  className: s,
562
618
  onClick: n
563
619
  }) => /* @__PURE__ */ u(
@@ -615,10 +671,10 @@ const Q2 = ({
615
671
  )
616
672
  ]
617
673
  }
618
- ), c5 = ({
674
+ ), u5 = ({
619
675
  width: i = 20,
620
676
  height: e = 20,
621
- color: t = w.GREY_DARK_5,
677
+ color: t = L.GREY_DARK_5,
622
678
  className: s,
623
679
  onClick: n
624
680
  }) => /* @__PURE__ */ u(
@@ -662,10 +718,10 @@ const Q2 = ({
662
718
  )
663
719
  ]
664
720
  }
665
- ), d5 = ({
721
+ ), p5 = ({
666
722
  width: i = 20,
667
723
  height: e = 20,
668
- color: t = w.GREY_DARK_5,
724
+ color: t = L.GREY_DARK_5,
669
725
  className: s,
670
726
  onClick: n
671
727
  }) => /* @__PURE__ */ u(
@@ -702,10 +758,10 @@ const Q2 = ({
702
758
  )
703
759
  ]
704
760
  }
705
- ), C5 = ({
761
+ ), f5 = ({
706
762
  width: i = 20,
707
763
  height: e = 20,
708
- color: t = w.GREY_DARK_5,
764
+ color: t = L.GREY_DARK_5,
709
765
  className: s,
710
766
  onClick: n
711
767
  }) => /* @__PURE__ */ u(
@@ -742,10 +798,10 @@ const Q2 = ({
742
798
  )
743
799
  ]
744
800
  }
745
- ), g5 = ({
801
+ ), m5 = ({
746
802
  width: i = 20,
747
803
  height: e = 20,
748
- color: t = w.GREY_DARK_5,
804
+ color: t = L.GREY_DARK_5,
749
805
  className: s,
750
806
  onClick: n
751
807
  }) => /* @__PURE__ */ u(
@@ -789,10 +845,10 @@ const Q2 = ({
789
845
  )
790
846
  ]
791
847
  }
792
- ), u5 = ({
848
+ ), w5 = ({
793
849
  width: i = 20,
794
850
  height: e = 20,
795
- color: t = w.GREY_DARK_5,
851
+ color: t = L.GREY_DARK_5,
796
852
  className: s,
797
853
  onClick: n
798
854
  }) => /* @__PURE__ */ u(
@@ -836,10 +892,10 @@ const Q2 = ({
836
892
  )
837
893
  ]
838
894
  }
839
- ), f5 = ({
895
+ ), L5 = ({
840
896
  width: i = 20,
841
897
  height: e = 20,
842
- color: t = w.GREY_DARK_5,
898
+ color: t = L.GREY_DARK_5,
843
899
  className: s,
844
900
  onClick: n
845
901
  }) => /* @__PURE__ */ u(
@@ -883,10 +939,10 @@ const Q2 = ({
883
939
  )
884
940
  ]
885
941
  }
886
- ), p5 = ({
942
+ ), k5 = ({
887
943
  width: i = 20,
888
944
  height: e = 20,
889
- color: t = w.GREY_DARK_5,
945
+ color: t = L.GREY_DARK_5,
890
946
  className: s,
891
947
  onClick: n
892
948
  }) => /* @__PURE__ */ u(
@@ -923,10 +979,10 @@ const Q2 = ({
923
979
  )
924
980
  ]
925
981
  }
926
- ), m5 = ({
982
+ ), v5 = ({
927
983
  width: i = 20,
928
984
  height: e = 20,
929
- color: t = w.GREY_DARK_5,
985
+ color: t = L.GREY_DARK_5,
930
986
  className: s,
931
987
  onClick: n
932
988
  }) => /* @__PURE__ */ u(
@@ -956,10 +1012,10 @@ const Q2 = ({
956
1012
  )
957
1013
  ]
958
1014
  }
959
- ), w5 = ({
1015
+ ), N5 = ({
960
1016
  width: i = 20,
961
1017
  height: e = 20,
962
- color: t = w.GREY_DARK_5,
1018
+ color: t = L.GREY_DARK_5,
963
1019
  className: s,
964
1020
  onClick: n
965
1021
  }) => /* @__PURE__ */ u(
@@ -989,10 +1045,10 @@ const Q2 = ({
989
1045
  )
990
1046
  ]
991
1047
  }
992
- ), L5 = ({
1048
+ ), R5 = ({
993
1049
  width: i = 20,
994
1050
  height: e = 20,
995
- color: t = w.GREY_DARK_5,
1051
+ color: t = L.GREY_DARK_5,
996
1052
  className: s,
997
1053
  onClick: n
998
1054
  }) => /* @__PURE__ */ u(
@@ -1022,10 +1078,10 @@ const Q2 = ({
1022
1078
  )
1023
1079
  ]
1024
1080
  }
1025
- ), k5 = ({
1081
+ ), x5 = ({
1026
1082
  width: i = 20,
1027
1083
  height: e = 20,
1028
- color: t = w.GREY_DARK_5,
1084
+ color: t = L.GREY_DARK_5,
1029
1085
  className: s,
1030
1086
  onClick: n
1031
1087
  }) => /* @__PURE__ */ u(
@@ -1055,10 +1111,10 @@ const Q2 = ({
1055
1111
  )
1056
1112
  ]
1057
1113
  }
1058
- ), v5 = ({
1114
+ ), _5 = ({
1059
1115
  width: i = 20,
1060
1116
  height: e = 20,
1061
- color: t = w.GREY_DARK_5,
1117
+ color: t = L.GREY_DARK_5,
1062
1118
  className: s,
1063
1119
  onClick: n
1064
1120
  }) => /* @__PURE__ */ u(
@@ -1095,10 +1151,10 @@ const Q2 = ({
1095
1151
  )
1096
1152
  ]
1097
1153
  }
1098
- ), N5 = ({
1154
+ ), M5 = ({
1099
1155
  width: i = 20,
1100
1156
  height: e = 20,
1101
- color: t = w.GREY_DARK_5,
1157
+ color: t = L.GREY_DARK_5,
1102
1158
  className: s,
1103
1159
  onClick: n
1104
1160
  }) => /* @__PURE__ */ u(
@@ -1128,10 +1184,10 @@ const Q2 = ({
1128
1184
  )
1129
1185
  ]
1130
1186
  }
1131
- ), R5 = ({
1187
+ ), b5 = ({
1132
1188
  width: i = 20,
1133
1189
  height: e = 20,
1134
- color: t = w.GREY_DARK_5,
1190
+ color: t = L.GREY_DARK_5,
1135
1191
  className: s,
1136
1192
  onClick: n
1137
1193
  }) => /* @__PURE__ */ u(
@@ -1161,7 +1217,7 @@ const Q2 = ({
1161
1217
  )
1162
1218
  ]
1163
1219
  }
1164
- ), x5 = ({
1220
+ ), y5 = ({
1165
1221
  width: i = 20,
1166
1222
  height: e = 20,
1167
1223
  color: t = "#070739",
@@ -1191,7 +1247,7 @@ const Q2 = ({
1191
1247
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
1192
1248
  ]
1193
1249
  }
1194
- ), _5 = ({
1250
+ ), H5 = ({
1195
1251
  width: i = 20,
1196
1252
  height: e = 20,
1197
1253
  color: t = "#070739",
@@ -1229,7 +1285,7 @@ const Q2 = ({
1229
1285
  )
1230
1286
  ]
1231
1287
  }
1232
- ), M5 = ({
1288
+ ), E5 = ({
1233
1289
  width: i = 9,
1234
1290
  height: e = 5,
1235
1291
  color: t = "#001E52",
@@ -1255,7 +1311,7 @@ const Q2 = ({
1255
1311
  }
1256
1312
  )
1257
1313
  }
1258
- ), b5 = ({
1314
+ ), V5 = ({
1259
1315
  width: i = 20,
1260
1316
  height: e = 20,
1261
1317
  color: t = "#F2F2F7",
@@ -1284,7 +1340,7 @@ const Q2 = ({
1284
1340
  )
1285
1341
  ]
1286
1342
  }
1287
- ), y5 = ({
1343
+ ), I5 = ({
1288
1344
  width: i = 20,
1289
1345
  height: e = 20,
1290
1346
  color: t = "#004ED7",
@@ -1313,7 +1369,7 @@ const Q2 = ({
1313
1369
  )
1314
1370
  ]
1315
1371
  }
1316
- ), H5 = ({
1372
+ ), A5 = ({
1317
1373
  width: i = 10,
1318
1374
  height: e = 10,
1319
1375
  color: t = "#001E52",
@@ -1342,7 +1398,7 @@ const Q2 = ({
1342
1398
  )
1343
1399
  ]
1344
1400
  }
1345
- ), V5 = ({
1401
+ ), O5 = ({
1346
1402
  width: i = 10,
1347
1403
  height: e = 10,
1348
1404
  color: t = "#001E52",
@@ -1379,9 +1435,9 @@ const Q2 = ({
1379
1435
  )
1380
1436
  ]
1381
1437
  }
1382
- ), E5 = ({
1438
+ ), Z5 = ({
1383
1439
  className: i,
1384
- color: e = w.GREY_DARK_5,
1440
+ color: e = L.GREY_DARK_5,
1385
1441
  height: t = 20,
1386
1442
  width: s = 20,
1387
1443
  onClick: n
@@ -1412,9 +1468,9 @@ const Q2 = ({
1412
1468
  )
1413
1469
  ]
1414
1470
  }
1415
- ), I5 = ({
1471
+ ), S5 = ({
1416
1472
  className: i,
1417
- color: e = w.GREY_DARK_5,
1473
+ color: e = L.GREY_DARK_5,
1418
1474
  height: t = 20,
1419
1475
  width: s = 20,
1420
1476
  onClick: n
@@ -1439,9 +1495,9 @@ const Q2 = ({
1439
1495
  }
1440
1496
  )
1441
1497
  }
1442
- ), A5 = ({
1498
+ ), D5 = ({
1443
1499
  className: i,
1444
- color: e = w.GREY_DARK_5,
1500
+ color: e = L.GREY_DARK_5,
1445
1501
  height: t = 20,
1446
1502
  width: s = 20,
1447
1503
  onClick: n
@@ -1466,9 +1522,9 @@ const Q2 = ({
1466
1522
  }
1467
1523
  )
1468
1524
  }
1469
- ), O5 = ({
1525
+ ), G5 = ({
1470
1526
  className: i,
1471
- color: e = w.GREY_DARK_5,
1527
+ color: e = L.GREY_DARK_5,
1472
1528
  height: t = 5,
1473
1529
  width: s = 10,
1474
1530
  onClick: n
@@ -1490,9 +1546,9 @@ const Q2 = ({
1490
1546
  }
1491
1547
  )
1492
1548
  }
1493
- ), Z5 = ({
1549
+ ), T5 = ({
1494
1550
  className: i,
1495
- color: e = w.GREY_DARK_5,
1551
+ color: e = L.GREY_DARK_5,
1496
1552
  height: t = 5,
1497
1553
  width: s = 10,
1498
1554
  onClick: n
@@ -1515,9 +1571,9 @@ const Q2 = ({
1515
1571
  }
1516
1572
  )
1517
1573
  }
1518
- ), S5 = ({
1574
+ ), K5 = ({
1519
1575
  className: i,
1520
- color: e = w.GREY_DARK_5,
1576
+ color: e = L.GREY_DARK_5,
1521
1577
  height: t = 20,
1522
1578
  width: s = 20,
1523
1579
  onClick: n
@@ -1548,9 +1604,9 @@ const Q2 = ({
1548
1604
  )
1549
1605
  ]
1550
1606
  }
1551
- ), D5 = ({
1607
+ ), B5 = ({
1552
1608
  className: i,
1553
- color: e = w.GREY_DARK_5,
1609
+ color: e = L.GREY_DARK_5,
1554
1610
  height: t = 24,
1555
1611
  width: s = 24,
1556
1612
  onClick: n
@@ -1587,9 +1643,9 @@ const Q2 = ({
1587
1643
  )
1588
1644
  ]
1589
1645
  }
1590
- ), G5 = ({
1646
+ ), P5 = ({
1591
1647
  className: i,
1592
- color: e = w.GREY_DARK_5,
1648
+ color: e = L.GREY_DARK_5,
1593
1649
  height: t = 24,
1594
1650
  width: s = 24,
1595
1651
  onClick: n
@@ -1614,9 +1670,9 @@ const Q2 = ({
1614
1670
  }
1615
1671
  )
1616
1672
  }
1617
- ), T5 = ({
1673
+ ), Y5 = ({
1618
1674
  className: i,
1619
- color: e = w.GREY_DARK_5,
1675
+ color: e = L.GREY_DARK_5,
1620
1676
  height: t = 24,
1621
1677
  width: s = 24,
1622
1678
  onClick: n
@@ -1673,9 +1729,9 @@ const Q2 = ({
1673
1729
  )
1674
1730
  ]
1675
1731
  }
1676
- ), K5 = ({
1732
+ ), $5 = ({
1677
1733
  className: i,
1678
- color: e = w.GREY_DARK_5,
1734
+ color: e = L.GREY_DARK_5,
1679
1735
  height: t = 24,
1680
1736
  width: s = 24,
1681
1737
  onClick: n
@@ -1710,9 +1766,9 @@ const Q2 = ({
1710
1766
  )
1711
1767
  ]
1712
1768
  }
1713
- ), B5 = ({
1769
+ ), j5 = ({
1714
1770
  className: i,
1715
- color: e = w.GREY_DARK_3,
1771
+ color: e = L.GREY_DARK_3,
1716
1772
  height: t = 14,
1717
1773
  width: s = 14,
1718
1774
  onClick: n
@@ -1747,9 +1803,9 @@ const Q2 = ({
1747
1803
  )
1748
1804
  ]
1749
1805
  }
1750
- ), P5 = ({
1806
+ ), F5 = ({
1751
1807
  className: i,
1752
- color: e = w.GREY_DARK_5,
1808
+ color: e = L.GREY_DARK_5,
1753
1809
  height: t = 18,
1754
1810
  onClick: s,
1755
1811
  width: n = 18
@@ -1774,9 +1830,9 @@ const Q2 = ({
1774
1830
  }
1775
1831
  )
1776
1832
  }
1777
- ), Y5 = ({
1833
+ ), W5 = ({
1778
1834
  className: i,
1779
- color: e = w.GREY_DARK_5,
1835
+ color: e = L.GREY_DARK_5,
1780
1836
  height: t = 24,
1781
1837
  width: s = 24,
1782
1838
  onClick: n
@@ -1826,9 +1882,9 @@ const Q2 = ({
1826
1882
  )
1827
1883
  ]
1828
1884
  }
1829
- ), $5 = ({
1885
+ ), U5 = ({
1830
1886
  className: i,
1831
- color: e = w.GREY_DARK_5,
1887
+ color: e = L.GREY_DARK_5,
1832
1888
  height: t = 24,
1833
1889
  width: s = 24,
1834
1890
  onClick: n
@@ -1863,9 +1919,9 @@ const Q2 = ({
1863
1919
  )
1864
1920
  ]
1865
1921
  }
1866
- ), j5 = ({
1922
+ ), z5 = ({
1867
1923
  className: i,
1868
- color: e = w.NOTIFICATION_WARNING_DARK,
1924
+ color: e = L.NOTIFICATION_WARNING_DARK,
1869
1925
  height: t = 37,
1870
1926
  width: s = 36,
1871
1927
  onClick: n
@@ -1902,9 +1958,9 @@ const Q2 = ({
1902
1958
  )
1903
1959
  ]
1904
1960
  }
1905
- ), F5 = ({
1961
+ ), J5 = ({
1906
1962
  className: i,
1907
- color: e = w.GREY_DARK_5,
1963
+ color: e = L.GREY_DARK_5,
1908
1964
  height: t = 24,
1909
1965
  width: s = 24,
1910
1966
  onClick: n
@@ -1928,9 +1984,9 @@ const Q2 = ({
1928
1984
  }
1929
1985
  )
1930
1986
  }
1931
- ), U5 = ({
1987
+ ), q5 = ({
1932
1988
  className: i,
1933
- color: e = w.GREY_DARK_5,
1989
+ color: e = L.GREY_DARK_5,
1934
1990
  height: t = 24,
1935
1991
  width: s = 24,
1936
1992
  onClick: n
@@ -1967,9 +2023,9 @@ const Q2 = ({
1967
2023
  )
1968
2024
  ]
1969
2025
  }
1970
- ), W5 = ({
2026
+ ), Q5 = ({
1971
2027
  className: i,
1972
- color: e = w.GREY_DARK_5,
2028
+ color: e = L.GREY_DARK_5,
1973
2029
  height: t = 20,
1974
2030
  width: s = 20,
1975
2031
  onClick: n
@@ -2000,9 +2056,9 @@ const Q2 = ({
2000
2056
  )
2001
2057
  ]
2002
2058
  }
2003
- ), z5 = ({
2059
+ ), X5 = ({
2004
2060
  className: i,
2005
- color: e = w.GREY_DARK_5,
2061
+ color: e = L.GREY_DARK_5,
2006
2062
  height: t = 24,
2007
2063
  width: s = 24,
2008
2064
  onClick: n
@@ -2069,9 +2125,9 @@ const Q2 = ({
2069
2125
  )
2070
2126
  ]
2071
2127
  }
2072
- ), J5 = ({
2128
+ ), ee = ({
2073
2129
  className: i,
2074
- color: e = w.GREY_DARK_5,
2130
+ color: e = L.GREY_DARK_5,
2075
2131
  height: t = 24,
2076
2132
  width: s = 24,
2077
2133
  onClick: n
@@ -2126,9 +2182,9 @@ const Q2 = ({
2126
2182
  )
2127
2183
  ]
2128
2184
  }
2129
- ), q5 = ({
2185
+ ), te = ({
2130
2186
  className: i,
2131
- color: e = w.GREY_DARK_5,
2187
+ color: e = L.GREY_DARK_5,
2132
2188
  height: t = 24,
2133
2189
  width: s = 24,
2134
2190
  onClick: n
@@ -2175,9 +2231,9 @@ const Q2 = ({
2175
2231
  )
2176
2232
  ]
2177
2233
  }
2178
- ), Q5 = ({
2234
+ ), ie = ({
2179
2235
  className: i,
2180
- color: e = w.GREY_DARK_5,
2236
+ color: e = L.GREY_DARK_5,
2181
2237
  height: t = 24,
2182
2238
  width: s = 24,
2183
2239
  onClick: n
@@ -2202,9 +2258,9 @@ const Q2 = ({
2202
2258
  }
2203
2259
  )
2204
2260
  }
2205
- ), X5 = ({
2261
+ ), se = ({
2206
2262
  className: i,
2207
- color: e = w.GREY_DARK_5,
2263
+ color: e = L.GREY_DARK_5,
2208
2264
  height: t = 20,
2209
2265
  width: s = 20,
2210
2266
  onClick: n
@@ -2219,7 +2275,7 @@ const Q2 = ({
2219
2275
  fill: "none",
2220
2276
  xmlns: "http://www.w3.org/2000/svg",
2221
2277
  children: [
2222
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
2278
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
2223
2279
  /* @__PURE__ */ r(
2224
2280
  "path",
2225
2281
  {
@@ -2231,7 +2287,7 @@ const Q2 = ({
2231
2287
  )
2232
2288
  ]
2233
2289
  }
2234
- ), ee = ({
2290
+ ), ne = ({
2235
2291
  className: i,
2236
2292
  color: e = "#001E52",
2237
2293
  height: t = 24,
@@ -2257,7 +2313,7 @@ const Q2 = ({
2257
2313
  }
2258
2314
  )
2259
2315
  }
2260
- ), te = ({
2316
+ ), re = ({
2261
2317
  className: i,
2262
2318
  color: e = "#001E52",
2263
2319
  height: t = 24,
@@ -2295,10 +2351,10 @@ const Q2 = ({
2295
2351
  )
2296
2352
  ] }) })
2297
2353
  }
2298
- ), ie = ({
2354
+ ), oe = ({
2299
2355
  width: i = 20,
2300
2356
  height: e = 20,
2301
- color: t = w.GREY_DARK_5,
2357
+ color: t = L.GREY_DARK_5,
2302
2358
  className: s,
2303
2359
  onClick: n
2304
2360
  }) => /* @__PURE__ */ r(
@@ -2319,7 +2375,7 @@ const Q2 = ({
2319
2375
  }
2320
2376
  )
2321
2377
  }
2322
- ), se = ({
2378
+ ), ae = ({
2323
2379
  width: i = 24,
2324
2380
  height: e = 24,
2325
2381
  color: t = "#131314",
@@ -2352,10 +2408,10 @@ const Q2 = ({
2352
2408
  )
2353
2409
  ]
2354
2410
  }
2355
- ), ne = ({
2411
+ ), le = ({
2356
2412
  width: i = 20,
2357
2413
  height: e = 20,
2358
- color: t = w.GREY_DARK_5,
2414
+ color: t = L.GREY_DARK_5,
2359
2415
  className: s,
2360
2416
  onClick: n
2361
2417
  }) => /* @__PURE__ */ u(
@@ -2385,10 +2441,10 @@ const Q2 = ({
2385
2441
  )
2386
2442
  ]
2387
2443
  }
2388
- ), re = ({
2444
+ ), he = ({
2389
2445
  width: i = 24,
2390
2446
  height: e = 24,
2391
- color: t = w.GREY_DARK_2,
2447
+ color: t = L.GREY_DARK_2,
2392
2448
  className: s,
2393
2449
  onClick: n
2394
2450
  }) => /* @__PURE__ */ u(
@@ -2425,10 +2481,10 @@ const Q2 = ({
2425
2481
  )
2426
2482
  ]
2427
2483
  }
2428
- ), oe = ({
2484
+ ), ce = ({
2429
2485
  width: i = 24,
2430
2486
  height: e = 24,
2431
- color: t = w.GREY_DARK_2,
2487
+ color: t = L.GREY_DARK_2,
2432
2488
  className: s,
2433
2489
  onClick: n
2434
2490
  }) => /* @__PURE__ */ r(
@@ -2452,10 +2508,10 @@ const Q2 = ({
2452
2508
  }
2453
2509
  )
2454
2510
  }
2455
- ), ae = ({
2511
+ ), de = ({
2456
2512
  width: i = 24,
2457
2513
  height: e = 24,
2458
- color: t = w.GREY_DARK_2,
2514
+ color: t = L.GREY_DARK_2,
2459
2515
  className: s,
2460
2516
  onClick: n
2461
2517
  }) => /* @__PURE__ */ r(
@@ -2479,7 +2535,7 @@ const Q2 = ({
2479
2535
  }
2480
2536
  )
2481
2537
  }
2482
- ), g1 = ({
2538
+ ), u1 = ({
2483
2539
  name: i,
2484
2540
  width: e,
2485
2541
  height: t,
@@ -2488,8 +2544,8 @@ const Q2 = ({
2488
2544
  disabled: o = !1,
2489
2545
  onClick: c
2490
2546
  }) => {
2491
- const [a, C] = S(n), { theme: d } = r1(c2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
2492
- return K(() => {
2547
+ const [a, C] = O(n), { theme: d } = r1(c2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
2548
+ return G(() => {
2493
2549
  if (n) {
2494
2550
  h && !o && C(`${n} clickable`);
2495
2551
  return;
@@ -2498,35 +2554,35 @@ const Q2 = ({
2498
2554
  }, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
2499
2555
  switch (i) {
2500
2556
  case "nextIcon":
2501
- return I5({ width: e, height: t, color: l, className: a, onClick: h });
2557
+ return S5({ width: e, height: t, color: l, className: a, onClick: h });
2502
2558
  case "prevIcon":
2503
- return A5({ width: e, height: t, color: l, className: a, onClick: h });
2559
+ return D5({ width: e, height: t, color: l, className: a, onClick: h });
2504
2560
  case "arrowDown":
2505
- return Q2({ width: e, height: t, color: l, className: a, onClick: h });
2561
+ return i5({ width: e, height: t, color: l, className: a, onClick: h });
2506
2562
  case "info":
2507
- return X2({ width: e, height: t, color: l, className: a, onClick: h });
2563
+ return s5({ width: e, height: t, color: l, className: a, onClick: h });
2508
2564
  case "arrowRight":
2509
- return e5({ width: e, height: t, color: l, className: a, onClick: h });
2565
+ return n5({ width: e, height: t, color: l, className: a, onClick: h });
2510
2566
  case "calendar":
2511
- return r5({ width: e, height: t, color: l, className: a, onClick: h });
2567
+ return h5({ width: e, height: t, color: l, className: a, onClick: h });
2512
2568
  case "check":
2513
- return o5({ width: e, height: t, color: l, className: a, onClick: h });
2569
+ return c5({ width: e, height: t, color: l, className: a, onClick: h });
2514
2570
  case "cancel":
2515
- return a5({ width: e, height: t, color: l, className: a, onClick: h });
2571
+ return d5({ width: e, height: t, color: l, className: a, onClick: h });
2516
2572
  case "add":
2517
- return l5({ width: e, height: t, color: l, className: a, onClick: h });
2573
+ return C5({ width: e, height: t, color: l, className: a, onClick: h });
2518
2574
  case "list":
2519
- return h5({ width: e, height: t, color: l, className: a, onClick: h });
2575
+ return g5({ width: e, height: t, color: l, className: a, onClick: h });
2520
2576
  case "dragAndDrop":
2521
- return c5({ width: e, height: t, color: l, className: a, onClick: h });
2577
+ return u5({ width: e, height: t, color: l, className: a, onClick: h });
2522
2578
  case "filter":
2523
- return d5({ width: e, height: t, color: l, className: a, onClick: h });
2579
+ return p5({ width: e, height: t, color: l, className: a, onClick: h });
2524
2580
  case "attention":
2525
- return C5({ width: e, height: t, color: l, className: a, onClick: h });
2581
+ return f5({ width: e, height: t, color: l, className: a, onClick: h });
2526
2582
  case "users":
2527
- return g5({ width: e, height: t, color: l, className: a, onClick: h });
2583
+ return m5({ width: e, height: t, color: l, className: a, onClick: h });
2528
2584
  case "mySkillsMatrix":
2529
- return u5({
2585
+ return w5({
2530
2586
  width: e,
2531
2587
  height: t,
2532
2588
  color: l,
@@ -2534,9 +2590,9 @@ const Q2 = ({
2534
2590
  onClick: h
2535
2591
  });
2536
2592
  case "skills":
2537
- return f5({ width: e, height: t, color: l, className: a, onClick: h });
2593
+ return L5({ width: e, height: t, color: l, className: a, onClick: h });
2538
2594
  case "skillsMatrices":
2539
- return p5({
2595
+ return k5({
2540
2596
  width: e,
2541
2597
  height: t,
2542
2598
  color: l,
@@ -2544,21 +2600,21 @@ const Q2 = ({
2544
2600
  onClick: h
2545
2601
  });
2546
2602
  case "history":
2547
- return m5({ width: e, height: t, color: l, className: a, onClick: h });
2603
+ return v5({ width: e, height: t, color: l, className: a, onClick: h });
2548
2604
  case "logOut":
2549
- return w5({ width: e, height: t, color: l, className: a, onClick: h });
2605
+ return N5({ width: e, height: t, color: l, className: a, onClick: h });
2550
2606
  case "settings":
2551
- return L5({ width: e, height: t, color: l, className: a, onClick: h });
2607
+ return R5({ width: e, height: t, color: l, className: a, onClick: h });
2552
2608
  case "trash":
2553
- return k5({ width: e, height: t, color: l, className: a, onClick: h });
2609
+ return x5({ width: e, height: t, color: l, className: a, onClick: h });
2554
2610
  case "settings2":
2555
- return v5({ width: e, height: t, color: l, className: a, onClick: h });
2611
+ return _5({ width: e, height: t, color: l, className: a, onClick: h });
2556
2612
  case "checkCircle":
2557
- return N5({ width: e, height: t, color: l, className: a, onClick: h });
2613
+ return M5({ width: e, height: t, color: l, className: a, onClick: h });
2558
2614
  case "cancelCircle":
2559
- return R5({ width: e, height: t, color: l, className: a, onClick: h });
2615
+ return b5({ width: e, height: t, color: l, className: a, onClick: h });
2560
2616
  case "visibilityIcon":
2561
- return x5({
2617
+ return y5({
2562
2618
  width: e,
2563
2619
  height: t,
2564
2620
  color: l,
@@ -2566,7 +2622,7 @@ const Q2 = ({
2566
2622
  onClick: h
2567
2623
  });
2568
2624
  case "visibilityOffIcon":
2569
- return _5({
2625
+ return H5({
2570
2626
  width: e,
2571
2627
  height: t,
2572
2628
  color: l,
@@ -2574,7 +2630,7 @@ const Q2 = ({
2574
2630
  onClick: h
2575
2631
  });
2576
2632
  case "selectArrowIcon":
2577
- return M5({
2633
+ return E5({
2578
2634
  width: e,
2579
2635
  height: t,
2580
2636
  color: l,
@@ -2582,7 +2638,7 @@ const Q2 = ({
2582
2638
  onClick: h
2583
2639
  });
2584
2640
  case "expandArrowIcon":
2585
- return b5({
2641
+ return V5({
2586
2642
  width: e,
2587
2643
  height: t,
2588
2644
  color: l,
@@ -2590,7 +2646,7 @@ const Q2 = ({
2590
2646
  onClick: h
2591
2647
  });
2592
2648
  case "expandActiveArrowIcon":
2593
- return y5({
2649
+ return I5({
2594
2650
  width: e,
2595
2651
  height: t,
2596
2652
  color: l,
@@ -2598,85 +2654,85 @@ const Q2 = ({
2598
2654
  onClick: h
2599
2655
  });
2600
2656
  case "sortUp":
2601
- return H5({ width: e, height: t, color: l, className: a, onClick: h });
2657
+ return A5({ width: e, height: t, color: l, className: a, onClick: h });
2602
2658
  case "sortDown":
2603
- return V5({ width: e, height: t, color: l, className: a, onClick: h });
2659
+ return O5({ width: e, height: t, color: l, className: a, onClick: h });
2604
2660
  case "search":
2605
- return E5({ width: e, height: t, color: l, className: a, onClick: h });
2606
- case "arrowUpFilled":
2607
2661
  return Z5({ width: e, height: t, color: l, className: a, onClick: h });
2662
+ case "arrowUpFilled":
2663
+ return T5({ width: e, height: t, color: l, className: a, onClick: h });
2608
2664
  case "arrowDownFilled":
2609
- return O5({ width: e, height: t, color: l, className: a, onClick: h });
2665
+ return G5({ width: e, height: t, color: l, className: a, onClick: h });
2610
2666
  case "arrow2Up":
2611
- return t5({ width: e, height: t, color: l, className: a, onClick: h });
2667
+ return r5({ width: e, height: t, color: l, className: a, onClick: h });
2612
2668
  case "arrow2Right":
2613
- return i5({ width: e, height: t, color: l, className: a, onClick: h });
2669
+ return o5({ width: e, height: t, color: l, className: a, onClick: h });
2614
2670
  case "arrow2Down":
2615
- return s5({ width: e, height: t, color: l, className: a, onClick: h });
2671
+ return a5({ width: e, height: t, color: l, className: a, onClick: h });
2616
2672
  case "arrow2Left":
2617
- return n5({ width: e, height: t, color: l, className: a, onClick: h });
2673
+ return l5({ width: e, height: t, color: l, className: a, onClick: h });
2618
2674
  case "link":
2619
- return S5({ width: e, height: t, color: l, className: a, onClick: h });
2675
+ return K5({ width: e, height: t, color: l, className: a, onClick: h });
2620
2676
  case "telegram":
2621
- return G5({ width: e, height: t, color: l, className: a, onClick: h });
2677
+ return P5({ width: e, height: t, color: l, className: a, onClick: h });
2622
2678
  case "mail":
2623
- return K5({ width: e, height: t, color: l, className: a, onClick: h });
2679
+ return $5({ width: e, height: t, color: l, className: a, onClick: h });
2624
2680
  case "github":
2625
- return D5({ width: e, height: t, color: l, className: a, onClick: h });
2681
+ return B5({ width: e, height: t, color: l, className: a, onClick: h });
2626
2682
  case "linkedIn":
2627
- return T5({ width: e, height: t, color: l, className: a, onClick: h });
2683
+ return Y5({ width: e, height: t, color: l, className: a, onClick: h });
2628
2684
  case "emptyStateIcon":
2629
- return B5({ width: e, height: t, color: l, className: a, onClick: h });
2685
+ return j5({ width: e, height: t, color: l, className: a, onClick: h });
2630
2686
  case "filtersIcon":
2631
- return P5({ width: e, height: t, color: l, className: a, onClick: h });
2687
+ return F5({ width: e, height: t, color: l, className: a, onClick: h });
2632
2688
  case "dotMenuIcon":
2633
- return Y5({ width: e, height: t, color: l, className: a, onClick: h });
2689
+ return W5({ width: e, height: t, color: l, className: a, onClick: h });
2634
2690
  case "plusCircle":
2635
- return $5({ width: e, height: t, color: l, className: a, onClick: h });
2691
+ return U5({ width: e, height: t, color: l, className: a, onClick: h });
2636
2692
  case "warning":
2637
- return j5({ width: e, height: t, color: l, className: a, onClick: h });
2693
+ return z5({ width: e, height: t, color: l, className: a, onClick: h });
2638
2694
  case "back":
2639
- return F5({ width: e, height: t, color: l, className: a, onClick: h });
2695
+ return J5({ width: e, height: t, color: l, className: a, onClick: h });
2640
2696
  case "bell":
2641
- return U5({ width: e, height: t, color: l, className: a, onClick: h });
2697
+ return q5({ width: e, height: t, color: l, className: a, onClick: h });
2642
2698
  case "copy":
2643
- return W5({ width: e, height: t, color: l, className: a, onClick: h });
2699
+ return Q5({ width: e, height: t, color: l, className: a, onClick: h });
2644
2700
  case "contract":
2645
- return z5({ width: e, height: t, color: l, className: a, onClick: h });
2701
+ return X5({ width: e, height: t, color: l, className: a, onClick: h });
2646
2702
  case "resourceManager":
2647
- return J5({ width: e, height: t, color: l, className: a, onClick: h });
2703
+ return ee({ width: e, height: t, color: l, className: a, onClick: h });
2648
2704
  case "image":
2649
- return q5({ width: e, height: t, color: l, className: a, onClick: h });
2705
+ return te({ width: e, height: t, color: l, className: a, onClick: h });
2650
2706
  case "edit":
2651
- return Q5({ width: e, height: t, color: l, className: a, onClick: h });
2707
+ return ie({ width: e, height: t, color: l, className: a, onClick: h });
2652
2708
  case "filledArrowRight":
2653
- return X5({ width: e, height: t, color: l, className: a, onClick: h });
2709
+ return se({ width: e, height: t, color: l, className: a, onClick: h });
2654
2710
  case "burgerMenu":
2655
- return ee({ width: e, height: t, color: l, className: a, onClick: h });
2711
+ return ne({ width: e, height: t, color: l, className: a, onClick: h });
2656
2712
  case "refresh":
2657
- return te({ width: e, height: t, color: l, className: a, onClick: h });
2713
+ return re({ width: e, height: t, color: l, className: a, onClick: h });
2658
2714
  case "projects":
2659
- return ie({ width: e, height: t, color: l, className: a, onClick: h });
2715
+ return oe({ width: e, height: t, color: l, className: a, onClick: h });
2660
2716
  case "user":
2661
- return ne({ width: e, height: t, color: l, className: a, onClick: h });
2717
+ return le({ width: e, height: t, color: l, className: a, onClick: h });
2662
2718
  case "exit":
2663
- return se({ width: e, height: t, color: l, className: a, onClick: h });
2719
+ return ae({ width: e, height: t, color: l, className: a, onClick: h });
2664
2720
  case "openPointCircle":
2665
- return re({ width: e, height: t, color: l, className: a, onClick: h });
2721
+ return he({ width: e, height: t, color: l, className: a, onClick: h });
2666
2722
  case "community":
2667
- return oe({ width: e, height: t, color: l, className: a, onClick: h });
2723
+ return ce({ width: e, height: t, color: l, className: a, onClick: h });
2668
2724
  case "docs":
2669
- return ae({ width: e, height: t, color: l, className: a, onClick: h });
2725
+ return de({ width: e, height: t, color: l, className: a, onClick: h });
2670
2726
  default:
2671
2727
  return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
2672
2728
  }
2673
2729
  })() });
2674
- }, { Title: le, Text: he } = a2, ce = {
2730
+ }, { Title: Ce, Text: ge } = G1, ue = {
2675
2731
  h1: 1,
2676
2732
  h2: 2,
2677
2733
  h3: 3,
2678
2734
  h4: 4
2679
- }, de = L1(
2735
+ }, pe = d1(
2680
2736
  ({
2681
2737
  align: i = "inherit",
2682
2738
  variant: e = "body1",
@@ -2688,26 +2744,26 @@ const Q2 = ({
2688
2744
  /** This prop allows you to enable tooltip if text size is too big */
2689
2745
  trim: a = !1
2690
2746
  }, C) => {
2691
- const d = q(null);
2692
- H1(C, () => d.current);
2693
- const [l, h] = S(!1);
2694
- K(() => {
2747
+ const d = J(null);
2748
+ k1(C, () => d.current);
2749
+ const [l, h] = O(!1);
2750
+ G(() => {
2695
2751
  var v;
2696
2752
  if (!a) return;
2697
2753
  const m = () => {
2698
2754
  d.current && h(d.current.scrollWidth > d.current.clientWidth);
2699
2755
  };
2700
2756
  m();
2701
- const H = new ResizeObserver(m);
2702
- return d.current && H.observe(d.current), (v = d.current) != null && v.parentElement && H.observe(d.current.parentElement), () => {
2703
- H.disconnect();
2757
+ const b = new ResizeObserver(m);
2758
+ return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
2759
+ b.disconnect();
2704
2760
  };
2705
2761
  }, [a]);
2706
2762
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
2707
- let f = `snmt-typography snmt-typography-${e}`;
2708
- i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
2709
- const k = {
2710
- className: f,
2763
+ let p = `snmt-typography snmt-typography-${e}`;
2764
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
2765
+ const w = {
2766
+ className: p,
2711
2767
  style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
2712
2768
  onClick: n,
2713
2769
  ref: d,
@@ -2718,16 +2774,16 @@ const Q2 = ({
2718
2774
  }
2719
2775
  } : void 0
2720
2776
  };
2721
- return g ? /* @__PURE__ */ r(le, { level: ce[e], ...k, children: s }) : /* @__PURE__ */ r(he, { ...k, children: s });
2777
+ return g ? /* @__PURE__ */ r(Ce, { level: ue[e], ...w, children: s }) : /* @__PURE__ */ r(ge, { ...w, children: s });
2722
2778
  }
2723
2779
  );
2724
- var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
2725
- const d2 = d1({
2780
+ var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(k || {});
2781
+ const d2 = C1({
2726
2782
  locale: "en",
2727
2783
  theme: "light"
2728
2784
  });
2729
2785
  d2.Provider;
2730
- const Ce = ({
2786
+ const fe = ({
2731
2787
  width: i = 20,
2732
2788
  height: e = 20,
2733
2789
  color: t = "#001E52",
@@ -2754,10 +2810,10 @@ const Ce = ({
2754
2810
  }
2755
2811
  )
2756
2812
  }
2757
- ), ge = ({
2813
+ ), me = ({
2758
2814
  width: i = 20,
2759
2815
  height: e = 20,
2760
- color: t = L.GREY_DARK_5,
2816
+ color: t = k.GREY_DARK_5,
2761
2817
  className: s,
2762
2818
  onClick: n
2763
2819
  }) => /* @__PURE__ */ u(
@@ -2794,7 +2850,7 @@ const Ce = ({
2794
2850
  )
2795
2851
  ]
2796
2852
  }
2797
- ), ue = ({
2853
+ ), we = ({
2798
2854
  width: i = 20,
2799
2855
  height: e = 20,
2800
2856
  color: t = "#001E52",
@@ -2829,10 +2885,10 @@ const Ce = ({
2829
2885
  )
2830
2886
  ]
2831
2887
  }
2832
- ), fe = ({
2888
+ ), Le = ({
2833
2889
  width: i = 20,
2834
2890
  height: e = 20,
2835
- color: t = L.GREY_DARK_5,
2891
+ color: t = k.GREY_DARK_5,
2836
2892
  className: s,
2837
2893
  onClick: n
2838
2894
  }) => /* @__PURE__ */ u(
@@ -2856,10 +2912,10 @@ const Ce = ({
2856
2912
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
2857
2913
  ]
2858
2914
  }
2859
- ), pe = ({
2915
+ ), ke = ({
2860
2916
  width: i = 20,
2861
2917
  height: e = 20,
2862
- color: t = L.GREY_DARK_5,
2918
+ color: t = k.GREY_DARK_5,
2863
2919
  className: s,
2864
2920
  onClick: n
2865
2921
  }) => /* @__PURE__ */ r(
@@ -2880,10 +2936,10 @@ const Ce = ({
2880
2936
  }
2881
2937
  )
2882
2938
  }
2883
- ), me = ({
2939
+ ), ve = ({
2884
2940
  width: i = 20,
2885
2941
  height: e = 20,
2886
- color: t = L.GREY_DARK_5,
2942
+ color: t = k.GREY_DARK_5,
2887
2943
  className: s,
2888
2944
  onClick: n
2889
2945
  }) => /* @__PURE__ */ u(
@@ -2907,10 +2963,10 @@ const Ce = ({
2907
2963
  /* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
2908
2964
  ]
2909
2965
  }
2910
- ), we = ({
2966
+ ), Ne = ({
2911
2967
  width: i = 20,
2912
2968
  height: e = 20,
2913
- color: t = L.GREY_DARK_5,
2969
+ color: t = k.GREY_DARK_5,
2914
2970
  className: s,
2915
2971
  onClick: n
2916
2972
  }) => /* @__PURE__ */ r(
@@ -2931,10 +2987,10 @@ const Ce = ({
2931
2987
  }
2932
2988
  )
2933
2989
  }
2934
- ), Le = ({
2990
+ ), Re = ({
2935
2991
  width: i = 20,
2936
2992
  height: e = 20,
2937
- color: t = L.GREY_DARK_5,
2993
+ color: t = k.GREY_DARK_5,
2938
2994
  className: s,
2939
2995
  onClick: n
2940
2996
  }) => /* @__PURE__ */ u(
@@ -2978,10 +3034,10 @@ const Ce = ({
2978
3034
  )
2979
3035
  ]
2980
3036
  }
2981
- ), ke = ({
3037
+ ), xe = ({
2982
3038
  width: i = 20,
2983
3039
  height: e = 20,
2984
- color: t = L.GREY_DARK_5,
3040
+ color: t = k.GREY_DARK_5,
2985
3041
  className: s,
2986
3042
  onClick: n
2987
3043
  }) => /* @__PURE__ */ r(
@@ -3002,10 +3058,10 @@ const Ce = ({
3002
3058
  }
3003
3059
  )
3004
3060
  }
3005
- ), ve = ({
3061
+ ), _e = ({
3006
3062
  width: i = 20,
3007
3063
  height: e = 20,
3008
- color: t = L.GREY_DARK_5,
3064
+ color: t = k.GREY_DARK_5,
3009
3065
  className: s,
3010
3066
  onClick: n
3011
3067
  }) => /* @__PURE__ */ r(
@@ -3026,10 +3082,10 @@ const Ce = ({
3026
3082
  }
3027
3083
  )
3028
3084
  }
3029
- ), Ne = ({
3085
+ ), Me = ({
3030
3086
  width: i = 20,
3031
3087
  height: e = 20,
3032
- color: t = L.GREY_DARK_5,
3088
+ color: t = k.GREY_DARK_5,
3033
3089
  className: s,
3034
3090
  onClick: n
3035
3091
  }) => /* @__PURE__ */ r(
@@ -3050,10 +3106,10 @@ const Ce = ({
3050
3106
  }
3051
3107
  )
3052
3108
  }
3053
- ), Re = ({
3109
+ ), be = ({
3054
3110
  width: i = 20,
3055
3111
  height: e = 20,
3056
- color: t = L.GREY_DARK_5,
3112
+ color: t = k.GREY_DARK_5,
3057
3113
  className: s,
3058
3114
  onClick: n
3059
3115
  }) => /* @__PURE__ */ u(
@@ -3111,10 +3167,10 @@ const Ce = ({
3111
3167
  )
3112
3168
  ]
3113
3169
  }
3114
- ), xe = ({
3170
+ ), ye = ({
3115
3171
  width: i = 20,
3116
3172
  height: e = 20,
3117
- color: t = L.GREY_DARK_5,
3173
+ color: t = k.GREY_DARK_5,
3118
3174
  className: s,
3119
3175
  onClick: n
3120
3176
  }) => /* @__PURE__ */ u(
@@ -3158,10 +3214,10 @@ const Ce = ({
3158
3214
  )
3159
3215
  ]
3160
3216
  }
3161
- ), _e = ({
3217
+ ), He = ({
3162
3218
  width: i = 20,
3163
3219
  height: e = 20,
3164
- color: t = L.GREY_DARK_5,
3220
+ color: t = k.GREY_DARK_5,
3165
3221
  className: s,
3166
3222
  onClick: n
3167
3223
  }) => /* @__PURE__ */ u(
@@ -3198,10 +3254,10 @@ const Ce = ({
3198
3254
  )
3199
3255
  ]
3200
3256
  }
3201
- ), Me = ({
3257
+ ), Ee = ({
3202
3258
  width: i = 20,
3203
3259
  height: e = 20,
3204
- color: t = L.GREY_DARK_5,
3260
+ color: t = k.GREY_DARK_5,
3205
3261
  className: s,
3206
3262
  onClick: n
3207
3263
  }) => /* @__PURE__ */ u(
@@ -3238,10 +3294,10 @@ const Ce = ({
3238
3294
  )
3239
3295
  ]
3240
3296
  }
3241
- ), be = ({
3297
+ ), Ve = ({
3242
3298
  width: i = 20,
3243
3299
  height: e = 20,
3244
- color: t = L.GREY_DARK_5,
3300
+ color: t = k.GREY_DARK_5,
3245
3301
  className: s,
3246
3302
  onClick: n
3247
3303
  }) => /* @__PURE__ */ u(
@@ -3285,10 +3341,10 @@ const Ce = ({
3285
3341
  )
3286
3342
  ]
3287
3343
  }
3288
- ), ye = ({
3344
+ ), Ie = ({
3289
3345
  width: i = 20,
3290
3346
  height: e = 20,
3291
- color: t = L.GREY_DARK_5,
3347
+ color: t = k.GREY_DARK_5,
3292
3348
  className: s,
3293
3349
  onClick: n
3294
3350
  }) => /* @__PURE__ */ u(
@@ -3332,10 +3388,10 @@ const Ce = ({
3332
3388
  )
3333
3389
  ]
3334
3390
  }
3335
- ), He = ({
3391
+ ), Ae = ({
3336
3392
  width: i = 20,
3337
3393
  height: e = 20,
3338
- color: t = L.GREY_DARK_5,
3394
+ color: t = k.GREY_DARK_5,
3339
3395
  className: s,
3340
3396
  onClick: n
3341
3397
  }) => /* @__PURE__ */ u(
@@ -3379,10 +3435,10 @@ const Ce = ({
3379
3435
  )
3380
3436
  ]
3381
3437
  }
3382
- ), Ve = ({
3438
+ ), Oe = ({
3383
3439
  width: i = 20,
3384
3440
  height: e = 20,
3385
- color: t = L.GREY_DARK_5,
3441
+ color: t = k.GREY_DARK_5,
3386
3442
  className: s,
3387
3443
  onClick: n
3388
3444
  }) => /* @__PURE__ */ u(
@@ -3419,10 +3475,10 @@ const Ce = ({
3419
3475
  )
3420
3476
  ]
3421
3477
  }
3422
- ), Ee = ({
3478
+ ), Ze = ({
3423
3479
  width: i = 20,
3424
3480
  height: e = 20,
3425
- color: t = L.GREY_DARK_5,
3481
+ color: t = k.GREY_DARK_5,
3426
3482
  className: s,
3427
3483
  onClick: n
3428
3484
  }) => /* @__PURE__ */ u(
@@ -3452,10 +3508,10 @@ const Ce = ({
3452
3508
  )
3453
3509
  ]
3454
3510
  }
3455
- ), Ie = ({
3511
+ ), Se = ({
3456
3512
  width: i = 20,
3457
3513
  height: e = 20,
3458
- color: t = L.GREY_DARK_5,
3514
+ color: t = k.GREY_DARK_5,
3459
3515
  className: s,
3460
3516
  onClick: n
3461
3517
  }) => /* @__PURE__ */ u(
@@ -3485,10 +3541,10 @@ const Ce = ({
3485
3541
  )
3486
3542
  ]
3487
3543
  }
3488
- ), Ae = ({
3544
+ ), De = ({
3489
3545
  width: i = 20,
3490
3546
  height: e = 20,
3491
- color: t = L.GREY_DARK_5,
3547
+ color: t = k.GREY_DARK_5,
3492
3548
  className: s,
3493
3549
  onClick: n
3494
3550
  }) => /* @__PURE__ */ u(
@@ -3518,10 +3574,10 @@ const Ce = ({
3518
3574
  )
3519
3575
  ]
3520
3576
  }
3521
- ), Oe = ({
3577
+ ), Ge = ({
3522
3578
  width: i = 20,
3523
3579
  height: e = 20,
3524
- color: t = L.GREY_DARK_5,
3580
+ color: t = k.GREY_DARK_5,
3525
3581
  className: s,
3526
3582
  onClick: n
3527
3583
  }) => /* @__PURE__ */ u(
@@ -3551,10 +3607,10 @@ const Ce = ({
3551
3607
  )
3552
3608
  ]
3553
3609
  }
3554
- ), Ze = ({
3610
+ ), Te = ({
3555
3611
  width: i = 20,
3556
3612
  height: e = 20,
3557
- color: t = L.GREY_DARK_5,
3613
+ color: t = k.GREY_DARK_5,
3558
3614
  className: s,
3559
3615
  onClick: n
3560
3616
  }) => /* @__PURE__ */ u(
@@ -3591,10 +3647,10 @@ const Ce = ({
3591
3647
  )
3592
3648
  ]
3593
3649
  }
3594
- ), Se = ({
3650
+ ), Ke = ({
3595
3651
  width: i = 20,
3596
3652
  height: e = 20,
3597
- color: t = L.GREY_DARK_5,
3653
+ color: t = k.GREY_DARK_5,
3598
3654
  className: s,
3599
3655
  onClick: n
3600
3656
  }) => /* @__PURE__ */ u(
@@ -3624,10 +3680,10 @@ const Ce = ({
3624
3680
  )
3625
3681
  ]
3626
3682
  }
3627
- ), De = ({
3683
+ ), Be = ({
3628
3684
  width: i = 20,
3629
3685
  height: e = 20,
3630
- color: t = L.GREY_DARK_5,
3686
+ color: t = k.GREY_DARK_5,
3631
3687
  className: s,
3632
3688
  onClick: n
3633
3689
  }) => /* @__PURE__ */ u(
@@ -3657,7 +3713,7 @@ const Ce = ({
3657
3713
  )
3658
3714
  ]
3659
3715
  }
3660
- ), Ge = ({
3716
+ ), Pe = ({
3661
3717
  width: i = 20,
3662
3718
  height: e = 20,
3663
3719
  color: t = "#070739",
@@ -3687,7 +3743,7 @@ const Ce = ({
3687
3743
  /* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
3688
3744
  ]
3689
3745
  }
3690
- ), Te = ({
3746
+ ), Ye = ({
3691
3747
  width: i = 20,
3692
3748
  height: e = 20,
3693
3749
  color: t = "#070739",
@@ -3725,7 +3781,7 @@ const Ce = ({
3725
3781
  )
3726
3782
  ]
3727
3783
  }
3728
- ), Ke = ({
3784
+ ), $e = ({
3729
3785
  width: i = 9,
3730
3786
  height: e = 5,
3731
3787
  color: t = "#001E52",
@@ -3751,7 +3807,7 @@ const Ce = ({
3751
3807
  }
3752
3808
  )
3753
3809
  }
3754
- ), Be = ({
3810
+ ), je = ({
3755
3811
  width: i = 20,
3756
3812
  height: e = 20,
3757
3813
  color: t = "#F2F2F7",
@@ -3780,7 +3836,7 @@ const Ce = ({
3780
3836
  )
3781
3837
  ]
3782
3838
  }
3783
- ), Pe = ({
3839
+ ), Fe = ({
3784
3840
  width: i = 20,
3785
3841
  height: e = 20,
3786
3842
  color: t = "#004ED7",
@@ -3809,7 +3865,7 @@ const Ce = ({
3809
3865
  )
3810
3866
  ]
3811
3867
  }
3812
- ), Ye = ({
3868
+ ), We = ({
3813
3869
  width: i = 10,
3814
3870
  height: e = 10,
3815
3871
  color: t = "#001E52",
@@ -3838,7 +3894,7 @@ const Ce = ({
3838
3894
  )
3839
3895
  ]
3840
3896
  }
3841
- ), $e = ({
3897
+ ), Ue = ({
3842
3898
  width: i = 10,
3843
3899
  height: e = 10,
3844
3900
  color: t = "#001E52",
@@ -3875,9 +3931,9 @@ const Ce = ({
3875
3931
  )
3876
3932
  ]
3877
3933
  }
3878
- ), je = ({
3934
+ ), ze = ({
3879
3935
  className: i,
3880
- color: e = L.GREY_DARK_5,
3936
+ color: e = k.GREY_DARK_5,
3881
3937
  height: t = 20,
3882
3938
  width: s = 20,
3883
3939
  onClick: n
@@ -3908,9 +3964,9 @@ const Ce = ({
3908
3964
  )
3909
3965
  ]
3910
3966
  }
3911
- ), Fe = ({
3967
+ ), Je = ({
3912
3968
  className: i,
3913
- color: e = L.GREY_DARK_5,
3969
+ color: e = k.GREY_DARK_5,
3914
3970
  height: t = 20,
3915
3971
  width: s = 20,
3916
3972
  onClick: n
@@ -3935,9 +3991,9 @@ const Ce = ({
3935
3991
  }
3936
3992
  )
3937
3993
  }
3938
- ), Ue = ({
3994
+ ), qe = ({
3939
3995
  className: i,
3940
- color: e = L.GREY_DARK_5,
3996
+ color: e = k.GREY_DARK_5,
3941
3997
  height: t = 20,
3942
3998
  width: s = 20,
3943
3999
  onClick: n
@@ -3962,9 +4018,9 @@ const Ce = ({
3962
4018
  }
3963
4019
  )
3964
4020
  }
3965
- ), We = ({
4021
+ ), Qe = ({
3966
4022
  className: i,
3967
- color: e = L.GREY_DARK_5,
4023
+ color: e = k.GREY_DARK_5,
3968
4024
  height: t = 5,
3969
4025
  width: s = 10,
3970
4026
  onClick: n
@@ -3986,9 +4042,9 @@ const Ce = ({
3986
4042
  }
3987
4043
  )
3988
4044
  }
3989
- ), ze = ({
4045
+ ), Xe = ({
3990
4046
  className: i,
3991
- color: e = L.GREY_DARK_5,
4047
+ color: e = k.GREY_DARK_5,
3992
4048
  height: t = 5,
3993
4049
  width: s = 10,
3994
4050
  onClick: n
@@ -4011,9 +4067,9 @@ const Ce = ({
4011
4067
  }
4012
4068
  )
4013
4069
  }
4014
- ), Je = ({
4070
+ ), et = ({
4015
4071
  className: i,
4016
- color: e = L.GREY_DARK_5,
4072
+ color: e = k.GREY_DARK_5,
4017
4073
  height: t = 20,
4018
4074
  width: s = 20,
4019
4075
  onClick: n
@@ -4044,9 +4100,9 @@ const Ce = ({
4044
4100
  )
4045
4101
  ]
4046
4102
  }
4047
- ), qe = ({
4103
+ ), tt = ({
4048
4104
  className: i,
4049
- color: e = L.GREY_DARK_5,
4105
+ color: e = k.GREY_DARK_5,
4050
4106
  height: t = 24,
4051
4107
  width: s = 24,
4052
4108
  onClick: n
@@ -4083,9 +4139,9 @@ const Ce = ({
4083
4139
  )
4084
4140
  ]
4085
4141
  }
4086
- ), Qe = ({
4142
+ ), it = ({
4087
4143
  className: i,
4088
- color: e = L.GREY_DARK_5,
4144
+ color: e = k.GREY_DARK_5,
4089
4145
  height: t = 24,
4090
4146
  width: s = 24,
4091
4147
  onClick: n
@@ -4110,9 +4166,9 @@ const Ce = ({
4110
4166
  }
4111
4167
  )
4112
4168
  }
4113
- ), Xe = ({
4169
+ ), st = ({
4114
4170
  className: i,
4115
- color: e = L.GREY_DARK_5,
4171
+ color: e = k.GREY_DARK_5,
4116
4172
  height: t = 24,
4117
4173
  width: s = 24,
4118
4174
  onClick: n
@@ -4169,9 +4225,9 @@ const Ce = ({
4169
4225
  )
4170
4226
  ]
4171
4227
  }
4172
- ), et = ({
4228
+ ), nt = ({
4173
4229
  className: i,
4174
- color: e = L.GREY_DARK_5,
4230
+ color: e = k.GREY_DARK_5,
4175
4231
  height: t = 24,
4176
4232
  width: s = 24,
4177
4233
  onClick: n
@@ -4206,9 +4262,9 @@ const Ce = ({
4206
4262
  )
4207
4263
  ]
4208
4264
  }
4209
- ), tt = ({
4265
+ ), rt = ({
4210
4266
  className: i,
4211
- color: e = L.GREY_DARK_3,
4267
+ color: e = k.GREY_DARK_3,
4212
4268
  height: t = 14,
4213
4269
  width: s = 14,
4214
4270
  onClick: n
@@ -4243,9 +4299,9 @@ const Ce = ({
4243
4299
  )
4244
4300
  ]
4245
4301
  }
4246
- ), it = ({
4302
+ ), ot = ({
4247
4303
  className: i,
4248
- color: e = L.GREY_DARK_5,
4304
+ color: e = k.GREY_DARK_5,
4249
4305
  height: t = 18,
4250
4306
  onClick: s,
4251
4307
  width: n = 18
@@ -4270,9 +4326,9 @@ const Ce = ({
4270
4326
  }
4271
4327
  )
4272
4328
  }
4273
- ), st = ({
4329
+ ), at = ({
4274
4330
  className: i,
4275
- color: e = L.GREY_DARK_5,
4331
+ color: e = k.GREY_DARK_5,
4276
4332
  height: t = 24,
4277
4333
  width: s = 24,
4278
4334
  onClick: n
@@ -4322,9 +4378,9 @@ const Ce = ({
4322
4378
  )
4323
4379
  ]
4324
4380
  }
4325
- ), nt = ({
4381
+ ), lt = ({
4326
4382
  className: i,
4327
- color: e = L.GREY_DARK_5,
4383
+ color: e = k.GREY_DARK_5,
4328
4384
  height: t = 24,
4329
4385
  width: s = 24,
4330
4386
  onClick: n
@@ -4359,9 +4415,9 @@ const Ce = ({
4359
4415
  )
4360
4416
  ]
4361
4417
  }
4362
- ), rt = ({
4418
+ ), ht = ({
4363
4419
  className: i,
4364
- color: e = L.NOTIFICATION_WARNING_DARK,
4420
+ color: e = k.NOTIFICATION_WARNING_DARK,
4365
4421
  height: t = 37,
4366
4422
  width: s = 36,
4367
4423
  onClick: n
@@ -4398,9 +4454,9 @@ const Ce = ({
4398
4454
  )
4399
4455
  ]
4400
4456
  }
4401
- ), ot = ({
4457
+ ), ct = ({
4402
4458
  className: i,
4403
- color: e = L.GREY_DARK_5,
4459
+ color: e = k.GREY_DARK_5,
4404
4460
  height: t = 24,
4405
4461
  width: s = 24,
4406
4462
  onClick: n
@@ -4424,9 +4480,9 @@ const Ce = ({
4424
4480
  }
4425
4481
  )
4426
4482
  }
4427
- ), at = ({
4483
+ ), dt = ({
4428
4484
  className: i,
4429
- color: e = L.GREY_DARK_5,
4485
+ color: e = k.GREY_DARK_5,
4430
4486
  height: t = 24,
4431
4487
  width: s = 24,
4432
4488
  onClick: n
@@ -4463,9 +4519,9 @@ const Ce = ({
4463
4519
  )
4464
4520
  ]
4465
4521
  }
4466
- ), lt = ({
4522
+ ), Ct = ({
4467
4523
  className: i,
4468
- color: e = L.GREY_DARK_5,
4524
+ color: e = k.GREY_DARK_5,
4469
4525
  height: t = 20,
4470
4526
  width: s = 20,
4471
4527
  onClick: n
@@ -4496,9 +4552,9 @@ const Ce = ({
4496
4552
  )
4497
4553
  ]
4498
4554
  }
4499
- ), ht = ({
4555
+ ), gt = ({
4500
4556
  className: i,
4501
- color: e = L.GREY_DARK_5,
4557
+ color: e = k.GREY_DARK_5,
4502
4558
  height: t = 24,
4503
4559
  width: s = 24,
4504
4560
  onClick: n
@@ -4565,9 +4621,9 @@ const Ce = ({
4565
4621
  )
4566
4622
  ]
4567
4623
  }
4568
- ), ct = ({
4624
+ ), ut = ({
4569
4625
  className: i,
4570
- color: e = L.GREY_DARK_5,
4626
+ color: e = k.GREY_DARK_5,
4571
4627
  height: t = 24,
4572
4628
  width: s = 24,
4573
4629
  onClick: n
@@ -4622,9 +4678,9 @@ const Ce = ({
4622
4678
  )
4623
4679
  ]
4624
4680
  }
4625
- ), dt = ({
4681
+ ), pt = ({
4626
4682
  className: i,
4627
- color: e = L.GREY_DARK_5,
4683
+ color: e = k.GREY_DARK_5,
4628
4684
  height: t = 24,
4629
4685
  width: s = 24,
4630
4686
  onClick: n
@@ -4671,9 +4727,9 @@ const Ce = ({
4671
4727
  )
4672
4728
  ]
4673
4729
  }
4674
- ), Ct = ({
4730
+ ), ft = ({
4675
4731
  className: i,
4676
- color: e = L.GREY_DARK_5,
4732
+ color: e = k.GREY_DARK_5,
4677
4733
  height: t = 24,
4678
4734
  width: s = 24,
4679
4735
  onClick: n
@@ -4698,9 +4754,9 @@ const Ce = ({
4698
4754
  }
4699
4755
  )
4700
4756
  }
4701
- ), gt = ({
4757
+ ), mt = ({
4702
4758
  className: i,
4703
- color: e = L.GREY_DARK_5,
4759
+ color: e = k.GREY_DARK_5,
4704
4760
  height: t = 20,
4705
4761
  width: s = 20,
4706
4762
  onClick: n
@@ -4715,7 +4771,7 @@ const Ce = ({
4715
4771
  fill: "none",
4716
4772
  xmlns: "http://www.w3.org/2000/svg",
4717
4773
  children: [
4718
- /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
4774
+ /* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
4719
4775
  /* @__PURE__ */ r(
4720
4776
  "path",
4721
4777
  {
@@ -4727,7 +4783,7 @@ const Ce = ({
4727
4783
  )
4728
4784
  ]
4729
4785
  }
4730
- ), ut = ({
4786
+ ), wt = ({
4731
4787
  className: i,
4732
4788
  color: e = "#001E52",
4733
4789
  height: t = 24,
@@ -4753,7 +4809,7 @@ const Ce = ({
4753
4809
  }
4754
4810
  )
4755
4811
  }
4756
- ), ft = ({
4812
+ ), Lt = ({
4757
4813
  className: i,
4758
4814
  color: e = "#001E52",
4759
4815
  height: t = 24,
@@ -4791,10 +4847,10 @@ const Ce = ({
4791
4847
  )
4792
4848
  ] }) })
4793
4849
  }
4794
- ), pt = ({
4850
+ ), kt = ({
4795
4851
  width: i = 20,
4796
4852
  height: e = 20,
4797
- color: t = L.GREY_DARK_5,
4853
+ color: t = k.GREY_DARK_5,
4798
4854
  className: s,
4799
4855
  onClick: n
4800
4856
  }) => /* @__PURE__ */ r(
@@ -4815,7 +4871,7 @@ const Ce = ({
4815
4871
  }
4816
4872
  )
4817
4873
  }
4818
- ), mt = ({
4874
+ ), vt = ({
4819
4875
  width: i = 24,
4820
4876
  height: e = 24,
4821
4877
  color: t = "#131314",
@@ -4848,10 +4904,10 @@ const Ce = ({
4848
4904
  )
4849
4905
  ]
4850
4906
  }
4851
- ), wt = ({
4907
+ ), Nt = ({
4852
4908
  width: i = 20,
4853
4909
  height: e = 20,
4854
- color: t = L.GREY_DARK_5,
4910
+ color: t = k.GREY_DARK_5,
4855
4911
  className: s,
4856
4912
  onClick: n
4857
4913
  }) => /* @__PURE__ */ u(
@@ -4881,10 +4937,10 @@ const Ce = ({
4881
4937
  )
4882
4938
  ]
4883
4939
  }
4884
- ), Lt = ({
4940
+ ), Rt = ({
4885
4941
  width: i = 24,
4886
4942
  height: e = 24,
4887
- color: t = L.GREY_DARK_2,
4943
+ color: t = k.GREY_DARK_2,
4888
4944
  className: s,
4889
4945
  onClick: n
4890
4946
  }) => /* @__PURE__ */ u(
@@ -4921,10 +4977,10 @@ const Ce = ({
4921
4977
  )
4922
4978
  ]
4923
4979
  }
4924
- ), kt = ({
4980
+ ), xt = ({
4925
4981
  width: i = 24,
4926
4982
  height: e = 24,
4927
- color: t = L.GREY_DARK_2,
4983
+ color: t = k.GREY_DARK_2,
4928
4984
  className: s,
4929
4985
  onClick: n
4930
4986
  }) => /* @__PURE__ */ r(
@@ -4948,10 +5004,10 @@ const Ce = ({
4948
5004
  }
4949
5005
  )
4950
5006
  }
4951
- ), vt = ({
5007
+ ), _t = ({
4952
5008
  width: i = 24,
4953
5009
  height: e = 24,
4954
- color: t = L.GREY_DARK_2,
5010
+ color: t = k.GREY_DARK_2,
4955
5011
  className: s,
4956
5012
  onClick: n
4957
5013
  }) => /* @__PURE__ */ r(
@@ -4975,7 +5031,7 @@ const Ce = ({
4975
5031
  }
4976
5032
  )
4977
5033
  }
4978
- ), Nt = ({
5034
+ ), Mt = ({
4979
5035
  name: i,
4980
5036
  width: e,
4981
5037
  height: t,
@@ -4984,8 +5040,8 @@ const Ce = ({
4984
5040
  disabled: o = !1,
4985
5041
  onClick: c
4986
5042
  }) => {
4987
- const [a, C] = S(n), { theme: d } = r1(d2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
4988
- return K(() => {
5043
+ const [a, C] = O(n), { theme: d } = r1(d2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = o ? void 0 : c;
5044
+ return G(() => {
4989
5045
  if (n) {
4990
5046
  h && !o && C(`${n} clickable`);
4991
5047
  return;
@@ -4994,35 +5050,35 @@ const Ce = ({
4994
5050
  }, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
4995
5051
  switch (i) {
4996
5052
  case "nextIcon":
4997
- return Fe({ width: e, height: t, color: l, className: a, onClick: h });
5053
+ return Je({ width: e, height: t, color: l, className: a, onClick: h });
4998
5054
  case "prevIcon":
4999
- return Ue({ width: e, height: t, color: l, className: a, onClick: h });
5055
+ return qe({ width: e, height: t, color: l, className: a, onClick: h });
5000
5056
  case "arrowDown":
5001
- return Ce({ width: e, height: t, color: l, className: a, onClick: h });
5057
+ return fe({ width: e, height: t, color: l, className: a, onClick: h });
5002
5058
  case "info":
5003
- return ge({ width: e, height: t, color: l, className: a, onClick: h });
5059
+ return me({ width: e, height: t, color: l, className: a, onClick: h });
5004
5060
  case "arrowRight":
5005
- return ue({ width: e, height: t, color: l, className: a, onClick: h });
5061
+ return we({ width: e, height: t, color: l, className: a, onClick: h });
5006
5062
  case "calendar":
5007
- return Le({ width: e, height: t, color: l, className: a, onClick: h });
5063
+ return Re({ width: e, height: t, color: l, className: a, onClick: h });
5008
5064
  case "check":
5009
- return ke({ width: e, height: t, color: l, className: a, onClick: h });
5065
+ return xe({ width: e, height: t, color: l, className: a, onClick: h });
5010
5066
  case "cancel":
5011
- return ve({ width: e, height: t, color: l, className: a, onClick: h });
5067
+ return _e({ width: e, height: t, color: l, className: a, onClick: h });
5012
5068
  case "add":
5013
- return Ne({ width: e, height: t, color: l, className: a, onClick: h });
5069
+ return Me({ width: e, height: t, color: l, className: a, onClick: h });
5014
5070
  case "list":
5015
- return Re({ width: e, height: t, color: l, className: a, onClick: h });
5071
+ return be({ width: e, height: t, color: l, className: a, onClick: h });
5016
5072
  case "dragAndDrop":
5017
- return xe({ width: e, height: t, color: l, className: a, onClick: h });
5073
+ return ye({ width: e, height: t, color: l, className: a, onClick: h });
5018
5074
  case "filter":
5019
- return _e({ width: e, height: t, color: l, className: a, onClick: h });
5075
+ return He({ width: e, height: t, color: l, className: a, onClick: h });
5020
5076
  case "attention":
5021
- return Me({ width: e, height: t, color: l, className: a, onClick: h });
5077
+ return Ee({ width: e, height: t, color: l, className: a, onClick: h });
5022
5078
  case "users":
5023
- return be({ width: e, height: t, color: l, className: a, onClick: h });
5079
+ return Ve({ width: e, height: t, color: l, className: a, onClick: h });
5024
5080
  case "mySkillsMatrix":
5025
- return ye({
5081
+ return Ie({
5026
5082
  width: e,
5027
5083
  height: t,
5028
5084
  color: l,
@@ -5030,9 +5086,9 @@ const Ce = ({
5030
5086
  onClick: h
5031
5087
  });
5032
5088
  case "skills":
5033
- return He({ width: e, height: t, color: l, className: a, onClick: h });
5089
+ return Ae({ width: e, height: t, color: l, className: a, onClick: h });
5034
5090
  case "skillsMatrices":
5035
- return Ve({
5091
+ return Oe({
5036
5092
  width: e,
5037
5093
  height: t,
5038
5094
  color: l,
@@ -5040,21 +5096,21 @@ const Ce = ({
5040
5096
  onClick: h
5041
5097
  });
5042
5098
  case "history":
5043
- return Ee({ width: e, height: t, color: l, className: a, onClick: h });
5099
+ return Ze({ width: e, height: t, color: l, className: a, onClick: h });
5044
5100
  case "logOut":
5045
- return Ie({ width: e, height: t, color: l, className: a, onClick: h });
5101
+ return Se({ width: e, height: t, color: l, className: a, onClick: h });
5046
5102
  case "settings":
5047
- return Ae({ width: e, height: t, color: l, className: a, onClick: h });
5103
+ return De({ width: e, height: t, color: l, className: a, onClick: h });
5048
5104
  case "trash":
5049
- return Oe({ width: e, height: t, color: l, className: a, onClick: h });
5105
+ return Ge({ width: e, height: t, color: l, className: a, onClick: h });
5050
5106
  case "settings2":
5051
- return Ze({ width: e, height: t, color: l, className: a, onClick: h });
5107
+ return Te({ width: e, height: t, color: l, className: a, onClick: h });
5052
5108
  case "checkCircle":
5053
- return Se({ width: e, height: t, color: l, className: a, onClick: h });
5109
+ return Ke({ width: e, height: t, color: l, className: a, onClick: h });
5054
5110
  case "cancelCircle":
5055
- return De({ width: e, height: t, color: l, className: a, onClick: h });
5111
+ return Be({ width: e, height: t, color: l, className: a, onClick: h });
5056
5112
  case "visibilityIcon":
5057
- return Ge({
5113
+ return Pe({
5058
5114
  width: e,
5059
5115
  height: t,
5060
5116
  color: l,
@@ -5062,7 +5118,7 @@ const Ce = ({
5062
5118
  onClick: h
5063
5119
  });
5064
5120
  case "visibilityOffIcon":
5065
- return Te({
5121
+ return Ye({
5066
5122
  width: e,
5067
5123
  height: t,
5068
5124
  color: l,
@@ -5070,7 +5126,7 @@ const Ce = ({
5070
5126
  onClick: h
5071
5127
  });
5072
5128
  case "selectArrowIcon":
5073
- return Ke({
5129
+ return $e({
5074
5130
  width: e,
5075
5131
  height: t,
5076
5132
  color: l,
@@ -5078,7 +5134,7 @@ const Ce = ({
5078
5134
  onClick: h
5079
5135
  });
5080
5136
  case "expandArrowIcon":
5081
- return Be({
5137
+ return je({
5082
5138
  width: e,
5083
5139
  height: t,
5084
5140
  color: l,
@@ -5086,7 +5142,7 @@ const Ce = ({
5086
5142
  onClick: h
5087
5143
  });
5088
5144
  case "expandActiveArrowIcon":
5089
- return Pe({
5145
+ return Fe({
5090
5146
  width: e,
5091
5147
  height: t,
5092
5148
  color: l,
@@ -5094,86 +5150,86 @@ const Ce = ({
5094
5150
  onClick: h
5095
5151
  });
5096
5152
  case "sortUp":
5097
- return Ye({ width: e, height: t, color: l, className: a, onClick: h });
5153
+ return We({ width: e, height: t, color: l, className: a, onClick: h });
5098
5154
  case "sortDown":
5099
- return $e({ width: e, height: t, color: l, className: a, onClick: h });
5155
+ return Ue({ width: e, height: t, color: l, className: a, onClick: h });
5100
5156
  case "search":
5101
- return je({ width: e, height: t, color: l, className: a, onClick: h });
5102
- case "arrowUpFilled":
5103
5157
  return ze({ width: e, height: t, color: l, className: a, onClick: h });
5158
+ case "arrowUpFilled":
5159
+ return Xe({ width: e, height: t, color: l, className: a, onClick: h });
5104
5160
  case "arrowDownFilled":
5105
- return We({ width: e, height: t, color: l, className: a, onClick: h });
5161
+ return Qe({ width: e, height: t, color: l, className: a, onClick: h });
5106
5162
  case "arrow2Up":
5107
- return fe({ width: e, height: t, color: l, className: a, onClick: h });
5163
+ return Le({ width: e, height: t, color: l, className: a, onClick: h });
5108
5164
  case "arrow2Right":
5109
- return pe({ width: e, height: t, color: l, className: a, onClick: h });
5165
+ return ke({ width: e, height: t, color: l, className: a, onClick: h });
5110
5166
  case "arrow2Down":
5111
- return me({ width: e, height: t, color: l, className: a, onClick: h });
5167
+ return ve({ width: e, height: t, color: l, className: a, onClick: h });
5112
5168
  case "arrow2Left":
5113
- return we({ width: e, height: t, color: l, className: a, onClick: h });
5169
+ return Ne({ width: e, height: t, color: l, className: a, onClick: h });
5114
5170
  case "link":
5115
- return Je({ width: e, height: t, color: l, className: a, onClick: h });
5171
+ return et({ width: e, height: t, color: l, className: a, onClick: h });
5116
5172
  case "telegram":
5117
- return Qe({ width: e, height: t, color: l, className: a, onClick: h });
5173
+ return it({ width: e, height: t, color: l, className: a, onClick: h });
5118
5174
  case "mail":
5119
- return et({ width: e, height: t, color: l, className: a, onClick: h });
5175
+ return nt({ width: e, height: t, color: l, className: a, onClick: h });
5120
5176
  case "github":
5121
- return qe({ width: e, height: t, color: l, className: a, onClick: h });
5177
+ return tt({ width: e, height: t, color: l, className: a, onClick: h });
5122
5178
  case "linkedIn":
5123
- return Xe({ width: e, height: t, color: l, className: a, onClick: h });
5179
+ return st({ width: e, height: t, color: l, className: a, onClick: h });
5124
5180
  case "emptyStateIcon":
5125
- return tt({ width: e, height: t, color: l, className: a, onClick: h });
5181
+ return rt({ width: e, height: t, color: l, className: a, onClick: h });
5126
5182
  case "filtersIcon":
5127
- return it({ width: e, height: t, color: l, className: a, onClick: h });
5183
+ return ot({ width: e, height: t, color: l, className: a, onClick: h });
5128
5184
  case "dotMenuIcon":
5129
- return st({ width: e, height: t, color: l, className: a, onClick: h });
5185
+ return at({ width: e, height: t, color: l, className: a, onClick: h });
5130
5186
  case "plusCircle":
5131
- return nt({ width: e, height: t, color: l, className: a, onClick: h });
5187
+ return lt({ width: e, height: t, color: l, className: a, onClick: h });
5132
5188
  case "warning":
5133
- return rt({ width: e, height: t, color: l, className: a, onClick: h });
5189
+ return ht({ width: e, height: t, color: l, className: a, onClick: h });
5134
5190
  case "back":
5135
- return ot({ width: e, height: t, color: l, className: a, onClick: h });
5191
+ return ct({ width: e, height: t, color: l, className: a, onClick: h });
5136
5192
  case "bell":
5137
- return at({ width: e, height: t, color: l, className: a, onClick: h });
5193
+ return dt({ width: e, height: t, color: l, className: a, onClick: h });
5138
5194
  case "copy":
5139
- return lt({ width: e, height: t, color: l, className: a, onClick: h });
5195
+ return Ct({ width: e, height: t, color: l, className: a, onClick: h });
5140
5196
  case "contract":
5141
- return ht({ width: e, height: t, color: l, className: a, onClick: h });
5197
+ return gt({ width: e, height: t, color: l, className: a, onClick: h });
5142
5198
  case "resourceManager":
5143
- return ct({ width: e, height: t, color: l, className: a, onClick: h });
5199
+ return ut({ width: e, height: t, color: l, className: a, onClick: h });
5144
5200
  case "image":
5145
- return dt({ width: e, height: t, color: l, className: a, onClick: h });
5201
+ return pt({ width: e, height: t, color: l, className: a, onClick: h });
5146
5202
  case "edit":
5147
- return Ct({ width: e, height: t, color: l, className: a, onClick: h });
5203
+ return ft({ width: e, height: t, color: l, className: a, onClick: h });
5148
5204
  case "filledArrowRight":
5149
- return gt({ width: e, height: t, color: l, className: a, onClick: h });
5205
+ return mt({ width: e, height: t, color: l, className: a, onClick: h });
5150
5206
  case "burgerMenu":
5151
- return ut({ width: e, height: t, color: l, className: a, onClick: h });
5207
+ return wt({ width: e, height: t, color: l, className: a, onClick: h });
5152
5208
  case "refresh":
5153
- return ft({ width: e, height: t, color: l, className: a, onClick: h });
5209
+ return Lt({ width: e, height: t, color: l, className: a, onClick: h });
5154
5210
  case "projects":
5155
- return pt({ width: e, height: t, color: l, className: a, onClick: h });
5211
+ return kt({ width: e, height: t, color: l, className: a, onClick: h });
5156
5212
  case "user":
5157
- return wt({ width: e, height: t, color: l, className: a, onClick: h });
5213
+ return Nt({ width: e, height: t, color: l, className: a, onClick: h });
5158
5214
  case "exit":
5159
- return mt({ width: e, height: t, color: l, className: a, onClick: h });
5215
+ return vt({ width: e, height: t, color: l, className: a, onClick: h });
5160
5216
  case "openPointCircle":
5161
- return Lt({ width: e, height: t, color: l, className: a, onClick: h });
5217
+ return Rt({ width: e, height: t, color: l, className: a, onClick: h });
5162
5218
  case "community":
5163
- return kt({ width: e, height: t, color: l, className: a, onClick: h });
5219
+ return xt({ width: e, height: t, color: l, className: a, onClick: h });
5164
5220
  case "docs":
5165
- return vt({ width: e, height: t, color: l, className: a, onClick: h });
5221
+ return _t({ width: e, height: t, color: l, className: a, onClick: h });
5166
5222
  default:
5167
5223
  return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
5168
5224
  }
5169
5225
  })() });
5170
5226
  };
5171
- var p1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(p1 || {});
5172
- const Rt = d1({
5227
+ var m1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(m1 || {});
5228
+ const bt = C1({
5173
5229
  locale: "en",
5174
5230
  theme: "light"
5175
5231
  });
5176
- Rt.Provider;
5232
+ bt.Provider;
5177
5233
  const C2 = ({
5178
5234
  children: i,
5179
5235
  width: e,
@@ -5190,10 +5246,10 @@ const C2 = ({
5190
5246
  {
5191
5247
  className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
5192
5248
  closeIcon: /* @__PURE__ */ r(
5193
- Nt,
5249
+ Mt,
5194
5250
  {
5195
5251
  name: "cancelCircle",
5196
- color: o ? p1.GREY_DARK_1 : p1.GREY_DARK_2,
5252
+ color: o ? m1.GREY_DARK_1 : m1.GREY_DARK_2,
5197
5253
  width: c,
5198
5254
  height: c,
5199
5255
  onClick: a
@@ -5203,21 +5259,21 @@ const C2 = ({
5203
5259
  style: { width: e ?? "fit-content" },
5204
5260
  closable: n,
5205
5261
  children: typeof i == "string" ? /* @__PURE__ */ r(
5206
- de,
5262
+ pe,
5207
5263
  {
5208
5264
  variant: t === "small" ? "body4" : "body2",
5209
- color: o ? p1.GREY_DARK_2 : p1.GREY_DARK_5,
5265
+ color: o ? m1.GREY_DARK_2 : m1.GREY_DARK_5,
5210
5266
  children: i
5211
5267
  }
5212
5268
  ) : i
5213
5269
  }
5214
5270
  );
5215
- }, { Title: xt, Text: _t } = a2, Mt = {
5271
+ }, { Title: yt, Text: Ht } = G1, Et = {
5216
5272
  h1: 1,
5217
5273
  h2: 2,
5218
5274
  h3: 3,
5219
5275
  h4: 4
5220
- }, bt = L1(
5276
+ }, Vt = d1(
5221
5277
  ({
5222
5278
  align: i = "inherit",
5223
5279
  variant: e = "body1",
@@ -5229,26 +5285,26 @@ const C2 = ({
5229
5285
  /** This prop allows you to enable tooltip if text size is too big */
5230
5286
  trim: a = !1
5231
5287
  }, C) => {
5232
- const d = q(null);
5233
- H1(C, () => d.current);
5234
- const [l, h] = S(!1);
5235
- K(() => {
5288
+ const d = J(null);
5289
+ k1(C, () => d.current);
5290
+ const [l, h] = O(!1);
5291
+ G(() => {
5236
5292
  var v;
5237
5293
  if (!a) return;
5238
5294
  const m = () => {
5239
5295
  d.current && h(d.current.scrollWidth > d.current.clientWidth);
5240
5296
  };
5241
5297
  m();
5242
- const H = new ResizeObserver(m);
5243
- return d.current && H.observe(d.current), (v = d.current) != null && v.parentElement && H.observe(d.current.parentElement), () => {
5244
- H.disconnect();
5298
+ const b = new ResizeObserver(m);
5299
+ return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
5300
+ b.disconnect();
5245
5301
  };
5246
5302
  }, [a]);
5247
5303
  const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
5248
- let f = `snmt-typography snmt-typography-${e}`;
5249
- i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
5250
- const k = {
5251
- className: f,
5304
+ let p = `snmt-typography snmt-typography-${e}`;
5305
+ i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
5306
+ const w = {
5307
+ className: p,
5252
5308
  style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
5253
5309
  onClick: n,
5254
5310
  ref: d,
@@ -5259,9 +5315,9 @@ const C2 = ({
5259
5315
  }
5260
5316
  } : void 0
5261
5317
  };
5262
- return g ? /* @__PURE__ */ r(xt, { level: Mt[e], ...k, children: s }) : /* @__PURE__ */ r(_t, { ...k, children: s });
5318
+ return g ? /* @__PURE__ */ r(yt, { level: Et[e], ...w, children: s }) : /* @__PURE__ */ r(Ht, { ...w, children: s });
5263
5319
  }
5264
- ), yt = ({
5320
+ ), It = ({
5265
5321
  children: i,
5266
5322
  content: e,
5267
5323
  isOpen: t,
@@ -5270,7 +5326,7 @@ const C2 = ({
5270
5326
  noPadding: o = !1,
5271
5327
  trigger: c = "click"
5272
5328
  }) => {
5273
- const [a, C] = S(!1);
5329
+ const [a, C] = O(!1);
5274
5330
  return /* @__PURE__ */ r(
5275
5331
  b2,
5276
5332
  {
@@ -5287,7 +5343,7 @@ const C2 = ({
5287
5343
  }
5288
5344
  );
5289
5345
  };
5290
- var Ht = { exports: {} };
5346
+ var At = { exports: {} };
5291
5347
  (function(i, e) {
5292
5348
  (function(t, s) {
5293
5349
  i.exports = s();
@@ -5297,8 +5353,8 @@ var Ht = { exports: {} };
5297
5353
  return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
5298
5354
  } };
5299
5355
  });
5300
- })(Ht);
5301
- const Vt = ({
5356
+ })(At);
5357
+ const Ot = ({
5302
5358
  values: i,
5303
5359
  onTagClose: e,
5304
5360
  maxWidth: t,
@@ -5307,17 +5363,17 @@ const Vt = ({
5307
5363
  options: o,
5308
5364
  extraOptions: c
5309
5365
  }) => {
5310
- const { locale: a } = r1(G1), { t: C } = z2("common", { lng: a }), [d, l] = S(!1);
5311
- if (K(() => {
5366
+ const { locale: a } = r1(T1), { t: C } = z2("common", { lng: a }), [d, l] = O(!1);
5367
+ if (G(() => {
5312
5368
  i.length || l(!1);
5313
5369
  }, [i]), !i.length)
5314
5370
  return null;
5315
5371
  const h = (g) => {
5316
- var f, k;
5317
- return ((f = o == null ? void 0 : o.find((v) => v.value === g)) == null ? void 0 : f.label) || ((k = c == null ? void 0 : c.find((v) => v.value === g)) == null ? void 0 : k.label) || g;
5372
+ var p, w;
5373
+ return ((p = o == null ? void 0 : o.find((v) => v.value === g)) == null ? void 0 : p.label) || ((w = c == null ? void 0 : c.find((v) => v.value === g)) == null ? void 0 : w.label) || g;
5318
5374
  };
5319
5375
  return /* @__PURE__ */ u(
5320
- yt,
5376
+ It,
5321
5377
  {
5322
5378
  content: (
5323
5379
  // 90: paddings + margins + gaps and so on
@@ -5342,19 +5398,19 @@ const Vt = ({
5342
5398
  ]
5343
5399
  }
5344
5400
  );
5345
- }, Et = {
5401
+ }, Zt = {
5346
5402
  small: 20,
5347
5403
  medium: 28,
5348
5404
  large: 48
5349
- }, Y1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
5350
- const t = Et[i], s = `no-repeat linear-gradient(${e}
5405
+ }, $1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
5406
+ const t = Zt[i], s = `no-repeat linear-gradient(${e}
5351
5407
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
5352
5408
  width: t,
5353
5409
  background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
5354
5410
  backgroundSize: "20% calc(200% + 20px)"
5355
5411
  };
5356
5412
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
5357
- }, $1 = L1(
5413
+ }, j1 = d1(
5358
5414
  ({
5359
5415
  value: i,
5360
5416
  onChange: e,
@@ -5369,101 +5425,101 @@ const Vt = ({
5369
5425
  scrollThresholdValue: l = 50,
5370
5426
  onSearchChange: h,
5371
5427
  onDropdownVisibleChange: g,
5372
- onScrollToEnd: f,
5373
- onPopupScroll: k,
5428
+ onScrollToEnd: p,
5429
+ onPopupScroll: w,
5374
5430
  id: v,
5375
5431
  extraOptions: m,
5376
- dropdownRender: H,
5377
- optionRender: b,
5432
+ dropdownRender: b,
5433
+ optionRender: y,
5378
5434
  isLoading: A,
5379
- readOnly: p,
5435
+ readOnly: f,
5380
5436
  error: x
5381
5437
  }, _) => {
5382
- const [R, j] = S(!1), [J, F] = S(!1), [V, G] = S(!0), [E, O] = S(i), D = q(null);
5383
- K(() => {
5384
- O(i);
5438
+ const [R, j] = O(!1), [q, F] = O(!1), [E, T] = O(!0), [V, Z] = O(i), D = J(null);
5439
+ G(() => {
5440
+ Z(i);
5385
5441
  }, [i]);
5386
5442
  const B = (N) => {
5387
5443
  j(N), g && g(N);
5388
- }, W = (N, y) => {
5389
- var T;
5390
- return !!((T = y == null ? void 0 : y.label) != null && T.toString().toLowerCase().includes(N.toLowerCase()));
5444
+ }, U = (N, H) => {
5445
+ var K;
5446
+ return !!((K = H == null ? void 0 : H.label) != null && K.toString().toLowerCase().includes(N.toLowerCase()));
5391
5447
  }, I = () => {
5392
5448
  F(!0);
5393
5449
  }, Y = () => {
5394
5450
  F(!1);
5395
5451
  }, P = $(
5396
5452
  (N) => {
5397
- if (O(N), s) {
5398
- const T = N;
5399
- e == null || e(T);
5453
+ if (Z(N), s) {
5454
+ const K = N;
5455
+ e == null || e(K);
5400
5456
  return;
5401
5457
  }
5402
- const y = N;
5403
- e == null || e(y);
5458
+ const H = N;
5459
+ e == null || e(H);
5404
5460
  },
5405
5461
  [s, e]
5406
5462
  ), e1 = $(() => {
5407
- if (!(p || a)) {
5463
+ if (!(f || a)) {
5408
5464
  if (s) {
5409
5465
  P([]);
5410
5466
  return;
5411
5467
  }
5412
5468
  P("");
5413
5469
  }
5414
- }, [a, P, s, p]), t1 = $(
5470
+ }, [a, P, s, f]), t1 = $(
5415
5471
  (N) => {
5416
- const y = E.filter((T) => T !== N);
5417
- P(y), O(y);
5472
+ const H = V.filter((K) => K !== N);
5473
+ P(H), Z(H);
5418
5474
  },
5419
- [P, E]
5420
- ), C1 = $(
5421
- (N) => (E == null ? void 0 : E.indexOf(N)) === 0 ? (
5475
+ [P, V]
5476
+ ), g1 = $(
5477
+ (N) => (V == null ? void 0 : V.indexOf(N)) === 0 ? (
5422
5478
  // if the search input is empty
5423
5479
  // then display the placeholder, else do not display it
5424
- /* @__PURE__ */ r("span", { className: "custom-placeholder", children: V ? t : "" })
5480
+ /* @__PURE__ */ r("span", { className: "custom-placeholder", children: E ? t : "" })
5425
5481
  ) : /* @__PURE__ */ r(i1, {}),
5426
- [V, E, t]
5427
- ), k1 = (N) => {
5482
+ [E, V, t]
5483
+ ), v1 = (N) => {
5428
5484
  N.preventDefault(), N.stopPropagation();
5429
- }, v1 = async (N) => {
5430
- const { target: y } = N;
5431
- y.scrollTop + y.offsetHeight >= y.scrollHeight - l && (f == null || f(!0)), k && await k(N);
5485
+ }, N1 = async (N) => {
5486
+ const { target: H } = N;
5487
+ H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), w && await w(N);
5432
5488
  }, o1 = $(
5433
5489
  (N) => {
5434
- var y, T;
5435
- return ((y = o.find((a1) => a1.value === N)) == null ? void 0 : y.label) || ((T = m == null ? void 0 : m.find(
5490
+ var H, K;
5491
+ return ((H = o.find((a1) => a1.value === N)) == null ? void 0 : H.label) || ((K = m == null ? void 0 : m.find(
5436
5492
  (a1) => a1.value === N
5437
- )) == null ? void 0 : T.label) || N;
5493
+ )) == null ? void 0 : K.label) || N;
5438
5494
  },
5439
5495
  [m, o]
5440
- ), N1 = $(
5496
+ ), R1 = $(
5441
5497
  (N) => {
5442
- var y;
5498
+ var H;
5443
5499
  return /* @__PURE__ */ r(
5444
- Vt,
5500
+ Ot,
5445
5501
  {
5446
5502
  values: N,
5447
5503
  onTagClose: t1,
5448
- maxWidth: ((y = D.current) == null ? void 0 : y.clientWidth) || 0,
5504
+ maxWidth: ((H = D.current) == null ? void 0 : H.clientWidth) || 0,
5449
5505
  disabled: a,
5450
- closable: !p,
5506
+ closable: !f,
5451
5507
  options: o,
5452
5508
  extraOptions: m
5453
5509
  }
5454
5510
  );
5455
5511
  },
5456
- [a, m, t1, o, p]
5457
- ), Z = $(
5458
- ({ label: N, value: y, mode: T }) => T === "filter" ? C1(y) : /* @__PURE__ */ r("div", { onMouseDown: k1, className: "tag-wrapper", children: /* @__PURE__ */ r(C2, { onClose: () => t1(y), disabled: a, children: typeof N == "object" ? N : o1(y) }) }),
5459
- [a, o1, t1, C1]
5460
- ), z = Array.isArray(E) && E.length > 0 || !!E && typeof E == "string" && E.trim() !== "";
5512
+ [a, m, t1, o, f]
5513
+ ), S = $(
5514
+ ({ label: N, value: H, mode: K }) => K === "filter" ? g1(H) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(C2, { onClose: () => t1(H), disabled: a, children: typeof N == "object" ? N : o1(H) }) }),
5515
+ [a, o1, t1, g1]
5516
+ ), z = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
5461
5517
  return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
5462
5518
  /* @__PURE__ */ u(
5463
5519
  "div",
5464
5520
  {
5465
- className: `snmt-select-1-15-6 ${J ? "snmt-select-focused" : ""}
5466
- ${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
5521
+ className: `snmt-select-1-15-6 ${q ? "snmt-select-focused" : ""}
5522
+ ${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
5467
5523
  ref: D,
5468
5524
  style: { width: c },
5469
5525
  children: [
@@ -5471,34 +5527,34 @@ const Vt = ({
5471
5527
  N2,
5472
5528
  {
5473
5529
  className: "snmt-select-blank",
5474
- popupClassName: p ? "dropdown-read-only" : "",
5530
+ popupClassName: f ? "dropdown-read-only" : "",
5475
5531
  id: v,
5476
5532
  ref: _,
5477
5533
  showSearch: !!n,
5478
- filterOption: n && W,
5534
+ filterOption: n && U,
5479
5535
  onDropdownVisibleChange: B,
5480
5536
  disabled: a,
5481
- value: E || void 0,
5537
+ value: V || void 0,
5482
5538
  labelRender: (N) => {
5483
- const y = o1(N.value);
5484
- return a ? /* @__PURE__ */ r("span", { style: { color: Q.GREY_DARK_1 }, children: y }) : y;
5539
+ const H = o1(N.value);
5540
+ return a ? /* @__PURE__ */ r("span", { style: { color: Q.GREY_DARK_1 }, children: H }) : H;
5485
5541
  },
5486
5542
  mode: s === "filter" ? "multiple" : s,
5487
5543
  onChange: P,
5488
5544
  onFocus: I,
5489
5545
  onBlur: Y,
5490
5546
  onSearch: (N) => {
5491
- G(!N), h && h(N);
5547
+ T(!N), h && h(N);
5492
5548
  },
5493
- onSelect: () => G(!0),
5494
- onDeselect: () => G(!0),
5495
- tagRender: (N) => Z({ ...N, mode: s }),
5549
+ onSelect: () => T(!0),
5550
+ onDeselect: () => T(!0),
5551
+ tagRender: (N) => S({ ...N, mode: s }),
5496
5552
  maxTagCount: "responsive",
5497
- maxTagPlaceholder: N1,
5498
- onPopupScroll: v1,
5499
- prefix: A && /* @__PURE__ */ r(Y1, { size: "small" }),
5553
+ maxTagPlaceholder: R1,
5554
+ onPopupScroll: N1,
5555
+ prefix: A && /* @__PURE__ */ r($1, { size: "small" }),
5500
5556
  suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(i1, { children: [
5501
- E && !!E.length && (s || d) && /* @__PURE__ */ r(
5557
+ V && !!V.length && (s || d) && /* @__PURE__ */ r(
5502
5558
  "div",
5503
5559
  {
5504
5560
  onClick: e1,
@@ -5506,7 +5562,7 @@ const Vt = ({
5506
5562
  cursor: a ? "not-allowed" : "pointer"
5507
5563
  },
5508
5564
  children: /* @__PURE__ */ r(
5509
- g1,
5565
+ u1,
5510
5566
  {
5511
5567
  name: "cancel",
5512
5568
  color: a ? Q.GREY_DARK_1 : Q.GREY_DARK_2
@@ -5515,7 +5571,7 @@ const Vt = ({
5515
5571
  }
5516
5572
  ),
5517
5573
  /* @__PURE__ */ r(
5518
- g1,
5574
+ u1,
5519
5575
  {
5520
5576
  name: "selectArrowIcon",
5521
5577
  color: a ? Q.GREY_DARK_1 : Q.GREY_DARK_5,
@@ -5524,14 +5580,14 @@ const Vt = ({
5524
5580
  }
5525
5581
  )
5526
5582
  ] }) }),
5527
- removeIcon: /* @__PURE__ */ r(g1, { name: "cancelCircle", color: Q.GREY_DARK_1 }),
5583
+ removeIcon: /* @__PURE__ */ r(u1, { name: "cancelCircle", color: Q.GREY_DARK_1 }),
5528
5584
  options: o,
5529
- optionRender: (N) => b ? b(N.data) : /* @__PURE__ */ u(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5585
+ optionRender: (N) => y ? y(N.data) : /* @__PURE__ */ u(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
5530
5586
  /* @__PURE__ */ u(f1, { alignItems: "center", gap: 12, children: [
5531
5587
  s && /* @__PURE__ */ r(
5532
- q2,
5588
+ t5,
5533
5589
  {
5534
- checked: !!(E != null && E.includes(N.value))
5590
+ checked: !!(V != null && V.includes(N.value))
5535
5591
  }
5536
5592
  ),
5537
5593
  /* @__PURE__ */ u(f1, { alignItems: "center", gap: 8, children: [
@@ -5539,11 +5595,11 @@ const Vt = ({
5539
5595
  /* @__PURE__ */ r("span", { children: N.label })
5540
5596
  ] })
5541
5597
  ] }),
5542
- !s && E === N.value && /* @__PURE__ */ r(g1, { name: "check", color: Q.BLUE_DARK_1 })
5598
+ !s && V === N.value && /* @__PURE__ */ r(u1, { name: "check", color: Q.BLUE_DARK_1 })
5543
5599
  ] }),
5544
5600
  dropdownRender: (N) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
5545
- /* @__PURE__ */ r("div", { className: "dropdown-menu", children: H ? H(N) : N }),
5546
- A && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(Y1, {}) })
5601
+ /* @__PURE__ */ r("div", { className: "dropdown-menu", children: b ? b(N) : N }),
5602
+ A && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r($1, {}) })
5547
5603
  ] })
5548
5604
  }
5549
5605
  ),
@@ -5551,14 +5607,14 @@ const Vt = ({
5551
5607
  /* @__PURE__ */ r(
5552
5608
  "label",
5553
5609
  {
5554
- className: `${J || z ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${J ? "label-focused" : ""} ${A ? "label-loading" : ""} ${x ? "label-error" : ""}`,
5610
+ className: `${q || z ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${q ? "label-focused" : ""} ${A ? "label-loading" : ""} ${x ? "label-error" : ""}`,
5555
5611
  children: C ? `${t}*` : t
5556
5612
  }
5557
5613
  ),
5558
5614
  /* @__PURE__ */ r(
5559
5615
  "fieldset",
5560
5616
  {
5561
- className: `${J ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${z ? "fieldset-filled" : ""} ${x ? "fieldset-error" : ""}`,
5617
+ className: `${q ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${z ? "fieldset-filled" : ""} ${x ? "fieldset-error" : ""}`,
5562
5618
  children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
5563
5619
  }
5564
5620
  )
@@ -5568,7 +5624,7 @@ const Vt = ({
5568
5624
  ),
5569
5625
  x && /* @__PURE__ */ u(f1, { justifyContent: "flex-start", gap: 6, children: [
5570
5626
  /* @__PURE__ */ r(
5571
- g1,
5627
+ u1,
5572
5628
  {
5573
5629
  name: "attention",
5574
5630
  color: Q.NOTIFICATION_ERROR_DARK,
@@ -5576,14 +5632,14 @@ const Vt = ({
5576
5632
  width: 16
5577
5633
  }
5578
5634
  ),
5579
- typeof x == "string" ? /* @__PURE__ */ r(bt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
5635
+ typeof x == "string" ? /* @__PURE__ */ r(Vt, { color: Q.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
5580
5636
  ] })
5581
5637
  ] });
5582
5638
  }
5583
5639
  );
5584
- function It(i, e = 500) {
5585
- const t = q();
5586
- return K(() => () => {
5640
+ function St(i, e = 500) {
5641
+ const t = J();
5642
+ return G(() => () => {
5587
5643
  t.current && clearTimeout(t.current);
5588
5644
  }, []), (...s) => {
5589
5645
  const n = setTimeout(() => {
@@ -5592,15 +5648,15 @@ function It(i, e = 500) {
5592
5648
  clearTimeout(t.current), t.current = n;
5593
5649
  };
5594
5650
  }
5595
- function j1(i) {
5596
- const e = q(i);
5597
- return K(() => {
5651
+ function F1(i) {
5652
+ const e = J(i);
5653
+ return G(() => {
5598
5654
  e.current = i;
5599
5655
  }, [i]), e.current;
5600
5656
  }
5601
- const E1 = 100, l1 = {
5657
+ const V1 = 100, l1 = {
5602
5658
  offset: 0
5603
- }, F1 = L1(
5659
+ }, W1 = d1(
5604
5660
  ({
5605
5661
  loadOptions: i,
5606
5662
  width: e,
@@ -5615,154 +5671,154 @@ const E1 = 100, l1 = {
5615
5671
  preloadOptions: l,
5616
5672
  extraOptions: h,
5617
5673
  onDropdownVisibleChange: g,
5618
- optionRender: f,
5619
- dropdownRender: k,
5674
+ optionRender: p,
5675
+ dropdownRender: w,
5620
5676
  readOnly: v,
5621
5677
  clearable: m = !1,
5622
- required: H = !1,
5623
- error: b
5678
+ required: b = !1,
5679
+ error: y
5624
5680
  }, A) => {
5625
- const [p, x] = S(), [_, R] = S(l1), [j, J] = S(!1), [F, V] = S(), [G, E] = S(!1), [O, D] = S(
5681
+ const [f, x] = O(), [_, R] = O(l1), [j, q] = O(!1), [F, E] = O(), [T, V] = O(!1), [Z, D] = O(
5626
5682
  h ?? []
5627
- ), B = j1(_.offset), W = j1(F), [I, Y] = S(!1), P = q(!1), e1 = $(
5683
+ ), B = F1(_.offset), U = F1(F), [I, Y] = O(!1), P = J(!1), e1 = $(
5628
5684
  async ({
5629
- limit: Z = E1,
5685
+ limit: S = V1,
5630
5686
  offset: z,
5631
5687
  search: N
5632
5688
  }) => {
5633
- J(!0);
5689
+ q(!0);
5634
5690
  try {
5635
- const y = await i({
5636
- limit: Z,
5691
+ const H = await i({
5692
+ limit: S,
5637
5693
  offset: z,
5638
5694
  search: N
5639
5695
  });
5640
5696
  x(
5641
- (T) => z === 0 ? y.options : [...T ?? [], ...y.options]
5642
- ), R((T) => ({
5643
- ...T,
5644
- count: y.count
5697
+ (K) => z === 0 ? H.options : [...K ?? [], ...H.options]
5698
+ ), R((K) => ({
5699
+ ...K,
5700
+ count: H.count
5645
5701
  }));
5646
- } catch (y) {
5647
- return console.error("AsyncSelect. fetchOptions error", y), [];
5702
+ } catch (H) {
5703
+ return console.error("AsyncSelect. fetchOptions error", H), [];
5648
5704
  } finally {
5649
- J(!1);
5705
+ q(!1);
5650
5706
  }
5651
5707
  },
5652
5708
  [i]
5653
- ), t1 = It((Z) => {
5654
- V(Z), Z || R(l1);
5655
- }), C1 = $(
5656
- (Z) => t1(Z),
5709
+ ), t1 = St((S) => {
5710
+ E(S), S || R(l1);
5711
+ }), g1 = $(
5712
+ (S) => t1(S),
5657
5713
  [t1]
5658
- ), k1 = $(
5659
- async (Z) => {
5660
- j || Z && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && R((z) => ({
5714
+ ), v1 = $(
5715
+ async (S) => {
5716
+ j || S && _.count && _.count > ((f == null ? void 0 : f.length) ?? 0) && R((z) => ({
5661
5717
  ...z,
5662
- offset: z.offset + E1
5718
+ offset: z.offset + V1
5663
5719
  }));
5664
5720
  },
5665
- [j, p == null ? void 0 : p.length, _.count]
5666
- ), v1 = $(
5667
- (Z) => {
5668
- E(Z), !Z && F && (V(void 0), R(l1), Y(!0)), g == null || g(Z);
5721
+ [j, f == null ? void 0 : f.length, _.count]
5722
+ ), N1 = $(
5723
+ (S) => {
5724
+ V(S), !S && F && (E(void 0), R(l1), Y(!0)), g == null || g(S);
5669
5725
  },
5670
5726
  [g, F]
5671
5727
  );
5672
- K(() => {
5673
- !P.current || j || (I || G && (B !== _.offset || W !== F || !p)) && (e1({ offset: _.offset, limit: E1, search: F }), I && Y(!1));
5674
- }, [I, G, _.offset, F, B, W, p, j]), K(() => {
5728
+ G(() => {
5729
+ !P.current || j || (I || T && (B !== _.offset || U !== F || !f)) && (e1({ offset: _.offset, limit: V1, search: F }), I && Y(!1));
5730
+ }, [I, T, _.offset, F, B, U, f, j]), G(() => {
5675
5731
  (d || l) && e1(l1), P.current = !0;
5676
- }, []), K(() => {
5677
- h && D((Z) => {
5732
+ }, []), G(() => {
5733
+ h && D((S) => {
5678
5734
  const z = h.filter(
5679
- (N) => !Z.some((y) => y.value === N.value)
5735
+ (N) => !S.some((H) => H.value === N.value)
5680
5736
  );
5681
- return [...Z, ...z];
5737
+ return [...S, ...z];
5682
5738
  });
5683
5739
  }, [h]);
5684
5740
  const o1 = $(
5685
- (Z) => {
5686
- t && t(Z);
5741
+ (S) => {
5742
+ t && t(S);
5687
5743
  let z = [];
5688
- if (C ? z = Array.isArray(Z) ? Z : [] : z = Z ? [Z] : [], F) {
5744
+ if (C ? z = Array.isArray(S) ? S : [] : z = S ? [S] : [], F) {
5689
5745
  const N = z.filter(
5690
- (y) => !(O != null && O.some((T) => T.value === y))
5746
+ (H) => !(Z != null && Z.some((K) => K.value === H))
5691
5747
  );
5692
- N.length > 0 && D((y = []) => [
5693
- ...y,
5694
- ...N.map((T) => {
5695
- const a1 = p == null ? void 0 : p.find((w2) => w2.value === T);
5748
+ N.length > 0 && D((H = []) => [
5749
+ ...H,
5750
+ ...N.map((K) => {
5751
+ const a1 = f == null ? void 0 : f.find((w2) => w2.value === K);
5696
5752
  return {
5697
- value: T,
5698
- label: (a1 == null ? void 0 : a1.label) ?? T
5753
+ value: K,
5754
+ label: (a1 == null ? void 0 : a1.label) ?? K
5699
5755
  };
5700
5756
  })
5701
- ]), V(void 0), R(l1), Y(!0);
5757
+ ]), E(void 0), R(l1), Y(!0);
5702
5758
  }
5703
5759
  },
5704
- [t, F, C, p, O]
5705
- ), N1 = v2(
5760
+ [t, F, C, f, Z]
5761
+ ), R1 = v2(
5706
5762
  () => ({
5707
5763
  id: n,
5708
5764
  width: e,
5709
- options: p || [],
5765
+ options: f || [],
5710
5766
  onChange: o1,
5711
5767
  ref: A,
5712
5768
  placeholder: a,
5713
5769
  search: !0,
5714
5770
  value: s,
5715
- onSearchChange: C1,
5716
- onDropdownVisibleChange: v1,
5771
+ onSearchChange: g1,
5772
+ onDropdownVisibleChange: N1,
5717
5773
  scrollThresholdValue: c,
5718
- onScrollToEnd: k1,
5774
+ onScrollToEnd: v1,
5719
5775
  disabled: o,
5720
- extraOptions: O,
5776
+ extraOptions: Z,
5721
5777
  isLoading: j,
5722
- optionRender: f,
5723
- dropdownRender: k,
5778
+ optionRender: p,
5779
+ dropdownRender: w,
5724
5780
  readOnly: v,
5725
5781
  clearable: m,
5726
- required: H,
5727
- error: b
5782
+ required: b,
5783
+ error: y
5728
5784
  }),
5729
5785
  [
5730
5786
  n,
5731
5787
  e,
5732
- p,
5788
+ f,
5733
5789
  o1,
5734
5790
  A,
5735
5791
  a,
5736
5792
  s,
5737
- C1,
5738
- v1,
5793
+ g1,
5794
+ N1,
5739
5795
  c,
5740
- k1,
5796
+ v1,
5741
5797
  o,
5742
- O,
5798
+ Z,
5743
5799
  j,
5744
- f,
5745
- k,
5800
+ p,
5801
+ w,
5746
5802
  v,
5747
5803
  m,
5748
- H,
5749
- b
5804
+ b,
5805
+ y
5750
5806
  ]
5751
5807
  );
5752
- return H1(A, () => ({
5808
+ return k1(A, () => ({
5753
5809
  refetchOptions: async () => {
5754
- R(l1), V(void 0), Y(!0);
5810
+ R(l1), E(void 0), Y(!0);
5755
5811
  }
5756
- })), C ? /* @__PURE__ */ r($1, { ...N1, value: s, mode: C }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r($1, { ...N1, value: s }) });
5812
+ })), C ? /* @__PURE__ */ r(j1, { ...R1, value: s, mode: C }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(j1, { ...R1, value: s }) });
5757
5813
  }
5758
5814
  );
5759
- var x1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(x1 || {});
5760
- const At = {
5815
+ var _1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(_1 || {});
5816
+ const Dt = {
5761
5817
  small: 20,
5762
5818
  medium: 28,
5763
5819
  large: 48
5764
- }, Ot = ({ size: i = "medium", color: e = "#004ed7" }) => {
5765
- const t = At[i], s = `no-repeat linear-gradient(${e}
5820
+ }, Gt = ({ size: i = "medium", color: e = "#004ed7" }) => {
5821
+ const t = Dt[i], s = `no-repeat linear-gradient(${e}
5766
5822
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
5767
5823
  width: t,
5768
5824
  background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
@@ -5770,7 +5826,7 @@ const At = {
5770
5826
  };
5771
5827
  return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
5772
5828
  };
5773
- function Zt() {
5829
+ function Tt() {
5774
5830
  if (console && console.warn) {
5775
5831
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
5776
5832
  e[t] = arguments[t];
@@ -5781,7 +5837,7 @@ const U1 = {};
5781
5837
  function Z1() {
5782
5838
  for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
5783
5839
  e[t] = arguments[t];
5784
- n1(e[0]) && U1[e[0]] || (n1(e[0]) && (U1[e[0]] = /* @__PURE__ */ new Date()), Zt(...e));
5840
+ n1(e[0]) && U1[e[0]] || (n1(e[0]) && (U1[e[0]] = /* @__PURE__ */ new Date()), Tt(...e));
5785
5841
  }
5786
5842
  const g2 = (i, e) => () => {
5787
5843
  if (i.isInitialized)
@@ -5794,13 +5850,13 @@ const g2 = (i, e) => () => {
5794
5850
  };
5795
5851
  i.on("initialized", t);
5796
5852
  }
5797
- }, W1 = (i, e, t) => {
5853
+ }, z1 = (i, e, t) => {
5798
5854
  i.loadNamespaces(e, g2(i, t));
5799
- }, z1 = (i, e, t, s) => {
5855
+ }, J1 = (i, e, t, s) => {
5800
5856
  n1(t) && (t = [t]), t.forEach((n) => {
5801
5857
  i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
5802
5858
  }), i.loadLanguages(e, g2(i, s));
5803
- }, St = function(i, e) {
5859
+ }, Kt = function(i, e) {
5804
5860
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5805
5861
  const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
5806
5862
  if (s.toLowerCase() === "cimode") return !0;
@@ -5809,15 +5865,15 @@ const g2 = (i, e) => () => {
5809
5865
  return d === -1 || d === 2;
5810
5866
  };
5811
5867
  return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
5812
- }, Dt = function(i, e) {
5868
+ }, Bt = function(i, e) {
5813
5869
  let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5814
5870
  return !e.languages || !e.languages.length ? (Z1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
5815
5871
  lng: t.lng,
5816
5872
  precheck: (n, o) => {
5817
5873
  if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
5818
5874
  }
5819
- }) : St(i, e, t);
5820
- }, n1 = (i) => typeof i == "string", Gt = (i) => typeof i == "object" && i !== null, Tt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Kt = {
5875
+ }) : Kt(i, e, t);
5876
+ }, n1 = (i) => typeof i == "string", Pt = (i) => typeof i == "object" && i !== null, Yt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, $t = {
5821
5877
  "&amp;": "&",
5822
5878
  "&#38;": "&",
5823
5879
  "&lt;": "<",
@@ -5838,7 +5894,7 @@ const g2 = (i, e) => () => {
5838
5894
  "&#8230;": "…",
5839
5895
  "&#x2F;": "/",
5840
5896
  "&#47;": "/"
5841
- }, Bt = (i) => Kt[i], Pt = (i) => i.replace(Tt, Bt);
5897
+ }, jt = (i) => $t[i], Ft = (i) => i.replace(Yt, jt);
5842
5898
  let S1 = {
5843
5899
  bindI18n: "languageChanged",
5844
5900
  bindI18nStore: "",
@@ -5847,27 +5903,27 @@ let S1 = {
5847
5903
  transWrapTextNodes: "",
5848
5904
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
5849
5905
  useSuspense: !0,
5850
- unescape: Pt
5906
+ unescape: Ft
5851
5907
  };
5852
- const Yt = function() {
5908
+ const Wt = function() {
5853
5909
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5854
5910
  S1 = {
5855
5911
  ...S1,
5856
5912
  ...i
5857
5913
  };
5858
- }, $t = () => S1;
5914
+ }, Ut = () => S1;
5859
5915
  let u2;
5860
- const jt = (i) => {
5916
+ const zt = (i) => {
5861
5917
  u2 = i;
5862
- }, Ft = () => u2, Ut = {
5918
+ }, Jt = () => u2, qt = {
5863
5919
  type: "3rdParty",
5864
5920
  init(i) {
5865
- Yt(i.options.react), jt(i);
5921
+ Wt(i.options.react), zt(i);
5866
5922
  }
5867
- }, Wt = d1();
5868
- class zt {
5923
+ }, Qt = C1();
5924
+ class Xt {
5869
5925
  constructor() {
5870
- T1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
5926
+ K1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
5871
5927
  this.usedNamespaces = {};
5872
5928
  }
5873
5929
  addUsedNamespaces(e) {
@@ -5876,27 +5932,27 @@ class zt {
5876
5932
  });
5877
5933
  }
5878
5934
  }
5879
- const Jt = (i, e) => {
5880
- const t = q();
5881
- return K(() => {
5935
+ const e7 = (i, e) => {
5936
+ const t = J();
5937
+ return G(() => {
5882
5938
  t.current = i;
5883
5939
  }, [i, e]), t.current;
5884
- }, f2 = (i, e, t, s) => i.getFixedT(e, t, s), qt = (i, e, t, s) => $(f2(i, e, t, s), [i, e, t, s]), Qt = function(i) {
5940
+ }, p2 = (i, e, t, s) => i.getFixedT(e, t, s), t7 = (i, e, t, s) => $(p2(i, e, t, s), [i, e, t, s]), i7 = function(i) {
5885
5941
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5886
5942
  const {
5887
5943
  i18n: t
5888
5944
  } = e, {
5889
5945
  i18n: s,
5890
5946
  defaultNS: n
5891
- } = r1(Wt) || {}, o = t || s || Ft();
5892
- if (o && !o.reportNamespaces && (o.reportNamespaces = new zt()), !o) {
5947
+ } = r1(Qt) || {}, o = t || s || Jt();
5948
+ if (o && !o.reportNamespaces && (o.reportNamespaces = new Xt()), !o) {
5893
5949
  Z1("You will need to pass in an i18next instance by using initReactI18next");
5894
- const p = (_, R) => n1(R) ? R : Gt(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [p, {}, !1];
5895
- return x.t = p, x.i18n = {}, x.ready = !1, x;
5950
+ const f = (_, R) => n1(R) ? R : Pt(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, x = [f, {}, !1];
5951
+ return x.t = f, x.i18n = {}, x.ready = !1, x;
5896
5952
  }
5897
5953
  o.options.react && o.options.react.wait !== void 0 && Z1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
5898
5954
  const c = {
5899
- ...$t(),
5955
+ ...Ut(),
5900
5956
  ...o.options.react,
5901
5957
  ...e
5902
5958
  }, {
@@ -5905,91 +5961,91 @@ const Jt = (i, e) => {
5905
5961
  } = c;
5906
5962
  let d = i;
5907
5963
  d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
5908
- const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => Dt(p, o, c)), h = qt(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = S(g);
5964
+ const l = (o.isInitialized || o.initializedStoreOnce) && d.every((f) => Bt(f, o, c)), h = t7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => p2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = O(g);
5909
5965
  let m = d.join();
5910
5966
  e.lng && (m = `${e.lng}${m}`);
5911
- const H = Jt(m), b = q(!0);
5912
- K(() => {
5967
+ const b = e7(m), y = J(!0);
5968
+ G(() => {
5913
5969
  const {
5914
- bindI18n: p,
5970
+ bindI18n: f,
5915
5971
  bindI18nStore: x
5916
5972
  } = c;
5917
- b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
5918
- b.current && v(f);
5919
- }) : W1(o, d, () => {
5920
- b.current && v(f);
5921
- })), l && H && H !== m && b.current && v(f);
5973
+ y.current = !0, !l && !a && (e.lng ? J1(o, e.lng, d, () => {
5974
+ y.current && v(p);
5975
+ }) : z1(o, d, () => {
5976
+ y.current && v(p);
5977
+ })), l && b && b !== m && y.current && v(p);
5922
5978
  const _ = () => {
5923
- b.current && v(f);
5979
+ y.current && v(p);
5924
5980
  };
5925
- return p && o && o.on(p, _), x && o && o.store.on(x, _), () => {
5926
- b.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
5981
+ return f && o && o.on(f, _), x && o && o.store.on(x, _), () => {
5982
+ y.current = !1, f && o && f.split(" ").forEach((R) => o.off(R, _)), x && o && x.split(" ").forEach((R) => o.store.off(R, _));
5927
5983
  };
5928
- }, [o, m]), K(() => {
5929
- b.current && l && v(g);
5984
+ }, [o, m]), G(() => {
5985
+ y.current && l && v(g);
5930
5986
  }, [o, C, l]);
5931
- const A = [k, o, l];
5932
- if (A.t = k, A.i18n = o, A.ready = l, l || !l && !a) return A;
5933
- throw new Promise((p) => {
5934
- e.lng ? z1(o, e.lng, d, () => p()) : W1(o, d, () => p());
5987
+ const A = [w, o, l];
5988
+ if (A.t = w, A.i18n = o, A.ready = l, l || !l && !a) return A;
5989
+ throw new Promise((f) => {
5990
+ e.lng ? J1(o, e.lng, d, () => f()) : z1(o, d, () => f());
5935
5991
  });
5936
- }, M = (i) => typeof i == "string", u1 = () => {
5992
+ }, M = (i) => typeof i == "string", p1 = () => {
5937
5993
  let i, e;
5938
5994
  const t = new Promise((s, n) => {
5939
5995
  i = s, e = n;
5940
5996
  });
5941
5997
  return t.resolve = i, t.reject = e, t;
5942
- }, J1 = (i) => i == null ? "" : "" + i, Xt = (i, e, t) => {
5998
+ }, q1 = (i) => i == null ? "" : "" + i, s7 = (i, e, t) => {
5943
5999
  i.forEach((s) => {
5944
6000
  e[s] && (t[s] = e[s]);
5945
6001
  });
5946
- }, e7 = /###/g, q1 = (i) => i && i.indexOf("###") > -1 ? i.replace(e7, ".") : i, Q1 = (i) => !i || M(i), m1 = (i, e, t) => {
6002
+ }, n7 = /###/g, Q1 = (i) => i && i.indexOf("###") > -1 ? i.replace(n7, ".") : i, X1 = (i) => !i || M(i), w1 = (i, e, t) => {
5947
6003
  const s = M(e) ? e.split(".") : e;
5948
6004
  let n = 0;
5949
6005
  for (; n < s.length - 1; ) {
5950
- if (Q1(i)) return {};
5951
- const o = q1(s[n]);
6006
+ if (X1(i)) return {};
6007
+ const o = Q1(s[n]);
5952
6008
  !i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++n;
5953
6009
  }
5954
- return Q1(i) ? {} : {
6010
+ return X1(i) ? {} : {
5955
6011
  obj: i,
5956
- k: q1(s[n])
6012
+ k: Q1(s[n])
5957
6013
  };
5958
- }, X1 = (i, e, t) => {
6014
+ }, e2 = (i, e, t) => {
5959
6015
  const {
5960
6016
  obj: s,
5961
6017
  k: n
5962
- } = m1(i, e, Object);
6018
+ } = w1(i, e, Object);
5963
6019
  if (s !== void 0 || e.length === 1) {
5964
6020
  s[n] = t;
5965
6021
  return;
5966
6022
  }
5967
- let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = m1(i, c, Object);
6023
+ let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = w1(i, c, Object);
5968
6024
  for (; a.obj === void 0 && c.length; )
5969
- o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = m1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
6025
+ o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = w1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
5970
6026
  a.obj[`${a.k}.${o}`] = t;
5971
- }, t7 = (i, e, t, s) => {
6027
+ }, r7 = (i, e, t, s) => {
5972
6028
  const {
5973
6029
  obj: n,
5974
6030
  k: o
5975
- } = m1(i, e, Object);
6031
+ } = w1(i, e, Object);
5976
6032
  n[o] = n[o] || [], n[o].push(t);
5977
- }, _1 = (i, e) => {
6033
+ }, M1 = (i, e) => {
5978
6034
  const {
5979
6035
  obj: t,
5980
6036
  k: s
5981
- } = m1(i, e);
6037
+ } = w1(i, e);
5982
6038
  if (t)
5983
6039
  return t[s];
5984
- }, i7 = (i, e, t) => {
5985
- const s = _1(i, t);
5986
- return s !== void 0 ? s : _1(e, t);
5987
- }, p2 = (i, e, t) => {
6040
+ }, o7 = (i, e, t) => {
6041
+ const s = M1(i, t);
6042
+ return s !== void 0 ? s : M1(e, t);
6043
+ }, f2 = (i, e, t) => {
5988
6044
  for (const s in e)
5989
- s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : p2(i[s], e[s], t) : i[s] = e[s]);
6045
+ s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : f2(i[s], e[s], t) : i[s] = e[s]);
5990
6046
  return i;
5991
6047
  }, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5992
- var s7 = {
6048
+ var a7 = {
5993
6049
  "&": "&amp;",
5994
6050
  "<": "&lt;",
5995
6051
  ">": "&gt;",
@@ -5997,8 +6053,8 @@ var s7 = {
5997
6053
  "'": "&#39;",
5998
6054
  "/": "&#x2F;"
5999
6055
  };
6000
- const n7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => s7[e]) : i;
6001
- class r7 {
6056
+ const l7 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => a7[e]) : i;
6057
+ class h7 {
6002
6058
  constructor(e) {
6003
6059
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
6004
6060
  }
@@ -6010,11 +6066,11 @@ class r7 {
6010
6066
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
6011
6067
  }
6012
6068
  }
6013
- const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
6069
+ const c7 = [" ", ",", "?", "!", ";"], d7 = new h7(20), C7 = (i, e, t) => {
6014
6070
  e = e || "", t = t || "";
6015
- const s = o7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
6071
+ const s = c7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
6016
6072
  if (s.length === 0) return !0;
6017
- const n = a7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
6073
+ const n = d7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
6018
6074
  let o = !n.test(i);
6019
6075
  if (!o) {
6020
6076
  const c = i.indexOf(t);
@@ -6041,7 +6097,7 @@ const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
6041
6097
  n = c;
6042
6098
  }
6043
6099
  return n;
6044
- }, M1 = (i) => i && i.replace("_", "-"), h7 = {
6100
+ }, b1 = (i) => i && i.replace("_", "-"), g7 = {
6045
6101
  type: "logger",
6046
6102
  log(i) {
6047
6103
  this.output("log", i);
@@ -6056,14 +6112,14 @@ const o7 = [" ", ",", "?", "!", ";"], a7 = new r7(20), l7 = (i, e, t) => {
6056
6112
  console && console[i] && console[i].apply(console, e);
6057
6113
  }
6058
6114
  };
6059
- class b1 {
6115
+ class y1 {
6060
6116
  constructor(e) {
6061
6117
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6062
6118
  this.init(e, t);
6063
6119
  }
6064
6120
  init(e) {
6065
6121
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6066
- this.prefix = t.prefix || "i18next:", this.logger = e || h7, this.options = t, this.debug = t.debug;
6122
+ this.prefix = t.prefix || "i18next:", this.logger = e || g7, this.options = t, this.debug = t.debug;
6067
6123
  }
6068
6124
  log() {
6069
6125
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
@@ -6089,17 +6145,17 @@ class b1 {
6089
6145
  return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
6090
6146
  }
6091
6147
  create(e) {
6092
- return new b1(this.logger, {
6148
+ return new y1(this.logger, {
6093
6149
  prefix: `${this.prefix}:${e}:`,
6094
6150
  ...this.options
6095
6151
  });
6096
6152
  }
6097
6153
  clone(e) {
6098
- return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
6154
+ return e = e || this.options, e.prefix = e.prefix || this.prefix, new y1(this.logger, e);
6099
6155
  }
6100
6156
  }
6101
- var X = new b1();
6102
- class V1 {
6157
+ var X = new y1();
6158
+ class E1 {
6103
6159
  constructor() {
6104
6160
  this.observers = {};
6105
6161
  }
@@ -6133,7 +6189,7 @@ class V1 {
6133
6189
  });
6134
6190
  }
6135
6191
  }
6136
- class e2 extends V1 {
6192
+ class t2 extends E1 {
6137
6193
  constructor(e) {
6138
6194
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
6139
6195
  ns: ["translation"],
@@ -6153,7 +6209,7 @@ class e2 extends V1 {
6153
6209
  const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
6154
6210
  let a;
6155
6211
  e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : M(s) && o ? a.push(...s.split(o)) : a.push(s)));
6156
- const C = _1(this.data, a);
6212
+ const C = M1(this.data, a);
6157
6213
  return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !M(s) ? C : D1(this.data && this.data[e] && this.data[e][t], s, o);
6158
6214
  }
6159
6215
  addResource(e, t, s, n) {
@@ -6162,7 +6218,7 @@ class e2 extends V1 {
6162
6218
  };
6163
6219
  const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
6164
6220
  let a = [e, t];
6165
- s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), X1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
6221
+ s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), e2(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
6166
6222
  }
6167
6223
  addResources(e, t, s) {
6168
6224
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -6180,11 +6236,11 @@ class e2 extends V1 {
6180
6236
  skipCopy: !1
6181
6237
  }, a = [e, t];
6182
6238
  e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
6183
- let C = _1(this.data, a) || {};
6184
- c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? p2(C, s, o) : C = {
6239
+ let C = M1(this.data, a) || {};
6240
+ c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? f2(C, s, o) : C = {
6185
6241
  ...C,
6186
6242
  ...s
6187
- }, X1(this.data, a, C), c.silent || this.emit("added", e, t, s);
6243
+ }, e2(this.data, a, C), c.silent || this.emit("added", e, t, s);
6188
6244
  }
6189
6245
  removeResourceBundle(e, t) {
6190
6246
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -6219,11 +6275,11 @@ var m2 = {
6219
6275
  }), e;
6220
6276
  }
6221
6277
  };
6222
- const t2 = {};
6223
- class y1 extends V1 {
6278
+ const i2 = {};
6279
+ class H1 extends E1 {
6224
6280
  constructor(e) {
6225
6281
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6226
- super(), Xt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = X.create("translator");
6282
+ super(), s7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = X.create("translator");
6227
6283
  }
6228
6284
  changeLanguage(e) {
6229
6285
  e && (this.language = e);
@@ -6242,7 +6298,7 @@ class y1 extends V1 {
6242
6298
  s === void 0 && (s = ":");
6243
6299
  const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
6244
6300
  let o = t.ns || this.options.defaultNS || [];
6245
- const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !l7(e, s, n);
6301
+ const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !C7(e, s, n);
6246
6302
  if (c && !a) {
6247
6303
  const C = e.match(this.interpolator.nestingRegexp);
6248
6304
  if (C && C.length > 0)
@@ -6269,15 +6325,15 @@ class y1 extends V1 {
6269
6325
  } = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
6270
6326
  if (d && d.toLowerCase() === "cimode") {
6271
6327
  if (l) {
6272
- const p = t.nsSeparator || this.options.nsSeparator;
6328
+ const f = t.nsSeparator || this.options.nsSeparator;
6273
6329
  return n ? {
6274
- res: `${C}${p}${c}`,
6330
+ res: `${C}${f}${c}`,
6275
6331
  usedKey: c,
6276
6332
  exactUsedKey: c,
6277
6333
  usedLng: d,
6278
6334
  usedNS: C,
6279
6335
  usedParams: this.getUsedParamsDetails(t)
6280
- } : `${C}${p}${c}`;
6336
+ } : `${C}${f}${c}`;
6281
6337
  }
6282
6338
  return n ? {
6283
6339
  res: c,
@@ -6290,18 +6346,18 @@ class y1 extends V1 {
6290
6346
  }
6291
6347
  const h = this.resolve(e, t);
6292
6348
  let g = h && h.res;
6293
- const f = h && h.usedKey || c, k = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], H = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, A = !M(g) && typeof g != "boolean" && typeof g != "number";
6294
- if (b && g && A && m.indexOf(v) < 0 && !(M(H) && Array.isArray(g))) {
6349
+ const p = h && h.usedKey || c, w = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, A = !M(g) && typeof g != "boolean" && typeof g != "number";
6350
+ if (y && g && A && m.indexOf(v) < 0 && !(M(b) && Array.isArray(g))) {
6295
6351
  if (!t.returnObjects && !this.options.returnObjects) {
6296
6352
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
6297
- const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
6353
+ const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
6298
6354
  ...t,
6299
6355
  ns: a
6300
6356
  }) : `key '${c} (${this.language})' returned an object instead of string.`;
6301
- return n ? (h.res = p, h.usedParams = this.getUsedParamsDetails(t), h) : p;
6357
+ return n ? (h.res = f, h.usedParams = this.getUsedParamsDetails(t), h) : f;
6302
6358
  }
6303
6359
  if (o) {
6304
- const p = Array.isArray(g), x = p ? [] : {}, _ = p ? k : f;
6360
+ const f = Array.isArray(g), x = f ? [] : {}, _ = f ? w : p;
6305
6361
  for (const R in g)
6306
6362
  if (Object.prototype.hasOwnProperty.call(g, R)) {
6307
6363
  const j = `${_}${o}${R}`;
@@ -6313,17 +6369,17 @@ class y1 extends V1 {
6313
6369
  }
6314
6370
  g = x;
6315
6371
  }
6316
- } else if (b && M(H) && Array.isArray(g))
6317
- g = g.join(H), g && (g = this.extendTranslation(g, e, t, s));
6372
+ } else if (y && M(b) && Array.isArray(g))
6373
+ g = g.join(b), g && (g = this.extendTranslation(g, e, t, s));
6318
6374
  else {
6319
- let p = !1, x = !1;
6320
- const _ = t.count !== void 0 && !M(t.count), R = y1.hasDefaultValue(t), j = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", J = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
6375
+ let f = !1, x = !1;
6376
+ const _ = t.count !== void 0 && !M(t.count), R = H1.hasDefaultValue(t), j = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", q = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
6321
6377
  ordinal: !1
6322
- }) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), V = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${J}`] || t.defaultValue;
6323
- !this.isValidLookup(g) && R && (p = !0, g = V), this.isValidLookup(g) || (x = !0, g = c);
6324
- const E = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, O = R && V !== g && this.options.updateMissing;
6325
- if (x || p || O) {
6326
- if (this.logger.log(O ? "updateKey" : "missingKey", d, C, c, O ? V : g), o) {
6378
+ }) : "", F = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), E = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${j}`] || t[`defaultValue${q}`] || t.defaultValue;
6379
+ !this.isValidLookup(g) && R && (f = !0, g = E), this.isValidLookup(g) || (x = !0, g = c);
6380
+ const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : g, Z = R && E !== g && this.options.updateMissing;
6381
+ if (x || f || Z) {
6382
+ if (this.logger.log(Z ? "updateKey" : "missingKey", d, C, c, Z ? E : g), o) {
6327
6383
  const I = this.resolve(c, {
6328
6384
  ...t,
6329
6385
  keySeparator: !1
@@ -6336,18 +6392,18 @@ class y1 extends V1 {
6336
6392
  for (let I = 0; I < B.length; I++)
6337
6393
  D.push(B[I]);
6338
6394
  else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
6339
- const W = (I, Y, P) => {
6340
- const e1 = R && P !== g ? P : E;
6341
- this.options.missingKeyHandler ? this.options.missingKeyHandler(I, C, Y, e1, O, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, C, Y, e1, O, t), this.emit("missingKey", I, C, Y, g);
6395
+ const U = (I, Y, P) => {
6396
+ const e1 = R && P !== g ? P : V;
6397
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(I, C, Y, e1, Z, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, C, Y, e1, Z, t), this.emit("missingKey", I, C, Y, g);
6342
6398
  };
6343
6399
  this.options.saveMissing && (this.options.saveMissingPlurals && _ ? D.forEach((I) => {
6344
6400
  const Y = this.pluralResolver.getSuffixes(I, t);
6345
6401
  F && t[`defaultValue${this.options.pluralSeparator}zero`] && Y.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Y.push(`${this.options.pluralSeparator}zero`), Y.forEach((P) => {
6346
- W([I], c + P, t[`defaultValue${P}`] || V);
6402
+ U([I], c + P, t[`defaultValue${P}`] || E);
6347
6403
  });
6348
- }) : W(D, c, V));
6404
+ }) : U(D, c, E));
6349
6405
  }
6350
- g = this.extendTranslation(g, e, t, h, s), x && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (x || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
6406
+ g = this.extendTranslation(g, e, t, h, s), x && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, f ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
6351
6407
  }
6352
6408
  return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
6353
6409
  }
@@ -6379,13 +6435,13 @@ class y1 extends V1 {
6379
6435
  ...this.options.interpolation.defaultVariables,
6380
6436
  ...h
6381
6437
  }), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), d) {
6382
- const g = e.match(this.interpolator.nestingRegexp), f = g && g.length;
6383
- l < f && (s.nest = !1);
6438
+ const g = e.match(this.interpolator.nestingRegexp), p = g && g.length;
6439
+ l < p && (s.nest = !1);
6384
6440
  }
6385
6441
  !s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
6386
- for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
6387
- f[k] = arguments[k];
6388
- return o && o[0] === f[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
6442
+ for (var g = arguments.length, p = new Array(g), w = 0; w < g; w++)
6443
+ p[w] = arguments[w];
6444
+ return o && o[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
6389
6445
  }, s)), s.interpolation && this.interpolator.reset();
6390
6446
  }
6391
6447
  const a = s.postProcess || this.options.postProcess, C = M(a) ? [a] : a;
@@ -6405,26 +6461,26 @@ class y1 extends V1 {
6405
6461
  n = l;
6406
6462
  let h = d.namespaces;
6407
6463
  this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
6408
- const g = t.count !== void 0 && !M(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6464
+ const g = t.count !== void 0 && !M(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
6409
6465
  h.forEach((m) => {
6410
- this.isValidLookup(s) || (a = m, !t2[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (t2[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((H) => {
6466
+ this.isValidLookup(s) || (a = m, !i2[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (i2[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((b) => {
6411
6467
  if (this.isValidLookup(s)) return;
6412
- c = H;
6413
- const b = [l];
6468
+ c = b;
6469
+ const y = [l];
6414
6470
  if (this.i18nFormat && this.i18nFormat.addLookupKeys)
6415
- this.i18nFormat.addLookupKeys(b, l, H, m, t);
6471
+ this.i18nFormat.addLookupKeys(y, l, b, m, t);
6416
6472
  else {
6417
- let p;
6418
- g && (p = this.pluralResolver.getSuffix(H, t.count, t));
6473
+ let f;
6474
+ g && (f = this.pluralResolver.getSuffix(b, t.count, t));
6419
6475
  const x = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
6420
- if (g && (b.push(l + p), t.ordinal && p.indexOf(_) === 0 && b.push(l + p.replace(_, this.options.pluralSeparator)), f && b.push(l + x)), k) {
6476
+ if (g && (y.push(l + f), t.ordinal && f.indexOf(_) === 0 && y.push(l + f.replace(_, this.options.pluralSeparator)), p && y.push(l + x)), w) {
6421
6477
  const R = `${l}${this.options.contextSeparator}${t.context}`;
6422
- b.push(R), g && (b.push(R + p), t.ordinal && p.indexOf(_) === 0 && b.push(R + p.replace(_, this.options.pluralSeparator)), f && b.push(R + x));
6478
+ y.push(R), g && (y.push(R + f), t.ordinal && f.indexOf(_) === 0 && y.push(R + f.replace(_, this.options.pluralSeparator)), p && y.push(R + x));
6423
6479
  }
6424
6480
  }
6425
6481
  let A;
6426
- for (; A = b.pop(); )
6427
- this.isValidLookup(s) || (o = A, s = this.getResource(H, m, A, t));
6482
+ for (; A = y.pop(); )
6483
+ this.isValidLookup(s) || (o = A, s = this.getResource(b, m, A, t));
6428
6484
  }));
6429
6485
  });
6430
6486
  }), {
@@ -6467,17 +6523,17 @@ class y1 extends V1 {
6467
6523
  }
6468
6524
  }
6469
6525
  const I1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
6470
- class i2 {
6526
+ class s2 {
6471
6527
  constructor(e) {
6472
6528
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = X.create("languageUtils");
6473
6529
  }
6474
6530
  getScriptPartFromCode(e) {
6475
- if (e = M1(e), !e || e.indexOf("-") < 0) return null;
6531
+ if (e = b1(e), !e || e.indexOf("-") < 0) return null;
6476
6532
  const t = e.split("-");
6477
6533
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
6478
6534
  }
6479
6535
  getLanguagePartFromCode(e) {
6480
- if (e = M1(e), !e || e.indexOf("-") < 0) return e;
6536
+ if (e = b1(e), !e || e.indexOf("-") < 0) return e;
6481
6537
  const t = e.split("-");
6482
6538
  return this.formatLanguageCode(t[0]);
6483
6539
  }
@@ -6532,7 +6588,7 @@ class i2 {
6532
6588
  }), n;
6533
6589
  }
6534
6590
  }
6535
- let c7 = [{
6591
+ let u7 = [{
6536
6592
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
6537
6593
  nr: [1, 2],
6538
6594
  fc: 1
@@ -6624,7 +6680,7 @@ let c7 = [{
6624
6680
  lngs: ["he", "iw"],
6625
6681
  nr: [1, 2, 20, 21],
6626
6682
  fc: 22
6627
- }], d7 = {
6683
+ }], p7 = {
6628
6684
  1: (i) => +(i > 1),
6629
6685
  2: (i) => +(i != 1),
6630
6686
  3: (i) => 0,
@@ -6648,28 +6704,28 @@ let c7 = [{
6648
6704
  21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
6649
6705
  22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
6650
6706
  };
6651
- const C7 = ["v1", "v2", "v3"], g7 = ["v4"], s2 = {
6707
+ const f7 = ["v1", "v2", "v3"], m7 = ["v4"], n2 = {
6652
6708
  zero: 0,
6653
6709
  one: 1,
6654
6710
  two: 2,
6655
6711
  few: 3,
6656
6712
  many: 4,
6657
6713
  other: 5
6658
- }, u7 = () => {
6714
+ }, w7 = () => {
6659
6715
  const i = {};
6660
- return c7.forEach((e) => {
6716
+ return u7.forEach((e) => {
6661
6717
  e.lngs.forEach((t) => {
6662
6718
  i[t] = {
6663
6719
  numbers: e.nr,
6664
- plurals: d7[e.fc]
6720
+ plurals: p7[e.fc]
6665
6721
  };
6666
6722
  });
6667
6723
  }), i;
6668
6724
  };
6669
- class f7 {
6725
+ class L7 {
6670
6726
  constructor(e) {
6671
6727
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6672
- this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON || g7.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 = u7(), this.pluralRulesCache = {};
6728
+ this.languageUtils = e, this.options = t, this.logger = X.create("pluralResolver"), (!this.options.compatibilityJSON || m7.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 = w7(), this.pluralRulesCache = {};
6673
6729
  }
6674
6730
  addRule(e, t) {
6675
6731
  this.rules[e] = t;
@@ -6680,7 +6736,7 @@ class f7 {
6680
6736
  getRule(e) {
6681
6737
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6682
6738
  if (this.shouldUseIntlApi()) {
6683
- const s = M1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
6739
+ const s = b1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
6684
6740
  cleanedCode: s,
6685
6741
  type: n
6686
6742
  });
@@ -6712,7 +6768,7 @@ class f7 {
6712
6768
  getSuffixes(e) {
6713
6769
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6714
6770
  const s = this.getRule(e, t);
6715
- return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => s2[n] - s2[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
6771
+ return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => n2[n] - n2[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
6716
6772
  }
6717
6773
  getSuffix(e, t) {
6718
6774
  let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -6727,14 +6783,14 @@ class f7 {
6727
6783
  return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
6728
6784
  }
6729
6785
  shouldUseIntlApi() {
6730
- return !C7.includes(this.options.compatibilityJSON);
6786
+ return !f7.includes(this.options.compatibilityJSON);
6731
6787
  }
6732
6788
  }
6733
- const n2 = function(i, e, t) {
6734
- let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = i7(i, e, t);
6789
+ const r2 = function(i, e, t) {
6790
+ let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = o7(i, e, t);
6735
6791
  return !o && n && M(t) && (o = D1(i, t, s), o === void 0 && (o = D1(e, t, s))), o;
6736
6792
  }, A1 = (i) => i.replace(/\$/g, "$$$$");
6737
- class p7 {
6793
+ class k7 {
6738
6794
  constructor() {
6739
6795
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6740
6796
  this.logger = X.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -6756,14 +6812,14 @@ class p7 {
6756
6812
  unescapeSuffix: l,
6757
6813
  unescapePrefix: h,
6758
6814
  nestingPrefix: g,
6759
- nestingPrefixEscaped: f,
6760
- nestingSuffix: k,
6815
+ nestingPrefixEscaped: p,
6816
+ nestingSuffix: w,
6761
6817
  nestingSuffixEscaped: v,
6762
6818
  nestingOptionsSeparator: m,
6763
- maxReplaces: H,
6764
- alwaysFormat: b
6819
+ maxReplaces: b,
6820
+ alwaysFormat: y
6765
6821
  } = e.interpolation;
6766
- this.escape = t !== void 0 ? t : n7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : f || h1("$t("), this.nestingSuffix = k ? h1(k) : v || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = H || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
6822
+ this.escape = t !== void 0 ? t : l7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : p || h1("$t("), this.nestingSuffix = w ? h1(w) : v || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
6767
6823
  }
6768
6824
  reset() {
6769
6825
  this.options && this.init(this.options);
@@ -6774,17 +6830,17 @@ class p7 {
6774
6830
  }
6775
6831
  interpolate(e, t, s, n) {
6776
6832
  let o, c, a;
6777
- const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
6778
- if (f.indexOf(this.formatSeparator) < 0) {
6779
- const H = n2(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
6780
- return this.alwaysFormat ? this.format(H, void 0, s, {
6833
+ const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
6834
+ if (p.indexOf(this.formatSeparator) < 0) {
6835
+ const b = r2(t, C, p, this.options.keySeparator, this.options.ignoreJSONStructure);
6836
+ return this.alwaysFormat ? this.format(b, void 0, s, {
6781
6837
  ...n,
6782
6838
  ...t,
6783
- interpolationkey: f
6784
- }) : H;
6839
+ interpolationkey: p
6840
+ }) : b;
6785
6841
  }
6786
- const k = f.split(this.formatSeparator), v = k.shift().trim(), m = k.join(this.formatSeparator).trim();
6787
- return this.format(n2(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
6842
+ const w = p.split(this.formatSeparator), v = w.shift().trim(), m = w.join(this.formatSeparator).trim();
6843
+ return this.format(r2(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
6788
6844
  ...n,
6789
6845
  ...t,
6790
6846
  interpolationkey: v
@@ -6794,27 +6850,27 @@ class p7 {
6794
6850
  const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
6795
6851
  return [{
6796
6852
  regex: this.regexpUnescape,
6797
- safeValue: (f) => A1(f)
6853
+ safeValue: (p) => A1(p)
6798
6854
  }, {
6799
6855
  regex: this.regexp,
6800
- safeValue: (f) => this.escapeValue ? A1(this.escape(f)) : A1(f)
6801
- }].forEach((f) => {
6802
- for (a = 0; o = f.regex.exec(e); ) {
6803
- const k = o[1].trim();
6804
- if (c = d(k), c === void 0)
6856
+ safeValue: (p) => this.escapeValue ? A1(this.escape(p)) : A1(p)
6857
+ }].forEach((p) => {
6858
+ for (a = 0; o = p.regex.exec(e); ) {
6859
+ const w = o[1].trim();
6860
+ if (c = d(w), c === void 0)
6805
6861
  if (typeof l == "function") {
6806
6862
  const m = l(e, o, n);
6807
6863
  c = M(m) ? m : "";
6808
- } else if (n && Object.prototype.hasOwnProperty.call(n, k))
6864
+ } else if (n && Object.prototype.hasOwnProperty.call(n, w))
6809
6865
  c = "";
6810
6866
  else if (h) {
6811
6867
  c = o[0];
6812
6868
  continue;
6813
6869
  } else
6814
- this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
6815
- else !M(c) && !this.useRawValueToEscape && (c = J1(c));
6816
- const v = f.safeValue(c);
6817
- if (e = e.replace(o[0], v), h ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
6870
+ this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
6871
+ else !M(c) && !this.useRawValueToEscape && (c = q1(c));
6872
+ const v = p.safeValue(c);
6873
+ if (e = e.replace(o[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
6818
6874
  break;
6819
6875
  }
6820
6876
  }), e;
@@ -6827,8 +6883,8 @@ class p7 {
6827
6883
  const h = C.split(new RegExp(`${l}[ ]*{`));
6828
6884
  let g = `{${h[1]}`;
6829
6885
  C = h[0], g = this.interpolate(g, c);
6830
- const f = g.match(/'/g), k = g.match(/"/g);
6831
- (f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
6886
+ const p = g.match(/'/g), w = g.match(/"/g);
6887
+ (p && p.length % 2 === 0 && !w || w.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
6832
6888
  try {
6833
6889
  c = JSON.parse(g), d && (c = {
6834
6890
  ...d,
@@ -6850,7 +6906,7 @@ class p7 {
6850
6906
  n[1] = l.shift(), C = l, d = !0;
6851
6907
  }
6852
6908
  if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !M(o)) return o;
6853
- M(o) || (o = J1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
6909
+ M(o) || (o = q1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
6854
6910
  ...s,
6855
6911
  interpolationkey: n[1].trim()
6856
6912
  }), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
@@ -6858,7 +6914,7 @@ class p7 {
6858
6914
  return e;
6859
6915
  }
6860
6916
  }
6861
- const m7 = (i) => {
6917
+ const v7 = (i) => {
6862
6918
  let e = i.toLowerCase().trim();
6863
6919
  const t = {};
6864
6920
  if (i.indexOf("(") > -1) {
@@ -6886,10 +6942,10 @@ const m7 = (i) => {
6886
6942
  });
6887
6943
  const c = s + JSON.stringify(o);
6888
6944
  let a = e[c];
6889
- return a || (a = i(M1(s), n), e[c] = a), a(t);
6945
+ return a || (a = i(b1(s), n), e[c] = a), a(t);
6890
6946
  };
6891
6947
  };
6892
- class w7 {
6948
+ class N7 {
6893
6949
  constructor() {
6894
6950
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6895
6951
  this.logger = X.create("formatter"), this.options = e, this.formats = {
@@ -6949,12 +7005,12 @@ class w7 {
6949
7005
  const {
6950
7006
  formatName: d,
6951
7007
  formatOptions: l
6952
- } = m7(C);
7008
+ } = v7(C);
6953
7009
  if (this.formats[d]) {
6954
7010
  let h = a;
6955
7011
  try {
6956
- const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = g.locale || g.lng || n.locale || n.lng || s;
6957
- h = this.formats[d](a, f, {
7012
+ const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, p = g.locale || g.lng || n.locale || n.lng || s;
7013
+ h = this.formats[d](a, p, {
6958
7014
  ...l,
6959
7015
  ...n,
6960
7016
  ...g
@@ -6969,10 +7025,10 @@ class w7 {
6969
7025
  }, e);
6970
7026
  }
6971
7027
  }
6972
- const L7 = (i, e) => {
7028
+ const R7 = (i, e) => {
6973
7029
  i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
6974
7030
  };
6975
- class k7 extends V1 {
7031
+ class x7 extends E1 {
6976
7032
  constructor(e, t, s) {
6977
7033
  let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6978
7034
  super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = X.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
@@ -7005,7 +7061,7 @@ class k7 extends V1 {
7005
7061
  }), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
7006
7062
  const a = {};
7007
7063
  this.queue.forEach((C) => {
7008
- t7(C.loaded, [o], c), L7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
7064
+ r7(C.loaded, [o], c), R7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
7009
7065
  a[d] || (a[d] = {});
7010
7066
  const l = C.loaded[d];
7011
7067
  l.length && l.forEach((h) => {
@@ -7107,7 +7163,7 @@ class k7 extends V1 {
7107
7163
  }
7108
7164
  }
7109
7165
  }
7110
- const r2 = () => ({
7166
+ const o2 = () => ({
7111
7167
  debug: !1,
7112
7168
  initImmediate: !0,
7113
7169
  ns: ["translation"],
@@ -7163,18 +7219,18 @@ const r2 = () => ({
7163
7219
  maxReplaces: 1e3,
7164
7220
  skipOnVariables: !0
7165
7221
  }
7166
- }), o2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), R1 = () => {
7167
- }, v7 = (i) => {
7222
+ }), a2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
7223
+ }, _7 = (i) => {
7168
7224
  Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
7169
7225
  typeof i[t] == "function" && (i[t] = i[t].bind(i));
7170
7226
  });
7171
7227
  };
7172
- class w1 extends V1 {
7228
+ class L1 extends E1 {
7173
7229
  constructor() {
7174
7230
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
7175
- if (super(), this.options = o2(e), this.services = {}, this.logger = X, this.modules = {
7231
+ if (super(), this.options = a2(e), this.services = {}, this.logger = X, this.modules = {
7176
7232
  external: []
7177
- }, v7(this), t && !this.isInitialized && !e.isClone) {
7233
+ }, _7(this), t && !this.isInitialized && !e.isClone) {
7178
7234
  if (!this.options.initImmediate)
7179
7235
  return this.init(e, t), this;
7180
7236
  setTimeout(() => {
@@ -7186,11 +7242,11 @@ class w1 extends V1 {
7186
7242
  var e = this;
7187
7243
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
7188
7244
  this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
7189
- const n = r2();
7245
+ const n = o2();
7190
7246
  this.options = {
7191
7247
  ...n,
7192
7248
  ...this.options,
7193
- ...o2(t)
7249
+ ...a2(t)
7194
7250
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
7195
7251
  ...n.interpolation,
7196
7252
  ...this.options.interpolation
@@ -7199,29 +7255,29 @@ class w1 extends V1 {
7199
7255
  if (!this.options.isClone) {
7200
7256
  this.modules.logger ? X.init(o(this.modules.logger), this.options) : X.init(null, this.options);
7201
7257
  let l;
7202
- this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = w7);
7203
- const h = new i2(this.options);
7204
- this.store = new e2(this.options.resources, this.options);
7258
+ this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = N7);
7259
+ const h = new s2(this.options);
7260
+ this.store = new t2(this.options.resources, this.options);
7205
7261
  const g = this.services;
7206
- g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new f7(h, {
7262
+ g.logger = X, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new L7(h, {
7207
7263
  prepend: this.options.pluralSeparator,
7208
7264
  compatibilityJSON: this.options.compatibilityJSON,
7209
7265
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
7210
- }), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new p7(this.options), g.utils = {
7266
+ }), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new k7(this.options), g.utils = {
7211
7267
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
7212
- }, g.backendConnector = new k7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
7213
- for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
7268
+ }, g.backendConnector = new x7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
7269
+ for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7214
7270
  v[m - 1] = arguments[m];
7215
- e.emit(f, ...v);
7216
- }), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new y1(this.services, this.options), this.translator.on("*", function(f) {
7217
- for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
7271
+ e.emit(p, ...v);
7272
+ }), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new H1(this.services, this.options), this.translator.on("*", function(p) {
7273
+ for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
7218
7274
  v[m - 1] = arguments[m];
7219
- e.emit(f, ...v);
7220
- }), this.modules.external.forEach((f) => {
7221
- f.init && f.init(this);
7275
+ e.emit(p, ...v);
7276
+ }), this.modules.external.forEach((p) => {
7277
+ p.init && p.init(this);
7222
7278
  });
7223
7279
  }
7224
- if (this.format = this.options.interpolation.format, s || (s = R1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
7280
+ if (this.format = this.options.interpolation.format, s || (s = x1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
7225
7281
  const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
7226
7282
  l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
7227
7283
  }
@@ -7234,7 +7290,7 @@ class w1 extends V1 {
7234
7290
  return e.store[l](...arguments), e;
7235
7291
  };
7236
7292
  });
7237
- const C = u1(), d = () => {
7293
+ const C = p1(), d = () => {
7238
7294
  const l = (h, g) => {
7239
7295
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(h, g);
7240
7296
  };
@@ -7244,7 +7300,7 @@ class w1 extends V1 {
7244
7300
  return this.options.resources || !this.options.initImmediate ? d() : setTimeout(d, 0), C;
7245
7301
  }
7246
7302
  loadResources(e) {
7247
- let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R1;
7303
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
7248
7304
  const n = M(e) ? e : this.language;
7249
7305
  if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
7250
7306
  if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
@@ -7261,8 +7317,8 @@ class w1 extends V1 {
7261
7317
  s(null);
7262
7318
  }
7263
7319
  reloadResources(e, t, s) {
7264
- const n = u1();
7265
- return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = R1), this.services.backendConnector.reload(e, t, (o) => {
7320
+ const n = p1();
7321
+ return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = x1), this.services.backendConnector.reload(e, t, (o) => {
7266
7322
  n.resolve(), s(o);
7267
7323
  }), n;
7268
7324
  }
@@ -7284,7 +7340,7 @@ class w1 extends V1 {
7284
7340
  changeLanguage(e, t) {
7285
7341
  var s = this;
7286
7342
  this.isLanguageChangingTo = e;
7287
- const n = u1();
7343
+ const n = p1();
7288
7344
  this.emit("languageChanging", e);
7289
7345
  const o = (C) => {
7290
7346
  this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
@@ -7317,8 +7373,8 @@ class w1 extends V1 {
7317
7373
  };
7318
7374
  C.lng = C.lng || o.lng, C.lngs = C.lngs || o.lngs, C.ns = C.ns || o.ns, C.keyPrefix !== "" && (C.keyPrefix = C.keyPrefix || s || o.keyPrefix);
7319
7375
  const g = n.options.keySeparator || ".";
7320
- let f;
7321
- return C.keyPrefix && Array.isArray(c) ? f = c.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(f, C);
7376
+ let p;
7377
+ return C.keyPrefix && Array.isArray(c) ? p = c.map((w) => `${C.keyPrefix}${g}${w}`) : p = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(p, C);
7322
7378
  };
7323
7379
  return M(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
7324
7380
  }
@@ -7350,7 +7406,7 @@ class w1 extends V1 {
7350
7406
  return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
7351
7407
  }
7352
7408
  loadNamespaces(e, t) {
7353
- const s = u1();
7409
+ const s = p1();
7354
7410
  return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
7355
7411
  this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
7356
7412
  }), this.loadResources((n) => {
@@ -7358,7 +7414,7 @@ class w1 extends V1 {
7358
7414
  }), s) : (t && t(), Promise.resolve());
7359
7415
  }
7360
7416
  loadLanguages(e, t) {
7361
- const s = u1();
7417
+ const s = p1();
7362
7418
  M(e) && (e = [e]);
7363
7419
  const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
7364
7420
  return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
@@ -7367,29 +7423,29 @@ class w1 extends V1 {
7367
7423
  }
7368
7424
  dir(e) {
7369
7425
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
7370
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new i2(r2());
7426
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new s2(o2());
7371
7427
  return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
7372
7428
  }
7373
7429
  static createInstance() {
7374
7430
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
7375
- return new w1(e, t);
7431
+ return new L1(e, t);
7376
7432
  }
7377
7433
  cloneInstance() {
7378
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R1;
7434
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
7379
7435
  const s = e.forkResourceStore;
7380
7436
  s && delete e.forkResourceStore;
7381
7437
  const n = {
7382
7438
  ...this.options,
7383
7439
  ...e,
7384
7440
  isClone: !0
7385
- }, o = new w1(n);
7441
+ }, o = new L1(n);
7386
7442
  return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
7387
7443
  o[a] = this[a];
7388
7444
  }), o.services = {
7389
7445
  ...this.services
7390
7446
  }, o.services.utils = {
7391
7447
  hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
7392
- }, s && (o.store = new e2(this.store.data, n), o.services.resourceStore = o.store), o.translator = new y1(o.services, n), o.translator.on("*", function(a) {
7448
+ }, s && (o.store = new t2(this.store.data, n), o.services.resourceStore = o.store), o.translator = new H1(o.services, n), o.translator.on("*", function(a) {
7393
7449
  for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
7394
7450
  d[l - 1] = arguments[l];
7395
7451
  o.emit(a, ...d);
@@ -7407,42 +7463,42 @@ class w1 extends V1 {
7407
7463
  };
7408
7464
  }
7409
7465
  }
7410
- const U = w1.createInstance();
7411
- U.createInstance = w1.createInstance;
7412
- U.createInstance;
7413
- U.dir;
7414
- U.init;
7415
- U.loadResources;
7416
- U.reloadResources;
7417
- U.use;
7418
- U.changeLanguage;
7419
- U.getFixedT;
7420
- U.t;
7421
- U.exists;
7422
- U.setDefaultNamespace;
7423
- U.hasLoadedNamespace;
7424
- U.loadNamespaces;
7425
- U.loadLanguages;
7426
- const N7 = "Archived", R7 = "Deleted", x7 = {
7427
- archived: N7,
7428
- deleted: R7
7429
- }, _7 = "Заархивирован", M7 = "Удалён", b7 = {
7430
- archived: _7,
7431
- deleted: M7
7466
+ const W = L1.createInstance();
7467
+ W.createInstance = L1.createInstance;
7468
+ W.createInstance;
7469
+ W.dir;
7470
+ W.init;
7471
+ W.loadResources;
7472
+ W.reloadResources;
7473
+ W.use;
7474
+ W.changeLanguage;
7475
+ W.getFixedT;
7476
+ W.t;
7477
+ W.exists;
7478
+ W.setDefaultNamespace;
7479
+ W.hasLoadedNamespace;
7480
+ W.loadNamespaces;
7481
+ W.loadLanguages;
7482
+ const M7 = "Archived", b7 = "Deleted", y7 = {
7483
+ archived: M7,
7484
+ deleted: b7
7485
+ }, H7 = "Заархивирован", E7 = "Удалён", V7 = {
7486
+ archived: H7,
7487
+ deleted: E7
7432
7488
  };
7433
- U.use(Ut).init({
7489
+ W.use(qt).init({
7434
7490
  defaultNS: "common",
7435
7491
  lng: "en",
7436
7492
  resources: {
7437
7493
  en: {
7438
- common: x7
7494
+ common: y7
7439
7495
  },
7440
7496
  ru: {
7441
- common: b7
7497
+ common: V7
7442
7498
  }
7443
7499
  }
7444
7500
  });
7445
- const O7 = L1(
7501
+ const G7 = d1(
7446
7502
  ({
7447
7503
  fetchParams: i,
7448
7504
  mode: e = void 0,
@@ -7457,33 +7513,33 @@ const O7 = L1(
7457
7513
  required: l,
7458
7514
  error: h
7459
7515
  }, g) => {
7460
- const { axiosPeople: f, locale: k } = r1(y2), { t: v } = Qt("common", { lng: k }), [m, H] = S([]), [b, A] = S(!0), p = q(m), x = q(null);
7461
- if (H1(g, () => x.current), !f)
7516
+ const { axiosPeople: p, locale: w } = r1(y2), { t: v } = i7("common", { lng: w }), [m, b] = O([]), [y, A] = O(!0), f = J(m), x = J(null);
7517
+ if (k1(g, () => x.current), !p)
7462
7518
  throw new Error(
7463
7519
  `UserSelect requires "axiosPeople" to fetch users.
7464
7520
  Please provide it via SNMTUiContext.`
7465
7521
  );
7466
7522
  const _ = $(
7467
- (V) => {
7468
- let G = "";
7469
- return V.deletedAt && (G += `[${v("deleted")}] `), V.status === x1.ARCHIVED && (G += `[${v("archived")}] `), `${G}${V.firstName} ${V.lastName}`;
7523
+ (E) => {
7524
+ let T = "";
7525
+ return E.deletedAt && (T += `[${v("deleted")}] `), E.status === _1.ARCHIVED && (T += `[${v("archived")}] `), `${T}${E.firstName} ${E.lastName}`;
7470
7526
  },
7471
7527
  [v]
7472
7528
  ), R = $(
7473
7529
  async ({
7474
- offset: V,
7475
- limit: G,
7476
- search: E
7530
+ offset: E,
7531
+ limit: T,
7532
+ search: V
7477
7533
  }) => {
7478
- var O, D, B;
7534
+ var Z, D, B;
7479
7535
  try {
7480
- const W = await f.post("v1/users/search", {
7481
- offset: V,
7482
- limit: G,
7483
- search: E,
7536
+ const U = await p.post("v1/users/search", {
7537
+ offset: E,
7538
+ limit: T,
7539
+ search: V,
7484
7540
  ...i,
7485
7541
  includeCount: !0
7486
- }), { data: I, metadata: Y } = W.data;
7542
+ }), { data: I, metadata: Y } = U.data;
7487
7543
  return {
7488
7544
  options: I.map((P) => ({
7489
7545
  value: P.id,
@@ -7492,83 +7548,83 @@ const O7 = L1(
7492
7548
  })),
7493
7549
  count: Y.count
7494
7550
  };
7495
- } catch (W) {
7551
+ } catch (U) {
7496
7552
  return c && c({
7497
- status: ((O = W.response) == null ? void 0 : O.status) ?? 500,
7498
- message: ((B = (D = W.response) == null ? void 0 : D.data) == null ? void 0 : B.message) ?? "Error while fetching options"
7553
+ status: ((Z = U.response) == null ? void 0 : Z.status) ?? 500,
7554
+ message: ((B = (D = U.response) == null ? void 0 : D.data) == null ? void 0 : B.message) ?? "Error while fetching options"
7499
7555
  }), {
7500
7556
  options: [],
7501
7557
  count: 0
7502
7558
  };
7503
7559
  }
7504
7560
  },
7505
- [f, i, _, C, c]
7561
+ [p, i, _, C, c]
7506
7562
  ), j = $(
7507
- async (V) => {
7508
- var G, E, O;
7563
+ async (E) => {
7564
+ var T, V, Z;
7509
7565
  try {
7510
- const D = V.filter(
7511
- (I) => !p.current.some((Y) => Y.value === I)
7566
+ const D = E.filter(
7567
+ (I) => !f.current.some((Y) => Y.value === I)
7512
7568
  );
7513
7569
  let B = [];
7514
- D.length && (B = (await f.post("v1/users/search", {
7570
+ D.length && (B = (await p.post("v1/users/search", {
7515
7571
  filters: {
7516
7572
  id: D,
7517
- status: [x1.ACTIVE, x1.ARCHIVED]
7573
+ status: [_1.ACTIVE, _1.ARCHIVED]
7518
7574
  }
7519
7575
  })).data.data);
7520
- const W = B.map((I) => ({
7576
+ const U = B.map((I) => ({
7521
7577
  value: I.id,
7522
7578
  label: _(I),
7523
7579
  image: C ? I.avatarUrl : void 0
7524
7580
  }));
7525
- return [...p.current, ...W];
7581
+ return [...f.current, ...U];
7526
7582
  } catch (D) {
7527
7583
  return c && c({
7528
- status: ((G = D.response) == null ? void 0 : G.status) ?? 500,
7529
- message: ((O = (E = D.response) == null ? void 0 : E.data) == null ? void 0 : O.message) ?? "Error while fetching selected items"
7584
+ status: ((T = D.response) == null ? void 0 : T.status) ?? 500,
7585
+ message: ((Z = (V = D.response) == null ? void 0 : V.data) == null ? void 0 : Z.message) ?? "Error while fetching selected items"
7530
7586
  }), [];
7531
7587
  }
7532
7588
  },
7533
- [f, _, c, C]
7589
+ [p, _, c, C]
7534
7590
  );
7535
- K(() => {
7536
- p.current = m;
7537
- }, [m]), K(() => {
7538
- var V;
7539
- (V = x.current) == null || V.refetchOptions();
7540
- }, [i]), K(() => {
7591
+ G(() => {
7592
+ f.current = m;
7593
+ }, [m]), G(() => {
7594
+ var E;
7595
+ (E = x.current) == null || E.refetchOptions();
7596
+ }, [i]), G(() => {
7541
7597
  if (!n) {
7542
7598
  A(!1);
7543
7599
  return;
7544
7600
  }
7545
7601
  (async () => {
7546
- const G = Array.isArray(n) ? n : [n], E = await j(G);
7547
- H(E), A(!1);
7602
+ const T = Array.isArray(n) ? n : [n], V = await j(T);
7603
+ b(V), A(!1);
7548
7604
  })();
7549
7605
  }, [j, n]);
7550
- const J = $(
7606
+ const q = $(
7551
7607
  async ({
7552
- limit: V,
7553
- offset: G,
7554
- search: E
7608
+ limit: E,
7609
+ offset: T,
7610
+ search: V
7555
7611
  }) => {
7556
- const { count: O, ...D } = await R({
7557
- offset: G,
7558
- limit: V,
7559
- search: E
7612
+ const { count: Z, ...D } = await R({
7613
+ offset: T,
7614
+ limit: E,
7615
+ search: V
7560
7616
  });
7561
7617
  let B = D.options;
7562
- return a && G === 0 && (B = [{ value: null, label: "None" }, ...B]), {
7618
+ return a && T === 0 && (B = [{ value: null, label: "None" }, ...B]), {
7563
7619
  options: B,
7564
- count: O,
7565
- limit: V
7620
+ count: Z,
7621
+ limit: E
7566
7622
  };
7567
7623
  },
7568
7624
  [a, R]
7569
7625
  );
7570
- if (b)
7571
- return /* @__PURE__ */ r(Ot, {});
7626
+ if (y)
7627
+ return /* @__PURE__ */ r(Gt, {});
7572
7628
  const F = {
7573
7629
  ref: x,
7574
7630
  placeholder: t,
@@ -7578,24 +7634,24 @@ const O7 = L1(
7578
7634
  error: h
7579
7635
  };
7580
7636
  return e ? /* @__PURE__ */ r(
7581
- F1,
7637
+ W1,
7582
7638
  {
7583
7639
  ...F,
7584
7640
  mode: e,
7585
7641
  value: n,
7586
7642
  onChange: o,
7587
- loadOptions: J,
7643
+ loadOptions: q,
7588
7644
  preloadOptions: !0,
7589
7645
  extraOptions: m
7590
7646
  }
7591
7647
  ) : /* @__PURE__ */ r(
7592
- F1,
7648
+ W1,
7593
7649
  {
7594
7650
  ...F,
7595
7651
  value: n,
7596
7652
  mode: void 0,
7597
7653
  onChange: o,
7598
- loadOptions: J,
7654
+ loadOptions: q,
7599
7655
  preloadOptions: !0,
7600
7656
  extraOptions: m
7601
7657
  }
@@ -7603,5 +7659,5 @@ const O7 = L1(
7603
7659
  }
7604
7660
  );
7605
7661
  export {
7606
- O7 as UserSelect
7662
+ G7 as UserSelect
7607
7663
  };