@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.
@@ -1,14 +1,14 @@
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-b9si2iM4.js";
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-DGho0seC.js";
2
2
  function v(r) {
3
3
  return typeof r == "function";
4
4
  }
5
- function N(r) {
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 j = N(function(r) {
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 W(r, t) {
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 P = function() {
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 = O(s), c = u.next(); !c.done; c = u.next()) {
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 j ? p.errors : [p];
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 = O(d), y = b.next(); !y.done; y = b.next()) {
66
- var T = y.value;
65
+ for (var b = j(d), y = b.next(); !y.done; y = b.next()) {
66
+ var P = y.value;
67
67
  try {
68
- z(T);
68
+ z(P);
69
69
  } catch (p) {
70
- o = o ?? [], p instanceof j ? o = V(V([], I(o)), I(p.errors)) : o.push(p);
70
+ o = 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 j(o);
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) && W(e, t);
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 && W(e, t), t instanceof r && t._removeParent(this);
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
- }(), $ = P.EMPTY;
117
- function ee(r) {
118
- return r instanceof P || r && "closed" in r && v(r.remove) && v(r.add) && v(r.unsubscribe);
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 te = {
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
- }, me = {
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, V([r, t], I(e)));
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 we(r) {
141
- me.setTimeout(function() {
140
+ function me(r) {
141
+ ye.setTimeout(function() {
142
142
  throw r;
143
143
  });
144
144
  }
145
- function F() {
145
+ function D() {
146
146
  }
147
147
  function C(r) {
148
148
  r();
149
149
  }
150
- var re = function(r) {
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, ee(e) && e.add(i)) : i.destination = Ce, i;
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 A(e, i, n);
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
- }(P), _e = Function.prototype.bind;
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
- }(), A = function(r) {
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
- if (v(e) || !e)
221
- s = {
222
- next: e ?? void 0,
223
- error: i ?? void 0,
224
- complete: 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;
216
+ return v(e) || !e ? s = {
217
+ next: e ?? void 0,
218
+ error: i ?? void 0,
219
+ complete: n ?? void 0
220
+ } : s = e, o.destination = new we(s), o;
237
221
  }
238
222
  return t;
239
- }(re);
223
+ }(ee);
240
224
  function S(r) {
241
- we(r);
225
+ me(r);
242
226
  }
243
- function Se(r) {
227
+ function _e(r) {
244
228
  throw r;
245
229
  }
246
- var Ce = {
230
+ var ge = {
247
231
  closed: !0,
248
- next: F,
249
- error: Se,
250
- complete: F
251
- }, Ee = function() {
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 Le(r) {
238
+ function Ce(r) {
255
239
  return r;
256
240
  }
257
- function xe(r) {
258
- return r.length === 0 ? Le : r.length === 1 ? r[0] : function(e) {
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 = Pe(t) ? t : new A(t, e, i);
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 A({
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[Ee] = function() {
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 xe(t)(this);
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 ?? te.Promise) !== null && t !== void 0 ? t : Promise;
310
+ return (t = r ?? ve.Promise) !== null && t !== void 0 ? t : Promise;
327
311
  }
328
- function ke(r) {
312
+ function xe(r) {
329
313
  return r && v(r.next) && v(r.error) && v(r.complete);
330
314
  }
331
- function Pe(r) {
332
- return r && r instanceof re || ke(r) && ee(r);
315
+ function Le(r) {
316
+ return r && r instanceof ee || xe(r) && $(r);
333
317
  }
334
- var Te = N(function(r) {
318
+ var ke = X(function(r) {
335
319
  return function() {
336
320
  r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
337
321
  };
338
- }), ie = function(r) {
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 Y(this, this);
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 Te();
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 = O(i.currentObservers), u = s.next(); !u.done; u = s.next()) {
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 ? $ : (this.currentObservers = null, u.push(e), new P(function() {
407
- i.currentObservers = null, W(u, e);
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 Y(e, i);
400
+ return new F(e, i);
417
401
  }, t;
418
- }(H), Y = function(r) {
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
- }(ie), ne = {
421
+ }(te), re = {
438
422
  now: function() {
439
- return (ne.delegate || Date).now();
423
+ return (re.delegate || Date).now();
440
424
  },
441
425
  delegate: void 0
442
- }, je = function(r) {
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 = ne);
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
- }(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);
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 Z[r];
455
+ return q[r];
472
456
  };
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}");
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 J(r) {
462
+ function G(r) {
479
463
  let t, e, i, n, o, s, u, c = !/*desktopView*/
480
- r[2] && K(r), l = (
464
+ r[2] && J(r), l = (
481
465
  /*desktopView*/
482
- r[2] && Q(r)
466
+ r[2] && K(r)
483
467
  );
484
468
  return {
485
469
  c() {
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(
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
- 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);
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 = 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*/
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 && D(
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 K(r) {
499
+ function J(r) {
516
500
  let t, e, i, n, o;
517
501
  return {
518
502
  c() {
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");
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
- x(s, t, u), m(t, e), m(e, i), n || (o = X(
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 Q(r) {
519
+ function K(r) {
536
520
  let t, e, i, n;
537
521
  return {
538
522
  c() {
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");
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
- x(o, t, s), m(t, e), i || (n = X(
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 Ve(r) {
539
+ function je(r) {
556
540
  let t, e = (
557
541
  /*show*/
558
- r[3] && J(r)
542
+ r[3] && G(r)
559
543
  );
560
544
  return {
561
545
  c() {
562
- e && e.c(), t = de();
546
+ e && e.c(), t = ae();
563
547
  },
564
548
  m(i, n) {
565
- e && e.m(i, n), x(i, t, 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 = J(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
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 Ie(r, t, e) {
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
- }, T = () => {
585
- e(2, l = !G(c));
568
+ }, P = () => {
569
+ e(2, l = !Z(c));
586
570
  };
587
- he(() => (window.addEventListener("message", y, !1), () => {
571
+ fe(() => (window.addEventListener("message", y, !1), () => {
588
572
  window.removeEventListener("message", y);
589
573
  }));
590
- const p = () => b(), oe = () => b();
591
- function se(h) {
592
- ve[h ? "unshift" : "push"](() => {
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 && ye(d, i), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
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
- }, G(c) && T(), [
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
- oe,
615
- se
598
+ ie,
599
+ ne
616
600
  ];
617
601
  }
618
- class We extends ue {
602
+ class Ve extends oe {
619
603
  constructor(t) {
620
- super(), ce(
604
+ super(), se(
621
605
  this,
622
606
  t,
623
- Ie,
624
- Ve,
625
- ae,
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
- Oe
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
- le(We, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
651
+ ue(Ve, { clientstyling: {}, clientstylingurl: {}, ismobileview: {}, videosrc: {}, mbsource: {} }, [], [], !0);
668
652
  export {
669
- We as default
653
+ Ve as default
670
654
  };