@everymatrix/cashier-verifications 1.87.14 → 1.87.16
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/{CashierVerifications-BRDfg3Ft.cjs → CashierVerifications-B7LjGCKN.cjs} +5 -5
- package/components/{CashierVerifications-Bi_G2t3i.js → CashierVerifications-DErjHOWF.js} +448 -429
- package/components/{CashierVerifications-DjMSPWRN.js → CashierVerifications-DXr8lRpY.js} +405 -386
- 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,4 +1,4 @@
|
|
|
1
|
-
import { n as ge, s as Qt, a as Vr, r as Fr, i as Gr, S as jr, b as $r, f as ne, c as zr, d as Wr, e as
|
|
1
|
+
import { n as ge, s as Qt, a as Vr, r as Fr, i as Gr, S as jr, b as $r, f as ne, c as zr, d as Wr, e as he, t as le, g as ce, h as J, j as D, k as _t, o as Xr, l as qr, m as ke, p as wt, q as Yr, u as Kt, v as W, w as er, x as Re, y as Ee, z as tr, A as Zr, B as Jr, C as Qr } from "./CashierModal-C0uYaLbs.js";
|
|
2
2
|
const xe = [];
|
|
3
3
|
function Kr(e, t) {
|
|
4
4
|
return {
|
|
@@ -11,11 +11,11 @@ function Ce(e, t = ge) {
|
|
|
11
11
|
function n(a) {
|
|
12
12
|
if (Qt(e, a) && (e = a, r)) {
|
|
13
13
|
const u = !xe.length;
|
|
14
|
-
for (const
|
|
15
|
-
|
|
14
|
+
for (const f of i)
|
|
15
|
+
f[1](), xe.push(f, e);
|
|
16
16
|
if (u) {
|
|
17
|
-
for (let
|
|
18
|
-
xe[
|
|
17
|
+
for (let f = 0; f < xe.length; f += 2)
|
|
18
|
+
xe[f][0](xe[f + 1]);
|
|
19
19
|
xe.length = 0;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -24,36 +24,36 @@ function Ce(e, t = ge) {
|
|
|
24
24
|
n(a(e));
|
|
25
25
|
}
|
|
26
26
|
function s(a, u = ge) {
|
|
27
|
-
const
|
|
28
|
-
return i.add(
|
|
29
|
-
i.delete(
|
|
27
|
+
const f = [a, u];
|
|
28
|
+
return i.add(f), i.size === 1 && (r = t(n, o) || ge), a(e), () => {
|
|
29
|
+
i.delete(f), i.size === 0 && r && (r(), r = null);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
return { set: n, update: o, subscribe: s };
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Oe(e, t, r) {
|
|
35
35
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
36
36
|
if (!n.every(Boolean))
|
|
37
37
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
38
38
|
const o = t.length < 2;
|
|
39
39
|
return Kr(r, (s, a) => {
|
|
40
40
|
let u = !1;
|
|
41
|
-
const
|
|
42
|
-
let
|
|
41
|
+
const f = [];
|
|
42
|
+
let h = 0, p = ge;
|
|
43
43
|
const v = () => {
|
|
44
|
-
if (
|
|
44
|
+
if (h)
|
|
45
45
|
return;
|
|
46
46
|
p();
|
|
47
|
-
const _ = t(i ?
|
|
47
|
+
const _ = t(i ? f[0] : f, s, a);
|
|
48
48
|
o ? s(_) : p = Gr(_) ? _ : ge;
|
|
49
49
|
}, y = n.map(
|
|
50
50
|
(_, c) => Vr(
|
|
51
51
|
_,
|
|
52
52
|
(L) => {
|
|
53
|
-
|
|
53
|
+
f[c] = L, h &= ~(1 << c), u && v();
|
|
54
54
|
},
|
|
55
55
|
() => {
|
|
56
|
-
|
|
56
|
+
h |= 1 << c;
|
|
57
57
|
}
|
|
58
58
|
)
|
|
59
59
|
);
|
|
@@ -83,12 +83,12 @@ function oi(e) {
|
|
|
83
83
|
function si(e) {
|
|
84
84
|
return Array.isArray(e) ? [] : {};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Be(e, t) {
|
|
87
87
|
return t.clone !== !1 && t.isMergeableObject(e) ? _e(si(e), e, t) : e;
|
|
88
88
|
}
|
|
89
89
|
function ai(e, t, r) {
|
|
90
90
|
return e.concat(t).map(function(i) {
|
|
91
|
-
return
|
|
91
|
+
return Be(i, r);
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
function ui(e, t) {
|
|
@@ -112,21 +112,21 @@ function ir(e, t) {
|
|
|
112
112
|
return !1;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function fi(e, t) {
|
|
116
116
|
return ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function hi(e, t, r) {
|
|
119
119
|
var i = {};
|
|
120
120
|
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
121
|
-
i[n] =
|
|
121
|
+
i[n] = Be(e[n], r);
|
|
122
122
|
}), St(t).forEach(function(n) {
|
|
123
|
-
|
|
123
|
+
fi(e, n) || (ir(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
|
|
124
124
|
}), i;
|
|
125
125
|
}
|
|
126
126
|
function _e(e, t, r) {
|
|
127
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified =
|
|
127
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Be;
|
|
128
128
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
129
|
-
return o ? i ? r.arrayMerge(e, t, r) :
|
|
129
|
+
return o ? i ? r.arrayMerge(e, t, r) : hi(e, t, r) : Be(t, r);
|
|
130
130
|
}
|
|
131
131
|
_e.all = function(t, r) {
|
|
132
132
|
if (!Array.isArray(t))
|
|
@@ -145,7 +145,7 @@ var ot = function(e, t) {
|
|
|
145
145
|
Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
|
|
146
146
|
}, ot(e, t);
|
|
147
147
|
};
|
|
148
|
-
function
|
|
148
|
+
function qe(e, t) {
|
|
149
149
|
if (typeof t != "function" && t !== null)
|
|
150
150
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
151
151
|
ot(e, t);
|
|
@@ -267,13 +267,13 @@ function ur(e) {
|
|
|
267
267
|
function lr(e) {
|
|
268
268
|
return e.type === U.select;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function fr(e) {
|
|
271
271
|
return e.type === U.plural;
|
|
272
272
|
}
|
|
273
273
|
function Si(e) {
|
|
274
274
|
return e.type === U.pound;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function hr(e) {
|
|
277
277
|
return e.type === U.tag;
|
|
278
278
|
}
|
|
279
279
|
function cr(e) {
|
|
@@ -283,7 +283,7 @@ function st(e) {
|
|
|
283
283
|
return !!(e && typeof e == "object" && e.type === we.dateTime);
|
|
284
284
|
}
|
|
285
285
|
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
|
|
286
|
-
function
|
|
286
|
+
function Oi(e) {
|
|
287
287
|
var t = {};
|
|
288
288
|
return e.replace(Ti, function(r) {
|
|
289
289
|
var i = r.length;
|
|
@@ -384,18 +384,18 @@ var F = function() {
|
|
|
384
384
|
return t;
|
|
385
385
|
}, F.apply(this, arguments);
|
|
386
386
|
};
|
|
387
|
-
var
|
|
388
|
-
function
|
|
387
|
+
var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
388
|
+
function Hi(e) {
|
|
389
389
|
if (e.length === 0)
|
|
390
390
|
throw new Error("Number skeleton cannot be empty");
|
|
391
|
-
for (var t = e.split(
|
|
391
|
+
for (var t = e.split(Pi).filter(function(v) {
|
|
392
392
|
return v.length > 0;
|
|
393
393
|
}), r = [], i = 0, n = t; i < n.length; i++) {
|
|
394
394
|
var o = n[i], s = o.split("/");
|
|
395
395
|
if (s.length === 0)
|
|
396
396
|
throw new Error("Invalid number skeleton");
|
|
397
|
-
for (var a = s[0], u = s.slice(1),
|
|
398
|
-
var p = f
|
|
397
|
+
for (var a = s[0], u = s.slice(1), f = 0, h = u; f < h.length; f++) {
|
|
398
|
+
var p = h[f];
|
|
399
399
|
if (p.length === 0)
|
|
400
400
|
throw new Error("Invalid number skeleton");
|
|
401
401
|
}
|
|
@@ -406,8 +406,8 @@ function Pi(e) {
|
|
|
406
406
|
function Ai(e) {
|
|
407
407
|
return e.replace(/^(.*?)-/, "");
|
|
408
408
|
}
|
|
409
|
-
var
|
|
410
|
-
function
|
|
409
|
+
var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
410
|
+
function Pt(e) {
|
|
411
411
|
var t = {};
|
|
412
412
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
|
|
413
413
|
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)), "";
|
|
@@ -453,7 +453,7 @@ function vr(e) {
|
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Mi(e) {
|
|
457
457
|
var t;
|
|
458
458
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
459
459
|
notation: "engineering"
|
|
@@ -467,7 +467,7 @@ function Bi(e) {
|
|
|
467
467
|
}
|
|
468
468
|
return t;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Ht(e) {
|
|
471
471
|
var t = {}, r = vr(e);
|
|
472
472
|
return r || t;
|
|
473
473
|
}
|
|
@@ -506,13 +506,13 @@ function Ci(e) {
|
|
|
506
506
|
t.notation = "compact", t.compactDisplay = "long";
|
|
507
507
|
continue;
|
|
508
508
|
case "scientific":
|
|
509
|
-
t = F(F(F({}, t), { notation: "scientific" }), n.options.reduce(function(u,
|
|
510
|
-
return F(F({}, u),
|
|
509
|
+
t = F(F(F({}, t), { notation: "scientific" }), n.options.reduce(function(u, f) {
|
|
510
|
+
return F(F({}, u), Ht(f));
|
|
511
511
|
}, {}));
|
|
512
512
|
continue;
|
|
513
513
|
case "engineering":
|
|
514
|
-
t = F(F(F({}, t), { notation: "engineering" }), n.options.reduce(function(u,
|
|
515
|
-
return F(F({}, u),
|
|
514
|
+
t = F(F(F({}, t), { notation: "engineering" }), n.options.reduce(function(u, f) {
|
|
515
|
+
return F(F({}, u), Ht(f));
|
|
516
516
|
}, {}));
|
|
517
517
|
continue;
|
|
518
518
|
case "notation-simple":
|
|
@@ -557,9 +557,9 @@ function Ci(e) {
|
|
|
557
557
|
case "integer-width":
|
|
558
558
|
if (n.options.length > 1)
|
|
559
559
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
560
|
-
n.options[0].replace(
|
|
561
|
-
if (
|
|
562
|
-
t.minimumIntegerDigits =
|
|
560
|
+
n.options[0].replace(Bi, function(u, f, h, p, v, y) {
|
|
561
|
+
if (f)
|
|
562
|
+
t.minimumIntegerDigits = h.length;
|
|
563
563
|
else {
|
|
564
564
|
if (p && v)
|
|
565
565
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -574,23 +574,23 @@ function Ci(e) {
|
|
|
574
574
|
t.minimumIntegerDigits = n.stem.length;
|
|
575
575
|
continue;
|
|
576
576
|
}
|
|
577
|
-
if (
|
|
577
|
+
if (Ot.test(n.stem)) {
|
|
578
578
|
if (n.options.length > 1)
|
|
579
579
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
580
|
-
n.stem.replace(
|
|
581
|
-
return
|
|
580
|
+
n.stem.replace(Ot, function(u, f, h, p, v, y) {
|
|
581
|
+
return h === "*" ? t.minimumFractionDigits = f.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && y ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + y.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
|
|
582
582
|
});
|
|
583
583
|
var o = n.options[0];
|
|
584
|
-
o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t),
|
|
584
|
+
o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Pt(o)));
|
|
585
585
|
continue;
|
|
586
586
|
}
|
|
587
587
|
if (pr.test(n.stem)) {
|
|
588
|
-
t = F(F({}, t),
|
|
588
|
+
t = F(F({}, t), Pt(n.stem));
|
|
589
589
|
continue;
|
|
590
590
|
}
|
|
591
591
|
var s = vr(n.stem);
|
|
592
592
|
s && (t = F(F({}, t), s));
|
|
593
|
-
var a =
|
|
593
|
+
var a = Mi(n.stem);
|
|
594
594
|
a && (t = F(F({}, t), a));
|
|
595
595
|
}
|
|
596
596
|
return t;
|
|
@@ -2016,11 +2016,11 @@ function Ii(e, t) {
|
|
|
2016
2016
|
if (n === "j") {
|
|
2017
2017
|
for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
|
|
2018
2018
|
o++, i++;
|
|
2019
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a",
|
|
2020
|
-
for ((
|
|
2019
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", f = Di(t);
|
|
2020
|
+
for ((f == "H" || f == "k") && (a = 0); a-- > 0; )
|
|
2021
2021
|
r += u;
|
|
2022
2022
|
for (; s-- > 0; )
|
|
2023
|
-
r =
|
|
2023
|
+
r = f + r;
|
|
2024
2024
|
} else
|
|
2025
2025
|
n === "J" ? r += "H" : r += n;
|
|
2026
2026
|
}
|
|
@@ -2049,10 +2049,10 @@ function Di(e) {
|
|
|
2049
2049
|
return n[0];
|
|
2050
2050
|
}
|
|
2051
2051
|
var tt, Li = new RegExp("^".concat(dr.source, "*")), Ni = new RegExp("".concat(dr.source, "*$"));
|
|
2052
|
-
function
|
|
2052
|
+
function B(e, t) {
|
|
2053
2053
|
return { start: e, end: t };
|
|
2054
2054
|
}
|
|
2055
|
-
var
|
|
2055
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, $i = ji ? Number.isSafeInteger : function(e) {
|
|
2056
2056
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2057
2057
|
}, at = !0;
|
|
2058
2058
|
try {
|
|
@@ -2061,7 +2061,7 @@ try {
|
|
|
2061
2061
|
} catch (e) {
|
|
2062
2062
|
at = !1;
|
|
2063
2063
|
}
|
|
2064
|
-
var At =
|
|
2064
|
+
var At = ki ? (
|
|
2065
2065
|
// Native
|
|
2066
2066
|
function(t, r, i) {
|
|
2067
2067
|
return t.startsWith(r, i);
|
|
@@ -2071,7 +2071,7 @@ var At = Ri ? (
|
|
|
2071
2071
|
function(t, r, i) {
|
|
2072
2072
|
return t.slice(i, i + r.length) === r;
|
|
2073
2073
|
}
|
|
2074
|
-
), ut =
|
|
2074
|
+
), ut = Ri ? String.fromCodePoint : (
|
|
2075
2075
|
// IE11
|
|
2076
2076
|
function() {
|
|
2077
2077
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2083,7 +2083,7 @@ var At = Ri ? (
|
|
|
2083
2083
|
}
|
|
2084
2084
|
return i;
|
|
2085
2085
|
}
|
|
2086
|
-
),
|
|
2086
|
+
), Bt = (
|
|
2087
2087
|
// native
|
|
2088
2088
|
Ui ? Object.fromEntries : (
|
|
2089
2089
|
// Ponyfill
|
|
@@ -2135,11 +2135,11 @@ function br(e, t) {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
var lt;
|
|
2137
2137
|
if (at) {
|
|
2138
|
-
var
|
|
2138
|
+
var Mt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2139
2139
|
lt = function(t, r) {
|
|
2140
2140
|
var i;
|
|
2141
|
-
|
|
2142
|
-
var n =
|
|
2141
|
+
Mt.lastIndex = r;
|
|
2142
|
+
var n = Mt.exec(t);
|
|
2143
2143
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2144
2144
|
};
|
|
2145
2145
|
} else
|
|
@@ -2152,7 +2152,7 @@ if (at) {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
return ut.apply(void 0, i);
|
|
2154
2154
|
};
|
|
2155
|
-
var
|
|
2155
|
+
var qi = (
|
|
2156
2156
|
/** @class */
|
|
2157
2157
|
function() {
|
|
2158
2158
|
function e(t, r) {
|
|
@@ -2177,13 +2177,13 @@ var Yi = (
|
|
|
2177
2177
|
var a = this.clonePosition();
|
|
2178
2178
|
this.bump(), n.push({
|
|
2179
2179
|
type: U.pound,
|
|
2180
|
-
location:
|
|
2180
|
+
location: B(a, this.clonePosition())
|
|
2181
2181
|
});
|
|
2182
2182
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2183
2183
|
if (i)
|
|
2184
2184
|
break;
|
|
2185
|
-
return this.error(A.UNMATCHED_CLOSING_TAG,
|
|
2186
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2185
|
+
return this.error(A.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
|
|
2186
|
+
} else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
|
|
2187
2187
|
var s = this.parseTag(t, r);
|
|
2188
2188
|
if (s.err)
|
|
2189
2189
|
return s;
|
|
@@ -2206,7 +2206,7 @@ var Yi = (
|
|
|
2206
2206
|
val: {
|
|
2207
2207
|
type: U.literal,
|
|
2208
2208
|
value: "<".concat(n, "/>"),
|
|
2209
|
-
location:
|
|
2209
|
+
location: B(i, this.clonePosition())
|
|
2210
2210
|
},
|
|
2211
2211
|
err: null
|
|
2212
2212
|
};
|
|
@@ -2216,22 +2216,22 @@ var Yi = (
|
|
|
2216
2216
|
return o;
|
|
2217
2217
|
var s = o.val, a = this.clonePosition();
|
|
2218
2218
|
if (this.bumpIf("</")) {
|
|
2219
|
-
if (this.isEOF() || !
|
|
2220
|
-
return this.error(A.INVALID_TAG,
|
|
2221
|
-
var u = this.clonePosition(),
|
|
2222
|
-
return n !==
|
|
2219
|
+
if (this.isEOF() || !ft(this.char()))
|
|
2220
|
+
return this.error(A.INVALID_TAG, B(a, this.clonePosition()));
|
|
2221
|
+
var u = this.clonePosition(), f = this.parseTagName();
|
|
2222
|
+
return n !== f ? this.error(A.UNMATCHED_CLOSING_TAG, B(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2223
2223
|
val: {
|
|
2224
2224
|
type: U.tag,
|
|
2225
2225
|
value: n,
|
|
2226
2226
|
children: s,
|
|
2227
|
-
location:
|
|
2227
|
+
location: B(i, this.clonePosition())
|
|
2228
2228
|
},
|
|
2229
2229
|
err: null
|
|
2230
|
-
} : this.error(A.INVALID_TAG,
|
|
2230
|
+
} : this.error(A.INVALID_TAG, B(a, this.clonePosition())));
|
|
2231
2231
|
} else
|
|
2232
|
-
return this.error(A.UNCLOSED_TAG,
|
|
2232
|
+
return this.error(A.UNCLOSED_TAG, B(i, this.clonePosition()));
|
|
2233
2233
|
} else
|
|
2234
|
-
return this.error(A.INVALID_TAG,
|
|
2234
|
+
return this.error(A.INVALID_TAG, B(i, this.clonePosition()));
|
|
2235
2235
|
}, e.prototype.parseTagName = function() {
|
|
2236
2236
|
var t = this.offset();
|
|
2237
2237
|
for (this.bump(); !this.isEOF() && Zi(this.char()); )
|
|
@@ -2256,14 +2256,14 @@ var Yi = (
|
|
|
2256
2256
|
}
|
|
2257
2257
|
break;
|
|
2258
2258
|
}
|
|
2259
|
-
var u =
|
|
2259
|
+
var u = B(i, this.clonePosition());
|
|
2260
2260
|
return {
|
|
2261
2261
|
val: { type: U.literal, value: n, location: u },
|
|
2262
2262
|
err: null
|
|
2263
2263
|
};
|
|
2264
2264
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2265
2265
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2266
|
-
!
|
|
2266
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2267
2267
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2268
2268
|
if (this.isEOF() || this.char() !== 39)
|
|
2269
2269
|
return null;
|
|
@@ -2306,14 +2306,14 @@ var Yi = (
|
|
|
2306
2306
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2307
2307
|
var i = this.clonePosition();
|
|
2308
2308
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2309
|
-
return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2309
|
+
return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
2310
2310
|
if (this.char() === 125)
|
|
2311
|
-
return this.bump(), this.error(A.EMPTY_ARGUMENT,
|
|
2311
|
+
return this.bump(), this.error(A.EMPTY_ARGUMENT, B(i, this.clonePosition()));
|
|
2312
2312
|
var n = this.parseIdentifierIfPossible().value;
|
|
2313
2313
|
if (!n)
|
|
2314
|
-
return this.error(A.MALFORMED_ARGUMENT,
|
|
2314
|
+
return this.error(A.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
2315
2315
|
if (this.bumpSpace(), this.isEOF())
|
|
2316
|
-
return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2316
|
+
return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition()));
|
|
2317
2317
|
switch (this.char()) {
|
|
2318
2318
|
case 125:
|
|
2319
2319
|
return this.bump(), {
|
|
@@ -2321,49 +2321,49 @@ var Yi = (
|
|
|
2321
2321
|
type: U.argument,
|
|
2322
2322
|
// value does not include the opening and closing braces.
|
|
2323
2323
|
value: n,
|
|
2324
|
-
location:
|
|
2324
|
+
location: B(i, this.clonePosition())
|
|
2325
2325
|
},
|
|
2326
2326
|
err: null
|
|
2327
2327
|
};
|
|
2328
2328
|
case 44:
|
|
2329
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2329
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
|
|
2330
2330
|
default:
|
|
2331
|
-
return this.error(A.MALFORMED_ARGUMENT,
|
|
2331
|
+
return this.error(A.MALFORMED_ARGUMENT, B(i, this.clonePosition()));
|
|
2332
2332
|
}
|
|
2333
2333
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2334
2334
|
var t = this.clonePosition(), r = this.offset(), i = lt(this.message, r), n = r + i.length;
|
|
2335
2335
|
this.bumpTo(n);
|
|
2336
|
-
var o = this.clonePosition(), s =
|
|
2336
|
+
var o = this.clonePosition(), s = B(t, o);
|
|
2337
2337
|
return { value: i, location: s };
|
|
2338
2338
|
}, e.prototype.parseArgumentOptions = function(t, r, i, n) {
|
|
2339
2339
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2340
2340
|
switch (a) {
|
|
2341
2341
|
case "":
|
|
2342
|
-
return this.error(A.EXPECT_ARGUMENT_TYPE,
|
|
2342
|
+
return this.error(A.EXPECT_ARGUMENT_TYPE, B(s, u));
|
|
2343
2343
|
case "number":
|
|
2344
2344
|
case "date":
|
|
2345
2345
|
case "time": {
|
|
2346
2346
|
this.bumpSpace();
|
|
2347
|
-
var
|
|
2347
|
+
var f = null;
|
|
2348
2348
|
if (this.bumpIf(",")) {
|
|
2349
2349
|
this.bumpSpace();
|
|
2350
|
-
var
|
|
2350
|
+
var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
2351
2351
|
if (p.err)
|
|
2352
2352
|
return p;
|
|
2353
2353
|
var v = Xi(p.val);
|
|
2354
2354
|
if (v.length === 0)
|
|
2355
|
-
return this.error(A.EXPECT_ARGUMENT_STYLE,
|
|
2356
|
-
var y =
|
|
2357
|
-
|
|
2355
|
+
return this.error(A.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
|
|
2356
|
+
var y = B(h, this.clonePosition());
|
|
2357
|
+
f = { style: v, styleLocation: y };
|
|
2358
2358
|
}
|
|
2359
2359
|
var _ = this.tryParseArgumentClose(n);
|
|
2360
2360
|
if (_.err)
|
|
2361
2361
|
return _;
|
|
2362
|
-
var c =
|
|
2363
|
-
if (
|
|
2364
|
-
var L = Wi(
|
|
2362
|
+
var c = B(n, this.clonePosition());
|
|
2363
|
+
if (f && At(f == null ? void 0 : f.style, "::", 0)) {
|
|
2364
|
+
var L = Wi(f.style.slice(2));
|
|
2365
2365
|
if (a === "number") {
|
|
2366
|
-
var p = this.parseNumberSkeletonFromString(L,
|
|
2366
|
+
var p = this.parseNumberSkeletonFromString(L, f.styleLocation);
|
|
2367
2367
|
return p.err ? p : {
|
|
2368
2368
|
val: { type: U.number, value: i, location: c, style: p.val },
|
|
2369
2369
|
err: null
|
|
@@ -2371,16 +2371,16 @@ var Yi = (
|
|
|
2371
2371
|
} else {
|
|
2372
2372
|
if (L.length === 0)
|
|
2373
2373
|
return this.error(A.EXPECT_DATE_TIME_SKELETON, c);
|
|
2374
|
-
var
|
|
2375
|
-
this.locale && (
|
|
2374
|
+
var k = L;
|
|
2375
|
+
this.locale && (k = Ii(L, this.locale));
|
|
2376
2376
|
var v = {
|
|
2377
2377
|
type: we.dateTime,
|
|
2378
|
-
pattern:
|
|
2379
|
-
location:
|
|
2380
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2381
|
-
},
|
|
2378
|
+
pattern: k,
|
|
2379
|
+
location: f.styleLocation,
|
|
2380
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(k) : {}
|
|
2381
|
+
}, H = a === "date" ? U.date : U.time;
|
|
2382
2382
|
return {
|
|
2383
|
-
val: { type:
|
|
2383
|
+
val: { type: H, value: i, location: c, style: v },
|
|
2384
2384
|
err: null
|
|
2385
2385
|
};
|
|
2386
2386
|
}
|
|
@@ -2390,7 +2390,7 @@ var Yi = (
|
|
|
2390
2390
|
type: a === "number" ? U.number : a === "date" ? U.date : U.time,
|
|
2391
2391
|
value: i,
|
|
2392
2392
|
location: c,
|
|
2393
|
-
style: (o =
|
|
2393
|
+
style: (o = f == null ? void 0 : f.style) !== null && o !== void 0 ? o : null
|
|
2394
2394
|
},
|
|
2395
2395
|
err: null
|
|
2396
2396
|
};
|
|
@@ -2400,30 +2400,30 @@ var Yi = (
|
|
|
2400
2400
|
case "select": {
|
|
2401
2401
|
var T = this.clonePosition();
|
|
2402
2402
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2403
|
-
return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
2403
|
+
return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, B(T, $e({}, T)));
|
|
2404
2404
|
this.bumpSpace();
|
|
2405
|
-
var
|
|
2406
|
-
if (a !== "select" &&
|
|
2405
|
+
var O = this.parseIdentifierIfPossible(), I = 0;
|
|
2406
|
+
if (a !== "select" && O.value === "offset") {
|
|
2407
2407
|
if (!this.bumpIf(":"))
|
|
2408
|
-
return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
2408
|
+
return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, B(this.clonePosition(), this.clonePosition()));
|
|
2409
2409
|
this.bumpSpace();
|
|
2410
2410
|
var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2411
2411
|
if (p.err)
|
|
2412
2412
|
return p;
|
|
2413
|
-
this.bumpSpace(),
|
|
2413
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = p.val;
|
|
2414
2414
|
}
|
|
2415
|
-
var
|
|
2416
|
-
if (
|
|
2417
|
-
return
|
|
2415
|
+
var P = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2416
|
+
if (P.err)
|
|
2417
|
+
return P;
|
|
2418
2418
|
var _ = this.tryParseArgumentClose(n);
|
|
2419
2419
|
if (_.err)
|
|
2420
2420
|
return _;
|
|
2421
|
-
var X =
|
|
2421
|
+
var X = B(n, this.clonePosition());
|
|
2422
2422
|
return a === "select" ? {
|
|
2423
2423
|
val: {
|
|
2424
2424
|
type: U.select,
|
|
2425
2425
|
value: i,
|
|
2426
|
-
options:
|
|
2426
|
+
options: Bt(P.val),
|
|
2427
2427
|
location: X
|
|
2428
2428
|
},
|
|
2429
2429
|
err: null
|
|
@@ -2431,7 +2431,7 @@ var Yi = (
|
|
|
2431
2431
|
val: {
|
|
2432
2432
|
type: U.plural,
|
|
2433
2433
|
value: i,
|
|
2434
|
-
options:
|
|
2434
|
+
options: Bt(P.val),
|
|
2435
2435
|
offset: I,
|
|
2436
2436
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2437
2437
|
location: X
|
|
@@ -2440,10 +2440,10 @@ var Yi = (
|
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
2442
|
default:
|
|
2443
|
-
return this.error(A.INVALID_ARGUMENT_TYPE,
|
|
2443
|
+
return this.error(A.INVALID_ARGUMENT_TYPE, B(s, u));
|
|
2444
2444
|
}
|
|
2445
2445
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2446
|
-
return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
2446
|
+
return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2447
2447
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2448
2448
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2449
2449
|
var i = this.char();
|
|
@@ -2452,7 +2452,7 @@ var Yi = (
|
|
|
2452
2452
|
this.bump();
|
|
2453
2453
|
var n = this.clonePosition();
|
|
2454
2454
|
if (!this.bumpUntil("'"))
|
|
2455
|
-
return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
2455
|
+
return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, B(n, this.clonePosition()));
|
|
2456
2456
|
this.bump();
|
|
2457
2457
|
break;
|
|
2458
2458
|
}
|
|
@@ -2482,7 +2482,7 @@ var Yi = (
|
|
|
2482
2482
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2483
2483
|
var i = [];
|
|
2484
2484
|
try {
|
|
2485
|
-
i =
|
|
2485
|
+
i = Hi(t);
|
|
2486
2486
|
} catch (n) {
|
|
2487
2487
|
return this.error(A.INVALID_NUMBER_SKELETON, r);
|
|
2488
2488
|
}
|
|
@@ -2496,23 +2496,23 @@ var Yi = (
|
|
|
2496
2496
|
err: null
|
|
2497
2497
|
};
|
|
2498
2498
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
|
|
2499
|
-
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(),
|
|
2500
|
-
if (
|
|
2499
|
+
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), f = n.value, h = n.location; ; ) {
|
|
2500
|
+
if (f.length === 0) {
|
|
2501
2501
|
var p = this.clonePosition();
|
|
2502
2502
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2503
2503
|
var v = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2504
2504
|
if (v.err)
|
|
2505
2505
|
return v;
|
|
2506
|
-
|
|
2506
|
+
h = B(p, this.clonePosition()), f = this.message.slice(p.offset, this.offset());
|
|
2507
2507
|
} else
|
|
2508
2508
|
break;
|
|
2509
2509
|
}
|
|
2510
|
-
if (u.has(
|
|
2511
|
-
return this.error(r === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
2512
|
-
|
|
2510
|
+
if (u.has(f))
|
|
2511
|
+
return this.error(r === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
2512
|
+
f === "other" && (s = !0), this.bumpSpace();
|
|
2513
2513
|
var y = this.clonePosition();
|
|
2514
2514
|
if (!this.bumpIf("{"))
|
|
2515
|
-
return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
2515
|
+
return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
|
|
2516
2516
|
var _ = this.parseMessage(t + 1, r, i);
|
|
2517
2517
|
if (_.err)
|
|
2518
2518
|
return _;
|
|
@@ -2520,14 +2520,14 @@ var Yi = (
|
|
|
2520
2520
|
if (c.err)
|
|
2521
2521
|
return c;
|
|
2522
2522
|
a.push([
|
|
2523
|
-
|
|
2523
|
+
f,
|
|
2524
2524
|
{
|
|
2525
2525
|
value: _.val,
|
|
2526
|
-
location:
|
|
2526
|
+
location: B(y, this.clonePosition())
|
|
2527
2527
|
}
|
|
2528
|
-
]), u.add(
|
|
2528
|
+
]), u.add(f), this.bumpSpace(), o = this.parseIdentifierIfPossible(), f = o.value, h = o.location;
|
|
2529
2529
|
}
|
|
2530
|
-
return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
2530
|
+
return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2531
2531
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2532
2532
|
var i = 1, n = this.clonePosition();
|
|
2533
2533
|
this.bumpIf("+") || this.bumpIf("-") && (i = -1);
|
|
@@ -2538,7 +2538,7 @@ var Yi = (
|
|
|
2538
2538
|
else
|
|
2539
2539
|
break;
|
|
2540
2540
|
}
|
|
2541
|
-
var u =
|
|
2541
|
+
var u = B(n, this.clonePosition());
|
|
2542
2542
|
return o ? (s *= i, $i(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
2543
2543
|
}, e.prototype.offset = function() {
|
|
2544
2544
|
return this.position.offset;
|
|
@@ -2605,11 +2605,11 @@ var Yi = (
|
|
|
2605
2605
|
}, e;
|
|
2606
2606
|
}()
|
|
2607
2607
|
);
|
|
2608
|
-
function
|
|
2608
|
+
function ft(e) {
|
|
2609
2609
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2610
2610
|
}
|
|
2611
|
-
function
|
|
2612
|
-
return
|
|
2611
|
+
function Yi(e) {
|
|
2612
|
+
return ft(e) || e === 47;
|
|
2613
2613
|
}
|
|
2614
2614
|
function Zi(e) {
|
|
2615
2615
|
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;
|
|
@@ -2620,32 +2620,32 @@ function yr(e) {
|
|
|
2620
2620
|
function Ji(e) {
|
|
2621
2621
|
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;
|
|
2622
2622
|
}
|
|
2623
|
-
function
|
|
2623
|
+
function ht(e) {
|
|
2624
2624
|
e.forEach(function(t) {
|
|
2625
|
-
if (delete t.location, lr(t) ||
|
|
2625
|
+
if (delete t.location, lr(t) || fr(t))
|
|
2626
2626
|
for (var r in t.options)
|
|
2627
|
-
delete t.options[r].location,
|
|
2627
|
+
delete t.options[r].location, ht(t.options[r].value);
|
|
2628
2628
|
else
|
|
2629
|
-
sr(t) && cr(t.style) || (ar(t) || ur(t)) && st(t.style) ? delete t.style.location :
|
|
2629
|
+
sr(t) && cr(t.style) || (ar(t) || ur(t)) && st(t.style) ? delete t.style.location : hr(t) && ht(t.children);
|
|
2630
2630
|
});
|
|
2631
2631
|
}
|
|
2632
2632
|
function Qi(e, t) {
|
|
2633
2633
|
t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2634
|
-
var r = new
|
|
2634
|
+
var r = new qi(e, t).parse();
|
|
2635
2635
|
if (r.err) {
|
|
2636
2636
|
var i = SyntaxError(A[r.err.kind]);
|
|
2637
2637
|
throw i.location = r.err.location, i.originalMessage = r.err.message, i;
|
|
2638
2638
|
}
|
|
2639
|
-
return t != null && t.captureLocation ||
|
|
2639
|
+
return t != null && t.captureLocation || ht(r.val), r.val;
|
|
2640
2640
|
}
|
|
2641
2641
|
var Se;
|
|
2642
2642
|
(function(e) {
|
|
2643
2643
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2644
2644
|
})(Se || (Se = {}));
|
|
2645
|
-
var
|
|
2645
|
+
var Ye = (
|
|
2646
2646
|
/** @class */
|
|
2647
2647
|
function(e) {
|
|
2648
|
-
|
|
2648
|
+
qe(t, e);
|
|
2649
2649
|
function t(r, i, n) {
|
|
2650
2650
|
var o = e.call(this, r) || this;
|
|
2651
2651
|
return o.code = i, o.originalMessage = n, o;
|
|
@@ -2657,38 +2657,38 @@ var qe = (
|
|
|
2657
2657
|
), Ct = (
|
|
2658
2658
|
/** @class */
|
|
2659
2659
|
function(e) {
|
|
2660
|
-
|
|
2660
|
+
qe(t, e);
|
|
2661
2661
|
function t(r, i, n, o) {
|
|
2662
2662
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, o) || this;
|
|
2663
2663
|
}
|
|
2664
2664
|
return t;
|
|
2665
|
-
}(
|
|
2665
|
+
}(Ye)
|
|
2666
2666
|
), Ki = (
|
|
2667
2667
|
/** @class */
|
|
2668
2668
|
function(e) {
|
|
2669
|
-
|
|
2669
|
+
qe(t, e);
|
|
2670
2670
|
function t(r, i, n) {
|
|
2671
2671
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
|
|
2672
2672
|
}
|
|
2673
2673
|
return t;
|
|
2674
|
-
}(
|
|
2674
|
+
}(Ye)
|
|
2675
2675
|
), en = (
|
|
2676
2676
|
/** @class */
|
|
2677
2677
|
function(e) {
|
|
2678
|
-
|
|
2678
|
+
qe(t, e);
|
|
2679
2679
|
function t(r, i) {
|
|
2680
2680
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
|
|
2681
2681
|
}
|
|
2682
2682
|
return t;
|
|
2683
|
-
}(
|
|
2684
|
-
),
|
|
2683
|
+
}(Ye)
|
|
2684
|
+
), Y;
|
|
2685
2685
|
(function(e) {
|
|
2686
2686
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2687
|
-
})(
|
|
2687
|
+
})(Y || (Y = {}));
|
|
2688
2688
|
function tn(e) {
|
|
2689
2689
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
2690
2690
|
var i = t[t.length - 1];
|
|
2691
|
-
return !i || i.type !==
|
|
2691
|
+
return !i || i.type !== Y.literal || r.type !== Y.literal ? t.push(r) : i.value += r.value, t;
|
|
2692
2692
|
}, []);
|
|
2693
2693
|
}
|
|
2694
2694
|
function rn(e) {
|
|
@@ -2698,95 +2698,95 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2698
2698
|
if (e.length === 1 && Tt(e[0]))
|
|
2699
2699
|
return [
|
|
2700
2700
|
{
|
|
2701
|
-
type:
|
|
2701
|
+
type: Y.literal,
|
|
2702
2702
|
value: e[0].value
|
|
2703
2703
|
}
|
|
2704
2704
|
];
|
|
2705
|
-
for (var a = [], u = 0,
|
|
2706
|
-
var
|
|
2707
|
-
if (Tt(
|
|
2705
|
+
for (var a = [], u = 0, f = e; u < f.length; u++) {
|
|
2706
|
+
var h = f[u];
|
|
2707
|
+
if (Tt(h)) {
|
|
2708
2708
|
a.push({
|
|
2709
|
-
type:
|
|
2710
|
-
value:
|
|
2709
|
+
type: Y.literal,
|
|
2710
|
+
value: h.value
|
|
2711
2711
|
});
|
|
2712
2712
|
continue;
|
|
2713
2713
|
}
|
|
2714
|
-
if (Si(
|
|
2714
|
+
if (Si(h)) {
|
|
2715
2715
|
typeof o == "number" && a.push({
|
|
2716
|
-
type:
|
|
2716
|
+
type: Y.literal,
|
|
2717
2717
|
value: r.getNumberFormat(t).format(o)
|
|
2718
2718
|
});
|
|
2719
2719
|
continue;
|
|
2720
2720
|
}
|
|
2721
|
-
var p =
|
|
2721
|
+
var p = h.value;
|
|
2722
2722
|
if (!(n && p in n))
|
|
2723
2723
|
throw new en(p, s);
|
|
2724
2724
|
var v = n[p];
|
|
2725
|
-
if (wi(
|
|
2725
|
+
if (wi(h)) {
|
|
2726
2726
|
(!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), a.push({
|
|
2727
|
-
type: typeof v == "string" ?
|
|
2727
|
+
type: typeof v == "string" ? Y.literal : Y.object,
|
|
2728
2728
|
value: v
|
|
2729
2729
|
});
|
|
2730
2730
|
continue;
|
|
2731
2731
|
}
|
|
2732
|
-
if (ar(
|
|
2733
|
-
var y = typeof
|
|
2732
|
+
if (ar(h)) {
|
|
2733
|
+
var y = typeof h.style == "string" ? i.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
|
|
2734
2734
|
a.push({
|
|
2735
|
-
type:
|
|
2735
|
+
type: Y.literal,
|
|
2736
2736
|
value: r.getDateTimeFormat(t, y).format(v)
|
|
2737
2737
|
});
|
|
2738
2738
|
continue;
|
|
2739
2739
|
}
|
|
2740
|
-
if (ur(
|
|
2741
|
-
var y = typeof
|
|
2740
|
+
if (ur(h)) {
|
|
2741
|
+
var y = typeof h.style == "string" ? i.time[h.style] : st(h.style) ? h.style.parsedOptions : i.time.medium;
|
|
2742
2742
|
a.push({
|
|
2743
|
-
type:
|
|
2743
|
+
type: Y.literal,
|
|
2744
2744
|
value: r.getDateTimeFormat(t, y).format(v)
|
|
2745
2745
|
});
|
|
2746
2746
|
continue;
|
|
2747
2747
|
}
|
|
2748
|
-
if (sr(
|
|
2749
|
-
var y = typeof
|
|
2748
|
+
if (sr(h)) {
|
|
2749
|
+
var y = typeof h.style == "string" ? i.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
|
|
2750
2750
|
y && y.scale && (v = v * (y.scale || 1)), a.push({
|
|
2751
|
-
type:
|
|
2751
|
+
type: Y.literal,
|
|
2752
2752
|
value: r.getNumberFormat(t, y).format(v)
|
|
2753
2753
|
});
|
|
2754
2754
|
continue;
|
|
2755
2755
|
}
|
|
2756
|
-
if (
|
|
2757
|
-
var _ =
|
|
2756
|
+
if (hr(h)) {
|
|
2757
|
+
var _ = h.children, c = h.value, L = n[c];
|
|
2758
2758
|
if (!rn(L))
|
|
2759
2759
|
throw new Ki(c, "function", s);
|
|
2760
|
-
var
|
|
2760
|
+
var k = Fe(_, t, r, i, n, o), H = L(k.map(function(I) {
|
|
2761
2761
|
return I.value;
|
|
2762
2762
|
}));
|
|
2763
|
-
Array.isArray(
|
|
2763
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(I) {
|
|
2764
2764
|
return {
|
|
2765
|
-
type: typeof I == "string" ?
|
|
2765
|
+
type: typeof I == "string" ? Y.literal : Y.object,
|
|
2766
2766
|
value: I
|
|
2767
2767
|
};
|
|
2768
2768
|
}));
|
|
2769
2769
|
}
|
|
2770
|
-
if (lr(
|
|
2771
|
-
var T =
|
|
2770
|
+
if (lr(h)) {
|
|
2771
|
+
var T = h.options[v] || h.options.other;
|
|
2772
2772
|
if (!T)
|
|
2773
|
-
throw new Ct(
|
|
2773
|
+
throw new Ct(h.value, v, Object.keys(h.options), s);
|
|
2774
2774
|
a.push.apply(a, Fe(T.value, t, r, i, n));
|
|
2775
2775
|
continue;
|
|
2776
2776
|
}
|
|
2777
|
-
if (
|
|
2778
|
-
var T =
|
|
2777
|
+
if (fr(h)) {
|
|
2778
|
+
var T = h.options["=".concat(v)];
|
|
2779
2779
|
if (!T) {
|
|
2780
2780
|
if (!Intl.PluralRules)
|
|
2781
|
-
throw new
|
|
2781
|
+
throw new Ye(`Intl.PluralRules is not available in this environment.
|
|
2782
2782
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2783
2783
|
`, Se.MISSING_INTL_API, s);
|
|
2784
|
-
var
|
|
2785
|
-
T =
|
|
2784
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(v - (h.offset || 0));
|
|
2785
|
+
T = h.options[O] || h.options.other;
|
|
2786
2786
|
}
|
|
2787
2787
|
if (!T)
|
|
2788
|
-
throw new Ct(
|
|
2789
|
-
a.push.apply(a, Fe(T.value, t, r, i, n, v - (
|
|
2788
|
+
throw new Ct(h.value, v, Object.keys(h.options), s);
|
|
2789
|
+
a.push.apply(a, Fe(T.value, t, r, i, n, v - (h.offset || 0)));
|
|
2790
2790
|
continue;
|
|
2791
2791
|
}
|
|
2792
2792
|
}
|
|
@@ -2859,13 +2859,13 @@ var xr = (
|
|
|
2859
2859
|
dateTime: {},
|
|
2860
2860
|
pluralRules: {}
|
|
2861
2861
|
}, this.format = function(u) {
|
|
2862
|
-
var
|
|
2863
|
-
if (
|
|
2864
|
-
return
|
|
2865
|
-
var
|
|
2866
|
-
return !p.length || v.type !==
|
|
2862
|
+
var f = o.formatToParts(u);
|
|
2863
|
+
if (f.length === 1)
|
|
2864
|
+
return f[0].value;
|
|
2865
|
+
var h = f.reduce(function(p, v) {
|
|
2866
|
+
return !p.length || v.type !== Y.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
|
|
2867
2867
|
}, []);
|
|
2868
|
-
return
|
|
2868
|
+
return h.length <= 1 ? h[0] || "" : h;
|
|
2869
2869
|
}, this.formatToParts = function(u) {
|
|
2870
2870
|
return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
2871
2871
|
}, this.resolvedOptions = function() {
|
|
@@ -2981,14 +2981,14 @@ function an(e, t) {
|
|
|
2981
2981
|
i = void 0;
|
|
2982
2982
|
return i;
|
|
2983
2983
|
}
|
|
2984
|
-
const
|
|
2984
|
+
const fe = {}, un = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), Er = (e, t) => {
|
|
2985
2985
|
if (t == null)
|
|
2986
2986
|
return;
|
|
2987
|
-
if (t in
|
|
2988
|
-
return
|
|
2987
|
+
if (t in fe && e in fe[t])
|
|
2988
|
+
return fe[t][e];
|
|
2989
2989
|
const r = De(t);
|
|
2990
2990
|
for (let i = 0; i < r.length; i++) {
|
|
2991
|
-
const n = r[i], o =
|
|
2991
|
+
const n = r[i], o = fn(n, e);
|
|
2992
2992
|
if (o)
|
|
2993
2993
|
return un(e, t, o);
|
|
2994
2994
|
}
|
|
@@ -3001,13 +3001,13 @@ function ln(e) {
|
|
|
3001
3001
|
function _r(e) {
|
|
3002
3002
|
return e in xt;
|
|
3003
3003
|
}
|
|
3004
|
-
function
|
|
3004
|
+
function fn(e, t) {
|
|
3005
3005
|
if (!_r(e))
|
|
3006
3006
|
return null;
|
|
3007
3007
|
const r = ln(e);
|
|
3008
3008
|
return an(r, t);
|
|
3009
3009
|
}
|
|
3010
|
-
function
|
|
3010
|
+
function hn(e) {
|
|
3011
3011
|
if (e == null)
|
|
3012
3012
|
return;
|
|
3013
3013
|
const t = De(e);
|
|
@@ -3018,9 +3018,9 @@ function fn(e) {
|
|
|
3018
3018
|
}
|
|
3019
3019
|
}
|
|
3020
3020
|
function wr(e, ...t) {
|
|
3021
|
-
delete
|
|
3021
|
+
delete fe[e], Ie.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
|
|
3022
3022
|
}
|
|
3023
|
-
|
|
3023
|
+
Oe(
|
|
3024
3024
|
[Ie],
|
|
3025
3025
|
([e]) => Object.keys(e)
|
|
3026
3026
|
);
|
|
@@ -3051,20 +3051,20 @@ function pn(e, t) {
|
|
|
3051
3051
|
t.map((i) => (cn(e, i), i().then((n) => n.default || n)))
|
|
3052
3052
|
).then((i) => wr(e, ...i));
|
|
3053
3053
|
}
|
|
3054
|
-
const
|
|
3054
|
+
const He = {};
|
|
3055
3055
|
function Tr(e) {
|
|
3056
3056
|
if (!ze(e))
|
|
3057
|
-
return e in
|
|
3057
|
+
return e in He ? He[e] : Promise.resolve();
|
|
3058
3058
|
const t = dn(e);
|
|
3059
|
-
return
|
|
3059
|
+
return He[e] = Promise.all(
|
|
3060
3060
|
t.map(
|
|
3061
3061
|
([r, i]) => pn(r, i)
|
|
3062
3062
|
)
|
|
3063
3063
|
).then(() => {
|
|
3064
3064
|
if (ze(e))
|
|
3065
3065
|
return Tr(e);
|
|
3066
|
-
delete
|
|
3067
|
-
}),
|
|
3066
|
+
delete He[e];
|
|
3067
|
+
}), He[e];
|
|
3068
3068
|
}
|
|
3069
3069
|
var It = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
|
|
3070
3070
|
var r = {};
|
|
@@ -3141,14 +3141,14 @@ function En(e) {
|
|
|
3141
3141
|
)), Object.assign(Ae, i, { initialLocale: n }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), be.set(n);
|
|
3142
3142
|
}
|
|
3143
3143
|
const it = Ce(!1);
|
|
3144
|
-
var _n = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty,
|
|
3144
|
+
var _n = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
|
|
3145
3145
|
for (var r in t || (t = {}))
|
|
3146
3146
|
Tn.call(t, r) && Lt(e, r, t[r]);
|
|
3147
3147
|
if (Dt)
|
|
3148
3148
|
for (var r of Dt(t))
|
|
3149
|
-
|
|
3149
|
+
On.call(t, r) && Lt(e, r, t[r]);
|
|
3150
3150
|
return e;
|
|
3151
|
-
},
|
|
3151
|
+
}, Hn = (e, t) => wn(e, Sn(t));
|
|
3152
3152
|
let ct;
|
|
3153
3153
|
const We = Ce(null);
|
|
3154
3154
|
function Nt(e) {
|
|
@@ -3165,7 +3165,7 @@ We.subscribe((e) => {
|
|
|
3165
3165
|
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3166
3166
|
});
|
|
3167
3167
|
const An = (e) => {
|
|
3168
|
-
if (e &&
|
|
3168
|
+
if (e && hn(e) && ze(e)) {
|
|
3169
3169
|
const { loadingDelay: t } = Te();
|
|
3170
3170
|
let r;
|
|
3171
3171
|
return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
|
|
@@ -3178,7 +3178,7 @@ const An = (e) => {
|
|
|
3178
3178
|
});
|
|
3179
3179
|
}
|
|
3180
3180
|
return We.set(e);
|
|
3181
|
-
}, be = Pn(
|
|
3181
|
+
}, be = Hn(Pn({}, We), {
|
|
3182
3182
|
set: An
|
|
3183
3183
|
}), Ze = (e) => {
|
|
3184
3184
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3187,101 +3187,101 @@ const An = (e) => {
|
|
|
3187
3187
|
return n in t ? t[n] : t[n] = e(i);
|
|
3188
3188
|
};
|
|
3189
3189
|
};
|
|
3190
|
-
var
|
|
3190
|
+
var Bn = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
|
|
3191
3191
|
for (var r in t || (t = {}))
|
|
3192
|
-
|
|
3192
|
+
Or.call(t, r) && kt(e, r, t[r]);
|
|
3193
3193
|
if (Xe)
|
|
3194
3194
|
for (var r of Xe(t))
|
|
3195
|
-
|
|
3195
|
+
Pr.call(t, r) && kt(e, r, t[r]);
|
|
3196
3196
|
return e;
|
|
3197
|
-
},
|
|
3197
|
+
}, Pe = (e, t) => {
|
|
3198
3198
|
var r = {};
|
|
3199
3199
|
for (var i in e)
|
|
3200
|
-
|
|
3200
|
+
Or.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3201
3201
|
if (e != null && Xe)
|
|
3202
3202
|
for (var i of Xe(e))
|
|
3203
|
-
t.indexOf(i) < 0 &&
|
|
3203
|
+
t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
|
|
3204
3204
|
return r;
|
|
3205
3205
|
};
|
|
3206
|
-
const
|
|
3206
|
+
const Me = (e, t) => {
|
|
3207
3207
|
const { formats: r } = Te();
|
|
3208
3208
|
if (e in r && t in r[e])
|
|
3209
3209
|
return r[e][t];
|
|
3210
3210
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3211
|
-
},
|
|
3211
|
+
}, Mn = Ze(
|
|
3212
3212
|
(e) => {
|
|
3213
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3213
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3214
3214
|
if (r == null)
|
|
3215
3215
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3216
|
-
return i && (n =
|
|
3216
|
+
return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
|
|
3217
3217
|
}
|
|
3218
3218
|
), Cn = Ze(
|
|
3219
3219
|
(e) => {
|
|
3220
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3220
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3221
3221
|
if (r == null)
|
|
3222
3222
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3223
|
-
return i ? n =
|
|
3223
|
+
return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3224
3224
|
}
|
|
3225
3225
|
), In = Ze(
|
|
3226
3226
|
(e) => {
|
|
3227
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3227
|
+
var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
|
|
3228
3228
|
if (r == null)
|
|
3229
3229
|
throw new Error(
|
|
3230
3230
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3231
3231
|
);
|
|
3232
|
-
return i ? n =
|
|
3232
|
+
return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3233
3233
|
}
|
|
3234
3234
|
), Dn = (e = {}) => {
|
|
3235
3235
|
var t = e, {
|
|
3236
3236
|
locale: r = de()
|
|
3237
|
-
} = t, i =
|
|
3237
|
+
} = t, i = Pe(t, [
|
|
3238
3238
|
"locale"
|
|
3239
3239
|
]);
|
|
3240
|
-
return
|
|
3240
|
+
return Mn(Et({ locale: r }, i));
|
|
3241
3241
|
}, Ln = (e = {}) => {
|
|
3242
3242
|
var t = e, {
|
|
3243
3243
|
locale: r = de()
|
|
3244
|
-
} = t, i =
|
|
3244
|
+
} = t, i = Pe(t, [
|
|
3245
3245
|
"locale"
|
|
3246
3246
|
]);
|
|
3247
3247
|
return Cn(Et({ locale: r }, i));
|
|
3248
3248
|
}, Nn = (e = {}) => {
|
|
3249
3249
|
var t = e, {
|
|
3250
3250
|
locale: r = de()
|
|
3251
|
-
} = t, i =
|
|
3251
|
+
} = t, i = Pe(t, [
|
|
3252
3252
|
"locale"
|
|
3253
3253
|
]);
|
|
3254
3254
|
return In(Et({ locale: r }, i));
|
|
3255
|
-
},
|
|
3255
|
+
}, kn = Ze(
|
|
3256
3256
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3257
3257
|
(e, t = de()) => new xr(e, t, Te().formats, {
|
|
3258
3258
|
ignoreTag: Te().ignoreTag
|
|
3259
3259
|
})
|
|
3260
|
-
),
|
|
3260
|
+
), Rn = (e, t = {}) => {
|
|
3261
3261
|
var r, i, n, o;
|
|
3262
3262
|
let s = t;
|
|
3263
3263
|
typeof e == "object" && (s = e, e = s.id);
|
|
3264
3264
|
const {
|
|
3265
3265
|
values: a,
|
|
3266
3266
|
locale: u = de(),
|
|
3267
|
-
default:
|
|
3267
|
+
default: f
|
|
3268
3268
|
} = s;
|
|
3269
3269
|
if (u == null)
|
|
3270
3270
|
throw new Error(
|
|
3271
3271
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3272
3272
|
);
|
|
3273
|
-
let
|
|
3274
|
-
if (!
|
|
3275
|
-
|
|
3276
|
-
else if (typeof
|
|
3273
|
+
let h = Er(e, u);
|
|
3274
|
+
if (!h)
|
|
3275
|
+
h = (o = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: f })) != null ? n : f) != null ? o : e;
|
|
3276
|
+
else if (typeof h != "string")
|
|
3277
3277
|
return console.warn(
|
|
3278
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3279
|
-
),
|
|
3278
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3279
|
+
), h;
|
|
3280
3280
|
if (!a)
|
|
3281
|
-
return
|
|
3282
|
-
let p =
|
|
3281
|
+
return h;
|
|
3282
|
+
let p = h;
|
|
3283
3283
|
try {
|
|
3284
|
-
p =
|
|
3284
|
+
p = kn(h, u).format(a);
|
|
3285
3285
|
} catch (v) {
|
|
3286
3286
|
v instanceof Error && console.warn(
|
|
3287
3287
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3289,12 +3289,12 @@ const Be = (e, t) => {
|
|
|
3289
3289
|
);
|
|
3290
3290
|
}
|
|
3291
3291
|
return p;
|
|
3292
|
-
}, Un = (e, t) => Nn(t).format(e), Vn = (e, t) => Ln(t).format(e), Fn = (e, t) => Dn(t).format(e), Gn = (e, t = de()) => Er(e, t), jn =
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
function
|
|
3292
|
+
}, Un = (e, t) => Nn(t).format(e), Vn = (e, t) => Ln(t).format(e), Fn = (e, t) => Dn(t).format(e), Gn = (e, t = de()) => Er(e, t), jn = Oe([be, Ie], () => Rn);
|
|
3293
|
+
Oe([be], () => Un);
|
|
3294
|
+
Oe([be], () => Vn);
|
|
3295
|
+
Oe([be], () => Fn);
|
|
3296
|
+
Oe([be, Ie], () => Gn);
|
|
3297
|
+
function Rt(e, t) {
|
|
3298
3298
|
wr(e, t);
|
|
3299
3299
|
}
|
|
3300
3300
|
function $n(e) {
|
|
@@ -3340,6 +3340,25 @@ const Ut = {
|
|
|
3340
3340
|
"verification.shuftipro.link-name.Documents": "Documents",
|
|
3341
3341
|
"verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
|
|
3342
3342
|
"verification.shuftipro.validations-started": "Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"
|
|
3343
|
+
},
|
|
3344
|
+
fr: {
|
|
3345
|
+
verificationsRequired: "Vérifications requises",
|
|
3346
|
+
"verification.video.how-to": "Comment vérifier votre identité ?",
|
|
3347
|
+
"verification.idenfy.referred-awaiting": "La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.",
|
|
3348
|
+
"verification.message.failed": "Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.",
|
|
3349
|
+
"verification.idenfy.link-name": "lien",
|
|
3350
|
+
"verification.idenfy.in-progress": "Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.",
|
|
3351
|
+
"verification.shuftipro.in-progress.Biometric": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.",
|
|
3352
|
+
"verification.shuftipro.in-progress.Biometric.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.",
|
|
3353
|
+
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
3354
|
+
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.",
|
|
3355
|
+
"verification.shuftipro.in-progress.Documents": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.",
|
|
3356
|
+
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.",
|
|
3357
|
+
"verification.shuftipro.in-progress.ProofOfAddress": "Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.",
|
|
3358
|
+
"verification.shuftipro.link-name.Biometric": "Biométrique",
|
|
3359
|
+
"verification.shuftipro.link-name.Documents": "Documents",
|
|
3360
|
+
"verification.shuftipro.link-name.ProofOfAddress": "Justificatif de domicile",
|
|
3361
|
+
"verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
|
|
3343
3362
|
}
|
|
3344
3363
|
};
|
|
3345
3364
|
let zn = Ce(null);
|
|
@@ -3415,13 +3434,13 @@ function vt(e, t, r) {
|
|
|
3415
3434
|
function oe(e) {
|
|
3416
3435
|
return typeof e == "function";
|
|
3417
3436
|
}
|
|
3418
|
-
function
|
|
3437
|
+
function Hr(e) {
|
|
3419
3438
|
var t = function(i) {
|
|
3420
3439
|
Error.call(i), i.stack = new Error().stack;
|
|
3421
3440
|
}, r = e(t);
|
|
3422
3441
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3423
3442
|
}
|
|
3424
|
-
var nt =
|
|
3443
|
+
var nt = Hr(function(e) {
|
|
3425
3444
|
return function(r) {
|
|
3426
3445
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3427
3446
|
` + r.map(function(i, n) {
|
|
@@ -3449,8 +3468,8 @@ var Je = function() {
|
|
|
3449
3468
|
if (this._parentage = null, Array.isArray(s))
|
|
3450
3469
|
try {
|
|
3451
3470
|
for (var a = pt(s), u = a.next(); !u.done; u = a.next()) {
|
|
3452
|
-
var
|
|
3453
|
-
|
|
3471
|
+
var f = u.value;
|
|
3472
|
+
f.remove(this);
|
|
3454
3473
|
}
|
|
3455
3474
|
} catch (c) {
|
|
3456
3475
|
t = { error: c };
|
|
@@ -3464,10 +3483,10 @@ var Je = function() {
|
|
|
3464
3483
|
}
|
|
3465
3484
|
else
|
|
3466
3485
|
s.remove(this);
|
|
3467
|
-
var
|
|
3468
|
-
if (oe(
|
|
3486
|
+
var h = this.initialTeardown;
|
|
3487
|
+
if (oe(h))
|
|
3469
3488
|
try {
|
|
3470
|
-
|
|
3489
|
+
h();
|
|
3471
3490
|
} catch (c) {
|
|
3472
3491
|
o = c instanceof nt ? c.errors : [c];
|
|
3473
3492
|
}
|
|
@@ -3527,7 +3546,7 @@ var Je = function() {
|
|
|
3527
3546
|
return t.closed = !0, t;
|
|
3528
3547
|
}(), e;
|
|
3529
3548
|
}(), Ar = Je.EMPTY;
|
|
3530
|
-
function
|
|
3549
|
+
function Br(e) {
|
|
3531
3550
|
return e instanceof Je || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
|
|
3532
3551
|
}
|
|
3533
3552
|
function Vt(e) {
|
|
@@ -3546,7 +3565,7 @@ var Wn = {
|
|
|
3546
3565
|
},
|
|
3547
3566
|
delegate: void 0
|
|
3548
3567
|
};
|
|
3549
|
-
function
|
|
3568
|
+
function qn(e) {
|
|
3550
3569
|
Xn.setTimeout(function() {
|
|
3551
3570
|
throw e;
|
|
3552
3571
|
});
|
|
@@ -3556,11 +3575,11 @@ function Ft() {
|
|
|
3556
3575
|
function je(e) {
|
|
3557
3576
|
e();
|
|
3558
3577
|
}
|
|
3559
|
-
var
|
|
3578
|
+
var Mr = function(e) {
|
|
3560
3579
|
Le(t, e);
|
|
3561
3580
|
function t(r) {
|
|
3562
3581
|
var i = e.call(this) || this;
|
|
3563
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
3582
|
+
return i.isStopped = !1, r ? (i.destination = r, Br(r) && r.add(i)) : i.destination = Jn, i;
|
|
3564
3583
|
}
|
|
3565
3584
|
return t.create = function(r, i, n) {
|
|
3566
3585
|
return new bt(r, i, n);
|
|
@@ -3587,7 +3606,7 @@ var Br = function(e) {
|
|
|
3587
3606
|
this.unsubscribe();
|
|
3588
3607
|
}
|
|
3589
3608
|
}, t;
|
|
3590
|
-
}(Je),
|
|
3609
|
+
}(Je), Yn = function() {
|
|
3591
3610
|
function e(t) {
|
|
3592
3611
|
this.partialObserver = t;
|
|
3593
3612
|
}
|
|
@@ -3626,12 +3645,12 @@ var Br = function(e) {
|
|
|
3626
3645
|
next: r != null ? r : void 0,
|
|
3627
3646
|
error: i != null ? i : void 0,
|
|
3628
3647
|
complete: n != null ? n : void 0
|
|
3629
|
-
} : s = r, o.destination = new
|
|
3648
|
+
} : s = r, o.destination = new Yn(s), o;
|
|
3630
3649
|
}
|
|
3631
3650
|
return t;
|
|
3632
|
-
}(
|
|
3651
|
+
}(Mr);
|
|
3633
3652
|
function Ve(e) {
|
|
3634
|
-
|
|
3653
|
+
qn(e);
|
|
3635
3654
|
}
|
|
3636
3655
|
function Zn(e) {
|
|
3637
3656
|
throw e;
|
|
@@ -3722,9 +3741,9 @@ function to(e) {
|
|
|
3722
3741
|
return e && oe(e.next) && oe(e.error) && oe(e.complete);
|
|
3723
3742
|
}
|
|
3724
3743
|
function ro(e) {
|
|
3725
|
-
return e && e instanceof
|
|
3744
|
+
return e && e instanceof Mr || to(e) && Br(e);
|
|
3726
3745
|
}
|
|
3727
|
-
var io =
|
|
3746
|
+
var io = Hr(function(e) {
|
|
3728
3747
|
return function() {
|
|
3729
3748
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
3730
3749
|
};
|
|
@@ -3751,8 +3770,8 @@ var io = Pr(function(e) {
|
|
|
3751
3770
|
var u = a.value;
|
|
3752
3771
|
u.next(r);
|
|
3753
3772
|
}
|
|
3754
|
-
} catch (
|
|
3755
|
-
n = { error:
|
|
3773
|
+
} catch (f) {
|
|
3774
|
+
n = { error: f };
|
|
3756
3775
|
} finally {
|
|
3757
3776
|
try {
|
|
3758
3777
|
a && !a.done && (o = s.return) && o.call(s);
|
|
@@ -3850,9 +3869,9 @@ var io = Pr(function(e) {
|
|
|
3850
3869
|
}, t.prototype._trimBuffer = function() {
|
|
3851
3870
|
var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
|
|
3852
3871
|
if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
3853
|
-
for (var u = n.now(),
|
|
3854
|
-
|
|
3855
|
-
|
|
3872
|
+
for (var u = n.now(), f = 0, h = 1; h < o.length && o[h] <= u; h += 2)
|
|
3873
|
+
f = h;
|
|
3874
|
+
f && o.splice(0, f + 1);
|
|
3856
3875
|
}
|
|
3857
3876
|
}, t;
|
|
3858
3877
|
}(Cr);
|
|
@@ -3887,13 +3906,13 @@ var Dr = { exports: {} };
|
|
|
3887
3906
|
(function(r, i) {
|
|
3888
3907
|
e.exports = i();
|
|
3889
3908
|
})(rr, function() {
|
|
3890
|
-
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour",
|
|
3909
|
+
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", f = "day", h = "week", p = "month", v = "quarter", y = "year", _ = "date", c = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, H = { 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(E) {
|
|
3891
3910
|
var g = ["th", "st", "nd", "rd"], d = E % 100;
|
|
3892
3911
|
return "[" + E + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3893
3912
|
} }, T = function(E, g, d) {
|
|
3894
3913
|
var b = String(E);
|
|
3895
3914
|
return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(d) + E;
|
|
3896
|
-
},
|
|
3915
|
+
}, O = { s: T, z: function(E) {
|
|
3897
3916
|
var g = -E.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
|
|
3898
3917
|
return (g <= 0 ? "+" : "-") + T(b, 2, "0") + ":" + T(m, 2, "0");
|
|
3899
3918
|
}, m: function E(g, d) {
|
|
@@ -3904,11 +3923,11 @@ var Dr = { exports: {} };
|
|
|
3904
3923
|
}, a: function(E) {
|
|
3905
3924
|
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
3906
3925
|
}, p: function(E) {
|
|
3907
|
-
return { M: p, y, w:
|
|
3926
|
+
return { M: p, y, w: h, d: f, D: _, h: u, m: a, s, ms: o, Q: v }[E] || String(E || "").toLowerCase().replace(/s$/, "");
|
|
3908
3927
|
}, u: function(E) {
|
|
3909
3928
|
return E === void 0;
|
|
3910
|
-
} }, I = "en",
|
|
3911
|
-
|
|
3929
|
+
} }, I = "en", P = {};
|
|
3930
|
+
P[I] = H;
|
|
3912
3931
|
var X = "$isDayjsObject", te = function(E) {
|
|
3913
3932
|
return E instanceof j || !(!E || !E[X]);
|
|
3914
3933
|
}, Q = function E(g, d, b) {
|
|
@@ -3917,23 +3936,23 @@ var Dr = { exports: {} };
|
|
|
3917
3936
|
return I;
|
|
3918
3937
|
if (typeof g == "string") {
|
|
3919
3938
|
var w = g.toLowerCase();
|
|
3920
|
-
|
|
3939
|
+
P[w] && (m = w), d && (P[w] = d, m = w);
|
|
3921
3940
|
var S = g.split("-");
|
|
3922
3941
|
if (!m && S.length > 1)
|
|
3923
3942
|
return E(S[0]);
|
|
3924
3943
|
} else {
|
|
3925
3944
|
var N = g.name;
|
|
3926
|
-
|
|
3945
|
+
P[N] = g, m = N;
|
|
3927
3946
|
}
|
|
3928
3947
|
return !b && m && (I = m), m || !b && I;
|
|
3929
|
-
},
|
|
3948
|
+
}, R = function(E, g) {
|
|
3930
3949
|
if (te(E))
|
|
3931
3950
|
return E.clone();
|
|
3932
3951
|
var d = typeof g == "object" ? g : {};
|
|
3933
3952
|
return d.date = E, d.args = arguments, new j(d);
|
|
3934
|
-
},
|
|
3935
|
-
|
|
3936
|
-
return
|
|
3953
|
+
}, M = O;
|
|
3954
|
+
M.l = Q, M.i = te, M.w = function(E, g) {
|
|
3955
|
+
return R(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3937
3956
|
};
|
|
3938
3957
|
var j = function() {
|
|
3939
3958
|
function E(d) {
|
|
@@ -3945,7 +3964,7 @@ var Dr = { exports: {} };
|
|
|
3945
3964
|
var m = b.date, w = b.utc;
|
|
3946
3965
|
if (m === null)
|
|
3947
3966
|
return /* @__PURE__ */ new Date(NaN);
|
|
3948
|
-
if (
|
|
3967
|
+
if (M.u(m))
|
|
3949
3968
|
return /* @__PURE__ */ new Date();
|
|
3950
3969
|
if (m instanceof Date)
|
|
3951
3970
|
return new Date(m);
|
|
@@ -3962,38 +3981,38 @@ var Dr = { exports: {} };
|
|
|
3962
3981
|
var d = this.$d;
|
|
3963
3982
|
this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
|
|
3964
3983
|
}, g.$utils = function() {
|
|
3965
|
-
return
|
|
3984
|
+
return M;
|
|
3966
3985
|
}, g.isValid = function() {
|
|
3967
3986
|
return this.$d.toString() !== c;
|
|
3968
3987
|
}, g.isSame = function(d, b) {
|
|
3969
|
-
var m =
|
|
3988
|
+
var m = R(d);
|
|
3970
3989
|
return this.startOf(b) <= m && m <= this.endOf(b);
|
|
3971
3990
|
}, g.isAfter = function(d, b) {
|
|
3972
|
-
return
|
|
3991
|
+
return R(d) < this.startOf(b);
|
|
3973
3992
|
}, g.isBefore = function(d, b) {
|
|
3974
|
-
return this.endOf(b) <
|
|
3993
|
+
return this.endOf(b) < R(d);
|
|
3975
3994
|
}, g.$g = function(d, b, m) {
|
|
3976
|
-
return
|
|
3995
|
+
return M.u(d) ? this[b] : this.set(m, d);
|
|
3977
3996
|
}, g.unix = function() {
|
|
3978
3997
|
return Math.floor(this.valueOf() / 1e3);
|
|
3979
3998
|
}, g.valueOf = function() {
|
|
3980
3999
|
return this.$d.getTime();
|
|
3981
4000
|
}, g.startOf = function(d, b) {
|
|
3982
|
-
var m = this, w = !!
|
|
3983
|
-
var K =
|
|
3984
|
-
return w ? K : K.endOf(
|
|
3985
|
-
}, V = function(ie,
|
|
3986
|
-
return
|
|
4001
|
+
var m = this, w = !!M.u(b) || b, S = M.p(d), N = function(ie, q) {
|
|
4002
|
+
var K = M.w(m.$u ? Date.UTC(m.$y, q, ie) : new Date(m.$y, q, ie), m);
|
|
4003
|
+
return w ? K : K.endOf(f);
|
|
4004
|
+
}, V = function(ie, q) {
|
|
4005
|
+
return M.w(m.toDate()[ie].apply(m.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(q)), m);
|
|
3987
4006
|
}, G = this.$W, $ = this.$M, Z = this.$D, ae = "set" + (this.$u ? "UTC" : "");
|
|
3988
4007
|
switch (S) {
|
|
3989
4008
|
case y:
|
|
3990
4009
|
return w ? N(1, 0) : N(31, 11);
|
|
3991
4010
|
case p:
|
|
3992
4011
|
return w ? N(1, $) : N(0, $ + 1);
|
|
3993
|
-
case
|
|
4012
|
+
case h:
|
|
3994
4013
|
var re = this.$locale().weekStart || 0, pe = (G < re ? G + 7 : G) - re;
|
|
3995
4014
|
return N(w ? Z - pe : Z + (6 - pe), $);
|
|
3996
|
-
case
|
|
4015
|
+
case f:
|
|
3997
4016
|
case _:
|
|
3998
4017
|
return V(ae + "Hours", 0);
|
|
3999
4018
|
case u:
|
|
@@ -4008,7 +4027,7 @@ var Dr = { exports: {} };
|
|
|
4008
4027
|
}, g.endOf = function(d) {
|
|
4009
4028
|
return this.startOf(d, !1);
|
|
4010
4029
|
}, g.$set = function(d, b) {
|
|
4011
|
-
var m, w =
|
|
4030
|
+
var m, w = M.p(d), S = "set" + (this.$u ? "UTC" : ""), N = (m = {}, m[f] = S + "Date", m[_] = S + "Date", m[p] = S + "Month", m[y] = S + "FullYear", m[u] = S + "Hours", m[a] = S + "Minutes", m[s] = S + "Seconds", m[o] = S + "Milliseconds", m)[w], V = w === f ? this.$D + (b - this.$W) : b;
|
|
4012
4031
|
if (w === p || w === y) {
|
|
4013
4032
|
var G = this.clone().set(_, 1);
|
|
4014
4033
|
G.$d[N](V), G.init(), this.$d = G.set(_, Math.min(this.$D, G.daysInMonth())).$d;
|
|
@@ -4018,49 +4037,49 @@ var Dr = { exports: {} };
|
|
|
4018
4037
|
}, g.set = function(d, b) {
|
|
4019
4038
|
return this.clone().$set(d, b);
|
|
4020
4039
|
}, g.get = function(d) {
|
|
4021
|
-
return this[
|
|
4040
|
+
return this[M.p(d)]();
|
|
4022
4041
|
}, g.add = function(d, b) {
|
|
4023
4042
|
var m, w = this;
|
|
4024
4043
|
d = Number(d);
|
|
4025
|
-
var S =
|
|
4026
|
-
var Z =
|
|
4027
|
-
return
|
|
4044
|
+
var S = M.p(b), N = function($) {
|
|
4045
|
+
var Z = R(w);
|
|
4046
|
+
return M.w(Z.date(Z.date() + Math.round($ * d)), w);
|
|
4028
4047
|
};
|
|
4029
4048
|
if (S === p)
|
|
4030
4049
|
return this.set(p, this.$M + d);
|
|
4031
4050
|
if (S === y)
|
|
4032
4051
|
return this.set(y, this.$y + d);
|
|
4033
|
-
if (S === h)
|
|
4034
|
-
return N(1);
|
|
4035
4052
|
if (S === f)
|
|
4053
|
+
return N(1);
|
|
4054
|
+
if (S === h)
|
|
4036
4055
|
return N(7);
|
|
4037
4056
|
var V = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[S] || 1, G = this.$d.getTime() + d * V;
|
|
4038
|
-
return
|
|
4057
|
+
return M.w(G, this);
|
|
4039
4058
|
}, g.subtract = function(d, b) {
|
|
4040
4059
|
return this.add(-1 * d, b);
|
|
4041
4060
|
}, g.format = function(d) {
|
|
4042
4061
|
var b = this, m = this.$locale();
|
|
4043
4062
|
if (!this.isValid())
|
|
4044
4063
|
return m.invalidDate || c;
|
|
4045
|
-
var w = d || "YYYY-MM-DDTHH:mm:ssZ", S =
|
|
4046
|
-
return
|
|
4047
|
-
}, pe = function(
|
|
4048
|
-
return
|
|
4049
|
-
}, ie = ae || function(
|
|
4050
|
-
var ye =
|
|
4064
|
+
var w = d || "YYYY-MM-DDTHH:mm:ssZ", S = M.z(this), N = this.$H, V = this.$m, G = this.$M, $ = m.weekdays, Z = m.months, ae = m.meridiem, re = function(q, K, me, ye) {
|
|
4065
|
+
return q && (q[K] || q(b, w)) || me[K].slice(0, ye);
|
|
4066
|
+
}, pe = function(q) {
|
|
4067
|
+
return M.s(N % 12 || 12, q, "0");
|
|
4068
|
+
}, ie = ae || function(q, K, me) {
|
|
4069
|
+
var ye = q < 12 ? "AM" : "PM";
|
|
4051
4070
|
return me ? ye.toLowerCase() : ye;
|
|
4052
4071
|
};
|
|
4053
|
-
return w.replace(
|
|
4072
|
+
return w.replace(k, function(q, K) {
|
|
4054
4073
|
return K || function(me) {
|
|
4055
4074
|
switch (me) {
|
|
4056
4075
|
case "YY":
|
|
4057
4076
|
return String(b.$y).slice(-2);
|
|
4058
4077
|
case "YYYY":
|
|
4059
|
-
return
|
|
4078
|
+
return M.s(b.$y, 4, "0");
|
|
4060
4079
|
case "M":
|
|
4061
4080
|
return G + 1;
|
|
4062
4081
|
case "MM":
|
|
4063
|
-
return
|
|
4082
|
+
return M.s(G + 1, 2, "0");
|
|
4064
4083
|
case "MMM":
|
|
4065
4084
|
return re(m.monthsShort, G, Z, 3);
|
|
4066
4085
|
case "MMMM":
|
|
@@ -4068,7 +4087,7 @@ var Dr = { exports: {} };
|
|
|
4068
4087
|
case "D":
|
|
4069
4088
|
return b.$D;
|
|
4070
4089
|
case "DD":
|
|
4071
|
-
return
|
|
4090
|
+
return M.s(b.$D, 2, "0");
|
|
4072
4091
|
case "d":
|
|
4073
4092
|
return String(b.$W);
|
|
4074
4093
|
case "dd":
|
|
@@ -4080,7 +4099,7 @@ var Dr = { exports: {} };
|
|
|
4080
4099
|
case "H":
|
|
4081
4100
|
return String(N);
|
|
4082
4101
|
case "HH":
|
|
4083
|
-
return
|
|
4102
|
+
return M.s(N, 2, "0");
|
|
4084
4103
|
case "h":
|
|
4085
4104
|
return pe(1);
|
|
4086
4105
|
case "hh":
|
|
@@ -4092,24 +4111,24 @@ var Dr = { exports: {} };
|
|
|
4092
4111
|
case "m":
|
|
4093
4112
|
return String(V);
|
|
4094
4113
|
case "mm":
|
|
4095
|
-
return
|
|
4114
|
+
return M.s(V, 2, "0");
|
|
4096
4115
|
case "s":
|
|
4097
4116
|
return String(b.$s);
|
|
4098
4117
|
case "ss":
|
|
4099
|
-
return
|
|
4118
|
+
return M.s(b.$s, 2, "0");
|
|
4100
4119
|
case "SSS":
|
|
4101
|
-
return
|
|
4120
|
+
return M.s(b.$ms, 3, "0");
|
|
4102
4121
|
case "Z":
|
|
4103
4122
|
return S;
|
|
4104
4123
|
}
|
|
4105
4124
|
return null;
|
|
4106
|
-
}(
|
|
4125
|
+
}(q) || S.replace(":", "");
|
|
4107
4126
|
});
|
|
4108
4127
|
}, g.utcOffset = function() {
|
|
4109
4128
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4110
4129
|
}, g.diff = function(d, b, m) {
|
|
4111
|
-
var w, S = this, N =
|
|
4112
|
-
return
|
|
4130
|
+
var w, S = this, N = M.p(b), V = R(d), G = (V.utcOffset() - this.utcOffset()) * i, $ = this - V, Z = function() {
|
|
4131
|
+
return M.m(S, V);
|
|
4113
4132
|
};
|
|
4114
4133
|
switch (N) {
|
|
4115
4134
|
case y:
|
|
@@ -4121,10 +4140,10 @@ var Dr = { exports: {} };
|
|
|
4121
4140
|
case v:
|
|
4122
4141
|
w = Z() / 3;
|
|
4123
4142
|
break;
|
|
4124
|
-
case
|
|
4143
|
+
case h:
|
|
4125
4144
|
w = ($ - G) / 6048e5;
|
|
4126
4145
|
break;
|
|
4127
|
-
case
|
|
4146
|
+
case f:
|
|
4128
4147
|
w = ($ - G) / 864e5;
|
|
4129
4148
|
break;
|
|
4130
4149
|
case u:
|
|
@@ -4139,18 +4158,18 @@ var Dr = { exports: {} };
|
|
|
4139
4158
|
default:
|
|
4140
4159
|
w = $;
|
|
4141
4160
|
}
|
|
4142
|
-
return m ? w :
|
|
4161
|
+
return m ? w : M.a(w);
|
|
4143
4162
|
}, g.daysInMonth = function() {
|
|
4144
4163
|
return this.endOf(p).$D;
|
|
4145
4164
|
}, g.$locale = function() {
|
|
4146
|
-
return
|
|
4165
|
+
return P[this.$L];
|
|
4147
4166
|
}, g.locale = function(d, b) {
|
|
4148
4167
|
if (!d)
|
|
4149
4168
|
return this.$L;
|
|
4150
4169
|
var m = this.clone(), w = Q(d, b, !0);
|
|
4151
4170
|
return w && (m.$L = w), m;
|
|
4152
4171
|
}, g.clone = function() {
|
|
4153
|
-
return
|
|
4172
|
+
return M.w(this.$d, this);
|
|
4154
4173
|
}, g.toDate = function() {
|
|
4155
4174
|
return new Date(this.valueOf());
|
|
4156
4175
|
}, g.toJSON = function() {
|
|
@@ -4161,15 +4180,15 @@ var Dr = { exports: {} };
|
|
|
4161
4180
|
return this.$d.toUTCString();
|
|
4162
4181
|
}, E;
|
|
4163
4182
|
}(), se = j.prototype;
|
|
4164
|
-
return
|
|
4183
|
+
return R.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", f], ["$M", p], ["$y", y], ["$D", _]].forEach(function(E) {
|
|
4165
4184
|
se[E[1]] = function(g) {
|
|
4166
4185
|
return this.$g(g, E[0], E[1]);
|
|
4167
4186
|
};
|
|
4168
|
-
}),
|
|
4169
|
-
return E.$i || (E(g, j,
|
|
4170
|
-
},
|
|
4171
|
-
return
|
|
4172
|
-
},
|
|
4187
|
+
}), R.extend = function(E, g) {
|
|
4188
|
+
return E.$i || (E(g, j, R), E.$i = !0), R;
|
|
4189
|
+
}, R.locale = Q, R.isDayjs = te, R.unix = function(E) {
|
|
4190
|
+
return R(1e3 * E);
|
|
4191
|
+
}, R.en = P[I], R.Ls = P, R.p = {}, R;
|
|
4173
4192
|
});
|
|
4174
4193
|
})(Dr);
|
|
4175
4194
|
var ao = Dr.exports;
|
|
@@ -4191,38 +4210,38 @@ var Lr = { exports: {} };
|
|
|
4191
4210
|
}, u.local = function() {
|
|
4192
4211
|
return a(this.toDate(), { locale: this.$L, utc: !1 });
|
|
4193
4212
|
};
|
|
4194
|
-
var
|
|
4213
|
+
var f = u.parse;
|
|
4195
4214
|
u.parse = function(c) {
|
|
4196
|
-
c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset),
|
|
4215
|
+
c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset), f.call(this, c);
|
|
4197
4216
|
};
|
|
4198
|
-
var
|
|
4217
|
+
var h = u.init;
|
|
4199
4218
|
u.init = function() {
|
|
4200
4219
|
if (this.$u) {
|
|
4201
4220
|
var c = this.$d;
|
|
4202
4221
|
this.$y = c.getUTCFullYear(), this.$M = c.getUTCMonth(), this.$D = c.getUTCDate(), this.$W = c.getUTCDay(), this.$H = c.getUTCHours(), this.$m = c.getUTCMinutes(), this.$s = c.getUTCSeconds(), this.$ms = c.getUTCMilliseconds();
|
|
4203
4222
|
} else
|
|
4204
|
-
|
|
4223
|
+
h.call(this);
|
|
4205
4224
|
};
|
|
4206
4225
|
var p = u.utcOffset;
|
|
4207
4226
|
u.utcOffset = function(c, L) {
|
|
4208
|
-
var
|
|
4209
|
-
if (
|
|
4210
|
-
return this.$u ? 0 :
|
|
4227
|
+
var k = this.$utils().u;
|
|
4228
|
+
if (k(c))
|
|
4229
|
+
return this.$u ? 0 : k(this.$offset) ? p.call(this) : this.$offset;
|
|
4211
4230
|
if (typeof c == "string" && (c = function(I) {
|
|
4212
4231
|
I === void 0 && (I = "");
|
|
4213
|
-
var
|
|
4214
|
-
if (!
|
|
4232
|
+
var P = I.match(i);
|
|
4233
|
+
if (!P)
|
|
4215
4234
|
return null;
|
|
4216
|
-
var X = ("" +
|
|
4235
|
+
var X = ("" + P[0]).match(n) || ["-", 0, 0], te = X[0], Q = 60 * +X[1] + +X[2];
|
|
4217
4236
|
return Q === 0 ? 0 : te === "+" ? Q : -Q;
|
|
4218
4237
|
}(c), c === null))
|
|
4219
4238
|
return this;
|
|
4220
|
-
var
|
|
4239
|
+
var H = Math.abs(c) <= 16 ? 60 * c : c, T = this;
|
|
4221
4240
|
if (L)
|
|
4222
|
-
return T.$offset =
|
|
4241
|
+
return T.$offset = H, T.$u = c === 0, T;
|
|
4223
4242
|
if (c !== 0) {
|
|
4224
|
-
var
|
|
4225
|
-
(T = this.local().add(
|
|
4243
|
+
var O = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4244
|
+
(T = this.local().add(H + O, r)).$offset = H, T.$x.$localOffset = O;
|
|
4226
4245
|
} else
|
|
4227
4246
|
T = this.utc();
|
|
4228
4247
|
return T;
|
|
@@ -4246,28 +4265,28 @@ var Lr = { exports: {} };
|
|
|
4246
4265
|
return c === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
|
|
4247
4266
|
};
|
|
4248
4267
|
var _ = u.diff;
|
|
4249
|
-
u.diff = function(c, L,
|
|
4268
|
+
u.diff = function(c, L, k) {
|
|
4250
4269
|
if (c && this.$u === c.$u)
|
|
4251
|
-
return _.call(this, c, L,
|
|
4252
|
-
var
|
|
4253
|
-
return _.call(
|
|
4270
|
+
return _.call(this, c, L, k);
|
|
4271
|
+
var H = this.local(), T = a(c).local();
|
|
4272
|
+
return _.call(H, T, L, k);
|
|
4254
4273
|
};
|
|
4255
4274
|
};
|
|
4256
4275
|
});
|
|
4257
4276
|
})(Lr);
|
|
4258
4277
|
var uo = Lr.exports;
|
|
4259
4278
|
const lo = /* @__PURE__ */ yt(uo);
|
|
4260
|
-
function
|
|
4279
|
+
function fo(e) {
|
|
4261
4280
|
Wr(e, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
4262
4281
|
}
|
|
4263
|
-
function
|
|
4282
|
+
function qt(e, t, r) {
|
|
4264
4283
|
const i = e.slice();
|
|
4265
4284
|
return i[53] = t[r], i;
|
|
4266
4285
|
}
|
|
4267
|
-
function
|
|
4286
|
+
function ho(e) {
|
|
4268
4287
|
let t, r = (
|
|
4269
4288
|
/*displayMessages*/
|
|
4270
|
-
e[3].length > 0 &&
|
|
4289
|
+
e[3].length > 0 && Yt(e)
|
|
4271
4290
|
);
|
|
4272
4291
|
return {
|
|
4273
4292
|
c() {
|
|
@@ -4278,10 +4297,10 @@ function fo(e) {
|
|
|
4278
4297
|
},
|
|
4279
4298
|
p(i, n) {
|
|
4280
4299
|
/*displayMessages*/
|
|
4281
|
-
i[3].length > 0 ? r ? r.p(i, n) : (r =
|
|
4300
|
+
i[3].length > 0 ? r ? r.p(i, n) : (r = Yt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4282
4301
|
},
|
|
4283
4302
|
d(i) {
|
|
4284
|
-
i &&
|
|
4303
|
+
i && he(t), r && r.d();
|
|
4285
4304
|
}
|
|
4286
4305
|
};
|
|
4287
4306
|
}
|
|
@@ -4289,12 +4308,12 @@ function co(e) {
|
|
|
4289
4308
|
let t;
|
|
4290
4309
|
return {
|
|
4291
4310
|
c() {
|
|
4292
|
-
t = J("cashier-spinner"),
|
|
4311
|
+
t = J("cashier-spinner"), ke(
|
|
4293
4312
|
t,
|
|
4294
4313
|
"clientstylingurl",
|
|
4295
4314
|
/*clientstylingurl*/
|
|
4296
4315
|
e[1]
|
|
4297
|
-
),
|
|
4316
|
+
), ke(
|
|
4298
4317
|
t,
|
|
4299
4318
|
"clientstyling",
|
|
4300
4319
|
/*clientstyling*/
|
|
@@ -4306,13 +4325,13 @@ function co(e) {
|
|
|
4306
4325
|
},
|
|
4307
4326
|
p(r, i) {
|
|
4308
4327
|
i[0] & /*clientstylingurl*/
|
|
4309
|
-
2 &&
|
|
4328
|
+
2 && ke(
|
|
4310
4329
|
t,
|
|
4311
4330
|
"clientstylingurl",
|
|
4312
4331
|
/*clientstylingurl*/
|
|
4313
4332
|
r[1]
|
|
4314
4333
|
), i[0] & /*clientstyling*/
|
|
4315
|
-
1 &&
|
|
4334
|
+
1 && ke(
|
|
4316
4335
|
t,
|
|
4317
4336
|
"clientstyling",
|
|
4318
4337
|
/*clientstyling*/
|
|
@@ -4320,29 +4339,29 @@ function co(e) {
|
|
|
4320
4339
|
);
|
|
4321
4340
|
},
|
|
4322
4341
|
d(r) {
|
|
4323
|
-
r &&
|
|
4342
|
+
r && he(t);
|
|
4324
4343
|
}
|
|
4325
4344
|
};
|
|
4326
4345
|
}
|
|
4327
|
-
function
|
|
4346
|
+
function Yt(e) {
|
|
4328
4347
|
let t, r, i, n, o, s, a, u = (
|
|
4329
4348
|
/*$_*/
|
|
4330
4349
|
e[8]("verificationsRequired") + ""
|
|
4331
|
-
),
|
|
4350
|
+
), f, h, p, v, y, _, c, L, k = wt(
|
|
4332
4351
|
/*displayMessages*/
|
|
4333
4352
|
e[3]
|
|
4334
|
-
),
|
|
4335
|
-
for (let
|
|
4336
|
-
|
|
4353
|
+
), H = [];
|
|
4354
|
+
for (let O = 0; O < k.length; O += 1)
|
|
4355
|
+
H[O] = Zt(qt(e, k, O));
|
|
4337
4356
|
let T = (
|
|
4338
4357
|
/*videoExists*/
|
|
4339
4358
|
e[6] && Jt(e)
|
|
4340
4359
|
);
|
|
4341
4360
|
return {
|
|
4342
4361
|
c() {
|
|
4343
|
-
t = J("div"), r =
|
|
4344
|
-
for (let
|
|
4345
|
-
|
|
4362
|
+
t = J("div"), r = Re("svg"), i = Re("path"), n = Re("path"), o = Re("path"), s = Ee(), a = J("p"), f = tr(u), h = Ee(), p = J("span"), p.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>', v = Ee(), y = J("div");
|
|
4363
|
+
for (let O = 0; O < H.length; O += 1)
|
|
4364
|
+
H[O].c();
|
|
4346
4365
|
_ = Ee(), T && T.c(), D(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"), D(i, "stroke", "#6E738F"), D(i, "stroke-width", "2"), D(i, "stroke-linecap", "round"), D(i, "stroke-linejoin", "round"), D(n, "d", "M12 8V12"), D(n, "stroke", "#6E738F"), D(n, "stroke-width", "2"), D(n, "stroke-linecap", "round"), D(n, "stroke-linejoin", "round"), D(o, "d", "M12 16H12.01"), D(o, "stroke", "#6E738F"), D(o, "stroke-width", "2"), D(o, "stroke-linecap", "round"), D(o, "stroke-linejoin", "round"), D(r, "width", "24"), D(r, "height", "24"), D(r, "viewBox", "0 0 24 24"), D(r, "fill", "none"), D(r, "xmlns", "http://www.w3.org/2000/svg"), D(p, "class", "CashierVerificationChevron"), le(
|
|
4347
4366
|
p,
|
|
4348
4367
|
"ShowVerifications",
|
|
@@ -4355,10 +4374,10 @@ function qt(e) {
|
|
|
4355
4374
|
e[4]
|
|
4356
4375
|
);
|
|
4357
4376
|
},
|
|
4358
|
-
m(
|
|
4359
|
-
ce(
|
|
4360
|
-
for (let
|
|
4361
|
-
P
|
|
4377
|
+
m(O, I) {
|
|
4378
|
+
ce(O, t, I), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, f), W(t, h), W(t, p), ce(O, v, I), ce(O, y, I);
|
|
4379
|
+
for (let P = 0; P < H.length; P += 1)
|
|
4380
|
+
H[P] && H[P].m(y, null);
|
|
4362
4381
|
W(y, _), T && T.m(y, null), c || (L = er(
|
|
4363
4382
|
t,
|
|
4364
4383
|
"click",
|
|
@@ -4366,41 +4385,41 @@ function qt(e) {
|
|
|
4366
4385
|
e[9]
|
|
4367
4386
|
), c = !0);
|
|
4368
4387
|
},
|
|
4369
|
-
p(
|
|
4388
|
+
p(O, I) {
|
|
4370
4389
|
if (I[0] & /*$_*/
|
|
4371
4390
|
256 && u !== (u = /*$_*/
|
|
4372
|
-
|
|
4391
|
+
O[8]("verificationsRequired") + "") && Kt(f, u), I[0] & /*allVerificationsVisible*/
|
|
4373
4392
|
16 && le(
|
|
4374
4393
|
p,
|
|
4375
4394
|
"ShowVerifications",
|
|
4376
4395
|
/*allVerificationsVisible*/
|
|
4377
|
-
|
|
4396
|
+
O[4]
|
|
4378
4397
|
), I[0] & /*displayMessages*/
|
|
4379
4398
|
8) {
|
|
4380
|
-
|
|
4399
|
+
k = wt(
|
|
4381
4400
|
/*displayMessages*/
|
|
4382
|
-
|
|
4401
|
+
O[3]
|
|
4383
4402
|
);
|
|
4384
|
-
let
|
|
4385
|
-
for (
|
|
4386
|
-
const X =
|
|
4387
|
-
P
|
|
4403
|
+
let P;
|
|
4404
|
+
for (P = 0; P < k.length; P += 1) {
|
|
4405
|
+
const X = qt(O, k, P);
|
|
4406
|
+
H[P] ? H[P].p(X, I) : (H[P] = Zt(X), H[P].c(), H[P].m(y, _));
|
|
4388
4407
|
}
|
|
4389
|
-
for (;
|
|
4390
|
-
P
|
|
4391
|
-
|
|
4408
|
+
for (; P < H.length; P += 1)
|
|
4409
|
+
H[P].d(1);
|
|
4410
|
+
H.length = k.length;
|
|
4392
4411
|
}
|
|
4393
4412
|
/*videoExists*/
|
|
4394
|
-
|
|
4413
|
+
O[6] ? T ? T.p(O, I) : (T = Jt(O), T.c(), T.m(y, null)) : T && (T.d(1), T = null), I[0] & /*allVerificationsVisible*/
|
|
4395
4414
|
16 && le(
|
|
4396
4415
|
y,
|
|
4397
4416
|
"ShowVerifications",
|
|
4398
4417
|
/*allVerificationsVisible*/
|
|
4399
|
-
|
|
4418
|
+
O[4]
|
|
4400
4419
|
);
|
|
4401
4420
|
},
|
|
4402
|
-
d(
|
|
4403
|
-
|
|
4421
|
+
d(O) {
|
|
4422
|
+
O && (he(t), he(v), he(y)), Yr(H, O), T && T.d(), c = !1, L();
|
|
4404
4423
|
}
|
|
4405
4424
|
};
|
|
4406
4425
|
}
|
|
@@ -4422,7 +4441,7 @@ function Zt(e) {
|
|
|
4422
4441
|
s[53] + "") && (n.innerHTML = o);
|
|
4423
4442
|
},
|
|
4424
4443
|
d(s) {
|
|
4425
|
-
s &&
|
|
4444
|
+
s && he(t);
|
|
4426
4445
|
}
|
|
4427
4446
|
};
|
|
4428
4447
|
}
|
|
@@ -4440,27 +4459,27 @@ function Jt(e) {
|
|
|
4440
4459
|
e[5]
|
|
4441
4460
|
), D(t, "class", "CashierVerificationVideo Test");
|
|
4442
4461
|
},
|
|
4443
|
-
m(
|
|
4444
|
-
ce(
|
|
4462
|
+
m(f, h) {
|
|
4463
|
+
ce(f, t, h), W(t, r), W(t, i), W(t, n), W(n, s), a || (u = er(
|
|
4445
4464
|
t,
|
|
4446
4465
|
"click",
|
|
4447
4466
|
/*showVideo*/
|
|
4448
4467
|
e[10]
|
|
4449
4468
|
), a = !0);
|
|
4450
4469
|
},
|
|
4451
|
-
p(
|
|
4452
|
-
|
|
4470
|
+
p(f, h) {
|
|
4471
|
+
h[0] & /*$_*/
|
|
4453
4472
|
256 && o !== (o = /*$_*/
|
|
4454
|
-
|
|
4473
|
+
f[8]("verification.video.how-to") + "") && Kt(s, o), h[0] & /*desktopView*/
|
|
4455
4474
|
32 && le(
|
|
4456
4475
|
n,
|
|
4457
4476
|
"CashierVerificationVideoLinkDesktop",
|
|
4458
4477
|
/*desktopView*/
|
|
4459
|
-
|
|
4478
|
+
f[5]
|
|
4460
4479
|
);
|
|
4461
4480
|
},
|
|
4462
|
-
d(
|
|
4463
|
-
|
|
4481
|
+
d(f) {
|
|
4482
|
+
f && he(t), a = !1, u();
|
|
4464
4483
|
}
|
|
4465
4484
|
};
|
|
4466
4485
|
}
|
|
@@ -4476,7 +4495,7 @@ function po(e) {
|
|
|
4476
4495
|
/*displayMessages*/
|
|
4477
4496
|
o[3]
|
|
4478
4497
|
)
|
|
4479
|
-
return
|
|
4498
|
+
return ho;
|
|
4480
4499
|
}
|
|
4481
4500
|
let i = r(e), n = i && i(e);
|
|
4482
4501
|
return {
|
|
@@ -4503,7 +4522,7 @@ function po(e) {
|
|
|
4503
4522
|
i: ge,
|
|
4504
4523
|
o: ge,
|
|
4505
4524
|
d(o) {
|
|
4506
|
-
o &&
|
|
4525
|
+
o && he(t), n && n.d(), e[19](null);
|
|
4507
4526
|
}
|
|
4508
4527
|
};
|
|
4509
4528
|
}
|
|
@@ -4511,15 +4530,15 @@ const mo = "verification_explanation_video_widgets.MP4";
|
|
|
4511
4530
|
function vo(e, t, r) {
|
|
4512
4531
|
let i, n;
|
|
4513
4532
|
_t(e, jn, (l) => r(8, i = l)), _t(e, zn, (l) => r(27, n = l)), Xt.extend(lo);
|
|
4514
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl:
|
|
4515
|
-
var
|
|
4533
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { session: h = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, _, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(), k, H, T, O = !1, I = !0, P = !1, X = "", te = !1, Q = window.navigator.userAgent;
|
|
4534
|
+
var R;
|
|
4516
4535
|
(function(l) {
|
|
4517
4536
|
l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
|
|
4518
|
-
})(
|
|
4519
|
-
var
|
|
4537
|
+
})(R || (R = {}));
|
|
4538
|
+
var M;
|
|
4520
4539
|
(function(l) {
|
|
4521
4540
|
l.Requested = "Requested";
|
|
4522
|
-
})(
|
|
4541
|
+
})(M || (M = {}));
|
|
4523
4542
|
var j;
|
|
4524
4543
|
(function(l) {
|
|
4525
4544
|
l.Unknown = "Unknown", l.Unverified = "Unverified", l.InProgress = "InProgress", l.Failed = "Failed", l.Verified = "Verified", l.Referred = "Referred", l.True = "True", l.False = "False", l.AwaitingForResponse = "AwaitingForResponse";
|
|
@@ -4543,19 +4562,19 @@ function vo(e, t, r) {
|
|
|
4543
4562
|
if (l)
|
|
4544
4563
|
return fetch(l).then((x) => x.json()).then((x) => {
|
|
4545
4564
|
Object.keys(x).forEach((C) => {
|
|
4546
|
-
|
|
4565
|
+
Rt(C, x[C]);
|
|
4547
4566
|
});
|
|
4548
4567
|
}).catch((x) => {
|
|
4549
4568
|
console.log(x);
|
|
4550
4569
|
});
|
|
4551
4570
|
};
|
|
4552
4571
|
Object.keys(Ut).forEach((l) => {
|
|
4553
|
-
|
|
4572
|
+
Rt(l, Ut[l]);
|
|
4554
4573
|
});
|
|
4555
4574
|
const b = () => {
|
|
4556
4575
|
$n(s);
|
|
4557
4576
|
}, m = () => {
|
|
4558
|
-
r(18,
|
|
4577
|
+
r(18, H = N());
|
|
4559
4578
|
const l = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
|
|
4560
4579
|
x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4561
4580
|
const C = {
|
|
@@ -4565,14 +4584,14 @@ function vo(e, t, r) {
|
|
|
4565
4584
|
};
|
|
4566
4585
|
r(7, te = !0), fetch(l, C).then((z) => z.json()).then((z) => {
|
|
4567
4586
|
const ue = w(z == null ? void 0 : z.Verifications);
|
|
4568
|
-
|
|
4587
|
+
k = V(ue), k.VerificationStatuses.forEach((Ne) => {
|
|
4569
4588
|
Ne.VerificationUrlType !== "Widget" && c.add(Ne.Vendor);
|
|
4570
4589
|
}), r(3, T = pe());
|
|
4571
4590
|
}).finally(() => r(7, te = !1));
|
|
4572
4591
|
}, w = (l) => l ? l.sort((x, C) => new Date(C.Created).getTime() - new Date(x.Created).getTime()) : [], S = () => {
|
|
4573
4592
|
n && m();
|
|
4574
4593
|
}, N = () => {
|
|
4575
|
-
let l = (
|
|
4594
|
+
let l = (h || n).split(".")[1];
|
|
4576
4595
|
if (l) {
|
|
4577
4596
|
let x = JSON.parse(atob(l));
|
|
4578
4597
|
return x.cdn + "/cashier/operator-assets/" + (x == null ? void 0 : x.mid);
|
|
@@ -4611,10 +4630,10 @@ function vo(e, t, r) {
|
|
|
4611
4630
|
VerificationUrl: (ue = C.FlowInfo) == null ? void 0 : ue.Url
|
|
4612
4631
|
};
|
|
4613
4632
|
}), Z = (l) => l.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || ae(x) || re(x) : !1), ae = (l) => {
|
|
4614
|
-
const x = l.Documents && l.VendorName ===
|
|
4633
|
+
const x = l.Documents && l.VendorName === R.Manual, C = l.Documents && l.Documents.some((z) => z.Status === M.Requested);
|
|
4615
4634
|
return x && C;
|
|
4616
|
-
}, re = (l) => l.VendorName ===
|
|
4617
|
-
switch (
|
|
4635
|
+
}, re = (l) => l.VendorName === R.ShuftiPro && l.Status === j.Referred, pe = () => {
|
|
4636
|
+
switch (k.VerificationSummaryStatus) {
|
|
4618
4637
|
case j.InProgress:
|
|
4619
4638
|
const l = [];
|
|
4620
4639
|
return c.forEach((x) => {
|
|
@@ -4626,16 +4645,16 @@ function vo(e, t, r) {
|
|
|
4626
4645
|
return [i("verification.message.failed")];
|
|
4627
4646
|
}
|
|
4628
4647
|
}, ie = (l) => {
|
|
4629
|
-
const x =
|
|
4630
|
-
if (l ===
|
|
4631
|
-
return
|
|
4648
|
+
const x = k.VerificationStatuses.filter((C) => C.Vendor === l);
|
|
4649
|
+
if (l === R.ShuftiPro)
|
|
4650
|
+
return q(x);
|
|
4632
4651
|
{
|
|
4633
4652
|
const C = i("verification.idenfy.link-name"), z = {
|
|
4634
4653
|
link: `<a href="${x[0].VerificationUrl}" target="_blank">${C}</a>`
|
|
4635
4654
|
};
|
|
4636
4655
|
return i("verification.idenfy.in-progress", { values: z });
|
|
4637
4656
|
}
|
|
4638
|
-
},
|
|
4657
|
+
}, q = (l) => {
|
|
4639
4658
|
const x = [], C = {}, z = [
|
|
4640
4659
|
se.Biometric,
|
|
4641
4660
|
se.Documents,
|
|
@@ -4647,19 +4666,19 @@ function vo(e, t, r) {
|
|
|
4647
4666
|
let ue = x.every((ve) => L.has(ve)), Ne = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
|
|
4648
4667
|
return ue ? i("verification.shuftipro.validations-started") : i(Ne, { values: C });
|
|
4649
4668
|
}, K = (l, x) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${x}</a>`, me = (l) => i(`verification.shuftipro.link-name.${l}`), ye = () => {
|
|
4650
|
-
r(4,
|
|
4669
|
+
r(4, O = !O);
|
|
4651
4670
|
}, Nr = () => {
|
|
4652
4671
|
r(5, I = !so(Q));
|
|
4653
|
-
},
|
|
4654
|
-
X =
|
|
4672
|
+
}, kr = () => {
|
|
4673
|
+
X = H + "/" + s + "/" + mo;
|
|
4655
4674
|
try {
|
|
4656
4675
|
fetch(X, { method: "HEAD" }).then((l) => {
|
|
4657
|
-
r(6,
|
|
4676
|
+
r(6, P = l.ok);
|
|
4658
4677
|
});
|
|
4659
4678
|
} catch (l) {
|
|
4660
|
-
r(6,
|
|
4679
|
+
r(6, P = !1);
|
|
4661
4680
|
}
|
|
4662
|
-
},
|
|
4681
|
+
}, Rr = () => {
|
|
4663
4682
|
window.dispatchEvent(new CustomEvent(
|
|
4664
4683
|
"modal-update",
|
|
4665
4684
|
{
|
|
@@ -4668,42 +4687,42 @@ function vo(e, t, r) {
|
|
|
4668
4687
|
));
|
|
4669
4688
|
};
|
|
4670
4689
|
function Ur(l) {
|
|
4671
|
-
|
|
4690
|
+
qr[l ? "unshift" : "push"](() => {
|
|
4672
4691
|
_ = l, r(2, _);
|
|
4673
4692
|
});
|
|
4674
4693
|
}
|
|
4675
4694
|
return e.$$set = (l) => {
|
|
4676
|
-
"endpoint" in l && r(11, o = l.endpoint), "lang" in l && r(12, s = l.lang), "translationurl" in l && r(13, a = l.translationurl), "clientstyling" in l && r(0, u = l.clientstyling), "clientstylingurl" in l && r(1,
|
|
4695
|
+
"endpoint" in l && r(11, o = l.endpoint), "lang" in l && r(12, s = l.lang), "translationurl" in l && r(13, a = l.translationurl), "clientstyling" in l && r(0, u = l.clientstyling), "clientstylingurl" in l && r(1, f = l.clientstylingurl), "session" in l && r(14, h = l.session), "customerid" in l && r(15, p = l.customerid), "playersession" in l && r(16, v = l.playersession), "mbsource" in l && r(17, y = l.mbsource);
|
|
4677
4696
|
}, e.$$.update = () => {
|
|
4678
4697
|
e.$$.dirty[0] & /*lang*/
|
|
4679
4698
|
4096 && s && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
4680
|
-
83968 && o &&
|
|
4681
|
-
83968 && o && !
|
|
4699
|
+
83968 && o && h && v && m(), e.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
4700
|
+
83968 && o && !h && v && S(), e.$$.dirty[0] & /*translationurl*/
|
|
4682
4701
|
8192 && a && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4683
4702
|
5 && u && _ && Zr(_, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4684
|
-
6 &&
|
|
4685
|
-
262144 &&
|
|
4703
|
+
6 && f && _ && Jr(_, f), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4704
|
+
262144 && H && kr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4686
4705
|
131076 && y && _ && Qr(_, `${y}.Style`);
|
|
4687
4706
|
}, [
|
|
4688
4707
|
u,
|
|
4689
|
-
|
|
4708
|
+
f,
|
|
4690
4709
|
_,
|
|
4691
4710
|
T,
|
|
4692
|
-
H,
|
|
4693
|
-
I,
|
|
4694
4711
|
O,
|
|
4712
|
+
I,
|
|
4713
|
+
P,
|
|
4695
4714
|
te,
|
|
4696
4715
|
i,
|
|
4697
4716
|
ye,
|
|
4698
|
-
|
|
4717
|
+
Rr,
|
|
4699
4718
|
o,
|
|
4700
4719
|
s,
|
|
4701
4720
|
a,
|
|
4702
|
-
|
|
4721
|
+
h,
|
|
4703
4722
|
p,
|
|
4704
4723
|
v,
|
|
4705
4724
|
y,
|
|
4706
|
-
|
|
4725
|
+
H,
|
|
4707
4726
|
Ur
|
|
4708
4727
|
];
|
|
4709
4728
|
}
|
|
@@ -4726,7 +4745,7 @@ class go extends jr {
|
|
|
4726
4745
|
playersession: 16,
|
|
4727
4746
|
mbsource: 17
|
|
4728
4747
|
},
|
|
4729
|
-
|
|
4748
|
+
fo,
|
|
4730
4749
|
[-1, -1]
|
|
4731
4750
|
);
|
|
4732
4751
|
}
|