@everymatrix/cashier-verifications 1.74.3 → 1.74.4
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-BWymI-rg.js → CashierVerifications-DcwRBRJJ.js} +406 -408
- package/components/CashierVerifications-NK1qxaYe.cjs +18 -0
- package/components/{CashierVerifications-DGho0seC.js → CashierVerifications-b9si2iM4.js} +434 -436
- package/components/{CashierVideoModal-DO7SHLdt.js → CashierVideoModal-CHv6Z0oF.js} +132 -116
- package/components/{CashierVideoModal-BPGMPPir.js → CashierVideoModal-CVLG3P4a.js} +132 -116
- package/components/CashierVideoModal-Cn4oBCSn.cjs +3 -0
- package/es2015/cashier-verifications.cjs +1 -1
- package/es2015/cashier-verifications.js +1 -1
- package/esnext/cashier-verifications.js +1 -1
- package/package.json +1 -1
- package/components/CashierVerifications-D5u6_Riu.cjs +0 -18
- package/components/CashierVideoModal-MFRT1gz3.cjs +0 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as O, a as V, b as I, c as g, S as ue, i as ce, f as w, d as le, s as ae, e as fe, g as de, h as x, n as E, j as k, o as he, k as pe, l as be, m as _, p as U, q as B, r as f, t as D, u as m, v as L, w as X, x as ve, y as ye } from "./CashierVerifications-DcwRBRJJ.js";
|
|
2
2
|
function v(r) {
|
|
3
3
|
return typeof r == "function";
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function N(r) {
|
|
6
6
|
var t = function(i) {
|
|
7
7
|
Error.call(i), i.stack = new Error().stack;
|
|
8
8
|
}, e = r(t);
|
|
9
9
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
10
10
|
}
|
|
11
|
-
var
|
|
11
|
+
var j = N(function(r) {
|
|
12
12
|
return function(e) {
|
|
13
13
|
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
14
14
|
` + e.map(function(i, n) {
|
|
@@ -17,13 +17,13 @@ var T = X(function(r) {
|
|
|
17
17
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
18
18
|
};
|
|
19
19
|
});
|
|
20
|
-
function
|
|
20
|
+
function W(r, t) {
|
|
21
21
|
if (r) {
|
|
22
22
|
var e = r.indexOf(t);
|
|
23
23
|
0 <= e && r.splice(e, 1);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var P = function() {
|
|
27
27
|
function r(t) {
|
|
28
28
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
29
29
|
}
|
|
@@ -35,7 +35,7 @@ var O = function() {
|
|
|
35
35
|
if (s)
|
|
36
36
|
if (this._parentage = null, Array.isArray(s))
|
|
37
37
|
try {
|
|
38
|
-
for (var u =
|
|
38
|
+
for (var u = O(s), c = u.next(); !c.done; c = u.next()) {
|
|
39
39
|
var l = c.value;
|
|
40
40
|
l.remove(this);
|
|
41
41
|
}
|
|
@@ -56,18 +56,18 @@ var O = function() {
|
|
|
56
56
|
try {
|
|
57
57
|
a();
|
|
58
58
|
} catch (p) {
|
|
59
|
-
o = p instanceof
|
|
59
|
+
o = p instanceof j ? p.errors : [p];
|
|
60
60
|
}
|
|
61
61
|
var d = this._finalizers;
|
|
62
62
|
if (d) {
|
|
63
63
|
this._finalizers = null;
|
|
64
64
|
try {
|
|
65
|
-
for (var b =
|
|
66
|
-
var
|
|
65
|
+
for (var b = O(d), y = b.next(); !y.done; y = b.next()) {
|
|
66
|
+
var T = y.value;
|
|
67
67
|
try {
|
|
68
|
-
z(
|
|
68
|
+
z(T);
|
|
69
69
|
} catch (p) {
|
|
70
|
-
o = o != null ? o : [], p instanceof
|
|
70
|
+
o = o != null ? o : [], p instanceof j ? o = V(V([], I(o)), I(p.errors)) : o.push(p);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
} catch (p) {
|
|
@@ -82,7 +82,7 @@ var O = function() {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
if (o)
|
|
85
|
-
throw new
|
|
85
|
+
throw new j(o);
|
|
86
86
|
}
|
|
87
87
|
}, r.prototype.add = function(t) {
|
|
88
88
|
var e;
|
|
@@ -105,56 +105,56 @@ var O = function() {
|
|
|
105
105
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
106
106
|
}, r.prototype._removeParent = function(t) {
|
|
107
107
|
var e = this._parentage;
|
|
108
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
108
|
+
e === t ? this._parentage = null : Array.isArray(e) && W(e, t);
|
|
109
109
|
}, r.prototype.remove = function(t) {
|
|
110
110
|
var e = this._finalizers;
|
|
111
|
-
e &&
|
|
111
|
+
e && W(e, t), t instanceof r && t._removeParent(this);
|
|
112
112
|
}, r.EMPTY = function() {
|
|
113
113
|
var t = new r();
|
|
114
114
|
return t.closed = !0, t;
|
|
115
115
|
}(), r;
|
|
116
|
-
}(),
|
|
117
|
-
function
|
|
118
|
-
return r instanceof
|
|
116
|
+
}(), $ = P.EMPTY;
|
|
117
|
+
function ee(r) {
|
|
118
|
+
return r instanceof P || r && "closed" in r && v(r.remove) && v(r.add) && v(r.unsubscribe);
|
|
119
119
|
}
|
|
120
120
|
function z(r) {
|
|
121
121
|
v(r) ? r() : r.unsubscribe();
|
|
122
122
|
}
|
|
123
|
-
var
|
|
123
|
+
var te = {
|
|
124
124
|
onUnhandledError: null,
|
|
125
125
|
onStoppedNotification: null,
|
|
126
126
|
Promise: void 0,
|
|
127
127
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
128
128
|
useDeprecatedNextContext: !1
|
|
129
|
-
},
|
|
129
|
+
}, me = {
|
|
130
130
|
setTimeout: function(r, t) {
|
|
131
131
|
for (var e = [], i = 2; i < arguments.length; i++)
|
|
132
132
|
e[i - 2] = arguments[i];
|
|
133
|
-
return setTimeout.apply(void 0,
|
|
133
|
+
return setTimeout.apply(void 0, V([r, t], I(e)));
|
|
134
134
|
},
|
|
135
135
|
clearTimeout: function(r) {
|
|
136
136
|
return clearTimeout(r);
|
|
137
137
|
},
|
|
138
138
|
delegate: void 0
|
|
139
139
|
};
|
|
140
|
-
function
|
|
141
|
-
|
|
140
|
+
function we(r) {
|
|
141
|
+
me.setTimeout(function() {
|
|
142
142
|
throw r;
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function F() {
|
|
146
146
|
}
|
|
147
147
|
function C(r) {
|
|
148
148
|
r();
|
|
149
149
|
}
|
|
150
|
-
var
|
|
150
|
+
var re = function(r) {
|
|
151
151
|
g(t, r);
|
|
152
152
|
function t(e) {
|
|
153
153
|
var i = r.call(this) || this;
|
|
154
|
-
return i.isStopped = !1, e ? (i.destination = e,
|
|
154
|
+
return i.isStopped = !1, e ? (i.destination = e, ee(e) && e.add(i)) : i.destination = Ce, i;
|
|
155
155
|
}
|
|
156
156
|
return t.create = function(e, i, n) {
|
|
157
|
-
return new
|
|
157
|
+
return new A(e, i, n);
|
|
158
158
|
}, t.prototype.next = function(e) {
|
|
159
159
|
this.isStopped || this._next(e);
|
|
160
160
|
}, t.prototype.error = function(e) {
|
|
@@ -178,7 +178,11 @@ var ee = function(r) {
|
|
|
178
178
|
this.unsubscribe();
|
|
179
179
|
}
|
|
180
180
|
}, t;
|
|
181
|
-
}(
|
|
181
|
+
}(P), _e = Function.prototype.bind;
|
|
182
|
+
function M(r, t) {
|
|
183
|
+
return _e.call(r, t);
|
|
184
|
+
}
|
|
185
|
+
var ge = function() {
|
|
182
186
|
function r(t) {
|
|
183
187
|
this.partialObserver = t;
|
|
184
188
|
}
|
|
@@ -209,37 +213,49 @@ var ee = function(r) {
|
|
|
209
213
|
S(e);
|
|
210
214
|
}
|
|
211
215
|
}, r;
|
|
212
|
-
}(),
|
|
216
|
+
}(), A = function(r) {
|
|
213
217
|
g(t, r);
|
|
214
218
|
function t(e, i, n) {
|
|
215
219
|
var o = r.call(this) || this, s;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
220
|
+
if (v(e) || !e)
|
|
221
|
+
s = {
|
|
222
|
+
next: e != null ? e : void 0,
|
|
223
|
+
error: i != null ? i : void 0,
|
|
224
|
+
complete: n != null ? n : void 0
|
|
225
|
+
};
|
|
226
|
+
else {
|
|
227
|
+
var u;
|
|
228
|
+
o && te.useDeprecatedNextContext ? (u = Object.create(e), u.unsubscribe = function() {
|
|
229
|
+
return o.unsubscribe();
|
|
230
|
+
}, s = {
|
|
231
|
+
next: e.next && M(e.next, u),
|
|
232
|
+
error: e.error && M(e.error, u),
|
|
233
|
+
complete: e.complete && M(e.complete, u)
|
|
234
|
+
}) : s = e;
|
|
235
|
+
}
|
|
236
|
+
return o.destination = new ge(s), o;
|
|
221
237
|
}
|
|
222
238
|
return t;
|
|
223
|
-
}(
|
|
239
|
+
}(re);
|
|
224
240
|
function S(r) {
|
|
225
|
-
|
|
241
|
+
we(r);
|
|
226
242
|
}
|
|
227
|
-
function
|
|
243
|
+
function Se(r) {
|
|
228
244
|
throw r;
|
|
229
245
|
}
|
|
230
|
-
var
|
|
246
|
+
var Ce = {
|
|
231
247
|
closed: !0,
|
|
232
|
-
next:
|
|
233
|
-
error:
|
|
234
|
-
complete:
|
|
235
|
-
},
|
|
248
|
+
next: F,
|
|
249
|
+
error: Se,
|
|
250
|
+
complete: F
|
|
251
|
+
}, Ee = function() {
|
|
236
252
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
237
253
|
}();
|
|
238
|
-
function
|
|
254
|
+
function Le(r) {
|
|
239
255
|
return r;
|
|
240
256
|
}
|
|
241
|
-
function
|
|
242
|
-
return r.length === 0 ?
|
|
257
|
+
function xe(r) {
|
|
258
|
+
return r.length === 0 ? Le : r.length === 1 ? r[0] : function(e) {
|
|
243
259
|
return r.reduce(function(i, n) {
|
|
244
260
|
return n(i);
|
|
245
261
|
}, e);
|
|
@@ -253,7 +269,7 @@ var H = function() {
|
|
|
253
269
|
var e = new r();
|
|
254
270
|
return e.source = this, e.operator = t, e;
|
|
255
271
|
}, r.prototype.subscribe = function(t, e, i) {
|
|
256
|
-
var n = this, o =
|
|
272
|
+
var n = this, o = Pe(t) ? t : new A(t, e, i);
|
|
257
273
|
return C(function() {
|
|
258
274
|
var s = n, u = s.operator, c = s.source;
|
|
259
275
|
o.add(u ? u.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
|
|
@@ -267,7 +283,7 @@ var H = function() {
|
|
|
267
283
|
}, r.prototype.forEach = function(t, e) {
|
|
268
284
|
var i = this;
|
|
269
285
|
return e = R(e), new e(function(n, o) {
|
|
270
|
-
var s = new
|
|
286
|
+
var s = new A({
|
|
271
287
|
next: function(u) {
|
|
272
288
|
try {
|
|
273
289
|
t(u);
|
|
@@ -283,12 +299,12 @@ var H = function() {
|
|
|
283
299
|
}, r.prototype._subscribe = function(t) {
|
|
284
300
|
var e;
|
|
285
301
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
286
|
-
}, r.prototype[
|
|
302
|
+
}, r.prototype[Ee] = function() {
|
|
287
303
|
return this;
|
|
288
304
|
}, r.prototype.pipe = function() {
|
|
289
305
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
290
306
|
t[e] = arguments[e];
|
|
291
|
-
return
|
|
307
|
+
return xe(t)(this);
|
|
292
308
|
}, r.prototype.toPromise = function(t) {
|
|
293
309
|
var e = this;
|
|
294
310
|
return t = R(t), new t(function(i, n) {
|
|
@@ -307,30 +323,30 @@ var H = function() {
|
|
|
307
323
|
}();
|
|
308
324
|
function R(r) {
|
|
309
325
|
var t;
|
|
310
|
-
return (t = r != null ? r :
|
|
326
|
+
return (t = r != null ? r : te.Promise) !== null && t !== void 0 ? t : Promise;
|
|
311
327
|
}
|
|
312
|
-
function
|
|
328
|
+
function ke(r) {
|
|
313
329
|
return r && v(r.next) && v(r.error) && v(r.complete);
|
|
314
330
|
}
|
|
315
|
-
function
|
|
316
|
-
return r && r instanceof
|
|
331
|
+
function Pe(r) {
|
|
332
|
+
return r && r instanceof re || ke(r) && ee(r);
|
|
317
333
|
}
|
|
318
|
-
var
|
|
334
|
+
var Te = N(function(r) {
|
|
319
335
|
return function() {
|
|
320
336
|
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
321
337
|
};
|
|
322
|
-
}),
|
|
338
|
+
}), ie = function(r) {
|
|
323
339
|
g(t, r);
|
|
324
340
|
function t() {
|
|
325
341
|
var e = r.call(this) || this;
|
|
326
342
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
327
343
|
}
|
|
328
344
|
return t.prototype.lift = function(e) {
|
|
329
|
-
var i = new
|
|
345
|
+
var i = new Y(this, this);
|
|
330
346
|
return i.operator = e, i;
|
|
331
347
|
}, t.prototype._throwIfClosed = function() {
|
|
332
348
|
if (this.closed)
|
|
333
|
-
throw new
|
|
349
|
+
throw new Te();
|
|
334
350
|
}, t.prototype.next = function(e) {
|
|
335
351
|
var i = this;
|
|
336
352
|
C(function() {
|
|
@@ -338,7 +354,7 @@ var ke = X(function(r) {
|
|
|
338
354
|
if (i._throwIfClosed(), !i.isStopped) {
|
|
339
355
|
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
340
356
|
try {
|
|
341
|
-
for (var s =
|
|
357
|
+
for (var s = O(i.currentObservers), u = s.next(); !u.done; u = s.next()) {
|
|
342
358
|
var c = u.value;
|
|
343
359
|
c.next(e);
|
|
344
360
|
}
|
|
@@ -387,8 +403,8 @@ var ke = X(function(r) {
|
|
|
387
403
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
388
404
|
}, t.prototype._innerSubscribe = function(e) {
|
|
389
405
|
var i = this, n = this, o = n.hasError, s = n.isStopped, u = n.observers;
|
|
390
|
-
return o || s ?
|
|
391
|
-
i.currentObservers = null,
|
|
406
|
+
return o || s ? $ : (this.currentObservers = null, u.push(e), new P(function() {
|
|
407
|
+
i.currentObservers = null, W(u, e);
|
|
392
408
|
}));
|
|
393
409
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
394
410
|
var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
|
|
@@ -397,9 +413,9 @@ var ke = X(function(r) {
|
|
|
397
413
|
var e = new H();
|
|
398
414
|
return e.source = this, e;
|
|
399
415
|
}, t.create = function(e, i) {
|
|
400
|
-
return new
|
|
416
|
+
return new Y(e, i);
|
|
401
417
|
}, t;
|
|
402
|
-
}(H),
|
|
418
|
+
}(H), Y = function(r) {
|
|
403
419
|
g(t, r);
|
|
404
420
|
function t(e, i) {
|
|
405
421
|
var n = r.call(this) || this;
|
|
@@ -416,17 +432,17 @@ var ke = X(function(r) {
|
|
|
416
432
|
(i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
|
|
417
433
|
}, t.prototype._subscribe = function(e) {
|
|
418
434
|
var i, n;
|
|
419
|
-
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n :
|
|
435
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : $;
|
|
420
436
|
}, t;
|
|
421
|
-
}(
|
|
437
|
+
}(ie), ne = {
|
|
422
438
|
now: function() {
|
|
423
|
-
return (
|
|
439
|
+
return (ne.delegate || Date).now();
|
|
424
440
|
},
|
|
425
441
|
delegate: void 0
|
|
426
|
-
},
|
|
442
|
+
}, je = function(r) {
|
|
427
443
|
g(t, r);
|
|
428
444
|
function t(e, i, n) {
|
|
429
|
-
e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n =
|
|
445
|
+
e === void 0 && (e = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ne);
|
|
430
446
|
var o = r.call(this) || this;
|
|
431
447
|
return o._bufferSize = e, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, i), o;
|
|
432
448
|
}
|
|
@@ -446,29 +462,29 @@ var ke = X(function(r) {
|
|
|
446
462
|
l && o.splice(0, l + 1);
|
|
447
463
|
}
|
|
448
464
|
}, t;
|
|
449
|
-
}(
|
|
450
|
-
const
|
|
451
|
-
if (
|
|
452
|
-
const e = new
|
|
453
|
-
|
|
465
|
+
}(ie);
|
|
466
|
+
const q = [], Z = {}, Me = (r, t = 0) => {
|
|
467
|
+
if (q.indexOf(r) == -1) {
|
|
468
|
+
const e = new je(t);
|
|
469
|
+
Z[r] = e, q.push(r);
|
|
454
470
|
}
|
|
455
|
-
return
|
|
471
|
+
return Z[r];
|
|
456
472
|
};
|
|
457
|
-
window.emWidgets = { topic:
|
|
458
|
-
const
|
|
459
|
-
function
|
|
460
|
-
|
|
473
|
+
window.emWidgets = { topic: Me };
|
|
474
|
+
const G = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
475
|
+
function Oe(r) {
|
|
476
|
+
fe(r, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
|
|
461
477
|
}
|
|
462
|
-
function
|
|
478
|
+
function J(r) {
|
|
463
479
|
let t, e, i, n, o, s, u, c = !/*desktopView*/
|
|
464
|
-
r[2] &&
|
|
480
|
+
r[2] && K(r), l = (
|
|
465
481
|
/*desktopView*/
|
|
466
|
-
r[2] &&
|
|
482
|
+
r[2] && Q(r)
|
|
467
483
|
);
|
|
468
484
|
return {
|
|
469
485
|
c() {
|
|
470
|
-
t = _("div"), c && c.c(), e =
|
|
471
|
-
r[0]) || f(s, "src", u), o.autoplay = !0, o.controls = !0, f(o, "controlslist", "nodownload"), f(o, "disablepictureinpicture", ""), f(i, "class", "CashierVideo"), f(t, "class", "CashierVideoWrapper"),
|
|
486
|
+
t = _("div"), c && c.c(), e = U(), i = _("div"), l && l.c(), n = U(), o = _("video"), s = _("source"), B(s.src, u = /*videosrc*/
|
|
487
|
+
r[0]) || f(s, "src", u), o.autoplay = !0, o.controls = !0, f(o, "controlslist", "nodownload"), f(o, "disablepictureinpicture", ""), f(i, "class", "CashierVideo"), f(t, "class", "CashierVideoWrapper"), D(
|
|
472
488
|
t,
|
|
473
489
|
"CashierVideoWrapperDesktop",
|
|
474
490
|
/*desktopView*/
|
|
@@ -476,15 +492,15 @@ function G(r) {
|
|
|
476
492
|
);
|
|
477
493
|
},
|
|
478
494
|
m(a, d) {
|
|
479
|
-
|
|
495
|
+
x(a, t, d), c && c.m(t, null), m(t, e), m(t, i), l && l.m(i, null), m(i, n), m(i, o), m(o, s), r[11](t);
|
|
480
496
|
},
|
|
481
497
|
p(a, d) {
|
|
482
498
|
/*desktopView*/
|
|
483
|
-
a[2] ? c && (c.d(1), c = null) : c ? c.p(a, d) : (c =
|
|
484
|
-
a[2] ? l ? l.p(a, d) : (l =
|
|
485
|
-
1 && !
|
|
499
|
+
a[2] ? c && (c.d(1), c = null) : c ? c.p(a, d) : (c = K(a), c.c(), c.m(t, e)), /*desktopView*/
|
|
500
|
+
a[2] ? l ? l.p(a, d) : (l = Q(a), l.c(), l.m(i, n)) : l && (l.d(1), l = null), d & /*videosrc*/
|
|
501
|
+
1 && !B(s.src, u = /*videosrc*/
|
|
486
502
|
a[0]) && f(s, "src", u), d & /*desktopView*/
|
|
487
|
-
4 &&
|
|
503
|
+
4 && D(
|
|
488
504
|
t,
|
|
489
505
|
"CashierVideoWrapperDesktop",
|
|
490
506
|
/*desktopView*/
|
|
@@ -496,14 +512,14 @@ function G(r) {
|
|
|
496
512
|
}
|
|
497
513
|
};
|
|
498
514
|
}
|
|
499
|
-
function
|
|
515
|
+
function K(r) {
|
|
500
516
|
let t, e, i, n, o;
|
|
501
517
|
return {
|
|
502
518
|
c() {
|
|
503
|
-
t = _("div"), e =
|
|
519
|
+
t = _("div"), e = L("svg"), i = L("path"), f(i, "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"), f(i, "fill", "#111111"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "width", "13"), f(e, "height", "13"), f(e, "viewBox", "0 0 13 13"), f(e, "fill", "none"), f(t, "class", "CashierVideoHeader");
|
|
504
520
|
},
|
|
505
521
|
m(s, u) {
|
|
506
|
-
|
|
522
|
+
x(s, t, u), m(t, e), m(e, i), n || (o = X(
|
|
507
523
|
e,
|
|
508
524
|
"click",
|
|
509
525
|
/*click_handler*/
|
|
@@ -516,14 +532,14 @@ function J(r) {
|
|
|
516
532
|
}
|
|
517
533
|
};
|
|
518
534
|
}
|
|
519
|
-
function
|
|
535
|
+
function Q(r) {
|
|
520
536
|
let t, e, i, n;
|
|
521
537
|
return {
|
|
522
538
|
c() {
|
|
523
|
-
t =
|
|
539
|
+
t = L("svg"), e = L("path"), f(e, "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"), f(e, "fill", "#111111"), f(t, "xmlns", "http://www.w3.org/2000/svg"), f(t, "width", "13"), f(t, "height", "13"), f(t, "viewBox", "0 0 13 13"), f(t, "fill", "none");
|
|
524
540
|
},
|
|
525
541
|
m(o, s) {
|
|
526
|
-
|
|
542
|
+
x(o, t, s), m(t, e), i || (n = X(
|
|
527
543
|
t,
|
|
528
544
|
"click",
|
|
529
545
|
/*click_handler_1*/
|
|
@@ -536,21 +552,21 @@ function K(r) {
|
|
|
536
552
|
}
|
|
537
553
|
};
|
|
538
554
|
}
|
|
539
|
-
function
|
|
555
|
+
function Ve(r) {
|
|
540
556
|
let t, e = (
|
|
541
557
|
/*show*/
|
|
542
|
-
r[3] &&
|
|
558
|
+
r[3] && J(r)
|
|
543
559
|
);
|
|
544
560
|
return {
|
|
545
561
|
c() {
|
|
546
|
-
e && e.c(), t =
|
|
562
|
+
e && e.c(), t = de();
|
|
547
563
|
},
|
|
548
564
|
m(i, n) {
|
|
549
|
-
e && e.m(i, n),
|
|
565
|
+
e && e.m(i, n), x(i, t, n);
|
|
550
566
|
},
|
|
551
567
|
p(i, [n]) {
|
|
552
568
|
/*show*/
|
|
553
|
-
i[3] ? e ? e.p(i, n) : (e =
|
|
569
|
+
i[3] ? e ? e.p(i, n) : (e = J(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
554
570
|
},
|
|
555
571
|
i: E,
|
|
556
572
|
o: E,
|
|
@@ -559,21 +575,21 @@ function je(r) {
|
|
|
559
575
|
}
|
|
560
576
|
};
|
|
561
577
|
}
|
|
562
|
-
function
|
|
578
|
+
function Ie(r, t, e) {
|
|
563
579
|
let { clientstyling: i = "" } = t, { clientstylingurl: n = "" } = t, { ismobileview: o } = t, { videosrc: s } = t, { mbsource: u = "" } = t, c = window.navigator.userAgent, l = !0, a = !1, d;
|
|
564
580
|
const b = () => {
|
|
565
581
|
e(3, a = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
566
582
|
}, y = (h) => {
|
|
567
583
|
h.data.type == "ShowCashierVideoModal" && (e(3, a = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), h.data.type == "HideCashierVideoModal" && b();
|
|
568
|
-
},
|
|
569
|
-
e(2, l = !
|
|
584
|
+
}, T = () => {
|
|
585
|
+
e(2, l = !G(c));
|
|
570
586
|
};
|
|
571
|
-
|
|
587
|
+
he(() => (window.addEventListener("message", y, !1), () => {
|
|
572
588
|
window.removeEventListener("message", y);
|
|
573
589
|
}));
|
|
574
|
-
const p = () => b(),
|
|
575
|
-
function
|
|
576
|
-
|
|
590
|
+
const p = () => b(), oe = () => b();
|
|
591
|
+
function se(h) {
|
|
592
|
+
ve[h ? "unshift" : "push"](() => {
|
|
577
593
|
d = h, e(1, d);
|
|
578
594
|
});
|
|
579
595
|
}
|
|
@@ -581,10 +597,10 @@ function Me(r, t, e) {
|
|
|
581
597
|
"clientstyling" in h && e(5, i = h.clientstyling), "clientstylingurl" in h && e(6, n = h.clientstylingurl), "ismobileview" in h && e(7, o = h.ismobileview), "videosrc" in h && e(0, s = h.videosrc), "mbsource" in h && e(8, u = h.mbsource);
|
|
582
598
|
}, r.$$.update = () => {
|
|
583
599
|
r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
584
|
-
34 && i && d &&
|
|
600
|
+
34 && i && d && ye(d, i), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
585
601
|
66 && n && d && pe(d, n), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
586
602
|
258 && u && d && be(d, `${u}.Style`);
|
|
587
|
-
},
|
|
603
|
+
}, G(c) && T(), [
|
|
588
604
|
s,
|
|
589
605
|
d,
|
|
590
606
|
l,
|
|
@@ -595,18 +611,18 @@ function Me(r, t, e) {
|
|
|
595
611
|
o,
|
|
596
612
|
u,
|
|
597
613
|
p,
|
|
598
|
-
|
|
599
|
-
|
|
614
|
+
oe,
|
|
615
|
+
se
|
|
600
616
|
];
|
|
601
617
|
}
|
|
602
|
-
class
|
|
618
|
+
class We extends ue {
|
|
603
619
|
constructor(t) {
|
|
604
|
-
super(),
|
|
620
|
+
super(), ce(
|
|
605
621
|
this,
|
|
606
622
|
t,
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
623
|
+
Ie,
|
|
624
|
+
Ve,
|
|
625
|
+
ae,
|
|
610
626
|
{
|
|
611
627
|
clientstyling: 5,
|
|
612
628
|
clientstylingurl: 6,
|
|
@@ -614,7 +630,7 @@ class Ve extends oe {
|
|
|
614
630
|
videosrc: 0,
|
|
615
631
|
mbsource: 8
|
|
616
632
|
},
|
|
617
|
-
|
|
633
|
+
Oe
|
|
618
634
|
);
|
|
619
635
|
}
|
|
620
636
|
get clientstyling() {
|
|
@@ -648,7 +664,7 @@ class Ve extends oe {
|
|
|
648
664
|
this.$$set({ mbsource: t }), w();
|
|
649
665
|
}
|
|
650
666
|
}
|
|
651
|
-
|
|
667
|
+
le(We, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
|
|
652
668
|
export {
|
|
653
|
-
|
|
669
|
+
We as default
|
|
654
670
|
};
|