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