@everymatrix/cashier-verifications 1.85.21 → 1.85.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierModal-B-ktO0iW.cjs +1 -0
- package/components/{CashierModal-DHrU_qq9.js → CashierModal-DozCEzqK.js} +34 -32
- package/components/{CashierModal-BDBIK7k-.js → CashierModal-M1bz2O3j.js} +69 -67
- package/components/{CashierVerifications-DE0h9TPw.cjs → CashierVerifications-BZ9HMYxv.cjs} +4 -4
- package/components/{CashierVerifications-DaY_Rgzb.js → CashierVerifications-CmJxpNZF.js} +263 -282
- package/components/{CashierVerifications-B6TXu7Ec.js → CashierVerifications-DArnSBUX.js} +212 -231
- 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
- package/components/CashierModal-C1yS-VWO.cjs +0 -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 fe, t as le, g as ce, h as J, j as D, k as _t, o as Xr, l 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 fe, t as le, g as ce, h as J, j as D, k as _t, o as Xr, l as Yr, m as Re, p as wt, q as qr, u as Kt, v as W, w as er, x as ke, y as Ee, z as tr, A as Zr, B as Jr, C as Qr } from "./CashierModal-M1bz2O3j.js";
|
|
2
2
|
const xe = [];
|
|
3
3
|
function Kr(e, t) {
|
|
4
4
|
return {
|
|
@@ -31,7 +31,7 @@ function Ce(e, t = ge) {
|
|
|
31
31
|
}
|
|
32
32
|
return { set: n, update: o, subscribe: s };
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function He(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");
|
|
@@ -83,12 +83,12 @@ function oi(e) {
|
|
|
83
83
|
function si(e) {
|
|
84
84
|
return Array.isArray(e) ? [] : {};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Me(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 Me(i, r);
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
function ui(e, t) {
|
|
@@ -118,15 +118,15 @@ function hi(e, t) {
|
|
|
118
118
|
function fi(e, t, r) {
|
|
119
119
|
var i = {};
|
|
120
120
|
return r.isMergeableObject(e) && St(e).forEach(function(n) {
|
|
121
|
-
i[n] =
|
|
121
|
+
i[n] = Me(e[n], r);
|
|
122
122
|
}), St(t).forEach(function(n) {
|
|
123
|
-
hi(e, n) || (ir(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] =
|
|
123
|
+
hi(e, n) || (ir(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Me(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 = Me;
|
|
128
128
|
var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
|
|
129
|
-
return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) :
|
|
129
|
+
return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Me(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 Ye(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);
|
|
@@ -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 Hi(e) {
|
|
287
287
|
var t = {};
|
|
288
288
|
return e.replace(Ti, function(r) {
|
|
289
289
|
var i = r.length;
|
|
@@ -385,7 +385,7 @@ var F = function() {
|
|
|
385
385
|
}, F.apply(this, arguments);
|
|
386
386
|
};
|
|
387
387
|
var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
388
|
-
function
|
|
388
|
+
function Pi(e) {
|
|
389
389
|
if (e.length === 0)
|
|
390
390
|
throw new Error("Number skeleton cannot be empty");
|
|
391
391
|
for (var t = e.split(Oi).filter(function(v) {
|
|
@@ -406,7 +406,7 @@ function Hi(e) {
|
|
|
406
406
|
function Ai(e) {
|
|
407
407
|
return e.replace(/^(.*?)-/, "");
|
|
408
408
|
}
|
|
409
|
-
var
|
|
409
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
|
410
410
|
function Ot(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) {
|
|
@@ -453,7 +453,7 @@ function vr(e) {
|
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function Bi(e) {
|
|
457
457
|
var t;
|
|
458
458
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
459
459
|
notation: "engineering"
|
|
@@ -467,7 +467,7 @@ function Mi(e) {
|
|
|
467
467
|
}
|
|
468
468
|
return t;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Pt(e) {
|
|
471
471
|
var t = {}, r = vr(e);
|
|
472
472
|
return r || t;
|
|
473
473
|
}
|
|
@@ -507,12 +507,12 @@ function Ci(e) {
|
|
|
507
507
|
continue;
|
|
508
508
|
case "scientific":
|
|
509
509
|
t = F(F(F({}, t), { notation: "scientific" }), n.options.reduce(function(u, h) {
|
|
510
|
-
return F(F({}, u),
|
|
510
|
+
return F(F({}, u), Pt(h));
|
|
511
511
|
}, {}));
|
|
512
512
|
continue;
|
|
513
513
|
case "engineering":
|
|
514
514
|
t = F(F(F({}, t), { notation: "engineering" }), n.options.reduce(function(u, h) {
|
|
515
|
-
return F(F({}, u),
|
|
515
|
+
return F(F({}, u), Pt(h));
|
|
516
516
|
}, {}));
|
|
517
517
|
continue;
|
|
518
518
|
case "notation-simple":
|
|
@@ -557,7 +557,7 @@ 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(
|
|
560
|
+
n.options[0].replace(Mi, function(u, h, f, p, v, y) {
|
|
561
561
|
if (h)
|
|
562
562
|
t.minimumIntegerDigits = f.length;
|
|
563
563
|
else {
|
|
@@ -574,10 +574,10 @@ function Ci(e) {
|
|
|
574
574
|
t.minimumIntegerDigits = n.stem.length;
|
|
575
575
|
continue;
|
|
576
576
|
}
|
|
577
|
-
if (
|
|
577
|
+
if (Ht.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(
|
|
580
|
+
n.stem.replace(Ht, function(u, h, f, p, v, y) {
|
|
581
581
|
return f === "*" ? t.minimumFractionDigits = h.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && y ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + y.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
582
582
|
});
|
|
583
583
|
var o = n.options[0];
|
|
@@ -590,7 +590,7 @@ function Ci(e) {
|
|
|
590
590
|
}
|
|
591
591
|
var s = vr(n.stem);
|
|
592
592
|
s && (t = F(F({}, t), s));
|
|
593
|
-
var a =
|
|
593
|
+
var a = Bi(n.stem);
|
|
594
594
|
a && (t = F(F({}, t), a));
|
|
595
595
|
}
|
|
596
596
|
return t;
|
|
@@ -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 M(e, t) {
|
|
2053
2053
|
return { start: e, end: t };
|
|
2054
2054
|
}
|
|
2055
|
-
var
|
|
2055
|
+
var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!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 = Ri ? (
|
|
2065
2065
|
// Native
|
|
2066
2066
|
function(t, r, i) {
|
|
2067
2067
|
return t.startsWith(r, i);
|
|
@@ -2071,7 +2071,7 @@ var At = ki ? (
|
|
|
2071
2071
|
function(t, r, i) {
|
|
2072
2072
|
return t.slice(i, i + r.length) === r;
|
|
2073
2073
|
}
|
|
2074
|
-
), ut =
|
|
2074
|
+
), ut = ki ? 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 = ki ? (
|
|
|
2083
2083
|
}
|
|
2084
2084
|
return i;
|
|
2085
2085
|
}
|
|
2086
|
-
),
|
|
2086
|
+
), Mt = (
|
|
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 Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2139
2139
|
lt = function(t, r) {
|
|
2140
2140
|
var i;
|
|
2141
|
-
|
|
2142
|
-
var n =
|
|
2141
|
+
Bt.lastIndex = r;
|
|
2142
|
+
var n = Bt.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 Yi = (
|
|
2156
2156
|
/** @class */
|
|
2157
2157
|
function() {
|
|
2158
2158
|
function e(t, r) {
|
|
@@ -2177,12 +2177,12 @@ var qi = (
|
|
|
2177
2177
|
var a = this.clonePosition();
|
|
2178
2178
|
this.bump(), n.push({
|
|
2179
2179
|
type: U.pound,
|
|
2180
|
-
location:
|
|
2180
|
+
location: M(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,
|
|
2185
|
+
return this.error(A.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
|
|
2186
2186
|
} else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
|
|
2187
2187
|
var s = this.parseTag(t, r);
|
|
2188
2188
|
if (s.err)
|
|
@@ -2206,7 +2206,7 @@ var qi = (
|
|
|
2206
2206
|
val: {
|
|
2207
2207
|
type: U.literal,
|
|
2208
2208
|
value: "<".concat(n, "/>"),
|
|
2209
|
-
location:
|
|
2209
|
+
location: M(i, this.clonePosition())
|
|
2210
2210
|
},
|
|
2211
2211
|
err: null
|
|
2212
2212
|
};
|
|
@@ -2217,21 +2217,21 @@ var qi = (
|
|
|
2217
2217
|
var s = o.val, a = this.clonePosition();
|
|
2218
2218
|
if (this.bumpIf("</")) {
|
|
2219
2219
|
if (this.isEOF() || !ht(this.char()))
|
|
2220
|
-
return this.error(A.INVALID_TAG,
|
|
2220
|
+
return this.error(A.INVALID_TAG, M(a, this.clonePosition()));
|
|
2221
2221
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
2222
|
-
return n !== h ? this.error(A.UNMATCHED_CLOSING_TAG,
|
|
2222
|
+
return n !== h ? this.error(A.UNMATCHED_CLOSING_TAG, M(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: M(i, this.clonePosition())
|
|
2228
2228
|
},
|
|
2229
2229
|
err: null
|
|
2230
|
-
} : this.error(A.INVALID_TAG,
|
|
2230
|
+
} : this.error(A.INVALID_TAG, M(a, this.clonePosition())));
|
|
2231
2231
|
} else
|
|
2232
|
-
return this.error(A.UNCLOSED_TAG,
|
|
2232
|
+
return this.error(A.UNCLOSED_TAG, M(i, this.clonePosition()));
|
|
2233
2233
|
} else
|
|
2234
|
-
return this.error(A.INVALID_TAG,
|
|
2234
|
+
return this.error(A.INVALID_TAG, M(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 qi = (
|
|
|
2256
2256
|
}
|
|
2257
2257
|
break;
|
|
2258
2258
|
}
|
|
2259
|
-
var u =
|
|
2259
|
+
var u = M(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
|
+
!qi(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 qi = (
|
|
|
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, M(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, M(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, M(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, M(i, this.clonePosition()));
|
|
2317
2317
|
switch (this.char()) {
|
|
2318
2318
|
case 125:
|
|
2319
2319
|
return this.bump(), {
|
|
@@ -2321,25 +2321,25 @@ var qi = (
|
|
|
2321
2321
|
type: U.argument,
|
|
2322
2322
|
// value does not include the opening and closing braces.
|
|
2323
2323
|
value: n,
|
|
2324
|
-
location:
|
|
2324
|
+
location: M(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, M(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, M(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 = M(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, M(s, u));
|
|
2343
2343
|
case "number":
|
|
2344
2344
|
case "date":
|
|
2345
2345
|
case "time": {
|
|
@@ -2352,14 +2352,14 @@ var qi = (
|
|
|
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 =
|
|
2355
|
+
return this.error(A.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
|
|
2356
|
+
var y = M(f, this.clonePosition());
|
|
2357
2357
|
h = { style: v, styleLocation: y };
|
|
2358
2358
|
}
|
|
2359
2359
|
var _ = this.tryParseArgumentClose(n);
|
|
2360
2360
|
if (_.err)
|
|
2361
2361
|
return _;
|
|
2362
|
-
var c =
|
|
2362
|
+
var c = M(n, this.clonePosition());
|
|
2363
2363
|
if (h && At(h == null ? void 0 : h.style, "::", 0)) {
|
|
2364
2364
|
var L = Wi(h.style.slice(2));
|
|
2365
2365
|
if (a === "number") {
|
|
@@ -2371,16 +2371,16 @@ var qi = (
|
|
|
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 R = L;
|
|
2375
|
+
this.locale && (R = Ii(L, this.locale));
|
|
2376
2376
|
var v = {
|
|
2377
2377
|
type: we.dateTime,
|
|
2378
|
-
pattern:
|
|
2378
|
+
pattern: R,
|
|
2379
2379
|
location: h.styleLocation,
|
|
2380
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2381
|
-
},
|
|
2380
|
+
parsedOptions: this.shouldParseSkeletons ? Hi(R) : {}
|
|
2381
|
+
}, P = a === "date" ? U.date : U.time;
|
|
2382
2382
|
return {
|
|
2383
|
-
val: { type:
|
|
2383
|
+
val: { type: P, value: i, location: c, style: v },
|
|
2384
2384
|
err: null
|
|
2385
2385
|
};
|
|
2386
2386
|
}
|
|
@@ -2400,30 +2400,30 @@ var qi = (
|
|
|
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, M(T, $e({}, T)));
|
|
2404
2404
|
this.bumpSpace();
|
|
2405
|
-
var
|
|
2406
|
-
if (a !== "select" &&
|
|
2405
|
+
var H = this.parseIdentifierIfPossible(), I = 0;
|
|
2406
|
+
if (a !== "select" && H.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, M(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(), H = this.parseIdentifierIfPossible(), I = p.val;
|
|
2414
2414
|
}
|
|
2415
|
-
var O = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
2415
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, H);
|
|
2416
2416
|
if (O.err)
|
|
2417
2417
|
return O;
|
|
2418
2418
|
var _ = this.tryParseArgumentClose(n);
|
|
2419
2419
|
if (_.err)
|
|
2420
2420
|
return _;
|
|
2421
|
-
var X =
|
|
2421
|
+
var X = M(n, this.clonePosition());
|
|
2422
2422
|
return a === "select" ? {
|
|
2423
2423
|
val: {
|
|
2424
2424
|
type: U.select,
|
|
2425
2425
|
value: i,
|
|
2426
|
-
options:
|
|
2426
|
+
options: Mt(O.val),
|
|
2427
2427
|
location: X
|
|
2428
2428
|
},
|
|
2429
2429
|
err: null
|
|
@@ -2431,7 +2431,7 @@ var qi = (
|
|
|
2431
2431
|
val: {
|
|
2432
2432
|
type: U.plural,
|
|
2433
2433
|
value: i,
|
|
2434
|
-
options:
|
|
2434
|
+
options: Mt(O.val),
|
|
2435
2435
|
offset: I,
|
|
2436
2436
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2437
2437
|
location: X
|
|
@@ -2440,10 +2440,10 @@ var qi = (
|
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
2442
|
default:
|
|
2443
|
-
return this.error(A.INVALID_ARGUMENT_TYPE,
|
|
2443
|
+
return this.error(A.INVALID_ARGUMENT_TYPE, M(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, M(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 qi = (
|
|
|
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, M(n, this.clonePosition()));
|
|
2456
2456
|
this.bump();
|
|
2457
2457
|
break;
|
|
2458
2458
|
}
|
|
@@ -2482,7 +2482,7 @@ var qi = (
|
|
|
2482
2482
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2483
2483
|
var i = [];
|
|
2484
2484
|
try {
|
|
2485
|
-
i =
|
|
2485
|
+
i = Pi(t);
|
|
2486
2486
|
} catch (n) {
|
|
2487
2487
|
return this.error(A.INVALID_NUMBER_SKELETON, r);
|
|
2488
2488
|
}
|
|
@@ -2503,7 +2503,7 @@ var qi = (
|
|
|
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
|
-
f =
|
|
2506
|
+
f = M(p, this.clonePosition()), h = this.message.slice(p.offset, this.offset());
|
|
2507
2507
|
} else
|
|
2508
2508
|
break;
|
|
2509
2509
|
}
|
|
@@ -2512,7 +2512,7 @@ var qi = (
|
|
|
2512
2512
|
h === "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, M(this.clonePosition(), this.clonePosition()));
|
|
2516
2516
|
var _ = this.parseMessage(t + 1, r, i);
|
|
2517
2517
|
if (_.err)
|
|
2518
2518
|
return _;
|
|
@@ -2523,11 +2523,11 @@ var qi = (
|
|
|
2523
2523
|
h,
|
|
2524
2524
|
{
|
|
2525
2525
|
value: _.val,
|
|
2526
|
-
location:
|
|
2526
|
+
location: M(y, this.clonePosition())
|
|
2527
2527
|
}
|
|
2528
2528
|
]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, f = 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, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, M(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 qi = (
|
|
|
2538
2538
|
else
|
|
2539
2539
|
break;
|
|
2540
2540
|
}
|
|
2541
|
-
var u =
|
|
2541
|
+
var u = M(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;
|
|
@@ -2608,7 +2608,7 @@ var qi = (
|
|
|
2608
2608
|
function ht(e) {
|
|
2609
2609
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2610
2610
|
}
|
|
2611
|
-
function
|
|
2611
|
+
function qi(e) {
|
|
2612
2612
|
return ht(e) || e === 47;
|
|
2613
2613
|
}
|
|
2614
2614
|
function Zi(e) {
|
|
@@ -2631,7 +2631,7 @@ function ft(e) {
|
|
|
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 Yi(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;
|
|
@@ -2642,10 +2642,10 @@ 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 qe = (
|
|
2646
2646
|
/** @class */
|
|
2647
2647
|
function(e) {
|
|
2648
|
-
|
|
2648
|
+
Ye(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 Ye = (
|
|
|
2657
2657
|
), Ct = (
|
|
2658
2658
|
/** @class */
|
|
2659
2659
|
function(e) {
|
|
2660
|
-
|
|
2660
|
+
Ye(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
|
+
}(qe)
|
|
2666
2666
|
), Ki = (
|
|
2667
2667
|
/** @class */
|
|
2668
2668
|
function(e) {
|
|
2669
|
-
|
|
2669
|
+
Ye(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
|
+
}(qe)
|
|
2675
2675
|
), en = (
|
|
2676
2676
|
/** @class */
|
|
2677
2677
|
function(e) {
|
|
2678
|
-
|
|
2678
|
+
Ye(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
|
+
}(qe)
|
|
2684
|
+
), q;
|
|
2685
2685
|
(function(e) {
|
|
2686
2686
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2687
|
-
})(
|
|
2687
|
+
})(q || (q = {}));
|
|
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 !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
|
|
2692
2692
|
}, []);
|
|
2693
2693
|
}
|
|
2694
2694
|
function rn(e) {
|
|
@@ -2698,7 +2698,7 @@ 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: q.literal,
|
|
2702
2702
|
value: e[0].value
|
|
2703
2703
|
}
|
|
2704
2704
|
];
|
|
@@ -2706,14 +2706,14 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2706
2706
|
var f = h[u];
|
|
2707
2707
|
if (Tt(f)) {
|
|
2708
2708
|
a.push({
|
|
2709
|
-
type:
|
|
2709
|
+
type: q.literal,
|
|
2710
2710
|
value: f.value
|
|
2711
2711
|
});
|
|
2712
2712
|
continue;
|
|
2713
2713
|
}
|
|
2714
2714
|
if (Si(f)) {
|
|
2715
2715
|
typeof o == "number" && a.push({
|
|
2716
|
-
type:
|
|
2716
|
+
type: q.literal,
|
|
2717
2717
|
value: r.getNumberFormat(t).format(o)
|
|
2718
2718
|
});
|
|
2719
2719
|
continue;
|
|
@@ -2724,7 +2724,7 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2724
2724
|
var v = n[p];
|
|
2725
2725
|
if (wi(f)) {
|
|
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" ? q.literal : q.object,
|
|
2728
2728
|
value: v
|
|
2729
2729
|
});
|
|
2730
2730
|
continue;
|
|
@@ -2732,7 +2732,7 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2732
2732
|
if (ar(f)) {
|
|
2733
2733
|
var y = typeof f.style == "string" ? i.date[f.style] : st(f.style) ? f.style.parsedOptions : void 0;
|
|
2734
2734
|
a.push({
|
|
2735
|
-
type:
|
|
2735
|
+
type: q.literal,
|
|
2736
2736
|
value: r.getDateTimeFormat(t, y).format(v)
|
|
2737
2737
|
});
|
|
2738
2738
|
continue;
|
|
@@ -2740,7 +2740,7 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2740
2740
|
if (ur(f)) {
|
|
2741
2741
|
var y = typeof f.style == "string" ? i.time[f.style] : st(f.style) ? f.style.parsedOptions : i.time.medium;
|
|
2742
2742
|
a.push({
|
|
2743
|
-
type:
|
|
2743
|
+
type: q.literal,
|
|
2744
2744
|
value: r.getDateTimeFormat(t, y).format(v)
|
|
2745
2745
|
});
|
|
2746
2746
|
continue;
|
|
@@ -2748,7 +2748,7 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2748
2748
|
if (sr(f)) {
|
|
2749
2749
|
var y = typeof f.style == "string" ? i.number[f.style] : cr(f.style) ? f.style.parsedOptions : void 0;
|
|
2750
2750
|
y && y.scale && (v = v * (y.scale || 1)), a.push({
|
|
2751
|
-
type:
|
|
2751
|
+
type: q.literal,
|
|
2752
2752
|
value: r.getNumberFormat(t, y).format(v)
|
|
2753
2753
|
});
|
|
2754
2754
|
continue;
|
|
@@ -2757,12 +2757,12 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2757
2757
|
var _ = f.children, c = f.value, L = n[c];
|
|
2758
2758
|
if (!rn(L))
|
|
2759
2759
|
throw new Ki(c, "function", s);
|
|
2760
|
-
var
|
|
2760
|
+
var R = Fe(_, t, r, i, n, o), P = L(R.map(function(I) {
|
|
2761
2761
|
return I.value;
|
|
2762
2762
|
}));
|
|
2763
|
-
Array.isArray(
|
|
2763
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
|
|
2764
2764
|
return {
|
|
2765
|
-
type: typeof I == "string" ?
|
|
2765
|
+
type: typeof I == "string" ? q.literal : q.object,
|
|
2766
2766
|
value: I
|
|
2767
2767
|
};
|
|
2768
2768
|
}));
|
|
@@ -2778,11 +2778,11 @@ function Fe(e, t, r, i, n, o, s) {
|
|
|
2778
2778
|
var T = f.options["=".concat(v)];
|
|
2779
2779
|
if (!T) {
|
|
2780
2780
|
if (!Intl.PluralRules)
|
|
2781
|
-
throw new
|
|
2781
|
+
throw new qe(`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 = f.options[
|
|
2784
|
+
var H = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
|
|
2785
|
+
T = f.options[H] || f.options.other;
|
|
2786
2786
|
}
|
|
2787
2787
|
if (!T)
|
|
2788
2788
|
throw new Ct(f.value, v, Object.keys(f.options), s);
|
|
@@ -2863,7 +2863,7 @@ var xr = (
|
|
|
2863
2863
|
if (h.length === 1)
|
|
2864
2864
|
return h[0].value;
|
|
2865
2865
|
var f = h.reduce(function(p, v) {
|
|
2866
|
-
return !p.length || v.type !==
|
|
2866
|
+
return !p.length || v.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
|
|
2867
2867
|
}, []);
|
|
2868
2868
|
return f.length <= 1 ? f[0] || "" : f;
|
|
2869
2869
|
}, this.formatToParts = function(u) {
|
|
@@ -3020,7 +3020,7 @@ function fn(e) {
|
|
|
3020
3020
|
function wr(e, ...t) {
|
|
3021
3021
|
delete he[e], Ie.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
|
|
3022
3022
|
}
|
|
3023
|
-
|
|
3023
|
+
He(
|
|
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 Pe = {};
|
|
3055
3055
|
function Tr(e) {
|
|
3056
3056
|
if (!ze(e))
|
|
3057
|
-
return e in
|
|
3057
|
+
return e in Pe ? Pe[e] : Promise.resolve();
|
|
3058
3058
|
const t = dn(e);
|
|
3059
|
-
return
|
|
3059
|
+
return Pe[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 Pe[e];
|
|
3067
|
+
}), Pe[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, Hn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (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
|
+
Hn.call(t, r) && Lt(e, r, t[r]);
|
|
3150
3150
|
return e;
|
|
3151
|
-
},
|
|
3151
|
+
}, Pn = (e, t) => wn(e, Sn(t));
|
|
3152
3152
|
let ct;
|
|
3153
3153
|
const We = Ce(null);
|
|
3154
3154
|
function Nt(e) {
|
|
@@ -3178,7 +3178,7 @@ const An = (e) => {
|
|
|
3178
3178
|
});
|
|
3179
3179
|
}
|
|
3180
3180
|
return We.set(e);
|
|
3181
|
-
}, be =
|
|
3181
|
+
}, be = Pn(On({}, We), {
|
|
3182
3182
|
set: An
|
|
3183
3183
|
}), Ze = (e) => {
|
|
3184
3184
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3187,40 +3187,40 @@ const An = (e) => {
|
|
|
3187
3187
|
return n in t ? t[n] : t[n] = e(i);
|
|
3188
3188
|
};
|
|
3189
3189
|
};
|
|
3190
|
-
var
|
|
3190
|
+
var Mn = Object.defineProperty, Xe = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Mn(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
|
+
Hr.call(t, r) && Rt(e, r, t[r]);
|
|
3193
3193
|
if (Xe)
|
|
3194
3194
|
for (var r of Xe(t))
|
|
3195
|
-
Or.call(t, r) &&
|
|
3195
|
+
Or.call(t, r) && Rt(e, r, t[r]);
|
|
3196
3196
|
return e;
|
|
3197
3197
|
}, Oe = (e, t) => {
|
|
3198
3198
|
var r = {};
|
|
3199
3199
|
for (var i in e)
|
|
3200
|
-
|
|
3200
|
+
Hr.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
3203
|
t.indexOf(i) < 0 && Or.call(e, i) && (r[i] = e[i]);
|
|
3204
3204
|
return r;
|
|
3205
3205
|
};
|
|
3206
|
-
const
|
|
3206
|
+
const Be = (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
|
+
}, Bn = Ze(
|
|
3212
3212
|
(e) => {
|
|
3213
3213
|
var t = e, { locale: r, format: i } = t, n = Oe(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 = Be("number", i)), new Intl.NumberFormat(r, n);
|
|
3217
3217
|
}
|
|
3218
3218
|
), Cn = Ze(
|
|
3219
3219
|
(e) => {
|
|
3220
3220
|
var t = e, { locale: r, format: i } = t, n = Oe(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 = Be("date", i) : Object.keys(n).length === 0 && (n = Be("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3224
3224
|
}
|
|
3225
3225
|
), In = Ze(
|
|
3226
3226
|
(e) => {
|
|
@@ -3229,7 +3229,7 @@ const Me = (e, t) => {
|
|
|
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 = Be("time", i) : Object.keys(n).length === 0 && (n = Be("time", "short")), new Intl.DateTimeFormat(r, n);
|
|
3233
3233
|
}
|
|
3234
3234
|
), Dn = (e = {}) => {
|
|
3235
3235
|
var t = e, {
|
|
@@ -3237,7 +3237,7 @@ const Me = (e, t) => {
|
|
|
3237
3237
|
} = t, i = Oe(t, [
|
|
3238
3238
|
"locale"
|
|
3239
3239
|
]);
|
|
3240
|
-
return
|
|
3240
|
+
return Bn(Et({ locale: r }, i));
|
|
3241
3241
|
}, Ln = (e = {}) => {
|
|
3242
3242
|
var t = e, {
|
|
3243
3243
|
locale: r = de()
|
|
@@ -3252,12 +3252,12 @@ const Me = (e, t) => {
|
|
|
3252
3252
|
"locale"
|
|
3253
3253
|
]);
|
|
3254
3254
|
return In(Et({ locale: r }, i));
|
|
3255
|
-
},
|
|
3255
|
+
}, Rn = 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
|
+
), kn = (e, t = {}) => {
|
|
3261
3261
|
var r, i, n, o;
|
|
3262
3262
|
let s = t;
|
|
3263
3263
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -3281,7 +3281,7 @@ const Me = (e, t) => {
|
|
|
3281
3281
|
return f;
|
|
3282
3282
|
let p = f;
|
|
3283
3283
|
try {
|
|
3284
|
-
p =
|
|
3284
|
+
p = Rn(f, 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 Me = (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 = He([be, Ie], () => kn);
|
|
3293
|
+
He([be], () => Un);
|
|
3294
|
+
He([be], () => Vn);
|
|
3295
|
+
He([be], () => Fn);
|
|
3296
|
+
He([be, Ie], () => Gn);
|
|
3297
|
+
function kt(e, t) {
|
|
3298
3298
|
wr(e, t);
|
|
3299
3299
|
}
|
|
3300
3300
|
function $n(e) {
|
|
@@ -3340,25 +3340,6 @@ 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
|
-
hr: {
|
|
3345
|
-
verificationsRequired: "Potrebne su provjere",
|
|
3346
|
-
"verification.video.how-to": "How to verify yourself?",
|
|
3347
|
-
"verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
|
|
3348
|
-
"verification.message.failed": "We apologize, but we were unable to verify your account. Please contact support team",
|
|
3349
|
-
"verification.idenfy.link-name": "link",
|
|
3350
|
-
"verification.idenfy.in-progress": "To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification",
|
|
3351
|
-
"verification.shuftipro.in-progress.Biometric": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.",
|
|
3352
|
-
"verification.shuftipro.in-progress.Biometric.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.",
|
|
3353
|
-
"verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.",
|
|
3354
|
-
"verification.shuftipro.in-progress.Biometric.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.",
|
|
3355
|
-
"verification.shuftipro.in-progress.Documents": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.",
|
|
3356
|
-
"verification.shuftipro.in-progress.Documents.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.",
|
|
3357
|
-
"verification.shuftipro.in-progress.ProofOfAddress": "To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.",
|
|
3358
|
-
"verification.shuftipro.link-name.Biometric": "Biometric",
|
|
3359
|
-
"verification.shuftipro.link-name.Documents": "Documents",
|
|
3360
|
-
"verification.shuftipro.link-name.ProofOfAddress": "Proof Of Address",
|
|
3361
|
-
"verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
|
|
3362
3343
|
}
|
|
3363
3344
|
};
|
|
3364
3345
|
let zn = Ce(null);
|
|
@@ -3434,13 +3415,13 @@ function vt(e, t, r) {
|
|
|
3434
3415
|
function oe(e) {
|
|
3435
3416
|
return typeof e == "function";
|
|
3436
3417
|
}
|
|
3437
|
-
function
|
|
3418
|
+
function Pr(e) {
|
|
3438
3419
|
var t = function(i) {
|
|
3439
3420
|
Error.call(i), i.stack = new Error().stack;
|
|
3440
3421
|
}, r = e(t);
|
|
3441
3422
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3442
3423
|
}
|
|
3443
|
-
var nt =
|
|
3424
|
+
var nt = Pr(function(e) {
|
|
3444
3425
|
return function(r) {
|
|
3445
3426
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3446
3427
|
` + r.map(function(i, n) {
|
|
@@ -3546,7 +3527,7 @@ var Je = function() {
|
|
|
3546
3527
|
return t.closed = !0, t;
|
|
3547
3528
|
}(), e;
|
|
3548
3529
|
}(), Ar = Je.EMPTY;
|
|
3549
|
-
function
|
|
3530
|
+
function Mr(e) {
|
|
3550
3531
|
return e instanceof Je || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
|
|
3551
3532
|
}
|
|
3552
3533
|
function Vt(e) {
|
|
@@ -3565,7 +3546,7 @@ var Wn = {
|
|
|
3565
3546
|
},
|
|
3566
3547
|
delegate: void 0
|
|
3567
3548
|
};
|
|
3568
|
-
function
|
|
3549
|
+
function Yn(e) {
|
|
3569
3550
|
Xn.setTimeout(function() {
|
|
3570
3551
|
throw e;
|
|
3571
3552
|
});
|
|
@@ -3575,11 +3556,11 @@ function Ft() {
|
|
|
3575
3556
|
function je(e) {
|
|
3576
3557
|
e();
|
|
3577
3558
|
}
|
|
3578
|
-
var
|
|
3559
|
+
var Br = function(e) {
|
|
3579
3560
|
Le(t, e);
|
|
3580
3561
|
function t(r) {
|
|
3581
3562
|
var i = e.call(this) || this;
|
|
3582
|
-
return i.isStopped = !1, r ? (i.destination = r,
|
|
3563
|
+
return i.isStopped = !1, r ? (i.destination = r, Mr(r) && r.add(i)) : i.destination = Jn, i;
|
|
3583
3564
|
}
|
|
3584
3565
|
return t.create = function(r, i, n) {
|
|
3585
3566
|
return new bt(r, i, n);
|
|
@@ -3606,7 +3587,7 @@ var Mr = function(e) {
|
|
|
3606
3587
|
this.unsubscribe();
|
|
3607
3588
|
}
|
|
3608
3589
|
}, t;
|
|
3609
|
-
}(Je),
|
|
3590
|
+
}(Je), qn = function() {
|
|
3610
3591
|
function e(t) {
|
|
3611
3592
|
this.partialObserver = t;
|
|
3612
3593
|
}
|
|
@@ -3645,12 +3626,12 @@ var Mr = function(e) {
|
|
|
3645
3626
|
next: r != null ? r : void 0,
|
|
3646
3627
|
error: i != null ? i : void 0,
|
|
3647
3628
|
complete: n != null ? n : void 0
|
|
3648
|
-
} : s = r, o.destination = new
|
|
3629
|
+
} : s = r, o.destination = new qn(s), o;
|
|
3649
3630
|
}
|
|
3650
3631
|
return t;
|
|
3651
|
-
}(
|
|
3632
|
+
}(Br);
|
|
3652
3633
|
function Ve(e) {
|
|
3653
|
-
|
|
3634
|
+
Yn(e);
|
|
3654
3635
|
}
|
|
3655
3636
|
function Zn(e) {
|
|
3656
3637
|
throw e;
|
|
@@ -3741,9 +3722,9 @@ function to(e) {
|
|
|
3741
3722
|
return e && oe(e.next) && oe(e.error) && oe(e.complete);
|
|
3742
3723
|
}
|
|
3743
3724
|
function ro(e) {
|
|
3744
|
-
return e && e instanceof
|
|
3725
|
+
return e && e instanceof Br || to(e) && Mr(e);
|
|
3745
3726
|
}
|
|
3746
|
-
var io =
|
|
3727
|
+
var io = Pr(function(e) {
|
|
3747
3728
|
return function() {
|
|
3748
3729
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
3749
3730
|
};
|
|
@@ -3897,7 +3878,7 @@ if (typeof window != "undefined") {
|
|
|
3897
3878
|
}
|
|
3898
3879
|
};
|
|
3899
3880
|
};
|
|
3900
|
-
customElements.define = e(customElements.define), import("./CashierModal-
|
|
3881
|
+
customElements.define = e(customElements.define), import("./CashierModal-M1bz2O3j.js").then((t) => t.D).then(({ default: t }) => {
|
|
3901
3882
|
!customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
|
|
3902
3883
|
});
|
|
3903
3884
|
}
|
|
@@ -3906,13 +3887,13 @@ var Dr = { exports: {} };
|
|
|
3906
3887
|
(function(r, i) {
|
|
3907
3888
|
e.exports = i();
|
|
3908
3889
|
})(rr, function() {
|
|
3909
|
-
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "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+)?$/,
|
|
3890
|
+
var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", h = "day", f = "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+)?$/, R = /\[([^\]]+)]|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, P = { 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) {
|
|
3910
3891
|
var g = ["th", "st", "nd", "rd"], d = E % 100;
|
|
3911
3892
|
return "[" + E + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3912
3893
|
} }, T = function(E, g, d) {
|
|
3913
3894
|
var b = String(E);
|
|
3914
3895
|
return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(d) + E;
|
|
3915
|
-
},
|
|
3896
|
+
}, H = { s: T, z: function(E) {
|
|
3916
3897
|
var g = -E.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
|
|
3917
3898
|
return (g <= 0 ? "+" : "-") + T(b, 2, "0") + ":" + T(m, 2, "0");
|
|
3918
3899
|
}, m: function E(g, d) {
|
|
@@ -3927,7 +3908,7 @@ var Dr = { exports: {} };
|
|
|
3927
3908
|
}, u: function(E) {
|
|
3928
3909
|
return E === void 0;
|
|
3929
3910
|
} }, I = "en", O = {};
|
|
3930
|
-
O[I] =
|
|
3911
|
+
O[I] = P;
|
|
3931
3912
|
var X = "$isDayjsObject", te = function(E) {
|
|
3932
3913
|
return E instanceof j || !(!E || !E[X]);
|
|
3933
3914
|
}, Q = function E(g, d, b) {
|
|
@@ -3945,14 +3926,14 @@ var Dr = { exports: {} };
|
|
|
3945
3926
|
O[N] = g, m = N;
|
|
3946
3927
|
}
|
|
3947
3928
|
return !b && m && (I = m), m || !b && I;
|
|
3948
|
-
},
|
|
3929
|
+
}, k = function(E, g) {
|
|
3949
3930
|
if (te(E))
|
|
3950
3931
|
return E.clone();
|
|
3951
3932
|
var d = typeof g == "object" ? g : {};
|
|
3952
3933
|
return d.date = E, d.args = arguments, new j(d);
|
|
3953
|
-
},
|
|
3954
|
-
|
|
3955
|
-
return
|
|
3934
|
+
}, B = H;
|
|
3935
|
+
B.l = Q, B.i = te, B.w = function(E, g) {
|
|
3936
|
+
return k(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3956
3937
|
};
|
|
3957
3938
|
var j = function() {
|
|
3958
3939
|
function E(d) {
|
|
@@ -3964,7 +3945,7 @@ var Dr = { exports: {} };
|
|
|
3964
3945
|
var m = b.date, w = b.utc;
|
|
3965
3946
|
if (m === null)
|
|
3966
3947
|
return /* @__PURE__ */ new Date(NaN);
|
|
3967
|
-
if (
|
|
3948
|
+
if (B.u(m))
|
|
3968
3949
|
return /* @__PURE__ */ new Date();
|
|
3969
3950
|
if (m instanceof Date)
|
|
3970
3951
|
return new Date(m);
|
|
@@ -3981,28 +3962,28 @@ var Dr = { exports: {} };
|
|
|
3981
3962
|
var d = this.$d;
|
|
3982
3963
|
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();
|
|
3983
3964
|
}, g.$utils = function() {
|
|
3984
|
-
return
|
|
3965
|
+
return B;
|
|
3985
3966
|
}, g.isValid = function() {
|
|
3986
3967
|
return this.$d.toString() !== c;
|
|
3987
3968
|
}, g.isSame = function(d, b) {
|
|
3988
|
-
var m =
|
|
3969
|
+
var m = k(d);
|
|
3989
3970
|
return this.startOf(b) <= m && m <= this.endOf(b);
|
|
3990
3971
|
}, g.isAfter = function(d, b) {
|
|
3991
|
-
return
|
|
3972
|
+
return k(d) < this.startOf(b);
|
|
3992
3973
|
}, g.isBefore = function(d, b) {
|
|
3993
|
-
return this.endOf(b) <
|
|
3974
|
+
return this.endOf(b) < k(d);
|
|
3994
3975
|
}, g.$g = function(d, b, m) {
|
|
3995
|
-
return
|
|
3976
|
+
return B.u(d) ? this[b] : this.set(m, d);
|
|
3996
3977
|
}, g.unix = function() {
|
|
3997
3978
|
return Math.floor(this.valueOf() / 1e3);
|
|
3998
3979
|
}, g.valueOf = function() {
|
|
3999
3980
|
return this.$d.getTime();
|
|
4000
3981
|
}, g.startOf = function(d, b) {
|
|
4001
|
-
var m = this, w = !!
|
|
4002
|
-
var K =
|
|
3982
|
+
var m = this, w = !!B.u(b) || b, S = B.p(d), N = function(ie, Y) {
|
|
3983
|
+
var K = B.w(m.$u ? Date.UTC(m.$y, Y, ie) : new Date(m.$y, Y, ie), m);
|
|
4003
3984
|
return w ? K : K.endOf(h);
|
|
4004
|
-
}, V = function(ie,
|
|
4005
|
-
return
|
|
3985
|
+
}, V = function(ie, Y) {
|
|
3986
|
+
return B.w(m.toDate()[ie].apply(m.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), m);
|
|
4006
3987
|
}, G = this.$W, $ = this.$M, Z = this.$D, ae = "set" + (this.$u ? "UTC" : "");
|
|
4007
3988
|
switch (S) {
|
|
4008
3989
|
case y:
|
|
@@ -4027,7 +4008,7 @@ var Dr = { exports: {} };
|
|
|
4027
4008
|
}, g.endOf = function(d) {
|
|
4028
4009
|
return this.startOf(d, !1);
|
|
4029
4010
|
}, g.$set = function(d, b) {
|
|
4030
|
-
var m, w =
|
|
4011
|
+
var m, w = B.p(d), S = "set" + (this.$u ? "UTC" : ""), N = (m = {}, m[h] = 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 === h ? this.$D + (b - this.$W) : b;
|
|
4031
4012
|
if (w === p || w === y) {
|
|
4032
4013
|
var G = this.clone().set(_, 1);
|
|
4033
4014
|
G.$d[N](V), G.init(), this.$d = G.set(_, Math.min(this.$D, G.daysInMonth())).$d;
|
|
@@ -4037,13 +4018,13 @@ var Dr = { exports: {} };
|
|
|
4037
4018
|
}, g.set = function(d, b) {
|
|
4038
4019
|
return this.clone().$set(d, b);
|
|
4039
4020
|
}, g.get = function(d) {
|
|
4040
|
-
return this[
|
|
4021
|
+
return this[B.p(d)]();
|
|
4041
4022
|
}, g.add = function(d, b) {
|
|
4042
4023
|
var m, w = this;
|
|
4043
4024
|
d = Number(d);
|
|
4044
|
-
var S =
|
|
4045
|
-
var Z =
|
|
4046
|
-
return
|
|
4025
|
+
var S = B.p(b), N = function($) {
|
|
4026
|
+
var Z = k(w);
|
|
4027
|
+
return B.w(Z.date(Z.date() + Math.round($ * d)), w);
|
|
4047
4028
|
};
|
|
4048
4029
|
if (S === p)
|
|
4049
4030
|
return this.set(p, this.$M + d);
|
|
@@ -4054,32 +4035,32 @@ var Dr = { exports: {} };
|
|
|
4054
4035
|
if (S === f)
|
|
4055
4036
|
return N(7);
|
|
4056
4037
|
var V = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[S] || 1, G = this.$d.getTime() + d * V;
|
|
4057
|
-
return
|
|
4038
|
+
return B.w(G, this);
|
|
4058
4039
|
}, g.subtract = function(d, b) {
|
|
4059
4040
|
return this.add(-1 * d, b);
|
|
4060
4041
|
}, g.format = function(d) {
|
|
4061
4042
|
var b = this, m = this.$locale();
|
|
4062
4043
|
if (!this.isValid())
|
|
4063
4044
|
return m.invalidDate || c;
|
|
4064
|
-
var w = d || "YYYY-MM-DDTHH:mm:ssZ", S =
|
|
4065
|
-
return
|
|
4066
|
-
}, pe = function(
|
|
4067
|
-
return
|
|
4068
|
-
}, ie = ae || function(
|
|
4069
|
-
var ye =
|
|
4045
|
+
var w = d || "YYYY-MM-DDTHH:mm:ssZ", S = B.z(this), N = this.$H, V = this.$m, G = this.$M, $ = m.weekdays, Z = m.months, ae = m.meridiem, re = function(Y, K, me, ye) {
|
|
4046
|
+
return Y && (Y[K] || Y(b, w)) || me[K].slice(0, ye);
|
|
4047
|
+
}, pe = function(Y) {
|
|
4048
|
+
return B.s(N % 12 || 12, Y, "0");
|
|
4049
|
+
}, ie = ae || function(Y, K, me) {
|
|
4050
|
+
var ye = Y < 12 ? "AM" : "PM";
|
|
4070
4051
|
return me ? ye.toLowerCase() : ye;
|
|
4071
4052
|
};
|
|
4072
|
-
return w.replace(
|
|
4053
|
+
return w.replace(R, function(Y, K) {
|
|
4073
4054
|
return K || function(me) {
|
|
4074
4055
|
switch (me) {
|
|
4075
4056
|
case "YY":
|
|
4076
4057
|
return String(b.$y).slice(-2);
|
|
4077
4058
|
case "YYYY":
|
|
4078
|
-
return
|
|
4059
|
+
return B.s(b.$y, 4, "0");
|
|
4079
4060
|
case "M":
|
|
4080
4061
|
return G + 1;
|
|
4081
4062
|
case "MM":
|
|
4082
|
-
return
|
|
4063
|
+
return B.s(G + 1, 2, "0");
|
|
4083
4064
|
case "MMM":
|
|
4084
4065
|
return re(m.monthsShort, G, Z, 3);
|
|
4085
4066
|
case "MMMM":
|
|
@@ -4087,7 +4068,7 @@ var Dr = { exports: {} };
|
|
|
4087
4068
|
case "D":
|
|
4088
4069
|
return b.$D;
|
|
4089
4070
|
case "DD":
|
|
4090
|
-
return
|
|
4071
|
+
return B.s(b.$D, 2, "0");
|
|
4091
4072
|
case "d":
|
|
4092
4073
|
return String(b.$W);
|
|
4093
4074
|
case "dd":
|
|
@@ -4099,7 +4080,7 @@ var Dr = { exports: {} };
|
|
|
4099
4080
|
case "H":
|
|
4100
4081
|
return String(N);
|
|
4101
4082
|
case "HH":
|
|
4102
|
-
return
|
|
4083
|
+
return B.s(N, 2, "0");
|
|
4103
4084
|
case "h":
|
|
4104
4085
|
return pe(1);
|
|
4105
4086
|
case "hh":
|
|
@@ -4111,24 +4092,24 @@ var Dr = { exports: {} };
|
|
|
4111
4092
|
case "m":
|
|
4112
4093
|
return String(V);
|
|
4113
4094
|
case "mm":
|
|
4114
|
-
return
|
|
4095
|
+
return B.s(V, 2, "0");
|
|
4115
4096
|
case "s":
|
|
4116
4097
|
return String(b.$s);
|
|
4117
4098
|
case "ss":
|
|
4118
|
-
return
|
|
4099
|
+
return B.s(b.$s, 2, "0");
|
|
4119
4100
|
case "SSS":
|
|
4120
|
-
return
|
|
4101
|
+
return B.s(b.$ms, 3, "0");
|
|
4121
4102
|
case "Z":
|
|
4122
4103
|
return S;
|
|
4123
4104
|
}
|
|
4124
4105
|
return null;
|
|
4125
|
-
}(
|
|
4106
|
+
}(Y) || S.replace(":", "");
|
|
4126
4107
|
});
|
|
4127
4108
|
}, g.utcOffset = function() {
|
|
4128
4109
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4129
4110
|
}, g.diff = function(d, b, m) {
|
|
4130
|
-
var w, S = this, N =
|
|
4131
|
-
return
|
|
4111
|
+
var w, S = this, N = B.p(b), V = k(d), G = (V.utcOffset() - this.utcOffset()) * i, $ = this - V, Z = function() {
|
|
4112
|
+
return B.m(S, V);
|
|
4132
4113
|
};
|
|
4133
4114
|
switch (N) {
|
|
4134
4115
|
case y:
|
|
@@ -4158,7 +4139,7 @@ var Dr = { exports: {} };
|
|
|
4158
4139
|
default:
|
|
4159
4140
|
w = $;
|
|
4160
4141
|
}
|
|
4161
|
-
return m ? w :
|
|
4142
|
+
return m ? w : B.a(w);
|
|
4162
4143
|
}, g.daysInMonth = function() {
|
|
4163
4144
|
return this.endOf(p).$D;
|
|
4164
4145
|
}, g.$locale = function() {
|
|
@@ -4169,7 +4150,7 @@ var Dr = { exports: {} };
|
|
|
4169
4150
|
var m = this.clone(), w = Q(d, b, !0);
|
|
4170
4151
|
return w && (m.$L = w), m;
|
|
4171
4152
|
}, g.clone = function() {
|
|
4172
|
-
return
|
|
4153
|
+
return B.w(this.$d, this);
|
|
4173
4154
|
}, g.toDate = function() {
|
|
4174
4155
|
return new Date(this.valueOf());
|
|
4175
4156
|
}, g.toJSON = function() {
|
|
@@ -4180,15 +4161,15 @@ var Dr = { exports: {} };
|
|
|
4180
4161
|
return this.$d.toUTCString();
|
|
4181
4162
|
}, E;
|
|
4182
4163
|
}(), se = j.prototype;
|
|
4183
|
-
return
|
|
4164
|
+
return k.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", h], ["$M", p], ["$y", y], ["$D", _]].forEach(function(E) {
|
|
4184
4165
|
se[E[1]] = function(g) {
|
|
4185
4166
|
return this.$g(g, E[0], E[1]);
|
|
4186
4167
|
};
|
|
4187
|
-
}),
|
|
4188
|
-
return E.$i || (E(g, j,
|
|
4189
|
-
},
|
|
4190
|
-
return
|
|
4191
|
-
},
|
|
4168
|
+
}), k.extend = function(E, g) {
|
|
4169
|
+
return E.$i || (E(g, j, k), E.$i = !0), k;
|
|
4170
|
+
}, k.locale = Q, k.isDayjs = te, k.unix = function(E) {
|
|
4171
|
+
return k(1e3 * E);
|
|
4172
|
+
}, k.en = O[I], k.Ls = O, k.p = {}, k;
|
|
4192
4173
|
});
|
|
4193
4174
|
})(Dr);
|
|
4194
4175
|
var ao = Dr.exports;
|
|
@@ -4224,9 +4205,9 @@ var Lr = { exports: {} };
|
|
|
4224
4205
|
};
|
|
4225
4206
|
var p = u.utcOffset;
|
|
4226
4207
|
u.utcOffset = function(c, L) {
|
|
4227
|
-
var
|
|
4228
|
-
if (
|
|
4229
|
-
return this.$u ? 0 :
|
|
4208
|
+
var R = this.$utils().u;
|
|
4209
|
+
if (R(c))
|
|
4210
|
+
return this.$u ? 0 : R(this.$offset) ? p.call(this) : this.$offset;
|
|
4230
4211
|
if (typeof c == "string" && (c = function(I) {
|
|
4231
4212
|
I === void 0 && (I = "");
|
|
4232
4213
|
var O = I.match(i);
|
|
@@ -4236,12 +4217,12 @@ var Lr = { exports: {} };
|
|
|
4236
4217
|
return Q === 0 ? 0 : te === "+" ? Q : -Q;
|
|
4237
4218
|
}(c), c === null))
|
|
4238
4219
|
return this;
|
|
4239
|
-
var
|
|
4220
|
+
var P = Math.abs(c) <= 16 ? 60 * c : c, T = this;
|
|
4240
4221
|
if (L)
|
|
4241
|
-
return T.$offset =
|
|
4222
|
+
return T.$offset = P, T.$u = c === 0, T;
|
|
4242
4223
|
if (c !== 0) {
|
|
4243
|
-
var
|
|
4244
|
-
(T = this.local().add(
|
|
4224
|
+
var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4225
|
+
(T = this.local().add(P + H, r)).$offset = P, T.$x.$localOffset = H;
|
|
4245
4226
|
} else
|
|
4246
4227
|
T = this.utc();
|
|
4247
4228
|
return T;
|
|
@@ -4265,11 +4246,11 @@ var Lr = { exports: {} };
|
|
|
4265
4246
|
return c === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
|
|
4266
4247
|
};
|
|
4267
4248
|
var _ = u.diff;
|
|
4268
|
-
u.diff = function(c, L,
|
|
4249
|
+
u.diff = function(c, L, R) {
|
|
4269
4250
|
if (c && this.$u === c.$u)
|
|
4270
|
-
return _.call(this, c, L,
|
|
4271
|
-
var
|
|
4272
|
-
return _.call(
|
|
4251
|
+
return _.call(this, c, L, R);
|
|
4252
|
+
var P = this.local(), T = a(c).local();
|
|
4253
|
+
return _.call(P, T, L, R);
|
|
4273
4254
|
};
|
|
4274
4255
|
};
|
|
4275
4256
|
});
|
|
@@ -4279,14 +4260,14 @@ const lo = /* @__PURE__ */ yt(uo);
|
|
|
4279
4260
|
function ho(e) {
|
|
4280
4261
|
Wr(e, "svelte-19ii49m", '*,*::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-bottom:var(--emw--spacing-small, 12px)}.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)}');
|
|
4281
4262
|
}
|
|
4282
|
-
function
|
|
4263
|
+
function Yt(e, t, r) {
|
|
4283
4264
|
const i = e.slice();
|
|
4284
4265
|
return i[53] = t[r], i;
|
|
4285
4266
|
}
|
|
4286
4267
|
function fo(e) {
|
|
4287
4268
|
let t, r = (
|
|
4288
4269
|
/*displayMessages*/
|
|
4289
|
-
e[3].length > 0 &&
|
|
4270
|
+
e[3].length > 0 && qt(e)
|
|
4290
4271
|
);
|
|
4291
4272
|
return {
|
|
4292
4273
|
c() {
|
|
@@ -4297,7 +4278,7 @@ function fo(e) {
|
|
|
4297
4278
|
},
|
|
4298
4279
|
p(i, n) {
|
|
4299
4280
|
/*displayMessages*/
|
|
4300
|
-
i[3].length > 0 ? r ? r.p(i, n) : (r =
|
|
4281
|
+
i[3].length > 0 ? r ? r.p(i, n) : (r = qt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4301
4282
|
},
|
|
4302
4283
|
d(i) {
|
|
4303
4284
|
i && fe(t), r && r.d();
|
|
@@ -4308,12 +4289,12 @@ function co(e) {
|
|
|
4308
4289
|
let t;
|
|
4309
4290
|
return {
|
|
4310
4291
|
c() {
|
|
4311
|
-
t = J("cashier-spinner"),
|
|
4292
|
+
t = J("cashier-spinner"), Re(
|
|
4312
4293
|
t,
|
|
4313
4294
|
"clientstylingurl",
|
|
4314
4295
|
/*clientstylingurl*/
|
|
4315
4296
|
e[1]
|
|
4316
|
-
),
|
|
4297
|
+
), Re(
|
|
4317
4298
|
t,
|
|
4318
4299
|
"clientstyling",
|
|
4319
4300
|
/*clientstyling*/
|
|
@@ -4325,13 +4306,13 @@ function co(e) {
|
|
|
4325
4306
|
},
|
|
4326
4307
|
p(r, i) {
|
|
4327
4308
|
i[0] & /*clientstylingurl*/
|
|
4328
|
-
2 &&
|
|
4309
|
+
2 && Re(
|
|
4329
4310
|
t,
|
|
4330
4311
|
"clientstylingurl",
|
|
4331
4312
|
/*clientstylingurl*/
|
|
4332
4313
|
r[1]
|
|
4333
4314
|
), i[0] & /*clientstyling*/
|
|
4334
|
-
1 &&
|
|
4315
|
+
1 && Re(
|
|
4335
4316
|
t,
|
|
4336
4317
|
"clientstyling",
|
|
4337
4318
|
/*clientstyling*/
|
|
@@ -4343,25 +4324,25 @@ function co(e) {
|
|
|
4343
4324
|
}
|
|
4344
4325
|
};
|
|
4345
4326
|
}
|
|
4346
|
-
function
|
|
4327
|
+
function qt(e) {
|
|
4347
4328
|
let t, r, i, n, o, s, a, u = (
|
|
4348
4329
|
/*$_*/
|
|
4349
4330
|
e[8]("verificationsRequired") + ""
|
|
4350
|
-
), h, f, p, v, y, _, c, L,
|
|
4331
|
+
), h, f, p, v, y, _, c, L, R = wt(
|
|
4351
4332
|
/*displayMessages*/
|
|
4352
4333
|
e[3]
|
|
4353
|
-
),
|
|
4354
|
-
for (let
|
|
4355
|
-
H
|
|
4334
|
+
), P = [];
|
|
4335
|
+
for (let H = 0; H < R.length; H += 1)
|
|
4336
|
+
P[H] = Zt(Yt(e, R, H));
|
|
4356
4337
|
let T = (
|
|
4357
4338
|
/*videoExists*/
|
|
4358
4339
|
e[6] && Jt(e)
|
|
4359
4340
|
);
|
|
4360
4341
|
return {
|
|
4361
4342
|
c() {
|
|
4362
|
-
t = J("div"), r =
|
|
4363
|
-
for (let
|
|
4364
|
-
H
|
|
4343
|
+
t = J("div"), r = ke("svg"), i = ke("path"), n = ke("path"), o = ke("path"), s = Ee(), a = J("p"), h = tr(u), f = 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");
|
|
4344
|
+
for (let H = 0; H < P.length; H += 1)
|
|
4345
|
+
P[H].c();
|
|
4365
4346
|
_ = 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(
|
|
4366
4347
|
p,
|
|
4367
4348
|
"ShowVerifications",
|
|
@@ -4374,10 +4355,10 @@ function Yt(e) {
|
|
|
4374
4355
|
e[4]
|
|
4375
4356
|
);
|
|
4376
4357
|
},
|
|
4377
|
-
m(
|
|
4378
|
-
ce(
|
|
4379
|
-
for (let O = 0; O <
|
|
4380
|
-
|
|
4358
|
+
m(H, I) {
|
|
4359
|
+
ce(H, t, I), W(t, r), W(r, i), W(r, n), W(r, o), W(t, s), W(t, a), W(a, h), W(t, f), W(t, p), ce(H, v, I), ce(H, y, I);
|
|
4360
|
+
for (let O = 0; O < P.length; O += 1)
|
|
4361
|
+
P[O] && P[O].m(y, null);
|
|
4381
4362
|
W(y, _), T && T.m(y, null), c || (L = er(
|
|
4382
4363
|
t,
|
|
4383
4364
|
"click",
|
|
@@ -4385,41 +4366,41 @@ function Yt(e) {
|
|
|
4385
4366
|
e[9]
|
|
4386
4367
|
), c = !0);
|
|
4387
4368
|
},
|
|
4388
|
-
p(
|
|
4369
|
+
p(H, I) {
|
|
4389
4370
|
if (I[0] & /*$_*/
|
|
4390
4371
|
256 && u !== (u = /*$_*/
|
|
4391
|
-
|
|
4372
|
+
H[8]("verificationsRequired") + "") && Kt(h, u), I[0] & /*allVerificationsVisible*/
|
|
4392
4373
|
16 && le(
|
|
4393
4374
|
p,
|
|
4394
4375
|
"ShowVerifications",
|
|
4395
4376
|
/*allVerificationsVisible*/
|
|
4396
|
-
|
|
4377
|
+
H[4]
|
|
4397
4378
|
), I[0] & /*displayMessages*/
|
|
4398
4379
|
8) {
|
|
4399
|
-
|
|
4380
|
+
R = wt(
|
|
4400
4381
|
/*displayMessages*/
|
|
4401
|
-
|
|
4382
|
+
H[3]
|
|
4402
4383
|
);
|
|
4403
4384
|
let O;
|
|
4404
|
-
for (O = 0; O <
|
|
4405
|
-
const X =
|
|
4406
|
-
|
|
4385
|
+
for (O = 0; O < R.length; O += 1) {
|
|
4386
|
+
const X = Yt(H, R, O);
|
|
4387
|
+
P[O] ? P[O].p(X, I) : (P[O] = Zt(X), P[O].c(), P[O].m(y, _));
|
|
4407
4388
|
}
|
|
4408
|
-
for (; O <
|
|
4409
|
-
|
|
4410
|
-
|
|
4389
|
+
for (; O < P.length; O += 1)
|
|
4390
|
+
P[O].d(1);
|
|
4391
|
+
P.length = R.length;
|
|
4411
4392
|
}
|
|
4412
4393
|
/*videoExists*/
|
|
4413
|
-
|
|
4394
|
+
H[6] ? T ? T.p(H, I) : (T = Jt(H), T.c(), T.m(y, null)) : T && (T.d(1), T = null), I[0] & /*allVerificationsVisible*/
|
|
4414
4395
|
16 && le(
|
|
4415
4396
|
y,
|
|
4416
4397
|
"ShowVerifications",
|
|
4417
4398
|
/*allVerificationsVisible*/
|
|
4418
|
-
|
|
4399
|
+
H[4]
|
|
4419
4400
|
);
|
|
4420
4401
|
},
|
|
4421
|
-
d(
|
|
4422
|
-
|
|
4402
|
+
d(H) {
|
|
4403
|
+
H && (fe(t), fe(v), fe(y)), qr(P, H), T && T.d(), c = !1, L();
|
|
4423
4404
|
}
|
|
4424
4405
|
};
|
|
4425
4406
|
}
|
|
@@ -4530,15 +4511,15 @@ const mo = "verification_explanation_video_widgets.MP4";
|
|
|
4530
4511
|
function vo(e, t, r) {
|
|
4531
4512
|
let i, n;
|
|
4532
4513
|
_t(e, jn, (l) => r(8, i = l)), _t(e, zn, (l) => r(27, n = l)), Xt.extend(lo);
|
|
4533
|
-
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, _, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(),
|
|
4534
|
-
var
|
|
4514
|
+
let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { mbsource: y = "" } = t, _, c = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set(), R, P, T, H = !1, I = !0, O = !1, X = "", te = !1, Q = window.navigator.userAgent;
|
|
4515
|
+
var k;
|
|
4535
4516
|
(function(l) {
|
|
4536
4517
|
l.Manual = "Manual", l.ShuftiPro = "ShuftiPro";
|
|
4537
|
-
})(
|
|
4538
|
-
var
|
|
4518
|
+
})(k || (k = {}));
|
|
4519
|
+
var B;
|
|
4539
4520
|
(function(l) {
|
|
4540
4521
|
l.Requested = "Requested";
|
|
4541
|
-
})(
|
|
4522
|
+
})(B || (B = {}));
|
|
4542
4523
|
var j;
|
|
4543
4524
|
(function(l) {
|
|
4544
4525
|
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";
|
|
@@ -4562,19 +4543,19 @@ function vo(e, t, r) {
|
|
|
4562
4543
|
if (l)
|
|
4563
4544
|
return fetch(l).then((x) => x.json()).then((x) => {
|
|
4564
4545
|
Object.keys(x).forEach((C) => {
|
|
4565
|
-
|
|
4546
|
+
kt(C, x[C]);
|
|
4566
4547
|
});
|
|
4567
4548
|
}).catch((x) => {
|
|
4568
4549
|
console.log(x);
|
|
4569
4550
|
});
|
|
4570
4551
|
};
|
|
4571
4552
|
Object.keys(Ut).forEach((l) => {
|
|
4572
|
-
|
|
4553
|
+
kt(l, Ut[l]);
|
|
4573
4554
|
});
|
|
4574
4555
|
const b = () => {
|
|
4575
4556
|
$n(s);
|
|
4576
4557
|
}, m = () => {
|
|
4577
|
-
r(18,
|
|
4558
|
+
r(18, P = N());
|
|
4578
4559
|
const l = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
|
|
4579
4560
|
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"));
|
|
4580
4561
|
const C = {
|
|
@@ -4584,7 +4565,7 @@ function vo(e, t, r) {
|
|
|
4584
4565
|
};
|
|
4585
4566
|
r(7, te = !0), fetch(l, C).then((z) => z.json()).then((z) => {
|
|
4586
4567
|
const ue = w(z == null ? void 0 : z.Verifications);
|
|
4587
|
-
|
|
4568
|
+
R = V(ue), R.VerificationStatuses.forEach((Ne) => {
|
|
4588
4569
|
Ne.VerificationUrlType !== "Widget" && c.add(Ne.Vendor);
|
|
4589
4570
|
}), r(3, T = pe());
|
|
4590
4571
|
}).finally(() => r(7, te = !1));
|
|
@@ -4630,10 +4611,10 @@ function vo(e, t, r) {
|
|
|
4630
4611
|
VerificationUrl: (ue = C.FlowInfo) == null ? void 0 : ue.Url
|
|
4631
4612
|
};
|
|
4632
4613
|
}), Z = (l) => l.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || ae(x) || re(x) : !1), ae = (l) => {
|
|
4633
|
-
const x = l.Documents && l.VendorName ===
|
|
4614
|
+
const x = l.Documents && l.VendorName === k.Manual, C = l.Documents && l.Documents.some((z) => z.Status === B.Requested);
|
|
4634
4615
|
return x && C;
|
|
4635
|
-
}, re = (l) => l.VendorName ===
|
|
4636
|
-
switch (
|
|
4616
|
+
}, re = (l) => l.VendorName === k.ShuftiPro && l.Status === j.Referred, pe = () => {
|
|
4617
|
+
switch (R.VerificationSummaryStatus) {
|
|
4637
4618
|
case j.InProgress:
|
|
4638
4619
|
const l = [];
|
|
4639
4620
|
return c.forEach((x) => {
|
|
@@ -4645,16 +4626,16 @@ function vo(e, t, r) {
|
|
|
4645
4626
|
return [i("verification.message.failed")];
|
|
4646
4627
|
}
|
|
4647
4628
|
}, ie = (l) => {
|
|
4648
|
-
const x =
|
|
4649
|
-
if (l ===
|
|
4650
|
-
return
|
|
4629
|
+
const x = R.VerificationStatuses.filter((C) => C.Vendor === l);
|
|
4630
|
+
if (l === k.ShuftiPro)
|
|
4631
|
+
return Y(x);
|
|
4651
4632
|
{
|
|
4652
4633
|
const C = i("verification.idenfy.link-name"), z = {
|
|
4653
4634
|
link: `<a href="${x[0].VerificationUrl}" target="_blank">${C}</a>`
|
|
4654
4635
|
};
|
|
4655
4636
|
return i("verification.idenfy.in-progress", { values: z });
|
|
4656
4637
|
}
|
|
4657
|
-
},
|
|
4638
|
+
}, Y = (l) => {
|
|
4658
4639
|
const x = [], C = {}, z = [
|
|
4659
4640
|
se.Biometric,
|
|
4660
4641
|
se.Documents,
|
|
@@ -4666,11 +4647,11 @@ function vo(e, t, r) {
|
|
|
4666
4647
|
let ue = x.every((ve) => L.has(ve)), Ne = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
|
|
4667
4648
|
return ue ? i("verification.shuftipro.validations-started") : i(Ne, { values: C });
|
|
4668
4649
|
}, K = (l, x) => `<a class="verificationLink ${l.Type}" href=" ${l.VerificationUrl} " target="_blank">${x}</a>`, me = (l) => i(`verification.shuftipro.link-name.${l}`), ye = () => {
|
|
4669
|
-
r(4,
|
|
4650
|
+
r(4, H = !H);
|
|
4670
4651
|
}, Nr = () => {
|
|
4671
4652
|
r(5, I = !so(Q));
|
|
4672
|
-
},
|
|
4673
|
-
X =
|
|
4653
|
+
}, Rr = () => {
|
|
4654
|
+
X = P + "/" + s + "/" + mo;
|
|
4674
4655
|
try {
|
|
4675
4656
|
fetch(X, { method: "HEAD" }).then((l) => {
|
|
4676
4657
|
r(6, O = l.ok);
|
|
@@ -4678,7 +4659,7 @@ function vo(e, t, r) {
|
|
|
4678
4659
|
} catch (l) {
|
|
4679
4660
|
r(6, O = !1);
|
|
4680
4661
|
}
|
|
4681
|
-
},
|
|
4662
|
+
}, kr = () => {
|
|
4682
4663
|
window.dispatchEvent(new CustomEvent(
|
|
4683
4664
|
"modal-update",
|
|
4684
4665
|
{
|
|
@@ -4687,7 +4668,7 @@ function vo(e, t, r) {
|
|
|
4687
4668
|
));
|
|
4688
4669
|
};
|
|
4689
4670
|
function Ur(l) {
|
|
4690
|
-
|
|
4671
|
+
Yr[l ? "unshift" : "push"](() => {
|
|
4691
4672
|
_ = l, r(2, _);
|
|
4692
4673
|
});
|
|
4693
4674
|
}
|
|
@@ -4701,20 +4682,20 @@ function vo(e, t, r) {
|
|
|
4701
4682
|
8192 && a && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4702
4683
|
5 && u && _ && Zr(_, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4703
4684
|
6 && h && _ && Jr(_, h), e.$$.dirty[0] & /*staticCdnUrl*/
|
|
4704
|
-
262144 &&
|
|
4685
|
+
262144 && P && Rr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4705
4686
|
131076 && y && _ && Qr(_, `${y}.Style`);
|
|
4706
4687
|
}, [
|
|
4707
4688
|
u,
|
|
4708
4689
|
h,
|
|
4709
4690
|
_,
|
|
4710
4691
|
T,
|
|
4711
|
-
|
|
4692
|
+
H,
|
|
4712
4693
|
I,
|
|
4713
4694
|
O,
|
|
4714
4695
|
te,
|
|
4715
4696
|
i,
|
|
4716
4697
|
ye,
|
|
4717
|
-
|
|
4698
|
+
kr,
|
|
4718
4699
|
o,
|
|
4719
4700
|
s,
|
|
4720
4701
|
a,
|
|
@@ -4722,7 +4703,7 @@ function vo(e, t, r) {
|
|
|
4722
4703
|
p,
|
|
4723
4704
|
v,
|
|
4724
4705
|
y,
|
|
4725
|
-
|
|
4706
|
+
P,
|
|
4726
4707
|
Ur
|
|
4727
4708
|
];
|
|
4728
4709
|
}
|