@everymatrix/cashier-video-modal 1.74.6 → 1.74.7
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/{CashierVideoModal-CTbCFlFT.js → CashierVideoModal-B8Oh8rwr.js} +164 -172
- package/components/{CashierVideoModal-CWTBygnf.js → CashierVideoModal-CAxILc6g.js} +169 -177
- package/components/{CashierVideoModal-bYed8DsJ.cjs → CashierVideoModal-CoxcU2kH.cjs} +4 -4
- package/es2015/cashier-video-modal.cjs +1 -1
- package/es2015/cashier-video-modal.js +1 -1
- package/esnext/cashier-video-modal.js +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
function S() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Ht(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
6
|
function Qe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function K(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(Ht);
|
|
11
11
|
}
|
|
12
12
|
function Ve(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function wt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ie;
|
|
@@ -37,7 +37,7 @@ function T(e, t) {
|
|
|
37
37
|
function ar(e, t, r) {
|
|
38
38
|
const n = ur(e);
|
|
39
39
|
if (!n.getElementById(t)) {
|
|
40
|
-
const i =
|
|
40
|
+
const i = O("style");
|
|
41
41
|
i.id = t, i.textContent = r, hr(n, i);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -64,7 +64,7 @@ function ee(e, t, r) {
|
|
|
64
64
|
function k(e) {
|
|
65
65
|
e.parentNode && e.parentNode.removeChild(e);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function O(e) {
|
|
68
68
|
return document.createElement(e);
|
|
69
69
|
}
|
|
70
70
|
function fe(e) {
|
|
@@ -82,7 +82,7 @@ function lr() {
|
|
|
82
82
|
function Bt(e, t, r, n) {
|
|
83
83
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function _(e, t, r) {
|
|
86
86
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
87
87
|
}
|
|
88
88
|
function fr(e) {
|
|
@@ -112,39 +112,39 @@ function pr() {
|
|
|
112
112
|
function dr(e) {
|
|
113
113
|
pr().$$.on_mount.push(e);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const $ = [], Be = [];
|
|
116
116
|
let U = [];
|
|
117
117
|
const Ke = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
118
118
|
let Ae = !1;
|
|
119
119
|
function br() {
|
|
120
|
-
Ae || (Ae = !0, mr.then(
|
|
120
|
+
Ae || (Ae = !0, mr.then(R));
|
|
121
121
|
}
|
|
122
122
|
function Ce(e) {
|
|
123
123
|
U.push(e);
|
|
124
124
|
}
|
|
125
125
|
const ye = /* @__PURE__ */ new Set();
|
|
126
|
-
let
|
|
127
|
-
function
|
|
128
|
-
if (
|
|
126
|
+
let N = 0;
|
|
127
|
+
function R() {
|
|
128
|
+
if (N !== 0)
|
|
129
129
|
return;
|
|
130
130
|
const e = J;
|
|
131
131
|
do {
|
|
132
132
|
try {
|
|
133
|
-
for (;
|
|
134
|
-
const t =
|
|
135
|
-
|
|
133
|
+
for (; N < $.length; ) {
|
|
134
|
+
const t = $[N];
|
|
135
|
+
N++, Q(t), vr(t.$$);
|
|
136
136
|
}
|
|
137
137
|
} catch (t) {
|
|
138
|
-
throw
|
|
138
|
+
throw $.length = 0, N = 0, t;
|
|
139
139
|
}
|
|
140
|
-
for (Q(null),
|
|
140
|
+
for (Q(null), $.length = 0, N = 0; Be.length; )
|
|
141
141
|
Be.pop()();
|
|
142
142
|
for (let t = 0; t < U.length; t += 1) {
|
|
143
143
|
const r = U[t];
|
|
144
144
|
ye.has(r) || (ye.add(r), r());
|
|
145
145
|
}
|
|
146
146
|
U.length = 0;
|
|
147
|
-
} while (
|
|
147
|
+
} while ($.length);
|
|
148
148
|
for (; Ke.length; )
|
|
149
149
|
Ke.pop()();
|
|
150
150
|
Ae = !1, ye.clear(), Q(e);
|
|
@@ -167,7 +167,7 @@ function _r(e, t) {
|
|
|
167
167
|
function Er(e, t, r) {
|
|
168
168
|
const { fragment: n, after_update: i } = e.$$;
|
|
169
169
|
n && n.m(t, r), Ce(() => {
|
|
170
|
-
const o = e.$$.on_mount.map(
|
|
170
|
+
const o = e.$$.on_mount.map(Ht).filter(Ve);
|
|
171
171
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
172
172
|
}), i.forEach(Ce);
|
|
173
173
|
}
|
|
@@ -176,9 +176,9 @@ function xr(e, t) {
|
|
|
176
176
|
r.fragment !== null && (gr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
177
177
|
}
|
|
178
178
|
function Sr(e, t) {
|
|
179
|
-
e.$$.dirty[0] === -1 && (
|
|
179
|
+
e.$$.dirty[0] === -1 && ($.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
182
182
|
const h = J;
|
|
183
183
|
Q(e);
|
|
184
184
|
const u = e.$$ = {
|
|
@@ -204,8 +204,8 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
204
204
|
};
|
|
205
205
|
s && s(u.root);
|
|
206
206
|
let l = !1;
|
|
207
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
208
|
-
const g =
|
|
207
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
|
|
208
|
+
const g = b.length ? b[0] : c;
|
|
209
209
|
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Sr(e, f)), c;
|
|
210
210
|
}) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
211
211
|
if (t.hydrate) {
|
|
@@ -213,7 +213,7 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
213
213
|
u.fragment && u.fragment.l(f), f.forEach(k);
|
|
214
214
|
} else
|
|
215
215
|
u.fragment && u.fragment.c();
|
|
216
|
-
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor),
|
|
216
|
+
t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), R();
|
|
217
217
|
}
|
|
218
218
|
Q(h);
|
|
219
219
|
}
|
|
@@ -260,7 +260,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
260
260
|
let o;
|
|
261
261
|
return {
|
|
262
262
|
c: function() {
|
|
263
|
-
o =
|
|
263
|
+
o = O("slot"), i !== "default" && _(o, "name", i);
|
|
264
264
|
},
|
|
265
265
|
/**
|
|
266
266
|
* @param {HTMLElement} target
|
|
@@ -364,7 +364,7 @@ function ae(e, t, r, n) {
|
|
|
364
364
|
return t;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function wr(e, t, r, n, i, o) {
|
|
368
368
|
let s = class extends At {
|
|
369
369
|
constructor() {
|
|
370
370
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -493,15 +493,15 @@ function A(e, t) {
|
|
|
493
493
|
}
|
|
494
494
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
495
495
|
}
|
|
496
|
-
var
|
|
497
|
-
return
|
|
496
|
+
var m = function() {
|
|
497
|
+
return m = Object.assign || function(t) {
|
|
498
498
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
499
499
|
r = arguments[n];
|
|
500
500
|
for (var o in r)
|
|
501
501
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
502
502
|
}
|
|
503
503
|
return t;
|
|
504
|
-
},
|
|
504
|
+
}, m.apply(this, arguments);
|
|
505
505
|
};
|
|
506
506
|
function Or(e, t) {
|
|
507
507
|
var r = {};
|
|
@@ -613,8 +613,8 @@ var de = function() {
|
|
|
613
613
|
if (f) {
|
|
614
614
|
this._finalizers = null;
|
|
615
615
|
try {
|
|
616
|
-
for (var c = Oe(f),
|
|
617
|
-
var g =
|
|
616
|
+
for (var c = Oe(f), b = c.next(); !b.done; b = c.next()) {
|
|
617
|
+
var g = b.value;
|
|
618
618
|
try {
|
|
619
619
|
et(g);
|
|
620
620
|
} catch (v) {
|
|
@@ -625,7 +625,7 @@ var de = function() {
|
|
|
625
625
|
n = { error: v };
|
|
626
626
|
} finally {
|
|
627
627
|
try {
|
|
628
|
-
|
|
628
|
+
b && !b.done && (i = c.return) && i.call(c);
|
|
629
629
|
} finally {
|
|
630
630
|
if (n)
|
|
631
631
|
throw n.error;
|
|
@@ -1020,7 +1020,7 @@ const ot = [], st = {}, Xr = (e, t = 0) => {
|
|
|
1020
1020
|
st[e] = r, ot.push(e);
|
|
1021
1021
|
}
|
|
1022
1022
|
return st[e];
|
|
1023
|
-
},
|
|
1023
|
+
}, M = [];
|
|
1024
1024
|
function Wr(e, t) {
|
|
1025
1025
|
return {
|
|
1026
1026
|
subscribe: me(e, t).subscribe
|
|
@@ -1030,14 +1030,14 @@ function me(e, t = S) {
|
|
|
1030
1030
|
let r;
|
|
1031
1031
|
const n = /* @__PURE__ */ new Set();
|
|
1032
1032
|
function i(a) {
|
|
1033
|
-
if (
|
|
1034
|
-
const h =
|
|
1033
|
+
if (wt(e, a) && (e = a, r)) {
|
|
1034
|
+
const h = !M.length;
|
|
1035
1035
|
for (const u of n)
|
|
1036
|
-
u[1](),
|
|
1036
|
+
u[1](), M.push(u, e);
|
|
1037
1037
|
if (h) {
|
|
1038
|
-
for (let u = 0; u <
|
|
1039
|
-
|
|
1040
|
-
|
|
1038
|
+
for (let u = 0; u < M.length; u += 2)
|
|
1039
|
+
M[u][0](M[u + 1]);
|
|
1040
|
+
M.length = 0;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
@@ -1067,11 +1067,11 @@ function X(e, t, r) {
|
|
|
1067
1067
|
f();
|
|
1068
1068
|
const g = t(n ? u[0] : u, s, a);
|
|
1069
1069
|
o ? s(g) : f = Ve(g) ? g : S;
|
|
1070
|
-
},
|
|
1070
|
+
}, b = i.map(
|
|
1071
1071
|
(g, v) => sr(
|
|
1072
1072
|
g,
|
|
1073
|
-
(
|
|
1074
|
-
u[v] =
|
|
1073
|
+
(H) => {
|
|
1074
|
+
u[v] = H, l &= ~(1 << v), h && c();
|
|
1075
1075
|
},
|
|
1076
1076
|
() => {
|
|
1077
1077
|
l |= 1 << v;
|
|
@@ -1079,7 +1079,7 @@ function X(e, t, r) {
|
|
|
1079
1079
|
)
|
|
1080
1080
|
);
|
|
1081
1081
|
return h = !0, c(), function() {
|
|
1082
|
-
K(
|
|
1082
|
+
K(b), f(), h = !1;
|
|
1083
1083
|
};
|
|
1084
1084
|
});
|
|
1085
1085
|
}
|
|
@@ -1413,7 +1413,7 @@ function Qt(e) {
|
|
|
1413
1413
|
};
|
|
1414
1414
|
}
|
|
1415
1415
|
}
|
|
1416
|
-
function
|
|
1416
|
+
function Hn(e) {
|
|
1417
1417
|
var t;
|
|
1418
1418
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1419
1419
|
notation: "engineering"
|
|
@@ -1431,7 +1431,7 @@ function ft(e) {
|
|
|
1431
1431
|
var t = {}, r = Qt(e);
|
|
1432
1432
|
return r || t;
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1434
|
+
function wn(e) {
|
|
1435
1435
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1436
1436
|
var i = n[r];
|
|
1437
1437
|
switch (i.stem) {
|
|
@@ -1466,13 +1466,13 @@ function Hn(e) {
|
|
|
1466
1466
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1467
1467
|
continue;
|
|
1468
1468
|
case "scientific":
|
|
1469
|
-
t =
|
|
1470
|
-
return
|
|
1469
|
+
t = m(m(m({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1470
|
+
return m(m({}, h), ft(u));
|
|
1471
1471
|
}, {}));
|
|
1472
1472
|
continue;
|
|
1473
1473
|
case "engineering":
|
|
1474
|
-
t =
|
|
1475
|
-
return
|
|
1474
|
+
t = m(m(m({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1475
|
+
return m(m({}, h), ft(u));
|
|
1476
1476
|
}, {}));
|
|
1477
1477
|
continue;
|
|
1478
1478
|
case "notation-simple":
|
|
@@ -1517,13 +1517,13 @@ function Hn(e) {
|
|
|
1517
1517
|
case "integer-width":
|
|
1518
1518
|
if (i.options.length > 1)
|
|
1519
1519
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1520
|
-
i.options[0].replace(Sn, function(h, u, l, f, c,
|
|
1520
|
+
i.options[0].replace(Sn, function(h, u, l, f, c, b) {
|
|
1521
1521
|
if (u)
|
|
1522
1522
|
t.minimumIntegerDigits = l.length;
|
|
1523
1523
|
else {
|
|
1524
1524
|
if (f && c)
|
|
1525
1525
|
throw new Error("We currently do not support maximum integer digits");
|
|
1526
|
-
if (
|
|
1526
|
+
if (b)
|
|
1527
1527
|
throw new Error("We currently do not support exact integer digits");
|
|
1528
1528
|
}
|
|
1529
1529
|
return "";
|
|
@@ -1537,21 +1537,21 @@ function Hn(e) {
|
|
|
1537
1537
|
if (ht.test(i.stem)) {
|
|
1538
1538
|
if (i.options.length > 1)
|
|
1539
1539
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1540
|
-
i.stem.replace(ht, function(h, u, l, f, c,
|
|
1541
|
-
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1540
|
+
i.stem.replace(ht, function(h, u, l, f, c, b) {
|
|
1541
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1542
1542
|
});
|
|
1543
1543
|
var o = i.options[0];
|
|
1544
|
-
o === "w" ? t =
|
|
1544
|
+
o === "w" ? t = m(m({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = m(m({}, t), lt(o)));
|
|
1545
1545
|
continue;
|
|
1546
1546
|
}
|
|
1547
1547
|
if (zt.test(i.stem)) {
|
|
1548
|
-
t =
|
|
1548
|
+
t = m(m({}, t), lt(i.stem));
|
|
1549
1549
|
continue;
|
|
1550
1550
|
}
|
|
1551
1551
|
var s = Qt(i.stem);
|
|
1552
|
-
s && (t =
|
|
1553
|
-
var a =
|
|
1554
|
-
a && (t =
|
|
1552
|
+
s && (t = m(m({}, t), s));
|
|
1553
|
+
var a = Hn(i.stem);
|
|
1554
|
+
a && (t = m(m({}, t), a));
|
|
1555
1555
|
}
|
|
1556
1556
|
return t;
|
|
1557
1557
|
}
|
|
@@ -3008,7 +3008,7 @@ function Bn(e) {
|
|
|
3008
3008
|
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
3009
3009
|
return i[0];
|
|
3010
3010
|
}
|
|
3011
|
-
var
|
|
3011
|
+
var He, An = new RegExp("^".concat(Wt.source, "*")), Cn = new RegExp("".concat(Wt.source, "*$"));
|
|
3012
3012
|
function d(e, t) {
|
|
3013
3013
|
return { start: e, end: t };
|
|
3014
3014
|
}
|
|
@@ -3017,7 +3017,7 @@ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String
|
|
|
3017
3017
|
}, $e = !0;
|
|
3018
3018
|
try {
|
|
3019
3019
|
var Un = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3020
|
-
$e = ((
|
|
3020
|
+
$e = ((He = Un.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
|
|
3021
3021
|
} catch {
|
|
3022
3022
|
$e = !1;
|
|
3023
3023
|
}
|
|
@@ -3313,34 +3313,34 @@ var Fn = (
|
|
|
3313
3313
|
var c = Gn(f.val);
|
|
3314
3314
|
if (c.length === 0)
|
|
3315
3315
|
return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
3316
|
-
var
|
|
3317
|
-
u = { style: c, styleLocation:
|
|
3316
|
+
var b = d(l, this.clonePosition());
|
|
3317
|
+
u = { style: c, styleLocation: b };
|
|
3318
3318
|
}
|
|
3319
3319
|
var g = this.tryParseArgumentClose(i);
|
|
3320
3320
|
if (g.err)
|
|
3321
3321
|
return g;
|
|
3322
3322
|
var v = d(i, this.clonePosition());
|
|
3323
3323
|
if (u && ct(u?.style, "::", 0)) {
|
|
3324
|
-
var
|
|
3324
|
+
var H = Dn(u.style.slice(2));
|
|
3325
3325
|
if (a === "number") {
|
|
3326
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3326
|
+
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3327
3327
|
return f.err ? f : {
|
|
3328
3328
|
val: { type: y.number, value: n, location: v, style: f.val },
|
|
3329
3329
|
err: null
|
|
3330
3330
|
};
|
|
3331
3331
|
} else {
|
|
3332
|
-
if (
|
|
3332
|
+
if (H.length === 0)
|
|
3333
3333
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
|
|
3334
|
-
var
|
|
3335
|
-
this.locale && (
|
|
3334
|
+
var E = H;
|
|
3335
|
+
this.locale && (E = Tn(H, this.locale));
|
|
3336
3336
|
var c = {
|
|
3337
3337
|
type: F.dateTime,
|
|
3338
|
-
pattern:
|
|
3338
|
+
pattern: E,
|
|
3339
3339
|
location: u.styleLocation,
|
|
3340
|
-
parsedOptions: this.shouldParseSkeletons ? yn(
|
|
3341
|
-
},
|
|
3340
|
+
parsedOptions: this.shouldParseSkeletons ? yn(E) : {}
|
|
3341
|
+
}, I = a === "date" ? y.date : y.time;
|
|
3342
3342
|
return {
|
|
3343
|
-
val: { type:
|
|
3343
|
+
val: { type: I, value: n, location: v, style: c },
|
|
3344
3344
|
err: null
|
|
3345
3345
|
};
|
|
3346
3346
|
}
|
|
@@ -3358,11 +3358,11 @@ var Fn = (
|
|
|
3358
3358
|
case "plural":
|
|
3359
3359
|
case "selectordinal":
|
|
3360
3360
|
case "select": {
|
|
3361
|
-
var
|
|
3361
|
+
var w = this.clonePosition();
|
|
3362
3362
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3363
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(
|
|
3363
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, m({}, w)));
|
|
3364
3364
|
this.bumpSpace();
|
|
3365
|
-
var z = this.parseIdentifierIfPossible(),
|
|
3365
|
+
var z = this.parseIdentifierIfPossible(), P = 0;
|
|
3366
3366
|
if (a !== "select" && z.value === "offset") {
|
|
3367
3367
|
if (!this.bumpIf(":"))
|
|
3368
3368
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
@@ -3370,7 +3370,7 @@ var Fn = (
|
|
|
3370
3370
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3371
3371
|
if (f.err)
|
|
3372
3372
|
return f;
|
|
3373
|
-
this.bumpSpace(), z = this.parseIdentifierIfPossible(),
|
|
3373
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), P = f.val;
|
|
3374
3374
|
}
|
|
3375
3375
|
var ne = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
3376
3376
|
if (ne.err)
|
|
@@ -3392,7 +3392,7 @@ var Fn = (
|
|
|
3392
3392
|
type: y.plural,
|
|
3393
3393
|
value: n,
|
|
3394
3394
|
options: pt(ne.val),
|
|
3395
|
-
offset:
|
|
3395
|
+
offset: P,
|
|
3396
3396
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3397
3397
|
location: Ze
|
|
3398
3398
|
},
|
|
@@ -3451,7 +3451,7 @@ var Fn = (
|
|
|
3451
3451
|
type: F.number,
|
|
3452
3452
|
tokens: n,
|
|
3453
3453
|
location: r,
|
|
3454
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3454
|
+
parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
|
|
3455
3455
|
},
|
|
3456
3456
|
err: null
|
|
3457
3457
|
};
|
|
@@ -3470,20 +3470,20 @@ var Fn = (
|
|
|
3470
3470
|
if (h.has(u))
|
|
3471
3471
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3472
3472
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3473
|
-
var
|
|
3473
|
+
var b = this.clonePosition();
|
|
3474
3474
|
if (!this.bumpIf("{"))
|
|
3475
3475
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
3476
3476
|
var g = this.parseMessage(t + 1, r, n);
|
|
3477
3477
|
if (g.err)
|
|
3478
3478
|
return g;
|
|
3479
|
-
var v = this.tryParseArgumentClose(
|
|
3479
|
+
var v = this.tryParseArgumentClose(b);
|
|
3480
3480
|
if (v.err)
|
|
3481
3481
|
return v;
|
|
3482
3482
|
a.push([
|
|
3483
3483
|
u,
|
|
3484
3484
|
{
|
|
3485
3485
|
value: g.val,
|
|
3486
|
-
location: d(
|
|
3486
|
+
location: d(b, this.clonePosition())
|
|
3487
3487
|
}
|
|
3488
3488
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3489
3489
|
}
|
|
@@ -3590,7 +3590,7 @@ function Ge(e) {
|
|
|
3590
3590
|
});
|
|
3591
3591
|
}
|
|
3592
3592
|
function Xn(e, t) {
|
|
3593
|
-
t === void 0 && (t = {}), t =
|
|
3593
|
+
t === void 0 && (t = {}), t = m({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3594
3594
|
var r = new Fn(e, t).parse();
|
|
3595
3595
|
if (r.err) {
|
|
3596
3596
|
var n = SyntaxError(p[r.err.kind]);
|
|
@@ -3690,79 +3690,79 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3690
3690
|
continue;
|
|
3691
3691
|
}
|
|
3692
3692
|
if (Gt(l)) {
|
|
3693
|
-
var
|
|
3693
|
+
var b = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
|
|
3694
3694
|
a.push({
|
|
3695
3695
|
type: x.literal,
|
|
3696
|
-
value: r.getDateTimeFormat(t,
|
|
3696
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
|
3697
3697
|
});
|
|
3698
3698
|
continue;
|
|
3699
3699
|
}
|
|
3700
3700
|
if (Ft(l)) {
|
|
3701
|
-
var
|
|
3701
|
+
var b = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3702
3702
|
a.push({
|
|
3703
3703
|
type: x.literal,
|
|
3704
|
-
value: r.getDateTimeFormat(t,
|
|
3704
|
+
value: r.getDateTimeFormat(t, b).format(c)
|
|
3705
3705
|
});
|
|
3706
3706
|
continue;
|
|
3707
3707
|
}
|
|
3708
3708
|
if (Dt(l)) {
|
|
3709
|
-
var
|
|
3710
|
-
|
|
3709
|
+
var b = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
|
|
3710
|
+
b && b.scale && (c = c * (b.scale || 1)), a.push({
|
|
3711
3711
|
type: x.literal,
|
|
3712
|
-
value: r.getNumberFormat(t,
|
|
3712
|
+
value: r.getNumberFormat(t, b).format(c)
|
|
3713
3713
|
});
|
|
3714
3714
|
continue;
|
|
3715
3715
|
}
|
|
3716
3716
|
if (kt(l)) {
|
|
3717
|
-
var g = l.children, v = l.value,
|
|
3718
|
-
if (!Qn(
|
|
3717
|
+
var g = l.children, v = l.value, H = i[v];
|
|
3718
|
+
if (!Qn(H))
|
|
3719
3719
|
throw new Wn(v, "function", s);
|
|
3720
|
-
var
|
|
3721
|
-
return
|
|
3720
|
+
var E = he(g, t, r, n, i, o), I = H(E.map(function(P) {
|
|
3721
|
+
return P.value;
|
|
3722
3722
|
}));
|
|
3723
|
-
Array.isArray(
|
|
3723
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
|
|
3724
3724
|
return {
|
|
3725
|
-
type: typeof
|
|
3726
|
-
value:
|
|
3725
|
+
type: typeof P == "string" ? x.literal : x.object,
|
|
3726
|
+
value: P
|
|
3727
3727
|
};
|
|
3728
3728
|
}));
|
|
3729
3729
|
}
|
|
3730
3730
|
if (jt(l)) {
|
|
3731
|
-
var
|
|
3732
|
-
if (!
|
|
3731
|
+
var w = l.options[c] || l.options.other;
|
|
3732
|
+
if (!w)
|
|
3733
3733
|
throw new mt(l.value, c, Object.keys(l.options), s);
|
|
3734
|
-
a.push.apply(a, he(
|
|
3734
|
+
a.push.apply(a, he(w.value, t, r, n, i));
|
|
3735
3735
|
continue;
|
|
3736
3736
|
}
|
|
3737
3737
|
if (Vt(l)) {
|
|
3738
|
-
var
|
|
3739
|
-
if (!
|
|
3738
|
+
var w = l.options["=".concat(c)];
|
|
3739
|
+
if (!w) {
|
|
3740
3740
|
if (!Intl.PluralRules)
|
|
3741
3741
|
throw new be(`Intl.PluralRules is not available in this environment.
|
|
3742
3742
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3743
3743
|
`, j.MISSING_INTL_API, s);
|
|
3744
3744
|
var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3745
|
-
|
|
3745
|
+
w = l.options[z] || l.options.other;
|
|
3746
3746
|
}
|
|
3747
|
-
if (!
|
|
3747
|
+
if (!w)
|
|
3748
3748
|
throw new mt(l.value, c, Object.keys(l.options), s);
|
|
3749
|
-
a.push.apply(a, he(
|
|
3749
|
+
a.push.apply(a, he(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3750
3750
|
continue;
|
|
3751
3751
|
}
|
|
3752
3752
|
}
|
|
3753
3753
|
return Zn(a);
|
|
3754
3754
|
}
|
|
3755
3755
|
function Jn(e, t) {
|
|
3756
|
-
return t ?
|
|
3757
|
-
return r[n] =
|
|
3756
|
+
return t ? m(m(m({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3757
|
+
return r[n] = m(m({}, e[n]), t[n] || {}), r;
|
|
3758
3758
|
}, {})) : e;
|
|
3759
3759
|
}
|
|
3760
3760
|
function qn(e, t) {
|
|
3761
3761
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3762
3762
|
return r[n] = Jn(e[n], t[n]), r;
|
|
3763
|
-
},
|
|
3763
|
+
}, m({}, e)) : e;
|
|
3764
3764
|
}
|
|
3765
|
-
function
|
|
3765
|
+
function we(e) {
|
|
3766
3766
|
return {
|
|
3767
3767
|
create: function() {
|
|
3768
3768
|
return {
|
|
@@ -3787,7 +3787,7 @@ function Yn(e) {
|
|
|
3787
3787
|
r[n] = arguments[n];
|
|
3788
3788
|
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3789
3789
|
}, {
|
|
3790
|
-
cache:
|
|
3790
|
+
cache: we(e.number),
|
|
3791
3791
|
strategy: Se.variadic
|
|
3792
3792
|
}),
|
|
3793
3793
|
getDateTimeFormat: xe(function() {
|
|
@@ -3795,7 +3795,7 @@ function Yn(e) {
|
|
|
3795
3795
|
r[n] = arguments[n];
|
|
3796
3796
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3797
3797
|
}, {
|
|
3798
|
-
cache:
|
|
3798
|
+
cache: we(e.dateTime),
|
|
3799
3799
|
strategy: Se.variadic
|
|
3800
3800
|
}),
|
|
3801
3801
|
getPluralRules: xe(function() {
|
|
@@ -3803,7 +3803,7 @@ function Yn(e) {
|
|
|
3803
3803
|
r[n] = arguments[n];
|
|
3804
3804
|
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3805
3805
|
}, {
|
|
3806
|
-
cache:
|
|
3806
|
+
cache: we(e.pluralRules),
|
|
3807
3807
|
strategy: Se.variadic
|
|
3808
3808
|
})
|
|
3809
3809
|
};
|
|
@@ -3841,7 +3841,7 @@ var Kn = (
|
|
|
3841
3841
|
var s = i || {};
|
|
3842
3842
|
s.formatters;
|
|
3843
3843
|
var a = Or(s, ["formatters"]);
|
|
3844
|
-
this.ast = e.__parse(t,
|
|
3844
|
+
this.ast = e.__parse(t, m(m({}, a), { locale: this.resolvedLocale }));
|
|
3845
3845
|
} else
|
|
3846
3846
|
this.ast = t;
|
|
3847
3847
|
if (!Array.isArray(this.ast))
|
|
@@ -4084,7 +4084,7 @@ function ve(e, t = V().fallbackLocale) {
|
|
|
4084
4084
|
const r = gt(e);
|
|
4085
4085
|
return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4087
|
+
function L() {
|
|
4088
4088
|
return je ?? void 0;
|
|
4089
4089
|
}
|
|
4090
4090
|
ce.subscribe((e) => {
|
|
@@ -4094,7 +4094,7 @@ const yi = (e) => {
|
|
|
4094
4094
|
if (e && ii(e) && Fe(e)) {
|
|
4095
4095
|
const { loadingDelay: t } = V();
|
|
4096
4096
|
let r;
|
|
4097
|
-
return typeof window < "u" &&
|
|
4097
|
+
return typeof window < "u" && L() != null && t ? r = window.setTimeout(
|
|
4098
4098
|
() => Te.set(!0),
|
|
4099
4099
|
t
|
|
4100
4100
|
) : Te.set(!0), rr(e).then(() => {
|
|
@@ -4157,30 +4157,30 @@ const Y = (e, t) => {
|
|
|
4157
4157
|
);
|
|
4158
4158
|
return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4159
4159
|
}
|
|
4160
|
-
),
|
|
4160
|
+
), Hi = (e = {}) => {
|
|
4161
4161
|
var t = e, {
|
|
4162
|
-
locale: r =
|
|
4162
|
+
locale: r = L()
|
|
4163
4163
|
} = t, n = W(t, [
|
|
4164
4164
|
"locale"
|
|
4165
4165
|
]);
|
|
4166
4166
|
return Ei(ze({ locale: r }, n));
|
|
4167
|
-
},
|
|
4167
|
+
}, wi = (e = {}) => {
|
|
4168
4168
|
var t = e, {
|
|
4169
|
-
locale: r =
|
|
4169
|
+
locale: r = L()
|
|
4170
4170
|
} = t, n = W(t, [
|
|
4171
4171
|
"locale"
|
|
4172
4172
|
]);
|
|
4173
4173
|
return xi(ze({ locale: r }, n));
|
|
4174
4174
|
}, Ti = (e = {}) => {
|
|
4175
4175
|
var t = e, {
|
|
4176
|
-
locale: r =
|
|
4176
|
+
locale: r = L()
|
|
4177
4177
|
} = t, n = W(t, [
|
|
4178
4178
|
"locale"
|
|
4179
4179
|
]);
|
|
4180
4180
|
return Si(ze({ locale: r }, n));
|
|
4181
4181
|
}, Bi = ge(
|
|
4182
4182
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4183
|
-
(e, t =
|
|
4183
|
+
(e, t = L()) => new Kn(e, t, V().formats, {
|
|
4184
4184
|
ignoreTag: V().ignoreTag
|
|
4185
4185
|
})
|
|
4186
4186
|
), Ai = (e, t = {}) => {
|
|
@@ -4189,7 +4189,7 @@ const Y = (e, t) => {
|
|
|
4189
4189
|
typeof e == "object" && (s = e, e = s.id);
|
|
4190
4190
|
const {
|
|
4191
4191
|
values: a,
|
|
4192
|
-
locale: h =
|
|
4192
|
+
locale: h = L(),
|
|
4193
4193
|
default: u
|
|
4194
4194
|
} = s;
|
|
4195
4195
|
if (h == null)
|
|
@@ -4215,7 +4215,7 @@ const Y = (e, t) => {
|
|
|
4215
4215
|
);
|
|
4216
4216
|
}
|
|
4217
4217
|
return f;
|
|
4218
|
-
}, Ci = (e, t) => Ti(t).format(e), Pi = (e, t) =>
|
|
4218
|
+
}, Ci = (e, t) => Ti(t).format(e), Pi = (e, t) => wi(t).format(e), Oi = (e, t) => Hi(t).format(e), Li = (e, t = L()) => Kt(e, t);
|
|
4219
4219
|
X([re, te], () => Ai);
|
|
4220
4220
|
X([re], () => Ci);
|
|
4221
4221
|
X([re], () => Pi);
|
|
@@ -4234,8 +4234,8 @@ function Et(e) {
|
|
|
4234
4234
|
);
|
|
4235
4235
|
return {
|
|
4236
4236
|
c() {
|
|
4237
|
-
t =
|
|
4238
|
-
e[0]) ||
|
|
4237
|
+
t = O("div"), h && h.c(), r = qe(), n = O("div"), u && u.c(), i = qe(), o = O("video"), s = O("source"), Je(s.src, a = /*videosrc*/
|
|
4238
|
+
e[0]) || _(s, "src", a), o.autoplay = !0, o.controls = !0, _(o, "controlslist", "nodownload"), _(o, "disablepictureinpicture", ""), _(n, "class", "CashierVideo"), _(t, "class", "CashierVideoWrapper"), Ye(
|
|
4239
4239
|
t,
|
|
4240
4240
|
"CashierVideoWrapperDesktop",
|
|
4241
4241
|
/*desktopView*/
|
|
@@ -4243,14 +4243,14 @@ function Et(e) {
|
|
|
4243
4243
|
);
|
|
4244
4244
|
},
|
|
4245
4245
|
m(l, f) {
|
|
4246
|
-
ee(l, t, f), h && h.m(t, null), T(t, r), T(t, n), u && u.m(n, null), T(n, i), T(n, o), T(o, s), e[
|
|
4246
|
+
ee(l, t, f), h && h.m(t, null), T(t, r), T(t, n), u && u.m(n, null), T(n, i), T(n, o), T(o, s), e[10](t);
|
|
4247
4247
|
},
|
|
4248
4248
|
p(l, f) {
|
|
4249
4249
|
/*desktopView*/
|
|
4250
4250
|
l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = xt(l), h.c(), h.m(t, r)), /*desktopView*/
|
|
4251
4251
|
l[2] ? u ? u.p(l, f) : (u = St(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
|
|
4252
4252
|
1 && !Je(s.src, a = /*videosrc*/
|
|
4253
|
-
l[0]) &&
|
|
4253
|
+
l[0]) && _(s, "src", a), f & /*desktopView*/
|
|
4254
4254
|
4 && Ye(
|
|
4255
4255
|
t,
|
|
4256
4256
|
"CashierVideoWrapperDesktop",
|
|
@@ -4259,7 +4259,7 @@ function Et(e) {
|
|
|
4259
4259
|
);
|
|
4260
4260
|
},
|
|
4261
4261
|
d(l) {
|
|
4262
|
-
l && k(t), h && h.d(), u && u.d(), e[
|
|
4262
|
+
l && k(t), h && h.d(), u && u.d(), e[10](null);
|
|
4263
4263
|
}
|
|
4264
4264
|
};
|
|
4265
4265
|
}
|
|
@@ -4267,14 +4267,14 @@ function xt(e) {
|
|
|
4267
4267
|
let t, r, n, i, o;
|
|
4268
4268
|
return {
|
|
4269
4269
|
c() {
|
|
4270
|
-
t =
|
|
4270
|
+
t = O("div"), r = fe("svg"), n = fe("path"), _(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(n, "fill", "#111111"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "13"), _(r, "height", "13"), _(r, "viewBox", "0 0 13 13"), _(r, "fill", "none"), _(t, "class", "CashierVideoHeader");
|
|
4271
4271
|
},
|
|
4272
4272
|
m(s, a) {
|
|
4273
4273
|
ee(s, t, a), T(t, r), T(r, n), i || (o = Bt(
|
|
4274
4274
|
r,
|
|
4275
4275
|
"click",
|
|
4276
4276
|
/*click_handler*/
|
|
4277
|
-
e[
|
|
4277
|
+
e[8]
|
|
4278
4278
|
), i = !0);
|
|
4279
4279
|
},
|
|
4280
4280
|
p: S,
|
|
@@ -4287,14 +4287,14 @@ function St(e) {
|
|
|
4287
4287
|
let t, r, n, i;
|
|
4288
4288
|
return {
|
|
4289
4289
|
c() {
|
|
4290
|
-
t = fe("svg"), r = fe("path"),
|
|
4290
|
+
t = fe("svg"), r = fe("path"), _(r, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(r, "fill", "#111111"), _(t, "xmlns", "http://www.w3.org/2000/svg"), _(t, "width", "13"), _(t, "height", "13"), _(t, "viewBox", "0 0 13 13"), _(t, "fill", "none");
|
|
4291
4291
|
},
|
|
4292
4292
|
m(o, s) {
|
|
4293
4293
|
ee(o, t, s), T(t, r), n || (i = Bt(
|
|
4294
4294
|
t,
|
|
4295
4295
|
"click",
|
|
4296
4296
|
/*click_handler_1*/
|
|
4297
|
-
e[
|
|
4297
|
+
e[9]
|
|
4298
4298
|
), n = !0);
|
|
4299
4299
|
},
|
|
4300
4300
|
p: S,
|
|
@@ -4327,59 +4327,57 @@ function Ni(e) {
|
|
|
4327
4327
|
};
|
|
4328
4328
|
}
|
|
4329
4329
|
function Mi(e, t, r) {
|
|
4330
|
-
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, {
|
|
4331
|
-
const
|
|
4332
|
-
r(3,
|
|
4333
|
-
},
|
|
4334
|
-
|
|
4335
|
-
},
|
|
4336
|
-
r(2,
|
|
4330
|
+
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { videosrc: o } = t, { mbsource: s = "" } = t, a = window.navigator.userAgent, h = !0, u = !1, l;
|
|
4331
|
+
const f = () => {
|
|
4332
|
+
r(3, u = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
4333
|
+
}, c = (E) => {
|
|
4334
|
+
E.data.type == "ShowCashierVideoModal" && (r(3, u = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), E.data.type == "HideCashierVideoModal" && f();
|
|
4335
|
+
}, b = () => {
|
|
4336
|
+
r(2, h = !_t(a));
|
|
4337
4337
|
};
|
|
4338
|
-
dr(() => (window.addEventListener("message",
|
|
4339
|
-
window.removeEventListener("message",
|
|
4338
|
+
dr(() => (window.addEventListener("message", c, !1), () => {
|
|
4339
|
+
window.removeEventListener("message", c);
|
|
4340
4340
|
}));
|
|
4341
|
-
const
|
|
4342
|
-
function
|
|
4343
|
-
Be[
|
|
4344
|
-
|
|
4341
|
+
const g = () => f(), v = () => f();
|
|
4342
|
+
function H(E) {
|
|
4343
|
+
Be[E ? "unshift" : "push"](() => {
|
|
4344
|
+
l = E, r(1, l);
|
|
4345
4345
|
});
|
|
4346
4346
|
}
|
|
4347
|
-
return e.$$set = (
|
|
4348
|
-
"clientstyling" in
|
|
4347
|
+
return e.$$set = (E) => {
|
|
4348
|
+
"clientstyling" in E && r(5, n = E.clientstyling), "clientstylingurl" in E && r(6, i = E.clientstylingurl), "videosrc" in E && r(0, o = E.videosrc), "mbsource" in E && r(7, s = E.mbsource);
|
|
4349
4349
|
}, e.$$.update = () => {
|
|
4350
4350
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4351
|
-
34 && n &&
|
|
4352
|
-
66 && i &&
|
|
4353
|
-
|
|
4354
|
-
}, _t(
|
|
4355
|
-
|
|
4356
|
-
f,
|
|
4357
|
-
u,
|
|
4351
|
+
34 && n && l && Ar(l, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4352
|
+
66 && i && l && Cr(l, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4353
|
+
130 && s && l && Pr(l, `${s}.Style`);
|
|
4354
|
+
}, _t(a) && b(), [
|
|
4355
|
+
o,
|
|
4358
4356
|
l,
|
|
4359
|
-
|
|
4357
|
+
h,
|
|
4358
|
+
u,
|
|
4359
|
+
f,
|
|
4360
4360
|
n,
|
|
4361
4361
|
i,
|
|
4362
|
-
|
|
4363
|
-
|
|
4362
|
+
s,
|
|
4363
|
+
g,
|
|
4364
4364
|
v,
|
|
4365
|
-
|
|
4366
|
-
P
|
|
4365
|
+
H
|
|
4367
4366
|
];
|
|
4368
4367
|
}
|
|
4369
4368
|
class $i extends Tr {
|
|
4370
4369
|
constructor(t) {
|
|
4371
|
-
super(),
|
|
4370
|
+
super(), Hr(
|
|
4372
4371
|
this,
|
|
4373
4372
|
t,
|
|
4374
4373
|
Mi,
|
|
4375
4374
|
Ni,
|
|
4376
|
-
|
|
4375
|
+
wt,
|
|
4377
4376
|
{
|
|
4378
4377
|
clientstyling: 5,
|
|
4379
4378
|
clientstylingurl: 6,
|
|
4380
|
-
ismobileview: 7,
|
|
4381
4379
|
videosrc: 0,
|
|
4382
|
-
mbsource:
|
|
4380
|
+
mbsource: 7
|
|
4383
4381
|
},
|
|
4384
4382
|
Ii
|
|
4385
4383
|
);
|
|
@@ -4388,34 +4386,28 @@ class $i extends Tr {
|
|
|
4388
4386
|
return this.$$.ctx[5];
|
|
4389
4387
|
}
|
|
4390
4388
|
set clientstyling(t) {
|
|
4391
|
-
this.$$set({ clientstyling: t }),
|
|
4389
|
+
this.$$set({ clientstyling: t }), R();
|
|
4392
4390
|
}
|
|
4393
4391
|
get clientstylingurl() {
|
|
4394
4392
|
return this.$$.ctx[6];
|
|
4395
4393
|
}
|
|
4396
4394
|
set clientstylingurl(t) {
|
|
4397
|
-
this.$$set({ clientstylingurl: t }),
|
|
4398
|
-
}
|
|
4399
|
-
get ismobileview() {
|
|
4400
|
-
return this.$$.ctx[7];
|
|
4401
|
-
}
|
|
4402
|
-
set ismobileview(t) {
|
|
4403
|
-
this.$$set({ ismobileview: t }), L();
|
|
4395
|
+
this.$$set({ clientstylingurl: t }), R();
|
|
4404
4396
|
}
|
|
4405
4397
|
get videosrc() {
|
|
4406
4398
|
return this.$$.ctx[0];
|
|
4407
4399
|
}
|
|
4408
4400
|
set videosrc(t) {
|
|
4409
|
-
this.$$set({ videosrc: t }),
|
|
4401
|
+
this.$$set({ videosrc: t }), R();
|
|
4410
4402
|
}
|
|
4411
4403
|
get mbsource() {
|
|
4412
|
-
return this.$$.ctx[
|
|
4404
|
+
return this.$$.ctx[7];
|
|
4413
4405
|
}
|
|
4414
4406
|
set mbsource(t) {
|
|
4415
|
-
this.$$set({ mbsource: t }),
|
|
4407
|
+
this.$$set({ mbsource: t }), R();
|
|
4416
4408
|
}
|
|
4417
4409
|
}
|
|
4418
|
-
|
|
4410
|
+
wr($i, { clientstyling: {}, clientstylingurl: {}, videosrc: {}, mbsource: {} }, [], [], !0);
|
|
4419
4411
|
export {
|
|
4420
4412
|
$i as C
|
|
4421
4413
|
};
|