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

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,4 +1,4 @@
1
- import { i as xt, a as Mt, b as Dt, $ as Rt, c as mt, g as ht, d as Pt, S as Lt, e as Ht, s as It, f as G, h as Wt, n as He, j as x, k as M, l as S, m as u, o as Bt, p as Ot, q as Ze, t as Ve, r as Et, u as jt, v as d, w as j, x as zt, y as At, z as Yt, A, B as Y, C as z, D as $t, E as _e, F as $e, G as De, H as gt, I as fe, J as Ue, K as Zt, L as Vt, M as Ut, N as Ft, O as Nt } from "./CashierError-DI8hSfAP.js";
1
+ import { i as xt, a as Mt, b as Dt, $ as Rt, c as mt, g as ht, d as Pt, S as Lt, e as Ht, s as It, f as G, h as Wt, n as be, j as x, k as M, l as S, m as u, o as Bt, p as Ot, q as Ze, t as Ve, r as Et, u as jt, v as d, w as j, x as zt, y as At, z as Yt, A, B as Y, C as z, D as $t, E as Te, F as $e, G as Re, H as gt, I as fe, J as Ue, K as Zt, L as Vt, M as Ut, N as Ft, O as Nt } from "./CashierError-DI8hSfAP.js";
2
2
  function Fe(i, { delay: e = 0, duration: t = 400, easing: n = xt } = {}) {
3
3
  const r = +getComputedStyle(i).opacity;
4
4
  return {
@@ -679,7 +679,7 @@ var bt = { exports: {} };
679
679
  });
680
680
  })(bt);
681
681
  var e1 = bt.exports;
682
- const Re = /* @__PURE__ */ ht(e1);
682
+ const Pe = /* @__PURE__ */ ht(e1);
683
683
  var yt = { exports: {} };
