@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.
- package/components/{CashierReceiptPage-DJQEtHAZ.js → CashierReceiptPage-BM5w-Kgo.js} +99 -92
- package/components/{CashierReceiptPage-C02Ayj7O.cjs → CashierReceiptPage-C08uwbjk.cjs} +1 -1
- package/components/{CashierReceiptPage-D4xfmBT2.js → CashierReceiptPage-H6Kf4Ej6.js} +92 -85
- package/es2015/cashier-receipt-page-nd.cjs +1 -1
- package/es2015/cashier-receipt-page-nd.js +1 -1
- package/esnext/cashier-receipt-page-nd.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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 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 {
|
|
@@ -695,7 +695,7 @@ var Tt = { exports: {} };
|
|
|
695
695
|
});
|
|
696
696
|
})(Tt);
|
|
697
697
|
var o1 = Tt.exports;
|
|
698
|
-
const
|
|
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
|
|
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);
|
|
@@ -857,7 +857,7 @@ function St(i) {
|
|
|
857
857
|
}, t = i(e);
|
|
858
858
|
return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
|
|
859
859
|
}
|
|
860
|
-
var
|
|
860
|
+
var Ie = St(function(i) {
|
|
861
861
|
return function(t) {
|
|
862
862
|
i(this), this.message = t ? t.length + ` errors occurred during unsubscription:
|
|
863
863
|
` + t.map(function(n, r) {
|
|
@@ -872,7 +872,7 @@ function je(i, e) {
|
|
|
872
872
|
0 <= t && i.splice(t, 1);
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
|
-
var
|
|
875
|
+
var He = function() {
|
|
876
876
|
function i(e) {
|
|
877
877
|
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
878
878
|
}
|
|
@@ -905,7 +905,7 @@ var Le = function() {
|
|
|
905
905
|
try {
|
|
906
906
|
p();
|
|
907
907
|
} catch (m) {
|
|
908
|
-
o = m instanceof
|
|
908
|
+
o = m instanceof Ie ? m.errors : [m];
|
|
909
909
|
}
|
|
910
910
|
var v = this._finalizers;
|
|
911
911
|
if (v) {
|
|
@@ -916,7 +916,7 @@ var Le = function() {
|
|
|
916
916
|
try {
|
|
917
917
|
et(S);
|
|
918
918
|
} catch (m) {
|
|
919
|
-
o = o != null ? o : [], m instanceof
|
|
919
|
+
o = o != null ? o : [], m instanceof Ie ? o = Ee(Ee([], Oe(o)), Oe(m.errors)) : o.push(m);
|
|
920
920
|
}
|
|
921
921
|
}
|
|
922
922
|
} catch (m) {
|
|
@@ -931,7 +931,7 @@ var Le = function() {
|
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
if (o)
|
|
934
|
-
throw new
|
|
934
|
+
throw new Ie(o);
|
|
935
935
|
}
|
|
936
936
|
}, i.prototype.add = function(e) {
|
|
937
937
|
var t;
|
|
@@ -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 =
|
|
965
|
+
}(), xt = He.EMPTY;
|
|
966
966
|
function Mt(i) {
|
|
967
|
-
return i instanceof
|
|
967
|
+
return i instanceof He || 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
|
|
992
|
+
function Re(i) {
|
|
993
993
|
i();
|
|
994
994
|
}
|
|
995
995
|
var Dt = function(i) {
|
|
996
|
-
|
|
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
|
-
}(
|
|
1026
|
+
}(He), 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
|
-
|
|
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
|
-
|
|
1044
|
+
De(n);
|
|
1045
1045
|
}
|
|
1046
1046
|
else
|
|
1047
|
-
|
|
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
|
-
|
|
1054
|
+
De(t);
|
|
1055
1055
|
}
|
|
1056
1056
|
}, i;
|
|
1057
1057
|
}(), ze = function(i) {
|
|
1058
|
-
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1235
|
+
return o || s ? xt : (this.currentObservers = null, l.push(t), new He(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
|
-
|
|
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
|
-
|
|
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",
|
|
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",
|
|
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:
|
|
1308
|
-
const n = new Intl.NumberFormat(Ae, { style: "currency", currency: e, currencyDisplay: Ye === "true" ? "symbol" : "code", maximumFractionDigits:
|
|
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 };
|
|
@@ -1434,7 +1434,7 @@ function x1(i) {
|
|
|
1434
1434
|
m(t, n) {
|
|
1435
1435
|
D(t, e, n);
|
|
1436
1436
|
},
|
|
1437
|
-
p:
|
|
1437
|
+
p: be,
|
|
1438
1438
|
d(t) {
|
|
1439
1439
|
t && M(e);
|
|
1440
1440
|
}
|
|
@@ -1676,11 +1676,11 @@ function D1(i) {
|
|
|
1676
1676
|
), C, w, _, H, E, B, K, Q = (
|
|
1677
1677
|
/*$_*/
|
|
1678
1678
|
i[24]("paymentTime") + ""
|
|
1679
|
-
), ue, re, pe, oe =
|
|
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,
|
|
1683
|
-
function
|
|
1682
|
+
).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, ye, he, ve, _e;
|
|
1683
|
+
function xe(b, I) {
|
|
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 =
|
|
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
|
|
1706
|
+
function Me(b, I) {
|
|
1707
1707
|
return (
|
|
1708
1708
|
/*txnInfo*/
|
|
1709
1709
|
b[15].type ? I1 : H1
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
1712
|
-
let c =
|
|
1712
|
+
let c = Me(i), W = c(i), Z = (
|
|
1713
1713
|
/*receiptFields*/
|
|
1714
1714
|
i[16].length && Ct(i)
|
|
1715
1715
|
);
|
|
@@ -1721,27 +1721,27 @@ function D1(i) {
|
|
|
1721
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(
|
|
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(),
|
|
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
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,
|
|
1729
|
-
|
|
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, ye, I), Z && Z.m(b, I), D(b, he, I), ve || (_e = [
|
|
1729
|
+
ke(
|
|
1730
1730
|
R,
|
|
1731
1731
|
"click",
|
|
1732
1732
|
/*click_handler*/
|
|
1733
1733
|
i[43]
|
|
1734
1734
|
),
|
|
1735
|
-
|
|
1735
|
+
ke(
|
|
1736
1736
|
me,
|
|
1737
1737
|
"click",
|
|
1738
1738
|
/*closeReceipt*/
|
|
1739
1739
|
i[26]
|
|
1740
1740
|
)
|
|
1741
|
-
],
|
|
1741
|
+
], ve = !0);
|
|
1742
1742
|
},
|
|
1743
1743
|
p(b, I) {
|
|
1744
|
-
Ce === (Ce =
|
|
1744
|
+
Ce === (Ce = xe(b)) && ne ? ne.p(b, I) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), I[0] & /*$_*/
|
|
1745
1745
|
16777216 && s !== (s = /*$_*/
|
|
1746
1746
|
b[24]("amount") + "") && A(l, s), I[0] & /*amount*/
|
|
1747
1747
|
131072 && A(
|
|
@@ -1769,15 +1769,15 @@ function D1(i) {
|
|
|
1769
1769
|
), I[0] & /*$_*/
|
|
1770
1770
|
16777216 && Q !== (Q = /*$_*/
|
|
1771
1771
|
b[24]("paymentTime") + "") && A(ue, Q), I[0] & /*txnInfo*/
|
|
1772
|
-
32768 && oe !== (oe =
|
|
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 =
|
|
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 = Me(b)) && W ? W.p(b, I) : (W.d(1), W = c(b), W && (W.c(), W.m(me, null))), /*receiptFields*/
|
|
1777
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);
|
|
1778
1778
|
},
|
|
1779
1779
|
d(b) {
|
|
1780
|
-
b && (M(e), M(t), M(n), M(le), M(ce), M(de), M(me), M(
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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;
|
|
@@ -2039,7 +2039,7 @@ function I1(i) {
|
|
|
2039
2039
|
};
|
|
2040
2040
|
}
|
|
2041
2041
|
function Ct(i) {
|
|
2042
|
-
let e, t =
|
|
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 =
|
|
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
|
|
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
|
|
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
|
|
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 =
|
|
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 ?
|
|
2218
|
+
s[14].QRCode ? z1 : (
|
|
2216
2219
|
/*field*/
|
|
2217
2220
|
s[64].type === /*FieldTypes*/
|
|
2218
|
-
s[14].Html ?
|
|
2221
|
+
s[14].Html ? j1 : (
|
|
2219
2222
|
/*field*/
|
|
2220
2223
|
s[64].type === /*FieldTypes*/
|
|
2221
|
-
s[14].Image ?
|
|
2224
|
+
s[14].Image ? E1 : (
|
|
2222
2225
|
/*field*/
|
|
2223
2226
|
s[64].type === /*FieldTypes*/
|
|
2224
|
-
s[14].Link ?
|
|
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
|
|
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:
|
|
2266
|
-
o:
|
|
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
|
|
2273
|
-
function
|
|
2279
|
+
let Y1 = "_blank";
|
|
2280
|
+
function $1(i, e, t) {
|
|
2274
2281
|
let n;
|
|
2275
|
-
At(i, Gt, (c) => t(24, n = c)),
|
|
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) {
|
|
@@ -2405,7 +2412,7 @@ function Y1(i, e, t) {
|
|
|
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",
|
|
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,
|
|
@@ -2425,13 +2432,13 @@ function Y1(i, e, t) {
|
|
|
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((
|
|
2429
|
-
type: g.get(
|
|
2430
|
-
name:
|
|
2431
|
-
description:
|
|
2432
|
-
defaultValue:
|
|
2433
|
-
useCopyButton:
|
|
2434
|
-
usePrintButton:
|
|
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
|
|
2435
2442
|
})) : []), $ || 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":
|
|
@@ -2473,23 +2480,23 @@ 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
|
-
},
|
|
2483
|
+
}, ye = (c) => {
|
|
2477
2484
|
c && window.postMessage(
|
|
2478
2485
|
{
|
|
2479
2486
|
type: "NavigateTo",
|
|
2480
2487
|
path: c,
|
|
2481
|
-
target:
|
|
2488
|
+
target: Y1,
|
|
2482
2489
|
externalLink: !1
|
|
2483
2490
|
},
|
|
2484
2491
|
window.location.href
|
|
2485
2492
|
);
|
|
2486
2493
|
};
|
|
2487
|
-
let he,
|
|
2488
|
-
const
|
|
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(
|
|
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
|
},
|
|
@@ -2498,16 +2505,16 @@ function Y1(i, e, t) {
|
|
|
2498
2505
|
} catch (I) {
|
|
2499
2506
|
console.error("Clipboard API failed:", I);
|
|
2500
2507
|
}
|
|
2501
|
-
}),
|
|
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
|
-
|
|
2515
|
+
ye(c.description);
|
|
2509
2516
|
};
|
|
2510
|
-
function
|
|
2517
|
+
function Me(c) {
|
|
2511
2518
|
Ke[c ? "unshift" : "push"](() => {
|
|
2512
2519
|
w = c, t(10, w);
|
|
2513
2520
|
});
|
|
@@ -2554,8 +2561,8 @@ function Y1(i, e, t) {
|
|
|
2554
2561
|
le,
|
|
2555
2562
|
de,
|
|
2556
2563
|
me,
|
|
2557
|
-
|
|
2558
|
-
|
|
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
|
-
|
|
2578
|
+
xe,
|
|
2572
2579
|
Ce,
|
|
2573
2580
|
ne,
|
|
2574
2581
|
ie,
|
|
2575
|
-
|
|
2582
|
+
Me
|
|
2576
2583
|
];
|
|
2577
2584
|
}
|
|
2578
|
-
class
|
|
2585
|
+
class Z1 extends Bt {
|
|
2579
2586
|
constructor(e) {
|
|
2580
2587
|
super(), Ot(
|
|
2581
2588
|
this,
|
|
2582
2589
|
e,
|
|
2583
|
-
|
|
2584
|
-
|
|
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(
|
|
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
|
-
|
|
2756
|
+
Z1 as default
|
|
2750
2757
|
};
|