@snmt-react-ui/country-select 2.8.7 → 2.8.8
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.
- package/dist/country-select.js +734 -866
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
|
@@ -4,7 +4,7 @@ var V1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as W, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { Select as
|
|
7
|
+
import { Select as f2, Tag as p2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as J1, Popover as k2 } from "antd";
|
|
8
8
|
import { forwardRef as w1, useState as I, useRef as J, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as Q1 } from "react";
|
|
9
9
|
var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, R2 = (i, e, t) => N2(i, e + "", t), x2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function M2() {
|
|
@@ -33,7 +33,7 @@ const q1 = (i, e) => () => {
|
|
|
33
33
|
}
|
|
34
34
|
}, A1 = (i, e, t) => {
|
|
35
35
|
i.loadNamespaces(e, q1(i, t));
|
|
36
|
-
},
|
|
36
|
+
}, Z1 = (i, e, t, s) => {
|
|
37
37
|
U(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, q1(i, s));
|
|
@@ -41,11 +41,11 @@ const q1 = (i, e) => () => {
|
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
43
43
|
if (s.toLowerCase() === "cimode") return !0;
|
|
44
|
-
const
|
|
44
|
+
const h = (a, C) => {
|
|
45
45
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
46
46
|
return d === -1 || d === 2;
|
|
47
47
|
};
|
|
48
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
48
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
|
|
49
49
|
}, b2 = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
51
|
return !e.languages || !e.languages.length ? (x1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
@@ -86,9 +86,9 @@ let A2 = {
|
|
|
86
86
|
useSuspense: !0,
|
|
87
87
|
unescape: I2
|
|
88
88
|
};
|
|
89
|
-
const
|
|
90
|
-
let
|
|
91
|
-
const S2 = () =>
|
|
89
|
+
const Z2 = () => A2;
|
|
90
|
+
let O2;
|
|
91
|
+
const S2 = () => O2, D2 = t1();
|
|
92
92
|
class G2 {
|
|
93
93
|
constructor() {
|
|
94
94
|
R2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
@@ -114,47 +114,47 @@ const T2 = (i, e) => {
|
|
|
114
114
|
} = Q(D2) || {}, o = t || s || S2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new G2()), !o) {
|
|
116
116
|
x1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const
|
|
118
|
-
return _.t =
|
|
117
|
+
const p = (R, x) => U(x) ? x : y2(x) && U(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
|
|
118
|
+
return _.t = p, _.i18n = {}, _.ready = !1, _;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && x1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
|
-
const
|
|
122
|
-
...
|
|
121
|
+
const h = {
|
|
122
|
+
...Z2(),
|
|
123
123
|
...o.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
126
126
|
useSuspense: a,
|
|
127
127
|
keyPrefix: C
|
|
128
|
-
} =
|
|
128
|
+
} = h;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = U(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => b2(p, o, h)), c = K2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => X1(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
134
|
const y = T2(m), b = J(!0);
|
|
135
135
|
A(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
137
|
+
bindI18n: p,
|
|
138
138
|
bindI18nStore: _
|
|
139
|
-
} =
|
|
140
|
-
b.current = !0, !l && !a && (e.lng ?
|
|
141
|
-
b.current && N(
|
|
139
|
+
} = h;
|
|
140
|
+
b.current = !0, !l && !a && (e.lng ? Z1(o, e.lng, d, () => {
|
|
141
|
+
b.current && N(f);
|
|
142
142
|
}) : A1(o, d, () => {
|
|
143
|
-
b.current && N(
|
|
144
|
-
})), l && y && y !== m && b.current && N(
|
|
143
|
+
b.current && N(f);
|
|
144
|
+
})), l && y && y !== m && b.current && N(f);
|
|
145
145
|
const R = () => {
|
|
146
|
-
b.current && N(
|
|
146
|
+
b.current && N(f);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
b.current = !1,
|
|
148
|
+
return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
|
|
149
|
+
b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
|
|
150
150
|
};
|
|
151
151
|
}, [o, m]), A(() => {
|
|
152
152
|
b.current && l && N(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const E = [
|
|
155
|
-
if (E.t =
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ?
|
|
154
|
+
const E = [k, o, l];
|
|
155
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
|
+
throw new Promise((p) => {
|
|
157
|
+
e.lng ? Z1(o, e.lng, d, () => p()) : A1(o, d, () => p());
|
|
158
158
|
});
|
|
159
159
|
}, r1 = ({
|
|
160
160
|
children: i,
|
|
@@ -163,7 +163,7 @@ const T2 = (i, e) => {
|
|
|
163
163
|
alignItems: s = "normal",
|
|
164
164
|
justifyContent: n = "normal",
|
|
165
165
|
flex: o,
|
|
166
|
-
gap:
|
|
166
|
+
gap: h,
|
|
167
167
|
padding: a
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
169
|
m2,
|
|
@@ -174,7 +174,7 @@ const T2 = (i, e) => {
|
|
|
174
174
|
align: s,
|
|
175
175
|
justify: n,
|
|
176
176
|
flex: o,
|
|
177
|
-
gap:
|
|
177
|
+
gap: h,
|
|
178
178
|
style: { padding: a },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
@@ -206,7 +206,7 @@ const Y2 = ({
|
|
|
206
206
|
disabled: n = !1,
|
|
207
207
|
disableUncheck: o = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [
|
|
209
|
+
const [h, a] = I(i), [C, d] = I(e);
|
|
210
210
|
A(() => {
|
|
211
211
|
a(i), d(e);
|
|
212
212
|
}, [i, e]);
|
|
@@ -215,17 +215,17 @@ const Y2 = ({
|
|
|
215
215
|
w2,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
218
|
-
checked:
|
|
218
|
+
checked: h,
|
|
219
219
|
indeterminate: C,
|
|
220
|
-
onChange: (
|
|
221
|
-
o &&
|
|
220
|
+
onChange: (c) => {
|
|
221
|
+
o && h || (d(!1), a(c.target.checked), s && s(c));
|
|
222
222
|
},
|
|
223
223
|
disabled: n,
|
|
224
224
|
children: t
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
|
-
var
|
|
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
229
|
const e2 = t1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
@@ -261,7 +261,7 @@ const j2 = ({
|
|
|
261
261
|
), $2 = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
264
|
+
color: t = w.GREY_DARK_5,
|
|
265
265
|
className: s,
|
|
266
266
|
onClick: n
|
|
267
267
|
}) => /* @__PURE__ */ u(
|
|
@@ -336,7 +336,7 @@ const j2 = ({
|
|
|
336
336
|
), W2 = ({
|
|
337
337
|
width: i = 20,
|
|
338
338
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
339
|
+
color: t = w.GREY_DARK_5,
|
|
340
340
|
className: s,
|
|
341
341
|
onClick: n
|
|
342
342
|
}) => /* @__PURE__ */ u(
|
|
@@ -383,7 +383,7 @@ const j2 = ({
|
|
|
383
383
|
), U2 = ({
|
|
384
384
|
width: i = 20,
|
|
385
385
|
height: e = 20,
|
|
386
|
-
color: t =
|
|
386
|
+
color: t = w.GREY_DARK_5,
|
|
387
387
|
className: s,
|
|
388
388
|
onClick: n
|
|
389
389
|
}) => /* @__PURE__ */ r(
|
|
@@ -407,7 +407,7 @@ const j2 = ({
|
|
|
407
407
|
), z2 = ({
|
|
408
408
|
width: i = 20,
|
|
409
409
|
height: e = 20,
|
|
410
|
-
color: t =
|
|
410
|
+
color: t = w.GREY_DARK_5,
|
|
411
411
|
className: s,
|
|
412
412
|
onClick: n
|
|
413
413
|
}) => /* @__PURE__ */ r(
|
|
@@ -431,7 +431,7 @@ const j2 = ({
|
|
|
431
431
|
), J2 = ({
|
|
432
432
|
width: i = 20,
|
|
433
433
|
height: e = 20,
|
|
434
|
-
color: t =
|
|
434
|
+
color: t = w.GREY_DARK_5,
|
|
435
435
|
className: s,
|
|
436
436
|
onClick: n
|
|
437
437
|
}) => /* @__PURE__ */ r(
|
|
@@ -455,7 +455,7 @@ const j2 = ({
|
|
|
455
455
|
), Q2 = ({
|
|
456
456
|
width: i = 20,
|
|
457
457
|
height: e = 20,
|
|
458
|
-
color: t =
|
|
458
|
+
color: t = w.GREY_DARK_5,
|
|
459
459
|
className: s,
|
|
460
460
|
onClick: n
|
|
461
461
|
}) => /* @__PURE__ */ u(
|
|
@@ -516,7 +516,7 @@ const j2 = ({
|
|
|
516
516
|
), q2 = ({
|
|
517
517
|
width: i = 20,
|
|
518
518
|
height: e = 20,
|
|
519
|
-
color: t =
|
|
519
|
+
color: t = w.GREY_DARK_5,
|
|
520
520
|
className: s,
|
|
521
521
|
onClick: n
|
|
522
522
|
}) => /* @__PURE__ */ u(
|
|
@@ -563,7 +563,7 @@ const j2 = ({
|
|
|
563
563
|
), X2 = ({
|
|
564
564
|
width: i = 20,
|
|
565
565
|
height: e = 20,
|
|
566
|
-
color: t =
|
|
566
|
+
color: t = w.GREY_DARK_5,
|
|
567
567
|
className: s,
|
|
568
568
|
onClick: n
|
|
569
569
|
}) => /* @__PURE__ */ u(
|
|
@@ -603,7 +603,7 @@ const j2 = ({
|
|
|
603
603
|
), e5 = ({
|
|
604
604
|
width: i = 20,
|
|
605
605
|
height: e = 20,
|
|
606
|
-
color: t =
|
|
606
|
+
color: t = w.GREY_DARK_5,
|
|
607
607
|
className: s,
|
|
608
608
|
onClick: n
|
|
609
609
|
}) => /* @__PURE__ */ u(
|
|
@@ -643,7 +643,7 @@ const j2 = ({
|
|
|
643
643
|
), t5 = ({
|
|
644
644
|
width: i = 20,
|
|
645
645
|
height: e = 20,
|
|
646
|
-
color: t =
|
|
646
|
+
color: t = w.GREY_DARK_5,
|
|
647
647
|
className: s,
|
|
648
648
|
onClick: n
|
|
649
649
|
}) => /* @__PURE__ */ u(
|
|
@@ -690,7 +690,7 @@ const j2 = ({
|
|
|
690
690
|
), i5 = ({
|
|
691
691
|
width: i = 20,
|
|
692
692
|
height: e = 20,
|
|
693
|
-
color: t =
|
|
693
|
+
color: t = w.GREY_DARK_5,
|
|
694
694
|
className: s,
|
|
695
695
|
onClick: n
|
|
696
696
|
}) => /* @__PURE__ */ u(
|
|
@@ -737,7 +737,7 @@ const j2 = ({
|
|
|
737
737
|
), s5 = ({
|
|
738
738
|
width: i = 20,
|
|
739
739
|
height: e = 20,
|
|
740
|
-
color: t =
|
|
740
|
+
color: t = w.GREY_DARK_5,
|
|
741
741
|
className: s,
|
|
742
742
|
onClick: n
|
|
743
743
|
}) => /* @__PURE__ */ u(
|
|
@@ -784,7 +784,7 @@ const j2 = ({
|
|
|
784
784
|
), n5 = ({
|
|
785
785
|
width: i = 20,
|
|
786
786
|
height: e = 20,
|
|
787
|
-
color: t =
|
|
787
|
+
color: t = w.GREY_DARK_5,
|
|
788
788
|
className: s,
|
|
789
789
|
onClick: n
|
|
790
790
|
}) => /* @__PURE__ */ u(
|
|
@@ -824,7 +824,7 @@ const j2 = ({
|
|
|
824
824
|
), r5 = ({
|
|
825
825
|
width: i = 20,
|
|
826
826
|
height: e = 20,
|
|
827
|
-
color: t =
|
|
827
|
+
color: t = w.GREY_DARK_5,
|
|
828
828
|
className: s,
|
|
829
829
|
onClick: n
|
|
830
830
|
}) => /* @__PURE__ */ u(
|
|
@@ -857,7 +857,7 @@ const j2 = ({
|
|
|
857
857
|
), o5 = ({
|
|
858
858
|
width: i = 20,
|
|
859
859
|
height: e = 20,
|
|
860
|
-
color: t =
|
|
860
|
+
color: t = w.GREY_DARK_5,
|
|
861
861
|
className: s,
|
|
862
862
|
onClick: n
|
|
863
863
|
}) => /* @__PURE__ */ u(
|
|
@@ -890,7 +890,7 @@ const j2 = ({
|
|
|
890
890
|
), a5 = ({
|
|
891
891
|
width: i = 20,
|
|
892
892
|
height: e = 20,
|
|
893
|
-
color: t =
|
|
893
|
+
color: t = w.GREY_DARK_5,
|
|
894
894
|
className: s,
|
|
895
895
|
onClick: n
|
|
896
896
|
}) => /* @__PURE__ */ u(
|
|
@@ -923,7 +923,7 @@ const j2 = ({
|
|
|
923
923
|
), l5 = ({
|
|
924
924
|
width: i = 20,
|
|
925
925
|
height: e = 20,
|
|
926
|
-
color: t =
|
|
926
|
+
color: t = w.GREY_DARK_5,
|
|
927
927
|
className: s,
|
|
928
928
|
onClick: n
|
|
929
929
|
}) => /* @__PURE__ */ u(
|
|
@@ -956,7 +956,7 @@ const j2 = ({
|
|
|
956
956
|
), h5 = ({
|
|
957
957
|
width: i = 20,
|
|
958
958
|
height: e = 20,
|
|
959
|
-
color: t =
|
|
959
|
+
color: t = w.GREY_DARK_5,
|
|
960
960
|
className: s,
|
|
961
961
|
onClick: n
|
|
962
962
|
}) => /* @__PURE__ */ u(
|
|
@@ -996,7 +996,7 @@ const j2 = ({
|
|
|
996
996
|
), c5 = ({
|
|
997
997
|
width: i = 20,
|
|
998
998
|
height: e = 20,
|
|
999
|
-
color: t =
|
|
999
|
+
color: t = w.GREY_DARK_5,
|
|
1000
1000
|
className: s,
|
|
1001
1001
|
onClick: n
|
|
1002
1002
|
}) => /* @__PURE__ */ u(
|
|
@@ -1029,7 +1029,7 @@ const j2 = ({
|
|
|
1029
1029
|
), d5 = ({
|
|
1030
1030
|
width: i = 20,
|
|
1031
1031
|
height: e = 20,
|
|
1032
|
-
color: t =
|
|
1032
|
+
color: t = w.GREY_DARK_5,
|
|
1033
1033
|
className: s,
|
|
1034
1034
|
onClick: n
|
|
1035
1035
|
}) => /* @__PURE__ */ u(
|
|
@@ -1153,7 +1153,7 @@ const j2 = ({
|
|
|
1153
1153
|
}
|
|
1154
1154
|
)
|
|
1155
1155
|
}
|
|
1156
|
-
),
|
|
1156
|
+
), f5 = ({
|
|
1157
1157
|
width: i = 20,
|
|
1158
1158
|
height: e = 20,
|
|
1159
1159
|
color: t = "#F2F2F7",
|
|
@@ -1182,7 +1182,7 @@ const j2 = ({
|
|
|
1182
1182
|
)
|
|
1183
1183
|
]
|
|
1184
1184
|
}
|
|
1185
|
-
),
|
|
1185
|
+
), p5 = ({
|
|
1186
1186
|
width: i = 20,
|
|
1187
1187
|
height: e = 20,
|
|
1188
1188
|
color: t = "#004ED7",
|
|
@@ -1279,7 +1279,7 @@ const j2 = ({
|
|
|
1279
1279
|
}
|
|
1280
1280
|
), L5 = ({
|
|
1281
1281
|
className: i,
|
|
1282
|
-
color: e =
|
|
1282
|
+
color: e = w.GREY_DARK_5,
|
|
1283
1283
|
height: t = 20,
|
|
1284
1284
|
width: s = 20,
|
|
1285
1285
|
onClick: n
|
|
@@ -1312,7 +1312,7 @@ const j2 = ({
|
|
|
1312
1312
|
}
|
|
1313
1313
|
), k5 = ({
|
|
1314
1314
|
className: i,
|
|
1315
|
-
color: e =
|
|
1315
|
+
color: e = w.GREY_DARK_5,
|
|
1316
1316
|
height: t = 20,
|
|
1317
1317
|
width: s = 20,
|
|
1318
1318
|
onClick: n
|
|
@@ -1339,7 +1339,7 @@ const j2 = ({
|
|
|
1339
1339
|
}
|
|
1340
1340
|
), v5 = ({
|
|
1341
1341
|
className: i,
|
|
1342
|
-
color: e =
|
|
1342
|
+
color: e = w.GREY_DARK_5,
|
|
1343
1343
|
height: t = 20,
|
|
1344
1344
|
width: s = 20,
|
|
1345
1345
|
onClick: n
|
|
@@ -1366,7 +1366,7 @@ const j2 = ({
|
|
|
1366
1366
|
}
|
|
1367
1367
|
), N5 = ({
|
|
1368
1368
|
className: i,
|
|
1369
|
-
color: e =
|
|
1369
|
+
color: e = w.GREY_DARK_5,
|
|
1370
1370
|
height: t = 5,
|
|
1371
1371
|
width: s = 10,
|
|
1372
1372
|
onClick: n
|
|
@@ -1390,7 +1390,7 @@ const j2 = ({
|
|
|
1390
1390
|
}
|
|
1391
1391
|
), R5 = ({
|
|
1392
1392
|
className: i,
|
|
1393
|
-
color: e =
|
|
1393
|
+
color: e = w.GREY_DARK_5,
|
|
1394
1394
|
height: t = 5,
|
|
1395
1395
|
width: s = 10,
|
|
1396
1396
|
onClick: n
|
|
@@ -1415,7 +1415,7 @@ const j2 = ({
|
|
|
1415
1415
|
}
|
|
1416
1416
|
), x5 = ({
|
|
1417
1417
|
className: i,
|
|
1418
|
-
color: e =
|
|
1418
|
+
color: e = w.GREY_DARK_5,
|
|
1419
1419
|
height: t = 20,
|
|
1420
1420
|
width: s = 20,
|
|
1421
1421
|
onClick: n
|
|
@@ -1448,7 +1448,7 @@ const j2 = ({
|
|
|
1448
1448
|
}
|
|
1449
1449
|
), M5 = ({
|
|
1450
1450
|
className: i,
|
|
1451
|
-
color: e =
|
|
1451
|
+
color: e = w.GREY_DARK_5,
|
|
1452
1452
|
height: t = 24,
|
|
1453
1453
|
width: s = 24,
|
|
1454
1454
|
onClick: n
|
|
@@ -1487,7 +1487,7 @@ const j2 = ({
|
|
|
1487
1487
|
}
|
|
1488
1488
|
), _5 = ({
|
|
1489
1489
|
className: i,
|
|
1490
|
-
color: e =
|
|
1490
|
+
color: e = w.GREY_DARK_5,
|
|
1491
1491
|
height: t = 24,
|
|
1492
1492
|
width: s = 24,
|
|
1493
1493
|
onClick: n
|
|
@@ -1514,7 +1514,7 @@ const j2 = ({
|
|
|
1514
1514
|
}
|
|
1515
1515
|
), b5 = ({
|
|
1516
1516
|
className: i,
|
|
1517
|
-
color: e =
|
|
1517
|
+
color: e = w.GREY_DARK_5,
|
|
1518
1518
|
height: t = 24,
|
|
1519
1519
|
width: s = 24,
|
|
1520
1520
|
onClick: n
|
|
@@ -1573,7 +1573,7 @@ const j2 = ({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
), y5 = ({
|
|
1575
1575
|
className: i,
|
|
1576
|
-
color: e =
|
|
1576
|
+
color: e = w.GREY_DARK_5,
|
|
1577
1577
|
height: t = 24,
|
|
1578
1578
|
width: s = 24,
|
|
1579
1579
|
onClick: n
|
|
@@ -1610,7 +1610,7 @@ const j2 = ({
|
|
|
1610
1610
|
}
|
|
1611
1611
|
), H5 = ({
|
|
1612
1612
|
className: i,
|
|
1613
|
-
color: e =
|
|
1613
|
+
color: e = w.GREY_DARK_3,
|
|
1614
1614
|
height: t = 14,
|
|
1615
1615
|
width: s = 14,
|
|
1616
1616
|
onClick: n
|
|
@@ -1647,7 +1647,7 @@ const j2 = ({
|
|
|
1647
1647
|
}
|
|
1648
1648
|
), E5 = ({
|
|
1649
1649
|
className: i,
|
|
1650
|
-
color: e =
|
|
1650
|
+
color: e = w.GREY_DARK_5,
|
|
1651
1651
|
height: t = 18,
|
|
1652
1652
|
onClick: s,
|
|
1653
1653
|
width: n = 18
|
|
@@ -1674,7 +1674,7 @@ const j2 = ({
|
|
|
1674
1674
|
}
|
|
1675
1675
|
), V5 = ({
|
|
1676
1676
|
className: i,
|
|
1677
|
-
color: e =
|
|
1677
|
+
color: e = w.GREY_DARK_5,
|
|
1678
1678
|
height: t = 24,
|
|
1679
1679
|
width: s = 24,
|
|
1680
1680
|
onClick: n
|
|
@@ -1726,7 +1726,7 @@ const j2 = ({
|
|
|
1726
1726
|
}
|
|
1727
1727
|
), I5 = ({
|
|
1728
1728
|
className: i,
|
|
1729
|
-
color: e =
|
|
1729
|
+
color: e = w.GREY_DARK_5,
|
|
1730
1730
|
height: t = 24,
|
|
1731
1731
|
width: s = 24,
|
|
1732
1732
|
onClick: n
|
|
@@ -1763,7 +1763,7 @@ const j2 = ({
|
|
|
1763
1763
|
}
|
|
1764
1764
|
), A5 = ({
|
|
1765
1765
|
className: i,
|
|
1766
|
-
color: e =
|
|
1766
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
1767
1767
|
height: t = 37,
|
|
1768
1768
|
width: s = 36,
|
|
1769
1769
|
onClick: n
|
|
@@ -1800,9 +1800,9 @@ const j2 = ({
|
|
|
1800
1800
|
)
|
|
1801
1801
|
]
|
|
1802
1802
|
}
|
|
1803
|
-
),
|
|
1803
|
+
), Z5 = ({
|
|
1804
1804
|
className: i,
|
|
1805
|
-
color: e =
|
|
1805
|
+
color: e = w.GREY_DARK_5,
|
|
1806
1806
|
height: t = 24,
|
|
1807
1807
|
width: s = 24,
|
|
1808
1808
|
onClick: n
|
|
@@ -1826,9 +1826,9 @@ const j2 = ({
|
|
|
1826
1826
|
}
|
|
1827
1827
|
)
|
|
1828
1828
|
}
|
|
1829
|
-
),
|
|
1829
|
+
), O5 = ({
|
|
1830
1830
|
className: i,
|
|
1831
|
-
color: e =
|
|
1831
|
+
color: e = w.GREY_DARK_5,
|
|
1832
1832
|
height: t = 24,
|
|
1833
1833
|
width: s = 24,
|
|
1834
1834
|
onClick: n
|
|
@@ -1867,7 +1867,7 @@ const j2 = ({
|
|
|
1867
1867
|
}
|
|
1868
1868
|
), S5 = ({
|
|
1869
1869
|
className: i,
|
|
1870
|
-
color: e =
|
|
1870
|
+
color: e = w.GREY_DARK_5,
|
|
1871
1871
|
height: t = 20,
|
|
1872
1872
|
width: s = 20,
|
|
1873
1873
|
onClick: n
|
|
@@ -1900,7 +1900,7 @@ const j2 = ({
|
|
|
1900
1900
|
}
|
|
1901
1901
|
), D5 = ({
|
|
1902
1902
|
className: i,
|
|
1903
|
-
color: e =
|
|
1903
|
+
color: e = w.GREY_DARK_5,
|
|
1904
1904
|
height: t = 24,
|
|
1905
1905
|
width: s = 24,
|
|
1906
1906
|
onClick: n
|
|
@@ -1969,7 +1969,7 @@ const j2 = ({
|
|
|
1969
1969
|
}
|
|
1970
1970
|
), G5 = ({
|
|
1971
1971
|
className: i,
|
|
1972
|
-
color: e =
|
|
1972
|
+
color: e = w.GREY_DARK_5,
|
|
1973
1973
|
height: t = 24,
|
|
1974
1974
|
width: s = 24,
|
|
1975
1975
|
onClick: n
|
|
@@ -2026,7 +2026,7 @@ const j2 = ({
|
|
|
2026
2026
|
}
|
|
2027
2027
|
), T5 = ({
|
|
2028
2028
|
className: i,
|
|
2029
|
-
color: e =
|
|
2029
|
+
color: e = w.GREY_DARK_5,
|
|
2030
2030
|
height: t = 24,
|
|
2031
2031
|
width: s = 24,
|
|
2032
2032
|
onClick: n
|
|
@@ -2075,7 +2075,7 @@ const j2 = ({
|
|
|
2075
2075
|
}
|
|
2076
2076
|
), K5 = ({
|
|
2077
2077
|
className: i,
|
|
2078
|
-
color: e =
|
|
2078
|
+
color: e = w.GREY_DARK_5,
|
|
2079
2079
|
height: t = 24,
|
|
2080
2080
|
width: s = 24,
|
|
2081
2081
|
onClick: n
|
|
@@ -2102,7 +2102,7 @@ const j2 = ({
|
|
|
2102
2102
|
}
|
|
2103
2103
|
), B5 = ({
|
|
2104
2104
|
className: i,
|
|
2105
|
-
color: e =
|
|
2105
|
+
color: e = w.GREY_DARK_5,
|
|
2106
2106
|
height: t = 20,
|
|
2107
2107
|
width: s = 20,
|
|
2108
2108
|
onClick: n
|
|
@@ -2117,7 +2117,7 @@ const j2 = ({
|
|
|
2117
2117
|
fill: "none",
|
|
2118
2118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2119
2119
|
children: [
|
|
2120
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2120
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
2121
2121
|
/* @__PURE__ */ r(
|
|
2122
2122
|
"path",
|
|
2123
2123
|
{
|
|
@@ -2196,55 +2196,23 @@ const j2 = ({
|
|
|
2196
2196
|
), j5 = ({
|
|
2197
2197
|
width: i = 20,
|
|
2198
2198
|
height: e = 20,
|
|
2199
|
-
color: t =
|
|
2199
|
+
color: t = w.GREY_DARK_5,
|
|
2200
2200
|
className: s,
|
|
2201
2201
|
onClick: n
|
|
2202
2202
|
}) => /* @__PURE__ */ r(
|
|
2203
2203
|
"svg",
|
|
2204
2204
|
{
|
|
2205
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2206
2205
|
width: i,
|
|
2207
2206
|
height: e,
|
|
2208
|
-
className: s,
|
|
2209
2207
|
onClick: n,
|
|
2210
|
-
|
|
2208
|
+
className: s,
|
|
2209
|
+
viewBox: "0 0 24 24",
|
|
2211
2210
|
fill: "none",
|
|
2211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2212
2212
|
children: /* @__PURE__ */ r(
|
|
2213
2213
|
"path",
|
|
2214
2214
|
{
|
|
2215
|
-
|
|
2216
|
-
clipRule: "evenodd",
|
|
2217
|
-
d: `M2.88667 2.88667C1.66667 4.10834 1.66667 6.07167 1.66667 10C1.66667 13.9283 1.66667 15.8925
|
|
2218
|
-
2.88667 17.1125C4.10833 18.3333 6.07167 18.3333 10 18.3333C13.9283 18.3333 15.8925 18.3333 17.1125
|
|
2219
|
-
17.1125C18.3333 15.8933 18.3333 13.9283 18.3333 10C18.3333 6.07167 18.3333 4.10751 17.1125 2.88667C15.8933
|
|
2220
|
-
1.66667 13.9283 1.66667 10 1.66667C6.07167 1.66667 4.1075 1.66667 2.88667 2.88667ZM8.78667 6.26417C8.84325
|
|
2221
|
-
6.20469 8.88755 6.13465 8.91706 6.05805C8.94657 5.98145 8.96071 5.89979 8.95866 5.81772C8.95661 5.73566
|
|
2222
|
-
8.93841 5.6548 8.90511 5.57977C8.87181 5.50474 8.82406 5.437 8.76458 5.38042C8.70511 5.32384 8.63507 5.27954
|
|
2223
|
-
8.55847 5.25003C8.48186 5.22052 8.4002 5.20638 8.31814 5.20843C8.23607 5.21048 8.15522 5.22868 8.08018
|
|
2224
|
-
5.26198C8.00515 5.29528 7.93741 5.34303 7.88083 5.4025L5.9525 7.42751L5.4525 6.9025C5.39654 6.84066 5.32876
|
|
2225
|
-
6.79064 5.25316 6.75539C5.17756 6.72015 5.09567 6.70039 5.01232 6.69729C4.92897 6.69418 4.84583 6.7078
|
|
2226
|
-
4.76782 6.73732C4.68982 6.76685 4.6185 6.81169 4.5581 6.86921C4.49769 6.92673 4.4494 6.99575 4.41609
|
|
2227
|
-
7.07222C4.38277 7.14869 4.3651 7.23105 4.36411 7.31446C4.36312 7.39786 4.37884 7.48062 4.41034 7.55786C4.44183
|
|
2228
|
-
7.63509 4.48847 7.70524 4.5475 7.76417L5.5 8.76417C5.55837 8.82544 5.62858 8.87421 5.70636 8.90754C5.78414
|
|
2229
|
-
8.94086 5.86788 8.95805 5.9525 8.95805C6.03712 8.95805 6.12086 8.94086 6.19864 8.90754C6.27643 8.87421
|
|
2230
|
-
6.34663 8.82544 6.405 8.76417L8.78667 6.26417ZM10.8333 6.875C10.6676 6.875 10.5086 6.94085 10.3914
|
|
2231
|
-
7.05806C10.2742 7.17527 10.2083 7.33424 10.2083 7.5C10.2083 7.66577 10.2742 7.82474 10.3914 7.94195C10.5086
|
|
2232
|
-
8.05916 10.6676 8.125 10.8333 8.125H15C15.1658 8.125 15.3247 8.05916 15.4419 7.94195C15.5592 7.82474 15.625
|
|
2233
|
-
7.66577 15.625 7.5C15.625 7.33424 15.5592 7.17527 15.4419 7.05806C15.3247 6.94085 15.1658 6.875 15
|
|
2234
|
-
6.875H10.8333ZM8.78583 12.0975C8.84486 12.0386 8.8915 11.9684 8.923 11.8912C8.95449 11.814 8.97021 11.7312
|
|
2235
|
-
8.96922 11.6478C8.96824 11.5644 8.95056 11.482 8.91725 11.4056C8.88393 11.3291 8.83565 11.2601 8.77524
|
|
2236
|
-
11.2025C8.71483 11.145 8.64352 11.1002 8.56551 11.0707C8.4875 11.0411 8.40437 11.0275 8.32102 11.0306C8.23766
|
|
2237
|
-
11.0337 8.15578 11.0535 8.08018 11.0887C8.00458 11.124 7.9368 11.174 7.88083 11.2358L5.9525 13.2608L5.4525
|
|
2238
|
-
12.7358C5.39654 12.674 5.32876 12.624 5.25316 12.5887C5.17756 12.5535 5.09567 12.5337 5.01232 12.5306C4.92897
|
|
2239
|
-
12.5275 4.84583 12.5411 4.76782 12.5707C4.68982 12.6002 4.6185 12.645 4.5581 12.7025C4.49769 12.7601 4.4494
|
|
2240
|
-
12.8291 4.41609 12.9056C4.38277 12.982 4.3651 13.0644 4.36411 13.1478C4.36312 13.2312 4.37884 13.314 4.41034
|
|
2241
|
-
13.3912C4.44183 13.4684 4.48847 13.5386 4.5475 13.5975L5.5 14.5975C5.55837 14.6588 5.62858 14.7075 5.70636
|
|
2242
|
-
14.7409C5.78414 14.7742 5.86788 14.7914 5.9525 14.7914C6.03712 14.7914 6.12086 14.7742 6.19864 14.7409C6.27643
|
|
2243
|
-
14.7075 6.34663 14.6588 6.405 14.5975L8.78583 12.0975ZM10.8333 12.7083C10.6676 12.7083 10.5086 12.7742 10.3914
|
|
2244
|
-
12.8914C10.2742 13.0086 10.2083 13.1676 10.2083 13.3333C10.2083 13.4991 10.2742 13.6581 10.3914 13.7753C10.5086
|
|
2245
|
-
13.8925 10.6676 13.9583 10.8333 13.9583H15C15.1658 13.9583 15.3247 13.8925 15.4419 13.7753C15.5592 13.6581
|
|
2246
|
-
15.625 13.4991 15.625 13.3333C15.625 13.1676 15.5592 13.0086 15.4419 12.8914C15.3247 12.7742 15.1658 12.7083
|
|
2247
|
-
15 12.7083H10.8333Z`,
|
|
2215
|
+
d: "M6.06939 16.5692C6.3622 16.2765 6.83706 16.2767 7.12994 16.5692C7.4228 16.8621 7.42273 17.3369 7.12994 17.6298L5.12994 19.6298C4.98929 19.7704 4.79858 19.8495 4.59967 19.8495C4.45045 19.8495 4.30597 19.8052 4.18365 19.7235L4.06939 19.6298L3.26959 18.83L3.21783 18.7733C2.97763 18.4787 2.99503 18.044 3.26959 17.7694C3.54417 17.495 3.97896 17.4775 4.2735 17.7177L4.33014 17.7694L4.59967 18.0389L6.06939 16.5692ZM20.0001 17.7499L20.0762 17.7538C20.4546 17.7921 20.75 18.1115 20.7501 18.4999C20.7501 18.8883 20.4546 19.2077 20.0762 19.246L20.0001 19.2499H9.00006C8.58584 19.2499 8.25006 18.9141 8.25006 18.4999C8.25007 18.0857 8.58585 17.7499 9.00006 17.7499H20.0001ZM5.55475 13.0145C5.27614 13.3209 4.80164 13.3438 4.49518 13.0653C4.18868 12.7867 4.16675 12.3122 4.44537 12.0057L5.55475 13.0145ZM20.0001 11.7499L20.0762 11.7538C20.4546 11.7921 20.75 12.1115 20.7501 12.4999C20.7501 12.8883 20.4546 13.2077 20.0762 13.246L20.0001 13.2499H9.00006C8.58584 13.2499 8.25006 12.9141 8.25006 12.4999C8.25007 12.0857 8.58585 11.7499 9.00006 11.7499H20.0001ZM4.50982 11.9403C4.79264 11.6865 5.22745 11.6831 5.51471 11.9442C5.80181 12.2055 5.8394 12.6386 5.61334 12.9442L5.56451 13.0038L5.55475 13.0145L4.44537 12.0057L4.45514 11.994L4.50982 11.9403ZM5.55475 7.01453C5.27614 7.32089 4.80164 7.3438 4.49518 7.06532C4.18868 6.78668 4.16674 6.31224 4.44537 6.00575L5.55475 7.01453ZM20.0001 5.74989L20.0762 5.75379C20.4546 5.79206 20.75 6.11146 20.7501 6.49989C20.7501 6.88832 20.4546 7.20771 20.0762 7.24598L20.0001 7.24989H9.00006C8.58584 7.24989 8.25006 6.9141 8.25006 6.49989C8.25007 6.08568 8.58585 5.74989 9.00006 5.74989H20.0001ZM4.45514 5.99403C4.73381 5.68784 5.20832 5.66569 5.51471 5.94422C5.8209 6.22289 5.84305 6.69741 5.56451 7.00379L5.55475 7.01453L4.44537 6.00575L4.45514 5.99403Z",
|
|
2248
2216
|
fill: t
|
|
2249
2217
|
}
|
|
2250
2218
|
)
|
|
@@ -2283,9 +2251,9 @@ const j2 = ({
|
|
|
2283
2251
|
]
|
|
2284
2252
|
}
|
|
2285
2253
|
), F5 = ({
|
|
2286
|
-
width: i =
|
|
2287
|
-
height: e =
|
|
2288
|
-
color: t =
|
|
2254
|
+
width: i = 20,
|
|
2255
|
+
height: e = 20,
|
|
2256
|
+
color: t = w.GREY_DARK_5,
|
|
2289
2257
|
className: s,
|
|
2290
2258
|
onClick: n
|
|
2291
2259
|
}) => /* @__PURE__ */ u(
|
|
@@ -2293,30 +2261,24 @@ const j2 = ({
|
|
|
2293
2261
|
{
|
|
2294
2262
|
width: i,
|
|
2295
2263
|
height: e,
|
|
2264
|
+
className: s,
|
|
2265
|
+
onClick: n,
|
|
2296
2266
|
viewBox: "0 0 24 24",
|
|
2297
2267
|
fill: "none",
|
|
2298
2268
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2299
|
-
className: s,
|
|
2300
|
-
onClick: n,
|
|
2301
2269
|
children: [
|
|
2302
2270
|
/* @__PURE__ */ r(
|
|
2303
2271
|
"path",
|
|
2304
2272
|
{
|
|
2305
|
-
d: "
|
|
2306
|
-
|
|
2307
|
-
strokeWidth: "1.5",
|
|
2308
|
-
strokeLinecap: "round",
|
|
2309
|
-
strokeLinejoin: "round"
|
|
2273
|
+
d: "M18.25 20.5V19.5C18.25 16.0482 15.4518 13.25 12 13.25C8.54822 13.25 5.75 16.0482 5.75 19.5V20.5C5.75 20.9142 5.41421 21.25 5 21.25C4.58579 21.25 4.25 20.9142 4.25 20.5V19.5C4.25 15.2198 7.71979 11.75 12 11.75C16.2802 11.75 19.75 15.2198 19.75 19.5V20.5C19.75 20.9142 19.4142 21.25 19 21.25C18.5858 21.25 18.25 20.9142 18.25 20.5Z",
|
|
2274
|
+
fill: t
|
|
2310
2275
|
}
|
|
2311
2276
|
),
|
|
2312
2277
|
/* @__PURE__ */ r(
|
|
2313
2278
|
"path",
|
|
2314
2279
|
{
|
|
2315
|
-
d: "
|
|
2316
|
-
|
|
2317
|
-
strokeWidth: "1.5",
|
|
2318
|
-
strokeLinecap: "round",
|
|
2319
|
-
strokeLinejoin: "round"
|
|
2280
|
+
d: "M15.25 8.5C15.25 6.70507 13.7949 5.25 12 5.25C10.2051 5.25 8.75 6.70507 8.75 8.5C8.75 10.2949 10.2051 11.75 12 11.75C13.7949 11.75 15.25 10.2949 15.25 8.5ZM16.75 8.5C16.75 11.1234 14.6234 13.25 12 13.25C9.37665 13.25 7.25 11.1234 7.25 8.5C7.25 5.87665 9.37665 3.75 12 3.75C14.6234 3.75 16.75 5.87665 16.75 8.5Z",
|
|
2281
|
+
fill: t
|
|
2320
2282
|
}
|
|
2321
2283
|
)
|
|
2322
2284
|
]
|
|
@@ -2324,7 +2286,7 @@ const j2 = ({
|
|
|
2324
2286
|
), W5 = ({
|
|
2325
2287
|
width: i = 24,
|
|
2326
2288
|
height: e = 24,
|
|
2327
|
-
color: t =
|
|
2289
|
+
color: t = w.GREY_DARK_2,
|
|
2328
2290
|
className: s,
|
|
2329
2291
|
onClick: n
|
|
2330
2292
|
}) => /* @__PURE__ */ u(
|
|
@@ -2364,7 +2326,7 @@ const j2 = ({
|
|
|
2364
2326
|
), U5 = ({
|
|
2365
2327
|
width: i = 24,
|
|
2366
2328
|
height: e = 24,
|
|
2367
|
-
color: t =
|
|
2329
|
+
color: t = w.GREY_DARK_2,
|
|
2368
2330
|
className: s,
|
|
2369
2331
|
onClick: n
|
|
2370
2332
|
}) => /* @__PURE__ */ r(
|
|
@@ -2391,7 +2353,7 @@ const j2 = ({
|
|
|
2391
2353
|
), z5 = ({
|
|
2392
2354
|
width: i = 24,
|
|
2393
2355
|
height: e = 24,
|
|
2394
|
-
color: t =
|
|
2356
|
+
color: t = w.GREY_DARK_2,
|
|
2395
2357
|
className: s,
|
|
2396
2358
|
onClick: n
|
|
2397
2359
|
}) => /* @__PURE__ */ r(
|
|
@@ -2415,32 +2377,6 @@ const j2 = ({
|
|
|
2415
2377
|
}
|
|
2416
2378
|
)
|
|
2417
2379
|
}
|
|
2418
|
-
), J5 = ({
|
|
2419
|
-
width: i = 20,
|
|
2420
|
-
height: e = 20,
|
|
2421
|
-
color: t = "#001E52",
|
|
2422
|
-
className: s,
|
|
2423
|
-
onClick: n
|
|
2424
|
-
}) => /* @__PURE__ */ r(
|
|
2425
|
-
"svg",
|
|
2426
|
-
{
|
|
2427
|
-
width: i,
|
|
2428
|
-
height: e,
|
|
2429
|
-
viewBox: "0 0 20 20",
|
|
2430
|
-
fill: "none",
|
|
2431
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2432
|
-
className: s,
|
|
2433
|
-
onClick: n,
|
|
2434
|
-
children: /* @__PURE__ */ r(
|
|
2435
|
-
"path",
|
|
2436
|
-
{
|
|
2437
|
-
fillRule: "evenodd",
|
|
2438
|
-
clipRule: "evenodd",
|
|
2439
|
-
d: "M18.3337 10.0001C18.3337 14.6026 14.6028 18.3334 10.0003 18.3334C5.39783 18.3334 1.66699 14.6026 1.66699 10.0001C1.66699 5.39758 5.39783 1.66675 10.0003 1.66675C14.6028 1.66675 18.3337 5.39758 18.3337 10.0001ZM12.5003 7.50008C12.5003 8.16312 12.2369 8.79901 11.7681 9.26785C11.2993 9.73669 10.6634 10.0001 10.0003 10.0001C9.33728 10.0001 8.7014 9.73669 8.23256 9.26785C7.76372 8.79901 7.50033 8.16312 7.50033 7.50008C7.50033 6.83704 7.76372 6.20116 8.23256 5.73231C8.7014 5.26347 9.33728 5.00008 10.0003 5.00008C10.6634 5.00008 11.2993 5.26347 11.7681 5.73231C12.2369 6.20116 12.5003 6.83704 12.5003 7.50008ZM10.0003 17.0834C11.4306 17.0857 12.8277 16.6529 14.0062 15.8426C14.5095 15.4967 14.7245 14.8384 14.4312 14.3026C13.8253 13.1917 12.5753 12.5001 10.0003 12.5001C7.42533 12.5001 6.17533 13.1917 5.56866 14.3026C5.27616 14.8384 5.49116 15.4967 5.99449 15.8426C7.17299 16.6529 8.5701 17.0857 10.0003 17.0834Z",
|
|
2440
|
-
fill: t
|
|
2441
|
-
}
|
|
2442
|
-
)
|
|
2443
|
-
}
|
|
2444
2380
|
), s1 = ({
|
|
2445
2381
|
name: i,
|
|
2446
2382
|
width: e,
|
|
@@ -2448,84 +2384,84 @@ const j2 = ({
|
|
|
2448
2384
|
color: s,
|
|
2449
2385
|
className: n,
|
|
2450
2386
|
disabled: o = !1,
|
|
2451
|
-
onClick:
|
|
2387
|
+
onClick: h
|
|
2452
2388
|
}) => {
|
|
2453
|
-
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ?
|
|
2389
|
+
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, c = o ? void 0 : h;
|
|
2454
2390
|
return A(() => {
|
|
2455
2391
|
if (n) {
|
|
2456
|
-
|
|
2392
|
+
c && !o && C(`${n} clickable`);
|
|
2457
2393
|
return;
|
|
2458
2394
|
}
|
|
2459
|
-
|
|
2460
|
-
}, [
|
|
2395
|
+
c && !o && C("clickable");
|
|
2396
|
+
}, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
2461
2397
|
switch (i) {
|
|
2462
2398
|
case "nextIcon":
|
|
2463
|
-
return k5({ width: e, height: t, color: l, className: a, onClick:
|
|
2399
|
+
return k5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2464
2400
|
case "prevIcon":
|
|
2465
|
-
return v5({ width: e, height: t, color: l, className: a, onClick:
|
|
2401
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2466
2402
|
case "arrowDown":
|
|
2467
|
-
return j2({ width: e, height: t, color: l, className: a, onClick:
|
|
2403
|
+
return j2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2468
2404
|
case "info":
|
|
2469
|
-
return $2({ width: e, height: t, color: l, className: a, onClick:
|
|
2405
|
+
return $2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2470
2406
|
case "arrowRight":
|
|
2471
|
-
return F2({ width: e, height: t, color: l, className: a, onClick:
|
|
2407
|
+
return F2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2472
2408
|
case "calendar":
|
|
2473
|
-
return W2({ width: e, height: t, color: l, className: a, onClick:
|
|
2409
|
+
return W2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2474
2410
|
case "check":
|
|
2475
|
-
return U2({ width: e, height: t, color: l, className: a, onClick:
|
|
2411
|
+
return U2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2476
2412
|
case "cancel":
|
|
2477
|
-
return z2({ width: e, height: t, color: l, className: a, onClick:
|
|
2413
|
+
return z2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2478
2414
|
case "add":
|
|
2479
|
-
return J2({ width: e, height: t, color: l, className: a, onClick:
|
|
2415
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2480
2416
|
case "list":
|
|
2481
|
-
return Q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2417
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2482
2418
|
case "dragAndDrop":
|
|
2483
|
-
return q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2419
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2484
2420
|
case "filter":
|
|
2485
|
-
return X2({ width: e, height: t, color: l, className: a, onClick:
|
|
2421
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2486
2422
|
case "attention":
|
|
2487
|
-
return e5({ width: e, height: t, color: l, className: a, onClick:
|
|
2423
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2488
2424
|
case "users":
|
|
2489
|
-
return t5({ width: e, height: t, color: l, className: a, onClick:
|
|
2425
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2490
2426
|
case "mySkillsMatrix":
|
|
2491
2427
|
return i5({
|
|
2492
2428
|
width: e,
|
|
2493
2429
|
height: t,
|
|
2494
2430
|
color: l,
|
|
2495
2431
|
className: a,
|
|
2496
|
-
onClick:
|
|
2432
|
+
onClick: c
|
|
2497
2433
|
});
|
|
2498
2434
|
case "skills":
|
|
2499
|
-
return s5({ width: e, height: t, color: l, className: a, onClick:
|
|
2435
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2500
2436
|
case "skillsMatrices":
|
|
2501
2437
|
return n5({
|
|
2502
2438
|
width: e,
|
|
2503
2439
|
height: t,
|
|
2504
2440
|
color: l,
|
|
2505
2441
|
className: a,
|
|
2506
|
-
onClick:
|
|
2442
|
+
onClick: c
|
|
2507
2443
|
});
|
|
2508
2444
|
case "history":
|
|
2509
|
-
return r5({ width: e, height: t, color: l, className: a, onClick:
|
|
2445
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2510
2446
|
case "logOut":
|
|
2511
|
-
return o5({ width: e, height: t, color: l, className: a, onClick:
|
|
2447
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2512
2448
|
case "settings":
|
|
2513
|
-
return a5({ width: e, height: t, color: l, className: a, onClick:
|
|
2449
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2514
2450
|
case "trash":
|
|
2515
|
-
return l5({ width: e, height: t, color: l, className: a, onClick:
|
|
2451
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2516
2452
|
case "settings2":
|
|
2517
|
-
return h5({ width: e, height: t, color: l, className: a, onClick:
|
|
2453
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2518
2454
|
case "checkCircle":
|
|
2519
|
-
return c5({ width: e, height: t, color: l, className: a, onClick:
|
|
2455
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2520
2456
|
case "cancelCircle":
|
|
2521
|
-
return d5({ width: e, height: t, color: l, className: a, onClick:
|
|
2457
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2522
2458
|
case "visibilityIcon":
|
|
2523
2459
|
return C5({
|
|
2524
2460
|
width: e,
|
|
2525
2461
|
height: t,
|
|
2526
2462
|
color: l,
|
|
2527
2463
|
className: a,
|
|
2528
|
-
onClick:
|
|
2464
|
+
onClick: c
|
|
2529
2465
|
});
|
|
2530
2466
|
case "visibilityOffIcon":
|
|
2531
2467
|
return g5({
|
|
@@ -2533,7 +2469,7 @@ const j2 = ({
|
|
|
2533
2469
|
height: t,
|
|
2534
2470
|
color: l,
|
|
2535
2471
|
className: a,
|
|
2536
|
-
onClick:
|
|
2472
|
+
onClick: c
|
|
2537
2473
|
});
|
|
2538
2474
|
case "selectArrowIcon":
|
|
2539
2475
|
return u5({
|
|
@@ -2541,98 +2477,96 @@ const j2 = ({
|
|
|
2541
2477
|
height: t,
|
|
2542
2478
|
color: l,
|
|
2543
2479
|
className: a,
|
|
2544
|
-
onClick:
|
|
2480
|
+
onClick: c
|
|
2545
2481
|
});
|
|
2546
2482
|
case "expandArrowIcon":
|
|
2547
|
-
return
|
|
2483
|
+
return f5({
|
|
2548
2484
|
width: e,
|
|
2549
2485
|
height: t,
|
|
2550
2486
|
color: l,
|
|
2551
2487
|
className: a,
|
|
2552
|
-
onClick:
|
|
2488
|
+
onClick: c
|
|
2553
2489
|
});
|
|
2554
2490
|
case "expandActiveArrowIcon":
|
|
2555
|
-
return
|
|
2491
|
+
return p5({
|
|
2556
2492
|
width: e,
|
|
2557
2493
|
height: t,
|
|
2558
2494
|
color: l,
|
|
2559
2495
|
className: a,
|
|
2560
|
-
onClick:
|
|
2496
|
+
onClick: c
|
|
2561
2497
|
});
|
|
2562
2498
|
case "sortUp":
|
|
2563
|
-
return m5({ width: e, height: t, color: l, className: a, onClick:
|
|
2499
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2564
2500
|
case "sortDown":
|
|
2565
|
-
return w5({ width: e, height: t, color: l, className: a, onClick:
|
|
2501
|
+
return w5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2566
2502
|
case "search":
|
|
2567
|
-
return L5({ width: e, height: t, color: l, className: a, onClick:
|
|
2503
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2568
2504
|
case "arrowUpFilled":
|
|
2569
|
-
return R5({ width: e, height: t, color: l, className: a, onClick:
|
|
2505
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2570
2506
|
case "arrowDownFilled":
|
|
2571
|
-
return N5({ width: e, height: t, color: l, className: a, onClick:
|
|
2507
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2572
2508
|
case "link":
|
|
2573
|
-
return x5({ width: e, height: t, color: l, className: a, onClick:
|
|
2509
|
+
return x5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2574
2510
|
case "telegram":
|
|
2575
|
-
return _5({ width: e, height: t, color: l, className: a, onClick:
|
|
2511
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2576
2512
|
case "mail":
|
|
2577
|
-
return y5({ width: e, height: t, color: l, className: a, onClick:
|
|
2513
|
+
return y5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2578
2514
|
case "github":
|
|
2579
|
-
return M5({ width: e, height: t, color: l, className: a, onClick:
|
|
2515
|
+
return M5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2580
2516
|
case "linkedIn":
|
|
2581
|
-
return b5({ width: e, height: t, color: l, className: a, onClick:
|
|
2517
|
+
return b5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2582
2518
|
case "emptyStateIcon":
|
|
2583
|
-
return H5({ width: e, height: t, color: l, className: a, onClick:
|
|
2519
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2584
2520
|
case "filtersIcon":
|
|
2585
|
-
return E5({ width: e, height: t, color: l, className: a, onClick:
|
|
2521
|
+
return E5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2586
2522
|
case "dotMenuIcon":
|
|
2587
|
-
return V5({ width: e, height: t, color: l, className: a, onClick:
|
|
2523
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2588
2524
|
case "plusCircle":
|
|
2589
|
-
return I5({ width: e, height: t, color: l, className: a, onClick:
|
|
2525
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2590
2526
|
case "warning":
|
|
2591
|
-
return A5({ width: e, height: t, color: l, className: a, onClick:
|
|
2527
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2592
2528
|
case "back":
|
|
2593
|
-
return
|
|
2529
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2594
2530
|
case "bell":
|
|
2595
|
-
return
|
|
2531
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2596
2532
|
case "copy":
|
|
2597
|
-
return S5({ width: e, height: t, color: l, className: a, onClick:
|
|
2533
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2598
2534
|
case "contract":
|
|
2599
|
-
return D5({ width: e, height: t, color: l, className: a, onClick:
|
|
2535
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2600
2536
|
case "resourceManager":
|
|
2601
|
-
return G5({ width: e, height: t, color: l, className: a, onClick:
|
|
2537
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2602
2538
|
case "image":
|
|
2603
|
-
return T5({ width: e, height: t, color: l, className: a, onClick:
|
|
2539
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2604
2540
|
case "edit":
|
|
2605
|
-
return K5({ width: e, height: t, color: l, className: a, onClick:
|
|
2541
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2606
2542
|
case "filledArrowRight":
|
|
2607
|
-
return B5({ width: e, height: t, color: l, className: a, onClick:
|
|
2543
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2608
2544
|
case "burgerMenu":
|
|
2609
|
-
return P5({ width: e, height: t, color: l, className: a, onClick:
|
|
2545
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2610
2546
|
case "refresh":
|
|
2611
|
-
return Y5({ width: e, height: t, color: l, className: a, onClick:
|
|
2547
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2612
2548
|
case "projects":
|
|
2613
|
-
return j5({ width: e, height: t, color: l, className: a, onClick:
|
|
2614
|
-
case "
|
|
2615
|
-
return
|
|
2549
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2550
|
+
case "user":
|
|
2551
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2616
2552
|
case "exit":
|
|
2617
|
-
return $5({ width: e, height: t, color: l, className: a, onClick:
|
|
2618
|
-
case "client":
|
|
2619
|
-
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2553
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2620
2554
|
case "openPointCircle":
|
|
2621
|
-
return W5({ width: e, height: t, color: l, className: a, onClick:
|
|
2555
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2622
2556
|
case "community":
|
|
2623
|
-
return U5({ width: e, height: t, color: l, className: a, onClick:
|
|
2557
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2624
2558
|
case "docs":
|
|
2625
|
-
return z5({ width: e, height: t, color: l, className: a, onClick:
|
|
2559
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2626
2560
|
default:
|
|
2627
2561
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
2628
2562
|
}
|
|
2629
2563
|
})() });
|
|
2630
|
-
}, { Title:
|
|
2564
|
+
}, { Title: J5, Text: Q5 } = J1, q5 = {
|
|
2631
2565
|
h1: 1,
|
|
2632
2566
|
h2: 2,
|
|
2633
2567
|
h3: 3,
|
|
2634
2568
|
h4: 4
|
|
2635
|
-
},
|
|
2569
|
+
}, X5 = w1(
|
|
2636
2570
|
({
|
|
2637
2571
|
align: i = "inherit",
|
|
2638
2572
|
variant: e = "body1",
|
|
@@ -2640,18 +2574,18 @@ const j2 = ({
|
|
|
2640
2574
|
children: s,
|
|
2641
2575
|
onClick: n,
|
|
2642
2576
|
collapsed: o,
|
|
2643
|
-
whiteSpace:
|
|
2577
|
+
whiteSpace: h = "normal",
|
|
2644
2578
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2645
2579
|
trim: a = !1
|
|
2646
2580
|
}, C) => {
|
|
2647
2581
|
const d = J(null);
|
|
2648
2582
|
Q1(C, () => d.current);
|
|
2649
|
-
const [l,
|
|
2583
|
+
const [l, c] = I(!1);
|
|
2650
2584
|
A(() => {
|
|
2651
2585
|
var N;
|
|
2652
2586
|
if (!a) return;
|
|
2653
2587
|
const m = () => {
|
|
2654
|
-
d.current &&
|
|
2588
|
+
d.current && c(d.current.scrollWidth > d.current.clientWidth);
|
|
2655
2589
|
};
|
|
2656
2590
|
m();
|
|
2657
2591
|
const y = new ResizeObserver(m);
|
|
@@ -2660,11 +2594,11 @@ const j2 = ({
|
|
|
2660
2594
|
};
|
|
2661
2595
|
}, [a]);
|
|
2662
2596
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2663
|
-
let
|
|
2664
|
-
i && i !== "inherit" && (
|
|
2665
|
-
const
|
|
2666
|
-
className:
|
|
2667
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
2597
|
+
let f = `snmt-typography snmt-typography-${e}`;
|
|
2598
|
+
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
2599
|
+
const k = {
|
|
2600
|
+
className: f,
|
|
2601
|
+
style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
|
|
2668
2602
|
onClick: n,
|
|
2669
2603
|
ref: d,
|
|
2670
2604
|
ellipsis: a && l ? {
|
|
@@ -2674,16 +2608,16 @@ const j2 = ({
|
|
|
2674
2608
|
}
|
|
2675
2609
|
} : void 0
|
|
2676
2610
|
};
|
|
2677
|
-
return g ? /* @__PURE__ */ r(
|
|
2611
|
+
return g ? /* @__PURE__ */ r(J5, { level: q5[e], ...k, children: s }) : /* @__PURE__ */ r(Q5, { ...k, children: s });
|
|
2678
2612
|
}
|
|
2679
2613
|
);
|
|
2680
|
-
var
|
|
2614
|
+
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 || {});
|
|
2681
2615
|
const t2 = t1({
|
|
2682
2616
|
locale: "en",
|
|
2683
2617
|
theme: "light"
|
|
2684
2618
|
});
|
|
2685
2619
|
t2.Provider;
|
|
2686
|
-
const
|
|
2620
|
+
const ee = ({
|
|
2687
2621
|
width: i = 20,
|
|
2688
2622
|
height: e = 20,
|
|
2689
2623
|
color: t = "#001E52",
|
|
@@ -2710,10 +2644,10 @@ const te = ({
|
|
|
2710
2644
|
}
|
|
2711
2645
|
)
|
|
2712
2646
|
}
|
|
2713
|
-
),
|
|
2647
|
+
), te = ({
|
|
2714
2648
|
width: i = 20,
|
|
2715
2649
|
height: e = 20,
|
|
2716
|
-
color: t =
|
|
2650
|
+
color: t = L.GREY_DARK_5,
|
|
2717
2651
|
className: s,
|
|
2718
2652
|
onClick: n
|
|
2719
2653
|
}) => /* @__PURE__ */ u(
|
|
@@ -2750,7 +2684,7 @@ const te = ({
|
|
|
2750
2684
|
)
|
|
2751
2685
|
]
|
|
2752
2686
|
}
|
|
2753
|
-
),
|
|
2687
|
+
), ie = ({
|
|
2754
2688
|
width: i = 20,
|
|
2755
2689
|
height: e = 20,
|
|
2756
2690
|
color: t = "#001E52",
|
|
@@ -2785,10 +2719,10 @@ const te = ({
|
|
|
2785
2719
|
)
|
|
2786
2720
|
]
|
|
2787
2721
|
}
|
|
2788
|
-
),
|
|
2722
|
+
), se = ({
|
|
2789
2723
|
width: i = 20,
|
|
2790
2724
|
height: e = 20,
|
|
2791
|
-
color: t =
|
|
2725
|
+
color: t = L.GREY_DARK_5,
|
|
2792
2726
|
className: s,
|
|
2793
2727
|
onClick: n
|
|
2794
2728
|
}) => /* @__PURE__ */ u(
|
|
@@ -2832,10 +2766,10 @@ const te = ({
|
|
|
2832
2766
|
)
|
|
2833
2767
|
]
|
|
2834
2768
|
}
|
|
2835
|
-
),
|
|
2769
|
+
), ne = ({
|
|
2836
2770
|
width: i = 20,
|
|
2837
2771
|
height: e = 20,
|
|
2838
|
-
color: t =
|
|
2772
|
+
color: t = L.GREY_DARK_5,
|
|
2839
2773
|
className: s,
|
|
2840
2774
|
onClick: n
|
|
2841
2775
|
}) => /* @__PURE__ */ r(
|
|
@@ -2856,10 +2790,10 @@ const te = ({
|
|
|
2856
2790
|
}
|
|
2857
2791
|
)
|
|
2858
2792
|
}
|
|
2859
|
-
),
|
|
2793
|
+
), re = ({
|
|
2860
2794
|
width: i = 20,
|
|
2861
2795
|
height: e = 20,
|
|
2862
|
-
color: t =
|
|
2796
|
+
color: t = L.GREY_DARK_5,
|
|
2863
2797
|
className: s,
|
|
2864
2798
|
onClick: n
|
|
2865
2799
|
}) => /* @__PURE__ */ r(
|
|
@@ -2880,10 +2814,10 @@ const te = ({
|
|
|
2880
2814
|
}
|
|
2881
2815
|
)
|
|
2882
2816
|
}
|
|
2883
|
-
),
|
|
2817
|
+
), oe = ({
|
|
2884
2818
|
width: i = 20,
|
|
2885
2819
|
height: e = 20,
|
|
2886
|
-
color: t =
|
|
2820
|
+
color: t = L.GREY_DARK_5,
|
|
2887
2821
|
className: s,
|
|
2888
2822
|
onClick: n
|
|
2889
2823
|
}) => /* @__PURE__ */ r(
|
|
@@ -2904,10 +2838,10 @@ const te = ({
|
|
|
2904
2838
|
}
|
|
2905
2839
|
)
|
|
2906
2840
|
}
|
|
2907
|
-
),
|
|
2841
|
+
), ae = ({
|
|
2908
2842
|
width: i = 20,
|
|
2909
2843
|
height: e = 20,
|
|
2910
|
-
color: t =
|
|
2844
|
+
color: t = L.GREY_DARK_5,
|
|
2911
2845
|
className: s,
|
|
2912
2846
|
onClick: n
|
|
2913
2847
|
}) => /* @__PURE__ */ u(
|
|
@@ -2965,10 +2899,10 @@ const te = ({
|
|
|
2965
2899
|
)
|
|
2966
2900
|
]
|
|
2967
2901
|
}
|
|
2968
|
-
),
|
|
2902
|
+
), le = ({
|
|
2969
2903
|
width: i = 20,
|
|
2970
2904
|
height: e = 20,
|
|
2971
|
-
color: t =
|
|
2905
|
+
color: t = L.GREY_DARK_5,
|
|
2972
2906
|
className: s,
|
|
2973
2907
|
onClick: n
|
|
2974
2908
|
}) => /* @__PURE__ */ u(
|
|
@@ -3012,10 +2946,10 @@ const te = ({
|
|
|
3012
2946
|
)
|
|
3013
2947
|
]
|
|
3014
2948
|
}
|
|
3015
|
-
),
|
|
2949
|
+
), he = ({
|
|
3016
2950
|
width: i = 20,
|
|
3017
2951
|
height: e = 20,
|
|
3018
|
-
color: t =
|
|
2952
|
+
color: t = L.GREY_DARK_5,
|
|
3019
2953
|
className: s,
|
|
3020
2954
|
onClick: n
|
|
3021
2955
|
}) => /* @__PURE__ */ u(
|
|
@@ -3052,10 +2986,10 @@ const te = ({
|
|
|
3052
2986
|
)
|
|
3053
2987
|
]
|
|
3054
2988
|
}
|
|
3055
|
-
),
|
|
2989
|
+
), ce = ({
|
|
3056
2990
|
width: i = 20,
|
|
3057
2991
|
height: e = 20,
|
|
3058
|
-
color: t =
|
|
2992
|
+
color: t = L.GREY_DARK_5,
|
|
3059
2993
|
className: s,
|
|
3060
2994
|
onClick: n
|
|
3061
2995
|
}) => /* @__PURE__ */ u(
|
|
@@ -3092,10 +3026,10 @@ const te = ({
|
|
|
3092
3026
|
)
|
|
3093
3027
|
]
|
|
3094
3028
|
}
|
|
3095
|
-
),
|
|
3029
|
+
), de = ({
|
|
3096
3030
|
width: i = 20,
|
|
3097
3031
|
height: e = 20,
|
|
3098
|
-
color: t =
|
|
3032
|
+
color: t = L.GREY_DARK_5,
|
|
3099
3033
|
className: s,
|
|
3100
3034
|
onClick: n
|
|
3101
3035
|
}) => /* @__PURE__ */ u(
|
|
@@ -3139,10 +3073,10 @@ const te = ({
|
|
|
3139
3073
|
)
|
|
3140
3074
|
]
|
|
3141
3075
|
}
|
|
3142
|
-
),
|
|
3076
|
+
), Ce = ({
|
|
3143
3077
|
width: i = 20,
|
|
3144
3078
|
height: e = 20,
|
|
3145
|
-
color: t =
|
|
3079
|
+
color: t = L.GREY_DARK_5,
|
|
3146
3080
|
className: s,
|
|
3147
3081
|
onClick: n
|
|
3148
3082
|
}) => /* @__PURE__ */ u(
|
|
@@ -3186,10 +3120,10 @@ const te = ({
|
|
|
3186
3120
|
)
|
|
3187
3121
|
]
|
|
3188
3122
|
}
|
|
3189
|
-
),
|
|
3123
|
+
), ge = ({
|
|
3190
3124
|
width: i = 20,
|
|
3191
3125
|
height: e = 20,
|
|
3192
|
-
color: t =
|
|
3126
|
+
color: t = L.GREY_DARK_5,
|
|
3193
3127
|
className: s,
|
|
3194
3128
|
onClick: n
|
|
3195
3129
|
}) => /* @__PURE__ */ u(
|
|
@@ -3233,10 +3167,10 @@ const te = ({
|
|
|
3233
3167
|
)
|
|
3234
3168
|
]
|
|
3235
3169
|
}
|
|
3236
|
-
),
|
|
3170
|
+
), ue = ({
|
|
3237
3171
|
width: i = 20,
|
|
3238
3172
|
height: e = 20,
|
|
3239
|
-
color: t =
|
|
3173
|
+
color: t = L.GREY_DARK_5,
|
|
3240
3174
|
className: s,
|
|
3241
3175
|
onClick: n
|
|
3242
3176
|
}) => /* @__PURE__ */ u(
|
|
@@ -3276,7 +3210,7 @@ const te = ({
|
|
|
3276
3210
|
), fe = ({
|
|
3277
3211
|
width: i = 20,
|
|
3278
3212
|
height: e = 20,
|
|
3279
|
-
color: t =
|
|
3213
|
+
color: t = L.GREY_DARK_5,
|
|
3280
3214
|
className: s,
|
|
3281
3215
|
onClick: n
|
|
3282
3216
|
}) => /* @__PURE__ */ u(
|
|
@@ -3306,10 +3240,10 @@ const te = ({
|
|
|
3306
3240
|
)
|
|
3307
3241
|
]
|
|
3308
3242
|
}
|
|
3309
|
-
),
|
|
3243
|
+
), pe = ({
|
|
3310
3244
|
width: i = 20,
|
|
3311
3245
|
height: e = 20,
|
|
3312
|
-
color: t =
|
|
3246
|
+
color: t = L.GREY_DARK_5,
|
|
3313
3247
|
className: s,
|
|
3314
3248
|
onClick: n
|
|
3315
3249
|
}) => /* @__PURE__ */ u(
|
|
@@ -3339,10 +3273,10 @@ const te = ({
|
|
|
3339
3273
|
)
|
|
3340
3274
|
]
|
|
3341
3275
|
}
|
|
3342
|
-
),
|
|
3276
|
+
), me = ({
|
|
3343
3277
|
width: i = 20,
|
|
3344
3278
|
height: e = 20,
|
|
3345
|
-
color: t =
|
|
3279
|
+
color: t = L.GREY_DARK_5,
|
|
3346
3280
|
className: s,
|
|
3347
3281
|
onClick: n
|
|
3348
3282
|
}) => /* @__PURE__ */ u(
|
|
@@ -3372,10 +3306,10 @@ const te = ({
|
|
|
3372
3306
|
)
|
|
3373
3307
|
]
|
|
3374
3308
|
}
|
|
3375
|
-
),
|
|
3309
|
+
), we = ({
|
|
3376
3310
|
width: i = 20,
|
|
3377
3311
|
height: e = 20,
|
|
3378
|
-
color: t =
|
|
3312
|
+
color: t = L.GREY_DARK_5,
|
|
3379
3313
|
className: s,
|
|
3380
3314
|
onClick: n
|
|
3381
3315
|
}) => /* @__PURE__ */ u(
|
|
@@ -3405,10 +3339,10 @@ const te = ({
|
|
|
3405
3339
|
)
|
|
3406
3340
|
]
|
|
3407
3341
|
}
|
|
3408
|
-
),
|
|
3342
|
+
), Le = ({
|
|
3409
3343
|
width: i = 20,
|
|
3410
3344
|
height: e = 20,
|
|
3411
|
-
color: t =
|
|
3345
|
+
color: t = L.GREY_DARK_5,
|
|
3412
3346
|
className: s,
|
|
3413
3347
|
onClick: n
|
|
3414
3348
|
}) => /* @__PURE__ */ u(
|
|
@@ -3445,10 +3379,10 @@ const te = ({
|
|
|
3445
3379
|
)
|
|
3446
3380
|
]
|
|
3447
3381
|
}
|
|
3448
|
-
),
|
|
3382
|
+
), ke = ({
|
|
3449
3383
|
width: i = 20,
|
|
3450
3384
|
height: e = 20,
|
|
3451
|
-
color: t =
|
|
3385
|
+
color: t = L.GREY_DARK_5,
|
|
3452
3386
|
className: s,
|
|
3453
3387
|
onClick: n
|
|
3454
3388
|
}) => /* @__PURE__ */ u(
|
|
@@ -3478,10 +3412,10 @@ const te = ({
|
|
|
3478
3412
|
)
|
|
3479
3413
|
]
|
|
3480
3414
|
}
|
|
3481
|
-
),
|
|
3415
|
+
), ve = ({
|
|
3482
3416
|
width: i = 20,
|
|
3483
3417
|
height: e = 20,
|
|
3484
|
-
color: t =
|
|
3418
|
+
color: t = L.GREY_DARK_5,
|
|
3485
3419
|
className: s,
|
|
3486
3420
|
onClick: n
|
|
3487
3421
|
}) => /* @__PURE__ */ u(
|
|
@@ -3511,7 +3445,7 @@ const te = ({
|
|
|
3511
3445
|
)
|
|
3512
3446
|
]
|
|
3513
3447
|
}
|
|
3514
|
-
),
|
|
3448
|
+
), Ne = ({
|
|
3515
3449
|
width: i = 20,
|
|
3516
3450
|
height: e = 20,
|
|
3517
3451
|
color: t = "#070739",
|
|
@@ -3541,7 +3475,7 @@ const te = ({
|
|
|
3541
3475
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3542
3476
|
]
|
|
3543
3477
|
}
|
|
3544
|
-
),
|
|
3478
|
+
), Re = ({
|
|
3545
3479
|
width: i = 20,
|
|
3546
3480
|
height: e = 20,
|
|
3547
3481
|
color: t = "#070739",
|
|
@@ -3579,7 +3513,7 @@ const te = ({
|
|
|
3579
3513
|
)
|
|
3580
3514
|
]
|
|
3581
3515
|
}
|
|
3582
|
-
),
|
|
3516
|
+
), xe = ({
|
|
3583
3517
|
width: i = 9,
|
|
3584
3518
|
height: e = 5,
|
|
3585
3519
|
color: t = "#001E52",
|
|
@@ -3605,7 +3539,7 @@ const te = ({
|
|
|
3605
3539
|
}
|
|
3606
3540
|
)
|
|
3607
3541
|
}
|
|
3608
|
-
),
|
|
3542
|
+
), Me = ({
|
|
3609
3543
|
width: i = 20,
|
|
3610
3544
|
height: e = 20,
|
|
3611
3545
|
color: t = "#F2F2F7",
|
|
@@ -3634,7 +3568,7 @@ const te = ({
|
|
|
3634
3568
|
)
|
|
3635
3569
|
]
|
|
3636
3570
|
}
|
|
3637
|
-
),
|
|
3571
|
+
), _e = ({
|
|
3638
3572
|
width: i = 20,
|
|
3639
3573
|
height: e = 20,
|
|
3640
3574
|
color: t = "#004ED7",
|
|
@@ -3663,7 +3597,7 @@ const te = ({
|
|
|
3663
3597
|
)
|
|
3664
3598
|
]
|
|
3665
3599
|
}
|
|
3666
|
-
),
|
|
3600
|
+
), be = ({
|
|
3667
3601
|
width: i = 10,
|
|
3668
3602
|
height: e = 10,
|
|
3669
3603
|
color: t = "#001E52",
|
|
@@ -3692,7 +3626,7 @@ const te = ({
|
|
|
3692
3626
|
)
|
|
3693
3627
|
]
|
|
3694
3628
|
}
|
|
3695
|
-
),
|
|
3629
|
+
), ye = ({
|
|
3696
3630
|
width: i = 10,
|
|
3697
3631
|
height: e = 10,
|
|
3698
3632
|
color: t = "#001E52",
|
|
@@ -3729,9 +3663,9 @@ const te = ({
|
|
|
3729
3663
|
)
|
|
3730
3664
|
]
|
|
3731
3665
|
}
|
|
3732
|
-
),
|
|
3666
|
+
), He = ({
|
|
3733
3667
|
className: i,
|
|
3734
|
-
color: e =
|
|
3668
|
+
color: e = L.GREY_DARK_5,
|
|
3735
3669
|
height: t = 20,
|
|
3736
3670
|
width: s = 20,
|
|
3737
3671
|
onClick: n
|
|
@@ -3762,9 +3696,9 @@ const te = ({
|
|
|
3762
3696
|
)
|
|
3763
3697
|
]
|
|
3764
3698
|
}
|
|
3765
|
-
),
|
|
3699
|
+
), Ee = ({
|
|
3766
3700
|
className: i,
|
|
3767
|
-
color: e =
|
|
3701
|
+
color: e = L.GREY_DARK_5,
|
|
3768
3702
|
height: t = 20,
|
|
3769
3703
|
width: s = 20,
|
|
3770
3704
|
onClick: n
|
|
@@ -3789,9 +3723,9 @@ const te = ({
|
|
|
3789
3723
|
}
|
|
3790
3724
|
)
|
|
3791
3725
|
}
|
|
3792
|
-
),
|
|
3726
|
+
), Ve = ({
|
|
3793
3727
|
className: i,
|
|
3794
|
-
color: e =
|
|
3728
|
+
color: e = L.GREY_DARK_5,
|
|
3795
3729
|
height: t = 20,
|
|
3796
3730
|
width: s = 20,
|
|
3797
3731
|
onClick: n
|
|
@@ -3816,9 +3750,9 @@ const te = ({
|
|
|
3816
3750
|
}
|
|
3817
3751
|
)
|
|
3818
3752
|
}
|
|
3819
|
-
),
|
|
3753
|
+
), Ie = ({
|
|
3820
3754
|
className: i,
|
|
3821
|
-
color: e =
|
|
3755
|
+
color: e = L.GREY_DARK_5,
|
|
3822
3756
|
height: t = 5,
|
|
3823
3757
|
width: s = 10,
|
|
3824
3758
|
onClick: n
|
|
@@ -3840,9 +3774,9 @@ const te = ({
|
|
|
3840
3774
|
}
|
|
3841
3775
|
)
|
|
3842
3776
|
}
|
|
3843
|
-
),
|
|
3777
|
+
), Ae = ({
|
|
3844
3778
|
className: i,
|
|
3845
|
-
color: e =
|
|
3779
|
+
color: e = L.GREY_DARK_5,
|
|
3846
3780
|
height: t = 5,
|
|
3847
3781
|
width: s = 10,
|
|
3848
3782
|
onClick: n
|
|
@@ -3867,7 +3801,7 @@ const te = ({
|
|
|
3867
3801
|
}
|
|
3868
3802
|
), Ze = ({
|
|
3869
3803
|
className: i,
|
|
3870
|
-
color: e =
|
|
3804
|
+
color: e = L.GREY_DARK_5,
|
|
3871
3805
|
height: t = 20,
|
|
3872
3806
|
width: s = 20,
|
|
3873
3807
|
onClick: n
|
|
@@ -3898,9 +3832,9 @@ const te = ({
|
|
|
3898
3832
|
)
|
|
3899
3833
|
]
|
|
3900
3834
|
}
|
|
3901
|
-
),
|
|
3835
|
+
), Oe = ({
|
|
3902
3836
|
className: i,
|
|
3903
|
-
color: e =
|
|
3837
|
+
color: e = L.GREY_DARK_5,
|
|
3904
3838
|
height: t = 24,
|
|
3905
3839
|
width: s = 24,
|
|
3906
3840
|
onClick: n
|
|
@@ -3937,9 +3871,9 @@ const te = ({
|
|
|
3937
3871
|
)
|
|
3938
3872
|
]
|
|
3939
3873
|
}
|
|
3940
|
-
),
|
|
3874
|
+
), Se = ({
|
|
3941
3875
|
className: i,
|
|
3942
|
-
color: e =
|
|
3876
|
+
color: e = L.GREY_DARK_5,
|
|
3943
3877
|
height: t = 24,
|
|
3944
3878
|
width: s = 24,
|
|
3945
3879
|
onClick: n
|
|
@@ -3964,9 +3898,9 @@ const te = ({
|
|
|
3964
3898
|
}
|
|
3965
3899
|
)
|
|
3966
3900
|
}
|
|
3967
|
-
),
|
|
3901
|
+
), De = ({
|
|
3968
3902
|
className: i,
|
|
3969
|
-
color: e =
|
|
3903
|
+
color: e = L.GREY_DARK_5,
|
|
3970
3904
|
height: t = 24,
|
|
3971
3905
|
width: s = 24,
|
|
3972
3906
|
onClick: n
|
|
@@ -4023,9 +3957,9 @@ const te = ({
|
|
|
4023
3957
|
)
|
|
4024
3958
|
]
|
|
4025
3959
|
}
|
|
4026
|
-
),
|
|
3960
|
+
), Ge = ({
|
|
4027
3961
|
className: i,
|
|
4028
|
-
color: e =
|
|
3962
|
+
color: e = L.GREY_DARK_5,
|
|
4029
3963
|
height: t = 24,
|
|
4030
3964
|
width: s = 24,
|
|
4031
3965
|
onClick: n
|
|
@@ -4060,9 +3994,9 @@ const te = ({
|
|
|
4060
3994
|
)
|
|
4061
3995
|
]
|
|
4062
3996
|
}
|
|
4063
|
-
),
|
|
3997
|
+
), Te = ({
|
|
4064
3998
|
className: i,
|
|
4065
|
-
color: e =
|
|
3999
|
+
color: e = L.GREY_DARK_3,
|
|
4066
4000
|
height: t = 14,
|
|
4067
4001
|
width: s = 14,
|
|
4068
4002
|
onClick: n
|
|
@@ -4097,9 +4031,9 @@ const te = ({
|
|
|
4097
4031
|
)
|
|
4098
4032
|
]
|
|
4099
4033
|
}
|
|
4100
|
-
),
|
|
4034
|
+
), Ke = ({
|
|
4101
4035
|
className: i,
|
|
4102
|
-
color: e =
|
|
4036
|
+
color: e = L.GREY_DARK_5,
|
|
4103
4037
|
height: t = 18,
|
|
4104
4038
|
onClick: s,
|
|
4105
4039
|
width: n = 18
|
|
@@ -4124,9 +4058,9 @@ const te = ({
|
|
|
4124
4058
|
}
|
|
4125
4059
|
)
|
|
4126
4060
|
}
|
|
4127
|
-
),
|
|
4061
|
+
), Be = ({
|
|
4128
4062
|
className: i,
|
|
4129
|
-
color: e =
|
|
4063
|
+
color: e = L.GREY_DARK_5,
|
|
4130
4064
|
height: t = 24,
|
|
4131
4065
|
width: s = 24,
|
|
4132
4066
|
onClick: n
|
|
@@ -4176,9 +4110,9 @@ const te = ({
|
|
|
4176
4110
|
)
|
|
4177
4111
|
]
|
|
4178
4112
|
}
|
|
4179
|
-
),
|
|
4113
|
+
), Pe = ({
|
|
4180
4114
|
className: i,
|
|
4181
|
-
color: e =
|
|
4115
|
+
color: e = L.GREY_DARK_5,
|
|
4182
4116
|
height: t = 24,
|
|
4183
4117
|
width: s = 24,
|
|
4184
4118
|
onClick: n
|
|
@@ -4213,9 +4147,9 @@ const te = ({
|
|
|
4213
4147
|
)
|
|
4214
4148
|
]
|
|
4215
4149
|
}
|
|
4216
|
-
),
|
|
4150
|
+
), Ye = ({
|
|
4217
4151
|
className: i,
|
|
4218
|
-
color: e =
|
|
4152
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
4219
4153
|
height: t = 37,
|
|
4220
4154
|
width: s = 36,
|
|
4221
4155
|
onClick: n
|
|
@@ -4252,9 +4186,9 @@ const te = ({
|
|
|
4252
4186
|
)
|
|
4253
4187
|
]
|
|
4254
4188
|
}
|
|
4255
|
-
),
|
|
4189
|
+
), je = ({
|
|
4256
4190
|
className: i,
|
|
4257
|
-
color: e =
|
|
4191
|
+
color: e = L.GREY_DARK_5,
|
|
4258
4192
|
height: t = 24,
|
|
4259
4193
|
width: s = 24,
|
|
4260
4194
|
onClick: n
|
|
@@ -4278,9 +4212,9 @@ const te = ({
|
|
|
4278
4212
|
}
|
|
4279
4213
|
)
|
|
4280
4214
|
}
|
|
4281
|
-
),
|
|
4215
|
+
), $e = ({
|
|
4282
4216
|
className: i,
|
|
4283
|
-
color: e =
|
|
4217
|
+
color: e = L.GREY_DARK_5,
|
|
4284
4218
|
height: t = 24,
|
|
4285
4219
|
width: s = 24,
|
|
4286
4220
|
onClick: n
|
|
@@ -4317,9 +4251,9 @@ const te = ({
|
|
|
4317
4251
|
)
|
|
4318
4252
|
]
|
|
4319
4253
|
}
|
|
4320
|
-
),
|
|
4254
|
+
), Fe = ({
|
|
4321
4255
|
className: i,
|
|
4322
|
-
color: e =
|
|
4256
|
+
color: e = L.GREY_DARK_5,
|
|
4323
4257
|
height: t = 20,
|
|
4324
4258
|
width: s = 20,
|
|
4325
4259
|
onClick: n
|
|
@@ -4350,9 +4284,9 @@ const te = ({
|
|
|
4350
4284
|
)
|
|
4351
4285
|
]
|
|
4352
4286
|
}
|
|
4353
|
-
),
|
|
4287
|
+
), We = ({
|
|
4354
4288
|
className: i,
|
|
4355
|
-
color: e =
|
|
4289
|
+
color: e = L.GREY_DARK_5,
|
|
4356
4290
|
height: t = 24,
|
|
4357
4291
|
width: s = 24,
|
|
4358
4292
|
onClick: n
|
|
@@ -4419,9 +4353,9 @@ const te = ({
|
|
|
4419
4353
|
)
|
|
4420
4354
|
]
|
|
4421
4355
|
}
|
|
4422
|
-
),
|
|
4356
|
+
), Ue = ({
|
|
4423
4357
|
className: i,
|
|
4424
|
-
color: e =
|
|
4358
|
+
color: e = L.GREY_DARK_5,
|
|
4425
4359
|
height: t = 24,
|
|
4426
4360
|
width: s = 24,
|
|
4427
4361
|
onClick: n
|
|
@@ -4476,9 +4410,9 @@ const te = ({
|
|
|
4476
4410
|
)
|
|
4477
4411
|
]
|
|
4478
4412
|
}
|
|
4479
|
-
),
|
|
4413
|
+
), ze = ({
|
|
4480
4414
|
className: i,
|
|
4481
|
-
color: e =
|
|
4415
|
+
color: e = L.GREY_DARK_5,
|
|
4482
4416
|
height: t = 24,
|
|
4483
4417
|
width: s = 24,
|
|
4484
4418
|
onClick: n
|
|
@@ -4525,9 +4459,9 @@ const te = ({
|
|
|
4525
4459
|
)
|
|
4526
4460
|
]
|
|
4527
4461
|
}
|
|
4528
|
-
),
|
|
4462
|
+
), Je = ({
|
|
4529
4463
|
className: i,
|
|
4530
|
-
color: e =
|
|
4464
|
+
color: e = L.GREY_DARK_5,
|
|
4531
4465
|
height: t = 24,
|
|
4532
4466
|
width: s = 24,
|
|
4533
4467
|
onClick: n
|
|
@@ -4552,9 +4486,9 @@ const te = ({
|
|
|
4552
4486
|
}
|
|
4553
4487
|
)
|
|
4554
4488
|
}
|
|
4555
|
-
),
|
|
4489
|
+
), Qe = ({
|
|
4556
4490
|
className: i,
|
|
4557
|
-
color: e =
|
|
4491
|
+
color: e = L.GREY_DARK_5,
|
|
4558
4492
|
height: t = 20,
|
|
4559
4493
|
width: s = 20,
|
|
4560
4494
|
onClick: n
|
|
@@ -4569,7 +4503,7 @@ const te = ({
|
|
|
4569
4503
|
fill: "none",
|
|
4570
4504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4571
4505
|
children: [
|
|
4572
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4506
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
4573
4507
|
/* @__PURE__ */ r(
|
|
4574
4508
|
"path",
|
|
4575
4509
|
{
|
|
@@ -4581,7 +4515,7 @@ const te = ({
|
|
|
4581
4515
|
)
|
|
4582
4516
|
]
|
|
4583
4517
|
}
|
|
4584
|
-
),
|
|
4518
|
+
), qe = ({
|
|
4585
4519
|
className: i,
|
|
4586
4520
|
color: e = "#001E52",
|
|
4587
4521
|
height: t = 24,
|
|
@@ -4607,7 +4541,7 @@ const te = ({
|
|
|
4607
4541
|
}
|
|
4608
4542
|
)
|
|
4609
4543
|
}
|
|
4610
|
-
),
|
|
4544
|
+
), Xe = ({
|
|
4611
4545
|
className: i,
|
|
4612
4546
|
color: e = "#001E52",
|
|
4613
4547
|
height: t = 24,
|
|
@@ -4645,63 +4579,31 @@ const te = ({
|
|
|
4645
4579
|
)
|
|
4646
4580
|
] }) })
|
|
4647
4581
|
}
|
|
4648
|
-
),
|
|
4582
|
+
), e7 = ({
|
|
4649
4583
|
width: i = 20,
|
|
4650
4584
|
height: e = 20,
|
|
4651
|
-
color: t =
|
|
4585
|
+
color: t = L.GREY_DARK_5,
|
|
4652
4586
|
className: s,
|
|
4653
4587
|
onClick: n
|
|
4654
4588
|
}) => /* @__PURE__ */ r(
|
|
4655
4589
|
"svg",
|
|
4656
4590
|
{
|
|
4657
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4658
4591
|
width: i,
|
|
4659
4592
|
height: e,
|
|
4660
|
-
className: s,
|
|
4661
4593
|
onClick: n,
|
|
4662
|
-
|
|
4594
|
+
className: s,
|
|
4595
|
+
viewBox: "0 0 24 24",
|
|
4663
4596
|
fill: "none",
|
|
4597
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4664
4598
|
children: /* @__PURE__ */ r(
|
|
4665
4599
|
"path",
|
|
4666
4600
|
{
|
|
4667
|
-
|
|
4668
|
-
clipRule: "evenodd",
|
|
4669
|
-
d: `M2.88667 2.88667C1.66667 4.10834 1.66667 6.07167 1.66667 10C1.66667 13.9283 1.66667 15.8925
|
|
4670
|
-
2.88667 17.1125C4.10833 18.3333 6.07167 18.3333 10 18.3333C13.9283 18.3333 15.8925 18.3333 17.1125
|
|
4671
|
-
17.1125C18.3333 15.8933 18.3333 13.9283 18.3333 10C18.3333 6.07167 18.3333 4.10751 17.1125 2.88667C15.8933
|
|
4672
|
-
1.66667 13.9283 1.66667 10 1.66667C6.07167 1.66667 4.1075 1.66667 2.88667 2.88667ZM8.78667 6.26417C8.84325
|
|
4673
|
-
6.20469 8.88755 6.13465 8.91706 6.05805C8.94657 5.98145 8.96071 5.89979 8.95866 5.81772C8.95661 5.73566
|
|
4674
|
-
8.93841 5.6548 8.90511 5.57977C8.87181 5.50474 8.82406 5.437 8.76458 5.38042C8.70511 5.32384 8.63507 5.27954
|
|
4675
|
-
8.55847 5.25003C8.48186 5.22052 8.4002 5.20638 8.31814 5.20843C8.23607 5.21048 8.15522 5.22868 8.08018
|
|
4676
|
-
5.26198C8.00515 5.29528 7.93741 5.34303 7.88083 5.4025L5.9525 7.42751L5.4525 6.9025C5.39654 6.84066 5.32876
|
|
4677
|
-
6.79064 5.25316 6.75539C5.17756 6.72015 5.09567 6.70039 5.01232 6.69729C4.92897 6.69418 4.84583 6.7078
|
|
4678
|
-
4.76782 6.73732C4.68982 6.76685 4.6185 6.81169 4.5581 6.86921C4.49769 6.92673 4.4494 6.99575 4.41609
|
|
4679
|
-
7.07222C4.38277 7.14869 4.3651 7.23105 4.36411 7.31446C4.36312 7.39786 4.37884 7.48062 4.41034 7.55786C4.44183
|
|
4680
|
-
7.63509 4.48847 7.70524 4.5475 7.76417L5.5 8.76417C5.55837 8.82544 5.62858 8.87421 5.70636 8.90754C5.78414
|
|
4681
|
-
8.94086 5.86788 8.95805 5.9525 8.95805C6.03712 8.95805 6.12086 8.94086 6.19864 8.90754C6.27643 8.87421
|
|
4682
|
-
6.34663 8.82544 6.405 8.76417L8.78667 6.26417ZM10.8333 6.875C10.6676 6.875 10.5086 6.94085 10.3914
|
|
4683
|
-
7.05806C10.2742 7.17527 10.2083 7.33424 10.2083 7.5C10.2083 7.66577 10.2742 7.82474 10.3914 7.94195C10.5086
|
|
4684
|
-
8.05916 10.6676 8.125 10.8333 8.125H15C15.1658 8.125 15.3247 8.05916 15.4419 7.94195C15.5592 7.82474 15.625
|
|
4685
|
-
7.66577 15.625 7.5C15.625 7.33424 15.5592 7.17527 15.4419 7.05806C15.3247 6.94085 15.1658 6.875 15
|
|
4686
|
-
6.875H10.8333ZM8.78583 12.0975C8.84486 12.0386 8.8915 11.9684 8.923 11.8912C8.95449 11.814 8.97021 11.7312
|
|
4687
|
-
8.96922 11.6478C8.96824 11.5644 8.95056 11.482 8.91725 11.4056C8.88393 11.3291 8.83565 11.2601 8.77524
|
|
4688
|
-
11.2025C8.71483 11.145 8.64352 11.1002 8.56551 11.0707C8.4875 11.0411 8.40437 11.0275 8.32102 11.0306C8.23766
|
|
4689
|
-
11.0337 8.15578 11.0535 8.08018 11.0887C8.00458 11.124 7.9368 11.174 7.88083 11.2358L5.9525 13.2608L5.4525
|
|
4690
|
-
12.7358C5.39654 12.674 5.32876 12.624 5.25316 12.5887C5.17756 12.5535 5.09567 12.5337 5.01232 12.5306C4.92897
|
|
4691
|
-
12.5275 4.84583 12.5411 4.76782 12.5707C4.68982 12.6002 4.6185 12.645 4.5581 12.7025C4.49769 12.7601 4.4494
|
|
4692
|
-
12.8291 4.41609 12.9056C4.38277 12.982 4.3651 13.0644 4.36411 13.1478C4.36312 13.2312 4.37884 13.314 4.41034
|
|
4693
|
-
13.3912C4.44183 13.4684 4.48847 13.5386 4.5475 13.5975L5.5 14.5975C5.55837 14.6588 5.62858 14.7075 5.70636
|
|
4694
|
-
14.7409C5.78414 14.7742 5.86788 14.7914 5.9525 14.7914C6.03712 14.7914 6.12086 14.7742 6.19864 14.7409C6.27643
|
|
4695
|
-
14.7075 6.34663 14.6588 6.405 14.5975L8.78583 12.0975ZM10.8333 12.7083C10.6676 12.7083 10.5086 12.7742 10.3914
|
|
4696
|
-
12.8914C10.2742 13.0086 10.2083 13.1676 10.2083 13.3333C10.2083 13.4991 10.2742 13.6581 10.3914 13.7753C10.5086
|
|
4697
|
-
13.8925 10.6676 13.9583 10.8333 13.9583H15C15.1658 13.9583 15.3247 13.8925 15.4419 13.7753C15.5592 13.6581
|
|
4698
|
-
15.625 13.4991 15.625 13.3333C15.625 13.1676 15.5592 13.0086 15.4419 12.8914C15.3247 12.7742 15.1658 12.7083
|
|
4699
|
-
15 12.7083H10.8333Z`,
|
|
4601
|
+
d: "M6.06939 16.5692C6.3622 16.2765 6.83706 16.2767 7.12994 16.5692C7.4228 16.8621 7.42273 17.3369 7.12994 17.6298L5.12994 19.6298C4.98929 19.7704 4.79858 19.8495 4.59967 19.8495C4.45045 19.8495 4.30597 19.8052 4.18365 19.7235L4.06939 19.6298L3.26959 18.83L3.21783 18.7733C2.97763 18.4787 2.99503 18.044 3.26959 17.7694C3.54417 17.495 3.97896 17.4775 4.2735 17.7177L4.33014 17.7694L4.59967 18.0389L6.06939 16.5692ZM20.0001 17.7499L20.0762 17.7538C20.4546 17.7921 20.75 18.1115 20.7501 18.4999C20.7501 18.8883 20.4546 19.2077 20.0762 19.246L20.0001 19.2499H9.00006C8.58584 19.2499 8.25006 18.9141 8.25006 18.4999C8.25007 18.0857 8.58585 17.7499 9.00006 17.7499H20.0001ZM5.55475 13.0145C5.27614 13.3209 4.80164 13.3438 4.49518 13.0653C4.18868 12.7867 4.16675 12.3122 4.44537 12.0057L5.55475 13.0145ZM20.0001 11.7499L20.0762 11.7538C20.4546 11.7921 20.75 12.1115 20.7501 12.4999C20.7501 12.8883 20.4546 13.2077 20.0762 13.246L20.0001 13.2499H9.00006C8.58584 13.2499 8.25006 12.9141 8.25006 12.4999C8.25007 12.0857 8.58585 11.7499 9.00006 11.7499H20.0001ZM4.50982 11.9403C4.79264 11.6865 5.22745 11.6831 5.51471 11.9442C5.80181 12.2055 5.8394 12.6386 5.61334 12.9442L5.56451 13.0038L5.55475 13.0145L4.44537 12.0057L4.45514 11.994L4.50982 11.9403ZM5.55475 7.01453C5.27614 7.32089 4.80164 7.3438 4.49518 7.06532C4.18868 6.78668 4.16674 6.31224 4.44537 6.00575L5.55475 7.01453ZM20.0001 5.74989L20.0762 5.75379C20.4546 5.79206 20.75 6.11146 20.7501 6.49989C20.7501 6.88832 20.4546 7.20771 20.0762 7.24598L20.0001 7.24989H9.00006C8.58584 7.24989 8.25006 6.9141 8.25006 6.49989C8.25007 6.08568 8.58585 5.74989 9.00006 5.74989H20.0001ZM4.45514 5.99403C4.73381 5.68784 5.20832 5.66569 5.51471 5.94422C5.8209 6.22289 5.84305 6.69741 5.56451 7.00379L5.55475 7.01453L4.44537 6.00575L4.45514 5.99403Z",
|
|
4700
4602
|
fill: t
|
|
4701
4603
|
}
|
|
4702
4604
|
)
|
|
4703
4605
|
}
|
|
4704
|
-
),
|
|
4606
|
+
), t7 = ({
|
|
4705
4607
|
width: i = 24,
|
|
4706
4608
|
height: e = 24,
|
|
4707
4609
|
color: t = "#131314",
|
|
@@ -4734,10 +4636,10 @@ const te = ({
|
|
|
4734
4636
|
)
|
|
4735
4637
|
]
|
|
4736
4638
|
}
|
|
4737
|
-
),
|
|
4738
|
-
width: i =
|
|
4739
|
-
height: e =
|
|
4740
|
-
color: t =
|
|
4639
|
+
), i7 = ({
|
|
4640
|
+
width: i = 20,
|
|
4641
|
+
height: e = 20,
|
|
4642
|
+
color: t = L.GREY_DARK_5,
|
|
4741
4643
|
className: s,
|
|
4742
4644
|
onClick: n
|
|
4743
4645
|
}) => /* @__PURE__ */ u(
|
|
@@ -4745,38 +4647,32 @@ const te = ({
|
|
|
4745
4647
|
{
|
|
4746
4648
|
width: i,
|
|
4747
4649
|
height: e,
|
|
4650
|
+
className: s,
|
|
4651
|
+
onClick: n,
|
|
4748
4652
|
viewBox: "0 0 24 24",
|
|
4749
4653
|
fill: "none",
|
|
4750
4654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4751
|
-
className: s,
|
|
4752
|
-
onClick: n,
|
|
4753
4655
|
children: [
|
|
4754
4656
|
/* @__PURE__ */ r(
|
|
4755
4657
|
"path",
|
|
4756
4658
|
{
|
|
4757
|
-
d: "
|
|
4758
|
-
|
|
4759
|
-
strokeWidth: "1.5",
|
|
4760
|
-
strokeLinecap: "round",
|
|
4761
|
-
strokeLinejoin: "round"
|
|
4659
|
+
d: "M18.25 20.5V19.5C18.25 16.0482 15.4518 13.25 12 13.25C8.54822 13.25 5.75 16.0482 5.75 19.5V20.5C5.75 20.9142 5.41421 21.25 5 21.25C4.58579 21.25 4.25 20.9142 4.25 20.5V19.5C4.25 15.2198 7.71979 11.75 12 11.75C16.2802 11.75 19.75 15.2198 19.75 19.5V20.5C19.75 20.9142 19.4142 21.25 19 21.25C18.5858 21.25 18.25 20.9142 18.25 20.5Z",
|
|
4660
|
+
fill: t
|
|
4762
4661
|
}
|
|
4763
4662
|
),
|
|
4764
4663
|
/* @__PURE__ */ r(
|
|
4765
4664
|
"path",
|
|
4766
4665
|
{
|
|
4767
|
-
d: "
|
|
4768
|
-
|
|
4769
|
-
strokeWidth: "1.5",
|
|
4770
|
-
strokeLinecap: "round",
|
|
4771
|
-
strokeLinejoin: "round"
|
|
4666
|
+
d: "M15.25 8.5C15.25 6.70507 13.7949 5.25 12 5.25C10.2051 5.25 8.75 6.70507 8.75 8.5C8.75 10.2949 10.2051 11.75 12 11.75C13.7949 11.75 15.25 10.2949 15.25 8.5ZM16.75 8.5C16.75 11.1234 14.6234 13.25 12 13.25C9.37665 13.25 7.25 11.1234 7.25 8.5C7.25 5.87665 9.37665 3.75 12 3.75C14.6234 3.75 16.75 5.87665 16.75 8.5Z",
|
|
4667
|
+
fill: t
|
|
4772
4668
|
}
|
|
4773
4669
|
)
|
|
4774
4670
|
]
|
|
4775
4671
|
}
|
|
4776
|
-
),
|
|
4672
|
+
), s7 = ({
|
|
4777
4673
|
width: i = 24,
|
|
4778
4674
|
height: e = 24,
|
|
4779
|
-
color: t =
|
|
4675
|
+
color: t = L.GREY_DARK_2,
|
|
4780
4676
|
className: s,
|
|
4781
4677
|
onClick: n
|
|
4782
4678
|
}) => /* @__PURE__ */ u(
|
|
@@ -4813,10 +4709,10 @@ const te = ({
|
|
|
4813
4709
|
)
|
|
4814
4710
|
]
|
|
4815
4711
|
}
|
|
4816
|
-
),
|
|
4712
|
+
), n7 = ({
|
|
4817
4713
|
width: i = 24,
|
|
4818
4714
|
height: e = 24,
|
|
4819
|
-
color: t =
|
|
4715
|
+
color: t = L.GREY_DARK_2,
|
|
4820
4716
|
className: s,
|
|
4821
4717
|
onClick: n
|
|
4822
4718
|
}) => /* @__PURE__ */ r(
|
|
@@ -4840,10 +4736,10 @@ const te = ({
|
|
|
4840
4736
|
}
|
|
4841
4737
|
)
|
|
4842
4738
|
}
|
|
4843
|
-
),
|
|
4739
|
+
), r7 = ({
|
|
4844
4740
|
width: i = 24,
|
|
4845
4741
|
height: e = 24,
|
|
4846
|
-
color: t =
|
|
4742
|
+
color: t = L.GREY_DARK_2,
|
|
4847
4743
|
className: s,
|
|
4848
4744
|
onClick: n
|
|
4849
4745
|
}) => /* @__PURE__ */ r(
|
|
@@ -4867,225 +4763,197 @@ const te = ({
|
|
|
4867
4763
|
}
|
|
4868
4764
|
)
|
|
4869
4765
|
}
|
|
4870
|
-
),
|
|
4871
|
-
width: i = 20,
|
|
4872
|
-
height: e = 20,
|
|
4873
|
-
color: t = "#001E52",
|
|
4874
|
-
className: s,
|
|
4875
|
-
onClick: n
|
|
4876
|
-
}) => /* @__PURE__ */ r(
|
|
4877
|
-
"svg",
|
|
4878
|
-
{
|
|
4879
|
-
width: i,
|
|
4880
|
-
height: e,
|
|
4881
|
-
viewBox: "0 0 20 20",
|
|
4882
|
-
fill: "none",
|
|
4883
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4884
|
-
className: s,
|
|
4885
|
-
onClick: n,
|
|
4886
|
-
children: /* @__PURE__ */ r(
|
|
4887
|
-
"path",
|
|
4888
|
-
{
|
|
4889
|
-
fillRule: "evenodd",
|
|
4890
|
-
clipRule: "evenodd",
|
|
4891
|
-
d: "M18.3337 10.0001C18.3337 14.6026 14.6028 18.3334 10.0003 18.3334C5.39783 18.3334 1.66699 14.6026 1.66699 10.0001C1.66699 5.39758 5.39783 1.66675 10.0003 1.66675C14.6028 1.66675 18.3337 5.39758 18.3337 10.0001ZM12.5003 7.50008C12.5003 8.16312 12.2369 8.79901 11.7681 9.26785C11.2993 9.73669 10.6634 10.0001 10.0003 10.0001C9.33728 10.0001 8.7014 9.73669 8.23256 9.26785C7.76372 8.79901 7.50033 8.16312 7.50033 7.50008C7.50033 6.83704 7.76372 6.20116 8.23256 5.73231C8.7014 5.26347 9.33728 5.00008 10.0003 5.00008C10.6634 5.00008 11.2993 5.26347 11.7681 5.73231C12.2369 6.20116 12.5003 6.83704 12.5003 7.50008ZM10.0003 17.0834C11.4306 17.0857 12.8277 16.6529 14.0062 15.8426C14.5095 15.4967 14.7245 14.8384 14.4312 14.3026C13.8253 13.1917 12.5753 12.5001 10.0003 12.5001C7.42533 12.5001 6.17533 13.1917 5.56866 14.3026C5.27616 14.8384 5.49116 15.4967 5.99449 15.8426C7.17299 16.6529 8.5701 17.0857 10.0003 17.0834Z",
|
|
4892
|
-
fill: t
|
|
4893
|
-
}
|
|
4894
|
-
)
|
|
4895
|
-
}
|
|
4896
|
-
), l7 = ({
|
|
4766
|
+
), o7 = ({
|
|
4897
4767
|
name: i,
|
|
4898
4768
|
width: e,
|
|
4899
4769
|
height: t,
|
|
4900
4770
|
color: s,
|
|
4901
4771
|
className: n,
|
|
4902
4772
|
disabled: o = !1,
|
|
4903
|
-
onClick:
|
|
4773
|
+
onClick: h
|
|
4904
4774
|
}) => {
|
|
4905
|
-
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ?
|
|
4775
|
+
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, c = o ? void 0 : h;
|
|
4906
4776
|
return A(() => {
|
|
4907
4777
|
if (n) {
|
|
4908
|
-
|
|
4778
|
+
c && !o && C(`${n} clickable`);
|
|
4909
4779
|
return;
|
|
4910
4780
|
}
|
|
4911
|
-
|
|
4912
|
-
}, [
|
|
4781
|
+
c && !o && C("clickable");
|
|
4782
|
+
}, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
4913
4783
|
switch (i) {
|
|
4914
4784
|
case "nextIcon":
|
|
4915
|
-
return
|
|
4785
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4916
4786
|
case "prevIcon":
|
|
4917
|
-
return
|
|
4787
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4918
4788
|
case "arrowDown":
|
|
4919
|
-
return
|
|
4789
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4920
4790
|
case "info":
|
|
4921
|
-
return
|
|
4791
|
+
return te({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4922
4792
|
case "arrowRight":
|
|
4923
|
-
return
|
|
4793
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4924
4794
|
case "calendar":
|
|
4925
|
-
return
|
|
4795
|
+
return se({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4926
4796
|
case "check":
|
|
4927
|
-
return
|
|
4797
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4928
4798
|
case "cancel":
|
|
4929
|
-
return
|
|
4799
|
+
return re({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4930
4800
|
case "add":
|
|
4931
|
-
return
|
|
4801
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4932
4802
|
case "list":
|
|
4933
|
-
return
|
|
4803
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4934
4804
|
case "dragAndDrop":
|
|
4935
|
-
return
|
|
4805
|
+
return le({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4936
4806
|
case "filter":
|
|
4937
|
-
return
|
|
4807
|
+
return he({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4938
4808
|
case "attention":
|
|
4939
|
-
return
|
|
4809
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4940
4810
|
case "users":
|
|
4941
|
-
return
|
|
4811
|
+
return de({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4942
4812
|
case "mySkillsMatrix":
|
|
4943
|
-
return
|
|
4813
|
+
return Ce({
|
|
4944
4814
|
width: e,
|
|
4945
4815
|
height: t,
|
|
4946
4816
|
color: l,
|
|
4947
4817
|
className: a,
|
|
4948
|
-
onClick:
|
|
4818
|
+
onClick: c
|
|
4949
4819
|
});
|
|
4950
4820
|
case "skills":
|
|
4951
|
-
return
|
|
4821
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4952
4822
|
case "skillsMatrices":
|
|
4953
|
-
return
|
|
4823
|
+
return ue({
|
|
4954
4824
|
width: e,
|
|
4955
4825
|
height: t,
|
|
4956
4826
|
color: l,
|
|
4957
4827
|
className: a,
|
|
4958
|
-
onClick:
|
|
4828
|
+
onClick: c
|
|
4959
4829
|
});
|
|
4960
4830
|
case "history":
|
|
4961
|
-
return fe({ width: e, height: t, color: l, className: a, onClick:
|
|
4831
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4962
4832
|
case "logOut":
|
|
4963
|
-
return
|
|
4833
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4964
4834
|
case "settings":
|
|
4965
|
-
return
|
|
4835
|
+
return me({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4966
4836
|
case "trash":
|
|
4967
|
-
return
|
|
4837
|
+
return we({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4968
4838
|
case "settings2":
|
|
4969
|
-
return
|
|
4839
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4970
4840
|
case "checkCircle":
|
|
4971
|
-
return
|
|
4841
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4972
4842
|
case "cancelCircle":
|
|
4973
|
-
return
|
|
4843
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4974
4844
|
case "visibilityIcon":
|
|
4975
|
-
return
|
|
4845
|
+
return Ne({
|
|
4976
4846
|
width: e,
|
|
4977
4847
|
height: t,
|
|
4978
4848
|
color: l,
|
|
4979
4849
|
className: a,
|
|
4980
|
-
onClick:
|
|
4850
|
+
onClick: c
|
|
4981
4851
|
});
|
|
4982
4852
|
case "visibilityOffIcon":
|
|
4983
|
-
return
|
|
4853
|
+
return Re({
|
|
4984
4854
|
width: e,
|
|
4985
4855
|
height: t,
|
|
4986
4856
|
color: l,
|
|
4987
4857
|
className: a,
|
|
4988
|
-
onClick:
|
|
4858
|
+
onClick: c
|
|
4989
4859
|
});
|
|
4990
4860
|
case "selectArrowIcon":
|
|
4991
|
-
return
|
|
4861
|
+
return xe({
|
|
4992
4862
|
width: e,
|
|
4993
4863
|
height: t,
|
|
4994
4864
|
color: l,
|
|
4995
4865
|
className: a,
|
|
4996
|
-
onClick:
|
|
4866
|
+
onClick: c
|
|
4997
4867
|
});
|
|
4998
4868
|
case "expandArrowIcon":
|
|
4999
|
-
return
|
|
4869
|
+
return Me({
|
|
5000
4870
|
width: e,
|
|
5001
4871
|
height: t,
|
|
5002
4872
|
color: l,
|
|
5003
4873
|
className: a,
|
|
5004
|
-
onClick:
|
|
4874
|
+
onClick: c
|
|
5005
4875
|
});
|
|
5006
4876
|
case "expandActiveArrowIcon":
|
|
5007
|
-
return
|
|
4877
|
+
return _e({
|
|
5008
4878
|
width: e,
|
|
5009
4879
|
height: t,
|
|
5010
4880
|
color: l,
|
|
5011
4881
|
className: a,
|
|
5012
|
-
onClick:
|
|
4882
|
+
onClick: c
|
|
5013
4883
|
});
|
|
5014
4884
|
case "sortUp":
|
|
5015
|
-
return
|
|
4885
|
+
return be({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5016
4886
|
case "sortDown":
|
|
5017
|
-
return
|
|
4887
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5018
4888
|
case "search":
|
|
5019
|
-
return
|
|
4889
|
+
return He({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5020
4890
|
case "arrowUpFilled":
|
|
5021
|
-
return
|
|
4891
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5022
4892
|
case "arrowDownFilled":
|
|
5023
|
-
return
|
|
4893
|
+
return Ie({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5024
4894
|
case "link":
|
|
5025
|
-
return Ze({ width: e, height: t, color: l, className: a, onClick:
|
|
4895
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5026
4896
|
case "telegram":
|
|
5027
|
-
return
|
|
4897
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5028
4898
|
case "mail":
|
|
5029
|
-
return
|
|
4899
|
+
return Ge({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5030
4900
|
case "github":
|
|
5031
|
-
return
|
|
4901
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5032
4902
|
case "linkedIn":
|
|
5033
|
-
return
|
|
4903
|
+
return De({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5034
4904
|
case "emptyStateIcon":
|
|
5035
|
-
return
|
|
4905
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5036
4906
|
case "filtersIcon":
|
|
5037
|
-
return
|
|
4907
|
+
return Ke({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5038
4908
|
case "dotMenuIcon":
|
|
5039
|
-
return
|
|
4909
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5040
4910
|
case "plusCircle":
|
|
5041
|
-
return
|
|
4911
|
+
return Pe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5042
4912
|
case "warning":
|
|
5043
|
-
return
|
|
4913
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5044
4914
|
case "back":
|
|
5045
|
-
return
|
|
4915
|
+
return je({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5046
4916
|
case "bell":
|
|
5047
|
-
return
|
|
4917
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5048
4918
|
case "copy":
|
|
5049
|
-
return
|
|
4919
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5050
4920
|
case "contract":
|
|
5051
|
-
return
|
|
4921
|
+
return We({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5052
4922
|
case "resourceManager":
|
|
5053
|
-
return
|
|
4923
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5054
4924
|
case "image":
|
|
5055
|
-
return
|
|
4925
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5056
4926
|
case "edit":
|
|
5057
|
-
return
|
|
4927
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5058
4928
|
case "filledArrowRight":
|
|
5059
|
-
return
|
|
4929
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5060
4930
|
case "burgerMenu":
|
|
5061
|
-
return
|
|
4931
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5062
4932
|
case "refresh":
|
|
5063
|
-
return
|
|
4933
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5064
4934
|
case "projects":
|
|
5065
|
-
return
|
|
5066
|
-
case "
|
|
5067
|
-
return
|
|
4935
|
+
return e7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4936
|
+
case "user":
|
|
4937
|
+
return i7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5068
4938
|
case "exit":
|
|
5069
|
-
return
|
|
5070
|
-
case "client":
|
|
5071
|
-
return s7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4939
|
+
return t7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5072
4940
|
case "openPointCircle":
|
|
5073
|
-
return
|
|
4941
|
+
return s7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5074
4942
|
case "community":
|
|
5075
|
-
return
|
|
4943
|
+
return n7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5076
4944
|
case "docs":
|
|
5077
|
-
return
|
|
4945
|
+
return r7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5078
4946
|
default:
|
|
5079
4947
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
5080
4948
|
}
|
|
5081
4949
|
})() });
|
|
5082
4950
|
};
|
|
5083
4951
|
var o1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(o1 || {});
|
|
5084
|
-
const
|
|
4952
|
+
const a7 = t1({
|
|
5085
4953
|
locale: "en",
|
|
5086
4954
|
theme: "light"
|
|
5087
4955
|
});
|
|
5088
|
-
|
|
4956
|
+
a7.Provider;
|
|
5089
4957
|
const i2 = ({
|
|
5090
4958
|
children: i,
|
|
5091
4959
|
width: e,
|
|
@@ -5094,20 +4962,20 @@ const i2 = ({
|
|
|
5094
4962
|
closable: n = !0,
|
|
5095
4963
|
disabled: o = !1
|
|
5096
4964
|
}) => {
|
|
5097
|
-
const
|
|
4965
|
+
const h = t === "small" ? 10 : 12.5, a = () => {
|
|
5098
4966
|
o || s == null || s();
|
|
5099
4967
|
};
|
|
5100
4968
|
return /* @__PURE__ */ r(
|
|
5101
|
-
|
|
4969
|
+
p2,
|
|
5102
4970
|
{
|
|
5103
4971
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5104
4972
|
closeIcon: /* @__PURE__ */ r(
|
|
5105
|
-
|
|
4973
|
+
o7,
|
|
5106
4974
|
{
|
|
5107
4975
|
name: "cancelCircle",
|
|
5108
4976
|
color: o ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
|
|
5109
|
-
width:
|
|
5110
|
-
height:
|
|
4977
|
+
width: h,
|
|
4978
|
+
height: h,
|
|
5111
4979
|
onClick: a
|
|
5112
4980
|
}
|
|
5113
4981
|
),
|
|
@@ -5115,7 +4983,7 @@ const i2 = ({
|
|
|
5115
4983
|
style: { width: e ?? "fit-content" },
|
|
5116
4984
|
closable: n,
|
|
5117
4985
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5118
|
-
|
|
4986
|
+
X5,
|
|
5119
4987
|
{
|
|
5120
4988
|
variant: t === "small" ? "body4" : "body2",
|
|
5121
4989
|
color: o ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
|
|
@@ -5124,12 +4992,12 @@ const i2 = ({
|
|
|
5124
4992
|
) : i
|
|
5125
4993
|
}
|
|
5126
4994
|
);
|
|
5127
|
-
}, { Title:
|
|
4995
|
+
}, { Title: l7, Text: h7 } = J1, c7 = {
|
|
5128
4996
|
h1: 1,
|
|
5129
4997
|
h2: 2,
|
|
5130
4998
|
h3: 3,
|
|
5131
4999
|
h4: 4
|
|
5132
|
-
},
|
|
5000
|
+
}, d7 = w1(
|
|
5133
5001
|
({
|
|
5134
5002
|
align: i = "inherit",
|
|
5135
5003
|
variant: e = "body1",
|
|
@@ -5137,18 +5005,18 @@ const i2 = ({
|
|
|
5137
5005
|
children: s,
|
|
5138
5006
|
onClick: n,
|
|
5139
5007
|
collapsed: o,
|
|
5140
|
-
whiteSpace:
|
|
5008
|
+
whiteSpace: h = "normal",
|
|
5141
5009
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5142
5010
|
trim: a = !1
|
|
5143
5011
|
}, C) => {
|
|
5144
5012
|
const d = J(null);
|
|
5145
5013
|
Q1(C, () => d.current);
|
|
5146
|
-
const [l,
|
|
5014
|
+
const [l, c] = I(!1);
|
|
5147
5015
|
A(() => {
|
|
5148
5016
|
var N;
|
|
5149
5017
|
if (!a) return;
|
|
5150
5018
|
const m = () => {
|
|
5151
|
-
d.current &&
|
|
5019
|
+
d.current && c(d.current.scrollWidth > d.current.clientWidth);
|
|
5152
5020
|
};
|
|
5153
5021
|
m();
|
|
5154
5022
|
const y = new ResizeObserver(m);
|
|
@@ -5157,11 +5025,11 @@ const i2 = ({
|
|
|
5157
5025
|
};
|
|
5158
5026
|
}, [a]);
|
|
5159
5027
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5160
|
-
let
|
|
5161
|
-
i && i !== "inherit" && (
|
|
5162
|
-
const
|
|
5163
|
-
className:
|
|
5164
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
5028
|
+
let f = `snmt-typography snmt-typography-${e}`;
|
|
5029
|
+
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
5030
|
+
const k = {
|
|
5031
|
+
className: f,
|
|
5032
|
+
style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
|
|
5165
5033
|
onClick: n,
|
|
5166
5034
|
ref: d,
|
|
5167
5035
|
ellipsis: a && l ? {
|
|
@@ -5171,9 +5039,9 @@ const i2 = ({
|
|
|
5171
5039
|
}
|
|
5172
5040
|
} : void 0
|
|
5173
5041
|
};
|
|
5174
|
-
return g ? /* @__PURE__ */ r(
|
|
5042
|
+
return g ? /* @__PURE__ */ r(l7, { level: c7[e], ...k, children: s }) : /* @__PURE__ */ r(h7, { ...k, children: s });
|
|
5175
5043
|
}
|
|
5176
|
-
),
|
|
5044
|
+
), C7 = ({
|
|
5177
5045
|
children: i,
|
|
5178
5046
|
content: e,
|
|
5179
5047
|
isOpen: t,
|
|
@@ -5181,7 +5049,7 @@ const i2 = ({
|
|
|
5181
5049
|
placement: n = "topRight",
|
|
5182
5050
|
noPadding: o = !1
|
|
5183
5051
|
}) => {
|
|
5184
|
-
const [
|
|
5052
|
+
const [h, a] = I(!1);
|
|
5185
5053
|
return /* @__PURE__ */ r(
|
|
5186
5054
|
k2,
|
|
5187
5055
|
{
|
|
@@ -5190,7 +5058,7 @@ const i2 = ({
|
|
|
5190
5058
|
placement: n,
|
|
5191
5059
|
trigger: "click",
|
|
5192
5060
|
overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
|
|
5193
|
-
open: t ??
|
|
5061
|
+
open: t ?? h,
|
|
5194
5062
|
onOpenChange: (C) => {
|
|
5195
5063
|
a(C), s == null || s(C);
|
|
5196
5064
|
},
|
|
@@ -5198,7 +5066,7 @@ const i2 = ({
|
|
|
5198
5066
|
}
|
|
5199
5067
|
);
|
|
5200
5068
|
};
|
|
5201
|
-
var
|
|
5069
|
+
var g7 = { exports: {} };
|
|
5202
5070
|
(function(i, e) {
|
|
5203
5071
|
(function(t, s) {
|
|
5204
5072
|
i.exports = s();
|
|
@@ -5208,27 +5076,27 @@ var p7 = { exports: {} };
|
|
|
5208
5076
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5209
5077
|
} };
|
|
5210
5078
|
});
|
|
5211
|
-
})(
|
|
5212
|
-
const
|
|
5079
|
+
})(g7);
|
|
5080
|
+
const u7 = ({
|
|
5213
5081
|
values: i,
|
|
5214
5082
|
onTagClose: e,
|
|
5215
5083
|
maxWidth: t,
|
|
5216
5084
|
closable: s = !0,
|
|
5217
5085
|
disabled: n,
|
|
5218
5086
|
options: o,
|
|
5219
|
-
extraOptions:
|
|
5087
|
+
extraOptions: h
|
|
5220
5088
|
}) => {
|
|
5221
5089
|
const { locale: a } = Q(y1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
|
|
5222
5090
|
if (A(() => {
|
|
5223
5091
|
i.length || l(!1);
|
|
5224
5092
|
}, [i]), !i.length)
|
|
5225
5093
|
return null;
|
|
5226
|
-
const
|
|
5227
|
-
var
|
|
5228
|
-
return ((
|
|
5094
|
+
const c = (g) => {
|
|
5095
|
+
var f, k;
|
|
5096
|
+
return ((f = o == null ? void 0 : o.find((m) => m.value === g)) == null ? void 0 : f.label) || ((k = h == null ? void 0 : h.find((m) => m.value === g)) == null ? void 0 : k.label) || g;
|
|
5229
5097
|
};
|
|
5230
5098
|
return /* @__PURE__ */ u(
|
|
5231
|
-
|
|
5099
|
+
C7,
|
|
5232
5100
|
{
|
|
5233
5101
|
content: (
|
|
5234
5102
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5238,7 +5106,7 @@ const f7 = ({
|
|
|
5238
5106
|
onClose: () => e(g),
|
|
5239
5107
|
closable: s,
|
|
5240
5108
|
disabled: n,
|
|
5241
|
-
children:
|
|
5109
|
+
children: c(g)
|
|
5242
5110
|
},
|
|
5243
5111
|
g
|
|
5244
5112
|
)) }) })
|
|
@@ -5253,19 +5121,19 @@ const f7 = ({
|
|
|
5253
5121
|
]
|
|
5254
5122
|
}
|
|
5255
5123
|
);
|
|
5256
|
-
},
|
|
5124
|
+
}, f7 = {
|
|
5257
5125
|
small: 20,
|
|
5258
5126
|
medium: 28,
|
|
5259
5127
|
large: 48
|
|
5260
|
-
},
|
|
5261
|
-
const t =
|
|
5128
|
+
}, O1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5129
|
+
const t = f7[i], s = `no-repeat linear-gradient(${e}
|
|
5262
5130
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5263
5131
|
width: t,
|
|
5264
5132
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5265
5133
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5266
5134
|
};
|
|
5267
5135
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5268
|
-
},
|
|
5136
|
+
}, p7 = w1(
|
|
5269
5137
|
({
|
|
5270
5138
|
value: i,
|
|
5271
5139
|
onChange: e,
|
|
@@ -5273,21 +5141,21 @@ const f7 = ({
|
|
|
5273
5141
|
mode: s,
|
|
5274
5142
|
search: n = !1,
|
|
5275
5143
|
options: o,
|
|
5276
|
-
width:
|
|
5144
|
+
width: h,
|
|
5277
5145
|
disabled: a = !1,
|
|
5278
5146
|
required: C = !1,
|
|
5279
5147
|
clearable: d = !1,
|
|
5280
5148
|
scrollThresholdValue: l = 50,
|
|
5281
|
-
onSearchChange:
|
|
5149
|
+
onSearchChange: c,
|
|
5282
5150
|
onDropdownVisibleChange: g,
|
|
5283
|
-
onScrollToEnd:
|
|
5284
|
-
onPopupScroll:
|
|
5151
|
+
onScrollToEnd: f,
|
|
5152
|
+
onPopupScroll: k,
|
|
5285
5153
|
id: N,
|
|
5286
5154
|
extraOptions: m,
|
|
5287
5155
|
dropdownRender: y,
|
|
5288
5156
|
optionRender: b,
|
|
5289
5157
|
isLoading: E,
|
|
5290
|
-
readOnly:
|
|
5158
|
+
readOnly: p,
|
|
5291
5159
|
error: _
|
|
5292
5160
|
}, R) => {
|
|
5293
5161
|
const [x, D] = I(!1), [P, i1] = I(!1), [$, h1] = I(!0), [V, Y] = I(i), F = J(null);
|
|
@@ -5299,7 +5167,7 @@ const f7 = ({
|
|
|
5299
5167
|
}, c1 = (M, H) => {
|
|
5300
5168
|
var G;
|
|
5301
5169
|
return !!((G = H == null ? void 0 : H.label) != null && G.toString().toLowerCase().includes(M.toLowerCase()));
|
|
5302
|
-
},
|
|
5170
|
+
}, O = () => {
|
|
5303
5171
|
i1(!0);
|
|
5304
5172
|
}, j = () => {
|
|
5305
5173
|
i1(!1);
|
|
@@ -5315,14 +5183,14 @@ const f7 = ({
|
|
|
5315
5183
|
},
|
|
5316
5184
|
[s, e]
|
|
5317
5185
|
), d1 = K(() => {
|
|
5318
|
-
if (!(
|
|
5186
|
+
if (!(p || a)) {
|
|
5319
5187
|
if (s) {
|
|
5320
5188
|
S([]);
|
|
5321
5189
|
return;
|
|
5322
5190
|
}
|
|
5323
5191
|
S("");
|
|
5324
5192
|
}
|
|
5325
|
-
}, [a, S, s,
|
|
5193
|
+
}, [a, S, s, p]), C1 = K(
|
|
5326
5194
|
(M) => {
|
|
5327
5195
|
const H = V.filter((G) => G !== M);
|
|
5328
5196
|
S(H), Y(H);
|
|
@@ -5339,7 +5207,7 @@ const f7 = ({
|
|
|
5339
5207
|
M.preventDefault(), M.stopPropagation();
|
|
5340
5208
|
}, h2 = async (M) => {
|
|
5341
5209
|
const { target: H } = M;
|
|
5342
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (
|
|
5210
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)), k && await k(M);
|
|
5343
5211
|
}, k1 = K(
|
|
5344
5212
|
(M) => {
|
|
5345
5213
|
var H, G;
|
|
@@ -5352,19 +5220,19 @@ const f7 = ({
|
|
|
5352
5220
|
(M) => {
|
|
5353
5221
|
var H;
|
|
5354
5222
|
return /* @__PURE__ */ r(
|
|
5355
|
-
|
|
5223
|
+
u7,
|
|
5356
5224
|
{
|
|
5357
5225
|
values: M,
|
|
5358
5226
|
onTagClose: C1,
|
|
5359
5227
|
maxWidth: ((H = F.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5360
5228
|
disabled: a,
|
|
5361
|
-
closable: !
|
|
5229
|
+
closable: !p,
|
|
5362
5230
|
options: o,
|
|
5363
5231
|
extraOptions: m
|
|
5364
5232
|
}
|
|
5365
5233
|
);
|
|
5366
5234
|
},
|
|
5367
|
-
[a, m, C1, o,
|
|
5235
|
+
[a, m, C1, o, p]
|
|
5368
5236
|
), d2 = K(
|
|
5369
5237
|
({ label: M, value: H, mode: G }) => G === "filter" ? H1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => C1(H), disabled: a, children: typeof M == "object" ? M : k1(H) }) }),
|
|
5370
5238
|
[a, k1, C1, H1]
|
|
@@ -5374,15 +5242,15 @@ const f7 = ({
|
|
|
5374
5242
|
"div",
|
|
5375
5243
|
{
|
|
5376
5244
|
className: `snmt-select-1-15-6 ${P ? "snmt-select-focused" : ""}
|
|
5377
|
-
${s ? "" : "snmt-select-single"} ${
|
|
5245
|
+
${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
|
|
5378
5246
|
ref: F,
|
|
5379
|
-
style: { width:
|
|
5247
|
+
style: { width: h },
|
|
5380
5248
|
children: [
|
|
5381
5249
|
/* @__PURE__ */ r(
|
|
5382
|
-
|
|
5250
|
+
f2,
|
|
5383
5251
|
{
|
|
5384
5252
|
className: "snmt-select-blank",
|
|
5385
|
-
popupClassName:
|
|
5253
|
+
popupClassName: p ? "dropdown-read-only" : "",
|
|
5386
5254
|
id: N,
|
|
5387
5255
|
ref: R,
|
|
5388
5256
|
showSearch: !!n,
|
|
@@ -5396,10 +5264,10 @@ const f7 = ({
|
|
|
5396
5264
|
},
|
|
5397
5265
|
mode: s === "filter" ? "multiple" : s,
|
|
5398
5266
|
onChange: S,
|
|
5399
|
-
onFocus:
|
|
5267
|
+
onFocus: O,
|
|
5400
5268
|
onBlur: j,
|
|
5401
5269
|
onSearch: (M) => {
|
|
5402
|
-
h1(!M),
|
|
5270
|
+
h1(!M), c && c(M);
|
|
5403
5271
|
},
|
|
5404
5272
|
onSelect: () => h1(!0),
|
|
5405
5273
|
onDeselect: () => h1(!0),
|
|
@@ -5407,7 +5275,7 @@ const f7 = ({
|
|
|
5407
5275
|
maxTagCount: "responsive",
|
|
5408
5276
|
maxTagPlaceholder: c2,
|
|
5409
5277
|
onPopupScroll: h2,
|
|
5410
|
-
prefix: E && /* @__PURE__ */ r(
|
|
5278
|
+
prefix: E && /* @__PURE__ */ r(O1, { size: "small" }),
|
|
5411
5279
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(W, { children: [
|
|
5412
5280
|
V && !!V.length && (s || d) && /* @__PURE__ */ r(
|
|
5413
5281
|
"div",
|
|
@@ -5454,7 +5322,7 @@ const f7 = ({
|
|
|
5454
5322
|
] }),
|
|
5455
5323
|
dropdownRender: (M) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5456
5324
|
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(M) : M }),
|
|
5457
|
-
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(
|
|
5325
|
+
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(O1, {}) })
|
|
5458
5326
|
] })
|
|
5459
5327
|
}
|
|
5460
5328
|
),
|
|
@@ -5487,7 +5355,7 @@ const f7 = ({
|
|
|
5487
5355
|
width: 16
|
|
5488
5356
|
}
|
|
5489
5357
|
),
|
|
5490
|
-
typeof _ == "string" ? /* @__PURE__ */ r(
|
|
5358
|
+
typeof _ == "string" ? /* @__PURE__ */ r(d7, { color: T.NOTIFICATION_ERROR_DARK, variant: "body4", children: _ }) : _
|
|
5491
5359
|
] })
|
|
5492
5360
|
] });
|
|
5493
5361
|
}
|
|
@@ -5497,11 +5365,11 @@ const f7 = ({
|
|
|
5497
5365
|
i = s, e = n;
|
|
5498
5366
|
});
|
|
5499
5367
|
return t.resolve = i, t.reject = e, t;
|
|
5500
|
-
}, S1 = (i) => i == null ? "" : "" + i,
|
|
5368
|
+
}, S1 = (i) => i == null ? "" : "" + i, m7 = (i, e, t) => {
|
|
5501
5369
|
i.forEach((s) => {
|
|
5502
5370
|
e[s] && (t[s] = e[s]);
|
|
5503
5371
|
});
|
|
5504
|
-
},
|
|
5372
|
+
}, w7 = /###/g, D1 = (i) => i && i.indexOf("###") > -1 ? i.replace(w7, ".") : i, G1 = (i) => !i || v(i), a1 = (i, e, t) => {
|
|
5505
5373
|
const s = v(e) ? e.split(".") : e;
|
|
5506
5374
|
let n = 0;
|
|
5507
5375
|
for (; n < s.length - 1; ) {
|
|
@@ -5522,11 +5390,11 @@ const f7 = ({
|
|
|
5522
5390
|
s[n] = t;
|
|
5523
5391
|
return;
|
|
5524
5392
|
}
|
|
5525
|
-
let o = e[e.length - 1],
|
|
5526
|
-
for (; a.obj === void 0 &&
|
|
5527
|
-
o = `${
|
|
5393
|
+
let o = e[e.length - 1], h = e.slice(0, e.length - 1), a = a1(i, h, Object);
|
|
5394
|
+
for (; a.obj === void 0 && h.length; )
|
|
5395
|
+
o = `${h[h.length - 1]}.${o}`, h = h.slice(0, h.length - 1), a = a1(i, h, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5528
5396
|
a.obj[`${a.k}.${o}`] = t;
|
|
5529
|
-
},
|
|
5397
|
+
}, L7 = (i, e, t, s) => {
|
|
5530
5398
|
const {
|
|
5531
5399
|
obj: n,
|
|
5532
5400
|
k: o
|
|
@@ -5539,7 +5407,7 @@ const f7 = ({
|
|
|
5539
5407
|
} = a1(i, e);
|
|
5540
5408
|
if (t)
|
|
5541
5409
|
return t[s];
|
|
5542
|
-
},
|
|
5410
|
+
}, k7 = (i, e, t) => {
|
|
5543
5411
|
const s = u1(i, t);
|
|
5544
5412
|
return s !== void 0 ? s : u1(e, t);
|
|
5545
5413
|
}, s2 = (i, e, t) => {
|
|
@@ -5547,7 +5415,7 @@ const f7 = ({
|
|
|
5547
5415
|
s !== "__proto__" && s !== "constructor" && (s in i ? v(i[s]) || i[s] instanceof String || v(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
|
|
5548
5416
|
return i;
|
|
5549
5417
|
}, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5550
|
-
var
|
|
5418
|
+
var v7 = {
|
|
5551
5419
|
"&": "&",
|
|
5552
5420
|
"<": "<",
|
|
5553
5421
|
">": ">",
|
|
@@ -5555,8 +5423,8 @@ var R7 = {
|
|
|
5555
5423
|
"'": "'",
|
|
5556
5424
|
"/": "/"
|
|
5557
5425
|
};
|
|
5558
|
-
const
|
|
5559
|
-
class
|
|
5426
|
+
const N7 = (i) => v(i) ? i.replace(/[&<>"'\/]/g, (e) => v7[e]) : i;
|
|
5427
|
+
class R7 {
|
|
5560
5428
|
constructor(e) {
|
|
5561
5429
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5562
5430
|
}
|
|
@@ -5568,15 +5436,15 @@ class M7 {
|
|
|
5568
5436
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5569
5437
|
}
|
|
5570
5438
|
}
|
|
5571
|
-
const
|
|
5439
|
+
const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
|
|
5572
5440
|
e = e || "", t = t || "";
|
|
5573
|
-
const s =
|
|
5441
|
+
const s = x7.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
|
|
5574
5442
|
if (s.length === 0) return !0;
|
|
5575
|
-
const n =
|
|
5443
|
+
const n = M7.getRegExp(`(${s.map((h) => h === "?" ? "\\?" : h).join("|")})`);
|
|
5576
5444
|
let o = !n.test(i);
|
|
5577
5445
|
if (!o) {
|
|
5578
|
-
const
|
|
5579
|
-
|
|
5446
|
+
const h = i.indexOf(t);
|
|
5447
|
+
h > 0 && !n.test(i.substring(0, h)) && (o = !0);
|
|
5580
5448
|
}
|
|
5581
5449
|
return o;
|
|
5582
5450
|
}, M1 = function(i, e) {
|
|
@@ -5588,18 +5456,18 @@ const _7 = [" ", ",", "?", "!", ";"], b7 = new M7(20), y7 = (i, e, t) => {
|
|
|
5588
5456
|
for (let o = 0; o < s.length; ) {
|
|
5589
5457
|
if (!n || typeof n != "object")
|
|
5590
5458
|
return;
|
|
5591
|
-
let
|
|
5459
|
+
let h, a = "";
|
|
5592
5460
|
for (let C = o; C < s.length; ++C)
|
|
5593
|
-
if (C !== o && (a += t), a += s[C],
|
|
5594
|
-
if (["string", "number", "boolean"].indexOf(typeof
|
|
5461
|
+
if (C !== o && (a += t), a += s[C], h = n[a], h !== void 0) {
|
|
5462
|
+
if (["string", "number", "boolean"].indexOf(typeof h) > -1 && C < s.length - 1)
|
|
5595
5463
|
continue;
|
|
5596
5464
|
o += C - o + 1;
|
|
5597
5465
|
break;
|
|
5598
5466
|
}
|
|
5599
|
-
n =
|
|
5467
|
+
n = h;
|
|
5600
5468
|
}
|
|
5601
5469
|
return n;
|
|
5602
|
-
},
|
|
5470
|
+
}, f1 = (i) => i && i.replace("_", "-"), b7 = {
|
|
5603
5471
|
type: "logger",
|
|
5604
5472
|
log(i) {
|
|
5605
5473
|
this.output("log", i);
|
|
@@ -5614,14 +5482,14 @@ const _7 = [" ", ",", "?", "!", ";"], b7 = new M7(20), y7 = (i, e, t) => {
|
|
|
5614
5482
|
console && console[i] && console[i].apply(console, e);
|
|
5615
5483
|
}
|
|
5616
5484
|
};
|
|
5617
|
-
class
|
|
5485
|
+
class p1 {
|
|
5618
5486
|
constructor(e) {
|
|
5619
5487
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5620
5488
|
this.init(e, t);
|
|
5621
5489
|
}
|
|
5622
5490
|
init(e) {
|
|
5623
5491
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5624
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5492
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || b7, this.options = t, this.debug = t.debug;
|
|
5625
5493
|
}
|
|
5626
5494
|
log() {
|
|
5627
5495
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5647,16 +5515,16 @@ class f1 {
|
|
|
5647
5515
|
return n && !this.debug ? null : (v(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5648
5516
|
}
|
|
5649
5517
|
create(e) {
|
|
5650
|
-
return new
|
|
5518
|
+
return new p1(this.logger, {
|
|
5651
5519
|
prefix: `${this.prefix}:${e}:`,
|
|
5652
5520
|
...this.options
|
|
5653
5521
|
});
|
|
5654
5522
|
}
|
|
5655
5523
|
clone(e) {
|
|
5656
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5524
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new p1(this.logger, e);
|
|
5657
5525
|
}
|
|
5658
5526
|
}
|
|
5659
|
-
var B = new
|
|
5527
|
+
var B = new p1();
|
|
5660
5528
|
class L1 {
|
|
5661
5529
|
constructor() {
|
|
5662
5530
|
this.observers = {};
|
|
@@ -5680,12 +5548,12 @@ class L1 {
|
|
|
5680
5548
|
emit(e) {
|
|
5681
5549
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
5682
5550
|
s[n - 1] = arguments[n];
|
|
5683
|
-
this.observers[e] && Array.from(this.observers[e].entries()).forEach((
|
|
5684
|
-
let [a, C] =
|
|
5551
|
+
this.observers[e] && Array.from(this.observers[e].entries()).forEach((h) => {
|
|
5552
|
+
let [a, C] = h;
|
|
5685
5553
|
for (let d = 0; d < C; d++)
|
|
5686
5554
|
a(...s);
|
|
5687
|
-
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((
|
|
5688
|
-
let [a, C] =
|
|
5555
|
+
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((h) => {
|
|
5556
|
+
let [a, C] = h;
|
|
5689
5557
|
for (let d = 0; d < C; d++)
|
|
5690
5558
|
a.apply(a, [e, ...s]);
|
|
5691
5559
|
});
|
|
@@ -5708,19 +5576,19 @@ class K1 extends L1 {
|
|
|
5708
5576
|
}
|
|
5709
5577
|
getResource(e, t, s) {
|
|
5710
5578
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5711
|
-
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator,
|
|
5579
|
+
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, h = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5712
5580
|
let a;
|
|
5713
5581
|
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : v(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5714
5582
|
const C = u1(this.data, a);
|
|
5715
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !
|
|
5583
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !h || !v(s) ? C : M1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5716
5584
|
}
|
|
5717
5585
|
addResource(e, t, s, n) {
|
|
5718
5586
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
5719
5587
|
silent: !1
|
|
5720
5588
|
};
|
|
5721
|
-
const
|
|
5589
|
+
const h = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5722
5590
|
let a = [e, t];
|
|
5723
|
-
s && (a = a.concat(
|
|
5591
|
+
s && (a = a.concat(h ? s.split(h) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), T1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5724
5592
|
}
|
|
5725
5593
|
addResources(e, t, s) {
|
|
5726
5594
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -5733,16 +5601,16 @@ class K1 extends L1 {
|
|
|
5733
5601
|
n.silent || this.emit("added", e, t, s);
|
|
5734
5602
|
}
|
|
5735
5603
|
addResourceBundle(e, t, s, n, o) {
|
|
5736
|
-
let
|
|
5604
|
+
let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
5737
5605
|
silent: !1,
|
|
5738
5606
|
skipCopy: !1
|
|
5739
5607
|
}, a = [e, t];
|
|
5740
5608
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5741
5609
|
let C = u1(this.data, a) || {};
|
|
5742
|
-
|
|
5610
|
+
h.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
|
|
5743
5611
|
...C,
|
|
5744
5612
|
...s
|
|
5745
|
-
}, T1(this.data, a, C),
|
|
5613
|
+
}, T1(this.data, a, C), h.silent || this.emit("added", e, t, s);
|
|
5746
5614
|
}
|
|
5747
5615
|
removeResourceBundle(e, t) {
|
|
5748
5616
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5781,7 +5649,7 @@ const B1 = {};
|
|
|
5781
5649
|
class m1 extends L1 {
|
|
5782
5650
|
constructor(e) {
|
|
5783
5651
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5784
|
-
super(),
|
|
5652
|
+
super(), m7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
|
|
5785
5653
|
}
|
|
5786
5654
|
changeLanguage(e) {
|
|
5787
5655
|
e && (this.language = e);
|
|
@@ -5800,8 +5668,8 @@ class m1 extends L1 {
|
|
|
5800
5668
|
s === void 0 && (s = ":");
|
|
5801
5669
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5802
5670
|
let o = t.ns || this.options.defaultNS || [];
|
|
5803
|
-
const
|
|
5804
|
-
if (
|
|
5671
|
+
const h = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !_7(e, s, n);
|
|
5672
|
+
if (h && !a) {
|
|
5805
5673
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
5806
5674
|
if (C && C.length > 0)
|
|
5807
5675
|
return {
|
|
@@ -5822,44 +5690,44 @@ class m1 extends L1 {
|
|
|
5822
5690
|
}), t || (t = {}), e == null) return "";
|
|
5823
5691
|
Array.isArray(e) || (e = [String(e)]);
|
|
5824
5692
|
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
|
|
5825
|
-
key:
|
|
5693
|
+
key: h,
|
|
5826
5694
|
namespaces: a
|
|
5827
5695
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
5828
5696
|
if (d && d.toLowerCase() === "cimode") {
|
|
5829
5697
|
if (l) {
|
|
5830
|
-
const
|
|
5698
|
+
const p = t.nsSeparator || this.options.nsSeparator;
|
|
5831
5699
|
return n ? {
|
|
5832
|
-
res: `${C}${
|
|
5833
|
-
usedKey:
|
|
5834
|
-
exactUsedKey:
|
|
5700
|
+
res: `${C}${p}${h}`,
|
|
5701
|
+
usedKey: h,
|
|
5702
|
+
exactUsedKey: h,
|
|
5835
5703
|
usedLng: d,
|
|
5836
5704
|
usedNS: C,
|
|
5837
5705
|
usedParams: this.getUsedParamsDetails(t)
|
|
5838
|
-
} : `${C}${
|
|
5706
|
+
} : `${C}${p}${h}`;
|
|
5839
5707
|
}
|
|
5840
5708
|
return n ? {
|
|
5841
|
-
res:
|
|
5842
|
-
usedKey:
|
|
5843
|
-
exactUsedKey:
|
|
5709
|
+
res: h,
|
|
5710
|
+
usedKey: h,
|
|
5711
|
+
exactUsedKey: h,
|
|
5844
5712
|
usedLng: d,
|
|
5845
5713
|
usedNS: C,
|
|
5846
5714
|
usedParams: this.getUsedParamsDetails(t)
|
|
5847
|
-
} :
|
|
5715
|
+
} : h;
|
|
5848
5716
|
}
|
|
5849
|
-
const
|
|
5850
|
-
let g =
|
|
5851
|
-
const
|
|
5717
|
+
const c = this.resolve(e, t);
|
|
5718
|
+
let g = c && c.res;
|
|
5719
|
+
const f = c && c.usedKey || h, k = c && c.exactUsedKey || h, N = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !v(g) && typeof g != "boolean" && typeof g != "number";
|
|
5852
5720
|
if (b && g && E && m.indexOf(N) < 0 && !(v(y) && Array.isArray(g))) {
|
|
5853
5721
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
5854
5722
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5855
|
-
const
|
|
5723
|
+
const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
|
|
5856
5724
|
...t,
|
|
5857
5725
|
ns: a
|
|
5858
|
-
}) : `key '${
|
|
5859
|
-
return n ? (
|
|
5726
|
+
}) : `key '${h} (${this.language})' returned an object instead of string.`;
|
|
5727
|
+
return n ? (c.res = p, c.usedParams = this.getUsedParamsDetails(t), c) : p;
|
|
5860
5728
|
}
|
|
5861
5729
|
if (o) {
|
|
5862
|
-
const
|
|
5730
|
+
const p = Array.isArray(g), _ = p ? [] : {}, R = p ? k : f;
|
|
5863
5731
|
for (const x in g)
|
|
5864
5732
|
if (Object.prototype.hasOwnProperty.call(g, x)) {
|
|
5865
5733
|
const D = `${R}${o}${x}`;
|
|
@@ -5874,43 +5742,43 @@ class m1 extends L1 {
|
|
|
5874
5742
|
} else if (b && v(y) && Array.isArray(g))
|
|
5875
5743
|
g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
|
|
5876
5744
|
else {
|
|
5877
|
-
let
|
|
5745
|
+
let p = !1, _ = !1;
|
|
5878
5746
|
const R = t.count !== void 0 && !v(t.count), x = m1.hasDefaultValue(t), D = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", P = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
|
|
5879
5747
|
ordinal: !1
|
|
5880
5748
|
}) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${D}`] || t[`defaultValue${P}`] || t.defaultValue;
|
|
5881
|
-
!this.isValidLookup(g) && x && (
|
|
5749
|
+
!this.isValidLookup(g) && x && (p = !0, g = $), this.isValidLookup(g) || (_ = !0, g = h);
|
|
5882
5750
|
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && _ ? void 0 : g, Y = x && $ !== g && this.options.updateMissing;
|
|
5883
|
-
if (_ ||
|
|
5884
|
-
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C,
|
|
5885
|
-
const
|
|
5751
|
+
if (_ || p || Y) {
|
|
5752
|
+
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, h, Y ? $ : g), o) {
|
|
5753
|
+
const O = this.resolve(h, {
|
|
5886
5754
|
...t,
|
|
5887
5755
|
keySeparator: !1
|
|
5888
5756
|
});
|
|
5889
|
-
|
|
5757
|
+
O && O.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
5890
5758
|
}
|
|
5891
5759
|
let F = [];
|
|
5892
5760
|
const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
5893
5761
|
if (this.options.saveMissingTo === "fallback" && q && q[0])
|
|
5894
|
-
for (let
|
|
5895
|
-
F.push(q[
|
|
5762
|
+
for (let O = 0; O < q.length; O++)
|
|
5763
|
+
F.push(q[O]);
|
|
5896
5764
|
else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
|
|
5897
|
-
const c1 = (
|
|
5765
|
+
const c1 = (O, j, S) => {
|
|
5898
5766
|
const d1 = x && S !== g ? S : V;
|
|
5899
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
5767
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j, d1, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, C, j, d1, Y, t), this.emit("missingKey", O, C, j, g);
|
|
5900
5768
|
};
|
|
5901
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((
|
|
5902
|
-
const j = this.pluralResolver.getSuffixes(
|
|
5769
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((O) => {
|
|
5770
|
+
const j = this.pluralResolver.getSuffixes(O, t);
|
|
5903
5771
|
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((S) => {
|
|
5904
|
-
c1([
|
|
5772
|
+
c1([O], h + S, t[`defaultValue${S}`] || $);
|
|
5905
5773
|
});
|
|
5906
|
-
}) : c1(F,
|
|
5774
|
+
}) : c1(F, h, $));
|
|
5907
5775
|
}
|
|
5908
|
-
g = this.extendTranslation(g, e, t,
|
|
5776
|
+
g = this.extendTranslation(g, e, t, c, s), _ && g === h && this.options.appendNamespaceToMissingKey && (g = `${C}:${h}`), (_ || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${h}` : h, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
5909
5777
|
}
|
|
5910
|
-
return n ? (
|
|
5778
|
+
return n ? (c.res = g, c.usedParams = this.getUsedParamsDetails(t), c) : g;
|
|
5911
5779
|
}
|
|
5912
5780
|
extendTranslation(e, t, s, n, o) {
|
|
5913
|
-
var
|
|
5781
|
+
var h = this;
|
|
5914
5782
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
5915
5783
|
e = this.i18nFormat.parse(e, {
|
|
5916
5784
|
...this.options.interpolation.defaultVariables,
|
|
@@ -5932,18 +5800,18 @@ class m1 extends L1 {
|
|
|
5932
5800
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
5933
5801
|
l = g && g.length;
|
|
5934
5802
|
}
|
|
5935
|
-
let
|
|
5936
|
-
if (this.options.interpolation.defaultVariables && (
|
|
5803
|
+
let c = s.replace && !v(s.replace) ? s.replace : s;
|
|
5804
|
+
if (this.options.interpolation.defaultVariables && (c = {
|
|
5937
5805
|
...this.options.interpolation.defaultVariables,
|
|
5938
|
-
...
|
|
5939
|
-
}), e = this.interpolator.interpolate(e,
|
|
5940
|
-
const g = e.match(this.interpolator.nestingRegexp),
|
|
5941
|
-
l <
|
|
5806
|
+
...c
|
|
5807
|
+
}), e = this.interpolator.interpolate(e, c, s.lng || this.language || n.usedLng, s), d) {
|
|
5808
|
+
const g = e.match(this.interpolator.nestingRegexp), f = g && g.length;
|
|
5809
|
+
l < f && (s.nest = !1);
|
|
5942
5810
|
}
|
|
5943
5811
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
5944
|
-
for (var g = arguments.length,
|
|
5945
|
-
|
|
5946
|
-
return o && o[0] ===
|
|
5812
|
+
for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
|
|
5813
|
+
f[k] = arguments[k];
|
|
5814
|
+
return o && o[0] === f[0] && !s.context ? (h.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : h.translate(...f, t);
|
|
5947
5815
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
5948
5816
|
}
|
|
5949
5817
|
const a = s.postProcess || this.options.postProcess, C = v(a) ? [a] : a;
|
|
@@ -5956,28 +5824,28 @@ class m1 extends L1 {
|
|
|
5956
5824
|
} : s, this)), e;
|
|
5957
5825
|
}
|
|
5958
5826
|
resolve(e) {
|
|
5959
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o,
|
|
5827
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, h, a;
|
|
5960
5828
|
return v(e) && (e = [e]), e.forEach((C) => {
|
|
5961
5829
|
if (this.isValidLookup(s)) return;
|
|
5962
5830
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
5963
5831
|
n = l;
|
|
5964
|
-
let
|
|
5965
|
-
this.options.fallbackNS && (
|
|
5966
|
-
const g = t.count !== void 0 && !v(t.count),
|
|
5967
|
-
|
|
5832
|
+
let c = d.namespaces;
|
|
5833
|
+
this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
|
|
5834
|
+
const g = t.count !== void 0 && !v(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (v(t.context) || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
5835
|
+
c.forEach((m) => {
|
|
5968
5836
|
this.isValidLookup(s) || (a = m, !B1[`${N[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (B1[`${N[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${N.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEach((y) => {
|
|
5969
5837
|
if (this.isValidLookup(s)) return;
|
|
5970
|
-
|
|
5838
|
+
h = y;
|
|
5971
5839
|
const b = [l];
|
|
5972
5840
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
5973
5841
|
this.i18nFormat.addLookupKeys(b, l, y, m, t);
|
|
5974
5842
|
else {
|
|
5975
|
-
let
|
|
5976
|
-
g && (
|
|
5843
|
+
let p;
|
|
5844
|
+
g && (p = this.pluralResolver.getSuffix(y, t.count, t));
|
|
5977
5845
|
const _ = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
5978
|
-
if (g && (b.push(l +
|
|
5846
|
+
if (g && (b.push(l + p), t.ordinal && p.indexOf(R) === 0 && b.push(l + p.replace(R, this.options.pluralSeparator)), f && b.push(l + _)), k) {
|
|
5979
5847
|
const x = `${l}${this.options.contextSeparator}${t.context}`;
|
|
5980
|
-
b.push(x), g && (b.push(x +
|
|
5848
|
+
b.push(x), g && (b.push(x + p), t.ordinal && p.indexOf(R) === 0 && b.push(x + p.replace(R, this.options.pluralSeparator)), f && b.push(x + _));
|
|
5981
5849
|
}
|
|
5982
5850
|
}
|
|
5983
5851
|
let E;
|
|
@@ -5989,7 +5857,7 @@ class m1 extends L1 {
|
|
|
5989
5857
|
res: s,
|
|
5990
5858
|
usedKey: n,
|
|
5991
5859
|
exactUsedKey: o,
|
|
5992
|
-
usedLng:
|
|
5860
|
+
usedLng: h,
|
|
5993
5861
|
usedNS: a
|
|
5994
5862
|
};
|
|
5995
5863
|
}
|
|
@@ -6030,12 +5898,12 @@ class P1 {
|
|
|
6030
5898
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
|
|
6031
5899
|
}
|
|
6032
5900
|
getScriptPartFromCode(e) {
|
|
6033
|
-
if (e =
|
|
5901
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return null;
|
|
6034
5902
|
const t = e.split("-");
|
|
6035
5903
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6036
5904
|
}
|
|
6037
5905
|
getLanguagePartFromCode(e) {
|
|
6038
|
-
if (e =
|
|
5906
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return e;
|
|
6039
5907
|
const t = e.split("-");
|
|
6040
5908
|
return this.formatLanguageCode(t[0]);
|
|
6041
5909
|
}
|
|
@@ -6082,15 +5950,15 @@ class P1 {
|
|
|
6082
5950
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
6083
5951
|
}
|
|
6084
5952
|
toResolveHierarchy(e, t) {
|
|
6085
|
-
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (
|
|
6086
|
-
|
|
5953
|
+
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (h) => {
|
|
5954
|
+
h && (this.isSupportedCode(h) ? n.push(h) : this.logger.warn(`rejecting language code not found in supportedLngs: ${h}`));
|
|
6087
5955
|
};
|
|
6088
|
-
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((
|
|
6089
|
-
n.indexOf(
|
|
5956
|
+
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((h) => {
|
|
5957
|
+
n.indexOf(h) < 0 && o(this.formatLanguageCode(h));
|
|
6090
5958
|
}), n;
|
|
6091
5959
|
}
|
|
6092
5960
|
}
|
|
6093
|
-
let
|
|
5961
|
+
let y7 = [{
|
|
6094
5962
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6095
5963
|
nr: [1, 2],
|
|
6096
5964
|
fc: 1
|
|
@@ -6182,7 +6050,7 @@ let E7 = [{
|
|
|
6182
6050
|
lngs: ["he", "iw"],
|
|
6183
6051
|
nr: [1, 2, 20, 21],
|
|
6184
6052
|
fc: 22
|
|
6185
|
-
}],
|
|
6053
|
+
}], H7 = {
|
|
6186
6054
|
1: (i) => +(i > 1),
|
|
6187
6055
|
2: (i) => +(i != 1),
|
|
6188
6056
|
3: (i) => 0,
|
|
@@ -6206,28 +6074,28 @@ let E7 = [{
|
|
|
6206
6074
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6207
6075
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6208
6076
|
};
|
|
6209
|
-
const
|
|
6077
|
+
const E7 = ["v1", "v2", "v3"], V7 = ["v4"], Y1 = {
|
|
6210
6078
|
zero: 0,
|
|
6211
6079
|
one: 1,
|
|
6212
6080
|
two: 2,
|
|
6213
6081
|
few: 3,
|
|
6214
6082
|
many: 4,
|
|
6215
6083
|
other: 5
|
|
6216
|
-
},
|
|
6084
|
+
}, I7 = () => {
|
|
6217
6085
|
const i = {};
|
|
6218
|
-
return
|
|
6086
|
+
return y7.forEach((e) => {
|
|
6219
6087
|
e.lngs.forEach((t) => {
|
|
6220
6088
|
i[t] = {
|
|
6221
6089
|
numbers: e.nr,
|
|
6222
|
-
plurals:
|
|
6090
|
+
plurals: H7[e.fc]
|
|
6223
6091
|
};
|
|
6224
6092
|
});
|
|
6225
6093
|
}), i;
|
|
6226
6094
|
};
|
|
6227
|
-
class
|
|
6095
|
+
class A7 {
|
|
6228
6096
|
constructor(e) {
|
|
6229
6097
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6230
|
-
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6098
|
+
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || V7.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = I7(), this.pluralRulesCache = {};
|
|
6231
6099
|
}
|
|
6232
6100
|
addRule(e, t) {
|
|
6233
6101
|
this.rules[e] = t;
|
|
@@ -6238,23 +6106,23 @@ class Z7 {
|
|
|
6238
6106
|
getRule(e) {
|
|
6239
6107
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6240
6108
|
if (this.shouldUseIntlApi()) {
|
|
6241
|
-
const s =
|
|
6109
|
+
const s = f1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6242
6110
|
cleanedCode: s,
|
|
6243
6111
|
type: n
|
|
6244
6112
|
});
|
|
6245
6113
|
if (o in this.pluralRulesCache)
|
|
6246
6114
|
return this.pluralRulesCache[o];
|
|
6247
|
-
let
|
|
6115
|
+
let h;
|
|
6248
6116
|
try {
|
|
6249
|
-
|
|
6117
|
+
h = new Intl.PluralRules(s, {
|
|
6250
6118
|
type: n
|
|
6251
6119
|
});
|
|
6252
6120
|
} catch {
|
|
6253
6121
|
if (!e.match(/-|_/)) return;
|
|
6254
6122
|
const C = this.languageUtils.getLanguagePartFromCode(e);
|
|
6255
|
-
|
|
6123
|
+
h = this.getRule(C, t);
|
|
6256
6124
|
}
|
|
6257
|
-
return this.pluralRulesCache[o] =
|
|
6125
|
+
return this.pluralRulesCache[o] = h, h;
|
|
6258
6126
|
}
|
|
6259
6127
|
return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
|
|
6260
6128
|
}
|
|
@@ -6285,14 +6153,14 @@ class Z7 {
|
|
|
6285
6153
|
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();
|
|
6286
6154
|
}
|
|
6287
6155
|
shouldUseIntlApi() {
|
|
6288
|
-
return !
|
|
6156
|
+
return !E7.includes(this.options.compatibilityJSON);
|
|
6289
6157
|
}
|
|
6290
6158
|
}
|
|
6291
6159
|
const j1 = function(i, e, t) {
|
|
6292
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6160
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = k7(i, e, t);
|
|
6293
6161
|
return !o && n && v(t) && (o = M1(i, t, s), o === void 0 && (o = M1(e, t, s))), o;
|
|
6294
6162
|
}, R1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6295
|
-
class
|
|
6163
|
+
class Z7 {
|
|
6296
6164
|
constructor() {
|
|
6297
6165
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6298
6166
|
this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6307,21 +6175,21 @@ class S7 {
|
|
|
6307
6175
|
escapeValue: s,
|
|
6308
6176
|
useRawValueToEscape: n,
|
|
6309
6177
|
prefix: o,
|
|
6310
|
-
prefixEscaped:
|
|
6178
|
+
prefixEscaped: h,
|
|
6311
6179
|
suffix: a,
|
|
6312
6180
|
suffixEscaped: C,
|
|
6313
6181
|
formatSeparator: d,
|
|
6314
6182
|
unescapeSuffix: l,
|
|
6315
|
-
unescapePrefix:
|
|
6183
|
+
unescapePrefix: c,
|
|
6316
6184
|
nestingPrefix: g,
|
|
6317
|
-
nestingPrefixEscaped:
|
|
6318
|
-
nestingSuffix:
|
|
6185
|
+
nestingPrefixEscaped: f,
|
|
6186
|
+
nestingSuffix: k,
|
|
6319
6187
|
nestingSuffixEscaped: N,
|
|
6320
6188
|
nestingOptionsSeparator: m,
|
|
6321
6189
|
maxReplaces: y,
|
|
6322
6190
|
alwaysFormat: b
|
|
6323
6191
|
} = e.interpolation;
|
|
6324
|
-
this.escape = t !== void 0 ? t :
|
|
6192
|
+
this.escape = t !== void 0 ? t : N7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : h || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : f || X("$t("), this.nestingSuffix = k ? X(k) : N || X(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6325
6193
|
}
|
|
6326
6194
|
reset() {
|
|
6327
6195
|
this.options && this.init(this.options);
|
|
@@ -6331,17 +6199,17 @@ class S7 {
|
|
|
6331
6199
|
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
|
|
6332
6200
|
}
|
|
6333
6201
|
interpolate(e, t, s, n) {
|
|
6334
|
-
let o,
|
|
6335
|
-
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (
|
|
6336
|
-
if (
|
|
6337
|
-
const y = j1(t, C,
|
|
6202
|
+
let o, h, a;
|
|
6203
|
+
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
|
|
6204
|
+
if (f.indexOf(this.formatSeparator) < 0) {
|
|
6205
|
+
const y = j1(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6338
6206
|
return this.alwaysFormat ? this.format(y, void 0, s, {
|
|
6339
6207
|
...n,
|
|
6340
6208
|
...t,
|
|
6341
|
-
interpolationkey:
|
|
6209
|
+
interpolationkey: f
|
|
6342
6210
|
}) : y;
|
|
6343
6211
|
}
|
|
6344
|
-
const
|
|
6212
|
+
const k = f.split(this.formatSeparator), N = k.shift().trim(), m = k.join(this.formatSeparator).trim();
|
|
6345
6213
|
return this.format(j1(t, C, N, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6346
6214
|
...n,
|
|
6347
6215
|
...t,
|
|
@@ -6349,66 +6217,66 @@ class S7 {
|
|
|
6349
6217
|
});
|
|
6350
6218
|
};
|
|
6351
6219
|
this.resetRegExp();
|
|
6352
|
-
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler,
|
|
6220
|
+
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, c = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6353
6221
|
return [{
|
|
6354
6222
|
regex: this.regexpUnescape,
|
|
6355
|
-
safeValue: (
|
|
6223
|
+
safeValue: (f) => R1(f)
|
|
6356
6224
|
}, {
|
|
6357
6225
|
regex: this.regexp,
|
|
6358
|
-
safeValue: (
|
|
6359
|
-
}].forEach((
|
|
6360
|
-
for (a = 0; o =
|
|
6361
|
-
const
|
|
6362
|
-
if (
|
|
6226
|
+
safeValue: (f) => this.escapeValue ? R1(this.escape(f)) : R1(f)
|
|
6227
|
+
}].forEach((f) => {
|
|
6228
|
+
for (a = 0; o = f.regex.exec(e); ) {
|
|
6229
|
+
const k = o[1].trim();
|
|
6230
|
+
if (h = d(k), h === void 0)
|
|
6363
6231
|
if (typeof l == "function") {
|
|
6364
6232
|
const m = l(e, o, n);
|
|
6365
|
-
|
|
6366
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6367
|
-
|
|
6368
|
-
else if (
|
|
6369
|
-
|
|
6233
|
+
h = v(m) ? m : "";
|
|
6234
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6235
|
+
h = "";
|
|
6236
|
+
else if (c) {
|
|
6237
|
+
h = o[0];
|
|
6370
6238
|
continue;
|
|
6371
6239
|
} else
|
|
6372
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6373
|
-
else !v(
|
|
6374
|
-
const N =
|
|
6375
|
-
if (e = e.replace(o[0], N),
|
|
6240
|
+
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), h = "";
|
|
6241
|
+
else !v(h) && !this.useRawValueToEscape && (h = S1(h));
|
|
6242
|
+
const N = f.safeValue(h);
|
|
6243
|
+
if (e = e.replace(o[0], N), c ? (f.regex.lastIndex += h.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6376
6244
|
break;
|
|
6377
6245
|
}
|
|
6378
6246
|
}), e;
|
|
6379
6247
|
}
|
|
6380
6248
|
nest(e, t) {
|
|
6381
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o,
|
|
6249
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, h;
|
|
6382
6250
|
const a = (C, d) => {
|
|
6383
6251
|
const l = this.nestingOptionsSeparator;
|
|
6384
6252
|
if (C.indexOf(l) < 0) return C;
|
|
6385
|
-
const
|
|
6386
|
-
let g = `{${
|
|
6387
|
-
C =
|
|
6388
|
-
const
|
|
6389
|
-
(
|
|
6253
|
+
const c = C.split(new RegExp(`${l}[ ]*{`));
|
|
6254
|
+
let g = `{${c[1]}`;
|
|
6255
|
+
C = c[0], g = this.interpolate(g, h);
|
|
6256
|
+
const f = g.match(/'/g), k = g.match(/"/g);
|
|
6257
|
+
(f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6390
6258
|
try {
|
|
6391
|
-
|
|
6259
|
+
h = JSON.parse(g), d && (h = {
|
|
6392
6260
|
...d,
|
|
6393
|
-
...
|
|
6261
|
+
...h
|
|
6394
6262
|
});
|
|
6395
6263
|
} catch (N) {
|
|
6396
6264
|
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, N), `${C}${l}${g}`;
|
|
6397
6265
|
}
|
|
6398
|
-
return
|
|
6266
|
+
return h.defaultValue && h.defaultValue.indexOf(this.prefix) > -1 && delete h.defaultValue, C;
|
|
6399
6267
|
};
|
|
6400
6268
|
for (; n = this.nestingRegexp.exec(e); ) {
|
|
6401
6269
|
let C = [];
|
|
6402
|
-
|
|
6270
|
+
h = {
|
|
6403
6271
|
...s
|
|
6404
|
-
},
|
|
6272
|
+
}, h = h.replace && !v(h.replace) ? h.replace : h, h.applyPostProcessor = !1, delete h.defaultValue;
|
|
6405
6273
|
let d = !1;
|
|
6406
6274
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6407
|
-
const l = n[1].split(this.formatSeparator).map((
|
|
6275
|
+
const l = n[1].split(this.formatSeparator).map((c) => c.trim());
|
|
6408
6276
|
n[1] = l.shift(), C = l, d = !0;
|
|
6409
6277
|
}
|
|
6410
|
-
if (o = t(a.call(this, n[1].trim(),
|
|
6411
|
-
v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l,
|
|
6278
|
+
if (o = t(a.call(this, n[1].trim(), h), h), o && n[0] === e && !v(o)) return o;
|
|
6279
|
+
v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, c) => this.format(l, c, s.lng, {
|
|
6412
6280
|
...s,
|
|
6413
6281
|
interpolationkey: n[1].trim()
|
|
6414
6282
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6416,16 +6284,16 @@ class S7 {
|
|
|
6416
6284
|
return e;
|
|
6417
6285
|
}
|
|
6418
6286
|
}
|
|
6419
|
-
const
|
|
6287
|
+
const O7 = (i) => {
|
|
6420
6288
|
let e = i.toLowerCase().trim();
|
|
6421
6289
|
const t = {};
|
|
6422
6290
|
if (i.indexOf("(") > -1) {
|
|
6423
6291
|
const s = i.split("(");
|
|
6424
6292
|
e = s[0].toLowerCase().trim();
|
|
6425
6293
|
const n = s[1].substring(0, s[1].length - 1);
|
|
6426
|
-
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((
|
|
6427
|
-
if (
|
|
6428
|
-
const [a, ...C] =
|
|
6294
|
+
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((h) => {
|
|
6295
|
+
if (h) {
|
|
6296
|
+
const [a, ...C] = h.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
|
|
6429
6297
|
t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
|
|
6430
6298
|
}
|
|
6431
6299
|
});
|
|
@@ -6442,12 +6310,12 @@ const D7 = (i) => {
|
|
|
6442
6310
|
...o,
|
|
6443
6311
|
[n.interpolationkey]: void 0
|
|
6444
6312
|
});
|
|
6445
|
-
const
|
|
6446
|
-
let a = e[
|
|
6447
|
-
return a || (a = i(
|
|
6313
|
+
const h = s + JSON.stringify(o);
|
|
6314
|
+
let a = e[h];
|
|
6315
|
+
return a || (a = i(f1(s), n), e[h] = a), a(t);
|
|
6448
6316
|
};
|
|
6449
6317
|
};
|
|
6450
|
-
class
|
|
6318
|
+
class S7 {
|
|
6451
6319
|
constructor() {
|
|
6452
6320
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6453
6321
|
this.logger = B.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6507,12 +6375,12 @@ class G7 {
|
|
|
6507
6375
|
const {
|
|
6508
6376
|
formatName: d,
|
|
6509
6377
|
formatOptions: l
|
|
6510
|
-
} =
|
|
6378
|
+
} = O7(C);
|
|
6511
6379
|
if (this.formats[d]) {
|
|
6512
|
-
let
|
|
6380
|
+
let c = a;
|
|
6513
6381
|
try {
|
|
6514
|
-
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {},
|
|
6515
|
-
|
|
6382
|
+
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = g.locale || g.lng || n.locale || n.lng || s;
|
|
6383
|
+
c = this.formats[d](a, f, {
|
|
6516
6384
|
...l,
|
|
6517
6385
|
...n,
|
|
6518
6386
|
...g
|
|
@@ -6520,61 +6388,61 @@ class G7 {
|
|
|
6520
6388
|
} catch (g) {
|
|
6521
6389
|
this.logger.warn(g);
|
|
6522
6390
|
}
|
|
6523
|
-
return
|
|
6391
|
+
return c;
|
|
6524
6392
|
} else
|
|
6525
6393
|
this.logger.warn(`there was no format function for ${d}`);
|
|
6526
6394
|
return a;
|
|
6527
6395
|
}, e);
|
|
6528
6396
|
}
|
|
6529
6397
|
}
|
|
6530
|
-
const
|
|
6398
|
+
const D7 = (i, e) => {
|
|
6531
6399
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6532
6400
|
};
|
|
6533
|
-
class
|
|
6401
|
+
class G7 extends L1 {
|
|
6534
6402
|
constructor(e, t, s) {
|
|
6535
6403
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6536
6404
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = B.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
|
6537
6405
|
}
|
|
6538
6406
|
queueLoad(e, t, s, n) {
|
|
6539
|
-
const o = {},
|
|
6407
|
+
const o = {}, h = {}, a = {}, C = {};
|
|
6540
6408
|
return e.forEach((d) => {
|
|
6541
6409
|
let l = !0;
|
|
6542
|
-
t.forEach((
|
|
6543
|
-
const g = `${d}|${
|
|
6544
|
-
!s.reload && this.store.hasResourceBundle(d,
|
|
6410
|
+
t.forEach((c) => {
|
|
6411
|
+
const g = `${d}|${c}`;
|
|
6412
|
+
!s.reload && this.store.hasResourceBundle(d, c) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? h[g] === void 0 && (h[g] = !0) : (this.state[g] = 1, l = !1, h[g] === void 0 && (h[g] = !0), o[g] === void 0 && (o[g] = !0), C[c] === void 0 && (C[c] = !0)));
|
|
6545
6413
|
}), l || (a[d] = !0);
|
|
6546
|
-
}), (Object.keys(o).length || Object.keys(
|
|
6547
|
-
pending:
|
|
6548
|
-
pendingCount: Object.keys(
|
|
6414
|
+
}), (Object.keys(o).length || Object.keys(h).length) && this.queue.push({
|
|
6415
|
+
pending: h,
|
|
6416
|
+
pendingCount: Object.keys(h).length,
|
|
6549
6417
|
loaded: {},
|
|
6550
6418
|
errors: [],
|
|
6551
6419
|
callback: n
|
|
6552
6420
|
}), {
|
|
6553
6421
|
toLoad: Object.keys(o),
|
|
6554
|
-
pending: Object.keys(
|
|
6422
|
+
pending: Object.keys(h),
|
|
6555
6423
|
toLoadLanguages: Object.keys(a),
|
|
6556
6424
|
toLoadNamespaces: Object.keys(C)
|
|
6557
6425
|
};
|
|
6558
6426
|
}
|
|
6559
6427
|
loaded(e, t, s) {
|
|
6560
|
-
const n = e.split("|"), o = n[0],
|
|
6561
|
-
t && this.emit("failedLoading", o,
|
|
6428
|
+
const n = e.split("|"), o = n[0], h = n[1];
|
|
6429
|
+
t && this.emit("failedLoading", o, h, t), !t && s && this.store.addResourceBundle(o, h, s, void 0, void 0, {
|
|
6562
6430
|
skipCopy: !0
|
|
6563
6431
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6564
6432
|
const a = {};
|
|
6565
6433
|
this.queue.forEach((C) => {
|
|
6566
|
-
|
|
6434
|
+
L7(C.loaded, [o], h), D7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6567
6435
|
a[d] || (a[d] = {});
|
|
6568
6436
|
const l = C.loaded[d];
|
|
6569
|
-
l.length && l.forEach((
|
|
6570
|
-
a[d][
|
|
6437
|
+
l.length && l.forEach((c) => {
|
|
6438
|
+
a[d][c] === void 0 && (a[d][c] = !0);
|
|
6571
6439
|
});
|
|
6572
6440
|
}), C.done = !0, C.errors.length ? C.callback(C.errors) : C.callback());
|
|
6573
6441
|
}), this.emit("loaded", a), this.queue = this.queue.filter((C) => !C.done);
|
|
6574
6442
|
}
|
|
6575
6443
|
read(e, t, s) {
|
|
6576
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout,
|
|
6577
|
-
if (!e.length) return
|
|
6444
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, h = arguments.length > 5 ? arguments[5] : void 0;
|
|
6445
|
+
if (!e.length) return h(null, {});
|
|
6578
6446
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
6579
6447
|
this.waitingReads.push({
|
|
6580
6448
|
lng: e,
|
|
@@ -6582,23 +6450,23 @@ class K7 extends L1 {
|
|
|
6582
6450
|
fcName: s,
|
|
6583
6451
|
tried: n,
|
|
6584
6452
|
wait: o,
|
|
6585
|
-
callback:
|
|
6453
|
+
callback: h
|
|
6586
6454
|
});
|
|
6587
6455
|
return;
|
|
6588
6456
|
}
|
|
6589
6457
|
this.readingCalls++;
|
|
6590
6458
|
const a = (d, l) => {
|
|
6591
6459
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
6592
|
-
const
|
|
6593
|
-
this.read(
|
|
6460
|
+
const c = this.waitingReads.shift();
|
|
6461
|
+
this.read(c.lng, c.ns, c.fcName, c.tried, c.wait, c.callback);
|
|
6594
6462
|
}
|
|
6595
6463
|
if (d && l && n < this.maxRetries) {
|
|
6596
6464
|
setTimeout(() => {
|
|
6597
|
-
this.read.call(this, e, t, s, n + 1, o * 2,
|
|
6465
|
+
this.read.call(this, e, t, s, n + 1, o * 2, h);
|
|
6598
6466
|
}, o);
|
|
6599
6467
|
return;
|
|
6600
6468
|
}
|
|
6601
|
-
|
|
6469
|
+
h(d, l);
|
|
6602
6470
|
}, C = this.backend[s].bind(this.backend);
|
|
6603
6471
|
if (C.length === 2) {
|
|
6604
6472
|
try {
|
|
@@ -6619,8 +6487,8 @@ class K7 extends L1 {
|
|
|
6619
6487
|
const o = this.queueLoad(e, t, s, n);
|
|
6620
6488
|
if (!o.toLoad.length)
|
|
6621
6489
|
return o.pending.length || n(), null;
|
|
6622
|
-
o.toLoad.forEach((
|
|
6623
|
-
this.loadOne(
|
|
6490
|
+
o.toLoad.forEach((h) => {
|
|
6491
|
+
this.loadOne(h);
|
|
6624
6492
|
});
|
|
6625
6493
|
}
|
|
6626
6494
|
load(e, t, s) {
|
|
@@ -6634,12 +6502,12 @@ class K7 extends L1 {
|
|
|
6634
6502
|
loadOne(e) {
|
|
6635
6503
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
6636
6504
|
const s = e.split("|"), n = s[0], o = s[1];
|
|
6637
|
-
this.read(n, o, "read", void 0, void 0, (
|
|
6638
|
-
|
|
6505
|
+
this.read(n, o, "read", void 0, void 0, (h, a) => {
|
|
6506
|
+
h && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, h), !h && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, h, a);
|
|
6639
6507
|
});
|
|
6640
6508
|
}
|
|
6641
6509
|
saveMissing(e, t, s, n, o) {
|
|
6642
|
-
let
|
|
6510
|
+
let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
|
|
6643
6511
|
};
|
|
6644
6512
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
|
|
6645
6513
|
this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
|
|
@@ -6648,13 +6516,13 @@ class K7 extends L1 {
|
|
|
6648
6516
|
if (!(s == null || s === "")) {
|
|
6649
6517
|
if (this.backend && this.backend.create) {
|
|
6650
6518
|
const C = {
|
|
6651
|
-
...
|
|
6519
|
+
...h,
|
|
6652
6520
|
isUpdate: o
|
|
6653
6521
|
}, d = this.backend.create.bind(this.backend);
|
|
6654
6522
|
if (d.length < 6)
|
|
6655
6523
|
try {
|
|
6656
6524
|
let l;
|
|
6657
|
-
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((
|
|
6525
|
+
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((c) => a(null, c)).catch(a) : a(null, l);
|
|
6658
6526
|
} catch (l) {
|
|
6659
6527
|
a(l);
|
|
6660
6528
|
}
|
|
@@ -6722,7 +6590,7 @@ const $1 = () => ({
|
|
|
6722
6590
|
skipOnVariables: !0
|
|
6723
6591
|
}
|
|
6724
6592
|
}), F1 = (i) => (v(i.ns) && (i.ns = [i.ns]), v(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), v(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), g1 = () => {
|
|
6725
|
-
},
|
|
6593
|
+
}, T7 = (i) => {
|
|
6726
6594
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6727
6595
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6728
6596
|
});
|
|
@@ -6732,7 +6600,7 @@ class l1 extends L1 {
|
|
|
6732
6600
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6733
6601
|
if (super(), this.options = F1(e), this.services = {}, this.logger = B, this.modules = {
|
|
6734
6602
|
external: []
|
|
6735
|
-
},
|
|
6603
|
+
}, T7(this), t && !this.isInitialized && !e.isClone) {
|
|
6736
6604
|
if (!this.options.initImmediate)
|
|
6737
6605
|
return this.init(e, t), this;
|
|
6738
6606
|
setTimeout(() => {
|
|
@@ -6757,26 +6625,26 @@ class l1 extends L1 {
|
|
|
6757
6625
|
if (!this.options.isClone) {
|
|
6758
6626
|
this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
|
|
6759
6627
|
let l;
|
|
6760
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
6761
|
-
const
|
|
6628
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = S7);
|
|
6629
|
+
const c = new P1(this.options);
|
|
6762
6630
|
this.store = new K1(this.options.resources, this.options);
|
|
6763
6631
|
const g = this.services;
|
|
6764
|
-
g.logger = B, g.resourceStore = this.store, g.languageUtils =
|
|
6632
|
+
g.logger = B, g.resourceStore = this.store, g.languageUtils = c, g.pluralResolver = new A7(c, {
|
|
6765
6633
|
prepend: this.options.pluralSeparator,
|
|
6766
6634
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6767
6635
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6768
|
-
}), 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
|
|
6636
|
+
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new Z7(this.options), g.utils = {
|
|
6769
6637
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6770
|
-
}, g.backendConnector = new
|
|
6771
|
-
for (var
|
|
6638
|
+
}, g.backendConnector = new G7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
|
|
6639
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
6772
6640
|
N[m - 1] = arguments[m];
|
|
6773
|
-
e.emit(
|
|
6774
|
-
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(
|
|
6775
|
-
for (var
|
|
6641
|
+
e.emit(f, ...N);
|
|
6642
|
+
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new m1(this.services, this.options), this.translator.on("*", function(f) {
|
|
6643
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
6776
6644
|
N[m - 1] = arguments[m];
|
|
6777
|
-
e.emit(
|
|
6778
|
-
}), this.modules.external.forEach((
|
|
6779
|
-
|
|
6645
|
+
e.emit(f, ...N);
|
|
6646
|
+
}), this.modules.external.forEach((f) => {
|
|
6647
|
+
f.init && f.init(this);
|
|
6780
6648
|
});
|
|
6781
6649
|
}
|
|
6782
6650
|
if (this.format = this.options.interpolation.format, s || (s = g1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
@@ -6793,8 +6661,8 @@ class l1 extends L1 {
|
|
|
6793
6661
|
};
|
|
6794
6662
|
});
|
|
6795
6663
|
const C = n1(), d = () => {
|
|
6796
|
-
const l = (
|
|
6797
|
-
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(
|
|
6664
|
+
const l = (c, g) => {
|
|
6665
|
+
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(c, g);
|
|
6798
6666
|
};
|
|
6799
6667
|
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
|
|
6800
6668
|
this.changeLanguage(this.options.lng, l);
|
|
@@ -6806,13 +6674,13 @@ class l1 extends L1 {
|
|
|
6806
6674
|
const n = v(e) ? e : this.language;
|
|
6807
6675
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6808
6676
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
6809
|
-
const o = [],
|
|
6677
|
+
const o = [], h = (a) => {
|
|
6810
6678
|
if (!a || a === "cimode") return;
|
|
6811
6679
|
this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
|
|
6812
6680
|
d !== "cimode" && o.indexOf(d) < 0 && o.push(d);
|
|
6813
6681
|
});
|
|
6814
6682
|
};
|
|
6815
|
-
n ?
|
|
6683
|
+
n ? h(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => h(C)), this.options.preload && this.options.preload.forEach((a) => h(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
|
|
6816
6684
|
!a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(a);
|
|
6817
6685
|
});
|
|
6818
6686
|
} else
|
|
@@ -6846,7 +6714,7 @@ class l1 extends L1 {
|
|
|
6846
6714
|
this.emit("languageChanging", e);
|
|
6847
6715
|
const o = (C) => {
|
|
6848
6716
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
6849
|
-
},
|
|
6717
|
+
}, h = (C, d) => {
|
|
6850
6718
|
d ? (o(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, n.resolve(function() {
|
|
6851
6719
|
return s.t(...arguments);
|
|
6852
6720
|
}), t && t(C, function() {
|
|
@@ -6856,27 +6724,27 @@ class l1 extends L1 {
|
|
|
6856
6724
|
!e && !C && this.services.languageDetector && (C = []);
|
|
6857
6725
|
const d = v(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
6858
6726
|
d && (this.language || o(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
|
|
6859
|
-
|
|
6727
|
+
h(l, d);
|
|
6860
6728
|
});
|
|
6861
6729
|
};
|
|
6862
6730
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n;
|
|
6863
6731
|
}
|
|
6864
6732
|
getFixedT(e, t, s) {
|
|
6865
6733
|
var n = this;
|
|
6866
|
-
const o = function(
|
|
6734
|
+
const o = function(h, a) {
|
|
6867
6735
|
let C;
|
|
6868
6736
|
if (typeof a != "object") {
|
|
6869
|
-
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0),
|
|
6870
|
-
l[
|
|
6871
|
-
C = n.options.overloadTranslationOptionHandler([
|
|
6737
|
+
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), c = 2; c < d; c++)
|
|
6738
|
+
l[c - 2] = arguments[c];
|
|
6739
|
+
C = n.options.overloadTranslationOptionHandler([h, a].concat(l));
|
|
6872
6740
|
} else
|
|
6873
6741
|
C = {
|
|
6874
6742
|
...a
|
|
6875
6743
|
};
|
|
6876
6744
|
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);
|
|
6877
6745
|
const g = n.options.keySeparator || ".";
|
|
6878
|
-
let
|
|
6879
|
-
return C.keyPrefix && Array.isArray(
|
|
6746
|
+
let f;
|
|
6747
|
+
return C.keyPrefix && Array.isArray(h) ? f = h.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${h}` : h, n.t(f, C);
|
|
6880
6748
|
};
|
|
6881
6749
|
return v(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
6882
6750
|
}
|
|
@@ -6897,15 +6765,15 @@ class l1 extends L1 {
|
|
|
6897
6765
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
6898
6766
|
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, o = this.languages[this.languages.length - 1];
|
|
6899
6767
|
if (s.toLowerCase() === "cimode") return !0;
|
|
6900
|
-
const
|
|
6768
|
+
const h = (a, C) => {
|
|
6901
6769
|
const d = this.services.backendConnector.state[`${a}|${C}`];
|
|
6902
6770
|
return d === -1 || d === 0 || d === 2;
|
|
6903
6771
|
};
|
|
6904
6772
|
if (t.precheck) {
|
|
6905
|
-
const a = t.precheck(this,
|
|
6773
|
+
const a = t.precheck(this, h);
|
|
6906
6774
|
if (a !== void 0) return a;
|
|
6907
6775
|
}
|
|
6908
|
-
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages ||
|
|
6776
|
+
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || h(s, e) && (!n || h(o, e)));
|
|
6909
6777
|
}
|
|
6910
6778
|
loadNamespaces(e, t) {
|
|
6911
6779
|
const s = n1();
|
|
@@ -6918,9 +6786,9 @@ class l1 extends L1 {
|
|
|
6918
6786
|
loadLanguages(e, t) {
|
|
6919
6787
|
const s = n1();
|
|
6920
6788
|
v(e) && (e = [e]);
|
|
6921
|
-
const n = this.options.preload || [], o = e.filter((
|
|
6922
|
-
return o.length ? (this.options.preload = n.concat(o), this.loadResources((
|
|
6923
|
-
s.resolve(), t && t(
|
|
6789
|
+
const n = this.options.preload || [], o = e.filter((h) => n.indexOf(h) < 0 && this.services.languageUtils.isSupportedCode(h));
|
|
6790
|
+
return o.length ? (this.options.preload = n.concat(o), this.loadResources((h) => {
|
|
6791
|
+
s.resolve(), t && t(h);
|
|
6924
6792
|
}), s) : (t && t(), Promise.resolve());
|
|
6925
6793
|
}
|
|
6926
6794
|
dir(e) {
|
|
@@ -6965,23 +6833,23 @@ class l1 extends L1 {
|
|
|
6965
6833
|
};
|
|
6966
6834
|
}
|
|
6967
6835
|
}
|
|
6968
|
-
const
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
function
|
|
6836
|
+
const Z = l1.createInstance();
|
|
6837
|
+
Z.createInstance = l1.createInstance;
|
|
6838
|
+
Z.createInstance;
|
|
6839
|
+
Z.dir;
|
|
6840
|
+
Z.init;
|
|
6841
|
+
Z.loadResources;
|
|
6842
|
+
Z.reloadResources;
|
|
6843
|
+
Z.use;
|
|
6844
|
+
Z.changeLanguage;
|
|
6845
|
+
Z.getFixedT;
|
|
6846
|
+
Z.t;
|
|
6847
|
+
Z.exists;
|
|
6848
|
+
Z.setDefaultNamespace;
|
|
6849
|
+
Z.hasLoadedNamespace;
|
|
6850
|
+
Z.loadNamespaces;
|
|
6851
|
+
Z.loadLanguages;
|
|
6852
|
+
function K7() {
|
|
6985
6853
|
if (console && console.warn) {
|
|
6986
6854
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6987
6855
|
e[t] = arguments[t];
|
|
@@ -6992,7 +6860,7 @@ const W1 = {};
|
|
|
6992
6860
|
function _1() {
|
|
6993
6861
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6994
6862
|
e[t] = arguments[t];
|
|
6995
|
-
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()),
|
|
6863
|
+
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), K7(...e));
|
|
6996
6864
|
}
|
|
6997
6865
|
const r2 = (i, e) => () => {
|
|
6998
6866
|
if (i.isInitialized)
|
|
@@ -7011,24 +6879,24 @@ const r2 = (i, e) => () => {
|
|
|
7011
6879
|
z(t) && (t = [t]), t.forEach((n) => {
|
|
7012
6880
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7013
6881
|
}), i.loadLanguages(e, r2(i, s));
|
|
7014
|
-
},
|
|
6882
|
+
}, B7 = function(i, e) {
|
|
7015
6883
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7016
6884
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7017
6885
|
if (s.toLowerCase() === "cimode") return !0;
|
|
7018
|
-
const
|
|
6886
|
+
const h = (a, C) => {
|
|
7019
6887
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
7020
6888
|
return d === -1 || d === 2;
|
|
7021
6889
|
};
|
|
7022
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
7023
|
-
},
|
|
6890
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
|
|
6891
|
+
}, P7 = function(i, e) {
|
|
7024
6892
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7025
6893
|
return !e.languages || !e.languages.length ? (_1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7026
6894
|
lng: t.lng,
|
|
7027
6895
|
precheck: (n, o) => {
|
|
7028
6896
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
7029
6897
|
}
|
|
7030
|
-
}) :
|
|
7031
|
-
}, z = (i) => typeof i == "string",
|
|
6898
|
+
}) : B7(i, e, t);
|
|
6899
|
+
}, z = (i) => typeof i == "string", Y7 = (i) => typeof i == "object" && i !== null, j7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, $7 = {
|
|
7032
6900
|
"&": "&",
|
|
7033
6901
|
"&": "&",
|
|
7034
6902
|
"<": "<",
|
|
@@ -7049,7 +6917,7 @@ const r2 = (i, e) => () => {
|
|
|
7049
6917
|
"…": "…",
|
|
7050
6918
|
"/": "/",
|
|
7051
6919
|
"/": "/"
|
|
7052
|
-
},
|
|
6920
|
+
}, F7 = (i) => $7[i], W7 = (i) => i.replace(j7, F7);
|
|
7053
6921
|
let b1 = {
|
|
7054
6922
|
bindI18n: "languageChanged",
|
|
7055
6923
|
bindI18nStore: "",
|
|
@@ -7058,25 +6926,25 @@ let b1 = {
|
|
|
7058
6926
|
transWrapTextNodes: "",
|
|
7059
6927
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7060
6928
|
useSuspense: !0,
|
|
7061
|
-
unescape:
|
|
6929
|
+
unescape: W7
|
|
7062
6930
|
};
|
|
7063
|
-
const
|
|
6931
|
+
const U7 = function() {
|
|
7064
6932
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7065
6933
|
b1 = {
|
|
7066
6934
|
...b1,
|
|
7067
6935
|
...i
|
|
7068
6936
|
};
|
|
7069
|
-
},
|
|
6937
|
+
}, z7 = () => b1;
|
|
7070
6938
|
let o2;
|
|
7071
|
-
const
|
|
6939
|
+
const J7 = (i) => {
|
|
7072
6940
|
o2 = i;
|
|
7073
|
-
},
|
|
6941
|
+
}, Q7 = () => o2, q7 = {
|
|
7074
6942
|
type: "3rdParty",
|
|
7075
6943
|
init(i) {
|
|
7076
|
-
|
|
6944
|
+
U7(i.options.react), J7(i);
|
|
7077
6945
|
}
|
|
7078
|
-
},
|
|
7079
|
-
class
|
|
6946
|
+
}, X7 = t1();
|
|
6947
|
+
class et {
|
|
7080
6948
|
constructor() {
|
|
7081
6949
|
V1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7082
6950
|
this.usedNamespaces = {};
|
|
@@ -7087,81 +6955,81 @@ class i0 {
|
|
|
7087
6955
|
});
|
|
7088
6956
|
}
|
|
7089
6957
|
}
|
|
7090
|
-
const
|
|
6958
|
+
const tt = (i, e) => {
|
|
7091
6959
|
const t = J();
|
|
7092
6960
|
return A(() => {
|
|
7093
6961
|
t.current = i;
|
|
7094
6962
|
}, [i, e]), t.current;
|
|
7095
|
-
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
6963
|
+
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), it = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), st = function(i) {
|
|
7096
6964
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7097
6965
|
const {
|
|
7098
6966
|
i18n: t
|
|
7099
6967
|
} = e, {
|
|
7100
6968
|
i18n: s,
|
|
7101
6969
|
defaultNS: n
|
|
7102
|
-
} = Q(
|
|
7103
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
6970
|
+
} = Q(X7) || {}, o = t || s || Q7();
|
|
6971
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new et()), !o) {
|
|
7104
6972
|
_1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7105
|
-
const
|
|
7106
|
-
return _.t =
|
|
6973
|
+
const p = (R, x) => z(x) ? x : Y7(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
|
|
6974
|
+
return _.t = p, _.i18n = {}, _.ready = !1, _;
|
|
7107
6975
|
}
|
|
7108
6976
|
o.options.react && o.options.react.wait !== void 0 && _1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7109
|
-
const
|
|
7110
|
-
...
|
|
6977
|
+
const h = {
|
|
6978
|
+
...z7(),
|
|
7111
6979
|
...o.options.react,
|
|
7112
6980
|
...e
|
|
7113
6981
|
}, {
|
|
7114
6982
|
useSuspense: a,
|
|
7115
6983
|
keyPrefix: C
|
|
7116
|
-
} =
|
|
6984
|
+
} = h;
|
|
7117
6985
|
let d = i;
|
|
7118
6986
|
d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7119
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
6987
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => P7(p, o, h)), c = it(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => a2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
7120
6988
|
let m = d.join();
|
|
7121
6989
|
e.lng && (m = `${e.lng}${m}`);
|
|
7122
|
-
const y =
|
|
6990
|
+
const y = tt(m), b = J(!0);
|
|
7123
6991
|
A(() => {
|
|
7124
6992
|
const {
|
|
7125
|
-
bindI18n:
|
|
6993
|
+
bindI18n: p,
|
|
7126
6994
|
bindI18nStore: _
|
|
7127
|
-
} =
|
|
6995
|
+
} = h;
|
|
7128
6996
|
b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
|
|
7129
|
-
b.current && N(
|
|
6997
|
+
b.current && N(f);
|
|
7130
6998
|
}) : U1(o, d, () => {
|
|
7131
|
-
b.current && N(
|
|
7132
|
-
})), l && y && y !== m && b.current && N(
|
|
6999
|
+
b.current && N(f);
|
|
7000
|
+
})), l && y && y !== m && b.current && N(f);
|
|
7133
7001
|
const R = () => {
|
|
7134
|
-
b.current && N(
|
|
7002
|
+
b.current && N(f);
|
|
7135
7003
|
};
|
|
7136
|
-
return
|
|
7137
|
-
b.current = !1,
|
|
7004
|
+
return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
|
|
7005
|
+
b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
|
|
7138
7006
|
};
|
|
7139
7007
|
}, [o, m]), A(() => {
|
|
7140
7008
|
b.current && l && N(g);
|
|
7141
7009
|
}, [o, C, l]);
|
|
7142
|
-
const E = [
|
|
7143
|
-
if (E.t =
|
|
7144
|
-
throw new Promise((
|
|
7145
|
-
e.lng ? z1(o, e.lng, d, () =>
|
|
7010
|
+
const E = [k, o, l];
|
|
7011
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7012
|
+
throw new Promise((p) => {
|
|
7013
|
+
e.lng ? z1(o, e.lng, d, () => p()) : U1(o, d, () => p());
|
|
7146
7014
|
});
|
|
7147
|
-
},
|
|
7148
|
-
placeholder:
|
|
7149
|
-
},
|
|
7150
|
-
placeholder:
|
|
7015
|
+
}, nt = "Country", rt = {
|
|
7016
|
+
placeholder: nt
|
|
7017
|
+
}, ot = "Страна", at = {
|
|
7018
|
+
placeholder: ot
|
|
7151
7019
|
};
|
|
7152
|
-
|
|
7020
|
+
Z.use(q7).init({
|
|
7153
7021
|
defaultNS: "common",
|
|
7154
7022
|
lng: "en",
|
|
7155
7023
|
resources: {
|
|
7156
7024
|
en: {
|
|
7157
|
-
common:
|
|
7025
|
+
common: rt
|
|
7158
7026
|
},
|
|
7159
7027
|
ru: {
|
|
7160
|
-
common:
|
|
7028
|
+
common: at
|
|
7161
7029
|
}
|
|
7162
7030
|
}
|
|
7163
7031
|
});
|
|
7164
|
-
const
|
|
7032
|
+
const ft = w1(
|
|
7165
7033
|
({
|
|
7166
7034
|
width: i,
|
|
7167
7035
|
selectedCity: e,
|
|
@@ -7169,22 +7037,22 @@ const m0 = w1(
|
|
|
7169
7037
|
onChange: s,
|
|
7170
7038
|
value: n,
|
|
7171
7039
|
id: o,
|
|
7172
|
-
disabled:
|
|
7040
|
+
disabled: h,
|
|
7173
7041
|
required: a,
|
|
7174
7042
|
clearable: C,
|
|
7175
7043
|
error: d
|
|
7176
7044
|
}, l) => {
|
|
7177
|
-
const [
|
|
7045
|
+
const [c, g] = I([]), [f, k] = I([]), [N, m] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
|
|
7178
7046
|
if (!b)
|
|
7179
7047
|
throw new Error(
|
|
7180
7048
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7181
7049
|
Please provide it via SNMTUiContext.`
|
|
7182
7050
|
);
|
|
7183
|
-
const { t: E } =
|
|
7051
|
+
const { t: E } = st("common", { lng: y }), p = K(async () => {
|
|
7184
7052
|
m(!0);
|
|
7185
7053
|
try {
|
|
7186
7054
|
const R = await b.post("v1/countries/search");
|
|
7187
|
-
|
|
7055
|
+
k(R == null ? void 0 : R.data.data);
|
|
7188
7056
|
} catch {
|
|
7189
7057
|
g([]);
|
|
7190
7058
|
} finally {
|
|
@@ -7192,10 +7060,10 @@ const m0 = w1(
|
|
|
7192
7060
|
}
|
|
7193
7061
|
}, [b]);
|
|
7194
7062
|
A(() => {
|
|
7195
|
-
|
|
7063
|
+
p();
|
|
7196
7064
|
}, []), A(() => {
|
|
7197
7065
|
if (e) {
|
|
7198
|
-
const R = e.split("-")[1], x =
|
|
7066
|
+
const R = e.split("-")[1], x = f.filter(
|
|
7199
7067
|
(D) => D.name.includes(R)
|
|
7200
7068
|
);
|
|
7201
7069
|
if (x.length) {
|
|
@@ -7206,18 +7074,18 @@ const m0 = w1(
|
|
|
7206
7074
|
s(D[0].value);
|
|
7207
7075
|
}
|
|
7208
7076
|
}
|
|
7209
|
-
}, [e,
|
|
7210
|
-
const R =
|
|
7077
|
+
}, [e, f, s]), A(() => {
|
|
7078
|
+
const R = f.map((x) => ({
|
|
7211
7079
|
label: x.name,
|
|
7212
7080
|
value: x.name
|
|
7213
7081
|
}));
|
|
7214
7082
|
g(R);
|
|
7215
|
-
}, [
|
|
7083
|
+
}, [f]);
|
|
7216
7084
|
const _ = (R) => {
|
|
7217
7085
|
R === null ? (s(""), t && t("")) : (s(R), t && t(""));
|
|
7218
7086
|
};
|
|
7219
7087
|
return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
|
|
7220
|
-
|
|
7088
|
+
p7,
|
|
7221
7089
|
{
|
|
7222
7090
|
id: o,
|
|
7223
7091
|
width: i,
|
|
@@ -7225,8 +7093,8 @@ const m0 = w1(
|
|
|
7225
7093
|
value: n,
|
|
7226
7094
|
ref: l,
|
|
7227
7095
|
onChange: _,
|
|
7228
|
-
options:
|
|
7229
|
-
disabled:
|
|
7096
|
+
options: c,
|
|
7097
|
+
disabled: h,
|
|
7230
7098
|
isLoading: N,
|
|
7231
7099
|
required: a,
|
|
7232
7100
|
clearable: C,
|
|
@@ -7236,5 +7104,5 @@ const m0 = w1(
|
|
|
7236
7104
|
}
|
|
7237
7105
|
);
|
|
7238
7106
|
export {
|
|
7239
|
-
|
|
7107
|
+
ft as CountrySelect
|
|
7240
7108
|
};
|