@spscommerce/i18n 8.33.10 → 8.34.1
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/lib/i18n-woodland.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2178 -1226
- package/lib/index.umd.cjs +2 -2
- package/lib/useSpsLanguage.d.ts +2 -1
- package/locales/de-DE/woodland.json +112 -1
- package/locales/en-US/woodland.json +105 -161
- package/locales/es-ES/woodland.json +112 -1
- package/locales/fr-CA/woodland.json +111 -4
- package/locales/fr-FR/woodland.json +112 -1
- package/locales/it-IT/woodland.json +112 -1
- package/locales/nl-NL/woodland.json +112 -1
- package/locales/zh-CN/woodland.json +109 -1
- package/locales/zh-TW/woodland.json +109 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import { createContext as
|
|
2
|
-
function
|
|
3
|
-
for (var
|
|
4
|
-
const e = t[
|
|
1
|
+
import { createContext as Et, useContext as ut, createElement as le, isValidElement as ce, cloneElement as ie, useState as Rt, useRef as Oe, useEffect as Ee } from "react";
|
|
2
|
+
function At(n, t) {
|
|
3
|
+
for (var a = 0; a < t.length; a++) {
|
|
4
|
+
const e = t[a];
|
|
5
5
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
6
6
|
for (const r in e)
|
|
7
|
-
if (r !== "default" && !(r in
|
|
7
|
+
if (r !== "default" && !(r in n)) {
|
|
8
8
|
const i = Object.getOwnPropertyDescriptor(e, r);
|
|
9
|
-
i && Object.defineProperty(
|
|
9
|
+
i && Object.defineProperty(n, r, i.get ? i : {
|
|
10
10
|
enumerable: !0,
|
|
11
11
|
get: () => e[r]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(
|
|
16
|
+
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function j(n) {
|
|
19
19
|
"@babel/helpers - typeof";
|
|
20
|
-
return
|
|
20
|
+
return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
21
21
|
return typeof t;
|
|
22
22
|
} : function(t) {
|
|
23
23
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
function
|
|
27
|
-
if (
|
|
28
|
-
var
|
|
29
|
-
if (
|
|
30
|
-
var e =
|
|
31
|
-
if (
|
|
24
|
+
}, j(n);
|
|
25
|
+
}
|
|
26
|
+
function Dt(n, t) {
|
|
27
|
+
if (j(n) != "object" || !n) return n;
|
|
28
|
+
var a = n[Symbol.toPrimitive];
|
|
29
|
+
if (a !== void 0) {
|
|
30
|
+
var e = a.call(n, t);
|
|
31
|
+
if (j(e) != "object") return e;
|
|
32
32
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
33
33
|
}
|
|
34
|
-
return String(
|
|
34
|
+
return String(n);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
var t =
|
|
38
|
-
return
|
|
36
|
+
function ct(n) {
|
|
37
|
+
var t = Dt(n, "string");
|
|
38
|
+
return j(t) == "symbol" ? t : t + "";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return (t =
|
|
42
|
-
value:
|
|
40
|
+
function ve(n, t, a) {
|
|
41
|
+
return (t = ct(t)) in n ? Object.defineProperty(n, t, {
|
|
42
|
+
value: a,
|
|
43
43
|
enumerable: !0,
|
|
44
44
|
configurable: !0,
|
|
45
45
|
writable: !0
|
|
46
|
-
}) :
|
|
46
|
+
}) : n[t] = a, n;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function N(n) {
|
|
49
49
|
for (var t = 1; t < arguments.length; t++) {
|
|
50
|
-
var
|
|
51
|
-
typeof Object.getOwnPropertySymbols == "function" && e.push.apply(e, Object.getOwnPropertySymbols(
|
|
52
|
-
return Object.getOwnPropertyDescriptor(
|
|
50
|
+
var a = arguments[t] != null ? Object(arguments[t]) : {}, e = Object.keys(a);
|
|
51
|
+
typeof Object.getOwnPropertySymbols == "function" && e.push.apply(e, Object.getOwnPropertySymbols(a).filter(function(r) {
|
|
52
|
+
return Object.getOwnPropertyDescriptor(a, r).enumerable;
|
|
53
53
|
})), e.forEach(function(r) {
|
|
54
|
-
|
|
54
|
+
ve(n, r, a[r]);
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
return
|
|
57
|
+
return n;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (!(
|
|
59
|
+
function z(n, t) {
|
|
60
|
+
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
61
61
|
}
|
|
62
|
-
function Ie(
|
|
63
|
-
for (var
|
|
64
|
-
var e = t[
|
|
65
|
-
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(
|
|
62
|
+
function Ie(n, t) {
|
|
63
|
+
for (var a = 0; a < t.length; a++) {
|
|
64
|
+
var e = t[a];
|
|
65
|
+
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, ct(e.key), e);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return t && Ie(
|
|
68
|
+
function _(n, t, a) {
|
|
69
|
+
return t && Ie(n.prototype, t), a && Ie(n, a), Object.defineProperty(n, "prototype", {
|
|
70
70
|
writable: !1
|
|
71
|
-
}),
|
|
71
|
+
}), n;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
75
|
-
return
|
|
73
|
+
function K(n) {
|
|
74
|
+
if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
75
|
+
return n;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
if (t && (
|
|
77
|
+
function re(n, t) {
|
|
78
|
+
if (t && (j(t) == "object" || typeof t == "function")) return t;
|
|
79
79
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
80
|
-
return
|
|
80
|
+
return K(n);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function Y(n) {
|
|
83
|
+
return Y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
84
84
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
85
|
-
},
|
|
85
|
+
}, Y(n);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
89
|
-
return
|
|
90
|
-
},
|
|
87
|
+
function Re(n, t) {
|
|
88
|
+
return Re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, e) {
|
|
89
|
+
return a.__proto__ = e, a;
|
|
90
|
+
}, Re(n, t);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ye(n, t) {
|
|
93
93
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
94
|
-
|
|
94
|
+
n.prototype = Object.create(t && t.prototype, {
|
|
95
95
|
constructor: {
|
|
96
|
-
value:
|
|
96
|
+
value: n,
|
|
97
97
|
writable: !0,
|
|
98
98
|
configurable: !0
|
|
99
99
|
}
|
|
100
|
-
}), Object.defineProperty(
|
|
100
|
+
}), Object.defineProperty(n, "prototype", {
|
|
101
101
|
writable: !1
|
|
102
|
-
}), t &&
|
|
102
|
+
}), t && Re(n, t);
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var Bt = {
|
|
105
105
|
type: "logger",
|
|
106
106
|
log: function(t) {
|
|
107
107
|
this.output("log", t);
|
|
@@ -112,166 +112,166 @@ var Ct = {
|
|
|
112
112
|
error: function(t) {
|
|
113
113
|
this.output("error", t);
|
|
114
114
|
},
|
|
115
|
-
output: function(t,
|
|
116
|
-
console && console[t] && console[t].apply(console,
|
|
115
|
+
output: function(t, a) {
|
|
116
|
+
console && console[t] && console[t].apply(console, a);
|
|
117
117
|
}
|
|
118
|
-
},
|
|
119
|
-
function
|
|
120
|
-
var
|
|
121
|
-
|
|
118
|
+
}, Ut = function() {
|
|
119
|
+
function n(t) {
|
|
120
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
121
|
+
z(this, n), this.init(t, a);
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return _(n, [{
|
|
124
124
|
key: "init",
|
|
125
|
-
value: function(
|
|
125
|
+
value: function(a) {
|
|
126
126
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
127
|
-
this.prefix = e.prefix || "i18next:", this.logger =
|
|
127
|
+
this.prefix = e.prefix || "i18next:", this.logger = a || Bt, this.options = e, this.debug = e.debug;
|
|
128
128
|
}
|
|
129
129
|
}, {
|
|
130
130
|
key: "setDebug",
|
|
131
|
-
value: function(
|
|
132
|
-
this.debug =
|
|
131
|
+
value: function(a) {
|
|
132
|
+
this.debug = a;
|
|
133
133
|
}
|
|
134
134
|
}, {
|
|
135
135
|
key: "log",
|
|
136
136
|
value: function() {
|
|
137
|
-
for (var
|
|
137
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
138
138
|
e[r] = arguments[r];
|
|
139
139
|
return this.forward(e, "log", "", !0);
|
|
140
140
|
}
|
|
141
141
|
}, {
|
|
142
142
|
key: "warn",
|
|
143
143
|
value: function() {
|
|
144
|
-
for (var
|
|
144
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
145
145
|
e[r] = arguments[r];
|
|
146
146
|
return this.forward(e, "warn", "", !0);
|
|
147
147
|
}
|
|
148
148
|
}, {
|
|
149
149
|
key: "error",
|
|
150
150
|
value: function() {
|
|
151
|
-
for (var
|
|
151
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
152
152
|
e[r] = arguments[r];
|
|
153
153
|
return this.forward(e, "error", "");
|
|
154
154
|
}
|
|
155
155
|
}, {
|
|
156
156
|
key: "deprecate",
|
|
157
157
|
value: function() {
|
|
158
|
-
for (var
|
|
158
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
159
159
|
e[r] = arguments[r];
|
|
160
160
|
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
161
161
|
}
|
|
162
162
|
}, {
|
|
163
163
|
key: "forward",
|
|
164
|
-
value: function(
|
|
165
|
-
return i && !this.debug ? null : (typeof
|
|
164
|
+
value: function(a, e, r, i) {
|
|
165
|
+
return i && !this.debug ? null : (typeof a[0] == "string" && (a[0] = "".concat(r).concat(this.prefix, " ").concat(a[0])), this.logger[e](a));
|
|
166
166
|
}
|
|
167
167
|
}, {
|
|
168
168
|
key: "create",
|
|
169
|
-
value: function(
|
|
170
|
-
return new
|
|
171
|
-
prefix: "".concat(this.prefix, ":").concat(
|
|
169
|
+
value: function(a) {
|
|
170
|
+
return new n(this.logger, N({}, {
|
|
171
|
+
prefix: "".concat(this.prefix, ":").concat(a, ":")
|
|
172
172
|
}, this.options));
|
|
173
173
|
}
|
|
174
|
-
}]),
|
|
175
|
-
}(),
|
|
176
|
-
function
|
|
177
|
-
|
|
174
|
+
}]), n;
|
|
175
|
+
}(), q = new Ut(), Q = function() {
|
|
176
|
+
function n() {
|
|
177
|
+
z(this, n), this.observers = {};
|
|
178
178
|
}
|
|
179
|
-
return
|
|
179
|
+
return _(n, [{
|
|
180
180
|
key: "on",
|
|
181
|
-
value: function(
|
|
181
|
+
value: function(a, e) {
|
|
182
182
|
var r = this;
|
|
183
|
-
return
|
|
183
|
+
return a.split(" ").forEach(function(i) {
|
|
184
184
|
r.observers[i] = r.observers[i] || [], r.observers[i].push(e);
|
|
185
185
|
}), this;
|
|
186
186
|
}
|
|
187
187
|
}, {
|
|
188
188
|
key: "off",
|
|
189
|
-
value: function(
|
|
190
|
-
if (this.observers[
|
|
189
|
+
value: function(a, e) {
|
|
190
|
+
if (this.observers[a]) {
|
|
191
191
|
if (!e) {
|
|
192
|
-
delete this.observers[
|
|
192
|
+
delete this.observers[a];
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
|
-
this.observers[
|
|
195
|
+
this.observers[a] = this.observers[a].filter(function(r) {
|
|
196
196
|
return r !== e;
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
}, {
|
|
201
201
|
key: "emit",
|
|
202
|
-
value: function(
|
|
202
|
+
value: function(a) {
|
|
203
203
|
for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
204
204
|
r[i - 1] = arguments[i];
|
|
205
|
-
if (this.observers[
|
|
206
|
-
var o = [].concat(this.observers[
|
|
207
|
-
o.forEach(function(
|
|
208
|
-
|
|
205
|
+
if (this.observers[a]) {
|
|
206
|
+
var o = [].concat(this.observers[a]);
|
|
207
|
+
o.forEach(function(l) {
|
|
208
|
+
l.apply(void 0, r);
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
if (this.observers["*"]) {
|
|
212
212
|
var s = [].concat(this.observers["*"]);
|
|
213
|
-
s.forEach(function(
|
|
214
|
-
|
|
213
|
+
s.forEach(function(l) {
|
|
214
|
+
l.apply(l, [a].concat(r));
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
}]),
|
|
218
|
+
}]), n;
|
|
219
219
|
}();
|
|
220
|
-
function
|
|
221
|
-
var
|
|
222
|
-
|
|
220
|
+
function J() {
|
|
221
|
+
var n, t, a = new Promise(function(e, r) {
|
|
222
|
+
n = e, t = r;
|
|
223
223
|
});
|
|
224
|
-
return
|
|
224
|
+
return a.resolve = n, a.reject = t, a;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
return
|
|
226
|
+
function Me(n) {
|
|
227
|
+
return n == null ? "" : "" + n;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
|
|
231
|
-
t[e] && (
|
|
229
|
+
function Nt(n, t, a) {
|
|
230
|
+
n.forEach(function(e) {
|
|
231
|
+
t[e] && (a[e] = t[e]);
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Ne(n, t, a) {
|
|
235
235
|
function e(s) {
|
|
236
236
|
return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
|
|
237
237
|
}
|
|
238
238
|
function r() {
|
|
239
|
-
return !
|
|
239
|
+
return !n || typeof n == "string";
|
|
240
240
|
}
|
|
241
241
|
for (var i = typeof t != "string" ? [].concat(t) : t.split("."); i.length > 1; ) {
|
|
242
242
|
if (r()) return {};
|
|
243
243
|
var o = e(i.shift());
|
|
244
|
-
!
|
|
244
|
+
!n[o] && a && (n[o] = new a()), Object.prototype.hasOwnProperty.call(n, o) ? n = n[o] : n = {};
|
|
245
245
|
}
|
|
246
246
|
return r() ? {} : {
|
|
247
|
-
obj:
|
|
247
|
+
obj: n,
|
|
248
248
|
k: e(i.shift())
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
var e =
|
|
253
|
-
r[i] =
|
|
251
|
+
function ze(n, t, a) {
|
|
252
|
+
var e = Ne(n, t, Object), r = e.obj, i = e.k;
|
|
253
|
+
r[i] = a;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
256
|
-
var r =
|
|
257
|
-
i[o] = i[o] || [], i[o].push(
|
|
255
|
+
function jt(n, t, a, e) {
|
|
256
|
+
var r = Ne(n, t, Object), i = r.obj, o = r.k;
|
|
257
|
+
i[o] = i[o] || [], i[o].push(a);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
var
|
|
259
|
+
function de(n, t) {
|
|
260
|
+
var a = Ne(n, t), e = a.obj, r = a.k;
|
|
261
261
|
if (e)
|
|
262
262
|
return e[r];
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
var e =
|
|
266
|
-
return e !== void 0 ? e :
|
|
264
|
+
function _e(n, t, a) {
|
|
265
|
+
var e = de(n, a);
|
|
266
|
+
return e !== void 0 ? e : de(t, a);
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function dt(n, t, a) {
|
|
269
269
|
for (var e in t)
|
|
270
|
-
e !== "__proto__" && e !== "constructor" && (e in
|
|
271
|
-
return
|
|
270
|
+
e !== "__proto__" && e !== "constructor" && (e in n ? typeof n[e] == "string" || n[e] instanceof String || typeof t[e] == "string" || t[e] instanceof String ? a && (n[e] = t[e]) : dt(n[e], t[e], a) : n[e] = t[e]);
|
|
271
|
+
return n;
|
|
272
272
|
}
|
|
273
|
-
function G(
|
|
274
|
-
return
|
|
273
|
+
function G(n) {
|
|
274
|
+
return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
275
275
|
}
|
|
276
276
|
var Ft = {
|
|
277
277
|
"&": "&",
|
|
@@ -281,21 +281,21 @@ var Ft = {
|
|
|
281
281
|
"'": "'",
|
|
282
282
|
"/": "/"
|
|
283
283
|
};
|
|
284
|
-
function
|
|
285
|
-
return typeof
|
|
284
|
+
function It(n) {
|
|
285
|
+
return typeof n == "string" ? n.replace(/[&<>"'\/]/g, function(t) {
|
|
286
286
|
return Ft[t];
|
|
287
|
-
}) :
|
|
287
|
+
}) : n;
|
|
288
288
|
}
|
|
289
|
-
var
|
|
290
|
-
|
|
291
|
-
function t(
|
|
289
|
+
var be = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Mt = function(n) {
|
|
290
|
+
ye(t, n);
|
|
291
|
+
function t(a) {
|
|
292
292
|
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
293
293
|
ns: ["translation"],
|
|
294
294
|
defaultNS: "translation"
|
|
295
295
|
};
|
|
296
|
-
return
|
|
296
|
+
return z(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), e.data = a || {}, e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e;
|
|
297
297
|
}
|
|
298
|
-
return
|
|
298
|
+
return _(t, [{
|
|
299
299
|
key: "addNamespaces",
|
|
300
300
|
value: function(e) {
|
|
301
301
|
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
@@ -309,18 +309,18 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
309
309
|
}, {
|
|
310
310
|
key: "getResource",
|
|
311
311
|
value: function(e, r, i) {
|
|
312
|
-
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator,
|
|
313
|
-
return i && typeof i != "string" && (
|
|
312
|
+
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, l = [e, r];
|
|
313
|
+
return i && typeof i != "string" && (l = l.concat(i)), i && typeof i == "string" && (l = l.concat(s ? i.split(s) : i)), e.indexOf(".") > -1 && (l = e.split(".")), de(this.data, l);
|
|
314
314
|
}
|
|
315
315
|
}, {
|
|
316
316
|
key: "addResource",
|
|
317
317
|
value: function(e, r, i, o) {
|
|
318
318
|
var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
319
319
|
silent: !1
|
|
320
|
-
},
|
|
321
|
-
|
|
322
|
-
var
|
|
323
|
-
i && (
|
|
320
|
+
}, l = this.options.keySeparator;
|
|
321
|
+
l === void 0 && (l = ".");
|
|
322
|
+
var u = [e, r];
|
|
323
|
+
i && (u = u.concat(l ? i.split(l) : i)), e.indexOf(".") > -1 && (u = e.split("."), o = r, r = u[1]), this.addNamespaces(r), ze(this.data, u, o), s.silent || this.emit("added", e, r, i, o);
|
|
324
324
|
}
|
|
325
325
|
}, {
|
|
326
326
|
key: "addResources",
|
|
@@ -337,12 +337,12 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
337
337
|
}, {
|
|
338
338
|
key: "addResourceBundle",
|
|
339
339
|
value: function(e, r, i, o, s) {
|
|
340
|
-
var
|
|
340
|
+
var l = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
341
341
|
silent: !1
|
|
342
|
-
},
|
|
343
|
-
e.indexOf(".") > -1 && (
|
|
344
|
-
var
|
|
345
|
-
o ?
|
|
342
|
+
}, u = [e, r];
|
|
343
|
+
e.indexOf(".") > -1 && (u = e.split("."), o = i, i = r, r = u[1]), this.addNamespaces(r);
|
|
344
|
+
var d = de(this.data, u) || {};
|
|
345
|
+
o ? dt(d, i, s) : d = N({}, d, i), ze(this.data, u, d), l.silent || this.emit("added", e, r, i);
|
|
346
346
|
}
|
|
347
347
|
}, {
|
|
348
348
|
key: "removeResourceBundle",
|
|
@@ -357,7 +357,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
357
357
|
}, {
|
|
358
358
|
key: "getResourceBundle",
|
|
359
359
|
value: function(e, r) {
|
|
360
|
-
return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ?
|
|
360
|
+
return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? N({}, {}, this.getResource(e, r)) : this.getResource(e, r);
|
|
361
361
|
}
|
|
362
362
|
}, {
|
|
363
363
|
key: "getDataByLanguage",
|
|
@@ -370,24 +370,24 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
370
370
|
return this.data;
|
|
371
371
|
}
|
|
372
372
|
}]), t;
|
|
373
|
-
}(
|
|
373
|
+
}(Q), ft = {
|
|
374
374
|
processors: {},
|
|
375
375
|
addPostProcessor: function(t) {
|
|
376
376
|
this.processors[t.name] = t;
|
|
377
377
|
},
|
|
378
|
-
handle: function(t,
|
|
378
|
+
handle: function(t, a, e, r, i) {
|
|
379
379
|
var o = this;
|
|
380
380
|
return t.forEach(function(s) {
|
|
381
|
-
o.processors[s] && (
|
|
382
|
-
}),
|
|
381
|
+
o.processors[s] && (a = o.processors[s].process(a, e, r, i));
|
|
382
|
+
}), a;
|
|
383
383
|
}
|
|
384
|
-
}, He = {},
|
|
385
|
-
|
|
386
|
-
function t(
|
|
384
|
+
}, He = {}, qe = function(n) {
|
|
385
|
+
ye(t, n);
|
|
386
|
+
function t(a) {
|
|
387
387
|
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
388
|
-
return
|
|
388
|
+
return z(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), Nt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, K(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = q.create("translator"), e;
|
|
389
389
|
}
|
|
390
|
-
return
|
|
390
|
+
return _(t, [{
|
|
391
391
|
key: "changeLanguage",
|
|
392
392
|
value: function(e) {
|
|
393
393
|
e && (this.language = e);
|
|
@@ -407,14 +407,14 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
407
407
|
i === void 0 && (i = ":");
|
|
408
408
|
var o = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, s = r.ns || this.options.defaultNS;
|
|
409
409
|
if (i && e.indexOf(i) > -1) {
|
|
410
|
-
var
|
|
411
|
-
if (
|
|
410
|
+
var l = e.match(this.interpolator.nestingRegexp);
|
|
411
|
+
if (l && l.length > 0)
|
|
412
412
|
return {
|
|
413
413
|
key: e,
|
|
414
414
|
namespaces: s
|
|
415
415
|
};
|
|
416
|
-
var
|
|
417
|
-
(i !== o || i === o && this.options.ns.indexOf(
|
|
416
|
+
var u = e.split(i);
|
|
417
|
+
(i !== o || i === o && this.options.ns.indexOf(u[0]) > -1) && (s = u.shift()), e = u.join(o);
|
|
418
418
|
}
|
|
419
419
|
return typeof s == "string" && (s = [s]), {
|
|
420
420
|
key: e,
|
|
@@ -425,120 +425,120 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
425
425
|
key: "translate",
|
|
426
426
|
value: function(e, r, i) {
|
|
427
427
|
var o = this;
|
|
428
|
-
if (
|
|
428
|
+
if (j(r) !== "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), r || (r = {}), e == null) return "";
|
|
429
429
|
Array.isArray(e) || (e = [String(e)]);
|
|
430
|
-
var s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator,
|
|
430
|
+
var s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, l = this.extractFromKey(e[e.length - 1], r), u = l.key, d = l.namespaces, f = d[d.length - 1], v = r.lng || this.language, m = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
431
431
|
if (v && v.toLowerCase() === "cimode") {
|
|
432
432
|
if (m) {
|
|
433
|
-
var
|
|
434
|
-
return
|
|
433
|
+
var p = r.nsSeparator || this.options.nsSeparator;
|
|
434
|
+
return f + p + u;
|
|
435
435
|
}
|
|
436
|
-
return
|
|
436
|
+
return u;
|
|
437
437
|
}
|
|
438
|
-
var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey ||
|
|
439
|
-
if (
|
|
438
|
+
var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey || u, w = y && y.exactUsedKey || u, x = Object.prototype.toString.apply(g), D = ["[object Number]", "[object Function]", "[object RegExp]"], k = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, O = typeof g != "string" && typeof g != "boolean" && typeof g != "number";
|
|
439
|
+
if (S && g && O && D.indexOf(x) < 0 && !(typeof k == "string" && x === "[object Array]")) {
|
|
440
440
|
if (!r.returnObjects && !this.options.returnObjects)
|
|
441
|
-
return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, g, r) : "key '".concat(
|
|
441
|
+
return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, g, r) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
|
|
442
442
|
if (s) {
|
|
443
|
-
var
|
|
444
|
-
for (var
|
|
445
|
-
if (Object.prototype.hasOwnProperty.call(g,
|
|
446
|
-
var
|
|
447
|
-
|
|
443
|
+
var E = x === "[object Array]", R = E ? [] : {}, L = E ? w : b;
|
|
444
|
+
for (var P in g)
|
|
445
|
+
if (Object.prototype.hasOwnProperty.call(g, P)) {
|
|
446
|
+
var W = "".concat(L).concat(s).concat(P);
|
|
447
|
+
R[P] = this.translate(W, N({}, r, {
|
|
448
448
|
joinArrays: !1,
|
|
449
|
-
ns:
|
|
450
|
-
})),
|
|
449
|
+
ns: d
|
|
450
|
+
})), R[P] === W && (R[P] = g[P]);
|
|
451
451
|
}
|
|
452
|
-
g =
|
|
452
|
+
g = R;
|
|
453
453
|
}
|
|
454
|
-
} else if (
|
|
454
|
+
} else if (S && typeof k == "string" && x === "[object Array]")
|
|
455
455
|
g = g.join(k), g && (g = this.extendTranslation(g, e, r, i));
|
|
456
456
|
else {
|
|
457
|
-
var
|
|
458
|
-
!this.isValidLookup(g) &&
|
|
459
|
-
var
|
|
460
|
-
if (
|
|
461
|
-
if (this.logger.log(
|
|
462
|
-
var
|
|
457
|
+
var I = !1, c = !1, h = r.count !== void 0 && typeof r.count != "string", T = t.hasDefaultValue(r), B = h ? this.pluralResolver.getSuffix(v, r.count) : "", A = r["defaultValue".concat(B)] || r.defaultValue;
|
|
458
|
+
!this.isValidLookup(g) && T && (I = !0, g = A), this.isValidLookup(g) || (c = !0, g = u);
|
|
459
|
+
var C = T && A !== g && this.options.updateMissing;
|
|
460
|
+
if (c || I || C) {
|
|
461
|
+
if (this.logger.log(C ? "updateKey" : "missingKey", v, f, u, C ? A : g), s) {
|
|
462
|
+
var H = this.resolve(u, N({}, r, {
|
|
463
463
|
keySeparator: !1
|
|
464
464
|
}));
|
|
465
|
-
|
|
465
|
+
H && H.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.");
|
|
466
466
|
}
|
|
467
|
-
var
|
|
468
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
469
|
-
for (var
|
|
470
|
-
|
|
471
|
-
else this.options.saveMissingTo === "all" ?
|
|
472
|
-
var
|
|
473
|
-
o.options.missingKeyHandler ? o.options.missingKeyHandler(
|
|
467
|
+
var F = [], M = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
468
|
+
if (this.options.saveMissingTo === "fallback" && M && M[0])
|
|
469
|
+
for (var Z = 0; Z < M.length; Z++)
|
|
470
|
+
F.push(M[Z]);
|
|
471
|
+
else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(r.lng || this.language) : F.push(r.lng || this.language);
|
|
472
|
+
var je = function(X, we, Fe) {
|
|
473
|
+
o.options.missingKeyHandler ? o.options.missingKeyHandler(X, f, we, C ? Fe : g, C, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(X, f, we, C ? Fe : g, C, r), o.emit("missingKey", X, f, we, g);
|
|
474
474
|
};
|
|
475
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && h ?
|
|
476
|
-
o.pluralResolver.getSuffixes(
|
|
477
|
-
|
|
475
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && h ? F.forEach(function(Se) {
|
|
476
|
+
o.pluralResolver.getSuffixes(Se).forEach(function(X) {
|
|
477
|
+
je([Se], u + X, r["defaultValue".concat(X)] || A);
|
|
478
478
|
});
|
|
479
|
-
}) :
|
|
479
|
+
}) : je(F, u, A));
|
|
480
480
|
}
|
|
481
|
-
g = this.extendTranslation(g, e, r, y, i),
|
|
481
|
+
g = this.extendTranslation(g, e, r, y, i), c && g === u && this.options.appendNamespaceToMissingKey && (g = "".concat(f, ":").concat(u)), c && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(g));
|
|
482
482
|
}
|
|
483
483
|
return g;
|
|
484
484
|
}
|
|
485
485
|
}, {
|
|
486
486
|
key: "extendTranslation",
|
|
487
487
|
value: function(e, r, i, o, s) {
|
|
488
|
-
var
|
|
488
|
+
var l = this;
|
|
489
489
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
490
490
|
e = this.i18nFormat.parse(e, i, o.usedLng, o.usedNS, o.usedKey, {
|
|
491
491
|
resolved: o
|
|
492
492
|
});
|
|
493
493
|
else if (!i.skipInterpolation) {
|
|
494
|
-
i.interpolation && this.interpolator.init(
|
|
495
|
-
interpolation:
|
|
494
|
+
i.interpolation && this.interpolator.init(N({}, i, {
|
|
495
|
+
interpolation: N({}, this.options.interpolation, i.interpolation)
|
|
496
496
|
}));
|
|
497
|
-
var
|
|
498
|
-
if (
|
|
499
|
-
var
|
|
500
|
-
|
|
497
|
+
var u = i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, d;
|
|
498
|
+
if (u) {
|
|
499
|
+
var f = e.match(this.interpolator.nestingRegexp);
|
|
500
|
+
d = f && f.length;
|
|
501
501
|
}
|
|
502
502
|
var v = i.replace && typeof i.replace != "string" ? i.replace : i;
|
|
503
|
-
if (this.options.interpolation.defaultVariables && (v =
|
|
504
|
-
var m = e.match(this.interpolator.nestingRegexp),
|
|
505
|
-
|
|
503
|
+
if (this.options.interpolation.defaultVariables && (v = N({}, this.options.interpolation.defaultVariables, v)), e = this.interpolator.interpolate(e, v, i.lng || this.language, i), u) {
|
|
504
|
+
var m = e.match(this.interpolator.nestingRegexp), p = m && m.length;
|
|
505
|
+
d < p && (i.nest = !1);
|
|
506
506
|
}
|
|
507
507
|
i.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
508
|
-
for (var b = arguments.length,
|
|
509
|
-
|
|
510
|
-
return s && s[0] ===
|
|
508
|
+
for (var b = arguments.length, w = new Array(b), x = 0; x < b; x++)
|
|
509
|
+
w[x] = arguments[x];
|
|
510
|
+
return s && s[0] === w[0] && !i.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(w[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, w.concat([r]));
|
|
511
511
|
}, i)), i.interpolation && this.interpolator.reset();
|
|
512
512
|
}
|
|
513
513
|
var y = i.postProcess || this.options.postProcess, g = typeof y == "string" ? [y] : y;
|
|
514
|
-
return e != null && g && g.length && i.applyPostProcessor !== !1 && (e =
|
|
514
|
+
return e != null && g && g.length && i.applyPostProcessor !== !1 && (e = ft.handle(g, e, r, this.options && this.options.postProcessPassResolved ? N({
|
|
515
515
|
i18nResolved: o
|
|
516
516
|
}, i) : i, this)), e;
|
|
517
517
|
}
|
|
518
518
|
}, {
|
|
519
519
|
key: "resolve",
|
|
520
520
|
value: function(e) {
|
|
521
|
-
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, s,
|
|
522
|
-
return typeof e == "string" && (e = [e]), e.forEach(function(
|
|
521
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, s, l, u, d;
|
|
522
|
+
return typeof e == "string" && (e = [e]), e.forEach(function(f) {
|
|
523
523
|
if (!r.isValidLookup(o)) {
|
|
524
|
-
var v = r.extractFromKey(
|
|
524
|
+
var v = r.extractFromKey(f, i), m = v.key;
|
|
525
525
|
s = m;
|
|
526
|
-
var
|
|
527
|
-
r.options.fallbackNS && (
|
|
526
|
+
var p = v.namespaces;
|
|
527
|
+
r.options.fallbackNS && (p = p.concat(r.options.fallbackNS));
|
|
528
528
|
var y = i.count !== void 0 && typeof i.count != "string", g = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
|
|
529
|
-
|
|
530
|
-
r.isValidLookup(o) || (
|
|
529
|
+
p.forEach(function(w) {
|
|
530
|
+
r.isValidLookup(o) || (d = w, !He["".concat(b[0], "-").concat(w)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(d) && (He["".concat(b[0], "-").concat(w)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.join(", "), `" won't get resolved as namespace "`).concat(d, '" 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!!!")), b.forEach(function(x) {
|
|
531
531
|
if (!r.isValidLookup(o)) {
|
|
532
|
-
|
|
533
|
-
var
|
|
532
|
+
u = x;
|
|
533
|
+
var D = m, k = [D];
|
|
534
534
|
if (r.i18nFormat && r.i18nFormat.addLookupKeys)
|
|
535
|
-
r.i18nFormat.addLookupKeys(k, m, x,
|
|
535
|
+
r.i18nFormat.addLookupKeys(k, m, x, w, i);
|
|
536
536
|
else {
|
|
537
|
-
var
|
|
538
|
-
y && (
|
|
537
|
+
var S;
|
|
538
|
+
y && (S = r.pluralResolver.getSuffix(x, i.count)), y && g && k.push(D + S), g && k.push(D += "".concat(r.options.contextSeparator).concat(i.context)), y && k.push(D += S);
|
|
539
539
|
}
|
|
540
|
-
for (var
|
|
541
|
-
r.isValidLookup(o) || (
|
|
540
|
+
for (var O; O = k.pop(); )
|
|
541
|
+
r.isValidLookup(o) || (l = O, o = r.getResource(x, w, O, i));
|
|
542
542
|
}
|
|
543
543
|
}));
|
|
544
544
|
});
|
|
@@ -546,9 +546,9 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
546
546
|
}), {
|
|
547
547
|
res: o,
|
|
548
548
|
usedKey: s,
|
|
549
|
-
exactUsedKey:
|
|
550
|
-
usedLng:
|
|
551
|
-
usedNS:
|
|
549
|
+
exactUsedKey: l,
|
|
550
|
+
usedLng: u,
|
|
551
|
+
usedNS: d
|
|
552
552
|
};
|
|
553
553
|
}
|
|
554
554
|
}, {
|
|
@@ -572,61 +572,61 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
572
572
|
return !1;
|
|
573
573
|
}
|
|
574
574
|
}]), t;
|
|
575
|
-
}(
|
|
576
|
-
function
|
|
577
|
-
return
|
|
575
|
+
}(Q);
|
|
576
|
+
function xe(n) {
|
|
577
|
+
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
581
|
-
|
|
579
|
+
var zt = function() {
|
|
580
|
+
function n(t) {
|
|
581
|
+
z(this, n), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = q.create("languageUtils");
|
|
582
582
|
}
|
|
583
|
-
return
|
|
583
|
+
return _(n, [{
|
|
584
584
|
key: "getScriptPartFromCode",
|
|
585
|
-
value: function(
|
|
586
|
-
if (!
|
|
587
|
-
var e =
|
|
585
|
+
value: function(a) {
|
|
586
|
+
if (!a || a.indexOf("-") < 0) return null;
|
|
587
|
+
var e = a.split("-");
|
|
588
588
|
return e.length === 2 || (e.pop(), e[e.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(e.join("-"));
|
|
589
589
|
}
|
|
590
590
|
}, {
|
|
591
591
|
key: "getLanguagePartFromCode",
|
|
592
|
-
value: function(
|
|
593
|
-
if (!
|
|
594
|
-
var e =
|
|
592
|
+
value: function(a) {
|
|
593
|
+
if (!a || a.indexOf("-") < 0) return a;
|
|
594
|
+
var e = a.split("-");
|
|
595
595
|
return this.formatLanguageCode(e[0]);
|
|
596
596
|
}
|
|
597
597
|
}, {
|
|
598
598
|
key: "formatLanguageCode",
|
|
599
|
-
value: function(
|
|
600
|
-
if (typeof
|
|
601
|
-
var e = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], r =
|
|
599
|
+
value: function(a) {
|
|
600
|
+
if (typeof a == "string" && a.indexOf("-") > -1) {
|
|
601
|
+
var e = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], r = a.split("-");
|
|
602
602
|
return this.options.lowerCaseLng ? r = r.map(function(i) {
|
|
603
603
|
return i.toLowerCase();
|
|
604
|
-
}) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] =
|
|
604
|
+
}) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = xe(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = xe(r[1].toLowerCase())), e.indexOf(r[2].toLowerCase()) > -1 && (r[2] = xe(r[2].toLowerCase()))), r.join("-");
|
|
605
605
|
}
|
|
606
|
-
return this.options.cleanCode || this.options.lowerCaseLng ?
|
|
606
|
+
return this.options.cleanCode || this.options.lowerCaseLng ? a.toLowerCase() : a;
|
|
607
607
|
}
|
|
608
608
|
}, {
|
|
609
609
|
key: "isWhitelisted",
|
|
610
|
-
value: function(
|
|
611
|
-
return this.logger.deprecate("languageUtils.isWhitelisted", `function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`), this.isSupportedCode(
|
|
610
|
+
value: function(a) {
|
|
611
|
+
return this.logger.deprecate("languageUtils.isWhitelisted", `function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`), this.isSupportedCode(a);
|
|
612
612
|
}
|
|
613
613
|
}, {
|
|
614
614
|
key: "isSupportedCode",
|
|
615
|
-
value: function(
|
|
616
|
-
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (
|
|
615
|
+
value: function(a) {
|
|
616
|
+
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (a = this.getLanguagePartFromCode(a)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(a) > -1;
|
|
617
617
|
}
|
|
618
618
|
}, {
|
|
619
619
|
key: "getBestMatchFromCodes",
|
|
620
|
-
value: function(
|
|
620
|
+
value: function(a) {
|
|
621
621
|
var e = this;
|
|
622
|
-
if (!
|
|
622
|
+
if (!a) return null;
|
|
623
623
|
var r;
|
|
624
|
-
return
|
|
624
|
+
return a.forEach(function(i) {
|
|
625
625
|
if (!r) {
|
|
626
626
|
var o = e.formatLanguageCode(i);
|
|
627
627
|
(!e.options.supportedLngs || e.isSupportedCode(o)) && (r = o);
|
|
628
628
|
}
|
|
629
|
-
}), !r && this.options.supportedLngs &&
|
|
629
|
+
}), !r && this.options.supportedLngs && a.forEach(function(i) {
|
|
630
630
|
if (!r) {
|
|
631
631
|
var o = e.getLanguagePartFromCode(i);
|
|
632
632
|
if (e.isSupportedCode(o)) return r = o;
|
|
@@ -638,25 +638,25 @@ var _t = function() {
|
|
|
638
638
|
}
|
|
639
639
|
}, {
|
|
640
640
|
key: "getFallbackCodes",
|
|
641
|
-
value: function(
|
|
642
|
-
if (!
|
|
643
|
-
if (typeof
|
|
644
|
-
if (!e) return
|
|
645
|
-
var r =
|
|
646
|
-
return r || (r =
|
|
641
|
+
value: function(a, e) {
|
|
642
|
+
if (!a) return [];
|
|
643
|
+
if (typeof a == "function" && (a = a(e)), typeof a == "string" && (a = [a]), Object.prototype.toString.apply(a) === "[object Array]") return a;
|
|
644
|
+
if (!e) return a.default || [];
|
|
645
|
+
var r = a[e];
|
|
646
|
+
return r || (r = a[this.getScriptPartFromCode(e)]), r || (r = a[this.formatLanguageCode(e)]), r || (r = a[this.getLanguagePartFromCode(e)]), r || (r = a.default), r || [];
|
|
647
647
|
}
|
|
648
648
|
}, {
|
|
649
649
|
key: "toResolveHierarchy",
|
|
650
|
-
value: function(
|
|
651
|
-
var r = this, i = this.getFallbackCodes(e || this.options.fallbackLng || [],
|
|
652
|
-
|
|
650
|
+
value: function(a, e) {
|
|
651
|
+
var r = this, i = this.getFallbackCodes(e || this.options.fallbackLng || [], a), o = [], s = function(u) {
|
|
652
|
+
u && (r.isSupportedCode(u) ? o.push(u) : r.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)));
|
|
653
653
|
};
|
|
654
|
-
return typeof
|
|
655
|
-
o.indexOf(
|
|
654
|
+
return typeof a == "string" && a.indexOf("-") > -1 ? (this.options.load !== "languageOnly" && s(this.formatLanguageCode(a)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && s(this.getScriptPartFromCode(a)), this.options.load !== "currentOnly" && s(this.getLanguagePartFromCode(a))) : typeof a == "string" && s(this.formatLanguageCode(a)), i.forEach(function(l) {
|
|
655
|
+
o.indexOf(l) < 0 && s(r.formatLanguageCode(l));
|
|
656
656
|
}), o;
|
|
657
657
|
}
|
|
658
|
-
}]),
|
|
659
|
-
}(),
|
|
658
|
+
}]), n;
|
|
659
|
+
}(), _t = [{
|
|
660
660
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
661
661
|
nr: [1, 2],
|
|
662
662
|
fc: 1
|
|
@@ -748,7 +748,7 @@ var _t = function() {
|
|
|
748
748
|
lngs: ["he", "iw"],
|
|
749
749
|
nr: [1, 2, 20, 21],
|
|
750
750
|
fc: 22
|
|
751
|
-
}],
|
|
751
|
+
}], Ht = {
|
|
752
752
|
1: function(t) {
|
|
753
753
|
return +(t > 1);
|
|
754
754
|
},
|
|
@@ -816,84 +816,84 @@ var _t = function() {
|
|
|
816
816
|
return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
|
|
817
817
|
}
|
|
818
818
|
};
|
|
819
|
-
function
|
|
820
|
-
var
|
|
821
|
-
return
|
|
822
|
-
t.lngs.forEach(function(
|
|
823
|
-
a
|
|
819
|
+
function qt() {
|
|
820
|
+
var n = {};
|
|
821
|
+
return _t.forEach(function(t) {
|
|
822
|
+
t.lngs.forEach(function(a) {
|
|
823
|
+
n[a] = {
|
|
824
824
|
numbers: t.nr,
|
|
825
|
-
plurals:
|
|
825
|
+
plurals: Ht[t.fc]
|
|
826
826
|
};
|
|
827
827
|
});
|
|
828
|
-
}),
|
|
828
|
+
}), n;
|
|
829
829
|
}
|
|
830
|
-
var
|
|
831
|
-
function
|
|
832
|
-
var
|
|
833
|
-
|
|
830
|
+
var Vt = function() {
|
|
831
|
+
function n(t) {
|
|
832
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
833
|
+
z(this, n), this.languageUtils = t, this.options = a, this.logger = q.create("pluralResolver"), this.rules = qt();
|
|
834
834
|
}
|
|
835
|
-
return
|
|
835
|
+
return _(n, [{
|
|
836
836
|
key: "addRule",
|
|
837
|
-
value: function(
|
|
838
|
-
this.rules[
|
|
837
|
+
value: function(a, e) {
|
|
838
|
+
this.rules[a] = e;
|
|
839
839
|
}
|
|
840
840
|
}, {
|
|
841
841
|
key: "getRule",
|
|
842
|
-
value: function(
|
|
843
|
-
return this.rules[
|
|
842
|
+
value: function(a) {
|
|
843
|
+
return this.rules[a] || this.rules[this.languageUtils.getLanguagePartFromCode(a)];
|
|
844
844
|
}
|
|
845
845
|
}, {
|
|
846
846
|
key: "needsPlural",
|
|
847
|
-
value: function(
|
|
848
|
-
var e = this.getRule(
|
|
847
|
+
value: function(a) {
|
|
848
|
+
var e = this.getRule(a);
|
|
849
849
|
return e && e.numbers.length > 1;
|
|
850
850
|
}
|
|
851
851
|
}, {
|
|
852
852
|
key: "getPluralFormsOfKey",
|
|
853
|
-
value: function(
|
|
854
|
-
return this.getSuffixes(
|
|
853
|
+
value: function(a, e) {
|
|
854
|
+
return this.getSuffixes(a).map(function(r) {
|
|
855
855
|
return e + r;
|
|
856
856
|
});
|
|
857
857
|
}
|
|
858
858
|
}, {
|
|
859
859
|
key: "getSuffixes",
|
|
860
|
-
value: function(
|
|
861
|
-
var e = this, r = this.getRule(
|
|
860
|
+
value: function(a) {
|
|
861
|
+
var e = this, r = this.getRule(a);
|
|
862
862
|
return r ? r.numbers.map(function(i) {
|
|
863
|
-
return e.getSuffix(
|
|
863
|
+
return e.getSuffix(a, i);
|
|
864
864
|
}) : [];
|
|
865
865
|
}
|
|
866
866
|
}, {
|
|
867
867
|
key: "getSuffix",
|
|
868
|
-
value: function(
|
|
869
|
-
var r = this, i = this.getRule(
|
|
868
|
+
value: function(a, e) {
|
|
869
|
+
var r = this, i = this.getRule(a);
|
|
870
870
|
if (i) {
|
|
871
871
|
var o = i.noAbs ? i.plurals(e) : i.plurals(Math.abs(e)), s = i.numbers[o];
|
|
872
872
|
this.options.simplifyPluralSuffix && i.numbers.length === 2 && i.numbers[0] === 1 && (s === 2 ? s = "plural" : s === 1 && (s = ""));
|
|
873
|
-
var
|
|
873
|
+
var l = function() {
|
|
874
874
|
return r.options.prepend && s.toString() ? r.options.prepend + s.toString() : s.toString();
|
|
875
875
|
};
|
|
876
|
-
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? "_plural_".concat(s.toString()) :
|
|
876
|
+
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? "_plural_".concat(s.toString()) : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && i.numbers.length === 2 && i.numbers[0] === 1 ? l() : this.options.prepend && o.toString() ? this.options.prepend + o.toString() : o.toString();
|
|
877
877
|
}
|
|
878
|
-
return this.logger.warn("no plural rule found for: ".concat(
|
|
878
|
+
return this.logger.warn("no plural rule found for: ".concat(a)), "";
|
|
879
879
|
}
|
|
880
|
-
}]),
|
|
881
|
-
}(),
|
|
882
|
-
function
|
|
880
|
+
}]), n;
|
|
881
|
+
}(), Wt = function() {
|
|
882
|
+
function n() {
|
|
883
883
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
884
|
-
|
|
885
|
-
return
|
|
884
|
+
z(this, n), this.logger = q.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(a) {
|
|
885
|
+
return a;
|
|
886
886
|
}, this.init(t);
|
|
887
887
|
}
|
|
888
|
-
return
|
|
888
|
+
return _(n, [{
|
|
889
889
|
key: "init",
|
|
890
890
|
value: function() {
|
|
891
|
-
var
|
|
892
|
-
|
|
891
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
892
|
+
a.interpolation || (a.interpolation = {
|
|
893
893
|
escapeValue: !0
|
|
894
894
|
});
|
|
895
|
-
var e =
|
|
896
|
-
this.escape = e.escape !== void 0 ? e.escape :
|
|
895
|
+
var e = a.interpolation;
|
|
896
|
+
this.escape = e.escape !== void 0 ? e.escape : It, this.escapeValue = e.escapeValue !== void 0 ? e.escapeValue : !0, this.useRawValueToEscape = e.useRawValueToEscape !== void 0 ? e.useRawValueToEscape : !1, this.prefix = e.prefix ? G(e.prefix) : e.prefixEscaped || "{{", this.suffix = e.suffix ? G(e.suffix) : e.suffixEscaped || "}}", this.formatSeparator = e.formatSeparator ? e.formatSeparator : e.formatSeparator || ",", this.unescapePrefix = e.unescapeSuffix ? "" : e.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : e.unescapeSuffix || "", this.nestingPrefix = e.nestingPrefix ? G(e.nestingPrefix) : e.nestingPrefixEscaped || G("$t("), this.nestingSuffix = e.nestingSuffix ? G(e.nestingSuffix) : e.nestingSuffixEscaped || G(")"), this.nestingOptionsSeparator = e.nestingOptionsSeparator ? e.nestingOptionsSeparator : e.nestingOptionsSeparator || ",", this.maxReplaces = e.maxReplaces ? e.maxReplaces : 1e3, this.alwaysFormat = e.alwaysFormat !== void 0 ? e.alwaysFormat : !1, this.resetRegExp();
|
|
897
897
|
}
|
|
898
898
|
}, {
|
|
899
899
|
key: "reset",
|
|
@@ -903,8 +903,8 @@ var Mt = function() {
|
|
|
903
903
|
}, {
|
|
904
904
|
key: "resetRegExp",
|
|
905
905
|
value: function() {
|
|
906
|
-
var
|
|
907
|
-
this.regexp = new RegExp(
|
|
906
|
+
var a = "".concat(this.prefix, "(.+?)").concat(this.suffix);
|
|
907
|
+
this.regexp = new RegExp(a, "g");
|
|
908
908
|
var e = "".concat(this.prefix).concat(this.unescapePrefix, "(.+?)").concat(this.unescapeSuffix).concat(this.suffix);
|
|
909
909
|
this.regexpUnescape = new RegExp(e, "g");
|
|
910
910
|
var r = "".concat(this.nestingPrefix, "(.+?)").concat(this.nestingSuffix);
|
|
@@ -912,143 +912,143 @@ var Mt = function() {
|
|
|
912
912
|
}
|
|
913
913
|
}, {
|
|
914
914
|
key: "interpolate",
|
|
915
|
-
value: function(
|
|
916
|
-
var o = this, s,
|
|
917
|
-
function
|
|
915
|
+
value: function(a, e, r, i) {
|
|
916
|
+
var o = this, s, l, u, d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
|
|
917
|
+
function f(g) {
|
|
918
918
|
return g.replace(/\$/g, "$$$$");
|
|
919
919
|
}
|
|
920
920
|
var v = function(b) {
|
|
921
921
|
if (b.indexOf(o.formatSeparator) < 0) {
|
|
922
|
-
var
|
|
923
|
-
return o.alwaysFormat ? o.format(
|
|
922
|
+
var w = _e(e, d, b);
|
|
923
|
+
return o.alwaysFormat ? o.format(w, void 0, r) : w;
|
|
924
924
|
}
|
|
925
|
-
var x = b.split(o.formatSeparator),
|
|
926
|
-
return o.format(
|
|
925
|
+
var x = b.split(o.formatSeparator), D = x.shift().trim(), k = x.join(o.formatSeparator).trim();
|
|
926
|
+
return o.format(_e(e, d, D), k, r, i);
|
|
927
927
|
};
|
|
928
928
|
this.resetRegExp();
|
|
929
|
-
var m = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler,
|
|
929
|
+
var m = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, p = i && i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, y = [{
|
|
930
930
|
regex: this.regexpUnescape,
|
|
931
931
|
safeValue: function(b) {
|
|
932
|
-
return
|
|
932
|
+
return f(b);
|
|
933
933
|
}
|
|
934
934
|
}, {
|
|
935
935
|
regex: this.regexp,
|
|
936
936
|
safeValue: function(b) {
|
|
937
|
-
return o.escapeValue ?
|
|
937
|
+
return o.escapeValue ? f(o.escape(b)) : f(b);
|
|
938
938
|
}
|
|
939
939
|
}];
|
|
940
940
|
return y.forEach(function(g) {
|
|
941
|
-
for (
|
|
942
|
-
if (
|
|
941
|
+
for (u = 0; s = g.regex.exec(a); ) {
|
|
942
|
+
if (l = v(s[1].trim()), l === void 0)
|
|
943
943
|
if (typeof m == "function") {
|
|
944
|
-
var b = m(
|
|
945
|
-
|
|
946
|
-
} else if (
|
|
947
|
-
|
|
944
|
+
var b = m(a, s, i);
|
|
945
|
+
l = typeof b == "string" ? b : "";
|
|
946
|
+
} else if (p) {
|
|
947
|
+
l = s[0];
|
|
948
948
|
continue;
|
|
949
949
|
} else
|
|
950
|
-
o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(
|
|
951
|
-
else typeof
|
|
952
|
-
if (
|
|
950
|
+
o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(a)), l = "";
|
|
951
|
+
else typeof l != "string" && !o.useRawValueToEscape && (l = Me(l));
|
|
952
|
+
if (a = a.replace(s[0], g.safeValue(l)), g.regex.lastIndex = 0, u++, u >= o.maxReplaces)
|
|
953
953
|
break;
|
|
954
954
|
}
|
|
955
|
-
}),
|
|
955
|
+
}), a;
|
|
956
956
|
}
|
|
957
957
|
}, {
|
|
958
958
|
key: "nest",
|
|
959
|
-
value: function(
|
|
960
|
-
var r = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, s,
|
|
961
|
-
|
|
962
|
-
function
|
|
959
|
+
value: function(a, e) {
|
|
960
|
+
var r = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, s, l = N({}, i);
|
|
961
|
+
l.applyPostProcessor = !1, delete l.defaultValue;
|
|
962
|
+
function u(m, p) {
|
|
963
963
|
var y = this.nestingOptionsSeparator;
|
|
964
964
|
if (m.indexOf(y) < 0) return m;
|
|
965
965
|
var g = m.split(new RegExp("".concat(y, "[ ]*{"))), b = "{".concat(g[1]);
|
|
966
|
-
m = g[0], b = this.interpolate(b,
|
|
966
|
+
m = g[0], b = this.interpolate(b, l), b = b.replace(/'/g, '"');
|
|
967
967
|
try {
|
|
968
|
-
|
|
969
|
-
} catch (
|
|
970
|
-
return this.logger.warn("failed parsing options string in nesting for key ".concat(m),
|
|
968
|
+
l = JSON.parse(b), p && (l = N({}, p, l));
|
|
969
|
+
} catch (w) {
|
|
970
|
+
return this.logger.warn("failed parsing options string in nesting for key ".concat(m), w), "".concat(m).concat(y).concat(b);
|
|
971
971
|
}
|
|
972
|
-
return delete
|
|
972
|
+
return delete l.defaultValue, m;
|
|
973
973
|
}
|
|
974
|
-
for (; o = this.nestingRegexp.exec(
|
|
975
|
-
var
|
|
974
|
+
for (; o = this.nestingRegexp.exec(a); ) {
|
|
975
|
+
var d = [], f = !1;
|
|
976
976
|
if (o[0].includes(this.formatSeparator) && !/{.*}/.test(o[1])) {
|
|
977
977
|
var v = o[1].split(this.formatSeparator).map(function(m) {
|
|
978
978
|
return m.trim();
|
|
979
979
|
});
|
|
980
|
-
o[1] = v.shift(),
|
|
980
|
+
o[1] = v.shift(), d = v, f = !0;
|
|
981
981
|
}
|
|
982
|
-
if (s = e(
|
|
983
|
-
typeof s != "string" && (s =
|
|
984
|
-
return r.format(m,
|
|
985
|
-
}, s.trim())),
|
|
982
|
+
if (s = e(u.call(this, o[1].trim(), l), l), s && o[0] === a && typeof s != "string") return s;
|
|
983
|
+
typeof s != "string" && (s = Me(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(a)), s = ""), f && (s = d.reduce(function(m, p) {
|
|
984
|
+
return r.format(m, p, i.lng, i);
|
|
985
|
+
}, s.trim())), a = a.replace(o[0], s), this.regexp.lastIndex = 0;
|
|
986
986
|
}
|
|
987
|
-
return
|
|
987
|
+
return a;
|
|
988
988
|
}
|
|
989
|
-
}]),
|
|
989
|
+
}]), n;
|
|
990
990
|
}();
|
|
991
|
-
function
|
|
992
|
-
for (var
|
|
993
|
-
|
|
991
|
+
function Qt(n, t) {
|
|
992
|
+
for (var a = n.indexOf(t); a !== -1; )
|
|
993
|
+
n.splice(a, 1), a = n.indexOf(t);
|
|
994
994
|
}
|
|
995
|
-
var $t = function(
|
|
996
|
-
|
|
997
|
-
function t(
|
|
995
|
+
var $t = function(n) {
|
|
996
|
+
ye(t, n);
|
|
997
|
+
function t(a, e, r) {
|
|
998
998
|
var i, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
999
|
-
return
|
|
999
|
+
return z(this, t), i = re(this, Y(t).call(this)), be && Q.call(K(i)), i.backend = a, i.store = e, i.services = r, i.languageUtils = r.languageUtils, i.options = o, i.logger = q.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, o.backend, o), i;
|
|
1000
1000
|
}
|
|
1001
|
-
return
|
|
1001
|
+
return _(t, [{
|
|
1002
1002
|
key: "queueLoad",
|
|
1003
1003
|
value: function(e, r, i, o) {
|
|
1004
|
-
var s = this,
|
|
1004
|
+
var s = this, l = [], u = [], d = [], f = [];
|
|
1005
1005
|
return e.forEach(function(v) {
|
|
1006
1006
|
var m = !0;
|
|
1007
|
-
r.forEach(function(
|
|
1008
|
-
var y = "".concat(v, "|").concat(
|
|
1009
|
-
!i.reload && s.store.hasResourceBundle(v,
|
|
1010
|
-
}), m ||
|
|
1011
|
-
}), (
|
|
1012
|
-
pending:
|
|
1007
|
+
r.forEach(function(p) {
|
|
1008
|
+
var y = "".concat(v, "|").concat(p);
|
|
1009
|
+
!i.reload && s.store.hasResourceBundle(v, p) ? s.state[y] = 2 : s.state[y] < 0 || (s.state[y] === 1 ? u.indexOf(y) < 0 && u.push(y) : (s.state[y] = 1, m = !1, u.indexOf(y) < 0 && u.push(y), l.indexOf(y) < 0 && l.push(y), f.indexOf(p) < 0 && f.push(p)));
|
|
1010
|
+
}), m || d.push(v);
|
|
1011
|
+
}), (l.length || u.length) && this.queue.push({
|
|
1012
|
+
pending: u,
|
|
1013
1013
|
loaded: {},
|
|
1014
1014
|
errors: [],
|
|
1015
1015
|
callback: o
|
|
1016
1016
|
}), {
|
|
1017
|
-
toLoad:
|
|
1018
|
-
pending:
|
|
1019
|
-
toLoadLanguages:
|
|
1020
|
-
toLoadNamespaces:
|
|
1017
|
+
toLoad: l,
|
|
1018
|
+
pending: u,
|
|
1019
|
+
toLoadLanguages: d,
|
|
1020
|
+
toLoadNamespaces: f
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
}, {
|
|
1024
1024
|
key: "loaded",
|
|
1025
1025
|
value: function(e, r, i) {
|
|
1026
|
-
var o = e.split("|"), s = o[0],
|
|
1027
|
-
r && this.emit("failedLoading", s,
|
|
1028
|
-
var
|
|
1029
|
-
this.queue.forEach(function(
|
|
1030
|
-
|
|
1031
|
-
f
|
|
1032
|
-
f
|
|
1026
|
+
var o = e.split("|"), s = o[0], l = o[1];
|
|
1027
|
+
r && this.emit("failedLoading", s, l, r), i && this.store.addResourceBundle(s, l, i), this.state[e] = r ? -1 : 2;
|
|
1028
|
+
var u = {};
|
|
1029
|
+
this.queue.forEach(function(d) {
|
|
1030
|
+
jt(d.loaded, [s], l), Qt(d.pending, e), r && d.errors.push(r), d.pending.length === 0 && !d.done && (Object.keys(d.loaded).forEach(function(f) {
|
|
1031
|
+
u[f] || (u[f] = []), d.loaded[f].length && d.loaded[f].forEach(function(v) {
|
|
1032
|
+
u[f].indexOf(v) < 0 && u[f].push(v);
|
|
1033
1033
|
});
|
|
1034
|
-
}),
|
|
1035
|
-
}), this.emit("loaded",
|
|
1036
|
-
return !
|
|
1034
|
+
}), d.done = !0, d.errors.length ? d.callback(d.errors) : d.callback());
|
|
1035
|
+
}), this.emit("loaded", u), this.queue = this.queue.filter(function(d) {
|
|
1036
|
+
return !d.done;
|
|
1037
1037
|
});
|
|
1038
1038
|
}
|
|
1039
1039
|
}, {
|
|
1040
1040
|
key: "read",
|
|
1041
1041
|
value: function(e, r, i) {
|
|
1042
|
-
var o = this, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0,
|
|
1043
|
-
return e.length ? this.backend[i](e, r, function(
|
|
1044
|
-
if (
|
|
1042
|
+
var o = this, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 350, u = arguments.length > 5 ? arguments[5] : void 0;
|
|
1043
|
+
return e.length ? this.backend[i](e, r, function(d, f) {
|
|
1044
|
+
if (d && f && s < 5) {
|
|
1045
1045
|
setTimeout(function() {
|
|
1046
|
-
o.read.call(o, e, r, i, s + 1,
|
|
1047
|
-
},
|
|
1046
|
+
o.read.call(o, e, r, i, s + 1, l * 2, u);
|
|
1047
|
+
}, l);
|
|
1048
1048
|
return;
|
|
1049
1049
|
}
|
|
1050
|
-
|
|
1051
|
-
}) :
|
|
1050
|
+
u(d, f);
|
|
1051
|
+
}) : u(null, {});
|
|
1052
1052
|
}
|
|
1053
1053
|
}, {
|
|
1054
1054
|
key: "prepareLoading",
|
|
@@ -1057,11 +1057,11 @@ var $t = function(a) {
|
|
|
1057
1057
|
if (!this.backend)
|
|
1058
1058
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
|
|
1059
1059
|
typeof e == "string" && (e = this.languageUtils.toResolveHierarchy(e)), typeof r == "string" && (r = [r]);
|
|
1060
|
-
var
|
|
1061
|
-
if (!
|
|
1062
|
-
return
|
|
1063
|
-
|
|
1064
|
-
i.loadOne(
|
|
1060
|
+
var l = this.queueLoad(e, r, o, s);
|
|
1061
|
+
if (!l.toLoad.length)
|
|
1062
|
+
return l.pending.length || s(), null;
|
|
1063
|
+
l.toLoad.forEach(function(u) {
|
|
1064
|
+
i.loadOne(u);
|
|
1065
1065
|
});
|
|
1066
1066
|
}
|
|
1067
1067
|
}, {
|
|
@@ -1079,25 +1079,25 @@ var $t = function(a) {
|
|
|
1079
1079
|
}, {
|
|
1080
1080
|
key: "loadOne",
|
|
1081
1081
|
value: function(e) {
|
|
1082
|
-
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = e.split("|"), s = o[0],
|
|
1083
|
-
this.read(s,
|
|
1084
|
-
|
|
1082
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = e.split("|"), s = o[0], l = o[1];
|
|
1083
|
+
this.read(s, l, "read", void 0, void 0, function(u, d) {
|
|
1084
|
+
u && r.logger.warn("".concat(i, "loading namespace ").concat(l, " for language ").concat(s, " failed"), u), !u && d && r.logger.log("".concat(i, "loaded namespace ").concat(l, " for language ").concat(s), d), r.loaded(e, u, d);
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
1087
|
}, {
|
|
1088
1088
|
key: "saveMissing",
|
|
1089
1089
|
value: function(e, r, i, o, s) {
|
|
1090
|
-
var
|
|
1090
|
+
var l = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
|
|
1091
1091
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(r)) {
|
|
1092
1092
|
this.logger.warn('did not save key "'.concat(i, '" as the namespace "').concat(r, '" 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!!!");
|
|
1093
1093
|
return;
|
|
1094
1094
|
}
|
|
1095
|
-
i == null || i === "" || (this.backend && this.backend.create && this.backend.create(e, r, i, o, null,
|
|
1095
|
+
i == null || i === "" || (this.backend && this.backend.create && this.backend.create(e, r, i, o, null, N({}, l, {
|
|
1096
1096
|
isUpdate: s
|
|
1097
1097
|
})), !(!e || !e[0]) && this.store.addResource(e[0], r, i, o));
|
|
1098
1098
|
}
|
|
1099
1099
|
}]), t;
|
|
1100
|
-
}(
|
|
1100
|
+
}(Q);
|
|
1101
1101
|
function Kt() {
|
|
1102
1102
|
return {
|
|
1103
1103
|
debug: !1,
|
|
@@ -1135,18 +1135,18 @@ function Kt() {
|
|
|
1135
1135
|
appendNamespaceToMissingKey: !1,
|
|
1136
1136
|
appendNamespaceToCIMode: !1,
|
|
1137
1137
|
overloadTranslationOptionHandler: function(t) {
|
|
1138
|
-
var
|
|
1139
|
-
if (
|
|
1138
|
+
var a = {};
|
|
1139
|
+
if (j(t[1]) === "object" && (a = t[1]), typeof t[1] == "string" && (a.defaultValue = t[1]), typeof t[2] == "string" && (a.tDescription = t[2]), j(t[2]) === "object" || j(t[3]) === "object") {
|
|
1140
1140
|
var e = t[3] || t[2];
|
|
1141
1141
|
Object.keys(e).forEach(function(r) {
|
|
1142
|
-
|
|
1142
|
+
a[r] = e[r];
|
|
1143
1143
|
});
|
|
1144
1144
|
}
|
|
1145
|
-
return
|
|
1145
|
+
return a;
|
|
1146
1146
|
},
|
|
1147
1147
|
interpolation: {
|
|
1148
1148
|
escapeValue: !0,
|
|
1149
|
-
format: function(t,
|
|
1149
|
+
format: function(t, a, e, r) {
|
|
1150
1150
|
return t;
|
|
1151
1151
|
},
|
|
1152
1152
|
prefix: "{{",
|
|
@@ -1161,79 +1161,79 @@ function Kt() {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return typeof
|
|
1164
|
+
function Ve(n) {
|
|
1165
|
+
return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.whitelist && (n.whitelist && n.whitelist.indexOf("cimode") < 0 && (n.whitelist = n.whitelist.concat(["cimode"])), n.supportedLngs = n.whitelist), n.nonExplicitWhitelist && (n.nonExplicitSupportedLngs = n.nonExplicitWhitelist), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function oe() {
|
|
1168
1168
|
}
|
|
1169
|
-
var
|
|
1170
|
-
|
|
1169
|
+
var Zt = function(n) {
|
|
1170
|
+
ye(t, n);
|
|
1171
1171
|
function t() {
|
|
1172
|
-
var
|
|
1173
|
-
if (
|
|
1172
|
+
var a, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1173
|
+
if (z(this, t), a = re(this, Y(t).call(this)), be && Q.call(K(a)), a.options = Ve(e), a.services = {}, a.logger = q, a.modules = {
|
|
1174
1174
|
external: []
|
|
1175
|
-
}, r && !
|
|
1176
|
-
if (!
|
|
1177
|
-
return
|
|
1175
|
+
}, r && !a.isInitialized && !e.isClone) {
|
|
1176
|
+
if (!a.options.initImmediate)
|
|
1177
|
+
return a.init(e, r), re(a, K(a));
|
|
1178
1178
|
setTimeout(function() {
|
|
1179
|
-
|
|
1179
|
+
a.init(e, r);
|
|
1180
1180
|
}, 0);
|
|
1181
1181
|
}
|
|
1182
|
-
return
|
|
1182
|
+
return a;
|
|
1183
1183
|
}
|
|
1184
|
-
return
|
|
1184
|
+
return _(t, [{
|
|
1185
1185
|
key: "init",
|
|
1186
1186
|
value: function() {
|
|
1187
1187
|
var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1188
|
-
typeof r == "function" && (i = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'), this.options =
|
|
1189
|
-
function o(
|
|
1190
|
-
return
|
|
1188
|
+
typeof r == "function" && (i = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'), this.options = N({}, Kt(), this.options, Ve(r)), this.format = this.options.interpolation.format, i || (i = oe);
|
|
1189
|
+
function o(p) {
|
|
1190
|
+
return p ? typeof p == "function" ? new p() : p : null;
|
|
1191
1191
|
}
|
|
1192
1192
|
if (!this.options.isClone) {
|
|
1193
|
-
this.modules.logger ?
|
|
1194
|
-
var s = new
|
|
1195
|
-
this.store = new
|
|
1196
|
-
var
|
|
1197
|
-
|
|
1193
|
+
this.modules.logger ? q.init(o(this.modules.logger), this.options) : q.init(null, this.options);
|
|
1194
|
+
var s = new zt(this.options);
|
|
1195
|
+
this.store = new Mt(this.options.resources, this.options);
|
|
1196
|
+
var l = this.services;
|
|
1197
|
+
l.logger = q, l.resourceStore = this.store, l.languageUtils = s, l.pluralResolver = new Vt(s, {
|
|
1198
1198
|
prepend: this.options.pluralSeparator,
|
|
1199
1199
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
1200
1200
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1201
|
-
}),
|
|
1201
|
+
}), l.interpolator = new Wt(this.options), l.utils = {
|
|
1202
1202
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1203
|
-
},
|
|
1203
|
+
}, l.backendConnector = new $t(o(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(p) {
|
|
1204
1204
|
for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
|
|
1205
1205
|
g[b - 1] = arguments[b];
|
|
1206
|
-
e.emit.apply(e, [
|
|
1207
|
-
}), this.modules.languageDetector && (
|
|
1206
|
+
e.emit.apply(e, [p].concat(g));
|
|
1207
|
+
}), this.modules.languageDetector && (l.languageDetector = o(this.modules.languageDetector), l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = o(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new qe(this.services, this.options), this.translator.on("*", function(p) {
|
|
1208
1208
|
for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
|
|
1209
1209
|
g[b - 1] = arguments[b];
|
|
1210
|
-
e.emit.apply(e, [
|
|
1211
|
-
}), this.modules.external.forEach(function(
|
|
1212
|
-
|
|
1210
|
+
e.emit.apply(e, [p].concat(g));
|
|
1211
|
+
}), this.modules.external.forEach(function(p) {
|
|
1212
|
+
p.init && p.init(e);
|
|
1213
1213
|
});
|
|
1214
1214
|
}
|
|
1215
1215
|
if (this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1216
|
-
var
|
|
1217
|
-
|
|
1216
|
+
var u = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1217
|
+
u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]);
|
|
1218
1218
|
}
|
|
1219
1219
|
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined");
|
|
1220
|
-
var
|
|
1221
|
-
|
|
1222
|
-
e[
|
|
1220
|
+
var d = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
|
|
1221
|
+
d.forEach(function(p) {
|
|
1222
|
+
e[p] = function() {
|
|
1223
1223
|
var y;
|
|
1224
|
-
return (y = e.store)[
|
|
1224
|
+
return (y = e.store)[p].apply(y, arguments);
|
|
1225
1225
|
};
|
|
1226
1226
|
});
|
|
1227
|
-
var
|
|
1228
|
-
|
|
1229
|
-
e[
|
|
1227
|
+
var f = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
|
|
1228
|
+
f.forEach(function(p) {
|
|
1229
|
+
e[p] = function() {
|
|
1230
1230
|
var y;
|
|
1231
|
-
return (y = e.store)[
|
|
1231
|
+
return (y = e.store)[p].apply(y, arguments), e;
|
|
1232
1232
|
};
|
|
1233
1233
|
});
|
|
1234
|
-
var v =
|
|
1235
|
-
var y = function(b,
|
|
1236
|
-
e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), v.resolve(
|
|
1234
|
+
var v = J(), m = function() {
|
|
1235
|
+
var y = function(b, w) {
|
|
1236
|
+
e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), v.resolve(w), i(b, w);
|
|
1237
1237
|
};
|
|
1238
1238
|
if (e.languages && e.options.compatibilityAPI !== "v1" && !e.isInitialized) return y(null, e.t.bind(e));
|
|
1239
1239
|
e.changeLanguage(e.options.lng, y);
|
|
@@ -1243,36 +1243,36 @@ var zt = function(a) {
|
|
|
1243
1243
|
}, {
|
|
1244
1244
|
key: "loadResources",
|
|
1245
1245
|
value: function(e) {
|
|
1246
|
-
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
1246
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = i, s = typeof e == "string" ? e : this.language;
|
|
1247
1247
|
if (typeof e == "function" && (o = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1248
1248
|
if (s && s.toLowerCase() === "cimode") return o();
|
|
1249
|
-
var
|
|
1249
|
+
var l = [], u = function(v) {
|
|
1250
1250
|
if (v) {
|
|
1251
1251
|
var m = r.services.languageUtils.toResolveHierarchy(v);
|
|
1252
|
-
m.forEach(function(
|
|
1253
|
-
|
|
1252
|
+
m.forEach(function(p) {
|
|
1253
|
+
l.indexOf(p) < 0 && l.push(p);
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
1257
|
if (s)
|
|
1258
|
-
|
|
1258
|
+
u(s);
|
|
1259
1259
|
else {
|
|
1260
|
-
var
|
|
1261
|
-
|
|
1262
|
-
return f
|
|
1260
|
+
var d = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1261
|
+
d.forEach(function(f) {
|
|
1262
|
+
return u(f);
|
|
1263
1263
|
});
|
|
1264
1264
|
}
|
|
1265
|
-
this.options.preload && this.options.preload.forEach(function(
|
|
1266
|
-
return f
|
|
1267
|
-
}), this.services.backendConnector.load(
|
|
1265
|
+
this.options.preload && this.options.preload.forEach(function(f) {
|
|
1266
|
+
return u(f);
|
|
1267
|
+
}), this.services.backendConnector.load(l, this.options.ns, o);
|
|
1268
1268
|
} else
|
|
1269
1269
|
o(null);
|
|
1270
1270
|
}
|
|
1271
1271
|
}, {
|
|
1272
1272
|
key: "reloadResources",
|
|
1273
1273
|
value: function(e, r, i) {
|
|
1274
|
-
var o =
|
|
1275
|
-
return e || (e = this.languages), r || (r = this.options.ns), i || (i =
|
|
1274
|
+
var o = J();
|
|
1275
|
+
return e || (e = this.languages), r || (r = this.options.ns), i || (i = oe), this.services.backendConnector.reload(e, r, function(s) {
|
|
1276
1276
|
o.resolve(), i(s);
|
|
1277
1277
|
}), o;
|
|
1278
1278
|
}
|
|
@@ -1281,41 +1281,41 @@ var zt = function(a) {
|
|
|
1281
1281
|
value: function(e) {
|
|
1282
1282
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1283
1283
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1284
|
-
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" &&
|
|
1284
|
+
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" && ft.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1285
1285
|
}
|
|
1286
1286
|
}, {
|
|
1287
1287
|
key: "changeLanguage",
|
|
1288
1288
|
value: function(e, r) {
|
|
1289
1289
|
var i = this;
|
|
1290
1290
|
this.isLanguageChangingTo = e;
|
|
1291
|
-
var o =
|
|
1291
|
+
var o = J();
|
|
1292
1292
|
this.emit("languageChanging", e);
|
|
1293
|
-
var s = function(
|
|
1294
|
-
|
|
1293
|
+
var s = function(d, f) {
|
|
1294
|
+
f ? (i.language = f, i.languages = i.services.languageUtils.toResolveHierarchy(f), i.translator.changeLanguage(f), i.isLanguageChangingTo = void 0, i.emit("languageChanged", f), i.logger.log("languageChanged", f)) : i.isLanguageChangingTo = void 0, o.resolve(function() {
|
|
1295
1295
|
return i.t.apply(i, arguments);
|
|
1296
|
-
}), r && r(
|
|
1296
|
+
}), r && r(d, function() {
|
|
1297
1297
|
return i.t.apply(i, arguments);
|
|
1298
1298
|
});
|
|
1299
|
-
},
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1302
|
-
s(v,
|
|
1299
|
+
}, l = function(d) {
|
|
1300
|
+
var f = typeof d == "string" ? d : i.services.languageUtils.getBestMatchFromCodes(d);
|
|
1301
|
+
f && (i.language || (i.language = f, i.languages = i.services.languageUtils.toResolveHierarchy(f)), i.translator.language || i.translator.changeLanguage(f), i.services.languageDetector && i.services.languageDetector.cacheUserLanguage(f)), i.loadResources(f, function(v) {
|
|
1302
|
+
s(v, f);
|
|
1303
1303
|
});
|
|
1304
1304
|
};
|
|
1305
|
-
return !e && this.services.languageDetector && !this.services.languageDetector.async ?
|
|
1305
|
+
return !e && this.services.languageDetector && !this.services.languageDetector.async ? l(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect(l) : l(e), o;
|
|
1306
1306
|
}
|
|
1307
1307
|
}, {
|
|
1308
1308
|
key: "getFixedT",
|
|
1309
1309
|
value: function(e, r) {
|
|
1310
|
-
var i = this, o = function s(
|
|
1311
|
-
var
|
|
1312
|
-
if (
|
|
1313
|
-
for (var
|
|
1310
|
+
var i = this, o = function s(l, u) {
|
|
1311
|
+
var d;
|
|
1312
|
+
if (j(u) !== "object") {
|
|
1313
|
+
for (var f = arguments.length, v = new Array(f > 2 ? f - 2 : 0), m = 2; m < f; m++)
|
|
1314
1314
|
v[m - 2] = arguments[m];
|
|
1315
|
-
|
|
1315
|
+
d = i.options.overloadTranslationOptionHandler([l, u].concat(v));
|
|
1316
1316
|
} else
|
|
1317
|
-
|
|
1318
|
-
return
|
|
1317
|
+
d = N({}, u);
|
|
1318
|
+
return d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, i.t(l, d);
|
|
1319
1319
|
};
|
|
1320
1320
|
return typeof e == "string" ? o.lng = e : o.lngs = e, o.ns = r, o;
|
|
1321
1321
|
}
|
|
@@ -1344,22 +1344,22 @@ var zt = function(a) {
|
|
|
1344
1344
|
return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
|
|
1345
1345
|
if (!this.languages || !this.languages.length)
|
|
1346
1346
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
1347
|
-
var o = this.languages[0], s = this.options ? this.options.fallbackLng : !1,
|
|
1347
|
+
var o = this.languages[0], s = this.options ? this.options.fallbackLng : !1, l = this.languages[this.languages.length - 1];
|
|
1348
1348
|
if (o.toLowerCase() === "cimode") return !0;
|
|
1349
|
-
var
|
|
1350
|
-
var
|
|
1351
|
-
return
|
|
1349
|
+
var u = function(v, m) {
|
|
1350
|
+
var p = r.services.backendConnector.state["".concat(v, "|").concat(m)];
|
|
1351
|
+
return p === -1 || p === 2;
|
|
1352
1352
|
};
|
|
1353
1353
|
if (i.precheck) {
|
|
1354
|
-
var
|
|
1355
|
-
if (
|
|
1354
|
+
var d = i.precheck(this, u);
|
|
1355
|
+
if (d !== void 0) return d;
|
|
1356
1356
|
}
|
|
1357
|
-
return !!(this.hasResourceBundle(o, e) || !this.services.backendConnector.backend ||
|
|
1357
|
+
return !!(this.hasResourceBundle(o, e) || !this.services.backendConnector.backend || u(o, e) && (!s || u(l, e)));
|
|
1358
1358
|
}
|
|
1359
1359
|
}, {
|
|
1360
1360
|
key: "loadNamespaces",
|
|
1361
1361
|
value: function(e, r) {
|
|
1362
|
-
var i = this, o =
|
|
1362
|
+
var i = this, o = J();
|
|
1363
1363
|
return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(s) {
|
|
1364
1364
|
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
|
1365
1365
|
}), this.loadResources(function(s) {
|
|
@@ -1369,13 +1369,13 @@ var zt = function(a) {
|
|
|
1369
1369
|
}, {
|
|
1370
1370
|
key: "loadLanguages",
|
|
1371
1371
|
value: function(e, r) {
|
|
1372
|
-
var i =
|
|
1372
|
+
var i = J();
|
|
1373
1373
|
typeof e == "string" && (e = [e]);
|
|
1374
|
-
var o = this.options.preload || [], s = e.filter(function(
|
|
1375
|
-
return o.indexOf(
|
|
1374
|
+
var o = this.options.preload || [], s = e.filter(function(l) {
|
|
1375
|
+
return o.indexOf(l) < 0;
|
|
1376
1376
|
});
|
|
1377
|
-
return s.length ? (this.options.preload = o.concat(s), this.loadResources(function(
|
|
1378
|
-
i.resolve(), r && r(
|
|
1377
|
+
return s.length ? (this.options.preload = o.concat(s), this.loadResources(function(l) {
|
|
1378
|
+
i.resolve(), r && r(l);
|
|
1379
1379
|
}), i) : (r && r(), Promise.resolve());
|
|
1380
1380
|
}
|
|
1381
1381
|
}, {
|
|
@@ -1394,48 +1394,48 @@ var zt = function(a) {
|
|
|
1394
1394
|
}, {
|
|
1395
1395
|
key: "cloneInstance",
|
|
1396
1396
|
value: function() {
|
|
1397
|
-
var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
1397
|
+
var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = N({}, this.options, r, {
|
|
1398
1398
|
isClone: !0
|
|
1399
|
-
}), s = new t(o),
|
|
1400
|
-
return
|
|
1401
|
-
s[
|
|
1402
|
-
}), s.services =
|
|
1399
|
+
}), s = new t(o), l = ["store", "services", "language"];
|
|
1400
|
+
return l.forEach(function(u) {
|
|
1401
|
+
s[u] = e[u];
|
|
1402
|
+
}), s.services = N({}, this.services), s.services.utils = {
|
|
1403
1403
|
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
1404
|
-
}, s.translator = new
|
|
1405
|
-
for (var
|
|
1406
|
-
|
|
1407
|
-
s.emit.apply(s, [
|
|
1404
|
+
}, s.translator = new qe(s.services, s.options), s.translator.on("*", function(u) {
|
|
1405
|
+
for (var d = arguments.length, f = new Array(d > 1 ? d - 1 : 0), v = 1; v < d; v++)
|
|
1406
|
+
f[v - 1] = arguments[v];
|
|
1407
|
+
s.emit.apply(s, [u].concat(f));
|
|
1408
1408
|
}), s.init(o, i), s.translator.options = s.options, s.translator.backendConnector.services.utils = {
|
|
1409
1409
|
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
1410
1410
|
}, s;
|
|
1411
1411
|
}
|
|
1412
1412
|
}]), t;
|
|
1413
|
-
}(
|
|
1414
|
-
function Xt(
|
|
1415
|
-
if (
|
|
1416
|
-
var
|
|
1417
|
-
for (var e in
|
|
1413
|
+
}(Q), $ = new Zt();
|
|
1414
|
+
function Xt(n, t) {
|
|
1415
|
+
if (n == null) return {};
|
|
1416
|
+
var a = {};
|
|
1417
|
+
for (var e in n) if ({}.hasOwnProperty.call(n, e)) {
|
|
1418
1418
|
if (t.includes(e)) continue;
|
|
1419
|
-
|
|
1419
|
+
a[e] = n[e];
|
|
1420
1420
|
}
|
|
1421
|
-
return
|
|
1421
|
+
return a;
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1424
|
-
if (
|
|
1425
|
-
var
|
|
1423
|
+
function pt(n, t) {
|
|
1424
|
+
if (n == null) return {};
|
|
1425
|
+
var a, e, r = Xt(n, t);
|
|
1426
1426
|
if (Object.getOwnPropertySymbols) {
|
|
1427
|
-
var i = Object.getOwnPropertySymbols(
|
|
1428
|
-
for (e = 0; e < i.length; e++)
|
|
1427
|
+
var i = Object.getOwnPropertySymbols(n);
|
|
1428
|
+
for (e = 0; e < i.length; e++) a = i[e], t.includes(a) || {}.propertyIsEnumerable.call(n, a) && (r[a] = n[a]);
|
|
1429
1429
|
}
|
|
1430
1430
|
return r;
|
|
1431
1431
|
}
|
|
1432
|
-
var
|
|
1433
|
-
function
|
|
1434
|
-
return
|
|
1432
|
+
var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1433
|
+
function ht(n) {
|
|
1434
|
+
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1435
1435
|
}
|
|
1436
|
-
var
|
|
1437
|
-
function
|
|
1438
|
-
return
|
|
1436
|
+
var ke, We;
|
|
1437
|
+
function Gt() {
|
|
1438
|
+
return We || (We = 1, ke = {
|
|
1439
1439
|
area: !0,
|
|
1440
1440
|
base: !0,
|
|
1441
1441
|
br: !0,
|
|
@@ -1450,66 +1450,66 @@ function Jt() {
|
|
|
1450
1450
|
source: !0,
|
|
1451
1451
|
track: !0,
|
|
1452
1452
|
wbr: !0
|
|
1453
|
-
}),
|
|
1454
|
-
}
|
|
1455
|
-
var
|
|
1456
|
-
const
|
|
1457
|
-
var
|
|
1458
|
-
function
|
|
1459
|
-
var t = { type: "tag", name: "", voidElement: !1, attrs: {}, children: [] },
|
|
1460
|
-
if (
|
|
1461
|
-
var e =
|
|
1462
|
-
return { type: "comment", comment: e !== -1 ?
|
|
1453
|
+
}), ke;
|
|
1454
|
+
}
|
|
1455
|
+
var Yt = Gt();
|
|
1456
|
+
const Jt = /* @__PURE__ */ ht(Yt);
|
|
1457
|
+
var ea = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
|
|
1458
|
+
function Qe(n) {
|
|
1459
|
+
var t = { type: "tag", name: "", voidElement: !1, attrs: {}, children: [] }, a = n.match(/<\/?([^\s]+?)[/\s>]/);
|
|
1460
|
+
if (a && (t.name = a[1], (Jt[a[1]] || n.charAt(n.length - 2) === "/") && (t.voidElement = !0), t.name.startsWith("!--"))) {
|
|
1461
|
+
var e = n.indexOf("-->");
|
|
1462
|
+
return { type: "comment", comment: e !== -1 ? n.slice(4, e) : "" };
|
|
1463
1463
|
}
|
|
1464
|
-
for (var r = new RegExp(
|
|
1464
|
+
for (var r = new RegExp(ea), i = null; (i = r.exec(n)) !== null; ) if (i[0].trim()) if (i[1]) {
|
|
1465
1465
|
var o = i[1].trim(), s = [o, ""];
|
|
1466
1466
|
o.indexOf("=") > -1 && (s = o.split("=")), t.attrs[s[0]] = s[1], r.lastIndex--;
|
|
1467
1467
|
} else i[2] && (t.attrs[i[2]] = i[3].trim().substring(1, i[3].length - 1));
|
|
1468
1468
|
return t;
|
|
1469
1469
|
}
|
|
1470
|
-
var
|
|
1471
|
-
function
|
|
1470
|
+
var ta = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, aa = /^\s*$/, ra = /* @__PURE__ */ Object.create(null);
|
|
1471
|
+
function gt(n, t) {
|
|
1472
1472
|
switch (t.type) {
|
|
1473
1473
|
case "text":
|
|
1474
|
-
return
|
|
1474
|
+
return n + t.content;
|
|
1475
1475
|
case "tag":
|
|
1476
|
-
return
|
|
1476
|
+
return n += "<" + t.name + (t.attrs ? function(a) {
|
|
1477
1477
|
var e = [];
|
|
1478
|
-
for (var r in
|
|
1478
|
+
for (var r in a) e.push(r + '="' + a[r] + '"');
|
|
1479
1479
|
return e.length ? " " + e.join(" ") : "";
|
|
1480
|
-
}(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ?
|
|
1480
|
+
}(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? n : n + t.children.reduce(gt, "") + "</" + t.name + ">";
|
|
1481
1481
|
case "comment":
|
|
1482
|
-
return
|
|
1482
|
+
return n + "<!--" + t.comment + "-->";
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
var
|
|
1486
|
-
t || (t = {}), t.components || (t.components =
|
|
1487
|
-
var
|
|
1488
|
-
if (
|
|
1489
|
-
var s =
|
|
1490
|
-
e.push({ type: "text", content: s === -1 ?
|
|
1485
|
+
var na = { parse: function(n, t) {
|
|
1486
|
+
t || (t = {}), t.components || (t.components = ra);
|
|
1487
|
+
var a, e = [], r = [], i = -1, o = !1;
|
|
1488
|
+
if (n.indexOf("<") !== 0) {
|
|
1489
|
+
var s = n.indexOf("<");
|
|
1490
|
+
e.push({ type: "text", content: s === -1 ? n : n.substring(0, s) });
|
|
1491
1491
|
}
|
|
1492
|
-
return
|
|
1492
|
+
return n.replace(ta, function(l, u) {
|
|
1493
1493
|
if (o) {
|
|
1494
|
-
if (
|
|
1494
|
+
if (l !== "</" + a.name + ">") return;
|
|
1495
1495
|
o = !1;
|
|
1496
1496
|
}
|
|
1497
|
-
var
|
|
1497
|
+
var d, f = l.charAt(1) !== "/", v = l.startsWith("<!--"), m = u + l.length, p = n.charAt(m);
|
|
1498
1498
|
if (v) {
|
|
1499
|
-
var y =
|
|
1500
|
-
return i < 0 ? (e.push(y), e) : ((
|
|
1499
|
+
var y = Qe(l);
|
|
1500
|
+
return i < 0 ? (e.push(y), e) : ((d = r[i]).children.push(y), e);
|
|
1501
1501
|
}
|
|
1502
|
-
if (
|
|
1503
|
-
|
|
1504
|
-
var g =
|
|
1505
|
-
|
|
1502
|
+
if (f && (i++, (a = Qe(l)).type === "tag" && t.components[a.name] && (a.type = "component", o = !0), a.voidElement || o || !p || p === "<" || a.children.push({ type: "text", content: n.slice(m, n.indexOf("<", m)) }), i === 0 && e.push(a), (d = r[i - 1]) && d.children.push(a), r[i] = a), (!f || a.voidElement) && (i > -1 && (a.voidElement || a.name === l.slice(2, -1)) && (i--, a = i === -1 ? e : r[i]), !o && p !== "<" && p)) {
|
|
1503
|
+
d = i === -1 ? e : r[i].children;
|
|
1504
|
+
var g = n.indexOf("<", m), b = n.slice(m, g === -1 ? void 0 : g);
|
|
1505
|
+
aa.test(b) && (b = " "), (g > -1 && i + d.length >= 0 || b !== " ") && d.push({ type: "text", content: b });
|
|
1506
1506
|
}
|
|
1507
1507
|
}), e;
|
|
1508
|
-
}, stringify: function(
|
|
1509
|
-
return
|
|
1510
|
-
return t +
|
|
1508
|
+
}, stringify: function(n) {
|
|
1509
|
+
return n.reduce(function(t, a) {
|
|
1510
|
+
return t + gt("", a);
|
|
1511
1511
|
}, "");
|
|
1512
|
-
} },
|
|
1512
|
+
} }, ia = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, oa = {
|
|
1513
1513
|
"&": "&",
|
|
1514
1514
|
"&": "&",
|
|
1515
1515
|
"<": "<",
|
|
@@ -1530,33 +1530,33 @@ var nn = { parse: function(a, t) {
|
|
|
1530
1530
|
"…": "…",
|
|
1531
1531
|
"/": "/",
|
|
1532
1532
|
"/": "/"
|
|
1533
|
-
},
|
|
1534
|
-
return
|
|
1535
|
-
},
|
|
1536
|
-
return t.replace(
|
|
1533
|
+
}, sa = function(t) {
|
|
1534
|
+
return oa[t];
|
|
1535
|
+
}, la = function(t) {
|
|
1536
|
+
return t.replace(ia, sa);
|
|
1537
1537
|
};
|
|
1538
|
-
function
|
|
1539
|
-
var
|
|
1538
|
+
function $e(n, t) {
|
|
1539
|
+
var a = Object.keys(n);
|
|
1540
1540
|
if (Object.getOwnPropertySymbols) {
|
|
1541
|
-
var e = Object.getOwnPropertySymbols(
|
|
1541
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1542
1542
|
t && (e = e.filter(function(r) {
|
|
1543
|
-
return Object.getOwnPropertyDescriptor(
|
|
1544
|
-
})),
|
|
1543
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1544
|
+
})), a.push.apply(a, e);
|
|
1545
1545
|
}
|
|
1546
|
-
return
|
|
1546
|
+
return a;
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function Ke(n) {
|
|
1549
1549
|
for (var t = 1; t < arguments.length; t++) {
|
|
1550
|
-
var
|
|
1551
|
-
t % 2 ?
|
|
1552
|
-
|
|
1553
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1554
|
-
Object.defineProperty(
|
|
1550
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1551
|
+
t % 2 ? $e(Object(a), !0).forEach(function(e) {
|
|
1552
|
+
ve(n, e, a[e]);
|
|
1553
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : $e(Object(a)).forEach(function(e) {
|
|
1554
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1555
1555
|
});
|
|
1556
1556
|
}
|
|
1557
|
-
return
|
|
1557
|
+
return n;
|
|
1558
1558
|
}
|
|
1559
|
-
var
|
|
1559
|
+
var Ae = {
|
|
1560
1560
|
bindI18n: "languageChanged",
|
|
1561
1561
|
bindI18nStore: "",
|
|
1562
1562
|
transEmptyNodeValue: "",
|
|
@@ -1564,24 +1564,24 @@ var Re = {
|
|
|
1564
1564
|
transWrapTextNodes: "",
|
|
1565
1565
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
1566
1566
|
useSuspense: !0,
|
|
1567
|
-
unescape:
|
|
1568
|
-
},
|
|
1569
|
-
function
|
|
1570
|
-
var
|
|
1571
|
-
|
|
1572
|
-
}
|
|
1573
|
-
function
|
|
1574
|
-
return
|
|
1575
|
-
}
|
|
1576
|
-
var
|
|
1577
|
-
function
|
|
1578
|
-
|
|
1567
|
+
unescape: la
|
|
1568
|
+
}, mt, vt = Et();
|
|
1569
|
+
function ua() {
|
|
1570
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1571
|
+
Ae = Ke(Ke({}, Ae), n);
|
|
1572
|
+
}
|
|
1573
|
+
function yt() {
|
|
1574
|
+
return Ae;
|
|
1575
|
+
}
|
|
1576
|
+
var ca = function() {
|
|
1577
|
+
function n() {
|
|
1578
|
+
z(this, n), this.usedNamespaces = {};
|
|
1579
1579
|
}
|
|
1580
|
-
return
|
|
1580
|
+
return _(n, [{
|
|
1581
1581
|
key: "addUsedNamespaces",
|
|
1582
|
-
value: function(
|
|
1582
|
+
value: function(a) {
|
|
1583
1583
|
var e = this;
|
|
1584
|
-
|
|
1584
|
+
a.forEach(function(r) {
|
|
1585
1585
|
e.usedNamespaces[r] || (e.usedNamespaces[r] = !0);
|
|
1586
1586
|
});
|
|
1587
1587
|
}
|
|
@@ -1590,402 +1590,402 @@ var fn = function() {
|
|
|
1590
1590
|
value: function() {
|
|
1591
1591
|
return Object.keys(this.usedNamespaces);
|
|
1592
1592
|
}
|
|
1593
|
-
}]),
|
|
1593
|
+
}]), n;
|
|
1594
1594
|
}();
|
|
1595
|
-
function
|
|
1596
|
-
|
|
1595
|
+
function da(n) {
|
|
1596
|
+
mt = n;
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1599
|
-
return
|
|
1598
|
+
function bt() {
|
|
1599
|
+
return mt;
|
|
1600
1600
|
}
|
|
1601
|
-
var
|
|
1601
|
+
var fa = {
|
|
1602
1602
|
type: "3rdParty",
|
|
1603
1603
|
init: function(t) {
|
|
1604
|
-
|
|
1604
|
+
ua(t.options.react), da(t);
|
|
1605
1605
|
}
|
|
1606
1606
|
};
|
|
1607
|
-
function
|
|
1607
|
+
function ue() {
|
|
1608
1608
|
if (console && console.warn) {
|
|
1609
|
-
for (var
|
|
1610
|
-
|
|
1611
|
-
typeof
|
|
1609
|
+
for (var n, t = arguments.length, a = new Array(t), e = 0; e < t; e++)
|
|
1610
|
+
a[e] = arguments[e];
|
|
1611
|
+
typeof a[0] == "string" && (a[0] = "react-i18next:: ".concat(a[0])), (n = console).warn.apply(n, a);
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
|
-
var
|
|
1615
|
-
function
|
|
1616
|
-
for (var
|
|
1617
|
-
t[
|
|
1618
|
-
typeof t[0] == "string" &&
|
|
1614
|
+
var Ze = {};
|
|
1615
|
+
function fe() {
|
|
1616
|
+
for (var n = arguments.length, t = new Array(n), a = 0; a < n; a++)
|
|
1617
|
+
t[a] = arguments[a];
|
|
1618
|
+
typeof t[0] == "string" && Ze[t[0]] || (typeof t[0] == "string" && (Ze[t[0]] = /* @__PURE__ */ new Date()), ue.apply(void 0, t));
|
|
1619
1619
|
}
|
|
1620
|
-
function Xe(
|
|
1621
|
-
|
|
1622
|
-
if (
|
|
1623
|
-
|
|
1620
|
+
function Xe(n, t, a) {
|
|
1621
|
+
n.loadNamespaces(t, function() {
|
|
1622
|
+
if (n.isInitialized)
|
|
1623
|
+
a();
|
|
1624
1624
|
else {
|
|
1625
1625
|
var e = function r() {
|
|
1626
1626
|
setTimeout(function() {
|
|
1627
|
-
|
|
1628
|
-
}, 0),
|
|
1627
|
+
n.off("initialized", r);
|
|
1628
|
+
}, 0), a();
|
|
1629
1629
|
};
|
|
1630
|
-
|
|
1630
|
+
n.on("initialized", e);
|
|
1631
1631
|
}
|
|
1632
1632
|
});
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1635
|
-
var
|
|
1634
|
+
function pa(n, t) {
|
|
1635
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, e = t.languages[0], r = t.options ? t.options.fallbackLng : !1, i = t.languages[t.languages.length - 1];
|
|
1636
1636
|
if (e.toLowerCase() === "cimode") return !0;
|
|
1637
|
-
var o = function(
|
|
1638
|
-
var
|
|
1639
|
-
return
|
|
1637
|
+
var o = function(l, u) {
|
|
1638
|
+
var d = t.services.backendConnector.state["".concat(l, "|").concat(u)];
|
|
1639
|
+
return d === -1 || d === 2;
|
|
1640
1640
|
};
|
|
1641
|
-
return
|
|
1641
|
+
return a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !o(t.isLanguageChangingTo, n) ? !1 : !!(t.hasResourceBundle(e, n) || !t.services.backendConnector.backend || t.options.resources && !t.options.partialBundledLanguages || o(e, n) && (!r || o(i, n)));
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1644
|
-
var
|
|
1643
|
+
function ha(n, t) {
|
|
1644
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1645
1645
|
if (!t.languages || !t.languages.length)
|
|
1646
|
-
return
|
|
1646
|
+
return fe("i18n.languages were undefined or empty", t.languages), !0;
|
|
1647
1647
|
var e = t.options.ignoreJSONStructure !== void 0;
|
|
1648
|
-
return e ? t.hasLoadedNamespace(
|
|
1648
|
+
return e ? t.hasLoadedNamespace(n, {
|
|
1649
1649
|
precheck: function(i, o) {
|
|
1650
|
-
if (
|
|
1650
|
+
if (a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !o(i.isLanguageChangingTo, n)) return !1;
|
|
1651
1651
|
}
|
|
1652
|
-
}) :
|
|
1652
|
+
}) : pa(n, t, a);
|
|
1653
1653
|
}
|
|
1654
|
-
var
|
|
1655
|
-
function
|
|
1656
|
-
var
|
|
1654
|
+
var ga = ["format"], ma = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
1655
|
+
function Ge(n, t) {
|
|
1656
|
+
var a = Object.keys(n);
|
|
1657
1657
|
if (Object.getOwnPropertySymbols) {
|
|
1658
|
-
var e = Object.getOwnPropertySymbols(
|
|
1658
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1659
1659
|
t && (e = e.filter(function(r) {
|
|
1660
|
-
return Object.getOwnPropertyDescriptor(
|
|
1661
|
-
})),
|
|
1660
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1661
|
+
})), a.push.apply(a, e);
|
|
1662
1662
|
}
|
|
1663
|
-
return
|
|
1663
|
+
return a;
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function U(n) {
|
|
1666
1666
|
for (var t = 1; t < arguments.length; t++) {
|
|
1667
|
-
var
|
|
1668
|
-
t % 2 ?
|
|
1669
|
-
|
|
1670
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1671
|
-
Object.defineProperty(
|
|
1667
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1668
|
+
t % 2 ? Ge(Object(a), !0).forEach(function(e) {
|
|
1669
|
+
ve(n, e, a[e]);
|
|
1670
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Ge(Object(a)).forEach(function(e) {
|
|
1671
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1672
1672
|
});
|
|
1673
1673
|
}
|
|
1674
|
-
return
|
|
1674
|
+
return n;
|
|
1675
1675
|
}
|
|
1676
|
-
function
|
|
1677
|
-
if (!
|
|
1678
|
-
var
|
|
1679
|
-
return t ?
|
|
1676
|
+
function Ce(n, t) {
|
|
1677
|
+
if (!n) return !1;
|
|
1678
|
+
var a = n.props ? n.props.children : n.children;
|
|
1679
|
+
return t ? a.length > 0 : !!a;
|
|
1680
1680
|
}
|
|
1681
|
-
function
|
|
1682
|
-
return
|
|
1681
|
+
function Le(n) {
|
|
1682
|
+
return n ? n.props ? n.props.children : n.children : [];
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1685
|
-
return Object.prototype.toString.call(
|
|
1686
|
-
return
|
|
1684
|
+
function va(n) {
|
|
1685
|
+
return Object.prototype.toString.call(n) !== "[object Array]" ? !1 : n.every(function(t) {
|
|
1686
|
+
return ce(t);
|
|
1687
1687
|
});
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
return Array.isArray(
|
|
1689
|
+
function ee(n) {
|
|
1690
|
+
return Array.isArray(n) ? n : [n];
|
|
1691
1691
|
}
|
|
1692
|
-
function
|
|
1693
|
-
var
|
|
1694
|
-
return
|
|
1692
|
+
function ya(n, t) {
|
|
1693
|
+
var a = U({}, t);
|
|
1694
|
+
return a.props = Object.assign(n.props, t.props), a;
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1697
|
-
if (!
|
|
1698
|
-
var
|
|
1696
|
+
function St(n, t) {
|
|
1697
|
+
if (!n) return "";
|
|
1698
|
+
var a = "", e = ee(n), r = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
|
|
1699
1699
|
return e.forEach(function(i, o) {
|
|
1700
1700
|
if (typeof i == "string")
|
|
1701
|
-
|
|
1702
|
-
else if (
|
|
1703
|
-
var s = Object.keys(i.props).length,
|
|
1704
|
-
if (!
|
|
1705
|
-
|
|
1706
|
-
else if (!
|
|
1707
|
-
|
|
1701
|
+
a += "".concat(i);
|
|
1702
|
+
else if (ce(i)) {
|
|
1703
|
+
var s = Object.keys(i.props).length, l = r.indexOf(i.type) > -1, u = i.props.children;
|
|
1704
|
+
if (!u && l && s === 0)
|
|
1705
|
+
a += "<".concat(i.type, "/>");
|
|
1706
|
+
else if (!u && (!l || s !== 0))
|
|
1707
|
+
a += "<".concat(o, "></").concat(o, ">");
|
|
1708
1708
|
else if (i.props.i18nIsDynamicList)
|
|
1709
|
-
|
|
1710
|
-
else if (
|
|
1711
|
-
|
|
1709
|
+
a += "<".concat(o, "></").concat(o, ">");
|
|
1710
|
+
else if (l && s === 1 && typeof u == "string")
|
|
1711
|
+
a += "<".concat(i.type, ">").concat(u, "</").concat(i.type, ">");
|
|
1712
1712
|
else {
|
|
1713
|
-
var
|
|
1714
|
-
|
|
1713
|
+
var d = St(u, t);
|
|
1714
|
+
a += "<".concat(o, ">").concat(d, "</").concat(o, ">");
|
|
1715
1715
|
}
|
|
1716
1716
|
} else if (i === null)
|
|
1717
|
-
|
|
1718
|
-
else if (
|
|
1719
|
-
var
|
|
1717
|
+
ue("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
1718
|
+
else if (j(i) === "object") {
|
|
1719
|
+
var f = i.format, v = pt(i, ga), m = Object.keys(v);
|
|
1720
1720
|
if (m.length === 1) {
|
|
1721
|
-
var
|
|
1722
|
-
|
|
1721
|
+
var p = f ? "".concat(m[0], ", ").concat(f) : m[0];
|
|
1722
|
+
a += "{{".concat(p, "}}");
|
|
1723
1723
|
} else
|
|
1724
|
-
|
|
1724
|
+
ue("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.", i);
|
|
1725
1725
|
} else
|
|
1726
|
-
|
|
1727
|
-
}),
|
|
1726
|
+
ue("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", i);
|
|
1727
|
+
}), a;
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function ba(n, t, a, e, r, i) {
|
|
1730
1730
|
if (t === "") return [];
|
|
1731
1731
|
var o = e.transKeepBasicHtmlNodesFor || [], s = t && new RegExp(o.join("|")).test(t);
|
|
1732
|
-
if (!
|
|
1733
|
-
var
|
|
1734
|
-
function
|
|
1735
|
-
var b =
|
|
1736
|
-
b.forEach(function(
|
|
1737
|
-
typeof
|
|
1732
|
+
if (!n && !s) return [t];
|
|
1733
|
+
var l = {};
|
|
1734
|
+
function u(g) {
|
|
1735
|
+
var b = ee(g);
|
|
1736
|
+
b.forEach(function(w) {
|
|
1737
|
+
typeof w != "string" && (Ce(w) ? u(Le(w)) : j(w) === "object" && !ce(w) && Object.assign(l, w));
|
|
1738
1738
|
});
|
|
1739
1739
|
}
|
|
1740
|
-
|
|
1741
|
-
var
|
|
1742
|
-
function v(g, b,
|
|
1743
|
-
var x =
|
|
1744
|
-
return
|
|
1740
|
+
u(n);
|
|
1741
|
+
var d = na.parse("<0>".concat(t, "</0>")), f = U(U({}, l), r);
|
|
1742
|
+
function v(g, b, w) {
|
|
1743
|
+
var x = Le(g), D = p(x, b.children, w);
|
|
1744
|
+
return va(x) && D.length === 0 ? x : D;
|
|
1745
1745
|
}
|
|
1746
|
-
function m(g, b,
|
|
1747
|
-
g.dummy && (g.children = b),
|
|
1746
|
+
function m(g, b, w, x, D) {
|
|
1747
|
+
g.dummy && (g.children = b), w.push(ie(g, U(U({}, g.props), {}, {
|
|
1748
1748
|
key: x
|
|
1749
|
-
}),
|
|
1749
|
+
}), D ? void 0 : b));
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1752
|
-
var x =
|
|
1753
|
-
return
|
|
1754
|
-
var
|
|
1755
|
-
if (
|
|
1756
|
-
var
|
|
1757
|
-
!
|
|
1758
|
-
var L = Object.keys(
|
|
1759
|
-
props:
|
|
1760
|
-
},
|
|
1751
|
+
function p(g, b, w) {
|
|
1752
|
+
var x = ee(g), D = ee(b);
|
|
1753
|
+
return D.reduce(function(k, S, O) {
|
|
1754
|
+
var E = S.children && S.children[0] && S.children[0].content && a.services.interpolator.interpolate(S.children[0].content, f, a.language);
|
|
1755
|
+
if (S.type === "tag") {
|
|
1756
|
+
var R = x[parseInt(S.name, 10)];
|
|
1757
|
+
!R && w.length === 1 && w[0][S.name] && (R = w[0][S.name]), R || (R = {});
|
|
1758
|
+
var L = Object.keys(S.attrs).length !== 0 ? ya({
|
|
1759
|
+
props: S.attrs
|
|
1760
|
+
}, R) : R, P = ce(L), W = P && Ce(S, !0) && !S.voidElement, I = s && j(L) === "object" && L.dummy && !P, c = j(n) === "object" && n !== null && Object.hasOwnProperty.call(n, S.name);
|
|
1761
1761
|
if (typeof L == "string") {
|
|
1762
|
-
var h =
|
|
1762
|
+
var h = a.services.interpolator.interpolate(L, f, a.language);
|
|
1763
1763
|
k.push(h);
|
|
1764
|
-
} else if (
|
|
1765
|
-
var
|
|
1766
|
-
m(L,
|
|
1767
|
-
} else if (
|
|
1768
|
-
var
|
|
1769
|
-
k.push(
|
|
1770
|
-
key:
|
|
1771
|
-
}),
|
|
1772
|
-
} else if (Number.isNaN(parseFloat(
|
|
1773
|
-
if (
|
|
1774
|
-
var
|
|
1775
|
-
m(L,
|
|
1776
|
-
} else if (e.transSupportBasicHtmlNodes && o.indexOf(
|
|
1777
|
-
if (
|
|
1778
|
-
k.push(
|
|
1779
|
-
key: "".concat(
|
|
1764
|
+
} else if (Ce(L) || W) {
|
|
1765
|
+
var T = v(L, S, w);
|
|
1766
|
+
m(L, T, k, O);
|
|
1767
|
+
} else if (I) {
|
|
1768
|
+
var B = p(x, S.children, w);
|
|
1769
|
+
k.push(ie(L, U(U({}, L.props), {}, {
|
|
1770
|
+
key: O
|
|
1771
|
+
}), B));
|
|
1772
|
+
} else if (Number.isNaN(parseFloat(S.name)))
|
|
1773
|
+
if (c) {
|
|
1774
|
+
var A = v(L, S, w);
|
|
1775
|
+
m(L, A, k, O, S.voidElement);
|
|
1776
|
+
} else if (e.transSupportBasicHtmlNodes && o.indexOf(S.name) > -1)
|
|
1777
|
+
if (S.voidElement)
|
|
1778
|
+
k.push(le(S.name, {
|
|
1779
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1780
1780
|
}));
|
|
1781
1781
|
else {
|
|
1782
|
-
var
|
|
1783
|
-
k.push(
|
|
1784
|
-
key: "".concat(
|
|
1785
|
-
},
|
|
1782
|
+
var C = p(x, S.children, w);
|
|
1783
|
+
k.push(le(S.name, {
|
|
1784
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1785
|
+
}, C));
|
|
1786
1786
|
}
|
|
1787
|
-
else if (
|
|
1788
|
-
k.push("<".concat(
|
|
1787
|
+
else if (S.voidElement)
|
|
1788
|
+
k.push("<".concat(S.name, " />"));
|
|
1789
1789
|
else {
|
|
1790
|
-
var
|
|
1791
|
-
k.push("<".concat(
|
|
1790
|
+
var H = p(x, S.children, w);
|
|
1791
|
+
k.push("<".concat(S.name, ">").concat(H, "</").concat(S.name, ">"));
|
|
1792
1792
|
}
|
|
1793
|
-
else if (
|
|
1794
|
-
var
|
|
1795
|
-
|
|
1796
|
-
} else
|
|
1797
|
-
key:
|
|
1798
|
-
}),
|
|
1799
|
-
key:
|
|
1793
|
+
else if (j(L) === "object" && !P) {
|
|
1794
|
+
var F = S.children[0] ? E : null;
|
|
1795
|
+
F && k.push(F);
|
|
1796
|
+
} else S.children.length === 1 && E ? k.push(ie(L, U(U({}, L.props), {}, {
|
|
1797
|
+
key: O
|
|
1798
|
+
}), E)) : k.push(ie(L, U(U({}, L.props), {}, {
|
|
1799
|
+
key: O
|
|
1800
1800
|
})));
|
|
1801
|
-
} else if (
|
|
1802
|
-
var
|
|
1803
|
-
|
|
1804
|
-
key: "".concat(
|
|
1805
|
-
},
|
|
1801
|
+
} else if (S.type === "text") {
|
|
1802
|
+
var M = e.transWrapTextNodes, Z = i ? e.unescape(a.services.interpolator.interpolate(S.content, f, a.language)) : a.services.interpolator.interpolate(S.content, f, a.language);
|
|
1803
|
+
M ? k.push(le(M, {
|
|
1804
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1805
|
+
}, Z)) : k.push(Z);
|
|
1806
1806
|
}
|
|
1807
1807
|
return k;
|
|
1808
1808
|
}, []);
|
|
1809
1809
|
}
|
|
1810
|
-
var y =
|
|
1810
|
+
var y = p([{
|
|
1811
1811
|
dummy: !0,
|
|
1812
|
-
children:
|
|
1813
|
-
}],
|
|
1814
|
-
return
|
|
1812
|
+
children: n || []
|
|
1813
|
+
}], d, ee(n || []));
|
|
1814
|
+
return Le(y[0]);
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1817
|
-
var t =
|
|
1816
|
+
function Sa(n) {
|
|
1817
|
+
var t = n.children, a = n.count, e = n.parent, r = n.i18nKey, i = n.context, o = n.tOptions, s = o === void 0 ? {} : o, l = n.values, u = n.defaults, d = n.components, f = n.ns, v = n.i18n, m = n.t, p = n.shouldUnescape, y = pt(n, ma), g = ut(vt) || {}, b = g.i18n, w = g.defaultNS, x = v || b || bt();
|
|
1818
1818
|
if (!x)
|
|
1819
|
-
return
|
|
1820
|
-
var
|
|
1819
|
+
return fe("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
1820
|
+
var D = m || x.t.bind(x) || function(h) {
|
|
1821
1821
|
return h;
|
|
1822
1822
|
};
|
|
1823
1823
|
i && (s.context = i);
|
|
1824
|
-
var k =
|
|
1825
|
-
|
|
1826
|
-
var
|
|
1827
|
-
interpolation:
|
|
1824
|
+
var k = U(U({}, yt()), x.options && x.options.react), S = f || D.ns || w || x.options && x.options.defaultNS;
|
|
1825
|
+
S = typeof S == "string" ? [S] : S || ["translation"];
|
|
1826
|
+
var O = u || St(t, k) || k.transEmptyNodeValue || r, E = k.hashTransKey, R = r || (E ? E(O) : O), L = l ? s.interpolation : {
|
|
1827
|
+
interpolation: U(U({}, s.interpolation), {}, {
|
|
1828
1828
|
prefix: "#$?",
|
|
1829
1829
|
suffix: "?$#"
|
|
1830
1830
|
})
|
|
1831
|
-
},
|
|
1832
|
-
count:
|
|
1833
|
-
},
|
|
1834
|
-
defaultValue:
|
|
1835
|
-
ns:
|
|
1836
|
-
}),
|
|
1837
|
-
return
|
|
1838
|
-
}
|
|
1839
|
-
function
|
|
1840
|
-
if (Array.isArray(
|
|
1841
|
-
}
|
|
1842
|
-
function
|
|
1843
|
-
var
|
|
1844
|
-
if (
|
|
1845
|
-
var e, r, i, o, s = [],
|
|
1831
|
+
}, P = U(U(U(U({}, s), {}, {
|
|
1832
|
+
count: a
|
|
1833
|
+
}, l), L), {}, {
|
|
1834
|
+
defaultValue: O,
|
|
1835
|
+
ns: S
|
|
1836
|
+
}), W = R ? D(R, P) : O, I = ba(d || t, W, x, k, P, p), c = e !== void 0 ? e : k.defaultTransParent;
|
|
1837
|
+
return c ? le(c, y, I) : I;
|
|
1838
|
+
}
|
|
1839
|
+
function wa(n) {
|
|
1840
|
+
if (Array.isArray(n)) return n;
|
|
1841
|
+
}
|
|
1842
|
+
function xa(n, t) {
|
|
1843
|
+
var a = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
1844
|
+
if (a != null) {
|
|
1845
|
+
var e, r, i, o, s = [], l = !0, u = !1;
|
|
1846
1846
|
try {
|
|
1847
|
-
if (i = (
|
|
1848
|
-
} catch (
|
|
1849
|
-
|
|
1847
|
+
if (i = (a = a.call(n)).next, t !== 0) for (; !(l = (e = i.call(a)).done) && (s.push(e.value), s.length !== t); l = !0) ;
|
|
1848
|
+
} catch (d) {
|
|
1849
|
+
u = !0, r = d;
|
|
1850
1850
|
} finally {
|
|
1851
1851
|
try {
|
|
1852
|
-
if (!
|
|
1852
|
+
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
|
|
1853
1853
|
} finally {
|
|
1854
|
-
if (
|
|
1854
|
+
if (u) throw r;
|
|
1855
1855
|
}
|
|
1856
1856
|
}
|
|
1857
1857
|
return s;
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
1860
|
-
function
|
|
1861
|
-
(t == null || t >
|
|
1862
|
-
for (var
|
|
1860
|
+
function Ye(n, t) {
|
|
1861
|
+
(t == null || t > n.length) && (t = n.length);
|
|
1862
|
+
for (var a = 0, e = Array(t); a < t; a++) e[a] = n[a];
|
|
1863
1863
|
return e;
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1866
|
-
if (
|
|
1867
|
-
if (typeof
|
|
1868
|
-
var
|
|
1869
|
-
return
|
|
1865
|
+
function Ta(n, t) {
|
|
1866
|
+
if (n) {
|
|
1867
|
+
if (typeof n == "string") return Ye(n, t);
|
|
1868
|
+
var a = {}.toString.call(n).slice(8, -1);
|
|
1869
|
+
return a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set" ? Array.from(n) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Ye(n, t) : void 0;
|
|
1870
1870
|
}
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1872
|
+
function ka() {
|
|
1873
1873
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1874
1874
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1875
1875
|
}
|
|
1876
|
-
function
|
|
1877
|
-
return
|
|
1876
|
+
function Ca(n, t) {
|
|
1877
|
+
return wa(n) || xa(n, t) || Ta(n, t) || ka();
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1880
|
-
var
|
|
1879
|
+
function Je(n, t) {
|
|
1880
|
+
var a = Object.keys(n);
|
|
1881
1881
|
if (Object.getOwnPropertySymbols) {
|
|
1882
|
-
var e = Object.getOwnPropertySymbols(
|
|
1882
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1883
1883
|
t && (e = e.filter(function(r) {
|
|
1884
|
-
return Object.getOwnPropertyDescriptor(
|
|
1885
|
-
})),
|
|
1884
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1885
|
+
})), a.push.apply(a, e);
|
|
1886
1886
|
}
|
|
1887
|
-
return
|
|
1887
|
+
return a;
|
|
1888
1888
|
}
|
|
1889
|
-
function Pe(
|
|
1889
|
+
function Pe(n) {
|
|
1890
1890
|
for (var t = 1; t < arguments.length; t++) {
|
|
1891
|
-
var
|
|
1892
|
-
t % 2 ?
|
|
1893
|
-
|
|
1894
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
1895
|
-
Object.defineProperty(
|
|
1891
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1892
|
+
t % 2 ? Je(Object(a), !0).forEach(function(e) {
|
|
1893
|
+
ve(n, e, a[e]);
|
|
1894
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Je(Object(a)).forEach(function(e) {
|
|
1895
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1896
1896
|
});
|
|
1897
1897
|
}
|
|
1898
|
-
return
|
|
1898
|
+
return n;
|
|
1899
1899
|
}
|
|
1900
|
-
var
|
|
1901
|
-
var e =
|
|
1900
|
+
var La = function(t, a) {
|
|
1901
|
+
var e = Oe();
|
|
1902
1902
|
return Ee(function() {
|
|
1903
1903
|
e.current = t;
|
|
1904
|
-
}, [t,
|
|
1904
|
+
}, [t, a]), e.current;
|
|
1905
1905
|
};
|
|
1906
|
-
function
|
|
1907
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
1908
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
1909
|
-
|
|
1910
|
-
var s = function(
|
|
1911
|
-
return Array.isArray(
|
|
1912
|
-
},
|
|
1913
|
-
return
|
|
1906
|
+
function wt(n) {
|
|
1907
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.i18n, e = ut(vt) || {}, r = e.i18n, i = e.defaultNS, o = a || r || bt();
|
|
1908
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new ca()), !o) {
|
|
1909
|
+
fe("You will need to pass in an i18next instance by using initReactI18next");
|
|
1910
|
+
var s = function(R) {
|
|
1911
|
+
return Array.isArray(R) ? R[R.length - 1] : R;
|
|
1912
|
+
}, l = [s, {}, !1];
|
|
1913
|
+
return l.t = s, l.i18n = {}, l.ready = !1, l;
|
|
1914
1914
|
}
|
|
1915
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
1916
|
-
var
|
|
1915
|
+
o.options.react && o.options.react.wait !== void 0 && fe("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
1916
|
+
var u = Pe(Pe(Pe({}, yt()), o.options.react), t), d = u.useSuspense, f = u.keyPrefix, v = n || i || o.options && o.options.defaultNS;
|
|
1917
1917
|
v = typeof v == "string" ? [v] : v || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(v);
|
|
1918
|
-
var m = (o.isInitialized || o.initializedStoreOnce) && v.every(function(
|
|
1919
|
-
return
|
|
1918
|
+
var m = (o.isInitialized || o.initializedStoreOnce) && v.every(function(E) {
|
|
1919
|
+
return ha(E, o, u);
|
|
1920
1920
|
});
|
|
1921
|
-
function
|
|
1922
|
-
return o.getFixedT(null,
|
|
1921
|
+
function p() {
|
|
1922
|
+
return o.getFixedT(null, u.nsMode === "fallback" ? v : v[0], f);
|
|
1923
1923
|
}
|
|
1924
|
-
var y =
|
|
1924
|
+
var y = Rt(p), g = Ca(y, 2), b = g[0], w = g[1], x = v.join(), D = La(x), k = Oe(!0);
|
|
1925
1925
|
Ee(function() {
|
|
1926
|
-
var
|
|
1927
|
-
k.current = !0, !m && !
|
|
1928
|
-
k.current &&
|
|
1929
|
-
}), m &&
|
|
1926
|
+
var E = u.bindI18n, R = u.bindI18nStore;
|
|
1927
|
+
k.current = !0, !m && !d && Xe(o, v, function() {
|
|
1928
|
+
k.current && w(p);
|
|
1929
|
+
}), m && D && D !== x && k.current && w(p);
|
|
1930
1930
|
function L() {
|
|
1931
|
-
k.current &&
|
|
1931
|
+
k.current && w(p);
|
|
1932
1932
|
}
|
|
1933
|
-
return
|
|
1934
|
-
k.current = !1,
|
|
1935
|
-
return o.off(
|
|
1936
|
-
}),
|
|
1937
|
-
return o.store.off(
|
|
1933
|
+
return E && o && o.on(E, L), R && o && o.store.on(R, L), function() {
|
|
1934
|
+
k.current = !1, E && o && E.split(" ").forEach(function(P) {
|
|
1935
|
+
return o.off(P, L);
|
|
1936
|
+
}), R && o && R.split(" ").forEach(function(P) {
|
|
1937
|
+
return o.store.off(P, L);
|
|
1938
1938
|
});
|
|
1939
1939
|
};
|
|
1940
1940
|
}, [o, x]);
|
|
1941
|
-
var
|
|
1941
|
+
var S = Oe(!0);
|
|
1942
1942
|
Ee(function() {
|
|
1943
|
-
k.current && !
|
|
1944
|
-
}, [o,
|
|
1945
|
-
var
|
|
1946
|
-
if (
|
|
1947
|
-
throw new Promise(function(
|
|
1943
|
+
k.current && !S.current && w(p), S.current = !1;
|
|
1944
|
+
}, [o, f]);
|
|
1945
|
+
var O = [b, o, m];
|
|
1946
|
+
if (O.t = b, O.i18n = o, O.ready = m, m || !m && !d) return O;
|
|
1947
|
+
throw new Promise(function(E) {
|
|
1948
1948
|
Xe(o, v, function() {
|
|
1949
|
-
|
|
1949
|
+
E();
|
|
1950
1950
|
});
|
|
1951
1951
|
});
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function De(n) {
|
|
1954
1954
|
"@babel/helpers - typeof";
|
|
1955
|
-
return
|
|
1955
|
+
return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1956
1956
|
return typeof t;
|
|
1957
1957
|
} : function(t) {
|
|
1958
1958
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1959
|
-
},
|
|
1959
|
+
}, De(n);
|
|
1960
1960
|
}
|
|
1961
|
-
var
|
|
1962
|
-
function
|
|
1963
|
-
return
|
|
1961
|
+
var xt = [], Pa = xt.forEach, Oa = xt.slice;
|
|
1962
|
+
function Be(n) {
|
|
1963
|
+
return Pa.call(Oa.call(arguments, 1), function(t) {
|
|
1964
1964
|
if (t)
|
|
1965
|
-
for (var
|
|
1966
|
-
a
|
|
1967
|
-
}),
|
|
1965
|
+
for (var a in t)
|
|
1966
|
+
n[a] === void 0 && (n[a] = t[a]);
|
|
1967
|
+
}), n;
|
|
1968
1968
|
}
|
|
1969
|
-
function
|
|
1970
|
-
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" :
|
|
1969
|
+
function Tt() {
|
|
1970
|
+
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : De(XMLHttpRequest)) === "object";
|
|
1971
1971
|
}
|
|
1972
|
-
function
|
|
1973
|
-
return !!
|
|
1972
|
+
function Ea(n) {
|
|
1973
|
+
return !!n && typeof n.then == "function";
|
|
1974
1974
|
}
|
|
1975
|
-
function
|
|
1976
|
-
return
|
|
1975
|
+
function Ra(n) {
|
|
1976
|
+
return Ea(n) ? n : Promise.resolve(n);
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1979
|
-
throw new Error('Could not dynamically require "' +
|
|
1978
|
+
function Aa(n) {
|
|
1979
|
+
throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1980
1980
|
}
|
|
1981
|
-
var
|
|
1982
|
-
function
|
|
1983
|
-
return
|
|
1984
|
-
var
|
|
1981
|
+
var se = { exports: {} }, te = { exports: {} }, Da = te.exports, et;
|
|
1982
|
+
function Ba() {
|
|
1983
|
+
return et || (et = 1, function(n, t) {
|
|
1984
|
+
var a = typeof self < "u" ? self : Da, e = function() {
|
|
1985
1985
|
function i() {
|
|
1986
|
-
this.fetch = !1, this.DOMException =
|
|
1986
|
+
this.fetch = !1, this.DOMException = a.DOMException;
|
|
1987
1987
|
}
|
|
1988
|
-
return i.prototype =
|
|
1988
|
+
return i.prototype = a, new i();
|
|
1989
1989
|
}();
|
|
1990
1990
|
(function(i) {
|
|
1991
1991
|
(function(o) {
|
|
@@ -2002,11 +2002,11 @@ function Tn() {
|
|
|
2002
2002
|
formData: "FormData" in i,
|
|
2003
2003
|
arrayBuffer: "ArrayBuffer" in i
|
|
2004
2004
|
};
|
|
2005
|
-
function
|
|
2006
|
-
return
|
|
2005
|
+
function l(c) {
|
|
2006
|
+
return c && DataView.prototype.isPrototypeOf(c);
|
|
2007
2007
|
}
|
|
2008
2008
|
if (s.arrayBuffer)
|
|
2009
|
-
var
|
|
2009
|
+
var u = [
|
|
2010
2010
|
"[object Int8Array]",
|
|
2011
2011
|
"[object Uint8Array]",
|
|
2012
2012
|
"[object Uint8ClampedArray]",
|
|
@@ -2016,108 +2016,108 @@ function Tn() {
|
|
|
2016
2016
|
"[object Uint32Array]",
|
|
2017
2017
|
"[object Float32Array]",
|
|
2018
2018
|
"[object Float64Array]"
|
|
2019
|
-
],
|
|
2020
|
-
return
|
|
2019
|
+
], d = ArrayBuffer.isView || function(c) {
|
|
2020
|
+
return c && u.indexOf(Object.prototype.toString.call(c)) > -1;
|
|
2021
2021
|
};
|
|
2022
|
-
function
|
|
2023
|
-
if (typeof
|
|
2022
|
+
function f(c) {
|
|
2023
|
+
if (typeof c != "string" && (c = String(c)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(c))
|
|
2024
2024
|
throw new TypeError("Invalid character in header field name");
|
|
2025
|
-
return
|
|
2025
|
+
return c.toLowerCase();
|
|
2026
2026
|
}
|
|
2027
|
-
function v(
|
|
2028
|
-
return typeof
|
|
2027
|
+
function v(c) {
|
|
2028
|
+
return typeof c != "string" && (c = String(c)), c;
|
|
2029
2029
|
}
|
|
2030
|
-
function m(
|
|
2030
|
+
function m(c) {
|
|
2031
2031
|
var h = {
|
|
2032
2032
|
next: function() {
|
|
2033
|
-
var
|
|
2034
|
-
return { done:
|
|
2033
|
+
var T = c.shift();
|
|
2034
|
+
return { done: T === void 0, value: T };
|
|
2035
2035
|
}
|
|
2036
2036
|
};
|
|
2037
2037
|
return s.iterable && (h[Symbol.iterator] = function() {
|
|
2038
2038
|
return h;
|
|
2039
2039
|
}), h;
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2042
|
-
this.map = {},
|
|
2043
|
-
this.append(
|
|
2044
|
-
}, this) : Array.isArray(
|
|
2041
|
+
function p(c) {
|
|
2042
|
+
this.map = {}, c instanceof p ? c.forEach(function(h, T) {
|
|
2043
|
+
this.append(T, h);
|
|
2044
|
+
}, this) : Array.isArray(c) ? c.forEach(function(h) {
|
|
2045
2045
|
this.append(h[0], h[1]);
|
|
2046
|
-
}, this) :
|
|
2047
|
-
this.append(h,
|
|
2046
|
+
}, this) : c && Object.getOwnPropertyNames(c).forEach(function(h) {
|
|
2047
|
+
this.append(h, c[h]);
|
|
2048
2048
|
}, this);
|
|
2049
2049
|
}
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
var
|
|
2053
|
-
this.map[
|
|
2054
|
-
},
|
|
2055
|
-
delete this.map[
|
|
2056
|
-
},
|
|
2057
|
-
return
|
|
2058
|
-
},
|
|
2059
|
-
return this.map.hasOwnProperty(
|
|
2060
|
-
},
|
|
2061
|
-
this.map[
|
|
2062
|
-
},
|
|
2063
|
-
for (var
|
|
2064
|
-
this.map.hasOwnProperty(
|
|
2065
|
-
},
|
|
2066
|
-
var
|
|
2067
|
-
return this.forEach(function(h,
|
|
2068
|
-
|
|
2069
|
-
}), m(
|
|
2070
|
-
},
|
|
2071
|
-
var
|
|
2050
|
+
p.prototype.append = function(c, h) {
|
|
2051
|
+
c = f(c), h = v(h);
|
|
2052
|
+
var T = this.map[c];
|
|
2053
|
+
this.map[c] = T ? T + ", " + h : h;
|
|
2054
|
+
}, p.prototype.delete = function(c) {
|
|
2055
|
+
delete this.map[f(c)];
|
|
2056
|
+
}, p.prototype.get = function(c) {
|
|
2057
|
+
return c = f(c), this.has(c) ? this.map[c] : null;
|
|
2058
|
+
}, p.prototype.has = function(c) {
|
|
2059
|
+
return this.map.hasOwnProperty(f(c));
|
|
2060
|
+
}, p.prototype.set = function(c, h) {
|
|
2061
|
+
this.map[f(c)] = v(h);
|
|
2062
|
+
}, p.prototype.forEach = function(c, h) {
|
|
2063
|
+
for (var T in this.map)
|
|
2064
|
+
this.map.hasOwnProperty(T) && c.call(h, this.map[T], T, this);
|
|
2065
|
+
}, p.prototype.keys = function() {
|
|
2066
|
+
var c = [];
|
|
2067
|
+
return this.forEach(function(h, T) {
|
|
2068
|
+
c.push(T);
|
|
2069
|
+
}), m(c);
|
|
2070
|
+
}, p.prototype.values = function() {
|
|
2071
|
+
var c = [];
|
|
2072
2072
|
return this.forEach(function(h) {
|
|
2073
|
-
|
|
2074
|
-
}), m(
|
|
2075
|
-
},
|
|
2076
|
-
var
|
|
2077
|
-
return this.forEach(function(h,
|
|
2078
|
-
|
|
2079
|
-
}), m(
|
|
2080
|
-
}, s.iterable && (
|
|
2081
|
-
function y(
|
|
2082
|
-
if (
|
|
2073
|
+
c.push(h);
|
|
2074
|
+
}), m(c);
|
|
2075
|
+
}, p.prototype.entries = function() {
|
|
2076
|
+
var c = [];
|
|
2077
|
+
return this.forEach(function(h, T) {
|
|
2078
|
+
c.push([T, h]);
|
|
2079
|
+
}), m(c);
|
|
2080
|
+
}, s.iterable && (p.prototype[Symbol.iterator] = p.prototype.entries);
|
|
2081
|
+
function y(c) {
|
|
2082
|
+
if (c.bodyUsed)
|
|
2083
2083
|
return Promise.reject(new TypeError("Already read"));
|
|
2084
|
-
|
|
2084
|
+
c.bodyUsed = !0;
|
|
2085
2085
|
}
|
|
2086
|
-
function g(
|
|
2087
|
-
return new Promise(function(h,
|
|
2088
|
-
|
|
2089
|
-
h(
|
|
2090
|
-
},
|
|
2091
|
-
|
|
2086
|
+
function g(c) {
|
|
2087
|
+
return new Promise(function(h, T) {
|
|
2088
|
+
c.onload = function() {
|
|
2089
|
+
h(c.result);
|
|
2090
|
+
}, c.onerror = function() {
|
|
2091
|
+
T(c.error);
|
|
2092
2092
|
};
|
|
2093
2093
|
});
|
|
2094
2094
|
}
|
|
2095
|
-
function b(
|
|
2096
|
-
var h = new FileReader(),
|
|
2097
|
-
return h.readAsArrayBuffer(
|
|
2095
|
+
function b(c) {
|
|
2096
|
+
var h = new FileReader(), T = g(h);
|
|
2097
|
+
return h.readAsArrayBuffer(c), T;
|
|
2098
2098
|
}
|
|
2099
|
-
function
|
|
2100
|
-
var h = new FileReader(),
|
|
2101
|
-
return h.readAsText(
|
|
2099
|
+
function w(c) {
|
|
2100
|
+
var h = new FileReader(), T = g(h);
|
|
2101
|
+
return h.readAsText(c), T;
|
|
2102
2102
|
}
|
|
2103
|
-
function x(
|
|
2104
|
-
for (var h = new Uint8Array(
|
|
2105
|
-
|
|
2106
|
-
return
|
|
2103
|
+
function x(c) {
|
|
2104
|
+
for (var h = new Uint8Array(c), T = new Array(h.length), B = 0; B < h.length; B++)
|
|
2105
|
+
T[B] = String.fromCharCode(h[B]);
|
|
2106
|
+
return T.join("");
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2109
|
-
if (
|
|
2110
|
-
return
|
|
2111
|
-
var h = new Uint8Array(
|
|
2112
|
-
return h.set(new Uint8Array(
|
|
2108
|
+
function D(c) {
|
|
2109
|
+
if (c.slice)
|
|
2110
|
+
return c.slice(0);
|
|
2111
|
+
var h = new Uint8Array(c.byteLength);
|
|
2112
|
+
return h.set(new Uint8Array(c)), h.buffer;
|
|
2113
2113
|
}
|
|
2114
2114
|
function k() {
|
|
2115
|
-
return this.bodyUsed = !1, this._initBody = function(
|
|
2116
|
-
this._bodyInit =
|
|
2115
|
+
return this.bodyUsed = !1, this._initBody = function(c) {
|
|
2116
|
+
this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : s.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : s.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : s.arrayBuffer && s.blob && l(c) ? (this._bodyArrayBuffer = D(c.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : s.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(c) || d(c)) ? this._bodyArrayBuffer = D(c) : this._bodyText = c = Object.prototype.toString.call(c) : this._bodyText = "", this.headers.get("content-type") || (typeof c == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2117
2117
|
}, s.blob && (this.blob = function() {
|
|
2118
|
-
var
|
|
2119
|
-
if (
|
|
2120
|
-
return
|
|
2118
|
+
var c = y(this);
|
|
2119
|
+
if (c)
|
|
2120
|
+
return c;
|
|
2121
2121
|
if (this._bodyBlob)
|
|
2122
2122
|
return Promise.resolve(this._bodyBlob);
|
|
2123
2123
|
if (this._bodyArrayBuffer)
|
|
@@ -2128,172 +2128,172 @@ function Tn() {
|
|
|
2128
2128
|
}, this.arrayBuffer = function() {
|
|
2129
2129
|
return this._bodyArrayBuffer ? y(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(b);
|
|
2130
2130
|
}), this.text = function() {
|
|
2131
|
-
var
|
|
2132
|
-
if (
|
|
2133
|
-
return
|
|
2131
|
+
var c = y(this);
|
|
2132
|
+
if (c)
|
|
2133
|
+
return c;
|
|
2134
2134
|
if (this._bodyBlob)
|
|
2135
|
-
return
|
|
2135
|
+
return w(this._bodyBlob);
|
|
2136
2136
|
if (this._bodyArrayBuffer)
|
|
2137
2137
|
return Promise.resolve(x(this._bodyArrayBuffer));
|
|
2138
2138
|
if (this._bodyFormData)
|
|
2139
2139
|
throw new Error("could not read FormData body as text");
|
|
2140
2140
|
return Promise.resolve(this._bodyText);
|
|
2141
2141
|
}, s.formData && (this.formData = function() {
|
|
2142
|
-
return this.text().then(
|
|
2142
|
+
return this.text().then(R);
|
|
2143
2143
|
}), this.json = function() {
|
|
2144
2144
|
return this.text().then(JSON.parse);
|
|
2145
2145
|
}, this;
|
|
2146
2146
|
}
|
|
2147
|
-
var
|
|
2148
|
-
function
|
|
2149
|
-
var h =
|
|
2150
|
-
return
|
|
2147
|
+
var S = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
2148
|
+
function O(c) {
|
|
2149
|
+
var h = c.toUpperCase();
|
|
2150
|
+
return S.indexOf(h) > -1 ? h : c;
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function E(c, h) {
|
|
2153
2153
|
h = h || {};
|
|
2154
|
-
var
|
|
2155
|
-
if (
|
|
2156
|
-
if (
|
|
2154
|
+
var T = h.body;
|
|
2155
|
+
if (c instanceof E) {
|
|
2156
|
+
if (c.bodyUsed)
|
|
2157
2157
|
throw new TypeError("Already read");
|
|
2158
|
-
this.url =
|
|
2158
|
+
this.url = c.url, this.credentials = c.credentials, h.headers || (this.headers = new p(c.headers)), this.method = c.method, this.mode = c.mode, this.signal = c.signal, !T && c._bodyInit != null && (T = c._bodyInit, c.bodyUsed = !0);
|
|
2159
2159
|
} else
|
|
2160
|
-
this.url = String(
|
|
2161
|
-
if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new
|
|
2160
|
+
this.url = String(c);
|
|
2161
|
+
if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new p(h.headers)), this.method = O(h.method || this.method || "GET"), this.mode = h.mode || this.mode || null, this.signal = h.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && T)
|
|
2162
2162
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
2163
|
-
this._initBody(
|
|
2163
|
+
this._initBody(T);
|
|
2164
2164
|
}
|
|
2165
|
-
|
|
2166
|
-
return new
|
|
2165
|
+
E.prototype.clone = function() {
|
|
2166
|
+
return new E(this, { body: this._bodyInit });
|
|
2167
2167
|
};
|
|
2168
|
-
function
|
|
2168
|
+
function R(c) {
|
|
2169
2169
|
var h = new FormData();
|
|
2170
|
-
return
|
|
2171
|
-
if (
|
|
2172
|
-
var
|
|
2173
|
-
h.append(decodeURIComponent(
|
|
2170
|
+
return c.trim().split("&").forEach(function(T) {
|
|
2171
|
+
if (T) {
|
|
2172
|
+
var B = T.split("="), A = B.shift().replace(/\+/g, " "), C = B.join("=").replace(/\+/g, " ");
|
|
2173
|
+
h.append(decodeURIComponent(A), decodeURIComponent(C));
|
|
2174
2174
|
}
|
|
2175
2175
|
}), h;
|
|
2176
2176
|
}
|
|
2177
|
-
function L(
|
|
2178
|
-
var h = new
|
|
2179
|
-
return
|
|
2180
|
-
var
|
|
2181
|
-
if (
|
|
2182
|
-
var
|
|
2183
|
-
h.append(
|
|
2177
|
+
function L(c) {
|
|
2178
|
+
var h = new p(), T = c.replace(/\r?\n[\t ]+/g, " ");
|
|
2179
|
+
return T.split(/\r?\n/).forEach(function(B) {
|
|
2180
|
+
var A = B.split(":"), C = A.shift().trim();
|
|
2181
|
+
if (C) {
|
|
2182
|
+
var H = A.join(":").trim();
|
|
2183
|
+
h.append(C, H);
|
|
2184
2184
|
}
|
|
2185
2185
|
}), h;
|
|
2186
2186
|
}
|
|
2187
|
-
k.call(
|
|
2188
|
-
function
|
|
2189
|
-
h || (h = {}), this.type = "default", this.status = h.status === void 0 ? 200 : h.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in h ? h.statusText : "OK", this.headers = new
|
|
2187
|
+
k.call(E.prototype);
|
|
2188
|
+
function P(c, h) {
|
|
2189
|
+
h || (h = {}), this.type = "default", this.status = h.status === void 0 ? 200 : h.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in h ? h.statusText : "OK", this.headers = new p(h.headers), this.url = h.url || "", this._initBody(c);
|
|
2190
2190
|
}
|
|
2191
|
-
k.call(
|
|
2192
|
-
return new
|
|
2191
|
+
k.call(P.prototype), P.prototype.clone = function() {
|
|
2192
|
+
return new P(this._bodyInit, {
|
|
2193
2193
|
status: this.status,
|
|
2194
2194
|
statusText: this.statusText,
|
|
2195
|
-
headers: new
|
|
2195
|
+
headers: new p(this.headers),
|
|
2196
2196
|
url: this.url
|
|
2197
2197
|
});
|
|
2198
|
-
},
|
|
2199
|
-
var
|
|
2200
|
-
return
|
|
2198
|
+
}, P.error = function() {
|
|
2199
|
+
var c = new P(null, { status: 0, statusText: "" });
|
|
2200
|
+
return c.type = "error", c;
|
|
2201
2201
|
};
|
|
2202
|
-
var
|
|
2203
|
-
|
|
2204
|
-
if (
|
|
2202
|
+
var W = [301, 302, 303, 307, 308];
|
|
2203
|
+
P.redirect = function(c, h) {
|
|
2204
|
+
if (W.indexOf(h) === -1)
|
|
2205
2205
|
throw new RangeError("Invalid status code");
|
|
2206
|
-
return new
|
|
2206
|
+
return new P(null, { status: h, headers: { location: c } });
|
|
2207
2207
|
}, o.DOMException = i.DOMException;
|
|
2208
2208
|
try {
|
|
2209
2209
|
new o.DOMException();
|
|
2210
2210
|
} catch {
|
|
2211
|
-
o.DOMException = function(h,
|
|
2212
|
-
this.message = h, this.name =
|
|
2213
|
-
var
|
|
2214
|
-
this.stack =
|
|
2211
|
+
o.DOMException = function(h, T) {
|
|
2212
|
+
this.message = h, this.name = T;
|
|
2213
|
+
var B = Error(h);
|
|
2214
|
+
this.stack = B.stack;
|
|
2215
2215
|
}, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2218
|
-
return new Promise(function(
|
|
2219
|
-
var
|
|
2220
|
-
if (
|
|
2221
|
-
return
|
|
2222
|
-
var
|
|
2223
|
-
function
|
|
2224
|
-
|
|
2217
|
+
function I(c, h) {
|
|
2218
|
+
return new Promise(function(T, B) {
|
|
2219
|
+
var A = new E(c, h);
|
|
2220
|
+
if (A.signal && A.signal.aborted)
|
|
2221
|
+
return B(new o.DOMException("Aborted", "AbortError"));
|
|
2222
|
+
var C = new XMLHttpRequest();
|
|
2223
|
+
function H() {
|
|
2224
|
+
C.abort();
|
|
2225
2225
|
}
|
|
2226
|
-
|
|
2227
|
-
var
|
|
2228
|
-
status:
|
|
2229
|
-
statusText:
|
|
2230
|
-
headers: L(
|
|
2226
|
+
C.onload = function() {
|
|
2227
|
+
var F = {
|
|
2228
|
+
status: C.status,
|
|
2229
|
+
statusText: C.statusText,
|
|
2230
|
+
headers: L(C.getAllResponseHeaders() || "")
|
|
2231
2231
|
};
|
|
2232
|
-
|
|
2233
|
-
var
|
|
2234
|
-
|
|
2235
|
-
},
|
|
2236
|
-
|
|
2237
|
-
},
|
|
2238
|
-
|
|
2239
|
-
},
|
|
2240
|
-
|
|
2241
|
-
},
|
|
2242
|
-
|
|
2243
|
-
}),
|
|
2244
|
-
|
|
2245
|
-
}),
|
|
2232
|
+
F.url = "responseURL" in C ? C.responseURL : F.headers.get("X-Request-URL");
|
|
2233
|
+
var M = "response" in C ? C.response : C.responseText;
|
|
2234
|
+
T(new P(M, F));
|
|
2235
|
+
}, C.onerror = function() {
|
|
2236
|
+
B(new TypeError("Network request failed"));
|
|
2237
|
+
}, C.ontimeout = function() {
|
|
2238
|
+
B(new TypeError("Network request failed"));
|
|
2239
|
+
}, C.onabort = function() {
|
|
2240
|
+
B(new o.DOMException("Aborted", "AbortError"));
|
|
2241
|
+
}, C.open(A.method, A.url, !0), A.credentials === "include" ? C.withCredentials = !0 : A.credentials === "omit" && (C.withCredentials = !1), "responseType" in C && s.blob && (C.responseType = "blob"), A.headers.forEach(function(F, M) {
|
|
2242
|
+
C.setRequestHeader(M, F);
|
|
2243
|
+
}), A.signal && (A.signal.addEventListener("abort", H), C.onreadystatechange = function() {
|
|
2244
|
+
C.readyState === 4 && A.signal.removeEventListener("abort", H);
|
|
2245
|
+
}), C.send(typeof A._bodyInit > "u" ? null : A._bodyInit);
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
|
-
return
|
|
2248
|
+
return I.polyfill = !0, i.fetch || (i.fetch = I, i.Headers = p, i.Request = E, i.Response = P), o.Headers = p, o.Request = E, o.Response = P, o.fetch = I, Object.defineProperty(o, "__esModule", { value: !0 }), o;
|
|
2249
2249
|
})({});
|
|
2250
2250
|
})(e), e.fetch.ponyfill = !0, delete e.fetch.polyfill;
|
|
2251
2251
|
var r = e;
|
|
2252
|
-
t = r.fetch, t.default = r.fetch, t.fetch = r.fetch, t.Headers = r.Headers, t.Request = r.Request, t.Response = r.Response,
|
|
2253
|
-
}(
|
|
2252
|
+
t = r.fetch, t.default = r.fetch, t.fetch = r.fetch, t.Headers = r.Headers, t.Request = r.Request, t.Response = r.Response, n.exports = t;
|
|
2253
|
+
}(te, te.exports)), te.exports;
|
|
2254
2254
|
}
|
|
2255
|
-
var
|
|
2256
|
-
function
|
|
2257
|
-
return
|
|
2258
|
-
var
|
|
2259
|
-
if (typeof fetch == "function" && (typeof
|
|
2260
|
-
var e =
|
|
2261
|
-
e.default && (e = e.default), t.default = e,
|
|
2255
|
+
var tt;
|
|
2256
|
+
function Ua() {
|
|
2257
|
+
return tt || (tt = 1, function(n, t) {
|
|
2258
|
+
var a;
|
|
2259
|
+
if (typeof fetch == "function" && (typeof Te < "u" && Te.fetch ? a = Te.fetch : typeof window < "u" && window.fetch ? a = window.fetch : a = fetch), typeof Aa < "u" && (typeof window > "u" || typeof window.document > "u")) {
|
|
2260
|
+
var e = a || Ba();
|
|
2261
|
+
e.default && (e = e.default), t.default = e, n.exports = t.default;
|
|
2262
2262
|
}
|
|
2263
|
-
}(
|
|
2263
|
+
}(se, se.exports)), se.exports;
|
|
2264
2264
|
}
|
|
2265
|
-
var
|
|
2266
|
-
const
|
|
2265
|
+
var kt = Ua();
|
|
2266
|
+
const Ct = /* @__PURE__ */ ht(kt), at = /* @__PURE__ */ At({
|
|
2267
2267
|
__proto__: null,
|
|
2268
|
-
default:
|
|
2269
|
-
}, [
|
|
2270
|
-
function
|
|
2268
|
+
default: Ct
|
|
2269
|
+
}, [kt]);
|
|
2270
|
+
function pe(n) {
|
|
2271
2271
|
"@babel/helpers - typeof";
|
|
2272
|
-
return
|
|
2272
|
+
return pe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2273
2273
|
return typeof t;
|
|
2274
2274
|
} : function(t) {
|
|
2275
2275
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2276
|
-
},
|
|
2276
|
+
}, pe(n);
|
|
2277
2277
|
}
|
|
2278
|
-
var
|
|
2279
|
-
typeof fetch == "function" && (typeof global < "u" && global.fetch ?
|
|
2278
|
+
var V;
|
|
2279
|
+
typeof fetch == "function" && (typeof global < "u" && global.fetch ? V = global.fetch : typeof window < "u" && window.fetch ? V = window.fetch : V = fetch);
|
|
2280
2280
|
var ne;
|
|
2281
|
-
|
|
2282
|
-
var
|
|
2283
|
-
typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ?
|
|
2284
|
-
|
|
2285
|
-
typeof
|
|
2286
|
-
var
|
|
2287
|
-
if (
|
|
2281
|
+
Tt() && (typeof global < "u" && global.XMLHttpRequest ? ne = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (ne = window.XMLHttpRequest));
|
|
2282
|
+
var he;
|
|
2283
|
+
typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? he = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (he = window.ActiveXObject));
|
|
2284
|
+
!V && at && !ne && !he && (V = Ct || at);
|
|
2285
|
+
typeof V != "function" && (V = void 0);
|
|
2286
|
+
var Ue = function(t, a) {
|
|
2287
|
+
if (a && pe(a) === "object") {
|
|
2288
2288
|
var e = "";
|
|
2289
|
-
for (var r in
|
|
2290
|
-
e += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(
|
|
2289
|
+
for (var r in a)
|
|
2290
|
+
e += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(a[r]);
|
|
2291
2291
|
if (!e) return t;
|
|
2292
2292
|
t = t + (t.indexOf("?") !== -1 ? "&" : "?") + e.slice(1);
|
|
2293
2293
|
}
|
|
2294
2294
|
return t;
|
|
2295
|
-
},
|
|
2296
|
-
|
|
2295
|
+
}, rt = function(t, a, e) {
|
|
2296
|
+
V(t, a).then(function(r) {
|
|
2297
2297
|
if (!r.ok) return e(r.statusText || "Error", {
|
|
2298
2298
|
status: r.status
|
|
2299
2299
|
});
|
|
@@ -2304,33 +2304,33 @@ var Ae = function(t, n) {
|
|
|
2304
2304
|
});
|
|
2305
2305
|
}).catch(e);
|
|
2306
2306
|
}).catch(e);
|
|
2307
|
-
}, nt = !1,
|
|
2308
|
-
t.queryStringParams && (
|
|
2309
|
-
var i =
|
|
2307
|
+
}, nt = !1, Na = function(t, a, e, r) {
|
|
2308
|
+
t.queryStringParams && (a = Ue(a, t.queryStringParams));
|
|
2309
|
+
var i = Be({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders);
|
|
2310
2310
|
e && (i["Content-Type"] = "application/json");
|
|
2311
|
-
var o = typeof t.requestOptions == "function" ? t.requestOptions(e) : t.requestOptions, s =
|
|
2311
|
+
var o = typeof t.requestOptions == "function" ? t.requestOptions(e) : t.requestOptions, s = Be({
|
|
2312
2312
|
method: e ? "POST" : "GET",
|
|
2313
2313
|
body: e ? t.stringify(e) : void 0,
|
|
2314
2314
|
headers: i
|
|
2315
2315
|
}, nt ? {} : o);
|
|
2316
2316
|
try {
|
|
2317
|
-
|
|
2318
|
-
} catch (
|
|
2319
|
-
if (!o || Object.keys(o).length === 0 || !
|
|
2320
|
-
return r(
|
|
2317
|
+
rt(a, s, r);
|
|
2318
|
+
} catch (l) {
|
|
2319
|
+
if (!o || Object.keys(o).length === 0 || !l.message || l.message.indexOf("not implemented") < 0)
|
|
2320
|
+
return r(l);
|
|
2321
2321
|
try {
|
|
2322
|
-
Object.keys(o).forEach(function(
|
|
2323
|
-
delete s[
|
|
2324
|
-
}),
|
|
2325
|
-
} catch (
|
|
2326
|
-
r(
|
|
2322
|
+
Object.keys(o).forEach(function(u) {
|
|
2323
|
+
delete s[u];
|
|
2324
|
+
}), rt(a, s, r), nt = !0;
|
|
2325
|
+
} catch (u) {
|
|
2326
|
+
r(u);
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
|
-
},
|
|
2330
|
-
e &&
|
|
2329
|
+
}, ja = function(t, a, e, r) {
|
|
2330
|
+
e && pe(e) === "object" && (e = Ue("", e).slice(1)), t.queryStringParams && (a = Ue(a, t.queryStringParams));
|
|
2331
2331
|
try {
|
|
2332
2332
|
var i;
|
|
2333
|
-
ne ? i = new ne() : i = new
|
|
2333
|
+
ne ? i = new ne() : i = new he("MSXML2.XMLHTTP.3.0"), i.open(e ? "POST" : "GET", a, 1), t.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!t.withCredentials, e && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
|
|
2334
2334
|
var o = t.customHeaders;
|
|
2335
2335
|
if (o = typeof o == "function" ? o() : o, o)
|
|
2336
2336
|
for (var s in o)
|
|
@@ -2341,46 +2341,46 @@ var Ae = function(t, n) {
|
|
|
2341
2341
|
data: i.responseText
|
|
2342
2342
|
});
|
|
2343
2343
|
}, i.send(e);
|
|
2344
|
-
} catch (
|
|
2345
|
-
console && console.log(
|
|
2344
|
+
} catch (l) {
|
|
2345
|
+
console && console.log(l);
|
|
2346
2346
|
}
|
|
2347
|
-
},
|
|
2347
|
+
}, Fa = function(t, a, e, r) {
|
|
2348
2348
|
if (typeof e == "function" && (r = e, e = void 0), r = r || function() {
|
|
2349
|
-
},
|
|
2350
|
-
return
|
|
2351
|
-
if (
|
|
2352
|
-
return
|
|
2349
|
+
}, V)
|
|
2350
|
+
return Na(t, a, e, r);
|
|
2351
|
+
if (Tt() || typeof ActiveXObject == "function")
|
|
2352
|
+
return ja(t, a, e, r);
|
|
2353
2353
|
r(new Error("No fetch and no xhr implementation found!"));
|
|
2354
2354
|
};
|
|
2355
|
-
function
|
|
2356
|
-
if (!(
|
|
2355
|
+
function Ia(n, t) {
|
|
2356
|
+
if (!(n instanceof t))
|
|
2357
2357
|
throw new TypeError("Cannot call a class as a function");
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2360
|
-
for (var
|
|
2361
|
-
var e = t[
|
|
2362
|
-
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(
|
|
2359
|
+
function Ma(n, t) {
|
|
2360
|
+
for (var a = 0; a < t.length; a++) {
|
|
2361
|
+
var e = t[a];
|
|
2362
|
+
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, e.key, e);
|
|
2363
2363
|
}
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2366
|
-
return t &&
|
|
2365
|
+
function za(n, t, a) {
|
|
2366
|
+
return t && Ma(n.prototype, t), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
2367
2367
|
}
|
|
2368
|
-
function
|
|
2369
|
-
return t in
|
|
2368
|
+
function _a(n, t, a) {
|
|
2369
|
+
return t in n ? Object.defineProperty(n, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = a, n;
|
|
2370
2370
|
}
|
|
2371
|
-
var
|
|
2371
|
+
var Ha = function() {
|
|
2372
2372
|
return {
|
|
2373
2373
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
2374
2374
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
2375
2375
|
allowMultiLoading: !1,
|
|
2376
|
-
parse: function(
|
|
2377
|
-
return JSON.parse(
|
|
2376
|
+
parse: function(a) {
|
|
2377
|
+
return JSON.parse(a);
|
|
2378
2378
|
},
|
|
2379
2379
|
stringify: JSON.stringify,
|
|
2380
|
-
parsePayload: function(
|
|
2381
|
-
return
|
|
2380
|
+
parsePayload: function(a, e, r) {
|
|
2381
|
+
return _a({}, e, r || "");
|
|
2382
2382
|
},
|
|
2383
|
-
request:
|
|
2383
|
+
request: Fa,
|
|
2384
2384
|
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
|
|
2385
2385
|
customHeaders: {},
|
|
2386
2386
|
queryStringParams: {},
|
|
@@ -2393,77 +2393,77 @@ var qn = function() {
|
|
|
2393
2393
|
cache: "default"
|
|
2394
2394
|
}
|
|
2395
2395
|
};
|
|
2396
|
-
},
|
|
2397
|
-
function
|
|
2398
|
-
var
|
|
2399
|
-
|
|
2396
|
+
}, Lt = function() {
|
|
2397
|
+
function n(t) {
|
|
2398
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2399
|
+
Ia(this, n), this.services = t, this.options = a, this.allOptions = e, this.type = "backend", this.init(t, a, e);
|
|
2400
2400
|
}
|
|
2401
|
-
return
|
|
2401
|
+
return za(n, [{
|
|
2402
2402
|
key: "init",
|
|
2403
|
-
value: function(
|
|
2403
|
+
value: function(a) {
|
|
2404
2404
|
var e = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2405
|
-
this.services =
|
|
2405
|
+
this.services = a, this.options = Be(r, this.options || {}, Ha()), this.allOptions = i, this.services && this.options.reloadInterval && setInterval(function() {
|
|
2406
2406
|
return e.reload();
|
|
2407
2407
|
}, this.options.reloadInterval);
|
|
2408
2408
|
}
|
|
2409
2409
|
}, {
|
|
2410
2410
|
key: "readMulti",
|
|
2411
|
-
value: function(
|
|
2412
|
-
this._readAny(
|
|
2411
|
+
value: function(a, e, r) {
|
|
2412
|
+
this._readAny(a, a, e, e, r);
|
|
2413
2413
|
}
|
|
2414
2414
|
}, {
|
|
2415
2415
|
key: "read",
|
|
2416
|
-
value: function(
|
|
2417
|
-
this._readAny([
|
|
2416
|
+
value: function(a, e, r) {
|
|
2417
|
+
this._readAny([a], a, [e], e, r);
|
|
2418
2418
|
}
|
|
2419
2419
|
}, {
|
|
2420
2420
|
key: "_readAny",
|
|
2421
|
-
value: function(
|
|
2422
|
-
var s = this,
|
|
2423
|
-
typeof this.options.loadPath == "function" && (
|
|
2424
|
-
if (!
|
|
2425
|
-
var
|
|
2426
|
-
lng:
|
|
2421
|
+
value: function(a, e, r, i, o) {
|
|
2422
|
+
var s = this, l = this.options.loadPath;
|
|
2423
|
+
typeof this.options.loadPath == "function" && (l = this.options.loadPath(a, r)), l = Ra(l), l.then(function(u) {
|
|
2424
|
+
if (!u) return o(null, {});
|
|
2425
|
+
var d = s.services.interpolator.interpolate(u, {
|
|
2426
|
+
lng: a.join("+"),
|
|
2427
2427
|
ns: r.join("+")
|
|
2428
2428
|
});
|
|
2429
|
-
s.loadUrl(
|
|
2429
|
+
s.loadUrl(d, o, e, i);
|
|
2430
2430
|
});
|
|
2431
2431
|
}
|
|
2432
2432
|
}, {
|
|
2433
2433
|
key: "loadUrl",
|
|
2434
|
-
value: function(
|
|
2434
|
+
value: function(a, e, r, i) {
|
|
2435
2435
|
var o = this;
|
|
2436
|
-
this.options.request(this.options,
|
|
2437
|
-
if (
|
|
2438
|
-
if (
|
|
2439
|
-
if (!
|
|
2436
|
+
this.options.request(this.options, a, void 0, function(s, l) {
|
|
2437
|
+
if (l && (l.status >= 500 && l.status < 600 || !l.status)) return e("failed loading " + a + "; status code: " + l.status, !0);
|
|
2438
|
+
if (l && l.status >= 400 && l.status < 500) return e("failed loading " + a + "; status code: " + l.status, !1);
|
|
2439
|
+
if (!l && s && s.message && s.message.indexOf("Failed to fetch") > -1) return e("failed loading " + a + ": " + s.message, !0);
|
|
2440
2440
|
if (s) return e(s, !1);
|
|
2441
|
-
var
|
|
2441
|
+
var u, d;
|
|
2442
2442
|
try {
|
|
2443
|
-
typeof
|
|
2443
|
+
typeof l.data == "string" ? u = o.options.parse(l.data, r, i) : u = l.data;
|
|
2444
2444
|
} catch {
|
|
2445
|
-
|
|
2445
|
+
d = "failed parsing " + a + " to json";
|
|
2446
2446
|
}
|
|
2447
|
-
if (
|
|
2448
|
-
e(null,
|
|
2447
|
+
if (d) return e(d, !1);
|
|
2448
|
+
e(null, u);
|
|
2449
2449
|
});
|
|
2450
2450
|
}
|
|
2451
2451
|
}, {
|
|
2452
2452
|
key: "create",
|
|
2453
|
-
value: function(
|
|
2453
|
+
value: function(a, e, r, i, o) {
|
|
2454
2454
|
var s = this;
|
|
2455
2455
|
if (this.options.addPath) {
|
|
2456
|
-
typeof
|
|
2457
|
-
var
|
|
2458
|
-
|
|
2456
|
+
typeof a == "string" && (a = [a]);
|
|
2457
|
+
var l = this.options.parsePayload(e, r, i), u = 0, d = [], f = [];
|
|
2458
|
+
a.forEach(function(v) {
|
|
2459
2459
|
var m = s.options.addPath;
|
|
2460
2460
|
typeof s.options.addPath == "function" && (m = s.options.addPath(v, e));
|
|
2461
|
-
var
|
|
2461
|
+
var p = s.services.interpolator.interpolate(m, {
|
|
2462
2462
|
lng: v,
|
|
2463
2463
|
ns: e
|
|
2464
2464
|
});
|
|
2465
|
-
s.options.request(s.options,
|
|
2466
|
-
|
|
2465
|
+
s.options.request(s.options, p, l, function(y, g) {
|
|
2466
|
+
u += 1, d.push(y), f.push(g), u === a.length && o && o(d, f);
|
|
2467
2467
|
});
|
|
2468
2468
|
});
|
|
2469
2469
|
}
|
|
@@ -2471,52 +2471,52 @@ var qn = function() {
|
|
|
2471
2471
|
}, {
|
|
2472
2472
|
key: "reload",
|
|
2473
2473
|
value: function() {
|
|
2474
|
-
var
|
|
2474
|
+
var a = this, e = this.services, r = e.backendConnector, i = e.languageUtils, o = e.logger, s = r.language;
|
|
2475
2475
|
if (!(s && s.toLowerCase() === "cimode")) {
|
|
2476
|
-
var
|
|
2477
|
-
var v = i.toResolveHierarchy(
|
|
2476
|
+
var l = [], u = function(f) {
|
|
2477
|
+
var v = i.toResolveHierarchy(f);
|
|
2478
2478
|
v.forEach(function(m) {
|
|
2479
|
-
|
|
2479
|
+
l.indexOf(m) < 0 && l.push(m);
|
|
2480
2480
|
});
|
|
2481
2481
|
};
|
|
2482
|
-
|
|
2483
|
-
return
|
|
2484
|
-
}),
|
|
2485
|
-
|
|
2486
|
-
r.read(
|
|
2487
|
-
v && o.warn("loading namespace ".concat(
|
|
2482
|
+
u(s), this.allOptions.preload && this.allOptions.preload.forEach(function(d) {
|
|
2483
|
+
return u(d);
|
|
2484
|
+
}), l.forEach(function(d) {
|
|
2485
|
+
a.allOptions.ns.forEach(function(f) {
|
|
2486
|
+
r.read(d, f, "read", null, null, function(v, m) {
|
|
2487
|
+
v && o.warn("loading namespace ".concat(f, " for language ").concat(d, " failed"), v), !v && m && o.log("loaded namespace ".concat(f, " for language ").concat(d), m), r.loaded("".concat(d, "|").concat(f), v, m);
|
|
2488
2488
|
});
|
|
2489
2489
|
});
|
|
2490
2490
|
});
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
}]),
|
|
2493
|
+
}]), n;
|
|
2494
2494
|
}();
|
|
2495
|
-
|
|
2496
|
-
var
|
|
2497
|
-
function
|
|
2498
|
-
return
|
|
2495
|
+
Lt.type = "backend";
|
|
2496
|
+
var Pt = [], qa = Pt.forEach, Va = Pt.slice;
|
|
2497
|
+
function Wa(n) {
|
|
2498
|
+
return qa.call(Va.call(arguments, 1), function(t) {
|
|
2499
2499
|
if (t)
|
|
2500
|
-
for (var
|
|
2501
|
-
a
|
|
2502
|
-
}),
|
|
2500
|
+
for (var a in t)
|
|
2501
|
+
n[a] === void 0 && (n[a] = t[a]);
|
|
2502
|
+
}), n;
|
|
2503
2503
|
}
|
|
2504
|
-
var
|
|
2504
|
+
var it = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Qa = function(t, a, e) {
|
|
2505
2505
|
var r = e || {};
|
|
2506
2506
|
r.path = r.path || "/";
|
|
2507
|
-
var i = encodeURIComponent(
|
|
2507
|
+
var i = encodeURIComponent(a), o = t + "=" + i;
|
|
2508
2508
|
if (r.maxAge > 0) {
|
|
2509
2509
|
var s = r.maxAge - 0;
|
|
2510
2510
|
if (isNaN(s)) throw new Error("maxAge should be a Number");
|
|
2511
2511
|
o += "; Max-Age=" + Math.floor(s);
|
|
2512
2512
|
}
|
|
2513
2513
|
if (r.domain) {
|
|
2514
|
-
if (!
|
|
2514
|
+
if (!it.test(r.domain))
|
|
2515
2515
|
throw new TypeError("option domain is invalid");
|
|
2516
2516
|
o += "; Domain=" + r.domain;
|
|
2517
2517
|
}
|
|
2518
2518
|
if (r.path) {
|
|
2519
|
-
if (!
|
|
2519
|
+
if (!it.test(r.path))
|
|
2520
2520
|
throw new TypeError("option path is invalid");
|
|
2521
2521
|
o += "; Path=" + r.path;
|
|
2522
2522
|
}
|
|
@@ -2526,8 +2526,8 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, zn = function(t, n, e) {
|
|
|
2526
2526
|
o += "; Expires=" + r.expires.toUTCString();
|
|
2527
2527
|
}
|
|
2528
2528
|
if (r.httpOnly && (o += "; HttpOnly"), r.secure && (o += "; Secure"), r.sameSite) {
|
|
2529
|
-
var
|
|
2530
|
-
switch (
|
|
2529
|
+
var l = typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite;
|
|
2530
|
+
switch (l) {
|
|
2531
2531
|
case !0:
|
|
2532
2532
|
o += "; SameSite=Strict";
|
|
2533
2533
|
break;
|
|
@@ -2545,137 +2545,137 @@ var rt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, zn = function(t, n, e) {
|
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
2547
|
return o;
|
|
2548
|
-
},
|
|
2549
|
-
create: function(t,
|
|
2548
|
+
}, ot = {
|
|
2549
|
+
create: function(t, a, e, r) {
|
|
2550
2550
|
var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
2551
2551
|
path: "/",
|
|
2552
2552
|
sameSite: "strict"
|
|
2553
2553
|
};
|
|
2554
|
-
e && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + e * 60 * 1e3)), r && (i.domain = r), document.cookie =
|
|
2554
|
+
e && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + e * 60 * 1e3)), r && (i.domain = r), document.cookie = Qa(t, encodeURIComponent(a), i);
|
|
2555
2555
|
},
|
|
2556
2556
|
read: function(t) {
|
|
2557
|
-
for (var
|
|
2557
|
+
for (var a = t + "=", e = document.cookie.split(";"), r = 0; r < e.length; r++) {
|
|
2558
2558
|
for (var i = e[r]; i.charAt(0) === " "; )
|
|
2559
2559
|
i = i.substring(1, i.length);
|
|
2560
|
-
if (i.indexOf(
|
|
2560
|
+
if (i.indexOf(a) === 0) return i.substring(a.length, i.length);
|
|
2561
2561
|
}
|
|
2562
2562
|
return null;
|
|
2563
2563
|
},
|
|
2564
2564
|
remove: function(t) {
|
|
2565
2565
|
this.create(t, "", -1);
|
|
2566
2566
|
}
|
|
2567
|
-
},
|
|
2567
|
+
}, $a = {
|
|
2568
2568
|
name: "cookie",
|
|
2569
2569
|
lookup: function(t) {
|
|
2570
|
-
var
|
|
2570
|
+
var a;
|
|
2571
2571
|
if (t.lookupCookie && typeof document < "u") {
|
|
2572
|
-
var e =
|
|
2573
|
-
e && (
|
|
2572
|
+
var e = ot.read(t.lookupCookie);
|
|
2573
|
+
e && (a = e);
|
|
2574
2574
|
}
|
|
2575
|
-
return
|
|
2575
|
+
return a;
|
|
2576
2576
|
},
|
|
2577
|
-
cacheUserLanguage: function(t,
|
|
2578
|
-
|
|
2577
|
+
cacheUserLanguage: function(t, a) {
|
|
2578
|
+
a.lookupCookie && typeof document < "u" && ot.create(a.lookupCookie, t, a.cookieMinutes, a.cookieDomain, a.cookieOptions);
|
|
2579
2579
|
}
|
|
2580
|
-
},
|
|
2580
|
+
}, Ka = {
|
|
2581
2581
|
name: "querystring",
|
|
2582
2582
|
lookup: function(t) {
|
|
2583
|
-
var
|
|
2583
|
+
var a;
|
|
2584
2584
|
if (typeof window < "u")
|
|
2585
2585
|
for (var e = window.location.search.substring(1), r = e.split("&"), i = 0; i < r.length; i++) {
|
|
2586
2586
|
var o = r[i].indexOf("=");
|
|
2587
2587
|
if (o > 0) {
|
|
2588
2588
|
var s = r[i].substring(0, o);
|
|
2589
|
-
s === t.lookupQuerystring && (
|
|
2589
|
+
s === t.lookupQuerystring && (a = r[i].substring(o + 1));
|
|
2590
2590
|
}
|
|
2591
2591
|
}
|
|
2592
|
-
return
|
|
2592
|
+
return a;
|
|
2593
2593
|
}
|
|
2594
|
-
},
|
|
2594
|
+
}, ge;
|
|
2595
2595
|
try {
|
|
2596
|
-
|
|
2597
|
-
var
|
|
2598
|
-
window.localStorage.setItem(
|
|
2596
|
+
ge = window !== "undefined" && window.localStorage !== null;
|
|
2597
|
+
var st = "i18next.translate.boo";
|
|
2598
|
+
window.localStorage.setItem(st, "foo"), window.localStorage.removeItem(st);
|
|
2599
2599
|
} catch {
|
|
2600
|
-
|
|
2600
|
+
ge = !1;
|
|
2601
2601
|
}
|
|
2602
|
-
var
|
|
2602
|
+
var Za = {
|
|
2603
2603
|
name: "localStorage",
|
|
2604
2604
|
lookup: function(t) {
|
|
2605
|
-
var
|
|
2606
|
-
if (t.lookupLocalStorage &&
|
|
2605
|
+
var a;
|
|
2606
|
+
if (t.lookupLocalStorage && ge) {
|
|
2607
2607
|
var e = window.localStorage.getItem(t.lookupLocalStorage);
|
|
2608
|
-
e && (
|
|
2608
|
+
e && (a = e);
|
|
2609
2609
|
}
|
|
2610
|
-
return
|
|
2610
|
+
return a;
|
|
2611
2611
|
},
|
|
2612
|
-
cacheUserLanguage: function(t,
|
|
2613
|
-
|
|
2612
|
+
cacheUserLanguage: function(t, a) {
|
|
2613
|
+
a.lookupLocalStorage && ge && window.localStorage.setItem(a.lookupLocalStorage, t);
|
|
2614
2614
|
}
|
|
2615
|
-
},
|
|
2615
|
+
}, me;
|
|
2616
2616
|
try {
|
|
2617
|
-
|
|
2618
|
-
var
|
|
2619
|
-
window.sessionStorage.setItem(
|
|
2617
|
+
me = window !== "undefined" && window.sessionStorage !== null;
|
|
2618
|
+
var lt = "i18next.translate.boo";
|
|
2619
|
+
window.sessionStorage.setItem(lt, "foo"), window.sessionStorage.removeItem(lt);
|
|
2620
2620
|
} catch {
|
|
2621
|
-
|
|
2621
|
+
me = !1;
|
|
2622
2622
|
}
|
|
2623
|
-
var
|
|
2623
|
+
var Xa = {
|
|
2624
2624
|
name: "sessionStorage",
|
|
2625
2625
|
lookup: function(t) {
|
|
2626
|
-
var
|
|
2627
|
-
if (t.lookupsessionStorage &&
|
|
2626
|
+
var a;
|
|
2627
|
+
if (t.lookupsessionStorage && me) {
|
|
2628
2628
|
var e = window.sessionStorage.getItem(t.lookupsessionStorage);
|
|
2629
|
-
e && (
|
|
2629
|
+
e && (a = e);
|
|
2630
2630
|
}
|
|
2631
|
-
return
|
|
2631
|
+
return a;
|
|
2632
2632
|
},
|
|
2633
|
-
cacheUserLanguage: function(t,
|
|
2634
|
-
|
|
2633
|
+
cacheUserLanguage: function(t, a) {
|
|
2634
|
+
a.lookupsessionStorage && me && window.sessionStorage.setItem(a.lookupsessionStorage, t);
|
|
2635
2635
|
}
|
|
2636
|
-
},
|
|
2636
|
+
}, Ga = {
|
|
2637
2637
|
name: "navigator",
|
|
2638
2638
|
lookup: function(t) {
|
|
2639
|
-
var
|
|
2639
|
+
var a = [];
|
|
2640
2640
|
if (typeof navigator < "u") {
|
|
2641
2641
|
if (navigator.languages)
|
|
2642
2642
|
for (var e = 0; e < navigator.languages.length; e++)
|
|
2643
|
-
|
|
2644
|
-
navigator.userLanguage &&
|
|
2643
|
+
a.push(navigator.languages[e]);
|
|
2644
|
+
navigator.userLanguage && a.push(navigator.userLanguage), navigator.language && a.push(navigator.language);
|
|
2645
2645
|
}
|
|
2646
|
-
return
|
|
2646
|
+
return a.length > 0 ? a : void 0;
|
|
2647
2647
|
}
|
|
2648
|
-
},
|
|
2648
|
+
}, Ya = {
|
|
2649
2649
|
name: "htmlTag",
|
|
2650
2650
|
lookup: function(t) {
|
|
2651
|
-
var
|
|
2652
|
-
return e && typeof e.getAttribute == "function" && (
|
|
2651
|
+
var a, e = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
|
|
2652
|
+
return e && typeof e.getAttribute == "function" && (a = e.getAttribute("lang")), a;
|
|
2653
2653
|
}
|
|
2654
|
-
},
|
|
2654
|
+
}, Ja = {
|
|
2655
2655
|
name: "path",
|
|
2656
2656
|
lookup: function(t) {
|
|
2657
|
-
var
|
|
2657
|
+
var a;
|
|
2658
2658
|
if (typeof window < "u") {
|
|
2659
2659
|
var e = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
2660
2660
|
if (e instanceof Array)
|
|
2661
2661
|
if (typeof t.lookupFromPathIndex == "number") {
|
|
2662
2662
|
if (typeof e[t.lookupFromPathIndex] != "string")
|
|
2663
2663
|
return;
|
|
2664
|
-
|
|
2664
|
+
a = e[t.lookupFromPathIndex].replace("/", "");
|
|
2665
2665
|
} else
|
|
2666
|
-
|
|
2666
|
+
a = e[0].replace("/", "");
|
|
2667
2667
|
}
|
|
2668
|
-
return
|
|
2668
|
+
return a;
|
|
2669
2669
|
}
|
|
2670
2670
|
}, er = {
|
|
2671
2671
|
name: "subdomain",
|
|
2672
2672
|
lookup: function(t) {
|
|
2673
|
-
var
|
|
2673
|
+
var a;
|
|
2674
2674
|
if (typeof window < "u") {
|
|
2675
2675
|
var e = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
|
|
2676
|
-
e instanceof Array && (typeof t.lookupFromSubdomainIndex == "number" ?
|
|
2676
|
+
e instanceof Array && (typeof t.lookupFromSubdomainIndex == "number" ? a = e[t.lookupFromSubdomainIndex].replace("http://", "").replace("https://", "").replace(".", "") : a = e[0].replace("http://", "").replace("https://", "").replace(".", ""));
|
|
2677
2677
|
}
|
|
2678
|
-
return
|
|
2678
|
+
return a;
|
|
2679
2679
|
}
|
|
2680
2680
|
};
|
|
2681
2681
|
function tr() {
|
|
@@ -2691,29 +2691,29 @@ function tr() {
|
|
|
2691
2691
|
//cookieDomain: 'myDomain'
|
|
2692
2692
|
};
|
|
2693
2693
|
}
|
|
2694
|
-
var
|
|
2695
|
-
function
|
|
2696
|
-
var
|
|
2697
|
-
|
|
2694
|
+
var Ot = /* @__PURE__ */ function() {
|
|
2695
|
+
function n(t) {
|
|
2696
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2697
|
+
z(this, n), this.type = "languageDetector", this.detectors = {}, this.init(t, a);
|
|
2698
2698
|
}
|
|
2699
|
-
return
|
|
2699
|
+
return _(n, [{
|
|
2700
2700
|
key: "init",
|
|
2701
|
-
value: function(
|
|
2701
|
+
value: function(a) {
|
|
2702
2702
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2703
|
-
this.services =
|
|
2703
|
+
this.services = a, this.options = Wa(e, this.options || {}, tr()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector($a), this.addDetector(Ka), this.addDetector(Za), this.addDetector(Xa), this.addDetector(Ga), this.addDetector(Ya), this.addDetector(Ja), this.addDetector(er);
|
|
2704
2704
|
}
|
|
2705
2705
|
}, {
|
|
2706
2706
|
key: "addDetector",
|
|
2707
|
-
value: function(
|
|
2708
|
-
this.detectors[
|
|
2707
|
+
value: function(a) {
|
|
2708
|
+
this.detectors[a.name] = a;
|
|
2709
2709
|
}
|
|
2710
2710
|
}, {
|
|
2711
2711
|
key: "detect",
|
|
2712
|
-
value: function(
|
|
2712
|
+
value: function(a) {
|
|
2713
2713
|
var e = this;
|
|
2714
|
-
|
|
2714
|
+
a || (a = this.options.order);
|
|
2715
2715
|
var r = [];
|
|
2716
|
-
return
|
|
2716
|
+
return a.forEach(function(i) {
|
|
2717
2717
|
if (e.detectors[i]) {
|
|
2718
2718
|
var o = e.detectors[i].lookup(e.options);
|
|
2719
2719
|
o && typeof o == "string" && (o = [o]), o && (r = r.concat(o));
|
|
@@ -2722,40 +2722,989 @@ var Pt = /* @__PURE__ */ function() {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
}, {
|
|
2724
2724
|
key: "cacheUserLanguage",
|
|
2725
|
-
value: function(
|
|
2725
|
+
value: function(a, e) {
|
|
2726
2726
|
var r = this;
|
|
2727
|
-
e || (e = this.options.caches), e && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(
|
|
2728
|
-
r.detectors[i] && r.detectors[i].cacheUserLanguage(
|
|
2727
|
+
e || (e = this.options.caches), e && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(a) > -1 || e.forEach(function(i) {
|
|
2728
|
+
r.detectors[i] && r.detectors[i].cacheUserLanguage(a, r.options);
|
|
2729
2729
|
}));
|
|
2730
2730
|
}
|
|
2731
|
-
}]),
|
|
2731
|
+
}]), n;
|
|
2732
2732
|
}();
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2733
|
+
Ot.type = "languageDetector";
|
|
2734
|
+
const ar = {
|
|
2735
|
+
"addToList.disabledDragTooltip": "Drag & Drop ist deaktiviert, wenn Filter aktiviert sind",
|
|
2736
|
+
"addToList.moveAllItemsToCol": "Alles nach „ {{columnName}} “ verschieben",
|
|
2737
|
+
"addToList.noDataZeroStateColumnTitle": "Diese Spalte ist leer",
|
|
2738
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Optionen aus {{columnName}} entfernen",
|
|
2739
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Verschiebeoptionen aus {{columnName}}",
|
|
2740
|
+
"addToList.offColumnHeader": "Aus Spalte",
|
|
2741
|
+
"addToList.onColumnHeader": "Auf Spalte",
|
|
2742
|
+
"advancedSearch.clear": "Felder löschen",
|
|
2743
|
+
"advancedSearch.search": "Suchen",
|
|
2744
|
+
"button.spinningTitle": "Wird geladen…",
|
|
2745
|
+
"columnChooser.removeButton": "Entfernen Sie {{elementName}}",
|
|
2746
|
+
"columnManager.cancelButton": "Kündigen",
|
|
2747
|
+
"columnManager.filterText": "Eine Spalte suchen",
|
|
2748
|
+
"columnManager.offListHeader": "Ausgeblendete Spalten",
|
|
2749
|
+
"columnManager.onListHeader": "Sichtbare Spalten",
|
|
2750
|
+
"columnManager.saveButton": "Speichern",
|
|
2751
|
+
"columnManager.title": "Tabellenspalten verwalten",
|
|
2752
|
+
"contentRow.collapse": "Zusammenbruch",
|
|
2753
|
+
"contentRow.expand": "Erweitern",
|
|
2754
|
+
"datepicker.calendar.nextMonth": "Nächsten Monat anzeigen",
|
|
2755
|
+
"datepicker.calendar.prevMonth": "Vorherigen Monat anzeigen",
|
|
2756
|
+
"datepicker.preset.after": "Nach dem",
|
|
2757
|
+
"datepicker.preset.before": "Vor",
|
|
2758
|
+
"datepicker.preset.custom": "Benutzerdefiniert",
|
|
2759
|
+
"datepicker.preset.ninetyDays": "Letzte 90 Tage",
|
|
2760
|
+
"datepicker.preset.oneYear": "Vergangenes Jahr",
|
|
2761
|
+
"datepicker.preset.sevenDays": "Letzten 7 Tage",
|
|
2762
|
+
"datepicker.preset.sixtyDays": "Letzte 60 Tage",
|
|
2763
|
+
"datepicker.preset.thirtyDays": "Letzte 30 Tage",
|
|
2764
|
+
"datepicker.preset.today": "Heute",
|
|
2765
|
+
"datepicker.presetsLabel": "Bereiche",
|
|
2766
|
+
"fileUpload.acceptedTypes": { one: "{{fileTypes}} Format akzeptiert", other: "{{fileTypes}} akzeptierte Formate" },
|
|
2767
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} Format akzeptiert",
|
|
2768
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} akzeptierte Formate",
|
|
2769
|
+
"fileUpload.cancelled": { one: "Datei-Upload fehlgeschlagen", other: "Datei-Upload(s) fehlgeschlagen" },
|
|
2770
|
+
"fileUpload.cancelled.one": "Datei-Upload fehlgeschlagen",
|
|
2771
|
+
"fileUpload.cancelled.other": "Datei-Upload(s) fehlgeschlagen",
|
|
2772
|
+
"fileUpload.close": "Schließen",
|
|
2773
|
+
"fileUpload.instructions": { one: "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.", other: "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop." },
|
|
2774
|
+
"fileUpload.instructions.one": "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.",
|
|
2775
|
+
"fileUpload.instructions.other": "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop.",
|
|
2776
|
+
"fileUpload.maximumSize": "{{size}} maximal",
|
|
2777
|
+
"fileUpload.processing": "Hochladen wird verarbeitet…",
|
|
2778
|
+
"fileUpload.title": "Laden Sie Ihre {{description}} hoch",
|
|
2779
|
+
"filterPanel.clear": "Filter löschen",
|
|
2780
|
+
"filterPanel.filterPlaceholder": "Filteroptionen",
|
|
2781
|
+
"filterPanel.title": "Filter",
|
|
2782
|
+
"focusedTask.close": "Schließen",
|
|
2783
|
+
"growler.dismiss": "Entlassen",
|
|
2784
|
+
"insightCard.all": "Alles",
|
|
2785
|
+
"insightCard.partnerCount": "{{count}} |von| {{total}}",
|
|
2786
|
+
"insightCard.partners": "Partner",
|
|
2787
|
+
"insightTile.all": "Alles",
|
|
2788
|
+
"insightTile.partnerCount": "{{count}} |von| {{total}}",
|
|
2789
|
+
"insightTile.partners": "Partner",
|
|
2790
|
+
"label.errors.dateConstraint.max": "Bitte geben Sie ein Datum am oder vor dem {{context.maxExceeded}} ein.",
|
|
2791
|
+
"label.errors.dateConstraint.min": "Bitte geben Sie ein Datum am oder nach {{context.minExceeded}} ein.",
|
|
2792
|
+
"label.errors.dateFormat": "Bitte geben Sie ein Datum im Format {{context}} ein.",
|
|
2793
|
+
"label.errors.dateRangeOrder": "Das Enddatum kann nicht vor dem Startdatum liegen.",
|
|
2794
|
+
"label.errors.dateValidity": "Bitte gib ein korrektes Datum an.",
|
|
2795
|
+
"label.errors.max": "Bitte geben Sie einen Wert ein, der nicht größer als {{context}} ist.",
|
|
2796
|
+
"label.errors.maxLength": "Bitte geben Sie nicht mehr als {{context}} Zeichen ein.",
|
|
2797
|
+
"label.errors.min": "Bitte geben Sie einen Wert ein, der nicht kleiner als {{context}} ist.",
|
|
2798
|
+
"label.errors.minLength": "Bitte geben Sie mindestens {{context}} Zeichen ein.",
|
|
2799
|
+
"label.errors.required": "Dieses Feld wird benötigt.",
|
|
2800
|
+
"label.preventativeErrors.alpha": "Dieses Feld akzeptiert nur alphabetische Werte.",
|
|
2801
|
+
"label.preventativeErrors.maxLength": "Dieses Feld akzeptiert eine maximale Anzahl von Zeichen.",
|
|
2802
|
+
"label.preventativeErrors.nonNumeric": "Dieses Feld akzeptiert nur nicht numerische Werte.",
|
|
2803
|
+
"label.preventativeErrors.numeric": "Dieses Feld akzeptiert nur numerische Werte (null oder größer).",
|
|
2804
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Dieses Feld akzeptiert nur numerische Werte.",
|
|
2805
|
+
"label.stronglySuggested": "Dieses Feld wird dringend empfohlen.",
|
|
2806
|
+
"listActionBar.clearSelected": "Auswahl löschen",
|
|
2807
|
+
"listActionBar.itemsSelected": "Ausgewählte Elemente",
|
|
2808
|
+
"listToolbar.advancedSearchToggle": "Erweiterte Suche",
|
|
2809
|
+
"modal.close": "Modal schließen",
|
|
2810
|
+
"modal.defaultButtonLabel": "Okay",
|
|
2811
|
+
"modal.defaultTitle.general": "Handlung",
|
|
2812
|
+
"modal.defaultTitle.info": "Infos",
|
|
2813
|
+
"modal.defaultTitle.serious-warning": "Warnung",
|
|
2814
|
+
"modal.defaultTitle.success": "Success",
|
|
2815
|
+
"modal.defaultTitle.warning": "Warnung",
|
|
2816
|
+
"pagination.nextPage": "Nächste Seite",
|
|
2817
|
+
"pagination.ofMany": "von vielen",
|
|
2818
|
+
"pagination.ofPageCount": "von {{pageCount}}",
|
|
2819
|
+
"pagination.page": "Seite",
|
|
2820
|
+
"pagination.prevPage": "Vorherige Seite",
|
|
2821
|
+
"progressBar.closeButtonTitle": "Fortschrittsbalken schließen",
|
|
2822
|
+
"searchResultsBar.clear": "Klar",
|
|
2823
|
+
"searchResultsBar.clearResults": "Ergebnisse löschen",
|
|
2824
|
+
"searchResultsBar.count": "{{count}} von {{total}}",
|
|
2825
|
+
"searchResultsBar.matchingResults": "Passende Ergebnisse",
|
|
2826
|
+
"searchResultsBar.noAdvancedSearchSelections": "Keine erweiterten Suchauswahlen",
|
|
2827
|
+
"searchResultsBar.results": "Ergebnisse:",
|
|
2828
|
+
"select.defaultPlaceholder": "Wählen Sie eine Option aus…",
|
|
2829
|
+
"slackLink.label": "Plaudern",
|
|
2830
|
+
"slideInPanel.close": "Schließen",
|
|
2831
|
+
"slideInPanel.defaultTitle": "Einschubleiste",
|
|
2832
|
+
"spinner.defaultAltText": "Wird geladen…",
|
|
2833
|
+
"taskQueue.clearCompleted": "Löschen abgeschlossen",
|
|
2834
|
+
"taskQueue.newTask": "Sie haben eine neue Aufgabe in Ihrer Warteschlange.",
|
|
2835
|
+
"taskQueue.noTasks": "Derzeit befinden sich keine Aufgaben in Ihrer Warteschlange."
|
|
2836
|
+
}, rr = {
|
|
2837
|
+
"addToList.disabledDragTooltip": "Drag and drop are disabled when filters are engaged",
|
|
2838
|
+
"addToList.moveAllItemsToCol": 'Move All to "{{columnName}}"',
|
|
2839
|
+
"addToList.noDataZeroStateColumnTitle": "This Column is Empty",
|
|
2840
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Remove options from the {{columnName}}",
|
|
2841
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Move options from the {{columnName}}",
|
|
2842
|
+
"addToList.offColumnHeader": "Off Column",
|
|
2843
|
+
"addToList.onColumnHeader": "On Column",
|
|
2844
|
+
"addToList.moreOptionsAvailable": "More options available. Use the search field to filter results.",
|
|
2845
|
+
"advancedSearch.clear": "Clear Fields",
|
|
2846
|
+
"advancedSearch.search": "Search",
|
|
2847
|
+
"button.spinningTitle": "Loading…",
|
|
2848
|
+
"columnChooser.applyChanges": "Apply Changes",
|
|
2849
|
+
"columnChooser.findColumnsToAdd": "Find Columns to Add",
|
|
2850
|
+
"columnChooser.selected": "Selected",
|
|
2851
|
+
"columnChooser.removeButton": "Remove {{elementName}}",
|
|
2852
|
+
"columnManager.cancelButton": "Cancel",
|
|
2853
|
+
"columnManager.filterText": "Find a Column",
|
|
2854
|
+
"columnManager.offListHeader": "Hidden Columns",
|
|
2855
|
+
"columnManager.onListHeader": "Visible Columns",
|
|
2856
|
+
"columnManager.saveButton": "Save",
|
|
2857
|
+
"columnManager.title": "Manage Table Columns",
|
|
2858
|
+
"contentRow.collapse": "Collapse",
|
|
2859
|
+
"contentRow.expand": "Expand",
|
|
2860
|
+
"datepicker.calendar.nextMonth": "View Next Month",
|
|
2861
|
+
"datepicker.calendar.prevMonth": "View Previous Month",
|
|
2862
|
+
"datepicker.preset.after": "After",
|
|
2863
|
+
"datepicker.preset.before": "Before",
|
|
2864
|
+
"datepicker.preset.custom": "Custom",
|
|
2865
|
+
"datepicker.preset.ninetyDays": "Last 90 days",
|
|
2866
|
+
"datepicker.preset.oneYear": "Last year",
|
|
2867
|
+
"datepicker.preset.sevenDays": "Last 7 days",
|
|
2868
|
+
"datepicker.preset.sixtyDays": "Last 60 days",
|
|
2869
|
+
"datepicker.preset.thirtyDays": "Last 30 days",
|
|
2870
|
+
"datepicker.preset.today": "Today",
|
|
2871
|
+
"datepicker.presetsLabel": "Ranges",
|
|
2872
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} format accepted",
|
|
2873
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} formats accepted",
|
|
2874
|
+
"fileUpload.cancelled.one": "File Upload Failed",
|
|
2875
|
+
"fileUpload.cancelled.other": "File Upload(s) Failed",
|
|
2876
|
+
"fileUpload.close": "Close",
|
|
2877
|
+
"fileUpload.instructions.one": "Drag and drop your file here or |browse for a file| on your desktop.",
|
|
2878
|
+
"fileUpload.instructions.other": "Drag and drop your files here or |browse for files| on your desktop.",
|
|
2879
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
2880
|
+
"fileUpload.processing": "Processing Upload…",
|
|
2881
|
+
"fileUpload.title": "Upload Your {{description}}",
|
|
2882
|
+
"filterPanel.clear": "Clear Filters",
|
|
2883
|
+
"filterPanel.filterPlaceholder": "Filter options",
|
|
2884
|
+
"filterPanel.title": "Filters",
|
|
2885
|
+
"focusedTask.close": "Close",
|
|
2886
|
+
"growler.dismiss": "Dismiss",
|
|
2887
|
+
"insightCard.all": "ALL",
|
|
2888
|
+
"insightCard.partnerCount": "{{count}} |of| {{total}}",
|
|
2889
|
+
"insightCard.partners": "PARTNERS",
|
|
2890
|
+
"insightTile.all": "ALL",
|
|
2891
|
+
"insightTile.partnerCount": "{{count}} |of| {{total}}",
|
|
2892
|
+
"insightTile.partners": "PARTNERS",
|
|
2893
|
+
"insights.hideAdditionalInsights": "Hide Additional Insights",
|
|
2894
|
+
"insights.showAdditionalInsights": "Show Additional Insights",
|
|
2895
|
+
"label.errors.dateConstraint.max": "Please enter a date on or prior to {{context.maxExceeded}}.",
|
|
2896
|
+
"label.errors.dateConstraint.min": "Please enter a date on or after {{context.minExceeded}}.",
|
|
2897
|
+
"label.errors.dateFormat": "Please enter a date in the format {{context}}.",
|
|
2898
|
+
"label.errors.dateRangeOrder": "End date cannot be before start date.",
|
|
2899
|
+
"label.errors.dateValidity": "Please enter a valid date.",
|
|
2900
|
+
"label.errors.max": "Please enter a value no greater than {{context}}.",
|
|
2901
|
+
"label.errors.maxLength": "Please enter no more than {{context}} characters.",
|
|
2902
|
+
"label.errors.min": "Please enter a value no less than {{context}}.",
|
|
2903
|
+
"label.errors.minLength": "Please enter at least {{context}} characters.",
|
|
2904
|
+
"label.errors.required": "This field is required.",
|
|
2905
|
+
"label.preventativeErrors.alpha": "This field accepts only alphabetic values.",
|
|
2906
|
+
"label.preventativeErrors.maxLength": "This field accepts a maximum number of characters.",
|
|
2907
|
+
"label.preventativeErrors.nonNumeric": "This field accepts only non-numerical values.",
|
|
2908
|
+
"label.preventativeErrors.numeric": "This field accepts only numerical values (zero or greater).",
|
|
2909
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "This field accepts only numerical values.",
|
|
2910
|
+
"label.stronglySuggested": "This field is strongly suggested.",
|
|
2911
|
+
"listActionBar.clearSelected": "Clear Selected",
|
|
2912
|
+
"listActionBar.itemsSelected": "Items Selected",
|
|
2913
|
+
"listToolbar.advancedSearchToggle": "Advanced Search",
|
|
2914
|
+
"modal.close": "Close modal",
|
|
2915
|
+
"modal.defaultButtonLabel": "Okay",
|
|
2916
|
+
"modal.defaultTitle.general": "Action",
|
|
2917
|
+
"modal.defaultTitle.info": "Info",
|
|
2918
|
+
"modal.defaultTitle.serious-warning": "Warning",
|
|
2919
|
+
"modal.defaultTitle.success": "Success",
|
|
2920
|
+
"modal.defaultTitle.warning": "Warning",
|
|
2921
|
+
"pagination.nextPage": "Next Page",
|
|
2922
|
+
"pagination.ofMany": "of many",
|
|
2923
|
+
"pagination.ofPageCount": "of {{pageCount}}",
|
|
2924
|
+
"pagination.page": "Page",
|
|
2925
|
+
"pagination.prevPage": "Previous Page",
|
|
2926
|
+
"progressBar.closeButtonTitle": "Close progress bar",
|
|
2927
|
+
"searchResultsBar.clear": "Clear",
|
|
2928
|
+
"searchResultsBar.clearResults": "Clear Results",
|
|
2929
|
+
"searchResultsBar.count": "{{count}} of {{total}}",
|
|
2930
|
+
"searchResultsBar.matchingResults": "Matching results",
|
|
2931
|
+
"searchResultsBar.noAdvancedSearchSelections": "No Advanced Search Selections",
|
|
2932
|
+
"searchResultsBar.results": "Results:",
|
|
2933
|
+
"select.defaultPlaceholder": "Select one…",
|
|
2934
|
+
"slackLink.label": "Chat",
|
|
2935
|
+
"slideInPanel.close": "Close",
|
|
2936
|
+
"slideInPanel.defaultTitle": "Slide In Panel",
|
|
2937
|
+
"spinner.defaultAltText": "Loading…",
|
|
2938
|
+
"taskQueue.clearCompleted": "Clear Completed",
|
|
2939
|
+
"taskQueue.newTask": "You have a new task in your queue.",
|
|
2940
|
+
"taskQueue.noTasks": "There are currently no tasks in your queue."
|
|
2941
|
+
}, nr = {
|
|
2942
|
+
"addToList.disabledDragTooltip": "Las funciones de arrastrar y soltar están deshabilitadas cuando los filtros están activados",
|
|
2943
|
+
"addToList.moveAllItemsToCol": "Mover todo a " {{columnName}} "",
|
|
2944
|
+
"addToList.noDataZeroStateColumnTitle": "Esta columna está vacía",
|
|
2945
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Eliminar opciones de {{columnName}}",
|
|
2946
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Mover opciones de {{columnName}}",
|
|
2947
|
+
"addToList.offColumnHeader": "Fuera de columna",
|
|
2948
|
+
"addToList.onColumnHeader": "En la columna",
|
|
2949
|
+
"advancedSearch.clear": "Campos despejados",
|
|
2950
|
+
"advancedSearch.search": "Buscar",
|
|
2951
|
+
"button.spinningTitle": "Cargando…",
|
|
2952
|
+
"columnChooser.removeButton": "Eliminar {{elementName}}",
|
|
2953
|
+
"columnManager.cancelButton": "Cancelar",
|
|
2954
|
+
"columnManager.filterText": "Encuentra una columna",
|
|
2955
|
+
"columnManager.offListHeader": "Columnas ocultas",
|
|
2956
|
+
"columnManager.onListHeader": "Columnas visibles",
|
|
2957
|
+
"columnManager.saveButton": "Guardar",
|
|
2958
|
+
"columnManager.title": "Administrar columnas de tabla",
|
|
2959
|
+
"contentRow.collapse": "Colapso",
|
|
2960
|
+
"contentRow.expand": "Expandir",
|
|
2961
|
+
"datepicker.calendar.nextMonth": "Ver el próximo mes",
|
|
2962
|
+
"datepicker.calendar.prevMonth": "Ver mes anterior",
|
|
2963
|
+
"datepicker.preset.after": "Después",
|
|
2964
|
+
"datepicker.preset.before": "antes de",
|
|
2965
|
+
"datepicker.preset.custom": "Costumbre",
|
|
2966
|
+
"datepicker.preset.ninetyDays": "Últimos 90 días",
|
|
2967
|
+
"datepicker.preset.oneYear": "El año pasado",
|
|
2968
|
+
"datepicker.preset.sevenDays": "Últimos 7 días",
|
|
2969
|
+
"datepicker.preset.sixtyDays": "Últimos 60 días",
|
|
2970
|
+
"datepicker.preset.thirtyDays": "Últimos 30 días",
|
|
2971
|
+
"datepicker.preset.today": "Hoy",
|
|
2972
|
+
"datepicker.presetsLabel": "Rangos",
|
|
2973
|
+
"fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} aceptado", other: "Formatos {{fileTypes}} aceptados" },
|
|
2974
|
+
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} aceptado",
|
|
2975
|
+
"fileUpload.acceptedTypes.other": "Formatos {{fileTypes}} aceptados",
|
|
2976
|
+
"fileUpload.cancelled": { one: "Error al cargar el archivo", other: "Error en la carga de archivos" },
|
|
2977
|
+
"fileUpload.cancelled.one": "Error al cargar el archivo",
|
|
2978
|
+
"fileUpload.cancelled.other": "Error en la carga de archivos",
|
|
2979
|
+
"fileUpload.close": "Cerrar",
|
|
2980
|
+
"fileUpload.instructions": { one: "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.", other: "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio." },
|
|
2981
|
+
"fileUpload.instructions.one": "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.",
|
|
2982
|
+
"fileUpload.instructions.other": "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio.",
|
|
2983
|
+
"fileUpload.maximumSize": "{{size}} máximo",
|
|
2984
|
+
"fileUpload.processing": "Procesando carga…",
|
|
2985
|
+
"fileUpload.title": "Sube tu {{description}}",
|
|
2986
|
+
"filterPanel.clear": "Borrar filtros",
|
|
2987
|
+
"filterPanel.filterPlaceholder": "Opciones de filtro",
|
|
2988
|
+
"filterPanel.title": "Filtros",
|
|
2989
|
+
"focusedTask.close": "Cerrar",
|
|
2990
|
+
"growler.dismiss": "Despedir",
|
|
2991
|
+
"insightCard.all": "Todos",
|
|
2992
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
2993
|
+
"insightCard.partners": "socios",
|
|
2994
|
+
"insightTile.all": "Todos",
|
|
2995
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
2996
|
+
"insightTile.partners": "socios",
|
|
2997
|
+
"label.errors.dateConstraint.max": "Ingrese una fecha anterior o igual a {{context.maxExceeded}} .",
|
|
2998
|
+
"label.errors.dateConstraint.min": "Ingrese una fecha igual o posterior al {{context.minExceeded}} .",
|
|
2999
|
+
"label.errors.dateFormat": "Introduzca una fecha en el formato {{context}} .",
|
|
3000
|
+
"label.errors.dateRangeOrder": "La fecha de finalización no puede ser anterior a la fecha de inicio.",
|
|
3001
|
+
"label.errors.dateValidity": "Por favor introduzca una fecha valida.",
|
|
3002
|
+
"label.errors.max": "Ingrese un valor no mayor que {{context}} .",
|
|
3003
|
+
"label.errors.maxLength": "Por favor, no introduzca más de {{context}} caracteres.",
|
|
3004
|
+
"label.errors.min": "Ingrese un valor no menor a {{context}} .",
|
|
3005
|
+
"label.errors.minLength": "Ingrese al menos {{context}} caracteres.",
|
|
3006
|
+
"label.errors.required": "Este campo es obligatorio.",
|
|
3007
|
+
"label.preventativeErrors.alpha": "Este campo sólo acepta valores alfabéticos.",
|
|
3008
|
+
"label.preventativeErrors.maxLength": "Este campo acepta un número máximo de caracteres.",
|
|
3009
|
+
"label.preventativeErrors.nonNumeric": "Este campo sólo acepta valores no numéricos.",
|
|
3010
|
+
"label.preventativeErrors.numeric": "Este campo sólo acepta valores numéricos (cero o mayor).",
|
|
3011
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Este campo sólo acepta valores numéricos.",
|
|
3012
|
+
"label.stronglySuggested": "Este campo es muy recomendable.",
|
|
3013
|
+
"listActionBar.clearSelected": "Borrar seleccionados",
|
|
3014
|
+
"listActionBar.itemsSelected": "Artículos seleccionados",
|
|
3015
|
+
"listToolbar.advancedSearchToggle": "Búsqueda avanzada",
|
|
3016
|
+
"modal.close": "Cerrar modal",
|
|
3017
|
+
"modal.defaultButtonLabel": "Aceptar",
|
|
3018
|
+
"modal.defaultTitle.general": "Acción",
|
|
3019
|
+
"modal.defaultTitle.info": "Información",
|
|
3020
|
+
"modal.defaultTitle.serious-warning": "Aviso",
|
|
3021
|
+
"modal.defaultTitle.success": "Éxito",
|
|
3022
|
+
"modal.defaultTitle.warning": "Aviso",
|
|
3023
|
+
"pagination.nextPage": "Siguiente página",
|
|
3024
|
+
"pagination.ofMany": "de muchos",
|
|
3025
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
3026
|
+
"pagination.page": "Página",
|
|
3027
|
+
"pagination.prevPage": "Página anterior",
|
|
3028
|
+
"progressBar.closeButtonTitle": "Cerrar la barra de progreso",
|
|
3029
|
+
"searchResultsBar.clear": "Claro",
|
|
3030
|
+
"searchResultsBar.clearResults": "Resultados claros",
|
|
3031
|
+
"searchResultsBar.count": "{{count}} de {{total}}",
|
|
3032
|
+
"searchResultsBar.matchingResults": "Resultados coincidentes",
|
|
3033
|
+
"searchResultsBar.noAdvancedSearchSelections": "Sin selecciones de búsqueda avanzada",
|
|
3034
|
+
"searchResultsBar.results": "Resultados:",
|
|
3035
|
+
"select.defaultPlaceholder": "Seleccione uno…",
|
|
3036
|
+
"slackLink.label": "Charla",
|
|
3037
|
+
"slideInPanel.close": "Cerrar",
|
|
3038
|
+
"slideInPanel.defaultTitle": "Panel deslizable",
|
|
3039
|
+
"spinner.defaultAltText": "Cargando…",
|
|
3040
|
+
"taskQueue.clearCompleted": "Borrar completadas",
|
|
3041
|
+
"taskQueue.newTask": "Tienes una nueva tarea en tu cola.",
|
|
3042
|
+
"taskQueue.noTasks": "En este momento no hay ninguna tarea en la cola."
|
|
3043
|
+
}, ir = {
|
|
3044
|
+
"addToList.disabledDragTooltip": "Le glisser-déposer est désactivé lorsque les filtres sont activés",
|
|
3045
|
+
"addToList.moveAllItemsToCol": "Déplacer tout vers « {{columnName}} »",
|
|
3046
|
+
"addToList.noDataZeroStateColumnTitle": "Cette colonne est vide",
|
|
3047
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Supprimer les options de {{columnName}}",
|
|
3048
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Déplacer les options depuis {{columnName}}",
|
|
3049
|
+
"addToList.offColumnHeader": "Hors colonne",
|
|
3050
|
+
"addToList.onColumnHeader": "Sur la colonne",
|
|
3051
|
+
"advancedSearch.clear": "Effacer les champs",
|
|
3052
|
+
"advancedSearch.search": "Rechercher",
|
|
3053
|
+
"button.spinningTitle": "Chargement…",
|
|
3054
|
+
"columnChooser.removeButton": "Supprimer {{elementName}}",
|
|
3055
|
+
"columnManager.cancelButton": "Annuler",
|
|
3056
|
+
"columnManager.filterText": "Trouver une colonne",
|
|
3057
|
+
"columnManager.offListHeader": "Colonnes cachées",
|
|
3058
|
+
"columnManager.onListHeader": "Colonnes visibles",
|
|
3059
|
+
"columnManager.saveButton": "Enregistrer",
|
|
3060
|
+
"columnManager.title": "Gérer les colonnes du tableau",
|
|
3061
|
+
"contentRow.collapse": "Effondrer",
|
|
3062
|
+
"contentRow.expand": "Développer",
|
|
3063
|
+
"datepicker.calendar.nextMonth": "Voir le mois prochain",
|
|
3064
|
+
"datepicker.calendar.prevMonth": "Voir le mois précédent",
|
|
3065
|
+
"datepicker.preset.after": "Après",
|
|
3066
|
+
"datepicker.preset.before": "Avant",
|
|
3067
|
+
"datepicker.preset.custom": "Coutume",
|
|
3068
|
+
"datepicker.preset.ninetyDays": "90 derniers jours",
|
|
3069
|
+
"datepicker.preset.oneYear": "L'année Dernière",
|
|
3070
|
+
"datepicker.preset.sevenDays": "Les 7 derniers jours",
|
|
3071
|
+
"datepicker.preset.sixtyDays": "Les 60 derniers jours",
|
|
3072
|
+
"datepicker.preset.thirtyDays": "Les 30 derniers jours",
|
|
3073
|
+
"datepicker.preset.today": "Aujourd'hui",
|
|
3074
|
+
"datepicker.presetsLabel": "Gammes",
|
|
3075
|
+
"fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
|
|
3076
|
+
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3077
|
+
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3078
|
+
"fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
|
|
3079
|
+
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3080
|
+
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3081
|
+
"fileUpload.close": "Fermer",
|
|
3082
|
+
"fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
|
|
3083
|
+
"fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
|
|
3084
|
+
"fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
|
|
3085
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
3086
|
+
"fileUpload.processing": "Traitement du téléchargement…",
|
|
3087
|
+
"fileUpload.title": "Téléchargez votre {{description}}",
|
|
3088
|
+
"filterPanel.clear": "Effacer les filtres",
|
|
3089
|
+
"filterPanel.filterPlaceholder": "Options de filtrage",
|
|
3090
|
+
"filterPanel.title": "Filtres",
|
|
3091
|
+
"focusedTask.close": "Fermer",
|
|
3092
|
+
"growler.dismiss": "Rejeter",
|
|
3093
|
+
"insightCard.all": "Tout",
|
|
3094
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
3095
|
+
"insightCard.partners": "partenaires",
|
|
3096
|
+
"insightTile.all": "Tout",
|
|
3097
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
3098
|
+
"insightTile.partners": "partenaires",
|
|
3099
|
+
"label.errors.dateConstraint.max": "Veuillez saisir une date au plus tard le {{context.maxExceeded}} .",
|
|
3100
|
+
"label.errors.dateConstraint.min": "Veuillez saisir une date le ou après {{context.minExceeded}} .",
|
|
3101
|
+
"label.errors.dateFormat": "Veuillez saisir une date au format {{context}} .",
|
|
3102
|
+
"label.errors.dateRangeOrder": "La date de fin ne peut pas être antérieure à la date de début.",
|
|
3103
|
+
"label.errors.dateValidity": "Veuillez entrer une date valide.",
|
|
3104
|
+
"label.errors.max": "Veuillez saisir une valeur ne dépassant pas {{context}} .",
|
|
3105
|
+
"label.errors.maxLength": "Veuillez ne pas saisir plus de {{context}} caractères.",
|
|
3106
|
+
"label.errors.min": "Veuillez saisir une valeur non inférieure à {{context}} .",
|
|
3107
|
+
"label.errors.minLength": "Veuillez saisir au moins {{context}} caractères.",
|
|
3108
|
+
"label.errors.required": "Ce champ est requis.",
|
|
3109
|
+
"label.preventativeErrors.alpha": "Ce champ accepte uniquement les valeurs alphabétiques.",
|
|
3110
|
+
"label.preventativeErrors.maxLength": "Ce champ accepte un nombre maximum de caractères.",
|
|
3111
|
+
"label.preventativeErrors.nonNumeric": "Ce champ accepte uniquement les valeurs non numériques.",
|
|
3112
|
+
"label.preventativeErrors.numeric": "Ce champ accepte uniquement les valeurs numériques (zéro ou plus).",
|
|
3113
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Ce champ accepte uniquement des valeurs numériques.",
|
|
3114
|
+
"label.stronglySuggested": "Ce champ est fortement suggéré.",
|
|
3115
|
+
"listActionBar.clearSelected": "Effacer la sélection",
|
|
3116
|
+
"listActionBar.itemsSelected": "Articles sélectionnés",
|
|
3117
|
+
"listToolbar.advancedSearchToggle": "Recherche Avancée",
|
|
3118
|
+
"modal.close": "Fermer modale",
|
|
3119
|
+
"modal.defaultButtonLabel": "OK",
|
|
3120
|
+
"modal.defaultTitle.general": "Action",
|
|
3121
|
+
"modal.defaultTitle.info": "Infos",
|
|
3122
|
+
"modal.defaultTitle.serious-warning": "Avertissement",
|
|
3123
|
+
"modal.defaultTitle.success": "Succès",
|
|
3124
|
+
"modal.defaultTitle.warning": "Avertissement",
|
|
3125
|
+
"pagination.nextPage": "Page suivante",
|
|
3126
|
+
"pagination.ofMany": "de beaucoup",
|
|
3127
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
3128
|
+
"pagination.page": "Page",
|
|
3129
|
+
"pagination.prevPage": "Page précédente",
|
|
3130
|
+
"progressBar.closeButtonTitle": "Fermer la barre de progression",
|
|
3131
|
+
"searchResultsBar.clear": "Clair",
|
|
3132
|
+
"searchResultsBar.clearResults": "Effacer les résultats",
|
|
3133
|
+
"searchResultsBar.count": "{{count}} sur {{total}}",
|
|
3134
|
+
"searchResultsBar.matchingResults": "Résultats correspondants",
|
|
3135
|
+
"searchResultsBar.noAdvancedSearchSelections": "Aucune sélection de recherche avancée",
|
|
3136
|
+
"searchResultsBar.results": "Résultats:",
|
|
3137
|
+
"select.defaultPlaceholder": "Sélectionnez-en un…",
|
|
3138
|
+
"slackLink.label": "bavarder",
|
|
3139
|
+
"slideInPanel.close": "Fermer",
|
|
3140
|
+
"slideInPanel.defaultTitle": "Panneau coulissant",
|
|
3141
|
+
"spinner.defaultAltText": "Chargement…",
|
|
3142
|
+
"taskQueue.clearCompleted": "Effacer Terminé",
|
|
3143
|
+
"taskQueue.newTask": "Vous avez une nouvelle tâche dans votre file d'attente.",
|
|
3144
|
+
"taskQueue.noTasks": "Il n'y a actuellement aucune tâche dans votre file d'attente."
|
|
3145
|
+
}, or = {
|
|
3146
|
+
"addToList.disabledDragTooltip": "Le glisser-déposer est désactivé lorsque les filtres sont activés",
|
|
3147
|
+
"addToList.moveAllItemsToCol": "Déplacer tout vers « {{columnName}} »",
|
|
3148
|
+
"addToList.noDataZeroStateColumnTitle": "Cette colonne est vide",
|
|
3149
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Supprimer les options de {{columnName}}",
|
|
3150
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Déplacer les options depuis {{columnName}}",
|
|
3151
|
+
"addToList.offColumnHeader": "Hors colonne",
|
|
3152
|
+
"addToList.onColumnHeader": "Sur la colonne",
|
|
3153
|
+
"advancedSearch.clear": "Effacer les champs",
|
|
3154
|
+
"advancedSearch.search": "Rechercher",
|
|
3155
|
+
"button.spinningTitle": "Chargement…",
|
|
3156
|
+
"columnChooser.removeButton": "Supprimer {{elementName}}",
|
|
3157
|
+
"columnManager.cancelButton": "Annuler",
|
|
3158
|
+
"columnManager.filterText": "Trouver une colonne",
|
|
3159
|
+
"columnManager.offListHeader": "Colonnes cachées",
|
|
3160
|
+
"columnManager.onListHeader": "Colonnes visibles",
|
|
3161
|
+
"columnManager.saveButton": "Enregistrer",
|
|
3162
|
+
"columnManager.title": "Gérer les colonnes du tableau",
|
|
3163
|
+
"contentRow.collapse": "Effondrer",
|
|
3164
|
+
"contentRow.expand": "Développer",
|
|
3165
|
+
"datepicker.calendar.nextMonth": "Voir le mois prochain",
|
|
3166
|
+
"datepicker.calendar.prevMonth": "Voir le mois précédent",
|
|
3167
|
+
"datepicker.preset.after": "Après",
|
|
3168
|
+
"datepicker.preset.before": "Avant",
|
|
3169
|
+
"datepicker.preset.custom": "Coutume",
|
|
3170
|
+
"datepicker.preset.ninetyDays": "90 derniers jours",
|
|
3171
|
+
"datepicker.preset.oneYear": "Année Passée",
|
|
3172
|
+
"datepicker.preset.sevenDays": "7 derniers jours",
|
|
3173
|
+
"datepicker.preset.sixtyDays": "60 derniers jours",
|
|
3174
|
+
"datepicker.preset.thirtyDays": "30 derniers jours",
|
|
3175
|
+
"datepicker.preset.today": "Aujourd'hui",
|
|
3176
|
+
"datepicker.presetsLabel": "Gammes",
|
|
3177
|
+
"fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
|
|
3178
|
+
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3179
|
+
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3180
|
+
"fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
|
|
3181
|
+
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3182
|
+
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3183
|
+
"fileUpload.close": "Fermer",
|
|
3184
|
+
"fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
|
|
3185
|
+
"fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
|
|
3186
|
+
"fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
|
|
3187
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
3188
|
+
"fileUpload.processing": "Traitement du téléchargement…",
|
|
3189
|
+
"fileUpload.title": "Téléchargez votre {{description}}",
|
|
3190
|
+
"filterPanel.clear": "Effacer les filtres",
|
|
3191
|
+
"filterPanel.filterPlaceholder": "Options de filtrage",
|
|
3192
|
+
"filterPanel.title": "Filtres",
|
|
3193
|
+
"focusedTask.close": "Fermer",
|
|
3194
|
+
"growler.dismiss": "Rejeter",
|
|
3195
|
+
"insightCard.all": "Tout",
|
|
3196
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
3197
|
+
"insightCard.partners": "partenaires",
|
|
3198
|
+
"insightTile.all": "Tout",
|
|
3199
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
3200
|
+
"insightTile.partners": "partenaires",
|
|
3201
|
+
"label.errors.dateConstraint.max": "Veuillez saisir une date au plus tard le {{context.maxExceeded}} .",
|
|
3202
|
+
"label.errors.dateConstraint.min": "Veuillez saisir une date le ou après {{context.minExceeded}} .",
|
|
3203
|
+
"label.errors.dateFormat": "Veuillez saisir une date au format {{context}} .",
|
|
3204
|
+
"label.errors.dateRangeOrder": "La date de fin ne peut pas être antérieure à la date de début.",
|
|
3205
|
+
"label.errors.dateValidity": "Veuillez entrer une date valide.",
|
|
3206
|
+
"label.errors.max": "Veuillez saisir une valeur ne dépassant pas {{context}} .",
|
|
3207
|
+
"label.errors.maxLength": "Veuillez ne pas saisir plus de {{context}} caractères.",
|
|
3208
|
+
"label.errors.min": "Veuillez saisir une valeur non inférieure à {{context}} .",
|
|
3209
|
+
"label.errors.minLength": "Veuillez saisir au moins {{context}} caractères.",
|
|
3210
|
+
"label.errors.required": "Ce champ est requis.",
|
|
3211
|
+
"label.preventativeErrors.alpha": "Ce champ accepte uniquement les valeurs alphabétiques.",
|
|
3212
|
+
"label.preventativeErrors.maxLength": "Ce champ accepte un nombre maximum de caractères.",
|
|
3213
|
+
"label.preventativeErrors.nonNumeric": "Ce champ accepte uniquement les valeurs non numériques.",
|
|
3214
|
+
"label.preventativeErrors.numeric": "Ce champ accepte uniquement les valeurs numériques (zéro ou plus).",
|
|
3215
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Ce champ accepte uniquement des valeurs numériques.",
|
|
3216
|
+
"label.stronglySuggested": "Ce champ est fortement suggéré.",
|
|
3217
|
+
"listActionBar.clearSelected": "Effacer la sélection",
|
|
3218
|
+
"listActionBar.itemsSelected": "Articles sélectionnés",
|
|
3219
|
+
"listToolbar.advancedSearchToggle": "Recherche Avancée",
|
|
3220
|
+
"modal.close": "Fermer modale",
|
|
3221
|
+
"modal.defaultButtonLabel": "D'accord",
|
|
3222
|
+
"modal.defaultTitle.general": "Action",
|
|
3223
|
+
"modal.defaultTitle.info": "Info",
|
|
3224
|
+
"modal.defaultTitle.serious-warning": "Avertissement",
|
|
3225
|
+
"modal.defaultTitle.success": "Réussite",
|
|
3226
|
+
"modal.defaultTitle.warning": "Avertissement",
|
|
3227
|
+
"pagination.nextPage": "Page suivante",
|
|
3228
|
+
"pagination.ofMany": "de beaucoup",
|
|
3229
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
3230
|
+
"pagination.page": "Page",
|
|
3231
|
+
"pagination.prevPage": "Page précédente",
|
|
3232
|
+
"progressBar.closeButtonTitle": "Fermer la barre de progression",
|
|
3233
|
+
"searchResultsBar.clear": "Clair",
|
|
3234
|
+
"searchResultsBar.clearResults": "Effacer les résultats",
|
|
3235
|
+
"searchResultsBar.count": "{{count}} sur {{total}}",
|
|
3236
|
+
"searchResultsBar.matchingResults": "Résultats correspondants",
|
|
3237
|
+
"searchResultsBar.noAdvancedSearchSelections": "Aucune sélection de recherche avancée",
|
|
3238
|
+
"searchResultsBar.results": "Résultats:",
|
|
3239
|
+
"select.defaultPlaceholder": "Sélectionnez-en un…",
|
|
3240
|
+
"slackLink.label": "bavarder",
|
|
3241
|
+
"slideInPanel.close": "Fermer",
|
|
3242
|
+
"slideInPanel.defaultTitle": "Panneau coulissant",
|
|
3243
|
+
"spinner.defaultAltText": "Chargement…",
|
|
3244
|
+
"taskQueue.clearCompleted": "Effacer les tâches complétées",
|
|
3245
|
+
"taskQueue.newTask": "Vous avez une nouvelle tâche dans votre file d'attente.",
|
|
3246
|
+
"taskQueue.noTasks": "Aucune tâche ne se trouve dans votre file d'attente."
|
|
3247
|
+
}, sr = {
|
|
3248
|
+
"addToList.disabledDragTooltip": "Il trascinamento della selezione è disabilitato quando i filtri sono attivi",
|
|
3249
|
+
"addToList.moveAllItemsToCol": "Sposta tutto in " {{columnName}} "",
|
|
3250
|
+
"addToList.noDataZeroStateColumnTitle": "Questa colonna è vuota",
|
|
3251
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Rimuovi le opzioni da {{columnName}}",
|
|
3252
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Sposta le opzioni da {{columnName}}",
|
|
3253
|
+
"addToList.offColumnHeader": "Fuori colonna",
|
|
3254
|
+
"addToList.onColumnHeader": "Sulla colonna",
|
|
3255
|
+
"advancedSearch.clear": "Cancella campi",
|
|
3256
|
+
"advancedSearch.search": "Ricerca",
|
|
3257
|
+
"button.spinningTitle": "Caricamento in corso…",
|
|
3258
|
+
"columnChooser.removeButton": "Rimuovi {{elementName}}",
|
|
3259
|
+
"columnManager.cancelButton": "Annulla",
|
|
3260
|
+
"columnManager.filterText": "Trova una colonna",
|
|
3261
|
+
"columnManager.offListHeader": "Colonne nascoste",
|
|
3262
|
+
"columnManager.onListHeader": "Colonne visibili",
|
|
3263
|
+
"columnManager.saveButton": "Salva",
|
|
3264
|
+
"columnManager.title": "Gestisci colonne tabella",
|
|
3265
|
+
"contentRow.collapse": "Crollo",
|
|
3266
|
+
"contentRow.expand": "Espandere",
|
|
3267
|
+
"datepicker.calendar.nextMonth": "Visualizza il mese prossimo",
|
|
3268
|
+
"datepicker.calendar.prevMonth": "Visualizza il mese precedente",
|
|
3269
|
+
"datepicker.preset.after": "Dopo",
|
|
3270
|
+
"datepicker.preset.before": "Prima",
|
|
3271
|
+
"datepicker.preset.custom": "Abitudine",
|
|
3272
|
+
"datepicker.preset.ninetyDays": "Ultimi 90 giorni",
|
|
3273
|
+
"datepicker.preset.oneYear": "Ultimo anno",
|
|
3274
|
+
"datepicker.preset.sevenDays": "Ultimi 7 giorni",
|
|
3275
|
+
"datepicker.preset.sixtyDays": "Ultimi 60 giorni",
|
|
3276
|
+
"datepicker.preset.thirtyDays": "Ultimi 30 giorni",
|
|
3277
|
+
"datepicker.preset.today": "Oggi",
|
|
3278
|
+
"datepicker.presetsLabel": "Gamme",
|
|
3279
|
+
"fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} accettato", other: "Formati accettati {{fileTypes}}" },
|
|
3280
|
+
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} accettato",
|
|
3281
|
+
"fileUpload.acceptedTypes.other": "Formati accettati {{fileTypes}}",
|
|
3282
|
+
"fileUpload.cancelled": { one: "Caricamento file non riuscito", other: "Caricamento file non riuscito" },
|
|
3283
|
+
"fileUpload.cancelled.one": "Caricamento file non riuscito",
|
|
3284
|
+
"fileUpload.cancelled.other": "Caricamento file non riuscito",
|
|
3285
|
+
"fileUpload.close": "Chiudi",
|
|
3286
|
+
"fileUpload.instructions": { one: "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.", other: "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop." },
|
|
3287
|
+
"fileUpload.instructions.one": "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.",
|
|
3288
|
+
"fileUpload.instructions.other": "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop.",
|
|
3289
|
+
"fileUpload.maximumSize": "{{size}} massimo",
|
|
3290
|
+
"fileUpload.processing": "Caricamento in corso...",
|
|
3291
|
+
"fileUpload.title": "Carica la tua {{description}}",
|
|
3292
|
+
"filterPanel.clear": "Cancella i filtri",
|
|
3293
|
+
"filterPanel.filterPlaceholder": "Opzioni filtro",
|
|
3294
|
+
"filterPanel.title": "Filtri",
|
|
3295
|
+
"focusedTask.close": "Chiudi",
|
|
3296
|
+
"growler.dismiss": "Ignora",
|
|
3297
|
+
"insightCard.all": "Tutti",
|
|
3298
|
+
"insightCard.partnerCount": "{{count}} |di| {{total}}",
|
|
3299
|
+
"insightCard.partners": "partner",
|
|
3300
|
+
"insightTile.all": "Tutti",
|
|
3301
|
+
"insightTile.partnerCount": "{{count}} |di| {{total}}",
|
|
3302
|
+
"insightTile.partners": "partner",
|
|
3303
|
+
"label.errors.dateConstraint.max": "Inserisci una data uguale o precedente a {{context.maxExceeded}} .",
|
|
3304
|
+
"label.errors.dateConstraint.min": "Inserisci una data uguale o successiva al giorno {{context.minExceeded}} .",
|
|
3305
|
+
"label.errors.dateFormat": "Inserisci una data nel formato {{context}} .",
|
|
3306
|
+
"label.errors.dateRangeOrder": "La data di fine non può essere anteriore alla data di inizio.",
|
|
3307
|
+
"label.errors.dateValidity": "Per favore, inserisci una data valida.",
|
|
3308
|
+
"label.errors.max": "Inserisci un valore non maggiore di {{context}} .",
|
|
3309
|
+
"label.errors.maxLength": "Inserisci non più di {{context}} caratteri.",
|
|
3310
|
+
"label.errors.min": "Inserisci un valore non inferiore a {{context}} .",
|
|
3311
|
+
"label.errors.minLength": "Inserisci almeno {{context}} caratteri.",
|
|
3312
|
+
"label.errors.required": "Questo campo è obbligatorio.",
|
|
3313
|
+
"label.preventativeErrors.alpha": "Questo campo accetta solo valori alfabetici.",
|
|
3314
|
+
"label.preventativeErrors.maxLength": "Questo campo accetta un numero massimo di caratteri.",
|
|
3315
|
+
"label.preventativeErrors.nonNumeric": "Questo campo accetta solo valori non numerici.",
|
|
3316
|
+
"label.preventativeErrors.numeric": "Questo campo accetta solo valori numerici (zero o maggiori).",
|
|
3317
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Questo campo accetta solo valori numerici.",
|
|
3318
|
+
"label.stronglySuggested": "Questo campo è fortemente consigliato.",
|
|
3319
|
+
"listActionBar.clearSelected": "Cancella selezione",
|
|
3320
|
+
"listActionBar.itemsSelected": "Elementi selezionati",
|
|
3321
|
+
"listToolbar.advancedSearchToggle": "Ricerca avanzata",
|
|
3322
|
+
"modal.close": "Chiudi modale",
|
|
3323
|
+
"modal.defaultButtonLabel": "Okay",
|
|
3324
|
+
"modal.defaultTitle.general": "Azione",
|
|
3325
|
+
"modal.defaultTitle.info": "Informazioni",
|
|
3326
|
+
"modal.defaultTitle.serious-warning": "Avviso",
|
|
3327
|
+
"modal.defaultTitle.success": "Successo",
|
|
3328
|
+
"modal.defaultTitle.warning": "Avviso",
|
|
3329
|
+
"pagination.nextPage": "Pagina successiva",
|
|
3330
|
+
"pagination.ofMany": "di molti",
|
|
3331
|
+
"pagination.ofPageCount": "di {{pageCount}}",
|
|
3332
|
+
"pagination.page": "Pagina",
|
|
3333
|
+
"pagination.prevPage": "Pagina precedente",
|
|
3334
|
+
"progressBar.closeButtonTitle": "Chiudi barra di avanzamento",
|
|
3335
|
+
"searchResultsBar.clear": "Cancella",
|
|
3336
|
+
"searchResultsBar.clearResults": "Risultati chiari",
|
|
3337
|
+
"searchResultsBar.count": "{{count}} di {{total}}",
|
|
3338
|
+
"searchResultsBar.matchingResults": "Risultati corrispondenti",
|
|
3339
|
+
"searchResultsBar.noAdvancedSearchSelections": "Nessuna selezione di ricerca avanzata",
|
|
3340
|
+
"searchResultsBar.results": "Risultati:",
|
|
3341
|
+
"select.defaultPlaceholder": "Selezionane uno…",
|
|
3342
|
+
"slackLink.label": "Chiacchierare",
|
|
3343
|
+
"slideInPanel.close": "Chiudi",
|
|
3344
|
+
"slideInPanel.defaultTitle": "Pannello scorrevole",
|
|
3345
|
+
"spinner.defaultAltText": "Caricamento in corso…",
|
|
3346
|
+
"taskQueue.clearCompleted": "Rimuovi completati",
|
|
3347
|
+
"taskQueue.newTask": "Hai una nuova attività in coda.",
|
|
3348
|
+
"taskQueue.noTasks": "Al momento non ci sono lavori nella tua coda."
|
|
3349
|
+
}, lr = {
|
|
3350
|
+
"addToList.disabledDragTooltip": "Slepen en neerzetten is uitgeschakeld wanneer filters zijn ingeschakeld",
|
|
3351
|
+
"addToList.moveAllItemsToCol": "Verplaats alles naar " {{columnName}} "",
|
|
3352
|
+
"addToList.noDataZeroStateColumnTitle": "Deze kolom is leeg",
|
|
3353
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Opties verwijderen uit de {{columnName}}",
|
|
3354
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Verplaats opties van de {{columnName}}",
|
|
3355
|
+
"addToList.offColumnHeader": "Uit kolom",
|
|
3356
|
+
"addToList.onColumnHeader": "Op kolom",
|
|
3357
|
+
"advancedSearch.clear": "Velden wissen",
|
|
3358
|
+
"advancedSearch.search": "Zoeken",
|
|
3359
|
+
"button.spinningTitle": "Bezig met laden…",
|
|
3360
|
+
"columnChooser.removeButton": "Verwijder {{elementName}}",
|
|
3361
|
+
"columnManager.cancelButton": "Annuleren",
|
|
3362
|
+
"columnManager.filterText": "Vind een kolom",
|
|
3363
|
+
"columnManager.offListHeader": "Verborgen kolommen",
|
|
3364
|
+
"columnManager.onListHeader": "Zichtbare kolommen",
|
|
3365
|
+
"columnManager.saveButton": "Opslaan",
|
|
3366
|
+
"columnManager.title": "Tabelkolommen beheren",
|
|
3367
|
+
"contentRow.collapse": "Ineenstorting",
|
|
3368
|
+
"contentRow.expand": "Uitbreiden",
|
|
3369
|
+
"datepicker.calendar.nextMonth": "Bekijk volgende maand",
|
|
3370
|
+
"datepicker.calendar.prevMonth": "Bekijk vorige maand",
|
|
3371
|
+
"datepicker.preset.after": "Na",
|
|
3372
|
+
"datepicker.preset.before": "Voordat",
|
|
3373
|
+
"datepicker.preset.custom": "Op maat",
|
|
3374
|
+
"datepicker.preset.ninetyDays": "Laatste 90 dagen",
|
|
3375
|
+
"datepicker.preset.oneYear": "Afgelopen jaar",
|
|
3376
|
+
"datepicker.preset.sevenDays": "Laatste 7 dagen",
|
|
3377
|
+
"datepicker.preset.sixtyDays": "Laatste 60 dagen",
|
|
3378
|
+
"datepicker.preset.thirtyDays": "Laatste 30 dagen",
|
|
3379
|
+
"datepicker.preset.today": "Vandaag",
|
|
3380
|
+
"datepicker.presetsLabel": "Bereiken",
|
|
3381
|
+
"fileUpload.acceptedTypes": { one: "{{fileTypes}} formaat geaccepteerd", other: "{{fileTypes}} formaten geaccepteerd" },
|
|
3382
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} formaat geaccepteerd",
|
|
3383
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} formaten geaccepteerd",
|
|
3384
|
+
"fileUpload.cancelled": { one: "Bestandsupload mislukt", other: "Bestandsupload(s) mislukt" },
|
|
3385
|
+
"fileUpload.cancelled.one": "Bestandsupload mislukt",
|
|
3386
|
+
"fileUpload.cancelled.other": "Bestandsupload(s) mislukt",
|
|
3387
|
+
"fileUpload.close": "Dicht",
|
|
3388
|
+
"fileUpload.instructions": { one: "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.", other: "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad." },
|
|
3389
|
+
"fileUpload.instructions.one": "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.",
|
|
3390
|
+
"fileUpload.instructions.other": "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad.",
|
|
3391
|
+
"fileUpload.maximumSize": "{{size}} maximaal",
|
|
3392
|
+
"fileUpload.processing": "Uploaden verwerken…",
|
|
3393
|
+
"fileUpload.title": "Upload uw {{description}}",
|
|
3394
|
+
"filterPanel.clear": "Filters wissen",
|
|
3395
|
+
"filterPanel.filterPlaceholder": "Filteropties",
|
|
3396
|
+
"filterPanel.title": "filters",
|
|
3397
|
+
"focusedTask.close": "Dicht",
|
|
3398
|
+
"growler.dismiss": "Ontslaan",
|
|
3399
|
+
"insightCard.all": "Alle",
|
|
3400
|
+
"insightCard.partnerCount": "{{count}} |van| {{total}}",
|
|
3401
|
+
"insightCard.partners": "partners",
|
|
3402
|
+
"insightTile.all": "Alle",
|
|
3403
|
+
"insightTile.partnerCount": "{{count}} |van| {{total}}",
|
|
3404
|
+
"insightTile.partners": "partners",
|
|
3405
|
+
"label.errors.dateConstraint.max": "Voer een datum in die op of vóór {{context.maxExceeded}} valt.",
|
|
3406
|
+
"label.errors.dateConstraint.min": "Voer een datum in die op of na {{context.minExceeded}} valt.",
|
|
3407
|
+
"label.errors.dateFormat": "Voer een datum in het formaat {{context}} in.",
|
|
3408
|
+
"label.errors.dateRangeOrder": "De einddatum kan niet vóór de startdatum liggen.",
|
|
3409
|
+
"label.errors.dateValidity": "Vul alstublieft een geldige datum in.",
|
|
3410
|
+
"label.errors.max": "Voer een waarde in die niet groter is dan {{context}} .",
|
|
3411
|
+
"label.errors.maxLength": "Voer maximaal {{context}} tekens in.",
|
|
3412
|
+
"label.errors.min": "Voer een waarde in die minimaal {{context}} .",
|
|
3413
|
+
"label.errors.minLength": "Voer minimaal {{context}} tekens in.",
|
|
3414
|
+
"label.errors.required": "Dit veld is verplicht.",
|
|
3415
|
+
"label.preventativeErrors.alpha": "Dit veld accepteert alleen alfabetische waarden.",
|
|
3416
|
+
"label.preventativeErrors.maxLength": "Voor dit veld is een maximaal aantal tekens toegestaan.",
|
|
3417
|
+
"label.preventativeErrors.nonNumeric": "Dit veld accepteert alleen niet-numerieke waarden.",
|
|
3418
|
+
"label.preventativeErrors.numeric": "Dit veld accepteert alleen numerieke waarden (nul of groter).",
|
|
3419
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Dit veld accepteert alleen numerieke waarden.",
|
|
3420
|
+
"label.stronglySuggested": "Dit veld wordt sterk aanbevolen.",
|
|
3421
|
+
"listActionBar.clearSelected": "Geselecteerd wissen",
|
|
3422
|
+
"listActionBar.itemsSelected": "Geselecteerde items",
|
|
3423
|
+
"listToolbar.advancedSearchToggle": "geavanceerd zoeken",
|
|
3424
|
+
"modal.close": "Sluit modaal",
|
|
3425
|
+
"modal.defaultButtonLabel": "oke",
|
|
3426
|
+
"modal.defaultTitle.general": "Actie",
|
|
3427
|
+
"modal.defaultTitle.info": "Info",
|
|
3428
|
+
"modal.defaultTitle.serious-warning": "Waarschuwing",
|
|
3429
|
+
"modal.defaultTitle.success": "Succes",
|
|
3430
|
+
"modal.defaultTitle.warning": "Waarschuwing",
|
|
3431
|
+
"pagination.nextPage": "Volgende pagina",
|
|
3432
|
+
"pagination.ofMany": "van velen",
|
|
3433
|
+
"pagination.ofPageCount": "van {{pageCount}}",
|
|
3434
|
+
"pagination.page": "Pagina",
|
|
3435
|
+
"pagination.prevPage": "Vorige pagina",
|
|
3436
|
+
"progressBar.closeButtonTitle": "Sluit de voortgangsbalk",
|
|
3437
|
+
"searchResultsBar.clear": "Duidelijk",
|
|
3438
|
+
"searchResultsBar.clearResults": "Resultaten wissen",
|
|
3439
|
+
"searchResultsBar.count": "{{count}} van {{total}}",
|
|
3440
|
+
"searchResultsBar.matchingResults": "Overeenkomende resultaten",
|
|
3441
|
+
"searchResultsBar.noAdvancedSearchSelections": "Geen geavanceerde zoekselecties",
|
|
3442
|
+
"searchResultsBar.results": "Resultaten:",
|
|
3443
|
+
"select.defaultPlaceholder": "Selecteer er één…",
|
|
3444
|
+
"slackLink.label": "babbelen",
|
|
3445
|
+
"slideInPanel.close": "Dicht",
|
|
3446
|
+
"slideInPanel.defaultTitle": "Schuifpaneel",
|
|
3447
|
+
"spinner.defaultAltText": "Bezig met laden…",
|
|
3448
|
+
"taskQueue.clearCompleted": "Duidelijk voltooid",
|
|
3449
|
+
"taskQueue.newTask": "Er staat een nieuwe taak in uw wachtrij.",
|
|
3450
|
+
"taskQueue.noTasks": "Er staan momenteel geen taken in uw wachtrij."
|
|
3451
|
+
}, ur = {
|
|
3452
|
+
"addToList.disabledDragTooltip": "使用过滤器时,拖放功能将被禁用",
|
|
3453
|
+
"addToList.moveAllItemsToCol": "全部移动到“ {{columnName}} ”",
|
|
3454
|
+
"addToList.noDataZeroStateColumnTitle": "此列为空",
|
|
3455
|
+
"addToList.noDataZeroStateOffColumnSubheading": "从{{columnName}}中删除选项",
|
|
3456
|
+
"addToList.noDataZeroStateOnColumnSubheading": "从{{columnName}}移动选项",
|
|
3457
|
+
"addToList.offColumnHeader": "列外",
|
|
3458
|
+
"addToList.onColumnHeader": "在柱上",
|
|
3459
|
+
"advancedSearch.clear": "清除字段",
|
|
3460
|
+
"advancedSearch.search": "搜索",
|
|
3461
|
+
"button.spinningTitle": "加载中…",
|
|
3462
|
+
"columnChooser.removeButton": "删除{{elementName}}",
|
|
3463
|
+
"columnManager.cancelButton": "取消",
|
|
3464
|
+
"columnManager.filterText": "查找列",
|
|
3465
|
+
"columnManager.offListHeader": "隐藏列",
|
|
3466
|
+
"columnManager.onListHeader": "可见列",
|
|
3467
|
+
"columnManager.saveButton": "保存",
|
|
3468
|
+
"columnManager.title": "管理表列",
|
|
3469
|
+
"contentRow.collapse": "坍塌",
|
|
3470
|
+
"contentRow.expand": "扩张",
|
|
3471
|
+
"datepicker.calendar.nextMonth": "查看下个月",
|
|
3472
|
+
"datepicker.calendar.prevMonth": "查看上个月",
|
|
3473
|
+
"datepicker.preset.after": "后",
|
|
3474
|
+
"datepicker.preset.before": "前",
|
|
3475
|
+
"datepicker.preset.custom": "习惯",
|
|
3476
|
+
"datepicker.preset.ninetyDays": "最近 90 天",
|
|
3477
|
+
"datepicker.preset.oneYear": "去年",
|
|
3478
|
+
"datepicker.preset.sevenDays": "最近 7 天",
|
|
3479
|
+
"datepicker.preset.sixtyDays": "最近 60 天",
|
|
3480
|
+
"datepicker.preset.thirtyDays": "最近 30 天",
|
|
3481
|
+
"datepicker.preset.today": "今天",
|
|
3482
|
+
"datepicker.presetsLabel": "范围",
|
|
3483
|
+
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}个格式" },
|
|
3484
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3485
|
+
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}个格式",
|
|
3486
|
+
"fileUpload.cancelled": { other: "文件上传失败" },
|
|
3487
|
+
"fileUpload.cancelled.one": "文件上传失败",
|
|
3488
|
+
"fileUpload.cancelled.other": "文件上传失败",
|
|
3489
|
+
"fileUpload.close": "关闭",
|
|
3490
|
+
"fileUpload.instructions": { other: "将您的文件拖放到此处或|浏览文件|到您的桌面上。" },
|
|
3491
|
+
"fileUpload.instructions.one": "将您的文件拖放到此处或在桌面上|浏览文件|。",
|
|
3492
|
+
"fileUpload.instructions.other": "将您的文件拖放到此处或|浏览文件|到您的桌面上。",
|
|
3493
|
+
"fileUpload.maximumSize": "最大{{size}}",
|
|
3494
|
+
"fileUpload.processing": "正在处理上传...",
|
|
3495
|
+
"fileUpload.title": "上传您的{{description}}",
|
|
3496
|
+
"filterPanel.clear": "清除筛选条件",
|
|
3497
|
+
"filterPanel.filterPlaceholder": "过滤选项",
|
|
3498
|
+
"filterPanel.title": "筛选条件",
|
|
3499
|
+
"focusedTask.close": "关闭",
|
|
3500
|
+
"growler.dismiss": "解雇",
|
|
3501
|
+
"insightCard.all": "所有",
|
|
3502
|
+
"insightCard.partnerCount": "{{count}} | 的| {{total}}",
|
|
3503
|
+
"insightCard.partners": "贸易伙伴",
|
|
3504
|
+
"insightTile.all": "所有",
|
|
3505
|
+
"insightTile.partnerCount": "{{count}} | 的| {{total}}",
|
|
3506
|
+
"insightTile.partners": "贸易伙伴",
|
|
3507
|
+
"label.errors.dateConstraint.max": "请输入{{context.maxExceeded}}或之前的日期。",
|
|
3508
|
+
"label.errors.dateConstraint.min": "请输入{{context.minExceeded}}或之后的日期。",
|
|
3509
|
+
"label.errors.dateFormat": "请以{{context}}格式输入日期。",
|
|
3510
|
+
"label.errors.dateRangeOrder": "结束日期不能早于开始日期。",
|
|
3511
|
+
"label.errors.dateValidity": "请输入有效的日期。",
|
|
3512
|
+
"label.errors.max": "请输入不大于{{context}}值。",
|
|
3513
|
+
"label.errors.maxLength": "请输入不超过{{context}}个字符。",
|
|
3514
|
+
"label.errors.min": "请输入不小于{{context}}值。",
|
|
3515
|
+
"label.errors.minLength": "请输入至少{{context}}个字符。",
|
|
3516
|
+
"label.errors.required": "此字段是必填字段。",
|
|
3517
|
+
"label.preventativeErrors.alpha": "此字段仅接受字母值。",
|
|
3518
|
+
"label.preventativeErrors.maxLength": "此字段接受最大字符数。",
|
|
3519
|
+
"label.preventativeErrors.nonNumeric": "此字段仅接受非数字值。",
|
|
3520
|
+
"label.preventativeErrors.numeric": "此字段仅接受数值(零或更大)。",
|
|
3521
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "此字段仅接受数值。",
|
|
3522
|
+
"label.stronglySuggested": "强烈建议使用此字段。",
|
|
3523
|
+
"listActionBar.clearSelected": "清除选定",
|
|
3524
|
+
"listActionBar.itemsSelected": "已选商品",
|
|
3525
|
+
"listToolbar.advancedSearchToggle": "高级搜索",
|
|
3526
|
+
"modal.close": "关闭模式",
|
|
3527
|
+
"modal.defaultButtonLabel": "好的",
|
|
3528
|
+
"modal.defaultTitle.general": "行动",
|
|
3529
|
+
"modal.defaultTitle.info": "信息",
|
|
3530
|
+
"modal.defaultTitle.serious-warning": "提醒",
|
|
3531
|
+
"modal.defaultTitle.success": "成功",
|
|
3532
|
+
"modal.defaultTitle.warning": "提醒",
|
|
3533
|
+
"pagination.nextPage": "下一页",
|
|
3534
|
+
"pagination.ofMany": "许多",
|
|
3535
|
+
"pagination.ofPageCount": "共{{pageCount}}",
|
|
3536
|
+
"pagination.page": "页",
|
|
3537
|
+
"pagination.prevPage": "上一页",
|
|
3538
|
+
"progressBar.closeButtonTitle": "关闭进度条",
|
|
3539
|
+
"searchResultsBar.clear": "明确",
|
|
3540
|
+
"searchResultsBar.clearResults": "清晰的结果",
|
|
3541
|
+
"searchResultsBar.count": "{{count}}个,共{{total}}个",
|
|
3542
|
+
"searchResultsBar.matchingResults": "匹配结果",
|
|
3543
|
+
"searchResultsBar.noAdvancedSearchSelections": "没有高级搜索选择",
|
|
3544
|
+
"searchResultsBar.results": "结果:",
|
|
3545
|
+
"select.defaultPlaceholder": "选择一个…",
|
|
3546
|
+
"slackLink.label": "聊天",
|
|
3547
|
+
"slideInPanel.close": "关闭",
|
|
3548
|
+
"slideInPanel.defaultTitle": "滑入面板",
|
|
3549
|
+
"spinner.defaultAltText": "加载中…",
|
|
3550
|
+
"taskQueue.clearCompleted": "清除完毕",
|
|
3551
|
+
"taskQueue.newTask": "您的队列中有一项新任务。",
|
|
3552
|
+
"taskQueue.noTasks": "您的队列中目前没有任务。"
|
|
3553
|
+
}, cr = {
|
|
3554
|
+
"addToList.disabledDragTooltip": "使用過濾器時,拖放功能將被停用",
|
|
3555
|
+
"addToList.moveAllItemsToCol": "全部移動到“ {{columnName}} ”",
|
|
3556
|
+
"addToList.noDataZeroStateColumnTitle": "此列為空",
|
|
3557
|
+
"addToList.noDataZeroStateOffColumnSubheading": "從{{columnName}}中刪除選項",
|
|
3558
|
+
"addToList.noDataZeroStateOnColumnSubheading": "從{{columnName}}移動選項",
|
|
3559
|
+
"addToList.offColumnHeader": "列外",
|
|
3560
|
+
"addToList.onColumnHeader": "在柱上",
|
|
3561
|
+
"advancedSearch.clear": "清除字段",
|
|
3562
|
+
"advancedSearch.search": "搜尋",
|
|
3563
|
+
"button.spinningTitle": "載入中…",
|
|
3564
|
+
"columnChooser.removeButton": "刪除{{elementName}}",
|
|
3565
|
+
"columnManager.cancelButton": "取消",
|
|
3566
|
+
"columnManager.filterText": "尋找列",
|
|
3567
|
+
"columnManager.offListHeader": "隱藏列",
|
|
3568
|
+
"columnManager.onListHeader": "可見列",
|
|
3569
|
+
"columnManager.saveButton": "儲存",
|
|
3570
|
+
"columnManager.title": "管理表列",
|
|
3571
|
+
"contentRow.collapse": "坍塌",
|
|
3572
|
+
"contentRow.expand": "擴張",
|
|
3573
|
+
"datepicker.calendar.nextMonth": "查看下個月",
|
|
3574
|
+
"datepicker.calendar.prevMonth": "看看上個月",
|
|
3575
|
+
"datepicker.preset.after": "後",
|
|
3576
|
+
"datepicker.preset.before": "前",
|
|
3577
|
+
"datepicker.preset.custom": "習慣",
|
|
3578
|
+
"datepicker.preset.ninetyDays": "過去 90 天",
|
|
3579
|
+
"datepicker.preset.oneYear": "去年",
|
|
3580
|
+
"datepicker.preset.sevenDays": "過去 7 天",
|
|
3581
|
+
"datepicker.preset.sixtyDays": "過去 60 天",
|
|
3582
|
+
"datepicker.preset.thirtyDays": "最近30天",
|
|
3583
|
+
"datepicker.preset.today": "今天",
|
|
3584
|
+
"datepicker.presetsLabel": "範圍",
|
|
3585
|
+
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}個格式" },
|
|
3586
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3587
|
+
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}個格式",
|
|
3588
|
+
"fileUpload.cancelled": { other: "文件上傳失敗" },
|
|
3589
|
+
"fileUpload.cancelled.one": "文件上傳失敗",
|
|
3590
|
+
"fileUpload.cancelled.other": "文件上傳失敗",
|
|
3591
|
+
"fileUpload.close": "關閉",
|
|
3592
|
+
"fileUpload.instructions": { other: "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。" },
|
|
3593
|
+
"fileUpload.instructions.one": "將您的文件拖放到此處或在桌面上|瀏覽文件|。",
|
|
3594
|
+
"fileUpload.instructions.other": "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。",
|
|
3595
|
+
"fileUpload.maximumSize": "最大{{size}}",
|
|
3596
|
+
"fileUpload.processing": "正在處理上傳...",
|
|
3597
|
+
"fileUpload.title": "上傳您的{{description}}",
|
|
3598
|
+
"filterPanel.clear": "清除過濾器",
|
|
3599
|
+
"filterPanel.filterPlaceholder": "過濾選項",
|
|
3600
|
+
"filterPanel.title": "過濾器",
|
|
3601
|
+
"focusedTask.close": "關閉",
|
|
3602
|
+
"growler.dismiss": "解僱",
|
|
3603
|
+
"insightCard.all": "所有",
|
|
3604
|
+
"insightCard.partnerCount": "{{count}} | 的| {{total}}",
|
|
3605
|
+
"insightCard.partners": "貿易夥伴",
|
|
3606
|
+
"insightTile.all": "所有",
|
|
3607
|
+
"insightTile.partnerCount": "{{count}} | 的| {{total}}",
|
|
3608
|
+
"insightTile.partners": "貿易夥伴",
|
|
3609
|
+
"label.errors.dateConstraint.max": "請輸入{{context.maxExceeded}}或之前的日期。",
|
|
3610
|
+
"label.errors.dateConstraint.min": "請輸入{{context.minExceeded}}或之後的日期。",
|
|
3611
|
+
"label.errors.dateFormat": "請以{{context}}格式輸入日期。",
|
|
3612
|
+
"label.errors.dateRangeOrder": "結束日期不能早於開始日期。",
|
|
3613
|
+
"label.errors.dateValidity": "請輸入有效的日期。",
|
|
3614
|
+
"label.errors.max": "請輸入不大於{{context}}值。",
|
|
3615
|
+
"label.errors.maxLength": "請輸入不超過{{context}}個字元。",
|
|
3616
|
+
"label.errors.min": "請輸入不小於{{context}}值。",
|
|
3617
|
+
"label.errors.minLength": "請輸入至少{{context}}個字元。",
|
|
3618
|
+
"label.errors.required": "這是必填欄位。",
|
|
3619
|
+
"label.preventativeErrors.alpha": "此欄位僅接受字母值。",
|
|
3620
|
+
"label.preventativeErrors.maxLength": "此欄位接受最大字元數。",
|
|
3621
|
+
"label.preventativeErrors.nonNumeric": "此欄位僅接受非數字值。",
|
|
3622
|
+
"label.preventativeErrors.numeric": "此欄位僅接受數值(零或更大)。",
|
|
3623
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "此欄位僅接受數值。",
|
|
3624
|
+
"label.stronglySuggested": "強烈建議使用此欄位。",
|
|
3625
|
+
"listActionBar.clearSelected": "清除選定",
|
|
3626
|
+
"listActionBar.itemsSelected": "已選商品",
|
|
3627
|
+
"listToolbar.advancedSearchToggle": "高級搜尋",
|
|
3628
|
+
"modal.close": "關閉模式",
|
|
3629
|
+
"modal.defaultButtonLabel": "好的",
|
|
3630
|
+
"modal.defaultTitle.general": "行動",
|
|
3631
|
+
"modal.defaultTitle.info": "信息",
|
|
3632
|
+
"modal.defaultTitle.serious-warning": "警告",
|
|
3633
|
+
"modal.defaultTitle.success": "成功",
|
|
3634
|
+
"modal.defaultTitle.warning": "警告",
|
|
3635
|
+
"pagination.nextPage": "下一頁",
|
|
3636
|
+
"pagination.ofMany": "許多",
|
|
3637
|
+
"pagination.ofPageCount": "共{{pageCount}}",
|
|
3638
|
+
"pagination.page": "頁",
|
|
3639
|
+
"pagination.prevPage": "上一頁",
|
|
3640
|
+
"progressBar.closeButtonTitle": "關閉進度條",
|
|
3641
|
+
"searchResultsBar.clear": "明確",
|
|
3642
|
+
"searchResultsBar.clearResults": "清晰的結果",
|
|
3643
|
+
"searchResultsBar.count": "{{count}} 個,共 {{total}} 個",
|
|
3644
|
+
"searchResultsBar.matchingResults": "匹配結果",
|
|
3645
|
+
"searchResultsBar.noAdvancedSearchSelections": "沒有高級搜尋選擇",
|
|
3646
|
+
"searchResultsBar.results": "結果:",
|
|
3647
|
+
"select.defaultPlaceholder": "選擇一個…",
|
|
3648
|
+
"slackLink.label": "聊",
|
|
3649
|
+
"slideInPanel.close": "關閉",
|
|
3650
|
+
"slideInPanel.defaultTitle": "滑入面板",
|
|
3651
|
+
"spinner.defaultAltText": "載入中…",
|
|
3652
|
+
"taskQueue.clearCompleted": "完成清除",
|
|
3653
|
+
"taskQueue.newTask": "您的隊列中有一項新任務。",
|
|
3654
|
+
"taskQueue.noTasks": "目前沒有待處理任務。"
|
|
3655
|
+
}, ae = $.createInstance({
|
|
3656
|
+
defaultNS: "woodland",
|
|
3657
|
+
ns: ["woodland"],
|
|
3658
|
+
fallbackLng: "en-US",
|
|
3659
|
+
debug: !1,
|
|
3660
|
+
keySeparator: !1,
|
|
3661
|
+
resources: {
|
|
3662
|
+
"en-US": { woodland: rr },
|
|
3663
|
+
"de-DE": { woodland: ar },
|
|
3664
|
+
"es-ES": { woodland: nr },
|
|
3665
|
+
"fr-CA": { woodland: ir },
|
|
3666
|
+
"fr-FR": { woodland: or },
|
|
3667
|
+
"it-IT": { woodland: sr },
|
|
3668
|
+
"nl-NL": { woodland: lr },
|
|
3669
|
+
"zh-CN": { woodland: ur },
|
|
3670
|
+
"zh-TW": { woodland: cr }
|
|
3671
|
+
},
|
|
3672
|
+
interpolation: {
|
|
3673
|
+
escapeValue: !1
|
|
3674
|
+
}
|
|
3675
|
+
});
|
|
3676
|
+
ae.init();
|
|
3677
|
+
function fr(n) {
|
|
3678
|
+
return wt("woodland", {
|
|
3679
|
+
...n,
|
|
3680
|
+
i18n: ae
|
|
3681
|
+
});
|
|
3682
|
+
}
|
|
3683
|
+
function pr({
|
|
3684
|
+
detectorConfig: n,
|
|
2736
3685
|
translationPath: t,
|
|
2737
|
-
customDetectors:
|
|
3686
|
+
customDetectors: a,
|
|
2738
3687
|
...e
|
|
2739
3688
|
}) {
|
|
2740
|
-
const r = new
|
|
3689
|
+
const r = new Ot(), i = {
|
|
2741
3690
|
name: "hashRouterQuerystringDetector",
|
|
2742
|
-
lookup: (
|
|
3691
|
+
lookup: (d) => {
|
|
2743
3692
|
try {
|
|
2744
|
-
const
|
|
2745
|
-
if (
|
|
2746
|
-
const
|
|
2747
|
-
if (
|
|
2748
|
-
return
|
|
3693
|
+
const f = d && d.lookupQuerystring || "lang", m = new RegExp(`[?&]${f}(=([^&#]*)|&|#|$)`).exec(window.location.href);
|
|
3694
|
+
if (m && m[2]) {
|
|
3695
|
+
const p = decodeURIComponent(m[2].replace(/\+/g, " "));
|
|
3696
|
+
if (p)
|
|
3697
|
+
return p;
|
|
2749
3698
|
}
|
|
2750
|
-
} catch (
|
|
2751
|
-
console.error(
|
|
3699
|
+
} catch (f) {
|
|
3700
|
+
console.error(f);
|
|
2752
3701
|
}
|
|
2753
3702
|
}
|
|
2754
3703
|
};
|
|
2755
|
-
r.addDetector(i), Array.isArray(
|
|
2756
|
-
r.addDetector(
|
|
3704
|
+
r.addDetector(i), Array.isArray(a) && a.forEach((d) => {
|
|
3705
|
+
r.addDetector(d);
|
|
2757
3706
|
});
|
|
2758
|
-
const
|
|
3707
|
+
const l = {
|
|
2759
3708
|
fallbackLng: "en-US",
|
|
2760
3709
|
// set to false for production
|
|
2761
3710
|
debug: !0,
|
|
@@ -2773,14 +3722,9 @@ function rr({
|
|
|
2773
3722
|
// React takes care of interpolation for us
|
|
2774
3723
|
escapeValue: !1
|
|
2775
3724
|
},
|
|
2776
|
-
detection:
|
|
3725
|
+
detection: n || {
|
|
2777
3726
|
// order and from where user language should be detected
|
|
2778
|
-
order: [
|
|
2779
|
-
"querystring",
|
|
2780
|
-
"hashRouterQuerystringDetector",
|
|
2781
|
-
"cookie",
|
|
2782
|
-
"localStorage"
|
|
2783
|
-
],
|
|
3727
|
+
order: ["querystring", "hashRouterQuerystringDetector", "cookie", "localStorage"],
|
|
2784
3728
|
// keys or params to lookup language from
|
|
2785
3729
|
lookupQuerystring: "lang",
|
|
2786
3730
|
lookupCookie: "lang",
|
|
@@ -2794,15 +3738,23 @@ function rr({
|
|
|
2794
3738
|
cookieOptions: { path: "/", sameSite: "strict" }
|
|
2795
3739
|
},
|
|
2796
3740
|
...e
|
|
2797
|
-
};
|
|
2798
|
-
return
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
3741
|
+
}, u = $.use(Lt).use(r).use(fa).init(l);
|
|
3742
|
+
return $.on("initialized", () => {
|
|
3743
|
+
ae.changeLanguage($.language);
|
|
3744
|
+
}), $.on("loaded", () => {
|
|
3745
|
+
ae.changeLanguage($.language);
|
|
3746
|
+
}), $.on("languageChanged", (d) => {
|
|
3747
|
+
ae.changeLanguage(d);
|
|
3748
|
+
}), u;
|
|
3749
|
+
}
|
|
3750
|
+
const hr = Sa;
|
|
3751
|
+
function gr(n = "translation", t) {
|
|
3752
|
+
return wt(n, t);
|
|
2803
3753
|
}
|
|
2804
3754
|
export {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
3755
|
+
hr as SpsLanguage,
|
|
3756
|
+
ae as i18nWoodland,
|
|
3757
|
+
pr as localize,
|
|
3758
|
+
gr as useSpsLanguage,
|
|
3759
|
+
fr as useWoodlandLanguage
|
|
2808
3760
|
};
|