@invoice-sdk/widget 1.49.2 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-CIxF-wVw.js → index-BcZRvvL5.js} +494 -472
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +29 -29
- package/dist/{widget-CKOZlTSS.js → widget-CXSamkSI.js} +2302 -2161
- package/dist/widget.css +1 -1
- package/package.json +1 -1
|
@@ -36,50 +36,50 @@ const m = (o) => typeof o == "string", z = () => {
|
|
|
36
36
|
o.forEach((n) => {
|
|
37
37
|
e[n] && (t[n] = e[n]);
|
|
38
38
|
});
|
|
39
|
-
}, lt = /###/g, $e = (o) => o && o.indexOf("###") > -1 ? o.replace(lt, ".") : o,
|
|
39
|
+
}, lt = /###/g, $e = (o) => o && o.indexOf("###") > -1 ? o.replace(lt, ".") : o, Pe = (o) => !o || m(o), Q = (o, e, t) => {
|
|
40
40
|
const n = m(e) ? e.split(".") : e;
|
|
41
41
|
let i = 0;
|
|
42
42
|
for (; i < n.length - 1; ) {
|
|
43
|
-
if (
|
|
43
|
+
if (Pe(o)) return {};
|
|
44
44
|
const s = $e(n[i]);
|
|
45
45
|
!o[s] && t && (o[s] = new t()), Object.prototype.hasOwnProperty.call(o, s) ? o = o[s] : o = {}, ++i;
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return Pe(o) ? {} : {
|
|
48
48
|
obj: o,
|
|
49
49
|
k: $e(n[i])
|
|
50
50
|
};
|
|
51
|
-
},
|
|
51
|
+
}, we = (o, e, t) => {
|
|
52
52
|
const {
|
|
53
53
|
obj: n,
|
|
54
54
|
k: i
|
|
55
|
-
} =
|
|
55
|
+
} = Q(o, e, Object);
|
|
56
56
|
if (n !== void 0 || e.length === 1) {
|
|
57
57
|
n[i] = t;
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
|
-
let s = e[e.length - 1], r = e.slice(0, e.length - 1), a =
|
|
60
|
+
let s = e[e.length - 1], r = e.slice(0, e.length - 1), a = Q(o, r, Object);
|
|
61
61
|
for (; a.obj === void 0 && r.length; )
|
|
62
|
-
s = `${r[r.length - 1]}.${s}`, r = r.slice(0, r.length - 1), a =
|
|
62
|
+
s = `${r[r.length - 1]}.${s}`, r = r.slice(0, r.length - 1), a = Q(o, r, Object), a != null && a.obj && typeof a.obj[`${a.k}.${s}`] != "undefined" && (a.obj = void 0);
|
|
63
63
|
a.obj[`${a.k}.${s}`] = t;
|
|
64
64
|
}, ut = (o, e, t, n) => {
|
|
65
65
|
const {
|
|
66
66
|
obj: i,
|
|
67
67
|
k: s
|
|
68
|
-
} =
|
|
68
|
+
} = Q(o, e, Object);
|
|
69
69
|
i[s] = i[s] || [], i[s].push(t);
|
|
70
70
|
}, ee = (o, e) => {
|
|
71
71
|
const {
|
|
72
72
|
obj: t,
|
|
73
73
|
k: n
|
|
74
|
-
} =
|
|
74
|
+
} = Q(o, e);
|
|
75
75
|
if (t && Object.prototype.hasOwnProperty.call(t, n))
|
|
76
76
|
return t[n];
|
|
77
77
|
}, dt = (o, e, t) => {
|
|
78
78
|
const n = ee(o, t);
|
|
79
79
|
return n !== void 0 ? n : ee(e, t);
|
|
80
|
-
},
|
|
80
|
+
}, Ve = (o, e, t) => {
|
|
81
81
|
for (const n in e)
|
|
82
|
-
n !== "__proto__" && n !== "constructor" && (n in o ? m(o[n]) || o[n] instanceof String || m(e[n]) || e[n] instanceof String ? t && (o[n] = e[n]) :
|
|
82
|
+
n !== "__proto__" && n !== "constructor" && (n in o ? m(o[n]) || o[n] instanceof String || m(e[n]) || e[n] instanceof String ? t && (o[n] = e[n]) : Ve(o[n], e[n], t) : o[n] = e[n]);
|
|
83
83
|
return o;
|
|
84
84
|
}, U = (o) => o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
85
85
|
var ht = {
|
|
@@ -134,7 +134,7 @@ const gt = [" ", ",", "?", "!", ";"], mt = new pt(20), yt = (o, e, t) => {
|
|
|
134
134
|
i = r;
|
|
135
135
|
}
|
|
136
136
|
return i;
|
|
137
|
-
},
|
|
137
|
+
}, G = (o) => o == null ? void 0 : o.replace("_", "-"), vt = {
|
|
138
138
|
type: "logger",
|
|
139
139
|
log(o) {
|
|
140
140
|
this.output("log", o);
|
|
@@ -181,7 +181,7 @@ class te {
|
|
|
181
181
|
return e = e || this.options, e.prefix = e.prefix || this.prefix, new te(this.logger, e);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
var
|
|
184
|
+
var L = new te();
|
|
185
185
|
class oe {
|
|
186
186
|
constructor() {
|
|
187
187
|
this.observers = {};
|
|
@@ -239,7 +239,7 @@ class Ce extends oe {
|
|
|
239
239
|
}) {
|
|
240
240
|
const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
|
|
241
241
|
let a = [e, t];
|
|
242
|
-
n && (a = a.concat(r ? n.split(r) : n)), e.indexOf(".") > -1 && (a = e.split("."), i = t, t = a[1]), this.addNamespaces(t),
|
|
242
|
+
n && (a = a.concat(r ? n.split(r) : n)), e.indexOf(".") > -1 && (a = e.split("."), i = t, t = a[1]), this.addNamespaces(t), we(this.data, a, i), s.silent || this.emit("added", e, t, n, i);
|
|
243
243
|
}
|
|
244
244
|
addResources(e, t, n, i = {
|
|
245
245
|
silent: !1
|
|
@@ -257,7 +257,7 @@ class Ce extends oe {
|
|
|
257
257
|
let a = [e, t];
|
|
258
258
|
e.indexOf(".") > -1 && (a = e.split("."), i = n, n = t, t = a[1]), this.addNamespaces(t);
|
|
259
259
|
let c = ee(this.data, a) || {};
|
|
260
|
-
r.skipCopy || (n = JSON.parse(JSON.stringify(n))), i ?
|
|
260
|
+
r.skipCopy || (n = JSON.parse(JSON.stringify(n))), i ? Ve(c, n, s) : c = g(g({}, c), n), we(this.data, a, c), r.silent || this.emit("added", e, t, n);
|
|
261
261
|
}
|
|
262
262
|
removeResourceBundle(e, t) {
|
|
263
263
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -294,7 +294,7 @@ var ze = {
|
|
|
294
294
|
const Te = {}, ke = (o) => !m(o) && typeof o != "boolean" && typeof o != "number";
|
|
295
295
|
class ne extends oe {
|
|
296
296
|
constructor(e, t = {}) {
|
|
297
|
-
super(), ct(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
297
|
+
super(), ct(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = L.create("translator");
|
|
298
298
|
}
|
|
299
299
|
changeLanguage(e) {
|
|
300
300
|
e && (this.language = e);
|
|
@@ -357,13 +357,13 @@ class ne extends oe {
|
|
|
357
357
|
} : a;
|
|
358
358
|
const f = this.resolve(e, i);
|
|
359
359
|
let h = f == null ? void 0 : f.res;
|
|
360
|
-
const y = (f == null ? void 0 : f.usedKey) || a, v = (f == null ? void 0 : f.exactUsedKey) || a, T = ["[object Number]", "[object Function]", "[object RegExp]"], C = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays,
|
|
360
|
+
const y = (f == null ? void 0 : f.usedKey) || a, v = (f == null ? void 0 : f.exactUsedKey) || a, T = ["[object Number]", "[object Function]", "[object RegExp]"], C = i.joinArrays !== void 0 ? i.joinArrays : this.options.joinArrays, D = !this.i18nFormat || this.i18nFormat.handleAsObject, x = i.count !== void 0 && !m(i.count), N = ne.hasDefaultValue(i), _ = x ? this.pluralResolver.getSuffix(u, i.count, i) : "", R = i.ordinal && x ? this.pluralResolver.getSuffix(u, i.count, {
|
|
361
361
|
ordinal: !1
|
|
362
|
-
}) : "",
|
|
362
|
+
}) : "", B = x && !i.ordinal && i.count === 0, P = B && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${_}`] || i[`defaultValue${R}`] || i.defaultValue;
|
|
363
363
|
let S = h;
|
|
364
|
-
|
|
364
|
+
D && !h && N && (S = P);
|
|
365
365
|
const tt = ke(S), nt = Object.prototype.toString.apply(S);
|
|
366
|
-
if (
|
|
366
|
+
if (D && S && tt && T.indexOf(nt) < 0 && !(m(C) && Array.isArray(S))) {
|
|
367
367
|
if (!i.returnObjects && !this.options.returnObjects) {
|
|
368
368
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
369
369
|
const O = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, S, $(g({}, i), {
|
|
@@ -373,50 +373,50 @@ class ne extends oe {
|
|
|
373
373
|
}
|
|
374
374
|
if (r) {
|
|
375
375
|
const O = Array.isArray(S), k = O ? [] : {}, ge = O ? v : y;
|
|
376
|
-
for (const
|
|
377
|
-
if (Object.prototype.hasOwnProperty.call(S,
|
|
378
|
-
const F = `${ge}${r}${
|
|
379
|
-
N && !h ? k[
|
|
380
|
-
defaultValue: ke(
|
|
376
|
+
for (const I in S)
|
|
377
|
+
if (Object.prototype.hasOwnProperty.call(S, I)) {
|
|
378
|
+
const F = `${ge}${r}${I}`;
|
|
379
|
+
N && !h ? k[I] = this.translate(F, $(g({}, i), {
|
|
380
|
+
defaultValue: ke(P) ? P[I] : void 0,
|
|
381
381
|
joinArrays: !1,
|
|
382
382
|
ns: c
|
|
383
|
-
})) : k[
|
|
383
|
+
})) : k[I] = this.translate(F, $(g({}, i), {
|
|
384
384
|
joinArrays: !1,
|
|
385
385
|
ns: c
|
|
386
|
-
})), k[
|
|
386
|
+
})), k[I] === F && (k[I] = S[I]);
|
|
387
387
|
}
|
|
388
388
|
h = k;
|
|
389
389
|
}
|
|
390
|
-
} else if (
|
|
390
|
+
} else if (D && m(C) && Array.isArray(h))
|
|
391
391
|
h = h.join(C), h && (h = this.extendTranslation(h, e, i, n));
|
|
392
392
|
else {
|
|
393
393
|
let O = !1, k = !1;
|
|
394
|
-
!this.isValidLookup(h) && N && (O = !0, h =
|
|
395
|
-
const
|
|
394
|
+
!this.isValidLookup(h) && N && (O = !0, h = P), this.isValidLookup(h) || (k = !0, h = a);
|
|
395
|
+
const I = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && k ? void 0 : h, F = N && P !== h && this.options.updateMissing;
|
|
396
396
|
if (k || O || F) {
|
|
397
|
-
if (this.logger.log(F ? "updateKey" : "missingKey", u, l, a, F ?
|
|
398
|
-
const
|
|
397
|
+
if (this.logger.log(F ? "updateKey" : "missingKey", u, l, a, F ? P : h), r) {
|
|
398
|
+
const w = this.resolve(a, $(g({}, i), {
|
|
399
399
|
keySeparator: !1
|
|
400
400
|
}));
|
|
401
|
-
|
|
401
|
+
w && w.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.");
|
|
402
402
|
}
|
|
403
|
-
let
|
|
403
|
+
let q = [];
|
|
404
404
|
const J = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language);
|
|
405
405
|
if (this.options.saveMissingTo === "fallback" && J && J[0])
|
|
406
|
-
for (let
|
|
407
|
-
|
|
408
|
-
else this.options.saveMissingTo === "all" ?
|
|
409
|
-
const me = (
|
|
406
|
+
for (let w = 0; w < J.length; w++)
|
|
407
|
+
q.push(J[w]);
|
|
408
|
+
else this.options.saveMissingTo === "all" ? q = this.languageUtils.toResolveHierarchy(i.lng || this.language) : q.push(i.lng || this.language);
|
|
409
|
+
const me = (w, A, V) => {
|
|
410
410
|
var ve;
|
|
411
|
-
const ye = N &&
|
|
412
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
411
|
+
const ye = N && V !== h ? V : I;
|
|
412
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(w, l, A, ye, F, i) : (ve = this.backendConnector) != null && ve.saveMissing && this.backendConnector.saveMissing(w, l, A, ye, F, i), this.emit("missingKey", w, l, A, h);
|
|
413
413
|
};
|
|
414
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && x ?
|
|
415
|
-
const A = this.pluralResolver.getSuffixes(
|
|
416
|
-
|
|
417
|
-
me([
|
|
414
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && x ? q.forEach((w) => {
|
|
415
|
+
const A = this.pluralResolver.getSuffixes(w, i);
|
|
416
|
+
B && i[`defaultValue${this.options.pluralSeparator}zero`] && A.indexOf(`${this.options.pluralSeparator}zero`) < 0 && A.push(`${this.options.pluralSeparator}zero`), A.forEach((V) => {
|
|
417
|
+
me([w], a + V, i[`defaultValue${V}`] || P);
|
|
418
418
|
});
|
|
419
|
-
}) : me(
|
|
419
|
+
}) : me(q, a, P));
|
|
420
420
|
}
|
|
421
421
|
h = this.extendTranslation(h, e, i, f, n), k && h === a && this.options.appendNamespaceToMissingKey && (h = `${l}${d}${a}`), (k || O) && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${d}${a}` : a, O ? h : void 0, i));
|
|
422
422
|
}
|
|
@@ -463,25 +463,25 @@ class ne extends oe {
|
|
|
463
463
|
const p = t.count !== void 0 && !m(t.count), f = p && !t.ordinal && t.count === 0, h = t.context !== void 0 && (m(t.context) || typeof t.context == "number") && t.context !== "", y = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
464
464
|
u.forEach((v) => {
|
|
465
465
|
var T, C;
|
|
466
|
-
this.isValidLookup(n) || (a = v, !Te[`${y[0]}-${v}`] && ((T = this.utils) != null && T.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(a)) && (Te[`${y[0]}-${v}`] = !0, this.logger.warn(`key "${i}" for languages "${y.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((
|
|
466
|
+
this.isValidLookup(n) || (a = v, !Te[`${y[0]}-${v}`] && ((T = this.utils) != null && T.hasLoadedNamespace) && !((C = this.utils) != null && C.hasLoadedNamespace(a)) && (Te[`${y[0]}-${v}`] = !0, this.logger.warn(`key "${i}" for languages "${y.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((D) => {
|
|
467
467
|
var _;
|
|
468
468
|
if (this.isValidLookup(n)) return;
|
|
469
|
-
r =
|
|
469
|
+
r = D;
|
|
470
470
|
const x = [d];
|
|
471
471
|
if ((_ = this.i18nFormat) != null && _.addLookupKeys)
|
|
472
|
-
this.i18nFormat.addLookupKeys(x, d,
|
|
472
|
+
this.i18nFormat.addLookupKeys(x, d, D, v, t);
|
|
473
473
|
else {
|
|
474
474
|
let R;
|
|
475
|
-
p && (R = this.pluralResolver.getSuffix(
|
|
476
|
-
const
|
|
477
|
-
if (p && (x.push(d + R), t.ordinal && R.indexOf(
|
|
475
|
+
p && (R = this.pluralResolver.getSuffix(D, t.count, t));
|
|
476
|
+
const B = `${this.options.pluralSeparator}zero`, P = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
477
|
+
if (p && (x.push(d + R), t.ordinal && R.indexOf(P) === 0 && x.push(d + R.replace(P, this.options.pluralSeparator)), f && x.push(d + B)), h) {
|
|
478
478
|
const S = `${d}${this.options.contextSeparator}${t.context}`;
|
|
479
|
-
x.push(S), p && (x.push(S + R), t.ordinal && R.indexOf(
|
|
479
|
+
x.push(S), p && (x.push(S + R), t.ordinal && R.indexOf(P) === 0 && x.push(S + R.replace(P, this.options.pluralSeparator)), f && x.push(S + B));
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
let N;
|
|
483
483
|
for (; N = x.pop(); )
|
|
484
|
-
this.isValidLookup(n) || (s = N, n = this.getResource(
|
|
484
|
+
this.isValidLookup(n) || (s = N, n = this.getResource(D, v, N, t));
|
|
485
485
|
}));
|
|
486
486
|
});
|
|
487
487
|
}), {
|
|
@@ -519,15 +519,15 @@ class ne extends oe {
|
|
|
519
519
|
}
|
|
520
520
|
class Oe {
|
|
521
521
|
constructor(e) {
|
|
522
|
-
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
522
|
+
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = L.create("languageUtils");
|
|
523
523
|
}
|
|
524
524
|
getScriptPartFromCode(e) {
|
|
525
|
-
if (e =
|
|
525
|
+
if (e = G(e), !e || e.indexOf("-") < 0) return null;
|
|
526
526
|
const t = e.split("-");
|
|
527
527
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
528
528
|
}
|
|
529
529
|
getLanguagePartFromCode(e) {
|
|
530
|
-
if (e =
|
|
530
|
+
if (e = G(e), !e || e.indexOf("-") < 0) return e;
|
|
531
531
|
const t = e.split("-");
|
|
532
532
|
return this.formatLanguageCode(t[0]);
|
|
533
533
|
}
|
|
@@ -581,14 +581,14 @@ class Oe {
|
|
|
581
581
|
}), i;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
const
|
|
584
|
+
const Ie = {
|
|
585
585
|
zero: 0,
|
|
586
586
|
one: 1,
|
|
587
587
|
two: 2,
|
|
588
588
|
few: 3,
|
|
589
589
|
many: 4,
|
|
590
590
|
other: 5
|
|
591
|
-
},
|
|
591
|
+
}, Le = {
|
|
592
592
|
select: (o) => o === 1 ? "one" : "other",
|
|
593
593
|
resolvedOptions: () => ({
|
|
594
594
|
pluralCategories: ["one", "other"]
|
|
@@ -596,7 +596,7 @@ const Le = {
|
|
|
596
596
|
};
|
|
597
597
|
class bt {
|
|
598
598
|
constructor(e, t = {}) {
|
|
599
|
-
this.languageUtils = e, this.options = t, this.logger =
|
|
599
|
+
this.languageUtils = e, this.options = t, this.logger = L.create("pluralResolver"), this.pluralRulesCache = {};
|
|
600
600
|
}
|
|
601
601
|
addRule(e, t) {
|
|
602
602
|
this.rules[e] = t;
|
|
@@ -605,7 +605,7 @@ class bt {
|
|
|
605
605
|
this.pluralRulesCache = {};
|
|
606
606
|
}
|
|
607
607
|
getRule(e, t = {}) {
|
|
608
|
-
const n =
|
|
608
|
+
const n = G(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", s = JSON.stringify({
|
|
609
609
|
cleanedCode: n,
|
|
610
610
|
type: i
|
|
611
611
|
});
|
|
@@ -618,8 +618,8 @@ class bt {
|
|
|
618
618
|
});
|
|
619
619
|
} catch (a) {
|
|
620
620
|
if (!Intl)
|
|
621
|
-
return this.logger.error("No Intl support, please use an Intl polyfill!"),
|
|
622
|
-
if (!e.match(/-|_/)) return
|
|
621
|
+
return this.logger.error("No Intl support, please use an Intl polyfill!"), Le;
|
|
622
|
+
if (!e.match(/-|_/)) return Le;
|
|
623
623
|
const c = this.languageUtils.getLanguagePartFromCode(e);
|
|
624
624
|
r = this.getRule(c, t);
|
|
625
625
|
}
|
|
@@ -634,7 +634,7 @@ class bt {
|
|
|
634
634
|
}
|
|
635
635
|
getSuffixes(e, t = {}) {
|
|
636
636
|
let n = this.getRule(e, t);
|
|
637
|
-
return n || (n = this.getRule("dev", t)), n ? n.resolvedOptions().pluralCategories.sort((i, s) =>
|
|
637
|
+
return n || (n = this.getRule("dev", t)), n ? n.resolvedOptions().pluralCategories.sort((i, s) => Ie[i] - Ie[s]).map((i) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : [];
|
|
638
638
|
}
|
|
639
639
|
getSuffix(e, t, n = {}) {
|
|
640
640
|
const i = this.getRule(e, n);
|
|
@@ -648,7 +648,7 @@ const Ne = (o, e, t, n = ".", i = !0) => {
|
|
|
648
648
|
class St {
|
|
649
649
|
constructor(e = {}) {
|
|
650
650
|
var t;
|
|
651
|
-
this.logger =
|
|
651
|
+
this.logger = L.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((n) => n), this.init(e);
|
|
652
652
|
}
|
|
653
653
|
init(e = {}) {
|
|
654
654
|
e.interpolation || (e.interpolation = {
|
|
@@ -783,12 +783,12 @@ const xt = (o) => {
|
|
|
783
783
|
}));
|
|
784
784
|
const r = n + JSON.stringify(s);
|
|
785
785
|
let a = e[r];
|
|
786
|
-
return a || (a = o(
|
|
786
|
+
return a || (a = o(G(n), i), e[r] = a), a(t);
|
|
787
787
|
};
|
|
788
|
-
}, $t = (o) => (e, t, n) => o(
|
|
789
|
-
class
|
|
788
|
+
}, $t = (o) => (e, t, n) => o(G(t), n)(e);
|
|
789
|
+
class Pt {
|
|
790
790
|
constructor(e = {}) {
|
|
791
|
-
this.logger =
|
|
791
|
+
this.logger = L.create("formatter"), this.options = e, this.init(e);
|
|
792
792
|
}
|
|
793
793
|
init(e, t = {
|
|
794
794
|
interpolation: {}
|
|
@@ -853,13 +853,13 @@ class wt {
|
|
|
853
853
|
}, e);
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
const
|
|
856
|
+
const wt = (o, e) => {
|
|
857
857
|
o.pending[e] !== void 0 && (delete o.pending[e], o.pendingCount--);
|
|
858
858
|
};
|
|
859
859
|
class Ct extends oe {
|
|
860
860
|
constructor(e, t, n, i = {}) {
|
|
861
861
|
var s, r;
|
|
862
|
-
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = i, this.logger =
|
|
862
|
+
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = i, this.logger = L.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], (r = (s = this.backend) == null ? void 0 : s.init) == null || r.call(s, n, i.backend, i);
|
|
863
863
|
}
|
|
864
864
|
queueLoad(e, t, n, i) {
|
|
865
865
|
const s = {}, r = {}, a = {}, c = {};
|
|
@@ -889,7 +889,7 @@ class Ct extends oe {
|
|
|
889
889
|
}), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
|
|
890
890
|
const a = {};
|
|
891
891
|
this.queue.forEach((c) => {
|
|
892
|
-
ut(c.loaded, [s], r),
|
|
892
|
+
ut(c.loaded, [s], r), wt(c, e), t && c.errors.push(t), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach((l) => {
|
|
893
893
|
a[l] || (a[l] = {});
|
|
894
894
|
const d = c.loaded[l];
|
|
895
895
|
d.length && d.forEach((u) => {
|
|
@@ -1044,7 +1044,7 @@ const Fe = () => ({
|
|
|
1044
1044
|
skipOnVariables: !0
|
|
1045
1045
|
},
|
|
1046
1046
|
cacheInBuiltFormats: !0
|
|
1047
|
-
}),
|
|
1047
|
+
}), De = (o) => {
|
|
1048
1048
|
var e, t;
|
|
1049
1049
|
return m(o.ns) && (o.ns = [o.ns]), m(o.fallbackLng) && (o.fallbackLng = [o.fallbackLng]), m(o.fallbackNS) && (o.fallbackNS = [o.fallbackNS]), ((t = (e = o.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (o.supportedLngs = o.supportedLngs.concat(["cimode"])), typeof o.initImmediate == "boolean" && (o.initAsync = o.initImmediate), o;
|
|
1050
1050
|
}, Y = () => {
|
|
@@ -1053,9 +1053,9 @@ const Fe = () => ({
|
|
|
1053
1053
|
typeof o[t] == "function" && (o[t] = o[t].bind(o));
|
|
1054
1054
|
});
|
|
1055
1055
|
};
|
|
1056
|
-
class
|
|
1056
|
+
class W extends oe {
|
|
1057
1057
|
constructor(e = {}, t) {
|
|
1058
|
-
if (super(), this.options =
|
|
1058
|
+
if (super(), this.options = De(e), this.services = {}, this.logger = L, this.modules = {
|
|
1059
1059
|
external: []
|
|
1060
1060
|
}, Tt(this), t && !this.isInitialized && !e.isClone) {
|
|
1061
1061
|
if (!this.options.initAsync)
|
|
@@ -1068,16 +1068,16 @@ class G extends oe {
|
|
|
1068
1068
|
init(e = {}, t) {
|
|
1069
1069
|
this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (m(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
|
|
1070
1070
|
const n = Fe();
|
|
1071
|
-
this.options = g(g(g({}, n), this.options),
|
|
1071
|
+
this.options = g(g(g({}, n), this.options), De(e)), this.options.interpolation = g(g({}, n.interpolation), this.options.interpolation), e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator);
|
|
1072
1072
|
const i = (l) => l ? typeof l == "function" ? new l() : l : null;
|
|
1073
1073
|
if (!this.options.isClone) {
|
|
1074
|
-
this.modules.logger ?
|
|
1074
|
+
this.modules.logger ? L.init(i(this.modules.logger), this.options) : L.init(null, this.options);
|
|
1075
1075
|
let l;
|
|
1076
|
-
this.modules.formatter ? l = this.modules.formatter : l =
|
|
1076
|
+
this.modules.formatter ? l = this.modules.formatter : l = Pt;
|
|
1077
1077
|
const d = new Oe(this.options);
|
|
1078
1078
|
this.store = new Ce(this.options.resources, this.options);
|
|
1079
1079
|
const u = this.services;
|
|
1080
|
-
u.logger =
|
|
1080
|
+
u.logger = L, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new bt(d, {
|
|
1081
1081
|
prepend: this.options.pluralSeparator,
|
|
1082
1082
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1083
1083
|
}), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = i(l), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new St(this.options), u.utils = {
|
|
@@ -1235,14 +1235,14 @@ class G extends oe {
|
|
|
1235
1235
|
return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1236
1236
|
}
|
|
1237
1237
|
static createInstance(e = {}, t) {
|
|
1238
|
-
return new
|
|
1238
|
+
return new W(e, t);
|
|
1239
1239
|
}
|
|
1240
1240
|
cloneInstance(e = {}, t = Y) {
|
|
1241
1241
|
const n = e.forkResourceStore;
|
|
1242
1242
|
n && delete e.forkResourceStore;
|
|
1243
1243
|
const i = $(g(g({}, this.options), e), {
|
|
1244
1244
|
isClone: !0
|
|
1245
|
-
}), s = new
|
|
1245
|
+
}), s = new W(i);
|
|
1246
1246
|
if ((e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
|
|
1247
1247
|
s[a] = this[a];
|
|
1248
1248
|
}), s.services = g({}, this.services), s.services.utils = {
|
|
@@ -1267,8 +1267,8 @@ class G extends oe {
|
|
|
1267
1267
|
};
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
|
-
const b =
|
|
1271
|
-
b.createInstance =
|
|
1270
|
+
const b = W.createInstance();
|
|
1271
|
+
b.createInstance = W.createInstance;
|
|
1272
1272
|
b.createInstance;
|
|
1273
1273
|
b.dir;
|
|
1274
1274
|
b.init;
|
|
@@ -1283,29 +1283,29 @@ b.setDefaultNamespace;
|
|
|
1283
1283
|
b.hasLoadedNamespace;
|
|
1284
1284
|
b.loadNamespaces;
|
|
1285
1285
|
b.loadLanguages;
|
|
1286
|
-
const kt = "Account Name", Ot = "Account Number",
|
|
1286
|
+
const kt = "Account Name", Ot = "Account Number", It = "Unit Address", Lt = "I agree with", Nt = "and", Rt = "Back", Ft = "Back ID Card", Dt = "Bank Name", Et = "Beneficiary Bank", At = "Business Registration License", jt = "Cancel", Ut = "Cancel Transaction", Mt = "Close", Ht = "C (With tax authority code)", Kt = "K (Without code)", Bt = "C: With tax authority code, K: Without code", qt = "Coming Soon", Vt = "Unit Name", zt = "Complete your payment within", Qt = "Confirm", Gt = "Important Notice:", Wt = "3. Contact Person Information:", Xt = "Copy", _t = "Country", Jt = "2 custom characters (default: YY)", Yt = "Custom quantity", Zt = "Date of Birth", en = "Decrease", tn = "Digital Signature Package", nn = "District", on = "Duration", sn = "E-Contract", rn = "Edit", an = "e-invoices", cn = "Email", ln = "Enter ID Card Number", un = "Enter Invoice Symbol", dn = "Enter Passport Number", hn = "Enter Provider Name", fn = "Enter Tax Authority Code", pn = "Error fetching tax information.", gn = "File format not supported", mn = "File size is too large", yn = "Address cannot contain special characters", vn = "Invalid ID card", bn = "Invalid date of birth", Sn = "Invalid email address", xn = "Invalid ID card number", $n = "Only letters, numbers and underscores allowed", Pn = "Invalid phone number", wn = "Invalid provider name", Cn = "Invalid tax authority code", Tn = "Invalid tax code", kn = "Network connection error", On = "This field is required", In = "An error occurred", Ln = "Invalid request", Nn = "Unauthorized access", Rn = "Access denied", Fn = "Data not found", Dn = "Invalid data", En = "Too many requests, please try again later", An = "Server error, please try again later", jn = "Service temporarily unavailable", Un = "Unable to generate QR payment code. Please try again.", Mn = "Unable to check order status. Please try again.", Hn = "Female", Kn = "Format", Bn = "Front ID Card", qn = "Full Name", Vn = "Gender", zn = "Have you used e-invoices?", Qn = "Are you using another e-invoice provider other than M-invoice?", Gn = "(Free Consulting and Support Hotline)", Wn = "Hotline:", Xn = "ID Card Number", _n = "Increase", Jn = "Information sent to the provider", Yn = "Invoice Package", Zn = "Invoice Symbol", ei = "Invoice Template", ti = { 1: "1 (VAT Invoice)", 2: "2 (Sales Invoice)", 3: "3 (Public Asset Sales)", 4: "4 (National Reserve Sales)", 5: "5 (Stamps, Tickets, Other Cards)", 6: "6 (Internal Documents)", 7: "7 (Commercial Invoice)", 8: "8 (VAT with Integrated Tax)", 9: "9 (Sales with Integrated Tax)" }, ni = "B (Agent)", ii = "D (Asset)", oi = "G (VAT Stamp)", si = "H (Sales Stamp)", ri = "L (Tax Authority)", ai = "M (Cash Register)", ci = "N (Internal)", li = "T (Registration)", ui = "Invoice type", di = "X (Commercial)", hi = "4. E-INVOICE USAGE INFORMATION:", fi = "invoices/month", pi = "Loading...", gi = "2. Legal Representative Information:", mi = "Please check and enter the correct legal representative name according to the uploaded business license.", yi = "Male", vi = "Max 500KB", bi = "Month", Si = "Most Suitable Package", xi = "Continue", $i = "No package found.", Pi = "Please check your email inbox regularly to receive account information notifications from the provider.", wi = "If you have not received the email account information (username/password) within 2 hours, please contact the information below for the fastest support:", Ci = "of", Ti = "OK", ki = "Optional", Oi = "or", Ii = "Order created successfully", Li = "Order has expired", Ni = "Order Information", Ri = "Order Summary", Fi = "Organization Registration Certificate", Di = "Passport", Ei = "Payment Amount", Ai = "Payment Failed", ji = ["Open your banking app or digital wallet on your phone", "Select the QR Code scan feature in the app", "Scan the QR code on this page and make payment"], Ui = "QR Payment Instructions", Mi = "Payment Method:", Hi = "Payment Successful!", Ki = "Payment timeout", Bi = "Payment timeout! Please try again.", qi = "Payment", Vi = "Permanent address", zi = "Phone Number", Qi = "Product", Gi = "Provider", Wi = "Provider Name", Xi = "Province/City", _i = "QR Code Payment", Ji = "Scan QR Code to Pay", Yi = "Quantity", Zi = "Complete registration", eo = "Registration Fee", to = "Required", no = "Return Home", io = "Return to step 1", oo = "Invoice template number (1-9)", so = "Save", ro = "Units per month", ao = "Select File", co = "Select E-Invoice Package", lo = "Select Provider", uo = "Select Digital Signature Package", ho = "Select Subscription Package", fo = "Selected Products", po = "Settings", go = "Digital Signature Package", mo = "E-invoice software license", yo = "Information", vo = "Confirmation & Payment", bo = "Invoice Package", So = "Subscription Package", xo = "Tax Authority", $o = "5 characters issued by the Authority for cash register bills", Po = "Unit Tax Code", wo = "Terms and Usage Policy", Co = "Time Left", To = "Total", ko = "Total Amount", Oo = "Total Price", Io = "Transaction has been canceled. Returning to registration page.", Lo = "Unit", No = "1. Unit Information", Ro = "units/month", Fo = "Unit Price", Do = "units/ month", Eo = "Upload Back ID Card", Ao = "Upload File", jo = "Upload Front ID Card", Uo = "Upload Logo", Mo = "Usage Policy", Ho = "Ward", Ko = "Website", Bo = "E-Invoice Registration", qo = "Release year (last 2 digits)", Vo = {
|
|
1287
1287
|
accountName: kt,
|
|
1288
1288
|
accountNumber: Ot,
|
|
1289
|
-
address:
|
|
1290
|
-
agreeWith:
|
|
1289
|
+
address: It,
|
|
1290
|
+
agreeWith: Lt,
|
|
1291
1291
|
and: Nt,
|
|
1292
1292
|
back: Rt,
|
|
1293
1293
|
backIdCard: Ft,
|
|
1294
|
-
bankName:
|
|
1295
|
-
beneficiaryBank:
|
|
1294
|
+
bankName: Dt,
|
|
1295
|
+
beneficiaryBank: Et,
|
|
1296
1296
|
businessLicense: At,
|
|
1297
1297
|
cancel: jt,
|
|
1298
1298
|
cancelTransaction: Ut,
|
|
1299
1299
|
close: Mt,
|
|
1300
1300
|
codeTypeC: Ht,
|
|
1301
|
-
codeTypeK:
|
|
1302
|
-
codeTypeTooltip:
|
|
1303
|
-
comingSoon:
|
|
1304
|
-
companyName:
|
|
1301
|
+
codeTypeK: Kt,
|
|
1302
|
+
codeTypeTooltip: Bt,
|
|
1303
|
+
comingSoon: qt,
|
|
1304
|
+
companyName: Vt,
|
|
1305
1305
|
completePaymentIn: zt,
|
|
1306
|
-
confirm:
|
|
1307
|
-
confirmationTitle:
|
|
1308
|
-
contactInfo:
|
|
1306
|
+
confirm: Qt,
|
|
1307
|
+
confirmationTitle: Gt,
|
|
1308
|
+
contactInfo: Wt,
|
|
1309
1309
|
copy: Xt,
|
|
1310
1310
|
country: _t,
|
|
1311
1311
|
customLettersTooltip: Jt,
|
|
@@ -1334,312 +1334,334 @@ const kt = "Account Name", Ot = "Account Number", Lt = "Unit Address", It = "I a
|
|
|
1334
1334
|
errorInvalidEmail: Sn,
|
|
1335
1335
|
errorInvalidIdCard: xn,
|
|
1336
1336
|
errorInvalidName: $n,
|
|
1337
|
-
errorInvalidPhone:
|
|
1338
|
-
errorInvalidProviderName:
|
|
1337
|
+
errorInvalidPhone: Pn,
|
|
1338
|
+
errorInvalidProviderName: wn,
|
|
1339
1339
|
errorInvalidTaxAuthorityCode: Cn,
|
|
1340
1340
|
errorInvalidTaxCode: Tn,
|
|
1341
1341
|
errorNetwork: kn,
|
|
1342
1342
|
errorRequired: On,
|
|
1343
|
-
errorUnknown:
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1343
|
+
errorUnknown: In,
|
|
1344
|
+
errorInvalidRequest: Ln,
|
|
1345
|
+
errorUnauthorized: Nn,
|
|
1346
|
+
errorForbidden: Rn,
|
|
1347
|
+
errorNotFound: Fn,
|
|
1348
|
+
errorValidation: Dn,
|
|
1349
|
+
errorTooManyRequests: En,
|
|
1350
|
+
errorServer: An,
|
|
1351
|
+
errorServiceUnavailable: jn,
|
|
1352
|
+
errorQRGeneration: Un,
|
|
1353
|
+
errorOrderStatus: Mn,
|
|
1354
|
+
female: Hn,
|
|
1355
|
+
fileFormat: Kn,
|
|
1356
|
+
frontIdCard: Bn,
|
|
1357
|
+
fullName: qn,
|
|
1358
|
+
gender: Vn,
|
|
1359
|
+
hasUsedEInvoice: zn,
|
|
1360
|
+
hasUsedEInvoiceBefore: Qn,
|
|
1361
|
+
hotlineDesc: Gn,
|
|
1362
|
+
hotlineDomestic: Wn,
|
|
1363
|
+
idNumber: Xn,
|
|
1364
|
+
increase: _n,
|
|
1365
|
+
informationSent: Jn,
|
|
1366
|
+
invoicePackage: Yn,
|
|
1367
|
+
invoiceSymbol: Zn,
|
|
1368
|
+
invoiceTemplate: ei,
|
|
1369
|
+
invoiceTemplateTypes: ti,
|
|
1370
|
+
invoiceTypeB: ni,
|
|
1371
|
+
invoiceTypeD: ii,
|
|
1372
|
+
invoiceTypeG: oi,
|
|
1373
|
+
invoiceTypeH: si,
|
|
1374
|
+
invoiceTypeL: ri,
|
|
1375
|
+
invoiceTypeM: ai,
|
|
1376
|
+
invoiceTypeN: ci,
|
|
1377
|
+
invoiceTypeT: li,
|
|
1378
|
+
invoiceTypeTooltip: ui,
|
|
1379
|
+
invoiceTypeX: di,
|
|
1380
|
+
invoiceUsageInfo: hi,
|
|
1381
|
+
invoicesPerMonth: fi,
|
|
1382
|
+
loading: pi,
|
|
1383
|
+
legalRepInfo: gi,
|
|
1384
|
+
legalRepNote: mi,
|
|
1385
|
+
male: yi,
|
|
1386
|
+
maxFileSize: vi,
|
|
1387
|
+
month: bi,
|
|
1388
|
+
mostSuitablePackage: Si,
|
|
1389
|
+
next: xi,
|
|
1390
|
+
noPackageFound: $i,
|
|
1391
|
+
notice1: Pi,
|
|
1392
|
+
notice2: wi,
|
|
1382
1393
|
"notice3.1": "After being granted an account, please go to the Link",
|
|
1383
1394
|
"notice3.2": "to connect and use the service HDDT",
|
|
1384
|
-
of:
|
|
1385
|
-
ok:
|
|
1386
|
-
optional:
|
|
1387
|
-
or:
|
|
1388
|
-
orderCreated:
|
|
1389
|
-
orderExpired:
|
|
1390
|
-
orderInfo:
|
|
1391
|
-
orderSummary:
|
|
1392
|
-
organizationCert:
|
|
1395
|
+
of: Ci,
|
|
1396
|
+
ok: Ti,
|
|
1397
|
+
optional: ki,
|
|
1398
|
+
or: Oi,
|
|
1399
|
+
orderCreated: Ii,
|
|
1400
|
+
orderExpired: Li,
|
|
1401
|
+
orderInfo: Ni,
|
|
1402
|
+
orderSummary: Ri,
|
|
1403
|
+
organizationCert: Fi,
|
|
1393
1404
|
package: "Package",
|
|
1394
|
-
passport:
|
|
1395
|
-
paymentAmount:
|
|
1396
|
-
paymentFailed:
|
|
1397
|
-
paymentInstructions:
|
|
1398
|
-
paymentInstructionsTitle:
|
|
1399
|
-
paymentMethod:
|
|
1400
|
-
paymentSuccess:
|
|
1401
|
-
paymentTimeout:
|
|
1402
|
-
paymentTimeoutMessage:
|
|
1403
|
-
paymentTitle:
|
|
1404
|
-
permanentAddress:
|
|
1405
|
-
phone:
|
|
1406
|
-
product:
|
|
1407
|
-
provider:
|
|
1408
|
-
providerName:
|
|
1409
|
-
province:
|
|
1410
|
-
qrPayment:
|
|
1411
|
-
qrPaymentTitle:
|
|
1412
|
-
quantity:
|
|
1413
|
-
|
|
1414
|
-
registrationFee:
|
|
1415
|
-
required:
|
|
1416
|
-
returnHome:
|
|
1417
|
-
returnToStep1:
|
|
1418
|
-
sampleNumberTooltip:
|
|
1419
|
-
save:
|
|
1420
|
-
searchUnits:
|
|
1421
|
-
selectFile:
|
|
1422
|
-
selectInvoicePackage:
|
|
1423
|
-
selectProvider:
|
|
1424
|
-
selectSignaturePackage:
|
|
1425
|
-
selectSubscriptionPackage:
|
|
1426
|
-
selectedProducts:
|
|
1427
|
-
settings:
|
|
1428
|
-
signaturePackage:
|
|
1429
|
-
softwareLicense:
|
|
1430
|
-
stepInfo:
|
|
1431
|
-
stepPayment:
|
|
1432
|
-
stepPlan:
|
|
1433
|
-
subscriptionPackage:
|
|
1434
|
-
taxAuthority:
|
|
1435
|
-
taxAuthorityCode:
|
|
1436
|
-
taxCode:
|
|
1437
|
-
termsAndUsagePolicy:
|
|
1438
|
-
timeLeft:
|
|
1439
|
-
total:
|
|
1440
|
-
totalAmount:
|
|
1441
|
-
totalPrice:
|
|
1442
|
-
transactionCanceled:
|
|
1443
|
-
unit:
|
|
1444
|
-
unitInfo:
|
|
1445
|
-
unitPerMonth:
|
|
1446
|
-
unitPrice:
|
|
1447
|
-
unitsPerMonth:
|
|
1448
|
-
uploadBackId:
|
|
1449
|
-
uploadFile:
|
|
1450
|
-
uploadFrontId:
|
|
1451
|
-
uploadLogo:
|
|
1452
|
-
usagePolicy:
|
|
1453
|
-
ward:
|
|
1454
|
-
website:
|
|
1455
|
-
widgetTitle:
|
|
1456
|
-
yearTooltip:
|
|
1457
|
-
},
|
|
1458
|
-
accountName:
|
|
1459
|
-
accountNumber:
|
|
1460
|
-
address:
|
|
1461
|
-
agreeWith:
|
|
1462
|
-
and:
|
|
1463
|
-
back:
|
|
1464
|
-
backIdCard:
|
|
1465
|
-
bankName:
|
|
1466
|
-
beneficiaryBank:
|
|
1467
|
-
businessLicense:
|
|
1468
|
-
cancel:
|
|
1469
|
-
cancelTransaction:
|
|
1470
|
-
close:
|
|
1471
|
-
codeTypeC:
|
|
1472
|
-
codeTypeK:
|
|
1473
|
-
codeTypeTooltip:
|
|
1474
|
-
comingSoon:
|
|
1475
|
-
companyName:
|
|
1476
|
-
completePaymentIn:
|
|
1477
|
-
confirm:
|
|
1478
|
-
confirmationTitle:
|
|
1479
|
-
contactInfo:
|
|
1480
|
-
copy:
|
|
1481
|
-
country:
|
|
1482
|
-
customLettersTooltip:
|
|
1483
|
-
customUnits:
|
|
1484
|
-
dateOfBirth:
|
|
1485
|
-
decrease:
|
|
1405
|
+
passport: Di,
|
|
1406
|
+
paymentAmount: Ei,
|
|
1407
|
+
paymentFailed: Ai,
|
|
1408
|
+
paymentInstructions: ji,
|
|
1409
|
+
paymentInstructionsTitle: Ui,
|
|
1410
|
+
paymentMethod: Mi,
|
|
1411
|
+
paymentSuccess: Hi,
|
|
1412
|
+
paymentTimeout: Ki,
|
|
1413
|
+
paymentTimeoutMessage: Bi,
|
|
1414
|
+
paymentTitle: qi,
|
|
1415
|
+
permanentAddress: Vi,
|
|
1416
|
+
phone: zi,
|
|
1417
|
+
product: Qi,
|
|
1418
|
+
provider: Gi,
|
|
1419
|
+
providerName: Wi,
|
|
1420
|
+
province: Xi,
|
|
1421
|
+
qrPayment: _i,
|
|
1422
|
+
qrPaymentTitle: Ji,
|
|
1423
|
+
quantity: Yi,
|
|
1424
|
+
completeRegistration: Zi,
|
|
1425
|
+
registrationFee: eo,
|
|
1426
|
+
required: to,
|
|
1427
|
+
returnHome: no,
|
|
1428
|
+
returnToStep1: io,
|
|
1429
|
+
sampleNumberTooltip: oo,
|
|
1430
|
+
save: so,
|
|
1431
|
+
searchUnits: ro,
|
|
1432
|
+
selectFile: ao,
|
|
1433
|
+
selectInvoicePackage: co,
|
|
1434
|
+
selectProvider: lo,
|
|
1435
|
+
selectSignaturePackage: uo,
|
|
1436
|
+
selectSubscriptionPackage: ho,
|
|
1437
|
+
selectedProducts: fo,
|
|
1438
|
+
settings: po,
|
|
1439
|
+
signaturePackage: go,
|
|
1440
|
+
softwareLicense: mo,
|
|
1441
|
+
stepInfo: yo,
|
|
1442
|
+
stepPayment: vo,
|
|
1443
|
+
stepPlan: bo,
|
|
1444
|
+
subscriptionPackage: So,
|
|
1445
|
+
taxAuthority: xo,
|
|
1446
|
+
taxAuthorityCode: $o,
|
|
1447
|
+
taxCode: Po,
|
|
1448
|
+
termsAndUsagePolicy: wo,
|
|
1449
|
+
timeLeft: Co,
|
|
1450
|
+
total: To,
|
|
1451
|
+
totalAmount: ko,
|
|
1452
|
+
totalPrice: Oo,
|
|
1453
|
+
transactionCanceled: Io,
|
|
1454
|
+
unit: Lo,
|
|
1455
|
+
unitInfo: No,
|
|
1456
|
+
unitPerMonth: Ro,
|
|
1457
|
+
unitPrice: Fo,
|
|
1458
|
+
unitsPerMonth: Do,
|
|
1459
|
+
uploadBackId: Eo,
|
|
1460
|
+
uploadFile: Ao,
|
|
1461
|
+
uploadFrontId: jo,
|
|
1462
|
+
uploadLogo: Uo,
|
|
1463
|
+
usagePolicy: Mo,
|
|
1464
|
+
ward: Ho,
|
|
1465
|
+
website: Ko,
|
|
1466
|
+
widgetTitle: Bo,
|
|
1467
|
+
yearTooltip: qo
|
|
1468
|
+
}, zo = "Tên tài khoản", Qo = "Số tài khoản", Go = "Địa chỉ đơn vị", Wo = "Tôi đồng ý với", Xo = "và", _o = "Quay lại", Jo = "Mặt sau CCCD", Yo = "Ngân hàng", Zo = "Ngân hàng thụ hưởng", es = "Giấy phép đăng ký kinh doanh", ts = "Hủy", ns = "Hủy giao dịch", is = "Đóng", os = "C (Có mã CQT)", ss = "K (Không mã)", rs = "C: Có mã CQT, K: Không mã", as = "Sắp ra mắt", cs = "Tên đơn vị", ls = "Hoàn tất thanh toán của bạn trong", us = "Xác nhận", ds = "Thông tin lưu ý:", hs = "3. Thông tin người liên hệ:", fs = "Bản", ps = "Quốc gia", gs = "2 ký tự tùy chọn (mặc định: YY)", ms = "Số lượng tùy chỉnh", ys = "Ngày sinh", vs = "Giảm", bs = "Gói chữ ký số", Ss = "Quận/Huyện", xs = "Thời hạn", $s = "E-Contract", Ps = "Chỉnh sửa", ws = "hóa đơn điện tử", Cs = "Email", Ts = "Nhập số CMND/CCCD", ks = "Nhập ký hiệu hóa đơn", Os = "Nhập số hộ chiếu", Is = "Nhập tên nhà cung cấp", Ls = "Nhập mã CQT cấp", Ns = "Lỗi khi lấy thông tin mã số thuế.", Rs = "Định dạng tệp không được hỗ trợ", Fs = "Kích thước tệp quá lớn", Ds = "Địa chỉ không được chứa ký tự đặc biệt", Es = "CCCD không hợp lệ", As = "Ngày sinh không hợp lệ", js = "Email không hợp lệ", Us = "Số CCCD không hợp lệ", Ms = "Chỉ được dùng chữ cái, số và dấu gạch dưới", Hs = "Số điện thoại không hợp lệ", Ks = "Tên nhà cung cấp không hợp lệ", Bs = "Mã CQT cấp không hợp lệ", qs = "Mã số thuế không hợp lệ", Vs = "Lỗi kết nối mạng", zs = "Trường này là bắt buộc", Qs = "Đã xảy ra lỗi", Gs = "Yêu cầu không hợp lệ", Ws = "Không có quyền truy cập", Xs = "Truy cập bị từ chối", _s = "Không tìm thấy dữ liệu", Js = "Dữ liệu không hợp lệ", Ys = "Quá nhiều yêu cầu, vui lòng thử lại sau", Zs = "Lỗi máy chủ, vui lòng thử lại sau", er = "Dịch vụ tạm thời không khả dụng", tr = "Không thể tạo mã QR thanh toán. Vui lòng thử lại.", nr = "Không thể kiểm tra trạng thái đơn hàng. Vui lòng thử lại.", ir = "Nữ", or = "Định dạng", sr = "Mặt trước CCCD", rr = "Họ và tên", ar = "Giới tính", cr = "Bạn đã sử dụng hoá đơn điện tử?", lr = "Bạn đang sử dụng nhà NCC hoá đơn điện tử khác M-invoice không?", ur = "(Tổng đài Tư vấn, Hỗ trợ miễn phí)", dr = "Hotline:", hr = "CCCD", fr = "Tăng", pr = "Đã gửi thông tin sang nhà cung cấp", gr = "Gói hóa đơn", mr = "Ký hiệu hóa đơn", yr = "Mẫu số", vr = { 1: "1 (Hóa đơn GTGT)", 2: "2 (Hóa đơn bán hàng)", 3: "3 (Bán tài sản công)", 4: "4 (Bán dự trữ quốc gia)", 5: "5 (Tem, vé, thẻ khác)", 6: "6 (Chứng từ nội bộ)", 7: "7 (Hóa đơn thương mại)", 8: "8 (GTGT tích hợp thuế)", 9: "9 (Bán hàng tích hợp thuế)" }, br = "B (Đại lý)", Sr = "D (Tài sản)", xr = "G (Tem GTGT)", $r = "H (Tem bán hàng)", Pr = "L (CQT)", wr = "M (Máy tính tiền)", Cr = "N (Nội bộ)", Tr = "T (Đăng ký)", kr = "Loại hóa đơn", Or = "X (Thương mại)", Ir = "4. THÔNG TIN SỬ DỤNG HDDT:", Lr = "hóa đơn/tháng", Nr = "Đang tải...", Rr = "2. Thông tin người đại diện pháp luật:", Fr = "Vui lòng kiểm tra và nhập đúng tên người đại diện theo Giấy phép kinh doanh đã tải lên.", Dr = "Nam", Er = "Tối đa 500Kb", Ar = "Tháng", jr = "Gói phù hợp nhất", Ur = "Tiếp tục", Mr = "Không tìm thấy gói nào.", Hr = "Vui lòng thường xuyên kiểm tra hợp thư Email nhận thông báo thông tin tài khoản từ nhà cung cấp", Kr = "Trong vòng 2 giờ nếu chưa nhận được thông tin Email tài khoản (username/password). Bạn có thể liên hệ thông tin phía bên dưới để được hỗ trợ sớm nhất:", Br = "của", qr = "OK", Vr = "Tùy chọn", zr = "hoặc", Qr = "Đơn hàng đã được tạo thành công", Gr = "Đơn hàng đã hết hạn", Wr = "Thông tin đơn hàng", Xr = "Tóm tắt đơn hàng", _r = "Giấy chứng nhận đăng ký doanh nghiệp", Jr = "Hộ chiếu", Yr = "Số tiền thanh toán", Zr = "Thanh toán thất bại", ea = ["Mở ứng dụng Ngân hàng hoặc Ví điện tử trên điện thoại", "Trên ứng dụng chọn tính năng Quét mã QR", "Quét mã QR ở trang này và thanh toán"], ta = "Hướng dẫn thanh toán QR", na = "Hình thức thanh toán:", ia = "Thanh toán thành công!", oa = "Hết thời gian thanh toán", sa = "Hết thời gian thanh toán! Vui lòng thử lại.", ra = "Thanh toán", aa = "Địa chỉ thường trú", ca = "Số điện thoại", la = "Sản phẩm", ua = "Nhà cung cấp", da = "Tên NCC", ha = "Tỉnh/Thành phố", fa = "Thanh toán qua mã QR", pa = "Quét mã QR để thanh toán", ga = "Số lượng", ma = "Hoàn tất đăng ký", ya = "Phí đăng ký", va = "Bắt buộc", ba = "Trở về trang chủ", Sa = "Quay lại bước 1", xa = "Mẫu số hóa đơn (1-9)", $a = "Lưu", Pa = "Số đơn/tháng", wa = "Chọn tệp", Ca = "Chọn gói hóa đơn điện tử", Ta = "Chọn nhà cung cấp", ka = "Chọn gói chữ ký số", Oa = "Chọn gói đăng ký", Ia = "Sản phẩm đã chọn", La = "Thiết lập", Na = "Gói chữ ký số", Ra = "Bản quyền phần mềm hóa đơn điện tử", Fa = "Thông Tin", Da = "Xác Nhận Và Thanh Toán", Ea = "Gói Hóa Đơn", Aa = "Gói đăng ký", ja = "CQT quản lý", Ua = "5 ký tự do CQT cấp cho loại hóa đơn máy tính tiền", Ma = "Mã số thuế đơn vị", Ha = "Điều khoản và Chính sách sử dụng", Ka = "Thời gian còn lại", Ba = "Tổng cộng", qa = "Tổng tiền", Va = "Thành tiền", za = "Giao dịch đã được hủy. Quay về trang đăng ký.", Qa = "Đơn vị tính", Ga = "1. Thông tin đơn vị", Wa = "đơn/tháng", Xa = "Đơn giá", _a = "đơn/ tháng", Ja = "Tải lên mặt sau CCCD", Ya = "Tải lên tệp", Za = "Tải lên mặt trước CCCD", ec = "Tải logo lên", tc = "Chính sách sử dụng", nc = "Phường/Xã", ic = "Website", oc = "Đăng ký hóa đơn điện tử", sc = "Năm phát hành (2 chữ số cuối)", rc = {
|
|
1469
|
+
accountName: zo,
|
|
1470
|
+
accountNumber: Qo,
|
|
1471
|
+
address: Go,
|
|
1472
|
+
agreeWith: Wo,
|
|
1473
|
+
and: Xo,
|
|
1474
|
+
back: _o,
|
|
1475
|
+
backIdCard: Jo,
|
|
1476
|
+
bankName: Yo,
|
|
1477
|
+
beneficiaryBank: Zo,
|
|
1478
|
+
businessLicense: es,
|
|
1479
|
+
cancel: ts,
|
|
1480
|
+
cancelTransaction: ns,
|
|
1481
|
+
close: is,
|
|
1482
|
+
codeTypeC: os,
|
|
1483
|
+
codeTypeK: ss,
|
|
1484
|
+
codeTypeTooltip: rs,
|
|
1485
|
+
comingSoon: as,
|
|
1486
|
+
companyName: cs,
|
|
1487
|
+
completePaymentIn: ls,
|
|
1488
|
+
confirm: us,
|
|
1489
|
+
confirmationTitle: ds,
|
|
1490
|
+
contactInfo: hs,
|
|
1491
|
+
copy: fs,
|
|
1492
|
+
country: ps,
|
|
1493
|
+
customLettersTooltip: gs,
|
|
1494
|
+
customUnits: ms,
|
|
1495
|
+
dateOfBirth: ys,
|
|
1496
|
+
decrease: vs,
|
|
1486
1497
|
delete: "Xóa",
|
|
1487
|
-
digitalSignaturePackage:
|
|
1488
|
-
district:
|
|
1489
|
-
duration:
|
|
1490
|
-
eContractTitle:
|
|
1491
|
-
edit:
|
|
1492
|
-
electronicInvoices:
|
|
1493
|
-
email:
|
|
1494
|
-
enterIdCard:
|
|
1495
|
-
enterInvoiceSymbol:
|
|
1496
|
-
enterPassport:
|
|
1497
|
-
enterProviderName:
|
|
1498
|
-
enterTaxAuthorityCode:
|
|
1499
|
-
errorFetchTaxInfo:
|
|
1500
|
-
errorFileFormat:
|
|
1501
|
-
errorFileSize:
|
|
1502
|
-
errorInvalidAddress:
|
|
1503
|
-
errorInvalidCard:
|
|
1504
|
-
errorInvalidDate:
|
|
1505
|
-
errorInvalidEmail:
|
|
1506
|
-
errorInvalidIdCard:
|
|
1507
|
-
errorInvalidName:
|
|
1508
|
-
errorInvalidPhone:
|
|
1509
|
-
errorInvalidProviderName:
|
|
1510
|
-
errorInvalidTaxAuthorityCode:
|
|
1511
|
-
errorInvalidTaxCode:
|
|
1512
|
-
errorNetwork:
|
|
1513
|
-
errorRequired:
|
|
1514
|
-
errorUnknown:
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1498
|
+
digitalSignaturePackage: bs,
|
|
1499
|
+
district: Ss,
|
|
1500
|
+
duration: xs,
|
|
1501
|
+
eContractTitle: $s,
|
|
1502
|
+
edit: Ps,
|
|
1503
|
+
electronicInvoices: ws,
|
|
1504
|
+
email: Cs,
|
|
1505
|
+
enterIdCard: Ts,
|
|
1506
|
+
enterInvoiceSymbol: ks,
|
|
1507
|
+
enterPassport: Os,
|
|
1508
|
+
enterProviderName: Is,
|
|
1509
|
+
enterTaxAuthorityCode: Ls,
|
|
1510
|
+
errorFetchTaxInfo: Ns,
|
|
1511
|
+
errorFileFormat: Rs,
|
|
1512
|
+
errorFileSize: Fs,
|
|
1513
|
+
errorInvalidAddress: Ds,
|
|
1514
|
+
errorInvalidCard: Es,
|
|
1515
|
+
errorInvalidDate: As,
|
|
1516
|
+
errorInvalidEmail: js,
|
|
1517
|
+
errorInvalidIdCard: Us,
|
|
1518
|
+
errorInvalidName: Ms,
|
|
1519
|
+
errorInvalidPhone: Hs,
|
|
1520
|
+
errorInvalidProviderName: Ks,
|
|
1521
|
+
errorInvalidTaxAuthorityCode: Bs,
|
|
1522
|
+
errorInvalidTaxCode: qs,
|
|
1523
|
+
errorNetwork: Vs,
|
|
1524
|
+
errorRequired: zs,
|
|
1525
|
+
errorUnknown: Qs,
|
|
1526
|
+
errorInvalidRequest: Gs,
|
|
1527
|
+
errorUnauthorized: Ws,
|
|
1528
|
+
errorForbidden: Xs,
|
|
1529
|
+
errorNotFound: _s,
|
|
1530
|
+
errorValidation: Js,
|
|
1531
|
+
errorTooManyRequests: Ys,
|
|
1532
|
+
errorServer: Zs,
|
|
1533
|
+
errorServiceUnavailable: er,
|
|
1534
|
+
errorQRGeneration: tr,
|
|
1535
|
+
errorOrderStatus: nr,
|
|
1536
|
+
female: ir,
|
|
1537
|
+
fileFormat: or,
|
|
1538
|
+
frontIdCard: sr,
|
|
1539
|
+
fullName: rr,
|
|
1540
|
+
gender: ar,
|
|
1541
|
+
hasUsedEInvoice: cr,
|
|
1542
|
+
hasUsedEInvoiceBefore: lr,
|
|
1543
|
+
hotlineDesc: ur,
|
|
1544
|
+
hotlineDomestic: dr,
|
|
1545
|
+
idNumber: hr,
|
|
1546
|
+
increase: fr,
|
|
1547
|
+
informationSent: pr,
|
|
1548
|
+
invoicePackage: gr,
|
|
1549
|
+
invoiceSymbol: mr,
|
|
1550
|
+
invoiceTemplate: yr,
|
|
1551
|
+
invoiceTemplateTypes: vr,
|
|
1552
|
+
invoiceTypeB: br,
|
|
1553
|
+
invoiceTypeD: Sr,
|
|
1554
|
+
invoiceTypeG: xr,
|
|
1555
|
+
invoiceTypeH: $r,
|
|
1556
|
+
invoiceTypeL: Pr,
|
|
1557
|
+
invoiceTypeM: wr,
|
|
1558
|
+
invoiceTypeN: Cr,
|
|
1559
|
+
invoiceTypeT: Tr,
|
|
1560
|
+
invoiceTypeTooltip: kr,
|
|
1561
|
+
invoiceTypeX: Or,
|
|
1562
|
+
invoiceUsageInfo: Ir,
|
|
1563
|
+
invoicesPerMonth: Lr,
|
|
1564
|
+
loading: Nr,
|
|
1565
|
+
legalRepInfo: Rr,
|
|
1566
|
+
legalRepNote: Fr,
|
|
1567
|
+
male: Dr,
|
|
1568
|
+
maxFileSize: Er,
|
|
1569
|
+
month: Ar,
|
|
1570
|
+
mostSuitablePackage: jr,
|
|
1571
|
+
next: Ur,
|
|
1572
|
+
noPackageFound: Mr,
|
|
1573
|
+
notice1: Hr,
|
|
1574
|
+
notice2: Kr,
|
|
1553
1575
|
"notice3.1": "Sau khi được cấp tài khoản, vui lòng vào Link",
|
|
1554
1576
|
"notice3.2": "để kết nối và sử dụng dịch vụ HDDT",
|
|
1555
|
-
of:
|
|
1556
|
-
ok:
|
|
1557
|
-
optional:
|
|
1558
|
-
or:
|
|
1559
|
-
orderCreated:
|
|
1560
|
-
orderExpired:
|
|
1561
|
-
orderInfo:
|
|
1562
|
-
orderSummary:
|
|
1563
|
-
organizationCert:
|
|
1577
|
+
of: Br,
|
|
1578
|
+
ok: qr,
|
|
1579
|
+
optional: Vr,
|
|
1580
|
+
or: zr,
|
|
1581
|
+
orderCreated: Qr,
|
|
1582
|
+
orderExpired: Gr,
|
|
1583
|
+
orderInfo: Wr,
|
|
1584
|
+
orderSummary: Xr,
|
|
1585
|
+
organizationCert: _r,
|
|
1564
1586
|
package: "Gói",
|
|
1565
|
-
passport:
|
|
1566
|
-
paymentAmount:
|
|
1567
|
-
paymentFailed:
|
|
1568
|
-
paymentInstructions:
|
|
1569
|
-
paymentInstructionsTitle:
|
|
1570
|
-
paymentMethod:
|
|
1571
|
-
paymentSuccess:
|
|
1572
|
-
paymentTimeout:
|
|
1573
|
-
paymentTimeoutMessage:
|
|
1574
|
-
paymentTitle:
|
|
1575
|
-
permanentAddress:
|
|
1576
|
-
phone:
|
|
1577
|
-
product:
|
|
1578
|
-
provider:
|
|
1579
|
-
providerName:
|
|
1580
|
-
province:
|
|
1581
|
-
qrPayment:
|
|
1582
|
-
qrPaymentTitle:
|
|
1583
|
-
quantity:
|
|
1584
|
-
|
|
1585
|
-
registrationFee:
|
|
1586
|
-
required:
|
|
1587
|
-
returnHome:
|
|
1588
|
-
returnToStep1:
|
|
1589
|
-
sampleNumberTooltip:
|
|
1590
|
-
save:
|
|
1591
|
-
searchUnits:
|
|
1592
|
-
selectFile:
|
|
1593
|
-
selectInvoicePackage:
|
|
1594
|
-
selectProvider:
|
|
1595
|
-
selectSignaturePackage:
|
|
1596
|
-
selectSubscriptionPackage:
|
|
1597
|
-
selectedProducts:
|
|
1598
|
-
settings:
|
|
1599
|
-
signaturePackage:
|
|
1600
|
-
softwareLicense:
|
|
1601
|
-
stepInfo:
|
|
1602
|
-
stepPayment:
|
|
1603
|
-
stepPlan:
|
|
1604
|
-
subscriptionPackage:
|
|
1605
|
-
taxAuthority:
|
|
1606
|
-
taxAuthorityCode:
|
|
1607
|
-
taxCode:
|
|
1608
|
-
termsAndUsagePolicy:
|
|
1609
|
-
timeLeft:
|
|
1610
|
-
total:
|
|
1611
|
-
totalAmount:
|
|
1612
|
-
totalPrice:
|
|
1613
|
-
transactionCanceled:
|
|
1614
|
-
unit:
|
|
1615
|
-
unitInfo:
|
|
1616
|
-
unitPerMonth:
|
|
1617
|
-
unitPrice:
|
|
1618
|
-
unitsPerMonth:
|
|
1619
|
-
uploadBackId:
|
|
1620
|
-
uploadFile:
|
|
1621
|
-
uploadFrontId:
|
|
1622
|
-
uploadLogo:
|
|
1623
|
-
usagePolicy:
|
|
1624
|
-
ward:
|
|
1625
|
-
website:
|
|
1626
|
-
widgetTitle:
|
|
1627
|
-
yearTooltip:
|
|
1587
|
+
passport: Jr,
|
|
1588
|
+
paymentAmount: Yr,
|
|
1589
|
+
paymentFailed: Zr,
|
|
1590
|
+
paymentInstructions: ea,
|
|
1591
|
+
paymentInstructionsTitle: ta,
|
|
1592
|
+
paymentMethod: na,
|
|
1593
|
+
paymentSuccess: ia,
|
|
1594
|
+
paymentTimeout: oa,
|
|
1595
|
+
paymentTimeoutMessage: sa,
|
|
1596
|
+
paymentTitle: ra,
|
|
1597
|
+
permanentAddress: aa,
|
|
1598
|
+
phone: ca,
|
|
1599
|
+
product: la,
|
|
1600
|
+
provider: ua,
|
|
1601
|
+
providerName: da,
|
|
1602
|
+
province: ha,
|
|
1603
|
+
qrPayment: fa,
|
|
1604
|
+
qrPaymentTitle: pa,
|
|
1605
|
+
quantity: ga,
|
|
1606
|
+
completeRegistration: ma,
|
|
1607
|
+
registrationFee: ya,
|
|
1608
|
+
required: va,
|
|
1609
|
+
returnHome: ba,
|
|
1610
|
+
returnToStep1: Sa,
|
|
1611
|
+
sampleNumberTooltip: xa,
|
|
1612
|
+
save: $a,
|
|
1613
|
+
searchUnits: Pa,
|
|
1614
|
+
selectFile: wa,
|
|
1615
|
+
selectInvoicePackage: Ca,
|
|
1616
|
+
selectProvider: Ta,
|
|
1617
|
+
selectSignaturePackage: ka,
|
|
1618
|
+
selectSubscriptionPackage: Oa,
|
|
1619
|
+
selectedProducts: Ia,
|
|
1620
|
+
settings: La,
|
|
1621
|
+
signaturePackage: Na,
|
|
1622
|
+
softwareLicense: Ra,
|
|
1623
|
+
stepInfo: Fa,
|
|
1624
|
+
stepPayment: Da,
|
|
1625
|
+
stepPlan: Ea,
|
|
1626
|
+
subscriptionPackage: Aa,
|
|
1627
|
+
taxAuthority: ja,
|
|
1628
|
+
taxAuthorityCode: Ua,
|
|
1629
|
+
taxCode: Ma,
|
|
1630
|
+
termsAndUsagePolicy: Ha,
|
|
1631
|
+
timeLeft: Ka,
|
|
1632
|
+
total: Ba,
|
|
1633
|
+
totalAmount: qa,
|
|
1634
|
+
totalPrice: Va,
|
|
1635
|
+
transactionCanceled: za,
|
|
1636
|
+
unit: Qa,
|
|
1637
|
+
unitInfo: Ga,
|
|
1638
|
+
unitPerMonth: Wa,
|
|
1639
|
+
unitPrice: Xa,
|
|
1640
|
+
unitsPerMonth: _a,
|
|
1641
|
+
uploadBackId: Ja,
|
|
1642
|
+
uploadFile: Ya,
|
|
1643
|
+
uploadFrontId: Za,
|
|
1644
|
+
uploadLogo: ec,
|
|
1645
|
+
usagePolicy: tc,
|
|
1646
|
+
ward: nc,
|
|
1647
|
+
website: ic,
|
|
1648
|
+
widgetTitle: oc,
|
|
1649
|
+
yearTooltip: sc
|
|
1628
1650
|
}, {
|
|
1629
|
-
slice:
|
|
1630
|
-
forEach:
|
|
1651
|
+
slice: ac,
|
|
1652
|
+
forEach: cc
|
|
1631
1653
|
} = [];
|
|
1632
|
-
function
|
|
1633
|
-
return
|
|
1654
|
+
function lc(o) {
|
|
1655
|
+
return cc.call(ac.call(arguments, 1), (e) => {
|
|
1634
1656
|
if (e)
|
|
1635
1657
|
for (const t in e)
|
|
1636
1658
|
o[t] === void 0 && (o[t] = e[t]);
|
|
1637
1659
|
}), o;
|
|
1638
1660
|
}
|
|
1639
|
-
function
|
|
1661
|
+
function uc(o) {
|
|
1640
1662
|
return typeof o != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((t) => t.test(o));
|
|
1641
1663
|
}
|
|
1642
|
-
const
|
|
1664
|
+
const Ee = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, dc = function(o, e) {
|
|
1643
1665
|
const n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
1644
1666
|
path: "/"
|
|
1645
1667
|
}, i = encodeURIComponent(e);
|
|
@@ -1650,12 +1672,12 @@ const De = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Va = function(o, e) {
|
|
|
1650
1672
|
s += `; Max-Age=${Math.floor(r)}`;
|
|
1651
1673
|
}
|
|
1652
1674
|
if (n.domain) {
|
|
1653
|
-
if (!
|
|
1675
|
+
if (!Ee.test(n.domain))
|
|
1654
1676
|
throw new TypeError("option domain is invalid");
|
|
1655
1677
|
s += `; Domain=${n.domain}`;
|
|
1656
1678
|
}
|
|
1657
1679
|
if (n.path) {
|
|
1658
|
-
if (!
|
|
1680
|
+
if (!Ee.test(n.path))
|
|
1659
1681
|
throw new TypeError("option path is invalid");
|
|
1660
1682
|
s += `; Path=${n.path}`;
|
|
1661
1683
|
}
|
|
@@ -1688,7 +1710,7 @@ const De = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Va = function(o, e) {
|
|
|
1688
1710
|
path: "/",
|
|
1689
1711
|
sameSite: "strict"
|
|
1690
1712
|
};
|
|
1691
|
-
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), n && (i.domain = n), document.cookie =
|
|
1713
|
+
t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), n && (i.domain = n), document.cookie = dc(o, e, i);
|
|
1692
1714
|
},
|
|
1693
1715
|
read(o) {
|
|
1694
1716
|
const e = `${o}=`, t = document.cookie.split(";");
|
|
@@ -1703,7 +1725,7 @@ const De = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Va = function(o, e) {
|
|
|
1703
1725
|
this.create(o, "", -1, e);
|
|
1704
1726
|
}
|
|
1705
1727
|
};
|
|
1706
|
-
var
|
|
1728
|
+
var hc = {
|
|
1707
1729
|
name: "cookie",
|
|
1708
1730
|
// Deconstruct the options object and extract the lookupCookie property
|
|
1709
1731
|
lookup(o) {
|
|
@@ -1723,7 +1745,7 @@ var qa = {
|
|
|
1723
1745
|
} = e;
|
|
1724
1746
|
t && typeof document != "undefined" && Ae.create(t, o, n, i, s);
|
|
1725
1747
|
}
|
|
1726
|
-
},
|
|
1748
|
+
}, fc = {
|
|
1727
1749
|
name: "querystring",
|
|
1728
1750
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
1729
1751
|
lookup(o) {
|
|
@@ -1744,7 +1766,7 @@ var qa = {
|
|
|
1744
1766
|
}
|
|
1745
1767
|
return t;
|
|
1746
1768
|
}
|
|
1747
|
-
},
|
|
1769
|
+
}, pc = {
|
|
1748
1770
|
name: "hash",
|
|
1749
1771
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
1750
1772
|
lookup(o) {
|
|
@@ -1789,7 +1811,7 @@ const je = () => {
|
|
|
1789
1811
|
}
|
|
1790
1812
|
return M;
|
|
1791
1813
|
};
|
|
1792
|
-
var
|
|
1814
|
+
var gc = {
|
|
1793
1815
|
name: "localStorage",
|
|
1794
1816
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
1795
1817
|
lookup(o) {
|
|
@@ -1820,7 +1842,7 @@ const Ue = () => {
|
|
|
1820
1842
|
}
|
|
1821
1843
|
return H;
|
|
1822
1844
|
};
|
|
1823
|
-
var
|
|
1845
|
+
var mc = {
|
|
1824
1846
|
name: "sessionStorage",
|
|
1825
1847
|
lookup(o) {
|
|
1826
1848
|
let {
|
|
@@ -1835,7 +1857,7 @@ var Ga = {
|
|
|
1835
1857
|
} = e;
|
|
1836
1858
|
t && Ue() && window.sessionStorage.setItem(t, o);
|
|
1837
1859
|
}
|
|
1838
|
-
},
|
|
1860
|
+
}, yc = {
|
|
1839
1861
|
name: "navigator",
|
|
1840
1862
|
lookup(o) {
|
|
1841
1863
|
const e = [];
|
|
@@ -1852,7 +1874,7 @@ var Ga = {
|
|
|
1852
1874
|
}
|
|
1853
1875
|
return e.length > 0 ? e : void 0;
|
|
1854
1876
|
}
|
|
1855
|
-
},
|
|
1877
|
+
}, vc = {
|
|
1856
1878
|
name: "htmlTag",
|
|
1857
1879
|
// Deconstruct the options object and extract the htmlTag property
|
|
1858
1880
|
lookup(o) {
|
|
@@ -1862,7 +1884,7 @@ var Ga = {
|
|
|
1862
1884
|
const n = e || (typeof document != "undefined" ? document.documentElement : null);
|
|
1863
1885
|
return n && typeof n.getAttribute == "function" && (t = n.getAttribute("lang")), t;
|
|
1864
1886
|
}
|
|
1865
|
-
},
|
|
1887
|
+
}, bc = {
|
|
1866
1888
|
name: "path",
|
|
1867
1889
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
1868
1890
|
lookup(o) {
|
|
@@ -1874,7 +1896,7 @@ var Ga = {
|
|
|
1874
1896
|
const t = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
1875
1897
|
return Array.isArray(t) ? (i = t[typeof e == "number" ? e : 0]) == null ? void 0 : i.replace("/", "") : void 0;
|
|
1876
1898
|
}
|
|
1877
|
-
},
|
|
1899
|
+
}, Sc = {
|
|
1878
1900
|
name: "subdomain",
|
|
1879
1901
|
lookup(o) {
|
|
1880
1902
|
var i, s;
|
|
@@ -1886,15 +1908,15 @@ var Ga = {
|
|
|
1886
1908
|
return n[t];
|
|
1887
1909
|
}
|
|
1888
1910
|
};
|
|
1889
|
-
let
|
|
1911
|
+
let Qe = !1;
|
|
1890
1912
|
try {
|
|
1891
|
-
document.cookie,
|
|
1913
|
+
document.cookie, Qe = !0;
|
|
1892
1914
|
} catch (o) {
|
|
1893
1915
|
}
|
|
1894
|
-
const
|
|
1895
|
-
|
|
1896
|
-
const
|
|
1897
|
-
order:
|
|
1916
|
+
const Ge = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
1917
|
+
Qe || Ge.splice(1, 1);
|
|
1918
|
+
const xc = () => ({
|
|
1919
|
+
order: Ge,
|
|
1898
1920
|
lookupQuerystring: "lng",
|
|
1899
1921
|
lookupCookie: "i18next",
|
|
1900
1922
|
lookupLocalStorage: "i18nextLng",
|
|
@@ -1906,7 +1928,7 @@ const Za = () => ({
|
|
|
1906
1928
|
// cookieDomain: 'myDomain'
|
|
1907
1929
|
convertDetectedLanguage: (o) => o
|
|
1908
1930
|
});
|
|
1909
|
-
class
|
|
1931
|
+
class We {
|
|
1910
1932
|
constructor(e) {
|
|
1911
1933
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1912
1934
|
this.type = "languageDetector", this.detectors = {}, this.init(e, t);
|
|
@@ -1915,7 +1937,7 @@ class Ge {
|
|
|
1915
1937
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
1916
1938
|
languageUtils: {}
|
|
1917
1939
|
}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1918
|
-
this.services = e, this.options =
|
|
1940
|
+
this.services = e, this.options = lc(t, this.options || {}, xc()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(hc), this.addDetector(fc), this.addDetector(gc), this.addDetector(mc), this.addDetector(yc), this.addDetector(vc), this.addDetector(bc), this.addDetector(Sc), this.addDetector(pc);
|
|
1919
1941
|
}
|
|
1920
1942
|
addDetector(e) {
|
|
1921
1943
|
return this.detectors[e.name] = e, this;
|
|
@@ -1927,7 +1949,7 @@ class Ge {
|
|
|
1927
1949
|
let i = this.detectors[n].lookup(this.options);
|
|
1928
1950
|
i && typeof i == "string" && (i = [i]), i && (t = t.concat(i));
|
|
1929
1951
|
}
|
|
1930
|
-
}), t = t.filter((n) => n != null && !
|
|
1952
|
+
}), t = t.filter((n) => n != null && !uc(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : null;
|
|
1931
1953
|
}
|
|
1932
1954
|
cacheUserLanguage(e) {
|
|
1933
1955
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -1936,7 +1958,7 @@ class Ge {
|
|
|
1936
1958
|
}));
|
|
1937
1959
|
}
|
|
1938
1960
|
}
|
|
1939
|
-
|
|
1961
|
+
We.type = "languageDetector";
|
|
1940
1962
|
function de(o) {
|
|
1941
1963
|
"@babel/helpers - typeof";
|
|
1942
1964
|
return de = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -1948,11 +1970,11 @@ function de(o) {
|
|
|
1948
1970
|
function Xe() {
|
|
1949
1971
|
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest == "undefined" ? "undefined" : de(XMLHttpRequest)) === "object";
|
|
1950
1972
|
}
|
|
1951
|
-
function
|
|
1973
|
+
function $c(o) {
|
|
1952
1974
|
return !!o && typeof o.then == "function";
|
|
1953
1975
|
}
|
|
1954
|
-
function
|
|
1955
|
-
return
|
|
1976
|
+
function Pc(o) {
|
|
1977
|
+
return $c(o) ? o : Promise.resolve(o);
|
|
1956
1978
|
}
|
|
1957
1979
|
function Me(o, e) {
|
|
1958
1980
|
var t = Object.keys(o);
|
|
@@ -1968,21 +1990,21 @@ function He(o) {
|
|
|
1968
1990
|
for (var e = 1; e < arguments.length; e++) {
|
|
1969
1991
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
1970
1992
|
e % 2 ? Me(Object(t), !0).forEach(function(n) {
|
|
1971
|
-
|
|
1993
|
+
wc(o, n, t[n]);
|
|
1972
1994
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : Me(Object(t)).forEach(function(n) {
|
|
1973
1995
|
Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(t, n));
|
|
1974
1996
|
});
|
|
1975
1997
|
}
|
|
1976
1998
|
return o;
|
|
1977
1999
|
}
|
|
1978
|
-
function
|
|
1979
|
-
return (e =
|
|
2000
|
+
function wc(o, e, t) {
|
|
2001
|
+
return (e = Cc(e)) in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
|
|
1980
2002
|
}
|
|
1981
|
-
function
|
|
1982
|
-
var e =
|
|
2003
|
+
function Cc(o) {
|
|
2004
|
+
var e = Tc(o, "string");
|
|
1983
2005
|
return j(e) == "symbol" ? e : e + "";
|
|
1984
2006
|
}
|
|
1985
|
-
function
|
|
2007
|
+
function Tc(o, e) {
|
|
1986
2008
|
if (j(o) != "object" || !o) return o;
|
|
1987
2009
|
var t = o[Symbol.toPrimitive];
|
|
1988
2010
|
if (t !== void 0) {
|
|
@@ -2000,17 +2022,17 @@ function j(o) {
|
|
|
2000
2022
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2001
2023
|
}, j(o);
|
|
2002
2024
|
}
|
|
2003
|
-
var
|
|
2004
|
-
typeof global != "undefined" && global.fetch ?
|
|
2025
|
+
var E = typeof fetch == "function" ? fetch : void 0;
|
|
2026
|
+
typeof global != "undefined" && global.fetch ? E = global.fetch : typeof window != "undefined" && window.fetch && (E = window.fetch);
|
|
2005
2027
|
var X;
|
|
2006
2028
|
Xe() && (typeof global != "undefined" && global.XMLHttpRequest ? X = global.XMLHttpRequest : typeof window != "undefined" && window.XMLHttpRequest && (X = window.XMLHttpRequest));
|
|
2007
2029
|
var ie;
|
|
2008
2030
|
typeof ActiveXObject == "function" && (typeof global != "undefined" && global.ActiveXObject ? ie = global.ActiveXObject : typeof window != "undefined" && window.ActiveXObject && (ie = window.ActiveXObject));
|
|
2009
|
-
typeof
|
|
2010
|
-
if (!
|
|
2031
|
+
typeof E != "function" && (E = void 0);
|
|
2032
|
+
if (!E && !X && !ie)
|
|
2011
2033
|
try {
|
|
2012
2034
|
import("./browser-ponyfill-BxQPfTD2.js").then((o) => o.b).then(function(o) {
|
|
2013
|
-
|
|
2035
|
+
E = o.default;
|
|
2014
2036
|
}).catch(function() {
|
|
2015
2037
|
});
|
|
2016
2038
|
} catch (o) {
|
|
@@ -2024,7 +2046,7 @@ var he = function(e, t) {
|
|
|
2024
2046
|
e = e + (e.indexOf("?") !== -1 ? "&" : "?") + n.slice(1);
|
|
2025
2047
|
}
|
|
2026
2048
|
return e;
|
|
2027
|
-
},
|
|
2049
|
+
}, Ke = function(e, t, n, i) {
|
|
2028
2050
|
var s = function(c) {
|
|
2029
2051
|
if (!c.ok) return n(c.statusText || "Error", {
|
|
2030
2052
|
status: c.status
|
|
@@ -2043,8 +2065,8 @@ var he = function(e, t) {
|
|
|
2043
2065
|
return;
|
|
2044
2066
|
}
|
|
2045
2067
|
}
|
|
2046
|
-
typeof fetch == "function" ? fetch(e, t).then(s).catch(n) :
|
|
2047
|
-
},
|
|
2068
|
+
typeof fetch == "function" ? fetch(e, t).then(s).catch(n) : E(e, t).then(s).catch(n);
|
|
2069
|
+
}, Be = !1, kc = function(e, t, n, i) {
|
|
2048
2070
|
e.queryStringParams && (t = he(t, e.queryStringParams));
|
|
2049
2071
|
var s = He({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
|
|
2050
2072
|
typeof window == "undefined" && typeof global != "undefined" && typeof global.process != "undefined" && global.process.versions && global.process.versions.node && (s["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), n && (s["Content-Type"] = "application/json");
|
|
@@ -2052,21 +2074,21 @@ var he = function(e, t) {
|
|
|
2052
2074
|
method: n ? "POST" : "GET",
|
|
2053
2075
|
body: n ? e.stringify(n) : void 0,
|
|
2054
2076
|
headers: s
|
|
2055
|
-
},
|
|
2077
|
+
}, Be ? {} : r), c = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
|
|
2056
2078
|
try {
|
|
2057
|
-
|
|
2079
|
+
Ke(t, a, i, c);
|
|
2058
2080
|
} catch (l) {
|
|
2059
2081
|
if (!r || Object.keys(r).length === 0 || !l.message || l.message.indexOf("not implemented") < 0)
|
|
2060
2082
|
return i(l);
|
|
2061
2083
|
try {
|
|
2062
2084
|
Object.keys(r).forEach(function(d) {
|
|
2063
2085
|
delete a[d];
|
|
2064
|
-
}),
|
|
2086
|
+
}), Ke(t, a, i, c), Be = !0;
|
|
2065
2087
|
} catch (d) {
|
|
2066
2088
|
i(d);
|
|
2067
2089
|
}
|
|
2068
2090
|
}
|
|
2069
|
-
},
|
|
2091
|
+
}, Oc = function(e, t, n, i) {
|
|
2070
2092
|
n && j(n) === "object" && (n = he("", n).slice(1)), e.queryStringParams && (t = he(t, e.queryStringParams));
|
|
2071
2093
|
try {
|
|
2072
2094
|
var s = X ? new X() : new ie("MSXML2.XMLHTTP.3.0");
|
|
@@ -2084,23 +2106,23 @@ var he = function(e, t) {
|
|
|
2084
2106
|
} catch (c) {
|
|
2085
2107
|
console && console.log(c);
|
|
2086
2108
|
}
|
|
2087
|
-
},
|
|
2109
|
+
}, Ic = function(e, t, n, i) {
|
|
2088
2110
|
if (typeof n == "function" && (i = n, n = void 0), i = i || function() {
|
|
2089
|
-
},
|
|
2090
|
-
return
|
|
2111
|
+
}, E && t.indexOf("file:") !== 0)
|
|
2112
|
+
return kc(e, t, n, i);
|
|
2091
2113
|
if (Xe() || typeof ActiveXObject == "function")
|
|
2092
|
-
return
|
|
2114
|
+
return Oc(e, t, n, i);
|
|
2093
2115
|
i(new Error("No fetch and no xhr implementation found!"));
|
|
2094
2116
|
};
|
|
2095
|
-
function
|
|
2117
|
+
function K(o) {
|
|
2096
2118
|
"@babel/helpers - typeof";
|
|
2097
|
-
return
|
|
2119
|
+
return K = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
2098
2120
|
return typeof e;
|
|
2099
2121
|
} : function(e) {
|
|
2100
2122
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2101
|
-
},
|
|
2123
|
+
}, K(o);
|
|
2102
2124
|
}
|
|
2103
|
-
function
|
|
2125
|
+
function qe(o, e) {
|
|
2104
2126
|
var t = Object.keys(o);
|
|
2105
2127
|
if (Object.getOwnPropertySymbols) {
|
|
2106
2128
|
var n = Object.getOwnPropertySymbols(o);
|
|
@@ -2113,44 +2135,44 @@ function Ve(o, e) {
|
|
|
2113
2135
|
function ae(o) {
|
|
2114
2136
|
for (var e = 1; e < arguments.length; e++) {
|
|
2115
2137
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
2116
|
-
e % 2 ?
|
|
2138
|
+
e % 2 ? qe(Object(t), !0).forEach(function(n) {
|
|
2117
2139
|
_e(o, n, t[n]);
|
|
2118
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) :
|
|
2140
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : qe(Object(t)).forEach(function(n) {
|
|
2119
2141
|
Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(t, n));
|
|
2120
2142
|
});
|
|
2121
2143
|
}
|
|
2122
2144
|
return o;
|
|
2123
2145
|
}
|
|
2124
|
-
function
|
|
2146
|
+
function Lc(o, e) {
|
|
2125
2147
|
if (!(o instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
2126
2148
|
}
|
|
2127
|
-
function
|
|
2149
|
+
function Nc(o, e) {
|
|
2128
2150
|
for (var t = 0; t < e.length; t++) {
|
|
2129
2151
|
var n = e[t];
|
|
2130
2152
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(o, Je(n.key), n);
|
|
2131
2153
|
}
|
|
2132
2154
|
}
|
|
2133
|
-
function
|
|
2134
|
-
return e &&
|
|
2155
|
+
function Rc(o, e, t) {
|
|
2156
|
+
return e && Nc(o.prototype, e), Object.defineProperty(o, "prototype", { writable: !1 }), o;
|
|
2135
2157
|
}
|
|
2136
2158
|
function _e(o, e, t) {
|
|
2137
2159
|
return (e = Je(e)) in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
|
|
2138
2160
|
}
|
|
2139
2161
|
function Je(o) {
|
|
2140
|
-
var e =
|
|
2141
|
-
return
|
|
2162
|
+
var e = Fc(o, "string");
|
|
2163
|
+
return K(e) == "symbol" ? e : e + "";
|
|
2142
2164
|
}
|
|
2143
|
-
function
|
|
2144
|
-
if (
|
|
2165
|
+
function Fc(o, e) {
|
|
2166
|
+
if (K(o) != "object" || !o) return o;
|
|
2145
2167
|
var t = o[Symbol.toPrimitive];
|
|
2146
2168
|
if (t !== void 0) {
|
|
2147
2169
|
var n = t.call(o, e);
|
|
2148
|
-
if (
|
|
2170
|
+
if (K(n) != "object") return n;
|
|
2149
2171
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2150
2172
|
}
|
|
2151
2173
|
return String(o);
|
|
2152
2174
|
}
|
|
2153
|
-
var
|
|
2175
|
+
var Dc = function() {
|
|
2154
2176
|
return {
|
|
2155
2177
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
2156
2178
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -2163,7 +2185,7 @@ var hc = function() {
|
|
|
2163
2185
|
},
|
|
2164
2186
|
parseLoadPayload: function(t, n) {
|
|
2165
2187
|
},
|
|
2166
|
-
request:
|
|
2188
|
+
request: Ic,
|
|
2167
2189
|
reloadInterval: typeof window != "undefined" ? !1 : 60 * 60 * 1e3,
|
|
2168
2190
|
customHeaders: {},
|
|
2169
2191
|
queryStringParams: {},
|
|
@@ -2179,17 +2201,17 @@ var hc = function() {
|
|
|
2179
2201
|
}, Ye = function() {
|
|
2180
2202
|
function o(e) {
|
|
2181
2203
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2182
|
-
|
|
2204
|
+
Lc(this, o), this.services = e, this.options = t, this.allOptions = n, this.type = "backend", this.init(e, t, n);
|
|
2183
2205
|
}
|
|
2184
|
-
return
|
|
2206
|
+
return Rc(o, [{
|
|
2185
2207
|
key: "init",
|
|
2186
2208
|
value: function(t) {
|
|
2187
2209
|
var n = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2188
|
-
if (this.services = t, this.options = ae(ae(ae({},
|
|
2210
|
+
if (this.services = t, this.options = ae(ae(ae({}, Dc()), this.options || {}), i), this.allOptions = s, this.services && this.options.reloadInterval) {
|
|
2189
2211
|
var r = setInterval(function() {
|
|
2190
2212
|
return n.reload();
|
|
2191
2213
|
}, this.options.reloadInterval);
|
|
2192
|
-
|
|
2214
|
+
K(r) === "object" && typeof r.unref == "function" && r.unref();
|
|
2193
2215
|
}
|
|
2194
2216
|
}
|
|
2195
2217
|
}, {
|
|
@@ -2206,7 +2228,7 @@ var hc = function() {
|
|
|
2206
2228
|
key: "_readAny",
|
|
2207
2229
|
value: function(t, n, i, s, r) {
|
|
2208
2230
|
var a = this, c = this.options.loadPath;
|
|
2209
|
-
typeof this.options.loadPath == "function" && (c = this.options.loadPath(t, i)), c =
|
|
2231
|
+
typeof this.options.loadPath == "function" && (c = this.options.loadPath(t, i)), c = Pc(c), c.then(function(l) {
|
|
2210
2232
|
if (!l) return r(null, {});
|
|
2211
2233
|
var d = a.services.interpolator.interpolate(l, {
|
|
2212
2234
|
lng: t.join("+"),
|
|
@@ -2285,13 +2307,13 @@ var hc = function() {
|
|
|
2285
2307
|
}]);
|
|
2286
2308
|
}();
|
|
2287
2309
|
Ye.type = "backend";
|
|
2288
|
-
b.use(Ye).use(
|
|
2310
|
+
b.use(Ye).use(We).init({
|
|
2289
2311
|
lng: "vi",
|
|
2290
2312
|
fallbackLng: "vi",
|
|
2291
2313
|
debug: !1,
|
|
2292
2314
|
resources: {
|
|
2293
|
-
en: { translation:
|
|
2294
|
-
vi: { translation:
|
|
2315
|
+
en: { translation: Vo },
|
|
2316
|
+
vi: { translation: rc }
|
|
2295
2317
|
},
|
|
2296
2318
|
interpolation: {
|
|
2297
2319
|
escapeValue: !1
|
|
@@ -2299,13 +2321,13 @@ b.use(Ye).use(Ge).init({
|
|
|
2299
2321
|
// Allow returning objects/arrays from translations
|
|
2300
2322
|
returnObjects: !0
|
|
2301
2323
|
});
|
|
2302
|
-
function
|
|
2324
|
+
function Ec(o) {
|
|
2303
2325
|
b.changeLanguage(o);
|
|
2304
2326
|
}
|
|
2305
|
-
function
|
|
2327
|
+
function Mc(o, e) {
|
|
2306
2328
|
return b.t(o, g({ returnObjects: !0 }, e));
|
|
2307
2329
|
}
|
|
2308
|
-
function
|
|
2330
|
+
function Ac(o = "dev") {
|
|
2309
2331
|
const e = {
|
|
2310
2332
|
dev: {
|
|
2311
2333
|
invoiceHubBaseUrl: "https://stag-invoice-hub.atomsolution.vn",
|
|
@@ -2348,7 +2370,7 @@ function Ze(o) {
|
|
|
2348
2370
|
console.warn("Could not save to localStorage:", e);
|
|
2349
2371
|
}
|
|
2350
2372
|
}
|
|
2351
|
-
function
|
|
2373
|
+
function jc() {
|
|
2352
2374
|
if (fe && Z)
|
|
2353
2375
|
return Z;
|
|
2354
2376
|
try {
|
|
@@ -2360,15 +2382,15 @@ function gc() {
|
|
|
2360
2382
|
}
|
|
2361
2383
|
return "dev";
|
|
2362
2384
|
}
|
|
2363
|
-
function
|
|
2364
|
-
const o =
|
|
2365
|
-
return
|
|
2385
|
+
function Hc() {
|
|
2386
|
+
const o = jc();
|
|
2387
|
+
return Ac(o);
|
|
2366
2388
|
}
|
|
2367
2389
|
let ce = null, le = null;
|
|
2368
|
-
function
|
|
2390
|
+
function Kc(o) {
|
|
2369
2391
|
return se(this, null, function* () {
|
|
2370
2392
|
if (o.mode && Ze(o.mode), o.language && et(o.language), !le) {
|
|
2371
|
-
const { InvoiceRegisterWidget: n } = yield import("./widget-
|
|
2393
|
+
const { InvoiceRegisterWidget: n } = yield import("./widget-CXSamkSI.js");
|
|
2372
2394
|
le = n;
|
|
2373
2395
|
}
|
|
2374
2396
|
const e = typeof o.selector == "string" ? document.querySelector(o.selector) : o.selector;
|
|
@@ -2387,10 +2409,10 @@ function bc(o) {
|
|
|
2387
2409
|
), { destroy: t };
|
|
2388
2410
|
});
|
|
2389
2411
|
}
|
|
2390
|
-
function
|
|
2412
|
+
function Bc(o) {
|
|
2391
2413
|
return se(this, null, function* () {
|
|
2392
2414
|
if (o.mode && Ze(o.mode), o.language && et(o.language), !ce) {
|
|
2393
|
-
const { EContractWidget: n } = yield import("./widget-
|
|
2415
|
+
const { EContractWidget: n } = yield import("./widget-CXSamkSI.js");
|
|
2394
2416
|
ce = n;
|
|
2395
2417
|
}
|
|
2396
2418
|
const e = typeof o.selector == "string" ? document.querySelector(o.selector) : o.selector;
|
|
@@ -2406,22 +2428,22 @@ let pe = /* @__PURE__ */ new Set();
|
|
|
2406
2428
|
function et(o) {
|
|
2407
2429
|
if (o !== "vi" && o !== "en")
|
|
2408
2430
|
throw new Error(`[WidgetSDK] Unsupported language: ${o}`);
|
|
2409
|
-
|
|
2431
|
+
Ec(o), pe.forEach((e) => {
|
|
2410
2432
|
e.rerender && e.rerender();
|
|
2411
2433
|
});
|
|
2412
2434
|
}
|
|
2413
|
-
function
|
|
2435
|
+
function qc(o) {
|
|
2414
2436
|
pe.add(o);
|
|
2415
2437
|
}
|
|
2416
|
-
function
|
|
2438
|
+
function Vc(o) {
|
|
2417
2439
|
pe.delete(o);
|
|
2418
2440
|
}
|
|
2419
2441
|
export {
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2442
|
+
Bc as a,
|
|
2443
|
+
Hc as g,
|
|
2444
|
+
Kc as i,
|
|
2445
|
+
qc as r,
|
|
2424
2446
|
et as s,
|
|
2425
|
-
|
|
2426
|
-
|
|
2447
|
+
Mc as t,
|
|
2448
|
+
Vc as u
|
|
2427
2449
|
};
|