@snmt-react-ui/country-select 2.8.9 → 2.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/country-select.js +797 -740
- package/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var C2 = Object.defineProperty;
|
|
2
2
|
var g2 = (i, e, t) => e in i ? C2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var A1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
|
-
import { jsx as r, Fragment as
|
|
5
|
+
import { jsx as r, Fragment as U, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { Select as p2, Tag as f2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as
|
|
8
|
-
import { forwardRef as
|
|
7
|
+
import { Select as p2, Tag as f2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as y1, Popover as k2 } from "antd";
|
|
8
|
+
import { forwardRef as h1, useState as I, useRef as W, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as H1 } from "react";
|
|
9
9
|
var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, R2 = (i, e, t) => N2(i, e + "", t), x2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function _2() {
|
|
11
11
|
if (console && console.warn) {
|
|
12
12
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
13
13
|
e[t] = arguments[t];
|
|
14
|
-
|
|
14
|
+
z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const Z1 = {};
|
|
18
18
|
function x1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
|
|
21
|
+
z(e[0]) && Z1[e[0]] || (z(e[0]) && (Z1[e[0]] = /* @__PURE__ */ new Date()), _2(...e));
|
|
22
22
|
}
|
|
23
23
|
const q1 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
@@ -31,10 +31,10 @@ const q1 = (i, e) => () => {
|
|
|
31
31
|
};
|
|
32
32
|
i.on("initialized", t);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, O1 = (i, e, t) => {
|
|
35
35
|
i.loadNamespaces(e, q1(i, t));
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, S1 = (i, e, t, s) => {
|
|
37
|
+
z(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, q1(i, s));
|
|
40
40
|
}, M2 = function(i, e) {
|
|
@@ -54,7 +54,7 @@ const q1 = (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
|
}) : M2(i, e, t);
|
|
57
|
-
},
|
|
57
|
+
}, z = (i) => typeof i == "string", y2 = (i) => typeof i == "object" && i !== null, H2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, E2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
@@ -100,7 +100,7 @@ class G2 {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
const T2 = (i, e) => {
|
|
103
|
-
const t =
|
|
103
|
+
const t = W();
|
|
104
104
|
return A(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
@@ -114,8 +114,8 @@ const T2 = (i, e) => {
|
|
|
114
114
|
} = Q(D2) || {}, o = t || s || S2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new G2()), !o) {
|
|
116
116
|
x1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const
|
|
118
|
-
return M.t =
|
|
117
|
+
const m = (R, x) => z(x) ? x : y2(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [m, {}, !1];
|
|
118
|
+
return M.t = m, M.i18n = {}, M.ready = !1, M;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && x1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
@@ -127,34 +127,34 @@ const T2 = (i, e) => {
|
|
|
127
127
|
keyPrefix: C
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
|
-
d =
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
132
|
-
let
|
|
133
|
-
e.lng && (
|
|
134
|
-
const y = T2(
|
|
130
|
+
d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((m) => b2(m, o, c)), h = K2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => X1(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = I(g);
|
|
132
|
+
let f = d.join();
|
|
133
|
+
e.lng && (f = `${e.lng}${f}`);
|
|
134
|
+
const y = T2(f), b = W(!0);
|
|
135
135
|
A(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
137
|
+
bindI18n: m,
|
|
138
138
|
bindI18nStore: M
|
|
139
139
|
} = c;
|
|
140
|
-
b.current = !0, !l && !a && (e.lng ?
|
|
141
|
-
b.current &&
|
|
142
|
-
}) :
|
|
143
|
-
b.current &&
|
|
144
|
-
})), l && y && y !==
|
|
140
|
+
b.current = !0, !l && !a && (e.lng ? S1(o, e.lng, d, () => {
|
|
141
|
+
b.current && v(p);
|
|
142
|
+
}) : O1(o, d, () => {
|
|
143
|
+
b.current && v(p);
|
|
144
|
+
})), l && y && y !== f && b.current && v(p);
|
|
145
145
|
const R = () => {
|
|
146
|
-
b.current &&
|
|
146
|
+
b.current && v(p);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
b.current = !1,
|
|
148
|
+
return m && o && o.on(m, R), M && o && o.store.on(M, R), () => {
|
|
149
|
+
b.current = !1, m && o && m.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
|
|
150
150
|
};
|
|
151
|
-
}, [o,
|
|
152
|
-
b.current && l &&
|
|
151
|
+
}, [o, f]), A(() => {
|
|
152
|
+
b.current && l && v(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
154
|
const E = [k, o, l];
|
|
155
155
|
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ?
|
|
156
|
+
throw new Promise((m) => {
|
|
157
|
+
e.lng ? S1(o, e.lng, d, () => m()) : O1(o, d, () => m());
|
|
158
158
|
});
|
|
159
159
|
}, r1 = ({
|
|
160
160
|
children: i,
|
|
@@ -178,7 +178,7 @@ const T2 = (i, e) => {
|
|
|
178
178
|
style: { padding: a },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
181
|
-
),
|
|
181
|
+
), Y2 = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
182
182
|
const n = typeof s.src == "string";
|
|
183
183
|
return /* @__PURE__ */ r(
|
|
184
184
|
L2,
|
|
@@ -192,46 +192,103 @@ const T2 = (i, e) => {
|
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
|
-
var
|
|
196
|
-
const
|
|
195
|
+
var D = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_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))(D || {});
|
|
196
|
+
const E1 = t1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
199
199
|
});
|
|
200
|
-
|
|
201
|
-
const
|
|
200
|
+
E1.Provider;
|
|
201
|
+
const { Title: P2, Text: j2 } = y1, $2 = {
|
|
202
|
+
h1: 1,
|
|
203
|
+
h2: 2,
|
|
204
|
+
h3: 3,
|
|
205
|
+
h4: 4
|
|
206
|
+
}, F2 = h1(
|
|
207
|
+
({
|
|
208
|
+
align: i = "inherit",
|
|
209
|
+
variant: e = "body1",
|
|
210
|
+
color: t,
|
|
211
|
+
children: s,
|
|
212
|
+
onClick: n,
|
|
213
|
+
collapsed: o,
|
|
214
|
+
whiteSpace: c = "normal",
|
|
215
|
+
/** This prop allows you to enable tooltip if text size is too big */
|
|
216
|
+
trim: a = !1
|
|
217
|
+
}, C) => {
|
|
218
|
+
const d = W(null);
|
|
219
|
+
H1(C, () => d.current);
|
|
220
|
+
const [l, h] = I(!1);
|
|
221
|
+
A(() => {
|
|
222
|
+
var v;
|
|
223
|
+
if (!a) return;
|
|
224
|
+
const f = () => {
|
|
225
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
226
|
+
};
|
|
227
|
+
f();
|
|
228
|
+
const y = new ResizeObserver(f);
|
|
229
|
+
return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
|
|
230
|
+
y.disconnect();
|
|
231
|
+
};
|
|
232
|
+
}, [a]);
|
|
233
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
234
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
235
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
236
|
+
const k = {
|
|
237
|
+
className: p,
|
|
238
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
239
|
+
onClick: n,
|
|
240
|
+
ref: d,
|
|
241
|
+
ellipsis: a && l ? {
|
|
242
|
+
tooltip: {
|
|
243
|
+
title: s,
|
|
244
|
+
overlayClassName: "snmt-tooltip"
|
|
245
|
+
}
|
|
246
|
+
} : void 0
|
|
247
|
+
};
|
|
248
|
+
return g ? /* @__PURE__ */ r(P2, { level: $2[e], ...k, children: s }) : /* @__PURE__ */ r(j2, { ...k, children: s });
|
|
249
|
+
}
|
|
250
|
+
), W2 = ({
|
|
202
251
|
checked: i = !0,
|
|
203
252
|
indeterminate: e = !1,
|
|
204
253
|
children: t,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
254
|
+
label: s,
|
|
255
|
+
onChange: n,
|
|
256
|
+
disabled: o = !1,
|
|
257
|
+
disableUncheck: c = !1
|
|
208
258
|
}) => {
|
|
209
|
-
const [
|
|
259
|
+
const [a, C] = I(i), [d, l] = I(e);
|
|
210
260
|
A(() => {
|
|
211
|
-
|
|
261
|
+
C(i), l(e);
|
|
212
262
|
}, [i, e]);
|
|
213
|
-
const { theme:
|
|
263
|
+
const { theme: h } = Q(E1);
|
|
214
264
|
return /* @__PURE__ */ r(
|
|
215
265
|
w2,
|
|
216
266
|
{
|
|
217
|
-
className: `snmt-checkbox snmt-checkbox-${
|
|
218
|
-
checked:
|
|
219
|
-
indeterminate:
|
|
220
|
-
onChange: (
|
|
221
|
-
|
|
267
|
+
className: `snmt-checkbox snmt-checkbox-${h}`,
|
|
268
|
+
checked: a,
|
|
269
|
+
indeterminate: d,
|
|
270
|
+
onChange: (g) => {
|
|
271
|
+
c && a || (l(!1), C(g.target.checked), n && n(g));
|
|
222
272
|
},
|
|
223
|
-
disabled:
|
|
224
|
-
children: t
|
|
273
|
+
disabled: o,
|
|
274
|
+
children: t || s && /* @__PURE__ */ r(
|
|
275
|
+
F2,
|
|
276
|
+
{
|
|
277
|
+
variant: "body2",
|
|
278
|
+
color: o ? D.GREY_DARK_2 : D.GREY_DARK_5,
|
|
279
|
+
children: s
|
|
280
|
+
}
|
|
281
|
+
)
|
|
225
282
|
}
|
|
226
283
|
);
|
|
227
284
|
};
|
|
228
|
-
var
|
|
285
|
+
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
286
|
const e2 = t1({
|
|
230
287
|
locale: "en",
|
|
231
288
|
theme: "light"
|
|
232
289
|
});
|
|
233
290
|
e2.Provider;
|
|
234
|
-
const
|
|
291
|
+
const U2 = ({
|
|
235
292
|
width: i = 20,
|
|
236
293
|
height: e = 20,
|
|
237
294
|
color: t = "#001E52",
|
|
@@ -258,10 +315,10 @@ const j2 = ({
|
|
|
258
315
|
}
|
|
259
316
|
)
|
|
260
317
|
}
|
|
261
|
-
),
|
|
318
|
+
), z2 = ({
|
|
262
319
|
width: i = 20,
|
|
263
320
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
321
|
+
color: t = w.GREY_DARK_5,
|
|
265
322
|
className: s,
|
|
266
323
|
onClick: n
|
|
267
324
|
}) => /* @__PURE__ */ u(
|
|
@@ -298,7 +355,7 @@ const j2 = ({
|
|
|
298
355
|
)
|
|
299
356
|
]
|
|
300
357
|
}
|
|
301
|
-
),
|
|
358
|
+
), J2 = ({
|
|
302
359
|
width: i = 20,
|
|
303
360
|
height: e = 20,
|
|
304
361
|
color: t = "#001E52",
|
|
@@ -333,10 +390,10 @@ const j2 = ({
|
|
|
333
390
|
)
|
|
334
391
|
]
|
|
335
392
|
}
|
|
336
|
-
),
|
|
393
|
+
), Q2 = ({
|
|
337
394
|
width: i = 20,
|
|
338
395
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
396
|
+
color: t = w.GREY_DARK_5,
|
|
340
397
|
className: s,
|
|
341
398
|
onClick: n
|
|
342
399
|
}) => /* @__PURE__ */ u(
|
|
@@ -360,10 +417,10 @@ const j2 = ({
|
|
|
360
417
|
/* @__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
418
|
]
|
|
362
419
|
}
|
|
363
|
-
),
|
|
420
|
+
), q2 = ({
|
|
364
421
|
width: i = 20,
|
|
365
422
|
height: e = 20,
|
|
366
|
-
color: t =
|
|
423
|
+
color: t = w.GREY_DARK_5,
|
|
367
424
|
className: s,
|
|
368
425
|
onClick: n
|
|
369
426
|
}) => /* @__PURE__ */ r(
|
|
@@ -384,10 +441,10 @@ const j2 = ({
|
|
|
384
441
|
}
|
|
385
442
|
)
|
|
386
443
|
}
|
|
387
|
-
),
|
|
444
|
+
), X2 = ({
|
|
388
445
|
width: i = 20,
|
|
389
446
|
height: e = 20,
|
|
390
|
-
color: t =
|
|
447
|
+
color: t = w.GREY_DARK_5,
|
|
391
448
|
className: s,
|
|
392
449
|
onClick: n
|
|
393
450
|
}) => /* @__PURE__ */ u(
|
|
@@ -411,10 +468,10 @@ const j2 = ({
|
|
|
411
468
|
/* @__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
469
|
]
|
|
413
470
|
}
|
|
414
|
-
),
|
|
471
|
+
), e5 = ({
|
|
415
472
|
width: i = 20,
|
|
416
473
|
height: e = 20,
|
|
417
|
-
color: t =
|
|
474
|
+
color: t = w.GREY_DARK_5,
|
|
418
475
|
className: s,
|
|
419
476
|
onClick: n
|
|
420
477
|
}) => /* @__PURE__ */ r(
|
|
@@ -435,10 +492,10 @@ const j2 = ({
|
|
|
435
492
|
}
|
|
436
493
|
)
|
|
437
494
|
}
|
|
438
|
-
),
|
|
495
|
+
), t5 = ({
|
|
439
496
|
width: i = 20,
|
|
440
497
|
height: e = 20,
|
|
441
|
-
color: t =
|
|
498
|
+
color: t = w.GREY_DARK_5,
|
|
442
499
|
className: s,
|
|
443
500
|
onClick: n
|
|
444
501
|
}) => /* @__PURE__ */ u(
|
|
@@ -482,10 +539,10 @@ const j2 = ({
|
|
|
482
539
|
)
|
|
483
540
|
]
|
|
484
541
|
}
|
|
485
|
-
),
|
|
542
|
+
), i5 = ({
|
|
486
543
|
width: i = 20,
|
|
487
544
|
height: e = 20,
|
|
488
|
-
color: t =
|
|
545
|
+
color: t = w.GREY_DARK_5,
|
|
489
546
|
className: s,
|
|
490
547
|
onClick: n
|
|
491
548
|
}) => /* @__PURE__ */ r(
|
|
@@ -506,10 +563,10 @@ const j2 = ({
|
|
|
506
563
|
}
|
|
507
564
|
)
|
|
508
565
|
}
|
|
509
|
-
),
|
|
566
|
+
), s5 = ({
|
|
510
567
|
width: i = 20,
|
|
511
568
|
height: e = 20,
|
|
512
|
-
color: t =
|
|
569
|
+
color: t = w.GREY_DARK_5,
|
|
513
570
|
className: s,
|
|
514
571
|
onClick: n
|
|
515
572
|
}) => /* @__PURE__ */ r(
|
|
@@ -530,10 +587,10 @@ const j2 = ({
|
|
|
530
587
|
}
|
|
531
588
|
)
|
|
532
589
|
}
|
|
533
|
-
),
|
|
590
|
+
), n5 = ({
|
|
534
591
|
width: i = 20,
|
|
535
592
|
height: e = 20,
|
|
536
|
-
color: t =
|
|
593
|
+
color: t = w.GREY_DARK_5,
|
|
537
594
|
className: s,
|
|
538
595
|
onClick: n
|
|
539
596
|
}) => /* @__PURE__ */ r(
|
|
@@ -554,10 +611,10 @@ const j2 = ({
|
|
|
554
611
|
}
|
|
555
612
|
)
|
|
556
613
|
}
|
|
557
|
-
),
|
|
614
|
+
), r5 = ({
|
|
558
615
|
width: i = 20,
|
|
559
616
|
height: e = 20,
|
|
560
|
-
color: t =
|
|
617
|
+
color: t = w.GREY_DARK_5,
|
|
561
618
|
className: s,
|
|
562
619
|
onClick: n
|
|
563
620
|
}) => /* @__PURE__ */ u(
|
|
@@ -615,10 +672,10 @@ const j2 = ({
|
|
|
615
672
|
)
|
|
616
673
|
]
|
|
617
674
|
}
|
|
618
|
-
),
|
|
675
|
+
), o5 = ({
|
|
619
676
|
width: i = 20,
|
|
620
677
|
height: e = 20,
|
|
621
|
-
color: t =
|
|
678
|
+
color: t = w.GREY_DARK_5,
|
|
622
679
|
className: s,
|
|
623
680
|
onClick: n
|
|
624
681
|
}) => /* @__PURE__ */ u(
|
|
@@ -662,10 +719,10 @@ const j2 = ({
|
|
|
662
719
|
)
|
|
663
720
|
]
|
|
664
721
|
}
|
|
665
|
-
),
|
|
722
|
+
), a5 = ({
|
|
666
723
|
width: i = 20,
|
|
667
724
|
height: e = 20,
|
|
668
|
-
color: t =
|
|
725
|
+
color: t = w.GREY_DARK_5,
|
|
669
726
|
className: s,
|
|
670
727
|
onClick: n
|
|
671
728
|
}) => /* @__PURE__ */ u(
|
|
@@ -702,10 +759,10 @@ const j2 = ({
|
|
|
702
759
|
)
|
|
703
760
|
]
|
|
704
761
|
}
|
|
705
|
-
),
|
|
762
|
+
), l5 = ({
|
|
706
763
|
width: i = 20,
|
|
707
764
|
height: e = 20,
|
|
708
|
-
color: t =
|
|
765
|
+
color: t = w.GREY_DARK_5,
|
|
709
766
|
className: s,
|
|
710
767
|
onClick: n
|
|
711
768
|
}) => /* @__PURE__ */ u(
|
|
@@ -742,10 +799,10 @@ const j2 = ({
|
|
|
742
799
|
)
|
|
743
800
|
]
|
|
744
801
|
}
|
|
745
|
-
),
|
|
802
|
+
), h5 = ({
|
|
746
803
|
width: i = 20,
|
|
747
804
|
height: e = 20,
|
|
748
|
-
color: t =
|
|
805
|
+
color: t = w.GREY_DARK_5,
|
|
749
806
|
className: s,
|
|
750
807
|
onClick: n
|
|
751
808
|
}) => /* @__PURE__ */ u(
|
|
@@ -789,10 +846,10 @@ const j2 = ({
|
|
|
789
846
|
)
|
|
790
847
|
]
|
|
791
848
|
}
|
|
792
|
-
),
|
|
849
|
+
), c5 = ({
|
|
793
850
|
width: i = 20,
|
|
794
851
|
height: e = 20,
|
|
795
|
-
color: t =
|
|
852
|
+
color: t = w.GREY_DARK_5,
|
|
796
853
|
className: s,
|
|
797
854
|
onClick: n
|
|
798
855
|
}) => /* @__PURE__ */ u(
|
|
@@ -836,10 +893,10 @@ const j2 = ({
|
|
|
836
893
|
)
|
|
837
894
|
]
|
|
838
895
|
}
|
|
839
|
-
),
|
|
896
|
+
), d5 = ({
|
|
840
897
|
width: i = 20,
|
|
841
898
|
height: e = 20,
|
|
842
|
-
color: t =
|
|
899
|
+
color: t = w.GREY_DARK_5,
|
|
843
900
|
className: s,
|
|
844
901
|
onClick: n
|
|
845
902
|
}) => /* @__PURE__ */ u(
|
|
@@ -883,10 +940,10 @@ const j2 = ({
|
|
|
883
940
|
)
|
|
884
941
|
]
|
|
885
942
|
}
|
|
886
|
-
),
|
|
943
|
+
), C5 = ({
|
|
887
944
|
width: i = 20,
|
|
888
945
|
height: e = 20,
|
|
889
|
-
color: t =
|
|
946
|
+
color: t = w.GREY_DARK_5,
|
|
890
947
|
className: s,
|
|
891
948
|
onClick: n
|
|
892
949
|
}) => /* @__PURE__ */ u(
|
|
@@ -923,10 +980,10 @@ const j2 = ({
|
|
|
923
980
|
)
|
|
924
981
|
]
|
|
925
982
|
}
|
|
926
|
-
),
|
|
983
|
+
), g5 = ({
|
|
927
984
|
width: i = 20,
|
|
928
985
|
height: e = 20,
|
|
929
|
-
color: t =
|
|
986
|
+
color: t = w.GREY_DARK_5,
|
|
930
987
|
className: s,
|
|
931
988
|
onClick: n
|
|
932
989
|
}) => /* @__PURE__ */ u(
|
|
@@ -956,10 +1013,10 @@ const j2 = ({
|
|
|
956
1013
|
)
|
|
957
1014
|
]
|
|
958
1015
|
}
|
|
959
|
-
),
|
|
1016
|
+
), u5 = ({
|
|
960
1017
|
width: i = 20,
|
|
961
1018
|
height: e = 20,
|
|
962
|
-
color: t =
|
|
1019
|
+
color: t = w.GREY_DARK_5,
|
|
963
1020
|
className: s,
|
|
964
1021
|
onClick: n
|
|
965
1022
|
}) => /* @__PURE__ */ u(
|
|
@@ -989,10 +1046,10 @@ const j2 = ({
|
|
|
989
1046
|
)
|
|
990
1047
|
]
|
|
991
1048
|
}
|
|
992
|
-
),
|
|
1049
|
+
), p5 = ({
|
|
993
1050
|
width: i = 20,
|
|
994
1051
|
height: e = 20,
|
|
995
|
-
color: t =
|
|
1052
|
+
color: t = w.GREY_DARK_5,
|
|
996
1053
|
className: s,
|
|
997
1054
|
onClick: n
|
|
998
1055
|
}) => /* @__PURE__ */ u(
|
|
@@ -1022,10 +1079,10 @@ const j2 = ({
|
|
|
1022
1079
|
)
|
|
1023
1080
|
]
|
|
1024
1081
|
}
|
|
1025
|
-
),
|
|
1082
|
+
), f5 = ({
|
|
1026
1083
|
width: i = 20,
|
|
1027
1084
|
height: e = 20,
|
|
1028
|
-
color: t =
|
|
1085
|
+
color: t = w.GREY_DARK_5,
|
|
1029
1086
|
className: s,
|
|
1030
1087
|
onClick: n
|
|
1031
1088
|
}) => /* @__PURE__ */ u(
|
|
@@ -1055,10 +1112,10 @@ const j2 = ({
|
|
|
1055
1112
|
)
|
|
1056
1113
|
]
|
|
1057
1114
|
}
|
|
1058
|
-
),
|
|
1115
|
+
), m5 = ({
|
|
1059
1116
|
width: i = 20,
|
|
1060
1117
|
height: e = 20,
|
|
1061
|
-
color: t =
|
|
1118
|
+
color: t = w.GREY_DARK_5,
|
|
1062
1119
|
className: s,
|
|
1063
1120
|
onClick: n
|
|
1064
1121
|
}) => /* @__PURE__ */ u(
|
|
@@ -1095,10 +1152,10 @@ const j2 = ({
|
|
|
1095
1152
|
)
|
|
1096
1153
|
]
|
|
1097
1154
|
}
|
|
1098
|
-
),
|
|
1155
|
+
), w5 = ({
|
|
1099
1156
|
width: i = 20,
|
|
1100
1157
|
height: e = 20,
|
|
1101
|
-
color: t =
|
|
1158
|
+
color: t = w.GREY_DARK_5,
|
|
1102
1159
|
className: s,
|
|
1103
1160
|
onClick: n
|
|
1104
1161
|
}) => /* @__PURE__ */ u(
|
|
@@ -1128,10 +1185,10 @@ const j2 = ({
|
|
|
1128
1185
|
)
|
|
1129
1186
|
]
|
|
1130
1187
|
}
|
|
1131
|
-
),
|
|
1188
|
+
), L5 = ({
|
|
1132
1189
|
width: i = 20,
|
|
1133
1190
|
height: e = 20,
|
|
1134
|
-
color: t =
|
|
1191
|
+
color: t = w.GREY_DARK_5,
|
|
1135
1192
|
className: s,
|
|
1136
1193
|
onClick: n
|
|
1137
1194
|
}) => /* @__PURE__ */ u(
|
|
@@ -1161,7 +1218,7 @@ const j2 = ({
|
|
|
1161
1218
|
)
|
|
1162
1219
|
]
|
|
1163
1220
|
}
|
|
1164
|
-
),
|
|
1221
|
+
), k5 = ({
|
|
1165
1222
|
width: i = 20,
|
|
1166
1223
|
height: e = 20,
|
|
1167
1224
|
color: t = "#070739",
|
|
@@ -1191,7 +1248,7 @@ const j2 = ({
|
|
|
1191
1248
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1192
1249
|
]
|
|
1193
1250
|
}
|
|
1194
|
-
),
|
|
1251
|
+
), v5 = ({
|
|
1195
1252
|
width: i = 20,
|
|
1196
1253
|
height: e = 20,
|
|
1197
1254
|
color: t = "#070739",
|
|
@@ -1229,7 +1286,7 @@ const j2 = ({
|
|
|
1229
1286
|
)
|
|
1230
1287
|
]
|
|
1231
1288
|
}
|
|
1232
|
-
),
|
|
1289
|
+
), N5 = ({
|
|
1233
1290
|
width: i = 9,
|
|
1234
1291
|
height: e = 5,
|
|
1235
1292
|
color: t = "#001E52",
|
|
@@ -1255,7 +1312,7 @@ const j2 = ({
|
|
|
1255
1312
|
}
|
|
1256
1313
|
)
|
|
1257
1314
|
}
|
|
1258
|
-
),
|
|
1315
|
+
), R5 = ({
|
|
1259
1316
|
width: i = 20,
|
|
1260
1317
|
height: e = 20,
|
|
1261
1318
|
color: t = "#F2F2F7",
|
|
@@ -1284,7 +1341,7 @@ const j2 = ({
|
|
|
1284
1341
|
)
|
|
1285
1342
|
]
|
|
1286
1343
|
}
|
|
1287
|
-
),
|
|
1344
|
+
), x5 = ({
|
|
1288
1345
|
width: i = 20,
|
|
1289
1346
|
height: e = 20,
|
|
1290
1347
|
color: t = "#004ED7",
|
|
@@ -1313,7 +1370,7 @@ const j2 = ({
|
|
|
1313
1370
|
)
|
|
1314
1371
|
]
|
|
1315
1372
|
}
|
|
1316
|
-
),
|
|
1373
|
+
), _5 = ({
|
|
1317
1374
|
width: i = 10,
|
|
1318
1375
|
height: e = 10,
|
|
1319
1376
|
color: t = "#001E52",
|
|
@@ -1342,7 +1399,7 @@ const j2 = ({
|
|
|
1342
1399
|
)
|
|
1343
1400
|
]
|
|
1344
1401
|
}
|
|
1345
|
-
),
|
|
1402
|
+
), M5 = ({
|
|
1346
1403
|
width: i = 10,
|
|
1347
1404
|
height: e = 10,
|
|
1348
1405
|
color: t = "#001E52",
|
|
@@ -1379,9 +1436,9 @@ const j2 = ({
|
|
|
1379
1436
|
)
|
|
1380
1437
|
]
|
|
1381
1438
|
}
|
|
1382
|
-
),
|
|
1439
|
+
), b5 = ({
|
|
1383
1440
|
className: i,
|
|
1384
|
-
color: e =
|
|
1441
|
+
color: e = w.GREY_DARK_5,
|
|
1385
1442
|
height: t = 20,
|
|
1386
1443
|
width: s = 20,
|
|
1387
1444
|
onClick: n
|
|
@@ -1412,9 +1469,9 @@ const j2 = ({
|
|
|
1412
1469
|
)
|
|
1413
1470
|
]
|
|
1414
1471
|
}
|
|
1415
|
-
),
|
|
1472
|
+
), y5 = ({
|
|
1416
1473
|
className: i,
|
|
1417
|
-
color: e =
|
|
1474
|
+
color: e = w.GREY_DARK_5,
|
|
1418
1475
|
height: t = 20,
|
|
1419
1476
|
width: s = 20,
|
|
1420
1477
|
onClick: n
|
|
@@ -1439,9 +1496,9 @@ const j2 = ({
|
|
|
1439
1496
|
}
|
|
1440
1497
|
)
|
|
1441
1498
|
}
|
|
1442
|
-
),
|
|
1499
|
+
), H5 = ({
|
|
1443
1500
|
className: i,
|
|
1444
|
-
color: e =
|
|
1501
|
+
color: e = w.GREY_DARK_5,
|
|
1445
1502
|
height: t = 20,
|
|
1446
1503
|
width: s = 20,
|
|
1447
1504
|
onClick: n
|
|
@@ -1466,9 +1523,9 @@ const j2 = ({
|
|
|
1466
1523
|
}
|
|
1467
1524
|
)
|
|
1468
1525
|
}
|
|
1469
|
-
),
|
|
1526
|
+
), E5 = ({
|
|
1470
1527
|
className: i,
|
|
1471
|
-
color: e =
|
|
1528
|
+
color: e = w.GREY_DARK_5,
|
|
1472
1529
|
height: t = 5,
|
|
1473
1530
|
width: s = 10,
|
|
1474
1531
|
onClick: n
|
|
@@ -1490,9 +1547,9 @@ const j2 = ({
|
|
|
1490
1547
|
}
|
|
1491
1548
|
)
|
|
1492
1549
|
}
|
|
1493
|
-
),
|
|
1550
|
+
), V5 = ({
|
|
1494
1551
|
className: i,
|
|
1495
|
-
color: e =
|
|
1552
|
+
color: e = w.GREY_DARK_5,
|
|
1496
1553
|
height: t = 5,
|
|
1497
1554
|
width: s = 10,
|
|
1498
1555
|
onClick: n
|
|
@@ -1515,9 +1572,9 @@ const j2 = ({
|
|
|
1515
1572
|
}
|
|
1516
1573
|
)
|
|
1517
1574
|
}
|
|
1518
|
-
),
|
|
1575
|
+
), I5 = ({
|
|
1519
1576
|
className: i,
|
|
1520
|
-
color: e =
|
|
1577
|
+
color: e = w.GREY_DARK_5,
|
|
1521
1578
|
height: t = 20,
|
|
1522
1579
|
width: s = 20,
|
|
1523
1580
|
onClick: n
|
|
@@ -1548,9 +1605,9 @@ const j2 = ({
|
|
|
1548
1605
|
)
|
|
1549
1606
|
]
|
|
1550
1607
|
}
|
|
1551
|
-
),
|
|
1608
|
+
), A5 = ({
|
|
1552
1609
|
className: i,
|
|
1553
|
-
color: e =
|
|
1610
|
+
color: e = w.GREY_DARK_5,
|
|
1554
1611
|
height: t = 24,
|
|
1555
1612
|
width: s = 24,
|
|
1556
1613
|
onClick: n
|
|
@@ -1587,9 +1644,9 @@ const j2 = ({
|
|
|
1587
1644
|
)
|
|
1588
1645
|
]
|
|
1589
1646
|
}
|
|
1590
|
-
),
|
|
1647
|
+
), Z5 = ({
|
|
1591
1648
|
className: i,
|
|
1592
|
-
color: e =
|
|
1649
|
+
color: e = w.GREY_DARK_5,
|
|
1593
1650
|
height: t = 24,
|
|
1594
1651
|
width: s = 24,
|
|
1595
1652
|
onClick: n
|
|
@@ -1614,9 +1671,9 @@ const j2 = ({
|
|
|
1614
1671
|
}
|
|
1615
1672
|
)
|
|
1616
1673
|
}
|
|
1617
|
-
),
|
|
1674
|
+
), O5 = ({
|
|
1618
1675
|
className: i,
|
|
1619
|
-
color: e =
|
|
1676
|
+
color: e = w.GREY_DARK_5,
|
|
1620
1677
|
height: t = 24,
|
|
1621
1678
|
width: s = 24,
|
|
1622
1679
|
onClick: n
|
|
@@ -1673,9 +1730,9 @@ const j2 = ({
|
|
|
1673
1730
|
)
|
|
1674
1731
|
]
|
|
1675
1732
|
}
|
|
1676
|
-
),
|
|
1733
|
+
), S5 = ({
|
|
1677
1734
|
className: i,
|
|
1678
|
-
color: e =
|
|
1735
|
+
color: e = w.GREY_DARK_5,
|
|
1679
1736
|
height: t = 24,
|
|
1680
1737
|
width: s = 24,
|
|
1681
1738
|
onClick: n
|
|
@@ -1710,9 +1767,9 @@ const j2 = ({
|
|
|
1710
1767
|
)
|
|
1711
1768
|
]
|
|
1712
1769
|
}
|
|
1713
|
-
),
|
|
1770
|
+
), D5 = ({
|
|
1714
1771
|
className: i,
|
|
1715
|
-
color: e =
|
|
1772
|
+
color: e = w.GREY_DARK_3,
|
|
1716
1773
|
height: t = 14,
|
|
1717
1774
|
width: s = 14,
|
|
1718
1775
|
onClick: n
|
|
@@ -1747,9 +1804,9 @@ const j2 = ({
|
|
|
1747
1804
|
)
|
|
1748
1805
|
]
|
|
1749
1806
|
}
|
|
1750
|
-
),
|
|
1807
|
+
), G5 = ({
|
|
1751
1808
|
className: i,
|
|
1752
|
-
color: e =
|
|
1809
|
+
color: e = w.GREY_DARK_5,
|
|
1753
1810
|
height: t = 18,
|
|
1754
1811
|
onClick: s,
|
|
1755
1812
|
width: n = 18
|
|
@@ -1774,9 +1831,9 @@ const j2 = ({
|
|
|
1774
1831
|
}
|
|
1775
1832
|
)
|
|
1776
1833
|
}
|
|
1777
|
-
),
|
|
1834
|
+
), T5 = ({
|
|
1778
1835
|
className: i,
|
|
1779
|
-
color: e =
|
|
1836
|
+
color: e = w.GREY_DARK_5,
|
|
1780
1837
|
height: t = 24,
|
|
1781
1838
|
width: s = 24,
|
|
1782
1839
|
onClick: n
|
|
@@ -1826,9 +1883,9 @@ const j2 = ({
|
|
|
1826
1883
|
)
|
|
1827
1884
|
]
|
|
1828
1885
|
}
|
|
1829
|
-
),
|
|
1886
|
+
), K5 = ({
|
|
1830
1887
|
className: i,
|
|
1831
|
-
color: e =
|
|
1888
|
+
color: e = w.GREY_DARK_5,
|
|
1832
1889
|
height: t = 24,
|
|
1833
1890
|
width: s = 24,
|
|
1834
1891
|
onClick: n
|
|
@@ -1863,9 +1920,9 @@ const j2 = ({
|
|
|
1863
1920
|
)
|
|
1864
1921
|
]
|
|
1865
1922
|
}
|
|
1866
|
-
),
|
|
1923
|
+
), B5 = ({
|
|
1867
1924
|
className: i,
|
|
1868
|
-
color: e =
|
|
1925
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
1869
1926
|
height: t = 37,
|
|
1870
1927
|
width: s = 36,
|
|
1871
1928
|
onClick: n
|
|
@@ -1902,9 +1959,9 @@ const j2 = ({
|
|
|
1902
1959
|
)
|
|
1903
1960
|
]
|
|
1904
1961
|
}
|
|
1905
|
-
),
|
|
1962
|
+
), Y5 = ({
|
|
1906
1963
|
className: i,
|
|
1907
|
-
color: e =
|
|
1964
|
+
color: e = w.GREY_DARK_5,
|
|
1908
1965
|
height: t = 24,
|
|
1909
1966
|
width: s = 24,
|
|
1910
1967
|
onClick: n
|
|
@@ -1928,9 +1985,9 @@ const j2 = ({
|
|
|
1928
1985
|
}
|
|
1929
1986
|
)
|
|
1930
1987
|
}
|
|
1931
|
-
),
|
|
1988
|
+
), P5 = ({
|
|
1932
1989
|
className: i,
|
|
1933
|
-
color: e =
|
|
1990
|
+
color: e = w.GREY_DARK_5,
|
|
1934
1991
|
height: t = 24,
|
|
1935
1992
|
width: s = 24,
|
|
1936
1993
|
onClick: n
|
|
@@ -1967,9 +2024,9 @@ const j2 = ({
|
|
|
1967
2024
|
)
|
|
1968
2025
|
]
|
|
1969
2026
|
}
|
|
1970
|
-
),
|
|
2027
|
+
), j5 = ({
|
|
1971
2028
|
className: i,
|
|
1972
|
-
color: e =
|
|
2029
|
+
color: e = w.GREY_DARK_5,
|
|
1973
2030
|
height: t = 20,
|
|
1974
2031
|
width: s = 20,
|
|
1975
2032
|
onClick: n
|
|
@@ -2000,9 +2057,9 @@ const j2 = ({
|
|
|
2000
2057
|
)
|
|
2001
2058
|
]
|
|
2002
2059
|
}
|
|
2003
|
-
),
|
|
2060
|
+
), $5 = ({
|
|
2004
2061
|
className: i,
|
|
2005
|
-
color: e =
|
|
2062
|
+
color: e = w.GREY_DARK_5,
|
|
2006
2063
|
height: t = 24,
|
|
2007
2064
|
width: s = 24,
|
|
2008
2065
|
onClick: n
|
|
@@ -2069,9 +2126,9 @@ const j2 = ({
|
|
|
2069
2126
|
)
|
|
2070
2127
|
]
|
|
2071
2128
|
}
|
|
2072
|
-
),
|
|
2129
|
+
), F5 = ({
|
|
2073
2130
|
className: i,
|
|
2074
|
-
color: e =
|
|
2131
|
+
color: e = w.GREY_DARK_5,
|
|
2075
2132
|
height: t = 24,
|
|
2076
2133
|
width: s = 24,
|
|
2077
2134
|
onClick: n
|
|
@@ -2126,9 +2183,9 @@ const j2 = ({
|
|
|
2126
2183
|
)
|
|
2127
2184
|
]
|
|
2128
2185
|
}
|
|
2129
|
-
),
|
|
2186
|
+
), W5 = ({
|
|
2130
2187
|
className: i,
|
|
2131
|
-
color: e =
|
|
2188
|
+
color: e = w.GREY_DARK_5,
|
|
2132
2189
|
height: t = 24,
|
|
2133
2190
|
width: s = 24,
|
|
2134
2191
|
onClick: n
|
|
@@ -2175,9 +2232,9 @@ const j2 = ({
|
|
|
2175
2232
|
)
|
|
2176
2233
|
]
|
|
2177
2234
|
}
|
|
2178
|
-
),
|
|
2235
|
+
), U5 = ({
|
|
2179
2236
|
className: i,
|
|
2180
|
-
color: e =
|
|
2237
|
+
color: e = w.GREY_DARK_5,
|
|
2181
2238
|
height: t = 24,
|
|
2182
2239
|
width: s = 24,
|
|
2183
2240
|
onClick: n
|
|
@@ -2202,9 +2259,9 @@ const j2 = ({
|
|
|
2202
2259
|
}
|
|
2203
2260
|
)
|
|
2204
2261
|
}
|
|
2205
|
-
),
|
|
2262
|
+
), z5 = ({
|
|
2206
2263
|
className: i,
|
|
2207
|
-
color: e =
|
|
2264
|
+
color: e = w.GREY_DARK_5,
|
|
2208
2265
|
height: t = 20,
|
|
2209
2266
|
width: s = 20,
|
|
2210
2267
|
onClick: n
|
|
@@ -2219,7 +2276,7 @@ const j2 = ({
|
|
|
2219
2276
|
fill: "none",
|
|
2220
2277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2221
2278
|
children: [
|
|
2222
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2279
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
2223
2280
|
/* @__PURE__ */ r(
|
|
2224
2281
|
"path",
|
|
2225
2282
|
{
|
|
@@ -2231,7 +2288,7 @@ const j2 = ({
|
|
|
2231
2288
|
)
|
|
2232
2289
|
]
|
|
2233
2290
|
}
|
|
2234
|
-
),
|
|
2291
|
+
), J5 = ({
|
|
2235
2292
|
className: i,
|
|
2236
2293
|
color: e = "#001E52",
|
|
2237
2294
|
height: t = 24,
|
|
@@ -2257,7 +2314,7 @@ const j2 = ({
|
|
|
2257
2314
|
}
|
|
2258
2315
|
)
|
|
2259
2316
|
}
|
|
2260
|
-
),
|
|
2317
|
+
), Q5 = ({
|
|
2261
2318
|
className: i,
|
|
2262
2319
|
color: e = "#001E52",
|
|
2263
2320
|
height: t = 24,
|
|
@@ -2295,10 +2352,10 @@ const j2 = ({
|
|
|
2295
2352
|
)
|
|
2296
2353
|
] }) })
|
|
2297
2354
|
}
|
|
2298
|
-
),
|
|
2355
|
+
), q5 = ({
|
|
2299
2356
|
width: i = 20,
|
|
2300
2357
|
height: e = 20,
|
|
2301
|
-
color: t =
|
|
2358
|
+
color: t = w.GREY_DARK_5,
|
|
2302
2359
|
className: s,
|
|
2303
2360
|
onClick: n
|
|
2304
2361
|
}) => /* @__PURE__ */ r(
|
|
@@ -2319,7 +2376,7 @@ const j2 = ({
|
|
|
2319
2376
|
}
|
|
2320
2377
|
)
|
|
2321
2378
|
}
|
|
2322
|
-
),
|
|
2379
|
+
), X5 = ({
|
|
2323
2380
|
width: i = 24,
|
|
2324
2381
|
height: e = 24,
|
|
2325
2382
|
color: t = "#131314",
|
|
@@ -2352,10 +2409,10 @@ const j2 = ({
|
|
|
2352
2409
|
)
|
|
2353
2410
|
]
|
|
2354
2411
|
}
|
|
2355
|
-
),
|
|
2412
|
+
), ee = ({
|
|
2356
2413
|
width: i = 20,
|
|
2357
2414
|
height: e = 20,
|
|
2358
|
-
color: t =
|
|
2415
|
+
color: t = w.GREY_DARK_5,
|
|
2359
2416
|
className: s,
|
|
2360
2417
|
onClick: n
|
|
2361
2418
|
}) => /* @__PURE__ */ u(
|
|
@@ -2385,10 +2442,10 @@ const j2 = ({
|
|
|
2385
2442
|
)
|
|
2386
2443
|
]
|
|
2387
2444
|
}
|
|
2388
|
-
),
|
|
2445
|
+
), te = ({
|
|
2389
2446
|
width: i = 24,
|
|
2390
2447
|
height: e = 24,
|
|
2391
|
-
color: t =
|
|
2448
|
+
color: t = w.GREY_DARK_2,
|
|
2392
2449
|
className: s,
|
|
2393
2450
|
onClick: n
|
|
2394
2451
|
}) => /* @__PURE__ */ u(
|
|
@@ -2425,10 +2482,10 @@ const j2 = ({
|
|
|
2425
2482
|
)
|
|
2426
2483
|
]
|
|
2427
2484
|
}
|
|
2428
|
-
),
|
|
2485
|
+
), ie = ({
|
|
2429
2486
|
width: i = 24,
|
|
2430
2487
|
height: e = 24,
|
|
2431
|
-
color: t =
|
|
2488
|
+
color: t = w.GREY_DARK_2,
|
|
2432
2489
|
className: s,
|
|
2433
2490
|
onClick: n
|
|
2434
2491
|
}) => /* @__PURE__ */ r(
|
|
@@ -2452,10 +2509,10 @@ const j2 = ({
|
|
|
2452
2509
|
}
|
|
2453
2510
|
)
|
|
2454
2511
|
}
|
|
2455
|
-
),
|
|
2512
|
+
), se = ({
|
|
2456
2513
|
width: i = 24,
|
|
2457
2514
|
height: e = 24,
|
|
2458
|
-
color: t =
|
|
2515
|
+
color: t = w.GREY_DARK_2,
|
|
2459
2516
|
className: s,
|
|
2460
2517
|
onClick: n
|
|
2461
2518
|
}) => /* @__PURE__ */ r(
|
|
@@ -2488,45 +2545,45 @@ const j2 = ({
|
|
|
2488
2545
|
disabled: o = !1,
|
|
2489
2546
|
onClick: c
|
|
2490
2547
|
}) => {
|
|
2491
|
-
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ?
|
|
2548
|
+
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2492
2549
|
return A(() => {
|
|
2493
2550
|
if (n) {
|
|
2494
2551
|
h && !o && C(`${n} clickable`);
|
|
2495
2552
|
return;
|
|
2496
2553
|
}
|
|
2497
2554
|
h && !o && C("clickable");
|
|
2498
|
-
}, [h, n, o]), /* @__PURE__ */ r(
|
|
2555
|
+
}, [h, n, o]), /* @__PURE__ */ r(U, { children: (() => {
|
|
2499
2556
|
switch (i) {
|
|
2500
2557
|
case "nextIcon":
|
|
2501
|
-
return
|
|
2558
|
+
return y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2502
2559
|
case "prevIcon":
|
|
2503
|
-
return
|
|
2560
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2504
2561
|
case "arrowDown":
|
|
2505
|
-
return
|
|
2562
|
+
return U2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2506
2563
|
case "info":
|
|
2507
|
-
return
|
|
2564
|
+
return z2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2508
2565
|
case "arrowRight":
|
|
2509
|
-
return
|
|
2566
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2567
|
case "calendar":
|
|
2511
|
-
return
|
|
2568
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2569
|
case "check":
|
|
2513
|
-
return
|
|
2570
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2571
|
case "cancel":
|
|
2515
|
-
return
|
|
2572
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2573
|
case "add":
|
|
2517
|
-
return
|
|
2574
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2575
|
case "list":
|
|
2519
|
-
return
|
|
2576
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2577
|
case "dragAndDrop":
|
|
2521
|
-
return
|
|
2578
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2579
|
case "filter":
|
|
2523
|
-
return
|
|
2580
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2524
2581
|
case "attention":
|
|
2525
|
-
return
|
|
2582
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2526
2583
|
case "users":
|
|
2527
|
-
return
|
|
2584
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2528
2585
|
case "mySkillsMatrix":
|
|
2529
|
-
return
|
|
2586
|
+
return c5({
|
|
2530
2587
|
width: e,
|
|
2531
2588
|
height: t,
|
|
2532
2589
|
color: l,
|
|
@@ -2534,9 +2591,9 @@ const j2 = ({
|
|
|
2534
2591
|
onClick: h
|
|
2535
2592
|
});
|
|
2536
2593
|
case "skills":
|
|
2537
|
-
return
|
|
2594
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2538
2595
|
case "skillsMatrices":
|
|
2539
|
-
return
|
|
2596
|
+
return C5({
|
|
2540
2597
|
width: e,
|
|
2541
2598
|
height: t,
|
|
2542
2599
|
color: l,
|
|
@@ -2544,21 +2601,21 @@ const j2 = ({
|
|
|
2544
2601
|
onClick: h
|
|
2545
2602
|
});
|
|
2546
2603
|
case "history":
|
|
2547
|
-
return
|
|
2604
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2548
2605
|
case "logOut":
|
|
2549
|
-
return
|
|
2606
|
+
return u5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2550
2607
|
case "settings":
|
|
2551
|
-
return
|
|
2608
|
+
return p5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2552
2609
|
case "trash":
|
|
2553
|
-
return
|
|
2610
|
+
return f5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2554
2611
|
case "settings2":
|
|
2555
|
-
return
|
|
2612
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2556
2613
|
case "checkCircle":
|
|
2557
|
-
return
|
|
2614
|
+
return w5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2558
2615
|
case "cancelCircle":
|
|
2559
|
-
return
|
|
2616
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2560
2617
|
case "visibilityIcon":
|
|
2561
|
-
return
|
|
2618
|
+
return k5({
|
|
2562
2619
|
width: e,
|
|
2563
2620
|
height: t,
|
|
2564
2621
|
color: l,
|
|
@@ -2566,7 +2623,7 @@ const j2 = ({
|
|
|
2566
2623
|
onClick: h
|
|
2567
2624
|
});
|
|
2568
2625
|
case "visibilityOffIcon":
|
|
2569
|
-
return
|
|
2626
|
+
return v5({
|
|
2570
2627
|
width: e,
|
|
2571
2628
|
height: t,
|
|
2572
2629
|
color: l,
|
|
@@ -2574,7 +2631,7 @@ const j2 = ({
|
|
|
2574
2631
|
onClick: h
|
|
2575
2632
|
});
|
|
2576
2633
|
case "selectArrowIcon":
|
|
2577
|
-
return
|
|
2634
|
+
return N5({
|
|
2578
2635
|
width: e,
|
|
2579
2636
|
height: t,
|
|
2580
2637
|
color: l,
|
|
@@ -2582,7 +2639,7 @@ const j2 = ({
|
|
|
2582
2639
|
onClick: h
|
|
2583
2640
|
});
|
|
2584
2641
|
case "expandArrowIcon":
|
|
2585
|
-
return
|
|
2642
|
+
return R5({
|
|
2586
2643
|
width: e,
|
|
2587
2644
|
height: t,
|
|
2588
2645
|
color: l,
|
|
@@ -2590,7 +2647,7 @@ const j2 = ({
|
|
|
2590
2647
|
onClick: h
|
|
2591
2648
|
});
|
|
2592
2649
|
case "expandActiveArrowIcon":
|
|
2593
|
-
return
|
|
2650
|
+
return x5({
|
|
2594
2651
|
width: e,
|
|
2595
2652
|
height: t,
|
|
2596
2653
|
color: l,
|
|
@@ -2598,85 +2655,85 @@ const j2 = ({
|
|
|
2598
2655
|
onClick: h
|
|
2599
2656
|
});
|
|
2600
2657
|
case "sortUp":
|
|
2601
|
-
return
|
|
2658
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2602
2659
|
case "sortDown":
|
|
2603
|
-
return
|
|
2660
|
+
return M5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2604
2661
|
case "search":
|
|
2605
|
-
return R5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2606
|
-
case "arrowUpFilled":
|
|
2607
2662
|
return b5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2663
|
+
case "arrowUpFilled":
|
|
2664
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2608
2665
|
case "arrowDownFilled":
|
|
2609
|
-
return
|
|
2666
|
+
return E5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
2667
|
case "arrow2Up":
|
|
2611
|
-
return
|
|
2668
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
2669
|
case "arrow2Right":
|
|
2613
|
-
return
|
|
2670
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
2671
|
case "arrow2Down":
|
|
2615
|
-
return
|
|
2672
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
2673
|
case "arrow2Left":
|
|
2617
|
-
return
|
|
2674
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2618
2675
|
case "link":
|
|
2619
|
-
return
|
|
2676
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2620
2677
|
case "telegram":
|
|
2621
|
-
return
|
|
2678
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2622
2679
|
case "mail":
|
|
2623
|
-
return
|
|
2680
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2624
2681
|
case "github":
|
|
2625
|
-
return
|
|
2682
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2626
2683
|
case "linkedIn":
|
|
2627
|
-
return
|
|
2684
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2628
2685
|
case "emptyStateIcon":
|
|
2629
|
-
return
|
|
2686
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2630
2687
|
case "filtersIcon":
|
|
2631
|
-
return
|
|
2688
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2632
2689
|
case "dotMenuIcon":
|
|
2633
|
-
return
|
|
2690
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2634
2691
|
case "plusCircle":
|
|
2635
|
-
return
|
|
2692
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2636
2693
|
case "warning":
|
|
2637
|
-
return
|
|
2694
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2638
2695
|
case "back":
|
|
2639
|
-
return
|
|
2696
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2640
2697
|
case "bell":
|
|
2641
|
-
return
|
|
2698
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2642
2699
|
case "copy":
|
|
2643
|
-
return
|
|
2700
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2644
2701
|
case "contract":
|
|
2645
|
-
return
|
|
2702
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2646
2703
|
case "resourceManager":
|
|
2647
|
-
return
|
|
2704
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2648
2705
|
case "image":
|
|
2649
|
-
return
|
|
2706
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2650
2707
|
case "edit":
|
|
2651
|
-
return
|
|
2708
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2652
2709
|
case "filledArrowRight":
|
|
2653
|
-
return
|
|
2710
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2654
2711
|
case "burgerMenu":
|
|
2655
|
-
return
|
|
2712
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2656
2713
|
case "refresh":
|
|
2657
|
-
return
|
|
2714
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2658
2715
|
case "projects":
|
|
2659
|
-
return
|
|
2716
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2660
2717
|
case "user":
|
|
2661
|
-
return
|
|
2718
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2662
2719
|
case "exit":
|
|
2663
|
-
return
|
|
2720
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2664
2721
|
case "openPointCircle":
|
|
2665
|
-
return
|
|
2722
|
+
return te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2666
2723
|
case "community":
|
|
2667
|
-
return
|
|
2724
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2668
2725
|
case "docs":
|
|
2669
|
-
return
|
|
2726
|
+
return se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2670
2727
|
default:
|
|
2671
|
-
return /* @__PURE__ */ r(
|
|
2728
|
+
return /* @__PURE__ */ r(U, { children: "No Icon provided" });
|
|
2672
2729
|
}
|
|
2673
2730
|
})() });
|
|
2674
|
-
}, { Title:
|
|
2731
|
+
}, { Title: ne, Text: re } = y1, oe = {
|
|
2675
2732
|
h1: 1,
|
|
2676
2733
|
h2: 2,
|
|
2677
2734
|
h3: 3,
|
|
2678
2735
|
h4: 4
|
|
2679
|
-
},
|
|
2736
|
+
}, ae = h1(
|
|
2680
2737
|
({
|
|
2681
2738
|
align: i = "inherit",
|
|
2682
2739
|
variant: e = "body1",
|
|
@@ -2688,18 +2745,18 @@ const j2 = ({
|
|
|
2688
2745
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2689
2746
|
trim: a = !1
|
|
2690
2747
|
}, C) => {
|
|
2691
|
-
const d =
|
|
2692
|
-
|
|
2748
|
+
const d = W(null);
|
|
2749
|
+
H1(C, () => d.current);
|
|
2693
2750
|
const [l, h] = I(!1);
|
|
2694
2751
|
A(() => {
|
|
2695
|
-
var
|
|
2752
|
+
var v;
|
|
2696
2753
|
if (!a) return;
|
|
2697
|
-
const
|
|
2754
|
+
const f = () => {
|
|
2698
2755
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2699
2756
|
};
|
|
2700
|
-
|
|
2701
|
-
const y = new ResizeObserver(
|
|
2702
|
-
return d.current && y.observe(d.current), (
|
|
2757
|
+
f();
|
|
2758
|
+
const y = new ResizeObserver(f);
|
|
2759
|
+
return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
|
|
2703
2760
|
y.disconnect();
|
|
2704
2761
|
};
|
|
2705
2762
|
}, [a]);
|
|
@@ -2718,16 +2775,16 @@ const j2 = ({
|
|
|
2718
2775
|
}
|
|
2719
2776
|
} : void 0
|
|
2720
2777
|
};
|
|
2721
|
-
return g ? /* @__PURE__ */ r(
|
|
2778
|
+
return g ? /* @__PURE__ */ r(ne, { level: oe[e], ...k, children: s }) : /* @__PURE__ */ r(re, { ...k, children: s });
|
|
2722
2779
|
}
|
|
2723
2780
|
);
|
|
2724
|
-
var
|
|
2781
|
+
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
2782
|
const t2 = t1({
|
|
2726
2783
|
locale: "en",
|
|
2727
2784
|
theme: "light"
|
|
2728
2785
|
});
|
|
2729
2786
|
t2.Provider;
|
|
2730
|
-
const
|
|
2787
|
+
const le = ({
|
|
2731
2788
|
width: i = 20,
|
|
2732
2789
|
height: e = 20,
|
|
2733
2790
|
color: t = "#001E52",
|
|
@@ -2754,10 +2811,10 @@ const ne = ({
|
|
|
2754
2811
|
}
|
|
2755
2812
|
)
|
|
2756
2813
|
}
|
|
2757
|
-
),
|
|
2814
|
+
), he = ({
|
|
2758
2815
|
width: i = 20,
|
|
2759
2816
|
height: e = 20,
|
|
2760
|
-
color: t =
|
|
2817
|
+
color: t = L.GREY_DARK_5,
|
|
2761
2818
|
className: s,
|
|
2762
2819
|
onClick: n
|
|
2763
2820
|
}) => /* @__PURE__ */ u(
|
|
@@ -2794,7 +2851,7 @@ const ne = ({
|
|
|
2794
2851
|
)
|
|
2795
2852
|
]
|
|
2796
2853
|
}
|
|
2797
|
-
),
|
|
2854
|
+
), ce = ({
|
|
2798
2855
|
width: i = 20,
|
|
2799
2856
|
height: e = 20,
|
|
2800
2857
|
color: t = "#001E52",
|
|
@@ -2829,10 +2886,10 @@ const ne = ({
|
|
|
2829
2886
|
)
|
|
2830
2887
|
]
|
|
2831
2888
|
}
|
|
2832
|
-
),
|
|
2889
|
+
), de = ({
|
|
2833
2890
|
width: i = 20,
|
|
2834
2891
|
height: e = 20,
|
|
2835
|
-
color: t =
|
|
2892
|
+
color: t = L.GREY_DARK_5,
|
|
2836
2893
|
className: s,
|
|
2837
2894
|
onClick: n
|
|
2838
2895
|
}) => /* @__PURE__ */ u(
|
|
@@ -2856,10 +2913,10 @@ const ne = ({
|
|
|
2856
2913
|
/* @__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
2914
|
]
|
|
2858
2915
|
}
|
|
2859
|
-
),
|
|
2916
|
+
), Ce = ({
|
|
2860
2917
|
width: i = 20,
|
|
2861
2918
|
height: e = 20,
|
|
2862
|
-
color: t =
|
|
2919
|
+
color: t = L.GREY_DARK_5,
|
|
2863
2920
|
className: s,
|
|
2864
2921
|
onClick: n
|
|
2865
2922
|
}) => /* @__PURE__ */ r(
|
|
@@ -2880,10 +2937,10 @@ const ne = ({
|
|
|
2880
2937
|
}
|
|
2881
2938
|
)
|
|
2882
2939
|
}
|
|
2883
|
-
),
|
|
2940
|
+
), ge = ({
|
|
2884
2941
|
width: i = 20,
|
|
2885
2942
|
height: e = 20,
|
|
2886
|
-
color: t =
|
|
2943
|
+
color: t = L.GREY_DARK_5,
|
|
2887
2944
|
className: s,
|
|
2888
2945
|
onClick: n
|
|
2889
2946
|
}) => /* @__PURE__ */ u(
|
|
@@ -2907,10 +2964,10 @@ const ne = ({
|
|
|
2907
2964
|
/* @__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
2965
|
]
|
|
2909
2966
|
}
|
|
2910
|
-
),
|
|
2967
|
+
), ue = ({
|
|
2911
2968
|
width: i = 20,
|
|
2912
2969
|
height: e = 20,
|
|
2913
|
-
color: t =
|
|
2970
|
+
color: t = L.GREY_DARK_5,
|
|
2914
2971
|
className: s,
|
|
2915
2972
|
onClick: n
|
|
2916
2973
|
}) => /* @__PURE__ */ r(
|
|
@@ -2931,10 +2988,10 @@ const ne = ({
|
|
|
2931
2988
|
}
|
|
2932
2989
|
)
|
|
2933
2990
|
}
|
|
2934
|
-
),
|
|
2991
|
+
), pe = ({
|
|
2935
2992
|
width: i = 20,
|
|
2936
2993
|
height: e = 20,
|
|
2937
|
-
color: t =
|
|
2994
|
+
color: t = L.GREY_DARK_5,
|
|
2938
2995
|
className: s,
|
|
2939
2996
|
onClick: n
|
|
2940
2997
|
}) => /* @__PURE__ */ u(
|
|
@@ -2978,10 +3035,10 @@ const ne = ({
|
|
|
2978
3035
|
)
|
|
2979
3036
|
]
|
|
2980
3037
|
}
|
|
2981
|
-
),
|
|
3038
|
+
), fe = ({
|
|
2982
3039
|
width: i = 20,
|
|
2983
3040
|
height: e = 20,
|
|
2984
|
-
color: t =
|
|
3041
|
+
color: t = L.GREY_DARK_5,
|
|
2985
3042
|
className: s,
|
|
2986
3043
|
onClick: n
|
|
2987
3044
|
}) => /* @__PURE__ */ r(
|
|
@@ -3002,10 +3059,10 @@ const ne = ({
|
|
|
3002
3059
|
}
|
|
3003
3060
|
)
|
|
3004
3061
|
}
|
|
3005
|
-
),
|
|
3062
|
+
), me = ({
|
|
3006
3063
|
width: i = 20,
|
|
3007
3064
|
height: e = 20,
|
|
3008
|
-
color: t =
|
|
3065
|
+
color: t = L.GREY_DARK_5,
|
|
3009
3066
|
className: s,
|
|
3010
3067
|
onClick: n
|
|
3011
3068
|
}) => /* @__PURE__ */ r(
|
|
@@ -3026,10 +3083,10 @@ const ne = ({
|
|
|
3026
3083
|
}
|
|
3027
3084
|
)
|
|
3028
3085
|
}
|
|
3029
|
-
),
|
|
3086
|
+
), we = ({
|
|
3030
3087
|
width: i = 20,
|
|
3031
3088
|
height: e = 20,
|
|
3032
|
-
color: t =
|
|
3089
|
+
color: t = L.GREY_DARK_5,
|
|
3033
3090
|
className: s,
|
|
3034
3091
|
onClick: n
|
|
3035
3092
|
}) => /* @__PURE__ */ r(
|
|
@@ -3050,10 +3107,10 @@ const ne = ({
|
|
|
3050
3107
|
}
|
|
3051
3108
|
)
|
|
3052
3109
|
}
|
|
3053
|
-
),
|
|
3110
|
+
), Le = ({
|
|
3054
3111
|
width: i = 20,
|
|
3055
3112
|
height: e = 20,
|
|
3056
|
-
color: t =
|
|
3113
|
+
color: t = L.GREY_DARK_5,
|
|
3057
3114
|
className: s,
|
|
3058
3115
|
onClick: n
|
|
3059
3116
|
}) => /* @__PURE__ */ u(
|
|
@@ -3111,10 +3168,10 @@ const ne = ({
|
|
|
3111
3168
|
)
|
|
3112
3169
|
]
|
|
3113
3170
|
}
|
|
3114
|
-
),
|
|
3171
|
+
), ke = ({
|
|
3115
3172
|
width: i = 20,
|
|
3116
3173
|
height: e = 20,
|
|
3117
|
-
color: t =
|
|
3174
|
+
color: t = L.GREY_DARK_5,
|
|
3118
3175
|
className: s,
|
|
3119
3176
|
onClick: n
|
|
3120
3177
|
}) => /* @__PURE__ */ u(
|
|
@@ -3158,10 +3215,10 @@ const ne = ({
|
|
|
3158
3215
|
)
|
|
3159
3216
|
]
|
|
3160
3217
|
}
|
|
3161
|
-
),
|
|
3218
|
+
), ve = ({
|
|
3162
3219
|
width: i = 20,
|
|
3163
3220
|
height: e = 20,
|
|
3164
|
-
color: t =
|
|
3221
|
+
color: t = L.GREY_DARK_5,
|
|
3165
3222
|
className: s,
|
|
3166
3223
|
onClick: n
|
|
3167
3224
|
}) => /* @__PURE__ */ u(
|
|
@@ -3198,10 +3255,10 @@ const ne = ({
|
|
|
3198
3255
|
)
|
|
3199
3256
|
]
|
|
3200
3257
|
}
|
|
3201
|
-
),
|
|
3258
|
+
), Ne = ({
|
|
3202
3259
|
width: i = 20,
|
|
3203
3260
|
height: e = 20,
|
|
3204
|
-
color: t =
|
|
3261
|
+
color: t = L.GREY_DARK_5,
|
|
3205
3262
|
className: s,
|
|
3206
3263
|
onClick: n
|
|
3207
3264
|
}) => /* @__PURE__ */ u(
|
|
@@ -3238,10 +3295,10 @@ const ne = ({
|
|
|
3238
3295
|
)
|
|
3239
3296
|
]
|
|
3240
3297
|
}
|
|
3241
|
-
),
|
|
3298
|
+
), Re = ({
|
|
3242
3299
|
width: i = 20,
|
|
3243
3300
|
height: e = 20,
|
|
3244
|
-
color: t =
|
|
3301
|
+
color: t = L.GREY_DARK_5,
|
|
3245
3302
|
className: s,
|
|
3246
3303
|
onClick: n
|
|
3247
3304
|
}) => /* @__PURE__ */ u(
|
|
@@ -3285,10 +3342,10 @@ const ne = ({
|
|
|
3285
3342
|
)
|
|
3286
3343
|
]
|
|
3287
3344
|
}
|
|
3288
|
-
),
|
|
3345
|
+
), xe = ({
|
|
3289
3346
|
width: i = 20,
|
|
3290
3347
|
height: e = 20,
|
|
3291
|
-
color: t =
|
|
3348
|
+
color: t = L.GREY_DARK_5,
|
|
3292
3349
|
className: s,
|
|
3293
3350
|
onClick: n
|
|
3294
3351
|
}) => /* @__PURE__ */ u(
|
|
@@ -3332,10 +3389,10 @@ const ne = ({
|
|
|
3332
3389
|
)
|
|
3333
3390
|
]
|
|
3334
3391
|
}
|
|
3335
|
-
),
|
|
3392
|
+
), _e = ({
|
|
3336
3393
|
width: i = 20,
|
|
3337
3394
|
height: e = 20,
|
|
3338
|
-
color: t =
|
|
3395
|
+
color: t = L.GREY_DARK_5,
|
|
3339
3396
|
className: s,
|
|
3340
3397
|
onClick: n
|
|
3341
3398
|
}) => /* @__PURE__ */ u(
|
|
@@ -3379,10 +3436,10 @@ const ne = ({
|
|
|
3379
3436
|
)
|
|
3380
3437
|
]
|
|
3381
3438
|
}
|
|
3382
|
-
),
|
|
3439
|
+
), Me = ({
|
|
3383
3440
|
width: i = 20,
|
|
3384
3441
|
height: e = 20,
|
|
3385
|
-
color: t =
|
|
3442
|
+
color: t = L.GREY_DARK_5,
|
|
3386
3443
|
className: s,
|
|
3387
3444
|
onClick: n
|
|
3388
3445
|
}) => /* @__PURE__ */ u(
|
|
@@ -3419,10 +3476,10 @@ const ne = ({
|
|
|
3419
3476
|
)
|
|
3420
3477
|
]
|
|
3421
3478
|
}
|
|
3422
|
-
),
|
|
3479
|
+
), be = ({
|
|
3423
3480
|
width: i = 20,
|
|
3424
3481
|
height: e = 20,
|
|
3425
|
-
color: t =
|
|
3482
|
+
color: t = L.GREY_DARK_5,
|
|
3426
3483
|
className: s,
|
|
3427
3484
|
onClick: n
|
|
3428
3485
|
}) => /* @__PURE__ */ u(
|
|
@@ -3452,10 +3509,10 @@ const ne = ({
|
|
|
3452
3509
|
)
|
|
3453
3510
|
]
|
|
3454
3511
|
}
|
|
3455
|
-
),
|
|
3512
|
+
), ye = ({
|
|
3456
3513
|
width: i = 20,
|
|
3457
3514
|
height: e = 20,
|
|
3458
|
-
color: t =
|
|
3515
|
+
color: t = L.GREY_DARK_5,
|
|
3459
3516
|
className: s,
|
|
3460
3517
|
onClick: n
|
|
3461
3518
|
}) => /* @__PURE__ */ u(
|
|
@@ -3485,10 +3542,10 @@ const ne = ({
|
|
|
3485
3542
|
)
|
|
3486
3543
|
]
|
|
3487
3544
|
}
|
|
3488
|
-
),
|
|
3545
|
+
), He = ({
|
|
3489
3546
|
width: i = 20,
|
|
3490
3547
|
height: e = 20,
|
|
3491
|
-
color: t =
|
|
3548
|
+
color: t = L.GREY_DARK_5,
|
|
3492
3549
|
className: s,
|
|
3493
3550
|
onClick: n
|
|
3494
3551
|
}) => /* @__PURE__ */ u(
|
|
@@ -3518,10 +3575,10 @@ const ne = ({
|
|
|
3518
3575
|
)
|
|
3519
3576
|
]
|
|
3520
3577
|
}
|
|
3521
|
-
),
|
|
3578
|
+
), Ee = ({
|
|
3522
3579
|
width: i = 20,
|
|
3523
3580
|
height: e = 20,
|
|
3524
|
-
color: t =
|
|
3581
|
+
color: t = L.GREY_DARK_5,
|
|
3525
3582
|
className: s,
|
|
3526
3583
|
onClick: n
|
|
3527
3584
|
}) => /* @__PURE__ */ u(
|
|
@@ -3551,10 +3608,10 @@ const ne = ({
|
|
|
3551
3608
|
)
|
|
3552
3609
|
]
|
|
3553
3610
|
}
|
|
3554
|
-
),
|
|
3611
|
+
), Ve = ({
|
|
3555
3612
|
width: i = 20,
|
|
3556
3613
|
height: e = 20,
|
|
3557
|
-
color: t =
|
|
3614
|
+
color: t = L.GREY_DARK_5,
|
|
3558
3615
|
className: s,
|
|
3559
3616
|
onClick: n
|
|
3560
3617
|
}) => /* @__PURE__ */ u(
|
|
@@ -3591,10 +3648,10 @@ const ne = ({
|
|
|
3591
3648
|
)
|
|
3592
3649
|
]
|
|
3593
3650
|
}
|
|
3594
|
-
),
|
|
3651
|
+
), Ie = ({
|
|
3595
3652
|
width: i = 20,
|
|
3596
3653
|
height: e = 20,
|
|
3597
|
-
color: t =
|
|
3654
|
+
color: t = L.GREY_DARK_5,
|
|
3598
3655
|
className: s,
|
|
3599
3656
|
onClick: n
|
|
3600
3657
|
}) => /* @__PURE__ */ u(
|
|
@@ -3624,10 +3681,10 @@ const ne = ({
|
|
|
3624
3681
|
)
|
|
3625
3682
|
]
|
|
3626
3683
|
}
|
|
3627
|
-
),
|
|
3684
|
+
), Ae = ({
|
|
3628
3685
|
width: i = 20,
|
|
3629
3686
|
height: e = 20,
|
|
3630
|
-
color: t =
|
|
3687
|
+
color: t = L.GREY_DARK_5,
|
|
3631
3688
|
className: s,
|
|
3632
3689
|
onClick: n
|
|
3633
3690
|
}) => /* @__PURE__ */ u(
|
|
@@ -3657,7 +3714,7 @@ const ne = ({
|
|
|
3657
3714
|
)
|
|
3658
3715
|
]
|
|
3659
3716
|
}
|
|
3660
|
-
),
|
|
3717
|
+
), Ze = ({
|
|
3661
3718
|
width: i = 20,
|
|
3662
3719
|
height: e = 20,
|
|
3663
3720
|
color: t = "#070739",
|
|
@@ -3687,7 +3744,7 @@ const ne = ({
|
|
|
3687
3744
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3688
3745
|
]
|
|
3689
3746
|
}
|
|
3690
|
-
),
|
|
3747
|
+
), Oe = ({
|
|
3691
3748
|
width: i = 20,
|
|
3692
3749
|
height: e = 20,
|
|
3693
3750
|
color: t = "#070739",
|
|
@@ -3725,7 +3782,7 @@ const ne = ({
|
|
|
3725
3782
|
)
|
|
3726
3783
|
]
|
|
3727
3784
|
}
|
|
3728
|
-
),
|
|
3785
|
+
), Se = ({
|
|
3729
3786
|
width: i = 9,
|
|
3730
3787
|
height: e = 5,
|
|
3731
3788
|
color: t = "#001E52",
|
|
@@ -3751,7 +3808,7 @@ const ne = ({
|
|
|
3751
3808
|
}
|
|
3752
3809
|
)
|
|
3753
3810
|
}
|
|
3754
|
-
),
|
|
3811
|
+
), De = ({
|
|
3755
3812
|
width: i = 20,
|
|
3756
3813
|
height: e = 20,
|
|
3757
3814
|
color: t = "#F2F2F7",
|
|
@@ -3780,7 +3837,7 @@ const ne = ({
|
|
|
3780
3837
|
)
|
|
3781
3838
|
]
|
|
3782
3839
|
}
|
|
3783
|
-
),
|
|
3840
|
+
), Ge = ({
|
|
3784
3841
|
width: i = 20,
|
|
3785
3842
|
height: e = 20,
|
|
3786
3843
|
color: t = "#004ED7",
|
|
@@ -3809,7 +3866,7 @@ const ne = ({
|
|
|
3809
3866
|
)
|
|
3810
3867
|
]
|
|
3811
3868
|
}
|
|
3812
|
-
),
|
|
3869
|
+
), Te = ({
|
|
3813
3870
|
width: i = 10,
|
|
3814
3871
|
height: e = 10,
|
|
3815
3872
|
color: t = "#001E52",
|
|
@@ -3838,7 +3895,7 @@ const ne = ({
|
|
|
3838
3895
|
)
|
|
3839
3896
|
]
|
|
3840
3897
|
}
|
|
3841
|
-
),
|
|
3898
|
+
), Ke = ({
|
|
3842
3899
|
width: i = 10,
|
|
3843
3900
|
height: e = 10,
|
|
3844
3901
|
color: t = "#001E52",
|
|
@@ -3875,9 +3932,9 @@ const ne = ({
|
|
|
3875
3932
|
)
|
|
3876
3933
|
]
|
|
3877
3934
|
}
|
|
3878
|
-
),
|
|
3935
|
+
), Be = ({
|
|
3879
3936
|
className: i,
|
|
3880
|
-
color: e =
|
|
3937
|
+
color: e = L.GREY_DARK_5,
|
|
3881
3938
|
height: t = 20,
|
|
3882
3939
|
width: s = 20,
|
|
3883
3940
|
onClick: n
|
|
@@ -3908,9 +3965,9 @@ const ne = ({
|
|
|
3908
3965
|
)
|
|
3909
3966
|
]
|
|
3910
3967
|
}
|
|
3911
|
-
),
|
|
3968
|
+
), Ye = ({
|
|
3912
3969
|
className: i,
|
|
3913
|
-
color: e =
|
|
3970
|
+
color: e = L.GREY_DARK_5,
|
|
3914
3971
|
height: t = 20,
|
|
3915
3972
|
width: s = 20,
|
|
3916
3973
|
onClick: n
|
|
@@ -3935,9 +3992,9 @@ const ne = ({
|
|
|
3935
3992
|
}
|
|
3936
3993
|
)
|
|
3937
3994
|
}
|
|
3938
|
-
),
|
|
3995
|
+
), Pe = ({
|
|
3939
3996
|
className: i,
|
|
3940
|
-
color: e =
|
|
3997
|
+
color: e = L.GREY_DARK_5,
|
|
3941
3998
|
height: t = 20,
|
|
3942
3999
|
width: s = 20,
|
|
3943
4000
|
onClick: n
|
|
@@ -3962,9 +4019,9 @@ const ne = ({
|
|
|
3962
4019
|
}
|
|
3963
4020
|
)
|
|
3964
4021
|
}
|
|
3965
|
-
),
|
|
4022
|
+
), je = ({
|
|
3966
4023
|
className: i,
|
|
3967
|
-
color: e =
|
|
4024
|
+
color: e = L.GREY_DARK_5,
|
|
3968
4025
|
height: t = 5,
|
|
3969
4026
|
width: s = 10,
|
|
3970
4027
|
onClick: n
|
|
@@ -3986,9 +4043,9 @@ const ne = ({
|
|
|
3986
4043
|
}
|
|
3987
4044
|
)
|
|
3988
4045
|
}
|
|
3989
|
-
),
|
|
4046
|
+
), $e = ({
|
|
3990
4047
|
className: i,
|
|
3991
|
-
color: e =
|
|
4048
|
+
color: e = L.GREY_DARK_5,
|
|
3992
4049
|
height: t = 5,
|
|
3993
4050
|
width: s = 10,
|
|
3994
4051
|
onClick: n
|
|
@@ -4011,9 +4068,9 @@ const ne = ({
|
|
|
4011
4068
|
}
|
|
4012
4069
|
)
|
|
4013
4070
|
}
|
|
4014
|
-
),
|
|
4071
|
+
), Fe = ({
|
|
4015
4072
|
className: i,
|
|
4016
|
-
color: e =
|
|
4073
|
+
color: e = L.GREY_DARK_5,
|
|
4017
4074
|
height: t = 20,
|
|
4018
4075
|
width: s = 20,
|
|
4019
4076
|
onClick: n
|
|
@@ -4044,9 +4101,9 @@ const ne = ({
|
|
|
4044
4101
|
)
|
|
4045
4102
|
]
|
|
4046
4103
|
}
|
|
4047
|
-
),
|
|
4104
|
+
), We = ({
|
|
4048
4105
|
className: i,
|
|
4049
|
-
color: e =
|
|
4106
|
+
color: e = L.GREY_DARK_5,
|
|
4050
4107
|
height: t = 24,
|
|
4051
4108
|
width: s = 24,
|
|
4052
4109
|
onClick: n
|
|
@@ -4083,9 +4140,9 @@ const ne = ({
|
|
|
4083
4140
|
)
|
|
4084
4141
|
]
|
|
4085
4142
|
}
|
|
4086
|
-
),
|
|
4143
|
+
), Ue = ({
|
|
4087
4144
|
className: i,
|
|
4088
|
-
color: e =
|
|
4145
|
+
color: e = L.GREY_DARK_5,
|
|
4089
4146
|
height: t = 24,
|
|
4090
4147
|
width: s = 24,
|
|
4091
4148
|
onClick: n
|
|
@@ -4110,9 +4167,9 @@ const ne = ({
|
|
|
4110
4167
|
}
|
|
4111
4168
|
)
|
|
4112
4169
|
}
|
|
4113
|
-
),
|
|
4170
|
+
), ze = ({
|
|
4114
4171
|
className: i,
|
|
4115
|
-
color: e =
|
|
4172
|
+
color: e = L.GREY_DARK_5,
|
|
4116
4173
|
height: t = 24,
|
|
4117
4174
|
width: s = 24,
|
|
4118
4175
|
onClick: n
|
|
@@ -4169,9 +4226,9 @@ const ne = ({
|
|
|
4169
4226
|
)
|
|
4170
4227
|
]
|
|
4171
4228
|
}
|
|
4172
|
-
),
|
|
4229
|
+
), Je = ({
|
|
4173
4230
|
className: i,
|
|
4174
|
-
color: e =
|
|
4231
|
+
color: e = L.GREY_DARK_5,
|
|
4175
4232
|
height: t = 24,
|
|
4176
4233
|
width: s = 24,
|
|
4177
4234
|
onClick: n
|
|
@@ -4206,9 +4263,9 @@ const ne = ({
|
|
|
4206
4263
|
)
|
|
4207
4264
|
]
|
|
4208
4265
|
}
|
|
4209
|
-
),
|
|
4266
|
+
), Qe = ({
|
|
4210
4267
|
className: i,
|
|
4211
|
-
color: e =
|
|
4268
|
+
color: e = L.GREY_DARK_3,
|
|
4212
4269
|
height: t = 14,
|
|
4213
4270
|
width: s = 14,
|
|
4214
4271
|
onClick: n
|
|
@@ -4243,9 +4300,9 @@ const ne = ({
|
|
|
4243
4300
|
)
|
|
4244
4301
|
]
|
|
4245
4302
|
}
|
|
4246
|
-
),
|
|
4303
|
+
), qe = ({
|
|
4247
4304
|
className: i,
|
|
4248
|
-
color: e =
|
|
4305
|
+
color: e = L.GREY_DARK_5,
|
|
4249
4306
|
height: t = 18,
|
|
4250
4307
|
onClick: s,
|
|
4251
4308
|
width: n = 18
|
|
@@ -4270,9 +4327,9 @@ const ne = ({
|
|
|
4270
4327
|
}
|
|
4271
4328
|
)
|
|
4272
4329
|
}
|
|
4273
|
-
),
|
|
4330
|
+
), Xe = ({
|
|
4274
4331
|
className: i,
|
|
4275
|
-
color: e =
|
|
4332
|
+
color: e = L.GREY_DARK_5,
|
|
4276
4333
|
height: t = 24,
|
|
4277
4334
|
width: s = 24,
|
|
4278
4335
|
onClick: n
|
|
@@ -4322,9 +4379,9 @@ const ne = ({
|
|
|
4322
4379
|
)
|
|
4323
4380
|
]
|
|
4324
4381
|
}
|
|
4325
|
-
),
|
|
4382
|
+
), e7 = ({
|
|
4326
4383
|
className: i,
|
|
4327
|
-
color: e =
|
|
4384
|
+
color: e = L.GREY_DARK_5,
|
|
4328
4385
|
height: t = 24,
|
|
4329
4386
|
width: s = 24,
|
|
4330
4387
|
onClick: n
|
|
@@ -4359,9 +4416,9 @@ const ne = ({
|
|
|
4359
4416
|
)
|
|
4360
4417
|
]
|
|
4361
4418
|
}
|
|
4362
|
-
),
|
|
4419
|
+
), t7 = ({
|
|
4363
4420
|
className: i,
|
|
4364
|
-
color: e =
|
|
4421
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
4365
4422
|
height: t = 37,
|
|
4366
4423
|
width: s = 36,
|
|
4367
4424
|
onClick: n
|
|
@@ -4398,9 +4455,9 @@ const ne = ({
|
|
|
4398
4455
|
)
|
|
4399
4456
|
]
|
|
4400
4457
|
}
|
|
4401
|
-
),
|
|
4458
|
+
), i7 = ({
|
|
4402
4459
|
className: i,
|
|
4403
|
-
color: e =
|
|
4460
|
+
color: e = L.GREY_DARK_5,
|
|
4404
4461
|
height: t = 24,
|
|
4405
4462
|
width: s = 24,
|
|
4406
4463
|
onClick: n
|
|
@@ -4424,9 +4481,9 @@ const ne = ({
|
|
|
4424
4481
|
}
|
|
4425
4482
|
)
|
|
4426
4483
|
}
|
|
4427
|
-
),
|
|
4484
|
+
), s7 = ({
|
|
4428
4485
|
className: i,
|
|
4429
|
-
color: e =
|
|
4486
|
+
color: e = L.GREY_DARK_5,
|
|
4430
4487
|
height: t = 24,
|
|
4431
4488
|
width: s = 24,
|
|
4432
4489
|
onClick: n
|
|
@@ -4463,9 +4520,9 @@ const ne = ({
|
|
|
4463
4520
|
)
|
|
4464
4521
|
]
|
|
4465
4522
|
}
|
|
4466
|
-
),
|
|
4523
|
+
), n7 = ({
|
|
4467
4524
|
className: i,
|
|
4468
|
-
color: e =
|
|
4525
|
+
color: e = L.GREY_DARK_5,
|
|
4469
4526
|
height: t = 20,
|
|
4470
4527
|
width: s = 20,
|
|
4471
4528
|
onClick: n
|
|
@@ -4496,9 +4553,9 @@ const ne = ({
|
|
|
4496
4553
|
)
|
|
4497
4554
|
]
|
|
4498
4555
|
}
|
|
4499
|
-
),
|
|
4556
|
+
), r7 = ({
|
|
4500
4557
|
className: i,
|
|
4501
|
-
color: e =
|
|
4558
|
+
color: e = L.GREY_DARK_5,
|
|
4502
4559
|
height: t = 24,
|
|
4503
4560
|
width: s = 24,
|
|
4504
4561
|
onClick: n
|
|
@@ -4565,9 +4622,9 @@ const ne = ({
|
|
|
4565
4622
|
)
|
|
4566
4623
|
]
|
|
4567
4624
|
}
|
|
4568
|
-
),
|
|
4625
|
+
), o7 = ({
|
|
4569
4626
|
className: i,
|
|
4570
|
-
color: e =
|
|
4627
|
+
color: e = L.GREY_DARK_5,
|
|
4571
4628
|
height: t = 24,
|
|
4572
4629
|
width: s = 24,
|
|
4573
4630
|
onClick: n
|
|
@@ -4622,9 +4679,9 @@ const ne = ({
|
|
|
4622
4679
|
)
|
|
4623
4680
|
]
|
|
4624
4681
|
}
|
|
4625
|
-
),
|
|
4682
|
+
), a7 = ({
|
|
4626
4683
|
className: i,
|
|
4627
|
-
color: e =
|
|
4684
|
+
color: e = L.GREY_DARK_5,
|
|
4628
4685
|
height: t = 24,
|
|
4629
4686
|
width: s = 24,
|
|
4630
4687
|
onClick: n
|
|
@@ -4671,9 +4728,9 @@ const ne = ({
|
|
|
4671
4728
|
)
|
|
4672
4729
|
]
|
|
4673
4730
|
}
|
|
4674
|
-
),
|
|
4731
|
+
), l7 = ({
|
|
4675
4732
|
className: i,
|
|
4676
|
-
color: e =
|
|
4733
|
+
color: e = L.GREY_DARK_5,
|
|
4677
4734
|
height: t = 24,
|
|
4678
4735
|
width: s = 24,
|
|
4679
4736
|
onClick: n
|
|
@@ -4698,9 +4755,9 @@ const ne = ({
|
|
|
4698
4755
|
}
|
|
4699
4756
|
)
|
|
4700
4757
|
}
|
|
4701
|
-
),
|
|
4758
|
+
), h7 = ({
|
|
4702
4759
|
className: i,
|
|
4703
|
-
color: e =
|
|
4760
|
+
color: e = L.GREY_DARK_5,
|
|
4704
4761
|
height: t = 20,
|
|
4705
4762
|
width: s = 20,
|
|
4706
4763
|
onClick: n
|
|
@@ -4715,7 +4772,7 @@ const ne = ({
|
|
|
4715
4772
|
fill: "none",
|
|
4716
4773
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4717
4774
|
children: [
|
|
4718
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4775
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
4719
4776
|
/* @__PURE__ */ r(
|
|
4720
4777
|
"path",
|
|
4721
4778
|
{
|
|
@@ -4727,7 +4784,7 @@ const ne = ({
|
|
|
4727
4784
|
)
|
|
4728
4785
|
]
|
|
4729
4786
|
}
|
|
4730
|
-
),
|
|
4787
|
+
), c7 = ({
|
|
4731
4788
|
className: i,
|
|
4732
4789
|
color: e = "#001E52",
|
|
4733
4790
|
height: t = 24,
|
|
@@ -4753,7 +4810,7 @@ const ne = ({
|
|
|
4753
4810
|
}
|
|
4754
4811
|
)
|
|
4755
4812
|
}
|
|
4756
|
-
),
|
|
4813
|
+
), d7 = ({
|
|
4757
4814
|
className: i,
|
|
4758
4815
|
color: e = "#001E52",
|
|
4759
4816
|
height: t = 24,
|
|
@@ -4791,10 +4848,10 @@ const ne = ({
|
|
|
4791
4848
|
)
|
|
4792
4849
|
] }) })
|
|
4793
4850
|
}
|
|
4794
|
-
),
|
|
4851
|
+
), C7 = ({
|
|
4795
4852
|
width: i = 20,
|
|
4796
4853
|
height: e = 20,
|
|
4797
|
-
color: t =
|
|
4854
|
+
color: t = L.GREY_DARK_5,
|
|
4798
4855
|
className: s,
|
|
4799
4856
|
onClick: n
|
|
4800
4857
|
}) => /* @__PURE__ */ r(
|
|
@@ -4815,7 +4872,7 @@ const ne = ({
|
|
|
4815
4872
|
}
|
|
4816
4873
|
)
|
|
4817
4874
|
}
|
|
4818
|
-
),
|
|
4875
|
+
), g7 = ({
|
|
4819
4876
|
width: i = 24,
|
|
4820
4877
|
height: e = 24,
|
|
4821
4878
|
color: t = "#131314",
|
|
@@ -4848,10 +4905,10 @@ const ne = ({
|
|
|
4848
4905
|
)
|
|
4849
4906
|
]
|
|
4850
4907
|
}
|
|
4851
|
-
),
|
|
4908
|
+
), u7 = ({
|
|
4852
4909
|
width: i = 20,
|
|
4853
4910
|
height: e = 20,
|
|
4854
|
-
color: t =
|
|
4911
|
+
color: t = L.GREY_DARK_5,
|
|
4855
4912
|
className: s,
|
|
4856
4913
|
onClick: n
|
|
4857
4914
|
}) => /* @__PURE__ */ u(
|
|
@@ -4881,10 +4938,10 @@ const ne = ({
|
|
|
4881
4938
|
)
|
|
4882
4939
|
]
|
|
4883
4940
|
}
|
|
4884
|
-
),
|
|
4941
|
+
), p7 = ({
|
|
4885
4942
|
width: i = 24,
|
|
4886
4943
|
height: e = 24,
|
|
4887
|
-
color: t =
|
|
4944
|
+
color: t = L.GREY_DARK_2,
|
|
4888
4945
|
className: s,
|
|
4889
4946
|
onClick: n
|
|
4890
4947
|
}) => /* @__PURE__ */ u(
|
|
@@ -4921,10 +4978,10 @@ const ne = ({
|
|
|
4921
4978
|
)
|
|
4922
4979
|
]
|
|
4923
4980
|
}
|
|
4924
|
-
),
|
|
4981
|
+
), f7 = ({
|
|
4925
4982
|
width: i = 24,
|
|
4926
4983
|
height: e = 24,
|
|
4927
|
-
color: t =
|
|
4984
|
+
color: t = L.GREY_DARK_2,
|
|
4928
4985
|
className: s,
|
|
4929
4986
|
onClick: n
|
|
4930
4987
|
}) => /* @__PURE__ */ r(
|
|
@@ -4948,10 +5005,10 @@ const ne = ({
|
|
|
4948
5005
|
}
|
|
4949
5006
|
)
|
|
4950
5007
|
}
|
|
4951
|
-
),
|
|
5008
|
+
), m7 = ({
|
|
4952
5009
|
width: i = 24,
|
|
4953
5010
|
height: e = 24,
|
|
4954
|
-
color: t =
|
|
5011
|
+
color: t = L.GREY_DARK_2,
|
|
4955
5012
|
className: s,
|
|
4956
5013
|
onClick: n
|
|
4957
5014
|
}) => /* @__PURE__ */ r(
|
|
@@ -4975,7 +5032,7 @@ const ne = ({
|
|
|
4975
5032
|
}
|
|
4976
5033
|
)
|
|
4977
5034
|
}
|
|
4978
|
-
),
|
|
5035
|
+
), w7 = ({
|
|
4979
5036
|
name: i,
|
|
4980
5037
|
width: e,
|
|
4981
5038
|
height: t,
|
|
@@ -4984,45 +5041,45 @@ const ne = ({
|
|
|
4984
5041
|
disabled: o = !1,
|
|
4985
5042
|
onClick: c
|
|
4986
5043
|
}) => {
|
|
4987
|
-
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ?
|
|
5044
|
+
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
4988
5045
|
return A(() => {
|
|
4989
5046
|
if (n) {
|
|
4990
5047
|
h && !o && C(`${n} clickable`);
|
|
4991
5048
|
return;
|
|
4992
5049
|
}
|
|
4993
5050
|
h && !o && C("clickable");
|
|
4994
|
-
}, [h, n, o]), /* @__PURE__ */ r(
|
|
5051
|
+
}, [h, n, o]), /* @__PURE__ */ r(U, { children: (() => {
|
|
4995
5052
|
switch (i) {
|
|
4996
5053
|
case "nextIcon":
|
|
4997
|
-
return
|
|
5054
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4998
5055
|
case "prevIcon":
|
|
4999
|
-
return
|
|
5056
|
+
return Pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5000
5057
|
case "arrowDown":
|
|
5001
|
-
return
|
|
5058
|
+
return le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5002
5059
|
case "info":
|
|
5003
|
-
return
|
|
5060
|
+
return he({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5004
5061
|
case "arrowRight":
|
|
5005
|
-
return
|
|
5062
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5006
5063
|
case "calendar":
|
|
5007
|
-
return
|
|
5064
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5008
5065
|
case "check":
|
|
5009
|
-
return
|
|
5066
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5010
5067
|
case "cancel":
|
|
5011
|
-
return
|
|
5068
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5012
5069
|
case "add":
|
|
5013
|
-
return
|
|
5070
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5014
5071
|
case "list":
|
|
5015
|
-
return
|
|
5072
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5016
5073
|
case "dragAndDrop":
|
|
5017
|
-
return
|
|
5074
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5018
5075
|
case "filter":
|
|
5019
|
-
return
|
|
5076
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5020
5077
|
case "attention":
|
|
5021
|
-
return
|
|
5078
|
+
return Ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5022
5079
|
case "users":
|
|
5023
|
-
return
|
|
5080
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5024
5081
|
case "mySkillsMatrix":
|
|
5025
|
-
return
|
|
5082
|
+
return xe({
|
|
5026
5083
|
width: e,
|
|
5027
5084
|
height: t,
|
|
5028
5085
|
color: l,
|
|
@@ -5030,9 +5087,9 @@ const ne = ({
|
|
|
5030
5087
|
onClick: h
|
|
5031
5088
|
});
|
|
5032
5089
|
case "skills":
|
|
5033
|
-
return
|
|
5090
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5034
5091
|
case "skillsMatrices":
|
|
5035
|
-
return
|
|
5092
|
+
return Me({
|
|
5036
5093
|
width: e,
|
|
5037
5094
|
height: t,
|
|
5038
5095
|
color: l,
|
|
@@ -5040,21 +5097,21 @@ const ne = ({
|
|
|
5040
5097
|
onClick: h
|
|
5041
5098
|
});
|
|
5042
5099
|
case "history":
|
|
5043
|
-
return
|
|
5100
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5044
5101
|
case "logOut":
|
|
5045
|
-
return
|
|
5102
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5046
5103
|
case "settings":
|
|
5047
|
-
return
|
|
5104
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5048
5105
|
case "trash":
|
|
5049
|
-
return
|
|
5106
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5050
5107
|
case "settings2":
|
|
5051
|
-
return
|
|
5108
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5052
5109
|
case "checkCircle":
|
|
5053
|
-
return
|
|
5110
|
+
return Ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5054
5111
|
case "cancelCircle":
|
|
5055
|
-
return
|
|
5112
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5056
5113
|
case "visibilityIcon":
|
|
5057
|
-
return
|
|
5114
|
+
return Ze({
|
|
5058
5115
|
width: e,
|
|
5059
5116
|
height: t,
|
|
5060
5117
|
color: l,
|
|
@@ -5062,7 +5119,7 @@ const ne = ({
|
|
|
5062
5119
|
onClick: h
|
|
5063
5120
|
});
|
|
5064
5121
|
case "visibilityOffIcon":
|
|
5065
|
-
return
|
|
5122
|
+
return Oe({
|
|
5066
5123
|
width: e,
|
|
5067
5124
|
height: t,
|
|
5068
5125
|
color: l,
|
|
@@ -5070,7 +5127,7 @@ const ne = ({
|
|
|
5070
5127
|
onClick: h
|
|
5071
5128
|
});
|
|
5072
5129
|
case "selectArrowIcon":
|
|
5073
|
-
return
|
|
5130
|
+
return Se({
|
|
5074
5131
|
width: e,
|
|
5075
5132
|
height: t,
|
|
5076
5133
|
color: l,
|
|
@@ -5078,7 +5135,7 @@ const ne = ({
|
|
|
5078
5135
|
onClick: h
|
|
5079
5136
|
});
|
|
5080
5137
|
case "expandArrowIcon":
|
|
5081
|
-
return
|
|
5138
|
+
return De({
|
|
5082
5139
|
width: e,
|
|
5083
5140
|
height: t,
|
|
5084
5141
|
color: l,
|
|
@@ -5086,7 +5143,7 @@ const ne = ({
|
|
|
5086
5143
|
onClick: h
|
|
5087
5144
|
});
|
|
5088
5145
|
case "expandActiveArrowIcon":
|
|
5089
|
-
return
|
|
5146
|
+
return Ge({
|
|
5090
5147
|
width: e,
|
|
5091
5148
|
height: t,
|
|
5092
5149
|
color: l,
|
|
@@ -5094,86 +5151,86 @@ const ne = ({
|
|
|
5094
5151
|
onClick: h
|
|
5095
5152
|
});
|
|
5096
5153
|
case "sortUp":
|
|
5097
|
-
return
|
|
5154
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5098
5155
|
case "sortDown":
|
|
5099
|
-
return
|
|
5156
|
+
return Ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5100
5157
|
case "search":
|
|
5101
|
-
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5102
|
-
case "arrowUpFilled":
|
|
5103
5158
|
return Be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5159
|
+
case "arrowUpFilled":
|
|
5160
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5104
5161
|
case "arrowDownFilled":
|
|
5105
|
-
return
|
|
5162
|
+
return je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
5163
|
case "arrow2Up":
|
|
5107
|
-
return
|
|
5164
|
+
return de({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
5165
|
case "arrow2Right":
|
|
5109
|
-
return
|
|
5166
|
+
return Ce({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
5167
|
case "arrow2Down":
|
|
5111
|
-
return
|
|
5168
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
5169
|
case "arrow2Left":
|
|
5113
|
-
return
|
|
5170
|
+
return ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5114
5171
|
case "link":
|
|
5115
|
-
return
|
|
5172
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5116
5173
|
case "telegram":
|
|
5117
|
-
return
|
|
5174
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5118
5175
|
case "mail":
|
|
5119
|
-
return
|
|
5176
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5120
5177
|
case "github":
|
|
5121
|
-
return
|
|
5178
|
+
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5122
5179
|
case "linkedIn":
|
|
5123
|
-
return
|
|
5180
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5124
5181
|
case "emptyStateIcon":
|
|
5125
|
-
return
|
|
5182
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5126
5183
|
case "filtersIcon":
|
|
5127
|
-
return
|
|
5184
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5128
5185
|
case "dotMenuIcon":
|
|
5129
|
-
return
|
|
5186
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5130
5187
|
case "plusCircle":
|
|
5131
|
-
return
|
|
5188
|
+
return e7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5132
5189
|
case "warning":
|
|
5133
|
-
return
|
|
5190
|
+
return t7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5134
5191
|
case "back":
|
|
5135
|
-
return
|
|
5192
|
+
return i7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5136
5193
|
case "bell":
|
|
5137
|
-
return
|
|
5194
|
+
return s7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5138
5195
|
case "copy":
|
|
5139
|
-
return
|
|
5196
|
+
return n7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5140
5197
|
case "contract":
|
|
5141
|
-
return
|
|
5198
|
+
return r7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5142
5199
|
case "resourceManager":
|
|
5143
|
-
return
|
|
5200
|
+
return o7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5144
5201
|
case "image":
|
|
5145
|
-
return
|
|
5202
|
+
return a7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5146
5203
|
case "edit":
|
|
5147
|
-
return
|
|
5204
|
+
return l7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5148
5205
|
case "filledArrowRight":
|
|
5149
|
-
return
|
|
5206
|
+
return h7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5150
5207
|
case "burgerMenu":
|
|
5151
|
-
return
|
|
5208
|
+
return c7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5152
5209
|
case "refresh":
|
|
5153
|
-
return
|
|
5210
|
+
return d7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5154
5211
|
case "projects":
|
|
5155
|
-
return
|
|
5212
|
+
return C7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5156
5213
|
case "user":
|
|
5157
|
-
return
|
|
5214
|
+
return u7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5158
5215
|
case "exit":
|
|
5159
|
-
return
|
|
5216
|
+
return g7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5160
5217
|
case "openPointCircle":
|
|
5161
|
-
return
|
|
5218
|
+
return p7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5162
5219
|
case "community":
|
|
5163
|
-
return
|
|
5220
|
+
return f7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5164
5221
|
case "docs":
|
|
5165
|
-
return
|
|
5222
|
+
return m7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5166
5223
|
default:
|
|
5167
|
-
return /* @__PURE__ */ r(
|
|
5224
|
+
return /* @__PURE__ */ r(U, { children: "No Icon provided" });
|
|
5168
5225
|
}
|
|
5169
5226
|
})() });
|
|
5170
5227
|
};
|
|
5171
5228
|
var o1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(o1 || {});
|
|
5172
|
-
const
|
|
5229
|
+
const L7 = t1({
|
|
5173
5230
|
locale: "en",
|
|
5174
5231
|
theme: "light"
|
|
5175
5232
|
});
|
|
5176
|
-
|
|
5233
|
+
L7.Provider;
|
|
5177
5234
|
const i2 = ({
|
|
5178
5235
|
children: i,
|
|
5179
5236
|
width: e,
|
|
@@ -5190,7 +5247,7 @@ const i2 = ({
|
|
|
5190
5247
|
{
|
|
5191
5248
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5192
5249
|
closeIcon: /* @__PURE__ */ r(
|
|
5193
|
-
|
|
5250
|
+
w7,
|
|
5194
5251
|
{
|
|
5195
5252
|
name: "cancelCircle",
|
|
5196
5253
|
color: o ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
|
|
@@ -5203,7 +5260,7 @@ const i2 = ({
|
|
|
5203
5260
|
style: { width: e ?? "fit-content" },
|
|
5204
5261
|
closable: n,
|
|
5205
5262
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5206
|
-
|
|
5263
|
+
ae,
|
|
5207
5264
|
{
|
|
5208
5265
|
variant: t === "small" ? "body4" : "body2",
|
|
5209
5266
|
color: o ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
|
|
@@ -5212,12 +5269,12 @@ const i2 = ({
|
|
|
5212
5269
|
) : i
|
|
5213
5270
|
}
|
|
5214
5271
|
);
|
|
5215
|
-
}, { Title:
|
|
5272
|
+
}, { Title: k7, Text: v7 } = y1, N7 = {
|
|
5216
5273
|
h1: 1,
|
|
5217
5274
|
h2: 2,
|
|
5218
5275
|
h3: 3,
|
|
5219
5276
|
h4: 4
|
|
5220
|
-
},
|
|
5277
|
+
}, R7 = h1(
|
|
5221
5278
|
({
|
|
5222
5279
|
align: i = "inherit",
|
|
5223
5280
|
variant: e = "body1",
|
|
@@ -5229,18 +5286,18 @@ const i2 = ({
|
|
|
5229
5286
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5230
5287
|
trim: a = !1
|
|
5231
5288
|
}, C) => {
|
|
5232
|
-
const d =
|
|
5233
|
-
|
|
5289
|
+
const d = W(null);
|
|
5290
|
+
H1(C, () => d.current);
|
|
5234
5291
|
const [l, h] = I(!1);
|
|
5235
5292
|
A(() => {
|
|
5236
|
-
var
|
|
5293
|
+
var v;
|
|
5237
5294
|
if (!a) return;
|
|
5238
|
-
const
|
|
5295
|
+
const f = () => {
|
|
5239
5296
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5240
5297
|
};
|
|
5241
|
-
|
|
5242
|
-
const y = new ResizeObserver(
|
|
5243
|
-
return d.current && y.observe(d.current), (
|
|
5298
|
+
f();
|
|
5299
|
+
const y = new ResizeObserver(f);
|
|
5300
|
+
return d.current && y.observe(d.current), (v = d.current) != null && v.parentElement && y.observe(d.current.parentElement), () => {
|
|
5244
5301
|
y.disconnect();
|
|
5245
5302
|
};
|
|
5246
5303
|
}, [a]);
|
|
@@ -5259,9 +5316,9 @@ const i2 = ({
|
|
|
5259
5316
|
}
|
|
5260
5317
|
} : void 0
|
|
5261
5318
|
};
|
|
5262
|
-
return g ? /* @__PURE__ */ r(
|
|
5319
|
+
return g ? /* @__PURE__ */ r(k7, { level: N7[e], ...k, children: s }) : /* @__PURE__ */ r(v7, { ...k, children: s });
|
|
5263
5320
|
}
|
|
5264
|
-
),
|
|
5321
|
+
), x7 = ({
|
|
5265
5322
|
children: i,
|
|
5266
5323
|
content: e,
|
|
5267
5324
|
isOpen: t,
|
|
@@ -5287,7 +5344,7 @@ const i2 = ({
|
|
|
5287
5344
|
}
|
|
5288
5345
|
);
|
|
5289
5346
|
};
|
|
5290
|
-
var
|
|
5347
|
+
var _7 = { exports: {} };
|
|
5291
5348
|
(function(i, e) {
|
|
5292
5349
|
(function(t, s) {
|
|
5293
5350
|
i.exports = s();
|
|
@@ -5297,8 +5354,8 @@ var v7 = { exports: {} };
|
|
|
5297
5354
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5298
5355
|
} };
|
|
5299
5356
|
});
|
|
5300
|
-
})(
|
|
5301
|
-
const
|
|
5357
|
+
})(_7);
|
|
5358
|
+
const M7 = ({
|
|
5302
5359
|
values: i,
|
|
5303
5360
|
onTagClose: e,
|
|
5304
5361
|
maxWidth: t,
|
|
@@ -5307,17 +5364,17 @@ const N7 = ({
|
|
|
5307
5364
|
options: o,
|
|
5308
5365
|
extraOptions: c
|
|
5309
5366
|
}) => {
|
|
5310
|
-
const { locale: a } = Q(
|
|
5367
|
+
const { locale: a } = Q(E1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
|
|
5311
5368
|
if (A(() => {
|
|
5312
5369
|
i.length || l(!1);
|
|
5313
5370
|
}, [i]), !i.length)
|
|
5314
5371
|
return null;
|
|
5315
5372
|
const h = (g) => {
|
|
5316
5373
|
var p, k;
|
|
5317
|
-
return ((p = o == null ? void 0 : o.find((
|
|
5374
|
+
return ((p = o == null ? void 0 : o.find((f) => f.value === g)) == null ? void 0 : p.label) || ((k = c == null ? void 0 : c.find((f) => f.value === g)) == null ? void 0 : k.label) || g;
|
|
5318
5375
|
};
|
|
5319
5376
|
return /* @__PURE__ */ u(
|
|
5320
|
-
|
|
5377
|
+
x7,
|
|
5321
5378
|
{
|
|
5322
5379
|
content: (
|
|
5323
5380
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5342,19 +5399,19 @@ const N7 = ({
|
|
|
5342
5399
|
]
|
|
5343
5400
|
}
|
|
5344
5401
|
);
|
|
5345
|
-
},
|
|
5402
|
+
}, b7 = {
|
|
5346
5403
|
small: 20,
|
|
5347
5404
|
medium: 28,
|
|
5348
5405
|
large: 48
|
|
5349
|
-
},
|
|
5350
|
-
const t =
|
|
5406
|
+
}, D1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5407
|
+
const t = b7[i], s = `no-repeat linear-gradient(${e}
|
|
5351
5408
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5352
5409
|
width: t,
|
|
5353
5410
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5354
5411
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5355
5412
|
};
|
|
5356
5413
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5357
|
-
},
|
|
5414
|
+
}, y7 = h1(
|
|
5358
5415
|
({
|
|
5359
5416
|
value: i,
|
|
5360
5417
|
onChange: e,
|
|
@@ -5371,58 +5428,58 @@ const N7 = ({
|
|
|
5371
5428
|
onDropdownVisibleChange: g,
|
|
5372
5429
|
onScrollToEnd: p,
|
|
5373
5430
|
onPopupScroll: k,
|
|
5374
|
-
id:
|
|
5375
|
-
extraOptions:
|
|
5431
|
+
id: v,
|
|
5432
|
+
extraOptions: f,
|
|
5376
5433
|
dropdownRender: y,
|
|
5377
5434
|
optionRender: b,
|
|
5378
5435
|
isLoading: E,
|
|
5379
|
-
readOnly:
|
|
5436
|
+
readOnly: m,
|
|
5380
5437
|
error: M
|
|
5381
5438
|
}, R) => {
|
|
5382
|
-
const [x,
|
|
5439
|
+
const [x, G] = I(!1), [Y, i1] = I(!1), [$, c1] = I(!0), [V, P] = I(i), F = W(null);
|
|
5383
5440
|
A(() => {
|
|
5384
|
-
|
|
5441
|
+
P(i);
|
|
5385
5442
|
}, [i]);
|
|
5386
5443
|
const q = (_) => {
|
|
5387
|
-
|
|
5388
|
-
},
|
|
5389
|
-
var
|
|
5390
|
-
return !!((
|
|
5444
|
+
G(_), g && g(_);
|
|
5445
|
+
}, d1 = (_, H) => {
|
|
5446
|
+
var T;
|
|
5447
|
+
return !!((T = H == null ? void 0 : H.label) != null && T.toString().toLowerCase().includes(_.toLowerCase()));
|
|
5391
5448
|
}, O = () => {
|
|
5392
5449
|
i1(!0);
|
|
5393
5450
|
}, j = () => {
|
|
5394
5451
|
i1(!1);
|
|
5395
5452
|
}, S = K(
|
|
5396
5453
|
(_) => {
|
|
5397
|
-
if (
|
|
5398
|
-
const
|
|
5399
|
-
e == null || e(
|
|
5454
|
+
if (P(_), s) {
|
|
5455
|
+
const T = _;
|
|
5456
|
+
e == null || e(T);
|
|
5400
5457
|
return;
|
|
5401
5458
|
}
|
|
5402
5459
|
const H = _;
|
|
5403
5460
|
e == null || e(H);
|
|
5404
5461
|
},
|
|
5405
5462
|
[s, e]
|
|
5406
|
-
),
|
|
5407
|
-
if (!(
|
|
5463
|
+
), C1 = K(() => {
|
|
5464
|
+
if (!(m || a)) {
|
|
5408
5465
|
if (s) {
|
|
5409
5466
|
S([]);
|
|
5410
5467
|
return;
|
|
5411
5468
|
}
|
|
5412
5469
|
S("");
|
|
5413
5470
|
}
|
|
5414
|
-
}, [a, S, s,
|
|
5471
|
+
}, [a, S, s, m]), g1 = K(
|
|
5415
5472
|
(_) => {
|
|
5416
|
-
const H = V.filter((
|
|
5417
|
-
S(H),
|
|
5473
|
+
const H = V.filter((T) => T !== _);
|
|
5474
|
+
S(H), P(H);
|
|
5418
5475
|
},
|
|
5419
5476
|
[S, V]
|
|
5420
|
-
),
|
|
5477
|
+
), V1 = K(
|
|
5421
5478
|
(_) => (V == null ? void 0 : V.indexOf(_)) === 0 ? (
|
|
5422
5479
|
// if the search input is empty
|
|
5423
5480
|
// then display the placeholder, else do not display it
|
|
5424
5481
|
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: $ ? t : "" })
|
|
5425
|
-
) : /* @__PURE__ */ r(
|
|
5482
|
+
) : /* @__PURE__ */ r(U, {}),
|
|
5426
5483
|
[$, V, t]
|
|
5427
5484
|
), l2 = (_) => {
|
|
5428
5485
|
_.preventDefault(), _.stopPropagation();
|
|
@@ -5431,39 +5488,39 @@ const N7 = ({
|
|
|
5431
5488
|
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (p == null || p(!0)), k && await k(_);
|
|
5432
5489
|
}, k1 = K(
|
|
5433
5490
|
(_) => {
|
|
5434
|
-
var H,
|
|
5435
|
-
return ((H = o.find((v1) => v1.value === _)) == null ? void 0 : H.label) || ((
|
|
5491
|
+
var H, T;
|
|
5492
|
+
return ((H = o.find((v1) => v1.value === _)) == null ? void 0 : H.label) || ((T = f == null ? void 0 : f.find(
|
|
5436
5493
|
(v1) => v1.value === _
|
|
5437
|
-
)) == null ? void 0 :
|
|
5494
|
+
)) == null ? void 0 : T.label) || _;
|
|
5438
5495
|
},
|
|
5439
|
-
[
|
|
5496
|
+
[f, o]
|
|
5440
5497
|
), c2 = K(
|
|
5441
5498
|
(_) => {
|
|
5442
5499
|
var H;
|
|
5443
5500
|
return /* @__PURE__ */ r(
|
|
5444
|
-
|
|
5501
|
+
M7,
|
|
5445
5502
|
{
|
|
5446
5503
|
values: _,
|
|
5447
|
-
onTagClose:
|
|
5504
|
+
onTagClose: g1,
|
|
5448
5505
|
maxWidth: ((H = F.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5449
5506
|
disabled: a,
|
|
5450
|
-
closable: !
|
|
5507
|
+
closable: !m,
|
|
5451
5508
|
options: o,
|
|
5452
|
-
extraOptions:
|
|
5509
|
+
extraOptions: f
|
|
5453
5510
|
}
|
|
5454
5511
|
);
|
|
5455
5512
|
},
|
|
5456
|
-
[a,
|
|
5513
|
+
[a, f, g1, o, m]
|
|
5457
5514
|
), d2 = K(
|
|
5458
|
-
({ label: _, value: H, mode:
|
|
5459
|
-
[a, k1,
|
|
5460
|
-
),
|
|
5515
|
+
({ label: _, value: H, mode: T }) => T === "filter" ? V1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => g1(H), disabled: a, children: typeof _ == "object" ? _ : k1(H) }) }),
|
|
5516
|
+
[a, k1, g1, V1]
|
|
5517
|
+
), I1 = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
|
|
5461
5518
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
5462
5519
|
/* @__PURE__ */ u(
|
|
5463
5520
|
"div",
|
|
5464
5521
|
{
|
|
5465
|
-
className: `snmt-select-1-15-6 ${
|
|
5466
|
-
${s ? "" : "snmt-select-single"} ${
|
|
5522
|
+
className: `snmt-select-1-15-6 ${Y ? "snmt-select-focused" : ""}
|
|
5523
|
+
${s ? "" : "snmt-select-single"} ${m ? "snmt-select-read-only" : ""}`,
|
|
5467
5524
|
ref: F,
|
|
5468
5525
|
style: { width: c },
|
|
5469
5526
|
children: [
|
|
@@ -5471,37 +5528,37 @@ const N7 = ({
|
|
|
5471
5528
|
p2,
|
|
5472
5529
|
{
|
|
5473
5530
|
className: "snmt-select-blank",
|
|
5474
|
-
popupClassName:
|
|
5475
|
-
id:
|
|
5531
|
+
popupClassName: m ? "dropdown-read-only" : "",
|
|
5532
|
+
id: v,
|
|
5476
5533
|
ref: R,
|
|
5477
5534
|
showSearch: !!n,
|
|
5478
|
-
filterOption: n &&
|
|
5535
|
+
filterOption: n && d1,
|
|
5479
5536
|
onDropdownVisibleChange: q,
|
|
5480
5537
|
disabled: a,
|
|
5481
5538
|
value: V || void 0,
|
|
5482
5539
|
labelRender: (_) => {
|
|
5483
5540
|
const H = k1(_.value);
|
|
5484
|
-
return a ? /* @__PURE__ */ r("span", { style: { color:
|
|
5541
|
+
return a ? /* @__PURE__ */ r("span", { style: { color: D.GREY_DARK_1 }, children: H }) : H;
|
|
5485
5542
|
},
|
|
5486
5543
|
mode: s === "filter" ? "multiple" : s,
|
|
5487
5544
|
onChange: S,
|
|
5488
5545
|
onFocus: O,
|
|
5489
5546
|
onBlur: j,
|
|
5490
5547
|
onSearch: (_) => {
|
|
5491
|
-
|
|
5548
|
+
c1(!_), h && h(_);
|
|
5492
5549
|
},
|
|
5493
|
-
onSelect: () =>
|
|
5494
|
-
onDeselect: () =>
|
|
5550
|
+
onSelect: () => c1(!0),
|
|
5551
|
+
onDeselect: () => c1(!0),
|
|
5495
5552
|
tagRender: (_) => d2({ ..._, mode: s }),
|
|
5496
5553
|
maxTagCount: "responsive",
|
|
5497
5554
|
maxTagPlaceholder: c2,
|
|
5498
5555
|
onPopupScroll: h2,
|
|
5499
|
-
prefix: E && /* @__PURE__ */ r(
|
|
5500
|
-
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(
|
|
5556
|
+
prefix: E && /* @__PURE__ */ r(D1, { size: "small" }),
|
|
5557
|
+
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(U, { children: [
|
|
5501
5558
|
V && !!V.length && (s || d) && /* @__PURE__ */ r(
|
|
5502
5559
|
"div",
|
|
5503
5560
|
{
|
|
5504
|
-
onClick:
|
|
5561
|
+
onClick: C1,
|
|
5505
5562
|
style: {
|
|
5506
5563
|
cursor: a ? "not-allowed" : "pointer"
|
|
5507
5564
|
},
|
|
@@ -5509,7 +5566,7 @@ const N7 = ({
|
|
|
5509
5566
|
s1,
|
|
5510
5567
|
{
|
|
5511
5568
|
name: "cancel",
|
|
5512
|
-
color: a ?
|
|
5569
|
+
color: a ? D.GREY_DARK_1 : D.GREY_DARK_2
|
|
5513
5570
|
}
|
|
5514
5571
|
)
|
|
5515
5572
|
}
|
|
@@ -5518,47 +5575,47 @@ const N7 = ({
|
|
|
5518
5575
|
s1,
|
|
5519
5576
|
{
|
|
5520
5577
|
name: "selectArrowIcon",
|
|
5521
|
-
color: a ?
|
|
5578
|
+
color: a ? D.GREY_DARK_1 : D.GREY_DARK_5,
|
|
5522
5579
|
className: x ? "select-arrow-rotated" : "select-arrow",
|
|
5523
|
-
onClick: () =>
|
|
5580
|
+
onClick: () => G(!x)
|
|
5524
5581
|
}
|
|
5525
5582
|
)
|
|
5526
5583
|
] }) }),
|
|
5527
|
-
removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color:
|
|
5584
|
+
removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color: D.GREY_DARK_1 }),
|
|
5528
5585
|
options: o,
|
|
5529
5586
|
optionRender: (_) => b ? b(_.data) : /* @__PURE__ */ u(r1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5530
5587
|
/* @__PURE__ */ u(r1, { alignItems: "center", gap: 12, children: [
|
|
5531
5588
|
s && /* @__PURE__ */ r(
|
|
5532
|
-
|
|
5589
|
+
W2,
|
|
5533
5590
|
{
|
|
5534
5591
|
checked: !!(V != null && V.includes(_.value))
|
|
5535
5592
|
}
|
|
5536
5593
|
),
|
|
5537
5594
|
/* @__PURE__ */ u(r1, { alignItems: "center", gap: 8, children: [
|
|
5538
|
-
_.data.image && /* @__PURE__ */ r(
|
|
5595
|
+
_.data.image && /* @__PURE__ */ r(Y2, { src: _.data.image, size: 20 }),
|
|
5539
5596
|
/* @__PURE__ */ r("span", { children: _.label })
|
|
5540
5597
|
] })
|
|
5541
5598
|
] }),
|
|
5542
|
-
!s && V === _.value && /* @__PURE__ */ r(s1, { name: "check", color:
|
|
5599
|
+
!s && V === _.value && /* @__PURE__ */ r(s1, { name: "check", color: D.BLUE_DARK_1 })
|
|
5543
5600
|
] }),
|
|
5544
5601
|
dropdownRender: (_) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5545
5602
|
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(_) : _ }),
|
|
5546
|
-
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(
|
|
5603
|
+
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(D1, {}) })
|
|
5547
5604
|
] })
|
|
5548
5605
|
}
|
|
5549
5606
|
),
|
|
5550
|
-
t && /* @__PURE__ */ u(
|
|
5607
|
+
t && /* @__PURE__ */ u(U, { children: [
|
|
5551
5608
|
/* @__PURE__ */ r(
|
|
5552
5609
|
"label",
|
|
5553
5610
|
{
|
|
5554
|
-
className: `${
|
|
5611
|
+
className: `${Y || I1 ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${Y ? "label-focused" : ""} ${E ? "label-loading" : ""} ${M ? "label-error" : ""}`,
|
|
5555
5612
|
children: C ? `${t}*` : t
|
|
5556
5613
|
}
|
|
5557
5614
|
),
|
|
5558
5615
|
/* @__PURE__ */ r(
|
|
5559
5616
|
"fieldset",
|
|
5560
5617
|
{
|
|
5561
|
-
className: `${
|
|
5618
|
+
className: `${Y ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${I1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}`,
|
|
5562
5619
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
|
|
5563
5620
|
}
|
|
5564
5621
|
)
|
|
@@ -5571,38 +5628,38 @@ const N7 = ({
|
|
|
5571
5628
|
s1,
|
|
5572
5629
|
{
|
|
5573
5630
|
name: "attention",
|
|
5574
|
-
color:
|
|
5631
|
+
color: D.NOTIFICATION_ERROR_DARK,
|
|
5575
5632
|
height: 16,
|
|
5576
5633
|
width: 16
|
|
5577
5634
|
}
|
|
5578
5635
|
),
|
|
5579
|
-
typeof M == "string" ? /* @__PURE__ */ r(
|
|
5636
|
+
typeof M == "string" ? /* @__PURE__ */ r(R7, { color: D.NOTIFICATION_ERROR_DARK, variant: "body4", children: M }) : M
|
|
5580
5637
|
] })
|
|
5581
5638
|
] });
|
|
5582
5639
|
}
|
|
5583
|
-
),
|
|
5640
|
+
), N = (i) => typeof i == "string", n1 = () => {
|
|
5584
5641
|
let i, e;
|
|
5585
5642
|
const t = new Promise((s, n) => {
|
|
5586
5643
|
i = s, e = n;
|
|
5587
5644
|
});
|
|
5588
5645
|
return t.resolve = i, t.reject = e, t;
|
|
5589
|
-
},
|
|
5646
|
+
}, G1 = (i) => i == null ? "" : "" + i, H7 = (i, e, t) => {
|
|
5590
5647
|
i.forEach((s) => {
|
|
5591
5648
|
e[s] && (t[s] = e[s]);
|
|
5592
5649
|
});
|
|
5593
|
-
},
|
|
5594
|
-
const s =
|
|
5650
|
+
}, E7 = /###/g, T1 = (i) => i && i.indexOf("###") > -1 ? i.replace(E7, ".") : i, K1 = (i) => !i || N(i), a1 = (i, e, t) => {
|
|
5651
|
+
const s = N(e) ? e.split(".") : e;
|
|
5595
5652
|
let n = 0;
|
|
5596
5653
|
for (; n < s.length - 1; ) {
|
|
5597
|
-
if (
|
|
5598
|
-
const o =
|
|
5654
|
+
if (K1(i)) return {};
|
|
5655
|
+
const o = T1(s[n]);
|
|
5599
5656
|
!i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++n;
|
|
5600
5657
|
}
|
|
5601
|
-
return
|
|
5658
|
+
return K1(i) ? {} : {
|
|
5602
5659
|
obj: i,
|
|
5603
|
-
k:
|
|
5660
|
+
k: T1(s[n])
|
|
5604
5661
|
};
|
|
5605
|
-
},
|
|
5662
|
+
}, B1 = (i, e, t) => {
|
|
5606
5663
|
const {
|
|
5607
5664
|
obj: s,
|
|
5608
5665
|
k: n
|
|
@@ -5615,28 +5672,28 @@ const N7 = ({
|
|
|
5615
5672
|
for (; a.obj === void 0 && c.length; )
|
|
5616
5673
|
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = a1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5617
5674
|
a.obj[`${a.k}.${o}`] = t;
|
|
5618
|
-
},
|
|
5675
|
+
}, V7 = (i, e, t, s) => {
|
|
5619
5676
|
const {
|
|
5620
5677
|
obj: n,
|
|
5621
5678
|
k: o
|
|
5622
5679
|
} = a1(i, e, Object);
|
|
5623
5680
|
n[o] = n[o] || [], n[o].push(t);
|
|
5624
|
-
},
|
|
5681
|
+
}, p1 = (i, e) => {
|
|
5625
5682
|
const {
|
|
5626
5683
|
obj: t,
|
|
5627
5684
|
k: s
|
|
5628
5685
|
} = a1(i, e);
|
|
5629
5686
|
if (t)
|
|
5630
5687
|
return t[s];
|
|
5631
|
-
},
|
|
5632
|
-
const s =
|
|
5633
|
-
return s !== void 0 ? s :
|
|
5688
|
+
}, I7 = (i, e, t) => {
|
|
5689
|
+
const s = p1(i, t);
|
|
5690
|
+
return s !== void 0 ? s : p1(e, t);
|
|
5634
5691
|
}, s2 = (i, e, t) => {
|
|
5635
5692
|
for (const s in e)
|
|
5636
|
-
s !== "__proto__" && s !== "constructor" && (s in i ?
|
|
5693
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? N(i[s]) || i[s] instanceof String || N(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
|
|
5637
5694
|
return i;
|
|
5638
5695
|
}, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5639
|
-
var
|
|
5696
|
+
var A7 = {
|
|
5640
5697
|
"&": "&",
|
|
5641
5698
|
"<": "<",
|
|
5642
5699
|
">": ">",
|
|
@@ -5644,8 +5701,8 @@ var H7 = {
|
|
|
5644
5701
|
"'": "'",
|
|
5645
5702
|
"/": "/"
|
|
5646
5703
|
};
|
|
5647
|
-
const
|
|
5648
|
-
class
|
|
5704
|
+
const Z7 = (i) => N(i) ? i.replace(/[&<>"'\/]/g, (e) => A7[e]) : i;
|
|
5705
|
+
class O7 {
|
|
5649
5706
|
constructor(e) {
|
|
5650
5707
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5651
5708
|
}
|
|
@@ -5657,11 +5714,11 @@ class V7 {
|
|
|
5657
5714
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5658
5715
|
}
|
|
5659
5716
|
}
|
|
5660
|
-
const
|
|
5717
|
+
const S7 = [" ", ",", "?", "!", ";"], D7 = new O7(20), G7 = (i, e, t) => {
|
|
5661
5718
|
e = e || "", t = t || "";
|
|
5662
|
-
const s =
|
|
5719
|
+
const s = S7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5663
5720
|
if (s.length === 0) return !0;
|
|
5664
|
-
const n =
|
|
5721
|
+
const n = D7.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5665
5722
|
let o = !n.test(i);
|
|
5666
5723
|
if (!o) {
|
|
5667
5724
|
const c = i.indexOf(t);
|
|
@@ -5688,7 +5745,7 @@ const I7 = [" ", ",", "?", "!", ";"], A7 = new V7(20), Z7 = (i, e, t) => {
|
|
|
5688
5745
|
n = c;
|
|
5689
5746
|
}
|
|
5690
5747
|
return n;
|
|
5691
|
-
},
|
|
5748
|
+
}, f1 = (i) => i && i.replace("_", "-"), T7 = {
|
|
5692
5749
|
type: "logger",
|
|
5693
5750
|
log(i) {
|
|
5694
5751
|
this.output("log", i);
|
|
@@ -5703,14 +5760,14 @@ const I7 = [" ", ",", "?", "!", ";"], A7 = new V7(20), Z7 = (i, e, t) => {
|
|
|
5703
5760
|
console && console[i] && console[i].apply(console, e);
|
|
5704
5761
|
}
|
|
5705
5762
|
};
|
|
5706
|
-
class
|
|
5763
|
+
class m1 {
|
|
5707
5764
|
constructor(e) {
|
|
5708
5765
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5709
5766
|
this.init(e, t);
|
|
5710
5767
|
}
|
|
5711
5768
|
init(e) {
|
|
5712
5769
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5713
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5770
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || T7, this.options = t, this.debug = t.debug;
|
|
5714
5771
|
}
|
|
5715
5772
|
log() {
|
|
5716
5773
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5733,19 +5790,19 @@ class f1 {
|
|
|
5733
5790
|
return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
|
|
5734
5791
|
}
|
|
5735
5792
|
forward(e, t, s, n) {
|
|
5736
|
-
return n && !this.debug ? null : (
|
|
5793
|
+
return n && !this.debug ? null : (N(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5737
5794
|
}
|
|
5738
5795
|
create(e) {
|
|
5739
|
-
return new
|
|
5796
|
+
return new m1(this.logger, {
|
|
5740
5797
|
prefix: `${this.prefix}:${e}:`,
|
|
5741
5798
|
...this.options
|
|
5742
5799
|
});
|
|
5743
5800
|
}
|
|
5744
5801
|
clone(e) {
|
|
5745
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5802
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new m1(this.logger, e);
|
|
5746
5803
|
}
|
|
5747
5804
|
}
|
|
5748
|
-
var B = new
|
|
5805
|
+
var B = new m1();
|
|
5749
5806
|
class L1 {
|
|
5750
5807
|
constructor() {
|
|
5751
5808
|
this.observers = {};
|
|
@@ -5780,7 +5837,7 @@ class L1 {
|
|
|
5780
5837
|
});
|
|
5781
5838
|
}
|
|
5782
5839
|
}
|
|
5783
|
-
class
|
|
5840
|
+
class Y1 extends L1 {
|
|
5784
5841
|
constructor(e) {
|
|
5785
5842
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
5786
5843
|
ns: ["translation"],
|
|
@@ -5799,9 +5856,9 @@ class K1 extends L1 {
|
|
|
5799
5856
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5800
5857
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5801
5858
|
let a;
|
|
5802
|
-
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) :
|
|
5803
|
-
const C =
|
|
5804
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !
|
|
5859
|
+
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : N(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5860
|
+
const C = p1(this.data, a);
|
|
5861
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !N(s) ? C : _1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5805
5862
|
}
|
|
5806
5863
|
addResource(e, t, s, n) {
|
|
5807
5864
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -5809,14 +5866,14 @@ class K1 extends L1 {
|
|
|
5809
5866
|
};
|
|
5810
5867
|
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5811
5868
|
let a = [e, t];
|
|
5812
|
-
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t),
|
|
5869
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), B1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5813
5870
|
}
|
|
5814
5871
|
addResources(e, t, s) {
|
|
5815
5872
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
5816
5873
|
silent: !1
|
|
5817
5874
|
};
|
|
5818
5875
|
for (const o in s)
|
|
5819
|
-
(
|
|
5876
|
+
(N(s[o]) || Array.isArray(s[o])) && this.addResource(e, t, o, s[o], {
|
|
5820
5877
|
silent: !0
|
|
5821
5878
|
});
|
|
5822
5879
|
n.silent || this.emit("added", e, t, s);
|
|
@@ -5827,11 +5884,11 @@ class K1 extends L1 {
|
|
|
5827
5884
|
skipCopy: !1
|
|
5828
5885
|
}, a = [e, t];
|
|
5829
5886
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5830
|
-
let C =
|
|
5887
|
+
let C = p1(this.data, a) || {};
|
|
5831
5888
|
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
|
|
5832
5889
|
...C,
|
|
5833
5890
|
...s
|
|
5834
|
-
},
|
|
5891
|
+
}, B1(this.data, a, C), c.silent || this.emit("added", e, t, s);
|
|
5835
5892
|
}
|
|
5836
5893
|
removeResourceBundle(e, t) {
|
|
5837
5894
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5866,11 +5923,11 @@ var n2 = {
|
|
|
5866
5923
|
}), e;
|
|
5867
5924
|
}
|
|
5868
5925
|
};
|
|
5869
|
-
const
|
|
5870
|
-
class
|
|
5926
|
+
const P1 = {};
|
|
5927
|
+
class w1 extends L1 {
|
|
5871
5928
|
constructor(e) {
|
|
5872
5929
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5873
|
-
super(),
|
|
5930
|
+
super(), H7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
|
|
5874
5931
|
}
|
|
5875
5932
|
changeLanguage(e) {
|
|
5876
5933
|
e && (this.language = e);
|
|
@@ -5889,20 +5946,20 @@ class m1 extends L1 {
|
|
|
5889
5946
|
s === void 0 && (s = ":");
|
|
5890
5947
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5891
5948
|
let o = t.ns || this.options.defaultNS || [];
|
|
5892
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
5949
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !G7(e, s, n);
|
|
5893
5950
|
if (c && !a) {
|
|
5894
5951
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
5895
5952
|
if (C && C.length > 0)
|
|
5896
5953
|
return {
|
|
5897
5954
|
key: e,
|
|
5898
|
-
namespaces:
|
|
5955
|
+
namespaces: N(o) ? [o] : o
|
|
5899
5956
|
};
|
|
5900
5957
|
const d = e.split(s);
|
|
5901
5958
|
(s !== n || s === n && this.options.ns.indexOf(d[0]) > -1) && (o = d.shift()), e = d.join(n);
|
|
5902
5959
|
}
|
|
5903
5960
|
return {
|
|
5904
5961
|
key: e,
|
|
5905
|
-
namespaces:
|
|
5962
|
+
namespaces: N(o) ? [o] : o
|
|
5906
5963
|
};
|
|
5907
5964
|
}
|
|
5908
5965
|
translate(e, t, s) {
|
|
@@ -5916,15 +5973,15 @@ class m1 extends L1 {
|
|
|
5916
5973
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
5917
5974
|
if (d && d.toLowerCase() === "cimode") {
|
|
5918
5975
|
if (l) {
|
|
5919
|
-
const
|
|
5976
|
+
const m = t.nsSeparator || this.options.nsSeparator;
|
|
5920
5977
|
return n ? {
|
|
5921
|
-
res: `${C}${
|
|
5978
|
+
res: `${C}${m}${c}`,
|
|
5922
5979
|
usedKey: c,
|
|
5923
5980
|
exactUsedKey: c,
|
|
5924
5981
|
usedLng: d,
|
|
5925
5982
|
usedNS: C,
|
|
5926
5983
|
usedParams: this.getUsedParamsDetails(t)
|
|
5927
|
-
} : `${C}${
|
|
5984
|
+
} : `${C}${m}${c}`;
|
|
5928
5985
|
}
|
|
5929
5986
|
return n ? {
|
|
5930
5987
|
res: c,
|
|
@@ -5937,40 +5994,40 @@ class m1 extends L1 {
|
|
|
5937
5994
|
}
|
|
5938
5995
|
const h = this.resolve(e, t);
|
|
5939
5996
|
let g = h && h.res;
|
|
5940
|
-
const p = h && h.usedKey || c, k = h && h.exactUsedKey || c,
|
|
5941
|
-
if (b && g && E &&
|
|
5997
|
+
const p = h && h.usedKey || c, k = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), f = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !N(g) && typeof g != "boolean" && typeof g != "number";
|
|
5998
|
+
if (b && g && E && f.indexOf(v) < 0 && !(N(y) && Array.isArray(g))) {
|
|
5942
5999
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
5943
6000
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5944
|
-
const
|
|
6001
|
+
const m = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
|
|
5945
6002
|
...t,
|
|
5946
6003
|
ns: a
|
|
5947
6004
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
5948
|
-
return n ? (h.res =
|
|
6005
|
+
return n ? (h.res = m, h.usedParams = this.getUsedParamsDetails(t), h) : m;
|
|
5949
6006
|
}
|
|
5950
6007
|
if (o) {
|
|
5951
|
-
const
|
|
6008
|
+
const m = Array.isArray(g), M = m ? [] : {}, R = m ? k : p;
|
|
5952
6009
|
for (const x in g)
|
|
5953
6010
|
if (Object.prototype.hasOwnProperty.call(g, x)) {
|
|
5954
|
-
const
|
|
5955
|
-
M[x] = this.translate(
|
|
6011
|
+
const G = `${R}${o}${x}`;
|
|
6012
|
+
M[x] = this.translate(G, {
|
|
5956
6013
|
...t,
|
|
5957
6014
|
joinArrays: !1,
|
|
5958
6015
|
ns: a
|
|
5959
|
-
}), M[x] ===
|
|
6016
|
+
}), M[x] === G && (M[x] = g[x]);
|
|
5960
6017
|
}
|
|
5961
6018
|
g = M;
|
|
5962
6019
|
}
|
|
5963
|
-
} else if (b &&
|
|
6020
|
+
} else if (b && N(y) && Array.isArray(g))
|
|
5964
6021
|
g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
|
|
5965
6022
|
else {
|
|
5966
|
-
let
|
|
5967
|
-
const R = t.count !== void 0 && !
|
|
6023
|
+
let m = !1, M = !1;
|
|
6024
|
+
const R = t.count !== void 0 && !N(t.count), x = w1.hasDefaultValue(t), G = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", Y = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
|
|
5968
6025
|
ordinal: !1
|
|
5969
|
-
}) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${
|
|
5970
|
-
!this.isValidLookup(g) && x && (
|
|
5971
|
-
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : g,
|
|
5972
|
-
if (M ||
|
|
5973
|
-
if (this.logger.log(
|
|
6026
|
+
}) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${G}`] || t[`defaultValue${Y}`] || t.defaultValue;
|
|
6027
|
+
!this.isValidLookup(g) && x && (m = !0, g = $), this.isValidLookup(g) || (M = !0, g = c);
|
|
6028
|
+
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : g, P = x && $ !== g && this.options.updateMissing;
|
|
6029
|
+
if (M || m || P) {
|
|
6030
|
+
if (this.logger.log(P ? "updateKey" : "missingKey", d, C, c, P ? $ : g), o) {
|
|
5974
6031
|
const O = this.resolve(c, {
|
|
5975
6032
|
...t,
|
|
5976
6033
|
keySeparator: !1
|
|
@@ -5983,18 +6040,18 @@ class m1 extends L1 {
|
|
|
5983
6040
|
for (let O = 0; O < q.length; O++)
|
|
5984
6041
|
F.push(q[O]);
|
|
5985
6042
|
else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
|
|
5986
|
-
const
|
|
5987
|
-
const
|
|
5988
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j,
|
|
6043
|
+
const d1 = (O, j, S) => {
|
|
6044
|
+
const C1 = x && S !== g ? S : V;
|
|
6045
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j, C1, P, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, C, j, C1, P, t), this.emit("missingKey", O, C, j, g);
|
|
5989
6046
|
};
|
|
5990
6047
|
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((O) => {
|
|
5991
6048
|
const j = this.pluralResolver.getSuffixes(O, t);
|
|
5992
6049
|
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((S) => {
|
|
5993
|
-
|
|
6050
|
+
d1([O], c + S, t[`defaultValue${S}`] || $);
|
|
5994
6051
|
});
|
|
5995
|
-
}) :
|
|
6052
|
+
}) : d1(F, c, $));
|
|
5996
6053
|
}
|
|
5997
|
-
g = this.extendTranslation(g, e, t, h, s), M && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (M ||
|
|
6054
|
+
g = this.extendTranslation(g, e, t, h, s), M && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (M || m) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, m ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
5998
6055
|
}
|
|
5999
6056
|
return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
|
|
6000
6057
|
}
|
|
@@ -6015,13 +6072,13 @@ class m1 extends L1 {
|
|
|
6015
6072
|
...s.interpolation
|
|
6016
6073
|
}
|
|
6017
6074
|
});
|
|
6018
|
-
const d =
|
|
6075
|
+
const d = N(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
6019
6076
|
let l;
|
|
6020
6077
|
if (d) {
|
|
6021
6078
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
6022
6079
|
l = g && g.length;
|
|
6023
6080
|
}
|
|
6024
|
-
let h = s.replace && !
|
|
6081
|
+
let h = s.replace && !N(s.replace) ? s.replace : s;
|
|
6025
6082
|
if (this.options.interpolation.defaultVariables && (h = {
|
|
6026
6083
|
...this.options.interpolation.defaultVariables,
|
|
6027
6084
|
...h
|
|
@@ -6035,7 +6092,7 @@ class m1 extends L1 {
|
|
|
6035
6092
|
return o && o[0] === p[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
|
|
6036
6093
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
6037
6094
|
}
|
|
6038
|
-
const a = s.postProcess || this.options.postProcess, C =
|
|
6095
|
+
const a = s.postProcess || this.options.postProcess, C = N(a) ? [a] : a;
|
|
6039
6096
|
return e != null && C && C.length && s.applyPostProcessor !== !1 && (e = n2.handle(C, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
6040
6097
|
i18nResolved: {
|
|
6041
6098
|
...n,
|
|
@@ -6046,32 +6103,32 @@ class m1 extends L1 {
|
|
|
6046
6103
|
}
|
|
6047
6104
|
resolve(e) {
|
|
6048
6105
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, c, a;
|
|
6049
|
-
return
|
|
6106
|
+
return N(e) && (e = [e]), e.forEach((C) => {
|
|
6050
6107
|
if (this.isValidLookup(s)) return;
|
|
6051
6108
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
6052
6109
|
n = l;
|
|
6053
6110
|
let h = d.namespaces;
|
|
6054
6111
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6055
|
-
const g = t.count !== void 0 && !
|
|
6056
|
-
h.forEach((
|
|
6057
|
-
this.isValidLookup(s) || (a =
|
|
6112
|
+
const g = t.count !== void 0 && !N(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (N(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6113
|
+
h.forEach((f) => {
|
|
6114
|
+
this.isValidLookup(s) || (a = f, !P1[`${v[0]}-${f}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (P1[`${v[0]}-${f}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((y) => {
|
|
6058
6115
|
if (this.isValidLookup(s)) return;
|
|
6059
6116
|
c = y;
|
|
6060
6117
|
const b = [l];
|
|
6061
6118
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6062
|
-
this.i18nFormat.addLookupKeys(b, l, y,
|
|
6119
|
+
this.i18nFormat.addLookupKeys(b, l, y, f, t);
|
|
6063
6120
|
else {
|
|
6064
|
-
let
|
|
6065
|
-
g && (
|
|
6121
|
+
let m;
|
|
6122
|
+
g && (m = this.pluralResolver.getSuffix(y, t.count, t));
|
|
6066
6123
|
const M = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6067
|
-
if (g && (b.push(l +
|
|
6124
|
+
if (g && (b.push(l + m), t.ordinal && m.indexOf(R) === 0 && b.push(l + m.replace(R, this.options.pluralSeparator)), p && b.push(l + M)), k) {
|
|
6068
6125
|
const x = `${l}${this.options.contextSeparator}${t.context}`;
|
|
6069
|
-
b.push(x), g && (b.push(x +
|
|
6126
|
+
b.push(x), g && (b.push(x + m), t.ordinal && m.indexOf(R) === 0 && b.push(x + m.replace(R, this.options.pluralSeparator)), p && b.push(x + M));
|
|
6070
6127
|
}
|
|
6071
6128
|
}
|
|
6072
6129
|
let E;
|
|
6073
6130
|
for (; E = b.pop(); )
|
|
6074
|
-
this.isValidLookup(s) || (o = E, s = this.getResource(y,
|
|
6131
|
+
this.isValidLookup(s) || (o = E, s = this.getResource(y, f, E, t));
|
|
6075
6132
|
}));
|
|
6076
6133
|
});
|
|
6077
6134
|
}), {
|
|
@@ -6091,7 +6148,7 @@ class m1 extends L1 {
|
|
|
6091
6148
|
}
|
|
6092
6149
|
getUsedParamsDetails() {
|
|
6093
6150
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6094
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !
|
|
6151
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !N(e.replace);
|
|
6095
6152
|
let n = s ? e.replace : e;
|
|
6096
6153
|
if (s && typeof e.count < "u" && (n.count = e.count), this.options.interpolation.defaultVariables && (n = {
|
|
6097
6154
|
...this.options.interpolation.defaultVariables,
|
|
@@ -6114,22 +6171,22 @@ class m1 extends L1 {
|
|
|
6114
6171
|
}
|
|
6115
6172
|
}
|
|
6116
6173
|
const N1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
6117
|
-
class
|
|
6174
|
+
class j1 {
|
|
6118
6175
|
constructor(e) {
|
|
6119
6176
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
|
|
6120
6177
|
}
|
|
6121
6178
|
getScriptPartFromCode(e) {
|
|
6122
|
-
if (e =
|
|
6179
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return null;
|
|
6123
6180
|
const t = e.split("-");
|
|
6124
6181
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6125
6182
|
}
|
|
6126
6183
|
getLanguagePartFromCode(e) {
|
|
6127
|
-
if (e =
|
|
6184
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return e;
|
|
6128
6185
|
const t = e.split("-");
|
|
6129
6186
|
return this.formatLanguageCode(t[0]);
|
|
6130
6187
|
}
|
|
6131
6188
|
formatLanguageCode(e) {
|
|
6132
|
-
if (
|
|
6189
|
+
if (N(e) && e.indexOf("-") > -1) {
|
|
6133
6190
|
if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
|
|
6134
6191
|
try {
|
|
6135
6192
|
let n = Intl.getCanonicalLocales(e)[0];
|
|
@@ -6165,7 +6222,7 @@ class P1 {
|
|
|
6165
6222
|
}
|
|
6166
6223
|
getFallbackCodes(e, t) {
|
|
6167
6224
|
if (!e) return [];
|
|
6168
|
-
if (typeof e == "function" && (e = e(t)),
|
|
6225
|
+
if (typeof e == "function" && (e = e(t)), N(e) && (e = [e]), Array.isArray(e)) return e;
|
|
6169
6226
|
if (!t) return e.default || [];
|
|
6170
6227
|
let s = e[t];
|
|
6171
6228
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
@@ -6174,12 +6231,12 @@ class P1 {
|
|
|
6174
6231
|
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (c) => {
|
|
6175
6232
|
c && (this.isSupportedCode(c) ? n.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
6176
6233
|
};
|
|
6177
|
-
return
|
|
6234
|
+
return N(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))) : N(e) && o(this.formatLanguageCode(e)), s.forEach((c) => {
|
|
6178
6235
|
n.indexOf(c) < 0 && o(this.formatLanguageCode(c));
|
|
6179
6236
|
}), n;
|
|
6180
6237
|
}
|
|
6181
6238
|
}
|
|
6182
|
-
let
|
|
6239
|
+
let K7 = [{
|
|
6183
6240
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6184
6241
|
nr: [1, 2],
|
|
6185
6242
|
fc: 1
|
|
@@ -6271,7 +6328,7 @@ let S7 = [{
|
|
|
6271
6328
|
lngs: ["he", "iw"],
|
|
6272
6329
|
nr: [1, 2, 20, 21],
|
|
6273
6330
|
fc: 22
|
|
6274
|
-
}],
|
|
6331
|
+
}], B7 = {
|
|
6275
6332
|
1: (i) => +(i > 1),
|
|
6276
6333
|
2: (i) => +(i != 1),
|
|
6277
6334
|
3: (i) => 0,
|
|
@@ -6295,28 +6352,28 @@ let S7 = [{
|
|
|
6295
6352
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6296
6353
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6297
6354
|
};
|
|
6298
|
-
const
|
|
6355
|
+
const Y7 = ["v1", "v2", "v3"], P7 = ["v4"], $1 = {
|
|
6299
6356
|
zero: 0,
|
|
6300
6357
|
one: 1,
|
|
6301
6358
|
two: 2,
|
|
6302
6359
|
few: 3,
|
|
6303
6360
|
many: 4,
|
|
6304
6361
|
other: 5
|
|
6305
|
-
},
|
|
6362
|
+
}, j7 = () => {
|
|
6306
6363
|
const i = {};
|
|
6307
|
-
return
|
|
6364
|
+
return K7.forEach((e) => {
|
|
6308
6365
|
e.lngs.forEach((t) => {
|
|
6309
6366
|
i[t] = {
|
|
6310
6367
|
numbers: e.nr,
|
|
6311
|
-
plurals:
|
|
6368
|
+
plurals: B7[e.fc]
|
|
6312
6369
|
};
|
|
6313
6370
|
});
|
|
6314
6371
|
}), i;
|
|
6315
6372
|
};
|
|
6316
|
-
class
|
|
6373
|
+
class $7 {
|
|
6317
6374
|
constructor(e) {
|
|
6318
6375
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6319
|
-
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6376
|
+
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || P7.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 = j7(), this.pluralRulesCache = {};
|
|
6320
6377
|
}
|
|
6321
6378
|
addRule(e, t) {
|
|
6322
6379
|
this.rules[e] = t;
|
|
@@ -6327,7 +6384,7 @@ class B7 {
|
|
|
6327
6384
|
getRule(e) {
|
|
6328
6385
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6329
6386
|
if (this.shouldUseIntlApi()) {
|
|
6330
|
-
const s =
|
|
6387
|
+
const s = f1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6331
6388
|
cleanedCode: s,
|
|
6332
6389
|
type: n
|
|
6333
6390
|
});
|
|
@@ -6359,7 +6416,7 @@ class B7 {
|
|
|
6359
6416
|
getSuffixes(e) {
|
|
6360
6417
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6361
6418
|
const s = this.getRule(e, t);
|
|
6362
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) =>
|
|
6419
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => $1[n] - $1[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
6363
6420
|
}
|
|
6364
6421
|
getSuffix(e, t) {
|
|
6365
6422
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -6374,14 +6431,14 @@ class B7 {
|
|
|
6374
6431
|
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();
|
|
6375
6432
|
}
|
|
6376
6433
|
shouldUseIntlApi() {
|
|
6377
|
-
return !
|
|
6434
|
+
return !Y7.includes(this.options.compatibilityJSON);
|
|
6378
6435
|
}
|
|
6379
6436
|
}
|
|
6380
|
-
const
|
|
6381
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6382
|
-
return !o && n &&
|
|
6437
|
+
const F1 = function(i, e, t) {
|
|
6438
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = I7(i, e, t);
|
|
6439
|
+
return !o && n && N(t) && (o = _1(i, t, s), o === void 0 && (o = _1(e, t, s))), o;
|
|
6383
6440
|
}, R1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6384
|
-
class
|
|
6441
|
+
class F7 {
|
|
6385
6442
|
constructor() {
|
|
6386
6443
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6387
6444
|
this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6405,12 +6462,12 @@ class P7 {
|
|
|
6405
6462
|
nestingPrefix: g,
|
|
6406
6463
|
nestingPrefixEscaped: p,
|
|
6407
6464
|
nestingSuffix: k,
|
|
6408
|
-
nestingSuffixEscaped:
|
|
6409
|
-
nestingOptionsSeparator:
|
|
6465
|
+
nestingSuffixEscaped: v,
|
|
6466
|
+
nestingOptionsSeparator: f,
|
|
6410
6467
|
maxReplaces: y,
|
|
6411
6468
|
alwaysFormat: b
|
|
6412
6469
|
} = e.interpolation;
|
|
6413
|
-
this.escape = t !== void 0 ? t :
|
|
6470
|
+
this.escape = t !== void 0 ? t : Z7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : c || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : p || X("$t("), this.nestingSuffix = k ? X(k) : v || X(")"), this.nestingOptionsSeparator = f || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6414
6471
|
}
|
|
6415
6472
|
reset() {
|
|
6416
6473
|
this.options && this.init(this.options);
|
|
@@ -6423,18 +6480,18 @@ class P7 {
|
|
|
6423
6480
|
let o, c, a;
|
|
6424
6481
|
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (p) => {
|
|
6425
6482
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6426
|
-
const y =
|
|
6483
|
+
const y = F1(t, C, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6427
6484
|
return this.alwaysFormat ? this.format(y, void 0, s, {
|
|
6428
6485
|
...n,
|
|
6429
6486
|
...t,
|
|
6430
6487
|
interpolationkey: p
|
|
6431
6488
|
}) : y;
|
|
6432
6489
|
}
|
|
6433
|
-
const k = p.split(this.formatSeparator),
|
|
6434
|
-
return this.format(
|
|
6490
|
+
const k = p.split(this.formatSeparator), v = k.shift().trim(), f = k.join(this.formatSeparator).trim();
|
|
6491
|
+
return this.format(F1(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), f, s, {
|
|
6435
6492
|
...n,
|
|
6436
6493
|
...t,
|
|
6437
|
-
interpolationkey:
|
|
6494
|
+
interpolationkey: v
|
|
6438
6495
|
});
|
|
6439
6496
|
};
|
|
6440
6497
|
this.resetRegExp();
|
|
@@ -6450,8 +6507,8 @@ class P7 {
|
|
|
6450
6507
|
const k = o[1].trim();
|
|
6451
6508
|
if (c = d(k), c === void 0)
|
|
6452
6509
|
if (typeof l == "function") {
|
|
6453
|
-
const
|
|
6454
|
-
c =
|
|
6510
|
+
const f = l(e, o, n);
|
|
6511
|
+
c = N(f) ? f : "";
|
|
6455
6512
|
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6456
6513
|
c = "";
|
|
6457
6514
|
else if (h) {
|
|
@@ -6459,9 +6516,9 @@ class P7 {
|
|
|
6459
6516
|
continue;
|
|
6460
6517
|
} else
|
|
6461
6518
|
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), c = "";
|
|
6462
|
-
else !
|
|
6463
|
-
const
|
|
6464
|
-
if (e = e.replace(o[0],
|
|
6519
|
+
else !N(c) && !this.useRawValueToEscape && (c = G1(c));
|
|
6520
|
+
const v = p.safeValue(c);
|
|
6521
|
+
if (e = e.replace(o[0], v), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6465
6522
|
break;
|
|
6466
6523
|
}
|
|
6467
6524
|
}), e;
|
|
@@ -6481,8 +6538,8 @@ class P7 {
|
|
|
6481
6538
|
...d,
|
|
6482
6539
|
...c
|
|
6483
6540
|
});
|
|
6484
|
-
} catch (
|
|
6485
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${C}`,
|
|
6541
|
+
} catch (v) {
|
|
6542
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, v), `${C}${l}${g}`;
|
|
6486
6543
|
}
|
|
6487
6544
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
|
|
6488
6545
|
};
|
|
@@ -6490,14 +6547,14 @@ class P7 {
|
|
|
6490
6547
|
let C = [];
|
|
6491
6548
|
c = {
|
|
6492
6549
|
...s
|
|
6493
|
-
}, c = c.replace && !
|
|
6550
|
+
}, c = c.replace && !N(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
6494
6551
|
let d = !1;
|
|
6495
6552
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6496
6553
|
const l = n[1].split(this.formatSeparator).map((h) => h.trim());
|
|
6497
6554
|
n[1] = l.shift(), C = l, d = !0;
|
|
6498
6555
|
}
|
|
6499
|
-
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !
|
|
6500
|
-
|
|
6556
|
+
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !N(o)) return o;
|
|
6557
|
+
N(o) || (o = G1(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, {
|
|
6501
6558
|
...s,
|
|
6502
6559
|
interpolationkey: n[1].trim()
|
|
6503
6560
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6505,7 +6562,7 @@ class P7 {
|
|
|
6505
6562
|
return e;
|
|
6506
6563
|
}
|
|
6507
6564
|
}
|
|
6508
|
-
const
|
|
6565
|
+
const W7 = (i) => {
|
|
6509
6566
|
let e = i.toLowerCase().trim();
|
|
6510
6567
|
const t = {};
|
|
6511
6568
|
if (i.indexOf("(") > -1) {
|
|
@@ -6533,10 +6590,10 @@ const Y7 = (i) => {
|
|
|
6533
6590
|
});
|
|
6534
6591
|
const c = s + JSON.stringify(o);
|
|
6535
6592
|
let a = e[c];
|
|
6536
|
-
return a || (a = i(
|
|
6593
|
+
return a || (a = i(f1(s), n), e[c] = a), a(t);
|
|
6537
6594
|
};
|
|
6538
6595
|
};
|
|
6539
|
-
class
|
|
6596
|
+
class U7 {
|
|
6540
6597
|
constructor() {
|
|
6541
6598
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6542
6599
|
this.logger = B.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6596,7 +6653,7 @@ class j7 {
|
|
|
6596
6653
|
const {
|
|
6597
6654
|
formatName: d,
|
|
6598
6655
|
formatOptions: l
|
|
6599
|
-
} =
|
|
6656
|
+
} = W7(C);
|
|
6600
6657
|
if (this.formats[d]) {
|
|
6601
6658
|
let h = a;
|
|
6602
6659
|
try {
|
|
@@ -6616,10 +6673,10 @@ class j7 {
|
|
|
6616
6673
|
}, e);
|
|
6617
6674
|
}
|
|
6618
6675
|
}
|
|
6619
|
-
const
|
|
6676
|
+
const z7 = (i, e) => {
|
|
6620
6677
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6621
6678
|
};
|
|
6622
|
-
class
|
|
6679
|
+
class J7 extends L1 {
|
|
6623
6680
|
constructor(e, t, s) {
|
|
6624
6681
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6625
6682
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = B.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
|
@@ -6652,7 +6709,7 @@ class F7 extends L1 {
|
|
|
6652
6709
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6653
6710
|
const a = {};
|
|
6654
6711
|
this.queue.forEach((C) => {
|
|
6655
|
-
|
|
6712
|
+
V7(C.loaded, [o], c), z7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6656
6713
|
a[d] || (a[d] = {});
|
|
6657
6714
|
const l = C.loaded[d];
|
|
6658
6715
|
l.length && l.forEach((h) => {
|
|
@@ -6704,7 +6761,7 @@ class F7 extends L1 {
|
|
|
6704
6761
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = arguments.length > 3 ? arguments[3] : void 0;
|
|
6705
6762
|
if (!this.backend)
|
|
6706
6763
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), n && n();
|
|
6707
|
-
|
|
6764
|
+
N(e) && (e = this.languageUtils.toResolveHierarchy(e)), N(t) && (t = [t]);
|
|
6708
6765
|
const o = this.queueLoad(e, t, s, n);
|
|
6709
6766
|
if (!o.toLoad.length)
|
|
6710
6767
|
return o.pending.length || n(), null;
|
|
@@ -6754,7 +6811,7 @@ class F7 extends L1 {
|
|
|
6754
6811
|
}
|
|
6755
6812
|
}
|
|
6756
6813
|
}
|
|
6757
|
-
const
|
|
6814
|
+
const W1 = () => ({
|
|
6758
6815
|
debug: !1,
|
|
6759
6816
|
initImmediate: !0,
|
|
6760
6817
|
ns: ["translation"],
|
|
@@ -6789,7 +6846,7 @@ const $1 = () => ({
|
|
|
6789
6846
|
appendNamespaceToCIMode: !1,
|
|
6790
6847
|
overloadTranslationOptionHandler: (i) => {
|
|
6791
6848
|
let e = {};
|
|
6792
|
-
if (typeof i[1] == "object" && (e = i[1]),
|
|
6849
|
+
if (typeof i[1] == "object" && (e = i[1]), N(i[1]) && (e.defaultValue = i[1]), N(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
|
|
6793
6850
|
const t = i[3] || i[2];
|
|
6794
6851
|
Object.keys(t).forEach((s) => {
|
|
6795
6852
|
e[s] = t[s];
|
|
@@ -6810,8 +6867,8 @@ const $1 = () => ({
|
|
|
6810
6867
|
maxReplaces: 1e3,
|
|
6811
6868
|
skipOnVariables: !0
|
|
6812
6869
|
}
|
|
6813
|
-
}),
|
|
6814
|
-
},
|
|
6870
|
+
}), U1 = (i) => (N(i.ns) && (i.ns = [i.ns]), N(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), N(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), u1 = () => {
|
|
6871
|
+
}, Q7 = (i) => {
|
|
6815
6872
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6816
6873
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6817
6874
|
});
|
|
@@ -6819,9 +6876,9 @@ const $1 = () => ({
|
|
|
6819
6876
|
class l1 extends L1 {
|
|
6820
6877
|
constructor() {
|
|
6821
6878
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6822
|
-
if (super(), this.options =
|
|
6879
|
+
if (super(), this.options = U1(e), this.services = {}, this.logger = B, this.modules = {
|
|
6823
6880
|
external: []
|
|
6824
|
-
},
|
|
6881
|
+
}, Q7(this), t && !this.isInitialized && !e.isClone) {
|
|
6825
6882
|
if (!this.options.initImmediate)
|
|
6826
6883
|
return this.init(e, t), this;
|
|
6827
6884
|
setTimeout(() => {
|
|
@@ -6832,12 +6889,12 @@ class l1 extends L1 {
|
|
|
6832
6889
|
init() {
|
|
6833
6890
|
var e = this;
|
|
6834
6891
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
6835
|
-
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (
|
|
6836
|
-
const n =
|
|
6892
|
+
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (N(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
6893
|
+
const n = W1();
|
|
6837
6894
|
this.options = {
|
|
6838
6895
|
...n,
|
|
6839
6896
|
...this.options,
|
|
6840
|
-
...
|
|
6897
|
+
...U1(t)
|
|
6841
6898
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
6842
6899
|
...n.interpolation,
|
|
6843
6900
|
...this.options.interpolation
|
|
@@ -6846,29 +6903,29 @@ class l1 extends L1 {
|
|
|
6846
6903
|
if (!this.options.isClone) {
|
|
6847
6904
|
this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
|
|
6848
6905
|
let l;
|
|
6849
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
6850
|
-
const h = new
|
|
6851
|
-
this.store = new
|
|
6906
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = U7);
|
|
6907
|
+
const h = new j1(this.options);
|
|
6908
|
+
this.store = new Y1(this.options.resources, this.options);
|
|
6852
6909
|
const g = this.services;
|
|
6853
|
-
g.logger = B, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new
|
|
6910
|
+
g.logger = B, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new $7(h, {
|
|
6854
6911
|
prepend: this.options.pluralSeparator,
|
|
6855
6912
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6856
6913
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6857
|
-
}), 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
|
|
6914
|
+
}), 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 F7(this.options), g.utils = {
|
|
6858
6915
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6859
|
-
}, g.backendConnector = new
|
|
6860
|
-
for (var k = arguments.length,
|
|
6861
|
-
|
|
6862
|
-
e.emit(p, ...
|
|
6863
|
-
}), 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
|
|
6864
|
-
for (var k = arguments.length,
|
|
6865
|
-
|
|
6866
|
-
e.emit(p, ...
|
|
6916
|
+
}, g.backendConnector = new J7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
|
|
6917
|
+
for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), f = 1; f < k; f++)
|
|
6918
|
+
v[f - 1] = arguments[f];
|
|
6919
|
+
e.emit(p, ...v);
|
|
6920
|
+
}), 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 w1(this.services, this.options), this.translator.on("*", function(p) {
|
|
6921
|
+
for (var k = arguments.length, v = new Array(k > 1 ? k - 1 : 0), f = 1; f < k; f++)
|
|
6922
|
+
v[f - 1] = arguments[f];
|
|
6923
|
+
e.emit(p, ...v);
|
|
6867
6924
|
}), this.modules.external.forEach((p) => {
|
|
6868
6925
|
p.init && p.init(this);
|
|
6869
6926
|
});
|
|
6870
6927
|
}
|
|
6871
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
6928
|
+
if (this.format = this.options.interpolation.format, s || (s = u1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
6872
6929
|
const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
6873
6930
|
l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
|
|
6874
6931
|
}
|
|
@@ -6891,8 +6948,8 @@ class l1 extends L1 {
|
|
|
6891
6948
|
return this.options.resources || !this.options.initImmediate ? d() : setTimeout(d, 0), C;
|
|
6892
6949
|
}
|
|
6893
6950
|
loadResources(e) {
|
|
6894
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
6895
|
-
const n =
|
|
6951
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
|
|
6952
|
+
const n = N(e) ? e : this.language;
|
|
6896
6953
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6897
6954
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
6898
6955
|
const o = [], c = (a) => {
|
|
@@ -6909,7 +6966,7 @@ class l1 extends L1 {
|
|
|
6909
6966
|
}
|
|
6910
6967
|
reloadResources(e, t, s) {
|
|
6911
6968
|
const n = n1();
|
|
6912
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s =
|
|
6969
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = u1), this.services.backendConnector.reload(e, t, (o) => {
|
|
6913
6970
|
n.resolve(), s(o);
|
|
6914
6971
|
}), n;
|
|
6915
6972
|
}
|
|
@@ -6943,7 +7000,7 @@ class l1 extends L1 {
|
|
|
6943
7000
|
});
|
|
6944
7001
|
}, a = (C) => {
|
|
6945
7002
|
!e && !C && this.services.languageDetector && (C = []);
|
|
6946
|
-
const d =
|
|
7003
|
+
const d = N(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
6947
7004
|
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) => {
|
|
6948
7005
|
c(l, d);
|
|
6949
7006
|
});
|
|
@@ -6967,7 +7024,7 @@ class l1 extends L1 {
|
|
|
6967
7024
|
let p;
|
|
6968
7025
|
return C.keyPrefix && Array.isArray(c) ? p = c.map((k) => `${C.keyPrefix}${g}${k}`) : p = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(p, C);
|
|
6969
7026
|
};
|
|
6970
|
-
return
|
|
7027
|
+
return N(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
6971
7028
|
}
|
|
6972
7029
|
t() {
|
|
6973
7030
|
return this.translator && this.translator.translate(...arguments);
|
|
@@ -6998,7 +7055,7 @@ class l1 extends L1 {
|
|
|
6998
7055
|
}
|
|
6999
7056
|
loadNamespaces(e, t) {
|
|
7000
7057
|
const s = n1();
|
|
7001
|
-
return this.options.ns ? (
|
|
7058
|
+
return this.options.ns ? (N(e) && (e = [e]), e.forEach((n) => {
|
|
7002
7059
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
7003
7060
|
}), this.loadResources((n) => {
|
|
7004
7061
|
s.resolve(), t && t(n);
|
|
@@ -7006,7 +7063,7 @@ class l1 extends L1 {
|
|
|
7006
7063
|
}
|
|
7007
7064
|
loadLanguages(e, t) {
|
|
7008
7065
|
const s = n1();
|
|
7009
|
-
|
|
7066
|
+
N(e) && (e = [e]);
|
|
7010
7067
|
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7011
7068
|
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
7012
7069
|
s.resolve(), t && t(c);
|
|
@@ -7014,7 +7071,7 @@ class l1 extends L1 {
|
|
|
7014
7071
|
}
|
|
7015
7072
|
dir(e) {
|
|
7016
7073
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
7017
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new
|
|
7074
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new j1(W1());
|
|
7018
7075
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
7019
7076
|
}
|
|
7020
7077
|
static createInstance() {
|
|
@@ -7022,7 +7079,7 @@ class l1 extends L1 {
|
|
|
7022
7079
|
return new l1(e, t);
|
|
7023
7080
|
}
|
|
7024
7081
|
cloneInstance() {
|
|
7025
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
7082
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
|
|
7026
7083
|
const s = e.forkResourceStore;
|
|
7027
7084
|
s && delete e.forkResourceStore;
|
|
7028
7085
|
const n = {
|
|
@@ -7036,7 +7093,7 @@ class l1 extends L1 {
|
|
|
7036
7093
|
...this.services
|
|
7037
7094
|
}, o.services.utils = {
|
|
7038
7095
|
hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
|
|
7039
|
-
}, s && (o.store = new
|
|
7096
|
+
}, s && (o.store = new Y1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new w1(o.services, n), o.translator.on("*", function(a) {
|
|
7040
7097
|
for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
|
|
7041
7098
|
d[l - 1] = arguments[l];
|
|
7042
7099
|
o.emit(a, ...d);
|
|
@@ -7070,18 +7127,18 @@ Z.setDefaultNamespace;
|
|
|
7070
7127
|
Z.hasLoadedNamespace;
|
|
7071
7128
|
Z.loadNamespaces;
|
|
7072
7129
|
Z.loadLanguages;
|
|
7073
|
-
function
|
|
7130
|
+
function q7() {
|
|
7074
7131
|
if (console && console.warn) {
|
|
7075
7132
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7076
7133
|
e[t] = arguments[t];
|
|
7077
|
-
|
|
7134
|
+
J(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7078
7135
|
}
|
|
7079
7136
|
}
|
|
7080
|
-
const
|
|
7137
|
+
const z1 = {};
|
|
7081
7138
|
function M1() {
|
|
7082
7139
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7083
7140
|
e[t] = arguments[t];
|
|
7084
|
-
|
|
7141
|
+
J(e[0]) && z1[e[0]] || (J(e[0]) && (z1[e[0]] = /* @__PURE__ */ new Date()), q7(...e));
|
|
7085
7142
|
}
|
|
7086
7143
|
const r2 = (i, e) => () => {
|
|
7087
7144
|
if (i.isInitialized)
|
|
@@ -7094,13 +7151,13 @@ const r2 = (i, e) => () => {
|
|
|
7094
7151
|
};
|
|
7095
7152
|
i.on("initialized", t);
|
|
7096
7153
|
}
|
|
7097
|
-
},
|
|
7154
|
+
}, J1 = (i, e, t) => {
|
|
7098
7155
|
i.loadNamespaces(e, r2(i, t));
|
|
7099
|
-
},
|
|
7100
|
-
|
|
7156
|
+
}, Q1 = (i, e, t, s) => {
|
|
7157
|
+
J(t) && (t = [t]), t.forEach((n) => {
|
|
7101
7158
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7102
7159
|
}), i.loadLanguages(e, r2(i, s));
|
|
7103
|
-
},
|
|
7160
|
+
}, X7 = function(i, e) {
|
|
7104
7161
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7105
7162
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7106
7163
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -7109,15 +7166,15 @@ const r2 = (i, e) => () => {
|
|
|
7109
7166
|
return d === -1 || d === 2;
|
|
7110
7167
|
};
|
|
7111
7168
|
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)));
|
|
7112
|
-
},
|
|
7169
|
+
}, e0 = function(i, e) {
|
|
7113
7170
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7114
7171
|
return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7115
7172
|
lng: t.lng,
|
|
7116
7173
|
precheck: (n, o) => {
|
|
7117
7174
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
7118
7175
|
}
|
|
7119
|
-
}) :
|
|
7120
|
-
},
|
|
7176
|
+
}) : X7(i, e, t);
|
|
7177
|
+
}, J = (i) => typeof i == "string", t0 = (i) => typeof i == "object" && i !== null, i0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, s0 = {
|
|
7121
7178
|
"&": "&",
|
|
7122
7179
|
"&": "&",
|
|
7123
7180
|
"<": "<",
|
|
@@ -7138,7 +7195,7 @@ const r2 = (i, e) => () => {
|
|
|
7138
7195
|
"…": "…",
|
|
7139
7196
|
"/": "/",
|
|
7140
7197
|
"/": "/"
|
|
7141
|
-
},
|
|
7198
|
+
}, n0 = (i) => s0[i], r0 = (i) => i.replace(i0, n0);
|
|
7142
7199
|
let b1 = {
|
|
7143
7200
|
bindI18n: "languageChanged",
|
|
7144
7201
|
bindI18nStore: "",
|
|
@@ -7147,27 +7204,27 @@ let b1 = {
|
|
|
7147
7204
|
transWrapTextNodes: "",
|
|
7148
7205
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7149
7206
|
useSuspense: !0,
|
|
7150
|
-
unescape:
|
|
7207
|
+
unescape: r0
|
|
7151
7208
|
};
|
|
7152
|
-
const
|
|
7209
|
+
const o0 = function() {
|
|
7153
7210
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7154
7211
|
b1 = {
|
|
7155
7212
|
...b1,
|
|
7156
7213
|
...i
|
|
7157
7214
|
};
|
|
7158
|
-
},
|
|
7215
|
+
}, a0 = () => b1;
|
|
7159
7216
|
let o2;
|
|
7160
|
-
const
|
|
7217
|
+
const l0 = (i) => {
|
|
7161
7218
|
o2 = i;
|
|
7162
|
-
},
|
|
7219
|
+
}, h0 = () => o2, c0 = {
|
|
7163
7220
|
type: "3rdParty",
|
|
7164
7221
|
init(i) {
|
|
7165
|
-
|
|
7222
|
+
o0(i.options.react), l0(i);
|
|
7166
7223
|
}
|
|
7167
|
-
},
|
|
7168
|
-
class
|
|
7224
|
+
}, d0 = t1();
|
|
7225
|
+
class C0 {
|
|
7169
7226
|
constructor() {
|
|
7170
|
-
|
|
7227
|
+
A1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7171
7228
|
this.usedNamespaces = {};
|
|
7172
7229
|
}
|
|
7173
7230
|
addUsedNamespaces(e) {
|
|
@@ -7176,27 +7233,27 @@ class l0 {
|
|
|
7176
7233
|
});
|
|
7177
7234
|
}
|
|
7178
7235
|
}
|
|
7179
|
-
const
|
|
7180
|
-
const t =
|
|
7236
|
+
const g0 = (i, e) => {
|
|
7237
|
+
const t = W();
|
|
7181
7238
|
return A(() => {
|
|
7182
7239
|
t.current = i;
|
|
7183
7240
|
}, [i, e]), t.current;
|
|
7184
|
-
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
7241
|
+
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), u0 = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), p0 = function(i) {
|
|
7185
7242
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7186
7243
|
const {
|
|
7187
7244
|
i18n: t
|
|
7188
7245
|
} = e, {
|
|
7189
7246
|
i18n: s,
|
|
7190
7247
|
defaultNS: n
|
|
7191
|
-
} = Q(
|
|
7192
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
7248
|
+
} = Q(d0) || {}, o = t || s || h0();
|
|
7249
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new C0()), !o) {
|
|
7193
7250
|
M1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7194
|
-
const
|
|
7195
|
-
return M.t =
|
|
7251
|
+
const m = (R, x) => J(x) ? x : t0(x) && J(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, M = [m, {}, !1];
|
|
7252
|
+
return M.t = m, M.i18n = {}, M.ready = !1, M;
|
|
7196
7253
|
}
|
|
7197
7254
|
o.options.react && o.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7198
7255
|
const c = {
|
|
7199
|
-
...
|
|
7256
|
+
...a0(),
|
|
7200
7257
|
...o.options.react,
|
|
7201
7258
|
...e
|
|
7202
7259
|
}, {
|
|
@@ -7204,53 +7261,53 @@ const h0 = (i, e) => {
|
|
|
7204
7261
|
keyPrefix: C
|
|
7205
7262
|
} = c;
|
|
7206
7263
|
let d = i;
|
|
7207
|
-
d =
|
|
7208
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
7209
|
-
let
|
|
7210
|
-
e.lng && (
|
|
7211
|
-
const y =
|
|
7264
|
+
d = J(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7265
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((m) => e0(m, o, c)), h = u0(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, p = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [k, v] = I(g);
|
|
7266
|
+
let f = d.join();
|
|
7267
|
+
e.lng && (f = `${e.lng}${f}`);
|
|
7268
|
+
const y = g0(f), b = W(!0);
|
|
7212
7269
|
A(() => {
|
|
7213
7270
|
const {
|
|
7214
|
-
bindI18n:
|
|
7271
|
+
bindI18n: m,
|
|
7215
7272
|
bindI18nStore: M
|
|
7216
7273
|
} = c;
|
|
7217
|
-
b.current = !0, !l && !a && (e.lng ?
|
|
7218
|
-
b.current &&
|
|
7219
|
-
}) :
|
|
7220
|
-
b.current &&
|
|
7221
|
-
})), l && y && y !==
|
|
7274
|
+
b.current = !0, !l && !a && (e.lng ? Q1(o, e.lng, d, () => {
|
|
7275
|
+
b.current && v(p);
|
|
7276
|
+
}) : J1(o, d, () => {
|
|
7277
|
+
b.current && v(p);
|
|
7278
|
+
})), l && y && y !== f && b.current && v(p);
|
|
7222
7279
|
const R = () => {
|
|
7223
|
-
b.current &&
|
|
7280
|
+
b.current && v(p);
|
|
7224
7281
|
};
|
|
7225
|
-
return
|
|
7226
|
-
b.current = !1,
|
|
7282
|
+
return m && o && o.on(m, R), M && o && o.store.on(M, R), () => {
|
|
7283
|
+
b.current = !1, m && o && m.split(" ").forEach((x) => o.off(x, R)), M && o && M.split(" ").forEach((x) => o.store.off(x, R));
|
|
7227
7284
|
};
|
|
7228
|
-
}, [o,
|
|
7229
|
-
b.current && l &&
|
|
7285
|
+
}, [o, f]), A(() => {
|
|
7286
|
+
b.current && l && v(g);
|
|
7230
7287
|
}, [o, C, l]);
|
|
7231
7288
|
const E = [k, o, l];
|
|
7232
7289
|
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7233
|
-
throw new Promise((
|
|
7234
|
-
e.lng ?
|
|
7290
|
+
throw new Promise((m) => {
|
|
7291
|
+
e.lng ? Q1(o, e.lng, d, () => m()) : J1(o, d, () => m());
|
|
7235
7292
|
});
|
|
7236
|
-
},
|
|
7237
|
-
placeholder:
|
|
7238
|
-
},
|
|
7239
|
-
placeholder:
|
|
7293
|
+
}, f0 = "Country", m0 = {
|
|
7294
|
+
placeholder: f0
|
|
7295
|
+
}, w0 = "Страна", L0 = {
|
|
7296
|
+
placeholder: w0
|
|
7240
7297
|
};
|
|
7241
|
-
Z.use(
|
|
7298
|
+
Z.use(c0).init({
|
|
7242
7299
|
defaultNS: "common",
|
|
7243
7300
|
lng: "en",
|
|
7244
7301
|
resources: {
|
|
7245
7302
|
en: {
|
|
7246
|
-
common:
|
|
7303
|
+
common: m0
|
|
7247
7304
|
},
|
|
7248
7305
|
ru: {
|
|
7249
|
-
common:
|
|
7306
|
+
common: L0
|
|
7250
7307
|
}
|
|
7251
7308
|
}
|
|
7252
7309
|
});
|
|
7253
|
-
const
|
|
7310
|
+
const b0 = h1(
|
|
7254
7311
|
({
|
|
7255
7312
|
width: i,
|
|
7256
7313
|
selectedCity: e,
|
|
@@ -7263,36 +7320,36 @@ const R0 = w1(
|
|
|
7263
7320
|
clearable: C,
|
|
7264
7321
|
error: d
|
|
7265
7322
|
}, l) => {
|
|
7266
|
-
const [h, g] = I([]), [p, k] = I([]), [
|
|
7323
|
+
const [h, g] = I([]), [p, k] = I([]), [v, f] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
|
|
7267
7324
|
if (!b)
|
|
7268
7325
|
throw new Error(
|
|
7269
7326
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7270
7327
|
Please provide it via SNMTUiContext.`
|
|
7271
7328
|
);
|
|
7272
|
-
const { t: E } =
|
|
7273
|
-
|
|
7329
|
+
const { t: E } = p0("common", { lng: y }), m = K(async () => {
|
|
7330
|
+
f(!0);
|
|
7274
7331
|
try {
|
|
7275
7332
|
const R = await b.post("v1/countries/search");
|
|
7276
7333
|
k(R == null ? void 0 : R.data.data);
|
|
7277
7334
|
} catch {
|
|
7278
7335
|
g([]);
|
|
7279
7336
|
} finally {
|
|
7280
|
-
|
|
7337
|
+
f(!1);
|
|
7281
7338
|
}
|
|
7282
7339
|
}, [b]);
|
|
7283
7340
|
A(() => {
|
|
7284
|
-
|
|
7341
|
+
m();
|
|
7285
7342
|
}, []), A(() => {
|
|
7286
7343
|
if (e) {
|
|
7287
7344
|
const R = e.split("-")[1], x = p.filter(
|
|
7288
|
-
(
|
|
7345
|
+
(G) => G.name.includes(R)
|
|
7289
7346
|
);
|
|
7290
7347
|
if (x.length) {
|
|
7291
|
-
const
|
|
7292
|
-
label:
|
|
7293
|
-
value:
|
|
7348
|
+
const G = x.map((Y) => ({
|
|
7349
|
+
label: Y.name,
|
|
7350
|
+
value: Y.name
|
|
7294
7351
|
}));
|
|
7295
|
-
s(
|
|
7352
|
+
s(G[0].value);
|
|
7296
7353
|
}
|
|
7297
7354
|
}
|
|
7298
7355
|
}, [e, p, s]), A(() => {
|
|
@@ -7306,7 +7363,7 @@ const R0 = w1(
|
|
|
7306
7363
|
R === null ? (s(""), t && t("")) : (s(R), t && t(""));
|
|
7307
7364
|
};
|
|
7308
7365
|
return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
|
|
7309
|
-
|
|
7366
|
+
y7,
|
|
7310
7367
|
{
|
|
7311
7368
|
id: o,
|
|
7312
7369
|
width: i,
|
|
@@ -7316,7 +7373,7 @@ const R0 = w1(
|
|
|
7316
7373
|
onChange: M,
|
|
7317
7374
|
options: h,
|
|
7318
7375
|
disabled: c,
|
|
7319
|
-
isLoading:
|
|
7376
|
+
isLoading: v,
|
|
7320
7377
|
required: a,
|
|
7321
7378
|
clearable: C,
|
|
7322
7379
|
error: d
|
|
@@ -7325,5 +7382,5 @@ const R0 = w1(
|
|
|
7325
7382
|
}
|
|
7326
7383
|
);
|
|
7327
7384
|
export {
|
|
7328
|
-
|
|
7385
|
+
b0 as CountrySelect
|
|
7329
7386
|
};
|