@everymatrix/cashier-verifications 1.52.2 → 1.52.3
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-CzlFnRY3.js → CashierVerifications-C0AVUPTF.js} +243 -231
- package/components/{CashierVerifications-BZm37mXz.cjs → CashierVerifications-C2dYV8Km.cjs} +3 -3
- package/components/CashierVideoModal-D0zHNTJv.cjs +1 -0
- package/components/{CashierVideoModal-ZVGTUU-8.js → CashierVideoModal-kYAQNcsM.js} +61 -50
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierVideoModal-CV8uIf5-.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ir = Object.defineProperty, Nr = Object.defineProperties;
|
|
2
2
|
var Rr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Ht = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Ke = (e, t, r) => t in e ?
|
|
4
|
+
var kr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ke = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
kr.call(t, r) && Ke(e, r, t[r]);
|
|
8
8
|
if (Ht)
|
|
9
9
|
for (var r of Ht(t))
|
|
10
|
-
|
|
10
|
+
Ur.call(t, r) && Ke(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, Ot = (e, t) => Nr(e, Rr(t));
|
|
13
13
|
var Z = (e, t, r) => Ke(e, typeof t != "symbol" ? t + "" : t, r);
|
|
@@ -35,7 +35,7 @@ function tr(e) {
|
|
|
35
35
|
function $t() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Ne(e) {
|
|
39
39
|
e.forEach(tr);
|
|
40
40
|
}
|
|
41
41
|
function bt(e) {
|
|
@@ -44,9 +44,9 @@ function bt(e) {
|
|
|
44
44
|
function rr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
47
|
+
let Fe;
|
|
48
48
|
function ls(e, t) {
|
|
49
|
-
return e === t ? !0 : (
|
|
49
|
+
return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
|
|
50
50
|
}
|
|
51
51
|
function Fr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
@@ -60,13 +60,13 @@ function ir(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Vr(e, t, r) {
|
|
64
64
|
e.$$.on_destroy.push(ir(t, r));
|
|
65
65
|
}
|
|
66
66
|
function ie(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Gr(e, t, r) {
|
|
70
70
|
const i = jr(e);
|
|
71
71
|
if (!i.getElementById(t)) {
|
|
72
72
|
const n = J("style");
|
|
@@ -131,7 +131,7 @@ function qr(e, t) {
|
|
|
131
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
132
132
|
t);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Se(e, t, r) {
|
|
135
135
|
e.classList.toggle(t, !!r);
|
|
136
136
|
}
|
|
137
137
|
function Yr(e) {
|
|
@@ -143,13 +143,13 @@ function Yr(e) {
|
|
|
143
143
|
}
|
|
144
144
|
), t;
|
|
145
145
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
146
|
+
let De;
|
|
147
|
+
function Ce(e) {
|
|
148
|
+
De = e;
|
|
149
149
|
}
|
|
150
150
|
function Zr() {
|
|
151
|
-
if (!
|
|
152
|
-
return
|
|
151
|
+
if (!De) throw new Error("Function called outside component initialization");
|
|
152
|
+
return De;
|
|
153
153
|
}
|
|
154
154
|
function cs(e) {
|
|
155
155
|
Zr().$$.on_mount.push(e);
|
|
@@ -169,17 +169,17 @@ let ye = 0;
|
|
|
169
169
|
function re() {
|
|
170
170
|
if (ye !== 0)
|
|
171
171
|
return;
|
|
172
|
-
const e =
|
|
172
|
+
const e = De;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
175
|
for (; ye < _e.length; ) {
|
|
176
176
|
const t = _e[ye];
|
|
177
|
-
ye++,
|
|
177
|
+
ye++, Ce(t), Kr(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
180
|
throw _e.length = 0, ye = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (
|
|
182
|
+
for (Ce(null), _e.length = 0, ye = 0; at.length; ) at.pop()();
|
|
183
183
|
for (let t = 0; t < we.length; t += 1) {
|
|
184
184
|
const r = we[t];
|
|
185
185
|
et.has(r) || (et.add(r), r());
|
|
@@ -188,11 +188,11 @@ function re() {
|
|
|
188
188
|
} while (_e.length);
|
|
189
189
|
for (; Bt.length; )
|
|
190
190
|
Bt.pop()();
|
|
191
|
-
ut = !1, et.clear(),
|
|
191
|
+
ut = !1, et.clear(), Ce(e);
|
|
192
192
|
}
|
|
193
193
|
function Kr(e) {
|
|
194
194
|
if (e.fragment !== null) {
|
|
195
|
-
e.update(),
|
|
195
|
+
e.update(), Ne(e.before_update);
|
|
196
196
|
const t = e.dirty;
|
|
197
197
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
|
|
198
198
|
}
|
|
@@ -212,19 +212,19 @@ function ii(e, t, r) {
|
|
|
212
212
|
const { fragment: i, after_update: n } = e.$$;
|
|
213
213
|
i && i.m(t, r), lt(() => {
|
|
214
214
|
const s = e.$$.on_mount.map(tr).filter(bt);
|
|
215
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
215
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
|
|
216
216
|
}), n.forEach(lt);
|
|
217
217
|
}
|
|
218
218
|
function ni(e, t) {
|
|
219
219
|
const r = e.$$;
|
|
220
|
-
r.fragment !== null && (ei(r.after_update),
|
|
220
|
+
r.fragment !== null && (ei(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
221
221
|
}
|
|
222
222
|
function si(e, t) {
|
|
223
223
|
e.$$.dirty[0] === -1 && (_e.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
224
224
|
}
|
|
225
225
|
function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
226
|
-
const o =
|
|
227
|
-
|
|
226
|
+
const o = De;
|
|
227
|
+
Ce(e);
|
|
228
228
|
const u = e.$$ = {
|
|
229
229
|
fragment: null,
|
|
230
230
|
ctx: [],
|
|
@@ -251,7 +251,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
251
251
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
|
|
252
252
|
const H = E.length ? E[0] : m;
|
|
253
253
|
return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && si(e, c)), m;
|
|
254
|
-
}) : [], u.update(), h = !0,
|
|
254
|
+
}) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
|
|
255
255
|
if (t.hydrate) {
|
|
256
256
|
const c = Wr(t.target);
|
|
257
257
|
u.fragment && u.fragment.l(c), c.forEach(ne);
|
|
@@ -259,7 +259,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
|
|
|
259
259
|
u.fragment && u.fragment.c();
|
|
260
260
|
t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), re();
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
Ce(o);
|
|
263
263
|
}
|
|
264
264
|
let nr;
|
|
265
265
|
typeof HTMLElement == "function" && (nr = class extends HTMLElement {
|
|
@@ -523,7 +523,7 @@ function Ye(e, t = K) {
|
|
|
523
523
|
}
|
|
524
524
|
return { set: n, update: s, subscribe: a };
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Pe(e, t, r) {
|
|
527
527
|
const i = !Array.isArray(e), n = i ? [e] : e;
|
|
528
528
|
if (!n.every(Boolean))
|
|
529
529
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -550,7 +550,7 @@ function Oe(e, t, r) {
|
|
|
550
550
|
)
|
|
551
551
|
);
|
|
552
552
|
return o = !0, m(), function() {
|
|
553
|
-
|
|
553
|
+
Ne(E), c(), o = !1;
|
|
554
554
|
};
|
|
555
555
|
});
|
|
556
556
|
}
|
|
@@ -575,19 +575,19 @@ function gi(e) {
|
|
|
575
575
|
function vi(e) {
|
|
576
576
|
return Array.isArray(e) ? [] : {};
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
578
|
+
function Le(e, t) {
|
|
579
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Te(vi(e), e, t) : e;
|
|
580
580
|
}
|
|
581
581
|
function bi(e, t, r) {
|
|
582
582
|
return e.concat(t).map(function(i) {
|
|
583
|
-
return
|
|
583
|
+
return Le(i, r);
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
586
|
function yi(e, t) {
|
|
587
587
|
if (!t.customMerge)
|
|
588
|
-
return
|
|
588
|
+
return Te;
|
|
589
589
|
var r = t.customMerge(e);
|
|
590
|
-
return typeof r == "function" ? r :
|
|
590
|
+
return typeof r == "function" ? r : Te;
|
|
591
591
|
}
|
|
592
592
|
function xi(e) {
|
|
593
593
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -610,24 +610,24 @@ function _i(e, t) {
|
|
|
610
610
|
function Ei(e, t, r) {
|
|
611
611
|
var i = {};
|
|
612
612
|
return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
|
|
613
|
-
i[n] =
|
|
613
|
+
i[n] = Le(e[n], r);
|
|
614
614
|
}), Ct(t).forEach(function(n) {
|
|
615
|
-
_i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] =
|
|
615
|
+
_i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
|
|
616
616
|
}), i;
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, r.cloneUnlessOtherwiseSpecified =
|
|
618
|
+
function Te(e, t, r) {
|
|
619
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, r.cloneUnlessOtherwiseSpecified = Le;
|
|
620
620
|
var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
|
|
621
|
-
return s ? i ? r.arrayMerge(e, t, r) : Ei(e, t, r) :
|
|
621
|
+
return s ? i ? r.arrayMerge(e, t, r) : Ei(e, t, r) : Le(t, r);
|
|
622
622
|
}
|
|
623
|
-
|
|
623
|
+
Te.all = function(t, r) {
|
|
624
624
|
if (!Array.isArray(t))
|
|
625
625
|
throw new Error("first argument should be an array");
|
|
626
626
|
return t.reduce(function(i, n) {
|
|
627
|
-
return
|
|
627
|
+
return Te(i, n, r);
|
|
628
628
|
}, {});
|
|
629
629
|
};
|
|
630
|
-
var wi =
|
|
630
|
+
var wi = Te, Si = wi;
|
|
631
631
|
const Ti = /* @__PURE__ */ _t(Si);
|
|
632
632
|
var ht = function(e, t) {
|
|
633
633
|
return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
@@ -725,10 +725,10 @@ var C;
|
|
|
725
725
|
(function(e) {
|
|
726
726
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
727
727
|
})(C || (C = {}));
|
|
728
|
-
var
|
|
728
|
+
var He;
|
|
729
729
|
(function(e) {
|
|
730
730
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
731
|
-
})(
|
|
731
|
+
})(He || (He = {}));
|
|
732
732
|
function Dt(e) {
|
|
733
733
|
return e.type === C.literal;
|
|
734
734
|
}
|
|
@@ -757,15 +757,15 @@ function mr(e) {
|
|
|
757
757
|
return e.type === C.tag;
|
|
758
758
|
}
|
|
759
759
|
function pr(e) {
|
|
760
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
760
|
+
return !!(e && typeof e == "object" && e.type === He.number);
|
|
761
761
|
}
|
|
762
762
|
function ft(e) {
|
|
763
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
763
|
+
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
764
764
|
}
|
|
765
|
-
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
766
|
-
function
|
|
765
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Li = /(?:[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;
|
|
766
|
+
function Ii(e) {
|
|
767
767
|
var t = {};
|
|
768
|
-
return e.replace(
|
|
768
|
+
return e.replace(Li, function(r) {
|
|
769
769
|
var i = r.length;
|
|
770
770
|
switch (r[0]) {
|
|
771
771
|
case "G":
|
|
@@ -873,11 +873,11 @@ function Ri(e) {
|
|
|
873
873
|
}
|
|
874
874
|
return r;
|
|
875
875
|
}
|
|
876
|
-
function
|
|
876
|
+
function ki(e) {
|
|
877
877
|
return e.replace(/^(.*?)-/, "");
|
|
878
878
|
}
|
|
879
|
-
var
|
|
880
|
-
function
|
|
879
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
|
|
880
|
+
function It(e) {
|
|
881
881
|
var t = {};
|
|
882
882
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, i, n) {
|
|
883
883
|
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)), "";
|
|
@@ -941,7 +941,7 @@ function Nt(e) {
|
|
|
941
941
|
var t = {}, r = yr(e);
|
|
942
942
|
return r || t;
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Vi(e) {
|
|
945
945
|
for (var t = {}, r = 0, i = e; r < i.length; r++) {
|
|
946
946
|
var n = i[r];
|
|
947
947
|
switch (n.stem) {
|
|
@@ -965,7 +965,7 @@ function Gi(e) {
|
|
|
965
965
|
continue;
|
|
966
966
|
case "measure-unit":
|
|
967
967
|
case "unit":
|
|
968
|
-
t.style = "unit", t.unit =
|
|
968
|
+
t.style = "unit", t.unit = ki(n.options[0]);
|
|
969
969
|
continue;
|
|
970
970
|
case "compact-short":
|
|
971
971
|
case "K":
|
|
@@ -1027,7 +1027,7 @@ function Gi(e) {
|
|
|
1027
1027
|
case "integer-width":
|
|
1028
1028
|
if (n.options.length > 1)
|
|
1029
1029
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1030
|
-
n.options[0].replace(
|
|
1030
|
+
n.options[0].replace(Ui, function(o, u, h, c, m, E) {
|
|
1031
1031
|
if (u)
|
|
1032
1032
|
t.minimumIntegerDigits = h.length;
|
|
1033
1033
|
else {
|
|
@@ -1044,18 +1044,18 @@ function Gi(e) {
|
|
|
1044
1044
|
t.minimumIntegerDigits = n.stem.length;
|
|
1045
1045
|
continue;
|
|
1046
1046
|
}
|
|
1047
|
-
if (
|
|
1047
|
+
if (Lt.test(n.stem)) {
|
|
1048
1048
|
if (n.options.length > 1)
|
|
1049
1049
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1050
|
-
n.stem.replace(
|
|
1050
|
+
n.stem.replace(Lt, function(o, u, h, c, m, E) {
|
|
1051
1051
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1052
1052
|
});
|
|
1053
1053
|
var s = n.options[0];
|
|
1054
|
-
s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t),
|
|
1054
|
+
s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), It(s)));
|
|
1055
1055
|
continue;
|
|
1056
1056
|
}
|
|
1057
1057
|
if (vr.test(n.stem)) {
|
|
1058
|
-
t = O(O({}, t),
|
|
1058
|
+
t = O(O({}, t), It(n.stem));
|
|
1059
1059
|
continue;
|
|
1060
1060
|
}
|
|
1061
1061
|
var a = yr(n.stem);
|
|
@@ -1065,7 +1065,7 @@ function Gi(e) {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
return t;
|
|
1067
1067
|
}
|
|
1068
|
-
var
|
|
1068
|
+
var Ve = {
|
|
1069
1069
|
"001": [
|
|
1070
1070
|
"H",
|
|
1071
1071
|
"h"
|
|
@@ -2480,7 +2480,7 @@ var Fe = {
|
|
|
2480
2480
|
"h"
|
|
2481
2481
|
]
|
|
2482
2482
|
};
|
|
2483
|
-
function
|
|
2483
|
+
function Gi(e, t) {
|
|
2484
2484
|
for (var r = "", i = 0; i < e.length; i++) {
|
|
2485
2485
|
var n = e.charAt(i);
|
|
2486
2486
|
if (n === "j") {
|
|
@@ -2514,7 +2514,7 @@ function ji(e) {
|
|
|
2514
2514
|
}
|
|
2515
2515
|
var r = e.language, i;
|
|
2516
2516
|
r !== "root" && (i = e.maximize().region);
|
|
2517
|
-
var n =
|
|
2517
|
+
var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
|
|
2518
2518
|
return n[0];
|
|
2519
2519
|
}
|
|
2520
2520
|
var nt, zi = new RegExp("^".concat(gr.source, "*")), Xi = new RegExp("".concat(gr.source, "*$"));
|
|
@@ -2552,7 +2552,7 @@ var Rt = Wi ? (
|
|
|
2552
2552
|
}
|
|
2553
2553
|
return i;
|
|
2554
2554
|
}
|
|
2555
|
-
),
|
|
2555
|
+
), kt = (
|
|
2556
2556
|
// native
|
|
2557
2557
|
Yi ? Object.fromEntries : (
|
|
2558
2558
|
// Ponyfill
|
|
@@ -2604,11 +2604,11 @@ function _r(e, t) {
|
|
|
2604
2604
|
}
|
|
2605
2605
|
var mt;
|
|
2606
2606
|
if (ct) {
|
|
2607
|
-
var
|
|
2607
|
+
var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2608
2608
|
mt = function(t, r) {
|
|
2609
2609
|
var i;
|
|
2610
|
-
|
|
2611
|
-
var n =
|
|
2610
|
+
Ut.lastIndex = r;
|
|
2611
|
+
var n = Ut.exec(t);
|
|
2612
2612
|
return (i = n[1]) !== null && i !== void 0 ? i : "";
|
|
2613
2613
|
};
|
|
2614
2614
|
} else
|
|
@@ -2840,16 +2840,16 @@ var sn = (
|
|
|
2840
2840
|
} else {
|
|
2841
2841
|
if ($.length === 0)
|
|
2842
2842
|
return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
|
|
2843
|
-
var
|
|
2844
|
-
this.locale && (
|
|
2843
|
+
var G = $;
|
|
2844
|
+
this.locale && (G = Gi($, this.locale));
|
|
2845
2845
|
var m = {
|
|
2846
|
-
type:
|
|
2847
|
-
pattern:
|
|
2846
|
+
type: He.dateTime,
|
|
2847
|
+
pattern: G,
|
|
2848
2848
|
location: u.styleLocation,
|
|
2849
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2850
|
-
},
|
|
2849
|
+
parsedOptions: this.shouldParseSkeletons ? Ii(G) : {}
|
|
2850
|
+
}, U = l === "date" ? C.date : C.time;
|
|
2851
2851
|
return {
|
|
2852
|
-
val: { type:
|
|
2852
|
+
val: { type: U, value: i, location: v, style: m },
|
|
2853
2853
|
err: null
|
|
2854
2854
|
};
|
|
2855
2855
|
}
|
|
@@ -2871,7 +2871,7 @@ var sn = (
|
|
|
2871
2871
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2872
2872
|
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, A(M, O({}, M)));
|
|
2873
2873
|
this.bumpSpace();
|
|
2874
|
-
var X = this.parseIdentifierIfPossible(),
|
|
2874
|
+
var X = this.parseIdentifierIfPossible(), L = 0;
|
|
2875
2875
|
if (l !== "select" && X.value === "offset") {
|
|
2876
2876
|
if (!this.bumpIf(":"))
|
|
2877
2877
|
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
@@ -2879,11 +2879,11 @@ var sn = (
|
|
|
2879
2879
|
var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2880
2880
|
if (c.err)
|
|
2881
2881
|
return c;
|
|
2882
|
-
this.bumpSpace(), X = this.parseIdentifierIfPossible(),
|
|
2882
|
+
this.bumpSpace(), X = this.parseIdentifierIfPossible(), L = c.val;
|
|
2883
2883
|
}
|
|
2884
|
-
var
|
|
2885
|
-
if (
|
|
2886
|
-
return
|
|
2884
|
+
var I = this.tryParsePluralOrSelectOptions(t, l, r, X);
|
|
2885
|
+
if (I.err)
|
|
2886
|
+
return I;
|
|
2887
2887
|
var H = this.tryParseArgumentClose(n);
|
|
2888
2888
|
if (H.err)
|
|
2889
2889
|
return H;
|
|
@@ -2892,7 +2892,7 @@ var sn = (
|
|
|
2892
2892
|
val: {
|
|
2893
2893
|
type: C.select,
|
|
2894
2894
|
value: i,
|
|
2895
|
-
options:
|
|
2895
|
+
options: kt(I.val),
|
|
2896
2896
|
location: Y
|
|
2897
2897
|
},
|
|
2898
2898
|
err: null
|
|
@@ -2900,8 +2900,8 @@ var sn = (
|
|
|
2900
2900
|
val: {
|
|
2901
2901
|
type: C.plural,
|
|
2902
2902
|
value: i,
|
|
2903
|
-
options:
|
|
2904
|
-
offset:
|
|
2903
|
+
options: kt(I.val),
|
|
2904
|
+
offset: L,
|
|
2905
2905
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2906
2906
|
location: Y
|
|
2907
2907
|
},
|
|
@@ -2957,10 +2957,10 @@ var sn = (
|
|
|
2957
2957
|
}
|
|
2958
2958
|
return {
|
|
2959
2959
|
val: {
|
|
2960
|
-
type:
|
|
2960
|
+
type: He.number,
|
|
2961
2961
|
tokens: i,
|
|
2962
2962
|
location: r,
|
|
2963
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2963
|
+
parsedOptions: this.shouldParseSkeletons ? Vi(i) : {}
|
|
2964
2964
|
},
|
|
2965
2965
|
err: null
|
|
2966
2966
|
};
|
|
@@ -3106,10 +3106,10 @@ function ln(e, t) {
|
|
|
3106
3106
|
}
|
|
3107
3107
|
return t != null && t.captureLocation || gt(r.val), r.val;
|
|
3108
3108
|
}
|
|
3109
|
-
var
|
|
3109
|
+
var Ae;
|
|
3110
3110
|
(function(e) {
|
|
3111
3111
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3112
|
-
})(
|
|
3112
|
+
})(Ae || (Ae = {}));
|
|
3113
3113
|
var Je = (
|
|
3114
3114
|
/** @class */
|
|
3115
3115
|
function(e) {
|
|
@@ -3127,7 +3127,7 @@ var Je = (
|
|
|
3127
3127
|
function(e) {
|
|
3128
3128
|
Ze(t, e);
|
|
3129
3129
|
function t(r, i, n, s) {
|
|
3130
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3130
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Ae.INVALID_VALUE, s) || this;
|
|
3131
3131
|
}
|
|
3132
3132
|
return t;
|
|
3133
3133
|
}(Je)
|
|
@@ -3136,7 +3136,7 @@ var Je = (
|
|
|
3136
3136
|
function(e) {
|
|
3137
3137
|
Ze(t, e);
|
|
3138
3138
|
function t(r, i, n) {
|
|
3139
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i),
|
|
3139
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Ae.INVALID_VALUE, n) || this;
|
|
3140
3140
|
}
|
|
3141
3141
|
return t;
|
|
3142
3142
|
}(Je)
|
|
@@ -3145,7 +3145,7 @@ var Je = (
|
|
|
3145
3145
|
function(e) {
|
|
3146
3146
|
Ze(t, e);
|
|
3147
3147
|
function t(r, i) {
|
|
3148
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'),
|
|
3148
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Ae.MISSING_VALUE, i) || this;
|
|
3149
3149
|
}
|
|
3150
3150
|
return t;
|
|
3151
3151
|
}(Je)
|
|
@@ -3162,7 +3162,7 @@ function cn(e) {
|
|
|
3162
3162
|
function dn(e) {
|
|
3163
3163
|
return typeof e == "function";
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function je(e, t, r, i, n, s, a) {
|
|
3166
3166
|
if (e.length === 1 && Dt(e[0]))
|
|
3167
3167
|
return [
|
|
3168
3168
|
{
|
|
@@ -3225,13 +3225,13 @@ function Ve(e, t, r, i, n, s, a) {
|
|
|
3225
3225
|
var H = h.children, v = h.value, $ = n[v];
|
|
3226
3226
|
if (!dn($))
|
|
3227
3227
|
throw new hn(v, "function", a);
|
|
3228
|
-
var
|
|
3229
|
-
return
|
|
3228
|
+
var G = je(H, t, r, i, n, s), U = $(G.map(function(L) {
|
|
3229
|
+
return L.value;
|
|
3230
3230
|
}));
|
|
3231
|
-
Array.isArray(
|
|
3231
|
+
Array.isArray(U) || (U = [U]), l.push.apply(l, U.map(function(L) {
|
|
3232
3232
|
return {
|
|
3233
|
-
type: typeof
|
|
3234
|
-
value:
|
|
3233
|
+
type: typeof L == "string" ? z.literal : z.object,
|
|
3234
|
+
value: L
|
|
3235
3235
|
};
|
|
3236
3236
|
}));
|
|
3237
3237
|
}
|
|
@@ -3239,7 +3239,7 @@ function Ve(e, t, r, i, n, s, a) {
|
|
|
3239
3239
|
var M = h.options[m] || h.options.other;
|
|
3240
3240
|
if (!M)
|
|
3241
3241
|
throw new Ft(h.value, m, Object.keys(h.options), a);
|
|
3242
|
-
l.push.apply(l,
|
|
3242
|
+
l.push.apply(l, je(M.value, t, r, i, n));
|
|
3243
3243
|
continue;
|
|
3244
3244
|
}
|
|
3245
3245
|
if (dr(h)) {
|
|
@@ -3248,13 +3248,13 @@ function Ve(e, t, r, i, n, s, a) {
|
|
|
3248
3248
|
if (!Intl.PluralRules)
|
|
3249
3249
|
throw new Je(`Intl.PluralRules is not available in this environment.
|
|
3250
3250
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3251
|
-
`,
|
|
3251
|
+
`, Ae.MISSING_INTL_API, a);
|
|
3252
3252
|
var X = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
|
|
3253
3253
|
M = h.options[X] || h.options.other;
|
|
3254
3254
|
}
|
|
3255
3255
|
if (!M)
|
|
3256
3256
|
throw new Ft(h.value, m, Object.keys(h.options), a);
|
|
3257
|
-
l.push.apply(l,
|
|
3257
|
+
l.push.apply(l, je(M.value, t, r, i, n, m - (h.offset || 0)));
|
|
3258
3258
|
continue;
|
|
3259
3259
|
}
|
|
3260
3260
|
}
|
|
@@ -3335,7 +3335,7 @@ var wr = (
|
|
|
3335
3335
|
}, []);
|
|
3336
3336
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3337
3337
|
}, this.formatToParts = function(o) {
|
|
3338
|
-
return
|
|
3338
|
+
return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
|
|
3339
3339
|
}, this.resolvedOptions = function() {
|
|
3340
3340
|
var o;
|
|
3341
3341
|
return {
|
|
@@ -3454,7 +3454,7 @@ const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (c
|
|
|
3454
3454
|
return;
|
|
3455
3455
|
if (t in ce && e in ce[t])
|
|
3456
3456
|
return ce[t][e];
|
|
3457
|
-
const r =
|
|
3457
|
+
const r = ke(t);
|
|
3458
3458
|
for (let i = 0; i < r.length; i++) {
|
|
3459
3459
|
const n = r[i], s = xn(n, e);
|
|
3460
3460
|
if (s)
|
|
@@ -3462,7 +3462,7 @@ const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (c
|
|
|
3462
3462
|
}
|
|
3463
3463
|
};
|
|
3464
3464
|
let St;
|
|
3465
|
-
const
|
|
3465
|
+
const Re = Ye({});
|
|
3466
3466
|
function yn(e) {
|
|
3467
3467
|
return St[e] || null;
|
|
3468
3468
|
}
|
|
@@ -3478,7 +3478,7 @@ function xn(e, t) {
|
|
|
3478
3478
|
function _n(e) {
|
|
3479
3479
|
if (e == null)
|
|
3480
3480
|
return;
|
|
3481
|
-
const t =
|
|
3481
|
+
const t = ke(e);
|
|
3482
3482
|
for (let r = 0; r < t.length; r++) {
|
|
3483
3483
|
const i = t[r];
|
|
3484
3484
|
if (Tr(i))
|
|
@@ -3486,28 +3486,28 @@ function _n(e) {
|
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
function Hr(e, ...t) {
|
|
3489
|
-
delete ce[e],
|
|
3489
|
+
delete ce[e], Re.update((r) => (r[e] = Ti.all([r[e] || {}, ...t]), r));
|
|
3490
3490
|
}
|
|
3491
|
-
|
|
3492
|
-
[
|
|
3491
|
+
Pe(
|
|
3492
|
+
[Re],
|
|
3493
3493
|
([e]) => Object.keys(e)
|
|
3494
3494
|
);
|
|
3495
|
-
|
|
3496
|
-
const
|
|
3495
|
+
Re.subscribe((e) => St = e);
|
|
3496
|
+
const ze = {};
|
|
3497
3497
|
function En(e, t) {
|
|
3498
|
-
|
|
3498
|
+
ze[e].delete(t), ze[e].size === 0 && delete ze[e];
|
|
3499
3499
|
}
|
|
3500
3500
|
function Ar(e) {
|
|
3501
|
-
return
|
|
3501
|
+
return ze[e];
|
|
3502
3502
|
}
|
|
3503
3503
|
function wn(e) {
|
|
3504
|
-
return
|
|
3504
|
+
return ke(e).map((t) => {
|
|
3505
3505
|
const r = Ar(t);
|
|
3506
3506
|
return [t, r ? [...r] : []];
|
|
3507
3507
|
}).filter(([, t]) => t.length > 0);
|
|
3508
3508
|
}
|
|
3509
3509
|
function Xe(e) {
|
|
3510
|
-
return e == null ? !1 :
|
|
3510
|
+
return e == null ? !1 : ke(e).some(
|
|
3511
3511
|
(t) => {
|
|
3512
3512
|
var r;
|
|
3513
3513
|
return (r = Ar(t)) == null ? void 0 : r.size;
|
|
@@ -3519,27 +3519,27 @@ function Sn(e, t) {
|
|
|
3519
3519
|
t.map((i) => (En(e, i), i().then((n) => n.default || n)))
|
|
3520
3520
|
).then((i) => Hr(e, ...i));
|
|
3521
3521
|
}
|
|
3522
|
-
const
|
|
3522
|
+
const Be = {};
|
|
3523
3523
|
function Or(e) {
|
|
3524
3524
|
if (!Xe(e))
|
|
3525
|
-
return e in
|
|
3525
|
+
return e in Be ? Be[e] : Promise.resolve();
|
|
3526
3526
|
const t = wn(e);
|
|
3527
|
-
return
|
|
3527
|
+
return Be[e] = Promise.all(
|
|
3528
3528
|
t.map(
|
|
3529
3529
|
([r, i]) => Sn(r, i)
|
|
3530
3530
|
)
|
|
3531
3531
|
).then(() => {
|
|
3532
3532
|
if (Xe(e))
|
|
3533
3533
|
return Or(e);
|
|
3534
|
-
delete
|
|
3535
|
-
}),
|
|
3534
|
+
delete Be[e];
|
|
3535
|
+
}), Be[e];
|
|
3536
3536
|
}
|
|
3537
|
-
var
|
|
3537
|
+
var Vt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, An = (e, t) => {
|
|
3538
3538
|
var r = {};
|
|
3539
3539
|
for (var i in e)
|
|
3540
3540
|
Tn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
3541
|
-
if (e != null &&
|
|
3542
|
-
for (var i of
|
|
3541
|
+
if (e != null && Vt)
|
|
3542
|
+
for (var i of Vt(e))
|
|
3543
3543
|
t.indexOf(i) < 0 && Hn.call(e, i) && (r[i] = e[i]);
|
|
3544
3544
|
return r;
|
|
3545
3545
|
};
|
|
@@ -3575,7 +3575,7 @@ const On = {
|
|
|
3575
3575
|
};
|
|
3576
3576
|
function Pn({ locale: e, id: t }) {
|
|
3577
3577
|
console.warn(
|
|
3578
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3578
|
+
`[svelte-i18n] The message "${t}" was not found in "${ke(
|
|
3579
3579
|
e
|
|
3580
3580
|
).join('", "')}".${Xe(de()) ? `
|
|
3581
3581
|
|
|
@@ -3589,9 +3589,9 @@ const $n = {
|
|
|
3589
3589
|
warnOnMissingMessages: !0,
|
|
3590
3590
|
handleMissingMessage: void 0,
|
|
3591
3591
|
ignoreTag: !0
|
|
3592
|
-
},
|
|
3593
|
-
function
|
|
3594
|
-
return
|
|
3592
|
+
}, Me = $n;
|
|
3593
|
+
function Oe() {
|
|
3594
|
+
return Me;
|
|
3595
3595
|
}
|
|
3596
3596
|
function Bn(e) {
|
|
3597
3597
|
const t = e, { formats: r } = t, i = An(t, ["formats"]);
|
|
@@ -3606,15 +3606,15 @@ function Bn(e) {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Pn : console.warn(
|
|
3608
3608
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3609
|
-
)), Object.assign(
|
|
3609
|
+
)), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), pe.set(n);
|
|
3610
3610
|
}
|
|
3611
3611
|
const ot = Ye(!1);
|
|
3612
|
-
var Mn = Object.defineProperty, Cn = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors,
|
|
3612
|
+
var Mn = Object.defineProperty, Cn = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nn = (e, t) => {
|
|
3613
3613
|
for (var r in t || (t = {}))
|
|
3614
|
-
|
|
3615
|
-
if (
|
|
3616
|
-
for (var r of
|
|
3617
|
-
|
|
3614
|
+
Ln.call(t, r) && jt(e, r, t[r]);
|
|
3615
|
+
if (Gt)
|
|
3616
|
+
for (var r of Gt(t))
|
|
3617
|
+
In.call(t, r) && jt(e, r, t[r]);
|
|
3618
3618
|
return e;
|
|
3619
3619
|
}, Rn = (e, t) => Cn(e, Dn(t));
|
|
3620
3620
|
let vt;
|
|
@@ -3622,7 +3622,7 @@ const We = Ye(null);
|
|
|
3622
3622
|
function zt(e) {
|
|
3623
3623
|
return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
|
|
3624
3624
|
}
|
|
3625
|
-
function
|
|
3625
|
+
function ke(e, t = Oe().fallbackLocale) {
|
|
3626
3626
|
const r = zt(e);
|
|
3627
3627
|
return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
|
|
3628
3628
|
}
|
|
@@ -3632,9 +3632,9 @@ function de() {
|
|
|
3632
3632
|
We.subscribe((e) => {
|
|
3633
3633
|
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3634
3634
|
});
|
|
3635
|
-
const
|
|
3635
|
+
const kn = (e) => {
|
|
3636
3636
|
if (e && _n(e) && Xe(e)) {
|
|
3637
|
-
const { loadingDelay: t } =
|
|
3637
|
+
const { loadingDelay: t } = Oe();
|
|
3638
3638
|
let r;
|
|
3639
3639
|
return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
|
|
3640
3640
|
() => ot.set(!0),
|
|
@@ -3647,7 +3647,7 @@ const Un = (e) => {
|
|
|
3647
3647
|
}
|
|
3648
3648
|
return We.set(e);
|
|
3649
3649
|
}, pe = Rn(Nn({}, We), {
|
|
3650
|
-
set:
|
|
3650
|
+
set: kn
|
|
3651
3651
|
}), Qe = (e) => {
|
|
3652
3652
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3653
3653
|
return (i) => {
|
|
@@ -3655,14 +3655,14 @@ const Un = (e) => {
|
|
|
3655
3655
|
return n in t ? t[n] : t[n] = e(i);
|
|
3656
3656
|
};
|
|
3657
3657
|
};
|
|
3658
|
-
var
|
|
3658
|
+
var Un = Object.defineProperty, qe = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
|
|
3659
3659
|
for (var r in t || (t = {}))
|
|
3660
3660
|
Pr.call(t, r) && Xt(e, r, t[r]);
|
|
3661
3661
|
if (qe)
|
|
3662
3662
|
for (var r of qe(t))
|
|
3663
3663
|
$r.call(t, r) && Xt(e, r, t[r]);
|
|
3664
3664
|
return e;
|
|
3665
|
-
},
|
|
3665
|
+
}, $e = (e, t) => {
|
|
3666
3666
|
var r = {};
|
|
3667
3667
|
for (var i in e)
|
|
3668
3668
|
Pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
|
|
@@ -3672,27 +3672,27 @@ var kn = Object.defineProperty, qe = Object.getOwnPropertySymbols, Pr = Object.p
|
|
|
3672
3672
|
return r;
|
|
3673
3673
|
};
|
|
3674
3674
|
const Ie = (e, t) => {
|
|
3675
|
-
const { formats: r } =
|
|
3675
|
+
const { formats: r } = Oe();
|
|
3676
3676
|
if (e in r && t in r[e])
|
|
3677
3677
|
return r[e][t];
|
|
3678
3678
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3679
3679
|
}, Fn = Qe(
|
|
3680
3680
|
(e) => {
|
|
3681
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3681
|
+
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3682
3682
|
if (r == null)
|
|
3683
3683
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3684
3684
|
return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
|
|
3685
3685
|
}
|
|
3686
|
-
),
|
|
3686
|
+
), Vn = Qe(
|
|
3687
3687
|
(e) => {
|
|
3688
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3688
|
+
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3689
3689
|
if (r == null)
|
|
3690
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3691
3691
|
return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
|
|
3692
3692
|
}
|
|
3693
|
-
),
|
|
3693
|
+
), Gn = Qe(
|
|
3694
3694
|
(e) => {
|
|
3695
|
-
var t = e, { locale: r, format: i } = t, n =
|
|
3695
|
+
var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
|
|
3696
3696
|
if (r == null)
|
|
3697
3697
|
throw new Error(
|
|
3698
3698
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -3702,28 +3702,28 @@ const Ie = (e, t) => {
|
|
|
3702
3702
|
), jn = (e = {}) => {
|
|
3703
3703
|
var t = e, {
|
|
3704
3704
|
locale: r = de()
|
|
3705
|
-
} = t, i =
|
|
3705
|
+
} = t, i = $e(t, [
|
|
3706
3706
|
"locale"
|
|
3707
3707
|
]);
|
|
3708
3708
|
return Fn(Tt({ locale: r }, i));
|
|
3709
3709
|
}, zn = (e = {}) => {
|
|
3710
3710
|
var t = e, {
|
|
3711
3711
|
locale: r = de()
|
|
3712
|
-
} = t, i =
|
|
3712
|
+
} = t, i = $e(t, [
|
|
3713
3713
|
"locale"
|
|
3714
3714
|
]);
|
|
3715
|
-
return
|
|
3715
|
+
return Vn(Tt({ locale: r }, i));
|
|
3716
3716
|
}, Xn = (e = {}) => {
|
|
3717
3717
|
var t = e, {
|
|
3718
3718
|
locale: r = de()
|
|
3719
|
-
} = t, i =
|
|
3719
|
+
} = t, i = $e(t, [
|
|
3720
3720
|
"locale"
|
|
3721
3721
|
]);
|
|
3722
|
-
return
|
|
3722
|
+
return Gn(Tt({ locale: r }, i));
|
|
3723
3723
|
}, Wn = Qe(
|
|
3724
3724
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3725
|
-
(e, t = de()) => new wr(e, t,
|
|
3726
|
-
ignoreTag:
|
|
3725
|
+
(e, t = de()) => new wr(e, t, Oe().formats, {
|
|
3726
|
+
ignoreTag: Oe().ignoreTag
|
|
3727
3727
|
})
|
|
3728
3728
|
), qn = (e, t = {}) => {
|
|
3729
3729
|
var r, i, n, s;
|
|
@@ -3740,7 +3740,7 @@ const Ie = (e, t) => {
|
|
|
3740
3740
|
);
|
|
3741
3741
|
let h = Sr(e, o);
|
|
3742
3742
|
if (!h)
|
|
3743
|
-
h = (s = (n = (i = (r =
|
|
3743
|
+
h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
|
|
3744
3744
|
else if (typeof h != "string")
|
|
3745
3745
|
return console.warn(
|
|
3746
3746
|
`[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.`
|
|
@@ -3757,11 +3757,11 @@ const Ie = (e, t) => {
|
|
|
3757
3757
|
);
|
|
3758
3758
|
}
|
|
3759
3759
|
return c;
|
|
3760
|
-
}, Yn = (e, t) => Xn(t).format(e), Zn = (e, t) => zn(t).format(e), Jn = (e, t) => jn(t).format(e), Qn = (e, t = de()) => Sr(e, t), Kn =
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3760
|
+
}, Yn = (e, t) => Xn(t).format(e), Zn = (e, t) => zn(t).format(e), Jn = (e, t) => jn(t).format(e), Qn = (e, t = de()) => Sr(e, t), Kn = Pe([pe, Re], () => qn);
|
|
3761
|
+
Pe([pe], () => Yn);
|
|
3762
|
+
Pe([pe], () => Zn);
|
|
3763
|
+
Pe([pe], () => Jn);
|
|
3764
|
+
Pe([pe, Re], () => Qn);
|
|
3765
3765
|
function Wt(e, t) {
|
|
3766
3766
|
Hr(e, t);
|
|
3767
3767
|
}
|
|
@@ -3838,7 +3838,7 @@ if (typeof window != "undefined") {
|
|
|
3838
3838
|
}
|
|
3839
3839
|
};
|
|
3840
3840
|
};
|
|
3841
|
-
customElements.define = e(customElements.define), import("./CashierVideoModal-
|
|
3841
|
+
customElements.define = e(customElements.define), import("./CashierVideoModal-kYAQNcsM.js").then(({ default: t }) => {
|
|
3842
3842
|
!customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
|
|
3843
3843
|
});
|
|
3844
3844
|
}
|
|
@@ -3847,7 +3847,7 @@ var Br = { exports: {} };
|
|
|
3847
3847
|
(function(r, i) {
|
|
3848
3848
|
e.exports = i();
|
|
3849
3849
|
})(sr, function() {
|
|
3850
|
-
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
3850
|
+
var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|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, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
|
|
3851
3851
|
var g = ["th", "st", "nd", "rd"], d = x % 100;
|
|
3852
3852
|
return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
|
|
3853
3853
|
} }, M = function(x, g, d) {
|
|
@@ -3866,30 +3866,30 @@ var Br = { exports: {} };
|
|
|
3866
3866
|
return { M: c, y: E, w: h, d: u, D: H, h: o, m: l, s: a, ms: s, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
|
|
3867
3867
|
}, u: function(x) {
|
|
3868
3868
|
return x === void 0;
|
|
3869
|
-
} },
|
|
3870
|
-
L
|
|
3869
|
+
} }, L = "en", I = {};
|
|
3870
|
+
I[L] = U;
|
|
3871
3871
|
var Y = "$isDayjsObject", R = function(x) {
|
|
3872
3872
|
return x instanceof ge || !(!x || !x[Y]);
|
|
3873
3873
|
}, W = function x(g, d, b) {
|
|
3874
3874
|
var p;
|
|
3875
|
-
if (!g) return
|
|
3875
|
+
if (!g) return L;
|
|
3876
3876
|
if (typeof g == "string") {
|
|
3877
3877
|
var _ = g.toLowerCase();
|
|
3878
|
-
|
|
3878
|
+
I[_] && (p = _), d && (I[_] = d, p = _);
|
|
3879
3879
|
var w = g.split("-");
|
|
3880
3880
|
if (!p && w.length > 1) return x(w[0]);
|
|
3881
3881
|
} else {
|
|
3882
3882
|
var B = g.name;
|
|
3883
|
-
|
|
3883
|
+
I[B] = g, p = B;
|
|
3884
3884
|
}
|
|
3885
|
-
return !b && p && (
|
|
3886
|
-
},
|
|
3885
|
+
return !b && p && (L = p), p || !b && L;
|
|
3886
|
+
}, k = function(x, g) {
|
|
3887
3887
|
if (R(x)) return x.clone();
|
|
3888
3888
|
var d = typeof g == "object" ? g : {};
|
|
3889
3889
|
return d.date = x, d.args = arguments, new ge(d);
|
|
3890
3890
|
}, P = X;
|
|
3891
3891
|
P.l = W, P.i = R, P.w = function(x, g) {
|
|
3892
|
-
return
|
|
3892
|
+
return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
|
|
3893
3893
|
};
|
|
3894
3894
|
var ge = function() {
|
|
3895
3895
|
function x(d) {
|
|
@@ -3919,12 +3919,12 @@ var Br = { exports: {} };
|
|
|
3919
3919
|
}, g.isValid = function() {
|
|
3920
3920
|
return this.$d.toString() !== v;
|
|
3921
3921
|
}, g.isSame = function(d, b) {
|
|
3922
|
-
var p =
|
|
3922
|
+
var p = k(d);
|
|
3923
3923
|
return this.startOf(b) <= p && p <= this.endOf(b);
|
|
3924
3924
|
}, g.isAfter = function(d, b) {
|
|
3925
|
-
return
|
|
3925
|
+
return k(d) < this.startOf(b);
|
|
3926
3926
|
}, g.isBefore = function(d, b) {
|
|
3927
|
-
return this.endOf(b) <
|
|
3927
|
+
return this.endOf(b) < k(d);
|
|
3928
3928
|
}, g.$g = function(d, b, p) {
|
|
3929
3929
|
return P.u(d) ? this[b] : this.set(p, d);
|
|
3930
3930
|
}, g.unix = function() {
|
|
@@ -3975,7 +3975,7 @@ var Br = { exports: {} };
|
|
|
3975
3975
|
var p, _ = this;
|
|
3976
3976
|
d = Number(d);
|
|
3977
3977
|
var w = P.p(b), B = function(F) {
|
|
3978
|
-
var q =
|
|
3978
|
+
var q = k(_);
|
|
3979
3979
|
return P.w(q.date(q.date() + Math.round(F * d)), _);
|
|
3980
3980
|
};
|
|
3981
3981
|
if (w === c) return this.set(c, this.$M + d);
|
|
@@ -3997,7 +3997,7 @@ var Br = { exports: {} };
|
|
|
3997
3997
|
var ve = j < 12 ? "AM" : "PM";
|
|
3998
3998
|
return me ? ve.toLowerCase() : ve;
|
|
3999
3999
|
};
|
|
4000
|
-
return _.replace(
|
|
4000
|
+
return _.replace(G, function(j, Q) {
|
|
4001
4001
|
return Q || function(me) {
|
|
4002
4002
|
switch (me) {
|
|
4003
4003
|
case "YY":
|
|
@@ -4055,7 +4055,7 @@ var Br = { exports: {} };
|
|
|
4055
4055
|
}, g.utcOffset = function() {
|
|
4056
4056
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4057
4057
|
}, g.diff = function(d, b, p) {
|
|
4058
|
-
var _, w = this, B = P.p(b), D =
|
|
4058
|
+
var _, w = this, B = P.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
|
|
4059
4059
|
return P.m(w, D);
|
|
4060
4060
|
};
|
|
4061
4061
|
switch (B) {
|
|
@@ -4090,7 +4090,7 @@ var Br = { exports: {} };
|
|
|
4090
4090
|
}, g.daysInMonth = function() {
|
|
4091
4091
|
return this.endOf(c).$D;
|
|
4092
4092
|
}, g.$locale = function() {
|
|
4093
|
-
return
|
|
4093
|
+
return I[this.$L];
|
|
4094
4094
|
}, g.locale = function(d, b) {
|
|
4095
4095
|
if (!d) return this.$L;
|
|
4096
4096
|
var p = this.clone(), _ = W(d, b, !0);
|
|
@@ -4107,15 +4107,15 @@ var Br = { exports: {} };
|
|
|
4107
4107
|
return this.$d.toUTCString();
|
|
4108
4108
|
}, x;
|
|
4109
4109
|
}(), Ue = ge.prototype;
|
|
4110
|
-
return
|
|
4110
|
+
return k.prototype = Ue, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
|
|
4111
4111
|
Ue[x[1]] = function(g) {
|
|
4112
4112
|
return this.$g(g, x[0], x[1]);
|
|
4113
4113
|
};
|
|
4114
|
-
}),
|
|
4115
|
-
return x.$i || (x(g, ge,
|
|
4116
|
-
},
|
|
4117
|
-
return
|
|
4118
|
-
},
|
|
4114
|
+
}), k.extend = function(x, g) {
|
|
4115
|
+
return x.$i || (x(g, ge, k), x.$i = !0), k;
|
|
4116
|
+
}, k.locale = W, k.isDayjs = R, k.unix = function(x) {
|
|
4117
|
+
return k(1e3 * x);
|
|
4118
|
+
}, k.en = I[L], k.Ls = I, k.p = {}, k;
|
|
4119
4119
|
});
|
|
4120
4120
|
})(Br);
|
|
4121
4121
|
var ts = Br.exports;
|
|
@@ -4150,20 +4150,20 @@ var Mr = { exports: {} };
|
|
|
4150
4150
|
};
|
|
4151
4151
|
var c = o.utcOffset;
|
|
4152
4152
|
o.utcOffset = function(v, $) {
|
|
4153
|
-
var
|
|
4154
|
-
if (
|
|
4155
|
-
if (typeof v == "string" && (v = function(
|
|
4156
|
-
|
|
4157
|
-
var
|
|
4158
|
-
if (!
|
|
4159
|
-
var Y = ("" +
|
|
4153
|
+
var G = this.$utils().u;
|
|
4154
|
+
if (G(v)) return this.$u ? 0 : G(this.$offset) ? c.call(this) : this.$offset;
|
|
4155
|
+
if (typeof v == "string" && (v = function(L) {
|
|
4156
|
+
L === void 0 && (L = "");
|
|
4157
|
+
var I = L.match(i);
|
|
4158
|
+
if (!I) return null;
|
|
4159
|
+
var Y = ("" + I[0]).match(n) || ["-", 0, 0], R = Y[0], W = 60 * +Y[1] + +Y[2];
|
|
4160
4160
|
return W === 0 ? 0 : R === "+" ? W : -W;
|
|
4161
4161
|
}(v), v === null)) return this;
|
|
4162
|
-
var
|
|
4163
|
-
if ($) return M.$offset =
|
|
4162
|
+
var U = Math.abs(v) <= 16 ? 60 * v : v, M = this;
|
|
4163
|
+
if ($) return M.$offset = U, M.$u = v === 0, M;
|
|
4164
4164
|
if (v !== 0) {
|
|
4165
4165
|
var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
4166
|
-
(M = this.local().add(
|
|
4166
|
+
(M = this.local().add(U + X, r)).$offset = U, M.$x.$localOffset = X;
|
|
4167
4167
|
} else M = this.utc();
|
|
4168
4168
|
return M;
|
|
4169
4169
|
};
|
|
@@ -4186,10 +4186,10 @@ var Mr = { exports: {} };
|
|
|
4186
4186
|
return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
|
|
4187
4187
|
};
|
|
4188
4188
|
var H = o.diff;
|
|
4189
|
-
o.diff = function(v, $,
|
|
4190
|
-
if (v && this.$u === v.$u) return H.call(this, v, $,
|
|
4191
|
-
var
|
|
4192
|
-
return H.call(
|
|
4189
|
+
o.diff = function(v, $, G) {
|
|
4190
|
+
if (v && this.$u === v.$u) return H.call(this, v, $, G);
|
|
4191
|
+
var U = this.local(), M = l(v).local();
|
|
4192
|
+
return H.call(U, M, $, G);
|
|
4193
4193
|
};
|
|
4194
4194
|
};
|
|
4195
4195
|
});
|
|
@@ -4197,7 +4197,7 @@ var Mr = { exports: {} };
|
|
|
4197
4197
|
var rs = Mr.exports;
|
|
4198
4198
|
const is = /* @__PURE__ */ _t(rs);
|
|
4199
4199
|
function ns(e) {
|
|
4200
|
-
|
|
4200
|
+
Gr(e, "svelte-1flpaov", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
4201
4201
|
}
|
|
4202
4202
|
function Zt(e, t, r) {
|
|
4203
4203
|
const i = e.slice();
|
|
@@ -4343,7 +4343,7 @@ function Kt(e) {
|
|
|
4343
4343
|
}
|
|
4344
4344
|
return {
|
|
4345
4345
|
c() {
|
|
4346
|
-
t = J("div"), r = J("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = J("p"), a = Ee(), h && h.c(), l = Ee(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"),
|
|
4346
|
+
t = J("div"), r = J("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = J("p"), a = Ee(), h && h.c(), l = Ee(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), Se(
|
|
4347
4347
|
t,
|
|
4348
4348
|
"ShowAll",
|
|
4349
4349
|
/*allVerificationsVisible*/
|
|
@@ -4359,7 +4359,7 @@ function Kt(e) {
|
|
|
4359
4359
|
e[49] + "") && (n.innerHTML = s), /*displayMessages*/
|
|
4360
4360
|
e[4].length > 1 && /*index*/
|
|
4361
4361
|
e[51] === 0 ? h ? h.p(e, E) : (h = Qt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
|
|
4362
|
-
32 &&
|
|
4362
|
+
32 && Se(
|
|
4363
4363
|
t,
|
|
4364
4364
|
"ShowAll",
|
|
4365
4365
|
/*allVerificationsVisible*/
|
|
@@ -4378,7 +4378,12 @@ function er(e) {
|
|
|
4378
4378
|
), a, l, o;
|
|
4379
4379
|
return {
|
|
4380
4380
|
c() {
|
|
4381
|
-
t = J("div"), r = J("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = J("div"), a = yt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"),
|
|
4381
|
+
t = J("div"), r = J("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = J("div"), a = yt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), Se(
|
|
4382
|
+
n,
|
|
4383
|
+
"CashierVerificationVideoLinkDesktop",
|
|
4384
|
+
/*desktopView*/
|
|
4385
|
+
e[6]
|
|
4386
|
+
), ee(t, "class", "CashierVerificationVideo");
|
|
4382
4387
|
},
|
|
4383
4388
|
m(u, h) {
|
|
4384
4389
|
ue(u, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, a), l || (o = xt(
|
|
@@ -4391,7 +4396,13 @@ function er(e) {
|
|
|
4391
4396
|
p(u, h) {
|
|
4392
4397
|
h[0] & /*$_*/
|
|
4393
4398
|
512 && s !== (s = /*$_*/
|
|
4394
|
-
u[9]("verification.video.how-to") + "") && qr(a, s)
|
|
4399
|
+
u[9]("verification.video.how-to") + "") && qr(a, s), h[0] & /*desktopView*/
|
|
4400
|
+
64 && Se(
|
|
4401
|
+
n,
|
|
4402
|
+
"CashierVerificationVideoLinkDesktop",
|
|
4403
|
+
/*desktopView*/
|
|
4404
|
+
u[6]
|
|
4405
|
+
);
|
|
4395
4406
|
},
|
|
4396
4407
|
d(u) {
|
|
4397
4408
|
u && ne(t), l = !1, o();
|
|
@@ -4405,7 +4416,7 @@ function ss(e) {
|
|
|
4405
4416
|
);
|
|
4406
4417
|
return {
|
|
4407
4418
|
c() {
|
|
4408
|
-
t = J("div"), r && r.c(), ee(t, "class", "CashierVerifications"),
|
|
4419
|
+
t = J("div"), r && r.c(), ee(t, "class", "CashierVerifications"), Se(
|
|
4409
4420
|
t,
|
|
4410
4421
|
"CashierVerificationsDesktop",
|
|
4411
4422
|
/*desktopView*/
|
|
@@ -4418,7 +4429,7 @@ function ss(e) {
|
|
|
4418
4429
|
p(i, n) {
|
|
4419
4430
|
/*displayMessages*/
|
|
4420
4431
|
i[4] ? r ? r.p(i, n) : (r = Jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
|
|
4421
|
-
64 &&
|
|
4432
|
+
64 && Se(
|
|
4422
4433
|
t,
|
|
4423
4434
|
"CashierVerificationsDesktop",
|
|
4424
4435
|
/*desktopView*/
|
|
@@ -4435,12 +4446,12 @@ function ss(e) {
|
|
|
4435
4446
|
const os = "verification_explanation_video_widgets.MP4";
|
|
4436
4447
|
function as(e, t, r) {
|
|
4437
4448
|
let i;
|
|
4438
|
-
|
|
4439
|
-
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $,
|
|
4440
|
-
var
|
|
4449
|
+
Vr(e, Kn, (f) => r(9, i = f)), Yt.extend(is);
|
|
4450
|
+
let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, G, U = !0, M = !0, X = !1, L = "";
|
|
4451
|
+
var I;
|
|
4441
4452
|
(function(f) {
|
|
4442
4453
|
f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
|
|
4443
|
-
})(
|
|
4454
|
+
})(I || (I = {}));
|
|
4444
4455
|
var Y;
|
|
4445
4456
|
(function(f) {
|
|
4446
4457
|
f.Requested = "Requested";
|
|
@@ -4453,7 +4464,7 @@ function as(e, t, r) {
|
|
|
4453
4464
|
(function(f) {
|
|
4454
4465
|
f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
|
|
4455
4466
|
})(W || (W = {}));
|
|
4456
|
-
const
|
|
4467
|
+
const k = [
|
|
4457
4468
|
R.InProgress,
|
|
4458
4469
|
R.Referred,
|
|
4459
4470
|
R.AwaitingForResponse
|
|
@@ -4490,11 +4501,11 @@ function as(e, t, r) {
|
|
|
4490
4501
|
const { merchantId: f, customerId: y } = d();
|
|
4491
4502
|
if (!f)
|
|
4492
4503
|
return;
|
|
4493
|
-
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`),
|
|
4494
|
-
|
|
4504
|
+
const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), V = new Headers();
|
|
4505
|
+
V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
4495
4506
|
const he = {
|
|
4496
4507
|
method: "POST",
|
|
4497
|
-
headers:
|
|
4508
|
+
headers: V,
|
|
4498
4509
|
body: JSON.stringify({
|
|
4499
4510
|
MerchantId: f,
|
|
4500
4511
|
CustomerId: y,
|
|
@@ -4505,7 +4516,7 @@ function as(e, t, r) {
|
|
|
4505
4516
|
fetch(S, he).then((be) => be.json()).then((be) => {
|
|
4506
4517
|
r(17, $ = be.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(be.Verifications), v.VerificationStatuses.forEach((te) => {
|
|
4507
4518
|
te.VerificationUrlType !== "Widget" && E.add(te.Vendor);
|
|
4508
|
-
}), r(4,
|
|
4519
|
+
}), r(4, G = N());
|
|
4509
4520
|
});
|
|
4510
4521
|
}, d = () => {
|
|
4511
4522
|
let f = u.split(".")[1];
|
|
@@ -4526,11 +4537,11 @@ function as(e, t, r) {
|
|
|
4526
4537
|
};
|
|
4527
4538
|
const y = w(f);
|
|
4528
4539
|
if (y && y.length) {
|
|
4529
|
-
const
|
|
4540
|
+
const V = p(y);
|
|
4530
4541
|
return {
|
|
4531
|
-
VerificationSummaryStatus:
|
|
4532
|
-
VerificationUrl: (S =
|
|
4533
|
-
VerificationStatuses: _(y,
|
|
4542
|
+
VerificationSummaryStatus: V.Status,
|
|
4543
|
+
VerificationUrl: (S = V.Flags) == null ? void 0 : S.DeferredUrlKey,
|
|
4544
|
+
VerificationStatuses: _(y, V.Status)
|
|
4534
4545
|
};
|
|
4535
4546
|
} else
|
|
4536
4547
|
return {
|
|
@@ -4541,18 +4552,18 @@ function as(e, t, r) {
|
|
|
4541
4552
|
(y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
|
|
4542
4553
|
0
|
|
4543
4554
|
), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
|
|
4544
|
-
var
|
|
4555
|
+
var V, he;
|
|
4545
4556
|
return {
|
|
4546
4557
|
Type: S.Type,
|
|
4547
4558
|
Vendor: S.VendorName,
|
|
4548
4559
|
VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
|
|
4549
|
-
VerificationUrlType: (
|
|
4560
|
+
VerificationUrlType: (V = S.Flags) == null ? void 0 : V.DeferredUrlTypeKey,
|
|
4550
4561
|
VerificationUrl: (he = S.Flags) == null ? void 0 : he.DeferredUrlKey
|
|
4551
4562
|
};
|
|
4552
|
-
}), w = (f) => f.filter((y) =>
|
|
4553
|
-
const y = f.Documents && f.VendorName ===
|
|
4563
|
+
}), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || D(y) : !1), B = (f) => {
|
|
4564
|
+
const y = f.Documents && f.VendorName === I.Manual, S = Object.values(f.Documents).some((V) => V.Status === Y.Requested);
|
|
4554
4565
|
return y && S;
|
|
4555
|
-
}, D = (f) => f.VendorName ===
|
|
4566
|
+
}, D = (f) => f.VendorName === I.ShuftiPro && f.Status === R.Referred, N = () => {
|
|
4556
4567
|
switch (v.VerificationSummaryStatus) {
|
|
4557
4568
|
case R.InProgress:
|
|
4558
4569
|
const f = [];
|
|
@@ -4566,22 +4577,22 @@ function as(e, t, r) {
|
|
|
4566
4577
|
}
|
|
4567
4578
|
}, F = (f) => {
|
|
4568
4579
|
const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
|
|
4569
|
-
if (f ===
|
|
4580
|
+
if (f === I.ShuftiPro)
|
|
4570
4581
|
return q(y);
|
|
4571
4582
|
{
|
|
4572
|
-
const S = i("verification.idenfy.link-name"),
|
|
4583
|
+
const S = i("verification.idenfy.link-name"), V = {
|
|
4573
4584
|
link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
|
|
4574
4585
|
};
|
|
4575
|
-
return i("verification.idenfy.in-progress", { values:
|
|
4586
|
+
return i("verification.idenfy.in-progress", { values: V });
|
|
4576
4587
|
}
|
|
4577
4588
|
}, q = (f) => {
|
|
4578
|
-
const y = [], S = {},
|
|
4589
|
+
const y = [], S = {}, V = [
|
|
4579
4590
|
W.Biometric,
|
|
4580
4591
|
W.Documents,
|
|
4581
4592
|
W.ProofOfAddress
|
|
4582
4593
|
];
|
|
4583
4594
|
f.forEach((te) => {
|
|
4584
|
-
|
|
4595
|
+
V.includes(te.Type) && (y.push(te.Type), S[te.Type] = le(te, se(te.Type)));
|
|
4585
4596
|
});
|
|
4586
4597
|
let he = y.every((te) => H.has(te)), be = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
|
|
4587
4598
|
return he ? i("verification.shuftipro.validations-started") : i(be, { values: S });
|
|
@@ -4589,17 +4600,17 @@ function as(e, t, r) {
|
|
|
4589
4600
|
if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
|
|
4590
4601
|
if (f.target.closest(".verificationLink")) {
|
|
4591
4602
|
const S = f.target.className.split(" ")[1];
|
|
4592
|
-
H.add(S), r(4,
|
|
4603
|
+
H.add(S), r(4, G = N());
|
|
4593
4604
|
}
|
|
4594
4605
|
return;
|
|
4595
4606
|
}
|
|
4596
|
-
y === 0 && r(5,
|
|
4607
|
+
y === 0 && r(5, U = !U);
|
|
4597
4608
|
}, ae = () => {
|
|
4598
4609
|
r(6, M = c === "false");
|
|
4599
4610
|
}, j = () => {
|
|
4600
|
-
r(8,
|
|
4611
|
+
r(8, L = $ + "/" + s + "/" + os);
|
|
4601
4612
|
try {
|
|
4602
|
-
fetch(
|
|
4613
|
+
fetch(L, { method: "HEAD" }).then((f) => {
|
|
4603
4614
|
r(7, X = f.ok);
|
|
4604
4615
|
});
|
|
4605
4616
|
} catch (f) {
|
|
@@ -4608,7 +4619,7 @@ function as(e, t, r) {
|
|
|
4608
4619
|
}, Q = () => {
|
|
4609
4620
|
window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
|
|
4610
4621
|
}, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Dr = () => Q();
|
|
4611
|
-
function
|
|
4622
|
+
function Lr(f) {
|
|
4612
4623
|
at[f ? "unshift" : "push"](() => {
|
|
4613
4624
|
m = f, r(3, m);
|
|
4614
4625
|
});
|
|
@@ -4629,11 +4640,11 @@ function as(e, t, r) {
|
|
|
4629
4640
|
o,
|
|
4630
4641
|
c,
|
|
4631
4642
|
m,
|
|
4632
|
-
|
|
4633
|
-
|
|
4643
|
+
G,
|
|
4644
|
+
U,
|
|
4634
4645
|
M,
|
|
4635
4646
|
X,
|
|
4636
|
-
|
|
4647
|
+
L,
|
|
4637
4648
|
i,
|
|
4638
4649
|
oe,
|
|
4639
4650
|
Q,
|
|
@@ -4646,7 +4657,7 @@ function as(e, t, r) {
|
|
|
4646
4657
|
me,
|
|
4647
4658
|
ve,
|
|
4648
4659
|
Dr,
|
|
4649
|
-
|
|
4660
|
+
Lr
|
|
4650
4661
|
];
|
|
4651
4662
|
}
|
|
4652
4663
|
class Cr extends ui {
|
|
@@ -4728,7 +4739,7 @@ const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4728
4739
|
export {
|
|
4729
4740
|
ds as C,
|
|
4730
4741
|
ui as S,
|
|
4731
|
-
|
|
4742
|
+
Gr as a,
|
|
4732
4743
|
ue as b,
|
|
4733
4744
|
ai as c,
|
|
4734
4745
|
ne as d,
|
|
@@ -4745,5 +4756,6 @@ export {
|
|
|
4745
4756
|
cs as o,
|
|
4746
4757
|
xt as p,
|
|
4747
4758
|
at as q,
|
|
4748
|
-
rr as s
|
|
4759
|
+
rr as s,
|
|
4760
|
+
Se as t
|
|
4749
4761
|
};
|