@snmt-react-ui/user-select 2.6.7 → 2.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/user-select.js +982 -931
- package/package.json +4 -4
package/dist/user-select.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var ke = Object.defineProperty;
|
|
2
|
+
var Le = (i, e, t) => e in i ? ke(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var W1 = (i, e, t) => Le(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
|
-
import { jsx as r, Fragment as
|
|
6
|
-
import { createContext as
|
|
7
|
-
import { Select as
|
|
8
|
-
import { SNMTUiContext as
|
|
9
|
-
var
|
|
10
|
-
function
|
|
5
|
+
import { jsx as r, Fragment as i1, jsxs as C } from "react/jsx-runtime";
|
|
6
|
+
import { createContext as d1, forwardRef as k1, useState as j, useRef as q, useEffect as G, useCallback as P, useMemo as ve, useImperativeHandle as oe, useContext as r1 } from "react";
|
|
7
|
+
import { Select as Ne, Flex as xe, Avatar as Me, Checkbox as Re, Typography as le, Tag as ye, Popover as be } from "antd";
|
|
8
|
+
import { SNMTUiContext as _e } from "@snmt-react-ui/core";
|
|
9
|
+
var Ve = Object.defineProperty, Ee = (i, e, t) => e in i ? Ve(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, He = (i, e, t) => Ee(i, e + "", t), Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
function Oe() {
|
|
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
|
+
s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
const
|
|
18
|
-
function
|
|
17
|
+
const j1 = {};
|
|
18
|
+
function O1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
|
|
21
|
+
s1(e[0]) && j1[e[0]] || (s1(e[0]) && (j1[e[0]] = /* @__PURE__ */ new Date()), Oe(...e));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const ae = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
25
25
|
e();
|
|
26
26
|
else {
|
|
@@ -31,13 +31,13 @@ const oe = (i, e) => () => {
|
|
|
31
31
|
};
|
|
32
32
|
i.on("initialized", t);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
i.loadNamespaces(e,
|
|
36
|
-
},
|
|
37
|
-
|
|
34
|
+
}, D1 = (i, e, t) => {
|
|
35
|
+
i.loadNamespaces(e, ae(i, t));
|
|
36
|
+
}, T1 = (i, e, t, s) => {
|
|
37
|
+
s1(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
|
-
}), i.loadLanguages(e,
|
|
40
|
-
},
|
|
39
|
+
}), i.loadLanguages(e, ae(i, s));
|
|
40
|
+
}, Se = function(i, e) {
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
43
43
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -46,15 +46,15 @@ const oe = (i, e) => () => {
|
|
|
46
46
|
return g === -1 || g === 2;
|
|
47
47
|
};
|
|
48
48
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(l, i)));
|
|
49
|
-
},
|
|
49
|
+
}, Ae = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
|
-
return !e.languages || !e.languages.length ? (
|
|
51
|
+
return !e.languages || !e.languages.length ? (O1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
52
52
|
lng: t.lng,
|
|
53
53
|
precheck: (s, n) => {
|
|
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
|
-
}) :
|
|
57
|
-
},
|
|
56
|
+
}) : Se(i, e, t);
|
|
57
|
+
}, s1 = (i) => typeof i == "string", Be = (i) => typeof i == "object" && i !== null, Ze = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, We = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
@@ -75,8 +75,8 @@ const oe = (i, e) => () => {
|
|
|
75
75
|
"…": "…",
|
|
76
76
|
"/": "/",
|
|
77
77
|
"/": "/"
|
|
78
|
-
},
|
|
79
|
-
let
|
|
78
|
+
}, je = (i) => We[i], De = (i) => i.replace(Ze, je);
|
|
79
|
+
let Te = {
|
|
80
80
|
bindI18n: "languageChanged",
|
|
81
81
|
bindI18nStore: "",
|
|
82
82
|
transEmptyNodeValue: "",
|
|
@@ -84,14 +84,14 @@ let De = {
|
|
|
84
84
|
transWrapTextNodes: "",
|
|
85
85
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
86
86
|
useSuspense: !0,
|
|
87
|
-
unescape:
|
|
87
|
+
unescape: De
|
|
88
88
|
};
|
|
89
|
-
const
|
|
90
|
-
let
|
|
91
|
-
const
|
|
92
|
-
class
|
|
89
|
+
const Ge = () => Te;
|
|
90
|
+
let Ke;
|
|
91
|
+
const Pe = () => Ke, $e = d1();
|
|
92
|
+
class Ye {
|
|
93
93
|
constructor() {
|
|
94
|
-
|
|
94
|
+
He(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
95
95
|
}
|
|
96
96
|
addUsedNamespaces(e) {
|
|
97
97
|
e.forEach((t) => {
|
|
@@ -99,27 +99,27 @@ class $e {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
const
|
|
103
|
-
const t =
|
|
102
|
+
const Fe = (i, e) => {
|
|
103
|
+
const t = q();
|
|
104
104
|
return G(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
|
-
},
|
|
107
|
+
}, he = (i, e, t, s) => i.getFixedT(e, t, s), Ue = (i, e, t, s) => P(he(i, e, t, s), [i, e, t, s]), ze = function(i) {
|
|
108
108
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
109
109
|
const {
|
|
110
110
|
i18n: t
|
|
111
111
|
} = e, {
|
|
112
112
|
i18n: s,
|
|
113
113
|
defaultNS: n
|
|
114
|
-
} =
|
|
115
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
|
116
|
-
|
|
117
|
-
const f = (y, L) =>
|
|
114
|
+
} = r1($e) || {}, l = t || s || Pe();
|
|
115
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new Ye()), !l) {
|
|
116
|
+
O1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
+
const f = (y, L) => s1(L) ? L : Be(L) && s1(L.defaultValue) ? L.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, x = [f, {}, !1];
|
|
118
118
|
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
119
119
|
}
|
|
120
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
|
120
|
+
l.options.react && l.options.react.wait !== void 0 && O1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
122
|
-
...
|
|
122
|
+
...Ge(),
|
|
123
123
|
...l.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
@@ -127,21 +127,21 @@ const Ye = (i, e) => {
|
|
|
127
127
|
keyPrefix: d
|
|
128
128
|
} = c;
|
|
129
129
|
let g = i;
|
|
130
|
-
g =
|
|
131
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) =>
|
|
130
|
+
g = s1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
131
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => Ae(f, l, c)), h = Ue(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => he(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, R] = j(u);
|
|
132
132
|
let k = g.join();
|
|
133
133
|
e.lng && (k = `${e.lng}${k}`);
|
|
134
|
-
const
|
|
134
|
+
const H = Fe(k), b = q(!0);
|
|
135
135
|
G(() => {
|
|
136
136
|
const {
|
|
137
137
|
bindI18n: f,
|
|
138
138
|
bindI18nStore: x
|
|
139
139
|
} = c;
|
|
140
|
-
b.current = !0, !a && !o && (e.lng ?
|
|
140
|
+
b.current = !0, !a && !o && (e.lng ? T1(l, e.lng, g, () => {
|
|
141
141
|
b.current && R(p);
|
|
142
|
-
}) :
|
|
142
|
+
}) : D1(l, g, () => {
|
|
143
143
|
b.current && R(p);
|
|
144
|
-
})), a &&
|
|
144
|
+
})), a && H && H !== k && b.current && R(p);
|
|
145
145
|
const y = () => {
|
|
146
146
|
b.current && R(p);
|
|
147
147
|
};
|
|
@@ -151,12 +151,12 @@ const Ye = (i, e) => {
|
|
|
151
151
|
}, [l, k]), G(() => {
|
|
152
152
|
b.current && a && R(u);
|
|
153
153
|
}, [l, d, a]);
|
|
154
|
-
const
|
|
155
|
-
if (
|
|
154
|
+
const I = [m, l, a];
|
|
155
|
+
if (I.t = m, I.i18n = l, I.ready = a, a || !a && !o) return I;
|
|
156
156
|
throw new Promise((f) => {
|
|
157
|
-
e.lng ?
|
|
157
|
+
e.lng ? T1(l, e.lng, g, () => f()) : D1(l, g, () => f());
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, p1 = ({
|
|
160
160
|
children: i,
|
|
161
161
|
direction: e = "row",
|
|
162
162
|
flexWrap: t = "nowrap",
|
|
@@ -166,7 +166,7 @@ const Ye = (i, e) => {
|
|
|
166
166
|
gap: c,
|
|
167
167
|
padding: o
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
|
-
|
|
169
|
+
xe,
|
|
170
170
|
{
|
|
171
171
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
|
172
172
|
vertical: e === "column",
|
|
@@ -178,10 +178,10 @@ const Ye = (i, e) => {
|
|
|
178
178
|
style: { padding: o },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
181
|
-
),
|
|
181
|
+
), Je = ({ shape: i = "circle", size: e = 32, children: t, ...s }) => {
|
|
182
182
|
const n = typeof s.src == "string";
|
|
183
183
|
return /* @__PURE__ */ r(
|
|
184
|
-
|
|
184
|
+
Me,
|
|
185
185
|
{
|
|
186
186
|
className: `snmt-avatar ${n ? "image" : ""}`,
|
|
187
187
|
shape: i,
|
|
@@ -192,13 +192,13 @@ const Ye = (i, e) => {
|
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
|
-
var
|
|
196
|
-
const
|
|
195
|
+
var X = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(X || {});
|
|
196
|
+
const Z1 = d1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
199
199
|
});
|
|
200
|
-
|
|
201
|
-
const
|
|
200
|
+
Z1.Provider;
|
|
201
|
+
const Qe = ({
|
|
202
202
|
checked: i = !0,
|
|
203
203
|
indeterminate: e = !1,
|
|
204
204
|
children: t,
|
|
@@ -206,13 +206,13 @@ const Je = ({
|
|
|
206
206
|
disabled: n = !1,
|
|
207
207
|
disableUncheck: l = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [c, o] =
|
|
209
|
+
const [c, o] = j(i), [d, g] = j(e);
|
|
210
210
|
G(() => {
|
|
211
211
|
o(i), g(e);
|
|
212
212
|
}, [i, e]);
|
|
213
|
-
const { theme: a } =
|
|
213
|
+
const { theme: a } = r1(Z1);
|
|
214
214
|
return /* @__PURE__ */ r(
|
|
215
|
-
|
|
215
|
+
Re,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${a}`,
|
|
218
218
|
checked: c,
|
|
@@ -226,11 +226,11 @@ const Je = ({
|
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
228
|
var v = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(v || {});
|
|
229
|
-
const
|
|
229
|
+
const ce = d1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
232
232
|
});
|
|
233
|
-
|
|
233
|
+
ce.Provider;
|
|
234
234
|
const qe = ({
|
|
235
235
|
width: i = 20,
|
|
236
236
|
height: e = 20,
|
|
@@ -258,7 +258,7 @@ const qe = ({
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
}
|
|
261
|
-
),
|
|
261
|
+
), Xe = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
264
|
color: t = "#001E52",
|
|
@@ -285,7 +285,7 @@ const qe = ({
|
|
|
285
285
|
}
|
|
286
286
|
)
|
|
287
287
|
}
|
|
288
|
-
),
|
|
288
|
+
), e2 = ({
|
|
289
289
|
width: i = 16,
|
|
290
290
|
height: e = 16,
|
|
291
291
|
color: t = "#001E52",
|
|
@@ -313,7 +313,7 @@ const qe = ({
|
|
|
313
313
|
)
|
|
314
314
|
]
|
|
315
315
|
}
|
|
316
|
-
),
|
|
316
|
+
), t2 = ({
|
|
317
317
|
width: i = 20,
|
|
318
318
|
height: e = 20,
|
|
319
319
|
color: t = "#001E52",
|
|
@@ -348,7 +348,7 @@ const qe = ({
|
|
|
348
348
|
)
|
|
349
349
|
]
|
|
350
350
|
}
|
|
351
|
-
),
|
|
351
|
+
), i2 = ({
|
|
352
352
|
width: i = 18,
|
|
353
353
|
height: e = 18,
|
|
354
354
|
color: t = "#001E52",
|
|
@@ -387,7 +387,7 @@ const qe = ({
|
|
|
387
387
|
)
|
|
388
388
|
]
|
|
389
389
|
}
|
|
390
|
-
),
|
|
390
|
+
), s2 = ({
|
|
391
391
|
width: i = 20,
|
|
392
392
|
height: e = 20,
|
|
393
393
|
color: t = "#001E52",
|
|
@@ -413,7 +413,7 @@ const qe = ({
|
|
|
413
413
|
}
|
|
414
414
|
)
|
|
415
415
|
}
|
|
416
|
-
),
|
|
416
|
+
), n2 = ({
|
|
417
417
|
width: i = 20,
|
|
418
418
|
height: e = 20,
|
|
419
419
|
color: t = "#001E52",
|
|
@@ -434,7 +434,7 @@ const qe = ({
|
|
|
434
434
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
435
435
|
]
|
|
436
436
|
}
|
|
437
|
-
),
|
|
437
|
+
), r2 = ({
|
|
438
438
|
width: i = 20,
|
|
439
439
|
height: e = 20,
|
|
440
440
|
color: t = "#001E52",
|
|
@@ -466,7 +466,7 @@ const qe = ({
|
|
|
466
466
|
)
|
|
467
467
|
]
|
|
468
468
|
}
|
|
469
|
-
),
|
|
469
|
+
), o2 = ({
|
|
470
470
|
width: i = 20,
|
|
471
471
|
height: e = 20,
|
|
472
472
|
color: t = "#001E52",
|
|
@@ -520,7 +520,7 @@ const qe = ({
|
|
|
520
520
|
)
|
|
521
521
|
]
|
|
522
522
|
}
|
|
523
|
-
),
|
|
523
|
+
), l2 = ({
|
|
524
524
|
width: i = 20,
|
|
525
525
|
height: e = 20,
|
|
526
526
|
color: t = "#001E52",
|
|
@@ -559,7 +559,7 @@ const qe = ({
|
|
|
559
559
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
560
560
|
]
|
|
561
561
|
}
|
|
562
|
-
),
|
|
562
|
+
), a2 = ({
|
|
563
563
|
width: i = 16,
|
|
564
564
|
height: e = 12,
|
|
565
565
|
color: t = "#001E52",
|
|
@@ -608,7 +608,7 @@ const qe = ({
|
|
|
608
608
|
)
|
|
609
609
|
] })
|
|
610
610
|
}
|
|
611
|
-
),
|
|
611
|
+
), h2 = ({
|
|
612
612
|
width: i = 16,
|
|
613
613
|
height: e = 16,
|
|
614
614
|
color: t = "#001E52",
|
|
@@ -642,7 +642,7 @@ const qe = ({
|
|
|
642
642
|
)
|
|
643
643
|
]
|
|
644
644
|
}
|
|
645
|
-
),
|
|
645
|
+
), c2 = ({
|
|
646
646
|
width: i = 10,
|
|
647
647
|
height: e = 10,
|
|
648
648
|
color: t = "#001E52",
|
|
@@ -681,7 +681,7 @@ const qe = ({
|
|
|
681
681
|
)
|
|
682
682
|
] })
|
|
683
683
|
}
|
|
684
|
-
),
|
|
684
|
+
), d2 = ({
|
|
685
685
|
width: i = 16,
|
|
686
686
|
height: e = 16,
|
|
687
687
|
color: t = "#001E52",
|
|
@@ -717,7 +717,7 @@ const qe = ({
|
|
|
717
717
|
)
|
|
718
718
|
]
|
|
719
719
|
}
|
|
720
|
-
),
|
|
720
|
+
), g2 = ({
|
|
721
721
|
width: i = 11,
|
|
722
722
|
height: e = 32,
|
|
723
723
|
color: t = "#001E52",
|
|
@@ -755,7 +755,7 @@ const qe = ({
|
|
|
755
755
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
756
756
|
]
|
|
757
757
|
}
|
|
758
|
-
),
|
|
758
|
+
), C2 = ({
|
|
759
759
|
width: i = 20,
|
|
760
760
|
height: e = 20,
|
|
761
761
|
color: t = "#001E52",
|
|
@@ -802,7 +802,7 @@ const qe = ({
|
|
|
802
802
|
)
|
|
803
803
|
]
|
|
804
804
|
}
|
|
805
|
-
),
|
|
805
|
+
), u2 = ({
|
|
806
806
|
width: i = 20,
|
|
807
807
|
height: e = 20,
|
|
808
808
|
color: t = "#001E52",
|
|
@@ -835,7 +835,7 @@ const qe = ({
|
|
|
835
835
|
)
|
|
836
836
|
]
|
|
837
837
|
}
|
|
838
|
-
),
|
|
838
|
+
), p2 = ({
|
|
839
839
|
width: i = 20,
|
|
840
840
|
height: e = 20,
|
|
841
841
|
color: t = "#001E52",
|
|
@@ -882,7 +882,7 @@ const qe = ({
|
|
|
882
882
|
)
|
|
883
883
|
]
|
|
884
884
|
}
|
|
885
|
-
),
|
|
885
|
+
), f2 = ({
|
|
886
886
|
width: i = 20,
|
|
887
887
|
height: e = 20,
|
|
888
888
|
color: t = "#001E52",
|
|
@@ -915,7 +915,7 @@ const qe = ({
|
|
|
915
915
|
)
|
|
916
916
|
]
|
|
917
917
|
}
|
|
918
|
-
),
|
|
918
|
+
), w2 = ({
|
|
919
919
|
width: i = 18,
|
|
920
920
|
height: e = 16,
|
|
921
921
|
color: t = "#001E52",
|
|
@@ -954,7 +954,7 @@ const qe = ({
|
|
|
954
954
|
)
|
|
955
955
|
]
|
|
956
956
|
}
|
|
957
|
-
),
|
|
957
|
+
), m2 = ({
|
|
958
958
|
width: i = 20,
|
|
959
959
|
height: e = 20,
|
|
960
960
|
color: t = "#001E52",
|
|
@@ -987,7 +987,7 @@ const qe = ({
|
|
|
987
987
|
)
|
|
988
988
|
]
|
|
989
989
|
}
|
|
990
|
-
),
|
|
990
|
+
), k2 = ({
|
|
991
991
|
width: i = 20,
|
|
992
992
|
height: e = 20,
|
|
993
993
|
color: t = "#001E52",
|
|
@@ -1011,7 +1011,7 @@ const qe = ({
|
|
|
1011
1011
|
}
|
|
1012
1012
|
)
|
|
1013
1013
|
}
|
|
1014
|
-
),
|
|
1014
|
+
), L2 = ({
|
|
1015
1015
|
width: i = 20,
|
|
1016
1016
|
height: e = 20,
|
|
1017
1017
|
color: t = "#001E52",
|
|
@@ -1058,7 +1058,7 @@ const qe = ({
|
|
|
1058
1058
|
)
|
|
1059
1059
|
]
|
|
1060
1060
|
}
|
|
1061
|
-
),
|
|
1061
|
+
), v2 = ({
|
|
1062
1062
|
width: i = 20,
|
|
1063
1063
|
height: e = 20,
|
|
1064
1064
|
color: t = "#001E52",
|
|
@@ -1091,7 +1091,7 @@ const qe = ({
|
|
|
1091
1091
|
)
|
|
1092
1092
|
]
|
|
1093
1093
|
}
|
|
1094
|
-
),
|
|
1094
|
+
), N2 = ({
|
|
1095
1095
|
width: i = 20,
|
|
1096
1096
|
height: e = 20,
|
|
1097
1097
|
color: t = "#001E52",
|
|
@@ -1124,7 +1124,7 @@ const qe = ({
|
|
|
1124
1124
|
)
|
|
1125
1125
|
]
|
|
1126
1126
|
}
|
|
1127
|
-
),
|
|
1127
|
+
), x2 = ({
|
|
1128
1128
|
width: i = 20,
|
|
1129
1129
|
height: e = 23,
|
|
1130
1130
|
color: t = "#001E52",
|
|
@@ -1185,7 +1185,7 @@ const qe = ({
|
|
|
1185
1185
|
)
|
|
1186
1186
|
]
|
|
1187
1187
|
}
|
|
1188
|
-
),
|
|
1188
|
+
), M2 = ({
|
|
1189
1189
|
width: i = 20,
|
|
1190
1190
|
height: e = 20,
|
|
1191
1191
|
color: t = "#001E52",
|
|
@@ -1225,7 +1225,7 @@ const qe = ({
|
|
|
1225
1225
|
)
|
|
1226
1226
|
]
|
|
1227
1227
|
}
|
|
1228
|
-
),
|
|
1228
|
+
), R2 = ({
|
|
1229
1229
|
width: i = 32,
|
|
1230
1230
|
height: e = 25,
|
|
1231
1231
|
color: t = "#001E52",
|
|
@@ -1253,7 +1253,7 @@ const qe = ({
|
|
|
1253
1253
|
)
|
|
1254
1254
|
]
|
|
1255
1255
|
}
|
|
1256
|
-
),
|
|
1256
|
+
), y2 = ({
|
|
1257
1257
|
width: i = 14,
|
|
1258
1258
|
height: e = 14,
|
|
1259
1259
|
color: t = "#10B981",
|
|
@@ -1282,7 +1282,7 @@ const qe = ({
|
|
|
1282
1282
|
)
|
|
1283
1283
|
]
|
|
1284
1284
|
}
|
|
1285
|
-
),
|
|
1285
|
+
), b2 = ({
|
|
1286
1286
|
width: i = 11,
|
|
1287
1287
|
height: e = 11,
|
|
1288
1288
|
color: t = "#FFB020",
|
|
@@ -1316,7 +1316,7 @@ const qe = ({
|
|
|
1316
1316
|
)
|
|
1317
1317
|
]
|
|
1318
1318
|
}
|
|
1319
|
-
),
|
|
1319
|
+
), _2 = ({
|
|
1320
1320
|
width: i = 10,
|
|
1321
1321
|
height: e = 10,
|
|
1322
1322
|
color: t = "#88A4FF",
|
|
@@ -1364,7 +1364,7 @@ const qe = ({
|
|
|
1364
1364
|
)
|
|
1365
1365
|
]
|
|
1366
1366
|
}
|
|
1367
|
-
),
|
|
1367
|
+
), V2 = ({
|
|
1368
1368
|
width: i = 14,
|
|
1369
1369
|
height: e = 14,
|
|
1370
1370
|
color: t = "#8E8E93",
|
|
@@ -1392,7 +1392,7 @@ const qe = ({
|
|
|
1392
1392
|
)
|
|
1393
1393
|
]
|
|
1394
1394
|
}
|
|
1395
|
-
),
|
|
1395
|
+
), E2 = ({
|
|
1396
1396
|
width: i = 14,
|
|
1397
1397
|
height: e = 14,
|
|
1398
1398
|
color: t = "#FFB020",
|
|
@@ -1426,7 +1426,7 @@ const qe = ({
|
|
|
1426
1426
|
)
|
|
1427
1427
|
]
|
|
1428
1428
|
}
|
|
1429
|
-
),
|
|
1429
|
+
), H2 = ({
|
|
1430
1430
|
width: i = 14,
|
|
1431
1431
|
height: e = 14,
|
|
1432
1432
|
color: t = "#D0421B",
|
|
@@ -1474,7 +1474,7 @@ const qe = ({
|
|
|
1474
1474
|
)
|
|
1475
1475
|
]
|
|
1476
1476
|
}
|
|
1477
|
-
),
|
|
1477
|
+
), I2 = ({
|
|
1478
1478
|
width: i = 20,
|
|
1479
1479
|
height: e = 20,
|
|
1480
1480
|
color: t = "#070739",
|
|
@@ -1504,7 +1504,7 @@ const qe = ({
|
|
|
1504
1504
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1505
1505
|
]
|
|
1506
1506
|
}
|
|
1507
|
-
),
|
|
1507
|
+
), O2 = ({
|
|
1508
1508
|
width: i = 20,
|
|
1509
1509
|
height: e = 20,
|
|
1510
1510
|
color: t = "#070739",
|
|
@@ -1542,7 +1542,7 @@ const qe = ({
|
|
|
1542
1542
|
)
|
|
1543
1543
|
]
|
|
1544
1544
|
}
|
|
1545
|
-
),
|
|
1545
|
+
), S2 = ({
|
|
1546
1546
|
width: i = 9,
|
|
1547
1547
|
height: e = 5,
|
|
1548
1548
|
color: t = "#001E52",
|
|
@@ -1568,7 +1568,7 @@ const qe = ({
|
|
|
1568
1568
|
}
|
|
1569
1569
|
)
|
|
1570
1570
|
}
|
|
1571
|
-
),
|
|
1571
|
+
), A2 = ({
|
|
1572
1572
|
width: i = 20,
|
|
1573
1573
|
height: e = 20,
|
|
1574
1574
|
color: t = "#F2F2F7",
|
|
@@ -1597,7 +1597,7 @@ const qe = ({
|
|
|
1597
1597
|
)
|
|
1598
1598
|
]
|
|
1599
1599
|
}
|
|
1600
|
-
),
|
|
1600
|
+
), B2 = ({
|
|
1601
1601
|
width: i = 20,
|
|
1602
1602
|
height: e = 20,
|
|
1603
1603
|
color: t = "#004ED7",
|
|
@@ -1626,7 +1626,7 @@ const qe = ({
|
|
|
1626
1626
|
)
|
|
1627
1627
|
]
|
|
1628
1628
|
}
|
|
1629
|
-
),
|
|
1629
|
+
), Z2 = ({
|
|
1630
1630
|
width: i = 248,
|
|
1631
1631
|
height: e = 248,
|
|
1632
1632
|
color: t = "#070739",
|
|
@@ -1663,7 +1663,7 @@ const qe = ({
|
|
|
1663
1663
|
)
|
|
1664
1664
|
]
|
|
1665
1665
|
}
|
|
1666
|
-
),
|
|
1666
|
+
), W2 = ({
|
|
1667
1667
|
width: i = 24,
|
|
1668
1668
|
height: e = 24,
|
|
1669
1669
|
color: t = "#001E52",
|
|
@@ -1702,7 +1702,7 @@ const qe = ({
|
|
|
1702
1702
|
)
|
|
1703
1703
|
]
|
|
1704
1704
|
}
|
|
1705
|
-
),
|
|
1705
|
+
), j2 = ({
|
|
1706
1706
|
width: i = 10,
|
|
1707
1707
|
height: e = 10,
|
|
1708
1708
|
color: t = "#001E52",
|
|
@@ -1731,7 +1731,7 @@ const qe = ({
|
|
|
1731
1731
|
)
|
|
1732
1732
|
]
|
|
1733
1733
|
}
|
|
1734
|
-
),
|
|
1734
|
+
), D2 = ({
|
|
1735
1735
|
width: i = 10,
|
|
1736
1736
|
height: e = 10,
|
|
1737
1737
|
color: t = "#001E52",
|
|
@@ -1768,7 +1768,7 @@ const qe = ({
|
|
|
1768
1768
|
)
|
|
1769
1769
|
]
|
|
1770
1770
|
}
|
|
1771
|
-
),
|
|
1771
|
+
), T2 = ({
|
|
1772
1772
|
width: i = 24,
|
|
1773
1773
|
height: e = 24,
|
|
1774
1774
|
color: t = v.GREY_DARK_5,
|
|
@@ -1807,7 +1807,7 @@ const qe = ({
|
|
|
1807
1807
|
)
|
|
1808
1808
|
]
|
|
1809
1809
|
}
|
|
1810
|
-
),
|
|
1810
|
+
), G2 = ({
|
|
1811
1811
|
width: i = 20,
|
|
1812
1812
|
height: e = 20,
|
|
1813
1813
|
color: t = v.GREY_DARK_1,
|
|
@@ -1840,7 +1840,7 @@ const qe = ({
|
|
|
1840
1840
|
)
|
|
1841
1841
|
]
|
|
1842
1842
|
}
|
|
1843
|
-
),
|
|
1843
|
+
), K2 = ({
|
|
1844
1844
|
width: i = 81,
|
|
1845
1845
|
height: e = 80,
|
|
1846
1846
|
color: t = v.GREY_DARK_5,
|
|
@@ -1889,7 +1889,7 @@ const qe = ({
|
|
|
1889
1889
|
)
|
|
1890
1890
|
]
|
|
1891
1891
|
}
|
|
1892
|
-
),
|
|
1892
|
+
), P2 = ({
|
|
1893
1893
|
className: i,
|
|
1894
1894
|
color: e = v.GREY_DARK_5,
|
|
1895
1895
|
height: t = 20,
|
|
@@ -1916,7 +1916,7 @@ const qe = ({
|
|
|
1916
1916
|
}
|
|
1917
1917
|
)
|
|
1918
1918
|
}
|
|
1919
|
-
),
|
|
1919
|
+
), $2 = ({
|
|
1920
1920
|
className: i,
|
|
1921
1921
|
color: e = v.GREY_DARK_5,
|
|
1922
1922
|
height: t = 20,
|
|
@@ -1943,7 +1943,7 @@ const qe = ({
|
|
|
1943
1943
|
}
|
|
1944
1944
|
)
|
|
1945
1945
|
}
|
|
1946
|
-
),
|
|
1946
|
+
), Y2 = ({
|
|
1947
1947
|
className: i,
|
|
1948
1948
|
color: e = v.GREY_DARK_5,
|
|
1949
1949
|
height: t = 5,
|
|
@@ -1967,7 +1967,7 @@ const qe = ({
|
|
|
1967
1967
|
}
|
|
1968
1968
|
)
|
|
1969
1969
|
}
|
|
1970
|
-
),
|
|
1970
|
+
), F2 = ({
|
|
1971
1971
|
className: i,
|
|
1972
1972
|
color: e = v.GREY_DARK_5,
|
|
1973
1973
|
height: t = 5,
|
|
@@ -1992,7 +1992,7 @@ const qe = ({
|
|
|
1992
1992
|
}
|
|
1993
1993
|
)
|
|
1994
1994
|
}
|
|
1995
|
-
),
|
|
1995
|
+
), U2 = ({
|
|
1996
1996
|
className: i,
|
|
1997
1997
|
color: e = v.GREY_DARK_5,
|
|
1998
1998
|
height: t = 24,
|
|
@@ -2031,7 +2031,7 @@ const qe = ({
|
|
|
2031
2031
|
)
|
|
2032
2032
|
]
|
|
2033
2033
|
}
|
|
2034
|
-
),
|
|
2034
|
+
), z2 = ({
|
|
2035
2035
|
className: i,
|
|
2036
2036
|
color: e = v.GREY_DARK_5,
|
|
2037
2037
|
height: t = 24,
|
|
@@ -2070,7 +2070,7 @@ const qe = ({
|
|
|
2070
2070
|
)
|
|
2071
2071
|
]
|
|
2072
2072
|
}
|
|
2073
|
-
),
|
|
2073
|
+
), J2 = ({
|
|
2074
2074
|
className: i,
|
|
2075
2075
|
color: e = v.GREY_DARK_5,
|
|
2076
2076
|
height: t = 24,
|
|
@@ -2097,7 +2097,7 @@ const qe = ({
|
|
|
2097
2097
|
}
|
|
2098
2098
|
)
|
|
2099
2099
|
}
|
|
2100
|
-
),
|
|
2100
|
+
), Q2 = ({
|
|
2101
2101
|
className: i,
|
|
2102
2102
|
color: e = v.GREY_DARK_5,
|
|
2103
2103
|
height: t = 24,
|
|
@@ -2193,7 +2193,7 @@ const qe = ({
|
|
|
2193
2193
|
)
|
|
2194
2194
|
]
|
|
2195
2195
|
}
|
|
2196
|
-
),
|
|
2196
|
+
), X2 = ({
|
|
2197
2197
|
className: i,
|
|
2198
2198
|
color: e = v.GREY_DARK_3,
|
|
2199
2199
|
height: t = 14,
|
|
@@ -2230,7 +2230,7 @@ const qe = ({
|
|
|
2230
2230
|
)
|
|
2231
2231
|
]
|
|
2232
2232
|
}
|
|
2233
|
-
),
|
|
2233
|
+
), et = ({
|
|
2234
2234
|
className: i,
|
|
2235
2235
|
color: e = v.GREY_DARK_5,
|
|
2236
2236
|
height: t = 18,
|
|
@@ -2257,7 +2257,7 @@ const qe = ({
|
|
|
2257
2257
|
}
|
|
2258
2258
|
)
|
|
2259
2259
|
}
|
|
2260
|
-
),
|
|
2260
|
+
), tt = ({
|
|
2261
2261
|
className: i,
|
|
2262
2262
|
color: e = v.GREY_DARK_5,
|
|
2263
2263
|
height: t = 24,
|
|
@@ -2309,7 +2309,7 @@ const qe = ({
|
|
|
2309
2309
|
)
|
|
2310
2310
|
]
|
|
2311
2311
|
}
|
|
2312
|
-
),
|
|
2312
|
+
), it = ({
|
|
2313
2313
|
className: i,
|
|
2314
2314
|
color: e = v.GREY_DARK_5,
|
|
2315
2315
|
height: t = 24,
|
|
@@ -2346,7 +2346,7 @@ const qe = ({
|
|
|
2346
2346
|
)
|
|
2347
2347
|
]
|
|
2348
2348
|
}
|
|
2349
|
-
),
|
|
2349
|
+
), st = ({
|
|
2350
2350
|
className: i,
|
|
2351
2351
|
color: e = v.NOTIFICATION_WARNING_DARK,
|
|
2352
2352
|
height: t = 37,
|
|
@@ -2385,7 +2385,7 @@ const qe = ({
|
|
|
2385
2385
|
)
|
|
2386
2386
|
]
|
|
2387
2387
|
}
|
|
2388
|
-
),
|
|
2388
|
+
), nt = ({
|
|
2389
2389
|
className: i,
|
|
2390
2390
|
color: e = v.GREY_DARK_5,
|
|
2391
2391
|
height: t = 24,
|
|
@@ -2411,7 +2411,7 @@ const qe = ({
|
|
|
2411
2411
|
}
|
|
2412
2412
|
)
|
|
2413
2413
|
}
|
|
2414
|
-
),
|
|
2414
|
+
), rt = ({
|
|
2415
2415
|
className: i,
|
|
2416
2416
|
color: e = v.GREY_DARK_5,
|
|
2417
2417
|
height: t = 24,
|
|
@@ -2450,7 +2450,7 @@ const qe = ({
|
|
|
2450
2450
|
)
|
|
2451
2451
|
]
|
|
2452
2452
|
}
|
|
2453
|
-
),
|
|
2453
|
+
), ot = ({
|
|
2454
2454
|
className: i,
|
|
2455
2455
|
color: e = v.GREY_DARK_5,
|
|
2456
2456
|
height: t = 24,
|
|
@@ -2489,7 +2489,7 @@ const qe = ({
|
|
|
2489
2489
|
)
|
|
2490
2490
|
]
|
|
2491
2491
|
}
|
|
2492
|
-
),
|
|
2492
|
+
), lt = ({
|
|
2493
2493
|
className: i,
|
|
2494
2494
|
color: e = v.GREY_DARK_5,
|
|
2495
2495
|
height: t = 24,
|
|
@@ -2558,7 +2558,7 @@ const qe = ({
|
|
|
2558
2558
|
)
|
|
2559
2559
|
]
|
|
2560
2560
|
}
|
|
2561
|
-
),
|
|
2561
|
+
), at = ({
|
|
2562
2562
|
className: i,
|
|
2563
2563
|
color: e = v.GREY_DARK_5,
|
|
2564
2564
|
height: t = 24,
|
|
@@ -2597,7 +2597,7 @@ const qe = ({
|
|
|
2597
2597
|
)
|
|
2598
2598
|
]
|
|
2599
2599
|
}
|
|
2600
|
-
),
|
|
2600
|
+
), ht = ({
|
|
2601
2601
|
className: i,
|
|
2602
2602
|
color: e = v.GREY_DARK_5,
|
|
2603
2603
|
height: t = 24,
|
|
@@ -2654,7 +2654,7 @@ const qe = ({
|
|
|
2654
2654
|
)
|
|
2655
2655
|
]
|
|
2656
2656
|
}
|
|
2657
|
-
),
|
|
2657
|
+
), ct = ({
|
|
2658
2658
|
className: i,
|
|
2659
2659
|
color: e = v.GREY_DARK_5,
|
|
2660
2660
|
height: t = 24,
|
|
@@ -2693,7 +2693,7 @@ const qe = ({
|
|
|
2693
2693
|
)
|
|
2694
2694
|
]
|
|
2695
2695
|
}
|
|
2696
|
-
),
|
|
2696
|
+
), dt = ({
|
|
2697
2697
|
className: i,
|
|
2698
2698
|
color: e = v.GREY_DARK_5,
|
|
2699
2699
|
height: t = 24,
|
|
@@ -2742,7 +2742,7 @@ const qe = ({
|
|
|
2742
2742
|
)
|
|
2743
2743
|
]
|
|
2744
2744
|
}
|
|
2745
|
-
),
|
|
2745
|
+
), gt = ({
|
|
2746
2746
|
className: i,
|
|
2747
2747
|
color: e = v.GREY_DARK_5,
|
|
2748
2748
|
height: t = 24,
|
|
@@ -2781,7 +2781,7 @@ const qe = ({
|
|
|
2781
2781
|
)
|
|
2782
2782
|
]
|
|
2783
2783
|
}
|
|
2784
|
-
),
|
|
2784
|
+
), Ct = ({
|
|
2785
2785
|
className: i,
|
|
2786
2786
|
color: e = v.GREY_DARK_5,
|
|
2787
2787
|
height: t = 24,
|
|
@@ -2808,7 +2808,7 @@ const qe = ({
|
|
|
2808
2808
|
}
|
|
2809
2809
|
)
|
|
2810
2810
|
}
|
|
2811
|
-
),
|
|
2811
|
+
), ut = ({
|
|
2812
2812
|
className: i,
|
|
2813
2813
|
color: e = v.GREY_DARK_5,
|
|
2814
2814
|
height: t = 24,
|
|
@@ -2846,7 +2846,7 @@ const qe = ({
|
|
|
2846
2846
|
)
|
|
2847
2847
|
]
|
|
2848
2848
|
}
|
|
2849
|
-
),
|
|
2849
|
+
), pt = ({
|
|
2850
2850
|
className: i,
|
|
2851
2851
|
color: e = v.GREY_DARK_5,
|
|
2852
2852
|
height: t = 24,
|
|
@@ -2867,7 +2867,7 @@ const qe = ({
|
|
|
2867
2867
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
2868
2868
|
]
|
|
2869
2869
|
}
|
|
2870
|
-
),
|
|
2870
|
+
), ft = ({
|
|
2871
2871
|
className: i,
|
|
2872
2872
|
color: e = v.GREY_DARK_5,
|
|
2873
2873
|
height: t = 24,
|
|
@@ -2906,7 +2906,7 @@ const qe = ({
|
|
|
2906
2906
|
)
|
|
2907
2907
|
]
|
|
2908
2908
|
}
|
|
2909
|
-
),
|
|
2909
|
+
), wt = ({
|
|
2910
2910
|
className: i,
|
|
2911
2911
|
color: e = v.GREY_DARK_5,
|
|
2912
2912
|
height: t = 24,
|
|
@@ -2945,7 +2945,7 @@ const qe = ({
|
|
|
2945
2945
|
)
|
|
2946
2946
|
]
|
|
2947
2947
|
}
|
|
2948
|
-
),
|
|
2948
|
+
), mt = ({
|
|
2949
2949
|
className: i,
|
|
2950
2950
|
color: e = v.GREY_DARK_5,
|
|
2951
2951
|
height: t = 24,
|
|
@@ -2984,7 +2984,7 @@ const qe = ({
|
|
|
2984
2984
|
)
|
|
2985
2985
|
]
|
|
2986
2986
|
}
|
|
2987
|
-
),
|
|
2987
|
+
), kt = ({
|
|
2988
2988
|
className: i,
|
|
2989
2989
|
color: e = v.GREY_DARK_2,
|
|
2990
2990
|
height: t = 16,
|
|
@@ -3010,7 +3010,7 @@ const qe = ({
|
|
|
3010
3010
|
}
|
|
3011
3011
|
)
|
|
3012
3012
|
}
|
|
3013
|
-
),
|
|
3013
|
+
), Lt = ({
|
|
3014
3014
|
className: i,
|
|
3015
3015
|
color: e = v.GREY_DARK_5,
|
|
3016
3016
|
height: t = 20,
|
|
@@ -3039,7 +3039,7 @@ const qe = ({
|
|
|
3039
3039
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3040
3040
|
]
|
|
3041
3041
|
}
|
|
3042
|
-
),
|
|
3042
|
+
), vt = ({
|
|
3043
3043
|
className: i,
|
|
3044
3044
|
color: e = v.GREY_DARK_5,
|
|
3045
3045
|
height: t = 20,
|
|
@@ -3068,7 +3068,7 @@ const qe = ({
|
|
|
3068
3068
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
3069
3069
|
]
|
|
3070
3070
|
}
|
|
3071
|
-
),
|
|
3071
|
+
), Nt = ({
|
|
3072
3072
|
className: i,
|
|
3073
3073
|
color: e = v.GREY_DARK_5,
|
|
3074
3074
|
height: t = 20,
|
|
@@ -3097,7 +3097,7 @@ const qe = ({
|
|
|
3097
3097
|
)
|
|
3098
3098
|
]
|
|
3099
3099
|
}
|
|
3100
|
-
),
|
|
3100
|
+
), xt = ({
|
|
3101
3101
|
className: i,
|
|
3102
3102
|
color: e = v.GREY_DARK_5,
|
|
3103
3103
|
height: t = 20,
|
|
@@ -3126,7 +3126,7 @@ const qe = ({
|
|
|
3126
3126
|
)
|
|
3127
3127
|
]
|
|
3128
3128
|
}
|
|
3129
|
-
),
|
|
3129
|
+
), Mt = ({
|
|
3130
3130
|
className: i,
|
|
3131
3131
|
color: e = "#001E52",
|
|
3132
3132
|
height: t = 24,
|
|
@@ -3152,7 +3152,7 @@ const qe = ({
|
|
|
3152
3152
|
}
|
|
3153
3153
|
)
|
|
3154
3154
|
}
|
|
3155
|
-
),
|
|
3155
|
+
), Rt = ({
|
|
3156
3156
|
className: i,
|
|
3157
3157
|
color: e = "#131314",
|
|
3158
3158
|
height: t = 20,
|
|
@@ -3180,7 +3180,7 @@ const qe = ({
|
|
|
3180
3180
|
}
|
|
3181
3181
|
)
|
|
3182
3182
|
}
|
|
3183
|
-
),
|
|
3183
|
+
), yt = ({
|
|
3184
3184
|
className: i,
|
|
3185
3185
|
color: e = "#001E52",
|
|
3186
3186
|
height: t = 24,
|
|
@@ -3218,7 +3218,7 @@ const qe = ({
|
|
|
3218
3218
|
)
|
|
3219
3219
|
] }) })
|
|
3220
3220
|
}
|
|
3221
|
-
),
|
|
3221
|
+
), bt = ({
|
|
3222
3222
|
width: i = 20,
|
|
3223
3223
|
height: e = 20,
|
|
3224
3224
|
color: t = "#001E52",
|
|
@@ -3274,7 +3274,7 @@ const qe = ({
|
|
|
3274
3274
|
}
|
|
3275
3275
|
)
|
|
3276
3276
|
}
|
|
3277
|
-
),
|
|
3277
|
+
), _t = ({
|
|
3278
3278
|
width: i = 24,
|
|
3279
3279
|
height: e = 24,
|
|
3280
3280
|
color: t = "#131314",
|
|
@@ -3307,7 +3307,7 @@ const qe = ({
|
|
|
3307
3307
|
)
|
|
3308
3308
|
]
|
|
3309
3309
|
}
|
|
3310
|
-
),
|
|
3310
|
+
), Vt = ({
|
|
3311
3311
|
width: i = 24,
|
|
3312
3312
|
height: e = 24,
|
|
3313
3313
|
color: t = v.GREY_DARK_2,
|
|
@@ -3346,7 +3346,7 @@ const qe = ({
|
|
|
3346
3346
|
)
|
|
3347
3347
|
]
|
|
3348
3348
|
}
|
|
3349
|
-
),
|
|
3349
|
+
), Et = ({
|
|
3350
3350
|
width: i = 24,
|
|
3351
3351
|
height: e = 24,
|
|
3352
3352
|
color: t = v.GREY_DARK_2,
|
|
@@ -3373,7 +3373,7 @@ const qe = ({
|
|
|
3373
3373
|
}
|
|
3374
3374
|
)
|
|
3375
3375
|
}
|
|
3376
|
-
),
|
|
3376
|
+
), Ht = ({
|
|
3377
3377
|
width: i = 24,
|
|
3378
3378
|
height: e = 24,
|
|
3379
3379
|
color: t = v.GREY_DARK_2,
|
|
@@ -3413,7 +3413,7 @@ const qe = ({
|
|
|
3413
3413
|
)
|
|
3414
3414
|
]
|
|
3415
3415
|
}
|
|
3416
|
-
),
|
|
3416
|
+
), It = ({
|
|
3417
3417
|
width: i = 24,
|
|
3418
3418
|
height: e = 24,
|
|
3419
3419
|
color: t = v.GREY_DARK_2,
|
|
@@ -3440,7 +3440,7 @@ const qe = ({
|
|
|
3440
3440
|
}
|
|
3441
3441
|
)
|
|
3442
3442
|
}
|
|
3443
|
-
),
|
|
3443
|
+
), Ot = ({
|
|
3444
3444
|
width: i = 24,
|
|
3445
3445
|
height: e = 24,
|
|
3446
3446
|
color: t = v.GREY_DARK_2,
|
|
@@ -3467,7 +3467,7 @@ const qe = ({
|
|
|
3467
3467
|
}
|
|
3468
3468
|
)
|
|
3469
3469
|
}
|
|
3470
|
-
),
|
|
3470
|
+
), C1 = ({
|
|
3471
3471
|
name: i,
|
|
3472
3472
|
width: e,
|
|
3473
3473
|
height: t,
|
|
@@ -3476,49 +3476,49 @@ const qe = ({
|
|
|
3476
3476
|
disabled: l = !1,
|
|
3477
3477
|
onClick: c
|
|
3478
3478
|
}) => {
|
|
3479
|
-
const [o, d] =
|
|
3479
|
+
const [o, d] = j(n), { theme: g } = r1(ce), a = l ? g && g === "dark" ? v.GREY_LIGHT_4 : v.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
3480
3480
|
return G(() => {
|
|
3481
3481
|
if (n) {
|
|
3482
3482
|
h && !l && d(`${n} clickable`);
|
|
3483
3483
|
return;
|
|
3484
3484
|
}
|
|
3485
3485
|
h && !l && d("clickable");
|
|
3486
|
-
}, [h, n, l]), /* @__PURE__ */ r(
|
|
3486
|
+
}, [h, n, l]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
3487
3487
|
switch (i) {
|
|
3488
3488
|
case "nextIcon":
|
|
3489
|
-
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3490
|
-
case "prevIcon":
|
|
3491
3489
|
return P2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3490
|
+
case "prevIcon":
|
|
3491
|
+
return $2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3492
3492
|
case "arrowUp":
|
|
3493
3493
|
return qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3494
3494
|
case "arrowDown":
|
|
3495
|
-
return Qe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3496
|
-
case "info":
|
|
3497
3495
|
return Xe({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3498
|
-
case "
|
|
3496
|
+
case "info":
|
|
3499
3497
|
return e2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3500
|
-
case "
|
|
3498
|
+
case "arrowRight":
|
|
3501
3499
|
return t2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3502
|
-
case "
|
|
3500
|
+
case "calendar":
|
|
3503
3501
|
return i2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3504
|
-
case "
|
|
3502
|
+
case "ok":
|
|
3505
3503
|
return s2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3506
|
-
case "
|
|
3504
|
+
case "cancel":
|
|
3507
3505
|
return n2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3508
|
-
case "
|
|
3506
|
+
case "add":
|
|
3509
3507
|
return r2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3510
|
-
case "
|
|
3508
|
+
case "list":
|
|
3511
3509
|
return o2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3512
|
-
case "
|
|
3510
|
+
case "dragAndDrop":
|
|
3513
3511
|
return l2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3514
|
-
case "
|
|
3512
|
+
case "filter":
|
|
3515
3513
|
return a2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3516
|
-
case "
|
|
3514
|
+
case "attention":
|
|
3517
3515
|
return h2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3518
|
-
case "
|
|
3516
|
+
case "plus":
|
|
3519
3517
|
return c2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3518
|
+
case "time":
|
|
3519
|
+
return d2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3520
3520
|
case "arrowDownLong":
|
|
3521
|
-
return
|
|
3521
|
+
return g2({
|
|
3522
3522
|
width: e,
|
|
3523
3523
|
height: t,
|
|
3524
3524
|
color: a,
|
|
@@ -3526,9 +3526,9 @@ const qe = ({
|
|
|
3526
3526
|
onClick: h
|
|
3527
3527
|
});
|
|
3528
3528
|
case "users":
|
|
3529
|
-
return
|
|
3529
|
+
return C2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3530
3530
|
case "mySkillsMatrix":
|
|
3531
|
-
return
|
|
3531
|
+
return u2({
|
|
3532
3532
|
width: e,
|
|
3533
3533
|
height: t,
|
|
3534
3534
|
color: a,
|
|
@@ -3536,9 +3536,9 @@ const qe = ({
|
|
|
3536
3536
|
onClick: h
|
|
3537
3537
|
});
|
|
3538
3538
|
case "skills":
|
|
3539
|
-
return
|
|
3539
|
+
return p2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3540
3540
|
case "skillsMatrices":
|
|
3541
|
-
return
|
|
3541
|
+
return f2({
|
|
3542
3542
|
width: e,
|
|
3543
3543
|
height: t,
|
|
3544
3544
|
color: a,
|
|
@@ -3546,23 +3546,23 @@ const qe = ({
|
|
|
3546
3546
|
onClick: h
|
|
3547
3547
|
});
|
|
3548
3548
|
case "history":
|
|
3549
|
-
return f2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3550
|
-
case "logOut":
|
|
3551
3549
|
return w2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3552
|
-
case "
|
|
3550
|
+
case "logOut":
|
|
3553
3551
|
return m2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3554
|
-
case "
|
|
3552
|
+
case "settings":
|
|
3555
3553
|
return k2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3556
|
-
case "
|
|
3554
|
+
case "addSkill":
|
|
3557
3555
|
return L2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3558
|
-
case "
|
|
3556
|
+
case "conversation":
|
|
3559
3557
|
return v2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3560
|
-
case "
|
|
3558
|
+
case "trash":
|
|
3561
3559
|
return N2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3562
|
-
case "
|
|
3560
|
+
case "settings4":
|
|
3563
3561
|
return x2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3562
|
+
case "edit2":
|
|
3563
|
+
return M2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3564
3564
|
case "notifications":
|
|
3565
|
-
return
|
|
3565
|
+
return R2({
|
|
3566
3566
|
width: e,
|
|
3567
3567
|
height: t,
|
|
3568
3568
|
color: a,
|
|
@@ -3570,9 +3570,9 @@ const qe = ({
|
|
|
3570
3570
|
onClick: h
|
|
3571
3571
|
});
|
|
3572
3572
|
case "success":
|
|
3573
|
-
return
|
|
3573
|
+
return y2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3574
3574
|
case "attentionSmall":
|
|
3575
|
-
return
|
|
3575
|
+
return b2({
|
|
3576
3576
|
width: e,
|
|
3577
3577
|
height: t,
|
|
3578
3578
|
color: a,
|
|
@@ -3580,11 +3580,11 @@ const qe = ({
|
|
|
3580
3580
|
onClick: h
|
|
3581
3581
|
});
|
|
3582
3582
|
case "errorSmall":
|
|
3583
|
-
return b2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3584
|
-
case "infoMedium":
|
|
3585
3583
|
return _2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3584
|
+
case "infoMedium":
|
|
3585
|
+
return V2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3586
3586
|
case "attentionMedium":
|
|
3587
|
-
return
|
|
3587
|
+
return E2({
|
|
3588
3588
|
width: e,
|
|
3589
3589
|
height: t,
|
|
3590
3590
|
color: a,
|
|
@@ -3592,9 +3592,9 @@ const qe = ({
|
|
|
3592
3592
|
onClick: h
|
|
3593
3593
|
});
|
|
3594
3594
|
case "errorMedium":
|
|
3595
|
-
return
|
|
3595
|
+
return H2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3596
3596
|
case "faviconSkills":
|
|
3597
|
-
return
|
|
3597
|
+
return Z2({
|
|
3598
3598
|
width: e,
|
|
3599
3599
|
height: t,
|
|
3600
3600
|
color: a,
|
|
@@ -3602,7 +3602,7 @@ const qe = ({
|
|
|
3602
3602
|
onClick: h
|
|
3603
3603
|
});
|
|
3604
3604
|
case "visibilityIcon":
|
|
3605
|
-
return
|
|
3605
|
+
return I2({
|
|
3606
3606
|
width: e,
|
|
3607
3607
|
height: t,
|
|
3608
3608
|
color: a,
|
|
@@ -3610,7 +3610,7 @@ const qe = ({
|
|
|
3610
3610
|
onClick: h
|
|
3611
3611
|
});
|
|
3612
3612
|
case "visibilityOffIcon":
|
|
3613
|
-
return
|
|
3613
|
+
return O2({
|
|
3614
3614
|
width: e,
|
|
3615
3615
|
height: t,
|
|
3616
3616
|
color: a,
|
|
@@ -3618,7 +3618,7 @@ const qe = ({
|
|
|
3618
3618
|
onClick: h
|
|
3619
3619
|
});
|
|
3620
3620
|
case "selectArrowIcon":
|
|
3621
|
-
return
|
|
3621
|
+
return S2({
|
|
3622
3622
|
width: e,
|
|
3623
3623
|
height: t,
|
|
3624
3624
|
color: a,
|
|
@@ -3626,7 +3626,7 @@ const qe = ({
|
|
|
3626
3626
|
onClick: h
|
|
3627
3627
|
});
|
|
3628
3628
|
case "expandArrowIcon":
|
|
3629
|
-
return
|
|
3629
|
+
return A2({
|
|
3630
3630
|
width: e,
|
|
3631
3631
|
height: t,
|
|
3632
3632
|
color: a,
|
|
@@ -3634,7 +3634,7 @@ const qe = ({
|
|
|
3634
3634
|
onClick: h
|
|
3635
3635
|
});
|
|
3636
3636
|
case "expandActiveArrowIcon":
|
|
3637
|
-
return
|
|
3637
|
+
return B2({
|
|
3638
3638
|
width: e,
|
|
3639
3639
|
height: t,
|
|
3640
3640
|
color: a,
|
|
@@ -3642,111 +3642,111 @@ const qe = ({
|
|
|
3642
3642
|
onClick: h
|
|
3643
3643
|
});
|
|
3644
3644
|
case "camera":
|
|
3645
|
-
return Z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3646
|
-
case "sortUp":
|
|
3647
3645
|
return W2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3648
|
-
case "
|
|
3646
|
+
case "sortUp":
|
|
3649
3647
|
return j2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3650
|
-
case "
|
|
3648
|
+
case "sortDown":
|
|
3651
3649
|
return D2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3652
|
-
case "
|
|
3650
|
+
case "logOut2":
|
|
3653
3651
|
return T2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3654
|
-
case "
|
|
3652
|
+
case "search":
|
|
3655
3653
|
return G2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3654
|
+
case "handRock":
|
|
3655
|
+
return K2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3656
3656
|
case "arrowUpFilled":
|
|
3657
|
-
return
|
|
3657
|
+
return F2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3658
3658
|
case "arrowDownFilled":
|
|
3659
|
-
return
|
|
3659
|
+
return Y2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3660
3660
|
case "link":
|
|
3661
|
-
return
|
|
3661
|
+
return U2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3662
3662
|
case "telegram":
|
|
3663
|
-
return
|
|
3663
|
+
return J2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3664
3664
|
case "mail":
|
|
3665
3665
|
return q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3666
3666
|
case "github":
|
|
3667
|
-
return
|
|
3667
|
+
return z2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3668
3668
|
case "linkedIn":
|
|
3669
|
-
return J2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3670
|
-
case "emptyStateIcon":
|
|
3671
3669
|
return Q2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3672
|
-
case "
|
|
3670
|
+
case "emptyStateIcon":
|
|
3673
3671
|
return X2({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3674
|
-
case "
|
|
3672
|
+
case "filtersIcon":
|
|
3675
3673
|
return et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3676
|
-
case "
|
|
3674
|
+
case "dotMenuIcon":
|
|
3677
3675
|
return tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3678
|
-
case "
|
|
3676
|
+
case "plusCircle":
|
|
3679
3677
|
return it({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3680
|
-
case "
|
|
3678
|
+
case "warning":
|
|
3681
3679
|
return st({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3682
|
-
case "
|
|
3680
|
+
case "back":
|
|
3683
3681
|
return nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3682
|
+
case "bell":
|
|
3683
|
+
return rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3684
3684
|
case "contract":
|
|
3685
|
-
return
|
|
3685
|
+
return lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3686
3686
|
case "trash2":
|
|
3687
|
-
return
|
|
3687
|
+
return ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3688
3688
|
case "manager":
|
|
3689
|
-
return lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3690
|
-
case "resourceManager":
|
|
3691
3689
|
return at({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3692
|
-
case "
|
|
3690
|
+
case "resourceManager":
|
|
3693
3691
|
return ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3694
|
-
case "
|
|
3692
|
+
case "settings2":
|
|
3695
3693
|
return ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3696
|
-
case "
|
|
3694
|
+
case "image":
|
|
3697
3695
|
return dt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3698
|
-
case "
|
|
3696
|
+
case "upload":
|
|
3699
3697
|
return gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3700
|
-
case "
|
|
3698
|
+
case "edit":
|
|
3701
3699
|
return Ct({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3702
|
-
case "
|
|
3700
|
+
case "location":
|
|
3703
3701
|
return ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3704
|
-
case "
|
|
3702
|
+
case "plus2":
|
|
3705
3703
|
return pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3706
|
-
case "
|
|
3704
|
+
case "search2":
|
|
3707
3705
|
return ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3708
|
-
case "
|
|
3706
|
+
case "fastArrowLeft":
|
|
3709
3707
|
return wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3710
|
-
case "
|
|
3708
|
+
case "fastArrowRight":
|
|
3711
3709
|
return mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3710
|
+
case "crossInCircle":
|
|
3711
|
+
return kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3712
3712
|
case "arrowUp2":
|
|
3713
|
-
return
|
|
3713
|
+
return vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3714
3714
|
case "arrowDown2":
|
|
3715
|
-
return
|
|
3715
|
+
return Lt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3716
3716
|
case "filledArrowLeft":
|
|
3717
|
-
return vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3718
|
-
case "filledArrowRight":
|
|
3719
3717
|
return Nt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3720
|
-
case "
|
|
3718
|
+
case "filledArrowRight":
|
|
3721
3719
|
return xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3722
|
-
case "
|
|
3720
|
+
case "burgerMenu":
|
|
3723
3721
|
return Mt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3724
|
-
case "
|
|
3722
|
+
case "signOut":
|
|
3725
3723
|
return Rt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3726
|
-
case "
|
|
3724
|
+
case "refresh":
|
|
3727
3725
|
return yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3728
|
-
case "
|
|
3726
|
+
case "projects":
|
|
3729
3727
|
return bt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3730
|
-
case "
|
|
3728
|
+
case "exit":
|
|
3731
3729
|
return _t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3732
|
-
case "
|
|
3730
|
+
case "client":
|
|
3733
3731
|
return Vt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3734
|
-
case "
|
|
3732
|
+
case "calendar2":
|
|
3735
3733
|
return Et({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3736
|
-
case "
|
|
3734
|
+
case "openPointCircle":
|
|
3737
3735
|
return Ht({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3738
|
-
case "
|
|
3736
|
+
case "community":
|
|
3739
3737
|
return It({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3738
|
+
case "docs":
|
|
3739
|
+
return Ot({ width: e, height: t, color: a, className: o, onClick: h });
|
|
3740
3740
|
default:
|
|
3741
|
-
return /* @__PURE__ */ r(
|
|
3741
|
+
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
3742
3742
|
}
|
|
3743
3743
|
})() });
|
|
3744
|
-
}, { Title:
|
|
3744
|
+
}, { Title: St, Text: At } = le, Bt = {
|
|
3745
3745
|
h1: 1,
|
|
3746
3746
|
h2: 2,
|
|
3747
3747
|
h3: 3,
|
|
3748
3748
|
h4: 4
|
|
3749
|
-
},
|
|
3749
|
+
}, Zt = k1(
|
|
3750
3750
|
({
|
|
3751
3751
|
align: i = "inherit",
|
|
3752
3752
|
variant: e = "body1",
|
|
@@ -3759,17 +3759,17 @@ const qe = ({
|
|
|
3759
3759
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
3760
3760
|
let g = `snmt-typography snmt-typography-${e}`;
|
|
3761
3761
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
3762
|
-
|
|
3762
|
+
St,
|
|
3763
3763
|
{
|
|
3764
3764
|
className: g,
|
|
3765
3765
|
style: { color: t, whiteSpace: c },
|
|
3766
3766
|
onClick: n,
|
|
3767
|
-
level:
|
|
3767
|
+
level: Bt[e],
|
|
3768
3768
|
ref: o,
|
|
3769
3769
|
children: s
|
|
3770
3770
|
}
|
|
3771
3771
|
) : /* @__PURE__ */ r(
|
|
3772
|
-
|
|
3772
|
+
At,
|
|
3773
3773
|
{
|
|
3774
3774
|
className: g,
|
|
3775
3775
|
style: { color: t, whiteSpace: c },
|
|
@@ -3781,12 +3781,12 @@ const qe = ({
|
|
|
3781
3781
|
}
|
|
3782
3782
|
);
|
|
3783
3783
|
var N = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(N || {});
|
|
3784
|
-
const
|
|
3784
|
+
const de = d1({
|
|
3785
3785
|
locale: "en",
|
|
3786
3786
|
theme: "light"
|
|
3787
3787
|
});
|
|
3788
|
-
|
|
3789
|
-
const
|
|
3788
|
+
de.Provider;
|
|
3789
|
+
const Wt = ({
|
|
3790
3790
|
width: i = 20,
|
|
3791
3791
|
height: e = 20,
|
|
3792
3792
|
color: t = "#001E52",
|
|
@@ -3813,7 +3813,7 @@ const Zt = ({
|
|
|
3813
3813
|
}
|
|
3814
3814
|
)
|
|
3815
3815
|
}
|
|
3816
|
-
),
|
|
3816
|
+
), jt = ({
|
|
3817
3817
|
width: i = 20,
|
|
3818
3818
|
height: e = 20,
|
|
3819
3819
|
color: t = "#001E52",
|
|
@@ -3840,7 +3840,7 @@ const Zt = ({
|
|
|
3840
3840
|
}
|
|
3841
3841
|
)
|
|
3842
3842
|
}
|
|
3843
|
-
),
|
|
3843
|
+
), Dt = ({
|
|
3844
3844
|
width: i = 16,
|
|
3845
3845
|
height: e = 16,
|
|
3846
3846
|
color: t = "#001E52",
|
|
@@ -3868,7 +3868,7 @@ const Zt = ({
|
|
|
3868
3868
|
)
|
|
3869
3869
|
]
|
|
3870
3870
|
}
|
|
3871
|
-
),
|
|
3871
|
+
), Tt = ({
|
|
3872
3872
|
width: i = 20,
|
|
3873
3873
|
height: e = 20,
|
|
3874
3874
|
color: t = "#001E52",
|
|
@@ -3903,7 +3903,7 @@ const Zt = ({
|
|
|
3903
3903
|
)
|
|
3904
3904
|
]
|
|
3905
3905
|
}
|
|
3906
|
-
),
|
|
3906
|
+
), Gt = ({
|
|
3907
3907
|
width: i = 18,
|
|
3908
3908
|
height: e = 18,
|
|
3909
3909
|
color: t = "#001E52",
|
|
@@ -3942,7 +3942,7 @@ const Zt = ({
|
|
|
3942
3942
|
)
|
|
3943
3943
|
]
|
|
3944
3944
|
}
|
|
3945
|
-
),
|
|
3945
|
+
), Kt = ({
|
|
3946
3946
|
width: i = 20,
|
|
3947
3947
|
height: e = 20,
|
|
3948
3948
|
color: t = "#001E52",
|
|
@@ -3968,7 +3968,7 @@ const Zt = ({
|
|
|
3968
3968
|
}
|
|
3969
3969
|
)
|
|
3970
3970
|
}
|
|
3971
|
-
),
|
|
3971
|
+
), Pt = ({
|
|
3972
3972
|
width: i = 20,
|
|
3973
3973
|
height: e = 20,
|
|
3974
3974
|
color: t = "#001E52",
|
|
@@ -3989,7 +3989,7 @@ const Zt = ({
|
|
|
3989
3989
|
/* @__PURE__ */ r("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
|
3990
3990
|
]
|
|
3991
3991
|
}
|
|
3992
|
-
),
|
|
3992
|
+
), $t = ({
|
|
3993
3993
|
width: i = 20,
|
|
3994
3994
|
height: e = 20,
|
|
3995
3995
|
color: t = "#001E52",
|
|
@@ -4021,7 +4021,7 @@ const Zt = ({
|
|
|
4021
4021
|
)
|
|
4022
4022
|
]
|
|
4023
4023
|
}
|
|
4024
|
-
),
|
|
4024
|
+
), Yt = ({
|
|
4025
4025
|
width: i = 20,
|
|
4026
4026
|
height: e = 20,
|
|
4027
4027
|
color: t = "#001E52",
|
|
@@ -4075,7 +4075,7 @@ const Zt = ({
|
|
|
4075
4075
|
)
|
|
4076
4076
|
]
|
|
4077
4077
|
}
|
|
4078
|
-
),
|
|
4078
|
+
), Ft = ({
|
|
4079
4079
|
width: i = 20,
|
|
4080
4080
|
height: e = 20,
|
|
4081
4081
|
color: t = "#001E52",
|
|
@@ -4114,7 +4114,7 @@ const Zt = ({
|
|
|
4114
4114
|
/* @__PURE__ */ r("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
|
4115
4115
|
]
|
|
4116
4116
|
}
|
|
4117
|
-
),
|
|
4117
|
+
), Ut = ({
|
|
4118
4118
|
width: i = 16,
|
|
4119
4119
|
height: e = 12,
|
|
4120
4120
|
color: t = "#001E52",
|
|
@@ -4163,7 +4163,7 @@ const Zt = ({
|
|
|
4163
4163
|
)
|
|
4164
4164
|
] })
|
|
4165
4165
|
}
|
|
4166
|
-
),
|
|
4166
|
+
), zt = ({
|
|
4167
4167
|
width: i = 16,
|
|
4168
4168
|
height: e = 16,
|
|
4169
4169
|
color: t = "#001E52",
|
|
@@ -4197,7 +4197,7 @@ const Zt = ({
|
|
|
4197
4197
|
)
|
|
4198
4198
|
]
|
|
4199
4199
|
}
|
|
4200
|
-
),
|
|
4200
|
+
), Jt = ({
|
|
4201
4201
|
width: i = 10,
|
|
4202
4202
|
height: e = 10,
|
|
4203
4203
|
color: t = "#001E52",
|
|
@@ -4236,7 +4236,7 @@ const Zt = ({
|
|
|
4236
4236
|
)
|
|
4237
4237
|
] })
|
|
4238
4238
|
}
|
|
4239
|
-
),
|
|
4239
|
+
), Qt = ({
|
|
4240
4240
|
width: i = 16,
|
|
4241
4241
|
height: e = 16,
|
|
4242
4242
|
color: t = "#001E52",
|
|
@@ -4310,7 +4310,7 @@ const Zt = ({
|
|
|
4310
4310
|
/* @__PURE__ */ r("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
|
4311
4311
|
]
|
|
4312
4312
|
}
|
|
4313
|
-
),
|
|
4313
|
+
), Xt = ({
|
|
4314
4314
|
width: i = 20,
|
|
4315
4315
|
height: e = 20,
|
|
4316
4316
|
color: t = "#001E52",
|
|
@@ -4357,7 +4357,7 @@ const Zt = ({
|
|
|
4357
4357
|
)
|
|
4358
4358
|
]
|
|
4359
4359
|
}
|
|
4360
|
-
),
|
|
4360
|
+
), e5 = ({
|
|
4361
4361
|
width: i = 20,
|
|
4362
4362
|
height: e = 20,
|
|
4363
4363
|
color: t = "#001E52",
|
|
@@ -4390,7 +4390,7 @@ const Zt = ({
|
|
|
4390
4390
|
)
|
|
4391
4391
|
]
|
|
4392
4392
|
}
|
|
4393
|
-
),
|
|
4393
|
+
), t5 = ({
|
|
4394
4394
|
width: i = 20,
|
|
4395
4395
|
height: e = 20,
|
|
4396
4396
|
color: t = "#001E52",
|
|
@@ -4437,7 +4437,7 @@ const Zt = ({
|
|
|
4437
4437
|
)
|
|
4438
4438
|
]
|
|
4439
4439
|
}
|
|
4440
|
-
),
|
|
4440
|
+
), i5 = ({
|
|
4441
4441
|
width: i = 20,
|
|
4442
4442
|
height: e = 20,
|
|
4443
4443
|
color: t = "#001E52",
|
|
@@ -4470,7 +4470,7 @@ const Zt = ({
|
|
|
4470
4470
|
)
|
|
4471
4471
|
]
|
|
4472
4472
|
}
|
|
4473
|
-
),
|
|
4473
|
+
), s5 = ({
|
|
4474
4474
|
width: i = 18,
|
|
4475
4475
|
height: e = 16,
|
|
4476
4476
|
color: t = "#001E52",
|
|
@@ -4509,7 +4509,7 @@ const Zt = ({
|
|
|
4509
4509
|
)
|
|
4510
4510
|
]
|
|
4511
4511
|
}
|
|
4512
|
-
),
|
|
4512
|
+
), n5 = ({
|
|
4513
4513
|
width: i = 20,
|
|
4514
4514
|
height: e = 20,
|
|
4515
4515
|
color: t = "#001E52",
|
|
@@ -4542,7 +4542,7 @@ const Zt = ({
|
|
|
4542
4542
|
)
|
|
4543
4543
|
]
|
|
4544
4544
|
}
|
|
4545
|
-
),
|
|
4545
|
+
), r5 = ({
|
|
4546
4546
|
width: i = 20,
|
|
4547
4547
|
height: e = 20,
|
|
4548
4548
|
color: t = "#001E52",
|
|
@@ -4566,7 +4566,7 @@ const Zt = ({
|
|
|
4566
4566
|
}
|
|
4567
4567
|
)
|
|
4568
4568
|
}
|
|
4569
|
-
),
|
|
4569
|
+
), o5 = ({
|
|
4570
4570
|
width: i = 20,
|
|
4571
4571
|
height: e = 20,
|
|
4572
4572
|
color: t = "#001E52",
|
|
@@ -4613,7 +4613,7 @@ const Zt = ({
|
|
|
4613
4613
|
)
|
|
4614
4614
|
]
|
|
4615
4615
|
}
|
|
4616
|
-
),
|
|
4616
|
+
), l5 = ({
|
|
4617
4617
|
width: i = 20,
|
|
4618
4618
|
height: e = 20,
|
|
4619
4619
|
color: t = "#001E52",
|
|
@@ -4646,7 +4646,7 @@ const Zt = ({
|
|
|
4646
4646
|
)
|
|
4647
4647
|
]
|
|
4648
4648
|
}
|
|
4649
|
-
),
|
|
4649
|
+
), a5 = ({
|
|
4650
4650
|
width: i = 20,
|
|
4651
4651
|
height: e = 20,
|
|
4652
4652
|
color: t = "#001E52",
|
|
@@ -4679,7 +4679,7 @@ const Zt = ({
|
|
|
4679
4679
|
)
|
|
4680
4680
|
]
|
|
4681
4681
|
}
|
|
4682
|
-
),
|
|
4682
|
+
), h5 = ({
|
|
4683
4683
|
width: i = 20,
|
|
4684
4684
|
height: e = 23,
|
|
4685
4685
|
color: t = "#001E52",
|
|
@@ -4740,7 +4740,7 @@ const Zt = ({
|
|
|
4740
4740
|
)
|
|
4741
4741
|
]
|
|
4742
4742
|
}
|
|
4743
|
-
),
|
|
4743
|
+
), c5 = ({
|
|
4744
4744
|
width: i = 20,
|
|
4745
4745
|
height: e = 20,
|
|
4746
4746
|
color: t = "#001E52",
|
|
@@ -4780,7 +4780,7 @@ const Zt = ({
|
|
|
4780
4780
|
)
|
|
4781
4781
|
]
|
|
4782
4782
|
}
|
|
4783
|
-
),
|
|
4783
|
+
), d5 = ({
|
|
4784
4784
|
width: i = 32,
|
|
4785
4785
|
height: e = 25,
|
|
4786
4786
|
color: t = "#001E52",
|
|
@@ -4808,7 +4808,7 @@ const Zt = ({
|
|
|
4808
4808
|
)
|
|
4809
4809
|
]
|
|
4810
4810
|
}
|
|
4811
|
-
),
|
|
4811
|
+
), g5 = ({
|
|
4812
4812
|
width: i = 14,
|
|
4813
4813
|
height: e = 14,
|
|
4814
4814
|
color: t = "#10B981",
|
|
@@ -4837,7 +4837,7 @@ const Zt = ({
|
|
|
4837
4837
|
)
|
|
4838
4838
|
]
|
|
4839
4839
|
}
|
|
4840
|
-
),
|
|
4840
|
+
), C5 = ({
|
|
4841
4841
|
width: i = 11,
|
|
4842
4842
|
height: e = 11,
|
|
4843
4843
|
color: t = "#FFB020",
|
|
@@ -4871,7 +4871,7 @@ const Zt = ({
|
|
|
4871
4871
|
)
|
|
4872
4872
|
]
|
|
4873
4873
|
}
|
|
4874
|
-
),
|
|
4874
|
+
), u5 = ({
|
|
4875
4875
|
width: i = 10,
|
|
4876
4876
|
height: e = 10,
|
|
4877
4877
|
color: t = "#88A4FF",
|
|
@@ -4919,7 +4919,7 @@ const Zt = ({
|
|
|
4919
4919
|
)
|
|
4920
4920
|
]
|
|
4921
4921
|
}
|
|
4922
|
-
),
|
|
4922
|
+
), p5 = ({
|
|
4923
4923
|
width: i = 14,
|
|
4924
4924
|
height: e = 14,
|
|
4925
4925
|
color: t = "#8E8E93",
|
|
@@ -4947,7 +4947,7 @@ const Zt = ({
|
|
|
4947
4947
|
)
|
|
4948
4948
|
]
|
|
4949
4949
|
}
|
|
4950
|
-
),
|
|
4950
|
+
), f5 = ({
|
|
4951
4951
|
width: i = 14,
|
|
4952
4952
|
height: e = 14,
|
|
4953
4953
|
color: t = "#FFB020",
|
|
@@ -4981,7 +4981,7 @@ const Zt = ({
|
|
|
4981
4981
|
)
|
|
4982
4982
|
]
|
|
4983
4983
|
}
|
|
4984
|
-
),
|
|
4984
|
+
), w5 = ({
|
|
4985
4985
|
width: i = 14,
|
|
4986
4986
|
height: e = 14,
|
|
4987
4987
|
color: t = "#D0421B",
|
|
@@ -5029,7 +5029,7 @@ const Zt = ({
|
|
|
5029
5029
|
)
|
|
5030
5030
|
]
|
|
5031
5031
|
}
|
|
5032
|
-
),
|
|
5032
|
+
), m5 = ({
|
|
5033
5033
|
width: i = 20,
|
|
5034
5034
|
height: e = 20,
|
|
5035
5035
|
color: t = "#070739",
|
|
@@ -5059,7 +5059,7 @@ const Zt = ({
|
|
|
5059
5059
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
5060
5060
|
]
|
|
5061
5061
|
}
|
|
5062
|
-
),
|
|
5062
|
+
), k5 = ({
|
|
5063
5063
|
width: i = 20,
|
|
5064
5064
|
height: e = 20,
|
|
5065
5065
|
color: t = "#070739",
|
|
@@ -5097,7 +5097,7 @@ const Zt = ({
|
|
|
5097
5097
|
)
|
|
5098
5098
|
]
|
|
5099
5099
|
}
|
|
5100
|
-
),
|
|
5100
|
+
), L5 = ({
|
|
5101
5101
|
width: i = 9,
|
|
5102
5102
|
height: e = 5,
|
|
5103
5103
|
color: t = "#001E52",
|
|
@@ -5123,7 +5123,7 @@ const Zt = ({
|
|
|
5123
5123
|
}
|
|
5124
5124
|
)
|
|
5125
5125
|
}
|
|
5126
|
-
),
|
|
5126
|
+
), v5 = ({
|
|
5127
5127
|
width: i = 20,
|
|
5128
5128
|
height: e = 20,
|
|
5129
5129
|
color: t = "#F2F2F7",
|
|
@@ -5152,7 +5152,7 @@ const Zt = ({
|
|
|
5152
5152
|
)
|
|
5153
5153
|
]
|
|
5154
5154
|
}
|
|
5155
|
-
),
|
|
5155
|
+
), N5 = ({
|
|
5156
5156
|
width: i = 20,
|
|
5157
5157
|
height: e = 20,
|
|
5158
5158
|
color: t = "#004ED7",
|
|
@@ -5181,7 +5181,7 @@ const Zt = ({
|
|
|
5181
5181
|
)
|
|
5182
5182
|
]
|
|
5183
5183
|
}
|
|
5184
|
-
),
|
|
5184
|
+
), x5 = ({
|
|
5185
5185
|
width: i = 248,
|
|
5186
5186
|
height: e = 248,
|
|
5187
5187
|
color: t = "#070739",
|
|
@@ -5218,7 +5218,7 @@ const Zt = ({
|
|
|
5218
5218
|
)
|
|
5219
5219
|
]
|
|
5220
5220
|
}
|
|
5221
|
-
),
|
|
5221
|
+
), M5 = ({
|
|
5222
5222
|
width: i = 24,
|
|
5223
5223
|
height: e = 24,
|
|
5224
5224
|
color: t = "#001E52",
|
|
@@ -5257,7 +5257,7 @@ const Zt = ({
|
|
|
5257
5257
|
)
|
|
5258
5258
|
]
|
|
5259
5259
|
}
|
|
5260
|
-
),
|
|
5260
|
+
), R5 = ({
|
|
5261
5261
|
width: i = 10,
|
|
5262
5262
|
height: e = 10,
|
|
5263
5263
|
color: t = "#001E52",
|
|
@@ -5286,7 +5286,7 @@ const Zt = ({
|
|
|
5286
5286
|
)
|
|
5287
5287
|
]
|
|
5288
5288
|
}
|
|
5289
|
-
),
|
|
5289
|
+
), y5 = ({
|
|
5290
5290
|
width: i = 10,
|
|
5291
5291
|
height: e = 10,
|
|
5292
5292
|
color: t = "#001E52",
|
|
@@ -5323,7 +5323,7 @@ const Zt = ({
|
|
|
5323
5323
|
)
|
|
5324
5324
|
]
|
|
5325
5325
|
}
|
|
5326
|
-
),
|
|
5326
|
+
), b5 = ({
|
|
5327
5327
|
width: i = 24,
|
|
5328
5328
|
height: e = 24,
|
|
5329
5329
|
color: t = N.GREY_DARK_5,
|
|
@@ -5362,7 +5362,7 @@ const Zt = ({
|
|
|
5362
5362
|
)
|
|
5363
5363
|
]
|
|
5364
5364
|
}
|
|
5365
|
-
),
|
|
5365
|
+
), _5 = ({
|
|
5366
5366
|
width: i = 20,
|
|
5367
5367
|
height: e = 20,
|
|
5368
5368
|
color: t = N.GREY_DARK_1,
|
|
@@ -5395,7 +5395,7 @@ const Zt = ({
|
|
|
5395
5395
|
)
|
|
5396
5396
|
]
|
|
5397
5397
|
}
|
|
5398
|
-
),
|
|
5398
|
+
), V5 = ({
|
|
5399
5399
|
width: i = 81,
|
|
5400
5400
|
height: e = 80,
|
|
5401
5401
|
color: t = N.GREY_DARK_5,
|
|
@@ -5444,7 +5444,7 @@ const Zt = ({
|
|
|
5444
5444
|
)
|
|
5445
5445
|
]
|
|
5446
5446
|
}
|
|
5447
|
-
),
|
|
5447
|
+
), E5 = ({
|
|
5448
5448
|
className: i,
|
|
5449
5449
|
color: e = N.GREY_DARK_5,
|
|
5450
5450
|
height: t = 20,
|
|
@@ -5471,7 +5471,7 @@ const Zt = ({
|
|
|
5471
5471
|
}
|
|
5472
5472
|
)
|
|
5473
5473
|
}
|
|
5474
|
-
),
|
|
5474
|
+
), H5 = ({
|
|
5475
5475
|
className: i,
|
|
5476
5476
|
color: e = N.GREY_DARK_5,
|
|
5477
5477
|
height: t = 20,
|
|
@@ -5498,7 +5498,7 @@ const Zt = ({
|
|
|
5498
5498
|
}
|
|
5499
5499
|
)
|
|
5500
5500
|
}
|
|
5501
|
-
),
|
|
5501
|
+
), I5 = ({
|
|
5502
5502
|
className: i,
|
|
5503
5503
|
color: e = N.GREY_DARK_5,
|
|
5504
5504
|
height: t = 5,
|
|
@@ -5522,7 +5522,7 @@ const Zt = ({
|
|
|
5522
5522
|
}
|
|
5523
5523
|
)
|
|
5524
5524
|
}
|
|
5525
|
-
),
|
|
5525
|
+
), O5 = ({
|
|
5526
5526
|
className: i,
|
|
5527
5527
|
color: e = N.GREY_DARK_5,
|
|
5528
5528
|
height: t = 5,
|
|
@@ -5547,7 +5547,7 @@ const Zt = ({
|
|
|
5547
5547
|
}
|
|
5548
5548
|
)
|
|
5549
5549
|
}
|
|
5550
|
-
),
|
|
5550
|
+
), S5 = ({
|
|
5551
5551
|
className: i,
|
|
5552
5552
|
color: e = N.GREY_DARK_5,
|
|
5553
5553
|
height: t = 24,
|
|
@@ -5586,7 +5586,7 @@ const Zt = ({
|
|
|
5586
5586
|
)
|
|
5587
5587
|
]
|
|
5588
5588
|
}
|
|
5589
|
-
),
|
|
5589
|
+
), A5 = ({
|
|
5590
5590
|
className: i,
|
|
5591
5591
|
color: e = N.GREY_DARK_5,
|
|
5592
5592
|
height: t = 24,
|
|
@@ -5625,7 +5625,7 @@ const Zt = ({
|
|
|
5625
5625
|
)
|
|
5626
5626
|
]
|
|
5627
5627
|
}
|
|
5628
|
-
),
|
|
5628
|
+
), B5 = ({
|
|
5629
5629
|
className: i,
|
|
5630
5630
|
color: e = N.GREY_DARK_5,
|
|
5631
5631
|
height: t = 24,
|
|
@@ -5652,7 +5652,7 @@ const Zt = ({
|
|
|
5652
5652
|
}
|
|
5653
5653
|
)
|
|
5654
5654
|
}
|
|
5655
|
-
),
|
|
5655
|
+
), Z5 = ({
|
|
5656
5656
|
className: i,
|
|
5657
5657
|
color: e = N.GREY_DARK_5,
|
|
5658
5658
|
height: t = 24,
|
|
@@ -5711,7 +5711,7 @@ const Zt = ({
|
|
|
5711
5711
|
)
|
|
5712
5712
|
]
|
|
5713
5713
|
}
|
|
5714
|
-
),
|
|
5714
|
+
), W5 = ({
|
|
5715
5715
|
className: i,
|
|
5716
5716
|
color: e = N.GREY_DARK_5,
|
|
5717
5717
|
height: t = 24,
|
|
@@ -5748,7 +5748,7 @@ const Zt = ({
|
|
|
5748
5748
|
)
|
|
5749
5749
|
]
|
|
5750
5750
|
}
|
|
5751
|
-
),
|
|
5751
|
+
), j5 = ({
|
|
5752
5752
|
className: i,
|
|
5753
5753
|
color: e = N.GREY_DARK_3,
|
|
5754
5754
|
height: t = 14,
|
|
@@ -5785,7 +5785,7 @@ const Zt = ({
|
|
|
5785
5785
|
)
|
|
5786
5786
|
]
|
|
5787
5787
|
}
|
|
5788
|
-
),
|
|
5788
|
+
), D5 = ({
|
|
5789
5789
|
className: i,
|
|
5790
5790
|
color: e = N.GREY_DARK_5,
|
|
5791
5791
|
height: t = 18,
|
|
@@ -5812,7 +5812,7 @@ const Zt = ({
|
|
|
5812
5812
|
}
|
|
5813
5813
|
)
|
|
5814
5814
|
}
|
|
5815
|
-
),
|
|
5815
|
+
), T5 = ({
|
|
5816
5816
|
className: i,
|
|
5817
5817
|
color: e = N.GREY_DARK_5,
|
|
5818
5818
|
height: t = 24,
|
|
@@ -5864,7 +5864,7 @@ const Zt = ({
|
|
|
5864
5864
|
)
|
|
5865
5865
|
]
|
|
5866
5866
|
}
|
|
5867
|
-
),
|
|
5867
|
+
), G5 = ({
|
|
5868
5868
|
className: i,
|
|
5869
5869
|
color: e = N.GREY_DARK_5,
|
|
5870
5870
|
height: t = 24,
|
|
@@ -5901,7 +5901,7 @@ const Zt = ({
|
|
|
5901
5901
|
)
|
|
5902
5902
|
]
|
|
5903
5903
|
}
|
|
5904
|
-
),
|
|
5904
|
+
), K5 = ({
|
|
5905
5905
|
className: i,
|
|
5906
5906
|
color: e = N.NOTIFICATION_WARNING_DARK,
|
|
5907
5907
|
height: t = 37,
|
|
@@ -5940,7 +5940,7 @@ const Zt = ({
|
|
|
5940
5940
|
)
|
|
5941
5941
|
]
|
|
5942
5942
|
}
|
|
5943
|
-
),
|
|
5943
|
+
), P5 = ({
|
|
5944
5944
|
className: i,
|
|
5945
5945
|
color: e = N.GREY_DARK_5,
|
|
5946
5946
|
height: t = 24,
|
|
@@ -5966,7 +5966,7 @@ const Zt = ({
|
|
|
5966
5966
|
}
|
|
5967
5967
|
)
|
|
5968
5968
|
}
|
|
5969
|
-
),
|
|
5969
|
+
), $5 = ({
|
|
5970
5970
|
className: i,
|
|
5971
5971
|
color: e = N.GREY_DARK_5,
|
|
5972
5972
|
height: t = 24,
|
|
@@ -6005,7 +6005,7 @@ const Zt = ({
|
|
|
6005
6005
|
)
|
|
6006
6006
|
]
|
|
6007
6007
|
}
|
|
6008
|
-
),
|
|
6008
|
+
), Y5 = ({
|
|
6009
6009
|
className: i,
|
|
6010
6010
|
color: e = N.GREY_DARK_5,
|
|
6011
6011
|
height: t = 24,
|
|
@@ -6044,7 +6044,7 @@ const Zt = ({
|
|
|
6044
6044
|
)
|
|
6045
6045
|
]
|
|
6046
6046
|
}
|
|
6047
|
-
),
|
|
6047
|
+
), F5 = ({
|
|
6048
6048
|
className: i,
|
|
6049
6049
|
color: e = N.GREY_DARK_5,
|
|
6050
6050
|
height: t = 24,
|
|
@@ -6113,7 +6113,7 @@ const Zt = ({
|
|
|
6113
6113
|
)
|
|
6114
6114
|
]
|
|
6115
6115
|
}
|
|
6116
|
-
),
|
|
6116
|
+
), U5 = ({
|
|
6117
6117
|
className: i,
|
|
6118
6118
|
color: e = N.GREY_DARK_5,
|
|
6119
6119
|
height: t = 24,
|
|
@@ -6152,7 +6152,7 @@ const Zt = ({
|
|
|
6152
6152
|
)
|
|
6153
6153
|
]
|
|
6154
6154
|
}
|
|
6155
|
-
),
|
|
6155
|
+
), z5 = ({
|
|
6156
6156
|
className: i,
|
|
6157
6157
|
color: e = N.GREY_DARK_5,
|
|
6158
6158
|
height: t = 24,
|
|
@@ -6209,7 +6209,7 @@ const Zt = ({
|
|
|
6209
6209
|
)
|
|
6210
6210
|
]
|
|
6211
6211
|
}
|
|
6212
|
-
),
|
|
6212
|
+
), J5 = ({
|
|
6213
6213
|
className: i,
|
|
6214
6214
|
color: e = N.GREY_DARK_5,
|
|
6215
6215
|
height: t = 24,
|
|
@@ -6248,7 +6248,7 @@ const Zt = ({
|
|
|
6248
6248
|
)
|
|
6249
6249
|
]
|
|
6250
6250
|
}
|
|
6251
|
-
),
|
|
6251
|
+
), Q5 = ({
|
|
6252
6252
|
className: i,
|
|
6253
6253
|
color: e = N.GREY_DARK_5,
|
|
6254
6254
|
height: t = 24,
|
|
@@ -6336,7 +6336,7 @@ const Zt = ({
|
|
|
6336
6336
|
)
|
|
6337
6337
|
]
|
|
6338
6338
|
}
|
|
6339
|
-
),
|
|
6339
|
+
), X5 = ({
|
|
6340
6340
|
className: i,
|
|
6341
6341
|
color: e = N.GREY_DARK_5,
|
|
6342
6342
|
height: t = 24,
|
|
@@ -6363,7 +6363,7 @@ const Zt = ({
|
|
|
6363
6363
|
}
|
|
6364
6364
|
)
|
|
6365
6365
|
}
|
|
6366
|
-
),
|
|
6366
|
+
), e3 = ({
|
|
6367
6367
|
className: i,
|
|
6368
6368
|
color: e = N.GREY_DARK_5,
|
|
6369
6369
|
height: t = 24,
|
|
@@ -6401,7 +6401,7 @@ const Zt = ({
|
|
|
6401
6401
|
)
|
|
6402
6402
|
]
|
|
6403
6403
|
}
|
|
6404
|
-
),
|
|
6404
|
+
), t3 = ({
|
|
6405
6405
|
className: i,
|
|
6406
6406
|
color: e = N.GREY_DARK_5,
|
|
6407
6407
|
height: t = 24,
|
|
@@ -6422,7 +6422,7 @@ const Zt = ({
|
|
|
6422
6422
|
/* @__PURE__ */ r("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
|
6423
6423
|
]
|
|
6424
6424
|
}
|
|
6425
|
-
),
|
|
6425
|
+
), i3 = ({
|
|
6426
6426
|
className: i,
|
|
6427
6427
|
color: e = N.GREY_DARK_5,
|
|
6428
6428
|
height: t = 24,
|
|
@@ -6461,7 +6461,7 @@ const Zt = ({
|
|
|
6461
6461
|
)
|
|
6462
6462
|
]
|
|
6463
6463
|
}
|
|
6464
|
-
),
|
|
6464
|
+
), s3 = ({
|
|
6465
6465
|
className: i,
|
|
6466
6466
|
color: e = N.GREY_DARK_5,
|
|
6467
6467
|
height: t = 24,
|
|
@@ -6500,7 +6500,7 @@ const Zt = ({
|
|
|
6500
6500
|
)
|
|
6501
6501
|
]
|
|
6502
6502
|
}
|
|
6503
|
-
),
|
|
6503
|
+
), n3 = ({
|
|
6504
6504
|
className: i,
|
|
6505
6505
|
color: e = N.GREY_DARK_5,
|
|
6506
6506
|
height: t = 24,
|
|
@@ -6539,7 +6539,7 @@ const Zt = ({
|
|
|
6539
6539
|
)
|
|
6540
6540
|
]
|
|
6541
6541
|
}
|
|
6542
|
-
),
|
|
6542
|
+
), r3 = ({
|
|
6543
6543
|
className: i,
|
|
6544
6544
|
color: e = N.GREY_DARK_2,
|
|
6545
6545
|
height: t = 16,
|
|
@@ -6565,7 +6565,7 @@ const Zt = ({
|
|
|
6565
6565
|
}
|
|
6566
6566
|
)
|
|
6567
6567
|
}
|
|
6568
|
-
),
|
|
6568
|
+
), o3 = ({
|
|
6569
6569
|
className: i,
|
|
6570
6570
|
color: e = N.GREY_DARK_5,
|
|
6571
6571
|
height: t = 20,
|
|
@@ -6594,7 +6594,7 @@ const Zt = ({
|
|
|
6594
6594
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6595
6595
|
]
|
|
6596
6596
|
}
|
|
6597
|
-
),
|
|
6597
|
+
), l3 = ({
|
|
6598
6598
|
className: i,
|
|
6599
6599
|
color: e = N.GREY_DARK_5,
|
|
6600
6600
|
height: t = 20,
|
|
@@ -6623,7 +6623,7 @@ const Zt = ({
|
|
|
6623
6623
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ r("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
6624
6624
|
]
|
|
6625
6625
|
}
|
|
6626
|
-
),
|
|
6626
|
+
), a3 = ({
|
|
6627
6627
|
className: i,
|
|
6628
6628
|
color: e = N.GREY_DARK_5,
|
|
6629
6629
|
height: t = 20,
|
|
@@ -6652,7 +6652,7 @@ const Zt = ({
|
|
|
6652
6652
|
)
|
|
6653
6653
|
]
|
|
6654
6654
|
}
|
|
6655
|
-
),
|
|
6655
|
+
), h3 = ({
|
|
6656
6656
|
className: i,
|
|
6657
6657
|
color: e = N.GREY_DARK_5,
|
|
6658
6658
|
height: t = 20,
|
|
@@ -6681,7 +6681,7 @@ const Zt = ({
|
|
|
6681
6681
|
)
|
|
6682
6682
|
]
|
|
6683
6683
|
}
|
|
6684
|
-
),
|
|
6684
|
+
), c3 = ({
|
|
6685
6685
|
className: i,
|
|
6686
6686
|
color: e = "#001E52",
|
|
6687
6687
|
height: t = 24,
|
|
@@ -6707,7 +6707,7 @@ const Zt = ({
|
|
|
6707
6707
|
}
|
|
6708
6708
|
)
|
|
6709
6709
|
}
|
|
6710
|
-
),
|
|
6710
|
+
), d3 = ({
|
|
6711
6711
|
className: i,
|
|
6712
6712
|
color: e = "#131314",
|
|
6713
6713
|
height: t = 20,
|
|
@@ -6735,7 +6735,7 @@ const Zt = ({
|
|
|
6735
6735
|
}
|
|
6736
6736
|
)
|
|
6737
6737
|
}
|
|
6738
|
-
),
|
|
6738
|
+
), g3 = ({
|
|
6739
6739
|
className: i,
|
|
6740
6740
|
color: e = "#001E52",
|
|
6741
6741
|
height: t = 24,
|
|
@@ -6773,7 +6773,7 @@ const Zt = ({
|
|
|
6773
6773
|
)
|
|
6774
6774
|
] }) })
|
|
6775
6775
|
}
|
|
6776
|
-
),
|
|
6776
|
+
), C3 = ({
|
|
6777
6777
|
width: i = 20,
|
|
6778
6778
|
height: e = 20,
|
|
6779
6779
|
color: t = "#001E52",
|
|
@@ -6829,7 +6829,7 @@ const Zt = ({
|
|
|
6829
6829
|
}
|
|
6830
6830
|
)
|
|
6831
6831
|
}
|
|
6832
|
-
),
|
|
6832
|
+
), u3 = ({
|
|
6833
6833
|
width: i = 24,
|
|
6834
6834
|
height: e = 24,
|
|
6835
6835
|
color: t = "#131314",
|
|
@@ -6862,7 +6862,7 @@ const Zt = ({
|
|
|
6862
6862
|
)
|
|
6863
6863
|
]
|
|
6864
6864
|
}
|
|
6865
|
-
),
|
|
6865
|
+
), p3 = ({
|
|
6866
6866
|
width: i = 24,
|
|
6867
6867
|
height: e = 24,
|
|
6868
6868
|
color: t = N.GREY_DARK_2,
|
|
@@ -6901,7 +6901,7 @@ const Zt = ({
|
|
|
6901
6901
|
)
|
|
6902
6902
|
]
|
|
6903
6903
|
}
|
|
6904
|
-
),
|
|
6904
|
+
), f3 = ({
|
|
6905
6905
|
width: i = 24,
|
|
6906
6906
|
height: e = 24,
|
|
6907
6907
|
color: t = N.GREY_DARK_2,
|
|
@@ -6928,7 +6928,7 @@ const Zt = ({
|
|
|
6928
6928
|
}
|
|
6929
6929
|
)
|
|
6930
6930
|
}
|
|
6931
|
-
),
|
|
6931
|
+
), w3 = ({
|
|
6932
6932
|
width: i = 24,
|
|
6933
6933
|
height: e = 24,
|
|
6934
6934
|
color: t = N.GREY_DARK_2,
|
|
@@ -6968,7 +6968,7 @@ const Zt = ({
|
|
|
6968
6968
|
)
|
|
6969
6969
|
]
|
|
6970
6970
|
}
|
|
6971
|
-
),
|
|
6971
|
+
), m3 = ({
|
|
6972
6972
|
width: i = 24,
|
|
6973
6973
|
height: e = 24,
|
|
6974
6974
|
color: t = N.GREY_DARK_2,
|
|
@@ -6995,7 +6995,7 @@ const Zt = ({
|
|
|
6995
6995
|
}
|
|
6996
6996
|
)
|
|
6997
6997
|
}
|
|
6998
|
-
),
|
|
6998
|
+
), k3 = ({
|
|
6999
6999
|
width: i = 24,
|
|
7000
7000
|
height: e = 24,
|
|
7001
7001
|
color: t = N.GREY_DARK_2,
|
|
@@ -7022,7 +7022,7 @@ const Zt = ({
|
|
|
7022
7022
|
}
|
|
7023
7023
|
)
|
|
7024
7024
|
}
|
|
7025
|
-
),
|
|
7025
|
+
), L3 = ({
|
|
7026
7026
|
name: i,
|
|
7027
7027
|
width: e,
|
|
7028
7028
|
height: t,
|
|
@@ -7031,47 +7031,47 @@ const Zt = ({
|
|
|
7031
7031
|
disabled: l = !1,
|
|
7032
7032
|
onClick: c
|
|
7033
7033
|
}) => {
|
|
7034
|
-
const [o, d] =
|
|
7034
|
+
const [o, d] = j(n), { theme: g } = r1(de), a = l ? g && g === "dark" ? N.GREY_LIGHT_4 : N.GREY_DARK_1 : s, h = l ? void 0 : c;
|
|
7035
7035
|
return G(() => {
|
|
7036
7036
|
if (n) {
|
|
7037
7037
|
h && !l && d(`${n} clickable`);
|
|
7038
7038
|
return;
|
|
7039
7039
|
}
|
|
7040
7040
|
h && !l && d("clickable");
|
|
7041
|
-
}, [h, n, l]), /* @__PURE__ */ r(
|
|
7041
|
+
}, [h, n, l]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
7042
7042
|
switch (i) {
|
|
7043
7043
|
case "nextIcon":
|
|
7044
|
-
return V5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7045
|
-
case "prevIcon":
|
|
7046
7044
|
return E5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7045
|
+
case "prevIcon":
|
|
7046
|
+
return H5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7047
7047
|
case "arrowUp":
|
|
7048
|
-
return Zt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7049
|
-
case "arrowDown":
|
|
7050
7048
|
return Wt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7051
|
-
case "
|
|
7049
|
+
case "arrowDown":
|
|
7052
7050
|
return jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7053
|
-
case "
|
|
7051
|
+
case "info":
|
|
7054
7052
|
return Dt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7055
|
-
case "
|
|
7053
|
+
case "arrowRight":
|
|
7056
7054
|
return Tt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7057
|
-
case "
|
|
7055
|
+
case "calendar":
|
|
7058
7056
|
return Gt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7059
|
-
case "
|
|
7057
|
+
case "ok":
|
|
7060
7058
|
return Kt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7061
|
-
case "
|
|
7059
|
+
case "cancel":
|
|
7062
7060
|
return Pt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7063
|
-
case "
|
|
7061
|
+
case "add":
|
|
7064
7062
|
return $t({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7065
|
-
case "
|
|
7063
|
+
case "list":
|
|
7066
7064
|
return Yt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7067
|
-
case "
|
|
7065
|
+
case "dragAndDrop":
|
|
7068
7066
|
return Ft({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7069
|
-
case "
|
|
7067
|
+
case "filter":
|
|
7070
7068
|
return Ut({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7071
|
-
case "
|
|
7069
|
+
case "attention":
|
|
7072
7070
|
return zt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7073
|
-
case "
|
|
7071
|
+
case "plus":
|
|
7074
7072
|
return Jt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7073
|
+
case "time":
|
|
7074
|
+
return Qt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7075
7075
|
case "arrowDownLong":
|
|
7076
7076
|
return qt({
|
|
7077
7077
|
width: e,
|
|
@@ -7081,9 +7081,9 @@ const Zt = ({
|
|
|
7081
7081
|
onClick: h
|
|
7082
7082
|
});
|
|
7083
7083
|
case "users":
|
|
7084
|
-
return
|
|
7084
|
+
return Xt({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7085
7085
|
case "mySkillsMatrix":
|
|
7086
|
-
return
|
|
7086
|
+
return e5({
|
|
7087
7087
|
width: e,
|
|
7088
7088
|
height: t,
|
|
7089
7089
|
color: a,
|
|
@@ -7091,9 +7091,9 @@ const Zt = ({
|
|
|
7091
7091
|
onClick: h
|
|
7092
7092
|
});
|
|
7093
7093
|
case "skills":
|
|
7094
|
-
return
|
|
7094
|
+
return t5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7095
7095
|
case "skillsMatrices":
|
|
7096
|
-
return
|
|
7096
|
+
return i5({
|
|
7097
7097
|
width: e,
|
|
7098
7098
|
height: t,
|
|
7099
7099
|
color: a,
|
|
@@ -7101,23 +7101,23 @@ const Zt = ({
|
|
|
7101
7101
|
onClick: h
|
|
7102
7102
|
});
|
|
7103
7103
|
case "history":
|
|
7104
|
-
return i5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7105
|
-
case "logOut":
|
|
7106
7104
|
return s5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7107
|
-
case "
|
|
7105
|
+
case "logOut":
|
|
7108
7106
|
return n5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7109
|
-
case "
|
|
7107
|
+
case "settings":
|
|
7110
7108
|
return r5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7111
|
-
case "
|
|
7109
|
+
case "addSkill":
|
|
7112
7110
|
return o5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7113
|
-
case "
|
|
7111
|
+
case "conversation":
|
|
7114
7112
|
return l5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7115
|
-
case "
|
|
7113
|
+
case "trash":
|
|
7116
7114
|
return a5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7117
|
-
case "
|
|
7115
|
+
case "settings4":
|
|
7118
7116
|
return h5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7117
|
+
case "edit2":
|
|
7118
|
+
return c5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7119
7119
|
case "notifications":
|
|
7120
|
-
return
|
|
7120
|
+
return d5({
|
|
7121
7121
|
width: e,
|
|
7122
7122
|
height: t,
|
|
7123
7123
|
color: a,
|
|
@@ -7125,9 +7125,9 @@ const Zt = ({
|
|
|
7125
7125
|
onClick: h
|
|
7126
7126
|
});
|
|
7127
7127
|
case "success":
|
|
7128
|
-
return
|
|
7128
|
+
return g5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7129
7129
|
case "attentionSmall":
|
|
7130
|
-
return
|
|
7130
|
+
return C5({
|
|
7131
7131
|
width: e,
|
|
7132
7132
|
height: t,
|
|
7133
7133
|
color: a,
|
|
@@ -7135,11 +7135,11 @@ const Zt = ({
|
|
|
7135
7135
|
onClick: h
|
|
7136
7136
|
});
|
|
7137
7137
|
case "errorSmall":
|
|
7138
|
-
return C5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7139
|
-
case "infoMedium":
|
|
7140
7138
|
return u5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7139
|
+
case "infoMedium":
|
|
7140
|
+
return p5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7141
7141
|
case "attentionMedium":
|
|
7142
|
-
return
|
|
7142
|
+
return f5({
|
|
7143
7143
|
width: e,
|
|
7144
7144
|
height: t,
|
|
7145
7145
|
color: a,
|
|
@@ -7147,9 +7147,9 @@ const Zt = ({
|
|
|
7147
7147
|
onClick: h
|
|
7148
7148
|
});
|
|
7149
7149
|
case "errorMedium":
|
|
7150
|
-
return
|
|
7150
|
+
return w5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7151
7151
|
case "faviconSkills":
|
|
7152
|
-
return
|
|
7152
|
+
return x5({
|
|
7153
7153
|
width: e,
|
|
7154
7154
|
height: t,
|
|
7155
7155
|
color: a,
|
|
@@ -7157,7 +7157,7 @@ const Zt = ({
|
|
|
7157
7157
|
onClick: h
|
|
7158
7158
|
});
|
|
7159
7159
|
case "visibilityIcon":
|
|
7160
|
-
return
|
|
7160
|
+
return m5({
|
|
7161
7161
|
width: e,
|
|
7162
7162
|
height: t,
|
|
7163
7163
|
color: a,
|
|
@@ -7165,7 +7165,7 @@ const Zt = ({
|
|
|
7165
7165
|
onClick: h
|
|
7166
7166
|
});
|
|
7167
7167
|
case "visibilityOffIcon":
|
|
7168
|
-
return
|
|
7168
|
+
return k5({
|
|
7169
7169
|
width: e,
|
|
7170
7170
|
height: t,
|
|
7171
7171
|
color: a,
|
|
@@ -7173,7 +7173,7 @@ const Zt = ({
|
|
|
7173
7173
|
onClick: h
|
|
7174
7174
|
});
|
|
7175
7175
|
case "selectArrowIcon":
|
|
7176
|
-
return
|
|
7176
|
+
return L5({
|
|
7177
7177
|
width: e,
|
|
7178
7178
|
height: t,
|
|
7179
7179
|
color: a,
|
|
@@ -7181,7 +7181,7 @@ const Zt = ({
|
|
|
7181
7181
|
onClick: h
|
|
7182
7182
|
});
|
|
7183
7183
|
case "expandArrowIcon":
|
|
7184
|
-
return
|
|
7184
|
+
return v5({
|
|
7185
7185
|
width: e,
|
|
7186
7186
|
height: t,
|
|
7187
7187
|
color: a,
|
|
@@ -7189,7 +7189,7 @@ const Zt = ({
|
|
|
7189
7189
|
onClick: h
|
|
7190
7190
|
});
|
|
7191
7191
|
case "expandActiveArrowIcon":
|
|
7192
|
-
return
|
|
7192
|
+
return N5({
|
|
7193
7193
|
width: e,
|
|
7194
7194
|
height: t,
|
|
7195
7195
|
color: a,
|
|
@@ -7197,113 +7197,113 @@ const Zt = ({
|
|
|
7197
7197
|
onClick: h
|
|
7198
7198
|
});
|
|
7199
7199
|
case "camera":
|
|
7200
|
-
return x5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7201
|
-
case "sortUp":
|
|
7202
7200
|
return M5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7203
|
-
case "
|
|
7201
|
+
case "sortUp":
|
|
7204
7202
|
return R5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7205
|
-
case "
|
|
7203
|
+
case "sortDown":
|
|
7206
7204
|
return y5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7207
|
-
case "
|
|
7205
|
+
case "logOut2":
|
|
7208
7206
|
return b5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7209
|
-
case "
|
|
7207
|
+
case "search":
|
|
7210
7208
|
return _5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7209
|
+
case "handRock":
|
|
7210
|
+
return V5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7211
7211
|
case "arrowUpFilled":
|
|
7212
|
-
return
|
|
7212
|
+
return O5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7213
7213
|
case "arrowDownFilled":
|
|
7214
|
-
return
|
|
7214
|
+
return I5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7215
7215
|
case "link":
|
|
7216
|
-
return
|
|
7216
|
+
return S5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7217
7217
|
case "telegram":
|
|
7218
|
-
return
|
|
7218
|
+
return B5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7219
7219
|
case "mail":
|
|
7220
|
-
return
|
|
7220
|
+
return W5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7221
7221
|
case "github":
|
|
7222
|
-
return
|
|
7222
|
+
return A5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7223
7223
|
case "linkedIn":
|
|
7224
|
-
return
|
|
7224
|
+
return Z5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7225
7225
|
case "emptyStateIcon":
|
|
7226
|
-
return W5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7227
|
-
case "filtersIcon":
|
|
7228
7226
|
return j5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7229
|
-
case "
|
|
7227
|
+
case "filtersIcon":
|
|
7230
7228
|
return D5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7231
|
-
case "
|
|
7229
|
+
case "dotMenuIcon":
|
|
7232
7230
|
return T5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7233
|
-
case "
|
|
7231
|
+
case "plusCircle":
|
|
7234
7232
|
return G5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7235
|
-
case "
|
|
7233
|
+
case "warning":
|
|
7236
7234
|
return K5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7237
|
-
case "
|
|
7235
|
+
case "back":
|
|
7238
7236
|
return P5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7237
|
+
case "bell":
|
|
7238
|
+
return $5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7239
7239
|
case "contract":
|
|
7240
|
-
return
|
|
7240
|
+
return F5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7241
7241
|
case "trash2":
|
|
7242
|
-
return
|
|
7242
|
+
return Y5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7243
7243
|
case "manager":
|
|
7244
|
-
return F5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7245
|
-
case "resourceManager":
|
|
7246
7244
|
return U5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7247
|
-
case "
|
|
7245
|
+
case "resourceManager":
|
|
7248
7246
|
return z5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7249
|
-
case "
|
|
7247
|
+
case "settings2":
|
|
7250
7248
|
return J5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7249
|
+
case "image":
|
|
7250
|
+
return Q5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7251
7251
|
case "upload":
|
|
7252
7252
|
return q5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7253
7253
|
case "edit":
|
|
7254
|
-
return Q5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7255
|
-
case "location":
|
|
7256
7254
|
return X5({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7257
|
-
case "
|
|
7255
|
+
case "location":
|
|
7258
7256
|
return e3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7259
|
-
case "
|
|
7257
|
+
case "plus2":
|
|
7260
7258
|
return t3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7261
|
-
case "
|
|
7259
|
+
case "search2":
|
|
7262
7260
|
return i3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7263
|
-
case "
|
|
7261
|
+
case "fastArrowLeft":
|
|
7264
7262
|
return s3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7265
|
-
case "
|
|
7263
|
+
case "fastArrowRight":
|
|
7266
7264
|
return n3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7265
|
+
case "crossInCircle":
|
|
7266
|
+
return r3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7267
7267
|
case "arrowUp2":
|
|
7268
|
-
return
|
|
7268
|
+
return l3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7269
7269
|
case "arrowDown2":
|
|
7270
|
-
return
|
|
7270
|
+
return o3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7271
7271
|
case "filledArrowLeft":
|
|
7272
|
-
return l3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7273
|
-
case "filledArrowRight":
|
|
7274
7272
|
return a3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7275
|
-
case "
|
|
7273
|
+
case "filledArrowRight":
|
|
7276
7274
|
return h3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7277
|
-
case "
|
|
7275
|
+
case "burgerMenu":
|
|
7278
7276
|
return c3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7279
|
-
case "
|
|
7277
|
+
case "signOut":
|
|
7280
7278
|
return d3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7281
|
-
case "
|
|
7279
|
+
case "refresh":
|
|
7282
7280
|
return g3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7283
|
-
case "
|
|
7281
|
+
case "projects":
|
|
7284
7282
|
return C3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7285
|
-
case "
|
|
7283
|
+
case "exit":
|
|
7286
7284
|
return u3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7287
|
-
case "
|
|
7285
|
+
case "client":
|
|
7288
7286
|
return p3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7289
|
-
case "
|
|
7287
|
+
case "calendar2":
|
|
7290
7288
|
return f3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7291
|
-
case "
|
|
7289
|
+
case "openPointCircle":
|
|
7292
7290
|
return w3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7293
|
-
case "
|
|
7291
|
+
case "community":
|
|
7294
7292
|
return m3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7293
|
+
case "docs":
|
|
7294
|
+
return k3({ width: e, height: t, color: a, className: o, onClick: h });
|
|
7295
7295
|
default:
|
|
7296
|
-
return /* @__PURE__ */ r(
|
|
7296
|
+
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
7297
7297
|
}
|
|
7298
7298
|
})() });
|
|
7299
7299
|
};
|
|
7300
|
-
var
|
|
7301
|
-
const
|
|
7300
|
+
var f1 = /* @__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.PURPLE_LIGHT = "var(--purple-light)", 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))(f1 || {});
|
|
7301
|
+
const v3 = d1({
|
|
7302
7302
|
locale: "en",
|
|
7303
7303
|
theme: "light"
|
|
7304
7304
|
});
|
|
7305
|
-
|
|
7306
|
-
const
|
|
7305
|
+
v3.Provider;
|
|
7306
|
+
const ge = ({
|
|
7307
7307
|
children: i,
|
|
7308
7308
|
width: e,
|
|
7309
7309
|
size: t = "small",
|
|
@@ -7315,14 +7315,14 @@ const ce = ({
|
|
|
7315
7315
|
l || s == null || s();
|
|
7316
7316
|
};
|
|
7317
7317
|
return /* @__PURE__ */ r(
|
|
7318
|
-
|
|
7318
|
+
ye,
|
|
7319
7319
|
{
|
|
7320
7320
|
className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
|
|
7321
7321
|
closeIcon: /* @__PURE__ */ r(
|
|
7322
|
-
|
|
7322
|
+
L3,
|
|
7323
7323
|
{
|
|
7324
7324
|
name: "errorSmall",
|
|
7325
|
-
color: l ?
|
|
7325
|
+
color: l ? f1.GREY_DARK_1 : f1.GREY_DARK_2,
|
|
7326
7326
|
width: c,
|
|
7327
7327
|
height: c,
|
|
7328
7328
|
onClick: o
|
|
@@ -7332,16 +7332,54 @@ const ce = ({
|
|
|
7332
7332
|
style: { width: e ?? "fit-content" },
|
|
7333
7333
|
closable: n,
|
|
7334
7334
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
7335
|
-
|
|
7335
|
+
Zt,
|
|
7336
7336
|
{
|
|
7337
7337
|
variant: t === "small" ? "body4" : "body2",
|
|
7338
|
-
color: l ?
|
|
7338
|
+
color: l ? f1.GREY_DARK_2 : f1.GREY_DARK_5,
|
|
7339
7339
|
children: i
|
|
7340
7340
|
}
|
|
7341
7341
|
) : i
|
|
7342
7342
|
}
|
|
7343
7343
|
);
|
|
7344
|
-
},
|
|
7344
|
+
}, { Title: N3, Text: x3 } = le, M3 = {
|
|
7345
|
+
h1: 1,
|
|
7346
|
+
h2: 2,
|
|
7347
|
+
h3: 3,
|
|
7348
|
+
h4: 4
|
|
7349
|
+
}, R3 = k1(
|
|
7350
|
+
({
|
|
7351
|
+
align: i = "inherit",
|
|
7352
|
+
variant: e = "body1",
|
|
7353
|
+
color: t,
|
|
7354
|
+
children: s,
|
|
7355
|
+
onClick: n,
|
|
7356
|
+
collapsed: l,
|
|
7357
|
+
whiteSpace: c = "normal"
|
|
7358
|
+
}, o) => {
|
|
7359
|
+
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
7360
|
+
let g = `snmt-typography snmt-typography-${e}`;
|
|
7361
|
+
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ r(
|
|
7362
|
+
N3,
|
|
7363
|
+
{
|
|
7364
|
+
className: g,
|
|
7365
|
+
style: { color: t, whiteSpace: c },
|
|
7366
|
+
onClick: n,
|
|
7367
|
+
level: M3[e],
|
|
7368
|
+
ref: o,
|
|
7369
|
+
children: s
|
|
7370
|
+
}
|
|
7371
|
+
) : /* @__PURE__ */ r(
|
|
7372
|
+
x3,
|
|
7373
|
+
{
|
|
7374
|
+
className: g,
|
|
7375
|
+
style: { color: t, whiteSpace: c },
|
|
7376
|
+
onClick: n,
|
|
7377
|
+
ref: o,
|
|
7378
|
+
children: s
|
|
7379
|
+
}
|
|
7380
|
+
);
|
|
7381
|
+
}
|
|
7382
|
+
), y3 = ({
|
|
7345
7383
|
children: i,
|
|
7346
7384
|
content: e,
|
|
7347
7385
|
isOpen: t,
|
|
@@ -7349,9 +7387,9 @@ const ce = ({
|
|
|
7349
7387
|
placement: n = "topRight",
|
|
7350
7388
|
noPadding: l = !1
|
|
7351
7389
|
}) => {
|
|
7352
|
-
const [c, o] =
|
|
7390
|
+
const [c, o] = j(!1);
|
|
7353
7391
|
return /* @__PURE__ */ r(
|
|
7354
|
-
|
|
7392
|
+
be,
|
|
7355
7393
|
{
|
|
7356
7394
|
content: e,
|
|
7357
7395
|
arrow: !1,
|
|
@@ -7366,18 +7404,18 @@ const ce = ({
|
|
|
7366
7404
|
}
|
|
7367
7405
|
);
|
|
7368
7406
|
};
|
|
7369
|
-
var
|
|
7407
|
+
var b3 = { exports: {} };
|
|
7370
7408
|
(function(i, e) {
|
|
7371
7409
|
(function(t, s) {
|
|
7372
7410
|
i.exports = s();
|
|
7373
|
-
})(
|
|
7411
|
+
})(Ie, function() {
|
|
7374
7412
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
|
|
7375
7413
|
var s = ["th", "st", "nd", "rd"], n = t % 100;
|
|
7376
7414
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
7377
7415
|
} };
|
|
7378
7416
|
});
|
|
7379
|
-
})(
|
|
7380
|
-
const
|
|
7417
|
+
})(b3);
|
|
7418
|
+
const _3 = ({
|
|
7381
7419
|
values: i,
|
|
7382
7420
|
onTagClose: e,
|
|
7383
7421
|
maxWidth: t,
|
|
@@ -7386,7 +7424,7 @@ const x3 = ({
|
|
|
7386
7424
|
options: l,
|
|
7387
7425
|
extraOptions: c
|
|
7388
7426
|
}) => {
|
|
7389
|
-
const { locale: o } =
|
|
7427
|
+
const { locale: o } = r1(Z1), { t: d } = ze("common", { lng: o }), [g, a] = j(!1);
|
|
7390
7428
|
if (G(() => {
|
|
7391
7429
|
i.length || a(!1);
|
|
7392
7430
|
}, [i]), !i.length)
|
|
@@ -7396,12 +7434,12 @@ const x3 = ({
|
|
|
7396
7434
|
return ((p = l == null ? void 0 : l.find((R) => R.value === u)) == null ? void 0 : p.label) || ((m = c == null ? void 0 : c.find((R) => R.value === u)) == null ? void 0 : m.label) || u;
|
|
7397
7435
|
};
|
|
7398
7436
|
return /* @__PURE__ */ C(
|
|
7399
|
-
|
|
7437
|
+
y3,
|
|
7400
7438
|
{
|
|
7401
7439
|
content: (
|
|
7402
7440
|
// 90: paddings + margins + gaps and so on
|
|
7403
|
-
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(
|
|
7404
|
-
|
|
7441
|
+
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(p1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: u }) => /* @__PURE__ */ r(
|
|
7442
|
+
ge,
|
|
7405
7443
|
{
|
|
7406
7444
|
onClose: () => e(u),
|
|
7407
7445
|
closable: s,
|
|
@@ -7421,7 +7459,7 @@ const x3 = ({
|
|
|
7421
7459
|
]
|
|
7422
7460
|
}
|
|
7423
7461
|
);
|
|
7424
|
-
},
|
|
7462
|
+
}, G1 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
7425
7463
|
const t = `no-repeat linear-gradient(${e}
|
|
7426
7464
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
7427
7465
|
width: i,
|
|
@@ -7429,7 +7467,7 @@ const x3 = ({
|
|
|
7429
7467
|
backgroundSize: "20% calc(200% + 20px)"
|
|
7430
7468
|
};
|
|
7431
7469
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
7432
|
-
},
|
|
7470
|
+
}, K1 = k1(
|
|
7433
7471
|
({
|
|
7434
7472
|
value: i,
|
|
7435
7473
|
onChange: e,
|
|
@@ -7448,78 +7486,79 @@ const x3 = ({
|
|
|
7448
7486
|
onPopupScroll: m,
|
|
7449
7487
|
id: R,
|
|
7450
7488
|
extraOptions: k,
|
|
7451
|
-
dropdownRender:
|
|
7489
|
+
dropdownRender: H,
|
|
7452
7490
|
optionRender: b,
|
|
7453
|
-
isLoading:
|
|
7454
|
-
readOnly: f
|
|
7455
|
-
|
|
7456
|
-
|
|
7491
|
+
isLoading: I,
|
|
7492
|
+
readOnly: f,
|
|
7493
|
+
error: x
|
|
7494
|
+
}, y) => {
|
|
7495
|
+
const [L, V] = j(!1), [O, S] = j(!1), [Z, K] = j(!0), [E, B] = j(i), D = q(null);
|
|
7457
7496
|
G(() => {
|
|
7458
7497
|
B(i);
|
|
7459
7498
|
}, [i]);
|
|
7460
|
-
const
|
|
7461
|
-
|
|
7462
|
-
},
|
|
7463
|
-
var
|
|
7464
|
-
return !!((
|
|
7465
|
-
},
|
|
7466
|
-
|
|
7467
|
-
},
|
|
7468
|
-
|
|
7469
|
-
},
|
|
7499
|
+
const z = (w) => {
|
|
7500
|
+
V(w), u && u(w);
|
|
7501
|
+
}, J = (w, _) => {
|
|
7502
|
+
var W;
|
|
7503
|
+
return !!((W = _ == null ? void 0 : _.label) != null && W.toString().toLowerCase().includes(w.toLowerCase()));
|
|
7504
|
+
}, T = () => {
|
|
7505
|
+
S(!0);
|
|
7506
|
+
}, F = () => {
|
|
7507
|
+
S(!1);
|
|
7508
|
+
}, Y = P(
|
|
7470
7509
|
(w) => {
|
|
7471
7510
|
if (B(w), s) {
|
|
7472
|
-
const
|
|
7473
|
-
e == null || e(
|
|
7511
|
+
const W = w;
|
|
7512
|
+
e == null || e(W);
|
|
7474
7513
|
return;
|
|
7475
7514
|
}
|
|
7476
|
-
const
|
|
7477
|
-
e == null || e(
|
|
7515
|
+
const _ = w;
|
|
7516
|
+
e == null || e(_);
|
|
7478
7517
|
},
|
|
7479
7518
|
[s, e]
|
|
7480
|
-
),
|
|
7519
|
+
), e1 = P(() => {
|
|
7481
7520
|
if (!f) {
|
|
7482
7521
|
if (s) {
|
|
7483
|
-
|
|
7522
|
+
Y([]);
|
|
7484
7523
|
return;
|
|
7485
7524
|
}
|
|
7486
|
-
|
|
7525
|
+
Y("");
|
|
7487
7526
|
}
|
|
7488
|
-
}, [
|
|
7527
|
+
}, [Y, s, f]), t1 = P(
|
|
7489
7528
|
(w) => {
|
|
7490
|
-
const
|
|
7491
|
-
|
|
7529
|
+
const _ = E.filter((W) => W !== w);
|
|
7530
|
+
Y(_), B(_);
|
|
7492
7531
|
},
|
|
7493
|
-
[
|
|
7494
|
-
),
|
|
7495
|
-
(w) => (
|
|
7532
|
+
[Y, E]
|
|
7533
|
+
), g1 = P(
|
|
7534
|
+
(w) => (E == null ? void 0 : E.indexOf(w)) === 0 ? (
|
|
7496
7535
|
// if the search input is empty
|
|
7497
7536
|
// then display the placeholder, else do not display it
|
|
7498
|
-
/* @__PURE__ */ r("span", { className: "custom-placeholder", children:
|
|
7499
|
-
) : /* @__PURE__ */ r(
|
|
7500
|
-
[
|
|
7501
|
-
),
|
|
7537
|
+
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: Z ? t : "" })
|
|
7538
|
+
) : /* @__PURE__ */ r(i1, {}),
|
|
7539
|
+
[Z, E, t]
|
|
7540
|
+
), L1 = (w) => {
|
|
7502
7541
|
w.preventDefault(), w.stopPropagation();
|
|
7503
|
-
},
|
|
7504
|
-
const { target:
|
|
7505
|
-
|
|
7506
|
-
},
|
|
7542
|
+
}, v1 = async (w) => {
|
|
7543
|
+
const { target: _ } = w;
|
|
7544
|
+
_.scrollTop + _.offsetHeight >= _.scrollHeight - a && (p == null || p(!0)), m && await m(w);
|
|
7545
|
+
}, o1 = P(
|
|
7507
7546
|
(w) => {
|
|
7508
|
-
var
|
|
7509
|
-
return ((
|
|
7510
|
-
(
|
|
7511
|
-
)) == null ? void 0 :
|
|
7547
|
+
var _, W;
|
|
7548
|
+
return ((_ = l.find((l1) => l1.value === w)) == null ? void 0 : _.label) || ((W = k == null ? void 0 : k.find(
|
|
7549
|
+
(l1) => l1.value === w
|
|
7550
|
+
)) == null ? void 0 : W.label) || w;
|
|
7512
7551
|
},
|
|
7513
7552
|
[k, l]
|
|
7514
|
-
),
|
|
7553
|
+
), N1 = P(
|
|
7515
7554
|
(w) => {
|
|
7516
|
-
var
|
|
7555
|
+
var _;
|
|
7517
7556
|
return /* @__PURE__ */ r(
|
|
7518
|
-
|
|
7557
|
+
_3,
|
|
7519
7558
|
{
|
|
7520
7559
|
values: w,
|
|
7521
|
-
onTagClose:
|
|
7522
|
-
maxWidth: ((
|
|
7560
|
+
onTagClose: t1,
|
|
7561
|
+
maxWidth: ((_ = D.current) == null ? void 0 : _.clientWidth) || 0,
|
|
7523
7562
|
disabled: o,
|
|
7524
7563
|
closable: !f,
|
|
7525
7564
|
options: l,
|
|
@@ -7527,113 +7566,122 @@ const x3 = ({
|
|
|
7527
7566
|
}
|
|
7528
7567
|
);
|
|
7529
7568
|
},
|
|
7530
|
-
[o, k,
|
|
7531
|
-
),
|
|
7532
|
-
({ label: w, value:
|
|
7533
|
-
[o,
|
|
7534
|
-
);
|
|
7569
|
+
[o, k, t1, l, f]
|
|
7570
|
+
), A = P(
|
|
7571
|
+
({ label: w, value: _, mode: W }) => W === "filter" ? g1(_) : /* @__PURE__ */ r("div", { onMouseDown: L1, className: "tag-wrapper", children: /* @__PURE__ */ r(ge, { onClose: () => t1(_), disabled: o, children: typeof w == "object" ? w : o1(_) }) }),
|
|
7572
|
+
[o, o1, t1, g1]
|
|
7573
|
+
), U = Array.isArray(E) && E.length > 0 || !!E && typeof E == "string" && E.trim() !== "";
|
|
7535
7574
|
return /* @__PURE__ */ C(
|
|
7536
7575
|
"div",
|
|
7537
7576
|
{
|
|
7538
|
-
className: `snmt-select ${
|
|
7539
|
-
|
|
7540
|
-
ref:
|
|
7577
|
+
className: `snmt-select-1-15-6 ${O ? "snmt-select-focused" : ""}
|
|
7578
|
+
${s ? "" : "snmt-select-single"} ${f ? "snmt-select-read-only" : ""}`,
|
|
7579
|
+
ref: D,
|
|
7541
7580
|
style: { width: c },
|
|
7542
7581
|
children: [
|
|
7543
7582
|
/* @__PURE__ */ r(
|
|
7544
|
-
|
|
7583
|
+
Ne,
|
|
7545
7584
|
{
|
|
7546
7585
|
className: "snmt-select-blank",
|
|
7547
7586
|
popupClassName: f ? "dropdown-read-only" : "",
|
|
7548
7587
|
id: R,
|
|
7549
|
-
ref:
|
|
7588
|
+
ref: y,
|
|
7550
7589
|
showSearch: !!n,
|
|
7551
|
-
filterOption: n &&
|
|
7552
|
-
onDropdownVisibleChange:
|
|
7553
|
-
placeholder: t ? d ? `${t}*` : t : void 0,
|
|
7590
|
+
filterOption: n && J,
|
|
7591
|
+
onDropdownVisibleChange: z,
|
|
7554
7592
|
disabled: o,
|
|
7555
|
-
value:
|
|
7556
|
-
labelRender: (w) =>
|
|
7593
|
+
value: E || void 0,
|
|
7594
|
+
labelRender: (w) => o1(w.value),
|
|
7557
7595
|
mode: s === "filter" ? "multiple" : s,
|
|
7558
|
-
onChange:
|
|
7559
|
-
onFocus:
|
|
7560
|
-
onBlur:
|
|
7596
|
+
onChange: Y,
|
|
7597
|
+
onFocus: T,
|
|
7598
|
+
onBlur: F,
|
|
7561
7599
|
onSearch: (w) => {
|
|
7562
|
-
|
|
7600
|
+
K(!w), h && h(w);
|
|
7563
7601
|
},
|
|
7564
|
-
onSelect: () =>
|
|
7565
|
-
onDeselect: () =>
|
|
7566
|
-
tagRender: (w) =>
|
|
7602
|
+
onSelect: () => K(!0),
|
|
7603
|
+
onDeselect: () => K(!0),
|
|
7604
|
+
tagRender: (w) => A({ ...w, mode: s }),
|
|
7567
7605
|
maxTagCount: "responsive",
|
|
7568
|
-
maxTagPlaceholder:
|
|
7569
|
-
onPopupScroll:
|
|
7570
|
-
prefix:
|
|
7571
|
-
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(
|
|
7572
|
-
|
|
7573
|
-
|
|
7606
|
+
maxTagPlaceholder: N1,
|
|
7607
|
+
onPopupScroll: v1,
|
|
7608
|
+
prefix: I && /* @__PURE__ */ r(G1, { size: 15 }),
|
|
7609
|
+
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ C(i1, { children: [
|
|
7610
|
+
E && !!E.length && (s || g) && /* @__PURE__ */ r("div", { onClick: e1, children: /* @__PURE__ */ r(
|
|
7611
|
+
C1,
|
|
7574
7612
|
{
|
|
7575
7613
|
name: "cancel",
|
|
7576
|
-
color: o ?
|
|
7614
|
+
color: o ? X.GREY_DARK_1 : X.GREY_DARK_5
|
|
7577
7615
|
}
|
|
7578
7616
|
) }),
|
|
7579
7617
|
/* @__PURE__ */ r(
|
|
7580
|
-
|
|
7618
|
+
C1,
|
|
7581
7619
|
{
|
|
7582
7620
|
name: "selectArrowIcon",
|
|
7583
|
-
color: o ?
|
|
7584
|
-
className:
|
|
7585
|
-
onClick: () =>
|
|
7621
|
+
color: o ? X.GREY_DARK_1 : X.GREY_DARK_5,
|
|
7622
|
+
className: L ? "select-arrow-rotated" : "select-arrow",
|
|
7623
|
+
onClick: () => V(!L)
|
|
7586
7624
|
}
|
|
7587
7625
|
)
|
|
7588
7626
|
] }) }),
|
|
7589
|
-
removeIcon: /* @__PURE__ */ r(
|
|
7627
|
+
removeIcon: /* @__PURE__ */ r(C1, { name: "errorSmall", color: X.GREY_DARK_2 }),
|
|
7590
7628
|
options: l,
|
|
7591
|
-
optionRender: (w) => b ? b(w.data) : /* @__PURE__ */ C(
|
|
7592
|
-
/* @__PURE__ */ C(
|
|
7629
|
+
optionRender: (w) => b ? b(w.data) : /* @__PURE__ */ C(p1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
7630
|
+
/* @__PURE__ */ C(p1, { alignItems: "center", gap: 12, children: [
|
|
7593
7631
|
s && /* @__PURE__ */ r(
|
|
7594
|
-
|
|
7632
|
+
Qe,
|
|
7595
7633
|
{
|
|
7596
|
-
checked: !!(
|
|
7634
|
+
checked: !!(E != null && E.includes(w.value))
|
|
7597
7635
|
}
|
|
7598
7636
|
),
|
|
7599
|
-
/* @__PURE__ */ C(
|
|
7600
|
-
w.data.image && /* @__PURE__ */ r(
|
|
7637
|
+
/* @__PURE__ */ C(p1, { alignItems: "center", gap: 8, children: [
|
|
7638
|
+
w.data.image && /* @__PURE__ */ r(Je, { src: w.data.image, size: 20 }),
|
|
7601
7639
|
/* @__PURE__ */ r("span", { children: w.label })
|
|
7602
7640
|
] })
|
|
7603
7641
|
] }),
|
|
7604
|
-
!s &&
|
|
7605
|
-
|
|
7642
|
+
!s && E === w.value && /* @__PURE__ */ r(
|
|
7643
|
+
C1,
|
|
7606
7644
|
{
|
|
7607
7645
|
name: "ok",
|
|
7608
|
-
color:
|
|
7646
|
+
color: X.BLUE_PRIMARY,
|
|
7609
7647
|
width: 16,
|
|
7610
7648
|
height: 16
|
|
7611
7649
|
}
|
|
7612
7650
|
)
|
|
7613
7651
|
] }),
|
|
7614
7652
|
dropdownRender: (w) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
|
|
7615
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children:
|
|
7616
|
-
|
|
7653
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: H ? H(w) : w }),
|
|
7654
|
+
I && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(G1, { size: 28 }) })
|
|
7617
7655
|
] })
|
|
7618
7656
|
}
|
|
7619
7657
|
),
|
|
7620
|
-
/* @__PURE__ */
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7658
|
+
t && /* @__PURE__ */ C(i1, { children: [
|
|
7659
|
+
/* @__PURE__ */ r(
|
|
7660
|
+
"label",
|
|
7661
|
+
{
|
|
7662
|
+
className: `${O || U ? "label-floating" : ""} ${o ? "label-disabled" : ""} ${O ? "label-focused" : ""} ${I ? "label-loading" : ""} ${x ? "label-error" : ""}`,
|
|
7663
|
+
children: d ? `${t}*` : t
|
|
7664
|
+
}
|
|
7665
|
+
),
|
|
7666
|
+
/* @__PURE__ */ r(
|
|
7667
|
+
"fieldset",
|
|
7668
|
+
{
|
|
7669
|
+
className: `${O ? "fieldset-focused" : ""} ${o ? "fieldset-disabled" : ""} ${U ? "fieldset-filled" : ""} ${x ? "fieldset-error" : ""}`,
|
|
7670
|
+
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: d ? `${t}*` : t }) })
|
|
7671
|
+
}
|
|
7672
|
+
)
|
|
7673
|
+
] }),
|
|
7674
|
+
x && /* @__PURE__ */ C(p1, { justifyContent: "flex-start", gap: 6, children: [
|
|
7675
|
+
/* @__PURE__ */ r(C1, { name: "attention", color: X.NOTIFICATION_ERROR_DARK }),
|
|
7676
|
+
typeof x == "string" ? /* @__PURE__ */ r(R3, { color: X.NOTIFICATION_ERROR_DARK, variant: "body4", children: x }) : x
|
|
7677
|
+
] })
|
|
7630
7678
|
]
|
|
7631
7679
|
}
|
|
7632
7680
|
);
|
|
7633
7681
|
}
|
|
7634
7682
|
);
|
|
7635
|
-
function
|
|
7636
|
-
const t =
|
|
7683
|
+
function V3(i, e = 500) {
|
|
7684
|
+
const t = q();
|
|
7637
7685
|
return G(() => () => {
|
|
7638
7686
|
t.current && clearTimeout(t.current);
|
|
7639
7687
|
}, []), (...s) => {
|
|
@@ -7643,15 +7691,15 @@ function M3(i, e = 500) {
|
|
|
7643
7691
|
clearTimeout(t.current), t.current = n;
|
|
7644
7692
|
};
|
|
7645
7693
|
}
|
|
7646
|
-
function
|
|
7647
|
-
const e =
|
|
7694
|
+
function P1(i) {
|
|
7695
|
+
const e = q(i);
|
|
7648
7696
|
return G(() => {
|
|
7649
7697
|
e.current = i;
|
|
7650
7698
|
}, [i]), e.current;
|
|
7651
7699
|
}
|
|
7652
|
-
const
|
|
7700
|
+
const E1 = 100, a1 = {
|
|
7653
7701
|
offset: 0
|
|
7654
|
-
},
|
|
7702
|
+
}, $1 = k1(
|
|
7655
7703
|
({
|
|
7656
7704
|
loadOptions: i,
|
|
7657
7705
|
width: e,
|
|
@@ -7669,143 +7717,146 @@ const _1 = 100, r1 = {
|
|
|
7669
7717
|
optionRender: p,
|
|
7670
7718
|
dropdownRender: m,
|
|
7671
7719
|
readOnly: R,
|
|
7672
|
-
clearable: k,
|
|
7673
|
-
required:
|
|
7674
|
-
|
|
7675
|
-
|
|
7720
|
+
clearable: k = !1,
|
|
7721
|
+
required: H = !1,
|
|
7722
|
+
error: b
|
|
7723
|
+
}, I) => {
|
|
7724
|
+
const [f, x] = j(), [y, L] = j(a1), [V, O] = j(!1), [S, Z] = j(), [K, E] = j(!1), [B, D] = j(
|
|
7676
7725
|
h ?? []
|
|
7677
|
-
),
|
|
7726
|
+
), z = P1(y.offset), J = P1(S), [T, F] = j(!1), Y = q(!1), e1 = P(
|
|
7678
7727
|
async ({
|
|
7679
|
-
limit:
|
|
7680
|
-
offset:
|
|
7681
|
-
search:
|
|
7728
|
+
limit: A = E1,
|
|
7729
|
+
offset: U,
|
|
7730
|
+
search: w
|
|
7682
7731
|
}) => {
|
|
7683
|
-
|
|
7732
|
+
O(!0);
|
|
7684
7733
|
try {
|
|
7685
|
-
const
|
|
7686
|
-
limit:
|
|
7687
|
-
offset:
|
|
7688
|
-
search:
|
|
7734
|
+
const _ = await i({
|
|
7735
|
+
limit: A,
|
|
7736
|
+
offset: U,
|
|
7737
|
+
search: w
|
|
7689
7738
|
});
|
|
7690
|
-
|
|
7691
|
-
(
|
|
7692
|
-
),
|
|
7693
|
-
...
|
|
7694
|
-
count:
|
|
7739
|
+
x(
|
|
7740
|
+
(W) => U === 0 ? _.options : [...W ?? [], ..._.options]
|
|
7741
|
+
), L((W) => ({
|
|
7742
|
+
...W,
|
|
7743
|
+
count: _.count
|
|
7695
7744
|
}));
|
|
7696
|
-
} catch (
|
|
7697
|
-
return console.error("AsyncSelect. fetchOptions error",
|
|
7745
|
+
} catch (_) {
|
|
7746
|
+
return console.error("AsyncSelect. fetchOptions error", _), [];
|
|
7698
7747
|
} finally {
|
|
7699
|
-
|
|
7748
|
+
O(!1);
|
|
7700
7749
|
}
|
|
7701
7750
|
},
|
|
7702
7751
|
[i]
|
|
7703
|
-
),
|
|
7704
|
-
|
|
7705
|
-
}),
|
|
7706
|
-
(
|
|
7707
|
-
[
|
|
7708
|
-
),
|
|
7709
|
-
async (
|
|
7710
|
-
|
|
7711
|
-
...
|
|
7712
|
-
offset:
|
|
7752
|
+
), t1 = V3((A) => {
|
|
7753
|
+
Z(A), A || L(a1);
|
|
7754
|
+
}), g1 = P(
|
|
7755
|
+
(A) => t1(A),
|
|
7756
|
+
[t1]
|
|
7757
|
+
), L1 = P(
|
|
7758
|
+
async (A) => {
|
|
7759
|
+
V || A && y.count && y.count > ((f == null ? void 0 : f.length) ?? 0) && L((U) => ({
|
|
7760
|
+
...U,
|
|
7761
|
+
offset: U.offset + E1
|
|
7713
7762
|
}));
|
|
7714
7763
|
},
|
|
7715
|
-
[
|
|
7716
|
-
),
|
|
7717
|
-
(
|
|
7718
|
-
|
|
7764
|
+
[V, f == null ? void 0 : f.length, y.count]
|
|
7765
|
+
), v1 = P(
|
|
7766
|
+
(A) => {
|
|
7767
|
+
E(A), !A && S && (Z(void 0), L(a1), F(!0)), u == null || u(A);
|
|
7719
7768
|
},
|
|
7720
|
-
[u,
|
|
7769
|
+
[u, S]
|
|
7721
7770
|
);
|
|
7722
7771
|
G(() => {
|
|
7723
|
-
|
|
7724
|
-
}, [
|
|
7725
|
-
(g || a) &&
|
|
7772
|
+
!Y.current || V || (T || K && (z !== y.offset || J !== S || !f)) && (e1({ offset: y.offset, limit: E1, search: S }), T && F(!1));
|
|
7773
|
+
}, [T, K, y.offset, S, z, J, f, V]), G(() => {
|
|
7774
|
+
(g || a) && e1(a1), Y.current = !0;
|
|
7726
7775
|
}, []), G(() => {
|
|
7727
|
-
h &&
|
|
7728
|
-
const
|
|
7729
|
-
(
|
|
7776
|
+
h && D((A) => {
|
|
7777
|
+
const U = h.filter(
|
|
7778
|
+
(w) => !A.some((_) => _.value === w.value)
|
|
7730
7779
|
);
|
|
7731
|
-
return [...
|
|
7780
|
+
return [...A, ...U];
|
|
7732
7781
|
});
|
|
7733
7782
|
}, [h]);
|
|
7734
|
-
const
|
|
7735
|
-
(
|
|
7736
|
-
t && t(
|
|
7737
|
-
let
|
|
7738
|
-
if (d ?
|
|
7739
|
-
const
|
|
7740
|
-
(
|
|
7783
|
+
const o1 = P(
|
|
7784
|
+
(A) => {
|
|
7785
|
+
t && t(A);
|
|
7786
|
+
let U = [];
|
|
7787
|
+
if (d ? U = Array.isArray(A) ? A : [] : U = A ? [A] : [], S) {
|
|
7788
|
+
const w = U.filter(
|
|
7789
|
+
(_) => !(B != null && B.some((W) => W.value === _))
|
|
7741
7790
|
);
|
|
7742
|
-
|
|
7743
|
-
...
|
|
7744
|
-
...
|
|
7745
|
-
const
|
|
7791
|
+
w.length > 0 && D((_ = []) => [
|
|
7792
|
+
..._,
|
|
7793
|
+
...w.map((W) => {
|
|
7794
|
+
const l1 = f == null ? void 0 : f.find((me) => me.value === W);
|
|
7746
7795
|
return {
|
|
7747
|
-
value:
|
|
7748
|
-
label: (
|
|
7796
|
+
value: W,
|
|
7797
|
+
label: (l1 == null ? void 0 : l1.label) ?? W
|
|
7749
7798
|
};
|
|
7750
7799
|
})
|
|
7751
|
-
]),
|
|
7800
|
+
]), Z(void 0), L(a1), F(!0);
|
|
7752
7801
|
}
|
|
7753
7802
|
},
|
|
7754
|
-
[t,
|
|
7755
|
-
),
|
|
7803
|
+
[t, S, d, f, B]
|
|
7804
|
+
), N1 = ve(
|
|
7756
7805
|
() => ({
|
|
7757
7806
|
id: n,
|
|
7758
7807
|
width: e,
|
|
7759
|
-
options:
|
|
7760
|
-
onChange:
|
|
7761
|
-
ref:
|
|
7808
|
+
options: f || [],
|
|
7809
|
+
onChange: o1,
|
|
7810
|
+
ref: I,
|
|
7762
7811
|
placeholder: o,
|
|
7763
7812
|
search: !0,
|
|
7764
7813
|
value: s,
|
|
7765
|
-
onSearchChange:
|
|
7766
|
-
onDropdownVisibleChange:
|
|
7814
|
+
onSearchChange: g1,
|
|
7815
|
+
onDropdownVisibleChange: v1,
|
|
7767
7816
|
scrollThresholdValue: c,
|
|
7768
|
-
onScrollToEnd:
|
|
7817
|
+
onScrollToEnd: L1,
|
|
7769
7818
|
disabled: l,
|
|
7770
7819
|
extraOptions: B,
|
|
7771
|
-
isLoading:
|
|
7820
|
+
isLoading: V,
|
|
7772
7821
|
optionRender: p,
|
|
7773
7822
|
dropdownRender: m,
|
|
7774
7823
|
readOnly: R,
|
|
7775
7824
|
clearable: k,
|
|
7776
|
-
required:
|
|
7825
|
+
required: H,
|
|
7826
|
+
error: b
|
|
7777
7827
|
}),
|
|
7778
7828
|
[
|
|
7779
7829
|
n,
|
|
7780
7830
|
e,
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7831
|
+
f,
|
|
7832
|
+
o1,
|
|
7833
|
+
I,
|
|
7784
7834
|
o,
|
|
7785
7835
|
s,
|
|
7786
|
-
|
|
7787
|
-
|
|
7836
|
+
g1,
|
|
7837
|
+
v1,
|
|
7788
7838
|
c,
|
|
7789
|
-
|
|
7839
|
+
L1,
|
|
7790
7840
|
l,
|
|
7791
7841
|
B,
|
|
7792
|
-
|
|
7842
|
+
V,
|
|
7793
7843
|
p,
|
|
7794
7844
|
m,
|
|
7795
7845
|
R,
|
|
7796
7846
|
k,
|
|
7797
|
-
|
|
7847
|
+
H,
|
|
7848
|
+
b
|
|
7798
7849
|
]
|
|
7799
7850
|
);
|
|
7800
|
-
return
|
|
7851
|
+
return oe(I, () => ({
|
|
7801
7852
|
refetchOptions: async () => {
|
|
7802
|
-
|
|
7853
|
+
L(a1), Z(void 0), F(!0);
|
|
7803
7854
|
}
|
|
7804
|
-
})), d ? /* @__PURE__ */ r(
|
|
7855
|
+
})), d ? /* @__PURE__ */ r(K1, { ...N1, value: s, mode: d }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(K1, { ...N1, value: s }) });
|
|
7805
7856
|
}
|
|
7806
7857
|
);
|
|
7807
|
-
var
|
|
7808
|
-
const
|
|
7858
|
+
var M1 = /* @__PURE__ */ ((i) => (i.ACTIVE = "Active", i.ARCHIVED = "Archived", i))(M1 || {});
|
|
7859
|
+
const E3 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
7809
7860
|
const t = `no-repeat linear-gradient(${e}
|
|
7810
7861
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
7811
7862
|
width: i,
|
|
@@ -7814,20 +7865,20 @@ const R3 = ({ size: i = 30, color: e = "#004ed7" }) => {
|
|
|
7814
7865
|
};
|
|
7815
7866
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
7816
7867
|
};
|
|
7817
|
-
function
|
|
7868
|
+
function H3() {
|
|
7818
7869
|
if (console && console.warn) {
|
|
7819
7870
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7820
7871
|
e[t] = arguments[t];
|
|
7821
|
-
|
|
7872
|
+
n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7822
7873
|
}
|
|
7823
7874
|
}
|
|
7824
|
-
const
|
|
7825
|
-
function
|
|
7875
|
+
const Y1 = {};
|
|
7876
|
+
function S1() {
|
|
7826
7877
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7827
7878
|
e[t] = arguments[t];
|
|
7828
|
-
|
|
7879
|
+
n1(e[0]) && Y1[e[0]] || (n1(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), H3(...e));
|
|
7829
7880
|
}
|
|
7830
|
-
const
|
|
7881
|
+
const Ce = (i, e) => () => {
|
|
7831
7882
|
if (i.isInitialized)
|
|
7832
7883
|
e();
|
|
7833
7884
|
else {
|
|
@@ -7838,13 +7889,13 @@ const de = (i, e) => () => {
|
|
|
7838
7889
|
};
|
|
7839
7890
|
i.on("initialized", t);
|
|
7840
7891
|
}
|
|
7841
|
-
},
|
|
7842
|
-
i.loadNamespaces(e,
|
|
7843
|
-
},
|
|
7844
|
-
|
|
7892
|
+
}, F1 = (i, e, t) => {
|
|
7893
|
+
i.loadNamespaces(e, Ce(i, t));
|
|
7894
|
+
}, U1 = (i, e, t, s) => {
|
|
7895
|
+
n1(t) && (t = [t]), t.forEach((n) => {
|
|
7845
7896
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7846
|
-
}), i.loadLanguages(e,
|
|
7847
|
-
},
|
|
7897
|
+
}), i.loadLanguages(e, Ce(i, s));
|
|
7898
|
+
}, I3 = function(i, e) {
|
|
7848
7899
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7849
7900
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
|
7850
7901
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -7853,15 +7904,15 @@ const de = (i, e) => () => {
|
|
|
7853
7904
|
return g === -1 || g === 2;
|
|
7854
7905
|
};
|
|
7855
7906
|
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(l, i)));
|
|
7856
|
-
},
|
|
7907
|
+
}, O3 = function(i, e) {
|
|
7857
7908
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7858
|
-
return !e.languages || !e.languages.length ? (
|
|
7909
|
+
return !e.languages || !e.languages.length ? (S1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7859
7910
|
lng: t.lng,
|
|
7860
7911
|
precheck: (n, l) => {
|
|
7861
7912
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !l(n.isLanguageChangingTo, i)) return !1;
|
|
7862
7913
|
}
|
|
7863
|
-
}) :
|
|
7864
|
-
},
|
|
7914
|
+
}) : I3(i, e, t);
|
|
7915
|
+
}, n1 = (i) => typeof i == "string", S3 = (i) => typeof i == "object" && i !== null, A3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, B3 = {
|
|
7865
7916
|
"&": "&",
|
|
7866
7917
|
"&": "&",
|
|
7867
7918
|
"<": "<",
|
|
@@ -7882,8 +7933,8 @@ const de = (i, e) => () => {
|
|
|
7882
7933
|
"…": "…",
|
|
7883
7934
|
"/": "/",
|
|
7884
7935
|
"/": "/"
|
|
7885
|
-
},
|
|
7886
|
-
let
|
|
7936
|
+
}, Z3 = (i) => B3[i], W3 = (i) => i.replace(A3, Z3);
|
|
7937
|
+
let A1 = {
|
|
7887
7938
|
bindI18n: "languageChanged",
|
|
7888
7939
|
bindI18nStore: "",
|
|
7889
7940
|
transEmptyNodeValue: "",
|
|
@@ -7891,27 +7942,27 @@ let O1 = {
|
|
|
7891
7942
|
transWrapTextNodes: "",
|
|
7892
7943
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7893
7944
|
useSuspense: !0,
|
|
7894
|
-
unescape:
|
|
7945
|
+
unescape: W3
|
|
7895
7946
|
};
|
|
7896
|
-
const
|
|
7947
|
+
const j3 = function() {
|
|
7897
7948
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7898
|
-
|
|
7899
|
-
...
|
|
7949
|
+
A1 = {
|
|
7950
|
+
...A1,
|
|
7900
7951
|
...i
|
|
7901
7952
|
};
|
|
7902
|
-
},
|
|
7903
|
-
let
|
|
7904
|
-
const
|
|
7905
|
-
|
|
7906
|
-
},
|
|
7953
|
+
}, D3 = () => A1;
|
|
7954
|
+
let ue;
|
|
7955
|
+
const T3 = (i) => {
|
|
7956
|
+
ue = i;
|
|
7957
|
+
}, G3 = () => ue, K3 = {
|
|
7907
7958
|
type: "3rdParty",
|
|
7908
7959
|
init(i) {
|
|
7909
|
-
|
|
7960
|
+
j3(i.options.react), T3(i);
|
|
7910
7961
|
}
|
|
7911
|
-
},
|
|
7912
|
-
class
|
|
7962
|
+
}, P3 = d1();
|
|
7963
|
+
class $3 {
|
|
7913
7964
|
constructor() {
|
|
7914
|
-
|
|
7965
|
+
W1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7915
7966
|
this.usedNamespaces = {};
|
|
7916
7967
|
}
|
|
7917
7968
|
addUsedNamespaces(e) {
|
|
@@ -7920,27 +7971,27 @@ class D3 {
|
|
|
7920
7971
|
});
|
|
7921
7972
|
}
|
|
7922
7973
|
}
|
|
7923
|
-
const
|
|
7924
|
-
const t =
|
|
7974
|
+
const Y3 = (i, e) => {
|
|
7975
|
+
const t = q();
|
|
7925
7976
|
return G(() => {
|
|
7926
7977
|
t.current = i;
|
|
7927
7978
|
}, [i, e]), t.current;
|
|
7928
|
-
},
|
|
7979
|
+
}, pe = (i, e, t, s) => i.getFixedT(e, t, s), F3 = (i, e, t, s) => P(pe(i, e, t, s), [i, e, t, s]), U3 = function(i) {
|
|
7929
7980
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7930
7981
|
const {
|
|
7931
7982
|
i18n: t
|
|
7932
7983
|
} = e, {
|
|
7933
7984
|
i18n: s,
|
|
7934
7985
|
defaultNS: n
|
|
7935
|
-
} =
|
|
7936
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
|
7937
|
-
|
|
7938
|
-
const f = (y, L) =>
|
|
7986
|
+
} = r1(P3) || {}, l = t || s || G3();
|
|
7987
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new $3()), !l) {
|
|
7988
|
+
S1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7989
|
+
const f = (y, L) => n1(L) ? L : S3(L) && n1(L.defaultValue) ? L.defaultValue : Array.isArray(y) ? y[y.length - 1] : y, x = [f, {}, !1];
|
|
7939
7990
|
return x.t = f, x.i18n = {}, x.ready = !1, x;
|
|
7940
7991
|
}
|
|
7941
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
|
7992
|
+
l.options.react && l.options.react.wait !== void 0 && S1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7942
7993
|
const c = {
|
|
7943
|
-
...
|
|
7994
|
+
...D3(),
|
|
7944
7995
|
...l.options.react,
|
|
7945
7996
|
...e
|
|
7946
7997
|
}, {
|
|
@@ -7948,21 +7999,21 @@ const T3 = (i, e) => {
|
|
|
7948
7999
|
keyPrefix: d
|
|
7949
8000
|
} = c;
|
|
7950
8001
|
let g = i;
|
|
7951
|
-
g =
|
|
7952
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) =>
|
|
8002
|
+
g = n1(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
|
8003
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((f) => O3(f, l, c)), h = F3(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => pe(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [m, R] = j(u);
|
|
7953
8004
|
let k = g.join();
|
|
7954
8005
|
e.lng && (k = `${e.lng}${k}`);
|
|
7955
|
-
const
|
|
8006
|
+
const H = Y3(k), b = q(!0);
|
|
7956
8007
|
G(() => {
|
|
7957
8008
|
const {
|
|
7958
8009
|
bindI18n: f,
|
|
7959
8010
|
bindI18nStore: x
|
|
7960
8011
|
} = c;
|
|
7961
|
-
b.current = !0, !a && !o && (e.lng ?
|
|
8012
|
+
b.current = !0, !a && !o && (e.lng ? U1(l, e.lng, g, () => {
|
|
7962
8013
|
b.current && R(p);
|
|
7963
|
-
}) :
|
|
8014
|
+
}) : F1(l, g, () => {
|
|
7964
8015
|
b.current && R(p);
|
|
7965
|
-
})), a &&
|
|
8016
|
+
})), a && H && H !== k && b.current && R(p);
|
|
7966
8017
|
const y = () => {
|
|
7967
8018
|
b.current && R(p);
|
|
7968
8019
|
};
|
|
@@ -7972,68 +8023,68 @@ const T3 = (i, e) => {
|
|
|
7972
8023
|
}, [l, k]), G(() => {
|
|
7973
8024
|
b.current && a && R(u);
|
|
7974
8025
|
}, [l, d, a]);
|
|
7975
|
-
const
|
|
7976
|
-
if (
|
|
8026
|
+
const I = [m, l, a];
|
|
8027
|
+
if (I.t = m, I.i18n = l, I.ready = a, a || !a && !o) return I;
|
|
7977
8028
|
throw new Promise((f) => {
|
|
7978
|
-
e.lng ?
|
|
8029
|
+
e.lng ? U1(l, e.lng, g, () => f()) : F1(l, g, () => f());
|
|
7979
8030
|
});
|
|
7980
|
-
}, M = (i) => typeof i == "string",
|
|
8031
|
+
}, M = (i) => typeof i == "string", u1 = () => {
|
|
7981
8032
|
let i, e;
|
|
7982
8033
|
const t = new Promise((s, n) => {
|
|
7983
8034
|
i = s, e = n;
|
|
7984
8035
|
});
|
|
7985
8036
|
return t.resolve = i, t.reject = e, t;
|
|
7986
|
-
},
|
|
8037
|
+
}, z1 = (i) => i == null ? "" : "" + i, z3 = (i, e, t) => {
|
|
7987
8038
|
i.forEach((s) => {
|
|
7988
8039
|
e[s] && (t[s] = e[s]);
|
|
7989
8040
|
});
|
|
7990
|
-
},
|
|
8041
|
+
}, J3 = /###/g, J1 = (i) => i && i.indexOf("###") > -1 ? i.replace(J3, ".") : i, Q1 = (i) => !i || M(i), w1 = (i, e, t) => {
|
|
7991
8042
|
const s = M(e) ? e.split(".") : e;
|
|
7992
8043
|
let n = 0;
|
|
7993
8044
|
for (; n < s.length - 1; ) {
|
|
7994
|
-
if (
|
|
7995
|
-
const l =
|
|
8045
|
+
if (Q1(i)) return {};
|
|
8046
|
+
const l = J1(s[n]);
|
|
7996
8047
|
!i[l] && t && (i[l] = new t()), Object.prototype.hasOwnProperty.call(i, l) ? i = i[l] : i = {}, ++n;
|
|
7997
8048
|
}
|
|
7998
|
-
return
|
|
8049
|
+
return Q1(i) ? {} : {
|
|
7999
8050
|
obj: i,
|
|
8000
|
-
k:
|
|
8051
|
+
k: J1(s[n])
|
|
8001
8052
|
};
|
|
8002
8053
|
}, q1 = (i, e, t) => {
|
|
8003
8054
|
const {
|
|
8004
8055
|
obj: s,
|
|
8005
8056
|
k: n
|
|
8006
|
-
} =
|
|
8057
|
+
} = w1(i, e, Object);
|
|
8007
8058
|
if (s !== void 0 || e.length === 1) {
|
|
8008
8059
|
s[n] = t;
|
|
8009
8060
|
return;
|
|
8010
8061
|
}
|
|
8011
|
-
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o =
|
|
8062
|
+
let l = e[e.length - 1], c = e.slice(0, e.length - 1), o = w1(i, c, Object);
|
|
8012
8063
|
for (; o.obj === void 0 && c.length; )
|
|
8013
|
-
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o =
|
|
8064
|
+
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), o = w1(i, c, Object), o && o.obj && typeof o.obj[`${o.k}.${l}`] < "u" && (o.obj = void 0);
|
|
8014
8065
|
o.obj[`${o.k}.${l}`] = t;
|
|
8015
|
-
},
|
|
8066
|
+
}, Q3 = (i, e, t, s) => {
|
|
8016
8067
|
const {
|
|
8017
8068
|
obj: n,
|
|
8018
8069
|
k: l
|
|
8019
|
-
} =
|
|
8070
|
+
} = w1(i, e, Object);
|
|
8020
8071
|
n[l] = n[l] || [], n[l].push(t);
|
|
8021
|
-
},
|
|
8072
|
+
}, R1 = (i, e) => {
|
|
8022
8073
|
const {
|
|
8023
8074
|
obj: t,
|
|
8024
8075
|
k: s
|
|
8025
|
-
} =
|
|
8076
|
+
} = w1(i, e);
|
|
8026
8077
|
if (t)
|
|
8027
8078
|
return t[s];
|
|
8028
|
-
},
|
|
8029
|
-
const s =
|
|
8030
|
-
return s !== void 0 ? s :
|
|
8031
|
-
},
|
|
8079
|
+
}, q3 = (i, e, t) => {
|
|
8080
|
+
const s = R1(i, t);
|
|
8081
|
+
return s !== void 0 ? s : R1(e, t);
|
|
8082
|
+
}, fe = (i, e, t) => {
|
|
8032
8083
|
for (const s in e)
|
|
8033
|
-
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) :
|
|
8084
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : fe(i[s], e[s], t) : i[s] = e[s]);
|
|
8034
8085
|
return i;
|
|
8035
|
-
},
|
|
8036
|
-
var
|
|
8086
|
+
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
8087
|
+
var X3 = {
|
|
8037
8088
|
"&": "&",
|
|
8038
8089
|
"<": "<",
|
|
8039
8090
|
">": ">",
|
|
@@ -8041,8 +8092,8 @@ var U3 = {
|
|
|
8041
8092
|
"'": "'",
|
|
8042
8093
|
"/": "/"
|
|
8043
8094
|
};
|
|
8044
|
-
const
|
|
8045
|
-
class
|
|
8095
|
+
const e0 = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => X3[e]) : i;
|
|
8096
|
+
class t0 {
|
|
8046
8097
|
constructor(e) {
|
|
8047
8098
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
8048
8099
|
}
|
|
@@ -8054,18 +8105,18 @@ class J3 {
|
|
|
8054
8105
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
8055
8106
|
}
|
|
8056
8107
|
}
|
|
8057
|
-
const
|
|
8108
|
+
const i0 = [" ", ",", "?", "!", ";"], s0 = new t0(20), n0 = (i, e, t) => {
|
|
8058
8109
|
e = e || "", t = t || "";
|
|
8059
|
-
const s =
|
|
8110
|
+
const s = i0.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
8060
8111
|
if (s.length === 0) return !0;
|
|
8061
|
-
const n =
|
|
8112
|
+
const n = s0.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
8062
8113
|
let l = !n.test(i);
|
|
8063
8114
|
if (!l) {
|
|
8064
8115
|
const c = i.indexOf(t);
|
|
8065
8116
|
c > 0 && !n.test(i.substring(0, c)) && (l = !0);
|
|
8066
8117
|
}
|
|
8067
8118
|
return l;
|
|
8068
|
-
},
|
|
8119
|
+
}, B1 = function(i, e) {
|
|
8069
8120
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
8070
8121
|
if (!i) return;
|
|
8071
8122
|
if (i[e]) return i[e];
|
|
@@ -8085,7 +8136,7 @@ const q3 = [" ", ",", "?", "!", ";"], Q3 = new J3(20), X3 = (i, e, t) => {
|
|
|
8085
8136
|
n = c;
|
|
8086
8137
|
}
|
|
8087
8138
|
return n;
|
|
8088
|
-
},
|
|
8139
|
+
}, y1 = (i) => i && i.replace("_", "-"), r0 = {
|
|
8089
8140
|
type: "logger",
|
|
8090
8141
|
log(i) {
|
|
8091
8142
|
this.output("log", i);
|
|
@@ -8100,14 +8151,14 @@ const q3 = [" ", ",", "?", "!", ";"], Q3 = new J3(20), X3 = (i, e, t) => {
|
|
|
8100
8151
|
console && console[i] && console[i].apply(console, e);
|
|
8101
8152
|
}
|
|
8102
8153
|
};
|
|
8103
|
-
class
|
|
8154
|
+
class b1 {
|
|
8104
8155
|
constructor(e) {
|
|
8105
8156
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8106
8157
|
this.init(e, t);
|
|
8107
8158
|
}
|
|
8108
8159
|
init(e) {
|
|
8109
8160
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8110
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
8161
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || r0, this.options = t, this.debug = t.debug;
|
|
8111
8162
|
}
|
|
8112
8163
|
log() {
|
|
8113
8164
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -8133,17 +8184,17 @@ class M1 {
|
|
|
8133
8184
|
return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
8134
8185
|
}
|
|
8135
8186
|
create(e) {
|
|
8136
|
-
return new
|
|
8187
|
+
return new b1(this.logger, {
|
|
8137
8188
|
prefix: `${this.prefix}:${e}:`,
|
|
8138
8189
|
...this.options
|
|
8139
8190
|
});
|
|
8140
8191
|
}
|
|
8141
8192
|
clone(e) {
|
|
8142
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
8193
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
|
|
8143
8194
|
}
|
|
8144
8195
|
}
|
|
8145
|
-
var Q = new
|
|
8146
|
-
class
|
|
8196
|
+
var Q = new b1();
|
|
8197
|
+
class V1 {
|
|
8147
8198
|
constructor() {
|
|
8148
8199
|
this.observers = {};
|
|
8149
8200
|
}
|
|
@@ -8177,7 +8228,7 @@ class b1 {
|
|
|
8177
8228
|
});
|
|
8178
8229
|
}
|
|
8179
8230
|
}
|
|
8180
|
-
class
|
|
8231
|
+
class X1 extends V1 {
|
|
8181
8232
|
constructor(e) {
|
|
8182
8233
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
8183
8234
|
ns: ["translation"],
|
|
@@ -8197,8 +8248,8 @@ class Q1 extends b1 {
|
|
|
8197
8248
|
const l = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
8198
8249
|
let o;
|
|
8199
8250
|
e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], s && (Array.isArray(s) ? o.push(...s) : M(s) && l ? o.push(...s.split(l)) : o.push(s)));
|
|
8200
|
-
const d =
|
|
8201
|
-
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || !M(s) ? d :
|
|
8251
|
+
const d = R1(this.data, o);
|
|
8252
|
+
return !d && !t && !s && e.indexOf(".") > -1 && (e = o[0], t = o[1], s = o.slice(2).join(".")), d || !c || !M(s) ? d : B1(this.data && this.data[e] && this.data[e][t], s, l);
|
|
8202
8253
|
}
|
|
8203
8254
|
addResource(e, t, s, n) {
|
|
8204
8255
|
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -8224,8 +8275,8 @@ class Q1 extends b1 {
|
|
|
8224
8275
|
skipCopy: !1
|
|
8225
8276
|
}, o = [e, t];
|
|
8226
8277
|
e.indexOf(".") > -1 && (o = e.split("."), n = s, s = t, t = o[1]), this.addNamespaces(t);
|
|
8227
|
-
let d =
|
|
8228
|
-
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ?
|
|
8278
|
+
let d = R1(this.data, o) || {};
|
|
8279
|
+
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? fe(d, s, l) : d = {
|
|
8229
8280
|
...d,
|
|
8230
8281
|
...s
|
|
8231
8282
|
}, q1(this.data, o, d), c.silent || this.emit("added", e, t, s);
|
|
@@ -8252,7 +8303,7 @@ class Q1 extends b1 {
|
|
|
8252
8303
|
return this.data;
|
|
8253
8304
|
}
|
|
8254
8305
|
}
|
|
8255
|
-
var
|
|
8306
|
+
var we = {
|
|
8256
8307
|
processors: {},
|
|
8257
8308
|
addPostProcessor(i) {
|
|
8258
8309
|
this.processors[i.name] = i;
|
|
@@ -8263,11 +8314,11 @@ var pe = {
|
|
|
8263
8314
|
}), e;
|
|
8264
8315
|
}
|
|
8265
8316
|
};
|
|
8266
|
-
const
|
|
8267
|
-
class
|
|
8317
|
+
const ee = {};
|
|
8318
|
+
class _1 extends V1 {
|
|
8268
8319
|
constructor(e) {
|
|
8269
8320
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8270
|
-
super(),
|
|
8321
|
+
super(), z3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Q.create("translator");
|
|
8271
8322
|
}
|
|
8272
8323
|
changeLanguage(e) {
|
|
8273
8324
|
e && (this.language = e);
|
|
@@ -8286,7 +8337,7 @@ class R1 extends b1 {
|
|
|
8286
8337
|
s === void 0 && (s = ":");
|
|
8287
8338
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
8288
8339
|
let l = t.ns || this.options.defaultNS || [];
|
|
8289
|
-
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
8340
|
+
const c = s && e.indexOf(s) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !n0(e, s, n);
|
|
8290
8341
|
if (c && !o) {
|
|
8291
8342
|
const d = e.match(this.interpolator.nestingRegexp);
|
|
8292
8343
|
if (d && d.length > 0)
|
|
@@ -8334,8 +8385,8 @@ class R1 extends b1 {
|
|
|
8334
8385
|
}
|
|
8335
8386
|
const h = this.resolve(e, t);
|
|
8336
8387
|
let u = h && h.res;
|
|
8337
|
-
const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, R = Object.prototype.toString.apply(u), k = ["[object Number]", "[object Function]", "[object RegExp]"],
|
|
8338
|
-
if (b && u &&
|
|
8388
|
+
const p = h && h.usedKey || c, m = h && h.exactUsedKey || c, R = Object.prototype.toString.apply(u), k = ["[object Number]", "[object Function]", "[object RegExp]"], H = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, I = !M(u) && typeof u != "boolean" && typeof u != "number";
|
|
8389
|
+
if (b && u && I && k.indexOf(R) < 0 && !(M(H) && Array.isArray(u))) {
|
|
8339
8390
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
8340
8391
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
8341
8392
|
const f = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
|
|
@@ -8348,48 +8399,48 @@ class R1 extends b1 {
|
|
|
8348
8399
|
const f = Array.isArray(u), x = f ? [] : {}, y = f ? m : p;
|
|
8349
8400
|
for (const L in u)
|
|
8350
8401
|
if (Object.prototype.hasOwnProperty.call(u, L)) {
|
|
8351
|
-
const
|
|
8352
|
-
x[L] = this.translate(
|
|
8402
|
+
const V = `${y}${l}${L}`;
|
|
8403
|
+
x[L] = this.translate(V, {
|
|
8353
8404
|
...t,
|
|
8354
8405
|
joinArrays: !1,
|
|
8355
8406
|
ns: o
|
|
8356
|
-
}), x[L] ===
|
|
8407
|
+
}), x[L] === V && (x[L] = u[L]);
|
|
8357
8408
|
}
|
|
8358
8409
|
u = x;
|
|
8359
8410
|
}
|
|
8360
|
-
} else if (b && M(
|
|
8361
|
-
u = u.join(
|
|
8411
|
+
} else if (b && M(H) && Array.isArray(u))
|
|
8412
|
+
u = u.join(H), u && (u = this.extendTranslation(u, e, t, s));
|
|
8362
8413
|
else {
|
|
8363
8414
|
let f = !1, x = !1;
|
|
8364
|
-
const y = t.count !== void 0 && !M(t.count), L =
|
|
8415
|
+
const y = t.count !== void 0 && !M(t.count), L = _1.hasDefaultValue(t), V = y ? this.pluralResolver.getSuffix(g, t.count, t) : "", O = t.ordinal && y ? this.pluralResolver.getSuffix(g, t.count, {
|
|
8365
8416
|
ordinal: !1
|
|
8366
|
-
}) : "",
|
|
8367
|
-
!this.isValidLookup(u) && L && (f = !0, u =
|
|
8368
|
-
const
|
|
8369
|
-
if (x || f ||
|
|
8370
|
-
if (this.logger.log(
|
|
8371
|
-
const
|
|
8417
|
+
}) : "", S = y && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), Z = S && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${V}`] || t[`defaultValue${O}`] || t.defaultValue;
|
|
8418
|
+
!this.isValidLookup(u) && L && (f = !0, u = Z), this.isValidLookup(u) || (x = !0, u = c);
|
|
8419
|
+
const E = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && x ? void 0 : u, B = L && Z !== u && this.options.updateMissing;
|
|
8420
|
+
if (x || f || B) {
|
|
8421
|
+
if (this.logger.log(B ? "updateKey" : "missingKey", g, d, c, B ? Z : u), l) {
|
|
8422
|
+
const T = this.resolve(c, {
|
|
8372
8423
|
...t,
|
|
8373
8424
|
keySeparator: !1
|
|
8374
8425
|
});
|
|
8375
|
-
|
|
8376
|
-
}
|
|
8377
|
-
let
|
|
8378
|
-
const
|
|
8379
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
8380
|
-
for (let
|
|
8381
|
-
|
|
8382
|
-
else this.options.saveMissingTo === "all" ?
|
|
8383
|
-
const
|
|
8384
|
-
const
|
|
8385
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
8426
|
+
T && T.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
8427
|
+
}
|
|
8428
|
+
let D = [];
|
|
8429
|
+
const z = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
8430
|
+
if (this.options.saveMissingTo === "fallback" && z && z[0])
|
|
8431
|
+
for (let T = 0; T < z.length; T++)
|
|
8432
|
+
D.push(z[T]);
|
|
8433
|
+
else this.options.saveMissingTo === "all" ? D = this.languageUtils.toResolveHierarchy(t.lng || this.language) : D.push(t.lng || this.language);
|
|
8434
|
+
const J = (T, F, Y) => {
|
|
8435
|
+
const e1 = L && Y !== u ? Y : E;
|
|
8436
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(T, d, F, e1, B, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(T, d, F, e1, B, t), this.emit("missingKey", T, d, F, u);
|
|
8386
8437
|
};
|
|
8387
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && y ?
|
|
8388
|
-
const
|
|
8389
|
-
|
|
8390
|
-
|
|
8438
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && y ? D.forEach((T) => {
|
|
8439
|
+
const F = this.pluralResolver.getSuffixes(T, t);
|
|
8440
|
+
S && t[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((Y) => {
|
|
8441
|
+
J([T], c + Y, t[`defaultValue${Y}`] || Z);
|
|
8391
8442
|
});
|
|
8392
|
-
}) :
|
|
8443
|
+
}) : J(D, c, Z));
|
|
8393
8444
|
}
|
|
8394
8445
|
u = this.extendTranslation(u, e, t, h, s), x && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (x || f) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, f ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
|
|
8395
8446
|
}
|
|
@@ -8433,7 +8484,7 @@ class R1 extends b1 {
|
|
|
8433
8484
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
8434
8485
|
}
|
|
8435
8486
|
const o = s.postProcess || this.options.postProcess, d = M(o) ? [o] : o;
|
|
8436
|
-
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e =
|
|
8487
|
+
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = we.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
8437
8488
|
i18nResolved: {
|
|
8438
8489
|
...n,
|
|
8439
8490
|
usedParams: this.getUsedParamsDetails(s)
|
|
@@ -8451,24 +8502,24 @@ class R1 extends b1 {
|
|
|
8451
8502
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
8452
8503
|
const u = t.count !== void 0 && !M(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", R = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
8453
8504
|
h.forEach((k) => {
|
|
8454
|
-
this.isValidLookup(s) || (o = k, !
|
|
8505
|
+
this.isValidLookup(s) || (o = k, !ee[`${R[0]}-${k}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ee[`${R[0]}-${k}`] = !0, this.logger.warn(`key "${n}" for languages "${R.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), R.forEach((H) => {
|
|
8455
8506
|
if (this.isValidLookup(s)) return;
|
|
8456
|
-
c =
|
|
8507
|
+
c = H;
|
|
8457
8508
|
const b = [a];
|
|
8458
8509
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
8459
|
-
this.i18nFormat.addLookupKeys(b, a,
|
|
8510
|
+
this.i18nFormat.addLookupKeys(b, a, H, k, t);
|
|
8460
8511
|
else {
|
|
8461
8512
|
let f;
|
|
8462
|
-
u && (f = this.pluralResolver.getSuffix(
|
|
8513
|
+
u && (f = this.pluralResolver.getSuffix(H, t.count, t));
|
|
8463
8514
|
const x = `${this.options.pluralSeparator}zero`, y = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
8464
8515
|
if (u && (b.push(a + f), t.ordinal && f.indexOf(y) === 0 && b.push(a + f.replace(y, this.options.pluralSeparator)), p && b.push(a + x)), m) {
|
|
8465
8516
|
const L = `${a}${this.options.contextSeparator}${t.context}`;
|
|
8466
8517
|
b.push(L), u && (b.push(L + f), t.ordinal && f.indexOf(y) === 0 && b.push(L + f.replace(y, this.options.pluralSeparator)), p && b.push(L + x));
|
|
8467
8518
|
}
|
|
8468
8519
|
}
|
|
8469
|
-
let
|
|
8470
|
-
for (;
|
|
8471
|
-
this.isValidLookup(s) || (l =
|
|
8520
|
+
let I;
|
|
8521
|
+
for (; I = b.pop(); )
|
|
8522
|
+
this.isValidLookup(s) || (l = I, s = this.getResource(H, k, I, t));
|
|
8472
8523
|
}));
|
|
8473
8524
|
});
|
|
8474
8525
|
}), {
|
|
@@ -8510,18 +8561,18 @@ class R1 extends b1 {
|
|
|
8510
8561
|
return !1;
|
|
8511
8562
|
}
|
|
8512
8563
|
}
|
|
8513
|
-
const
|
|
8514
|
-
class
|
|
8564
|
+
const H1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
8565
|
+
class te {
|
|
8515
8566
|
constructor(e) {
|
|
8516
8567
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Q.create("languageUtils");
|
|
8517
8568
|
}
|
|
8518
8569
|
getScriptPartFromCode(e) {
|
|
8519
|
-
if (e =
|
|
8570
|
+
if (e = y1(e), !e || e.indexOf("-") < 0) return null;
|
|
8520
8571
|
const t = e.split("-");
|
|
8521
8572
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
8522
8573
|
}
|
|
8523
8574
|
getLanguagePartFromCode(e) {
|
|
8524
|
-
if (e =
|
|
8575
|
+
if (e = y1(e), !e || e.indexOf("-") < 0) return e;
|
|
8525
8576
|
const t = e.split("-");
|
|
8526
8577
|
return this.formatLanguageCode(t[0]);
|
|
8527
8578
|
}
|
|
@@ -8535,7 +8586,7 @@ class ee {
|
|
|
8535
8586
|
}
|
|
8536
8587
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
8537
8588
|
let s = e.split("-");
|
|
8538
|
-
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] =
|
|
8589
|
+
return this.options.lowerCaseLng ? s = s.map((n) => n.toLowerCase()) : s.length === 2 ? (s[0] = s[0].toLowerCase(), s[1] = s[1].toUpperCase(), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = H1(s[1].toLowerCase()))) : s.length === 3 && (s[0] = s[0].toLowerCase(), s[1].length === 2 && (s[1] = s[1].toUpperCase()), s[0] !== "sgn" && s[2].length === 2 && (s[2] = s[2].toUpperCase()), t.indexOf(s[1].toLowerCase()) > -1 && (s[1] = H1(s[1].toLowerCase())), t.indexOf(s[2].toLowerCase()) > -1 && (s[2] = H1(s[2].toLowerCase()))), s.join("-");
|
|
8539
8590
|
}
|
|
8540
8591
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
8541
8592
|
}
|
|
@@ -8576,7 +8627,7 @@ class ee {
|
|
|
8576
8627
|
}), n;
|
|
8577
8628
|
}
|
|
8578
8629
|
}
|
|
8579
|
-
let
|
|
8630
|
+
let o0 = [{
|
|
8580
8631
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
8581
8632
|
nr: [1, 2],
|
|
8582
8633
|
fc: 1
|
|
@@ -8668,7 +8719,7 @@ let t0 = [{
|
|
|
8668
8719
|
lngs: ["he", "iw"],
|
|
8669
8720
|
nr: [1, 2, 20, 21],
|
|
8670
8721
|
fc: 22
|
|
8671
|
-
}],
|
|
8722
|
+
}], l0 = {
|
|
8672
8723
|
1: (i) => +(i > 1),
|
|
8673
8724
|
2: (i) => +(i != 1),
|
|
8674
8725
|
3: (i) => 0,
|
|
@@ -8692,28 +8743,28 @@ let t0 = [{
|
|
|
8692
8743
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
8693
8744
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
8694
8745
|
};
|
|
8695
|
-
const
|
|
8746
|
+
const a0 = ["v1", "v2", "v3"], h0 = ["v4"], ie = {
|
|
8696
8747
|
zero: 0,
|
|
8697
8748
|
one: 1,
|
|
8698
8749
|
two: 2,
|
|
8699
8750
|
few: 3,
|
|
8700
8751
|
many: 4,
|
|
8701
8752
|
other: 5
|
|
8702
|
-
},
|
|
8753
|
+
}, c0 = () => {
|
|
8703
8754
|
const i = {};
|
|
8704
|
-
return
|
|
8755
|
+
return o0.forEach((e) => {
|
|
8705
8756
|
e.lngs.forEach((t) => {
|
|
8706
8757
|
i[t] = {
|
|
8707
8758
|
numbers: e.nr,
|
|
8708
|
-
plurals:
|
|
8759
|
+
plurals: l0[e.fc]
|
|
8709
8760
|
};
|
|
8710
8761
|
});
|
|
8711
8762
|
}), i;
|
|
8712
8763
|
};
|
|
8713
|
-
class
|
|
8764
|
+
class d0 {
|
|
8714
8765
|
constructor(e) {
|
|
8715
8766
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8716
|
-
this.languageUtils = e, this.options = t, this.logger = Q.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
8767
|
+
this.languageUtils = e, this.options = t, this.logger = Q.create("pluralResolver"), (!this.options.compatibilityJSON || h0.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 = c0(), this.pluralRulesCache = {};
|
|
8717
8768
|
}
|
|
8718
8769
|
addRule(e, t) {
|
|
8719
8770
|
this.rules[e] = t;
|
|
@@ -8724,7 +8775,7 @@ class o0 {
|
|
|
8724
8775
|
getRule(e) {
|
|
8725
8776
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8726
8777
|
if (this.shouldUseIntlApi()) {
|
|
8727
|
-
const s =
|
|
8778
|
+
const s = y1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", l = JSON.stringify({
|
|
8728
8779
|
cleanedCode: s,
|
|
8729
8780
|
type: n
|
|
8730
8781
|
});
|
|
@@ -8756,7 +8807,7 @@ class o0 {
|
|
|
8756
8807
|
getSuffixes(e) {
|
|
8757
8808
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8758
8809
|
const s = this.getRule(e, t);
|
|
8759
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) =>
|
|
8810
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, l) => ie[n] - ie[l]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
8760
8811
|
}
|
|
8761
8812
|
getSuffix(e, t) {
|
|
8762
8813
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -8771,14 +8822,14 @@ class o0 {
|
|
|
8771
8822
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? l() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
8772
8823
|
}
|
|
8773
8824
|
shouldUseIntlApi() {
|
|
8774
|
-
return !
|
|
8825
|
+
return !a0.includes(this.options.compatibilityJSON);
|
|
8775
8826
|
}
|
|
8776
8827
|
}
|
|
8777
|
-
const
|
|
8778
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
|
8779
|
-
return !l && n && M(t) && (l =
|
|
8780
|
-
},
|
|
8781
|
-
class
|
|
8828
|
+
const se = function(i, e, t) {
|
|
8829
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = q3(i, e, t);
|
|
8830
|
+
return !l && n && M(t) && (l = B1(i, t, s), l === void 0 && (l = B1(e, t, s))), l;
|
|
8831
|
+
}, I1 = (i) => i.replace(/\$/g, "$$$$");
|
|
8832
|
+
class g0 {
|
|
8782
8833
|
constructor() {
|
|
8783
8834
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8784
8835
|
this.logger = Q.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -8804,10 +8855,10 @@ class l0 {
|
|
|
8804
8855
|
nestingSuffix: m,
|
|
8805
8856
|
nestingSuffixEscaped: R,
|
|
8806
8857
|
nestingOptionsSeparator: k,
|
|
8807
|
-
maxReplaces:
|
|
8858
|
+
maxReplaces: H,
|
|
8808
8859
|
alwaysFormat: b
|
|
8809
8860
|
} = e.interpolation;
|
|
8810
|
-
this.escape = t !== void 0 ? t :
|
|
8861
|
+
this.escape = t !== void 0 ? t : e0, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = l ? h1(l) : c || "{{", this.suffix = o ? h1(o) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? h1(u) : p || h1("$t("), this.nestingSuffix = m ? h1(m) : R || h1(")"), this.nestingOptionsSeparator = k || ",", this.maxReplaces = H || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
8811
8862
|
}
|
|
8812
8863
|
reset() {
|
|
8813
8864
|
this.options && this.init(this.options);
|
|
@@ -8820,15 +8871,15 @@ class l0 {
|
|
|
8820
8871
|
let l, c, o;
|
|
8821
8872
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
|
8822
8873
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
8823
|
-
const
|
|
8824
|
-
return this.alwaysFormat ? this.format(
|
|
8874
|
+
const H = se(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
8875
|
+
return this.alwaysFormat ? this.format(H, void 0, s, {
|
|
8825
8876
|
...n,
|
|
8826
8877
|
...t,
|
|
8827
8878
|
interpolationkey: p
|
|
8828
|
-
}) :
|
|
8879
|
+
}) : H;
|
|
8829
8880
|
}
|
|
8830
8881
|
const m = p.split(this.formatSeparator), R = m.shift().trim(), k = m.join(this.formatSeparator).trim();
|
|
8831
|
-
return this.format(
|
|
8882
|
+
return this.format(se(t, d, R, this.options.keySeparator, this.options.ignoreJSONStructure), k, s, {
|
|
8832
8883
|
...n,
|
|
8833
8884
|
...t,
|
|
8834
8885
|
interpolationkey: R
|
|
@@ -8838,10 +8889,10 @@ class l0 {
|
|
|
8838
8889
|
const a = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, h = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
8839
8890
|
return [{
|
|
8840
8891
|
regex: this.regexpUnescape,
|
|
8841
|
-
safeValue: (p) =>
|
|
8892
|
+
safeValue: (p) => I1(p)
|
|
8842
8893
|
}, {
|
|
8843
8894
|
regex: this.regexp,
|
|
8844
|
-
safeValue: (p) => this.escapeValue ?
|
|
8895
|
+
safeValue: (p) => this.escapeValue ? I1(this.escape(p)) : I1(p)
|
|
8845
8896
|
}].forEach((p) => {
|
|
8846
8897
|
for (o = 0; l = p.regex.exec(e); ) {
|
|
8847
8898
|
const m = l[1].trim();
|
|
@@ -8856,7 +8907,7 @@ class l0 {
|
|
|
8856
8907
|
continue;
|
|
8857
8908
|
} else
|
|
8858
8909
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
|
|
8859
|
-
else !M(c) && !this.useRawValueToEscape && (c =
|
|
8910
|
+
else !M(c) && !this.useRawValueToEscape && (c = z1(c));
|
|
8860
8911
|
const R = p.safeValue(c);
|
|
8861
8912
|
if (e = e.replace(l[0], R), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
8862
8913
|
break;
|
|
@@ -8894,7 +8945,7 @@ class l0 {
|
|
|
8894
8945
|
n[1] = a.shift(), d = a, g = !0;
|
|
8895
8946
|
}
|
|
8896
8947
|
if (l = t(o.call(this, n[1].trim(), c), c), l && n[0] === e && !M(l)) return l;
|
|
8897
|
-
M(l) || (l =
|
|
8948
|
+
M(l) || (l = z1(l)), l || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
|
|
8898
8949
|
...s,
|
|
8899
8950
|
interpolationkey: n[1].trim()
|
|
8900
8951
|
}), l.trim())), e = e.replace(n[0], l), this.regexp.lastIndex = 0;
|
|
@@ -8902,7 +8953,7 @@ class l0 {
|
|
|
8902
8953
|
return e;
|
|
8903
8954
|
}
|
|
8904
8955
|
}
|
|
8905
|
-
const
|
|
8956
|
+
const C0 = (i) => {
|
|
8906
8957
|
let e = i.toLowerCase().trim();
|
|
8907
8958
|
const t = {};
|
|
8908
8959
|
if (i.indexOf("(") > -1) {
|
|
@@ -8920,7 +8971,7 @@ const a0 = (i) => {
|
|
|
8920
8971
|
formatName: e,
|
|
8921
8972
|
formatOptions: t
|
|
8922
8973
|
};
|
|
8923
|
-
},
|
|
8974
|
+
}, c1 = (i) => {
|
|
8924
8975
|
const e = {};
|
|
8925
8976
|
return (t, s, n) => {
|
|
8926
8977
|
let l = n;
|
|
@@ -8930,39 +8981,39 @@ const a0 = (i) => {
|
|
|
8930
8981
|
});
|
|
8931
8982
|
const c = s + JSON.stringify(l);
|
|
8932
8983
|
let o = e[c];
|
|
8933
|
-
return o || (o = i(
|
|
8984
|
+
return o || (o = i(y1(s), n), e[c] = o), o(t);
|
|
8934
8985
|
};
|
|
8935
8986
|
};
|
|
8936
|
-
class
|
|
8987
|
+
class u0 {
|
|
8937
8988
|
constructor() {
|
|
8938
8989
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8939
8990
|
this.logger = Q.create("formatter"), this.options = e, this.formats = {
|
|
8940
|
-
number:
|
|
8991
|
+
number: c1((t, s) => {
|
|
8941
8992
|
const n = new Intl.NumberFormat(t, {
|
|
8942
8993
|
...s
|
|
8943
8994
|
});
|
|
8944
8995
|
return (l) => n.format(l);
|
|
8945
8996
|
}),
|
|
8946
|
-
currency:
|
|
8997
|
+
currency: c1((t, s) => {
|
|
8947
8998
|
const n = new Intl.NumberFormat(t, {
|
|
8948
8999
|
...s,
|
|
8949
9000
|
style: "currency"
|
|
8950
9001
|
});
|
|
8951
9002
|
return (l) => n.format(l);
|
|
8952
9003
|
}),
|
|
8953
|
-
datetime:
|
|
9004
|
+
datetime: c1((t, s) => {
|
|
8954
9005
|
const n = new Intl.DateTimeFormat(t, {
|
|
8955
9006
|
...s
|
|
8956
9007
|
});
|
|
8957
9008
|
return (l) => n.format(l);
|
|
8958
9009
|
}),
|
|
8959
|
-
relativetime:
|
|
9010
|
+
relativetime: c1((t, s) => {
|
|
8960
9011
|
const n = new Intl.RelativeTimeFormat(t, {
|
|
8961
9012
|
...s
|
|
8962
9013
|
});
|
|
8963
9014
|
return (l) => n.format(l, s.range || "day");
|
|
8964
9015
|
}),
|
|
8965
|
-
list:
|
|
9016
|
+
list: c1((t, s) => {
|
|
8966
9017
|
const n = new Intl.ListFormat(t, {
|
|
8967
9018
|
...s
|
|
8968
9019
|
});
|
|
@@ -8980,7 +9031,7 @@ class h0 {
|
|
|
8980
9031
|
this.formats[e.toLowerCase().trim()] = t;
|
|
8981
9032
|
}
|
|
8982
9033
|
addCached(e, t) {
|
|
8983
|
-
this.formats[e.toLowerCase().trim()] =
|
|
9034
|
+
this.formats[e.toLowerCase().trim()] = c1(t);
|
|
8984
9035
|
}
|
|
8985
9036
|
format(e, t, s) {
|
|
8986
9037
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -8993,7 +9044,7 @@ class h0 {
|
|
|
8993
9044
|
const {
|
|
8994
9045
|
formatName: g,
|
|
8995
9046
|
formatOptions: a
|
|
8996
|
-
} =
|
|
9047
|
+
} = C0(d);
|
|
8997
9048
|
if (this.formats[g]) {
|
|
8998
9049
|
let h = o;
|
|
8999
9050
|
try {
|
|
@@ -9013,10 +9064,10 @@ class h0 {
|
|
|
9013
9064
|
}, e);
|
|
9014
9065
|
}
|
|
9015
9066
|
}
|
|
9016
|
-
const
|
|
9067
|
+
const p0 = (i, e) => {
|
|
9017
9068
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
9018
9069
|
};
|
|
9019
|
-
class
|
|
9070
|
+
class f0 extends V1 {
|
|
9020
9071
|
constructor(e, t, s) {
|
|
9021
9072
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
9022
9073
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = Q.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);
|
|
@@ -9049,7 +9100,7 @@ class d0 extends b1 {
|
|
|
9049
9100
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
9050
9101
|
const o = {};
|
|
9051
9102
|
this.queue.forEach((d) => {
|
|
9052
|
-
|
|
9103
|
+
Q3(d.loaded, [l], c), p0(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
|
9053
9104
|
o[g] || (o[g] = {});
|
|
9054
9105
|
const a = d.loaded[g];
|
|
9055
9106
|
a.length && a.forEach((h) => {
|
|
@@ -9151,7 +9202,7 @@ class d0 extends b1 {
|
|
|
9151
9202
|
}
|
|
9152
9203
|
}
|
|
9153
9204
|
}
|
|
9154
|
-
const
|
|
9205
|
+
const ne = () => ({
|
|
9155
9206
|
debug: !1,
|
|
9156
9207
|
initImmediate: !0,
|
|
9157
9208
|
ns: ["translation"],
|
|
@@ -9207,18 +9258,18 @@ const se = () => ({
|
|
|
9207
9258
|
maxReplaces: 1e3,
|
|
9208
9259
|
skipOnVariables: !0
|
|
9209
9260
|
}
|
|
9210
|
-
}),
|
|
9211
|
-
},
|
|
9261
|
+
}), re = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
|
|
9262
|
+
}, w0 = (i) => {
|
|
9212
9263
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
9213
9264
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
9214
9265
|
});
|
|
9215
9266
|
};
|
|
9216
|
-
class
|
|
9267
|
+
class m1 extends V1 {
|
|
9217
9268
|
constructor() {
|
|
9218
9269
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
9219
|
-
if (super(), this.options =
|
|
9270
|
+
if (super(), this.options = re(e), this.services = {}, this.logger = Q, this.modules = {
|
|
9220
9271
|
external: []
|
|
9221
|
-
},
|
|
9272
|
+
}, w0(this), t && !this.isInitialized && !e.isClone) {
|
|
9222
9273
|
if (!this.options.initImmediate)
|
|
9223
9274
|
return this.init(e, t), this;
|
|
9224
9275
|
setTimeout(() => {
|
|
@@ -9230,11 +9281,11 @@ class u1 extends b1 {
|
|
|
9230
9281
|
var e = this;
|
|
9231
9282
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
9232
9283
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
9233
|
-
const n =
|
|
9284
|
+
const n = ne();
|
|
9234
9285
|
this.options = {
|
|
9235
9286
|
...n,
|
|
9236
9287
|
...this.options,
|
|
9237
|
-
...
|
|
9288
|
+
...re(t)
|
|
9238
9289
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
9239
9290
|
...n.interpolation,
|
|
9240
9291
|
...this.options.interpolation
|
|
@@ -9243,21 +9294,21 @@ class u1 extends b1 {
|
|
|
9243
9294
|
if (!this.options.isClone) {
|
|
9244
9295
|
this.modules.logger ? Q.init(l(this.modules.logger), this.options) : Q.init(null, this.options);
|
|
9245
9296
|
let a;
|
|
9246
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
|
9247
|
-
const h = new
|
|
9248
|
-
this.store = new
|
|
9297
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = u0);
|
|
9298
|
+
const h = new te(this.options);
|
|
9299
|
+
this.store = new X1(this.options.resources, this.options);
|
|
9249
9300
|
const u = this.services;
|
|
9250
|
-
u.logger = Q, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new
|
|
9301
|
+
u.logger = Q, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new d0(h, {
|
|
9251
9302
|
prepend: this.options.pluralSeparator,
|
|
9252
9303
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
9253
9304
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
9254
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new
|
|
9305
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new g0(this.options), u.utils = {
|
|
9255
9306
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
9256
|
-
}, u.backendConnector = new
|
|
9307
|
+
}, u.backendConnector = new f0(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
|
|
9257
9308
|
for (var m = arguments.length, R = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
|
|
9258
9309
|
R[k - 1] = arguments[k];
|
|
9259
9310
|
e.emit(p, ...R);
|
|
9260
|
-
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new
|
|
9311
|
+
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new _1(this.services, this.options), this.translator.on("*", function(p) {
|
|
9261
9312
|
for (var m = arguments.length, R = new Array(m > 1 ? m - 1 : 0), k = 1; k < m; k++)
|
|
9262
9313
|
R[k - 1] = arguments[k];
|
|
9263
9314
|
e.emit(p, ...R);
|
|
@@ -9265,7 +9316,7 @@ class u1 extends b1 {
|
|
|
9265
9316
|
p.init && p.init(this);
|
|
9266
9317
|
});
|
|
9267
9318
|
}
|
|
9268
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
9319
|
+
if (this.format = this.options.interpolation.format, s || (s = x1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
9269
9320
|
const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
9270
9321
|
a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]);
|
|
9271
9322
|
}
|
|
@@ -9278,7 +9329,7 @@ class u1 extends b1 {
|
|
|
9278
9329
|
return e.store[a](...arguments), e;
|
|
9279
9330
|
};
|
|
9280
9331
|
});
|
|
9281
|
-
const d =
|
|
9332
|
+
const d = u1(), g = () => {
|
|
9282
9333
|
const a = (h, u) => {
|
|
9283
9334
|
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(u), s(h, u);
|
|
9284
9335
|
};
|
|
@@ -9288,7 +9339,7 @@ class u1 extends b1 {
|
|
|
9288
9339
|
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), d;
|
|
9289
9340
|
}
|
|
9290
9341
|
loadResources(e) {
|
|
9291
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
9342
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
9292
9343
|
const n = M(e) ? e : this.language;
|
|
9293
9344
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
9294
9345
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -9305,15 +9356,15 @@ class u1 extends b1 {
|
|
|
9305
9356
|
s(null);
|
|
9306
9357
|
}
|
|
9307
9358
|
reloadResources(e, t, s) {
|
|
9308
|
-
const n =
|
|
9309
|
-
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 =
|
|
9359
|
+
const n = u1();
|
|
9360
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = x1), this.services.backendConnector.reload(e, t, (l) => {
|
|
9310
9361
|
n.resolve(), s(l);
|
|
9311
9362
|
}), n;
|
|
9312
9363
|
}
|
|
9313
9364
|
use(e) {
|
|
9314
9365
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
9315
9366
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
9316
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
9367
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && we.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
9317
9368
|
}
|
|
9318
9369
|
setResolvedLanguage(e) {
|
|
9319
9370
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -9328,7 +9379,7 @@ class u1 extends b1 {
|
|
|
9328
9379
|
changeLanguage(e, t) {
|
|
9329
9380
|
var s = this;
|
|
9330
9381
|
this.isLanguageChangingTo = e;
|
|
9331
|
-
const n =
|
|
9382
|
+
const n = u1();
|
|
9332
9383
|
this.emit("languageChanging", e);
|
|
9333
9384
|
const l = (d) => {
|
|
9334
9385
|
this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
|
|
@@ -9394,7 +9445,7 @@ class u1 extends b1 {
|
|
|
9394
9445
|
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(l, e)));
|
|
9395
9446
|
}
|
|
9396
9447
|
loadNamespaces(e, t) {
|
|
9397
|
-
const s =
|
|
9448
|
+
const s = u1();
|
|
9398
9449
|
return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
|
|
9399
9450
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
9400
9451
|
}), this.loadResources((n) => {
|
|
@@ -9402,7 +9453,7 @@ class u1 extends b1 {
|
|
|
9402
9453
|
}), s) : (t && t(), Promise.resolve());
|
|
9403
9454
|
}
|
|
9404
9455
|
loadLanguages(e, t) {
|
|
9405
|
-
const s =
|
|
9456
|
+
const s = u1();
|
|
9406
9457
|
M(e) && (e = [e]);
|
|
9407
9458
|
const n = this.options.preload || [], l = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
9408
9459
|
return l.length ? (this.options.preload = n.concat(l), this.loadResources((c) => {
|
|
@@ -9411,29 +9462,29 @@ class u1 extends b1 {
|
|
|
9411
9462
|
}
|
|
9412
9463
|
dir(e) {
|
|
9413
9464
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
9414
|
-
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
|
|
9465
|
+
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 te(ne());
|
|
9415
9466
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
9416
9467
|
}
|
|
9417
9468
|
static createInstance() {
|
|
9418
9469
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
9419
|
-
return new
|
|
9470
|
+
return new m1(e, t);
|
|
9420
9471
|
}
|
|
9421
9472
|
cloneInstance() {
|
|
9422
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
9473
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
9423
9474
|
const s = e.forkResourceStore;
|
|
9424
9475
|
s && delete e.forkResourceStore;
|
|
9425
9476
|
const n = {
|
|
9426
9477
|
...this.options,
|
|
9427
9478
|
...e,
|
|
9428
9479
|
isClone: !0
|
|
9429
|
-
}, l = new
|
|
9480
|
+
}, l = new m1(n);
|
|
9430
9481
|
return (e.debug !== void 0 || e.prefix !== void 0) && (l.logger = l.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
|
|
9431
9482
|
l[o] = this[o];
|
|
9432
9483
|
}), l.services = {
|
|
9433
9484
|
...this.services
|
|
9434
9485
|
}, l.services.utils = {
|
|
9435
9486
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
|
9436
|
-
}, s && (l.store = new
|
|
9487
|
+
}, s && (l.store = new X1(this.store.data, n), l.services.resourceStore = l.store), l.translator = new _1(l.services, n), l.translator.on("*", function(o) {
|
|
9437
9488
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
|
9438
9489
|
g[a - 1] = arguments[a];
|
|
9439
9490
|
l.emit(o, ...g);
|
|
@@ -9451,42 +9502,42 @@ class u1 extends b1 {
|
|
|
9451
9502
|
};
|
|
9452
9503
|
}
|
|
9453
9504
|
}
|
|
9454
|
-
const
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
const
|
|
9471
|
-
archived:
|
|
9472
|
-
deleted:
|
|
9473
|
-
},
|
|
9474
|
-
archived:
|
|
9475
|
-
deleted:
|
|
9505
|
+
const $ = m1.createInstance();
|
|
9506
|
+
$.createInstance = m1.createInstance;
|
|
9507
|
+
$.createInstance;
|
|
9508
|
+
$.dir;
|
|
9509
|
+
$.init;
|
|
9510
|
+
$.loadResources;
|
|
9511
|
+
$.reloadResources;
|
|
9512
|
+
$.use;
|
|
9513
|
+
$.changeLanguage;
|
|
9514
|
+
$.getFixedT;
|
|
9515
|
+
$.t;
|
|
9516
|
+
$.exists;
|
|
9517
|
+
$.setDefaultNamespace;
|
|
9518
|
+
$.hasLoadedNamespace;
|
|
9519
|
+
$.loadNamespaces;
|
|
9520
|
+
$.loadLanguages;
|
|
9521
|
+
const m0 = "Archived", k0 = "Deleted", L0 = {
|
|
9522
|
+
archived: m0,
|
|
9523
|
+
deleted: k0
|
|
9524
|
+
}, v0 = "Заархивирован", N0 = "Удалён", x0 = {
|
|
9525
|
+
archived: v0,
|
|
9526
|
+
deleted: N0
|
|
9476
9527
|
};
|
|
9477
|
-
|
|
9528
|
+
$.use(K3).init({
|
|
9478
9529
|
defaultNS: "common",
|
|
9479
9530
|
lng: "en",
|
|
9480
9531
|
resources: {
|
|
9481
9532
|
en: {
|
|
9482
|
-
common:
|
|
9533
|
+
common: L0
|
|
9483
9534
|
},
|
|
9484
9535
|
ru: {
|
|
9485
|
-
common:
|
|
9536
|
+
common: x0
|
|
9486
9537
|
}
|
|
9487
9538
|
}
|
|
9488
9539
|
});
|
|
9489
|
-
const
|
|
9540
|
+
const E0 = k1(
|
|
9490
9541
|
({
|
|
9491
9542
|
fetchParams: i,
|
|
9492
9543
|
mode: e = void 0,
|
|
@@ -9498,125 +9549,125 @@ const R0 = y1(
|
|
|
9498
9549
|
allowEmpty: o = !1,
|
|
9499
9550
|
showAvatar: d = !1
|
|
9500
9551
|
}, g) => {
|
|
9501
|
-
const { axiosPeople: a, locale: h } =
|
|
9502
|
-
if (
|
|
9552
|
+
const { axiosPeople: a, locale: h } = r1(_e), { t: u } = U3("common", { lng: h }), [p, m] = j([]), [R, k] = j(!0), H = q(p), b = q(null);
|
|
9553
|
+
if (oe(g, () => b.current), !a)
|
|
9503
9554
|
throw new Error(
|
|
9504
9555
|
`UserSelect requires "axiosPeople" to fetch users.
|
|
9505
9556
|
Please provide it via SNMTUiContext.`
|
|
9506
9557
|
);
|
|
9507
|
-
const
|
|
9508
|
-
(
|
|
9509
|
-
let
|
|
9510
|
-
return
|
|
9558
|
+
const I = P(
|
|
9559
|
+
(V) => {
|
|
9560
|
+
let O = "";
|
|
9561
|
+
return V.deletedAt && (O += `[${u("deleted")}] `), V.status === M1.ARCHIVED && (O += `[${u("archived")}] `), `${O}${V.firstName} ${V.lastName}`;
|
|
9511
9562
|
},
|
|
9512
9563
|
[u]
|
|
9513
9564
|
), f = P(
|
|
9514
9565
|
async ({
|
|
9515
|
-
offset:
|
|
9516
|
-
limit:
|
|
9517
|
-
search:
|
|
9566
|
+
offset: V,
|
|
9567
|
+
limit: O,
|
|
9568
|
+
search: S
|
|
9518
9569
|
}) => {
|
|
9519
|
-
var
|
|
9570
|
+
var Z, K, E;
|
|
9520
9571
|
try {
|
|
9521
|
-
const
|
|
9522
|
-
offset:
|
|
9523
|
-
limit:
|
|
9524
|
-
search:
|
|
9572
|
+
const B = await a.post("v1/users/search", {
|
|
9573
|
+
offset: V,
|
|
9574
|
+
limit: O,
|
|
9575
|
+
search: S,
|
|
9525
9576
|
...i,
|
|
9526
9577
|
includeCount: !0
|
|
9527
|
-
}), { data:
|
|
9578
|
+
}), { data: D, metadata: z } = B.data;
|
|
9528
9579
|
return {
|
|
9529
|
-
options:
|
|
9530
|
-
value:
|
|
9531
|
-
label:
|
|
9532
|
-
image: d ?
|
|
9580
|
+
options: D.map((J) => ({
|
|
9581
|
+
value: J.id,
|
|
9582
|
+
label: I(J),
|
|
9583
|
+
image: d ? J.avatarUrl : void 0
|
|
9533
9584
|
})),
|
|
9534
|
-
count:
|
|
9585
|
+
count: z.count
|
|
9535
9586
|
};
|
|
9536
|
-
} catch (
|
|
9587
|
+
} catch (B) {
|
|
9537
9588
|
return c && c({
|
|
9538
|
-
status: ((
|
|
9539
|
-
message: ((
|
|
9589
|
+
status: ((Z = B.response) == null ? void 0 : Z.status) ?? 500,
|
|
9590
|
+
message: ((E = (K = B.response) == null ? void 0 : K.data) == null ? void 0 : E.message) ?? "Error while fetching options"
|
|
9540
9591
|
}), {
|
|
9541
9592
|
options: [],
|
|
9542
9593
|
count: 0
|
|
9543
9594
|
};
|
|
9544
9595
|
}
|
|
9545
9596
|
},
|
|
9546
|
-
[a, i,
|
|
9597
|
+
[a, i, I, d, c]
|
|
9547
9598
|
), x = P(
|
|
9548
|
-
async (
|
|
9549
|
-
var
|
|
9599
|
+
async (V) => {
|
|
9600
|
+
var O, S, Z;
|
|
9550
9601
|
try {
|
|
9551
|
-
const
|
|
9552
|
-
(
|
|
9602
|
+
const K = V.filter(
|
|
9603
|
+
(D) => !H.current.some((z) => z.value === D)
|
|
9553
9604
|
);
|
|
9554
|
-
let
|
|
9555
|
-
|
|
9605
|
+
let E = [];
|
|
9606
|
+
K.length && (E = (await a.post("v1/users/search", {
|
|
9556
9607
|
filters: {
|
|
9557
|
-
id:
|
|
9558
|
-
status: [
|
|
9608
|
+
id: K,
|
|
9609
|
+
status: [M1.ACTIVE, M1.ARCHIVED]
|
|
9559
9610
|
}
|
|
9560
9611
|
})).data.data);
|
|
9561
|
-
const
|
|
9562
|
-
value:
|
|
9563
|
-
label:
|
|
9564
|
-
image: d ?
|
|
9612
|
+
const B = E.map((D) => ({
|
|
9613
|
+
value: D.id,
|
|
9614
|
+
label: I(D),
|
|
9615
|
+
image: d ? D.avatarUrl : void 0
|
|
9565
9616
|
}));
|
|
9566
|
-
return [...
|
|
9567
|
-
} catch (
|
|
9617
|
+
return [...H.current, ...B];
|
|
9618
|
+
} catch (K) {
|
|
9568
9619
|
return c && c({
|
|
9569
|
-
status: ((
|
|
9570
|
-
message: ((
|
|
9620
|
+
status: ((O = K.response) == null ? void 0 : O.status) ?? 500,
|
|
9621
|
+
message: ((Z = (S = K.response) == null ? void 0 : S.data) == null ? void 0 : Z.message) ?? "Error while fetching selected items"
|
|
9571
9622
|
}), [];
|
|
9572
9623
|
}
|
|
9573
9624
|
},
|
|
9574
|
-
[a,
|
|
9625
|
+
[a, I, c, d]
|
|
9575
9626
|
);
|
|
9576
9627
|
G(() => {
|
|
9577
|
-
|
|
9628
|
+
H.current = p;
|
|
9578
9629
|
}, [p]), G(() => {
|
|
9579
|
-
var
|
|
9580
|
-
(
|
|
9630
|
+
var V;
|
|
9631
|
+
(V = b.current) == null || V.refetchOptions();
|
|
9581
9632
|
}, [i]), G(() => {
|
|
9582
9633
|
if (!n) {
|
|
9583
9634
|
k(!1);
|
|
9584
9635
|
return;
|
|
9585
9636
|
}
|
|
9586
9637
|
(async () => {
|
|
9587
|
-
const
|
|
9588
|
-
m(
|
|
9638
|
+
const O = Array.isArray(n) ? n : [n], S = await x(O);
|
|
9639
|
+
m(S), k(!1);
|
|
9589
9640
|
})();
|
|
9590
9641
|
}, [x, n]);
|
|
9591
9642
|
const y = P(
|
|
9592
9643
|
async ({
|
|
9593
|
-
limit:
|
|
9594
|
-
offset:
|
|
9595
|
-
search:
|
|
9644
|
+
limit: V,
|
|
9645
|
+
offset: O,
|
|
9646
|
+
search: S
|
|
9596
9647
|
}) => {
|
|
9597
|
-
const { count:
|
|
9598
|
-
offset:
|
|
9599
|
-
limit:
|
|
9600
|
-
search:
|
|
9648
|
+
const { count: Z, ...K } = await f({
|
|
9649
|
+
offset: O,
|
|
9650
|
+
limit: V,
|
|
9651
|
+
search: S
|
|
9601
9652
|
});
|
|
9602
|
-
let
|
|
9603
|
-
return o &&
|
|
9604
|
-
options:
|
|
9605
|
-
count:
|
|
9606
|
-
limit:
|
|
9653
|
+
let E = K.options;
|
|
9654
|
+
return o && O === 0 && (E = [{ value: null, label: "None" }, ...E]), {
|
|
9655
|
+
options: E,
|
|
9656
|
+
count: Z,
|
|
9657
|
+
limit: V
|
|
9607
9658
|
};
|
|
9608
9659
|
},
|
|
9609
9660
|
[o, f]
|
|
9610
9661
|
);
|
|
9611
9662
|
if (R)
|
|
9612
|
-
return /* @__PURE__ */ r(
|
|
9663
|
+
return /* @__PURE__ */ r(E3, {});
|
|
9613
9664
|
const L = {
|
|
9614
9665
|
ref: b,
|
|
9615
9666
|
placeholder: t,
|
|
9616
9667
|
disabled: s
|
|
9617
9668
|
};
|
|
9618
9669
|
return e ? /* @__PURE__ */ r(
|
|
9619
|
-
|
|
9670
|
+
$1,
|
|
9620
9671
|
{
|
|
9621
9672
|
...L,
|
|
9622
9673
|
mode: e,
|
|
@@ -9627,7 +9678,7 @@ const R0 = y1(
|
|
|
9627
9678
|
extraOptions: p
|
|
9628
9679
|
}
|
|
9629
9680
|
) : /* @__PURE__ */ r(
|
|
9630
|
-
|
|
9681
|
+
$1,
|
|
9631
9682
|
{
|
|
9632
9683
|
...L,
|
|
9633
9684
|
value: n,
|
|
@@ -9641,5 +9692,5 @@ const R0 = y1(
|
|
|
9641
9692
|
}
|
|
9642
9693
|
);
|
|
9643
9694
|
export {
|
|
9644
|
-
|
|
9695
|
+
E0 as UserSelect
|
|
9645
9696
|
};
|