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