@everymatrix/cashier-receipt-page-nd 1.69.135 → 1.69.141

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.
@@ -14,7 +14,7 @@ var Ne = (i, e, t) => new Promise((n, r) => {
14
14
  }, l = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, s);
15
15
  l((t = t.apply(i, e)).next());
16
16
  });
17
- import { i as Lt, a as Ht, b as It, $ as Wt, c as yt, g as vt, S as Bt, d as Ot, f as G, s as Et, e as jt, h as zt, n as Ie, j as M, k as D, l as x, m as u, o as At, p as Yt, q as Ke, t as Ge, r as $t, u as Zt, v as Vt, w as h, x as j, y as Ut, z as Ft, A as Nt, B as A, C as Y, D as z, E as Kt, F as Te, G as Ze, H as Re, I as wt, J as fe, K as qe, L as Gt, M as qt, N as Qt, O as Jt } from "./CashierError-DczBAj3_.js";
17
+ import { i as Lt, a as It, b as Ht, $ as Wt, c as yt, g as vt, S as Bt, d as Ot, f as G, s as Et, e as jt, h as zt, n as be, j as M, k as D, l as x, m as u, o as At, p as Yt, q as Ke, t as Ge, r as $t, u as Zt, v as Vt, w as h, x as j, y as Ut, z as Ft, A as Nt, B as A, C as Y, D as z, E as Kt, F as ke, G as Ze, H as Pe, I as wt, J as fe, K as qe, L as Gt, M as qt, N as Qt, O as Jt } from "./CashierError-DczBAj3_.js";
18
18
  function Qe(i, { delay: e = 0, duration: t = 400, easing: n = Lt } = {}) {
19
19
  const r = +getComputedStyle(i).opacity;
20
20
  return {
@@ -25,10 +25,10 @@ function Qe(i, { delay: e = 0, duration: t = 400, easing: n = Lt } = {}) {
25
25
  };
26
26
  }
27
27
  function Je(i, e) {
28
- Ht(i, e);
28
+ It(i, e);
29
29
  }
30
30
  function Xt(i) {
31
- It({
31
+ Ht({
32
32
  fallbackLocale: "en"
33
33
  }), Wt.set(i);
34
34
  }
@@ -444,8 +444,8 @@ var Tt = { exports: {} };
444
444
  if (!C && _.length > 1)
445
445
  return k(_[0]);
446
446
  } else {
447
- var H = g.name;
448
- L[H] = g, C = H;
447
+ var I = g.name;
448
+ L[I] = g, C = I;
449
449
  }
450
450
  return !y && C && (X = C), C || !y && X;
451
451
  }, F = function(k, g) {
@@ -474,8 +474,8 @@ var Tt = { exports: {} };
474
474
  if (typeof C == "string" && !/Z$/i.test(C)) {
475
475
  var _ = C.match(V);
476
476
  if (_) {
477
- var H = _[2] - 1 || 0, E = (_[7] || "0").substring(0, 3);
478
- return w ? new Date(Date.UTC(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E)) : new Date(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E);
477
+ var I = _[2] - 1 || 0, E = (_[7] || "0").substring(0, 3);
478
+ return w ? new Date(Date.UTC(_[1], I, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E)) : new Date(_[1], I, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E);
479
479
  }
480
480
  }
481
481
  return new Date(C);
@@ -501,7 +501,7 @@ var Tt = { exports: {} };
501
501
  }, g.valueOf = function() {
502
502
  return this.$d.getTime();
503
503
  }, g.startOf = function(f, y) {
504
- var C = this, w = !!R.u(y) || y, _ = R.p(f), H = function(oe, J) {
504
+ var C = this, w = !!R.u(y) || y, _ = R.p(f), I = function(oe, J) {
505
505
  var le = R.w(C.$u ? Date.UTC(C.$y, J, oe) : new Date(C.$y, J, oe), C);
506
506
  return w ? le : le.endOf(d);
507
507
  }, E = function(oe, J) {
@@ -509,12 +509,12 @@ var Tt = { exports: {} };
509
509
  }, B = this.$W, K = this.$M, Q = this.$D, ue = "set" + (this.$u ? "UTC" : "");
510
510
  switch (_) {
511
511
  case T:
512
- return w ? H(1, 0) : H(31, 11);
512
+ return w ? I(1, 0) : I(31, 11);
513
513
  case v:
514
- return w ? H(1, K) : H(0, K + 1);
514
+ return w ? I(1, K) : I(0, K + 1);
515
515
  case p:
516
516
  var re = this.$locale().weekStart || 0, pe = (B < re ? B + 7 : B) - re;
517
- return H(w ? Q - pe : Q + (6 - pe), K);
517
+ return I(w ? Q - pe : Q + (6 - pe), K);
518
518
  case d:
519
519
  case S:
520
520
  return E(ue + "Hours", 0);
@@ -530,12 +530,12 @@ var Tt = { exports: {} };
530
530
  }, g.endOf = function(f) {
531
531
  return this.startOf(f, !1);
532
532
  }, g.$set = function(f, y) {
533
- var C, w = R.p(f), _ = "set" + (this.$u ? "UTC" : ""), H = (C = {}, C[d] = _ + "Date", C[S] = _ + "Date", C[v] = _ + "Month", C[T] = _ + "FullYear", C[a] = _ + "Hours", C[l] = _ + "Minutes", C[s] = _ + "Seconds", C[o] = _ + "Milliseconds", C)[w], E = w === d ? this.$D + (y - this.$W) : y;
533
+ var C, w = R.p(f), _ = "set" + (this.$u ? "UTC" : ""), I = (C = {}, C[d] = _ + "Date", C[S] = _ + "Date", C[v] = _ + "Month", C[T] = _ + "FullYear", C[a] = _ + "Hours", C[l] = _ + "Minutes", C[s] = _ + "Seconds", C[o] = _ + "Milliseconds", C)[w], E = w === d ? this.$D + (y - this.$W) : y;
534
534
  if (w === v || w === T) {
535
535
  var B = this.clone().set(S, 1);
536
- B.$d[H](E), B.init(), this.$d = B.set(S, Math.min(this.$D, B.daysInMonth())).$d;
536
+ B.$d[I](E), B.init(), this.$d = B.set(S, Math.min(this.$D, B.daysInMonth())).$d;
537
537
  } else
538
- H && this.$d[H](E);
538
+ I && this.$d[I](E);
539
539
  return this.init(), this;
540
540
  }, g.set = function(f, y) {
541
541
  return this.clone().$set(f, y);
@@ -544,7 +544,7 @@ var Tt = { exports: {} };
544
544
  }, g.add = function(f, y) {
545
545
  var C, w = this;
546
546
  f = Number(f);
547
- var _ = R.p(y), H = function(K) {
547
+ var _ = R.p(y), I = function(K) {
548
548
  var Q = F(w);
549
549
  return R.w(Q.date(Q.date() + Math.round(K * f)), w);
550
550
  };
@@ -553,9 +553,9 @@ var Tt = { exports: {} };
553
553
  if (_ === T)
554
554
  return this.set(T, this.$y + f);
555
555
  if (_ === d)
556
- return H(1);
556
+ return I(1);
557
557
  if (_ === p)
558
- return H(7);
558
+ return I(7);
559
559
  var E = (C = {}, C[l] = n, C[a] = r, C[s] = t, C)[_] || 1, B = this.$d.getTime() + f * E;
560
560
  return R.w(B, this);
561
561
  }, g.subtract = function(f, y) {
@@ -564,10 +564,10 @@ var Tt = { exports: {} };
564
564
  var y = this, C = this.$locale();
565
565
  if (!this.isValid())
566
566
  return C.invalidDate || m;
567
- var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = R.z(this), H = this.$H, E = this.$m, B = this.$M, K = C.weekdays, Q = C.months, ue = C.meridiem, re = function(J, le, ce, de) {
567
+ var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = R.z(this), I = this.$H, E = this.$m, B = this.$M, K = C.weekdays, Q = C.months, ue = C.meridiem, re = function(J, le, ce, de) {
568
568
  return J && (J[le] || J(y, w)) || ce[le].slice(0, de);
569
569
  }, pe = function(J) {
570
- return R.s(H % 12 || 12, J, "0");
570
+ return R.s(I % 12 || 12, J, "0");
571
571
  }, oe = ue || function(J, le, ce) {
572
572
  var de = J < 12 ? "AM" : "PM";
573
573
  return ce ? de.toLowerCase() : de;
@@ -600,17 +600,17 @@ var Tt = { exports: {} };
600
600
  case "dddd":
601
601
  return K[y.$W];
602
602
  case "H":
603
- return String(H);
603
+ return String(I);
604
604
  case "HH":
605
- return R.s(H, 2, "0");
605
+ return R.s(I, 2, "0");
606
606
  case "h":
607
607
  return pe(1);
608
608
  case "hh":
609
609
  return pe(2);
610
610
  case "a":
611
- return oe(H, E, !0);
611
+ return oe(I, E, !0);
612
612
  case "A":
613
- return oe(H, E, !1);
613
+ return oe(I, E, !1);
614
614
  case "m":
615
615
  return String(E);
616
616
  case "mm":
@@ -630,10 +630,10 @@ var Tt = { exports: {} };
630
630
  }, g.utcOffset = function() {
631
631
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
632
632
  }, g.diff = function(f, y, C) {
633
- var w, _ = this, H = R.p(y), E = F(f), B = (E.utcOffset() - this.utcOffset()) * n, K = this - E, Q = function() {
633
+ var w, _ = this, I = R.p(y), E = F(f), B = (E.utcOffset() - this.utcOffset()) * n, K = this - E, Q = function() {
634
634
  return R.m(_, E);
635
635
  };
636
- switch (H) {
636
+ switch (I) {
637
637
  case T:
638
638
  w = Q() / 12;
639
639
  break;
@@ -695,7 +695,7 @@ var Tt = { exports: {} };
695
695
  });
696
696
  })(Tt);
697
697
  var o1 = Tt.exports;
698
- const Pe = /* @__PURE__ */ vt(o1);
698
+ const Le = /* @__PURE__ */ vt(o1);
699
699
  var kt = { exports: {} };
700
700
  (function(i, e) {
701
701
  (function(t, n) {
@@ -801,7 +801,7 @@ var We = function(i, e) {
801
801
  Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
802
802
  }, We(i, e);
803
803
  };
804
- function ke(i, e) {
804
+ function Se(i, e) {
805
805
  if (typeof e != "function" && e !== null)
806
806
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
807
807
  We(i, e);
@@ -872,7 +872,7 @@ function je(i, e) {
872
872
  0 <= t && i.splice(t, 1);
873
873
  }
874
874
  }
875
- var Le = function() {
875
+ var Ie = function() {
876
876
  function i(e) {
877
877
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
878
878
  }
@@ -962,9 +962,9 @@ var Le = function() {
962
962
  var e = new i();
963
963
  return e.closed = !0, e;
964
964
  }(), i;
965
- }(), xt = Le.EMPTY;
965
+ }(), xt = Ie.EMPTY;
966
966
  function Mt(i) {
967
- return i instanceof Le || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
967
+ return i instanceof Ie || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
968
968
  }
969
969
  function et(i) {
970
970
  ge(i) ? i() : i.unsubscribe();
@@ -989,11 +989,11 @@ function u1(i) {
989
989
  }
990
990
  function tt() {
991
991
  }
992
- function De(i) {
992
+ function Re(i) {
993
993
  i();
994
994
  }
995
995
  var Dt = function(i) {
996
- ke(e, i);
996
+ Se(e, i);
997
997
  function e(t) {
998
998
  var n = i.call(this) || this;
999
999
  return n.isStopped = !1, t ? (n.destination = t, Mt(t) && t.add(n)) : n.destination = d1, n;
@@ -1023,7 +1023,7 @@ var Dt = function(i) {
1023
1023
  this.unsubscribe();
1024
1024
  }
1025
1025
  }, e;
1026
- }(Le), f1 = function() {
1026
+ }(Ie), f1 = function() {
1027
1027
  function i(e) {
1028
1028
  this.partialObserver = e;
1029
1029
  }
@@ -1033,7 +1033,7 @@ var Dt = function(i) {
1033
1033
  try {
1034
1034
  t.next(e);
1035
1035
  } catch (n) {
1036
- Me(n);
1036
+ De(n);
1037
1037
  }
1038
1038
  }, i.prototype.error = function(e) {
1039
1039
  var t = this.partialObserver;
@@ -1041,21 +1041,21 @@ var Dt = function(i) {
1041
1041
  try {
1042
1042
  t.error(e);
1043
1043
  } catch (n) {
1044
- Me(n);
1044
+ De(n);
1045
1045
  }
1046
1046
  else
1047
- Me(e);
1047
+ De(e);
1048
1048
  }, i.prototype.complete = function() {
1049
1049
  var e = this.partialObserver;
1050
1050
  if (e.complete)
1051
1051
  try {
1052
1052
  e.complete();
1053
1053
  } catch (t) {
1054
- Me(t);
1054
+ De(t);
1055
1055
  }
1056
1056
  }, i;
1057
1057
  }(), ze = function(i) {
1058
- ke(e, i);
1058
+ Se(e, i);
1059
1059
  function e(t, n, r) {
1060
1060
  var o = i.call(this) || this, s;
1061
1061
  return ge(t) || !t ? s = {
@@ -1066,7 +1066,7 @@ var Dt = function(i) {
1066
1066
  }
1067
1067
  return e;
1068
1068
  }(Dt);
1069
- function Me(i) {
1069
+ function De(i) {
1070
1070
  u1(i);
1071
1071
  }
1072
1072
  function p1(i) {
@@ -1099,7 +1099,7 @@ var nt = function() {
1099
1099
  return t.source = this, t.operator = e, t;
1100
1100
  }, i.prototype.subscribe = function(e, t, n) {
1101
1101
  var r = this, o = b1(e) ? e : new ze(e, t, n);
1102
- return De(function() {
1102
+ return Re(function() {
1103
1103
  var s = r, l = s.operator, a = s.source;
1104
1104
  o.add(l ? l.call(o, a) : a ? r._subscribe(o) : r._trySubscribe(o));
1105
1105
  }), o;
@@ -1165,7 +1165,7 @@ var y1 = St(function(i) {
1165
1165
  i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1166
1166
  };
1167
1167
  }), Rt = function(i) {
1168
- ke(e, i);
1168
+ Se(e, i);
1169
1169
  function e() {
1170
1170
  var t = i.call(this) || this;
1171
1171
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
@@ -1178,7 +1178,7 @@ var y1 = St(function(i) {
1178
1178
  throw new y1();
1179
1179
  }, e.prototype.next = function(t) {
1180
1180
  var n = this;
1181
- De(function() {
1181
+ Re(function() {
1182
1182
  var r, o;
1183
1183
  if (n._throwIfClosed(), !n.isStopped) {
1184
1184
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -1201,7 +1201,7 @@ var y1 = St(function(i) {
1201
1201
  });
1202
1202
  }, e.prototype.error = function(t) {
1203
1203
  var n = this;
1204
- De(function() {
1204
+ Re(function() {
1205
1205
  if (n._throwIfClosed(), !n.isStopped) {
1206
1206
  n.hasError = n.isStopped = !0, n.thrownError = t;
1207
1207
  for (var r = n.observers; r.length; )
@@ -1210,7 +1210,7 @@ var y1 = St(function(i) {
1210
1210
  });
1211
1211
  }, e.prototype.complete = function() {
1212
1212
  var t = this;
1213
- De(function() {
1213
+ Re(function() {
1214
1214
  if (t._throwIfClosed(), !t.isStopped) {
1215
1215
  t.isStopped = !0;
1216
1216
  for (var n = t.observers; n.length; )
@@ -1232,7 +1232,7 @@ var y1 = St(function(i) {
1232
1232
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
1233
1233
  }, e.prototype._innerSubscribe = function(t) {
1234
1234
  var n = this, r = this, o = r.hasError, s = r.isStopped, l = r.observers;
1235
- return o || s ? xt : (this.currentObservers = null, l.push(t), new Le(function() {
1235
+ return o || s ? xt : (this.currentObservers = null, l.push(t), new Ie(function() {
1236
1236
  n.currentObservers = null, je(l, t);
1237
1237
  }));
1238
1238
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -1245,7 +1245,7 @@ var y1 = St(function(i) {
1245
1245
  return new rt(t, n);
1246
1246
  }, e;
1247
1247
  }(nt), rt = function(i) {
1248
- ke(e, i);
1248
+ Se(e, i);
1249
1249
  function e(t, n) {
1250
1250
  var r = i.call(this) || this;
1251
1251
  return r.destination = t, r.source = n, r;
@@ -1269,7 +1269,7 @@ var y1 = St(function(i) {
1269
1269
  },
1270
1270
  delegate: void 0
1271
1271
  }, v1 = function(i) {
1272
- ke(e, i);
1272
+ Se(e, i);
1273
1273
  function e(t, n, r) {
1274
1274
  t === void 0 && (t = 1 / 0), n === void 0 && (n = 1 / 0), r === void 0 && (r = Pt);
1275
1275
  var o = i.call(this) || this;
@@ -1299,13 +1299,13 @@ const ot = [], st = {}, w1 = (i, e = 0) => {
1299
1299
  }
1300
1300
  return st[i];
1301
1301
  };
1302
- let Ae = "en-UK", Ye = "true", _e = 2, $e = "";
1302
+ let Ae = "en-UK", Ye = "true", Te = 2, $e = "";
1303
1303
  const _1 = (i, e, t, n) => {
1304
- Ae = i || "en-UK", Ye = e || "true", _e = +n || 2, $e = t || "";
1304
+ Ae = i || "en-UK", Ye = e || "true", Te = +n || 2, $e = t || "";
1305
1305
  }, T1 = (i, e) => {
1306
1306
  if (!$e)
1307
- return new Intl.NumberFormat(Ae, { style: "currency", currency: e, currencyDisplay: Ye === "true" ? "symbol" : "code", maximumFractionDigits: _e, minimumFractionDigits: _e }).format(i);
1308
- const n = new Intl.NumberFormat(Ae, { style: "currency", currency: e, currencyDisplay: Ye === "true" ? "symbol" : "code", maximumFractionDigits: _e, minimumFractionDigits: _e }).formatToParts(i), r = n.find((a) => a.type === "currency"), s = n.filter((a) => a.type !== "currency").map((a) => a.value).join("");
1307
+ return new Intl.NumberFormat(Ae, { style: "currency", currency: e, currencyDisplay: Ye === "true" ? "symbol" : "code", maximumFractionDigits: Te, minimumFractionDigits: Te }).format(i);
1308
+ const n = new Intl.NumberFormat(Ae, { style: "currency", currency: e, currencyDisplay: Ye === "true" ? "symbol" : "code", maximumFractionDigits: Te, minimumFractionDigits: Te }).formatToParts(i), r = n.find((a) => a.type === "currency"), s = n.filter((a) => a.type !== "currency").map((a) => a.value).join("");
1309
1309
  return $e === "before" ? `${r.value} ${s}` : `${s} ${r.value}`;
1310
1310
  };
1311
1311
  window.emWidgets = { topic: w1 };
@@ -1366,7 +1366,7 @@ if (typeof window != "undefined") {
1366
1366
  });
1367
1367
  }
1368
1368
  function k1(i) {
1369
- zt(i, "svelte-1xo6qre", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{height:100%;position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
1369
+ zt(i, "svelte-10kilz0", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
1370
1370
  }
1371
1371
  function ut(i, e, t) {
1372
1372
  const n = i.slice();
@@ -1434,7 +1434,7 @@ function x1(i) {
1434
1434
  m(t, n) {
1435
1435
  D(t, e, n);
1436
1436
  },
1437
- p: Ie,
1437
+ p: be,
1438
1438
  d(t) {
1439
1439
  t && M(e);
1440
1440
  }
@@ -1673,14 +1673,14 @@ function D1(i) {
1673
1673
  ), O, k, g, f, y = (
1674
1674
  /*$_*/
1675
1675
  i[24]("payemntMethod") + ""
1676
- ), C, w, _, H, E, B, K, Q = (
1676
+ ), C, w, _, I, E, B, K, Q = (
1677
1677
  /*$_*/
1678
1678
  i[24]("paymentTime") + ""
1679
- ), ue, re, pe, oe = Pe(
1679
+ ), ue, re, pe, oe = Le(
1680
1680
  /*txnInfo*/
1681
1681
  i[15].time
1682
- ).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, be, he, ye, we;
1683
- function Se(b, I) {
1682
+ ).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, ye, he, ve, _e;
1683
+ function xe(b, H) {
1684
1684
  if (
1685
1685
  /*txnStatus*/
1686
1686
  b[21] === "success"
@@ -1699,17 +1699,17 @@ function D1(i) {
1699
1699
  )
1700
1700
  return R1;
1701
1701
  }
1702
- let Ce = Se(i), ne = Ce && Ce(i), ie = (
1702
+ let Ce = xe(i), ne = Ce && Ce(i), ie = (
1703
1703
  /*displayedButtons*/
1704
1704
  i[12].length > 0 && ht(i)
1705
1705
  );
1706
- function xe(b, I) {
1706
+ function Me(b, H) {
1707
1707
  return (
1708
1708
  /*txnInfo*/
1709
- b[15].type ? I1 : H1
1709
+ b[15].type ? H1 : I1
1710
1710
  );
1711
1711
  }
1712
- let c = xe(i), W = c(i), Z = (
1712
+ let c = Me(i), W = c(i), Z = (
1713
1713
  /*receiptFields*/
1714
1714
  i[16].length && Ct(i)
1715
1715
  );
@@ -1718,66 +1718,66 @@ function D1(i) {
1718
1718
  e = x("div"), ne && ne.c(), t = j(), n = x("div"), r = x("div"), o = x("p"), l = Y(s), a = j(), d = x("span"), p = Y(
1719
1719
  /*amount*/
1720
1720
  i[17]
1721
- ), v = j(), P = x("div"), T = x("p"), m = Y(S), V = j(), N = x("span"), $ = Y(q), X = j(), L = x("div"), U = x("p"), te = Y(se), F = j(), R = x("span"), O = Y(ae), k = j(), g = x("div"), f = x("p"), C = Y(y), w = j(), _ = x("span"), H = Y(
1721
+ ), v = j(), P = x("div"), T = x("p"), m = Y(S), V = j(), N = x("span"), $ = Y(q), X = j(), L = x("div"), U = x("p"), te = Y(se), F = j(), R = x("span"), O = Y(ae), k = j(), g = x("div"), f = x("p"), C = Y(y), w = j(), _ = x("span"), I = Y(
1722
1722
  /*paymentmethod*/
1723
1723
  i[0]
1724
- ), E = j(), B = x("div"), K = x("p"), ue = Y(Q), re = j(), pe = x("span"), J = Y(oe), le = j(), ce = x("div"), ie && ie.c(), de = j(), me = x("button"), W.c(), be = j(), Z && Z.c(), he = Ze(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(P, "class", ee = `Status ${/*txnStatus*/
1724
+ ), E = j(), B = x("div"), K = x("p"), ue = Y(Q), re = j(), pe = x("span"), J = Y(oe), le = j(), ce = x("div"), ie && ie.c(), de = j(), me = x("button"), W.c(), ye = j(), Z && Z.c(), he = Ze(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(P, "class", ee = `Status ${/*txnStatus*/
1725
1725
  i[21]}`), u(R, "class", "TxnIdText"), u(L, "class", "TxnId"), u(g, "class", "PaymentMethod"), u(B, "class", "PaymentTime"), u(n, "class", "ReceiptDetailsWrapper"), u(ce, "class", "ReceiptButtonsWrapper"), u(me, "class", "DefaultButton");
1726
1726
  },
1727
- m(b, I) {
1728
- D(b, e, I), ne && ne.m(e, null), D(b, t, I), D(b, n, I), h(n, r), h(r, o), h(o, l), h(r, a), h(r, d), h(d, p), h(n, v), h(n, P), h(P, T), h(T, m), h(P, V), h(P, N), h(N, $), h(n, X), h(n, L), h(L, U), h(U, te), h(L, F), h(L, R), h(R, O), h(n, k), h(n, g), h(g, f), h(f, C), h(g, w), h(g, _), h(_, H), h(n, E), h(n, B), h(B, K), h(K, ue), h(B, re), h(B, pe), h(pe, J), D(b, le, I), D(b, ce, I), ie && ie.m(ce, null), D(b, de, I), D(b, me, I), W.m(me, null), D(b, be, I), Z && Z.m(b, I), D(b, he, I), ye || (we = [
1729
- Te(
1727
+ m(b, H) {
1728
+ D(b, e, H), ne && ne.m(e, null), D(b, t, H), D(b, n, H), h(n, r), h(r, o), h(o, l), h(r, a), h(r, d), h(d, p), h(n, v), h(n, P), h(P, T), h(T, m), h(P, V), h(P, N), h(N, $), h(n, X), h(n, L), h(L, U), h(U, te), h(L, F), h(L, R), h(R, O), h(n, k), h(n, g), h(g, f), h(f, C), h(g, w), h(g, _), h(_, I), h(n, E), h(n, B), h(B, K), h(K, ue), h(B, re), h(B, pe), h(pe, J), D(b, le, H), D(b, ce, H), ie && ie.m(ce, null), D(b, de, H), D(b, me, H), W.m(me, null), D(b, ye, H), Z && Z.m(b, H), D(b, he, H), ve || (_e = [
1729
+ ke(
1730
1730
  R,
1731
1731
  "click",
1732
1732
  /*click_handler*/
1733
1733
  i[43]
1734
1734
  ),
1735
- Te(
1735
+ ke(
1736
1736
  me,
1737
1737
  "click",
1738
1738
  /*closeReceipt*/
1739
1739
  i[26]
1740
1740
  )
1741
- ], ye = !0);
1741
+ ], ve = !0);
1742
1742
  },
1743
- p(b, I) {
1744
- Ce === (Ce = Se(b)) && ne ? ne.p(b, I) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), I[0] & /*$_*/
1743
+ p(b, H) {
1744
+ Ce === (Ce = xe(b)) && ne ? ne.p(b, H) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), H[0] & /*$_*/
1745
1745
  16777216 && s !== (s = /*$_*/
1746
- b[24]("amount") + "") && A(l, s), I[0] & /*amount*/
1746
+ b[24]("amount") + "") && A(l, s), H[0] & /*amount*/
1747
1747
  131072 && A(
1748
1748
  p,
1749
1749
  /*amount*/
1750
1750
  b[17]
1751
- ), I[0] & /*$_*/
1751
+ ), H[0] & /*$_*/
1752
1752
  16777216 && S !== (S = /*$_*/
1753
- b[24]("status") + "") && A(m, S), I[0] & /*$_, txnStatus*/
1753
+ b[24]("status") + "") && A(m, S), H[0] & /*$_, txnStatus*/
1754
1754
  18874368 && q !== (q = /*$_*/
1755
1755
  b[24](`${/*txnStatus*/
1756
- b[21]}`) + "") && A($, q), I[0] & /*txnStatus*/
1756
+ b[21]}`) + "") && A($, q), H[0] & /*txnStatus*/
1757
1757
  2097152 && ee !== (ee = `Status ${/*txnStatus*/
1758
- b[21]}`) && u(P, "class", ee), I[0] & /*$_*/
1758
+ b[21]}`) && u(P, "class", ee), H[0] & /*$_*/
1759
1759
  16777216 && se !== (se = /*$_*/
1760
- b[24]("transactionId") + "") && A(te, se), I[0] & /*txnInfo*/
1760
+ b[24]("transactionId") + "") && A(te, se), H[0] & /*txnInfo*/
1761
1761
  32768 && ae !== (ae = /*txnInfo*/
1762
- b[15].referenceId + "") && A(O, ae), I[0] & /*$_*/
1762
+ b[15].referenceId + "") && A(O, ae), H[0] & /*$_*/
1763
1763
  16777216 && y !== (y = /*$_*/
1764
- b[24]("payemntMethod") + "") && A(C, y), I[0] & /*paymentmethod*/
1764
+ b[24]("payemntMethod") + "") && A(C, y), H[0] & /*paymentmethod*/
1765
1765
  1 && A(
1766
- H,
1766
+ I,
1767
1767
  /*paymentmethod*/
1768
1768
  b[0]
1769
- ), I[0] & /*$_*/
1769
+ ), H[0] & /*$_*/
1770
1770
  16777216 && Q !== (Q = /*$_*/
1771
- b[24]("paymentTime") + "") && A(ue, Q), I[0] & /*txnInfo*/
1772
- 32768 && oe !== (oe = Pe(
1771
+ b[24]("paymentTime") + "") && A(ue, Q), H[0] & /*txnInfo*/
1772
+ 32768 && oe !== (oe = Le(
1773
1773
  /*txnInfo*/
1774
1774
  b[15].time
1775
1775
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && A(J, oe), /*displayedButtons*/
1776
- b[12].length > 0 ? ie ? ie.p(b, I) : (ie = ht(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), c === (c = xe(b)) && W ? W.p(b, I) : (W.d(1), W = c(b), W && (W.c(), W.m(me, null))), /*receiptFields*/
1777
- b[16].length ? Z ? Z.p(b, I) : (Z = Ct(b), Z.c(), Z.m(he.parentNode, he)) : Z && (Z.d(1), Z = null);
1776
+ b[12].length > 0 ? ie ? ie.p(b, H) : (ie = ht(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), c === (c = Me(b)) && W ? W.p(b, H) : (W.d(1), W = c(b), W && (W.c(), W.m(me, null))), /*receiptFields*/
1777
+ b[16].length ? Z ? Z.p(b, H) : (Z = Ct(b), Z.c(), Z.m(he.parentNode, he)) : Z && (Z.d(1), Z = null);
1778
1778
  },
1779
1779
  d(b) {
1780
- b && (M(e), M(t), M(n), M(le), M(ce), M(de), M(me), M(be), M(he)), ne && ne.d(), ie && ie.d(), W.d(), Z && Z.d(b), ye = !1, Kt(we);
1780
+ b && (M(e), M(t), M(n), M(le), M(ce), M(de), M(me), M(ye), M(he)), ne && ne.d(), ie && ie.d(), W.d(), Z && Z.d(b), ve = !1, Kt(_e);
1781
1781
  }
1782
1782
  };
1783
1783
  }
@@ -1857,7 +1857,7 @@ function P1(i) {
1857
1857
  e = fe("svg"), t = fe("circle"), n = fe("rect"), r = fe("path"), o = fe("path"), s = fe("path"), l = j(), a = x("div"), d = x("h3"), v = Y(p), P = j(), T = x("p"), m = Y(S), V = j(), N = x("button"), $ = Y(q), u(t, "cx", "36"), u(t, "cy", "36"), u(t, "r", "36"), u(t, "fill", "#D19A41"), u(t, "fill-opacity", "0.12"), u(n, "x", "19"), u(n, "y", "19"), u(n, "width", "34"), u(n, "height", "34"), u(n, "rx", "17"), u(n, "fill", "#FF6836"), u(r, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), u(r, "stroke", "black"), u(r, "stroke-width", "1.5"), u(r, "stroke-linecap", "round"), u(r, "stroke-linejoin", "round"), u(o, "d", "M36 32V36L38 38"), u(o, "stroke", "black"), u(o, "stroke-width", "1.5"), u(o, "stroke-linecap", "round"), u(o, "stroke-linejoin", "round"), u(s, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), u(s, "stroke", "black"), u(s, "stroke-width", "1.5"), u(s, "stroke-linecap", "round"), u(s, "stroke-linejoin", "round"), u(e, "width", "72"), u(e, "height", "72"), u(e, "viewBox", "0 0 72 72"), u(e, "fill", "none"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(a, "class", "ReceiptStatusText"), u(N, "class", "RefreshButton");
1858
1858
  },
1859
1859
  m(L, U) {
1860
- D(L, e, U), h(e, t), h(e, n), h(e, r), h(e, o), h(e, s), D(L, l, U), D(L, a, U), h(a, d), h(d, v), h(a, P), h(a, T), h(T, m), D(L, V, U), D(L, N, U), h(N, $), ee || (X = Te(
1860
+ D(L, e, U), h(e, t), h(e, n), h(e, r), h(e, o), h(e, s), D(L, l, U), D(L, a, U), h(a, d), h(d, v), h(a, P), h(a, T), h(T, m), D(L, V, U), D(L, N, U), h(N, $), ee || (X = ke(
1861
1861
  N,
1862
1862
  "click",
1863
1863
  /*getPaymentInfo*/
@@ -1912,7 +1912,7 @@ function L1(i) {
1912
1912
  };
1913
1913
  }
1914
1914
  function ht(i) {
1915
- let e, t = Re(
1915
+ let e, t = Pe(
1916
1916
  /*displayedButtons*/
1917
1917
  i[12]
1918
1918
  ), n = [];
@@ -1932,7 +1932,7 @@ function ht(i) {
1932
1932
  p(r, o) {
1933
1933
  if (o[0] & /*displayedButtons, handleCustomButtonClick, $_*/
1934
1934
  285216768) {
1935
- t = Re(
1935
+ t = Pe(
1936
1936
  /*displayedButtons*/
1937
1937
  r[12]
1938
1938
  );
@@ -1974,7 +1974,7 @@ function gt(i) {
1974
1974
  i[67].type} GoToButton`);
1975
1975
  },
1976
1976
  m(T, S) {
1977
- D(T, e, S), h(e, t), t.innerHTML = n, h(e, r), h(e, s), h(e, l), d || (p = Te(e, "click", v), d = !0);
1977
+ D(T, e, S), h(e, t), t.innerHTML = n, h(e, r), h(e, s), h(e, l), d || (p = ke(e, "click", v), d = !0);
1978
1978
  },
1979
1979
  p(T, S) {
1980
1980
  var m;
@@ -1992,7 +1992,7 @@ function gt(i) {
1992
1992
  }
1993
1993
  };
1994
1994
  }
1995
- function H1(i) {
1995
+ function I1(i) {
1996
1996
  let e = (
1997
1997
  /*$_*/
1998
1998
  i[24]("backHome") + ""
@@ -2014,7 +2014,7 @@ function H1(i) {
2014
2014
  }
2015
2015
  };
2016
2016
  }
2017
- function I1(i) {
2017
+ function H1(i) {
2018
2018
  let e = (
2019
2019
  /*$_*/
2020
2020
  i[24](`back${/*txnInfo*/
@@ -2039,7 +2039,7 @@ function I1(i) {
2039
2039
  };
2040
2040
  }
2041
2041
  function Ct(i) {
2042
- let e, t = Re(
2042
+ let e, t = Pe(
2043
2043
  /*receiptFields*/
2044
2044
  i[16]
2045
2045
  ), n = [];
@@ -2059,7 +2059,7 @@ function Ct(i) {
2059
2059
  p(r, o) {
2060
2060
  if (o[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
2061
2061
  537214976) {
2062
- t = Re(
2062
+ t = Pe(
2063
2063
  /*receiptFields*/
2064
2064
  r[16]
2065
2065
  );
@@ -2101,6 +2101,9 @@ function W1(i) {
2101
2101
  };
2102
2102
  }
2103
2103
  function B1(i) {
2104
+ return { c: be, m: be, p: be, d: be };
2105
+ }
2106
+ function O1(i) {
2104
2107
  let e, t = (
2105
2108
  /*field*/
2106
2109
  i[64].description + ""
@@ -2130,7 +2133,7 @@ function B1(i) {
2130
2133
  }
2131
2134
  };
2132
2135
  }
2133
- function O1(i) {
2136
+ function E1(i) {
2134
2137
  let e, t, n;
2135
2138
  return {
2136
2139
  c() {
@@ -2153,7 +2156,7 @@ function O1(i) {
2153
2156
  }
2154
2157
  };
2155
2158
  }
2156
- function E1(i) {
2159
+ function j1(i) {
2157
2160
  let e, t = (
2158
2161
  /*field*/
2159
2162
  i[64].defaultValue + ""
@@ -2175,7 +2178,7 @@ function E1(i) {
2175
2178
  }
2176
2179
  };
2177
2180
  }
2178
- function j1(i) {
2181
+ function z1(i) {
2179
2182
  let e, t, n = (
2180
2183
  /*field*/
2181
2184
  i[64].defaultValue + ""
@@ -2194,7 +2197,7 @@ function j1(i) {
2194
2197
  e = x("div"), t = x("div"), r = Y(n), u(e, "class", "QRCode");
2195
2198
  },
2196
2199
  m(a, d) {
2197
- D(a, e, d), h(e, t), h(t, r), i[45](t), o || (s = Te(e, "click", l), o = !0);
2200
+ D(a, e, d), h(e, t), h(t, r), i[45](t), o || (s = ke(e, "click", l), o = !0);
2198
2201
  },
2199
2202
  p(a, d) {
2200
2203
  i = a, d[0] & /*receiptFields*/
@@ -2212,16 +2215,20 @@ function bt(i) {
2212
2215
  return (
2213
2216
  /*field*/
2214
2217
  s[64].type === /*FieldTypes*/
2215
- s[14].QRCode ? j1 : (
2218
+ s[14].QRCode ? z1 : (
2216
2219
  /*field*/
2217
2220
  s[64].type === /*FieldTypes*/
2218
- s[14].Html ? E1 : (
2221
+ s[14].Html ? j1 : (
2219
2222
  /*field*/
2220
2223
  s[64].type === /*FieldTypes*/
2221
- s[14].Image ? O1 : (
2224
+ s[14].Image ? E1 : (
2222
2225
  /*field*/
2223
2226
  s[64].type === /*FieldTypes*/
2224
- s[14].Link ? B1 : W1
2227
+ s[14].Link ? O1 : (
2228
+ /*field*/
2229
+ s[64].type === /*FieldTypes*/
2230
+ s[14].Hidden ? B1 : W1
2231
+ )
2225
2232
  )
2226
2233
  )
2227
2234
  )
@@ -2243,7 +2250,7 @@ function bt(i) {
2243
2250
  }
2244
2251
  };
2245
2252
  }
2246
- function z1(i) {
2253
+ function A1(i) {
2247
2254
  let e;
2248
2255
  function t(o, s) {
2249
2256
  return (
@@ -2262,17 +2269,17 @@ function z1(i) {
2262
2269
  p(o, s) {
2263
2270
  n === (n = t(o)) && r ? r.p(o, s) : (r.d(1), r = n(o), r && (r.c(), r.m(e, null)));
2264
2271
  },
2265
- i: Ie,
2266
- o: Ie,
2272
+ i: be,
2273
+ o: be,
2267
2274
  d(o) {
2268
2275
  o && M(e), r.d(), i[47](null);
2269
2276
  }
2270
2277
  };
2271
2278
  }
2272
- let A1 = "_blank";
2273
- function Y1(i, e, t) {
2279
+ let Y1 = "_blank";
2280
+ function $1(i, e, t) {
2274
2281
  let n;
2275
- At(i, Gt, (c) => t(24, n = c)), Pe.extend(a1);
2282
+ At(i, Gt, (c) => t(24, n = c)), Le.extend(a1);
2276
2283
  let { endpoint: r } = e, { session: o } = e, { lang: s = "en" } = e, { local: l = "en-US" } = e, { showerrors: a = "true" } = e, { translationurl: d } = e, { assetsurl: p = "" } = e, { customerid: v } = e, { transactionid: P } = e, { currencydecimals: T = "2" } = e, { type: S } = e, { clientstyling: m = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: N = "" } = e, { showverifications: q = "true" } = e, { paymentmethod: $ = "" } = e, ee = !1, { customsucceessbuttons: X = "" } = e, { custompendingbuttons: L = "" } = e, { customfailedbuttons: U = "" } = e, { currencysymbol: se = "" } = e, { currencyposition: te = "" } = e, { windowsize: F } = e, R = [];
2277
2284
  var ae;
2278
2285
  (function(c) {
@@ -2305,7 +2312,7 @@ function Y1(i, e, t) {
2305
2312
  [["Html", 19], O.Html],
2306
2313
  [["QR", 20], O.QRCode]
2307
2314
  ].reduce(k, []));
2308
- let f, y = [], C, w, _ = [], H, E, B = "", K = window.navigator.userAgent, Q = !1;
2315
+ let f, y = [], C, w, _ = [], I, E, B = "", K = window.navigator.userAgent, Q = !1;
2309
2316
  const ue = {
2310
2317
  promotions: {
2311
2318
  event: "Cashier:goToPromotions",
@@ -2398,41 +2405,41 @@ function Y1(i, e, t) {
2398
2405
  window.postMessage(
2399
2406
  {
2400
2407
  type: "ErrorResponseCode",
2401
- errorResponseCode: H,
2408
+ errorResponseCode: I,
2402
2409
  showErrorOutsideReceiptPage: E
2403
2410
  },
2404
2411
  window.location.href
2405
2412
  );
2406
2413
  }, de = () => {
2407
2414
  const c = new URL(`${r}/v1/player/${v}/payment/GetPaymentInfo`), W = new Headers();
2408
- W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${o}`), W.append("X-Client-Request-Timestamp", Pe.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2415
+ W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${o}`), W.append("X-Client-Request-Timestamp", Le.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2409
2416
  const Z = {
2410
2417
  method: "POST",
2411
2418
  headers: W,
2412
2419
  body: JSON.stringify({ TransactionCode: P })
2413
2420
  };
2414
2421
  t(11, ee = !0), fetch(c, Z).then((b) => b.json()).then((b) => {
2415
- var I, Ve, Ue, Fe;
2422
+ var H, Ve, Ue, Fe;
2416
2423
  if (b.ResponseCode !== ae.Success) {
2417
- t(19, H = b.ResponseCode), t(20, E = a.toLowerCase() === "false" || !a), ce();
2424
+ t(19, I = b.ResponseCode), t(20, E = a.toLowerCase() === "false" || !a), ce();
2418
2425
  return;
2419
2426
  }
2420
2427
  switch (t(15, f = {
2421
2428
  type: b.Transaction.Type,
2422
2429
  referenceId: b.Transaction.Code,
2423
- status: (I = b.Transaction.Status) == null ? void 0 : I.Status,
2430
+ status: (H = b.Transaction.Status) == null ? void 0 : H.Status,
2424
2431
  message: (Ve = b.Transaction.Status) == null ? void 0 : Ve.Message,
2425
2432
  amount: (Ue = b.Transaction.Amounts[0]) == null ? void 0 : Ue.Amount,
2426
2433
  currency: (Fe = b.Transaction.Amounts[0]) == null ? void 0 : Fe.Currency,
2427
2434
  time: b.Transaction.Status.Created
2428
- }), t(16, y = b.ReceiptInfo && b.ReceiptInfo.ReceiptFields ? b.ReceiptInfo.ReceiptFields.map((ve) => ({
2429
- type: g.get(ve.Type),
2430
- name: ve.Name,
2431
- description: ve.Description,
2432
- defaultValue: ve.DefaultValue,
2433
- useCopyButton: ve.UseCopyButton,
2434
- usePrintButton: ve.UsePrintButton
2435
- })) : []), $ || t(0, $ = y[0].defaultValue), n(t1(f.status, f.type), { values: { errorText: f.message } }), t(17, C = T1(Number(f.amount), f.currency)), f.status) {
2435
+ }), t(16, y = b.ReceiptInfo && b.ReceiptInfo.ReceiptFields ? b.ReceiptInfo.ReceiptFields.map((we) => ({
2436
+ type: g.get(we.Type),
2437
+ name: we.Name,
2438
+ description: we.Description,
2439
+ defaultValue: we.DefaultValue,
2440
+ useCopyButton: we.UseCopyButton,
2441
+ usePrintButton: we.UsePrintButton
2442
+ })) : []), b.ReceiptInfo && b.ReceiptInfo.ReceiptFields && !$ && t(0, $ = y[0].defaultValue), n(t1(f.status, f.type), { values: { errorText: f.message } }), t(17, C = T1(Number(f.amount), f.currency)), f.status) {
2436
2443
  case "Voided":
2437
2444
  case "Success":
2438
2445
  re(X || "casino, livecasino, tournaments"), t(21, B = "success"), lt(
@@ -2473,41 +2480,41 @@ function Y1(i, e, t) {
2473
2480
  }).finally(() => t(11, ee = !1));
2474
2481
  }, me = (c) => {
2475
2482
  window.postMessage({ type: c }, window.location.href);
2476
- }, be = (c) => {
2483
+ }, ye = (c) => {
2477
2484
  c && window.postMessage(
2478
2485
  {
2479
2486
  type: "NavigateTo",
2480
2487
  path: c,
2481
- target: A1,
2488
+ target: Y1,
2482
2489
  externalLink: !1
2483
2490
  },
2484
2491
  window.location.href
2485
2492
  );
2486
2493
  };
2487
- let he, ye;
2488
- const we = (c, W = !0) => Ne(this, null, function* () {
2494
+ let he, ve;
2495
+ const _e = (c, W = !0) => Ne(this, null, function* () {
2489
2496
  const b = c.currentTarget.innerHTML;
2490
2497
  if (b && navigator.clipboard && navigator.clipboard.writeText)
2491
2498
  try {
2492
- yield navigator.clipboard.writeText(b), W && (t(23, he = !0), clearTimeout(ye), ye = setTimeout(
2499
+ yield navigator.clipboard.writeText(b), W && (t(23, he = !0), clearTimeout(ve), ve = setTimeout(
2493
2500
  () => {
2494
2501
  t(23, he = !1);
2495
2502
  },
2496
2503
  2e3
2497
2504
  ));
2498
- } catch (I) {
2499
- console.error("Clipboard API failed:", I);
2505
+ } catch (H) {
2506
+ console.error("Clipboard API failed:", H);
2500
2507
  }
2501
- }), Se = (c) => we(c), Ce = (c) => me(c.event);
2508
+ }), xe = (c) => _e(c), Ce = (c) => me(c.event);
2502
2509
  function ne(c) {
2503
2510
  Ke[c ? "unshift" : "push"](() => {
2504
2511
  _[_.length] = c, t(18, _);
2505
2512
  });
2506
2513
  }
2507
2514
  const ie = (c) => {
2508
- be(c.description);
2515
+ ye(c.description);
2509
2516
  };
2510
- function xe(c) {
2517
+ function Me(c) {
2511
2518
  Ke[c ? "unshift" : "push"](() => {
2512
2519
  w = c, t(10, w);
2513
2520
  });
@@ -2544,7 +2551,7 @@ function Y1(i, e, t) {
2544
2551
  y,
2545
2552
  C,
2546
2553
  _,
2547
- H,
2554
+ I,
2548
2555
  E,
2549
2556
  B,
2550
2557
  Q,
@@ -2554,8 +2561,8 @@ function Y1(i, e, t) {
2554
2561
  le,
2555
2562
  de,
2556
2563
  me,
2557
- be,
2558
- we,
2564
+ ye,
2565
+ _e,
2559
2566
  l,
2560
2567
  a,
2561
2568
  P,
@@ -2568,20 +2575,20 @@ function Y1(i, e, t) {
2568
2575
  se,
2569
2576
  te,
2570
2577
  F,
2571
- Se,
2578
+ xe,
2572
2579
  Ce,
2573
2580
  ne,
2574
2581
  ie,
2575
- xe
2582
+ Me
2576
2583
  ];
2577
2584
  }
2578
- class $1 extends Bt {
2585
+ class Z1 extends Bt {
2579
2586
  constructor(e) {
2580
2587
  super(), Ot(
2581
2588
  this,
2582
2589
  e,
2583
- Y1,
2584
- z1,
2590
+ $1,
2591
+ A1,
2585
2592
  Et,
2586
2593
  {
2587
2594
  endpoint: 1,
@@ -2744,7 +2751,7 @@ class $1 extends Bt {
2744
2751
  this.$$set({ windowsize: e }), G();
2745
2752
  }
2746
2753
  }
2747
- jt($1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, windowsize: {} }, [], [], !0);
2754
+ jt(Z1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, windowsize: {} }, [], [], !0);
2748
2755
  export {
2749
- $1 as default
2756
+ Z1 as default
2750
2757
  };