@everymatrix/cashier-verifications 1.98.8 → 1.98.10
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/components/{CashierModal-CTvPop5A.js → CashierModal-B5ffxEae.js} +1 -1
- package/components/{CashierModal-B2L0JByQ.cjs → CashierModal-Foh_dSio.cjs} +1 -1
- package/components/{CashierModal-CoAOrA2Z.js → CashierModal-YnLvFW3H.js} +1 -1
- package/components/{CashierVerifications-BfZhYidq.js → CashierVerifications-BQliIIH9.js} +422 -376
- package/components/{CashierVerifications-ETAjDkTZ.js → CashierVerifications-Bo7gATZp.js} +461 -415
- package/components/{CashierVerifications-CiL3Gw_r.cjs → CashierVerifications-W39yxZwO.cjs} +5 -5
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var Si = Object.defineProperty, Oi = Object.defineProperties;
|
|
2
2
|
var Pi = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
3
|
+
var zt = Object.getOwnPropertySymbols;
|
|
4
|
+
var ki = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
ki.call(t, r) && ht(e, r, t[r]);
|
|
8
|
+
if (zt)
|
|
9
|
+
for (var r of zt(t))
|
|
10
|
+
Bi.call(t, r) && ht(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Gt = (e, t) => Oi(e, Pi(t));
|
|
13
13
|
var K = (e, t, r) => (ht(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
@@ -29,7 +29,7 @@ var jt = (e, t, r) => new Promise((i, n) => {
|
|
|
29
29
|
});
|
|
30
30
|
function te() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ai(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -52,10 +52,10 @@ function It(e) {
|
|
|
52
52
|
function Pr(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Ti(e) {
|
|
56
56
|
return Object.keys(e).length === 0;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function kr(e, ...t) {
|
|
59
59
|
if (e == null) {
|
|
60
60
|
for (const i of t)
|
|
61
61
|
i(void 0);
|
|
@@ -64,17 +64,17 @@ function Tr(e, ...t) {
|
|
|
64
64
|
const r = e.subscribe(...t);
|
|
65
65
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
e.$$.on_destroy.push(
|
|
67
|
+
function qt(e, t, r) {
|
|
68
|
+
e.$$.on_destroy.push(kr(t, r));
|
|
69
69
|
}
|
|
70
70
|
function xs(e, t, r, i) {
|
|
71
71
|
if (e) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = Br(e, t, r, i);
|
|
73
73
|
return e[0](n);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return e[1] && i ?
|
|
76
|
+
function Br(e, t, r, i) {
|
|
77
|
+
return e[1] && i ? Ai(r.ctx.slice(), e[1](i(t))) : r.ctx;
|
|
78
78
|
}
|
|
79
79
|
function ws(e, t, r, i) {
|
|
80
80
|
if (e[2] && i) {
|
|
@@ -93,7 +93,7 @@ function ws(e, t, r, i) {
|
|
|
93
93
|
}
|
|
94
94
|
function Es(e, t, r, i, n, o) {
|
|
95
95
|
if (n) {
|
|
96
|
-
const s =
|
|
96
|
+
const s = Br(t, r, i, o);
|
|
97
97
|
e.p(s, n);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -110,13 +110,13 @@ function W(e, t) {
|
|
|
110
110
|
e.appendChild(t);
|
|
111
111
|
}
|
|
112
112
|
function Hi(e, t, r) {
|
|
113
|
-
const i =
|
|
113
|
+
const i = Di(e);
|
|
114
114
|
if (!i.getElementById(t)) {
|
|
115
115
|
const n = Y("style");
|
|
116
|
-
n.id = t, n.textContent = r,
|
|
116
|
+
n.id = t, n.textContent = r, Mi(i, n);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Di(e) {
|
|
120
120
|
if (!e)
|
|
121
121
|
return document;
|
|
122
122
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -126,7 +126,7 @@ function Mi(e) {
|
|
|
126
126
|
t
|
|
127
127
|
) : e.ownerDocument;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Mi(e, t) {
|
|
130
130
|
return W(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
@@ -139,7 +139,7 @@ function ae(e, t, r) {
|
|
|
139
139
|
function re(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Ci(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
@@ -158,34 +158,34 @@ function Oe() {
|
|
|
158
158
|
function rt(e, t, r, i) {
|
|
159
159
|
return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function A(e, t, r) {
|
|
162
162
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function qe(e, t, r) {
|
|
165
165
|
const i = t.toLowerCase();
|
|
166
|
-
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
166
|
+
i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function $i(e) {
|
|
169
169
|
return Array.from(e.childNodes);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ar(e, t) {
|
|
172
172
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
173
173
|
t);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Xt(e, t, r, i) {
|
|
176
176
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
177
177
|
}
|
|
178
|
-
let
|
|
178
|
+
let Xe;
|
|
179
179
|
function Li() {
|
|
180
|
-
if (
|
|
181
|
-
|
|
180
|
+
if (Xe === void 0) {
|
|
181
|
+
Xe = !1;
|
|
182
182
|
try {
|
|
183
183
|
typeof window != "undefined" && window.parent && window.parent.document;
|
|
184
184
|
} catch (e) {
|
|
185
|
-
|
|
185
|
+
Xe = !0;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
return
|
|
188
|
+
return Xe;
|
|
189
189
|
}
|
|
190
190
|
function Ii(e, t) {
|
|
191
191
|
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
@@ -235,13 +235,13 @@ function Vi(e) {
|
|
|
235
235
|
}
|
|
236
236
|
const Ee = [], xt = [];
|
|
237
237
|
let Pe = [];
|
|
238
|
-
const Yt = [],
|
|
238
|
+
const Yt = [], Tr = /* @__PURE__ */ Promise.resolve();
|
|
239
239
|
let wt = !1;
|
|
240
240
|
function Hr() {
|
|
241
|
-
wt || (wt = !0,
|
|
241
|
+
wt || (wt = !0, Tr.then(ee));
|
|
242
242
|
}
|
|
243
243
|
function Os() {
|
|
244
|
-
return Hr(),
|
|
244
|
+
return Hr(), Tr;
|
|
245
245
|
}
|
|
246
246
|
function it(e) {
|
|
247
247
|
Pe.push(e);
|
|
@@ -280,7 +280,7 @@ function Ui(e) {
|
|
|
280
280
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(it);
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function zi(e) {
|
|
284
284
|
const t = [], r = [];
|
|
285
285
|
Pe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Pe = t;
|
|
286
286
|
}
|
|
@@ -294,13 +294,13 @@ function Ps() {
|
|
|
294
294
|
// parent group
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function ks() {
|
|
298
298
|
be.r || He(be.c), be = be.p;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Fi(e, t) {
|
|
301
301
|
e && e.i && (Je.delete(e), e.i(t));
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function Bs(e, t, r, i) {
|
|
304
304
|
if (e && e.o) {
|
|
305
305
|
if (Je.has(e))
|
|
306
306
|
return;
|
|
@@ -322,12 +322,12 @@ function Gi(e, t, r) {
|
|
|
322
322
|
}
|
|
323
323
|
function ji(e, t) {
|
|
324
324
|
const r = e.$$;
|
|
325
|
-
r.fragment !== null && (
|
|
325
|
+
r.fragment !== null && (zi(r.after_update), He(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
326
326
|
}
|
|
327
327
|
function Wi(e, t) {
|
|
328
328
|
e.$$.dirty[0] === -1 && (Ee.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function qi(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
331
331
|
const u = Ie;
|
|
332
332
|
Le(e);
|
|
333
333
|
const f = e.$$ = {
|
|
@@ -358,16 +358,16 @@ function Xi(e, t, r, i, n, o, s = null, a = [-1]) {
|
|
|
358
358
|
return f.ctx && n(f.ctx[m], f.ctx[m] = _) && (!f.skip_bound && f.bound[m] && f.bound[m](_), c && Wi(e, m)), p;
|
|
359
359
|
}) : [], f.update(), c = !0, He(f.before_update), f.fragment = i ? i(f.ctx) : !1, t.target) {
|
|
360
360
|
if (t.hydrate) {
|
|
361
|
-
const m =
|
|
361
|
+
const m = $i(t.target);
|
|
362
362
|
f.fragment && f.fragment.l(m), m.forEach(re);
|
|
363
363
|
} else
|
|
364
364
|
f.fragment && f.fragment.c();
|
|
365
|
-
t.intro &&
|
|
365
|
+
t.intro && Fi(e.$$.fragment), Gi(e, t.target, t.anchor), ee();
|
|
366
366
|
}
|
|
367
367
|
Le(u);
|
|
368
368
|
}
|
|
369
|
-
let
|
|
370
|
-
typeof HTMLElement == "function" && (
|
|
369
|
+
let Dr;
|
|
370
|
+
typeof HTMLElement == "function" && (Dr = class extends HTMLElement {
|
|
371
371
|
constructor(t, r, i) {
|
|
372
372
|
super();
|
|
373
373
|
/** The Svelte component constructor */
|
|
@@ -411,7 +411,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
411
411
|
let s;
|
|
412
412
|
return {
|
|
413
413
|
c: function() {
|
|
414
|
-
s = Y("slot"), o !== "default" &&
|
|
414
|
+
s = Y("slot"), o !== "default" && A(s, "name", o);
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
417
|
* @param {HTMLElement} target
|
|
@@ -439,7 +439,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
|
|
|
439
439
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
440
440
|
this.$$c = new this.$$ctor({
|
|
441
441
|
target: this.shadowRoot || this,
|
|
442
|
-
props: Gt(
|
|
442
|
+
props: Gt(Ft({}, this.$$d), {
|
|
443
443
|
$$slots: r,
|
|
444
444
|
$$scope: {
|
|
445
445
|
ctx: []
|
|
@@ -517,8 +517,8 @@ function Qe(e, t, r, i) {
|
|
|
517
517
|
return t;
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
-
function
|
|
521
|
-
let s = class extends
|
|
520
|
+
function Xi(e, t, r, i, n, o) {
|
|
521
|
+
let s = class extends Dr {
|
|
522
522
|
constructor() {
|
|
523
523
|
super(e, r, n), this.$$p_d = t;
|
|
524
524
|
}
|
|
@@ -591,7 +591,7 @@ class Yi {
|
|
|
591
591
|
* @returns {void}
|
|
592
592
|
*/
|
|
593
593
|
$set(t) {
|
|
594
|
-
this.$$set && !
|
|
594
|
+
this.$$set && !Ti(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
const Zi = "4";
|
|
@@ -628,7 +628,7 @@ function Ve(e, t = te) {
|
|
|
628
628
|
}
|
|
629
629
|
return { set: n, update: o, subscribe: s };
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function De(e, t, r) {
|
|
632
632
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
633
633
|
if (!n.every(Boolean))
|
|
634
634
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -644,10 +644,10 @@ function Me(e, t, r) {
|
|
|
644
644
|
const _ = t(i ? f[0] : f, s, a);
|
|
645
645
|
o ? s(_) : m = It(_) ? _ : te;
|
|
646
646
|
}, y = n.map(
|
|
647
|
-
(_, d) =>
|
|
647
|
+
(_, d) => kr(
|
|
648
648
|
_,
|
|
649
|
-
(
|
|
650
|
-
f[d] =
|
|
649
|
+
($) => {
|
|
650
|
+
f[d] = $, c &= ~(1 << d), u && p();
|
|
651
651
|
},
|
|
652
652
|
() => {
|
|
653
653
|
c |= 1 << d;
|
|
@@ -659,7 +659,7 @@ function Me(e, t, r) {
|
|
|
659
659
|
};
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var Mr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
663
663
|
function Rt(e) {
|
|
664
664
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
665
665
|
}
|
|
@@ -681,7 +681,7 @@ function on(e) {
|
|
|
681
681
|
return Array.isArray(e) ? [] : {};
|
|
682
682
|
}
|
|
683
683
|
function Ne(e, t) {
|
|
684
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
684
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ke(on(e), e, t) : e;
|
|
685
685
|
}
|
|
686
686
|
function sn(e, t, r) {
|
|
687
687
|
return e.concat(t).map(function(i) {
|
|
@@ -690,9 +690,9 @@ function sn(e, t, r) {
|
|
|
690
690
|
}
|
|
691
691
|
function an(e, t) {
|
|
692
692
|
if (!t.customMerge)
|
|
693
|
-
return
|
|
693
|
+
return ke;
|
|
694
694
|
var r = t.customMerge(e);
|
|
695
|
-
return typeof r == "function" ? r :
|
|
695
|
+
return typeof r == "function" ? r : ke;
|
|
696
696
|
}
|
|
697
697
|
function un(e) {
|
|
698
698
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -702,7 +702,7 @@ function un(e) {
|
|
|
702
702
|
function Jt(e) {
|
|
703
703
|
return Object.keys(e).concat(un(e));
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function Cr(e, t) {
|
|
706
706
|
try {
|
|
707
707
|
return t in e;
|
|
708
708
|
} catch (r) {
|
|
@@ -710,29 +710,29 @@ function $r(e, t) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
function fn(e, t) {
|
|
713
|
-
return
|
|
713
|
+
return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
714
714
|
}
|
|
715
715
|
function ln(e, t, r) {
|
|
716
716
|
var i = {};
|
|
717
717
|
return r.isMergeableObject(e) && Jt(e).forEach(function(n) {
|
|
718
718
|
i[n] = Ne(e[n], r);
|
|
719
719
|
}), Jt(t).forEach(function(n) {
|
|
720
|
-
fn(e, n) || (
|
|
720
|
+
fn(e, n) || (Cr(e, n) && r.isMergeableObject(t[n]) ? i[n] = an(n, r)(e[n], t[n], r) : i[n] = Ne(t[n], r));
|
|
721
721
|
}), i;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function ke(e, t, r) {
|
|
724
724
|
r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Qi, r.cloneUnlessOtherwiseSpecified = Ne;
|
|
725
725
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
726
726
|
return o ? i ? r.arrayMerge(e, t, r) : ln(e, t, r) : Ne(t, r);
|
|
727
727
|
}
|
|
728
|
-
|
|
728
|
+
ke.all = function(t, r) {
|
|
729
729
|
if (!Array.isArray(t))
|
|
730
730
|
throw new Error("first argument should be an array");
|
|
731
731
|
return t.reduce(function(i, n) {
|
|
732
|
-
return
|
|
732
|
+
return ke(i, n, r);
|
|
733
733
|
}, {});
|
|
734
734
|
};
|
|
735
|
-
var cn =
|
|
735
|
+
var cn = ke, hn = cn;
|
|
736
736
|
const dn = /* @__PURE__ */ Rt(hn);
|
|
737
737
|
var Et = function(e, t) {
|
|
738
738
|
return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
@@ -790,7 +790,7 @@ function vn(e, t, r, i) {
|
|
|
790
790
|
var n = pn(i) ? i : r(i), o = t.get(n);
|
|
791
791
|
return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
|
|
792
792
|
}
|
|
793
|
-
function
|
|
793
|
+
function $r(e, t, r) {
|
|
794
794
|
var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
|
|
795
795
|
return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
|
|
796
796
|
}
|
|
@@ -798,11 +798,11 @@ function Lr(e, t, r, i, n) {
|
|
|
798
798
|
return r.bind(t, e, i, n);
|
|
799
799
|
}
|
|
800
800
|
function gn(e, t) {
|
|
801
|
-
var r = e.length === 1 ? vn :
|
|
801
|
+
var r = e.length === 1 ? vn : $r;
|
|
802
802
|
return Lr(e, this, r, t.cache.create(), t.serializer);
|
|
803
803
|
}
|
|
804
804
|
function bn(e, t) {
|
|
805
|
-
return Lr(e, this,
|
|
805
|
+
return Lr(e, this, $r, t.cache.create(), t.serializer);
|
|
806
806
|
}
|
|
807
807
|
var yn = function() {
|
|
808
808
|
return JSON.stringify(arguments);
|
|
@@ -834,18 +834,18 @@ var yn = function() {
|
|
|
834
834
|
return t;
|
|
835
835
|
}, nt.apply(this, arguments);
|
|
836
836
|
};
|
|
837
|
-
var
|
|
837
|
+
var k;
|
|
838
838
|
(function(e) {
|
|
839
839
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
840
|
-
})(
|
|
840
|
+
})(k || (k = {}));
|
|
841
841
|
var N;
|
|
842
842
|
(function(e) {
|
|
843
843
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
844
844
|
})(N || (N = {}));
|
|
845
|
-
var
|
|
845
|
+
var Be;
|
|
846
846
|
(function(e) {
|
|
847
847
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
848
|
-
})(
|
|
848
|
+
})(Be || (Be = {}));
|
|
849
849
|
function Qt(e) {
|
|
850
850
|
return e.type === N.literal;
|
|
851
851
|
}
|
|
@@ -870,14 +870,14 @@ function Ur(e) {
|
|
|
870
870
|
function En(e) {
|
|
871
871
|
return e.type === N.pound;
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function zr(e) {
|
|
874
874
|
return e.type === N.tag;
|
|
875
875
|
}
|
|
876
|
-
function
|
|
877
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
876
|
+
function Fr(e) {
|
|
877
|
+
return !!(e && typeof e == "object" && e.type === Be.number);
|
|
878
878
|
}
|
|
879
879
|
function St(e) {
|
|
880
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
880
|
+
return !!(e && typeof e == "object" && e.type === Be.dateTime);
|
|
881
881
|
}
|
|
882
882
|
var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
883
883
|
function On(e) {
|
|
@@ -982,7 +982,7 @@ var U = function() {
|
|
|
982
982
|
}, U.apply(this, arguments);
|
|
983
983
|
};
|
|
984
984
|
var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
985
|
-
function
|
|
985
|
+
function kn(e) {
|
|
986
986
|
if (e.length === 0)
|
|
987
987
|
throw new Error("Number skeleton cannot be empty");
|
|
988
988
|
for (var t = e.split(Pn).filter(function(p) {
|
|
@@ -1000,17 +1000,17 @@ function Tn(e) {
|
|
|
1000
1000
|
}
|
|
1001
1001
|
return r;
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Bn(e) {
|
|
1004
1004
|
return e.replace(/^(.*?)-/, "");
|
|
1005
1005
|
}
|
|
1006
|
-
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1006
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
|
|
1007
1007
|
function er(e) {
|
|
1008
1008
|
var t = {};
|
|
1009
1009
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, i, n) {
|
|
1010
1010
|
return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1011
1011
|
}), t;
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function qr(e) {
|
|
1014
1014
|
switch (e) {
|
|
1015
1015
|
case "sign-auto":
|
|
1016
1016
|
return {
|
|
@@ -1050,7 +1050,7 @@ function Xr(e) {
|
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function Tn(e) {
|
|
1054
1054
|
var t;
|
|
1055
1055
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1056
1056
|
notation: "engineering"
|
|
@@ -1065,7 +1065,7 @@ function kn(e) {
|
|
|
1065
1065
|
return t;
|
|
1066
1066
|
}
|
|
1067
1067
|
function tr(e) {
|
|
1068
|
-
var t = {}, r =
|
|
1068
|
+
var t = {}, r = qr(e);
|
|
1069
1069
|
return r || t;
|
|
1070
1070
|
}
|
|
1071
1071
|
function Hn(e) {
|
|
@@ -1092,7 +1092,7 @@ function Hn(e) {
|
|
|
1092
1092
|
continue;
|
|
1093
1093
|
case "measure-unit":
|
|
1094
1094
|
case "unit":
|
|
1095
|
-
t.style = "unit", t.unit =
|
|
1095
|
+
t.style = "unit", t.unit = Bn(n.options[0]);
|
|
1096
1096
|
continue;
|
|
1097
1097
|
case "compact-short":
|
|
1098
1098
|
case "K":
|
|
@@ -1154,7 +1154,7 @@ function Hn(e) {
|
|
|
1154
1154
|
case "integer-width":
|
|
1155
1155
|
if (n.options.length > 1)
|
|
1156
1156
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1157
|
-
n.options[0].replace(
|
|
1157
|
+
n.options[0].replace(An, function(u, f, c, m, p, y) {
|
|
1158
1158
|
if (f)
|
|
1159
1159
|
t.minimumIntegerDigits = c.length;
|
|
1160
1160
|
else {
|
|
@@ -1185,9 +1185,9 @@ function Hn(e) {
|
|
|
1185
1185
|
t = U(U({}, t), er(n.stem));
|
|
1186
1186
|
continue;
|
|
1187
1187
|
}
|
|
1188
|
-
var s =
|
|
1188
|
+
var s = qr(n.stem);
|
|
1189
1189
|
s && (t = U(U({}, t), s));
|
|
1190
|
-
var a =
|
|
1190
|
+
var a = Tn(n.stem);
|
|
1191
1191
|
a && (t = U(U({}, t), a));
|
|
1192
1192
|
}
|
|
1193
1193
|
return t;
|
|
@@ -2607,13 +2607,13 @@ var Ye = {
|
|
|
2607
2607
|
"h"
|
|
2608
2608
|
]
|
|
2609
2609
|
};
|
|
2610
|
-
function
|
|
2610
|
+
function Dn(e, t) {
|
|
2611
2611
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2612
2612
|
var n = e.charAt(i);
|
|
2613
2613
|
if (n === "j") {
|
|
2614
2614
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2615
2615
|
o++, i++;
|
|
2616
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", f =
|
|
2616
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", f = Mn(t);
|
|
2617
2617
|
for ((f == "H" || f == "k") && (a = 0); a-- > 0; )
|
|
2618
2618
|
r += u;
|
|
2619
2619
|
for (; s-- > 0; )
|
|
@@ -2623,7 +2623,7 @@ function Mn(e, t) {
|
|
|
2623
2623
|
}
|
|
2624
2624
|
return r;
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2626
|
+
function Mn(e) {
|
|
2627
2627
|
var t = e.hourCycle;
|
|
2628
2628
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2629
2629
|
e.hourCycles && // @ts-ignore
|
|
@@ -2645,11 +2645,11 @@ function Cn(e) {
|
|
|
2645
2645
|
var n = Ye[i || ""] || Ye[r || ""] || Ye["".concat(r, "-001")] || Ye["001"];
|
|
2646
2646
|
return n[0];
|
|
2647
2647
|
}
|
|
2648
|
-
var gt,
|
|
2649
|
-
function
|
|
2648
|
+
var gt, Cn = new RegExp("^".concat(Gr.source, "*")), $n = new RegExp("".concat(Gr.source, "*$"));
|
|
2649
|
+
function B(e, t) {
|
|
2650
2650
|
return { start: e, end: t };
|
|
2651
2651
|
}
|
|
2652
|
-
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd,
|
|
2652
|
+
var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Fn = zn ? Number.isSafeInteger : function(e) {
|
|
2653
2653
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2654
2654
|
}, Ot = !0;
|
|
2655
2655
|
try {
|
|
@@ -2692,7 +2692,7 @@ var rr = Ln ? (
|
|
|
2692
2692
|
return r;
|
|
2693
2693
|
}
|
|
2694
2694
|
)
|
|
2695
|
-
),
|
|
2695
|
+
), Xr = Rn ? (
|
|
2696
2696
|
// Native
|
|
2697
2697
|
function(t, r) {
|
|
2698
2698
|
return t.codePointAt(r);
|
|
@@ -2714,7 +2714,7 @@ var rr = Ln ? (
|
|
|
2714
2714
|
) : (
|
|
2715
2715
|
// Ponyfill
|
|
2716
2716
|
function(t) {
|
|
2717
|
-
return t.replace(
|
|
2717
|
+
return t.replace(Cn, "");
|
|
2718
2718
|
}
|
|
2719
2719
|
), Wn = Un ? (
|
|
2720
2720
|
// Native
|
|
@@ -2724,32 +2724,32 @@ var rr = Ln ? (
|
|
|
2724
2724
|
) : (
|
|
2725
2725
|
// Ponyfill
|
|
2726
2726
|
function(t) {
|
|
2727
|
-
return t.replace(
|
|
2727
|
+
return t.replace($n, "");
|
|
2728
2728
|
}
|
|
2729
2729
|
);
|
|
2730
2730
|
function Yr(e, t) {
|
|
2731
2731
|
return new RegExp(e, t);
|
|
2732
2732
|
}
|
|
2733
|
-
var
|
|
2733
|
+
var kt;
|
|
2734
2734
|
if (Ot) {
|
|
2735
2735
|
var nr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2736
|
-
|
|
2736
|
+
kt = function(t, r) {
|
|
2737
2737
|
var i;
|
|
2738
2738
|
nr.lastIndex = r;
|
|
2739
2739
|
var n = nr.exec(t);
|
|
2740
2740
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2741
2741
|
};
|
|
2742
2742
|
} else
|
|
2743
|
-
|
|
2743
|
+
kt = function(t, r) {
|
|
2744
2744
|
for (var i = []; ; ) {
|
|
2745
|
-
var n =
|
|
2745
|
+
var n = Xr(t, r);
|
|
2746
2746
|
if (n === void 0 || Zr(n) || Zn(n))
|
|
2747
2747
|
break;
|
|
2748
2748
|
i.push(n), r += n >= 65536 ? 2 : 1;
|
|
2749
2749
|
}
|
|
2750
2750
|
return Pt.apply(void 0, i);
|
|
2751
2751
|
};
|
|
2752
|
-
var
|
|
2752
|
+
var qn = (
|
|
2753
2753
|
/** @class */
|
|
2754
2754
|
function() {
|
|
2755
2755
|
function e(t, r) {
|
|
@@ -2774,13 +2774,13 @@ var Xn = (
|
|
|
2774
2774
|
var a = this.clonePosition();
|
|
2775
2775
|
this.bump(), n.push({
|
|
2776
2776
|
type: N.pound,
|
|
2777
|
-
location:
|
|
2777
|
+
location: B(a, this.clonePosition())
|
|
2778
2778
|
});
|
|
2779
2779
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2780
2780
|
if (i)
|
|
2781
2781
|
break;
|
|
2782
|
-
return this.error(
|
|
2783
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2782
|
+
return this.error(k.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2783
|
+
} else if (o === 60 && !this.ignoreTag && Bt(this.peek() || 0)) {
|
|
2784
2784
|
var s = this.parseTag(t, r);
|
|
2785
2785
|
if (s.err)
|
|
2786
2786
|
return s;
|
|
@@ -2803,7 +2803,7 @@ var Xn = (
|
|
|
2803
2803
|
val: {
|
|
2804
2804
|
type: N.literal,
|
|
2805
2805
|
value: "<".concat(n, "/>"),
|
|
2806
|
-
location:
|
|
2806
|
+
location: B(i, this.clonePosition())
|
|
2807
2807
|
},
|
|
2808
2808
|
err: null
|
|
2809
2809
|
};
|
|
@@ -2813,22 +2813,22 @@ var Xn = (
|
|
|
2813
2813
|
return o;
|
|
2814
2814
|
var s = o.val, a = this.clonePosition();
|
|
2815
2815
|
if (this.bumpIf("</")) {
|
|
2816
|
-
if (this.isEOF() || !
|
|
2817
|
-
return this.error(
|
|
2816
|
+
if (this.isEOF() || !Bt(this.char()))
|
|
2817
|
+
return this.error(k.INVALID_TAG, B(a, this.clonePosition()));
|
|
2818
2818
|
var u = this.clonePosition(), f = this.parseTagName();
|
|
2819
|
-
return n !== f ? this.error(
|
|
2819
|
+
return n !== f ? this.error(k.UNMATCHED_CLOSING_TAG, B(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2820
2820
|
val: {
|
|
2821
2821
|
type: N.tag,
|
|
2822
2822
|
value: n,
|
|
2823
2823
|
children: s,
|
|
2824
|
-
location:
|
|
2824
|
+
location: B(i, this.clonePosition())
|
|
2825
2825
|
},
|
|
2826
2826
|
err: null
|
|
2827
|
-
} : this.error(
|
|
2827
|
+
} : this.error(k.INVALID_TAG, B(a, this.clonePosition())));
|
|
2828
2828
|
} else
|
|
2829
|
-
return this.error(
|
|
2829
|
+
return this.error(k.UNCLOSED_TAG, B(i, this.clonePosition()));
|
|
2830
2830
|
} else
|
|
2831
|
-
return this.error(
|
|
2831
|
+
return this.error(k.INVALID_TAG, B(i, this.clonePosition()));
|
|
2832
2832
|
}, e.prototype.parseTagName = function() {
|
|
2833
2833
|
var t = this.offset();
|
|
2834
2834
|
for (this.bump(); !this.isEOF() && Yn(this.char()); )
|
|
@@ -2853,14 +2853,14 @@ var Xn = (
|
|
|
2853
2853
|
}
|
|
2854
2854
|
break;
|
|
2855
2855
|
}
|
|
2856
|
-
var u =
|
|
2856
|
+
var u = B(i, this.clonePosition());
|
|
2857
2857
|
return {
|
|
2858
2858
|
val: { type: N.literal, value: n, location: u },
|
|
2859
2859
|
err: null
|
|
2860
2860
|
};
|
|
2861
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2862
2862
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2863
|
-
!
|
|
2863
|
+
!Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2864
2864
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2865
2865
|
if (this.isEOF() || this.char() !== 39)
|
|
2866
2866
|
return null;
|
|
@@ -2903,14 +2903,14 @@ var Xn = (
|
|
|
2903
2903
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2904
2904
|
var i = this.clonePosition();
|
|
2905
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2906
|
-
return this.error(
|
|
2906
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
2907
2907
|
if (this.char() === 125)
|
|
2908
|
-
return this.bump(), this.error(
|
|
2908
|
+
return this.bump(), this.error(k.EMPTY_ARGUMENT, B(i, this.clonePosition()));
|
|
2909
2909
|
var n = this.parseIdentifierIfPossible().value;
|
|
2910
2910
|
if (!n)
|
|
2911
|
-
return this.error(
|
|
2911
|
+
return this.error(k.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
2912
2912
|
if (this.bumpSpace(), this.isEOF())
|
|
2913
|
-
return this.error(
|
|
2913
|
+
return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
2914
2914
|
switch (this.char()) {
|
|
2915
2915
|
case 125:
|
|
2916
2916
|
return this.bump(), {
|
|
@@ -2918,25 +2918,25 @@ var Xn = (
|
|
|
2918
2918
|
type: N.argument,
|
|
2919
2919
|
// value does not include the opening and closing braces.
|
|
2920
2920
|
value: n,
|
|
2921
|
-
location:
|
|
2921
|
+
location: B(i, this.clonePosition())
|
|
2922
2922
|
},
|
|
2923
2923
|
err: null
|
|
2924
2924
|
};
|
|
2925
2925
|
case 44:
|
|
2926
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2926
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2927
2927
|
default:
|
|
2928
|
-
return this.error(
|
|
2928
|
+
return this.error(k.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
2929
2929
|
}
|
|
2930
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2931
|
-
var t = this.clonePosition(), r = this.offset(), i =
|
|
2931
|
+
var t = this.clonePosition(), r = this.offset(), i = kt(this.message, r), n = r + i.length;
|
|
2932
2932
|
this.bumpTo(n);
|
|
2933
|
-
var o = this.clonePosition(), s =
|
|
2933
|
+
var o = this.clonePosition(), s = B(t, o);
|
|
2934
2934
|
return { value: i, location: s };
|
|
2935
2935
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2936
2936
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2937
2937
|
switch (a) {
|
|
2938
2938
|
case "":
|
|
2939
|
-
return this.error(
|
|
2939
|
+
return this.error(k.EXPECT_ARGUMENT_TYPE, B(s, u));
|
|
2940
2940
|
case "number":
|
|
2941
2941
|
case "date":
|
|
2942
2942
|
case "time": {
|
|
@@ -2949,32 +2949,32 @@ var Xn = (
|
|
|
2949
2949
|
return m;
|
|
2950
2950
|
var p = Wn(m.val);
|
|
2951
2951
|
if (p.length === 0)
|
|
2952
|
-
return this.error(
|
|
2953
|
-
var y =
|
|
2952
|
+
return this.error(k.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
2953
|
+
var y = B(c, this.clonePosition());
|
|
2954
2954
|
f = { style: p, styleLocation: y };
|
|
2955
2955
|
}
|
|
2956
2956
|
var _ = this.tryParseArgumentClose(n);
|
|
2957
2957
|
if (_.err)
|
|
2958
2958
|
return _;
|
|
2959
|
-
var d =
|
|
2959
|
+
var d = B(n, this.clonePosition());
|
|
2960
2960
|
if (f && rr(f == null ? void 0 : f.style, "::", 0)) {
|
|
2961
|
-
var
|
|
2961
|
+
var $ = jn(f.style.slice(2));
|
|
2962
2962
|
if (a === "number") {
|
|
2963
|
-
var m = this.parseNumberSkeletonFromString(
|
|
2963
|
+
var m = this.parseNumberSkeletonFromString($, f.styleLocation);
|
|
2964
2964
|
return m.err ? m : {
|
|
2965
2965
|
val: { type: N.number, value: i, location: d, style: m.val },
|
|
2966
2966
|
err: null
|
|
2967
2967
|
};
|
|
2968
2968
|
} else {
|
|
2969
|
-
if (
|
|
2970
|
-
return this.error(
|
|
2971
|
-
var
|
|
2972
|
-
this.locale && (
|
|
2969
|
+
if ($.length === 0)
|
|
2970
|
+
return this.error(k.EXPECT_DATE_TIME_SKELETON, d);
|
|
2971
|
+
var F = $;
|
|
2972
|
+
this.locale && (F = Dn($, this.locale));
|
|
2973
2973
|
var p = {
|
|
2974
|
-
type:
|
|
2975
|
-
pattern:
|
|
2974
|
+
type: Be.dateTime,
|
|
2975
|
+
pattern: F,
|
|
2976
2976
|
location: f.styleLocation,
|
|
2977
|
-
parsedOptions: this.shouldParseSkeletons ? On(
|
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? On(F) : {}
|
|
2978
2978
|
}, R = a === "date" ? N.date : N.time;
|
|
2979
2979
|
return {
|
|
2980
2980
|
val: { type: R, value: i, location: d, style: p },
|
|
@@ -2995,32 +2995,32 @@ var Xn = (
|
|
|
2995
2995
|
case "plural":
|
|
2996
2996
|
case "selectordinal":
|
|
2997
2997
|
case "select": {
|
|
2998
|
-
var
|
|
2998
|
+
var D = this.clonePosition();
|
|
2999
2999
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3000
|
-
return this.error(
|
|
3000
|
+
return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS, B(D, nt({}, D)));
|
|
3001
3001
|
this.bumpSpace();
|
|
3002
3002
|
var G = this.parseIdentifierIfPossible(), P = 0;
|
|
3003
3003
|
if (a !== "select" && G.value === "offset") {
|
|
3004
3004
|
if (!this.bumpIf(":"))
|
|
3005
|
-
return this.error(
|
|
3005
|
+
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
|
|
3006
3006
|
this.bumpSpace();
|
|
3007
|
-
var m = this.tryParseDecimalInteger(
|
|
3007
|
+
var m = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3008
3008
|
if (m.err)
|
|
3009
3009
|
return m;
|
|
3010
3010
|
this.bumpSpace(), G = this.parseIdentifierIfPossible(), P = m.val;
|
|
3011
3011
|
}
|
|
3012
|
-
var
|
|
3013
|
-
if (
|
|
3014
|
-
return
|
|
3012
|
+
var T = this.tryParsePluralOrSelectOptions(t, a, r, G);
|
|
3013
|
+
if (T.err)
|
|
3014
|
+
return T;
|
|
3015
3015
|
var _ = this.tryParseArgumentClose(n);
|
|
3016
3016
|
if (_.err)
|
|
3017
3017
|
return _;
|
|
3018
|
-
var O =
|
|
3018
|
+
var O = B(n, this.clonePosition());
|
|
3019
3019
|
return a === "select" ? {
|
|
3020
3020
|
val: {
|
|
3021
3021
|
type: N.select,
|
|
3022
3022
|
value: i,
|
|
3023
|
-
options: ir(
|
|
3023
|
+
options: ir(T.val),
|
|
3024
3024
|
location: O
|
|
3025
3025
|
},
|
|
3026
3026
|
err: null
|
|
@@ -3028,7 +3028,7 @@ var Xn = (
|
|
|
3028
3028
|
val: {
|
|
3029
3029
|
type: N.plural,
|
|
3030
3030
|
value: i,
|
|
3031
|
-
options: ir(
|
|
3031
|
+
options: ir(T.val),
|
|
3032
3032
|
offset: P,
|
|
3033
3033
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3034
3034
|
location: O
|
|
@@ -3037,10 +3037,10 @@ var Xn = (
|
|
|
3037
3037
|
};
|
|
3038
3038
|
}
|
|
3039
3039
|
default:
|
|
3040
|
-
return this.error(
|
|
3040
|
+
return this.error(k.INVALID_ARGUMENT_TYPE, B(s, u));
|
|
3041
3041
|
}
|
|
3042
3042
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3043
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3043
|
+
return this.isEOF() || this.char() !== 125 ? this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3044
3044
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3045
3045
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3046
3046
|
var i = this.char();
|
|
@@ -3049,7 +3049,7 @@ var Xn = (
|
|
|
3049
3049
|
this.bump();
|
|
3050
3050
|
var n = this.clonePosition();
|
|
3051
3051
|
if (!this.bumpUntil("'"))
|
|
3052
|
-
return this.error(
|
|
3052
|
+
return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, B(n, this.clonePosition()));
|
|
3053
3053
|
this.bump();
|
|
3054
3054
|
break;
|
|
3055
3055
|
}
|
|
@@ -3079,13 +3079,13 @@ var Xn = (
|
|
|
3079
3079
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3080
3080
|
var i = [];
|
|
3081
3081
|
try {
|
|
3082
|
-
i =
|
|
3082
|
+
i = kn(t);
|
|
3083
3083
|
} catch (n) {
|
|
3084
|
-
return this.error(
|
|
3084
|
+
return this.error(k.INVALID_NUMBER_SKELETON, r);
|
|
3085
3085
|
}
|
|
3086
3086
|
return {
|
|
3087
3087
|
val: {
|
|
3088
|
-
type:
|
|
3088
|
+
type: Be.number,
|
|
3089
3089
|
tokens: i,
|
|
3090
3090
|
location: r,
|
|
3091
3091
|
parsedOptions: this.shouldParseSkeletons ? Hn(i) : {}
|
|
@@ -3097,19 +3097,19 @@ var Xn = (
|
|
|
3097
3097
|
if (f.length === 0) {
|
|
3098
3098
|
var m = this.clonePosition();
|
|
3099
3099
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3100
|
-
var p = this.tryParseDecimalInteger(
|
|
3100
|
+
var p = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR, k.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3101
3101
|
if (p.err)
|
|
3102
3102
|
return p;
|
|
3103
|
-
c =
|
|
3103
|
+
c = B(m, this.clonePosition()), f = this.message.slice(m.offset, this.offset());
|
|
3104
3104
|
} else
|
|
3105
3105
|
break;
|
|
3106
3106
|
}
|
|
3107
3107
|
if (u.has(f))
|
|
3108
|
-
return this.error(r === "select" ?
|
|
3108
|
+
return this.error(r === "select" ? k.DUPLICATE_SELECT_ARGUMENT_SELECTOR : k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3109
3109
|
f === "other" && (s = !0), this.bumpSpace();
|
|
3110
3110
|
var y = this.clonePosition();
|
|
3111
3111
|
if (!this.bumpIf("{"))
|
|
3112
|
-
return this.error(r === "select" ?
|
|
3112
|
+
return this.error(r === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
3113
3113
|
var _ = this.parseMessage(t + 1, r, i);
|
|
3114
3114
|
if (_.err)
|
|
3115
3115
|
return _;
|
|
@@ -3120,11 +3120,11 @@ var Xn = (
|
|
|
3120
3120
|
f,
|
|
3121
3121
|
{
|
|
3122
3122
|
value: _.val,
|
|
3123
|
-
location:
|
|
3123
|
+
location: B(y, this.clonePosition())
|
|
3124
3124
|
}
|
|
3125
3125
|
]), u.add(f), this.bumpSpace(), o = this.parseIdentifierIfPossible(), f = o.value, c = o.location;
|
|
3126
3126
|
}
|
|
3127
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3127
|
+
return a.length === 0 ? this.error(r === "select" ? k.EXPECT_SELECT_ARGUMENT_SELECTOR : k.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(k.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3128
3128
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3129
3129
|
var i = 1, n = this.clonePosition();
|
|
3130
3130
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -3135,8 +3135,8 @@ var Xn = (
|
|
|
3135
3135
|
else
|
|
3136
3136
|
break;
|
|
3137
3137
|
}
|
|
3138
|
-
var u =
|
|
3139
|
-
return o ? (s *= i,
|
|
3138
|
+
var u = B(n, this.clonePosition());
|
|
3139
|
+
return o ? (s *= i, Fn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3140
3140
|
}, e.prototype.offset = function() {
|
|
3141
3141
|
return this.position.offset;
|
|
3142
3142
|
}, e.prototype.isEOF = function() {
|
|
@@ -3151,7 +3151,7 @@ var Xn = (
|
|
|
3151
3151
|
var t = this.position.offset;
|
|
3152
3152
|
if (t >= this.message.length)
|
|
3153
3153
|
throw Error("out of bound");
|
|
3154
|
-
var r =
|
|
3154
|
+
var r = Xr(this.message, t);
|
|
3155
3155
|
if (r === void 0)
|
|
3156
3156
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3157
3157
|
return r;
|
|
@@ -3202,11 +3202,11 @@ var Xn = (
|
|
|
3202
3202
|
}, e;
|
|
3203
3203
|
}()
|
|
3204
3204
|
);
|
|
3205
|
-
function
|
|
3205
|
+
function Bt(e) {
|
|
3206
3206
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3207
3207
|
}
|
|
3208
|
-
function
|
|
3209
|
-
return
|
|
3208
|
+
function Xn(e) {
|
|
3209
|
+
return Bt(e) || e === 47;
|
|
3210
3210
|
}
|
|
3211
3211
|
function Yn(e) {
|
|
3212
3212
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
@@ -3217,28 +3217,28 @@ function Zr(e) {
|
|
|
3217
3217
|
function Zn(e) {
|
|
3218
3218
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3219
3219
|
}
|
|
3220
|
-
function
|
|
3220
|
+
function At(e) {
|
|
3221
3221
|
e.forEach(function(t) {
|
|
3222
3222
|
if (delete t.location, Vr(t) || Ur(t))
|
|
3223
3223
|
for (var r in t.options)
|
|
3224
|
-
delete t.options[r].location,
|
|
3224
|
+
delete t.options[r].location, At(t.options[r].value);
|
|
3225
3225
|
else
|
|
3226
|
-
Ir(t) &&
|
|
3226
|
+
Ir(t) && Fr(t.style) || (Nr(t) || Rr(t)) && St(t.style) ? delete t.style.location : zr(t) && At(t.children);
|
|
3227
3227
|
});
|
|
3228
3228
|
}
|
|
3229
3229
|
function Jn(e, t) {
|
|
3230
3230
|
t === void 0 && (t = {}), t = nt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3231
|
-
var r = new
|
|
3231
|
+
var r = new qn(e, t).parse();
|
|
3232
3232
|
if (r.err) {
|
|
3233
|
-
var i = SyntaxError(
|
|
3233
|
+
var i = SyntaxError(k[r.err.kind]);
|
|
3234
3234
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
3235
3235
|
}
|
|
3236
|
-
return t != null && t.captureLocation ||
|
|
3236
|
+
return t != null && t.captureLocation || At(r.val), r.val;
|
|
3237
3237
|
}
|
|
3238
|
-
var
|
|
3238
|
+
var Ae;
|
|
3239
3239
|
(function(e) {
|
|
3240
3240
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3241
|
-
})(
|
|
3241
|
+
})(Ae || (Ae = {}));
|
|
3242
3242
|
var ft = (
|
|
3243
3243
|
/** @class */
|
|
3244
3244
|
function(e) {
|
|
@@ -3256,7 +3256,7 @@ var ft = (
|
|
|
3256
3256
|
function(e) {
|
|
3257
3257
|
ut(t, e);
|
|
3258
3258
|
function t(r, i, n, o) {
|
|
3259
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3259
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Ae.INVALID_VALUE, o) || this;
|
|
3260
3260
|
}
|
|
3261
3261
|
return t;
|
|
3262
3262
|
}(ft)
|
|
@@ -3265,7 +3265,7 @@ var ft = (
|
|
|
3265
3265
|
function(e) {
|
|
3266
3266
|
ut(t, e);
|
|
3267
3267
|
function t(r, i, n) {
|
|
3268
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3268
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Ae.INVALID_VALUE, n) || this;
|
|
3269
3269
|
}
|
|
3270
3270
|
return t;
|
|
3271
3271
|
}(ft)
|
|
@@ -3274,7 +3274,7 @@ var ft = (
|
|
|
3274
3274
|
function(e) {
|
|
3275
3275
|
ut(t, e);
|
|
3276
3276
|
function t(r, i) {
|
|
3277
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3277
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Ae.MISSING_VALUE, i) || this;
|
|
3278
3278
|
}
|
|
3279
3279
|
return t;
|
|
3280
3280
|
}(ft)
|
|
@@ -3343,18 +3343,18 @@ function Ke(e, t, r, i, n, o, s) {
|
|
|
3343
3343
|
continue;
|
|
3344
3344
|
}
|
|
3345
3345
|
if (Ir(c)) {
|
|
3346
|
-
var y = typeof c.style == "string" ? i.number[c.style] :
|
|
3346
|
+
var y = typeof c.style == "string" ? i.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
|
|
3347
3347
|
y && y.scale && (p = p * (y.scale || 1)), a.push({
|
|
3348
3348
|
type: J.literal,
|
|
3349
3349
|
value: r.getNumberFormat(t, y).format(p)
|
|
3350
3350
|
});
|
|
3351
3351
|
continue;
|
|
3352
3352
|
}
|
|
3353
|
-
if (
|
|
3354
|
-
var _ = c.children, d = c.value,
|
|
3355
|
-
if (!to(
|
|
3353
|
+
if (zr(c)) {
|
|
3354
|
+
var _ = c.children, d = c.value, $ = n[d];
|
|
3355
|
+
if (!to($))
|
|
3356
3356
|
throw new Qn(d, "function", s);
|
|
3357
|
-
var
|
|
3357
|
+
var F = Ke(_, t, r, i, n, o), R = $(F.map(function(P) {
|
|
3358
3358
|
return P.value;
|
|
3359
3359
|
}));
|
|
3360
3360
|
Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(P) {
|
|
@@ -3365,25 +3365,25 @@ function Ke(e, t, r, i, n, o, s) {
|
|
|
3365
3365
|
}));
|
|
3366
3366
|
}
|
|
3367
3367
|
if (Vr(c)) {
|
|
3368
|
-
var
|
|
3369
|
-
if (!
|
|
3368
|
+
var D = c.options[p] || c.options.other;
|
|
3369
|
+
if (!D)
|
|
3370
3370
|
throw new or(c.value, p, Object.keys(c.options), s);
|
|
3371
|
-
a.push.apply(a, Ke(
|
|
3371
|
+
a.push.apply(a, Ke(D.value, t, r, i, n));
|
|
3372
3372
|
continue;
|
|
3373
3373
|
}
|
|
3374
3374
|
if (Ur(c)) {
|
|
3375
|
-
var
|
|
3376
|
-
if (!
|
|
3375
|
+
var D = c.options["=".concat(p)];
|
|
3376
|
+
if (!D) {
|
|
3377
3377
|
if (!Intl.PluralRules)
|
|
3378
3378
|
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3379
3379
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3380
|
-
`,
|
|
3380
|
+
`, Ae.MISSING_INTL_API, s);
|
|
3381
3381
|
var G = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3382
|
-
|
|
3382
|
+
D = c.options[G] || c.options.other;
|
|
3383
3383
|
}
|
|
3384
|
-
if (!
|
|
3384
|
+
if (!D)
|
|
3385
3385
|
throw new or(c.value, p, Object.keys(c.options), s);
|
|
3386
|
-
a.push.apply(a, Ke(
|
|
3386
|
+
a.push.apply(a, Ke(D.value, t, r, i, n, p - (c.offset || 0)));
|
|
3387
3387
|
continue;
|
|
3388
3388
|
}
|
|
3389
3389
|
}
|
|
@@ -3583,7 +3583,7 @@ const me = {}, so = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (m
|
|
|
3583
3583
|
return;
|
|
3584
3584
|
if (t in me && e in me[t])
|
|
3585
3585
|
return me[t][e];
|
|
3586
|
-
const r =
|
|
3586
|
+
const r = ze(t);
|
|
3587
3587
|
for (let i = 0; i < r.length; i++) {
|
|
3588
3588
|
const n = r[i], o = uo(n, e);
|
|
3589
3589
|
if (o)
|
|
@@ -3607,7 +3607,7 @@ function uo(e, t) {
|
|
|
3607
3607
|
function fo(e) {
|
|
3608
3608
|
if (e == null)
|
|
3609
3609
|
return;
|
|
3610
|
-
const t =
|
|
3610
|
+
const t = ze(e);
|
|
3611
3611
|
for (let r = 0; r < t.length; r++) {
|
|
3612
3612
|
const i = t[r];
|
|
3613
3613
|
if (Kr(i))
|
|
@@ -3617,7 +3617,7 @@ function fo(e) {
|
|
|
3617
3617
|
function ei(e, ...t) {
|
|
3618
3618
|
delete me[e], Ue.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
|
|
3619
3619
|
}
|
|
3620
|
-
|
|
3620
|
+
De(
|
|
3621
3621
|
[Ue],
|
|
3622
3622
|
([e]) => Object.keys(e)
|
|
3623
3623
|
);
|
|
@@ -3630,13 +3630,13 @@ function ti(e) {
|
|
|
3630
3630
|
return et[e];
|
|
3631
3631
|
}
|
|
3632
3632
|
function co(e) {
|
|
3633
|
-
return
|
|
3633
|
+
return ze(e).map((t) => {
|
|
3634
3634
|
const r = ti(t);
|
|
3635
3635
|
return [t, r ? [...r] : []];
|
|
3636
3636
|
}).filter(([, t]) => t.length > 0);
|
|
3637
3637
|
}
|
|
3638
3638
|
function ot(e) {
|
|
3639
|
-
return e == null ? !1 :
|
|
3639
|
+
return e == null ? !1 : ze(e).some(
|
|
3640
3640
|
(t) => {
|
|
3641
3641
|
var r;
|
|
3642
3642
|
return (r = ti(t)) == null ? void 0 : r.size;
|
|
@@ -3648,20 +3648,20 @@ function ho(e, t) {
|
|
|
3648
3648
|
t.map((i) => (lo(e, i), i().then((n) => n.default || n)))
|
|
3649
3649
|
).then((i) => ei(e, ...i));
|
|
3650
3650
|
}
|
|
3651
|
-
const
|
|
3651
|
+
const Ce = {};
|
|
3652
3652
|
function ri(e) {
|
|
3653
3653
|
if (!ot(e))
|
|
3654
|
-
return e in
|
|
3654
|
+
return e in Ce ? Ce[e] : Promise.resolve();
|
|
3655
3655
|
const t = co(e);
|
|
3656
|
-
return
|
|
3656
|
+
return Ce[e] = Promise.all(
|
|
3657
3657
|
t.map(
|
|
3658
3658
|
([r, i]) => ho(r, i)
|
|
3659
3659
|
)
|
|
3660
3660
|
).then(() => {
|
|
3661
3661
|
if (ot(e))
|
|
3662
3662
|
return ri(e);
|
|
3663
|
-
delete
|
|
3664
|
-
}),
|
|
3663
|
+
delete Ce[e];
|
|
3664
|
+
}), Ce[e];
|
|
3665
3665
|
}
|
|
3666
3666
|
var sr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, vo = (e, t) => {
|
|
3667
3667
|
var r = {};
|
|
@@ -3704,7 +3704,7 @@ const go = {
|
|
|
3704
3704
|
};
|
|
3705
3705
|
function bo({ locale: e, id: t }) {
|
|
3706
3706
|
console.warn(
|
|
3707
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3707
|
+
`[svelte-i18n] The message "${t}" was not found in "${ze(
|
|
3708
3708
|
e
|
|
3709
3709
|
).join('", "')}".${ot(pe()) ? `
|
|
3710
3710
|
|
|
@@ -3718,9 +3718,9 @@ const yo = {
|
|
|
3718
3718
|
warnOnMissingMessages: !0,
|
|
3719
3719
|
handleMissingMessage: void 0,
|
|
3720
3720
|
ignoreTag: !0
|
|
3721
|
-
},
|
|
3722
|
-
function
|
|
3723
|
-
return
|
|
3721
|
+
}, $e = yo;
|
|
3722
|
+
function Te() {
|
|
3723
|
+
return $e;
|
|
3724
3724
|
}
|
|
3725
3725
|
function _o(e) {
|
|
3726
3726
|
const t = e, { formats: r } = t, i = vo(t, ["formats"]);
|
|
@@ -3735,7 +3735,7 @@ function _o(e) {
|
|
|
3735
3735
|
}
|
|
3736
3736
|
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bo : console.warn(
|
|
3737
3737
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3738
|
-
)), Object.assign(
|
|
3738
|
+
)), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), ye.set(n);
|
|
3739
3739
|
}
|
|
3740
3740
|
const yt = Ve(!1);
|
|
3741
3741
|
var xo = Object.defineProperty, wo = Object.defineProperties, Eo = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Po = (e, t) => {
|
|
@@ -3745,25 +3745,25 @@ var xo = Object.defineProperty, wo = Object.defineProperties, Eo = Object.getOwn
|
|
|
3745
3745
|
for (var r of ar(t))
|
|
3746
3746
|
Oo.call(t, r) && ur(e, r, t[r]);
|
|
3747
3747
|
return e;
|
|
3748
|
-
},
|
|
3749
|
-
let
|
|
3748
|
+
}, ko = (e, t) => wo(e, Eo(t));
|
|
3749
|
+
let Tt;
|
|
3750
3750
|
const st = Ve(null);
|
|
3751
3751
|
function fr(e) {
|
|
3752
3752
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3753
3753
|
}
|
|
3754
|
-
function
|
|
3754
|
+
function ze(e, t = Te().fallbackLocale) {
|
|
3755
3755
|
const r = fr(e);
|
|
3756
3756
|
return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
|
|
3757
3757
|
}
|
|
3758
3758
|
function pe() {
|
|
3759
|
-
return
|
|
3759
|
+
return Tt != null ? Tt : void 0;
|
|
3760
3760
|
}
|
|
3761
3761
|
st.subscribe((e) => {
|
|
3762
|
-
|
|
3762
|
+
Tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3763
3763
|
});
|
|
3764
|
-
const
|
|
3764
|
+
const Bo = (e) => {
|
|
3765
3765
|
if (e && fo(e) && ot(e)) {
|
|
3766
|
-
const { loadingDelay: t } =
|
|
3766
|
+
const { loadingDelay: t } = Te();
|
|
3767
3767
|
let r;
|
|
3768
3768
|
return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
|
|
3769
3769
|
() => yt.set(!0),
|
|
@@ -3775,8 +3775,8 @@ const Ao = (e) => {
|
|
|
3775
3775
|
});
|
|
3776
3776
|
}
|
|
3777
3777
|
return st.set(e);
|
|
3778
|
-
}, ye =
|
|
3779
|
-
set:
|
|
3778
|
+
}, ye = ko(Po({}, st), {
|
|
3779
|
+
set: Bo
|
|
3780
3780
|
}), lt = (e) => {
|
|
3781
3781
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3782
3782
|
return (i) => {
|
|
@@ -3784,14 +3784,14 @@ const Ao = (e) => {
|
|
|
3784
3784
|
return n in t ? t[n] : t[n] = e(i);
|
|
3785
3785
|
};
|
|
3786
3786
|
};
|
|
3787
|
-
var
|
|
3787
|
+
var Ao = Object.defineProperty, at = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
|
|
3788
3788
|
for (var r in t || (t = {}))
|
|
3789
3789
|
ii.call(t, r) && lr(e, r, t[r]);
|
|
3790
3790
|
if (at)
|
|
3791
3791
|
for (var r of at(t))
|
|
3792
3792
|
ni.call(t, r) && lr(e, r, t[r]);
|
|
3793
3793
|
return e;
|
|
3794
|
-
},
|
|
3794
|
+
}, Me = (e, t) => {
|
|
3795
3795
|
var r = {};
|
|
3796
3796
|
for (var i in e)
|
|
3797
3797
|
ii.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -3801,58 +3801,58 @@ var Bo = Object.defineProperty, at = Object.getOwnPropertySymbols, ii = Object.p
|
|
|
3801
3801
|
return r;
|
|
3802
3802
|
};
|
|
3803
3803
|
const Re = (e, t) => {
|
|
3804
|
-
const { formats: r } =
|
|
3804
|
+
const { formats: r } = Te();
|
|
3805
3805
|
if (e in r && t in r[e])
|
|
3806
3806
|
return r[e][t];
|
|
3807
3807
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3808
|
-
},
|
|
3808
|
+
}, To = lt(
|
|
3809
3809
|
(e) => {
|
|
3810
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3810
|
+
var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
|
|
3811
3811
|
if (r == null)
|
|
3812
3812
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3813
3813
|
return i && (n = Re("number", i)), new Intl.NumberFormat(r, n);
|
|
3814
3814
|
}
|
|
3815
3815
|
), Ho = lt(
|
|
3816
3816
|
(e) => {
|
|
3817
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3817
|
+
var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
|
|
3818
3818
|
if (r == null)
|
|
3819
3819
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3820
3820
|
return i ? n = Re("date", i) : Object.keys(n).length === 0 && (n = Re("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3821
3821
|
}
|
|
3822
|
-
),
|
|
3822
|
+
), Do = lt(
|
|
3823
3823
|
(e) => {
|
|
3824
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3824
|
+
var t = e, { locale: r, format: i } = t, n = Me(t, ["locale", "format"]);
|
|
3825
3825
|
if (r == null)
|
|
3826
3826
|
throw new Error(
|
|
3827
3827
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3828
3828
|
);
|
|
3829
3829
|
return i ? n = Re("time", i) : Object.keys(n).length === 0 && (n = Re("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3830
3830
|
}
|
|
3831
|
-
),
|
|
3831
|
+
), Mo = (e = {}) => {
|
|
3832
3832
|
var t = e, {
|
|
3833
3833
|
locale: r = pe()
|
|
3834
|
-
} = t, i =
|
|
3834
|
+
} = t, i = Me(t, [
|
|
3835
3835
|
"locale"
|
|
3836
3836
|
]);
|
|
3837
|
-
return
|
|
3838
|
-
},
|
|
3837
|
+
return To(Ut({ locale: r }, i));
|
|
3838
|
+
}, Co = (e = {}) => {
|
|
3839
3839
|
var t = e, {
|
|
3840
3840
|
locale: r = pe()
|
|
3841
|
-
} = t, i =
|
|
3841
|
+
} = t, i = Me(t, [
|
|
3842
3842
|
"locale"
|
|
3843
3843
|
]);
|
|
3844
3844
|
return Ho(Ut({ locale: r }, i));
|
|
3845
|
-
},
|
|
3845
|
+
}, $o = (e = {}) => {
|
|
3846
3846
|
var t = e, {
|
|
3847
3847
|
locale: r = pe()
|
|
3848
|
-
} = t, i =
|
|
3848
|
+
} = t, i = Me(t, [
|
|
3849
3849
|
"locale"
|
|
3850
3850
|
]);
|
|
3851
|
-
return
|
|
3851
|
+
return Do(Ut({ locale: r }, i));
|
|
3852
3852
|
}, Lo = lt(
|
|
3853
3853
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3854
|
-
(e, t = pe()) => new Jr(e, t,
|
|
3855
|
-
ignoreTag:
|
|
3854
|
+
(e, t = pe()) => new Jr(e, t, Te().formats, {
|
|
3855
|
+
ignoreTag: Te().ignoreTag
|
|
3856
3856
|
})
|
|
3857
3857
|
), Io = (e, t = {}) => {
|
|
3858
3858
|
var r, i, n, o;
|
|
@@ -3869,7 +3869,7 @@ const Re = (e, t) => {
|
|
|
3869
3869
|
);
|
|
3870
3870
|
let c = Qr(e, u);
|
|
3871
3871
|
if (!c)
|
|
3872
|
-
c = (o = (n = (i = (r =
|
|
3872
|
+
c = (o = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: f })) != null ? n : f) != null ? o : e;
|
|
3873
3873
|
else if (typeof c != "string")
|
|
3874
3874
|
return console.warn(
|
|
3875
3875
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3886,15 +3886,15 @@ const Re = (e, t) => {
|
|
|
3886
3886
|
);
|
|
3887
3887
|
}
|
|
3888
3888
|
return m;
|
|
3889
|
-
}, No = (e, t) =>
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3889
|
+
}, No = (e, t) => $o(t).format(e), Ro = (e, t) => Co(t).format(e), Vo = (e, t) => Mo(t).format(e), Uo = (e, t = pe()) => Qr(e, t), zo = De([ye, Ue], () => Io);
|
|
3890
|
+
De([ye], () => No);
|
|
3891
|
+
De([ye], () => Ro);
|
|
3892
|
+
De([ye], () => Vo);
|
|
3893
|
+
De([ye, Ue], () => Uo);
|
|
3894
3894
|
function cr(e, t) {
|
|
3895
3895
|
ei(e, t);
|
|
3896
3896
|
}
|
|
3897
|
-
function
|
|
3897
|
+
function Fo(e) {
|
|
3898
3898
|
_o({
|
|
3899
3899
|
fallbackLocale: "en"
|
|
3900
3900
|
}), ye.set(e);
|
|
@@ -4037,6 +4037,52 @@ const hr = {
|
|
|
4037
4037
|
"verification.shuftipro.link-name.ProofOfPayment": "Betalingsbewijs",
|
|
4038
4038
|
"verification.shuftipro.link-name.SourceOfWealth": "Herkomst van vermogen",
|
|
4039
4039
|
"verification.shuftipro.validations-started": "Na het voltooien van de verificatie, ga dan door met de transactie"
|
|
4040
|
+
},
|
|
4041
|
+
ru: {
|
|
4042
|
+
verificationsRequired: "Требуется верификация",
|
|
4043
|
+
"verification.video.how-to": "Как пройти верификацию?",
|
|
4044
|
+
"verification.idenfy.referred-awaiting": "Верификация личности выполняется. Мы сообщим вам, как только верификация будет завершена и вы сможете вывести средства обратно",
|
|
4045
|
+
"verification.message.failed": "Приносим извинения, но мы не смогли верифицировать ваш аккаунт. Пожалуйста, свяжитесь со службой поддержки",
|
|
4046
|
+
"verification.idenfy.link-name": "ссылка",
|
|
4047
|
+
"verification.idenfy.in-progress": "Для вывода средств на ваш счёт вам необходимо пройти верификацию. Пожалуйста, подготовьте удостоверение личности и перейдите по {link}, чтобы начать верификацию",
|
|
4048
|
+
"verification.shuftipro.in-progress.Biometric": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric}.",
|
|
4049
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric} и верификацию {Documents}.",
|
|
4050
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric}, верификацию {Documents} и верификацию {ProofOfAddress}.",
|
|
4051
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Biometric} и верификацию {ProofOfAddress}.",
|
|
4052
|
+
"verification.shuftipro.in-progress.Documents": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Documents}.",
|
|
4053
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {Documents} и верификацию {ProofOfAddress}.",
|
|
4054
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {ProofOfAddress}.",
|
|
4055
|
+
"verification.shuftipro.in-progress.ProofOfPayment": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {ProofOfPayment}.",
|
|
4056
|
+
"verification.shuftipro.in-progress.SourceOfWealth": "Для продолжения операции вам необходимо пройти верификацию. Пожалуйста, перейдите по ссылке, чтобы начать верификацию {SourceOfWealth}.",
|
|
4057
|
+
"verification.shuftipro.link-name.Biometric": "Биометрия",
|
|
4058
|
+
"verification.shuftipro.link-name.Documents": "Документы",
|
|
4059
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Подтверждение адреса",
|
|
4060
|
+
"verification.shuftipro.link-name.ProofOfPayment": "Подтверждение платежа",
|
|
4061
|
+
"verification.shuftipro.link-name.SourceOfWealth": "Источник происхождения средств",
|
|
4062
|
+
"verification.shuftipro.validations-started": "После завершения верификации, пожалуйста, продолжите операцию"
|
|
4063
|
+
},
|
|
4064
|
+
az: {
|
|
4065
|
+
verificationsRequired: "Yoxlama tələb olunur",
|
|
4066
|
+
"verification.video.how-to": "Özünüzü necə təsdiqləyə bilərsiniz?",
|
|
4067
|
+
"verification.idenfy.referred-awaiting": "Şəxsiyyət yoxlaması davam edir. Yoxlama tamamlandıqdan sonra sizə məlumat verəcəyik və pulu geri çıxara biləcəksiniz",
|
|
4068
|
+
"verification.message.failed": "Üzr istəyirik, lakin hesabınızı təsdiqləyə bilmədik. Zəhmət olmasa dəstək komandası ilə əlaqə saxlayın",
|
|
4069
|
+
"verification.idenfy.link-name": "link",
|
|
4070
|
+
"verification.idenfy.in-progress": "Hesabınıza vəsait çıxarmaq üçün istifadəçi yoxlamasından keçməlisiniz. Zəhmət olmasa şəxsiyyət vəsiqənizi hazır saxlayın və yoxlamanı başlatmaq üçün {link} keçidini izləyin",
|
|
4071
|
+
"verification.shuftipro.in-progress.Biometric": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4072
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını və {Documents} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4073
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını, {Documents} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4074
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Biometric} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4075
|
+
"verification.shuftipro.in-progress.Documents": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Documents} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4076
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {Documents} yoxlamasını və {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4077
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {ProofOfAddress} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4078
|
+
"verification.shuftipro.in-progress.ProofOfPayment": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {ProofOfPayment} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4079
|
+
"verification.shuftipro.in-progress.SourceOfWealth": "Əməliyyata davam etmək üçün istifadəçi yoxlamasından keçməlisiniz. {SourceOfWealth} yoxlamasını başlatmaq üçün zəhmət olmasa linkə keçin.",
|
|
4080
|
+
"verification.shuftipro.link-name.Biometric": "Biometrik",
|
|
4081
|
+
"verification.shuftipro.link-name.Documents": "Sənədlər",
|
|
4082
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Ünvan sübutu",
|
|
4083
|
+
"verification.shuftipro.link-name.ProofOfPayment": "Ödəniş sübutu",
|
|
4084
|
+
"verification.shuftipro.link-name.SourceOfWealth": "Sərvətin mənbəyi",
|
|
4085
|
+
"verification.shuftipro.validations-started": "Yoxlamanı tamamladıqdan sonra əməliyyata davam edin"
|
|
4040
4086
|
}
|
|
4041
4087
|
};
|
|
4042
4088
|
let Go = Ve(null);
|
|
@@ -4058,11 +4104,11 @@ function Wo(e, t) {
|
|
|
4058
4104
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
4059
4105
|
});
|
|
4060
4106
|
}
|
|
4061
|
-
function
|
|
4107
|
+
function qo(e, t, r, i = !1) {
|
|
4062
4108
|
if (!window.emMessageBus)
|
|
4063
4109
|
return;
|
|
4064
4110
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
4065
|
-
return r =
|
|
4111
|
+
return r = Xo(e, t), r;
|
|
4066
4112
|
window[Se] || (window[Se] = {}), r = Yo(e, t);
|
|
4067
4113
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
4068
4114
|
if (window[Se][t]) {
|
|
@@ -4073,7 +4119,7 @@ function Xo(e, t, r, i = !1) {
|
|
|
4073
4119
|
};
|
|
4074
4120
|
return r.unsubscribe = s, r;
|
|
4075
4121
|
}
|
|
4076
|
-
function
|
|
4122
|
+
function Xo(e, t) {
|
|
4077
4123
|
const r = document.createElement("style");
|
|
4078
4124
|
return window.emMessageBus.subscribe(t, (i) => {
|
|
4079
4125
|
e && (r.innerHTML = i, e.appendChild(r));
|
|
@@ -4115,7 +4161,7 @@ var Ht = function(e, t) {
|
|
|
4115
4161
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
4116
4162
|
}, Ht(e, t);
|
|
4117
4163
|
};
|
|
4118
|
-
function
|
|
4164
|
+
function Fe(e, t) {
|
|
4119
4165
|
if (typeof t != "function" && t !== null)
|
|
4120
4166
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
4121
4167
|
Ht(e, t);
|
|
@@ -4124,7 +4170,7 @@ function ze(e, t) {
|
|
|
4124
4170
|
}
|
|
4125
4171
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
4126
4172
|
}
|
|
4127
|
-
function
|
|
4173
|
+
function Dt(e) {
|
|
4128
4174
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
|
|
4129
4175
|
if (r)
|
|
4130
4176
|
return r.call(e);
|
|
@@ -4136,7 +4182,7 @@ function Mt(e) {
|
|
|
4136
4182
|
};
|
|
4137
4183
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4138
4184
|
}
|
|
4139
|
-
function
|
|
4185
|
+
function Mt(e, t) {
|
|
4140
4186
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
4141
4187
|
if (!r)
|
|
4142
4188
|
return e;
|
|
@@ -4156,7 +4202,7 @@ function Ct(e, t) {
|
|
|
4156
4202
|
}
|
|
4157
4203
|
return o;
|
|
4158
4204
|
}
|
|
4159
|
-
function
|
|
4205
|
+
function Ct(e, t, r) {
|
|
4160
4206
|
if (arguments.length === 2)
|
|
4161
4207
|
for (var i = 0, n = t.length, o; i < n; i++)
|
|
4162
4208
|
(o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
|
|
@@ -4180,7 +4226,7 @@ var _t = oi(function(e) {
|
|
|
4180
4226
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
4181
4227
|
};
|
|
4182
4228
|
});
|
|
4183
|
-
function
|
|
4229
|
+
function $t(e, t) {
|
|
4184
4230
|
if (e) {
|
|
4185
4231
|
var r = e.indexOf(t);
|
|
4186
4232
|
0 <= r && e.splice(r, 1);
|
|
@@ -4198,7 +4244,7 @@ var ct = function() {
|
|
|
4198
4244
|
if (s)
|
|
4199
4245
|
if (this._parentage = null, Array.isArray(s))
|
|
4200
4246
|
try {
|
|
4201
|
-
for (var a =
|
|
4247
|
+
for (var a = Dt(s), u = a.next(); !u.done; u = a.next()) {
|
|
4202
4248
|
var f = u.value;
|
|
4203
4249
|
f.remove(this);
|
|
4204
4250
|
}
|
|
@@ -4225,12 +4271,12 @@ var ct = function() {
|
|
|
4225
4271
|
if (m) {
|
|
4226
4272
|
this._finalizers = null;
|
|
4227
4273
|
try {
|
|
4228
|
-
for (var p =
|
|
4274
|
+
for (var p = Dt(m), y = p.next(); !y.done; y = p.next()) {
|
|
4229
4275
|
var _ = y.value;
|
|
4230
4276
|
try {
|
|
4231
4277
|
dr(_);
|
|
4232
4278
|
} catch (d) {
|
|
4233
|
-
o = o != null ? o : [], d instanceof _t ? o =
|
|
4279
|
+
o = o != null ? o : [], d instanceof _t ? o = Ct(Ct([], Mt(o)), Mt(d.errors)) : o.push(d);
|
|
4234
4280
|
}
|
|
4235
4281
|
}
|
|
4236
4282
|
} catch (d) {
|
|
@@ -4268,10 +4314,10 @@ var ct = function() {
|
|
|
4268
4314
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
4269
4315
|
}, e.prototype._removeParent = function(t) {
|
|
4270
4316
|
var r = this._parentage;
|
|
4271
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
4317
|
+
r === t ? this._parentage = null : Array.isArray(r) && $t(r, t);
|
|
4272
4318
|
}, e.prototype.remove = function(t) {
|
|
4273
4319
|
var r = this._finalizers;
|
|
4274
|
-
r &&
|
|
4320
|
+
r && $t(r, t), t instanceof e && t._removeParent(this);
|
|
4275
4321
|
}, e.EMPTY = function() {
|
|
4276
4322
|
var t = new e();
|
|
4277
4323
|
return t.closed = !0, t;
|
|
@@ -4289,7 +4335,7 @@ var Zo = {
|
|
|
4289
4335
|
setTimeout: function(e, t) {
|
|
4290
4336
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
4291
4337
|
r[i - 2] = arguments[i];
|
|
4292
|
-
return setTimeout.apply(void 0,
|
|
4338
|
+
return setTimeout.apply(void 0, Ct([e, t], Mt(r)));
|
|
4293
4339
|
},
|
|
4294
4340
|
clearTimeout: function(e) {
|
|
4295
4341
|
return clearTimeout(e);
|
|
@@ -4307,7 +4353,7 @@ function tt(e) {
|
|
|
4307
4353
|
e();
|
|
4308
4354
|
}
|
|
4309
4355
|
var ui = function(e) {
|
|
4310
|
-
|
|
4356
|
+
Fe(t, e);
|
|
4311
4357
|
function t(r) {
|
|
4312
4358
|
var i = e.call(this) || this;
|
|
4313
4359
|
return i.isStopped = !1, r ? (i.destination = r, ai(r) && r.add(i)) : i.destination = ts, i;
|
|
@@ -4369,7 +4415,7 @@ var ui = function(e) {
|
|
|
4369
4415
|
}
|
|
4370
4416
|
}, e;
|
|
4371
4417
|
}(), Lt = function(e) {
|
|
4372
|
-
|
|
4418
|
+
Fe(t, e);
|
|
4373
4419
|
function t(r, i, n) {
|
|
4374
4420
|
var o = e.call(this) || this, s;
|
|
4375
4421
|
return ue(r) || !r ? s = {
|
|
@@ -4479,7 +4525,7 @@ var as = oi(function(e) {
|
|
|
4479
4525
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4480
4526
|
};
|
|
4481
4527
|
}), fi = function(e) {
|
|
4482
|
-
|
|
4528
|
+
Fe(t, e);
|
|
4483
4529
|
function t() {
|
|
4484
4530
|
var r = e.call(this) || this;
|
|
4485
4531
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -4497,7 +4543,7 @@ var as = oi(function(e) {
|
|
|
4497
4543
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
4498
4544
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
4499
4545
|
try {
|
|
4500
|
-
for (var s =
|
|
4546
|
+
for (var s = Dt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4501
4547
|
var u = a.value;
|
|
4502
4548
|
u.next(r);
|
|
4503
4549
|
}
|
|
@@ -4547,7 +4593,7 @@ var as = oi(function(e) {
|
|
|
4547
4593
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4548
4594
|
var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
|
|
4549
4595
|
return o || s ? si : (this.currentObservers = null, a.push(r), new ct(function() {
|
|
4550
|
-
i.currentObservers = null,
|
|
4596
|
+
i.currentObservers = null, $t(a, r);
|
|
4551
4597
|
}));
|
|
4552
4598
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4553
4599
|
var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
|
|
@@ -4559,7 +4605,7 @@ var as = oi(function(e) {
|
|
|
4559
4605
|
return new gr(r, i);
|
|
4560
4606
|
}, t;
|
|
4561
4607
|
}(pr), gr = function(e) {
|
|
4562
|
-
|
|
4608
|
+
Fe(t, e);
|
|
4563
4609
|
function t(r, i) {
|
|
4564
4610
|
var n = e.call(this) || this;
|
|
4565
4611
|
return n.destination = r, n.source = i, n;
|
|
@@ -4583,7 +4629,7 @@ var as = oi(function(e) {
|
|
|
4583
4629
|
},
|
|
4584
4630
|
delegate: void 0
|
|
4585
4631
|
}, us = function(e) {
|
|
4586
|
-
|
|
4632
|
+
Fe(t, e);
|
|
4587
4633
|
function t(r, i, n) {
|
|
4588
4634
|
r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = li);
|
|
4589
4635
|
var o = e.call(this) || this;
|
|
@@ -4628,7 +4674,7 @@ if (typeof window != "undefined") {
|
|
|
4628
4674
|
}
|
|
4629
4675
|
};
|
|
4630
4676
|
};
|
|
4631
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
4677
|
+
customElements.define = e(customElements.define), import("./CashierModal-B5ffxEae.js").then(({ default: t }) => {
|
|
4632
4678
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
4633
4679
|
});
|
|
4634
4680
|
}
|
|
@@ -4636,16 +4682,16 @@ var ci = { exports: {} };
|
|
|
4636
4682
|
(function(e, t) {
|
|
4637
4683
|
(function(r, i) {
|
|
4638
4684
|
e.exports = i();
|
|
4639
|
-
})(
|
|
4640
|
-
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", f = "day", c = "week", m = "month", p = "quarter", y = "year", _ = "date", d = "Invalid Date",
|
|
4685
|
+
})(Mr, function() {
|
|
4686
|
+
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", f = "day", c = "week", m = "month", p = "quarter", y = "year", _ = "date", d = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
4641
4687
|
var g = ["th", "st", "nd", "rd"], h = x % 100;
|
|
4642
4688
|
return "[" + x + (g[(h - 20) % 10] || g[h] || g[0]) + "]";
|
|
4643
|
-
} },
|
|
4689
|
+
} }, D = function(x, g, h) {
|
|
4644
4690
|
var b = String(x);
|
|
4645
4691
|
return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(h) + x;
|
|
4646
|
-
}, G = { s:
|
|
4692
|
+
}, G = { s: D, z: function(x) {
|
|
4647
4693
|
var g = -x.utcOffset(), h = Math.abs(g), b = Math.floor(h / 60), v = h % 60;
|
|
4648
|
-
return (g <= 0 ? "+" : "-") +
|
|
4694
|
+
return (g <= 0 ? "+" : "-") + D(b, 2, "0") + ":" + D(v, 2, "0");
|
|
4649
4695
|
}, m: function x(g, h) {
|
|
4650
4696
|
if (g.date() < h.date())
|
|
4651
4697
|
return -x(h, g);
|
|
@@ -4657,37 +4703,37 @@ var ci = { exports: {} };
|
|
|
4657
4703
|
return { M: m, y, w: c, d: f, D: _, h: u, m: a, s, ms: o, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
4658
4704
|
}, u: function(x) {
|
|
4659
4705
|
return x === void 0;
|
|
4660
|
-
} }, P = "en",
|
|
4661
|
-
|
|
4662
|
-
var O = "$isDayjsObject",
|
|
4706
|
+
} }, P = "en", T = {};
|
|
4707
|
+
T[P] = R;
|
|
4708
|
+
var O = "$isDayjsObject", z = function(x) {
|
|
4663
4709
|
return x instanceof fe || !(!x || !x[O]);
|
|
4664
|
-
},
|
|
4710
|
+
}, C = function x(g, h, b) {
|
|
4665
4711
|
var v;
|
|
4666
4712
|
if (!g)
|
|
4667
4713
|
return P;
|
|
4668
4714
|
if (typeof g == "string") {
|
|
4669
4715
|
var E = g.toLowerCase();
|
|
4670
|
-
|
|
4716
|
+
T[E] && (v = E), h && (T[E] = h, v = E);
|
|
4671
4717
|
var S = g.split("-");
|
|
4672
4718
|
if (!v && S.length > 1)
|
|
4673
4719
|
return x(S[0]);
|
|
4674
4720
|
} else {
|
|
4675
4721
|
var L = g.name;
|
|
4676
|
-
|
|
4722
|
+
T[L] = g, v = L;
|
|
4677
4723
|
}
|
|
4678
4724
|
return !b && v && (P = v), v || !b && P;
|
|
4679
4725
|
}, V = function(x, g) {
|
|
4680
|
-
if (
|
|
4726
|
+
if (z(x))
|
|
4681
4727
|
return x.clone();
|
|
4682
4728
|
var h = typeof g == "object" ? g : {};
|
|
4683
4729
|
return h.date = x, h.args = arguments, new fe(h);
|
|
4684
4730
|
}, H = G;
|
|
4685
|
-
H.l =
|
|
4731
|
+
H.l = C, H.i = z, H.w = function(x, g) {
|
|
4686
4732
|
return V(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
4687
4733
|
};
|
|
4688
4734
|
var fe = function() {
|
|
4689
4735
|
function x(h) {
|
|
4690
|
-
this.$L =
|
|
4736
|
+
this.$L = C(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[O] = !0;
|
|
4691
4737
|
}
|
|
4692
4738
|
var g = x.prototype;
|
|
4693
4739
|
return g.parse = function(h) {
|
|
@@ -4700,7 +4746,7 @@ var ci = { exports: {} };
|
|
|
4700
4746
|
if (v instanceof Date)
|
|
4701
4747
|
return new Date(v);
|
|
4702
4748
|
if (typeof v == "string" && !/Z$/i.test(v)) {
|
|
4703
|
-
var S = v.match(
|
|
4749
|
+
var S = v.match($);
|
|
4704
4750
|
if (S) {
|
|
4705
4751
|
var L = S[2] - 1 || 0, I = (S[7] || "0").substring(0, 3);
|
|
4706
4752
|
return E ? new Date(Date.UTC(S[1], L, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, I)) : new Date(S[1], L, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, I);
|
|
@@ -4734,15 +4780,15 @@ var ci = { exports: {} };
|
|
|
4734
4780
|
return E ? ie : ie.endOf(f);
|
|
4735
4781
|
}, I = function(se, Z) {
|
|
4736
4782
|
return H.w(v.toDate()[se].apply(v.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), v);
|
|
4737
|
-
}, j = this.$W,
|
|
4783
|
+
}, j = this.$W, X = this.$M, Q = this.$D, le = "set" + (this.$u ? "UTC" : "");
|
|
4738
4784
|
switch (S) {
|
|
4739
4785
|
case y:
|
|
4740
4786
|
return E ? L(1, 0) : L(31, 11);
|
|
4741
4787
|
case m:
|
|
4742
|
-
return E ? L(1,
|
|
4788
|
+
return E ? L(1, X) : L(0, X + 1);
|
|
4743
4789
|
case c:
|
|
4744
4790
|
var oe = this.$locale().weekStart || 0, ce = (j < oe ? j + 7 : j) - oe;
|
|
4745
|
-
return L(E ? Q - ce : Q + (6 - ce),
|
|
4791
|
+
return L(E ? Q - ce : Q + (6 - ce), X);
|
|
4746
4792
|
case f:
|
|
4747
4793
|
case _:
|
|
4748
4794
|
return I(le + "Hours", 0);
|
|
@@ -4772,9 +4818,9 @@ var ci = { exports: {} };
|
|
|
4772
4818
|
}, g.add = function(h, b) {
|
|
4773
4819
|
var v, E = this;
|
|
4774
4820
|
h = Number(h);
|
|
4775
|
-
var S = H.p(b), L = function(
|
|
4821
|
+
var S = H.p(b), L = function(X) {
|
|
4776
4822
|
var Q = V(E);
|
|
4777
|
-
return H.w(Q.date(Q.date() + Math.round(
|
|
4823
|
+
return H.w(Q.date(Q.date() + Math.round(X * h)), E);
|
|
4778
4824
|
};
|
|
4779
4825
|
if (S === m)
|
|
4780
4826
|
return this.set(m, this.$M + h);
|
|
@@ -4792,7 +4838,7 @@ var ci = { exports: {} };
|
|
|
4792
4838
|
var b = this, v = this.$locale();
|
|
4793
4839
|
if (!this.isValid())
|
|
4794
4840
|
return v.invalidDate || d;
|
|
4795
|
-
var E = h || "YYYY-MM-DDTHH:mm:ssZ", S = H.z(this), L = this.$H, I = this.$m, j = this.$M,
|
|
4841
|
+
var E = h || "YYYY-MM-DDTHH:mm:ssZ", S = H.z(this), L = this.$H, I = this.$m, j = this.$M, X = v.weekdays, Q = v.months, le = v.meridiem, oe = function(Z, ie, ve, _e) {
|
|
4796
4842
|
return Z && (Z[ie] || Z(b, E)) || ve[ie].slice(0, _e);
|
|
4797
4843
|
}, ce = function(Z) {
|
|
4798
4844
|
return H.s(L % 12 || 12, Z, "0");
|
|
@@ -4800,7 +4846,7 @@ var ci = { exports: {} };
|
|
|
4800
4846
|
var _e = Z < 12 ? "AM" : "PM";
|
|
4801
4847
|
return ve ? _e.toLowerCase() : _e;
|
|
4802
4848
|
};
|
|
4803
|
-
return E.replace(
|
|
4849
|
+
return E.replace(F, function(Z, ie) {
|
|
4804
4850
|
return ie || function(ve) {
|
|
4805
4851
|
switch (ve) {
|
|
4806
4852
|
case "YY":
|
|
@@ -4822,11 +4868,11 @@ var ci = { exports: {} };
|
|
|
4822
4868
|
case "d":
|
|
4823
4869
|
return String(b.$W);
|
|
4824
4870
|
case "dd":
|
|
4825
|
-
return oe(v.weekdaysMin, b.$W,
|
|
4871
|
+
return oe(v.weekdaysMin, b.$W, X, 2);
|
|
4826
4872
|
case "ddd":
|
|
4827
|
-
return oe(v.weekdaysShort, b.$W,
|
|
4873
|
+
return oe(v.weekdaysShort, b.$W, X, 3);
|
|
4828
4874
|
case "dddd":
|
|
4829
|
-
return
|
|
4875
|
+
return X[b.$W];
|
|
4830
4876
|
case "H":
|
|
4831
4877
|
return String(L);
|
|
4832
4878
|
case "HH":
|
|
@@ -4858,7 +4904,7 @@ var ci = { exports: {} };
|
|
|
4858
4904
|
}, g.utcOffset = function() {
|
|
4859
4905
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4860
4906
|
}, g.diff = function(h, b, v) {
|
|
4861
|
-
var E, S = this, L = H.p(b), I = V(h), j = (I.utcOffset() - this.utcOffset()) * i,
|
|
4907
|
+
var E, S = this, L = H.p(b), I = V(h), j = (I.utcOffset() - this.utcOffset()) * i, X = this - I, Q = function() {
|
|
4862
4908
|
return H.m(S, I);
|
|
4863
4909
|
};
|
|
4864
4910
|
switch (L) {
|
|
@@ -4872,32 +4918,32 @@ var ci = { exports: {} };
|
|
|
4872
4918
|
E = Q() / 3;
|
|
4873
4919
|
break;
|
|
4874
4920
|
case c:
|
|
4875
|
-
E = (
|
|
4921
|
+
E = (X - j) / 6048e5;
|
|
4876
4922
|
break;
|
|
4877
4923
|
case f:
|
|
4878
|
-
E = (
|
|
4924
|
+
E = (X - j) / 864e5;
|
|
4879
4925
|
break;
|
|
4880
4926
|
case u:
|
|
4881
|
-
E =
|
|
4927
|
+
E = X / n;
|
|
4882
4928
|
break;
|
|
4883
4929
|
case a:
|
|
4884
|
-
E =
|
|
4930
|
+
E = X / i;
|
|
4885
4931
|
break;
|
|
4886
4932
|
case s:
|
|
4887
|
-
E =
|
|
4933
|
+
E = X / r;
|
|
4888
4934
|
break;
|
|
4889
4935
|
default:
|
|
4890
|
-
E =
|
|
4936
|
+
E = X;
|
|
4891
4937
|
}
|
|
4892
4938
|
return v ? E : H.a(E);
|
|
4893
4939
|
}, g.daysInMonth = function() {
|
|
4894
4940
|
return this.endOf(m).$D;
|
|
4895
4941
|
}, g.$locale = function() {
|
|
4896
|
-
return
|
|
4942
|
+
return T[this.$L];
|
|
4897
4943
|
}, g.locale = function(h, b) {
|
|
4898
4944
|
if (!h)
|
|
4899
4945
|
return this.$L;
|
|
4900
|
-
var v = this.clone(), E =
|
|
4946
|
+
var v = this.clone(), E = C(h, b, !0);
|
|
4901
4947
|
return E && (v.$L = E), v;
|
|
4902
4948
|
}, g.clone = function() {
|
|
4903
4949
|
return H.w(this.$d, this);
|
|
@@ -4917,9 +4963,9 @@ var ci = { exports: {} };
|
|
|
4917
4963
|
};
|
|
4918
4964
|
}), V.extend = function(x, g) {
|
|
4919
4965
|
return x.$i || (x(g, fe, V), x.$i = !0), V;
|
|
4920
|
-
}, V.locale =
|
|
4966
|
+
}, V.locale = C, V.isDayjs = z, V.unix = function(x) {
|
|
4921
4967
|
return V(1e3 * x);
|
|
4922
|
-
}, V.en =
|
|
4968
|
+
}, V.en = T[P], V.Ls = T, V.p = {}, V;
|
|
4923
4969
|
});
|
|
4924
4970
|
})(ci);
|
|
4925
4971
|
var cs = ci.exports;
|
|
@@ -4928,16 +4974,16 @@ var hi = { exports: {} };
|
|
|
4928
4974
|
(function(e, t) {
|
|
4929
4975
|
(function(r, i) {
|
|
4930
4976
|
e.exports = i();
|
|
4931
|
-
})(
|
|
4977
|
+
})(Mr, function() {
|
|
4932
4978
|
var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
|
|
4933
4979
|
return function(o, s, a) {
|
|
4934
4980
|
var u = s.prototype;
|
|
4935
4981
|
a.utc = function(d) {
|
|
4936
|
-
var
|
|
4937
|
-
return new s(
|
|
4982
|
+
var $ = { date: d, utc: !0, args: arguments };
|
|
4983
|
+
return new s($);
|
|
4938
4984
|
}, u.utc = function(d) {
|
|
4939
|
-
var
|
|
4940
|
-
return d ?
|
|
4985
|
+
var $ = a(this.toDate(), { locale: this.$L, utc: !0 });
|
|
4986
|
+
return d ? $.add(this.utcOffset(), r) : $;
|
|
4941
4987
|
}, u.local = function() {
|
|
4942
4988
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4943
4989
|
};
|
|
@@ -4954,33 +5000,33 @@ var hi = { exports: {} };
|
|
|
4954
5000
|
c.call(this);
|
|
4955
5001
|
};
|
|
4956
5002
|
var m = u.utcOffset;
|
|
4957
|
-
u.utcOffset = function(d,
|
|
4958
|
-
var
|
|
4959
|
-
if (
|
|
4960
|
-
return this.$u ? 0 :
|
|
5003
|
+
u.utcOffset = function(d, $) {
|
|
5004
|
+
var F = this.$utils().u;
|
|
5005
|
+
if (F(d))
|
|
5006
|
+
return this.$u ? 0 : F(this.$offset) ? m.call(this) : this.$offset;
|
|
4961
5007
|
if (typeof d == "string" && (d = function(P) {
|
|
4962
5008
|
P === void 0 && (P = "");
|
|
4963
|
-
var
|
|
4964
|
-
if (!
|
|
5009
|
+
var T = P.match(i);
|
|
5010
|
+
if (!T)
|
|
4965
5011
|
return null;
|
|
4966
|
-
var O = ("" +
|
|
4967
|
-
return
|
|
5012
|
+
var O = ("" + T[0]).match(n) || ["-", 0, 0], z = O[0], C = 60 * +O[1] + +O[2];
|
|
5013
|
+
return C === 0 ? 0 : z === "+" ? C : -C;
|
|
4968
5014
|
}(d), d === null))
|
|
4969
5015
|
return this;
|
|
4970
|
-
var R = Math.abs(d) <= 16 ? 60 * d : d,
|
|
4971
|
-
if (
|
|
4972
|
-
return
|
|
5016
|
+
var R = Math.abs(d) <= 16 ? 60 * d : d, D = this;
|
|
5017
|
+
if ($)
|
|
5018
|
+
return D.$offset = R, D.$u = d === 0, D;
|
|
4973
5019
|
if (d !== 0) {
|
|
4974
5020
|
var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4975
|
-
(
|
|
5021
|
+
(D = this.local().add(R + G, r)).$offset = R, D.$x.$localOffset = G;
|
|
4976
5022
|
} else
|
|
4977
|
-
|
|
4978
|
-
return
|
|
5023
|
+
D = this.utc();
|
|
5024
|
+
return D;
|
|
4979
5025
|
};
|
|
4980
5026
|
var p = u.format;
|
|
4981
5027
|
u.format = function(d) {
|
|
4982
|
-
var
|
|
4983
|
-
return p.call(this,
|
|
5028
|
+
var $ = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
5029
|
+
return p.call(this, $);
|
|
4984
5030
|
}, u.valueOf = function() {
|
|
4985
5031
|
var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
4986
5032
|
return this.$d.valueOf() - 6e4 * d;
|
|
@@ -4996,11 +5042,11 @@ var hi = { exports: {} };
|
|
|
4996
5042
|
return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
|
|
4997
5043
|
};
|
|
4998
5044
|
var _ = u.diff;
|
|
4999
|
-
u.diff = function(d,
|
|
5045
|
+
u.diff = function(d, $, F) {
|
|
5000
5046
|
if (d && this.$u === d.$u)
|
|
5001
|
-
return _.call(this, d,
|
|
5002
|
-
var R = this.local(),
|
|
5003
|
-
return _.call(R,
|
|
5047
|
+
return _.call(this, d, $, F);
|
|
5048
|
+
var R = this.local(), D = a(d).local();
|
|
5049
|
+
return _.call(R, D, $, F);
|
|
5004
5050
|
};
|
|
5005
5051
|
};
|
|
5006
5052
|
});
|
|
@@ -5021,7 +5067,7 @@ function ps(e) {
|
|
|
5021
5067
|
);
|
|
5022
5068
|
return {
|
|
5023
5069
|
c() {
|
|
5024
|
-
t = Y("div"), r && r.c(),
|
|
5070
|
+
t = Y("div"), r && r.c(), A(t, "class", "CashierVerificationsWrapper");
|
|
5025
5071
|
},
|
|
5026
5072
|
m(i, n) {
|
|
5027
5073
|
ae(i, t, n), r && r.m(t, null);
|
|
@@ -5039,12 +5085,12 @@ function vs(e) {
|
|
|
5039
5085
|
let t;
|
|
5040
5086
|
return {
|
|
5041
5087
|
c() {
|
|
5042
|
-
t = Y("cashier-spinner"),
|
|
5088
|
+
t = Y("cashier-spinner"), qe(
|
|
5043
5089
|
t,
|
|
5044
5090
|
"clientstylingurl",
|
|
5045
5091
|
/*clientstylingurl*/
|
|
5046
5092
|
e[1]
|
|
5047
|
-
),
|
|
5093
|
+
), qe(
|
|
5048
5094
|
t,
|
|
5049
5095
|
"clientstyling",
|
|
5050
5096
|
/*clientstyling*/
|
|
@@ -5056,13 +5102,13 @@ function vs(e) {
|
|
|
5056
5102
|
},
|
|
5057
5103
|
p(r, i) {
|
|
5058
5104
|
i[0] & /*clientstylingurl*/
|
|
5059
|
-
2 &&
|
|
5105
|
+
2 && qe(
|
|
5060
5106
|
t,
|
|
5061
5107
|
"clientstylingurl",
|
|
5062
5108
|
/*clientstylingurl*/
|
|
5063
5109
|
r[1]
|
|
5064
5110
|
), i[0] & /*clientstyling*/
|
|
5065
|
-
1 &&
|
|
5111
|
+
1 && qe(
|
|
5066
5112
|
t,
|
|
5067
5113
|
"clientstyling",
|
|
5068
5114
|
/*clientstyling*/
|
|
@@ -5078,14 +5124,14 @@ function wr(e) {
|
|
|
5078
5124
|
let t, r, i, n, o, s, a, u = (
|
|
5079
5125
|
/*$_*/
|
|
5080
5126
|
e[9]("verificationsRequired") + ""
|
|
5081
|
-
), f, c, m, p, y, _, d,
|
|
5082
|
-
e[8]}px`, R,
|
|
5127
|
+
), f, c, m, p, y, _, d, $, F = `${/*verificationsListHeight*/
|
|
5128
|
+
e[8]}px`, R, D, G = Zt(
|
|
5083
5129
|
/*displayMessages*/
|
|
5084
5130
|
e[3]
|
|
5085
5131
|
), P = [];
|
|
5086
5132
|
for (let O = 0; O < G.length; O += 1)
|
|
5087
5133
|
P[O] = Er(xr(e, G, O));
|
|
5088
|
-
let
|
|
5134
|
+
let T = (
|
|
5089
5135
|
/*videoExists*/
|
|
5090
5136
|
e[6] && Sr(e)
|
|
5091
5137
|
);
|
|
@@ -5094,73 +5140,73 @@ function wr(e) {
|
|
|
5094
5140
|
t = Y("div"), r = We("svg"), i = We("path"), n = We("path"), o = We("path"), s = Oe(), a = Y("p"), f = Nt(u), c = Oe(), m = Y("span"), m.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', p = Oe(), y = Y("div"), _ = Y("div");
|
|
5095
5141
|
for (let O = 0; O < P.length; O += 1)
|
|
5096
5142
|
P[O].c();
|
|
5097
|
-
d = Oe(),
|
|
5143
|
+
d = Oe(), T && T.c(), A(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), A(i, "stroke", "#6E738F"), A(i, "stroke-width", "2"), A(i, "stroke-linecap", "round"), A(i, "stroke-linejoin", "round"), A(n, "d", "M12 8V12"), A(n, "stroke", "#6E738F"), A(n, "stroke-width", "2"), A(n, "stroke-linecap", "round"), A(n, "stroke-linejoin", "round"), A(o, "d", "M12 16H12.01"), A(o, "stroke", "#6E738F"), A(o, "stroke-width", "2"), A(o, "stroke-linecap", "round"), A(o, "stroke-linejoin", "round"), A(r, "width", "24"), A(r, "height", "24"), A(r, "viewBox", "0 0 24 24"), A(r, "fill", "none"), A(r, "xmlns", "http://www.w3.org/2000/svg"), A(m, "class", "CashierVerificationChevron"), de(
|
|
5098
5144
|
m,
|
|
5099
5145
|
"ShowVerifications",
|
|
5100
5146
|
/*allVerificationsVisible*/
|
|
5101
5147
|
e[4]
|
|
5102
|
-
),
|
|
5148
|
+
), A(t, "class", "VerificationsHeader"), A(_, "class", "VerificationsListInner"), it(() => (
|
|
5103
5149
|
/*div1_elementresize_handler*/
|
|
5104
5150
|
e[21].call(_)
|
|
5105
|
-
)),
|
|
5151
|
+
)), A(y, "class", "VerificationsList"), de(
|
|
5106
5152
|
y,
|
|
5107
5153
|
"ShowVerifications",
|
|
5108
5154
|
/*allVerificationsVisible*/
|
|
5109
5155
|
e[4]
|
|
5110
|
-
),
|
|
5156
|
+
), Xt(y, "--verifications-list-height", F);
|
|
5111
5157
|
},
|
|
5112
|
-
m(O,
|
|
5113
|
-
ae(O, t,
|
|
5114
|
-
for (let
|
|
5115
|
-
P[
|
|
5116
|
-
W(_, d),
|
|
5158
|
+
m(O, z) {
|
|
5159
|
+
ae(O, t, z), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, f), W(t, c), W(t, m), ae(O, p, z), ae(O, y, z), W(y, _);
|
|
5160
|
+
for (let C = 0; C < P.length; C += 1)
|
|
5161
|
+
P[C] && P[C].m(_, null);
|
|
5162
|
+
W(_, d), T && T.m(_, null), $ = Ii(
|
|
5117
5163
|
_,
|
|
5118
5164
|
/*div1_elementresize_handler*/
|
|
5119
5165
|
e[21].bind(_)
|
|
5120
|
-
), R || (
|
|
5166
|
+
), R || (D = rt(
|
|
5121
5167
|
t,
|
|
5122
5168
|
"click",
|
|
5123
5169
|
/*toggleVerifications*/
|
|
5124
5170
|
e[10]
|
|
5125
5171
|
), R = !0);
|
|
5126
5172
|
},
|
|
5127
|
-
p(O,
|
|
5128
|
-
if (
|
|
5173
|
+
p(O, z) {
|
|
5174
|
+
if (z[0] & /*$_*/
|
|
5129
5175
|
512 && u !== (u = /*$_*/
|
|
5130
|
-
O[9]("verificationsRequired") + "") &&
|
|
5176
|
+
O[9]("verificationsRequired") + "") && Ar(f, u), z[0] & /*allVerificationsVisible*/
|
|
5131
5177
|
16 && de(
|
|
5132
5178
|
m,
|
|
5133
5179
|
"ShowVerifications",
|
|
5134
5180
|
/*allVerificationsVisible*/
|
|
5135
5181
|
O[4]
|
|
5136
|
-
),
|
|
5182
|
+
), z[0] & /*displayMessages*/
|
|
5137
5183
|
8) {
|
|
5138
5184
|
G = Zt(
|
|
5139
5185
|
/*displayMessages*/
|
|
5140
5186
|
O[3]
|
|
5141
5187
|
);
|
|
5142
|
-
let
|
|
5143
|
-
for (
|
|
5144
|
-
const V = xr(O, G,
|
|
5145
|
-
P[
|
|
5188
|
+
let C;
|
|
5189
|
+
for (C = 0; C < G.length; C += 1) {
|
|
5190
|
+
const V = xr(O, G, C);
|
|
5191
|
+
P[C] ? P[C].p(V, z) : (P[C] = Er(V), P[C].c(), P[C].m(_, d));
|
|
5146
5192
|
}
|
|
5147
|
-
for (;
|
|
5148
|
-
P[
|
|
5193
|
+
for (; C < P.length; C += 1)
|
|
5194
|
+
P[C].d(1);
|
|
5149
5195
|
P.length = G.length;
|
|
5150
5196
|
}
|
|
5151
5197
|
/*videoExists*/
|
|
5152
|
-
O[6] ?
|
|
5198
|
+
O[6] ? T ? T.p(O, z) : (T = Sr(O), T.c(), T.m(_, null)) : T && (T.d(1), T = null), z[0] & /*allVerificationsVisible*/
|
|
5153
5199
|
16 && de(
|
|
5154
5200
|
y,
|
|
5155
5201
|
"ShowVerifications",
|
|
5156
5202
|
/*allVerificationsVisible*/
|
|
5157
5203
|
O[4]
|
|
5158
|
-
),
|
|
5159
|
-
256 &&
|
|
5160
|
-
O[8]}px`) &&
|
|
5204
|
+
), z[0] & /*verificationsListHeight*/
|
|
5205
|
+
256 && F !== (F = `${/*verificationsListHeight*/
|
|
5206
|
+
O[8]}px`) && Xt(y, "--verifications-list-height", F);
|
|
5161
5207
|
},
|
|
5162
5208
|
d(O) {
|
|
5163
|
-
O && (re(t), re(p), re(y)),
|
|
5209
|
+
O && (re(t), re(p), re(y)), Ci(P, O), T && T.d(), $(), R = !1, D();
|
|
5164
5210
|
}
|
|
5165
5211
|
};
|
|
5166
5212
|
}
|
|
@@ -5171,7 +5217,7 @@ function Er(e) {
|
|
|
5171
5217
|
);
|
|
5172
5218
|
return {
|
|
5173
5219
|
c() {
|
|
5174
|
-
t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Oe(), n = Y("p"),
|
|
5220
|
+
t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Oe(), n = Y("p"), A(r, "class", "IconVerification"), A(n, "class", "text"), A(t, "class", "CashierVerificationMessage Test");
|
|
5175
5221
|
},
|
|
5176
5222
|
m(s, a) {
|
|
5177
5223
|
ae(s, t, a), W(t, r), W(t, i), W(t, n), n.innerHTML = o;
|
|
@@ -5193,12 +5239,12 @@ function Sr(e) {
|
|
|
5193
5239
|
), s, a, u;
|
|
5194
5240
|
return {
|
|
5195
5241
|
c() {
|
|
5196
|
-
t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Oe(), n = Y("div"), s = Nt(o),
|
|
5242
|
+
t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Oe(), n = Y("div"), s = Nt(o), A(r, "class", "IconVideo"), A(n, "class", "CashierVerificationVideoLink"), de(
|
|
5197
5243
|
n,
|
|
5198
5244
|
"CashierVerificationVideoLinkDesktop",
|
|
5199
5245
|
/*desktopView*/
|
|
5200
5246
|
e[5]
|
|
5201
|
-
),
|
|
5247
|
+
), A(t, "class", "CashierVerificationVideo Test");
|
|
5202
5248
|
},
|
|
5203
5249
|
m(f, c) {
|
|
5204
5250
|
ae(f, t, c), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = rt(
|
|
@@ -5211,7 +5257,7 @@ function Sr(e) {
|
|
|
5211
5257
|
p(f, c) {
|
|
5212
5258
|
c[0] & /*$_*/
|
|
5213
5259
|
512 && o !== (o = /*$_*/
|
|
5214
|
-
f[9]("verification.video.how-to") + "") &&
|
|
5260
|
+
f[9]("verification.video.how-to") + "") && Ar(s, o), c[0] & /*desktopView*/
|
|
5215
5261
|
32 && de(
|
|
5216
5262
|
n,
|
|
5217
5263
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -5241,7 +5287,7 @@ function gs(e) {
|
|
|
5241
5287
|
let i = r(e), n = i && i(e);
|
|
5242
5288
|
return {
|
|
5243
5289
|
c() {
|
|
5244
|
-
t = Y("div"), n && n.c(),
|
|
5290
|
+
t = Y("div"), n && n.c(), A(t, "class", "CashierVerifications"), de(
|
|
5245
5291
|
t,
|
|
5246
5292
|
"CashierVerificationsDesktop",
|
|
5247
5293
|
/*desktopView*/
|
|
@@ -5270,8 +5316,8 @@ function gs(e) {
|
|
|
5270
5316
|
const bs = "verification_explanation_video_widgets.MP4";
|
|
5271
5317
|
function ys(e, t, r) {
|
|
5272
5318
|
let i, n;
|
|
5273
|
-
|
|
5274
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { session: c = "" } = t, { customerid: m = "" } = t, { playersession: p = "" } = t, { userroles: y = "" } = t, { mbsource: _ = "" } = t, d,
|
|
5319
|
+
qt(e, zo, (l) => r(9, i = l)), qt(e, Go, (l) => r(31, n = l)), _r.extend(ds);
|
|
5320
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { session: c = "" } = t, { customerid: m = "" } = t, { playersession: p = "" } = t, { userroles: y = "" } = t, { mbsource: _ = "" } = t, d, $ = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), R, D, G, P = !1, T = !0, O = !1, z = "", C = !1, V, H = [], fe = 0, Ge = window.navigator.userAgent;
|
|
5275
5321
|
var x;
|
|
5276
5322
|
(function(l) {
|
|
5277
5323
|
l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
|
|
@@ -5302,8 +5348,8 @@ function ys(e, t, r) {
|
|
|
5302
5348
|
let l = a;
|
|
5303
5349
|
if (l)
|
|
5304
5350
|
return fetch(l).then((w) => w.json()).then((w) => {
|
|
5305
|
-
Object.keys(w).forEach((
|
|
5306
|
-
cr(
|
|
5351
|
+
Object.keys(w).forEach((M) => {
|
|
5352
|
+
cr(M, w[M]);
|
|
5307
5353
|
});
|
|
5308
5354
|
}).catch((w) => {
|
|
5309
5355
|
console.log(w);
|
|
@@ -5313,23 +5359,23 @@ function ys(e, t, r) {
|
|
|
5313
5359
|
cr(l, hr[l]);
|
|
5314
5360
|
});
|
|
5315
5361
|
const L = () => {
|
|
5316
|
-
|
|
5362
|
+
Fo(s);
|
|
5317
5363
|
}, I = () => {
|
|
5318
|
-
r(20,
|
|
5364
|
+
r(20, D = Q());
|
|
5319
5365
|
const l = new URL(`${o}/v1/player/${m}/verification/GetKYCCustomerStatus?language=${s}`), w = new Headers();
|
|
5320
5366
|
w.append("accept", "application/json"), w.append("Content-Type", "application/json"), w.append("x-sessionid", `${p}`), w.append("X-Client-Request-Timestamp", _r.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && w.append("MM_CHANNEL", "BETA");
|
|
5321
|
-
const
|
|
5367
|
+
const M = {
|
|
5322
5368
|
method: "POST",
|
|
5323
5369
|
headers: w,
|
|
5324
5370
|
body: JSON.stringify({})
|
|
5325
5371
|
};
|
|
5326
|
-
r(7,
|
|
5327
|
-
const he = j(
|
|
5372
|
+
r(7, C = !0), fetch(l, M).then((q) => q.json()).then((q) => {
|
|
5373
|
+
const he = j(q == null ? void 0 : q.Verifications);
|
|
5328
5374
|
R = le(he), R.VerificationStatuses.forEach((je) => {
|
|
5329
|
-
je.VerificationUrlType !== "Widget" &&
|
|
5375
|
+
je.VerificationUrlType !== "Widget" && $.add(je.Vendor);
|
|
5330
5376
|
}), r(3, G = ve());
|
|
5331
|
-
}).finally(() => r(7,
|
|
5332
|
-
}, j = (l) => l ? l.sort((w,
|
|
5377
|
+
}).finally(() => r(7, C = !1));
|
|
5378
|
+
}, j = (l) => l ? l.sort((w, M) => new Date(M.Created).getTime() - new Date(w.Created).getTime()) : [], X = () => {
|
|
5333
5379
|
n && I();
|
|
5334
5380
|
}, Q = () => {
|
|
5335
5381
|
let l = (c || n).split(".")[1];
|
|
@@ -5339,7 +5385,7 @@ function ys(e, t, r) {
|
|
|
5339
5385
|
}
|
|
5340
5386
|
return "";
|
|
5341
5387
|
}, le = (l) => {
|
|
5342
|
-
var
|
|
5388
|
+
var M;
|
|
5343
5389
|
if (!l || !l.length)
|
|
5344
5390
|
return {
|
|
5345
5391
|
VerificationSummaryStatus: h.Unverified,
|
|
@@ -5347,11 +5393,11 @@ function ys(e, t, r) {
|
|
|
5347
5393
|
};
|
|
5348
5394
|
const w = se(l);
|
|
5349
5395
|
if (w && w.length) {
|
|
5350
|
-
const
|
|
5396
|
+
const q = oe(w);
|
|
5351
5397
|
return {
|
|
5352
|
-
VerificationSummaryStatus:
|
|
5353
|
-
VerificationUrl: (
|
|
5354
|
-
VerificationStatuses: ce(w,
|
|
5398
|
+
VerificationSummaryStatus: q.Status,
|
|
5399
|
+
VerificationUrl: (M = q.Flags) == null ? void 0 : M.DeferredUrlKey,
|
|
5400
|
+
VerificationStatuses: ce(w, q.Status)
|
|
5355
5401
|
};
|
|
5356
5402
|
} else
|
|
5357
5403
|
return {
|
|
@@ -5359,25 +5405,25 @@ function ys(e, t, r) {
|
|
|
5359
5405
|
VerificationStatuses: ce(l, [h.Failed])
|
|
5360
5406
|
};
|
|
5361
5407
|
}, oe = (l) => l.reduce(
|
|
5362
|
-
(w,
|
|
5408
|
+
(w, M) => w ? new Date(w) < new Date(M) ? M : w : M,
|
|
5363
5409
|
0
|
|
5364
|
-
), ce = (l, w) => l.filter((
|
|
5365
|
-
var
|
|
5410
|
+
), ce = (l, w) => l.filter((M) => w.includes(M.Status)).map((M) => {
|
|
5411
|
+
var q, he;
|
|
5366
5412
|
return {
|
|
5367
|
-
Type:
|
|
5368
|
-
Vendor:
|
|
5369
|
-
VerificationDocuments:
|
|
5370
|
-
VerificationUrlType: (
|
|
5371
|
-
VerificationUrl: (he =
|
|
5413
|
+
Type: M.Type,
|
|
5414
|
+
Vendor: M.VendorName,
|
|
5415
|
+
VerificationDocuments: M.Documents ? [...M.Documents] : [],
|
|
5416
|
+
VerificationUrlType: (q = M.FlowInfo) == null ? void 0 : q.Type,
|
|
5417
|
+
VerificationUrl: (he = M.FlowInfo) == null ? void 0 : he.Url
|
|
5372
5418
|
};
|
|
5373
5419
|
}), se = (l) => l.filter((w) => E.includes(w.Status) ? w.FlowInfo && w.FlowInfo.Url || Z(w) || ie(w) : !1), Z = (l) => {
|
|
5374
|
-
const w = l.Documents && l.VendorName === x.Manual,
|
|
5375
|
-
return w &&
|
|
5420
|
+
const w = l.Documents && l.VendorName === x.Manual, M = l.Documents && l.Documents.some((q) => q.Status === g.Requested);
|
|
5421
|
+
return w && M;
|
|
5376
5422
|
}, ie = (l) => l.VendorName === x.ShuftiPro && l.Status === h.Referred, ve = () => {
|
|
5377
5423
|
switch (R.VerificationSummaryStatus) {
|
|
5378
5424
|
case h.InProgress:
|
|
5379
5425
|
const l = [];
|
|
5380
|
-
return
|
|
5426
|
+
return $.forEach((w) => {
|
|
5381
5427
|
l.push(_e(w));
|
|
5382
5428
|
}), l;
|
|
5383
5429
|
case h.Referred:
|
|
@@ -5386,17 +5432,17 @@ function ys(e, t, r) {
|
|
|
5386
5432
|
return [i("verification.message.failed")];
|
|
5387
5433
|
}
|
|
5388
5434
|
}, _e = (l) => {
|
|
5389
|
-
const w = R.VerificationStatuses.filter((
|
|
5435
|
+
const w = R.VerificationStatuses.filter((M) => M.Vendor === l);
|
|
5390
5436
|
if (l === x.ShuftiPro)
|
|
5391
5437
|
return mi(w);
|
|
5392
5438
|
{
|
|
5393
|
-
const
|
|
5394
|
-
link: `<a href="${w[0].VerificationUrl}" target="_blank">${
|
|
5439
|
+
const M = i("verification.idenfy.link-name"), q = {
|
|
5440
|
+
link: `<a href="${w[0].VerificationUrl}" target="_blank">${M}</a>`
|
|
5395
5441
|
};
|
|
5396
|
-
return i("verification.idenfy.in-progress", { values:
|
|
5442
|
+
return i("verification.idenfy.in-progress", { values: q });
|
|
5397
5443
|
}
|
|
5398
5444
|
}, mi = (l) => {
|
|
5399
|
-
const w = [],
|
|
5445
|
+
const w = [], M = {}, q = [
|
|
5400
5446
|
b.Biometric,
|
|
5401
5447
|
b.Documents,
|
|
5402
5448
|
b.ProofOfAddress,
|
|
@@ -5404,18 +5450,18 @@ function ys(e, t, r) {
|
|
|
5404
5450
|
b.SourceOfWealth
|
|
5405
5451
|
];
|
|
5406
5452
|
l.forEach((ge) => {
|
|
5407
|
-
|
|
5453
|
+
q.includes(ge.Type) && (w.push(ge.Type), M[ge.Type] = pi(ge, vi(ge.Type)));
|
|
5408
5454
|
});
|
|
5409
|
-
let he = w.every((ge) =>
|
|
5410
|
-
return he ? i("verification.shuftipro.validations-started") : i(je, { values:
|
|
5455
|
+
let he = w.every((ge) => F.has(ge)), je = `verification.shuftipro.in-progress.${w.sort().join(".")}`;
|
|
5456
|
+
return he ? i("verification.shuftipro.validations-started") : i(je, { values: M });
|
|
5411
5457
|
}, pi = (l, w) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${w}</a>`, vi = (l) => i(`verification.shuftipro.link-name.${l}`), gi = () => {
|
|
5412
5458
|
r(4, P = !P);
|
|
5413
5459
|
}, bi = () => {
|
|
5414
|
-
r(5,
|
|
5460
|
+
r(5, T = !ls(Ge));
|
|
5415
5461
|
}, yi = () => {
|
|
5416
|
-
|
|
5462
|
+
z = D + "/" + s + "/" + bs;
|
|
5417
5463
|
try {
|
|
5418
|
-
fetch(
|
|
5464
|
+
fetch(z, { method: "HEAD" }).then((l) => {
|
|
5419
5465
|
r(6, O = l.ok);
|
|
5420
5466
|
});
|
|
5421
5467
|
} catch (l) {
|
|
@@ -5427,7 +5473,7 @@ function ys(e, t, r) {
|
|
|
5427
5473
|
window.dispatchEvent(new CustomEvent(
|
|
5428
5474
|
"modal-update",
|
|
5429
5475
|
{
|
|
5430
|
-
detail: { type: "video", data: { videoSrc:
|
|
5476
|
+
detail: { type: "video", data: { videoSrc: z } }
|
|
5431
5477
|
}
|
|
5432
5478
|
));
|
|
5433
5479
|
};
|
|
@@ -5446,21 +5492,21 @@ function ys(e, t, r) {
|
|
|
5446
5492
|
262144 && y && _i(), e.$$.dirty[0] & /*lang*/
|
|
5447
5493
|
8192 && s && L(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5448
5494
|
167936 && o && c && p && I(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
5449
|
-
167936 && o && !c && p &&
|
|
5495
|
+
167936 && o && !c && p && X(), e.$$.dirty[0] & /*translationurl*/
|
|
5450
5496
|
16384 && a && S(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5451
5497
|
5 && u && d && jo(d, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5452
5498
|
6 && f && d && Wo(d, f), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
5453
|
-
1048576 &&
|
|
5454
|
-
524292 && _ && d &&
|
|
5499
|
+
1048576 && D && yi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5500
|
+
524292 && _ && d && qo(d, `${_}.Style`, V);
|
|
5455
5501
|
}, [
|
|
5456
5502
|
u,
|
|
5457
5503
|
f,
|
|
5458
5504
|
d,
|
|
5459
5505
|
G,
|
|
5460
5506
|
P,
|
|
5461
|
-
|
|
5507
|
+
T,
|
|
5462
5508
|
O,
|
|
5463
|
-
|
|
5509
|
+
C,
|
|
5464
5510
|
fe,
|
|
5465
5511
|
i,
|
|
5466
5512
|
gi,
|
|
@@ -5473,14 +5519,14 @@ function ys(e, t, r) {
|
|
|
5473
5519
|
p,
|
|
5474
5520
|
y,
|
|
5475
5521
|
_,
|
|
5476
|
-
|
|
5522
|
+
D,
|
|
5477
5523
|
wi,
|
|
5478
5524
|
Ei
|
|
5479
5525
|
];
|
|
5480
5526
|
}
|
|
5481
5527
|
class di extends Yi {
|
|
5482
5528
|
constructor(t) {
|
|
5483
|
-
super(),
|
|
5529
|
+
super(), qi(
|
|
5484
5530
|
this,
|
|
5485
5531
|
t,
|
|
5486
5532
|
ys,
|
|
@@ -5563,8 +5609,8 @@ class di extends Yi {
|
|
|
5563
5609
|
this.$$set({ mbsource: t }), ee();
|
|
5564
5610
|
}
|
|
5565
5611
|
}
|
|
5566
|
-
|
|
5567
|
-
const
|
|
5612
|
+
Xi(di, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
5613
|
+
const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5568
5614
|
__proto__: null,
|
|
5569
5615
|
default: di
|
|
5570
5616
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -5572,19 +5618,19 @@ export {
|
|
|
5572
5618
|
Ps as A,
|
|
5573
5619
|
jo as B,
|
|
5574
5620
|
Wo as C,
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5621
|
+
qo as D,
|
|
5622
|
+
Xi as E,
|
|
5623
|
+
As as F,
|
|
5578
5624
|
Yi as S,
|
|
5579
5625
|
Hi as a,
|
|
5580
|
-
|
|
5581
|
-
|
|
5626
|
+
Fi as b,
|
|
5627
|
+
ks as c,
|
|
5582
5628
|
re as d,
|
|
5583
5629
|
ae as e,
|
|
5584
5630
|
ee as f,
|
|
5585
5631
|
Y as g,
|
|
5586
5632
|
Os as h,
|
|
5587
|
-
|
|
5633
|
+
qi as i,
|
|
5588
5634
|
xs as j,
|
|
5589
5635
|
Ss as k,
|
|
5590
5636
|
ws as l,
|
|
@@ -5593,9 +5639,9 @@ export {
|
|
|
5593
5639
|
Vi as o,
|
|
5594
5640
|
Ii as p,
|
|
5595
5641
|
Oe as q,
|
|
5596
|
-
|
|
5642
|
+
A as r,
|
|
5597
5643
|
Pr as s,
|
|
5598
|
-
|
|
5644
|
+
Bs as t,
|
|
5599
5645
|
Es as u,
|
|
5600
5646
|
it as v,
|
|
5601
5647
|
xt as w,
|