@everymatrix/cashier-verifications 1.72.1 → 1.73.0
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-Cpezty7b.js → CashierVerifications-BAf8u9ns.js} +952 -880
- package/components/{CashierVerifications-5TlkZOu9.js → CashierVerifications-CNVgxinr.js} +1017 -945
- package/components/CashierVerifications-CxzuhF7y.cjs +5 -0
- package/components/CashierVideoModal-Bix664Mn.cjs +16 -0
- package/components/CashierVideoModal-CdjPH9oY.js +719 -0
- package/components/CashierVideoModal-Dna7BzOD.js +719 -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-B8lYKrBg.cjs +0 -5
- package/components/CashierVideoModal-CfvC_JtE.js +0 -202
- package/components/CashierVideoModal-DKese1BS.cjs +0 -1
- package/components/CashierVideoModal-W0bdqR6Y.js +0 -202
|
@@ -0,0 +1,719 @@
|
|
|
1
|
+
import { S as st, i as ut, s as ct, f as _, a as lt, n as E, d as L, b as O, e as at, o as ft, c as U, g as f, t as B, h as m, j as w, k as z, l as ht, m as X, p as x, q as pt, r as dt, u as vt, v as bt } from "./CashierVerifications-CNVgxinr.js";
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
***************************************************************************** */
|
|
16
|
+
var j = function(r, e) {
|
|
17
|
+
return j = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
18
|
+
t.__proto__ = i;
|
|
19
|
+
} || function(t, i) {
|
|
20
|
+
for (var n in i)
|
|
21
|
+
Object.prototype.hasOwnProperty.call(i, n) && (t[n] = i[n]);
|
|
22
|
+
}, j(r, e);
|
|
23
|
+
};
|
|
24
|
+
function g(r, e) {
|
|
25
|
+
if (typeof e != "function" && e !== null)
|
|
26
|
+
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
27
|
+
j(r, e);
|
|
28
|
+
function t() {
|
|
29
|
+
this.constructor = r;
|
|
30
|
+
}
|
|
31
|
+
r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
32
|
+
}
|
|
33
|
+
function M(r) {
|
|
34
|
+
var e = typeof Symbol == "function" && Symbol.iterator, t = e && r[e], i = 0;
|
|
35
|
+
if (t)
|
|
36
|
+
return t.call(r);
|
|
37
|
+
if (r && typeof r.length == "number")
|
|
38
|
+
return {
|
|
39
|
+
next: function() {
|
|
40
|
+
return r && i >= r.length && (r = void 0), { value: r && r[i++], done: !r };
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
44
|
+
}
|
|
45
|
+
function V(r, e) {
|
|
46
|
+
var t = typeof Symbol == "function" && r[Symbol.iterator];
|
|
47
|
+
if (!t)
|
|
48
|
+
return r;
|
|
49
|
+
var i = t.call(r), n, o = [], s;
|
|
50
|
+
try {
|
|
51
|
+
for (; (e === void 0 || e-- > 0) && !(n = i.next()).done; )
|
|
52
|
+
o.push(n.value);
|
|
53
|
+
} catch (u) {
|
|
54
|
+
s = { error: u };
|
|
55
|
+
} finally {
|
|
56
|
+
try {
|
|
57
|
+
n && !n.done && (t = i.return) && t.call(i);
|
|
58
|
+
} finally {
|
|
59
|
+
if (s)
|
|
60
|
+
throw s.error;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return o;
|
|
64
|
+
}
|
|
65
|
+
function I(r, e, t) {
|
|
66
|
+
if (arguments.length === 2)
|
|
67
|
+
for (var i = 0, n = e.length, o; i < n; i++)
|
|
68
|
+
(o || !(i in e)) && (o || (o = Array.prototype.slice.call(e, 0, i)), o[i] = e[i]);
|
|
69
|
+
return r.concat(o || e);
|
|
70
|
+
}
|
|
71
|
+
function b(r) {
|
|
72
|
+
return typeof r == "function";
|
|
73
|
+
}
|
|
74
|
+
function N(r) {
|
|
75
|
+
var e = function(i) {
|
|
76
|
+
Error.call(i), i.stack = new Error().stack;
|
|
77
|
+
}, t = r(e);
|
|
78
|
+
return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
|
|
79
|
+
}
|
|
80
|
+
var T = N(function(r) {
|
|
81
|
+
return function(t) {
|
|
82
|
+
r(this), this.message = t ? t.length + ` errors occurred during unsubscription:
|
|
83
|
+
` + t.map(function(i, n) {
|
|
84
|
+
return n + 1 + ") " + i.toString();
|
|
85
|
+
}).join(`
|
|
86
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = t;
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
function A(r, e) {
|
|
90
|
+
if (r) {
|
|
91
|
+
var t = r.indexOf(e);
|
|
92
|
+
0 <= t && r.splice(t, 1);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
var k = function() {
|
|
96
|
+
function r(e) {
|
|
97
|
+
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
98
|
+
}
|
|
99
|
+
return r.prototype.unsubscribe = function() {
|
|
100
|
+
var e, t, i, n, o;
|
|
101
|
+
if (!this.closed) {
|
|
102
|
+
this.closed = !0;
|
|
103
|
+
var s = this._parentage;
|
|
104
|
+
if (s)
|
|
105
|
+
if (this._parentage = null, Array.isArray(s))
|
|
106
|
+
try {
|
|
107
|
+
for (var u = M(s), c = u.next(); !c.done; c = u.next()) {
|
|
108
|
+
var l = c.value;
|
|
109
|
+
l.remove(this);
|
|
110
|
+
}
|
|
111
|
+
} catch (d) {
|
|
112
|
+
e = { error: d };
|
|
113
|
+
} finally {
|
|
114
|
+
try {
|
|
115
|
+
c && !c.done && (t = u.return) && t.call(u);
|
|
116
|
+
} finally {
|
|
117
|
+
if (e)
|
|
118
|
+
throw e.error;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
else
|
|
122
|
+
s.remove(this);
|
|
123
|
+
var a = this.initialTeardown;
|
|
124
|
+
if (b(a))
|
|
125
|
+
try {
|
|
126
|
+
a();
|
|
127
|
+
} catch (d) {
|
|
128
|
+
o = d instanceof T ? d.errors : [d];
|
|
129
|
+
}
|
|
130
|
+
var h = this._finalizers;
|
|
131
|
+
if (h) {
|
|
132
|
+
this._finalizers = null;
|
|
133
|
+
try {
|
|
134
|
+
for (var v = M(h), y = v.next(); !y.done; y = v.next()) {
|
|
135
|
+
var P = y.value;
|
|
136
|
+
try {
|
|
137
|
+
R(P);
|
|
138
|
+
} catch (d) {
|
|
139
|
+
o = o != null ? o : [], d instanceof T ? o = I(I([], V(o)), V(d.errors)) : o.push(d);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
} catch (d) {
|
|
143
|
+
i = { error: d };
|
|
144
|
+
} finally {
|
|
145
|
+
try {
|
|
146
|
+
y && !y.done && (n = v.return) && n.call(v);
|
|
147
|
+
} finally {
|
|
148
|
+
if (i)
|
|
149
|
+
throw i.error;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
if (o)
|
|
154
|
+
throw new T(o);
|
|
155
|
+
}
|
|
156
|
+
}, r.prototype.add = function(e) {
|
|
157
|
+
var t;
|
|
158
|
+
if (e && e !== this)
|
|
159
|
+
if (this.closed)
|
|
160
|
+
R(e);
|
|
161
|
+
else {
|
|
162
|
+
if (e instanceof r) {
|
|
163
|
+
if (e.closed || e._hasParent(this))
|
|
164
|
+
return;
|
|
165
|
+
e._addParent(this);
|
|
166
|
+
}
|
|
167
|
+
(this._finalizers = (t = this._finalizers) !== null && t !== void 0 ? t : []).push(e);
|
|
168
|
+
}
|
|
169
|
+
}, r.prototype._hasParent = function(e) {
|
|
170
|
+
var t = this._parentage;
|
|
171
|
+
return t === e || Array.isArray(t) && t.includes(e);
|
|
172
|
+
}, r.prototype._addParent = function(e) {
|
|
173
|
+
var t = this._parentage;
|
|
174
|
+
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
175
|
+
}, r.prototype._removeParent = function(e) {
|
|
176
|
+
var t = this._parentage;
|
|
177
|
+
t === e ? this._parentage = null : Array.isArray(t) && A(t, e);
|
|
178
|
+
}, r.prototype.remove = function(e) {
|
|
179
|
+
var t = this._finalizers;
|
|
180
|
+
t && A(t, e), e instanceof r && e._removeParent(this);
|
|
181
|
+
}, r.EMPTY = function() {
|
|
182
|
+
var e = new r();
|
|
183
|
+
return e.closed = !0, e;
|
|
184
|
+
}(), r;
|
|
185
|
+
}(), $ = k.EMPTY;
|
|
186
|
+
function tt(r) {
|
|
187
|
+
return r instanceof k || r && "closed" in r && b(r.remove) && b(r.add) && b(r.unsubscribe);
|
|
188
|
+
}
|
|
189
|
+
function R(r) {
|
|
190
|
+
b(r) ? r() : r.unsubscribe();
|
|
191
|
+
}
|
|
192
|
+
var yt = {
|
|
193
|
+
Promise: void 0
|
|
194
|
+
}, mt = {
|
|
195
|
+
setTimeout: function(r, e) {
|
|
196
|
+
for (var t = [], i = 2; i < arguments.length; i++)
|
|
197
|
+
t[i - 2] = arguments[i];
|
|
198
|
+
return setTimeout.apply(void 0, I([r, e], V(t)));
|
|
199
|
+
},
|
|
200
|
+
clearTimeout: function(r) {
|
|
201
|
+
return clearTimeout(r);
|
|
202
|
+
},
|
|
203
|
+
delegate: void 0
|
|
204
|
+
};
|
|
205
|
+
function _t(r) {
|
|
206
|
+
mt.setTimeout(function() {
|
|
207
|
+
throw r;
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
function F() {
|
|
211
|
+
}
|
|
212
|
+
function C(r) {
|
|
213
|
+
r();
|
|
214
|
+
}
|
|
215
|
+
var et = function(r) {
|
|
216
|
+
g(e, r);
|
|
217
|
+
function e(t) {
|
|
218
|
+
var i = r.call(this) || this;
|
|
219
|
+
return i.isStopped = !1, t ? (i.destination = t, tt(t) && t.add(i)) : i.destination = St, i;
|
|
220
|
+
}
|
|
221
|
+
return e.create = function(t, i, n) {
|
|
222
|
+
return new W(t, i, n);
|
|
223
|
+
}, e.prototype.next = function(t) {
|
|
224
|
+
this.isStopped || this._next(t);
|
|
225
|
+
}, e.prototype.error = function(t) {
|
|
226
|
+
this.isStopped || (this.isStopped = !0, this._error(t));
|
|
227
|
+
}, e.prototype.complete = function() {
|
|
228
|
+
this.isStopped || (this.isStopped = !0, this._complete());
|
|
229
|
+
}, e.prototype.unsubscribe = function() {
|
|
230
|
+
this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
|
|
231
|
+
}, e.prototype._next = function(t) {
|
|
232
|
+
this.destination.next(t);
|
|
233
|
+
}, e.prototype._error = function(t) {
|
|
234
|
+
try {
|
|
235
|
+
this.destination.error(t);
|
|
236
|
+
} finally {
|
|
237
|
+
this.unsubscribe();
|
|
238
|
+
}
|
|
239
|
+
}, e.prototype._complete = function() {
|
|
240
|
+
try {
|
|
241
|
+
this.destination.complete();
|
|
242
|
+
} finally {
|
|
243
|
+
this.unsubscribe();
|
|
244
|
+
}
|
|
245
|
+
}, e;
|
|
246
|
+
}(k), wt = function() {
|
|
247
|
+
function r(e) {
|
|
248
|
+
this.partialObserver = e;
|
|
249
|
+
}
|
|
250
|
+
return r.prototype.next = function(e) {
|
|
251
|
+
var t = this.partialObserver;
|
|
252
|
+
if (t.next)
|
|
253
|
+
try {
|
|
254
|
+
t.next(e);
|
|
255
|
+
} catch (i) {
|
|
256
|
+
S(i);
|
|
257
|
+
}
|
|
258
|
+
}, r.prototype.error = function(e) {
|
|
259
|
+
var t = this.partialObserver;
|
|
260
|
+
if (t.error)
|
|
261
|
+
try {
|
|
262
|
+
t.error(e);
|
|
263
|
+
} catch (i) {
|
|
264
|
+
S(i);
|
|
265
|
+
}
|
|
266
|
+
else
|
|
267
|
+
S(e);
|
|
268
|
+
}, r.prototype.complete = function() {
|
|
269
|
+
var e = this.partialObserver;
|
|
270
|
+
if (e.complete)
|
|
271
|
+
try {
|
|
272
|
+
e.complete();
|
|
273
|
+
} catch (t) {
|
|
274
|
+
S(t);
|
|
275
|
+
}
|
|
276
|
+
}, r;
|
|
277
|
+
}(), W = function(r) {
|
|
278
|
+
g(e, r);
|
|
279
|
+
function e(t, i, n) {
|
|
280
|
+
var o = r.call(this) || this, s;
|
|
281
|
+
return b(t) || !t ? s = {
|
|
282
|
+
next: t != null ? t : void 0,
|
|
283
|
+
error: i != null ? i : void 0,
|
|
284
|
+
complete: n != null ? n : void 0
|
|
285
|
+
} : s = t, o.destination = new wt(s), o;
|
|
286
|
+
}
|
|
287
|
+
return e;
|
|
288
|
+
}(et);
|
|
289
|
+
function S(r) {
|
|
290
|
+
_t(r);
|
|
291
|
+
}
|
|
292
|
+
function gt(r) {
|
|
293
|
+
throw r;
|
|
294
|
+
}
|
|
295
|
+
var St = {
|
|
296
|
+
closed: !0,
|
|
297
|
+
next: F,
|
|
298
|
+
error: gt,
|
|
299
|
+
complete: F
|
|
300
|
+
}, Ct = function() {
|
|
301
|
+
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
302
|
+
}();
|
|
303
|
+
function Et(r) {
|
|
304
|
+
return r;
|
|
305
|
+
}
|
|
306
|
+
function xt(r) {
|
|
307
|
+
return r.length === 0 ? Et : r.length === 1 ? r[0] : function(t) {
|
|
308
|
+
return r.reduce(function(i, n) {
|
|
309
|
+
return n(i);
|
|
310
|
+
}, t);
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
var H = function() {
|
|
314
|
+
function r(e) {
|
|
315
|
+
e && (this._subscribe = e);
|
|
316
|
+
}
|
|
317
|
+
return r.prototype.lift = function(e) {
|
|
318
|
+
var t = new r();
|
|
319
|
+
return t.source = this, t.operator = e, t;
|
|
320
|
+
}, r.prototype.subscribe = function(e, t, i) {
|
|
321
|
+
var n = this, o = Ot(e) ? e : new W(e, t, i);
|
|
322
|
+
return C(function() {
|
|
323
|
+
var s = n, u = s.operator, c = s.source;
|
|
324
|
+
o.add(u ? u.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
|
|
325
|
+
}), o;
|
|
326
|
+
}, r.prototype._trySubscribe = function(e) {
|
|
327
|
+
try {
|
|
328
|
+
return this._subscribe(e);
|
|
329
|
+
} catch (t) {
|
|
330
|
+
e.error(t);
|
|
331
|
+
}
|
|
332
|
+
}, r.prototype.forEach = function(e, t) {
|
|
333
|
+
var i = this;
|
|
334
|
+
return t = D(t), new t(function(n, o) {
|
|
335
|
+
var s = new W({
|
|
336
|
+
next: function(u) {
|
|
337
|
+
try {
|
|
338
|
+
e(u);
|
|
339
|
+
} catch (c) {
|
|
340
|
+
o(c), s.unsubscribe();
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
error: o,
|
|
344
|
+
complete: n
|
|
345
|
+
});
|
|
346
|
+
i.subscribe(s);
|
|
347
|
+
});
|
|
348
|
+
}, r.prototype._subscribe = function(e) {
|
|
349
|
+
var t;
|
|
350
|
+
return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
|
|
351
|
+
}, r.prototype[Ct] = function() {
|
|
352
|
+
return this;
|
|
353
|
+
}, r.prototype.pipe = function() {
|
|
354
|
+
for (var e = [], t = 0; t < arguments.length; t++)
|
|
355
|
+
e[t] = arguments[t];
|
|
356
|
+
return xt(e)(this);
|
|
357
|
+
}, r.prototype.toPromise = function(e) {
|
|
358
|
+
var t = this;
|
|
359
|
+
return e = D(e), new e(function(i, n) {
|
|
360
|
+
var o;
|
|
361
|
+
t.subscribe(function(s) {
|
|
362
|
+
return o = s;
|
|
363
|
+
}, function(s) {
|
|
364
|
+
return n(s);
|
|
365
|
+
}, function() {
|
|
366
|
+
return i(o);
|
|
367
|
+
});
|
|
368
|
+
});
|
|
369
|
+
}, r.create = function(e) {
|
|
370
|
+
return new r(e);
|
|
371
|
+
}, r;
|
|
372
|
+
}();
|
|
373
|
+
function D(r) {
|
|
374
|
+
var e;
|
|
375
|
+
return (e = r != null ? r : yt.Promise) !== null && e !== void 0 ? e : Promise;
|
|
376
|
+
}
|
|
377
|
+
function Lt(r) {
|
|
378
|
+
return r && b(r.next) && b(r.error) && b(r.complete);
|
|
379
|
+
}
|
|
380
|
+
function Ot(r) {
|
|
381
|
+
return r && r instanceof et || Lt(r) && tt(r);
|
|
382
|
+
}
|
|
383
|
+
var kt = N(function(r) {
|
|
384
|
+
return function() {
|
|
385
|
+
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
386
|
+
};
|
|
387
|
+
}), rt = function(r) {
|
|
388
|
+
g(e, r);
|
|
389
|
+
function e() {
|
|
390
|
+
var t = r.call(this) || this;
|
|
391
|
+
return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
|
|
392
|
+
}
|
|
393
|
+
return e.prototype.lift = function(t) {
|
|
394
|
+
var i = new Y(this, this);
|
|
395
|
+
return i.operator = t, i;
|
|
396
|
+
}, e.prototype._throwIfClosed = function() {
|
|
397
|
+
if (this.closed)
|
|
398
|
+
throw new kt();
|
|
399
|
+
}, e.prototype.next = function(t) {
|
|
400
|
+
var i = this;
|
|
401
|
+
C(function() {
|
|
402
|
+
var n, o;
|
|
403
|
+
if (i._throwIfClosed(), !i.isStopped) {
|
|
404
|
+
i.currentObservers || (i.currentObservers = Array.from(i.observers));
|
|
405
|
+
try {
|
|
406
|
+
for (var s = M(i.currentObservers), u = s.next(); !u.done; u = s.next()) {
|
|
407
|
+
var c = u.value;
|
|
408
|
+
c.next(t);
|
|
409
|
+
}
|
|
410
|
+
} catch (l) {
|
|
411
|
+
n = { error: l };
|
|
412
|
+
} finally {
|
|
413
|
+
try {
|
|
414
|
+
u && !u.done && (o = s.return) && o.call(s);
|
|
415
|
+
} finally {
|
|
416
|
+
if (n)
|
|
417
|
+
throw n.error;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
}, e.prototype.error = function(t) {
|
|
423
|
+
var i = this;
|
|
424
|
+
C(function() {
|
|
425
|
+
if (i._throwIfClosed(), !i.isStopped) {
|
|
426
|
+
i.hasError = i.isStopped = !0, i.thrownError = t;
|
|
427
|
+
for (var n = i.observers; n.length; )
|
|
428
|
+
n.shift().error(t);
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
}, e.prototype.complete = function() {
|
|
432
|
+
var t = this;
|
|
433
|
+
C(function() {
|
|
434
|
+
if (t._throwIfClosed(), !t.isStopped) {
|
|
435
|
+
t.isStopped = !0;
|
|
436
|
+
for (var i = t.observers; i.length; )
|
|
437
|
+
i.shift().complete();
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
}, e.prototype.unsubscribe = function() {
|
|
441
|
+
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
442
|
+
}, Object.defineProperty(e.prototype, "observed", {
|
|
443
|
+
get: function() {
|
|
444
|
+
var t;
|
|
445
|
+
return ((t = this.observers) === null || t === void 0 ? void 0 : t.length) > 0;
|
|
446
|
+
},
|
|
447
|
+
enumerable: !1,
|
|
448
|
+
configurable: !0
|
|
449
|
+
}), e.prototype._trySubscribe = function(t) {
|
|
450
|
+
return this._throwIfClosed(), r.prototype._trySubscribe.call(this, t);
|
|
451
|
+
}, e.prototype._subscribe = function(t) {
|
|
452
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
|
|
453
|
+
}, e.prototype._innerSubscribe = function(t) {
|
|
454
|
+
var i = this, n = this, o = n.hasError, s = n.isStopped, u = n.observers;
|
|
455
|
+
return o || s ? $ : (this.currentObservers = null, u.push(t), new k(function() {
|
|
456
|
+
i.currentObservers = null, A(u, t);
|
|
457
|
+
}));
|
|
458
|
+
}, e.prototype._checkFinalizedStatuses = function(t) {
|
|
459
|
+
var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
|
|
460
|
+
n ? t.error(o) : s && t.complete();
|
|
461
|
+
}, e.prototype.asObservable = function() {
|
|
462
|
+
var t = new H();
|
|
463
|
+
return t.source = this, t;
|
|
464
|
+
}, e.create = function(t, i) {
|
|
465
|
+
return new Y(t, i);
|
|
466
|
+
}, e;
|
|
467
|
+
}(H), Y = function(r) {
|
|
468
|
+
g(e, r);
|
|
469
|
+
function e(t, i) {
|
|
470
|
+
var n = r.call(this) || this;
|
|
471
|
+
return n.destination = t, n.source = i, n;
|
|
472
|
+
}
|
|
473
|
+
return e.prototype.next = function(t) {
|
|
474
|
+
var i, n;
|
|
475
|
+
(n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, t);
|
|
476
|
+
}, e.prototype.error = function(t) {
|
|
477
|
+
var i, n;
|
|
478
|
+
(n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, t);
|
|
479
|
+
}, e.prototype.complete = function() {
|
|
480
|
+
var t, i;
|
|
481
|
+
(i = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || i === void 0 || i.call(t);
|
|
482
|
+
}, e.prototype._subscribe = function(t) {
|
|
483
|
+
var i, n;
|
|
484
|
+
return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t)) !== null && n !== void 0 ? n : $;
|
|
485
|
+
}, e;
|
|
486
|
+
}(rt), it = {
|
|
487
|
+
now: function() {
|
|
488
|
+
return (it.delegate || Date).now();
|
|
489
|
+
},
|
|
490
|
+
delegate: void 0
|
|
491
|
+
}, Pt = function(r) {
|
|
492
|
+
g(e, r);
|
|
493
|
+
function e(t, i, n) {
|
|
494
|
+
t === void 0 && (t = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = it);
|
|
495
|
+
var o = r.call(this) || this;
|
|
496
|
+
return o._bufferSize = t, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, t), o._windowTime = Math.max(1, i), o;
|
|
497
|
+
}
|
|
498
|
+
return e.prototype.next = function(t) {
|
|
499
|
+
var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, u = i._timestampProvider, c = i._windowTime;
|
|
500
|
+
n || (o.push(t), !s && o.push(u.now() + c)), this._trimBuffer(), r.prototype.next.call(this, t);
|
|
501
|
+
}, e.prototype._subscribe = function(t) {
|
|
502
|
+
this._throwIfClosed(), this._trimBuffer();
|
|
503
|
+
for (var i = this._innerSubscribe(t), n = this, o = n._infiniteTimeWindow, s = n._buffer, u = s.slice(), c = 0; c < u.length && !t.closed; c += o ? 1 : 2)
|
|
504
|
+
t.next(u[c]);
|
|
505
|
+
return this._checkFinalizedStatuses(t), i;
|
|
506
|
+
}, e.prototype._trimBuffer = function() {
|
|
507
|
+
var t = this, i = t._bufferSize, n = t._timestampProvider, o = t._buffer, s = t._infiniteTimeWindow, u = (s ? 1 : 2) * i;
|
|
508
|
+
if (i < 1 / 0 && u < o.length && o.splice(0, o.length - u), !s) {
|
|
509
|
+
for (var c = n.now(), l = 0, a = 1; a < o.length && o[a] <= c; a += 2)
|
|
510
|
+
l = a;
|
|
511
|
+
l && o.splice(0, l + 1);
|
|
512
|
+
}
|
|
513
|
+
}, e;
|
|
514
|
+
}(rt);
|
|
515
|
+
const q = [], Z = {}, Tt = (r, e = 0) => {
|
|
516
|
+
if (q.indexOf(r) == -1) {
|
|
517
|
+
const t = new Pt(e);
|
|
518
|
+
Z[r] = t, q.push(r);
|
|
519
|
+
}
|
|
520
|
+
return Z[r];
|
|
521
|
+
};
|
|
522
|
+
window.emWidgets = { topic: Tt };
|
|
523
|
+
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));
|
|
524
|
+
function jt(r) {
|
|
525
|
+
lt(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}");
|
|
526
|
+
}
|
|
527
|
+
function J(r) {
|
|
528
|
+
let e, t, i, n, o, s, u, c = !/*desktopView*/
|
|
529
|
+
r[2] && K(r), l = (
|
|
530
|
+
/*desktopView*/
|
|
531
|
+
r[2] && Q(r)
|
|
532
|
+
);
|
|
533
|
+
return {
|
|
534
|
+
c() {
|
|
535
|
+
e = w("div"), c && c.c(), t = z(), i = w("div"), l && l.c(), n = z(), o = w("video"), s = w("source"), U(s.src, u = /*videosrc*/
|
|
536
|
+
r[0]) || f(s, "src", u), o.autoplay = !0, o.controls = !0, f(o, "controlslist", "nodownload"), f(o, "disablepictureinpicture", ""), f(i, "class", "CashierVideo"), f(e, "class", "CashierVideoWrapper"), B(
|
|
537
|
+
e,
|
|
538
|
+
"CashierVideoWrapperDesktop",
|
|
539
|
+
/*desktopView*/
|
|
540
|
+
r[2]
|
|
541
|
+
);
|
|
542
|
+
},
|
|
543
|
+
m(a, h) {
|
|
544
|
+
O(a, e, h), c && c.m(e, null), m(e, t), m(e, i), l && l.m(i, null), m(i, n), m(i, o), m(o, s), r[11](e);
|
|
545
|
+
},
|
|
546
|
+
p(a, h) {
|
|
547
|
+
/*desktopView*/
|
|
548
|
+
a[2] ? c && (c.d(1), c = null) : c ? c.p(a, h) : (c = K(a), c.c(), c.m(e, t)), /*desktopView*/
|
|
549
|
+
a[2] ? l ? l.p(a, h) : (l = Q(a), l.c(), l.m(i, n)) : l && (l.d(1), l = null), h & /*videosrc*/
|
|
550
|
+
1 && !U(s.src, u = /*videosrc*/
|
|
551
|
+
a[0]) && f(s, "src", u), h & /*desktopView*/
|
|
552
|
+
4 && B(
|
|
553
|
+
e,
|
|
554
|
+
"CashierVideoWrapperDesktop",
|
|
555
|
+
/*desktopView*/
|
|
556
|
+
a[2]
|
|
557
|
+
);
|
|
558
|
+
},
|
|
559
|
+
d(a) {
|
|
560
|
+
a && L(e), c && c.d(), l && l.d(), r[11](null);
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
function K(r) {
|
|
565
|
+
let e, t, i, n, o;
|
|
566
|
+
return {
|
|
567
|
+
c() {
|
|
568
|
+
e = w("div"), t = 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(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"), f(e, "class", "CashierVideoHeader");
|
|
569
|
+
},
|
|
570
|
+
m(s, u) {
|
|
571
|
+
O(s, e, u), m(e, t), m(t, i), n || (o = X(
|
|
572
|
+
t,
|
|
573
|
+
"click",
|
|
574
|
+
/*click_handler*/
|
|
575
|
+
r[9]
|
|
576
|
+
), n = !0);
|
|
577
|
+
},
|
|
578
|
+
p: E,
|
|
579
|
+
d(s) {
|
|
580
|
+
s && L(e), n = !1, o();
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
function Q(r) {
|
|
585
|
+
let e, t, i, n;
|
|
586
|
+
return {
|
|
587
|
+
c() {
|
|
588
|
+
e = x("svg"), t = x("path"), f(t, "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(t, "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");
|
|
589
|
+
},
|
|
590
|
+
m(o, s) {
|
|
591
|
+
O(o, e, s), m(e, t), i || (n = X(
|
|
592
|
+
e,
|
|
593
|
+
"click",
|
|
594
|
+
/*click_handler_1*/
|
|
595
|
+
r[10]
|
|
596
|
+
), i = !0);
|
|
597
|
+
},
|
|
598
|
+
p: E,
|
|
599
|
+
d(o) {
|
|
600
|
+
o && L(e), i = !1, n();
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
function Mt(r) {
|
|
605
|
+
let e, t = (
|
|
606
|
+
/*show*/
|
|
607
|
+
r[3] && J(r)
|
|
608
|
+
);
|
|
609
|
+
return {
|
|
610
|
+
c() {
|
|
611
|
+
t && t.c(), e = at();
|
|
612
|
+
},
|
|
613
|
+
m(i, n) {
|
|
614
|
+
t && t.m(i, n), O(i, e, n);
|
|
615
|
+
},
|
|
616
|
+
p(i, [n]) {
|
|
617
|
+
/*show*/
|
|
618
|
+
i[3] ? t ? t.p(i, n) : (t = J(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
619
|
+
},
|
|
620
|
+
i: E,
|
|
621
|
+
o: E,
|
|
622
|
+
d(i) {
|
|
623
|
+
i && L(e), t && t.d(i);
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
function Vt(r, e, t) {
|
|
628
|
+
let { clientstyling: i = "" } = e, { clientstylingurl: n = "" } = e, { ismobileview: o } = e, { videosrc: s } = e, { mbsource: u = "" } = e, c = window.navigator.userAgent, l = !0, a = !1, h;
|
|
629
|
+
const v = () => {
|
|
630
|
+
t(3, a = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
631
|
+
}, y = (p) => {
|
|
632
|
+
p.data.type == "ShowCashierVideoModal" && (t(3, a = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), p.data.type == "HideCashierVideoModal" && v();
|
|
633
|
+
}, P = () => {
|
|
634
|
+
t(2, l = !G(c));
|
|
635
|
+
};
|
|
636
|
+
ft(() => (window.addEventListener("message", y, !1), () => {
|
|
637
|
+
window.removeEventListener("message", y);
|
|
638
|
+
}));
|
|
639
|
+
const d = () => v(), nt = () => v();
|
|
640
|
+
function ot(p) {
|
|
641
|
+
ht[p ? "unshift" : "push"](() => {
|
|
642
|
+
h = p, t(1, h);
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
return r.$$set = (p) => {
|
|
646
|
+
"clientstyling" in p && t(5, i = p.clientstyling), "clientstylingurl" in p && t(6, n = p.clientstylingurl), "ismobileview" in p && t(7, o = p.ismobileview), "videosrc" in p && t(0, s = p.videosrc), "mbsource" in p && t(8, u = p.mbsource);
|
|
647
|
+
}, r.$$.update = () => {
|
|
648
|
+
r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
649
|
+
34 && i && h && pt(h, i), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
650
|
+
66 && n && h && dt(h, n), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
651
|
+
258 && u && h && vt(h, `${u}.Style`);
|
|
652
|
+
}, G(c) && P(), [
|
|
653
|
+
s,
|
|
654
|
+
h,
|
|
655
|
+
l,
|
|
656
|
+
a,
|
|
657
|
+
v,
|
|
658
|
+
i,
|
|
659
|
+
n,
|
|
660
|
+
o,
|
|
661
|
+
u,
|
|
662
|
+
d,
|
|
663
|
+
nt,
|
|
664
|
+
ot
|
|
665
|
+
];
|
|
666
|
+
}
|
|
667
|
+
class It extends st {
|
|
668
|
+
constructor(e) {
|
|
669
|
+
super(), ut(
|
|
670
|
+
this,
|
|
671
|
+
e,
|
|
672
|
+
Vt,
|
|
673
|
+
Mt,
|
|
674
|
+
ct,
|
|
675
|
+
{
|
|
676
|
+
clientstyling: 5,
|
|
677
|
+
clientstylingurl: 6,
|
|
678
|
+
ismobileview: 7,
|
|
679
|
+
videosrc: 0,
|
|
680
|
+
mbsource: 8
|
|
681
|
+
},
|
|
682
|
+
jt
|
|
683
|
+
);
|
|
684
|
+
}
|
|
685
|
+
get clientstyling() {
|
|
686
|
+
return this.$$.ctx[5];
|
|
687
|
+
}
|
|
688
|
+
set clientstyling(e) {
|
|
689
|
+
this.$$set({ clientstyling: e }), _();
|
|
690
|
+
}
|
|
691
|
+
get clientstylingurl() {
|
|
692
|
+
return this.$$.ctx[6];
|
|
693
|
+
}
|
|
694
|
+
set clientstylingurl(e) {
|
|
695
|
+
this.$$set({ clientstylingurl: e }), _();
|
|
696
|
+
}
|
|
697
|
+
get ismobileview() {
|
|
698
|
+
return this.$$.ctx[7];
|
|
699
|
+
}
|
|
700
|
+
set ismobileview(e) {
|
|
701
|
+
this.$$set({ ismobileview: e }), _();
|
|
702
|
+
}
|
|
703
|
+
get videosrc() {
|
|
704
|
+
return this.$$.ctx[0];
|
|
705
|
+
}
|
|
706
|
+
set videosrc(e) {
|
|
707
|
+
this.$$set({ videosrc: e }), _();
|
|
708
|
+
}
|
|
709
|
+
get mbsource() {
|
|
710
|
+
return this.$$.ctx[8];
|
|
711
|
+
}
|
|
712
|
+
set mbsource(e) {
|
|
713
|
+
this.$$set({ mbsource: e }), _();
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
bt(It, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
|
|
717
|
+
export {
|
|
718
|
+
It as default
|
|
719
|
+
};
|