684
684
  (function(i, e) {
685
685
  (function(t, n) {
@@ -785,7 +785,7 @@ var Ie = function(i, e) {
785
785
  Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
786
786
  }, Ie(i, e);
787
787
  };
788
- function Te(i, e) {
788
+ function ke(i, e) {
789
789
  if (typeof e != "function" && e !== null)
790
790
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
791
791
  Ie(i, e);
@@ -841,7 +841,7 @@ function vt(i) {
841
841
  }, t = i(e);
842
842
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
843
843
  }
844
- var Le = vt(function(i) {
844
+ var He = vt(function(i) {
845
845
  return function(t) {
846
846
  i(this), this.message = t ? t.length + ` errors occurred during unsubscription:
847
847
  ` + t.map(function(n, r) {
@@ -856,7 +856,7 @@ function Ee(i, e) {
856
856
  0 <= t && i.splice(t, 1);
857
857
  }
858
858
  }
859
- var Pe = function() {
859
+ var Le = function() {
860
860
  function i(e) {
861
861
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
862
862
  }
@@ -889,7 +889,7 @@ var Pe = function() {
889
889
  try {
890
890
  p();
891
891
  } catch (m) {
892
- o = m instanceof Le ? m.errors : [m];
892
+ o = m instanceof He ? m.errors : [m];
893
893
  }
894
894
  var v = this._finalizers;
895
895
  if (v) {
@@ -900,7 +900,7 @@ var Pe = function() {
900
900
  try {
901
901
  Ge(D);
902
902
  } catch (m) {
903
- o = o ?? [], m instanceof Le ? o = Oe(Oe([], Be(o)), Be(m.errors)) : o.push(m);
903
+ o = o ?? [], m instanceof He ? o = Oe(Oe([], Be(o)), Be(m.errors)) : o.push(m);
904
904
  }
905
905
  }
906
906
  } catch (m) {
@@ -915,7 +915,7 @@ var Pe = function() {
915
915
  }
916
916
  }
917
917
  if (o)
918
- throw new Le(o);
918
+ throw new He(o);
919
919
  }
920
920
  }, i.prototype.add = function(e) {
921
921
  var t;
@@ -946,9 +946,9 @@ var Pe = function() {
946
946
  var e = new i();
947
947
  return e.closed = !0, e;
948
948
  }(), i;
949
- }(), wt = Pe.EMPTY;
949
+ }(), wt = Le.EMPTY;
950
950
  function _t(i) {
951
- return i instanceof Pe || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
951
+ return i instanceof Le || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
952
952
  }
953
953
  function Ge(i) {
954
954
  ge(i) ? i() : i.unsubscribe();
@@ -973,11 +973,11 @@ function o1(i) {
973
973
  }
974
974
  function qe() {
975
975
  }
976
- function Me(i) {
976
+ function De(i) {
977
977
  i();
978
978
  }
979
979
  var Tt = function(i) {
980
- Te(e, i);
980
+ ke(e, i);
981
981
  function e(t) {
982
982
  var n = i.call(this) || this;
983
983
  return n.isStopped = !1, t ? (n.destination = t, _t(t) && t.add(n)) : n.destination = l1, n;
@@ -1007,7 +1007,7 @@ var Tt = function(i) {
1007
1007
  this.unsubscribe();
1008
1008
  }
1009
1009
  }, e;
1010
- }(Pe), s1 = function() {
1010
+ }(Le), s1 = function() {
1011
1011
  function i(e) {
1012
1012
  this.partialObserver = e;
1013
1013
  }
@@ -1017,7 +1017,7 @@ var Tt = function(i) {
1017
1017
  try {
1018
1018
  t.next(e);
1019
1019
  } catch (n) {
1020
- xe(n);
1020
+ Me(n);
1021
1021
  }
1022
1022
  }, i.prototype.error = function(e) {
1023
1023
  var t = this.partialObserver;
@@ -1025,21 +1025,21 @@ var Tt = function(i) {
1025
1025
  try {
1026
1026
  t.error(e);
1027
1027
  } catch (n) {
1028
- xe(n);
1028
+ Me(n);
1029
1029
  }
1030
1030
  else
1031
- xe(e);
1031
+ Me(e);
1032
1032
  }, i.prototype.complete = function() {
1033
1033
  var e = this.partialObserver;
1034
1034
  if (e.complete)
1035
1035
  try {
1036
1036
  e.complete();
1037
1037
  } catch (t) {
1038
- xe(t);
1038
+ Me(t);
1039
1039
  }
1040
1040
  }, i;
1041
1041
  }(), je = function(i) {
1042
- Te(e, i);
1042
+ ke(e, i);
1043
1043
  function e(t, n, r) {
1044
1044
  var o = i.call(this) || this, s;
1045
1045
  return ge(t) || !t ? s = {
@@ -1050,7 +1050,7 @@ var Tt = function(i) {
1050
1050
  }
1051
1051
  return e;
1052
1052
  }(Tt);
1053
- function xe(i) {
1053
+ function Me(i) {
1054
1054
  o1(i);
1055
1055
  }
1056
1056
  function a1(i) {
@@ -1083,7 +1083,7 @@ var Qe = function() {
1083
1083
  return t.source = this, t.operator = e, t;
1084
1084
  }, i.prototype.subscribe = function(e, t, n) {
1085
1085
  var r = this, o = d1(e) ? e : new je(e, t, n);
1086
- return Me(function() {
1086
+ return De(function() {
1087
1087
  var s = r, c = s.operator, a = s.source;
1088
1088
  o.add(c ? c.call(o, a) : a ? r._subscribe(o) : r._trySubscribe(o));
1089
1089
  }), o;
@@ -1149,7 +1149,7 @@ var m1 = vt(function(i) {
1149
1149
  i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1150
1150
  };
1151
1151
  }), kt = function(i) {
1152
- Te(e, i);
1152
+ ke(e, i);
1153
1153
  function e() {
1154
1154
  var t = i.call(this) || this;
1155
1155
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
@@ -1162,7 +1162,7 @@ var m1 = vt(function(i) {
1162
1162
  throw new m1();
1163
1163
  }, e.prototype.next = function(t) {
1164
1164
  var n = this;
1165
- Me(function() {
1165
+ De(function() {
1166
1166
  var r, o;
1167
1167
  if (n._throwIfClosed(), !n.isStopped) {
1168
1168
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -1185,7 +1185,7 @@ var m1 = vt(function(i) {
1185
1185
  });
1186
1186
  }, e.prototype.error = function(t) {
1187
1187
  var n = this;
1188
- Me(function() {
1188
+ De(function() {
1189
1189
  if (n._throwIfClosed(), !n.isStopped) {
1190
1190
  n.hasError = n.isStopped = !0, n.thrownError = t;
1191
1191
  for (var r = n.observers; r.length; )
@@ -1194,7 +1194,7 @@ var m1 = vt(function(i) {
1194
1194
  });
1195
1195
  }, e.prototype.complete = function() {
1196
1196
  var t = this;
1197
- Me(function() {
1197
+ De(function() {
1198
1198
  if (t._throwIfClosed(), !t.isStopped) {
1199
1199
  t.isStopped = !0;
1200
1200
  for (var n = t.observers; n.length; )
@@ -1216,7 +1216,7 @@ var m1 = vt(function(i) {
1216
1216
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
1217
1217
  }, e.prototype._innerSubscribe = function(t) {
1218
1218
  var n = this, r = this, o = r.hasError, s = r.isStopped, c = r.observers;
1219
- return o || s ? wt : (this.currentObservers = null, c.push(t), new Pe(function() {
1219
+ return o || s ? wt : (this.currentObservers = null, c.push(t), new Le(function() {
1220
1220
  n.currentObservers = null, Ee(c, t);
1221
1221
  }));
1222
1222
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -1229,7 +1229,7 @@ var m1 = vt(function(i) {
1229
1229
  return new Xe(t, n);
1230
1230
  }, e;
1231
1231
  }(Qe), Xe = function(i) {
1232
- Te(e, i);
1232
+ ke(e, i);
1233
1233
  function e(t, n) {
1234
1234
  var r = i.call(this) || this;
1235
1235
  return r.destination = t, r.source = n, r;
@@ -1253,7 +1253,7 @@ var m1 = vt(function(i) {
1253
1253
  },
1254
1254
  delegate: void 0
1255
1255
  }, h1 = function(i) {
1256
- Te(e, i);
1256
+ ke(e, i);
1257
1257
  function e(t, n, r) {
1258
1258
  t === void 0 && (t = 1 / 0), n === void 0 && (n = 1 / 0), r === void 0 && (r = St);
1259
1259
  var o = i.call(this) || this;
@@ -1283,13 +1283,13 @@ const et = [], tt = {}, g1 = (i, e = 0) => {
1283
1283
  }
1284
1284
  return tt[i];
1285
1285
  };
1286
- let ze = "en-UK", Ae = "true", we = 2, Ye = "";
1286
+ let ze = "en-UK", Ae = "true", _e = 2, Ye = "";
1287
1287
  const C1 = (i, e, t, n) => {
1288
- ze = i || "en-UK", Ae = e || "true", we = +n || 2, Ye = t || "";
1288
+ ze = i || "en-UK", Ae = e || "true", _e = +n || 2, Ye = t || "";
1289
1289
  }, b1 = (i, e) => {
1290
1290
  if (!Ye)
1291
- return new Intl.NumberFormat(ze, { style: "currency", currency: e, currencyDisplay: Ae === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).format(i);
1292
- const n = new Intl.NumberFormat(ze, { style: "currency", currency: e, currencyDisplay: Ae === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).formatToParts(i), r = n.find((a) => a.type === "currency"), s = n.filter((a) => a.type !== "currency").map((a) => a.value).join("");
1291
+ return new Intl.NumberFormat(ze, { style: "currency", currency: e, currencyDisplay: Ae === "true" ? "symbol" : "code", maximumFractionDigits: _e, minimumFractionDigits: _e }).format(i);
1292
+ const n = new Intl.NumberFormat(ze, { style: "currency", currency: e, currencyDisplay: Ae === "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("");
1293
1293
  return Ye === "before" ? `${r.value} ${s}` : `${s} ${r.value}`;
1294
1294
  };
1295
1295
  window.emWidgets = { topic: g1 };
@@ -1418,7 +1418,7 @@ function w1(i) {
1418
1418
  m(t, n) {
1419
1419
  M(t, e, n);
1420
1420
  },
1421
- p: He,
1421
+ p: be,
1422
1422
  d(t) {
1423
1423
  t && x(e);
1424
1424
  }
@@ -1660,11 +1660,11 @@ function T1(i) {
1660
1660
  ), C, w, _, I, O, W, K, Q = (
1661
1661
  /*$_*/
1662
1662
  i[24]("paymentTime") + ""
1663
- ), ue, re, pe, oe = Re(
1663
+ ), ue, re, pe, oe = Pe(
1664
1664
  /*txnInfo*/
1665
1665
  i[15].time
1666
- ).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, be, he, ye, ve;
1667
- function ke(b, L) {
1666
+ ).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, ye, he, ve, we;
1667
+ function Se(b, L) {
1668
1668
  if (
1669
1669
  /*txnStatus*/
1670
1670
  b[21] === "success"
@@ -1683,17 +1683,17 @@ function T1(i) {
1683
1683
  )
1684
1684
  return k1;
1685
1685
  }
1686
- let Ce = ke(i), ne = Ce && Ce(i), ie = (
1686
+ let Ce = Se(i), ne = Ce && Ce(i), ie = (
1687
1687
  /*displayedButtons*/
1688
1688
  i[12].length > 0 && ut(i)
1689
1689
  );
1690
- function Se(b, L) {
1690
+ function xe(b, L) {
1691
1691
  return (
1692
1692
  /*txnInfo*/
1693
1693
  b[15].type ? D1 : M1
1694
1694
  );
1695
1695
  }
1696
- let l = Se(i), E = l(i), Z = (
1696
+ let l = xe(i), E = l(i), Z = (
1697
1697
  /*receiptFields*/
1698
1698
  i[16].length && pt(i)
1699
1699
  );
@@ -1705,27 +1705,27 @@ function T1(i) {
1705
1705
  ), v = j(), R = S("div"), T = S("p"), m = Y(D), V = j(), N = S("span"), $ = Y(q), X = j(), H = S("div"), U = S("p"), te = Y(se), F = j(), P = S("span"), B = Y(ae), k = j(), g = S("div"), f = S("p"), C = Y(y), w = j(), _ = S("span"), I = Y(
1706
1706
  /*paymentmethod*/
1707
1707
  i[0]
1708
- ), O = j(), W = S("div"), K = S("p"), ue = Y(Q), re = j(), pe = S("span"), J = Y(oe), le = j(), ce = S("div"), ie && ie.c(), de = j(), me = S("button"), E.c(), be = j(), Z && Z.c(), he = $e(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(R, "class", ee = `Status ${/*txnStatus*/
1708
+ ), O = j(), W = S("div"), K = S("p"), ue = Y(Q), re = j(), pe = S("span"), J = Y(oe), le = j(), ce = S("div"), ie && ie.c(), de = j(), me = S("button"), E.c(), ye = j(), Z && Z.c(), he = $e(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(R, "class", ee = `Status ${/*txnStatus*/
1709
1709
  i[21]}`), u(P, "class", "TxnIdText"), u(H, "class", "TxnId"), u(g, "class", "PaymentMethod"), u(W, "class", "PaymentTime"), u(n, "class", "ReceiptDetailsWrapper"), u(ce, "class", "ReceiptButtonsWrapper"), u(me, "class", "DefaultButton");
1710
1710
  },
1711
1711
  m(b, L) {
1712
- M(b, e, L), ne && ne.m(e, null), M(b, t, L), M(b, n, L), d(n, r), d(r, o), d(o, c), d(r, a), d(r, h), d(h, p), d(n, v), d(n, R), d(R, T), d(T, m), d(R, V), d(R, N), d(N, $), d(n, X), d(n, H), d(H, U), d(U, te), d(H, F), d(H, P), d(P, B), d(n, k), d(n, g), d(g, f), d(f, C), d(g, w), d(g, _), d(_, I), d(n, O), d(n, W), d(W, K), d(K, ue), d(W, re), d(W, pe), d(pe, J), M(b, le, L), M(b, ce, L), ie && ie.m(ce, null), M(b, de, L), M(b, me, L), E.m(me, null), M(b, be, L), Z && Z.m(b, L), M(b, he, L), ye || (ve = [
1713
- _e(
1712
+ M(b, e, L), ne && ne.m(e, null), M(b, t, L), M(b, n, L), d(n, r), d(r, o), d(o, c), d(r, a), d(r, h), d(h, p), d(n, v), d(n, R), d(R, T), d(T, m), d(R, V), d(R, N), d(N, $), d(n, X), d(n, H), d(H, U), d(U, te), d(H, F), d(H, P), d(P, B), d(n, k), d(n, g), d(g, f), d(f, C), d(g, w), d(g, _), d(_, I), d(n, O), d(n, W), d(W, K), d(K, ue), d(W, re), d(W, pe), d(pe, J), M(b, le, L), M(b, ce, L), ie && ie.m(ce, null), M(b, de, L), M(b, me, L), E.m(me, null), M(b, ye, L), Z && Z.m(b, L), M(b, he, L), ve || (we = [
1713
+ Te(
1714
1714
  P,
1715
1715
  "click",
1716
1716
  /*click_handler*/
1717
1717
  i[43]
1718
1718
  ),
1719
- _e(
1719
+ Te(
1720
1720
  me,
1721
1721
  "click",
1722
1722
  /*closeReceipt*/
1723
1723
  i[26]
1724
1724
  )
1725
- ], ye = !0);
1725
+ ], ve = !0);
1726
1726
  },
1727
1727
  p(b, L) {
1728
- Ce === (Ce = ke(b)) && ne ? ne.p(b, L) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), L[0] & /*$_*/
1728
+ Ce === (Ce = Se(b)) && ne ? ne.p(b, L) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), L[0] & /*$_*/
1729
1729
  16777216 && s !== (s = /*$_*/
1730
1730
  b[24]("amount") + "") && A(c, s), L[0] & /*amount*/
1731
1731
  131072 && A(
@@ -1753,15 +1753,15 @@ function T1(i) {
1753
1753
  ), L[0] & /*$_*/
1754
1754
  16777216 && Q !== (Q = /*$_*/
1755
1755
  b[24]("paymentTime") + "") && A(ue, Q), L[0] & /*txnInfo*/
1756
- 32768 && oe !== (oe = Re(
1756
+ 32768 && oe !== (oe = Pe(
1757
1757
  /*txnInfo*/
1758
1758
  b[15].time
1759
1759
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && A(J, oe), /*displayedButtons*/
1760
- b[12].length > 0 ? ie ? ie.p(b, L) : (ie = ut(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), l === (l = Se(b)) && E ? E.p(b, L) : (E.d(1), E = l(b), E && (E.c(), E.m(me, null))), /*receiptFields*/
1760
+ b[12].length > 0 ? ie ? ie.p(b, L) : (ie = ut(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), l === (l = xe(b)) && E ? E.p(b, L) : (E.d(1), E = l(b), E && (E.c(), E.m(me, null))), /*receiptFields*/
1761
1761
  b[16].length ? Z ? Z.p(b, L) : (Z = pt(b), Z.c(), Z.m(he.parentNode, he)) : Z && (Z.d(1), Z = null);
1762
1762
  },
1763
1763
  d(b) {
1764
- b && (x(e), x(t), x(n), x(le), x(ce), x(de), x(me), x(be), x(he)), ne && ne.d(), ie && ie.d(), E.d(), Z && Z.d(b), ye = !1, $t(ve);
1764
+ b && (x(e), x(t), x(n), x(le), x(ce), x(de), x(me), x(ye), x(he)), ne && ne.d(), ie && ie.d(), E.d(), Z && Z.d(b), ve = !1, $t(we);
1765
1765
  }
1766
1766
  };
1767
1767
  }
@@ -1841,7 +1841,7 @@ function S1(i) {
1841
1841
  e = fe("svg"), t = fe("circle"), n = fe("rect"), r = fe("path"), o = fe("path"), s = fe("path"), c = j(), a = S("div"), h = S("h3"), v = Y(p), R = j(), T = S("p"), m = Y(D), V = j(), N = S("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");
1842
1842
  },
1843
1843
  m(H, U) {
1844
- M(H, e, U), d(e, t), d(e, n), d(e, r), d(e, o), d(e, s), M(H, c, U), M(H, a, U), d(a, h), d(h, v), d(a, R), d(a, T), d(T, m), M(H, V, U), M(H, N, U), d(N, $), ee || (X = _e(
1844
+ M(H, e, U), d(e, t), d(e, n), d(e, r), d(e, o), d(e, s), M(H, c, U), M(H, a, U), d(a, h), d(h, v), d(a, R), d(a, T), d(T, m), M(H, V, U), M(H, N, U), d(N, $), ee || (X = Te(
1845
1845
  N,
1846
1846
  "click",
1847
1847
  /*getPaymentInfo*/
@@ -1896,7 +1896,7 @@ function x1(i) {
1896
1896
  };
1897
1897
  }
1898
1898
  function ut(i) {
1899
- let e, t = De(
1899
+ let e, t = Re(
1900
1900
  /*displayedButtons*/
1901
1901
  i[12]
1902
1902
  ), n = [];
@@ -1916,7 +1916,7 @@ function ut(i) {
1916
1916
  p(r, o) {
1917
1917
  if (o[0] & /*displayedButtons, handleCustomButtonClick, $_*/
1918
1918
  285216768) {
1919
- t = De(
1919
+ t = Re(
1920
1920
  /*displayedButtons*/
1921
1921
  r[12]
1922
1922
  );
@@ -1957,7 +1957,7 @@ function ft(i) {
1957
1957
  i[67].type} GoToButton`);
1958
1958
  },
1959
1959
  m(R, T) {
1960
- M(R, e, T), d(e, t), t.innerHTML = n, d(e, r), d(e, s), d(e, c), h || (p = _e(e, "click", v), h = !0);
1960
+ M(R, e, T), d(e, t), t.innerHTML = n, d(e, r), d(e, s), d(e, c), h || (p = Te(e, "click", v), h = !0);
1961
1961
  },
1962
1962
  p(R, T) {
1963
1963
  i = R, T[0] & /*displayedButtons*/
@@ -2021,7 +2021,7 @@ function D1(i) {
2021
2021
  };
2022
2022
  }
2023
2023
  function pt(i) {
2024
- let e, t = De(
2024
+ let e, t = Re(
2025
2025
  /*receiptFields*/
2026
2026
  i[16]
2027
2027
  ), n = [];
@@ -2041,7 +2041,7 @@ function pt(i) {
2041
2041
  p(r, o) {
2042
2042
  if (o[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
2043
2043
  537214976) {
2044
- t = De(
2044
+ t = Re(
2045
2045
  /*receiptFields*/
2046
2046
  r[16]
2047
2047
  );
@@ -2083,6 +2083,9 @@ function R1(i) {
2083
2083
  };
2084
2084
  }
2085
2085
  function P1(i) {
2086
+ return { c: be, m: be, p: be, d: be };
2087
+ }
2088
+ function L1(i) {
2086
2089
  let e, t = (
2087
2090
  /*field*/
2088
2091
  i[64].description + ""
@@ -2112,7 +2115,7 @@ function P1(i) {
2112
2115
  }
2113
2116
  };
2114
2117
  }
2115
- function L1(i) {
2118
+ function H1(i) {
2116
2119
  let e, t, n;
2117
2120
  return {
2118
2121
  c() {
@@ -2135,7 +2138,7 @@ function L1(i) {
2135
2138
  }
2136
2139
  };
2137
2140
  }
2138
- function H1(i) {
2141
+ function I1(i) {
2139
2142
  let e, t = (
2140
2143
  /*field*/
2141
2144
  i[64].defaultValue + ""
@@ -2157,7 +2160,7 @@ function H1(i) {
2157
2160
  }
2158
2161
  };
2159
2162
  }
2160
- function I1(i) {
2163
+ function W1(i) {
2161
2164
  let e, t, n = (
2162
2165
  /*field*/
2163
2166
  i[64].defaultValue + ""
@@ -2176,7 +2179,7 @@ function I1(i) {
2176
2179
  e = S("div"), t = S("div"), r = Y(n), u(e, "class", "QRCode");
2177
2180
  },
2178
2181
  m(a, h) {
2179
- M(a, e, h), d(e, t), d(t, r), i[45](t), o || (s = _e(e, "click", c), o = !0);
2182
+ M(a, e, h), d(e, t), d(t, r), i[45](t), o || (s = Te(e, "click", c), o = !0);
2180
2183
  },
2181
2184
  p(a, h) {
2182
2185
  i = a, h[0] & /*receiptFields*/
@@ -2194,16 +2197,20 @@ function dt(i) {
2194
2197
  return (
2195
2198
  /*field*/
2196
2199
  s[64].type === /*FieldTypes*/
2197
- s[14].QRCode ? I1 : (
2200
+ s[14].QRCode ? W1 : (
2198
2201
  /*field*/
2199
2202
  s[64].type === /*FieldTypes*/
2200
- s[14].Html ? H1 : (
2203
+ s[14].Html ? I1 : (
2201
2204
  /*field*/
2202
2205
  s[64].type === /*FieldTypes*/
2203
- s[14].Image ? L1 : (
2206
+ s[14].Image ? H1 : (
2204
2207
  /*field*/
2205
2208
  s[64].type === /*FieldTypes*/
2206
- s[14].Link ? P1 : R1
2209
+ s[14].Link ? L1 : (
2210
+ /*field*/
2211
+ s[64].type === /*FieldTypes*/
2212
+ s[14].Hidden ? P1 : R1
2213
+ )
2207
2214
  )
2208
2215
  )
2209
2216
  )
@@ -2225,7 +2232,7 @@ function dt(i) {
2225
2232
  }
2226
2233
  };
2227
2234
  }
2228
- function W1(i) {
2235
+ function B1(i) {
2229
2236
  let e;
2230
2237
  function t(o, s) {
2231
2238
  return (
@@ -2244,17 +2251,17 @@ function W1(i) {
2244
2251
  p(o, s) {
2245
2252
  n === (n = t(o)) && r ? r.p(o, s) : (r.d(1), r = n(o), r && (r.c(), r.m(e, null)));
2246
2253
  },
2247
- i: He,
2248
- o: He,
2254
+ i: be,
2255
+ o: be,
2249
2256
  d(o) {
2250
2257
  o && x(e), r.d(), i[47](null);
2251
2258
  }
2252
2259
  };
2253
2260
  }
2254
- let B1 = "_blank";
2255
- function O1(i, e, t) {
2261
+ let O1 = "_blank";
2262
+ function E1(i, e, t) {
2256
2263
  let n;
2257
- Bt(i, Vt, (l) => t(24, n = l)), Re.extend(n1);
2264
+ Bt(i, Vt, (l) => t(24, n = l)), Pe.extend(n1);
2258
2265
  let { endpoint: r } = e, { session: o } = e, { lang: s = "en" } = e, { local: c = "en-US" } = e, { showerrors: a = "true" } = e, { translationurl: h } = e, { assetsurl: p = "" } = e, { customerid: v } = e, { transactionid: R } = e, { currencydecimals: T = "2" } = e, { type: D } = e, { clientstyling: m = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: N = "" } = e, { showverifications: q = "true" } = e, { paymentmethod: $ = "" } = e, ee = !1, { customsucceessbuttons: X = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: U = "" } = e, { currencysymbol: se = "" } = e, { currencyposition: te = "" } = e, { windowsize: F } = e, P = [];
2259
2266
  var ae;
2260
2267
  (function(l) {
@@ -2386,7 +2393,7 @@ function O1(i, e, t) {
2386
2393
  );
2387
2394
  }, de = () => {
2388
2395
  const l = new URL(`${r}/v1/player/${v}/payment/GetPaymentInfo`), E = new Headers();
2389
- E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-SessionId", `${o}`), E.append("X-Client-Request-Timestamp", Re.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2396
+ E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-SessionId", `${o}`), E.append("X-Client-Request-Timestamp", Pe.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2390
2397
  const Z = {
2391
2398
  method: "POST",
2392
2399
  headers: E,
@@ -2453,23 +2460,23 @@ function O1(i, e, t) {
2453
2460
  }).finally(() => t(11, ee = !1));
2454
2461
  }, me = (l) => {
2455
2462
  window.postMessage({ type: l }, window.location.href);
2456
- }, be = (l) => {
2463
+ }, ye = (l) => {
2457
2464
  l && window.postMessage(
2458
2465
  {
2459
2466
  type: "NavigateTo",
2460
2467
  path: l,
2461
- target: B1,
2468
+ target: O1,
2462
2469
  externalLink: !1
2463
2470
  },
2464
2471
  window.location.href
2465
2472
  );
2466
2473
  };
2467
- let he, ye;
2468
- const ve = async (l, E = !0) => {
2474
+ let he, ve;
2475
+ const we = async (l, E = !0) => {
2469
2476
  const b = l.currentTarget.innerHTML;
2470
2477
  if (b && navigator.clipboard && navigator.clipboard.writeText)
2471
2478
  try {
2472
- await navigator.clipboard.writeText(b), E && (t(23, he = !0), clearTimeout(ye), ye = setTimeout(
2479
+ await navigator.clipboard.writeText(b), E && (t(23, he = !0), clearTimeout(ve), ve = setTimeout(
2473
2480
  () => {
2474
2481
  t(23, he = !1);
2475
2482
  },
@@ -2478,16 +2485,16 @@ function O1(i, e, t) {
2478
2485
  } catch (L) {
2479
2486
  console.error("Clipboard API failed:", L);
2480
2487
  }
2481
- }, ke = (l) => ve(l), Ce = (l) => me(l.event);
2488
+ }, Se = (l) => we(l), Ce = (l) => me(l.event);
2482
2489
  function ne(l) {
2483
2490
  Ze[l ? "unshift" : "push"](() => {
2484
2491
  _[_.length] = l, t(18, _);
2485
2492
  });
2486
2493
  }
2487
2494
  const ie = (l) => {
2488
- be(l.description);
2495
+ ye(l.description);
2489
2496
  };
2490
- function Se(l) {
2497
+ function xe(l) {
2491
2498
  Ze[l ? "unshift" : "push"](() => {
2492
2499
  w = l, t(10, w);
2493
2500
  });
@@ -2534,8 +2541,8 @@ function O1(i, e, t) {
2534
2541
  le,
2535
2542
  de,
2536
2543
  me,
2537
- be,
2538
- ve,
2544
+ ye,
2545
+ we,
2539
2546
  c,
2540
2547
  a,
2541
2548
  R,
@@ -2548,20 +2555,20 @@ function O1(i, e, t) {
2548
2555
  se,
2549
2556
  te,
2550
2557
  F,
2551
- ke,
2558
+ Se,
2552
2559
  Ce,
2553
2560
  ne,
2554
2561
  ie,
2555
- Se
2562
+ xe
2556
2563
  ];
2557
2564
  }
2558
- class E1 extends Lt {
2565
+ class j1 extends Lt {
2559
2566
  constructor(e) {
2560
2567
  super(), Ht(
2561
2568
  this,
2562
2569
  e,
2563
- O1,
2564
- W1,
2570
+ E1,
2571
+ B1,
2565
2572
  It,
2566
2573
  {
2567
2574
  endpoint: 1,
@@ -2724,7 +2731,7 @@ class E1 extends Lt {
2724
2731
  this.$$set({ windowsize: e }), G();
2725
2732
  }
2726
2733
  }
2727
- Pt(E1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, windowsize: {} }, [], [], !0);
2734
+ Pt(j1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, windowsize: {} }, [], [], !0);
2728
2735
  export {
2729
- E1 as C
2736
+ j1 as C
2730
2737
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-C02Ayj7O.cjs")).then(({default:t})=>{!customElements.get("cashier-receipt-page-nd")&&customElements.define("cashier-receipt-page-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-C08uwbjk.cjs")).then(({default:t})=>{!customElements.get("cashier-receipt-page-nd")&&customElements.define("cashier-receipt-page-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierReceiptPage-DJQEtHAZ.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierReceiptPage-BM5w-Kgo.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-receipt-page-nd") && customElements.define("cashier-receipt-page-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierReceiptPage-D4xfmBT2.js";
1
+ import { C as n } from "../components/CashierReceiptPage-H6Kf4Ej6.js";
2
2
  function i(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-receipt-page-nd",
3
- "version": "1.69.135",
3
+ "version": "1.69.140",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-receipt-page-nd.js",
6
6
  "module": "esnext/cashier-receipt-page-nd.js",