@snmt-react-ui/city-select 2.8.7 → 2.8.9
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/city-select.js +1186 -1097
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
|
@@ -4,9 +4,9 @@ var G1 = (i, e, t) => w2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as L2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { forwardRef as L1, useState as O, useRef as W, useCallback as K, useEffect as
|
|
8
|
-
import { Select as v2, Tag as N2, Flex as R2, Checkbox as x2, Avatar as
|
|
9
|
-
var
|
|
7
|
+
import { forwardRef as L1, useState as O, useRef as W, useCallback as K, useEffect as S, useMemo as k2, useImperativeHandle as y1, useContext as r1, createContext as d1 } from "react";
|
|
8
|
+
import { Select as v2, Tag as N2, Flex as R2, Checkbox as x2, Avatar as _2, Typography as r2, Popover as M2 } from "antd";
|
|
9
|
+
var b2 = Object.defineProperty, y2 = (i, e, t) => e in i ? b2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, H2 = (i, e, t) => y2(i, e + "", t), E2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function V2() {
|
|
11
11
|
if (console && console.warn) {
|
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
@@ -41,11 +41,11 @@ const o2 = (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 c = (a, C) => {
|
|
45
45
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
46
46
|
return d === -1 || d === 2;
|
|
47
47
|
};
|
|
48
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
48
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
|
49
49
|
}, A2 = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
51
|
return !e.languages || !e.languages.length ? (A1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
@@ -54,7 +54,7 @@ const o2 = (i, e) => () => {
|
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
|
|
55
55
|
}
|
|
56
56
|
}) : I2(i, e, t);
|
|
57
|
-
}, s1 = (i) => typeof i == "string", O2 = (i) => typeof i == "object" && i !== null,
|
|
57
|
+
}, s1 = (i) => typeof i == "string", O2 = (i) => typeof i == "object" && i !== null, Z2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, S2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
@@ -75,7 +75,7 @@ const o2 = (i, e) => () => {
|
|
|
75
75
|
"…": "…",
|
|
76
76
|
"/": "/",
|
|
77
77
|
"/": "/"
|
|
78
|
-
}, D2 = (i) =>
|
|
78
|
+
}, D2 = (i) => S2[i], G2 = (i) => i.replace(Z2, D2);
|
|
79
79
|
let T2 = {
|
|
80
80
|
bindI18n: "languageChanged",
|
|
81
81
|
bindI18nStore: "",
|
|
@@ -88,8 +88,8 @@ let T2 = {
|
|
|
88
88
|
};
|
|
89
89
|
const K2 = () => T2;
|
|
90
90
|
let B2;
|
|
91
|
-
const P2 = () => B2,
|
|
92
|
-
class
|
|
91
|
+
const P2 = () => B2, Y2 = d1();
|
|
92
|
+
class j2 {
|
|
93
93
|
constructor() {
|
|
94
94
|
H2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
95
95
|
}
|
|
@@ -101,7 +101,7 @@ class Y2 {
|
|
|
101
101
|
}
|
|
102
102
|
const $2 = (i, e) => {
|
|
103
103
|
const t = W();
|
|
104
|
-
return
|
|
104
|
+
return S(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
107
|
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), F2 = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), W2 = function(i) {
|
|
@@ -111,48 +111,48 @@ const $2 = (i, e) => {
|
|
|
111
111
|
} = e, {
|
|
112
112
|
i18n: s,
|
|
113
113
|
defaultNS: n
|
|
114
|
-
} = r1(
|
|
115
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
114
|
+
} = r1(Y2) || {}, o = t || s || P2();
|
|
115
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new j2()), !o) {
|
|
116
116
|
A1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const p = (
|
|
118
|
-
return
|
|
117
|
+
const p = (_, N) => s1(N) ? N : O2(N) && s1(N.defaultValue) ? N.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, v = [p, {}, !1];
|
|
118
|
+
return v.t = p, v.i18n = {}, v.ready = !1, v;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && A1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
|
-
const
|
|
121
|
+
const c = {
|
|
122
122
|
...K2(),
|
|
123
123
|
...o.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
126
126
|
useSuspense: a,
|
|
127
127
|
keyPrefix: C
|
|
128
|
-
} =
|
|
128
|
+
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => A2(p, o,
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => A2(p, o, c)), h = F2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, R] = O(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
|
-
const y = $2(m),
|
|
135
|
-
|
|
134
|
+
const y = $2(m), b = W(!0);
|
|
135
|
+
S(() => {
|
|
136
136
|
const {
|
|
137
137
|
bindI18n: p,
|
|
138
|
-
bindI18nStore:
|
|
139
|
-
} =
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
bindI18nStore: v
|
|
139
|
+
} = c;
|
|
140
|
+
b.current = !0, !l && !a && (e.lng ? B1(o, e.lng, d, () => {
|
|
141
|
+
b.current && R(f);
|
|
142
142
|
}) : K1(o, d, () => {
|
|
143
|
-
|
|
144
|
-
})), l && y && y !== m &&
|
|
145
|
-
const
|
|
146
|
-
|
|
143
|
+
b.current && R(f);
|
|
144
|
+
})), l && y && y !== m && b.current && R(f);
|
|
145
|
+
const _ = () => {
|
|
146
|
+
b.current && R(f);
|
|
147
147
|
};
|
|
148
|
-
return p && o && o.on(p,
|
|
149
|
-
|
|
148
|
+
return p && o && o.on(p, _), v && o && o.store.on(v, _), () => {
|
|
149
|
+
b.current = !1, p && o && p.split(" ").forEach((N) => o.off(N, _)), v && o && v.split(" ").forEach((N) => o.store.off(N, _));
|
|
150
150
|
};
|
|
151
|
-
}, [o, m]),
|
|
152
|
-
|
|
151
|
+
}, [o, m]), S(() => {
|
|
152
|
+
b.current && l && R(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const E = [
|
|
155
|
-
if (E.t =
|
|
154
|
+
const E = [k, o, l];
|
|
155
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
156
|
throw new Promise((p) => {
|
|
157
157
|
e.lng ? B1(o, e.lng, d, () => p()) : K1(o, d, () => p());
|
|
158
158
|
});
|
|
@@ -163,7 +163,7 @@ const $2 = (i, e) => {
|
|
|
163
163
|
alignItems: s = "normal",
|
|
164
164
|
justifyContent: n = "normal",
|
|
165
165
|
flex: o,
|
|
166
|
-
gap:
|
|
166
|
+
gap: c,
|
|
167
167
|
padding: a
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
169
|
R2,
|
|
@@ -174,14 +174,14 @@ const $2 = (i, e) => {
|
|
|
174
174
|
align: s,
|
|
175
175
|
justify: n,
|
|
176
176
|
flex: o,
|
|
177
|
-
gap:
|
|
177
|
+
gap: c,
|
|
178
178
|
style: { padding: a },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
181
181
|
), U2 = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
182
182
|
const n = typeof s.src == "string";
|
|
183
183
|
return /* @__PURE__ */ r(
|
|
184
|
-
|
|
184
|
+
_2,
|
|
185
185
|
{
|
|
186
186
|
className: `snmt-avatar ${n ? "image" : ""}`,
|
|
187
187
|
shape: i,
|
|
@@ -206,8 +206,8 @@ const z2 = ({
|
|
|
206
206
|
disabled: n = !1,
|
|
207
207
|
disableUncheck: o = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [
|
|
210
|
-
|
|
209
|
+
const [c, a] = O(i), [C, d] = O(e);
|
|
210
|
+
S(() => {
|
|
211
211
|
a(i), d(e);
|
|
212
212
|
}, [i, e]);
|
|
213
213
|
const { theme: l } = r1(D1);
|
|
@@ -215,17 +215,17 @@ const z2 = ({
|
|
|
215
215
|
x2,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
218
|
-
checked:
|
|
218
|
+
checked: c,
|
|
219
219
|
indeterminate: C,
|
|
220
|
-
onChange: (
|
|
221
|
-
o &&
|
|
220
|
+
onChange: (h) => {
|
|
221
|
+
o && c || (d(!1), a(h.target.checked), s && s(h));
|
|
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 l2 = d1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
@@ -261,7 +261,7 @@ const J2 = ({
|
|
|
261
261
|
), q2 = ({
|
|
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,109 @@ const J2 = ({
|
|
|
336
336
|
), X2 = ({
|
|
337
337
|
width: i = 20,
|
|
338
338
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
339
|
+
color: t = w.GREY_DARK_5,
|
|
340
|
+
className: s,
|
|
341
|
+
onClick: n
|
|
342
|
+
}) => /* @__PURE__ */ u(
|
|
343
|
+
"svg",
|
|
344
|
+
{
|
|
345
|
+
width: i,
|
|
346
|
+
height: e,
|
|
347
|
+
className: s,
|
|
348
|
+
onClick: n,
|
|
349
|
+
viewBox: "0 0 25 25",
|
|
350
|
+
fill: "none",
|
|
351
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
352
|
+
children: [
|
|
353
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
354
|
+
"path",
|
|
355
|
+
{
|
|
356
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
357
|
+
fill: t
|
|
358
|
+
}
|
|
359
|
+
) }),
|
|
360
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
), e5 = ({
|
|
364
|
+
width: i = 20,
|
|
365
|
+
height: e = 20,
|
|
366
|
+
color: t = w.GREY_DARK_5,
|
|
367
|
+
className: s,
|
|
368
|
+
onClick: n
|
|
369
|
+
}) => /* @__PURE__ */ r(
|
|
370
|
+
"svg",
|
|
371
|
+
{
|
|
372
|
+
width: i,
|
|
373
|
+
height: e,
|
|
374
|
+
className: s,
|
|
375
|
+
onClick: n,
|
|
376
|
+
viewBox: "0 0 25 25",
|
|
377
|
+
fill: "none",
|
|
378
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
379
|
+
children: /* @__PURE__ */ r(
|
|
380
|
+
"path",
|
|
381
|
+
{
|
|
382
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
383
|
+
fill: t
|
|
384
|
+
}
|
|
385
|
+
)
|
|
386
|
+
}
|
|
387
|
+
), t5 = ({
|
|
388
|
+
width: i = 20,
|
|
389
|
+
height: e = 20,
|
|
390
|
+
color: t = w.GREY_DARK_5,
|
|
391
|
+
className: s,
|
|
392
|
+
onClick: n
|
|
393
|
+
}) => /* @__PURE__ */ u(
|
|
394
|
+
"svg",
|
|
395
|
+
{
|
|
396
|
+
width: i,
|
|
397
|
+
height: e,
|
|
398
|
+
className: s,
|
|
399
|
+
onClick: n,
|
|
400
|
+
viewBox: "0 0 25 25",
|
|
401
|
+
fill: "none",
|
|
402
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
405
|
+
"path",
|
|
406
|
+
{
|
|
407
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
408
|
+
fill: t
|
|
409
|
+
}
|
|
410
|
+
) }),
|
|
411
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
), i5 = ({
|
|
415
|
+
width: i = 20,
|
|
416
|
+
height: e = 20,
|
|
417
|
+
color: t = w.GREY_DARK_5,
|
|
418
|
+
className: s,
|
|
419
|
+
onClick: n
|
|
420
|
+
}) => /* @__PURE__ */ r(
|
|
421
|
+
"svg",
|
|
422
|
+
{
|
|
423
|
+
width: i,
|
|
424
|
+
height: e,
|
|
425
|
+
className: s,
|
|
426
|
+
onClick: n,
|
|
427
|
+
viewBox: "0 0 25 25",
|
|
428
|
+
fill: "none",
|
|
429
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
430
|
+
children: /* @__PURE__ */ r(
|
|
431
|
+
"path",
|
|
432
|
+
{
|
|
433
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
434
|
+
fill: t
|
|
435
|
+
}
|
|
436
|
+
)
|
|
437
|
+
}
|
|
438
|
+
), s5 = ({
|
|
439
|
+
width: i = 20,
|
|
440
|
+
height: e = 20,
|
|
441
|
+
color: t = w.GREY_DARK_5,
|
|
340
442
|
className: s,
|
|
341
443
|
onClick: n
|
|
342
444
|
}) => /* @__PURE__ */ u(
|
|
@@ -380,10 +482,10 @@ const J2 = ({
|
|
|
380
482
|
)
|
|
381
483
|
]
|
|
382
484
|
}
|
|
383
|
-
),
|
|
485
|
+
), n5 = ({
|
|
384
486
|
width: i = 20,
|
|
385
487
|
height: e = 20,
|
|
386
|
-
color: t =
|
|
488
|
+
color: t = w.GREY_DARK_5,
|
|
387
489
|
className: s,
|
|
388
490
|
onClick: n
|
|
389
491
|
}) => /* @__PURE__ */ r(
|
|
@@ -404,10 +506,10 @@ const J2 = ({
|
|
|
404
506
|
}
|
|
405
507
|
)
|
|
406
508
|
}
|
|
407
|
-
),
|
|
509
|
+
), r5 = ({
|
|
408
510
|
width: i = 20,
|
|
409
511
|
height: e = 20,
|
|
410
|
-
color: t =
|
|
512
|
+
color: t = w.GREY_DARK_5,
|
|
411
513
|
className: s,
|
|
412
514
|
onClick: n
|
|
413
515
|
}) => /* @__PURE__ */ r(
|
|
@@ -428,10 +530,10 @@ const J2 = ({
|
|
|
428
530
|
}
|
|
429
531
|
)
|
|
430
532
|
}
|
|
431
|
-
),
|
|
533
|
+
), o5 = ({
|
|
432
534
|
width: i = 20,
|
|
433
535
|
height: e = 20,
|
|
434
|
-
color: t =
|
|
536
|
+
color: t = w.GREY_DARK_5,
|
|
435
537
|
className: s,
|
|
436
538
|
onClick: n
|
|
437
539
|
}) => /* @__PURE__ */ r(
|
|
@@ -452,10 +554,10 @@ const J2 = ({
|
|
|
452
554
|
}
|
|
453
555
|
)
|
|
454
556
|
}
|
|
455
|
-
),
|
|
557
|
+
), a5 = ({
|
|
456
558
|
width: i = 20,
|
|
457
559
|
height: e = 20,
|
|
458
|
-
color: t =
|
|
560
|
+
color: t = w.GREY_DARK_5,
|
|
459
561
|
className: s,
|
|
460
562
|
onClick: n
|
|
461
563
|
}) => /* @__PURE__ */ u(
|
|
@@ -513,10 +615,10 @@ const J2 = ({
|
|
|
513
615
|
)
|
|
514
616
|
]
|
|
515
617
|
}
|
|
516
|
-
),
|
|
618
|
+
), l5 = ({
|
|
517
619
|
width: i = 20,
|
|
518
620
|
height: e = 20,
|
|
519
|
-
color: t =
|
|
621
|
+
color: t = w.GREY_DARK_5,
|
|
520
622
|
className: s,
|
|
521
623
|
onClick: n
|
|
522
624
|
}) => /* @__PURE__ */ u(
|
|
@@ -560,10 +662,10 @@ const J2 = ({
|
|
|
560
662
|
)
|
|
561
663
|
]
|
|
562
664
|
}
|
|
563
|
-
),
|
|
665
|
+
), h5 = ({
|
|
564
666
|
width: i = 20,
|
|
565
667
|
height: e = 20,
|
|
566
|
-
color: t =
|
|
668
|
+
color: t = w.GREY_DARK_5,
|
|
567
669
|
className: s,
|
|
568
670
|
onClick: n
|
|
569
671
|
}) => /* @__PURE__ */ u(
|
|
@@ -600,10 +702,10 @@ const J2 = ({
|
|
|
600
702
|
)
|
|
601
703
|
]
|
|
602
704
|
}
|
|
603
|
-
),
|
|
705
|
+
), c5 = ({
|
|
604
706
|
width: i = 20,
|
|
605
707
|
height: e = 20,
|
|
606
|
-
color: t =
|
|
708
|
+
color: t = w.GREY_DARK_5,
|
|
607
709
|
className: s,
|
|
608
710
|
onClick: n
|
|
609
711
|
}) => /* @__PURE__ */ u(
|
|
@@ -640,10 +742,10 @@ const J2 = ({
|
|
|
640
742
|
)
|
|
641
743
|
]
|
|
642
744
|
}
|
|
643
|
-
),
|
|
745
|
+
), d5 = ({
|
|
644
746
|
width: i = 20,
|
|
645
747
|
height: e = 20,
|
|
646
|
-
color: t =
|
|
748
|
+
color: t = w.GREY_DARK_5,
|
|
647
749
|
className: s,
|
|
648
750
|
onClick: n
|
|
649
751
|
}) => /* @__PURE__ */ u(
|
|
@@ -687,10 +789,10 @@ const J2 = ({
|
|
|
687
789
|
)
|
|
688
790
|
]
|
|
689
791
|
}
|
|
690
|
-
),
|
|
792
|
+
), C5 = ({
|
|
691
793
|
width: i = 20,
|
|
692
794
|
height: e = 20,
|
|
693
|
-
color: t =
|
|
795
|
+
color: t = w.GREY_DARK_5,
|
|
694
796
|
className: s,
|
|
695
797
|
onClick: n
|
|
696
798
|
}) => /* @__PURE__ */ u(
|
|
@@ -734,10 +836,10 @@ const J2 = ({
|
|
|
734
836
|
)
|
|
735
837
|
]
|
|
736
838
|
}
|
|
737
|
-
),
|
|
839
|
+
), g5 = ({
|
|
738
840
|
width: i = 20,
|
|
739
841
|
height: e = 20,
|
|
740
|
-
color: t =
|
|
842
|
+
color: t = w.GREY_DARK_5,
|
|
741
843
|
className: s,
|
|
742
844
|
onClick: n
|
|
743
845
|
}) => /* @__PURE__ */ u(
|
|
@@ -781,10 +883,10 @@ const J2 = ({
|
|
|
781
883
|
)
|
|
782
884
|
]
|
|
783
885
|
}
|
|
784
|
-
),
|
|
886
|
+
), u5 = ({
|
|
785
887
|
width: i = 20,
|
|
786
888
|
height: e = 20,
|
|
787
|
-
color: t =
|
|
889
|
+
color: t = w.GREY_DARK_5,
|
|
788
890
|
className: s,
|
|
789
891
|
onClick: n
|
|
790
892
|
}) => /* @__PURE__ */ u(
|
|
@@ -821,10 +923,10 @@ const J2 = ({
|
|
|
821
923
|
)
|
|
822
924
|
]
|
|
823
925
|
}
|
|
824
|
-
),
|
|
926
|
+
), f5 = ({
|
|
825
927
|
width: i = 20,
|
|
826
928
|
height: e = 20,
|
|
827
|
-
color: t =
|
|
929
|
+
color: t = w.GREY_DARK_5,
|
|
828
930
|
className: s,
|
|
829
931
|
onClick: n
|
|
830
932
|
}) => /* @__PURE__ */ u(
|
|
@@ -854,10 +956,10 @@ const J2 = ({
|
|
|
854
956
|
)
|
|
855
957
|
]
|
|
856
958
|
}
|
|
857
|
-
),
|
|
959
|
+
), p5 = ({
|
|
858
960
|
width: i = 20,
|
|
859
961
|
height: e = 20,
|
|
860
|
-
color: t =
|
|
962
|
+
color: t = w.GREY_DARK_5,
|
|
861
963
|
className: s,
|
|
862
964
|
onClick: n
|
|
863
965
|
}) => /* @__PURE__ */ u(
|
|
@@ -887,10 +989,10 @@ const J2 = ({
|
|
|
887
989
|
)
|
|
888
990
|
]
|
|
889
991
|
}
|
|
890
|
-
),
|
|
992
|
+
), m5 = ({
|
|
891
993
|
width: i = 20,
|
|
892
994
|
height: e = 20,
|
|
893
|
-
color: t =
|
|
995
|
+
color: t = w.GREY_DARK_5,
|
|
894
996
|
className: s,
|
|
895
997
|
onClick: n
|
|
896
998
|
}) => /* @__PURE__ */ u(
|
|
@@ -920,10 +1022,10 @@ const J2 = ({
|
|
|
920
1022
|
)
|
|
921
1023
|
]
|
|
922
1024
|
}
|
|
923
|
-
),
|
|
1025
|
+
), w5 = ({
|
|
924
1026
|
width: i = 20,
|
|
925
1027
|
height: e = 20,
|
|
926
|
-
color: t =
|
|
1028
|
+
color: t = w.GREY_DARK_5,
|
|
927
1029
|
className: s,
|
|
928
1030
|
onClick: n
|
|
929
1031
|
}) => /* @__PURE__ */ u(
|
|
@@ -953,10 +1055,10 @@ const J2 = ({
|
|
|
953
1055
|
)
|
|
954
1056
|
]
|
|
955
1057
|
}
|
|
956
|
-
),
|
|
1058
|
+
), L5 = ({
|
|
957
1059
|
width: i = 20,
|
|
958
1060
|
height: e = 20,
|
|
959
|
-
color: t =
|
|
1061
|
+
color: t = w.GREY_DARK_5,
|
|
960
1062
|
className: s,
|
|
961
1063
|
onClick: n
|
|
962
1064
|
}) => /* @__PURE__ */ u(
|
|
@@ -993,10 +1095,10 @@ const J2 = ({
|
|
|
993
1095
|
)
|
|
994
1096
|
]
|
|
995
1097
|
}
|
|
996
|
-
),
|
|
1098
|
+
), k5 = ({
|
|
997
1099
|
width: i = 20,
|
|
998
1100
|
height: e = 20,
|
|
999
|
-
color: t =
|
|
1101
|
+
color: t = w.GREY_DARK_5,
|
|
1000
1102
|
className: s,
|
|
1001
1103
|
onClick: n
|
|
1002
1104
|
}) => /* @__PURE__ */ u(
|
|
@@ -1026,10 +1128,10 @@ const J2 = ({
|
|
|
1026
1128
|
)
|
|
1027
1129
|
]
|
|
1028
1130
|
}
|
|
1029
|
-
),
|
|
1131
|
+
), v5 = ({
|
|
1030
1132
|
width: i = 20,
|
|
1031
1133
|
height: e = 20,
|
|
1032
|
-
color: t =
|
|
1134
|
+
color: t = w.GREY_DARK_5,
|
|
1033
1135
|
className: s,
|
|
1034
1136
|
onClick: n
|
|
1035
1137
|
}) => /* @__PURE__ */ u(
|
|
@@ -1059,7 +1161,7 @@ const J2 = ({
|
|
|
1059
1161
|
)
|
|
1060
1162
|
]
|
|
1061
1163
|
}
|
|
1062
|
-
),
|
|
1164
|
+
), N5 = ({
|
|
1063
1165
|
width: i = 20,
|
|
1064
1166
|
height: e = 20,
|
|
1065
1167
|
color: t = "#070739",
|
|
@@ -1089,7 +1191,7 @@ const J2 = ({
|
|
|
1089
1191
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1090
1192
|
]
|
|
1091
1193
|
}
|
|
1092
|
-
),
|
|
1194
|
+
), R5 = ({
|
|
1093
1195
|
width: i = 20,
|
|
1094
1196
|
height: e = 20,
|
|
1095
1197
|
color: t = "#070739",
|
|
@@ -1127,7 +1229,7 @@ const J2 = ({
|
|
|
1127
1229
|
)
|
|
1128
1230
|
]
|
|
1129
1231
|
}
|
|
1130
|
-
),
|
|
1232
|
+
), x5 = ({
|
|
1131
1233
|
width: i = 9,
|
|
1132
1234
|
height: e = 5,
|
|
1133
1235
|
color: t = "#001E52",
|
|
@@ -1153,7 +1255,7 @@ const J2 = ({
|
|
|
1153
1255
|
}
|
|
1154
1256
|
)
|
|
1155
1257
|
}
|
|
1156
|
-
),
|
|
1258
|
+
), _5 = ({
|
|
1157
1259
|
width: i = 20,
|
|
1158
1260
|
height: e = 20,
|
|
1159
1261
|
color: t = "#F2F2F7",
|
|
@@ -1182,7 +1284,7 @@ const J2 = ({
|
|
|
1182
1284
|
)
|
|
1183
1285
|
]
|
|
1184
1286
|
}
|
|
1185
|
-
),
|
|
1287
|
+
), M5 = ({
|
|
1186
1288
|
width: i = 20,
|
|
1187
1289
|
height: e = 20,
|
|
1188
1290
|
color: t = "#004ED7",
|
|
@@ -1211,7 +1313,7 @@ const J2 = ({
|
|
|
1211
1313
|
)
|
|
1212
1314
|
]
|
|
1213
1315
|
}
|
|
1214
|
-
),
|
|
1316
|
+
), b5 = ({
|
|
1215
1317
|
width: i = 10,
|
|
1216
1318
|
height: e = 10,
|
|
1217
1319
|
color: t = "#001E52",
|
|
@@ -1240,7 +1342,7 @@ const J2 = ({
|
|
|
1240
1342
|
)
|
|
1241
1343
|
]
|
|
1242
1344
|
}
|
|
1243
|
-
),
|
|
1345
|
+
), y5 = ({
|
|
1244
1346
|
width: i = 10,
|
|
1245
1347
|
height: e = 10,
|
|
1246
1348
|
color: t = "#001E52",
|
|
@@ -1277,9 +1379,9 @@ const J2 = ({
|
|
|
1277
1379
|
)
|
|
1278
1380
|
]
|
|
1279
1381
|
}
|
|
1280
|
-
),
|
|
1382
|
+
), H5 = ({
|
|
1281
1383
|
className: i,
|
|
1282
|
-
color: e =
|
|
1384
|
+
color: e = w.GREY_DARK_5,
|
|
1283
1385
|
height: t = 20,
|
|
1284
1386
|
width: s = 20,
|
|
1285
1387
|
onClick: n
|
|
@@ -1310,9 +1412,9 @@ const J2 = ({
|
|
|
1310
1412
|
)
|
|
1311
1413
|
]
|
|
1312
1414
|
}
|
|
1313
|
-
),
|
|
1415
|
+
), E5 = ({
|
|
1314
1416
|
className: i,
|
|
1315
|
-
color: e =
|
|
1417
|
+
color: e = w.GREY_DARK_5,
|
|
1316
1418
|
height: t = 20,
|
|
1317
1419
|
width: s = 20,
|
|
1318
1420
|
onClick: n
|
|
@@ -1337,9 +1439,9 @@ const J2 = ({
|
|
|
1337
1439
|
}
|
|
1338
1440
|
)
|
|
1339
1441
|
}
|
|
1340
|
-
),
|
|
1442
|
+
), V5 = ({
|
|
1341
1443
|
className: i,
|
|
1342
|
-
color: e =
|
|
1444
|
+
color: e = w.GREY_DARK_5,
|
|
1343
1445
|
height: t = 20,
|
|
1344
1446
|
width: s = 20,
|
|
1345
1447
|
onClick: n
|
|
@@ -1364,9 +1466,9 @@ const J2 = ({
|
|
|
1364
1466
|
}
|
|
1365
1467
|
)
|
|
1366
1468
|
}
|
|
1367
|
-
),
|
|
1469
|
+
), I5 = ({
|
|
1368
1470
|
className: i,
|
|
1369
|
-
color: e =
|
|
1471
|
+
color: e = w.GREY_DARK_5,
|
|
1370
1472
|
height: t = 5,
|
|
1371
1473
|
width: s = 10,
|
|
1372
1474
|
onClick: n
|
|
@@ -1388,9 +1490,9 @@ const J2 = ({
|
|
|
1388
1490
|
}
|
|
1389
1491
|
)
|
|
1390
1492
|
}
|
|
1391
|
-
),
|
|
1493
|
+
), A5 = ({
|
|
1392
1494
|
className: i,
|
|
1393
|
-
color: e =
|
|
1495
|
+
color: e = w.GREY_DARK_5,
|
|
1394
1496
|
height: t = 5,
|
|
1395
1497
|
width: s = 10,
|
|
1396
1498
|
onClick: n
|
|
@@ -1413,9 +1515,9 @@ const J2 = ({
|
|
|
1413
1515
|
}
|
|
1414
1516
|
)
|
|
1415
1517
|
}
|
|
1416
|
-
),
|
|
1518
|
+
), O5 = ({
|
|
1417
1519
|
className: i,
|
|
1418
|
-
color: e =
|
|
1520
|
+
color: e = w.GREY_DARK_5,
|
|
1419
1521
|
height: t = 20,
|
|
1420
1522
|
width: s = 20,
|
|
1421
1523
|
onClick: n
|
|
@@ -1446,9 +1548,9 @@ const J2 = ({
|
|
|
1446
1548
|
)
|
|
1447
1549
|
]
|
|
1448
1550
|
}
|
|
1449
|
-
),
|
|
1551
|
+
), Z5 = ({
|
|
1450
1552
|
className: i,
|
|
1451
|
-
color: e =
|
|
1553
|
+
color: e = w.GREY_DARK_5,
|
|
1452
1554
|
height: t = 24,
|
|
1453
1555
|
width: s = 24,
|
|
1454
1556
|
onClick: n
|
|
@@ -1485,9 +1587,9 @@ const J2 = ({
|
|
|
1485
1587
|
)
|
|
1486
1588
|
]
|
|
1487
1589
|
}
|
|
1488
|
-
),
|
|
1590
|
+
), S5 = ({
|
|
1489
1591
|
className: i,
|
|
1490
|
-
color: e =
|
|
1592
|
+
color: e = w.GREY_DARK_5,
|
|
1491
1593
|
height: t = 24,
|
|
1492
1594
|
width: s = 24,
|
|
1493
1595
|
onClick: n
|
|
@@ -1512,9 +1614,9 @@ const J2 = ({
|
|
|
1512
1614
|
}
|
|
1513
1615
|
)
|
|
1514
1616
|
}
|
|
1515
|
-
),
|
|
1617
|
+
), D5 = ({
|
|
1516
1618
|
className: i,
|
|
1517
|
-
color: e =
|
|
1619
|
+
color: e = w.GREY_DARK_5,
|
|
1518
1620
|
height: t = 24,
|
|
1519
1621
|
width: s = 24,
|
|
1520
1622
|
onClick: n
|
|
@@ -1571,9 +1673,9 @@ const J2 = ({
|
|
|
1571
1673
|
)
|
|
1572
1674
|
]
|
|
1573
1675
|
}
|
|
1574
|
-
),
|
|
1676
|
+
), G5 = ({
|
|
1575
1677
|
className: i,
|
|
1576
|
-
color: e =
|
|
1678
|
+
color: e = w.GREY_DARK_5,
|
|
1577
1679
|
height: t = 24,
|
|
1578
1680
|
width: s = 24,
|
|
1579
1681
|
onClick: n
|
|
@@ -1608,9 +1710,9 @@ const J2 = ({
|
|
|
1608
1710
|
)
|
|
1609
1711
|
]
|
|
1610
1712
|
}
|
|
1611
|
-
),
|
|
1713
|
+
), T5 = ({
|
|
1612
1714
|
className: i,
|
|
1613
|
-
color: e =
|
|
1715
|
+
color: e = w.GREY_DARK_3,
|
|
1614
1716
|
height: t = 14,
|
|
1615
1717
|
width: s = 14,
|
|
1616
1718
|
onClick: n
|
|
@@ -1645,9 +1747,9 @@ const J2 = ({
|
|
|
1645
1747
|
)
|
|
1646
1748
|
]
|
|
1647
1749
|
}
|
|
1648
|
-
),
|
|
1750
|
+
), K5 = ({
|
|
1649
1751
|
className: i,
|
|
1650
|
-
color: e =
|
|
1752
|
+
color: e = w.GREY_DARK_5,
|
|
1651
1753
|
height: t = 18,
|
|
1652
1754
|
onClick: s,
|
|
1653
1755
|
width: n = 18
|
|
@@ -1672,9 +1774,9 @@ const J2 = ({
|
|
|
1672
1774
|
}
|
|
1673
1775
|
)
|
|
1674
1776
|
}
|
|
1675
|
-
),
|
|
1777
|
+
), B5 = ({
|
|
1676
1778
|
className: i,
|
|
1677
|
-
color: e =
|
|
1779
|
+
color: e = w.GREY_DARK_5,
|
|
1678
1780
|
height: t = 24,
|
|
1679
1781
|
width: s = 24,
|
|
1680
1782
|
onClick: n
|
|
@@ -1724,9 +1826,9 @@ const J2 = ({
|
|
|
1724
1826
|
)
|
|
1725
1827
|
]
|
|
1726
1828
|
}
|
|
1727
|
-
),
|
|
1829
|
+
), P5 = ({
|
|
1728
1830
|
className: i,
|
|
1729
|
-
color: e =
|
|
1831
|
+
color: e = w.GREY_DARK_5,
|
|
1730
1832
|
height: t = 24,
|
|
1731
1833
|
width: s = 24,
|
|
1732
1834
|
onClick: n
|
|
@@ -1761,9 +1863,9 @@ const J2 = ({
|
|
|
1761
1863
|
)
|
|
1762
1864
|
]
|
|
1763
1865
|
}
|
|
1764
|
-
),
|
|
1866
|
+
), Y5 = ({
|
|
1765
1867
|
className: i,
|
|
1766
|
-
color: e =
|
|
1868
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
1767
1869
|
height: t = 37,
|
|
1768
1870
|
width: s = 36,
|
|
1769
1871
|
onClick: n
|
|
@@ -1800,9 +1902,9 @@ const J2 = ({
|
|
|
1800
1902
|
)
|
|
1801
1903
|
]
|
|
1802
1904
|
}
|
|
1803
|
-
),
|
|
1905
|
+
), j5 = ({
|
|
1804
1906
|
className: i,
|
|
1805
|
-
color: e =
|
|
1907
|
+
color: e = w.GREY_DARK_5,
|
|
1806
1908
|
height: t = 24,
|
|
1807
1909
|
width: s = 24,
|
|
1808
1910
|
onClick: n
|
|
@@ -1826,9 +1928,9 @@ const J2 = ({
|
|
|
1826
1928
|
}
|
|
1827
1929
|
)
|
|
1828
1930
|
}
|
|
1829
|
-
),
|
|
1931
|
+
), $5 = ({
|
|
1830
1932
|
className: i,
|
|
1831
|
-
color: e =
|
|
1933
|
+
color: e = w.GREY_DARK_5,
|
|
1832
1934
|
height: t = 24,
|
|
1833
1935
|
width: s = 24,
|
|
1834
1936
|
onClick: n
|
|
@@ -1865,9 +1967,9 @@ const J2 = ({
|
|
|
1865
1967
|
)
|
|
1866
1968
|
]
|
|
1867
1969
|
}
|
|
1868
|
-
),
|
|
1970
|
+
), F5 = ({
|
|
1869
1971
|
className: i,
|
|
1870
|
-
color: e =
|
|
1972
|
+
color: e = w.GREY_DARK_5,
|
|
1871
1973
|
height: t = 20,
|
|
1872
1974
|
width: s = 20,
|
|
1873
1975
|
onClick: n
|
|
@@ -1898,9 +2000,9 @@ const J2 = ({
|
|
|
1898
2000
|
)
|
|
1899
2001
|
]
|
|
1900
2002
|
}
|
|
1901
|
-
),
|
|
2003
|
+
), W5 = ({
|
|
1902
2004
|
className: i,
|
|
1903
|
-
color: e =
|
|
2005
|
+
color: e = w.GREY_DARK_5,
|
|
1904
2006
|
height: t = 24,
|
|
1905
2007
|
width: s = 24,
|
|
1906
2008
|
onClick: n
|
|
@@ -1967,9 +2069,9 @@ const J2 = ({
|
|
|
1967
2069
|
)
|
|
1968
2070
|
]
|
|
1969
2071
|
}
|
|
1970
|
-
),
|
|
2072
|
+
), U5 = ({
|
|
1971
2073
|
className: i,
|
|
1972
|
-
color: e =
|
|
2074
|
+
color: e = w.GREY_DARK_5,
|
|
1973
2075
|
height: t = 24,
|
|
1974
2076
|
width: s = 24,
|
|
1975
2077
|
onClick: n
|
|
@@ -2024,9 +2126,9 @@ const J2 = ({
|
|
|
2024
2126
|
)
|
|
2025
2127
|
]
|
|
2026
2128
|
}
|
|
2027
|
-
),
|
|
2129
|
+
), z5 = ({
|
|
2028
2130
|
className: i,
|
|
2029
|
-
color: e =
|
|
2131
|
+
color: e = w.GREY_DARK_5,
|
|
2030
2132
|
height: t = 24,
|
|
2031
2133
|
width: s = 24,
|
|
2032
2134
|
onClick: n
|
|
@@ -2073,9 +2175,9 @@ const J2 = ({
|
|
|
2073
2175
|
)
|
|
2074
2176
|
]
|
|
2075
2177
|
}
|
|
2076
|
-
),
|
|
2178
|
+
), J5 = ({
|
|
2077
2179
|
className: i,
|
|
2078
|
-
color: e =
|
|
2180
|
+
color: e = w.GREY_DARK_5,
|
|
2079
2181
|
height: t = 24,
|
|
2080
2182
|
width: s = 24,
|
|
2081
2183
|
onClick: n
|
|
@@ -2100,9 +2202,9 @@ const J2 = ({
|
|
|
2100
2202
|
}
|
|
2101
2203
|
)
|
|
2102
2204
|
}
|
|
2103
|
-
),
|
|
2205
|
+
), q5 = ({
|
|
2104
2206
|
className: i,
|
|
2105
|
-
color: e =
|
|
2207
|
+
color: e = w.GREY_DARK_5,
|
|
2106
2208
|
height: t = 20,
|
|
2107
2209
|
width: s = 20,
|
|
2108
2210
|
onClick: n
|
|
@@ -2117,7 +2219,7 @@ const J2 = ({
|
|
|
2117
2219
|
fill: "none",
|
|
2118
2220
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2119
2221
|
children: [
|
|
2120
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2222
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
2121
2223
|
/* @__PURE__ */ r(
|
|
2122
2224
|
"path",
|
|
2123
2225
|
{
|
|
@@ -2129,7 +2231,7 @@ const J2 = ({
|
|
|
2129
2231
|
)
|
|
2130
2232
|
]
|
|
2131
2233
|
}
|
|
2132
|
-
),
|
|
2234
|
+
), Q5 = ({
|
|
2133
2235
|
className: i,
|
|
2134
2236
|
color: e = "#001E52",
|
|
2135
2237
|
height: t = 24,
|
|
@@ -2155,7 +2257,7 @@ const J2 = ({
|
|
|
2155
2257
|
}
|
|
2156
2258
|
)
|
|
2157
2259
|
}
|
|
2158
|
-
),
|
|
2260
|
+
), X5 = ({
|
|
2159
2261
|
className: i,
|
|
2160
2262
|
color: e = "#001E52",
|
|
2161
2263
|
height: t = 24,
|
|
@@ -2193,63 +2295,31 @@ const J2 = ({
|
|
|
2193
2295
|
)
|
|
2194
2296
|
] }) })
|
|
2195
2297
|
}
|
|
2196
|
-
),
|
|
2298
|
+
), ee = ({
|
|
2197
2299
|
width: i = 20,
|
|
2198
2300
|
height: e = 20,
|
|
2199
|
-
color: t =
|
|
2301
|
+
color: t = w.GREY_DARK_5,
|
|
2200
2302
|
className: s,
|
|
2201
2303
|
onClick: n
|
|
2202
2304
|
}) => /* @__PURE__ */ r(
|
|
2203
2305
|
"svg",
|
|
2204
2306
|
{
|
|
2205
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2206
2307
|
width: i,
|
|
2207
2308
|
height: e,
|
|
2208
|
-
className: s,
|
|
2209
2309
|
onClick: n,
|
|
2210
|
-
|
|
2310
|
+
className: s,
|
|
2311
|
+
viewBox: "0 0 24 24",
|
|
2211
2312
|
fill: "none",
|
|
2313
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2212
2314
|
children: /* @__PURE__ */ r(
|
|
2213
2315
|
"path",
|
|
2214
2316
|
{
|
|
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`,
|
|
2317
|
+
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
2318
|
fill: t
|
|
2249
2319
|
}
|
|
2250
2320
|
)
|
|
2251
2321
|
}
|
|
2252
|
-
),
|
|
2322
|
+
), te = ({
|
|
2253
2323
|
width: i = 24,
|
|
2254
2324
|
height: e = 24,
|
|
2255
2325
|
color: t = "#131314",
|
|
@@ -2282,10 +2352,10 @@ const J2 = ({
|
|
|
2282
2352
|
)
|
|
2283
2353
|
]
|
|
2284
2354
|
}
|
|
2285
|
-
),
|
|
2286
|
-
width: i =
|
|
2287
|
-
height: e =
|
|
2288
|
-
color: t =
|
|
2355
|
+
), ie = ({
|
|
2356
|
+
width: i = 20,
|
|
2357
|
+
height: e = 20,
|
|
2358
|
+
color: t = w.GREY_DARK_5,
|
|
2289
2359
|
className: s,
|
|
2290
2360
|
onClick: n
|
|
2291
2361
|
}) => /* @__PURE__ */ u(
|
|
@@ -2293,38 +2363,32 @@ const J2 = ({
|
|
|
2293
2363
|
{
|
|
2294
2364
|
width: i,
|
|
2295
2365
|
height: e,
|
|
2366
|
+
className: s,
|
|
2367
|
+
onClick: n,
|
|
2296
2368
|
viewBox: "0 0 24 24",
|
|
2297
2369
|
fill: "none",
|
|
2298
2370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2299
|
-
className: s,
|
|
2300
|
-
onClick: n,
|
|
2301
2371
|
children: [
|
|
2302
2372
|
/* @__PURE__ */ r(
|
|
2303
2373
|
"path",
|
|
2304
2374
|
{
|
|
2305
|
-
d: "
|
|
2306
|
-
|
|
2307
|
-
strokeWidth: "1.5",
|
|
2308
|
-
strokeLinecap: "round",
|
|
2309
|
-
strokeLinejoin: "round"
|
|
2375
|
+
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",
|
|
2376
|
+
fill: t
|
|
2310
2377
|
}
|
|
2311
2378
|
),
|
|
2312
2379
|
/* @__PURE__ */ r(
|
|
2313
2380
|
"path",
|
|
2314
2381
|
{
|
|
2315
|
-
d: "
|
|
2316
|
-
|
|
2317
|
-
strokeWidth: "1.5",
|
|
2318
|
-
strokeLinecap: "round",
|
|
2319
|
-
strokeLinejoin: "round"
|
|
2382
|
+
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",
|
|
2383
|
+
fill: t
|
|
2320
2384
|
}
|
|
2321
2385
|
)
|
|
2322
2386
|
]
|
|
2323
2387
|
}
|
|
2324
|
-
),
|
|
2388
|
+
), se = ({
|
|
2325
2389
|
width: i = 24,
|
|
2326
2390
|
height: e = 24,
|
|
2327
|
-
color: t =
|
|
2391
|
+
color: t = w.GREY_DARK_2,
|
|
2328
2392
|
className: s,
|
|
2329
2393
|
onClick: n
|
|
2330
2394
|
}) => /* @__PURE__ */ u(
|
|
@@ -2361,10 +2425,10 @@ const J2 = ({
|
|
|
2361
2425
|
)
|
|
2362
2426
|
]
|
|
2363
2427
|
}
|
|
2364
|
-
),
|
|
2428
|
+
), ne = ({
|
|
2365
2429
|
width: i = 24,
|
|
2366
2430
|
height: e = 24,
|
|
2367
|
-
color: t =
|
|
2431
|
+
color: t = w.GREY_DARK_2,
|
|
2368
2432
|
className: s,
|
|
2369
2433
|
onClick: n
|
|
2370
2434
|
}) => /* @__PURE__ */ r(
|
|
@@ -2388,10 +2452,10 @@ const J2 = ({
|
|
|
2388
2452
|
}
|
|
2389
2453
|
)
|
|
2390
2454
|
}
|
|
2391
|
-
),
|
|
2455
|
+
), re = ({
|
|
2392
2456
|
width: i = 24,
|
|
2393
2457
|
height: e = 24,
|
|
2394
|
-
color: t =
|
|
2458
|
+
color: t = w.GREY_DARK_2,
|
|
2395
2459
|
className: s,
|
|
2396
2460
|
onClick: n
|
|
2397
2461
|
}) => /* @__PURE__ */ r(
|
|
@@ -2415,32 +2479,6 @@ const J2 = ({
|
|
|
2415
2479
|
}
|
|
2416
2480
|
)
|
|
2417
2481
|
}
|
|
2418
|
-
), ie = ({
|
|
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
2482
|
), g1 = ({
|
|
2445
2483
|
name: i,
|
|
2446
2484
|
width: e,
|
|
@@ -2448,191 +2486,197 @@ const J2 = ({
|
|
|
2448
2486
|
color: s,
|
|
2449
2487
|
className: n,
|
|
2450
2488
|
disabled: o = !1,
|
|
2451
|
-
onClick:
|
|
2489
|
+
onClick: c
|
|
2452
2490
|
}) => {
|
|
2453
|
-
const [a, C] = O(n), { theme: d } = r1(l2), l = o ? d && d === "dark" ?
|
|
2454
|
-
return
|
|
2491
|
+
const [a, C] = O(n), { theme: d } = r1(l2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2492
|
+
return S(() => {
|
|
2455
2493
|
if (n) {
|
|
2456
|
-
|
|
2494
|
+
h && !o && C(`${n} clickable`);
|
|
2457
2495
|
return;
|
|
2458
2496
|
}
|
|
2459
|
-
|
|
2460
|
-
}, [
|
|
2497
|
+
h && !o && C("clickable");
|
|
2498
|
+
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
2461
2499
|
switch (i) {
|
|
2462
2500
|
case "nextIcon":
|
|
2463
|
-
return
|
|
2501
|
+
return E5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2464
2502
|
case "prevIcon":
|
|
2465
|
-
return
|
|
2503
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2466
2504
|
case "arrowDown":
|
|
2467
|
-
return J2({ width: e, height: t, color: l, className: a, onClick:
|
|
2505
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2468
2506
|
case "info":
|
|
2469
|
-
return q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2507
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2470
2508
|
case "arrowRight":
|
|
2471
|
-
return Q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2509
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2472
2510
|
case "calendar":
|
|
2473
|
-
return
|
|
2511
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2474
2512
|
case "check":
|
|
2475
|
-
return
|
|
2513
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2476
2514
|
case "cancel":
|
|
2477
|
-
return
|
|
2515
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2478
2516
|
case "add":
|
|
2479
|
-
return
|
|
2517
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2480
2518
|
case "list":
|
|
2481
|
-
return
|
|
2519
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2482
2520
|
case "dragAndDrop":
|
|
2483
|
-
return
|
|
2521
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2484
2522
|
case "filter":
|
|
2485
|
-
return
|
|
2523
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2486
2524
|
case "attention":
|
|
2487
|
-
return
|
|
2525
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2488
2526
|
case "users":
|
|
2489
|
-
return
|
|
2527
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2490
2528
|
case "mySkillsMatrix":
|
|
2491
|
-
return
|
|
2529
|
+
return C5({
|
|
2492
2530
|
width: e,
|
|
2493
2531
|
height: t,
|
|
2494
2532
|
color: l,
|
|
2495
2533
|
className: a,
|
|
2496
|
-
onClick:
|
|
2534
|
+
onClick: h
|
|
2497
2535
|
});
|
|
2498
2536
|
case "skills":
|
|
2499
|
-
return
|
|
2537
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2500
2538
|
case "skillsMatrices":
|
|
2501
|
-
return
|
|
2539
|
+
return u5({
|
|
2502
2540
|
width: e,
|
|
2503
2541
|
height: t,
|
|
2504
2542
|
color: l,
|
|
2505
2543
|
className: a,
|
|
2506
|
-
onClick:
|
|
2544
|
+
onClick: h
|
|
2507
2545
|
});
|
|
2508
2546
|
case "history":
|
|
2509
|
-
return
|
|
2547
|
+
return f5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2548
|
case "logOut":
|
|
2511
|
-
return
|
|
2549
|
+
return p5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2550
|
case "settings":
|
|
2513
|
-
return
|
|
2551
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2552
|
case "trash":
|
|
2515
|
-
return
|
|
2553
|
+
return w5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2554
|
case "settings2":
|
|
2517
|
-
return
|
|
2555
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2556
|
case "checkCircle":
|
|
2519
|
-
return
|
|
2557
|
+
return k5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2558
|
case "cancelCircle":
|
|
2521
|
-
return
|
|
2559
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2560
|
case "visibilityIcon":
|
|
2523
|
-
return
|
|
2561
|
+
return N5({
|
|
2524
2562
|
width: e,
|
|
2525
2563
|
height: t,
|
|
2526
2564
|
color: l,
|
|
2527
2565
|
className: a,
|
|
2528
|
-
onClick:
|
|
2566
|
+
onClick: h
|
|
2529
2567
|
});
|
|
2530
2568
|
case "visibilityOffIcon":
|
|
2531
|
-
return
|
|
2569
|
+
return R5({
|
|
2532
2570
|
width: e,
|
|
2533
2571
|
height: t,
|
|
2534
2572
|
color: l,
|
|
2535
2573
|
className: a,
|
|
2536
|
-
onClick:
|
|
2574
|
+
onClick: h
|
|
2537
2575
|
});
|
|
2538
2576
|
case "selectArrowIcon":
|
|
2539
|
-
return
|
|
2577
|
+
return x5({
|
|
2540
2578
|
width: e,
|
|
2541
2579
|
height: t,
|
|
2542
2580
|
color: l,
|
|
2543
2581
|
className: a,
|
|
2544
|
-
onClick:
|
|
2582
|
+
onClick: h
|
|
2545
2583
|
});
|
|
2546
2584
|
case "expandArrowIcon":
|
|
2547
|
-
return
|
|
2585
|
+
return _5({
|
|
2548
2586
|
width: e,
|
|
2549
2587
|
height: t,
|
|
2550
2588
|
color: l,
|
|
2551
2589
|
className: a,
|
|
2552
|
-
onClick:
|
|
2590
|
+
onClick: h
|
|
2553
2591
|
});
|
|
2554
2592
|
case "expandActiveArrowIcon":
|
|
2555
|
-
return
|
|
2593
|
+
return M5({
|
|
2556
2594
|
width: e,
|
|
2557
2595
|
height: t,
|
|
2558
2596
|
color: l,
|
|
2559
2597
|
className: a,
|
|
2560
|
-
onClick:
|
|
2598
|
+
onClick: h
|
|
2561
2599
|
});
|
|
2562
2600
|
case "sortUp":
|
|
2563
|
-
return
|
|
2601
|
+
return b5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2564
2602
|
case "sortDown":
|
|
2565
|
-
return
|
|
2603
|
+
return y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2566
2604
|
case "search":
|
|
2567
|
-
return
|
|
2605
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2568
2606
|
case "arrowUpFilled":
|
|
2569
|
-
return
|
|
2607
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2570
2608
|
case "arrowDownFilled":
|
|
2571
|
-
return
|
|
2609
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
|
+
case "arrow2Up":
|
|
2611
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
|
+
case "arrow2Right":
|
|
2613
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
|
+
case "arrow2Down":
|
|
2615
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
|
+
case "arrow2Left":
|
|
2617
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2572
2618
|
case "link":
|
|
2573
|
-
return
|
|
2619
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2574
2620
|
case "telegram":
|
|
2575
|
-
return
|
|
2621
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2576
2622
|
case "mail":
|
|
2577
|
-
return
|
|
2623
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2578
2624
|
case "github":
|
|
2579
|
-
return
|
|
2625
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2580
2626
|
case "linkedIn":
|
|
2581
|
-
return
|
|
2627
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2582
2628
|
case "emptyStateIcon":
|
|
2583
|
-
return
|
|
2629
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2584
2630
|
case "filtersIcon":
|
|
2585
|
-
return
|
|
2631
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2586
2632
|
case "dotMenuIcon":
|
|
2587
|
-
return
|
|
2633
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2588
2634
|
case "plusCircle":
|
|
2589
|
-
return
|
|
2635
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2590
2636
|
case "warning":
|
|
2591
|
-
return
|
|
2637
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2592
2638
|
case "back":
|
|
2593
|
-
return
|
|
2639
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2594
2640
|
case "bell":
|
|
2595
|
-
return
|
|
2641
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2596
2642
|
case "copy":
|
|
2597
|
-
return
|
|
2643
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2598
2644
|
case "contract":
|
|
2599
|
-
return
|
|
2645
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2600
2646
|
case "resourceManager":
|
|
2601
|
-
return
|
|
2647
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2602
2648
|
case "image":
|
|
2603
|
-
return
|
|
2649
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2604
2650
|
case "edit":
|
|
2605
|
-
return
|
|
2651
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2606
2652
|
case "filledArrowRight":
|
|
2607
|
-
return
|
|
2653
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2608
2654
|
case "burgerMenu":
|
|
2609
|
-
return
|
|
2655
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
2656
|
case "refresh":
|
|
2611
|
-
return
|
|
2657
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
2658
|
case "projects":
|
|
2613
|
-
return
|
|
2614
|
-
case "
|
|
2615
|
-
return ie({ width: e, height: t, color: l, className: a, onClick:
|
|
2659
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2660
|
+
case "user":
|
|
2661
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
2662
|
case "exit":
|
|
2617
|
-
return
|
|
2618
|
-
case "client":
|
|
2619
|
-
return Q5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2663
|
+
return te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2620
2664
|
case "openPointCircle":
|
|
2621
|
-
return
|
|
2665
|
+
return se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2622
2666
|
case "community":
|
|
2623
|
-
return
|
|
2667
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2624
2668
|
case "docs":
|
|
2625
|
-
return
|
|
2669
|
+
return re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2626
2670
|
default:
|
|
2627
2671
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
2628
2672
|
}
|
|
2629
2673
|
})() });
|
|
2630
|
-
}, { Title:
|
|
2674
|
+
}, { Title: oe, Text: ae } = r2, le = {
|
|
2631
2675
|
h1: 1,
|
|
2632
2676
|
h2: 2,
|
|
2633
2677
|
h3: 3,
|
|
2634
2678
|
h4: 4
|
|
2635
|
-
},
|
|
2679
|
+
}, he = L1(
|
|
2636
2680
|
({
|
|
2637
2681
|
align: i = "inherit",
|
|
2638
2682
|
variant: e = "body1",
|
|
@@ -2640,31 +2684,31 @@ const J2 = ({
|
|
|
2640
2684
|
children: s,
|
|
2641
2685
|
onClick: n,
|
|
2642
2686
|
collapsed: o,
|
|
2643
|
-
whiteSpace:
|
|
2687
|
+
whiteSpace: c = "normal",
|
|
2644
2688
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2645
2689
|
trim: a = !1
|
|
2646
2690
|
}, C) => {
|
|
2647
2691
|
const d = W(null);
|
|
2648
2692
|
y1(C, () => d.current);
|
|
2649
|
-
const [l,
|
|
2650
|
-
|
|
2651
|
-
var
|
|
2693
|
+
const [l, h] = O(!1);
|
|
2694
|
+
S(() => {
|
|
2695
|
+
var R;
|
|
2652
2696
|
if (!a) return;
|
|
2653
2697
|
const m = () => {
|
|
2654
|
-
d.current &&
|
|
2698
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2655
2699
|
};
|
|
2656
2700
|
m();
|
|
2657
2701
|
const y = new ResizeObserver(m);
|
|
2658
|
-
return d.current && y.observe(d.current), (
|
|
2702
|
+
return d.current && y.observe(d.current), (R = d.current) != null && R.parentElement && y.observe(d.current.parentElement), () => {
|
|
2659
2703
|
y.disconnect();
|
|
2660
2704
|
};
|
|
2661
2705
|
}, [a]);
|
|
2662
2706
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2663
2707
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
2664
2708
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
2665
|
-
const
|
|
2709
|
+
const k = {
|
|
2666
2710
|
className: f,
|
|
2667
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
2711
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
2668
2712
|
onClick: n,
|
|
2669
2713
|
ref: d,
|
|
2670
2714
|
ellipsis: a && l ? {
|
|
@@ -2674,16 +2718,16 @@ const J2 = ({
|
|
|
2674
2718
|
}
|
|
2675
2719
|
} : void 0
|
|
2676
2720
|
};
|
|
2677
|
-
return g ? /* @__PURE__ */ r(
|
|
2721
|
+
return g ? /* @__PURE__ */ r(oe, { level: le[e], ...k, children: s }) : /* @__PURE__ */ r(ae, { ...k, children: s });
|
|
2678
2722
|
}
|
|
2679
2723
|
);
|
|
2680
|
-
var
|
|
2681
|
-
const
|
|
2724
|
+
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
|
|
2725
|
+
const h2 = d1({
|
|
2682
2726
|
locale: "en",
|
|
2683
2727
|
theme: "light"
|
|
2684
2728
|
});
|
|
2685
|
-
|
|
2686
|
-
const
|
|
2729
|
+
h2.Provider;
|
|
2730
|
+
const ce = ({
|
|
2687
2731
|
width: i = 20,
|
|
2688
2732
|
height: e = 20,
|
|
2689
2733
|
color: t = "#001E52",
|
|
@@ -2710,10 +2754,10 @@ const ae = ({
|
|
|
2710
2754
|
}
|
|
2711
2755
|
)
|
|
2712
2756
|
}
|
|
2713
|
-
),
|
|
2757
|
+
), de = ({
|
|
2714
2758
|
width: i = 20,
|
|
2715
2759
|
height: e = 20,
|
|
2716
|
-
color: t =
|
|
2760
|
+
color: t = L.GREY_DARK_5,
|
|
2717
2761
|
className: s,
|
|
2718
2762
|
onClick: n
|
|
2719
2763
|
}) => /* @__PURE__ */ u(
|
|
@@ -2750,7 +2794,7 @@ const ae = ({
|
|
|
2750
2794
|
)
|
|
2751
2795
|
]
|
|
2752
2796
|
}
|
|
2753
|
-
),
|
|
2797
|
+
), Ce = ({
|
|
2754
2798
|
width: i = 20,
|
|
2755
2799
|
height: e = 20,
|
|
2756
2800
|
color: t = "#001E52",
|
|
@@ -2785,10 +2829,112 @@ const ae = ({
|
|
|
2785
2829
|
)
|
|
2786
2830
|
]
|
|
2787
2831
|
}
|
|
2788
|
-
),
|
|
2832
|
+
), ge = ({
|
|
2789
2833
|
width: i = 20,
|
|
2790
2834
|
height: e = 20,
|
|
2791
|
-
color: t =
|
|
2835
|
+
color: t = L.GREY_DARK_5,
|
|
2836
|
+
className: s,
|
|
2837
|
+
onClick: n
|
|
2838
|
+
}) => /* @__PURE__ */ u(
|
|
2839
|
+
"svg",
|
|
2840
|
+
{
|
|
2841
|
+
width: i,
|
|
2842
|
+
height: e,
|
|
2843
|
+
className: s,
|
|
2844
|
+
onClick: n,
|
|
2845
|
+
viewBox: "0 0 25 25",
|
|
2846
|
+
fill: "none",
|
|
2847
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2848
|
+
children: [
|
|
2849
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2043)", children: /* @__PURE__ */ r(
|
|
2850
|
+
"path",
|
|
2851
|
+
{
|
|
2852
|
+
d: "M5.96967 14.9697C5.67678 15.2626 5.67678 15.7373 5.96967 16.0302C6.26256 16.3231 6.73732 16.3231 7.03022 16.0302L12.4999 10.5605L17.9697 16.0302L18.0263 16.082C18.3209 16.3223 18.7556 16.3048 19.0302 16.0302C19.3048 15.7556 19.3223 15.3209 19.082 15.0263L19.0302 14.9697L13.0302 8.96967C12.7373 8.67678 12.2626 8.67678 11.9697 8.96967L5.96967 14.9697Z",
|
|
2853
|
+
fill: t
|
|
2854
|
+
}
|
|
2855
|
+
) }),
|
|
2856
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2857
|
+
]
|
|
2858
|
+
}
|
|
2859
|
+
), ue = ({
|
|
2860
|
+
width: i = 20,
|
|
2861
|
+
height: e = 20,
|
|
2862
|
+
color: t = L.GREY_DARK_5,
|
|
2863
|
+
className: s,
|
|
2864
|
+
onClick: n
|
|
2865
|
+
}) => /* @__PURE__ */ r(
|
|
2866
|
+
"svg",
|
|
2867
|
+
{
|
|
2868
|
+
width: i,
|
|
2869
|
+
height: e,
|
|
2870
|
+
className: s,
|
|
2871
|
+
onClick: n,
|
|
2872
|
+
viewBox: "0 0 25 25",
|
|
2873
|
+
fill: "none",
|
|
2874
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2875
|
+
children: /* @__PURE__ */ r(
|
|
2876
|
+
"path",
|
|
2877
|
+
{
|
|
2878
|
+
d: "M10.0303 5.96967C9.73744 5.67678 9.26268 5.67678 8.96978 5.96967C8.67689 6.26256 8.67689 6.73732 8.96978 7.03022L14.4395 12.4999L8.96978 17.9697L8.91803 18.0263C8.67772 18.3209 8.69518 18.7556 8.96978 19.0302C9.24439 19.3048 9.67911 19.3223 9.97369 19.082L10.0303 19.0302L16.0303 13.0302C16.3232 12.7373 16.3232 12.2626 16.0303 11.9697L10.0303 5.96967Z",
|
|
2879
|
+
fill: t
|
|
2880
|
+
}
|
|
2881
|
+
)
|
|
2882
|
+
}
|
|
2883
|
+
), fe = ({
|
|
2884
|
+
width: i = 20,
|
|
2885
|
+
height: e = 20,
|
|
2886
|
+
color: t = L.GREY_DARK_5,
|
|
2887
|
+
className: s,
|
|
2888
|
+
onClick: n
|
|
2889
|
+
}) => /* @__PURE__ */ u(
|
|
2890
|
+
"svg",
|
|
2891
|
+
{
|
|
2892
|
+
width: i,
|
|
2893
|
+
height: e,
|
|
2894
|
+
className: s,
|
|
2895
|
+
onClick: n,
|
|
2896
|
+
viewBox: "0 0 25 25",
|
|
2897
|
+
fill: "none",
|
|
2898
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2899
|
+
children: [
|
|
2900
|
+
/* @__PURE__ */ r("g", { "clip-path": "url(#clip0_1_2039)", children: /* @__PURE__ */ r(
|
|
2901
|
+
"path",
|
|
2902
|
+
{
|
|
2903
|
+
d: "M5.96967 10.0303C5.67678 9.73744 5.67678 9.26268 5.96967 8.96978C6.26256 8.67689 6.73732 8.67689 7.03022 8.96978L12.4999 14.4395L17.9697 8.96978L18.0263 8.91803C18.3209 8.67772 18.7556 8.69518 19.0302 8.96978C19.3048 9.24439 19.3223 9.67911 19.082 9.97369L19.0302 10.0303L13.0302 16.0303C12.7373 16.3232 12.2626 16.3232 11.9697 16.0303L5.96967 10.0303Z",
|
|
2904
|
+
fill: t
|
|
2905
|
+
}
|
|
2906
|
+
) }),
|
|
2907
|
+
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2908
|
+
]
|
|
2909
|
+
}
|
|
2910
|
+
), pe = ({
|
|
2911
|
+
width: i = 20,
|
|
2912
|
+
height: e = 20,
|
|
2913
|
+
color: t = L.GREY_DARK_5,
|
|
2914
|
+
className: s,
|
|
2915
|
+
onClick: n
|
|
2916
|
+
}) => /* @__PURE__ */ r(
|
|
2917
|
+
"svg",
|
|
2918
|
+
{
|
|
2919
|
+
width: i,
|
|
2920
|
+
height: e,
|
|
2921
|
+
className: s,
|
|
2922
|
+
onClick: n,
|
|
2923
|
+
viewBox: "0 0 25 25",
|
|
2924
|
+
fill: "none",
|
|
2925
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2926
|
+
children: /* @__PURE__ */ r(
|
|
2927
|
+
"path",
|
|
2928
|
+
{
|
|
2929
|
+
d: "M14.9697 5.96967C15.2626 5.67678 15.7373 5.67678 16.0302 5.96967C16.3231 6.26256 16.3231 6.73732 16.0302 7.03022L10.5605 12.4999L16.0302 17.9697L16.082 18.0263C16.3223 18.3209 16.3048 18.7556 16.0302 19.0302C15.7556 19.3048 15.3209 19.3223 15.0263 19.082L14.9697 19.0302L8.96967 13.0302C8.67678 12.7373 8.67678 12.2626 8.96967 11.9697L14.9697 5.96967Z",
|
|
2930
|
+
fill: t
|
|
2931
|
+
}
|
|
2932
|
+
)
|
|
2933
|
+
}
|
|
2934
|
+
), me = ({
|
|
2935
|
+
width: i = 20,
|
|
2936
|
+
height: e = 20,
|
|
2937
|
+
color: t = L.GREY_DARK_5,
|
|
2792
2938
|
className: s,
|
|
2793
2939
|
onClick: n
|
|
2794
2940
|
}) => /* @__PURE__ */ u(
|
|
@@ -2832,10 +2978,10 @@ const ae = ({
|
|
|
2832
2978
|
)
|
|
2833
2979
|
]
|
|
2834
2980
|
}
|
|
2835
|
-
),
|
|
2981
|
+
), we = ({
|
|
2836
2982
|
width: i = 20,
|
|
2837
2983
|
height: e = 20,
|
|
2838
|
-
color: t =
|
|
2984
|
+
color: t = L.GREY_DARK_5,
|
|
2839
2985
|
className: s,
|
|
2840
2986
|
onClick: n
|
|
2841
2987
|
}) => /* @__PURE__ */ r(
|
|
@@ -2856,10 +3002,10 @@ const ae = ({
|
|
|
2856
3002
|
}
|
|
2857
3003
|
)
|
|
2858
3004
|
}
|
|
2859
|
-
),
|
|
3005
|
+
), Le = ({
|
|
2860
3006
|
width: i = 20,
|
|
2861
3007
|
height: e = 20,
|
|
2862
|
-
color: t =
|
|
3008
|
+
color: t = L.GREY_DARK_5,
|
|
2863
3009
|
className: s,
|
|
2864
3010
|
onClick: n
|
|
2865
3011
|
}) => /* @__PURE__ */ r(
|
|
@@ -2880,10 +3026,10 @@ const ae = ({
|
|
|
2880
3026
|
}
|
|
2881
3027
|
)
|
|
2882
3028
|
}
|
|
2883
|
-
),
|
|
3029
|
+
), ke = ({
|
|
2884
3030
|
width: i = 20,
|
|
2885
3031
|
height: e = 20,
|
|
2886
|
-
color: t =
|
|
3032
|
+
color: t = L.GREY_DARK_5,
|
|
2887
3033
|
className: s,
|
|
2888
3034
|
onClick: n
|
|
2889
3035
|
}) => /* @__PURE__ */ r(
|
|
@@ -2904,10 +3050,10 @@ const ae = ({
|
|
|
2904
3050
|
}
|
|
2905
3051
|
)
|
|
2906
3052
|
}
|
|
2907
|
-
),
|
|
3053
|
+
), ve = ({
|
|
2908
3054
|
width: i = 20,
|
|
2909
3055
|
height: e = 20,
|
|
2910
|
-
color: t =
|
|
3056
|
+
color: t = L.GREY_DARK_5,
|
|
2911
3057
|
className: s,
|
|
2912
3058
|
onClick: n
|
|
2913
3059
|
}) => /* @__PURE__ */ u(
|
|
@@ -2965,10 +3111,10 @@ const ae = ({
|
|
|
2965
3111
|
)
|
|
2966
3112
|
]
|
|
2967
3113
|
}
|
|
2968
|
-
),
|
|
3114
|
+
), Ne = ({
|
|
2969
3115
|
width: i = 20,
|
|
2970
3116
|
height: e = 20,
|
|
2971
|
-
color: t =
|
|
3117
|
+
color: t = L.GREY_DARK_5,
|
|
2972
3118
|
className: s,
|
|
2973
3119
|
onClick: n
|
|
2974
3120
|
}) => /* @__PURE__ */ u(
|
|
@@ -3012,10 +3158,10 @@ const ae = ({
|
|
|
3012
3158
|
)
|
|
3013
3159
|
]
|
|
3014
3160
|
}
|
|
3015
|
-
),
|
|
3161
|
+
), Re = ({
|
|
3016
3162
|
width: i = 20,
|
|
3017
3163
|
height: e = 20,
|
|
3018
|
-
color: t =
|
|
3164
|
+
color: t = L.GREY_DARK_5,
|
|
3019
3165
|
className: s,
|
|
3020
3166
|
onClick: n
|
|
3021
3167
|
}) => /* @__PURE__ */ u(
|
|
@@ -3052,10 +3198,10 @@ const ae = ({
|
|
|
3052
3198
|
)
|
|
3053
3199
|
]
|
|
3054
3200
|
}
|
|
3055
|
-
),
|
|
3201
|
+
), xe = ({
|
|
3056
3202
|
width: i = 20,
|
|
3057
3203
|
height: e = 20,
|
|
3058
|
-
color: t =
|
|
3204
|
+
color: t = L.GREY_DARK_5,
|
|
3059
3205
|
className: s,
|
|
3060
3206
|
onClick: n
|
|
3061
3207
|
}) => /* @__PURE__ */ u(
|
|
@@ -3092,10 +3238,10 @@ const ae = ({
|
|
|
3092
3238
|
)
|
|
3093
3239
|
]
|
|
3094
3240
|
}
|
|
3095
|
-
),
|
|
3241
|
+
), _e = ({
|
|
3096
3242
|
width: i = 20,
|
|
3097
3243
|
height: e = 20,
|
|
3098
|
-
color: t =
|
|
3244
|
+
color: t = L.GREY_DARK_5,
|
|
3099
3245
|
className: s,
|
|
3100
3246
|
onClick: n
|
|
3101
3247
|
}) => /* @__PURE__ */ u(
|
|
@@ -3139,10 +3285,10 @@ const ae = ({
|
|
|
3139
3285
|
)
|
|
3140
3286
|
]
|
|
3141
3287
|
}
|
|
3142
|
-
),
|
|
3288
|
+
), Me = ({
|
|
3143
3289
|
width: i = 20,
|
|
3144
3290
|
height: e = 20,
|
|
3145
|
-
color: t =
|
|
3291
|
+
color: t = L.GREY_DARK_5,
|
|
3146
3292
|
className: s,
|
|
3147
3293
|
onClick: n
|
|
3148
3294
|
}) => /* @__PURE__ */ u(
|
|
@@ -3186,10 +3332,10 @@ const ae = ({
|
|
|
3186
3332
|
)
|
|
3187
3333
|
]
|
|
3188
3334
|
}
|
|
3189
|
-
),
|
|
3335
|
+
), be = ({
|
|
3190
3336
|
width: i = 20,
|
|
3191
3337
|
height: e = 20,
|
|
3192
|
-
color: t =
|
|
3338
|
+
color: t = L.GREY_DARK_5,
|
|
3193
3339
|
className: s,
|
|
3194
3340
|
onClick: n
|
|
3195
3341
|
}) => /* @__PURE__ */ u(
|
|
@@ -3233,10 +3379,10 @@ const ae = ({
|
|
|
3233
3379
|
)
|
|
3234
3380
|
]
|
|
3235
3381
|
}
|
|
3236
|
-
),
|
|
3382
|
+
), ye = ({
|
|
3237
3383
|
width: i = 20,
|
|
3238
3384
|
height: e = 20,
|
|
3239
|
-
color: t =
|
|
3385
|
+
color: t = L.GREY_DARK_5,
|
|
3240
3386
|
className: s,
|
|
3241
3387
|
onClick: n
|
|
3242
3388
|
}) => /* @__PURE__ */ u(
|
|
@@ -3273,10 +3419,10 @@ const ae = ({
|
|
|
3273
3419
|
)
|
|
3274
3420
|
]
|
|
3275
3421
|
}
|
|
3276
|
-
),
|
|
3422
|
+
), He = ({
|
|
3277
3423
|
width: i = 20,
|
|
3278
3424
|
height: e = 20,
|
|
3279
|
-
color: t =
|
|
3425
|
+
color: t = L.GREY_DARK_5,
|
|
3280
3426
|
className: s,
|
|
3281
3427
|
onClick: n
|
|
3282
3428
|
}) => /* @__PURE__ */ u(
|
|
@@ -3306,10 +3452,10 @@ const ae = ({
|
|
|
3306
3452
|
)
|
|
3307
3453
|
]
|
|
3308
3454
|
}
|
|
3309
|
-
),
|
|
3455
|
+
), Ee = ({
|
|
3310
3456
|
width: i = 20,
|
|
3311
3457
|
height: e = 20,
|
|
3312
|
-
color: t =
|
|
3458
|
+
color: t = L.GREY_DARK_5,
|
|
3313
3459
|
className: s,
|
|
3314
3460
|
onClick: n
|
|
3315
3461
|
}) => /* @__PURE__ */ u(
|
|
@@ -3339,10 +3485,10 @@ const ae = ({
|
|
|
3339
3485
|
)
|
|
3340
3486
|
]
|
|
3341
3487
|
}
|
|
3342
|
-
),
|
|
3488
|
+
), Ve = ({
|
|
3343
3489
|
width: i = 20,
|
|
3344
3490
|
height: e = 20,
|
|
3345
|
-
color: t =
|
|
3491
|
+
color: t = L.GREY_DARK_5,
|
|
3346
3492
|
className: s,
|
|
3347
3493
|
onClick: n
|
|
3348
3494
|
}) => /* @__PURE__ */ u(
|
|
@@ -3372,10 +3518,10 @@ const ae = ({
|
|
|
3372
3518
|
)
|
|
3373
3519
|
]
|
|
3374
3520
|
}
|
|
3375
|
-
),
|
|
3521
|
+
), Ie = ({
|
|
3376
3522
|
width: i = 20,
|
|
3377
3523
|
height: e = 20,
|
|
3378
|
-
color: t =
|
|
3524
|
+
color: t = L.GREY_DARK_5,
|
|
3379
3525
|
className: s,
|
|
3380
3526
|
onClick: n
|
|
3381
3527
|
}) => /* @__PURE__ */ u(
|
|
@@ -3405,10 +3551,10 @@ const ae = ({
|
|
|
3405
3551
|
)
|
|
3406
3552
|
]
|
|
3407
3553
|
}
|
|
3408
|
-
),
|
|
3554
|
+
), Ae = ({
|
|
3409
3555
|
width: i = 20,
|
|
3410
3556
|
height: e = 20,
|
|
3411
|
-
color: t =
|
|
3557
|
+
color: t = L.GREY_DARK_5,
|
|
3412
3558
|
className: s,
|
|
3413
3559
|
onClick: n
|
|
3414
3560
|
}) => /* @__PURE__ */ u(
|
|
@@ -3445,10 +3591,10 @@ const ae = ({
|
|
|
3445
3591
|
)
|
|
3446
3592
|
]
|
|
3447
3593
|
}
|
|
3448
|
-
),
|
|
3594
|
+
), Oe = ({
|
|
3449
3595
|
width: i = 20,
|
|
3450
3596
|
height: e = 20,
|
|
3451
|
-
color: t =
|
|
3597
|
+
color: t = L.GREY_DARK_5,
|
|
3452
3598
|
className: s,
|
|
3453
3599
|
onClick: n
|
|
3454
3600
|
}) => /* @__PURE__ */ u(
|
|
@@ -3478,10 +3624,10 @@ const ae = ({
|
|
|
3478
3624
|
)
|
|
3479
3625
|
]
|
|
3480
3626
|
}
|
|
3481
|
-
),
|
|
3627
|
+
), Ze = ({
|
|
3482
3628
|
width: i = 20,
|
|
3483
3629
|
height: e = 20,
|
|
3484
|
-
color: t =
|
|
3630
|
+
color: t = L.GREY_DARK_5,
|
|
3485
3631
|
className: s,
|
|
3486
3632
|
onClick: n
|
|
3487
3633
|
}) => /* @__PURE__ */ u(
|
|
@@ -3511,7 +3657,7 @@ const ae = ({
|
|
|
3511
3657
|
)
|
|
3512
3658
|
]
|
|
3513
3659
|
}
|
|
3514
|
-
),
|
|
3660
|
+
), Se = ({
|
|
3515
3661
|
width: i = 20,
|
|
3516
3662
|
height: e = 20,
|
|
3517
3663
|
color: t = "#070739",
|
|
@@ -3541,7 +3687,7 @@ const ae = ({
|
|
|
3541
3687
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3542
3688
|
]
|
|
3543
3689
|
}
|
|
3544
|
-
),
|
|
3690
|
+
), De = ({
|
|
3545
3691
|
width: i = 20,
|
|
3546
3692
|
height: e = 20,
|
|
3547
3693
|
color: t = "#070739",
|
|
@@ -3579,7 +3725,7 @@ const ae = ({
|
|
|
3579
3725
|
)
|
|
3580
3726
|
]
|
|
3581
3727
|
}
|
|
3582
|
-
),
|
|
3728
|
+
), Ge = ({
|
|
3583
3729
|
width: i = 9,
|
|
3584
3730
|
height: e = 5,
|
|
3585
3731
|
color: t = "#001E52",
|
|
@@ -3605,7 +3751,7 @@ const ae = ({
|
|
|
3605
3751
|
}
|
|
3606
3752
|
)
|
|
3607
3753
|
}
|
|
3608
|
-
),
|
|
3754
|
+
), Te = ({
|
|
3609
3755
|
width: i = 20,
|
|
3610
3756
|
height: e = 20,
|
|
3611
3757
|
color: t = "#F2F2F7",
|
|
@@ -3634,7 +3780,7 @@ const ae = ({
|
|
|
3634
3780
|
)
|
|
3635
3781
|
]
|
|
3636
3782
|
}
|
|
3637
|
-
),
|
|
3783
|
+
), Ke = ({
|
|
3638
3784
|
width: i = 20,
|
|
3639
3785
|
height: e = 20,
|
|
3640
3786
|
color: t = "#004ED7",
|
|
@@ -3663,7 +3809,7 @@ const ae = ({
|
|
|
3663
3809
|
)
|
|
3664
3810
|
]
|
|
3665
3811
|
}
|
|
3666
|
-
),
|
|
3812
|
+
), Be = ({
|
|
3667
3813
|
width: i = 10,
|
|
3668
3814
|
height: e = 10,
|
|
3669
3815
|
color: t = "#001E52",
|
|
@@ -3692,7 +3838,7 @@ const ae = ({
|
|
|
3692
3838
|
)
|
|
3693
3839
|
]
|
|
3694
3840
|
}
|
|
3695
|
-
),
|
|
3841
|
+
), Pe = ({
|
|
3696
3842
|
width: i = 10,
|
|
3697
3843
|
height: e = 10,
|
|
3698
3844
|
color: t = "#001E52",
|
|
@@ -3729,9 +3875,9 @@ const ae = ({
|
|
|
3729
3875
|
)
|
|
3730
3876
|
]
|
|
3731
3877
|
}
|
|
3732
|
-
),
|
|
3878
|
+
), Ye = ({
|
|
3733
3879
|
className: i,
|
|
3734
|
-
color: e =
|
|
3880
|
+
color: e = L.GREY_DARK_5,
|
|
3735
3881
|
height: t = 20,
|
|
3736
3882
|
width: s = 20,
|
|
3737
3883
|
onClick: n
|
|
@@ -3762,9 +3908,9 @@ const ae = ({
|
|
|
3762
3908
|
)
|
|
3763
3909
|
]
|
|
3764
3910
|
}
|
|
3765
|
-
),
|
|
3911
|
+
), je = ({
|
|
3766
3912
|
className: i,
|
|
3767
|
-
color: e =
|
|
3913
|
+
color: e = L.GREY_DARK_5,
|
|
3768
3914
|
height: t = 20,
|
|
3769
3915
|
width: s = 20,
|
|
3770
3916
|
onClick: n
|
|
@@ -3789,9 +3935,9 @@ const ae = ({
|
|
|
3789
3935
|
}
|
|
3790
3936
|
)
|
|
3791
3937
|
}
|
|
3792
|
-
),
|
|
3938
|
+
), $e = ({
|
|
3793
3939
|
className: i,
|
|
3794
|
-
color: e =
|
|
3940
|
+
color: e = L.GREY_DARK_5,
|
|
3795
3941
|
height: t = 20,
|
|
3796
3942
|
width: s = 20,
|
|
3797
3943
|
onClick: n
|
|
@@ -3816,9 +3962,9 @@ const ae = ({
|
|
|
3816
3962
|
}
|
|
3817
3963
|
)
|
|
3818
3964
|
}
|
|
3819
|
-
),
|
|
3965
|
+
), Fe = ({
|
|
3820
3966
|
className: i,
|
|
3821
|
-
color: e =
|
|
3967
|
+
color: e = L.GREY_DARK_5,
|
|
3822
3968
|
height: t = 5,
|
|
3823
3969
|
width: s = 10,
|
|
3824
3970
|
onClick: n
|
|
@@ -3840,9 +3986,9 @@ const ae = ({
|
|
|
3840
3986
|
}
|
|
3841
3987
|
)
|
|
3842
3988
|
}
|
|
3843
|
-
),
|
|
3989
|
+
), We = ({
|
|
3844
3990
|
className: i,
|
|
3845
|
-
color: e =
|
|
3991
|
+
color: e = L.GREY_DARK_5,
|
|
3846
3992
|
height: t = 5,
|
|
3847
3993
|
width: s = 10,
|
|
3848
3994
|
onClick: n
|
|
@@ -3865,9 +4011,9 @@ const ae = ({
|
|
|
3865
4011
|
}
|
|
3866
4012
|
)
|
|
3867
4013
|
}
|
|
3868
|
-
),
|
|
4014
|
+
), Ue = ({
|
|
3869
4015
|
className: i,
|
|
3870
|
-
color: e =
|
|
4016
|
+
color: e = L.GREY_DARK_5,
|
|
3871
4017
|
height: t = 20,
|
|
3872
4018
|
width: s = 20,
|
|
3873
4019
|
onClick: n
|
|
@@ -3898,9 +4044,9 @@ const ae = ({
|
|
|
3898
4044
|
)
|
|
3899
4045
|
]
|
|
3900
4046
|
}
|
|
3901
|
-
),
|
|
4047
|
+
), ze = ({
|
|
3902
4048
|
className: i,
|
|
3903
|
-
color: e =
|
|
4049
|
+
color: e = L.GREY_DARK_5,
|
|
3904
4050
|
height: t = 24,
|
|
3905
4051
|
width: s = 24,
|
|
3906
4052
|
onClick: n
|
|
@@ -3937,9 +4083,9 @@ const ae = ({
|
|
|
3937
4083
|
)
|
|
3938
4084
|
]
|
|
3939
4085
|
}
|
|
3940
|
-
),
|
|
4086
|
+
), Je = ({
|
|
3941
4087
|
className: i,
|
|
3942
|
-
color: e =
|
|
4088
|
+
color: e = L.GREY_DARK_5,
|
|
3943
4089
|
height: t = 24,
|
|
3944
4090
|
width: s = 24,
|
|
3945
4091
|
onClick: n
|
|
@@ -3964,9 +4110,9 @@ const ae = ({
|
|
|
3964
4110
|
}
|
|
3965
4111
|
)
|
|
3966
4112
|
}
|
|
3967
|
-
),
|
|
4113
|
+
), qe = ({
|
|
3968
4114
|
className: i,
|
|
3969
|
-
color: e =
|
|
4115
|
+
color: e = L.GREY_DARK_5,
|
|
3970
4116
|
height: t = 24,
|
|
3971
4117
|
width: s = 24,
|
|
3972
4118
|
onClick: n
|
|
@@ -4023,9 +4169,9 @@ const ae = ({
|
|
|
4023
4169
|
)
|
|
4024
4170
|
]
|
|
4025
4171
|
}
|
|
4026
|
-
),
|
|
4172
|
+
), Qe = ({
|
|
4027
4173
|
className: i,
|
|
4028
|
-
color: e =
|
|
4174
|
+
color: e = L.GREY_DARK_5,
|
|
4029
4175
|
height: t = 24,
|
|
4030
4176
|
width: s = 24,
|
|
4031
4177
|
onClick: n
|
|
@@ -4060,9 +4206,9 @@ const ae = ({
|
|
|
4060
4206
|
)
|
|
4061
4207
|
]
|
|
4062
4208
|
}
|
|
4063
|
-
),
|
|
4209
|
+
), Xe = ({
|
|
4064
4210
|
className: i,
|
|
4065
|
-
color: e =
|
|
4211
|
+
color: e = L.GREY_DARK_3,
|
|
4066
4212
|
height: t = 14,
|
|
4067
4213
|
width: s = 14,
|
|
4068
4214
|
onClick: n
|
|
@@ -4097,9 +4243,9 @@ const ae = ({
|
|
|
4097
4243
|
)
|
|
4098
4244
|
]
|
|
4099
4245
|
}
|
|
4100
|
-
),
|
|
4246
|
+
), et = ({
|
|
4101
4247
|
className: i,
|
|
4102
|
-
color: e =
|
|
4248
|
+
color: e = L.GREY_DARK_5,
|
|
4103
4249
|
height: t = 18,
|
|
4104
4250
|
onClick: s,
|
|
4105
4251
|
width: n = 18
|
|
@@ -4124,9 +4270,9 @@ const ae = ({
|
|
|
4124
4270
|
}
|
|
4125
4271
|
)
|
|
4126
4272
|
}
|
|
4127
|
-
),
|
|
4273
|
+
), tt = ({
|
|
4128
4274
|
className: i,
|
|
4129
|
-
color: e =
|
|
4275
|
+
color: e = L.GREY_DARK_5,
|
|
4130
4276
|
height: t = 24,
|
|
4131
4277
|
width: s = 24,
|
|
4132
4278
|
onClick: n
|
|
@@ -4176,9 +4322,9 @@ const ae = ({
|
|
|
4176
4322
|
)
|
|
4177
4323
|
]
|
|
4178
4324
|
}
|
|
4179
|
-
),
|
|
4325
|
+
), it = ({
|
|
4180
4326
|
className: i,
|
|
4181
|
-
color: e =
|
|
4327
|
+
color: e = L.GREY_DARK_5,
|
|
4182
4328
|
height: t = 24,
|
|
4183
4329
|
width: s = 24,
|
|
4184
4330
|
onClick: n
|
|
@@ -4213,9 +4359,9 @@ const ae = ({
|
|
|
4213
4359
|
)
|
|
4214
4360
|
]
|
|
4215
4361
|
}
|
|
4216
|
-
),
|
|
4362
|
+
), st = ({
|
|
4217
4363
|
className: i,
|
|
4218
|
-
color: e =
|
|
4364
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
4219
4365
|
height: t = 37,
|
|
4220
4366
|
width: s = 36,
|
|
4221
4367
|
onClick: n
|
|
@@ -4252,9 +4398,9 @@ const ae = ({
|
|
|
4252
4398
|
)
|
|
4253
4399
|
]
|
|
4254
4400
|
}
|
|
4255
|
-
),
|
|
4401
|
+
), nt = ({
|
|
4256
4402
|
className: i,
|
|
4257
|
-
color: e =
|
|
4403
|
+
color: e = L.GREY_DARK_5,
|
|
4258
4404
|
height: t = 24,
|
|
4259
4405
|
width: s = 24,
|
|
4260
4406
|
onClick: n
|
|
@@ -4278,9 +4424,9 @@ const ae = ({
|
|
|
4278
4424
|
}
|
|
4279
4425
|
)
|
|
4280
4426
|
}
|
|
4281
|
-
),
|
|
4427
|
+
), rt = ({
|
|
4282
4428
|
className: i,
|
|
4283
|
-
color: e =
|
|
4429
|
+
color: e = L.GREY_DARK_5,
|
|
4284
4430
|
height: t = 24,
|
|
4285
4431
|
width: s = 24,
|
|
4286
4432
|
onClick: n
|
|
@@ -4317,9 +4463,9 @@ const ae = ({
|
|
|
4317
4463
|
)
|
|
4318
4464
|
]
|
|
4319
4465
|
}
|
|
4320
|
-
),
|
|
4466
|
+
), ot = ({
|
|
4321
4467
|
className: i,
|
|
4322
|
-
color: e =
|
|
4468
|
+
color: e = L.GREY_DARK_5,
|
|
4323
4469
|
height: t = 20,
|
|
4324
4470
|
width: s = 20,
|
|
4325
4471
|
onClick: n
|
|
@@ -4350,9 +4496,9 @@ const ae = ({
|
|
|
4350
4496
|
)
|
|
4351
4497
|
]
|
|
4352
4498
|
}
|
|
4353
|
-
),
|
|
4499
|
+
), at = ({
|
|
4354
4500
|
className: i,
|
|
4355
|
-
color: e =
|
|
4501
|
+
color: e = L.GREY_DARK_5,
|
|
4356
4502
|
height: t = 24,
|
|
4357
4503
|
width: s = 24,
|
|
4358
4504
|
onClick: n
|
|
@@ -4419,9 +4565,9 @@ const ae = ({
|
|
|
4419
4565
|
)
|
|
4420
4566
|
]
|
|
4421
4567
|
}
|
|
4422
|
-
),
|
|
4568
|
+
), lt = ({
|
|
4423
4569
|
className: i,
|
|
4424
|
-
color: e =
|
|
4570
|
+
color: e = L.GREY_DARK_5,
|
|
4425
4571
|
height: t = 24,
|
|
4426
4572
|
width: s = 24,
|
|
4427
4573
|
onClick: n
|
|
@@ -4476,9 +4622,9 @@ const ae = ({
|
|
|
4476
4622
|
)
|
|
4477
4623
|
]
|
|
4478
4624
|
}
|
|
4479
|
-
),
|
|
4625
|
+
), ht = ({
|
|
4480
4626
|
className: i,
|
|
4481
|
-
color: e =
|
|
4627
|
+
color: e = L.GREY_DARK_5,
|
|
4482
4628
|
height: t = 24,
|
|
4483
4629
|
width: s = 24,
|
|
4484
4630
|
onClick: n
|
|
@@ -4525,9 +4671,9 @@ const ae = ({
|
|
|
4525
4671
|
)
|
|
4526
4672
|
]
|
|
4527
4673
|
}
|
|
4528
|
-
),
|
|
4674
|
+
), ct = ({
|
|
4529
4675
|
className: i,
|
|
4530
|
-
color: e =
|
|
4676
|
+
color: e = L.GREY_DARK_5,
|
|
4531
4677
|
height: t = 24,
|
|
4532
4678
|
width: s = 24,
|
|
4533
4679
|
onClick: n
|
|
@@ -4552,9 +4698,9 @@ const ae = ({
|
|
|
4552
4698
|
}
|
|
4553
4699
|
)
|
|
4554
4700
|
}
|
|
4555
|
-
),
|
|
4701
|
+
), dt = ({
|
|
4556
4702
|
className: i,
|
|
4557
|
-
color: e =
|
|
4703
|
+
color: e = L.GREY_DARK_5,
|
|
4558
4704
|
height: t = 20,
|
|
4559
4705
|
width: s = 20,
|
|
4560
4706
|
onClick: n
|
|
@@ -4569,7 +4715,7 @@ const ae = ({
|
|
|
4569
4715
|
fill: "none",
|
|
4570
4716
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4571
4717
|
children: [
|
|
4572
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4718
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
4573
4719
|
/* @__PURE__ */ r(
|
|
4574
4720
|
"path",
|
|
4575
4721
|
{
|
|
@@ -4581,7 +4727,7 @@ const ae = ({
|
|
|
4581
4727
|
)
|
|
4582
4728
|
]
|
|
4583
4729
|
}
|
|
4584
|
-
),
|
|
4730
|
+
), Ct = ({
|
|
4585
4731
|
className: i,
|
|
4586
4732
|
color: e = "#001E52",
|
|
4587
4733
|
height: t = 24,
|
|
@@ -4607,7 +4753,7 @@ const ae = ({
|
|
|
4607
4753
|
}
|
|
4608
4754
|
)
|
|
4609
4755
|
}
|
|
4610
|
-
),
|
|
4756
|
+
), gt = ({
|
|
4611
4757
|
className: i,
|
|
4612
4758
|
color: e = "#001E52",
|
|
4613
4759
|
height: t = 24,
|
|
@@ -4645,63 +4791,31 @@ const ae = ({
|
|
|
4645
4791
|
)
|
|
4646
4792
|
] }) })
|
|
4647
4793
|
}
|
|
4648
|
-
),
|
|
4794
|
+
), ut = ({
|
|
4649
4795
|
width: i = 20,
|
|
4650
4796
|
height: e = 20,
|
|
4651
|
-
color: t =
|
|
4797
|
+
color: t = L.GREY_DARK_5,
|
|
4652
4798
|
className: s,
|
|
4653
4799
|
onClick: n
|
|
4654
4800
|
}) => /* @__PURE__ */ r(
|
|
4655
4801
|
"svg",
|
|
4656
4802
|
{
|
|
4657
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4658
4803
|
width: i,
|
|
4659
4804
|
height: e,
|
|
4660
|
-
className: s,
|
|
4661
4805
|
onClick: n,
|
|
4662
|
-
|
|
4806
|
+
className: s,
|
|
4807
|
+
viewBox: "0 0 24 24",
|
|
4663
4808
|
fill: "none",
|
|
4809
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4664
4810
|
children: /* @__PURE__ */ r(
|
|
4665
4811
|
"path",
|
|
4666
4812
|
{
|
|
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`,
|
|
4813
|
+
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
4814
|
fill: t
|
|
4701
4815
|
}
|
|
4702
4816
|
)
|
|
4703
4817
|
}
|
|
4704
|
-
),
|
|
4818
|
+
), ft = ({
|
|
4705
4819
|
width: i = 24,
|
|
4706
4820
|
height: e = 24,
|
|
4707
4821
|
color: t = "#131314",
|
|
@@ -4734,10 +4848,10 @@ const ae = ({
|
|
|
4734
4848
|
)
|
|
4735
4849
|
]
|
|
4736
4850
|
}
|
|
4737
|
-
),
|
|
4738
|
-
width: i =
|
|
4739
|
-
height: e =
|
|
4740
|
-
color: t =
|
|
4851
|
+
), pt = ({
|
|
4852
|
+
width: i = 20,
|
|
4853
|
+
height: e = 20,
|
|
4854
|
+
color: t = L.GREY_DARK_5,
|
|
4741
4855
|
className: s,
|
|
4742
4856
|
onClick: n
|
|
4743
4857
|
}) => /* @__PURE__ */ u(
|
|
@@ -4745,38 +4859,32 @@ const ae = ({
|
|
|
4745
4859
|
{
|
|
4746
4860
|
width: i,
|
|
4747
4861
|
height: e,
|
|
4862
|
+
className: s,
|
|
4863
|
+
onClick: n,
|
|
4748
4864
|
viewBox: "0 0 24 24",
|
|
4749
4865
|
fill: "none",
|
|
4750
4866
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4751
|
-
className: s,
|
|
4752
|
-
onClick: n,
|
|
4753
4867
|
children: [
|
|
4754
4868
|
/* @__PURE__ */ r(
|
|
4755
4869
|
"path",
|
|
4756
4870
|
{
|
|
4757
|
-
d: "
|
|
4758
|
-
|
|
4759
|
-
strokeWidth: "1.5",
|
|
4760
|
-
strokeLinecap: "round",
|
|
4761
|
-
strokeLinejoin: "round"
|
|
4871
|
+
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",
|
|
4872
|
+
fill: t
|
|
4762
4873
|
}
|
|
4763
4874
|
),
|
|
4764
4875
|
/* @__PURE__ */ r(
|
|
4765
4876
|
"path",
|
|
4766
4877
|
{
|
|
4767
|
-
d: "
|
|
4768
|
-
|
|
4769
|
-
strokeWidth: "1.5",
|
|
4770
|
-
strokeLinecap: "round",
|
|
4771
|
-
strokeLinejoin: "round"
|
|
4878
|
+
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",
|
|
4879
|
+
fill: t
|
|
4772
4880
|
}
|
|
4773
4881
|
)
|
|
4774
4882
|
]
|
|
4775
4883
|
}
|
|
4776
|
-
),
|
|
4884
|
+
), mt = ({
|
|
4777
4885
|
width: i = 24,
|
|
4778
4886
|
height: e = 24,
|
|
4779
|
-
color: t =
|
|
4887
|
+
color: t = L.GREY_DARK_2,
|
|
4780
4888
|
className: s,
|
|
4781
4889
|
onClick: n
|
|
4782
4890
|
}) => /* @__PURE__ */ u(
|
|
@@ -4813,10 +4921,10 @@ const ae = ({
|
|
|
4813
4921
|
)
|
|
4814
4922
|
]
|
|
4815
4923
|
}
|
|
4816
|
-
),
|
|
4924
|
+
), wt = ({
|
|
4817
4925
|
width: i = 24,
|
|
4818
4926
|
height: e = 24,
|
|
4819
|
-
color: t =
|
|
4927
|
+
color: t = L.GREY_DARK_2,
|
|
4820
4928
|
className: s,
|
|
4821
4929
|
onClick: n
|
|
4822
4930
|
}) => /* @__PURE__ */ r(
|
|
@@ -4840,10 +4948,10 @@ const ae = ({
|
|
|
4840
4948
|
}
|
|
4841
4949
|
)
|
|
4842
4950
|
}
|
|
4843
|
-
),
|
|
4951
|
+
), Lt = ({
|
|
4844
4952
|
width: i = 24,
|
|
4845
4953
|
height: e = 24,
|
|
4846
|
-
color: t =
|
|
4954
|
+
color: t = L.GREY_DARK_2,
|
|
4847
4955
|
className: s,
|
|
4848
4956
|
onClick: n
|
|
4849
4957
|
}) => /* @__PURE__ */ r(
|
|
@@ -4867,226 +4975,206 @@ const ae = ({
|
|
|
4867
4975
|
}
|
|
4868
4976
|
)
|
|
4869
4977
|
}
|
|
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
|
-
), ut = ({
|
|
4978
|
+
), kt = ({
|
|
4897
4979
|
name: i,
|
|
4898
4980
|
width: e,
|
|
4899
4981
|
height: t,
|
|
4900
4982
|
color: s,
|
|
4901
4983
|
className: n,
|
|
4902
4984
|
disabled: o = !1,
|
|
4903
|
-
onClick:
|
|
4985
|
+
onClick: c
|
|
4904
4986
|
}) => {
|
|
4905
|
-
const [a, C] = O(n), { theme: d } = r1(
|
|
4906
|
-
return
|
|
4987
|
+
const [a, C] = O(n), { theme: d } = r1(h2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
4988
|
+
return S(() => {
|
|
4907
4989
|
if (n) {
|
|
4908
|
-
|
|
4990
|
+
h && !o && C(`${n} clickable`);
|
|
4909
4991
|
return;
|
|
4910
4992
|
}
|
|
4911
|
-
|
|
4912
|
-
}, [
|
|
4993
|
+
h && !o && C("clickable");
|
|
4994
|
+
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
4913
4995
|
switch (i) {
|
|
4914
4996
|
case "nextIcon":
|
|
4915
|
-
return
|
|
4997
|
+
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4916
4998
|
case "prevIcon":
|
|
4917
|
-
return
|
|
4999
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4918
5000
|
case "arrowDown":
|
|
4919
|
-
return
|
|
5001
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4920
5002
|
case "info":
|
|
4921
|
-
return
|
|
5003
|
+
return de({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4922
5004
|
case "arrowRight":
|
|
4923
|
-
return
|
|
5005
|
+
return Ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4924
5006
|
case "calendar":
|
|
4925
|
-
return
|
|
5007
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4926
5008
|
case "check":
|
|
4927
|
-
return
|
|
5009
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4928
5010
|
case "cancel":
|
|
4929
|
-
return
|
|
5011
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4930
5012
|
case "add":
|
|
4931
|
-
return
|
|
5013
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4932
5014
|
case "list":
|
|
4933
|
-
return
|
|
5015
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4934
5016
|
case "dragAndDrop":
|
|
4935
|
-
return
|
|
5017
|
+
return Ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4936
5018
|
case "filter":
|
|
4937
|
-
return
|
|
5019
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4938
5020
|
case "attention":
|
|
4939
|
-
return
|
|
5021
|
+
return xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4940
5022
|
case "users":
|
|
4941
|
-
return
|
|
5023
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4942
5024
|
case "mySkillsMatrix":
|
|
4943
|
-
return
|
|
5025
|
+
return Me({
|
|
4944
5026
|
width: e,
|
|
4945
5027
|
height: t,
|
|
4946
5028
|
color: l,
|
|
4947
5029
|
className: a,
|
|
4948
|
-
onClick:
|
|
5030
|
+
onClick: h
|
|
4949
5031
|
});
|
|
4950
5032
|
case "skills":
|
|
4951
|
-
return
|
|
5033
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4952
5034
|
case "skillsMatrices":
|
|
4953
|
-
return
|
|
5035
|
+
return ye({
|
|
4954
5036
|
width: e,
|
|
4955
5037
|
height: t,
|
|
4956
5038
|
color: l,
|
|
4957
5039
|
className: a,
|
|
4958
|
-
onClick:
|
|
5040
|
+
onClick: h
|
|
4959
5041
|
});
|
|
4960
5042
|
case "history":
|
|
4961
|
-
return
|
|
5043
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4962
5044
|
case "logOut":
|
|
4963
|
-
return
|
|
5045
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4964
5046
|
case "settings":
|
|
4965
|
-
return
|
|
5047
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4966
5048
|
case "trash":
|
|
4967
|
-
return
|
|
5049
|
+
return Ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4968
5050
|
case "settings2":
|
|
4969
|
-
return
|
|
5051
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4970
5052
|
case "checkCircle":
|
|
4971
|
-
return
|
|
5053
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4972
5054
|
case "cancelCircle":
|
|
4973
|
-
return
|
|
5055
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4974
5056
|
case "visibilityIcon":
|
|
4975
|
-
return
|
|
5057
|
+
return Se({
|
|
4976
5058
|
width: e,
|
|
4977
5059
|
height: t,
|
|
4978
5060
|
color: l,
|
|
4979
5061
|
className: a,
|
|
4980
|
-
onClick:
|
|
5062
|
+
onClick: h
|
|
4981
5063
|
});
|
|
4982
5064
|
case "visibilityOffIcon":
|
|
4983
|
-
return
|
|
5065
|
+
return De({
|
|
4984
5066
|
width: e,
|
|
4985
5067
|
height: t,
|
|
4986
5068
|
color: l,
|
|
4987
5069
|
className: a,
|
|
4988
|
-
onClick:
|
|
5070
|
+
onClick: h
|
|
4989
5071
|
});
|
|
4990
5072
|
case "selectArrowIcon":
|
|
4991
|
-
return
|
|
5073
|
+
return Ge({
|
|
4992
5074
|
width: e,
|
|
4993
5075
|
height: t,
|
|
4994
5076
|
color: l,
|
|
4995
5077
|
className: a,
|
|
4996
|
-
onClick:
|
|
5078
|
+
onClick: h
|
|
4997
5079
|
});
|
|
4998
5080
|
case "expandArrowIcon":
|
|
4999
|
-
return
|
|
5081
|
+
return Te({
|
|
5000
5082
|
width: e,
|
|
5001
5083
|
height: t,
|
|
5002
5084
|
color: l,
|
|
5003
5085
|
className: a,
|
|
5004
|
-
onClick:
|
|
5086
|
+
onClick: h
|
|
5005
5087
|
});
|
|
5006
5088
|
case "expandActiveArrowIcon":
|
|
5007
|
-
return
|
|
5089
|
+
return Ke({
|
|
5008
5090
|
width: e,
|
|
5009
5091
|
height: t,
|
|
5010
5092
|
color: l,
|
|
5011
5093
|
className: a,
|
|
5012
|
-
onClick:
|
|
5094
|
+
onClick: h
|
|
5013
5095
|
});
|
|
5014
5096
|
case "sortUp":
|
|
5015
|
-
return
|
|
5097
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5016
5098
|
case "sortDown":
|
|
5017
|
-
return
|
|
5099
|
+
return Pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5018
5100
|
case "search":
|
|
5019
|
-
return
|
|
5101
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5020
5102
|
case "arrowUpFilled":
|
|
5021
|
-
return
|
|
5103
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5022
5104
|
case "arrowDownFilled":
|
|
5023
|
-
return
|
|
5105
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
|
+
case "arrow2Up":
|
|
5107
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
|
+
case "arrow2Right":
|
|
5109
|
+
return ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
|
+
case "arrow2Down":
|
|
5111
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
|
+
case "arrow2Left":
|
|
5113
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5024
5114
|
case "link":
|
|
5025
|
-
return
|
|
5115
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5026
5116
|
case "telegram":
|
|
5027
|
-
return
|
|
5117
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5028
5118
|
case "mail":
|
|
5029
|
-
return
|
|
5119
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5030
5120
|
case "github":
|
|
5031
|
-
return
|
|
5121
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5032
5122
|
case "linkedIn":
|
|
5033
|
-
return
|
|
5123
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5034
5124
|
case "emptyStateIcon":
|
|
5035
|
-
return
|
|
5125
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5036
5126
|
case "filtersIcon":
|
|
5037
|
-
return
|
|
5127
|
+
return et({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5038
5128
|
case "dotMenuIcon":
|
|
5039
|
-
return
|
|
5129
|
+
return tt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5040
5130
|
case "plusCircle":
|
|
5041
|
-
return
|
|
5131
|
+
return it({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5042
5132
|
case "warning":
|
|
5043
|
-
return
|
|
5133
|
+
return st({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5044
5134
|
case "back":
|
|
5045
|
-
return
|
|
5135
|
+
return nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5046
5136
|
case "bell":
|
|
5047
|
-
return
|
|
5137
|
+
return rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5048
5138
|
case "copy":
|
|
5049
|
-
return
|
|
5139
|
+
return ot({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5050
5140
|
case "contract":
|
|
5051
|
-
return
|
|
5141
|
+
return at({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5052
5142
|
case "resourceManager":
|
|
5053
|
-
return
|
|
5143
|
+
return lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5054
5144
|
case "image":
|
|
5055
|
-
return
|
|
5145
|
+
return ht({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5056
5146
|
case "edit":
|
|
5057
|
-
return
|
|
5147
|
+
return ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5058
5148
|
case "filledArrowRight":
|
|
5059
|
-
return
|
|
5149
|
+
return dt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5060
5150
|
case "burgerMenu":
|
|
5061
|
-
return
|
|
5151
|
+
return Ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5062
5152
|
case "refresh":
|
|
5063
|
-
return
|
|
5153
|
+
return gt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5064
5154
|
case "projects":
|
|
5065
|
-
return
|
|
5066
|
-
case "
|
|
5067
|
-
return
|
|
5155
|
+
return ut({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5156
|
+
case "user":
|
|
5157
|
+
return pt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5068
5158
|
case "exit":
|
|
5069
|
-
return
|
|
5070
|
-
case "client":
|
|
5071
|
-
return ct({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5159
|
+
return ft({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5072
5160
|
case "openPointCircle":
|
|
5073
|
-
return
|
|
5161
|
+
return mt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5074
5162
|
case "community":
|
|
5075
|
-
return
|
|
5163
|
+
return wt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5076
5164
|
case "docs":
|
|
5077
|
-
return
|
|
5165
|
+
return Lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5078
5166
|
default:
|
|
5079
5167
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
5080
5168
|
}
|
|
5081
5169
|
})() });
|
|
5082
5170
|
};
|
|
5083
5171
|
var p1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(p1 || {});
|
|
5084
|
-
const
|
|
5172
|
+
const vt = d1({
|
|
5085
5173
|
locale: "en",
|
|
5086
5174
|
theme: "light"
|
|
5087
5175
|
});
|
|
5088
|
-
|
|
5089
|
-
const
|
|
5176
|
+
vt.Provider;
|
|
5177
|
+
const c2 = ({
|
|
5090
5178
|
children: i,
|
|
5091
5179
|
width: e,
|
|
5092
5180
|
size: t = "small",
|
|
@@ -5094,7 +5182,7 @@ const h2 = ({
|
|
|
5094
5182
|
closable: n = !0,
|
|
5095
5183
|
disabled: o = !1
|
|
5096
5184
|
}) => {
|
|
5097
|
-
const
|
|
5185
|
+
const c = t === "small" ? 10 : 12.5, a = () => {
|
|
5098
5186
|
o || s == null || s();
|
|
5099
5187
|
};
|
|
5100
5188
|
return /* @__PURE__ */ r(
|
|
@@ -5102,12 +5190,12 @@ const h2 = ({
|
|
|
5102
5190
|
{
|
|
5103
5191
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5104
5192
|
closeIcon: /* @__PURE__ */ r(
|
|
5105
|
-
|
|
5193
|
+
kt,
|
|
5106
5194
|
{
|
|
5107
5195
|
name: "cancelCircle",
|
|
5108
5196
|
color: o ? p1.GREY_DARK_1 : p1.GREY_DARK_2,
|
|
5109
|
-
width:
|
|
5110
|
-
height:
|
|
5197
|
+
width: c,
|
|
5198
|
+
height: c,
|
|
5111
5199
|
onClick: a
|
|
5112
5200
|
}
|
|
5113
5201
|
),
|
|
@@ -5115,7 +5203,7 @@ const h2 = ({
|
|
|
5115
5203
|
style: { width: e ?? "fit-content" },
|
|
5116
5204
|
closable: n,
|
|
5117
5205
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5118
|
-
|
|
5206
|
+
he,
|
|
5119
5207
|
{
|
|
5120
5208
|
variant: t === "small" ? "body4" : "body2",
|
|
5121
5209
|
color: o ? p1.GREY_DARK_2 : p1.GREY_DARK_5,
|
|
@@ -5124,12 +5212,12 @@ const h2 = ({
|
|
|
5124
5212
|
) : i
|
|
5125
5213
|
}
|
|
5126
5214
|
);
|
|
5127
|
-
}, { Title:
|
|
5215
|
+
}, { Title: Nt, Text: Rt } = r2, xt = {
|
|
5128
5216
|
h1: 1,
|
|
5129
5217
|
h2: 2,
|
|
5130
5218
|
h3: 3,
|
|
5131
5219
|
h4: 4
|
|
5132
|
-
},
|
|
5220
|
+
}, _t = L1(
|
|
5133
5221
|
({
|
|
5134
5222
|
align: i = "inherit",
|
|
5135
5223
|
variant: e = "body1",
|
|
@@ -5137,31 +5225,31 @@ const h2 = ({
|
|
|
5137
5225
|
children: s,
|
|
5138
5226
|
onClick: n,
|
|
5139
5227
|
collapsed: o,
|
|
5140
|
-
whiteSpace:
|
|
5228
|
+
whiteSpace: c = "normal",
|
|
5141
5229
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5142
5230
|
trim: a = !1
|
|
5143
5231
|
}, C) => {
|
|
5144
5232
|
const d = W(null);
|
|
5145
5233
|
y1(C, () => d.current);
|
|
5146
|
-
const [l,
|
|
5147
|
-
|
|
5148
|
-
var
|
|
5234
|
+
const [l, h] = O(!1);
|
|
5235
|
+
S(() => {
|
|
5236
|
+
var R;
|
|
5149
5237
|
if (!a) return;
|
|
5150
5238
|
const m = () => {
|
|
5151
|
-
d.current &&
|
|
5239
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5152
5240
|
};
|
|
5153
5241
|
m();
|
|
5154
5242
|
const y = new ResizeObserver(m);
|
|
5155
|
-
return d.current && y.observe(d.current), (
|
|
5243
|
+
return d.current && y.observe(d.current), (R = d.current) != null && R.parentElement && y.observe(d.current.parentElement), () => {
|
|
5156
5244
|
y.disconnect();
|
|
5157
5245
|
};
|
|
5158
5246
|
}, [a]);
|
|
5159
5247
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5160
5248
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
5161
5249
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
5162
|
-
const
|
|
5250
|
+
const k = {
|
|
5163
5251
|
className: f,
|
|
5164
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
5252
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
5165
5253
|
onClick: n,
|
|
5166
5254
|
ref: d,
|
|
5167
5255
|
ellipsis: a && l ? {
|
|
@@ -5171,34 +5259,35 @@ const h2 = ({
|
|
|
5171
5259
|
}
|
|
5172
5260
|
} : void 0
|
|
5173
5261
|
};
|
|
5174
|
-
return g ? /* @__PURE__ */ r(
|
|
5262
|
+
return g ? /* @__PURE__ */ r(Nt, { level: xt[e], ...k, children: s }) : /* @__PURE__ */ r(Rt, { ...k, children: s });
|
|
5175
5263
|
}
|
|
5176
|
-
),
|
|
5264
|
+
), Mt = ({
|
|
5177
5265
|
children: i,
|
|
5178
5266
|
content: e,
|
|
5179
5267
|
isOpen: t,
|
|
5180
5268
|
setIsOpen: s,
|
|
5181
5269
|
placement: n = "topRight",
|
|
5182
|
-
noPadding: o = !1
|
|
5270
|
+
noPadding: o = !1,
|
|
5271
|
+
trigger: c = "click"
|
|
5183
5272
|
}) => {
|
|
5184
|
-
const [
|
|
5273
|
+
const [a, C] = O(!1);
|
|
5185
5274
|
return /* @__PURE__ */ r(
|
|
5186
|
-
|
|
5275
|
+
M2,
|
|
5187
5276
|
{
|
|
5188
5277
|
content: e,
|
|
5189
5278
|
arrow: !1,
|
|
5190
5279
|
placement: n,
|
|
5191
|
-
trigger:
|
|
5280
|
+
trigger: c,
|
|
5192
5281
|
overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
|
|
5193
|
-
open: t ??
|
|
5194
|
-
onOpenChange: (
|
|
5195
|
-
|
|
5282
|
+
open: t ?? a,
|
|
5283
|
+
onOpenChange: (d) => {
|
|
5284
|
+
C(d), s == null || s(d);
|
|
5196
5285
|
},
|
|
5197
5286
|
children: /* @__PURE__ */ r("div", { className: "wrapper", children: i })
|
|
5198
5287
|
}
|
|
5199
5288
|
);
|
|
5200
5289
|
};
|
|
5201
|
-
var
|
|
5290
|
+
var bt = { exports: {} };
|
|
5202
5291
|
(function(i, e) {
|
|
5203
5292
|
(function(t, s) {
|
|
5204
5293
|
i.exports = s();
|
|
@@ -5208,37 +5297,37 @@ var vt = { exports: {} };
|
|
|
5208
5297
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5209
5298
|
} };
|
|
5210
5299
|
});
|
|
5211
|
-
})(
|
|
5212
|
-
const
|
|
5300
|
+
})(bt);
|
|
5301
|
+
const yt = ({
|
|
5213
5302
|
values: i,
|
|
5214
5303
|
onTagClose: e,
|
|
5215
5304
|
maxWidth: t,
|
|
5216
5305
|
closable: s = !0,
|
|
5217
5306
|
disabled: n,
|
|
5218
5307
|
options: o,
|
|
5219
|
-
extraOptions:
|
|
5308
|
+
extraOptions: c
|
|
5220
5309
|
}) => {
|
|
5221
5310
|
const { locale: a } = r1(D1), { t: C } = W2("common", { lng: a }), [d, l] = O(!1);
|
|
5222
|
-
if (
|
|
5311
|
+
if (S(() => {
|
|
5223
5312
|
i.length || l(!1);
|
|
5224
5313
|
}, [i]), !i.length)
|
|
5225
5314
|
return null;
|
|
5226
|
-
const
|
|
5227
|
-
var f,
|
|
5228
|
-
return ((f = o == null ? void 0 : o.find((
|
|
5315
|
+
const h = (g) => {
|
|
5316
|
+
var f, k;
|
|
5317
|
+
return ((f = o == null ? void 0 : o.find((R) => R.value === g)) == null ? void 0 : f.label) || ((k = c == null ? void 0 : c.find((R) => R.value === g)) == null ? void 0 : k.label) || g;
|
|
5229
5318
|
};
|
|
5230
5319
|
return /* @__PURE__ */ u(
|
|
5231
|
-
|
|
5320
|
+
Mt,
|
|
5232
5321
|
{
|
|
5233
5322
|
content: (
|
|
5234
5323
|
// 90: paddings + margins + gaps and so on
|
|
5235
5324
|
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(f1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: g }) => /* @__PURE__ */ r(
|
|
5236
|
-
|
|
5325
|
+
c2,
|
|
5237
5326
|
{
|
|
5238
5327
|
onClose: () => e(g),
|
|
5239
5328
|
closable: s,
|
|
5240
5329
|
disabled: n,
|
|
5241
|
-
children:
|
|
5330
|
+
children: h(g)
|
|
5242
5331
|
},
|
|
5243
5332
|
g
|
|
5244
5333
|
)) }) })
|
|
@@ -5253,19 +5342,19 @@ const Nt = ({
|
|
|
5253
5342
|
]
|
|
5254
5343
|
}
|
|
5255
5344
|
);
|
|
5256
|
-
},
|
|
5345
|
+
}, Ht = {
|
|
5257
5346
|
small: 20,
|
|
5258
5347
|
medium: 28,
|
|
5259
5348
|
large: 48
|
|
5260
5349
|
}, P1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5261
|
-
const t =
|
|
5350
|
+
const t = Ht[i], s = `no-repeat linear-gradient(${e}
|
|
5262
5351
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5263
5352
|
width: t,
|
|
5264
5353
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5265
5354
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5266
5355
|
};
|
|
5267
5356
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5268
|
-
},
|
|
5357
|
+
}, Y1 = L1(
|
|
5269
5358
|
({
|
|
5270
5359
|
value: i,
|
|
5271
5360
|
onChange: e,
|
|
@@ -5273,88 +5362,88 @@ const Nt = ({
|
|
|
5273
5362
|
mode: s,
|
|
5274
5363
|
search: n = !1,
|
|
5275
5364
|
options: o,
|
|
5276
|
-
width:
|
|
5365
|
+
width: c,
|
|
5277
5366
|
disabled: a = !1,
|
|
5278
5367
|
required: C = !1,
|
|
5279
5368
|
clearable: d = !1,
|
|
5280
5369
|
scrollThresholdValue: l = 50,
|
|
5281
|
-
onSearchChange:
|
|
5370
|
+
onSearchChange: h,
|
|
5282
5371
|
onDropdownVisibleChange: g,
|
|
5283
5372
|
onScrollToEnd: f,
|
|
5284
|
-
onPopupScroll:
|
|
5285
|
-
id:
|
|
5373
|
+
onPopupScroll: k,
|
|
5374
|
+
id: R,
|
|
5286
5375
|
extraOptions: m,
|
|
5287
5376
|
dropdownRender: y,
|
|
5288
|
-
optionRender:
|
|
5377
|
+
optionRender: b,
|
|
5289
5378
|
isLoading: E,
|
|
5290
5379
|
readOnly: p,
|
|
5291
|
-
error:
|
|
5292
|
-
},
|
|
5293
|
-
const [
|
|
5294
|
-
|
|
5295
|
-
|
|
5380
|
+
error: v
|
|
5381
|
+
}, _) => {
|
|
5382
|
+
const [N, V] = O(!1), [D, T] = O(!1), [P, Q] = O(!0), [I, Y] = O(i), U = W(null);
|
|
5383
|
+
S(() => {
|
|
5384
|
+
Y(i);
|
|
5296
5385
|
}, [i]);
|
|
5297
|
-
const q = (
|
|
5298
|
-
V(
|
|
5299
|
-
}, X = (
|
|
5300
|
-
var
|
|
5301
|
-
return !!((
|
|
5386
|
+
const q = (x) => {
|
|
5387
|
+
V(x), g && g(x);
|
|
5388
|
+
}, X = (x, H) => {
|
|
5389
|
+
var Z;
|
|
5390
|
+
return !!((Z = H == null ? void 0 : H.label) != null && Z.toString().toLowerCase().includes(x.toLowerCase()));
|
|
5302
5391
|
}, G = () => {
|
|
5303
5392
|
T(!0);
|
|
5304
5393
|
}, $ = () => {
|
|
5305
5394
|
T(!1);
|
|
5306
|
-
},
|
|
5307
|
-
(
|
|
5308
|
-
if (
|
|
5309
|
-
const
|
|
5310
|
-
e == null || e(
|
|
5395
|
+
}, j = K(
|
|
5396
|
+
(x) => {
|
|
5397
|
+
if (Y(x), s) {
|
|
5398
|
+
const Z = x;
|
|
5399
|
+
e == null || e(Z);
|
|
5311
5400
|
return;
|
|
5312
5401
|
}
|
|
5313
|
-
const H =
|
|
5402
|
+
const H = x;
|
|
5314
5403
|
e == null || e(H);
|
|
5315
5404
|
},
|
|
5316
5405
|
[s, e]
|
|
5317
5406
|
), e1 = K(() => {
|
|
5318
5407
|
if (!(p || a)) {
|
|
5319
5408
|
if (s) {
|
|
5320
|
-
|
|
5409
|
+
j([]);
|
|
5321
5410
|
return;
|
|
5322
5411
|
}
|
|
5323
|
-
|
|
5412
|
+
j("");
|
|
5324
5413
|
}
|
|
5325
|
-
}, [a,
|
|
5326
|
-
(
|
|
5327
|
-
const H = I.filter((
|
|
5328
|
-
|
|
5414
|
+
}, [a, j, s, p]), t1 = K(
|
|
5415
|
+
(x) => {
|
|
5416
|
+
const H = I.filter((Z) => Z !== x);
|
|
5417
|
+
j(H), Y(H);
|
|
5329
5418
|
},
|
|
5330
|
-
[
|
|
5419
|
+
[j, I]
|
|
5331
5420
|
), C1 = K(
|
|
5332
|
-
(
|
|
5421
|
+
(x) => (I == null ? void 0 : I.indexOf(x)) === 0 ? (
|
|
5333
5422
|
// if the search input is empty
|
|
5334
5423
|
// then display the placeholder, else do not display it
|
|
5335
5424
|
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: P ? t : "" })
|
|
5336
5425
|
) : /* @__PURE__ */ r(i1, {}),
|
|
5337
5426
|
[P, I, t]
|
|
5338
|
-
), k1 = (
|
|
5339
|
-
|
|
5340
|
-
}, v1 = async (
|
|
5341
|
-
const { target: H } =
|
|
5342
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)),
|
|
5427
|
+
), k1 = (x) => {
|
|
5428
|
+
x.preventDefault(), x.stopPropagation();
|
|
5429
|
+
}, v1 = async (x) => {
|
|
5430
|
+
const { target: H } = x;
|
|
5431
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)), k && await k(x);
|
|
5343
5432
|
}, o1 = K(
|
|
5344
|
-
(
|
|
5345
|
-
var H,
|
|
5346
|
-
return ((H = o.find((a1) => a1.value ===
|
|
5347
|
-
(a1) => a1.value ===
|
|
5348
|
-
)) == null ? void 0 :
|
|
5433
|
+
(x) => {
|
|
5434
|
+
var H, Z;
|
|
5435
|
+
return ((H = o.find((a1) => a1.value === x)) == null ? void 0 : H.label) || ((Z = m == null ? void 0 : m.find(
|
|
5436
|
+
(a1) => a1.value === x
|
|
5437
|
+
)) == null ? void 0 : Z.label) || x;
|
|
5349
5438
|
},
|
|
5350
5439
|
[m, o]
|
|
5351
5440
|
), N1 = K(
|
|
5352
|
-
(
|
|
5441
|
+
(x) => {
|
|
5353
5442
|
var H;
|
|
5354
5443
|
return /* @__PURE__ */ r(
|
|
5355
|
-
|
|
5444
|
+
yt,
|
|
5356
5445
|
{
|
|
5357
|
-
values:
|
|
5446
|
+
values: x,
|
|
5358
5447
|
onTagClose: t1,
|
|
5359
5448
|
maxWidth: ((H = U.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5360
5449
|
disabled: a,
|
|
@@ -5366,7 +5455,7 @@ const Nt = ({
|
|
|
5366
5455
|
},
|
|
5367
5456
|
[a, m, t1, o, p]
|
|
5368
5457
|
), A = K(
|
|
5369
|
-
({ label:
|
|
5458
|
+
({ label: x, value: H, mode: Z }) => Z === "filter" ? C1(H) : /* @__PURE__ */ r("div", { onMouseDown: k1, className: "tag-wrapper", children: /* @__PURE__ */ r(c2, { onClose: () => t1(H), disabled: a, children: typeof x == "object" ? x : o1(H) }) }),
|
|
5370
5459
|
[a, o1, t1, C1]
|
|
5371
5460
|
), F = Array.isArray(I) && I.length > 0 || !!I && typeof I == "string" && I.trim() !== "";
|
|
5372
5461
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
@@ -5376,34 +5465,34 @@ const Nt = ({
|
|
|
5376
5465
|
className: `snmt-select-1-15-6 ${D ? "snmt-select-focused" : ""}
|
|
5377
5466
|
${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
|
|
5378
5467
|
ref: U,
|
|
5379
|
-
style: { width:
|
|
5468
|
+
style: { width: c },
|
|
5380
5469
|
children: [
|
|
5381
5470
|
/* @__PURE__ */ r(
|
|
5382
5471
|
v2,
|
|
5383
5472
|
{
|
|
5384
5473
|
className: "snmt-select-blank",
|
|
5385
5474
|
popupClassName: p ? "dropdown-read-only" : "",
|
|
5386
|
-
id:
|
|
5387
|
-
ref:
|
|
5475
|
+
id: R,
|
|
5476
|
+
ref: _,
|
|
5388
5477
|
showSearch: !!n,
|
|
5389
5478
|
filterOption: n && X,
|
|
5390
5479
|
onDropdownVisibleChange: q,
|
|
5391
5480
|
disabled: a,
|
|
5392
5481
|
value: I || void 0,
|
|
5393
|
-
labelRender: (
|
|
5394
|
-
const H = o1(
|
|
5482
|
+
labelRender: (x) => {
|
|
5483
|
+
const H = o1(x.value);
|
|
5395
5484
|
return a ? /* @__PURE__ */ r("span", { style: { color: z.GREY_DARK_1 }, children: H }) : H;
|
|
5396
5485
|
},
|
|
5397
5486
|
mode: s === "filter" ? "multiple" : s,
|
|
5398
|
-
onChange:
|
|
5487
|
+
onChange: j,
|
|
5399
5488
|
onFocus: G,
|
|
5400
5489
|
onBlur: $,
|
|
5401
|
-
onSearch: (
|
|
5402
|
-
Q(!
|
|
5490
|
+
onSearch: (x) => {
|
|
5491
|
+
Q(!x), h && h(x);
|
|
5403
5492
|
},
|
|
5404
5493
|
onSelect: () => Q(!0),
|
|
5405
5494
|
onDeselect: () => Q(!0),
|
|
5406
|
-
tagRender: (
|
|
5495
|
+
tagRender: (x) => A({ ...x, mode: s }),
|
|
5407
5496
|
maxTagCount: "responsive",
|
|
5408
5497
|
maxTagPlaceholder: N1,
|
|
5409
5498
|
onPopupScroll: v1,
|
|
@@ -5430,30 +5519,30 @@ const Nt = ({
|
|
|
5430
5519
|
{
|
|
5431
5520
|
name: "selectArrowIcon",
|
|
5432
5521
|
color: a ? z.GREY_DARK_1 : z.GREY_DARK_5,
|
|
5433
|
-
className:
|
|
5434
|
-
onClick: () => V(!
|
|
5522
|
+
className: N ? "select-arrow-rotated" : "select-arrow",
|
|
5523
|
+
onClick: () => V(!N)
|
|
5435
5524
|
}
|
|
5436
5525
|
)
|
|
5437
5526
|
] }) }),
|
|
5438
5527
|
removeIcon: /* @__PURE__ */ r(g1, { name: "cancelCircle", color: z.GREY_DARK_1 }),
|
|
5439
5528
|
options: o,
|
|
5440
|
-
optionRender: (
|
|
5529
|
+
optionRender: (x) => b ? b(x.data) : /* @__PURE__ */ u(f1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5441
5530
|
/* @__PURE__ */ u(f1, { alignItems: "center", gap: 12, children: [
|
|
5442
5531
|
s && /* @__PURE__ */ r(
|
|
5443
5532
|
z2,
|
|
5444
5533
|
{
|
|
5445
|
-
checked: !!(I != null && I.includes(
|
|
5534
|
+
checked: !!(I != null && I.includes(x.value))
|
|
5446
5535
|
}
|
|
5447
5536
|
),
|
|
5448
5537
|
/* @__PURE__ */ u(f1, { alignItems: "center", gap: 8, children: [
|
|
5449
|
-
|
|
5450
|
-
/* @__PURE__ */ r("span", { children:
|
|
5538
|
+
x.data.image && /* @__PURE__ */ r(U2, { src: x.data.image, size: 20 }),
|
|
5539
|
+
/* @__PURE__ */ r("span", { children: x.label })
|
|
5451
5540
|
] })
|
|
5452
5541
|
] }),
|
|
5453
|
-
!s && I ===
|
|
5542
|
+
!s && I === x.value && /* @__PURE__ */ r(g1, { name: "check", color: z.BLUE_DARK_1 })
|
|
5454
5543
|
] }),
|
|
5455
|
-
dropdownRender: (
|
|
5456
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(
|
|
5544
|
+
dropdownRender: (x) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5545
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(x) : x }),
|
|
5457
5546
|
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(P1, {}) })
|
|
5458
5547
|
] })
|
|
5459
5548
|
}
|
|
@@ -5462,14 +5551,14 @@ const Nt = ({
|
|
|
5462
5551
|
/* @__PURE__ */ r(
|
|
5463
5552
|
"label",
|
|
5464
5553
|
{
|
|
5465
|
-
className: `${D || F ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${D ? "label-focused" : ""} ${E ? "label-loading" : ""} ${
|
|
5554
|
+
className: `${D || F ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${D ? "label-focused" : ""} ${E ? "label-loading" : ""} ${v ? "label-error" : ""}`,
|
|
5466
5555
|
children: C ? `${t}*` : t
|
|
5467
5556
|
}
|
|
5468
5557
|
),
|
|
5469
5558
|
/* @__PURE__ */ r(
|
|
5470
5559
|
"fieldset",
|
|
5471
5560
|
{
|
|
5472
|
-
className: `${D ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${F ? "fieldset-filled" : ""} ${
|
|
5561
|
+
className: `${D ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${F ? "fieldset-filled" : ""} ${v ? "fieldset-error" : ""}`,
|
|
5473
5562
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
|
|
5474
5563
|
}
|
|
5475
5564
|
)
|
|
@@ -5477,7 +5566,7 @@ const Nt = ({
|
|
|
5477
5566
|
]
|
|
5478
5567
|
}
|
|
5479
5568
|
),
|
|
5480
|
-
|
|
5569
|
+
v && /* @__PURE__ */ u(f1, { justifyContent: "flex-start", gap: 6, children: [
|
|
5481
5570
|
/* @__PURE__ */ r(
|
|
5482
5571
|
g1,
|
|
5483
5572
|
{
|
|
@@ -5487,14 +5576,14 @@ const Nt = ({
|
|
|
5487
5576
|
width: 16
|
|
5488
5577
|
}
|
|
5489
5578
|
),
|
|
5490
|
-
typeof
|
|
5579
|
+
typeof v == "string" ? /* @__PURE__ */ r(_t, { color: z.NOTIFICATION_ERROR_DARK, variant: "body4", children: v }) : v
|
|
5491
5580
|
] })
|
|
5492
5581
|
] });
|
|
5493
5582
|
}
|
|
5494
5583
|
);
|
|
5495
|
-
function
|
|
5584
|
+
function Et(i, e = 500) {
|
|
5496
5585
|
const t = W();
|
|
5497
|
-
return
|
|
5586
|
+
return S(() => () => {
|
|
5498
5587
|
t.current && clearTimeout(t.current);
|
|
5499
5588
|
}, []), (...s) => {
|
|
5500
5589
|
const n = setTimeout(() => {
|
|
@@ -5503,15 +5592,15 @@ function xt(i, e = 500) {
|
|
|
5503
5592
|
clearTimeout(t.current), t.current = n;
|
|
5504
5593
|
};
|
|
5505
5594
|
}
|
|
5506
|
-
function
|
|
5595
|
+
function j1(i) {
|
|
5507
5596
|
const e = W(i);
|
|
5508
|
-
return
|
|
5597
|
+
return S(() => {
|
|
5509
5598
|
e.current = i;
|
|
5510
5599
|
}, [i]), e.current;
|
|
5511
5600
|
}
|
|
5512
5601
|
const E1 = 100, l1 = {
|
|
5513
5602
|
offset: 0
|
|
5514
|
-
},
|
|
5603
|
+
}, Vt = L1(
|
|
5515
5604
|
({
|
|
5516
5605
|
loadOptions: i,
|
|
5517
5606
|
width: e,
|
|
@@ -5519,39 +5608,39 @@ const E1 = 100, l1 = {
|
|
|
5519
5608
|
value: s,
|
|
5520
5609
|
id: n,
|
|
5521
5610
|
disabled: o,
|
|
5522
|
-
scrollThresholdValue:
|
|
5611
|
+
scrollThresholdValue: c,
|
|
5523
5612
|
placeholder: a,
|
|
5524
5613
|
mode: C,
|
|
5525
5614
|
loadOnClosedState: d,
|
|
5526
5615
|
preloadOptions: l,
|
|
5527
|
-
extraOptions:
|
|
5616
|
+
extraOptions: h,
|
|
5528
5617
|
onDropdownVisibleChange: g,
|
|
5529
5618
|
optionRender: f,
|
|
5530
|
-
dropdownRender:
|
|
5531
|
-
readOnly:
|
|
5619
|
+
dropdownRender: k,
|
|
5620
|
+
readOnly: R,
|
|
5532
5621
|
clearable: m = !1,
|
|
5533
5622
|
required: y = !1,
|
|
5534
|
-
error:
|
|
5623
|
+
error: b
|
|
5535
5624
|
}, E) => {
|
|
5536
|
-
const [p,
|
|
5537
|
-
|
|
5538
|
-
), q =
|
|
5625
|
+
const [p, v] = O(), [_, N] = O(l1), [V, D] = O(!1), [T, P] = O(), [Q, I] = O(!1), [Y, U] = O(
|
|
5626
|
+
h ?? []
|
|
5627
|
+
), q = j1(_.offset), X = j1(T), [G, $] = O(!1), j = W(!1), e1 = K(
|
|
5539
5628
|
async ({
|
|
5540
5629
|
limit: A = E1,
|
|
5541
5630
|
offset: F,
|
|
5542
|
-
search:
|
|
5631
|
+
search: x
|
|
5543
5632
|
}) => {
|
|
5544
5633
|
D(!0);
|
|
5545
5634
|
try {
|
|
5546
5635
|
const H = await i({
|
|
5547
5636
|
limit: A,
|
|
5548
5637
|
offset: F,
|
|
5549
|
-
search:
|
|
5638
|
+
search: x
|
|
5550
5639
|
});
|
|
5551
|
-
|
|
5552
|
-
(
|
|
5553
|
-
),
|
|
5554
|
-
...
|
|
5640
|
+
v(
|
|
5641
|
+
(Z) => F === 0 ? H.options : [...Z ?? [], ...H.options]
|
|
5642
|
+
), N((Z) => ({
|
|
5643
|
+
...Z,
|
|
5555
5644
|
count: H.count
|
|
5556
5645
|
}));
|
|
5557
5646
|
} catch (H) {
|
|
@@ -5561,58 +5650,58 @@ const E1 = 100, l1 = {
|
|
|
5561
5650
|
}
|
|
5562
5651
|
},
|
|
5563
5652
|
[i]
|
|
5564
|
-
), t1 =
|
|
5565
|
-
P(A), A ||
|
|
5653
|
+
), t1 = Et((A) => {
|
|
5654
|
+
P(A), A || N(l1);
|
|
5566
5655
|
}), C1 = K(
|
|
5567
5656
|
(A) => t1(A),
|
|
5568
5657
|
[t1]
|
|
5569
5658
|
), k1 = K(
|
|
5570
5659
|
async (A) => {
|
|
5571
|
-
V || A &&
|
|
5660
|
+
V || A && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && N((F) => ({
|
|
5572
5661
|
...F,
|
|
5573
5662
|
offset: F.offset + E1
|
|
5574
5663
|
}));
|
|
5575
5664
|
},
|
|
5576
|
-
[V, p == null ? void 0 : p.length,
|
|
5665
|
+
[V, p == null ? void 0 : p.length, _.count]
|
|
5577
5666
|
), v1 = K(
|
|
5578
5667
|
(A) => {
|
|
5579
|
-
I(A), !A && T && (P(void 0),
|
|
5668
|
+
I(A), !A && T && (P(void 0), N(l1), $(!0)), g == null || g(A);
|
|
5580
5669
|
},
|
|
5581
5670
|
[g, T]
|
|
5582
5671
|
);
|
|
5583
|
-
|
|
5584
|
-
!
|
|
5585
|
-
}, [G, Q,
|
|
5586
|
-
(d || l) && e1(l1),
|
|
5587
|
-
}, []),
|
|
5588
|
-
|
|
5589
|
-
const F =
|
|
5590
|
-
(
|
|
5672
|
+
S(() => {
|
|
5673
|
+
!j.current || V || (G || Q && (q !== _.offset || X !== T || !p)) && (e1({ offset: _.offset, limit: E1, search: T }), G && $(!1));
|
|
5674
|
+
}, [G, Q, _.offset, T, q, X, p, V]), S(() => {
|
|
5675
|
+
(d || l) && e1(l1), j.current = !0;
|
|
5676
|
+
}, []), S(() => {
|
|
5677
|
+
h && U((A) => {
|
|
5678
|
+
const F = h.filter(
|
|
5679
|
+
(x) => !A.some((H) => H.value === x.value)
|
|
5591
5680
|
);
|
|
5592
5681
|
return [...A, ...F];
|
|
5593
5682
|
});
|
|
5594
|
-
}, [
|
|
5683
|
+
}, [h]);
|
|
5595
5684
|
const o1 = K(
|
|
5596
5685
|
(A) => {
|
|
5597
5686
|
t && t(A);
|
|
5598
5687
|
let F = [];
|
|
5599
5688
|
if (C ? F = Array.isArray(A) ? A : [] : F = A ? [A] : [], T) {
|
|
5600
|
-
const
|
|
5601
|
-
(H) => !(
|
|
5689
|
+
const x = F.filter(
|
|
5690
|
+
(H) => !(Y != null && Y.some((Z) => Z.value === H))
|
|
5602
5691
|
);
|
|
5603
|
-
|
|
5692
|
+
x.length > 0 && U((H = []) => [
|
|
5604
5693
|
...H,
|
|
5605
|
-
...
|
|
5606
|
-
const a1 = p == null ? void 0 : p.find((p2) => p2.value ===
|
|
5694
|
+
...x.map((Z) => {
|
|
5695
|
+
const a1 = p == null ? void 0 : p.find((p2) => p2.value === Z);
|
|
5607
5696
|
return {
|
|
5608
|
-
value:
|
|
5609
|
-
label: (a1 == null ? void 0 : a1.label) ??
|
|
5697
|
+
value: Z,
|
|
5698
|
+
label: (a1 == null ? void 0 : a1.label) ?? Z
|
|
5610
5699
|
};
|
|
5611
5700
|
})
|
|
5612
|
-
]), P(void 0),
|
|
5701
|
+
]), P(void 0), N(l1), $(!0);
|
|
5613
5702
|
}
|
|
5614
5703
|
},
|
|
5615
|
-
[t, T, C, p,
|
|
5704
|
+
[t, T, C, p, Y]
|
|
5616
5705
|
), N1 = k2(
|
|
5617
5706
|
() => ({
|
|
5618
5707
|
id: n,
|
|
@@ -5625,17 +5714,17 @@ const E1 = 100, l1 = {
|
|
|
5625
5714
|
value: s,
|
|
5626
5715
|
onSearchChange: C1,
|
|
5627
5716
|
onDropdownVisibleChange: v1,
|
|
5628
|
-
scrollThresholdValue:
|
|
5717
|
+
scrollThresholdValue: c,
|
|
5629
5718
|
onScrollToEnd: k1,
|
|
5630
5719
|
disabled: o,
|
|
5631
|
-
extraOptions:
|
|
5720
|
+
extraOptions: Y,
|
|
5632
5721
|
isLoading: V,
|
|
5633
5722
|
optionRender: f,
|
|
5634
|
-
dropdownRender:
|
|
5635
|
-
readOnly:
|
|
5723
|
+
dropdownRender: k,
|
|
5724
|
+
readOnly: R,
|
|
5636
5725
|
clearable: m,
|
|
5637
5726
|
required: y,
|
|
5638
|
-
error:
|
|
5727
|
+
error: b
|
|
5639
5728
|
}),
|
|
5640
5729
|
[
|
|
5641
5730
|
n,
|
|
@@ -5647,37 +5736,37 @@ const E1 = 100, l1 = {
|
|
|
5647
5736
|
s,
|
|
5648
5737
|
C1,
|
|
5649
5738
|
v1,
|
|
5650
|
-
|
|
5739
|
+
c,
|
|
5651
5740
|
k1,
|
|
5652
5741
|
o,
|
|
5653
|
-
|
|
5742
|
+
Y,
|
|
5654
5743
|
V,
|
|
5655
5744
|
f,
|
|
5656
|
-
|
|
5657
|
-
|
|
5745
|
+
k,
|
|
5746
|
+
R,
|
|
5658
5747
|
m,
|
|
5659
5748
|
y,
|
|
5660
|
-
|
|
5749
|
+
b
|
|
5661
5750
|
]
|
|
5662
5751
|
);
|
|
5663
5752
|
return y1(E, () => ({
|
|
5664
5753
|
refetchOptions: async () => {
|
|
5665
|
-
|
|
5754
|
+
N(l1), P(void 0), $(!0);
|
|
5666
5755
|
}
|
|
5667
|
-
})), C ? /* @__PURE__ */ r(
|
|
5756
|
+
})), C ? /* @__PURE__ */ r(Y1, { ...N1, value: s, mode: C }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(Y1, { ...N1, value: s }) });
|
|
5668
5757
|
}
|
|
5669
|
-
),
|
|
5758
|
+
), M = (i) => typeof i == "string", u1 = () => {
|
|
5670
5759
|
let i, e;
|
|
5671
5760
|
const t = new Promise((s, n) => {
|
|
5672
5761
|
i = s, e = n;
|
|
5673
5762
|
});
|
|
5674
5763
|
return t.resolve = i, t.reject = e, t;
|
|
5675
|
-
}, $1 = (i) => i == null ? "" : "" + i,
|
|
5764
|
+
}, $1 = (i) => i == null ? "" : "" + i, It = (i, e, t) => {
|
|
5676
5765
|
i.forEach((s) => {
|
|
5677
5766
|
e[s] && (t[s] = e[s]);
|
|
5678
5767
|
});
|
|
5679
|
-
},
|
|
5680
|
-
const s =
|
|
5768
|
+
}, At = /###/g, F1 = (i) => i && i.indexOf("###") > -1 ? i.replace(At, ".") : i, W1 = (i) => !i || M(i), m1 = (i, e, t) => {
|
|
5769
|
+
const s = M(e) ? e.split(".") : e;
|
|
5681
5770
|
let n = 0;
|
|
5682
5771
|
for (; n < s.length - 1; ) {
|
|
5683
5772
|
if (W1(i)) return {};
|
|
@@ -5697,11 +5786,11 @@ const E1 = 100, l1 = {
|
|
|
5697
5786
|
s[n] = t;
|
|
5698
5787
|
return;
|
|
5699
5788
|
}
|
|
5700
|
-
let o = e[e.length - 1],
|
|
5701
|
-
for (; a.obj === void 0 &&
|
|
5702
|
-
o = `${
|
|
5789
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = m1(i, c, Object);
|
|
5790
|
+
for (; a.obj === void 0 && c.length; )
|
|
5791
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = m1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5703
5792
|
a.obj[`${a.k}.${o}`] = t;
|
|
5704
|
-
},
|
|
5793
|
+
}, Ot = (i, e, t, s) => {
|
|
5705
5794
|
const {
|
|
5706
5795
|
obj: n,
|
|
5707
5796
|
k: o
|
|
@@ -5714,15 +5803,15 @@ const E1 = 100, l1 = {
|
|
|
5714
5803
|
} = m1(i, e);
|
|
5715
5804
|
if (t)
|
|
5716
5805
|
return t[s];
|
|
5717
|
-
},
|
|
5806
|
+
}, Zt = (i, e, t) => {
|
|
5718
5807
|
const s = x1(i, t);
|
|
5719
5808
|
return s !== void 0 ? s : x1(e, t);
|
|
5720
5809
|
}, d2 = (i, e, t) => {
|
|
5721
5810
|
for (const s in e)
|
|
5722
|
-
s !== "__proto__" && s !== "constructor" && (s in i ?
|
|
5811
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : d2(i[s], e[s], t) : i[s] = e[s]);
|
|
5723
5812
|
return i;
|
|
5724
|
-
},
|
|
5725
|
-
var
|
|
5813
|
+
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5814
|
+
var St = {
|
|
5726
5815
|
"&": "&",
|
|
5727
5816
|
"<": "<",
|
|
5728
5817
|
">": ">",
|
|
@@ -5730,8 +5819,8 @@ var Et = {
|
|
|
5730
5819
|
"'": "'",
|
|
5731
5820
|
"/": "/"
|
|
5732
5821
|
};
|
|
5733
|
-
const
|
|
5734
|
-
class
|
|
5822
|
+
const Dt = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => St[e]) : i;
|
|
5823
|
+
class Gt {
|
|
5735
5824
|
constructor(e) {
|
|
5736
5825
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5737
5826
|
}
|
|
@@ -5743,15 +5832,15 @@ class It {
|
|
|
5743
5832
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5744
5833
|
}
|
|
5745
5834
|
}
|
|
5746
|
-
const
|
|
5835
|
+
const Tt = [" ", ",", "?", "!", ";"], Kt = new Gt(20), Bt = (i, e, t) => {
|
|
5747
5836
|
e = e || "", t = t || "";
|
|
5748
|
-
const s =
|
|
5837
|
+
const s = Tt.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5749
5838
|
if (s.length === 0) return !0;
|
|
5750
|
-
const n =
|
|
5839
|
+
const n = Kt.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5751
5840
|
let o = !n.test(i);
|
|
5752
5841
|
if (!o) {
|
|
5753
|
-
const
|
|
5754
|
-
|
|
5842
|
+
const c = i.indexOf(t);
|
|
5843
|
+
c > 0 && !n.test(i.substring(0, c)) && (o = !0);
|
|
5755
5844
|
}
|
|
5756
5845
|
return o;
|
|
5757
5846
|
}, O1 = function(i, e) {
|
|
@@ -5763,18 +5852,18 @@ const At = [" ", ",", "?", "!", ";"], Ot = new It(20), St = (i, e, t) => {
|
|
|
5763
5852
|
for (let o = 0; o < s.length; ) {
|
|
5764
5853
|
if (!n || typeof n != "object")
|
|
5765
5854
|
return;
|
|
5766
|
-
let
|
|
5855
|
+
let c, a = "";
|
|
5767
5856
|
for (let C = o; C < s.length; ++C)
|
|
5768
|
-
if (C !== o && (a += t), a += s[C],
|
|
5769
|
-
if (["string", "number", "boolean"].indexOf(typeof
|
|
5857
|
+
if (C !== o && (a += t), a += s[C], c = n[a], c !== void 0) {
|
|
5858
|
+
if (["string", "number", "boolean"].indexOf(typeof c) > -1 && C < s.length - 1)
|
|
5770
5859
|
continue;
|
|
5771
5860
|
o += C - o + 1;
|
|
5772
5861
|
break;
|
|
5773
5862
|
}
|
|
5774
|
-
n =
|
|
5863
|
+
n = c;
|
|
5775
5864
|
}
|
|
5776
5865
|
return n;
|
|
5777
|
-
},
|
|
5866
|
+
}, _1 = (i) => i && i.replace("_", "-"), Pt = {
|
|
5778
5867
|
type: "logger",
|
|
5779
5868
|
log(i) {
|
|
5780
5869
|
this.output("log", i);
|
|
@@ -5789,14 +5878,14 @@ const At = [" ", ",", "?", "!", ";"], Ot = new It(20), St = (i, e, t) => {
|
|
|
5789
5878
|
console && console[i] && console[i].apply(console, e);
|
|
5790
5879
|
}
|
|
5791
5880
|
};
|
|
5792
|
-
class
|
|
5881
|
+
class M1 {
|
|
5793
5882
|
constructor(e) {
|
|
5794
5883
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5795
5884
|
this.init(e, t);
|
|
5796
5885
|
}
|
|
5797
5886
|
init(e) {
|
|
5798
5887
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5799
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5888
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Pt, this.options = t, this.debug = t.debug;
|
|
5800
5889
|
}
|
|
5801
5890
|
log() {
|
|
5802
5891
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5819,19 +5908,19 @@ class b1 {
|
|
|
5819
5908
|
return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
|
|
5820
5909
|
}
|
|
5821
5910
|
forward(e, t, s, n) {
|
|
5822
|
-
return n && !this.debug ? null : (
|
|
5911
|
+
return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5823
5912
|
}
|
|
5824
5913
|
create(e) {
|
|
5825
|
-
return new
|
|
5914
|
+
return new M1(this.logger, {
|
|
5826
5915
|
prefix: `${this.prefix}:${e}:`,
|
|
5827
5916
|
...this.options
|
|
5828
5917
|
});
|
|
5829
5918
|
}
|
|
5830
5919
|
clone(e) {
|
|
5831
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5920
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new M1(this.logger, e);
|
|
5832
5921
|
}
|
|
5833
5922
|
}
|
|
5834
|
-
var J = new
|
|
5923
|
+
var J = new M1();
|
|
5835
5924
|
class H1 {
|
|
5836
5925
|
constructor() {
|
|
5837
5926
|
this.observers = {};
|
|
@@ -5855,12 +5944,12 @@ class H1 {
|
|
|
5855
5944
|
emit(e) {
|
|
5856
5945
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
5857
5946
|
s[n - 1] = arguments[n];
|
|
5858
|
-
this.observers[e] && Array.from(this.observers[e].entries()).forEach((
|
|
5859
|
-
let [a, C] =
|
|
5947
|
+
this.observers[e] && Array.from(this.observers[e].entries()).forEach((c) => {
|
|
5948
|
+
let [a, C] = c;
|
|
5860
5949
|
for (let d = 0; d < C; d++)
|
|
5861
5950
|
a(...s);
|
|
5862
|
-
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((
|
|
5863
|
-
let [a, C] =
|
|
5951
|
+
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((c) => {
|
|
5952
|
+
let [a, C] = c;
|
|
5864
5953
|
for (let d = 0; d < C; d++)
|
|
5865
5954
|
a.apply(a, [e, ...s]);
|
|
5866
5955
|
});
|
|
@@ -5883,41 +5972,41 @@ class z1 extends H1 {
|
|
|
5883
5972
|
}
|
|
5884
5973
|
getResource(e, t, s) {
|
|
5885
5974
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5886
|
-
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator,
|
|
5975
|
+
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5887
5976
|
let a;
|
|
5888
|
-
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) :
|
|
5977
|
+
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : M(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5889
5978
|
const C = x1(this.data, a);
|
|
5890
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !
|
|
5979
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !M(s) ? C : O1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5891
5980
|
}
|
|
5892
5981
|
addResource(e, t, s, n) {
|
|
5893
5982
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
5894
5983
|
silent: !1
|
|
5895
5984
|
};
|
|
5896
|
-
const
|
|
5985
|
+
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5897
5986
|
let a = [e, t];
|
|
5898
|
-
s && (a = a.concat(
|
|
5987
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), U1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5899
5988
|
}
|
|
5900
5989
|
addResources(e, t, s) {
|
|
5901
5990
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
5902
5991
|
silent: !1
|
|
5903
5992
|
};
|
|
5904
5993
|
for (const o in s)
|
|
5905
|
-
(
|
|
5994
|
+
(M(s[o]) || Array.isArray(s[o])) && this.addResource(e, t, o, s[o], {
|
|
5906
5995
|
silent: !0
|
|
5907
5996
|
});
|
|
5908
5997
|
n.silent || this.emit("added", e, t, s);
|
|
5909
5998
|
}
|
|
5910
5999
|
addResourceBundle(e, t, s, n, o) {
|
|
5911
|
-
let
|
|
6000
|
+
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
5912
6001
|
silent: !1,
|
|
5913
6002
|
skipCopy: !1
|
|
5914
6003
|
}, a = [e, t];
|
|
5915
6004
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5916
6005
|
let C = x1(this.data, a) || {};
|
|
5917
|
-
|
|
6006
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? d2(C, s, o) : C = {
|
|
5918
6007
|
...C,
|
|
5919
6008
|
...s
|
|
5920
|
-
}, U1(this.data, a, C),
|
|
6009
|
+
}, U1(this.data, a, C), c.silent || this.emit("added", e, t, s);
|
|
5921
6010
|
}
|
|
5922
6011
|
removeResourceBundle(e, t) {
|
|
5923
6012
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5953,10 +6042,10 @@ var C2 = {
|
|
|
5953
6042
|
}
|
|
5954
6043
|
};
|
|
5955
6044
|
const J1 = {};
|
|
5956
|
-
class
|
|
6045
|
+
class b1 extends H1 {
|
|
5957
6046
|
constructor(e) {
|
|
5958
6047
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5959
|
-
super(),
|
|
6048
|
+
super(), It(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = J.create("translator");
|
|
5960
6049
|
}
|
|
5961
6050
|
changeLanguage(e) {
|
|
5962
6051
|
e && (this.language = e);
|
|
@@ -5975,20 +6064,20 @@ class _1 extends H1 {
|
|
|
5975
6064
|
s === void 0 && (s = ":");
|
|
5976
6065
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5977
6066
|
let o = t.ns || this.options.defaultNS || [];
|
|
5978
|
-
const
|
|
5979
|
-
if (
|
|
6067
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Bt(e, s, n);
|
|
6068
|
+
if (c && !a) {
|
|
5980
6069
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
5981
6070
|
if (C && C.length > 0)
|
|
5982
6071
|
return {
|
|
5983
6072
|
key: e,
|
|
5984
|
-
namespaces:
|
|
6073
|
+
namespaces: M(o) ? [o] : o
|
|
5985
6074
|
};
|
|
5986
6075
|
const d = e.split(s);
|
|
5987
6076
|
(s !== n || s === n && this.options.ns.indexOf(d[0]) > -1) && (o = d.shift()), e = d.join(n);
|
|
5988
6077
|
}
|
|
5989
6078
|
return {
|
|
5990
6079
|
key: e,
|
|
5991
|
-
namespaces:
|
|
6080
|
+
namespaces: M(o) ? [o] : o
|
|
5992
6081
|
};
|
|
5993
6082
|
}
|
|
5994
6083
|
translate(e, t, s) {
|
|
@@ -5997,67 +6086,67 @@ class _1 extends H1 {
|
|
|
5997
6086
|
}), t || (t = {}), e == null) return "";
|
|
5998
6087
|
Array.isArray(e) || (e = [String(e)]);
|
|
5999
6088
|
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
|
|
6000
|
-
key:
|
|
6089
|
+
key: c,
|
|
6001
6090
|
namespaces: a
|
|
6002
6091
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
6003
6092
|
if (d && d.toLowerCase() === "cimode") {
|
|
6004
6093
|
if (l) {
|
|
6005
6094
|
const p = t.nsSeparator || this.options.nsSeparator;
|
|
6006
6095
|
return n ? {
|
|
6007
|
-
res: `${C}${p}${
|
|
6008
|
-
usedKey:
|
|
6009
|
-
exactUsedKey:
|
|
6096
|
+
res: `${C}${p}${c}`,
|
|
6097
|
+
usedKey: c,
|
|
6098
|
+
exactUsedKey: c,
|
|
6010
6099
|
usedLng: d,
|
|
6011
6100
|
usedNS: C,
|
|
6012
6101
|
usedParams: this.getUsedParamsDetails(t)
|
|
6013
|
-
} : `${C}${p}${
|
|
6102
|
+
} : `${C}${p}${c}`;
|
|
6014
6103
|
}
|
|
6015
6104
|
return n ? {
|
|
6016
|
-
res:
|
|
6017
|
-
usedKey:
|
|
6018
|
-
exactUsedKey:
|
|
6105
|
+
res: c,
|
|
6106
|
+
usedKey: c,
|
|
6107
|
+
exactUsedKey: c,
|
|
6019
6108
|
usedLng: d,
|
|
6020
6109
|
usedNS: C,
|
|
6021
6110
|
usedParams: this.getUsedParamsDetails(t)
|
|
6022
|
-
} :
|
|
6111
|
+
} : c;
|
|
6023
6112
|
}
|
|
6024
|
-
const
|
|
6025
|
-
let g =
|
|
6026
|
-
const f =
|
|
6027
|
-
if (
|
|
6113
|
+
const h = this.resolve(e, t);
|
|
6114
|
+
let g = h && h.res;
|
|
6115
|
+
const f = h && h.usedKey || c, k = h && h.exactUsedKey || c, R = 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 = !M(g) && typeof g != "boolean" && typeof g != "number";
|
|
6116
|
+
if (b && g && E && m.indexOf(R) < 0 && !(M(y) && Array.isArray(g))) {
|
|
6028
6117
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
6029
6118
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
6030
6119
|
const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
|
|
6031
6120
|
...t,
|
|
6032
6121
|
ns: a
|
|
6033
|
-
}) : `key '${
|
|
6034
|
-
return n ? (
|
|
6122
|
+
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
6123
|
+
return n ? (h.res = p, h.usedParams = this.getUsedParamsDetails(t), h) : p;
|
|
6035
6124
|
}
|
|
6036
6125
|
if (o) {
|
|
6037
|
-
const p = Array.isArray(g),
|
|
6038
|
-
for (const
|
|
6039
|
-
if (Object.prototype.hasOwnProperty.call(g,
|
|
6040
|
-
const V = `${
|
|
6041
|
-
|
|
6126
|
+
const p = Array.isArray(g), v = p ? [] : {}, _ = p ? k : f;
|
|
6127
|
+
for (const N in g)
|
|
6128
|
+
if (Object.prototype.hasOwnProperty.call(g, N)) {
|
|
6129
|
+
const V = `${_}${o}${N}`;
|
|
6130
|
+
v[N] = this.translate(V, {
|
|
6042
6131
|
...t,
|
|
6043
6132
|
joinArrays: !1,
|
|
6044
6133
|
ns: a
|
|
6045
|
-
}),
|
|
6134
|
+
}), v[N] === V && (v[N] = g[N]);
|
|
6046
6135
|
}
|
|
6047
|
-
g =
|
|
6136
|
+
g = v;
|
|
6048
6137
|
}
|
|
6049
|
-
} else if (
|
|
6138
|
+
} else if (b && M(y) && Array.isArray(g))
|
|
6050
6139
|
g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
|
|
6051
6140
|
else {
|
|
6052
|
-
let p = !1,
|
|
6053
|
-
const
|
|
6141
|
+
let p = !1, v = !1;
|
|
6142
|
+
const _ = t.count !== void 0 && !M(t.count), N = b1.hasDefaultValue(t), V = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", D = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6054
6143
|
ordinal: !1
|
|
6055
|
-
}) : "", T =
|
|
6056
|
-
!this.isValidLookup(g) &&
|
|
6057
|
-
const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
6058
|
-
if (
|
|
6059
|
-
if (this.logger.log(
|
|
6060
|
-
const G = this.resolve(
|
|
6144
|
+
}) : "", T = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), P = T && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${V}`] || t[`defaultValue${D}`] || t.defaultValue;
|
|
6145
|
+
!this.isValidLookup(g) && N && (p = !0, g = P), this.isValidLookup(g) || (v = !0, g = c);
|
|
6146
|
+
const I = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : g, Y = N && P !== g && this.options.updateMissing;
|
|
6147
|
+
if (v || p || Y) {
|
|
6148
|
+
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, c, Y ? P : g), o) {
|
|
6149
|
+
const G = this.resolve(c, {
|
|
6061
6150
|
...t,
|
|
6062
6151
|
keySeparator: !1
|
|
6063
6152
|
});
|
|
@@ -6069,23 +6158,23 @@ class _1 extends H1 {
|
|
|
6069
6158
|
for (let G = 0; G < q.length; G++)
|
|
6070
6159
|
U.push(q[G]);
|
|
6071
6160
|
else this.options.saveMissingTo === "all" ? U = this.languageUtils.toResolveHierarchy(t.lng || this.language) : U.push(t.lng || this.language);
|
|
6072
|
-
const X = (G, $,
|
|
6073
|
-
const e1 =
|
|
6074
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, C, $, e1,
|
|
6161
|
+
const X = (G, $, j) => {
|
|
6162
|
+
const e1 = N && j !== g ? j : I;
|
|
6163
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, C, $, e1, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(G, C, $, e1, Y, t), this.emit("missingKey", G, C, $, g);
|
|
6075
6164
|
};
|
|
6076
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
|
6165
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? U.forEach((G) => {
|
|
6077
6166
|
const $ = this.pluralResolver.getSuffixes(G, t);
|
|
6078
|
-
T && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((
|
|
6079
|
-
X([G],
|
|
6167
|
+
T && t[`defaultValue${this.options.pluralSeparator}zero`] && $.indexOf(`${this.options.pluralSeparator}zero`) < 0 && $.push(`${this.options.pluralSeparator}zero`), $.forEach((j) => {
|
|
6168
|
+
X([G], c + j, t[`defaultValue${j}`] || P);
|
|
6080
6169
|
});
|
|
6081
|
-
}) : X(U,
|
|
6170
|
+
}) : X(U, c, P));
|
|
6082
6171
|
}
|
|
6083
|
-
g = this.extendTranslation(g, e, t,
|
|
6172
|
+
g = this.extendTranslation(g, e, t, h, s), v && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (v || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
6084
6173
|
}
|
|
6085
|
-
return n ? (
|
|
6174
|
+
return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
|
|
6086
6175
|
}
|
|
6087
6176
|
extendTranslation(e, t, s, n, o) {
|
|
6088
|
-
var
|
|
6177
|
+
var c = this;
|
|
6089
6178
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
6090
6179
|
e = this.i18nFormat.parse(e, {
|
|
6091
6180
|
...this.options.interpolation.defaultVariables,
|
|
@@ -6101,27 +6190,27 @@ class _1 extends H1 {
|
|
|
6101
6190
|
...s.interpolation
|
|
6102
6191
|
}
|
|
6103
6192
|
});
|
|
6104
|
-
const d =
|
|
6193
|
+
const d = M(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
6105
6194
|
let l;
|
|
6106
6195
|
if (d) {
|
|
6107
6196
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
6108
6197
|
l = g && g.length;
|
|
6109
6198
|
}
|
|
6110
|
-
let
|
|
6111
|
-
if (this.options.interpolation.defaultVariables && (
|
|
6199
|
+
let h = s.replace && !M(s.replace) ? s.replace : s;
|
|
6200
|
+
if (this.options.interpolation.defaultVariables && (h = {
|
|
6112
6201
|
...this.options.interpolation.defaultVariables,
|
|
6113
|
-
...
|
|
6114
|
-
}), e = this.interpolator.interpolate(e,
|
|
6202
|
+
...h
|
|
6203
|
+
}), e = this.interpolator.interpolate(e, h, s.lng || this.language || n.usedLng, s), d) {
|
|
6115
6204
|
const g = e.match(this.interpolator.nestingRegexp), f = g && g.length;
|
|
6116
6205
|
l < f && (s.nest = !1);
|
|
6117
6206
|
}
|
|
6118
6207
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
6119
|
-
for (var g = arguments.length, f = new Array(g),
|
|
6120
|
-
f[
|
|
6121
|
-
return o && o[0] === f[0] && !s.context ? (
|
|
6208
|
+
for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
|
|
6209
|
+
f[k] = arguments[k];
|
|
6210
|
+
return o && o[0] === f[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
|
|
6122
6211
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
6123
6212
|
}
|
|
6124
|
-
const a = s.postProcess || this.options.postProcess, C =
|
|
6213
|
+
const a = s.postProcess || this.options.postProcess, C = M(a) ? [a] : a;
|
|
6125
6214
|
return e != null && C && C.length && s.applyPostProcessor !== !1 && (e = C2.handle(C, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
6126
6215
|
i18nResolved: {
|
|
6127
6216
|
...n,
|
|
@@ -6131,32 +6220,32 @@ class _1 extends H1 {
|
|
|
6131
6220
|
} : s, this)), e;
|
|
6132
6221
|
}
|
|
6133
6222
|
resolve(e) {
|
|
6134
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o,
|
|
6135
|
-
return
|
|
6223
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, c, a;
|
|
6224
|
+
return M(e) && (e = [e]), e.forEach((C) => {
|
|
6136
6225
|
if (this.isValidLookup(s)) return;
|
|
6137
6226
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
6138
6227
|
n = l;
|
|
6139
|
-
let
|
|
6140
|
-
this.options.fallbackNS && (
|
|
6141
|
-
const g = t.count !== void 0 && !
|
|
6142
|
-
|
|
6143
|
-
this.isValidLookup(s) || (a = m, !J1[`${
|
|
6228
|
+
let h = d.namespaces;
|
|
6229
|
+
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6230
|
+
const g = t.count !== void 0 && !M(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", R = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6231
|
+
h.forEach((m) => {
|
|
6232
|
+
this.isValidLookup(s) || (a = m, !J1[`${R[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (J1[`${R[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${R.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!!!")), R.forEach((y) => {
|
|
6144
6233
|
if (this.isValidLookup(s)) return;
|
|
6145
|
-
|
|
6146
|
-
const
|
|
6234
|
+
c = y;
|
|
6235
|
+
const b = [l];
|
|
6147
6236
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6148
|
-
this.i18nFormat.addLookupKeys(
|
|
6237
|
+
this.i18nFormat.addLookupKeys(b, l, y, m, t);
|
|
6149
6238
|
else {
|
|
6150
6239
|
let p;
|
|
6151
6240
|
g && (p = this.pluralResolver.getSuffix(y, t.count, t));
|
|
6152
|
-
const
|
|
6153
|
-
if (g && (
|
|
6154
|
-
const
|
|
6155
|
-
|
|
6241
|
+
const v = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6242
|
+
if (g && (b.push(l + p), t.ordinal && p.indexOf(_) === 0 && b.push(l + p.replace(_, this.options.pluralSeparator)), f && b.push(l + v)), k) {
|
|
6243
|
+
const N = `${l}${this.options.contextSeparator}${t.context}`;
|
|
6244
|
+
b.push(N), g && (b.push(N + p), t.ordinal && p.indexOf(_) === 0 && b.push(N + p.replace(_, this.options.pluralSeparator)), f && b.push(N + v));
|
|
6156
6245
|
}
|
|
6157
6246
|
}
|
|
6158
6247
|
let E;
|
|
6159
|
-
for (; E =
|
|
6248
|
+
for (; E = b.pop(); )
|
|
6160
6249
|
this.isValidLookup(s) || (o = E, s = this.getResource(y, m, E, t));
|
|
6161
6250
|
}));
|
|
6162
6251
|
});
|
|
@@ -6164,7 +6253,7 @@ class _1 extends H1 {
|
|
|
6164
6253
|
res: s,
|
|
6165
6254
|
usedKey: n,
|
|
6166
6255
|
exactUsedKey: o,
|
|
6167
|
-
usedLng:
|
|
6256
|
+
usedLng: c,
|
|
6168
6257
|
usedNS: a
|
|
6169
6258
|
};
|
|
6170
6259
|
}
|
|
@@ -6177,7 +6266,7 @@ class _1 extends H1 {
|
|
|
6177
6266
|
}
|
|
6178
6267
|
getUsedParamsDetails() {
|
|
6179
6268
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6180
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !
|
|
6269
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !M(e.replace);
|
|
6181
6270
|
let n = s ? e.replace : e;
|
|
6182
6271
|
if (s && typeof e.count < "u" && (n.count = e.count), this.options.interpolation.defaultVariables && (n = {
|
|
6183
6272
|
...this.options.interpolation.defaultVariables,
|
|
@@ -6205,17 +6294,17 @@ class q1 {
|
|
|
6205
6294
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
|
|
6206
6295
|
}
|
|
6207
6296
|
getScriptPartFromCode(e) {
|
|
6208
|
-
if (e =
|
|
6297
|
+
if (e = _1(e), !e || e.indexOf("-") < 0) return null;
|
|
6209
6298
|
const t = e.split("-");
|
|
6210
6299
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6211
6300
|
}
|
|
6212
6301
|
getLanguagePartFromCode(e) {
|
|
6213
|
-
if (e =
|
|
6302
|
+
if (e = _1(e), !e || e.indexOf("-") < 0) return e;
|
|
6214
6303
|
const t = e.split("-");
|
|
6215
6304
|
return this.formatLanguageCode(t[0]);
|
|
6216
6305
|
}
|
|
6217
6306
|
formatLanguageCode(e) {
|
|
6218
|
-
if (
|
|
6307
|
+
if (M(e) && e.indexOf("-") > -1) {
|
|
6219
6308
|
if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
|
|
6220
6309
|
try {
|
|
6221
6310
|
let n = Intl.getCanonicalLocales(e)[0];
|
|
@@ -6251,21 +6340,21 @@ class q1 {
|
|
|
6251
6340
|
}
|
|
6252
6341
|
getFallbackCodes(e, t) {
|
|
6253
6342
|
if (!e) return [];
|
|
6254
|
-
if (typeof e == "function" && (e = e(t)),
|
|
6343
|
+
if (typeof e == "function" && (e = e(t)), M(e) && (e = [e]), Array.isArray(e)) return e;
|
|
6255
6344
|
if (!t) return e.default || [];
|
|
6256
6345
|
let s = e[t];
|
|
6257
6346
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
6258
6347
|
}
|
|
6259
6348
|
toResolveHierarchy(e, t) {
|
|
6260
|
-
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (
|
|
6261
|
-
|
|
6349
|
+
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (c) => {
|
|
6350
|
+
c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
6262
6351
|
};
|
|
6263
|
-
return
|
|
6264
|
-
n.indexOf(
|
|
6352
|
+
return M(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))) : M(e) && o(this.formatLanguageCode(e)), s.forEach((c) => {
|
|
6353
|
+
n.indexOf(c) < 0 && o(this.formatLanguageCode(c));
|
|
6265
6354
|
}), n;
|
|
6266
6355
|
}
|
|
6267
6356
|
}
|
|
6268
|
-
let
|
|
6357
|
+
let Yt = [{
|
|
6269
6358
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6270
6359
|
nr: [1, 2],
|
|
6271
6360
|
fc: 1
|
|
@@ -6357,7 +6446,7 @@ let Dt = [{
|
|
|
6357
6446
|
lngs: ["he", "iw"],
|
|
6358
6447
|
nr: [1, 2, 20, 21],
|
|
6359
6448
|
fc: 22
|
|
6360
|
-
}],
|
|
6449
|
+
}], jt = {
|
|
6361
6450
|
1: (i) => +(i > 1),
|
|
6362
6451
|
2: (i) => +(i != 1),
|
|
6363
6452
|
3: (i) => 0,
|
|
@@ -6381,28 +6470,28 @@ let Dt = [{
|
|
|
6381
6470
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6382
6471
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6383
6472
|
};
|
|
6384
|
-
const
|
|
6473
|
+
const $t = ["v1", "v2", "v3"], Ft = ["v4"], Q1 = {
|
|
6385
6474
|
zero: 0,
|
|
6386
6475
|
one: 1,
|
|
6387
6476
|
two: 2,
|
|
6388
6477
|
few: 3,
|
|
6389
6478
|
many: 4,
|
|
6390
6479
|
other: 5
|
|
6391
|
-
},
|
|
6480
|
+
}, Wt = () => {
|
|
6392
6481
|
const i = {};
|
|
6393
|
-
return
|
|
6482
|
+
return Yt.forEach((e) => {
|
|
6394
6483
|
e.lngs.forEach((t) => {
|
|
6395
6484
|
i[t] = {
|
|
6396
6485
|
numbers: e.nr,
|
|
6397
|
-
plurals:
|
|
6486
|
+
plurals: jt[e.fc]
|
|
6398
6487
|
};
|
|
6399
6488
|
});
|
|
6400
6489
|
}), i;
|
|
6401
6490
|
};
|
|
6402
|
-
class
|
|
6491
|
+
class Ut {
|
|
6403
6492
|
constructor(e) {
|
|
6404
6493
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6405
|
-
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6494
|
+
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON || Ft.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 = Wt(), this.pluralRulesCache = {};
|
|
6406
6495
|
}
|
|
6407
6496
|
addRule(e, t) {
|
|
6408
6497
|
this.rules[e] = t;
|
|
@@ -6413,23 +6502,23 @@ class Pt {
|
|
|
6413
6502
|
getRule(e) {
|
|
6414
6503
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6415
6504
|
if (this.shouldUseIntlApi()) {
|
|
6416
|
-
const s =
|
|
6505
|
+
const s = _1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6417
6506
|
cleanedCode: s,
|
|
6418
6507
|
type: n
|
|
6419
6508
|
});
|
|
6420
6509
|
if (o in this.pluralRulesCache)
|
|
6421
6510
|
return this.pluralRulesCache[o];
|
|
6422
|
-
let
|
|
6511
|
+
let c;
|
|
6423
6512
|
try {
|
|
6424
|
-
|
|
6513
|
+
c = new Intl.PluralRules(s, {
|
|
6425
6514
|
type: n
|
|
6426
6515
|
});
|
|
6427
6516
|
} catch {
|
|
6428
6517
|
if (!e.match(/-|_/)) return;
|
|
6429
6518
|
const C = this.languageUtils.getLanguagePartFromCode(e);
|
|
6430
|
-
|
|
6519
|
+
c = this.getRule(C, t);
|
|
6431
6520
|
}
|
|
6432
|
-
return this.pluralRulesCache[o] =
|
|
6521
|
+
return this.pluralRulesCache[o] = c, c;
|
|
6433
6522
|
}
|
|
6434
6523
|
return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
|
|
6435
6524
|
}
|
|
@@ -6460,14 +6549,14 @@ class Pt {
|
|
|
6460
6549
|
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();
|
|
6461
6550
|
}
|
|
6462
6551
|
shouldUseIntlApi() {
|
|
6463
|
-
return
|
|
6552
|
+
return !$t.includes(this.options.compatibilityJSON);
|
|
6464
6553
|
}
|
|
6465
6554
|
}
|
|
6466
6555
|
const X1 = function(i, e, t) {
|
|
6467
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6468
|
-
return !o && n &&
|
|
6556
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = Zt(i, e, t);
|
|
6557
|
+
return !o && n && M(t) && (o = O1(i, t, s), o === void 0 && (o = O1(e, t, s))), o;
|
|
6469
6558
|
}, I1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6470
|
-
class
|
|
6559
|
+
class zt {
|
|
6471
6560
|
constructor() {
|
|
6472
6561
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6473
6562
|
this.logger = J.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6482,21 +6571,21 @@ class jt {
|
|
|
6482
6571
|
escapeValue: s,
|
|
6483
6572
|
useRawValueToEscape: n,
|
|
6484
6573
|
prefix: o,
|
|
6485
|
-
prefixEscaped:
|
|
6574
|
+
prefixEscaped: c,
|
|
6486
6575
|
suffix: a,
|
|
6487
6576
|
suffixEscaped: C,
|
|
6488
6577
|
formatSeparator: d,
|
|
6489
6578
|
unescapeSuffix: l,
|
|
6490
|
-
unescapePrefix:
|
|
6579
|
+
unescapePrefix: h,
|
|
6491
6580
|
nestingPrefix: g,
|
|
6492
6581
|
nestingPrefixEscaped: f,
|
|
6493
|
-
nestingSuffix:
|
|
6494
|
-
nestingSuffixEscaped:
|
|
6582
|
+
nestingSuffix: k,
|
|
6583
|
+
nestingSuffixEscaped: R,
|
|
6495
6584
|
nestingOptionsSeparator: m,
|
|
6496
6585
|
maxReplaces: y,
|
|
6497
|
-
alwaysFormat:
|
|
6586
|
+
alwaysFormat: b
|
|
6498
6587
|
} = e.interpolation;
|
|
6499
|
-
this.escape = t !== void 0 ? t :
|
|
6588
|
+
this.escape = t !== void 0 ? t : Dt, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : f || h1("$t("), this.nestingSuffix = k ? h1(k) : R || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6500
6589
|
}
|
|
6501
6590
|
reset() {
|
|
6502
6591
|
this.options && this.init(this.options);
|
|
@@ -6506,7 +6595,7 @@ class jt {
|
|
|
6506
6595
|
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}`);
|
|
6507
6596
|
}
|
|
6508
6597
|
interpolate(e, t, s, n) {
|
|
6509
|
-
let o,
|
|
6598
|
+
let o, c, a;
|
|
6510
6599
|
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
|
|
6511
6600
|
if (f.indexOf(this.formatSeparator) < 0) {
|
|
6512
6601
|
const y = X1(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
@@ -6516,15 +6605,15 @@ class jt {
|
|
|
6516
6605
|
interpolationkey: f
|
|
6517
6606
|
}) : y;
|
|
6518
6607
|
}
|
|
6519
|
-
const
|
|
6520
|
-
return this.format(X1(t, C,
|
|
6608
|
+
const k = f.split(this.formatSeparator), R = k.shift().trim(), m = k.join(this.formatSeparator).trim();
|
|
6609
|
+
return this.format(X1(t, C, R, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6521
6610
|
...n,
|
|
6522
6611
|
...t,
|
|
6523
|
-
interpolationkey:
|
|
6612
|
+
interpolationkey: R
|
|
6524
6613
|
});
|
|
6525
6614
|
};
|
|
6526
6615
|
this.resetRegExp();
|
|
6527
|
-
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler,
|
|
6616
|
+
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6528
6617
|
return [{
|
|
6529
6618
|
regex: this.regexpUnescape,
|
|
6530
6619
|
safeValue: (f) => I1(f)
|
|
@@ -6533,57 +6622,57 @@ class jt {
|
|
|
6533
6622
|
safeValue: (f) => this.escapeValue ? I1(this.escape(f)) : I1(f)
|
|
6534
6623
|
}].forEach((f) => {
|
|
6535
6624
|
for (a = 0; o = f.regex.exec(e); ) {
|
|
6536
|
-
const
|
|
6537
|
-
if (
|
|
6625
|
+
const k = o[1].trim();
|
|
6626
|
+
if (c = d(k), c === void 0)
|
|
6538
6627
|
if (typeof l == "function") {
|
|
6539
6628
|
const m = l(e, o, n);
|
|
6540
|
-
|
|
6541
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6542
|
-
|
|
6543
|
-
else if (
|
|
6544
|
-
|
|
6629
|
+
c = M(m) ? m : "";
|
|
6630
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6631
|
+
c = "";
|
|
6632
|
+
else if (h) {
|
|
6633
|
+
c = o[0];
|
|
6545
6634
|
continue;
|
|
6546
6635
|
} else
|
|
6547
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6548
|
-
else !
|
|
6549
|
-
const
|
|
6550
|
-
if (e = e.replace(o[0],
|
|
6636
|
+
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
|
|
6637
|
+
else !M(c) && !this.useRawValueToEscape && (c = $1(c));
|
|
6638
|
+
const R = f.safeValue(c);
|
|
6639
|
+
if (e = e.replace(o[0], R), h ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6551
6640
|
break;
|
|
6552
6641
|
}
|
|
6553
6642
|
}), e;
|
|
6554
6643
|
}
|
|
6555
6644
|
nest(e, t) {
|
|
6556
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o,
|
|
6645
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, c;
|
|
6557
6646
|
const a = (C, d) => {
|
|
6558
6647
|
const l = this.nestingOptionsSeparator;
|
|
6559
6648
|
if (C.indexOf(l) < 0) return C;
|
|
6560
|
-
const
|
|
6561
|
-
let g = `{${
|
|
6562
|
-
C =
|
|
6563
|
-
const f = g.match(/'/g),
|
|
6564
|
-
(f && f.length % 2 === 0 && !
|
|
6649
|
+
const h = C.split(new RegExp(`${l}[ ]*{`));
|
|
6650
|
+
let g = `{${h[1]}`;
|
|
6651
|
+
C = h[0], g = this.interpolate(g, c);
|
|
6652
|
+
const f = g.match(/'/g), k = g.match(/"/g);
|
|
6653
|
+
(f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6565
6654
|
try {
|
|
6566
|
-
|
|
6655
|
+
c = JSON.parse(g), d && (c = {
|
|
6567
6656
|
...d,
|
|
6568
|
-
...
|
|
6657
|
+
...c
|
|
6569
6658
|
});
|
|
6570
|
-
} catch (
|
|
6571
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${C}`,
|
|
6659
|
+
} catch (R) {
|
|
6660
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, R), `${C}${l}${g}`;
|
|
6572
6661
|
}
|
|
6573
|
-
return
|
|
6662
|
+
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
|
|
6574
6663
|
};
|
|
6575
6664
|
for (; n = this.nestingRegexp.exec(e); ) {
|
|
6576
6665
|
let C = [];
|
|
6577
|
-
|
|
6666
|
+
c = {
|
|
6578
6667
|
...s
|
|
6579
|
-
},
|
|
6668
|
+
}, c = c.replace && !M(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
6580
6669
|
let d = !1;
|
|
6581
6670
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6582
|
-
const l = n[1].split(this.formatSeparator).map((
|
|
6671
|
+
const l = n[1].split(this.formatSeparator).map((h) => h.trim());
|
|
6583
6672
|
n[1] = l.shift(), C = l, d = !0;
|
|
6584
6673
|
}
|
|
6585
|
-
if (o = t(a.call(this, n[1].trim(),
|
|
6586
|
-
|
|
6674
|
+
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !M(o)) return o;
|
|
6675
|
+
M(o) || (o = $1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
|
|
6587
6676
|
...s,
|
|
6588
6677
|
interpolationkey: n[1].trim()
|
|
6589
6678
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6591,16 +6680,16 @@ class jt {
|
|
|
6591
6680
|
return e;
|
|
6592
6681
|
}
|
|
6593
6682
|
}
|
|
6594
|
-
const
|
|
6683
|
+
const Jt = (i) => {
|
|
6595
6684
|
let e = i.toLowerCase().trim();
|
|
6596
6685
|
const t = {};
|
|
6597
6686
|
if (i.indexOf("(") > -1) {
|
|
6598
6687
|
const s = i.split("(");
|
|
6599
6688
|
e = s[0].toLowerCase().trim();
|
|
6600
6689
|
const n = s[1].substring(0, s[1].length - 1);
|
|
6601
|
-
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((
|
|
6602
|
-
if (
|
|
6603
|
-
const [a, ...C] =
|
|
6690
|
+
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((c) => {
|
|
6691
|
+
if (c) {
|
|
6692
|
+
const [a, ...C] = c.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
|
|
6604
6693
|
t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
|
|
6605
6694
|
}
|
|
6606
6695
|
});
|
|
@@ -6609,7 +6698,7 @@ const Yt = (i) => {
|
|
|
6609
6698
|
formatName: e,
|
|
6610
6699
|
formatOptions: t
|
|
6611
6700
|
};
|
|
6612
|
-
},
|
|
6701
|
+
}, c1 = (i) => {
|
|
6613
6702
|
const e = {};
|
|
6614
6703
|
return (t, s, n) => {
|
|
6615
6704
|
let o = n;
|
|
@@ -6617,41 +6706,41 @@ const Yt = (i) => {
|
|
|
6617
6706
|
...o,
|
|
6618
6707
|
[n.interpolationkey]: void 0
|
|
6619
6708
|
});
|
|
6620
|
-
const
|
|
6621
|
-
let a = e[
|
|
6622
|
-
return a || (a = i(
|
|
6709
|
+
const c = s + JSON.stringify(o);
|
|
6710
|
+
let a = e[c];
|
|
6711
|
+
return a || (a = i(_1(s), n), e[c] = a), a(t);
|
|
6623
6712
|
};
|
|
6624
6713
|
};
|
|
6625
|
-
class
|
|
6714
|
+
class qt {
|
|
6626
6715
|
constructor() {
|
|
6627
6716
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6628
6717
|
this.logger = J.create("formatter"), this.options = e, this.formats = {
|
|
6629
|
-
number:
|
|
6718
|
+
number: c1((t, s) => {
|
|
6630
6719
|
const n = new Intl.NumberFormat(t, {
|
|
6631
6720
|
...s
|
|
6632
6721
|
});
|
|
6633
6722
|
return (o) => n.format(o);
|
|
6634
6723
|
}),
|
|
6635
|
-
currency:
|
|
6724
|
+
currency: c1((t, s) => {
|
|
6636
6725
|
const n = new Intl.NumberFormat(t, {
|
|
6637
6726
|
...s,
|
|
6638
6727
|
style: "currency"
|
|
6639
6728
|
});
|
|
6640
6729
|
return (o) => n.format(o);
|
|
6641
6730
|
}),
|
|
6642
|
-
datetime:
|
|
6731
|
+
datetime: c1((t, s) => {
|
|
6643
6732
|
const n = new Intl.DateTimeFormat(t, {
|
|
6644
6733
|
...s
|
|
6645
6734
|
});
|
|
6646
6735
|
return (o) => n.format(o);
|
|
6647
6736
|
}),
|
|
6648
|
-
relativetime:
|
|
6737
|
+
relativetime: c1((t, s) => {
|
|
6649
6738
|
const n = new Intl.RelativeTimeFormat(t, {
|
|
6650
6739
|
...s
|
|
6651
6740
|
});
|
|
6652
6741
|
return (o) => n.format(o, s.range || "day");
|
|
6653
6742
|
}),
|
|
6654
|
-
list:
|
|
6743
|
+
list: c1((t, s) => {
|
|
6655
6744
|
const n = new Intl.ListFormat(t, {
|
|
6656
6745
|
...s
|
|
6657
6746
|
});
|
|
@@ -6669,7 +6758,7 @@ class $t {
|
|
|
6669
6758
|
this.formats[e.toLowerCase().trim()] = t;
|
|
6670
6759
|
}
|
|
6671
6760
|
addCached(e, t) {
|
|
6672
|
-
this.formats[e.toLowerCase().trim()] =
|
|
6761
|
+
this.formats[e.toLowerCase().trim()] = c1(t);
|
|
6673
6762
|
}
|
|
6674
6763
|
format(e, t, s) {
|
|
6675
6764
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -6682,12 +6771,12 @@ class $t {
|
|
|
6682
6771
|
const {
|
|
6683
6772
|
formatName: d,
|
|
6684
6773
|
formatOptions: l
|
|
6685
|
-
} =
|
|
6774
|
+
} = Jt(C);
|
|
6686
6775
|
if (this.formats[d]) {
|
|
6687
|
-
let
|
|
6776
|
+
let h = a;
|
|
6688
6777
|
try {
|
|
6689
6778
|
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = g.locale || g.lng || n.locale || n.lng || s;
|
|
6690
|
-
|
|
6779
|
+
h = this.formats[d](a, f, {
|
|
6691
6780
|
...l,
|
|
6692
6781
|
...n,
|
|
6693
6782
|
...g
|
|
@@ -6695,61 +6784,61 @@ class $t {
|
|
|
6695
6784
|
} catch (g) {
|
|
6696
6785
|
this.logger.warn(g);
|
|
6697
6786
|
}
|
|
6698
|
-
return
|
|
6787
|
+
return h;
|
|
6699
6788
|
} else
|
|
6700
6789
|
this.logger.warn(`there was no format function for ${d}`);
|
|
6701
6790
|
return a;
|
|
6702
6791
|
}, e);
|
|
6703
6792
|
}
|
|
6704
6793
|
}
|
|
6705
|
-
const
|
|
6794
|
+
const Qt = (i, e) => {
|
|
6706
6795
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6707
6796
|
};
|
|
6708
|
-
class
|
|
6797
|
+
class Xt extends H1 {
|
|
6709
6798
|
constructor(e, t, s) {
|
|
6710
6799
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6711
6800
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = J.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);
|
|
6712
6801
|
}
|
|
6713
6802
|
queueLoad(e, t, s, n) {
|
|
6714
|
-
const o = {},
|
|
6803
|
+
const o = {}, c = {}, a = {}, C = {};
|
|
6715
6804
|
return e.forEach((d) => {
|
|
6716
6805
|
let l = !0;
|
|
6717
|
-
t.forEach((
|
|
6718
|
-
const g = `${d}|${
|
|
6719
|
-
!s.reload && this.store.hasResourceBundle(d,
|
|
6806
|
+
t.forEach((h) => {
|
|
6807
|
+
const g = `${d}|${h}`;
|
|
6808
|
+
!s.reload && this.store.hasResourceBundle(d, h) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? c[g] === void 0 && (c[g] = !0) : (this.state[g] = 1, l = !1, c[g] === void 0 && (c[g] = !0), o[g] === void 0 && (o[g] = !0), C[h] === void 0 && (C[h] = !0)));
|
|
6720
6809
|
}), l || (a[d] = !0);
|
|
6721
|
-
}), (Object.keys(o).length || Object.keys(
|
|
6722
|
-
pending:
|
|
6723
|
-
pendingCount: Object.keys(
|
|
6810
|
+
}), (Object.keys(o).length || Object.keys(c).length) && this.queue.push({
|
|
6811
|
+
pending: c,
|
|
6812
|
+
pendingCount: Object.keys(c).length,
|
|
6724
6813
|
loaded: {},
|
|
6725
6814
|
errors: [],
|
|
6726
6815
|
callback: n
|
|
6727
6816
|
}), {
|
|
6728
6817
|
toLoad: Object.keys(o),
|
|
6729
|
-
pending: Object.keys(
|
|
6818
|
+
pending: Object.keys(c),
|
|
6730
6819
|
toLoadLanguages: Object.keys(a),
|
|
6731
6820
|
toLoadNamespaces: Object.keys(C)
|
|
6732
6821
|
};
|
|
6733
6822
|
}
|
|
6734
6823
|
loaded(e, t, s) {
|
|
6735
|
-
const n = e.split("|"), o = n[0],
|
|
6736
|
-
t && this.emit("failedLoading", o,
|
|
6824
|
+
const n = e.split("|"), o = n[0], c = n[1];
|
|
6825
|
+
t && this.emit("failedLoading", o, c, t), !t && s && this.store.addResourceBundle(o, c, s, void 0, void 0, {
|
|
6737
6826
|
skipCopy: !0
|
|
6738
6827
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6739
6828
|
const a = {};
|
|
6740
6829
|
this.queue.forEach((C) => {
|
|
6741
|
-
|
|
6830
|
+
Ot(C.loaded, [o], c), Qt(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6742
6831
|
a[d] || (a[d] = {});
|
|
6743
6832
|
const l = C.loaded[d];
|
|
6744
|
-
l.length && l.forEach((
|
|
6745
|
-
a[d][
|
|
6833
|
+
l.length && l.forEach((h) => {
|
|
6834
|
+
a[d][h] === void 0 && (a[d][h] = !0);
|
|
6746
6835
|
});
|
|
6747
6836
|
}), C.done = !0, C.errors.length ? C.callback(C.errors) : C.callback());
|
|
6748
6837
|
}), this.emit("loaded", a), this.queue = this.queue.filter((C) => !C.done);
|
|
6749
6838
|
}
|
|
6750
6839
|
read(e, t, s) {
|
|
6751
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout,
|
|
6752
|
-
if (!e.length) return
|
|
6840
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, c = arguments.length > 5 ? arguments[5] : void 0;
|
|
6841
|
+
if (!e.length) return c(null, {});
|
|
6753
6842
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
6754
6843
|
this.waitingReads.push({
|
|
6755
6844
|
lng: e,
|
|
@@ -6757,23 +6846,23 @@ class Wt extends H1 {
|
|
|
6757
6846
|
fcName: s,
|
|
6758
6847
|
tried: n,
|
|
6759
6848
|
wait: o,
|
|
6760
|
-
callback:
|
|
6849
|
+
callback: c
|
|
6761
6850
|
});
|
|
6762
6851
|
return;
|
|
6763
6852
|
}
|
|
6764
6853
|
this.readingCalls++;
|
|
6765
6854
|
const a = (d, l) => {
|
|
6766
6855
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
6767
|
-
const
|
|
6768
|
-
this.read(
|
|
6856
|
+
const h = this.waitingReads.shift();
|
|
6857
|
+
this.read(h.lng, h.ns, h.fcName, h.tried, h.wait, h.callback);
|
|
6769
6858
|
}
|
|
6770
6859
|
if (d && l && n < this.maxRetries) {
|
|
6771
6860
|
setTimeout(() => {
|
|
6772
|
-
this.read.call(this, e, t, s, n + 1, o * 2,
|
|
6861
|
+
this.read.call(this, e, t, s, n + 1, o * 2, c);
|
|
6773
6862
|
}, o);
|
|
6774
6863
|
return;
|
|
6775
6864
|
}
|
|
6776
|
-
|
|
6865
|
+
c(d, l);
|
|
6777
6866
|
}, C = this.backend[s].bind(this.backend);
|
|
6778
6867
|
if (C.length === 2) {
|
|
6779
6868
|
try {
|
|
@@ -6790,12 +6879,12 @@ class Wt extends H1 {
|
|
|
6790
6879
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = arguments.length > 3 ? arguments[3] : void 0;
|
|
6791
6880
|
if (!this.backend)
|
|
6792
6881
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
|
|
6793
|
-
|
|
6882
|
+
M(e) && (e = this.languageUtils.toResolveHierarchy(e)), M(t) && (t = [t]);
|
|
6794
6883
|
const o = this.queueLoad(e, t, s, n);
|
|
6795
6884
|
if (!o.toLoad.length)
|
|
6796
6885
|
return o.pending.length || n(), null;
|
|
6797
|
-
o.toLoad.forEach((
|
|
6798
|
-
this.loadOne(
|
|
6886
|
+
o.toLoad.forEach((c) => {
|
|
6887
|
+
this.loadOne(c);
|
|
6799
6888
|
});
|
|
6800
6889
|
}
|
|
6801
6890
|
load(e, t, s) {
|
|
@@ -6809,12 +6898,12 @@ class Wt extends H1 {
|
|
|
6809
6898
|
loadOne(e) {
|
|
6810
6899
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
6811
6900
|
const s = e.split("|"), n = s[0], o = s[1];
|
|
6812
|
-
this.read(n, o, "read", void 0, void 0, (
|
|
6813
|
-
|
|
6901
|
+
this.read(n, o, "read", void 0, void 0, (c, a) => {
|
|
6902
|
+
c && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, c), !c && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, c, a);
|
|
6814
6903
|
});
|
|
6815
6904
|
}
|
|
6816
6905
|
saveMissing(e, t, s, n, o) {
|
|
6817
|
-
let
|
|
6906
|
+
let c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
|
|
6818
6907
|
};
|
|
6819
6908
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
|
|
6820
6909
|
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!!!");
|
|
@@ -6823,13 +6912,13 @@ class Wt extends H1 {
|
|
|
6823
6912
|
if (!(s == null || s === "")) {
|
|
6824
6913
|
if (this.backend && this.backend.create) {
|
|
6825
6914
|
const C = {
|
|
6826
|
-
...
|
|
6915
|
+
...c,
|
|
6827
6916
|
isUpdate: o
|
|
6828
6917
|
}, d = this.backend.create.bind(this.backend);
|
|
6829
6918
|
if (d.length < 6)
|
|
6830
6919
|
try {
|
|
6831
6920
|
let l;
|
|
6832
|
-
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((
|
|
6921
|
+
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((h) => a(null, h)).catch(a) : a(null, l);
|
|
6833
6922
|
} catch (l) {
|
|
6834
6923
|
a(l);
|
|
6835
6924
|
}
|
|
@@ -6875,7 +6964,7 @@ const e2 = () => ({
|
|
|
6875
6964
|
appendNamespaceToCIMode: !1,
|
|
6876
6965
|
overloadTranslationOptionHandler: (i) => {
|
|
6877
6966
|
let e = {};
|
|
6878
|
-
if (typeof i[1] == "object" && (e = i[1]),
|
|
6967
|
+
if (typeof i[1] == "object" && (e = i[1]), M(i[1]) && (e.defaultValue = i[1]), M(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
|
|
6879
6968
|
const t = i[3] || i[2];
|
|
6880
6969
|
Object.keys(t).forEach((s) => {
|
|
6881
6970
|
e[s] = t[s];
|
|
@@ -6896,8 +6985,8 @@ const e2 = () => ({
|
|
|
6896
6985
|
maxReplaces: 1e3,
|
|
6897
6986
|
skipOnVariables: !0
|
|
6898
6987
|
}
|
|
6899
|
-
}), t2 = (i) => (
|
|
6900
|
-
},
|
|
6988
|
+
}), t2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), R1 = () => {
|
|
6989
|
+
}, e7 = (i) => {
|
|
6901
6990
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6902
6991
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6903
6992
|
});
|
|
@@ -6907,7 +6996,7 @@ class w1 extends H1 {
|
|
|
6907
6996
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6908
6997
|
if (super(), this.options = t2(e), this.services = {}, this.logger = J, this.modules = {
|
|
6909
6998
|
external: []
|
|
6910
|
-
},
|
|
6999
|
+
}, e7(this), t && !this.isInitialized && !e.isClone) {
|
|
6911
7000
|
if (!this.options.initImmediate)
|
|
6912
7001
|
return this.init(e, t), this;
|
|
6913
7002
|
setTimeout(() => {
|
|
@@ -6918,7 +7007,7 @@ class w1 extends H1 {
|
|
|
6918
7007
|
init() {
|
|
6919
7008
|
var e = this;
|
|
6920
7009
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
6921
|
-
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (
|
|
7010
|
+
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
6922
7011
|
const n = e2();
|
|
6923
7012
|
this.options = {
|
|
6924
7013
|
...n,
|
|
@@ -6932,24 +7021,24 @@ class w1 extends H1 {
|
|
|
6932
7021
|
if (!this.options.isClone) {
|
|
6933
7022
|
this.modules.logger ? J.init(o(this.modules.logger), this.options) : J.init(null, this.options);
|
|
6934
7023
|
let l;
|
|
6935
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
6936
|
-
const
|
|
7024
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = qt);
|
|
7025
|
+
const h = new q1(this.options);
|
|
6937
7026
|
this.store = new z1(this.options.resources, this.options);
|
|
6938
7027
|
const g = this.services;
|
|
6939
|
-
g.logger = J, g.resourceStore = this.store, g.languageUtils =
|
|
7028
|
+
g.logger = J, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new Ut(h, {
|
|
6940
7029
|
prepend: this.options.pluralSeparator,
|
|
6941
7030
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6942
7031
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6943
|
-
}), 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
|
|
7032
|
+
}), 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 zt(this.options), g.utils = {
|
|
6944
7033
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6945
|
-
}, g.backendConnector = new
|
|
6946
|
-
for (var
|
|
6947
|
-
|
|
6948
|
-
e.emit(f, ...
|
|
6949
|
-
}), 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
|
|
6950
|
-
for (var
|
|
6951
|
-
|
|
6952
|
-
e.emit(f, ...
|
|
7034
|
+
}, g.backendConnector = new Xt(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
|
|
7035
|
+
for (var k = arguments.length, R = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
7036
|
+
R[m - 1] = arguments[m];
|
|
7037
|
+
e.emit(f, ...R);
|
|
7038
|
+
}), 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 b1(this.services, this.options), this.translator.on("*", function(f) {
|
|
7039
|
+
for (var k = arguments.length, R = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
7040
|
+
R[m - 1] = arguments[m];
|
|
7041
|
+
e.emit(f, ...R);
|
|
6953
7042
|
}), this.modules.external.forEach((f) => {
|
|
6954
7043
|
f.init && f.init(this);
|
|
6955
7044
|
});
|
|
@@ -6968,8 +7057,8 @@ class w1 extends H1 {
|
|
|
6968
7057
|
};
|
|
6969
7058
|
});
|
|
6970
7059
|
const C = u1(), d = () => {
|
|
6971
|
-
const l = (
|
|
6972
|
-
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(
|
|
7060
|
+
const l = (h, g) => {
|
|
7061
|
+
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), C.resolve(g), s(h, g);
|
|
6973
7062
|
};
|
|
6974
7063
|
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
|
|
6975
7064
|
this.changeLanguage(this.options.lng, l);
|
|
@@ -6978,16 +7067,16 @@ class w1 extends H1 {
|
|
|
6978
7067
|
}
|
|
6979
7068
|
loadResources(e) {
|
|
6980
7069
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : R1;
|
|
6981
|
-
const n =
|
|
7070
|
+
const n = M(e) ? e : this.language;
|
|
6982
7071
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6983
7072
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
6984
|
-
const o = [],
|
|
7073
|
+
const o = [], c = (a) => {
|
|
6985
7074
|
if (!a || a === "cimode") return;
|
|
6986
7075
|
this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
|
|
6987
7076
|
d !== "cimode" && o.indexOf(d) < 0 && o.push(d);
|
|
6988
7077
|
});
|
|
6989
7078
|
};
|
|
6990
|
-
n ?
|
|
7079
|
+
n ? c(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => c(C)), this.options.preload && this.options.preload.forEach((a) => c(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
|
|
6991
7080
|
!a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(a);
|
|
6992
7081
|
});
|
|
6993
7082
|
} else
|
|
@@ -7021,7 +7110,7 @@ class w1 extends H1 {
|
|
|
7021
7110
|
this.emit("languageChanging", e);
|
|
7022
7111
|
const o = (C) => {
|
|
7023
7112
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
7024
|
-
},
|
|
7113
|
+
}, c = (C, d) => {
|
|
7025
7114
|
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() {
|
|
7026
7115
|
return s.t(...arguments);
|
|
7027
7116
|
}), t && t(C, function() {
|
|
@@ -7029,21 +7118,21 @@ class w1 extends H1 {
|
|
|
7029
7118
|
});
|
|
7030
7119
|
}, a = (C) => {
|
|
7031
7120
|
!e && !C && this.services.languageDetector && (C = []);
|
|
7032
|
-
const d =
|
|
7121
|
+
const d = M(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
7033
7122
|
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) => {
|
|
7034
|
-
|
|
7123
|
+
c(l, d);
|
|
7035
7124
|
});
|
|
7036
7125
|
};
|
|
7037
7126
|
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;
|
|
7038
7127
|
}
|
|
7039
7128
|
getFixedT(e, t, s) {
|
|
7040
7129
|
var n = this;
|
|
7041
|
-
const o = function(
|
|
7130
|
+
const o = function(c, a) {
|
|
7042
7131
|
let C;
|
|
7043
7132
|
if (typeof a != "object") {
|
|
7044
|
-
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0),
|
|
7045
|
-
l[
|
|
7046
|
-
C = n.options.overloadTranslationOptionHandler([
|
|
7133
|
+
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
|
|
7134
|
+
l[h - 2] = arguments[h];
|
|
7135
|
+
C = n.options.overloadTranslationOptionHandler([c, a].concat(l));
|
|
7047
7136
|
} else
|
|
7048
7137
|
C = {
|
|
7049
7138
|
...a
|
|
@@ -7051,9 +7140,9 @@ class w1 extends H1 {
|
|
|
7051
7140
|
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);
|
|
7052
7141
|
const g = n.options.keySeparator || ".";
|
|
7053
7142
|
let f;
|
|
7054
|
-
return C.keyPrefix && Array.isArray(
|
|
7143
|
+
return C.keyPrefix && Array.isArray(c) ? f = c.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(f, C);
|
|
7055
7144
|
};
|
|
7056
|
-
return
|
|
7145
|
+
return M(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
7057
7146
|
}
|
|
7058
7147
|
t() {
|
|
7059
7148
|
return this.translator && this.translator.translate(...arguments);
|
|
@@ -7072,19 +7161,19 @@ class w1 extends H1 {
|
|
|
7072
7161
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
7073
7162
|
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, o = this.languages[this.languages.length - 1];
|
|
7074
7163
|
if (s.toLowerCase() === "cimode") return !0;
|
|
7075
|
-
const
|
|
7164
|
+
const c = (a, C) => {
|
|
7076
7165
|
const d = this.services.backendConnector.state[`${a}|${C}`];
|
|
7077
7166
|
return d === -1 || d === 0 || d === 2;
|
|
7078
7167
|
};
|
|
7079
7168
|
if (t.precheck) {
|
|
7080
|
-
const a = t.precheck(this,
|
|
7169
|
+
const a = t.precheck(this, c);
|
|
7081
7170
|
if (a !== void 0) return a;
|
|
7082
7171
|
}
|
|
7083
|
-
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages ||
|
|
7172
|
+
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
|
|
7084
7173
|
}
|
|
7085
7174
|
loadNamespaces(e, t) {
|
|
7086
7175
|
const s = u1();
|
|
7087
|
-
return this.options.ns ? (
|
|
7176
|
+
return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
|
|
7088
7177
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
7089
7178
|
}), this.loadResources((n) => {
|
|
7090
7179
|
s.resolve(), t && t(n);
|
|
@@ -7092,10 +7181,10 @@ class w1 extends H1 {
|
|
|
7092
7181
|
}
|
|
7093
7182
|
loadLanguages(e, t) {
|
|
7094
7183
|
const s = u1();
|
|
7095
|
-
|
|
7096
|
-
const n = this.options.preload || [], o = e.filter((
|
|
7097
|
-
return o.length ? (this.options.preload = n.concat(o), this.loadResources((
|
|
7098
|
-
s.resolve(), t && t(
|
|
7184
|
+
M(e) && (e = [e]);
|
|
7185
|
+
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7186
|
+
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
7187
|
+
s.resolve(), t && t(c);
|
|
7099
7188
|
}), s) : (t && t(), Promise.resolve());
|
|
7100
7189
|
}
|
|
7101
7190
|
dir(e) {
|
|
@@ -7122,7 +7211,7 @@ class w1 extends H1 {
|
|
|
7122
7211
|
...this.services
|
|
7123
7212
|
}, o.services.utils = {
|
|
7124
7213
|
hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
|
|
7125
|
-
}, s && (o.store = new z1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new
|
|
7214
|
+
}, s && (o.store = new z1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new b1(o.services, n), o.translator.on("*", function(a) {
|
|
7126
7215
|
for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
|
|
7127
7216
|
d[l - 1] = arguments[l];
|
|
7128
7217
|
o.emit(a, ...d);
|
|
@@ -7156,7 +7245,7 @@ B.setDefaultNamespace;
|
|
|
7156
7245
|
B.hasLoadedNamespace;
|
|
7157
7246
|
B.loadNamespaces;
|
|
7158
7247
|
B.loadLanguages;
|
|
7159
|
-
function
|
|
7248
|
+
function t7() {
|
|
7160
7249
|
if (console && console.warn) {
|
|
7161
7250
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7162
7251
|
e[t] = arguments[t];
|
|
@@ -7164,10 +7253,10 @@ function zt() {
|
|
|
7164
7253
|
}
|
|
7165
7254
|
}
|
|
7166
7255
|
const i2 = {};
|
|
7167
|
-
function
|
|
7256
|
+
function Z1() {
|
|
7168
7257
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7169
7258
|
e[t] = arguments[t];
|
|
7170
|
-
n1(e[0]) && i2[e[0]] || (n1(e[0]) && (i2[e[0]] = /* @__PURE__ */ new Date()),
|
|
7259
|
+
n1(e[0]) && i2[e[0]] || (n1(e[0]) && (i2[e[0]] = /* @__PURE__ */ new Date()), t7(...e));
|
|
7171
7260
|
}
|
|
7172
7261
|
const g2 = (i, e) => () => {
|
|
7173
7262
|
if (i.isInitialized)
|
|
@@ -7186,24 +7275,24 @@ const g2 = (i, e) => () => {
|
|
|
7186
7275
|
n1(t) && (t = [t]), t.forEach((n) => {
|
|
7187
7276
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7188
7277
|
}), i.loadLanguages(e, g2(i, s));
|
|
7189
|
-
},
|
|
7278
|
+
}, i7 = function(i, e) {
|
|
7190
7279
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7191
7280
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7192
7281
|
if (s.toLowerCase() === "cimode") return !0;
|
|
7193
|
-
const
|
|
7282
|
+
const c = (a, C) => {
|
|
7194
7283
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
7195
7284
|
return d === -1 || d === 2;
|
|
7196
7285
|
};
|
|
7197
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
7198
|
-
},
|
|
7286
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
|
7287
|
+
}, s7 = function(i, e) {
|
|
7199
7288
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7200
|
-
return !e.languages || !e.languages.length ? (
|
|
7289
|
+
return !e.languages || !e.languages.length ? (Z1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7201
7290
|
lng: t.lng,
|
|
7202
7291
|
precheck: (n, o) => {
|
|
7203
7292
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
7204
7293
|
}
|
|
7205
|
-
}) :
|
|
7206
|
-
}, n1 = (i) => typeof i == "string",
|
|
7294
|
+
}) : i7(i, e, t);
|
|
7295
|
+
}, n1 = (i) => typeof i == "string", n7 = (i) => typeof i == "object" && i !== null, r7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, o7 = {
|
|
7207
7296
|
"&": "&",
|
|
7208
7297
|
"&": "&",
|
|
7209
7298
|
"<": "<",
|
|
@@ -7224,8 +7313,8 @@ const g2 = (i, e) => () => {
|
|
|
7224
7313
|
"…": "…",
|
|
7225
7314
|
"/": "/",
|
|
7226
7315
|
"/": "/"
|
|
7227
|
-
},
|
|
7228
|
-
let
|
|
7316
|
+
}, a7 = (i) => o7[i], l7 = (i) => i.replace(r7, a7);
|
|
7317
|
+
let S1 = {
|
|
7229
7318
|
bindI18n: "languageChanged",
|
|
7230
7319
|
bindI18nStore: "",
|
|
7231
7320
|
transEmptyNodeValue: "",
|
|
@@ -7233,25 +7322,25 @@ let Z1 = {
|
|
|
7233
7322
|
transWrapTextNodes: "",
|
|
7234
7323
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7235
7324
|
useSuspense: !0,
|
|
7236
|
-
unescape:
|
|
7325
|
+
unescape: l7
|
|
7237
7326
|
};
|
|
7238
|
-
const
|
|
7327
|
+
const h7 = function() {
|
|
7239
7328
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7240
|
-
|
|
7241
|
-
...
|
|
7329
|
+
S1 = {
|
|
7330
|
+
...S1,
|
|
7242
7331
|
...i
|
|
7243
7332
|
};
|
|
7244
|
-
},
|
|
7333
|
+
}, c7 = () => S1;
|
|
7245
7334
|
let u2;
|
|
7246
|
-
const
|
|
7335
|
+
const d7 = (i) => {
|
|
7247
7336
|
u2 = i;
|
|
7248
|
-
},
|
|
7337
|
+
}, C7 = () => u2, g7 = {
|
|
7249
7338
|
type: "3rdParty",
|
|
7250
7339
|
init(i) {
|
|
7251
|
-
|
|
7340
|
+
h7(i.options.react), d7(i);
|
|
7252
7341
|
}
|
|
7253
|
-
},
|
|
7254
|
-
class
|
|
7342
|
+
}, u7 = d1();
|
|
7343
|
+
class f7 {
|
|
7255
7344
|
constructor() {
|
|
7256
7345
|
G1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7257
7346
|
this.usedNamespaces = {};
|
|
@@ -7262,105 +7351,105 @@ class c7 {
|
|
|
7262
7351
|
});
|
|
7263
7352
|
}
|
|
7264
7353
|
}
|
|
7265
|
-
const
|
|
7354
|
+
const p7 = (i, e) => {
|
|
7266
7355
|
const t = W();
|
|
7267
|
-
return
|
|
7356
|
+
return S(() => {
|
|
7268
7357
|
t.current = i;
|
|
7269
7358
|
}, [i, e]), t.current;
|
|
7270
|
-
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
7359
|
+
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s), m7 = (i, e, t, s) => K(f2(i, e, t, s), [i, e, t, s]), w7 = function(i) {
|
|
7271
7360
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7272
7361
|
const {
|
|
7273
7362
|
i18n: t
|
|
7274
7363
|
} = e, {
|
|
7275
7364
|
i18n: s,
|
|
7276
7365
|
defaultNS: n
|
|
7277
|
-
} = r1(
|
|
7278
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
7279
|
-
|
|
7280
|
-
const p = (
|
|
7281
|
-
return
|
|
7282
|
-
}
|
|
7283
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
7284
|
-
const
|
|
7285
|
-
...
|
|
7366
|
+
} = r1(u7) || {}, o = t || s || C7();
|
|
7367
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new f7()), !o) {
|
|
7368
|
+
Z1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7369
|
+
const p = (_, N) => n1(N) ? N : n7(N) && n1(N.defaultValue) ? N.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, v = [p, {}, !1];
|
|
7370
|
+
return v.t = p, v.i18n = {}, v.ready = !1, v;
|
|
7371
|
+
}
|
|
7372
|
+
o.options.react && o.options.react.wait !== void 0 && Z1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7373
|
+
const c = {
|
|
7374
|
+
...c7(),
|
|
7286
7375
|
...o.options.react,
|
|
7287
7376
|
...e
|
|
7288
7377
|
}, {
|
|
7289
7378
|
useSuspense: a,
|
|
7290
7379
|
keyPrefix: C
|
|
7291
|
-
} =
|
|
7380
|
+
} = c;
|
|
7292
7381
|
let d = i;
|
|
7293
7382
|
d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7294
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) =>
|
|
7383
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => s7(p, o, c)), h = m7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, R] = O(g);
|
|
7295
7384
|
let m = d.join();
|
|
7296
7385
|
e.lng && (m = `${e.lng}${m}`);
|
|
7297
|
-
const y =
|
|
7298
|
-
|
|
7386
|
+
const y = p7(m), b = W(!0);
|
|
7387
|
+
S(() => {
|
|
7299
7388
|
const {
|
|
7300
7389
|
bindI18n: p,
|
|
7301
|
-
bindI18nStore:
|
|
7302
|
-
} =
|
|
7303
|
-
|
|
7304
|
-
|
|
7390
|
+
bindI18nStore: v
|
|
7391
|
+
} = c;
|
|
7392
|
+
b.current = !0, !l && !a && (e.lng ? n2(o, e.lng, d, () => {
|
|
7393
|
+
b.current && R(f);
|
|
7305
7394
|
}) : s2(o, d, () => {
|
|
7306
|
-
|
|
7307
|
-
})), l && y && y !== m &&
|
|
7308
|
-
const
|
|
7309
|
-
|
|
7395
|
+
b.current && R(f);
|
|
7396
|
+
})), l && y && y !== m && b.current && R(f);
|
|
7397
|
+
const _ = () => {
|
|
7398
|
+
b.current && R(f);
|
|
7310
7399
|
};
|
|
7311
|
-
return p && o && o.on(p,
|
|
7312
|
-
|
|
7400
|
+
return p && o && o.on(p, _), v && o && o.store.on(v, _), () => {
|
|
7401
|
+
b.current = !1, p && o && p.split(" ").forEach((N) => o.off(N, _)), v && o && v.split(" ").forEach((N) => o.store.off(N, _));
|
|
7313
7402
|
};
|
|
7314
|
-
}, [o, m]),
|
|
7315
|
-
|
|
7403
|
+
}, [o, m]), S(() => {
|
|
7404
|
+
b.current && l && R(g);
|
|
7316
7405
|
}, [o, C, l]);
|
|
7317
|
-
const E = [
|
|
7318
|
-
if (E.t =
|
|
7406
|
+
const E = [k, o, l];
|
|
7407
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7319
7408
|
throw new Promise((p) => {
|
|
7320
7409
|
e.lng ? n2(o, e.lng, d, () => p()) : s2(o, d, () => p());
|
|
7321
7410
|
});
|
|
7322
|
-
},
|
|
7323
|
-
placeholder:
|
|
7324
|
-
},
|
|
7325
|
-
placeholder:
|
|
7411
|
+
}, L7 = "City", k7 = {
|
|
7412
|
+
placeholder: L7
|
|
7413
|
+
}, v7 = "Город", N7 = {
|
|
7414
|
+
placeholder: v7
|
|
7326
7415
|
};
|
|
7327
|
-
function
|
|
7416
|
+
function R7(i) {
|
|
7328
7417
|
const e = W(i);
|
|
7329
|
-
return
|
|
7418
|
+
return S(() => {
|
|
7330
7419
|
e.current = i;
|
|
7331
7420
|
}, [i]), e.current;
|
|
7332
7421
|
}
|
|
7333
|
-
B.use(
|
|
7422
|
+
B.use(g7).init({
|
|
7334
7423
|
defaultNS: "common",
|
|
7335
7424
|
lng: "en",
|
|
7336
7425
|
resources: {
|
|
7337
7426
|
en: {
|
|
7338
|
-
common:
|
|
7427
|
+
common: k7
|
|
7339
7428
|
},
|
|
7340
7429
|
ru: {
|
|
7341
|
-
common:
|
|
7430
|
+
common: N7
|
|
7342
7431
|
}
|
|
7343
7432
|
}
|
|
7344
7433
|
});
|
|
7345
|
-
const
|
|
7346
|
-
({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: o, clearable:
|
|
7434
|
+
const E7 = L1(
|
|
7435
|
+
({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: o, clearable: c }, a) => {
|
|
7347
7436
|
const [C, d] = O(
|
|
7348
7437
|
[]
|
|
7349
|
-
), [l,
|
|
7438
|
+
), [l, h] = O(!1), { locale: g, axiosPeople: f } = r1(L2), k = W(!1), R = W(null), m = W(C), y = R7(e);
|
|
7350
7439
|
if (!f)
|
|
7351
7440
|
throw new Error(
|
|
7352
7441
|
`CitySelect requires "axiosPeople" to fetch cities.
|
|
7353
7442
|
Please provide it via SNMTUiContext.`
|
|
7354
7443
|
);
|
|
7355
|
-
const { t:
|
|
7356
|
-
async (
|
|
7357
|
-
const
|
|
7358
|
-
if (
|
|
7359
|
-
return [
|
|
7444
|
+
const { t: b } = w7("common", { lng: g }), E = K(
|
|
7445
|
+
async (v) => {
|
|
7446
|
+
const _ = m.current.find((N) => N.value === v);
|
|
7447
|
+
if (_)
|
|
7448
|
+
return [_];
|
|
7360
7449
|
try {
|
|
7361
7450
|
const V = (await f.post("v1/cities/search", {
|
|
7362
7451
|
filters: {
|
|
7363
|
-
geoNameId: [
|
|
7452
|
+
geoNameId: [v],
|
|
7364
7453
|
countryId: [e]
|
|
7365
7454
|
}
|
|
7366
7455
|
})).data.data;
|
|
@@ -7371,36 +7460,36 @@ const x7 = L1(
|
|
|
7371
7460
|
label: V[0].name
|
|
7372
7461
|
};
|
|
7373
7462
|
return m.current = [...m.current, D], [D];
|
|
7374
|
-
} catch (
|
|
7375
|
-
return console.error("CitySelect. fetchSelectedItems error",
|
|
7463
|
+
} catch (N) {
|
|
7464
|
+
return console.error("CitySelect. fetchSelectedItems error", N), [];
|
|
7376
7465
|
}
|
|
7377
7466
|
},
|
|
7378
7467
|
[f, e, t]
|
|
7379
7468
|
);
|
|
7380
|
-
|
|
7469
|
+
S(() => {
|
|
7381
7470
|
(async () => {
|
|
7382
7471
|
if (!s) return;
|
|
7383
|
-
const
|
|
7384
|
-
d(
|
|
7472
|
+
const _ = await E(s);
|
|
7473
|
+
d(_);
|
|
7385
7474
|
})();
|
|
7386
|
-
}, []),
|
|
7387
|
-
var
|
|
7388
|
-
y !== e ?
|
|
7475
|
+
}, []), S(() => {
|
|
7476
|
+
var v;
|
|
7477
|
+
y !== e ? k.current && (t(null), d([]), m.current = [], (v = R.current) == null || v.refetchOptions()) : k.current = !0;
|
|
7389
7478
|
}, [e, t, y]);
|
|
7390
7479
|
const p = K(
|
|
7391
7480
|
async ({
|
|
7392
|
-
limit:
|
|
7393
|
-
offset:
|
|
7394
|
-
search:
|
|
7481
|
+
limit: v,
|
|
7482
|
+
offset: _,
|
|
7483
|
+
search: N
|
|
7395
7484
|
}) => {
|
|
7396
7485
|
try {
|
|
7397
|
-
|
|
7486
|
+
h(!0);
|
|
7398
7487
|
const V = {
|
|
7399
|
-
offset:
|
|
7400
|
-
limit:
|
|
7488
|
+
offset: _,
|
|
7489
|
+
limit: v,
|
|
7401
7490
|
includeCount: !0
|
|
7402
7491
|
};
|
|
7403
|
-
V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]),
|
|
7492
|
+
V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]), N && (V.search = N);
|
|
7404
7493
|
const D = await f.post("v1/cities/search", V), T = (D == null ? void 0 : D.data.data) || [], P = D == null ? void 0 : D.data.metadata.count;
|
|
7405
7494
|
return {
|
|
7406
7495
|
options: T.map((I) => ({
|
|
@@ -7408,32 +7497,32 @@ const x7 = L1(
|
|
|
7408
7497
|
label: I.name
|
|
7409
7498
|
})),
|
|
7410
7499
|
count: P,
|
|
7411
|
-
limit:
|
|
7500
|
+
limit: v
|
|
7412
7501
|
};
|
|
7413
7502
|
} catch (V) {
|
|
7414
7503
|
return console.error("CitySelect. loadOptions error", V), {
|
|
7415
7504
|
options: [],
|
|
7416
7505
|
count: 0,
|
|
7417
|
-
limit:
|
|
7506
|
+
limit: v
|
|
7418
7507
|
};
|
|
7419
7508
|
} finally {
|
|
7420
|
-
|
|
7509
|
+
h(!1);
|
|
7421
7510
|
}
|
|
7422
7511
|
},
|
|
7423
7512
|
[f, e]
|
|
7424
7513
|
);
|
|
7425
|
-
return y1(a, () =>
|
|
7426
|
-
|
|
7514
|
+
return y1(a, () => R.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
|
|
7515
|
+
Vt,
|
|
7427
7516
|
{
|
|
7428
7517
|
id: n,
|
|
7429
7518
|
width: i,
|
|
7430
7519
|
value: l && s ? null : s,
|
|
7431
7520
|
onChange: t,
|
|
7432
|
-
ref:
|
|
7521
|
+
ref: R,
|
|
7433
7522
|
search: !0,
|
|
7434
|
-
placeholder:
|
|
7523
|
+
placeholder: b("placeholder"),
|
|
7435
7524
|
disabled: o,
|
|
7436
|
-
clearable:
|
|
7525
|
+
clearable: c,
|
|
7437
7526
|
loadOptions: p,
|
|
7438
7527
|
preloadOptions: !0,
|
|
7439
7528
|
extraOptions: C,
|
|
@@ -7443,5 +7532,5 @@ const x7 = L1(
|
|
|
7443
7532
|
}
|
|
7444
7533
|
);
|
|
7445
7534
|
export {
|
|
7446
|
-
|
|
7535
|
+
E7 as CitySelect
|
|
7447
7536
|
};
|