@invoice-sdk/widget 1.49.1 → 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.
@@ -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, we = (o) => !o || m(o), W = (o, e, t) => {
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 (we(o)) return {};
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 we(o) ? {} : {
47
+ return Pe(o) ? {} : {
48
48
  obj: o,
49
49
  k: $e(n[i])
50
50
  };
51
- }, Pe = (o, e, t) => {
51
+ }, we = (o, e, t) => {
52
52
  const {
53
53
  obj: n,
54
54
  k: i
55
- } = W(o, e, Object);
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 = W(o, r, Object);
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 = W(o, r, Object), a != null && a.obj && typeof a.obj[`${a.k}.${s}`] != "undefined" && (a.obj = void 0);
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
- } = W(o, e, Object);
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
- } = W(o, e);
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
- }, qe = (o, e, t) => {
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]) : qe(o[n], e[n], 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
- }, Q = (o) => o == null ? void 0 : o.replace("_", "-"), vt = {
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 I = new te();
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), Pe(this.data, a, i), s.silent || this.emit("added", e, t, n, i);
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 ? qe(c, n, s) : c = g(g({}, c), n), Pe(this.data, a, c), r.silent || this.emit("added", e, t, n);
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 = I.create("translator");
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, E = !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, {
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
- }) : "", K = x && !i.ordinal && i.count === 0, w = K && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${_}`] || i[`defaultValue${R}`] || i.defaultValue;
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
- E && !h && N && (S = w);
364
+ D && !h && N && (S = P);
365
365
  const tt = ke(S), nt = Object.prototype.toString.apply(S);
366
- if (E && S && tt && T.indexOf(nt) < 0 && !(m(C) && Array.isArray(S))) {
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 L in S)
377
- if (Object.prototype.hasOwnProperty.call(S, L)) {
378
- const F = `${ge}${r}${L}`;
379
- N && !h ? k[L] = this.translate(F, $(g({}, i), {
380
- defaultValue: ke(w) ? w[L] : void 0,
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[L] = this.translate(F, $(g({}, i), {
383
+ })) : k[I] = this.translate(F, $(g({}, i), {
384
384
  joinArrays: !1,
385
385
  ns: c
386
- })), k[L] === F && (k[L] = S[L]);
386
+ })), k[I] === F && (k[I] = S[I]);
387
387
  }
388
388
  h = k;
389
389
  }
390
- } else if (E && m(C) && Array.isArray(h))
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 = w), this.isValidLookup(h) || (k = !0, h = a);
395
- const L = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && k ? void 0 : h, F = N && w !== h && this.options.updateMissing;
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 ? w : h), r) {
398
- const P = this.resolve(a, $(g({}, i), {
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
- P && P.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.");
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 V = [];
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 P = 0; P < J.length; P++)
407
- V.push(J[P]);
408
- else this.options.saveMissingTo === "all" ? V = this.languageUtils.toResolveHierarchy(i.lng || this.language) : V.push(i.lng || this.language);
409
- const me = (P, A, q) => {
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 && q !== h ? q : L;
412
- this.options.missingKeyHandler ? this.options.missingKeyHandler(P, l, A, ye, F, i) : (ve = this.backendConnector) != null && ve.saveMissing && this.backendConnector.saveMissing(P, l, A, ye, F, i), this.emit("missingKey", P, l, A, h);
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 ? V.forEach((P) => {
415
- const A = this.pluralResolver.getSuffixes(P, i);
416
- K && i[`defaultValue${this.options.pluralSeparator}zero`] && A.indexOf(`${this.options.pluralSeparator}zero`) < 0 && A.push(`${this.options.pluralSeparator}zero`), A.forEach((q) => {
417
- me([P], a + q, i[`defaultValue${q}`] || w);
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(V, a, w));
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((E) => {
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 = E;
469
+ r = D;
470
470
  const x = [d];
471
471
  if ((_ = this.i18nFormat) != null && _.addLookupKeys)
472
- this.i18nFormat.addLookupKeys(x, d, E, v, t);
472
+ this.i18nFormat.addLookupKeys(x, d, D, v, t);
473
473
  else {
474
474
  let R;
475
- p && (R = this.pluralResolver.getSuffix(E, t.count, t));
476
- const K = `${this.options.pluralSeparator}zero`, w = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
477
- if (p && (x.push(d + R), t.ordinal && R.indexOf(w) === 0 && x.push(d + R.replace(w, this.options.pluralSeparator)), f && x.push(d + K)), h) {
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(w) === 0 && x.push(S + R.replace(w, this.options.pluralSeparator)), f && x.push(S + K));
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(E, v, N, t));
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 = I.create("languageUtils");
522
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = L.create("languageUtils");
523
523
  }
524
524
  getScriptPartFromCode(e) {
525
- if (e = Q(e), !e || e.indexOf("-") < 0) return null;
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 = Q(e), !e || e.indexOf("-") < 0) return 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 Le = {
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
- }, Ie = {
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 = I.create("pluralResolver"), this.pluralRulesCache = {};
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 = Q(e === "dev" ? "en" : e), i = t.ordinal ? "ordinal" : "cardinal", s = JSON.stringify({
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!"), Ie;
622
- if (!e.match(/-|_/)) return Ie;
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) => Le[i] - Le[s]).map((i) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : [];
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 = I.create("interpolator"), this.options = e, this.format = ((t = e == null ? void 0 : e.interpolation) == null ? void 0 : t.format) || ((n) => n), this.init(e);
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(Q(n), i), e[r] = a), a(t);
786
+ return a || (a = o(G(n), i), e[r] = a), a(t);
787
787
  };
788
- }, $t = (o) => (e, t, n) => o(Q(t), n)(e);
789
- class wt {
788
+ }, $t = (o) => (e, t, n) => o(G(t), n)(e);
789
+ class Pt {
790
790
  constructor(e = {}) {
791
- this.logger = I.create("formatter"), this.options = e, this.init(e);
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 Pt = (o, e) => {
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 = I.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);
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), Pt(c, e), t && c.errors.push(t), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach((l) => {
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
- }), Ee = (o) => {
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 G extends oe {
1056
+ class W extends oe {
1057
1057
  constructor(e = {}, t) {
1058
- if (super(), this.options = Ee(e), this.services = {}, this.logger = I, this.modules = {
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), Ee(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);
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 ? I.init(i(this.modules.logger), this.options) : I.init(null, this.options);
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 = wt;
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 = I, u.resourceStore = this.store, u.languageUtils = d, u.pluralResolver = new bt(d, {
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 G(e, t);
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 G(i);
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 = G.createInstance();
1271
- b.createInstance = G.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", Lt = "Unit Address", It = "I agree with", Nt = "and", Rt = "Back", Ft = "Back ID Card", Et = "Bank Name", Dt = "Beneficiary Bank", At = "Business Registration License", jt = "Cancel", Ut = "Cancel Transaction", Mt = "Close", Ht = "C (With tax authority code)", Bt = "K (Without code)", Kt = "C: With tax authority code, K: Without code", Vt = "Coming Soon", qt = "Unit Name", zt = "Complete your payment within", Wt = "Confirm", Qt = "Important Notice:", Gt = "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", wn = "Invalid phone number", Pn = "Invalid provider name", Cn = "Invalid tax authority code", Tn = "Invalid tax code", kn = "Network connection error", On = "This field is required", Ln = "An error occurred", In = "Female", Nn = "Format", Rn = "Front ID Card", Fn = "Full Name", En = "Gender", Dn = "Have you used e-invoices?", An = "Are you using another e-invoice provider other than M-invoice?", jn = "(Free Consulting and Support Hotline)", Un = "Hotline:", Mn = "ID Card Number", Hn = "Increase", Bn = "Information sent to the provider", Kn = "Invoice Package", Vn = "Invoice Symbol", qn = "Invoice Template", zn = { 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)" }, Wn = "B (Agent)", Qn = "D (Asset)", Gn = "G (VAT Stamp)", Xn = "H (Sales Stamp)", _n = "L (Tax Authority)", Jn = "M (Cash Register)", Yn = "N (Internal)", Zn = "T (Registration)", ei = "Invoice type", ti = "X (Commercial)", ni = "4. E-INVOICE USAGE INFORMATION:", ii = "invoices/month", oi = "2. Legal Representative Information:", si = "Please check and enter the correct legal representative name according to the uploaded business license.", ri = "Male", ai = "Max 500KB", ci = "Month", li = "Most Suitable Package", ui = "Continue", di = "No package found.", hi = "Please check your email inbox regularly to receive account information notifications from the provider.", fi = "If you have not received the email account information (username/password) within 2 hours, please contact the information below for the fastest support:", pi = "of", gi = "OK", mi = "Optional", yi = "or", vi = "Order created successfully", bi = "Order has expired", Si = "Order Information", xi = "Order Summary", $i = "Organization Registration Certificate", wi = "Passport", Pi = "Payment Amount", Ci = "Payment Failed", Ti = ["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"], ki = "QR Payment Instructions", Oi = "Payment Method:", Li = "Payment Successful!", Ii = "Payment timeout", Ni = "Payment timeout! Please try again.", Ri = "Payment", Fi = "Permanent address", Ei = "Phone Number", Di = "Product", Ai = "Provider", ji = "Provider Name", Ui = "Province/City", Mi = "QR Code Payment", Hi = "Scan QR Code to Pay", Bi = "Quantity", Ki = "Registration complete", Vi = "Registration Fee", qi = "Required", zi = "Return Home", Wi = "Return to step 1", Qi = "Invoice template number (1-9)", Gi = "Save", Xi = "Units per month", _i = "Select File", Ji = "Select E-Invoice Package", Yi = "Select Provider", Zi = "Select Digital Signature Package", eo = "Select Subscription Package", to = "Selected Products", no = "Settings", io = "Digital Signature Package", oo = "E-invoice software license", so = "Information", ro = "Confirmation & Payment", ao = "Invoice Package", co = "Subscription Package", lo = "Tax Authority", uo = "5 characters issued by the Authority for cash register bills", ho = "Unit Tax Code", fo = "Terms and Usage Policy", po = "Time Left", go = "Total", mo = "Total Amount", yo = "Total Price", vo = "Transaction has been canceled. Returning to registration page.", bo = "Unit", So = "1. Unit Information", xo = "units/month", $o = "Unit Price", wo = "units/ month", Po = "Upload Back ID Card", Co = "Upload File", To = "Upload Front ID Card", ko = "Upload Logo", Oo = "Usage Policy", Lo = "Ward", Io = "Website", No = "E-Invoice Registration", Ro = "Release year (last 2 digits)", Fo = {
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: Lt,
1290
- agreeWith: It,
1289
+ address: It,
1290
+ agreeWith: Lt,
1291
1291
  and: Nt,
1292
1292
  back: Rt,
1293
1293
  backIdCard: Ft,
1294
- bankName: Et,
1295
- beneficiaryBank: Dt,
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: Bt,
1302
- codeTypeTooltip: Kt,
1303
- comingSoon: Vt,
1304
- companyName: qt,
1301
+ codeTypeK: Kt,
1302
+ codeTypeTooltip: Bt,
1303
+ comingSoon: qt,
1304
+ companyName: Vt,
1305
1305
  completePaymentIn: zt,
1306
- confirm: Wt,
1307
- confirmationTitle: Qt,
1308
- contactInfo: Gt,
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: wn,
1338
- errorInvalidProviderName: Pn,
1337
+ errorInvalidPhone: Pn,
1338
+ errorInvalidProviderName: wn,
1339
1339
  errorInvalidTaxAuthorityCode: Cn,
1340
1340
  errorInvalidTaxCode: Tn,
1341
1341
  errorNetwork: kn,
1342
1342
  errorRequired: On,
1343
- errorUnknown: Ln,
1344
- female: In,
1345
- fileFormat: Nn,
1346
- frontIdCard: Rn,
1347
- fullName: Fn,
1348
- gender: En,
1349
- hasUsedEInvoice: Dn,
1350
- hasUsedEInvoiceBefore: An,
1351
- hotlineDesc: jn,
1352
- hotlineDomestic: Un,
1353
- idNumber: Mn,
1354
- increase: Hn,
1355
- informationSent: Bn,
1356
- invoicePackage: Kn,
1357
- invoiceSymbol: Vn,
1358
- invoiceTemplate: qn,
1359
- invoiceTemplateTypes: zn,
1360
- invoiceTypeB: Wn,
1361
- invoiceTypeD: Qn,
1362
- invoiceTypeG: Gn,
1363
- invoiceTypeH: Xn,
1364
- invoiceTypeL: _n,
1365
- invoiceTypeM: Jn,
1366
- invoiceTypeN: Yn,
1367
- invoiceTypeT: Zn,
1368
- invoiceTypeTooltip: ei,
1369
- invoiceTypeX: ti,
1370
- invoiceUsageInfo: ni,
1371
- invoicesPerMonth: ii,
1372
- legalRepInfo: oi,
1373
- legalRepNote: si,
1374
- male: ri,
1375
- maxFileSize: ai,
1376
- month: ci,
1377
- mostSuitablePackage: li,
1378
- next: ui,
1379
- noPackageFound: di,
1380
- notice1: hi,
1381
- notice2: fi,
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: pi,
1385
- ok: gi,
1386
- optional: mi,
1387
- or: yi,
1388
- orderCreated: vi,
1389
- orderExpired: bi,
1390
- orderInfo: Si,
1391
- orderSummary: xi,
1392
- organizationCert: $i,
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: wi,
1395
- paymentAmount: Pi,
1396
- paymentFailed: Ci,
1397
- paymentInstructions: Ti,
1398
- paymentInstructionsTitle: ki,
1399
- paymentMethod: Oi,
1400
- paymentSuccess: Li,
1401
- paymentTimeout: Ii,
1402
- paymentTimeoutMessage: Ni,
1403
- paymentTitle: Ri,
1404
- permanentAddress: Fi,
1405
- phone: Ei,
1406
- product: Di,
1407
- provider: Ai,
1408
- providerName: ji,
1409
- province: Ui,
1410
- qrPayment: Mi,
1411
- qrPaymentTitle: Hi,
1412
- quantity: Bi,
1413
- registrationComplete: Ki,
1414
- registrationFee: Vi,
1415
- required: qi,
1416
- returnHome: zi,
1417
- returnToStep1: Wi,
1418
- sampleNumberTooltip: Qi,
1419
- save: Gi,
1420
- searchUnits: Xi,
1421
- selectFile: _i,
1422
- selectInvoicePackage: Ji,
1423
- selectProvider: Yi,
1424
- selectSignaturePackage: Zi,
1425
- selectSubscriptionPackage: eo,
1426
- selectedProducts: to,
1427
- settings: no,
1428
- signaturePackage: io,
1429
- softwareLicense: oo,
1430
- stepInfo: so,
1431
- stepPayment: ro,
1432
- stepPlan: ao,
1433
- subscriptionPackage: co,
1434
- taxAuthority: lo,
1435
- taxAuthorityCode: uo,
1436
- taxCode: ho,
1437
- termsAndUsagePolicy: fo,
1438
- timeLeft: po,
1439
- total: go,
1440
- totalAmount: mo,
1441
- totalPrice: yo,
1442
- transactionCanceled: vo,
1443
- unit: bo,
1444
- unitInfo: So,
1445
- unitPerMonth: xo,
1446
- unitPrice: $o,
1447
- unitsPerMonth: wo,
1448
- uploadBackId: Po,
1449
- uploadFile: Co,
1450
- uploadFrontId: To,
1451
- uploadLogo: ko,
1452
- usagePolicy: Oo,
1453
- ward: Lo,
1454
- website: Io,
1455
- widgetTitle: No,
1456
- yearTooltip: Ro
1457
- }, Eo = "Tên tài khoản", Do = "Số tài khoản", Ao = "Địa chỉ đơn vị", jo = "Tôi đồng ý với", Uo = "và", Mo = "Quay lại", Ho = "Mặt sau CCCD", Bo = "Ngân hàng", Ko = "Ngân hàng thụ hưởng", Vo = "Giấy phép đăng ký kinh doanh", qo = "Hủy", zo = "Hủy giao dịch", Wo = "Đóng", Qo = "C (Có mã CQT)", Go = "K (Không mã)", Xo = "C: Có mã CQT, K: Không mã", _o = "Sắp ra mắt", Jo = "Tên đơn vị", Yo = "Hoàn tất thanh toán của bạn trong", Zo = "Xác nhận", es = "Thông tin lưu ý:", ts = "3. Thông tin người liên hệ:", ns = "Bản", is = "Quốc gia", os = "2 ký tự tùy chọn (mặc định: YY)", ss = "Số lượng tùy chỉnh", rs = "Ngày sinh", as = "Giảm", cs = "Gói chữ ký số", ls = "Quận/Huyện", us = "Thời hạn", ds = "E-Contract", hs = "Chỉnh sửa", fs = "hóa đơn điện tử", ps = "Email", gs = "Nhập số CMND/CCCD", ms = "Nhập ký hiệu hóa đơn", ys = "Nhập số hộ chiếu", vs = "Nhập tên nhà cung cấp", bs = "Nhập mã CQT cấp", Ss = "Lỗi khi lấy thông tin mã số thuế.", xs = "Định dạng tệp không được hỗ trợ", $s = "Kích thước tệp quá lớn", ws = "Địa chỉ không được chứa ký tự đặc biệt", Ps = "CCCD không hợp lệ", Cs = "Ngày sinh không hợp lệ", Ts = "Email không hợp lệ", ks = "Số CCCD không hợp lệ", Os = "Chỉ được dùng chữ cái, số và dấu gạch dưới", Ls = "Số điện thoại không hợp lệ", Is = "Tên nhà cung cấp không hợp lệ", Ns = "Mã CQT cấp không hợp lệ", Rs = "Mã số thuế không hợp lệ", Fs = "Lỗi kết nối mạng", Es = "Trường này là bắt buộc", Ds = "Đã xảy ra lỗi", As = "Nữ", js = "Định dạng", Us = "Mặt trước CCCD", Ms = "Họ và tên", Hs = "Giới tính", Bs = "Bạn đã sử dụng hoá đơn điện tử?", Ks = "Bạn đang sử dụng nhà NCC hoá đơn điện tử khác M-invoice không?", Vs = "(Tổng đài Tư vấn, Hỗ trợ miễn phí)", qs = "Hotline:", zs = "CCCD", Ws = "Tăng", Qs = "Đã gửi thông tin sang nhà cung cấp", Gs = "Gói hóa đơn", Xs = "Ký hiệu hóa đơn", _s = "Mẫu số", Js = { 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ế)" }, Ys = "B (Đại lý)", Zs = "D (Tài sản)", er = "G (Tem GTGT)", tr = "H (Tem bán hàng)", nr = "L (CQT)", ir = "M (Máy tính tiền)", or = "N (Nội bộ)", sr = "T (Đăng ký)", rr = "Loại hóa đơn", ar = "X (Thương mại)", cr = "4. THÔNG TIN SỬ DỤNG HDDT:", lr = "hóa đơn/tháng", ur = "2. Thông tin người đại diện pháp luật:", dr = "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.", hr = "Nam", fr = "Tối đa 500Kb", pr = "Tháng", gr = "Gói phù hợp nhất", mr = "Tiếp tục", yr = "Không tìm thấy gói nào.", vr = "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", br = "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:", Sr = "của", xr = "OK", $r = "Tùy chọn", wr = "hoặc", Pr = "Đơn hàng đã được tạo thành công", Cr = "Đơn hàng đã hết hạn", Tr = "Thông tin đơn hàng", kr = "Tóm tắt đơn hàng", Or = "Giấy chứng nhận đăng ký doanh nghiệp", Lr = "Hộ chiếu", Ir = "Số tiền thanh toán", Nr = "Thanh toán thất bại", Rr = ["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"], Fr = "Hướng dẫn thanh toán QR", Er = "Hình thức thanh toán:", Dr = "Thanh toán thành công!", Ar = "Hết thời gian thanh toán", jr = "Hết thời gian thanh toán! Vui lòng thử lại.", Ur = "Thanh toán", Mr = "Địa chỉ thường trú", Hr = "Số điện thoại", Br = "Sản phẩm", Kr = "Nhà cung cấp", Vr = "Tên NCC", qr = "Tỉnh/Thành phố", zr = "Thanh toán qua mã QR", Wr = "Quét mã QR để thanh toán", Qr = "Số lượng", Gr = "Đăng hoàn tất", Xr = "Phí đăng ký", _r = "Bắt buộc", Jr = "Trở về trang chủ", Yr = "Quay lại bước 1", Zr = "Mẫu số hóa đơn (1-9)", ea = "Lưu", ta = "Số đơn/tháng", na = "Chọn tệp", ia = "Chọn gói hóa đơn điện tử", oa = "Chọn nhà cung cấp", sa = "Chọn gói chữ ký số", ra = "Chọn gói đăng ký", aa = "Sản phẩm đã chọn", ca = "Thiết lập", la = "Gói chữ ký số", ua = "Bản quyền phần mềm hóa đơn điện tử", da = "Thông Tin", ha = "Xác Nhận Và Thanh Toán", fa = "Gói Hóa Đơn", pa = "Gói đăng ký", ga = "CQT quản lý", ma = "5 ký tự do CQT cấp cho loại hóa đơn máy tính tiền", ya = "Mã số thuế đơn vị", va = "Điều khoản và Chính sách sử dụng", ba = "Thời gian còn lại", Sa = "Tổng cộng", xa = "Tổng tiền", $a = "Thành tiền", wa = "Giao dịch đã được hủy. Quay về trang đăng ký.", Pa = "Đơn vị tính", Ca = "1. Thông tin đơn vị", Ta = "đơn/tháng", ka = "Đơn giá", Oa = "đơn/ tháng", La = "Tải lên mặt sau CCCD", Ia = "Tải lên tệp", Na = "Tải lên mặt trước CCCD", Ra = "Tải logo lên", Fa = "Chính sách sử dụng", Ea = "Phường/Xã", Da = "Website", Aa = "Đăng ký hóa đơn điện tử", ja = "Năm phát hành (2 chữ số cuối)", Ua = {
1458
- accountName: Eo,
1459
- accountNumber: Do,
1460
- address: Ao,
1461
- agreeWith: jo,
1462
- and: Uo,
1463
- back: Mo,
1464
- backIdCard: Ho,
1465
- bankName: Bo,
1466
- beneficiaryBank: Ko,
1467
- businessLicense: Vo,
1468
- cancel: qo,
1469
- cancelTransaction: zo,
1470
- close: Wo,
1471
- codeTypeC: Qo,
1472
- codeTypeK: Go,
1473
- codeTypeTooltip: Xo,
1474
- comingSoon: _o,
1475
- companyName: Jo,
1476
- completePaymentIn: Yo,
1477
- confirm: Zo,
1478
- confirmationTitle: es,
1479
- contactInfo: ts,
1480
- copy: ns,
1481
- country: is,
1482
- customLettersTooltip: os,
1483
- customUnits: ss,
1484
- dateOfBirth: rs,
1485
- decrease: as,
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 ", 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: cs,
1488
- district: ls,
1489
- duration: us,
1490
- eContractTitle: ds,
1491
- edit: hs,
1492
- electronicInvoices: fs,
1493
- email: ps,
1494
- enterIdCard: gs,
1495
- enterInvoiceSymbol: ms,
1496
- enterPassport: ys,
1497
- enterProviderName: vs,
1498
- enterTaxAuthorityCode: bs,
1499
- errorFetchTaxInfo: Ss,
1500
- errorFileFormat: xs,
1501
- errorFileSize: $s,
1502
- errorInvalidAddress: ws,
1503
- errorInvalidCard: Ps,
1504
- errorInvalidDate: Cs,
1505
- errorInvalidEmail: Ts,
1506
- errorInvalidIdCard: ks,
1507
- errorInvalidName: Os,
1508
- errorInvalidPhone: Ls,
1509
- errorInvalidProviderName: Is,
1510
- errorInvalidTaxAuthorityCode: Ns,
1511
- errorInvalidTaxCode: Rs,
1512
- errorNetwork: Fs,
1513
- errorRequired: Es,
1514
- errorUnknown: Ds,
1515
- female: As,
1516
- fileFormat: js,
1517
- frontIdCard: Us,
1518
- fullName: Ms,
1519
- gender: Hs,
1520
- hasUsedEInvoice: Bs,
1521
- hasUsedEInvoiceBefore: Ks,
1522
- hotlineDesc: Vs,
1523
- hotlineDomestic: qs,
1524
- idNumber: zs,
1525
- increase: Ws,
1526
- informationSent: Qs,
1527
- invoicePackage: Gs,
1528
- invoiceSymbol: Xs,
1529
- invoiceTemplate: _s,
1530
- invoiceTemplateTypes: Js,
1531
- invoiceTypeB: Ys,
1532
- invoiceTypeD: Zs,
1533
- invoiceTypeG: er,
1534
- invoiceTypeH: tr,
1535
- invoiceTypeL: nr,
1536
- invoiceTypeM: ir,
1537
- invoiceTypeN: or,
1538
- invoiceTypeT: sr,
1539
- invoiceTypeTooltip: rr,
1540
- invoiceTypeX: ar,
1541
- invoiceUsageInfo: cr,
1542
- invoicesPerMonth: lr,
1543
- legalRepInfo: ur,
1544
- legalRepNote: dr,
1545
- male: hr,
1546
- maxFileSize: fr,
1547
- month: pr,
1548
- mostSuitablePackage: gr,
1549
- next: mr,
1550
- noPackageFound: yr,
1551
- notice1: vr,
1552
- notice2: br,
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: Sr,
1556
- ok: xr,
1557
- optional: $r,
1558
- or: wr,
1559
- orderCreated: Pr,
1560
- orderExpired: Cr,
1561
- orderInfo: Tr,
1562
- orderSummary: kr,
1563
- organizationCert: Or,
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: Lr,
1566
- paymentAmount: Ir,
1567
- paymentFailed: Nr,
1568
- paymentInstructions: Rr,
1569
- paymentInstructionsTitle: Fr,
1570
- paymentMethod: Er,
1571
- paymentSuccess: Dr,
1572
- paymentTimeout: Ar,
1573
- paymentTimeoutMessage: jr,
1574
- paymentTitle: Ur,
1575
- permanentAddress: Mr,
1576
- phone: Hr,
1577
- product: Br,
1578
- provider: Kr,
1579
- providerName: Vr,
1580
- province: qr,
1581
- qrPayment: zr,
1582
- qrPaymentTitle: Wr,
1583
- quantity: Qr,
1584
- registrationComplete: Gr,
1585
- registrationFee: Xr,
1586
- required: _r,
1587
- returnHome: Jr,
1588
- returnToStep1: Yr,
1589
- sampleNumberTooltip: Zr,
1590
- save: ea,
1591
- searchUnits: ta,
1592
- selectFile: na,
1593
- selectInvoicePackage: ia,
1594
- selectProvider: oa,
1595
- selectSignaturePackage: sa,
1596
- selectSubscriptionPackage: ra,
1597
- selectedProducts: aa,
1598
- settings: ca,
1599
- signaturePackage: la,
1600
- softwareLicense: ua,
1601
- stepInfo: da,
1602
- stepPayment: ha,
1603
- stepPlan: fa,
1604
- subscriptionPackage: pa,
1605
- taxAuthority: ga,
1606
- taxAuthorityCode: ma,
1607
- taxCode: ya,
1608
- termsAndUsagePolicy: va,
1609
- timeLeft: ba,
1610
- total: Sa,
1611
- totalAmount: xa,
1612
- totalPrice: $a,
1613
- transactionCanceled: wa,
1614
- unit: Pa,
1615
- unitInfo: Ca,
1616
- unitPerMonth: Ta,
1617
- unitPrice: ka,
1618
- unitsPerMonth: Oa,
1619
- uploadBackId: La,
1620
- uploadFile: Ia,
1621
- uploadFrontId: Na,
1622
- uploadLogo: Ra,
1623
- usagePolicy: Fa,
1624
- ward: Ea,
1625
- website: Da,
1626
- widgetTitle: Aa,
1627
- yearTooltip: ja
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: Ma,
1630
- forEach: Ha
1651
+ slice: ac,
1652
+ forEach: cc
1631
1653
  } = [];
1632
- function Ba(o) {
1633
- return Ha.call(Ma.call(arguments, 1), (e) => {
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 Ka(o) {
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 De = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Va = function(o, e) {
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 (!De.test(n.domain))
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 (!De.test(n.path))
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 = Va(o, e, i);
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 qa = {
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
- }, za = {
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
- }, Wa = {
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 Qa = {
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 Ga = {
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
- }, Xa = {
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
- }, _a = {
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
- }, Ja = {
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
- }, Ya = {
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 We = !1;
1911
+ let Qe = !1;
1890
1912
  try {
1891
- document.cookie, We = !0;
1913
+ document.cookie, Qe = !0;
1892
1914
  } catch (o) {
1893
1915
  }
1894
- const Qe = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
1895
- We || Qe.splice(1, 1);
1896
- const Za = () => ({
1897
- order: Qe,
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 Ge {
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 = Ba(t, this.options || {}, Za()), 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(qa), this.addDetector(za), this.addDetector(Qa), this.addDetector(Ga), this.addDetector(Xa), this.addDetector(_a), this.addDetector(Ja), this.addDetector(Ya), this.addDetector(Wa);
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 && !Ka(n)).map((n) => this.options.convertDetectedLanguage(n)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : 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
- Ge.type = "languageDetector";
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 ec(o) {
1973
+ function $c(o) {
1952
1974
  return !!o && typeof o.then == "function";
1953
1975
  }
1954
- function tc(o) {
1955
- return ec(o) ? o : Promise.resolve(o);
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
- nc(o, n, t[n]);
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 nc(o, e, t) {
1979
- return (e = ic(e)) in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
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 ic(o) {
1982
- var e = oc(o, "string");
2003
+ function Cc(o) {
2004
+ var e = Tc(o, "string");
1983
2005
  return j(e) == "symbol" ? e : e + "";
1984
2006
  }
1985
- function oc(o, e) {
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 D = typeof fetch == "function" ? fetch : void 0;
2004
- typeof global != "undefined" && global.fetch ? D = global.fetch : typeof window != "undefined" && window.fetch && (D = window.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 D != "function" && (D = void 0);
2010
- if (!D && !X && !ie)
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
- D = o.default;
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
- }, Be = function(e, t, n, i) {
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) : D(e, t).then(s).catch(n);
2047
- }, Ke = !1, sc = function(e, t, n, i) {
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
- }, Ke ? {} : r), c = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
2077
+ }, Be ? {} : r), c = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
2056
2078
  try {
2057
- Be(t, a, i, c);
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
- }), Be(t, a, i, c), Ke = !0;
2086
+ }), Ke(t, a, i, c), Be = !0;
2065
2087
  } catch (d) {
2066
2088
  i(d);
2067
2089
  }
2068
2090
  }
2069
- }, rc = function(e, t, n, i) {
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
- }, ac = function(e, t, n, i) {
2109
+ }, Ic = function(e, t, n, i) {
2088
2110
  if (typeof n == "function" && (i = n, n = void 0), i = i || function() {
2089
- }, D && t.indexOf("file:") !== 0)
2090
- return sc(e, t, n, i);
2111
+ }, E && t.indexOf("file:") !== 0)
2112
+ return kc(e, t, n, i);
2091
2113
  if (Xe() || typeof ActiveXObject == "function")
2092
- return rc(e, t, n, i);
2114
+ return Oc(e, t, n, i);
2093
2115
  i(new Error("No fetch and no xhr implementation found!"));
2094
2116
  };
2095
- function B(o) {
2117
+ function K(o) {
2096
2118
  "@babel/helpers - typeof";
2097
- return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
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
- }, B(o);
2123
+ }, K(o);
2102
2124
  }
2103
- function Ve(o, e) {
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 ? Ve(Object(t), !0).forEach(function(n) {
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)) : Ve(Object(t)).forEach(function(n) {
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 cc(o, e) {
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 lc(o, e) {
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 uc(o, e, t) {
2134
- return e && lc(o.prototype, e), Object.defineProperty(o, "prototype", { writable: !1 }), o;
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 = dc(o, "string");
2141
- return B(e) == "symbol" ? e : e + "";
2162
+ var e = Fc(o, "string");
2163
+ return K(e) == "symbol" ? e : e + "";
2142
2164
  }
2143
- function dc(o, e) {
2144
- if (B(o) != "object" || !o) return o;
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 (B(n) != "object") return n;
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 hc = function() {
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: ac,
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
- cc(this, o), this.services = e, this.options = t, this.allOptions = n, this.type = "backend", this.init(e, t, n);
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 uc(o, [{
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({}, hc()), this.options || {}), i), this.allOptions = s, this.services && this.options.reloadInterval) {
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
- B(r) === "object" && typeof r.unref == "function" && r.unref();
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 = tc(c), c.then(function(l) {
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(Ge).init({
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: Fo },
2294
- vi: { translation: Ua }
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 fc(o) {
2324
+ function Ec(o) {
2303
2325
  b.changeLanguage(o);
2304
2326
  }
2305
- function yc(o, e) {
2327
+ function Mc(o, e) {
2306
2328
  return b.t(o, g({ returnObjects: !0 }, e));
2307
2329
  }
2308
- function pc(o = "dev") {
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 gc() {
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 vc() {
2364
- const o = gc();
2365
- return pc(o);
2385
+ function Hc() {
2386
+ const o = jc();
2387
+ return Ac(o);
2366
2388
  }
2367
2389
  let ce = null, le = null;
2368
- function bc(o) {
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-D6-L-WcZ.js");
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 Sc(o) {
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-D6-L-WcZ.js");
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
- fc(o), pe.forEach((e) => {
2431
+ Ec(o), pe.forEach((e) => {
2410
2432
  e.rerender && e.rerender();
2411
2433
  });
2412
2434
  }
2413
- function xc(o) {
2435
+ function qc(o) {
2414
2436
  pe.add(o);
2415
2437
  }
2416
- function $c(o) {
2438
+ function Vc(o) {
2417
2439
  pe.delete(o);
2418
2440
  }
2419
2441
  export {
2420
- Sc as a,
2421
- vc as g,
2422
- bc as i,
2423
- xc as r,
2442
+ Bc as a,
2443
+ Hc as g,
2444
+ Kc as i,
2445
+ qc as r,
2424
2446
  et as s,
2425
- yc as t,
2426
- $c as u
2447
+ Mc as t,
2448
+ Vc as u
2427
2449
  };