@everymatrix/cashier-method-details 1.98.18 → 1.98.19

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.
Files changed (19) hide show
  1. package/components/{CashierError-DDLiPZuO.js → CashierError-BmRRgY2P.js} +1 -1
  2. package/components/{CashierError-HRxIcRPj.cjs → CashierError-Cwx8KC1q.cjs} +1 -1
  3. package/components/{CashierError-CSEhltYp.js → CashierError-DfRfvcJ9.js} +1 -1
  4. package/components/{CashierMethodDetails-l9YdFEAj.cjs → CashierMethodDetails-D7nYKrSi.cjs} +1 -1
  5. package/components/{CashierMethodDetails-wVnW3frH.js → CashierMethodDetails-DHVKF93v.js} +4 -4
  6. package/components/{CashierMethodDetails-CX-X21Xh.js → CashierMethodDetails-dobrjQLr.js} +4 -4
  7. package/components/{CashierModal-Cibiuxwd.js → CashierModal-BR1uKkvG.js} +1 -1
  8. package/components/{CashierModal-BMzLUYbn.cjs → CashierModal-DgJgZEpU.cjs} +1 -1
  9. package/components/{CashierModal-CcjOE8dR.js → CashierModal-qPb2ymL0.js} +1 -1
  10. package/components/{CashierNotifications-qURZs_ps.js → CashierNotifications-BkKEYcnD.js} +1 -1
  11. package/components/{CashierNotifications-BM0-kmn0.js → CashierNotifications-CjGhVASb.js} +1 -1
  12. package/components/{CashierNotifications-c7dKGNEz.cjs → CashierNotifications-D1A1fWDO.cjs} +1 -1
  13. package/components/{CashierReceiptPage-CKVmZ8tS.js → CashierReceiptPage-BYYkc2BW.js} +110 -108
  14. package/components/{CashierReceiptPage-CbkUFIvL.js → CashierReceiptPage-Cs2e2-wb.js} +172 -170
  15. package/components/{CashierReceiptPage-CrYI9z2r.cjs → CashierReceiptPage-D0udA3YK.cjs} +2 -2
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { J as $e, o as e1, p as t1, $ as n1, S as i1, i as a1, s as o1, f as z, a as r1, n as pe, d as h, e as b, h as f, k as l, v as s1, F as l1, K as De, L as c1, w as u1, M as d1, N as Be, m as He, O as Pe, r as We, E as p1, q as m1, u as g1, g as c, j as v, P as f1, Q as C1, R as h1, b as x, t as S, D as _, T as b1, l as Se, B as Le, U as ze, V as Xe, W as N, C as Ae, X as w1, G as y1, H as k1, I as T1, c as v1 } from "./CashierMethodDetails-wVnW3frH.js";
1
+ import { J as $e, o as e1, p as t1, $ as n1, S as i1, i as a1, s as o1, f as L, a as r1, n as pe, d as h, e as b, h as f, k as l, v as s1, F as l1, K as De, L as c1, w as u1, M as d1, N as Be, m as He, O as Pe, r as We, E as p1, q as m1, u as g1, g as c, j as v, P as f1, Q as C1, R as h1, b as x, t as S, D as _, T as b1, l as Se, B as Le, U as ze, V as Xe, W as N, C as Ae, X as w1, G as y1, H as k1, I as T1, c as v1 } from "./CashierMethodDetails-DHVKF93v.js";
2
2
  function je(i, { delay: e = 0, duration: t = 400, easing: n = $e } = {}) {
3
3
  const a = +getComputedStyle(i).opacity;
4
4
  return {
@@ -753,7 +753,7 @@ const Ee = {
753
753
  uploadDocuments: "Sənədləri yüklə",
754
754
  goToHomepage: "Əsas səhifəyə keç"
755
755
  }
756
- }, x1 = (i, e) => `${i + M1[e]}`, S1 = (i, e) => `${D1[e]}.${Je[i]}.text`, R1 = (i) => `${Je[`${i}`]}`, M1 = {
756
+ }, x1 = (i, e) => `${i + R1[e]}`, S1 = (i, e) => `${D1[e]}.${Je[i]}.text`, M1 = (i) => `${Je[`${i}`]}`, R1 = {
757
757
  Success: "/txn-success.png",
758
758
  Voided: "/txn-success.png",
759
759
  Rejected: "/txn-failed.png",
@@ -1109,20 +1109,20 @@ function H1(i) {
1109
1109
  ), d, p, m, u, C, y, w, k = (
1110
1110
  /*$_*/
1111
1111
  i[24]("status") + ""
1112
- ), I, Y, Z, E = (
1112
+ ), I, Y, Z, V = (
1113
1113
  /*$_*/
1114
1114
  i[24](`${/*txnStatus*/
1115
1115
  i[21]}`) + ""
1116
- ), V, K, ae, D, H, J = (
1116
+ ), E, K, ae, D, H, J = (
1117
1117
  /*$_*/
1118
1118
  i[24]("transactionId") + ""
1119
1119
  ), oe, me, F, re = (
1120
1120
  /*txnInfo*/
1121
1121
  i[15].referenceId + ""
1122
- ), ge, fe, Q, $, R = (
1122
+ ), ge, fe, Q, $, M = (
1123
1123
  /*$_*/
1124
1124
  i[24]("payemntMethod") + ""
1125
- ), ye, Re, M, se, ke, A, ee, te = (
1125
+ ), ye, Me, R, se, ke, A, ee, te = (
1126
1126
  /*$_*/
1127
1127
  i[24]("paymentTime") + ""
1128
1128
  ), le, ce, Te, ue = De(
@@ -1152,13 +1152,13 @@ function H1(i) {
1152
1152
  /*displayedButtons*/
1153
1153
  i[12].length > 0 && Oe(i)
1154
1154
  );
1155
- function Me(g, T) {
1155
+ function Re(g, T) {
1156
1156
  return (
1157
1157
  /*txnInfo*/
1158
1158
  g[15].type ? Z1 : j1
1159
1159
  );
1160
1160
  }
1161
- let we = Me(i), U = we(i), j = (
1161
+ let we = Re(i), U = we(i), j = (
1162
1162
  /*receiptFields*/
1163
1163
  i[16].length && Ge(i)
1164
1164
  );
@@ -1167,14 +1167,14 @@ function H1(i) {
1167
1167
  e = f("div"), P && P.c(), t = v(), n = f("div"), a = f("div"), r = f("p"), d = S(o), p = v(), m = f("span"), u = S(
1168
1168
  /*amount*/
1169
1169
  i[17]
1170
- ), C = v(), y = f("div"), w = f("p"), I = S(k), Y = v(), Z = f("span"), V = S(E), ae = v(), D = f("div"), H = f("p"), oe = S(J), me = v(), F = f("span"), ge = S(re), fe = v(), Q = f("div"), $ = f("p"), ye = S(R), Re = v(), M = f("span"), se = S(
1170
+ ), C = v(), y = f("div"), w = f("p"), I = S(k), Y = v(), Z = f("span"), E = S(V), ae = v(), D = f("div"), H = f("p"), oe = S(J), me = v(), F = f("span"), ge = S(re), fe = v(), Q = f("div"), $ = f("p"), ye = S(M), Me = v(), R = f("span"), se = S(
1171
1171
  /*paymentmethod*/
1172
1172
  i[0]
1173
1173
  ), ke = v(), A = f("div"), ee = f("p"), le = S(te), ce = v(), Te = f("span"), Ce = S(ue), ne = v(), ie = f("div"), W && W.c(), he = v(), X = f("button"), U.c(), ve = v(), j && j.c(), de = Le(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", K = `Status ${/*txnStatus*/
1174
1174
  i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(ie, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
1175
1175
  },
1176
1176
  m(g, T) {
1177
- b(g, e, T), P && P.m(e, null), b(g, t, T), b(g, n, T), c(n, a), c(a, r), c(r, d), c(a, p), c(a, m), c(m, u), c(n, C), c(n, y), c(y, w), c(w, I), c(y, Y), c(y, Z), c(Z, V), c(n, ae), c(n, D), c(D, H), c(H, oe), c(D, me), c(D, F), c(F, ge), c(n, fe), c(n, Q), c(Q, $), c($, ye), c(Q, Re), c(Q, M), c(M, se), c(n, ke), c(n, A), c(A, ee), c(ee, le), c(A, ce), c(A, Te), c(Te, Ce), b(g, ne, T), b(g, ie, T), W && W.m(ie, null), b(g, he, T), b(g, X, T), U.m(X, null), b(g, ve, T), j && j.m(g, T), b(g, de, T), be || (_e = [
1177
+ b(g, e, T), P && P.m(e, null), b(g, t, T), b(g, n, T), c(n, a), c(a, r), c(r, d), c(a, p), c(a, m), c(m, u), c(n, C), c(n, y), c(y, w), c(w, I), c(y, Y), c(y, Z), c(Z, E), c(n, ae), c(n, D), c(D, H), c(H, oe), c(D, me), c(D, F), c(F, ge), c(n, fe), c(n, Q), c(Q, $), c($, ye), c(Q, Me), c(Q, R), c(R, se), c(n, ke), c(n, A), c(A, ee), c(ee, le), c(A, ce), c(A, Te), c(Te, Ce), b(g, ne, T), b(g, ie, T), W && W.m(ie, null), b(g, he, T), b(g, X, T), U.m(X, null), b(g, ve, T), j && j.m(g, T), b(g, de, T), be || (_e = [
1178
1178
  Se(
1179
1179
  F,
1180
1180
  "click",
@@ -1200,17 +1200,17 @@ function H1(i) {
1200
1200
  ), T[0] & /*$_*/
1201
1201
  16777216 && k !== (k = /*$_*/
1202
1202
  g[24]("status") + "") && x(I, k), T[0] & /*$_, txnStatus*/
1203
- 18874368 && E !== (E = /*$_*/
1203
+ 18874368 && V !== (V = /*$_*/
1204
1204
  g[24](`${/*txnStatus*/
1205
- g[21]}`) + "") && x(V, E), T[0] & /*txnStatus*/
1205
+ g[21]}`) + "") && x(E, V), T[0] & /*txnStatus*/
1206
1206
  2097152 && K !== (K = `Status ${/*txnStatus*/
1207
1207
  g[21]}`) && l(y, "class", K), T[0] & /*$_*/
1208
1208
  16777216 && J !== (J = /*$_*/
1209
1209
  g[24]("transactionId") + "") && x(oe, J), T[0] & /*txnInfo*/
1210
1210
  32768 && re !== (re = /*txnInfo*/
1211
1211
  g[15].referenceId + "") && x(ge, re), T[0] & /*$_*/
1212
- 16777216 && R !== (R = /*$_*/
1213
- g[24]("payemntMethod") + "") && x(ye, R), T[0] & /*paymentmethod*/
1212
+ 16777216 && M !== (M = /*$_*/
1213
+ g[24]("payemntMethod") + "") && x(ye, M), T[0] & /*paymentmethod*/
1214
1214
  1 && x(
1215
1215
  se,
1216
1216
  /*paymentmethod*/
@@ -1222,7 +1222,7 @@ function H1(i) {
1222
1222
  /*txnInfo*/
1223
1223
  g[15].time
1224
1224
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && x(Ce, ue), /*displayedButtons*/
1225
- g[12].length > 0 ? W ? W.p(g, T) : (W = Oe(g), W.c(), W.m(ie, null)) : W && (W.d(1), W = null), we === (we = Me(g)) && U ? U.p(g, T) : (U.d(1), U = we(g), U && (U.c(), U.m(X, null))), /*receiptFields*/
1225
+ g[12].length > 0 ? W ? W.p(g, T) : (W = Oe(g), W.c(), W.m(ie, null)) : W && (W.d(1), W = null), we === (we = Re(g)) && U ? U.p(g, T) : (U.d(1), U = we(g), U && (U.c(), U.m(X, null))), /*receiptFields*/
1226
1226
  g[16].length ? j ? j.p(g, T) : (j = Ge(g), j.c(), j.m(de.parentNode, de)) : j && (j.d(1), j = null);
1227
1227
  },
1228
1228
  d(g) {
@@ -1297,16 +1297,16 @@ function W1(i) {
1297
1297
  /*$_*/
1298
1298
  i[24](`${/*txnInfo*/
1299
1299
  i[15].type.toLowerCase()}.pending.text`) + ""
1300
- ), I, Y, Z, E = (
1300
+ ), I, Y, Z, V = (
1301
1301
  /*$_*/
1302
1302
  i[24]("refreshButton") + ""
1303
- ), V, K, ae;
1303
+ ), E, K, ae;
1304
1304
  return {
1305
1305
  c() {
1306
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d = v(), p = f("div"), m = f("h3"), C = S(u), y = v(), w = f("p"), I = S(k), Y = v(), Z = f("button"), V = S(E), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "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"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(r, "d", "M36 32V36L38 38"), l(r, "stroke", "black"), l(r, "stroke-width", "1.5"), l(r, "stroke-linecap", "round"), l(r, "stroke-linejoin", "round"), l(o, "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"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
1306
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), r = N("path"), o = N("path"), d = v(), p = f("div"), m = f("h3"), C = S(u), y = v(), w = f("p"), I = S(k), Y = v(), Z = f("button"), E = S(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "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"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(r, "d", "M36 32V36L38 38"), l(r, "stroke", "black"), l(r, "stroke-width", "1.5"), l(r, "stroke-linecap", "round"), l(r, "stroke-linejoin", "round"), l(o, "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"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
1307
1307
  },
1308
1308
  m(D, H) {
1309
- b(D, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(D, d, H), b(D, p, H), c(p, m), c(m, C), c(p, y), c(p, w), c(w, I), b(D, Y, H), b(D, Z, H), c(Z, V), K || (ae = Se(
1309
+ b(D, e, H), c(e, t), c(e, n), c(e, a), c(e, r), c(e, o), b(D, d, H), b(D, p, H), c(p, m), c(m, C), c(p, y), c(p, w), c(w, I), b(D, Y, H), b(D, Z, H), c(Z, E), K || (ae = Se(
1310
1310
  Z,
1311
1311
  "click",
1312
1312
  /*getPaymentInfo*/
@@ -1321,8 +1321,8 @@ function W1(i) {
1321
1321
  16809984 && k !== (k = /*$_*/
1322
1322
  D[24](`${/*txnInfo*/
1323
1323
  D[15].type.toLowerCase()}.pending.text`) + "") && x(I, k), H[0] & /*$_*/
1324
- 16777216 && E !== (E = /*$_*/
1325
- D[24]("refreshButton") + "") && x(V, E);
1324
+ 16777216 && V !== (V = /*$_*/
1325
+ D[24]("refreshButton") + "") && x(E, V);
1326
1326
  },
1327
1327
  d(D) {
1328
1328
  D && (h(e), h(d), h(p), h(Y), h(Z)), K = !1, ae();
@@ -1727,39 +1727,39 @@ let O1 = "_blank";
1727
1727
  function q1(i, e, t) {
1728
1728
  let n;
1729
1729
  s1(i, l1, (s) => t(24, n = s)), De.extend(c1);
1730
- let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: k } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: E = "true" } = e, { paymentmethod: V = "" } = e, K = !1, ae, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: ge = "false" } = e, fe = [], Q = [];
1730
+ let { endpoint: a } = e, { session: r } = e, { lang: o = "en" } = e, { local: d = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: m } = e, { assetsurl: u = "" } = e, { customerid: C } = e, { transactionid: y } = e, { currencydecimals: w = "0" } = e, { type: k } = e, { clientstyling: I = "" } = e, { clientstylingurl: Y = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, K = !1, ae, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: oe = "" } = e, { currencyposition: me = "" } = e, { userroles: F = "" } = e, { windowsize: re } = e, { p2p: ge = "false" } = e, fe = [], Q = [];
1731
1731
  var $;
1732
1732
  (function(s) {
1733
1733
  s.Success = "Success", s.Maintenance = "Maintenance";
1734
1734
  })($ || ($ = {}));
1735
- var R;
1735
+ var M;
1736
1736
  (function(s) {
1737
1737
  s.Unknown = "Unknown", s.Text = "Text", s.Boolean = "Boolean", s.Number = "Number", s.Money = "Money", s.DateTime = "DateTime", s.Lookup = "Lookup", s.IpAddress = "IpAddress", s.Date = "Date", s.Time = "Time", s.LookupCollection = "LookupCollection", s.Hidden = "Hidden", s.Label = "Label", s.Password = "Password", s.Link = "Link", s.Image = "Image", s.Html = "Html", s.QRCode = "QR";
1738
- })(R || (R = {}));
1738
+ })(M || (M = {}));
1739
1739
  const ye = (s, [B, O]) => [
1740
1740
  ...s,
1741
- ...Array.isArray(B) ? [...B.map((L) => [L, O])] : [[B, O]]
1742
- ], Re = new Map([
1743
- [["Unknown", 0], R.Unknown],
1744
- [["Text", 1], R.Text],
1745
- [["Boolean", 2], R.Boolean],
1746
- [["Number", 3], R.Number],
1747
- [["Money", 4], R.Money],
1748
- [["DateTime", 5], R.DateTime],
1749
- [["Lookup", 6], R.Lookup],
1750
- [["IpAddress", 7], R.IpAddress],
1751
- [["Date", 8], R.Date],
1752
- [["Time", 9], R.Time],
1753
- [["LookupCollection", 10], R.LookupCollection],
1754
- [["Hidden", 11], R.Hidden],
1755
- [["Label", 12], R.Label],
1756
- [["Password", 13], R.Password],
1757
- [["Link", 14], R.Link],
1758
- [["Image", 15], R.Image],
1759
- [["Html", 19], R.Html],
1760
- [["QR", 20], R.QRCode]
1741
+ ...Array.isArray(B) ? [...B.map((z) => [z, O])] : [[B, O]]
1742
+ ], Me = new Map([
1743
+ [["Unknown", 0], M.Unknown],
1744
+ [["Text", 1], M.Text],
1745
+ [["Boolean", 2], M.Boolean],
1746
+ [["Number", 3], M.Number],
1747
+ [["Money", 4], M.Money],
1748
+ [["DateTime", 5], M.DateTime],
1749
+ [["Lookup", 6], M.Lookup],
1750
+ [["IpAddress", 7], M.IpAddress],
1751
+ [["Date", 8], M.Date],
1752
+ [["Time", 9], M.Time],
1753
+ [["LookupCollection", 10], M.LookupCollection],
1754
+ [["Hidden", 11], M.Hidden],
1755
+ [["Label", 12], M.Label],
1756
+ [["Password", 13], M.Password],
1757
+ [["Link", 14], M.Link],
1758
+ [["Image", 15], M.Image],
1759
+ [["Html", 19], M.Html],
1760
+ [["QR", 20], M.QRCode]
1761
1761
  ].reduce(ye, []));
1762
- let M, se = [], ke, A, ee = [], te, le, ce = "", Te = window.navigator.userAgent, ue = !1;
1762
+ let R, se = [], ke, A, ee = [], te, le, ce = "", Te = window.navigator.userAgent, ue = !1;
1763
1763
  const Ce = {
1764
1764
  promotions: {
1765
1765
  event: "Cashier:goToPromotions",
@@ -1864,37 +1864,37 @@ function q1(i, e, t) {
1864
1864
  headers: B,
1865
1865
  body: JSON.stringify({ TransactionCode: y })
1866
1866
  };
1867
- t(11, K = !0), fetch(s, O).then((L) => L.json()).then((L) => {
1868
- if (L.ResponseCode !== $.Success) {
1869
- t(19, te = L.ResponseCode), t(20, le = p.toLowerCase() === "false" || !p), de();
1867
+ t(11, K = !0), fetch(s, O).then((z) => z.json()).then((z) => {
1868
+ if (z.ResponseCode !== $.Success) {
1869
+ t(19, te = z.ResponseCode), t(20, le = p.toLowerCase() === "false" || !p), de();
1870
1870
  return;
1871
1871
  }
1872
- switch (t(15, M = {
1873
- type: L.Transaction.Type,
1874
- referenceId: L.Transaction.Code,
1875
- status: L.Transaction.Status?.Status,
1876
- message: L.Transaction.Status?.Message,
1877
- amount: L.Transaction.Amounts[0]?.Amount,
1878
- currency: L.Transaction.Amounts[0]?.Currency,
1879
- time: L.Transaction.Status.Created
1880
- }), t(16, se = L.ReceiptInfo && L.ReceiptInfo.ReceiptFields ? L.ReceiptInfo.ReceiptFields.map((G) => ({
1881
- type: Re.get(G.Type),
1872
+ switch (t(15, R = {
1873
+ type: z.Transaction.Type,
1874
+ referenceId: z.Transaction.Code,
1875
+ status: z.Transaction.Status?.Status,
1876
+ message: z.Transaction.Status?.Message,
1877
+ amount: z.Transaction.Amounts[0]?.Amount,
1878
+ currency: z.Transaction.Amounts[0]?.Currency,
1879
+ time: z.Transaction.Status.Created
1880
+ }), t(16, se = z.ReceiptInfo && z.ReceiptInfo.ReceiptFields ? z.ReceiptInfo.ReceiptFields.map((G) => ({
1881
+ type: Me.get(G.Type),
1882
1882
  name: G.Name,
1883
1883
  description: G.Description,
1884
1884
  defaultValue: G.DefaultValue,
1885
1885
  useCopyButton: G.UseCopyButton,
1886
1886
  usePrintButton: G.UsePrintButton
1887
- })) : []), L.ReceiptInfo && L.ReceiptInfo.ReceiptFields && !V && t(0, V = se[0].defaultValue), n(S1(M.status, M.type), { values: { errorText: M.message } }), t(17, ke = d1(Number(M.amount), M.currency)), M.status) {
1887
+ })) : []), z.ReceiptInfo && z.ReceiptInfo.ReceiptFields && !E && t(0, E = se[0].defaultValue), n(S1(R.status, R.type), { values: { errorText: R.message } }), t(17, ke = d1(Number(R.amount), R.currency)), R.status) {
1888
1888
  case "Voided":
1889
1889
  case "Success":
1890
- if (ne(D || "casino, livecasino, tournaments"), t(21, ce = "success"), M.type === "Deposit") {
1891
- const G = L.Transaction?.Flags?.NewDepositCustomer, Ie = L?.Transaction?.Payloads;
1890
+ if (ne(D || "casino, livecasino, tournaments"), t(21, ce = "success"), R.type === "Deposit") {
1891
+ const G = z.Transaction?.Flags?.NewDepositCustomer, Ie = z?.Transaction?.Payloads;
1892
1892
  window.postMessage(
1893
1893
  {
1894
1894
  type: G === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1895
- method: V,
1896
- amount: M.amount,
1897
- currency: M.currency,
1895
+ method: E,
1896
+ amount: R.amount,
1897
+ currency: R.currency,
1898
1898
  depositType: Ie?.TagManagerDepositType ?? "",
1899
1899
  publicPaymentId: Ie?.TagManagerCode ?? ""
1900
1900
  },
@@ -1902,12 +1902,14 @@ function q1(i, e, t) {
1902
1902
  );
1903
1903
  }
1904
1904
  Be(
1905
- M.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1905
+ R.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1906
1906
  {
1907
1907
  userID: C,
1908
- amount: M.amount,
1909
- currency: M.currency,
1910
- failureReason: M.message
1908
+ amount: R.amount,
1909
+ currency: R.currency,
1910
+ transactionId: R.referenceId,
1911
+ method: E,
1912
+ isFirstDeposit: z.Transaction?.Flags?.NewDepositCustomer === "True"
1911
1913
  }
1912
1914
  );
1913
1915
  break;
@@ -1922,20 +1924,20 @@ function q1(i, e, t) {
1922
1924
  case "Rejected":
1923
1925
  case "Cancelled":
1924
1926
  case "Failed":
1925
- ne(J || "casino, livecasino, tournaments"), t(21, ce = M.status.toLowerCase()), Be(
1926
- M.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1927
+ ne(J || "casino, livecasino, tournaments"), t(21, ce = R.status.toLowerCase()), Be(
1928
+ R.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1927
1929
  {
1928
1930
  userID: C,
1929
- amount: M.amount,
1930
- currency: M.currency,
1931
- failureReason: M.message
1931
+ amount: R.amount,
1932
+ currency: R.currency,
1933
+ failureReason: R.message
1932
1934
  }
1933
- ), E === "true" && t(22, ue = !0);
1935
+ ), V === "true" && t(22, ue = !0);
1934
1936
  break;
1935
1937
  default:
1936
1938
  ne("close");
1937
1939
  }
1938
- u ? x1(u, M.status) : R1(M.status);
1940
+ u ? x1(u, R.status) : M1(R.status);
1939
1941
  }).finally(() => t(11, K = !1));
1940
1942
  }, _e = (s) => {
1941
1943
  window.postMessage({ type: s }, window.location.href);
@@ -1952,10 +1954,10 @@ function q1(i, e, t) {
1952
1954
  };
1953
1955
  let q, P;
1954
1956
  const W = async (s, B = !0) => {
1955
- const L = s.currentTarget.innerHTML;
1956
- if (L && navigator.clipboard && navigator.clipboard.writeText)
1957
+ const z = s.currentTarget.innerHTML;
1958
+ if (z && navigator.clipboard && navigator.clipboard.writeText)
1957
1959
  try {
1958
- await navigator.clipboard.writeText(L), B && (t(23, q = !0), clearTimeout(P), P = setTimeout(
1960
+ await navigator.clipboard.writeText(z), B && (t(23, q = !0), clearTimeout(P), P = setTimeout(
1959
1961
  () => {
1960
1962
  t(23, q = !1);
1961
1963
  },
@@ -1964,7 +1966,7 @@ function q1(i, e, t) {
1964
1966
  } catch (G) {
1965
1967
  console.error("Clipboard API failed:", G);
1966
1968
  }
1967
- }, Me = () => {
1969
+ }, Re = () => {
1968
1970
  F.length > 0 && (Q = F.split(","));
1969
1971
  }, we = (s) => W(s), U = (s) => _e(s.event);
1970
1972
  function j(s) {
@@ -1981,10 +1983,10 @@ function q1(i, e, t) {
1981
1983
  });
1982
1984
  }
1983
1985
  return i.$$set = (s) => {
1984
- "endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, k = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, E = s.showverifications), "paymentmethod" in s && t(0, V = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, J = s.customfailedbuttons), "currencysymbol" in s && t(40, oe = s.currencysymbol), "currencyposition" in s && t(41, me = s.currencyposition), "userroles" in s && t(42, F = s.userroles), "windowsize" in s && t(43, re = s.windowsize), "p2p" in s && t(44, ge = s.p2p);
1986
+ "endpoint" in s && t(1, a = s.endpoint), "session" in s && t(2, r = s.session), "lang" in s && t(3, o = s.lang), "local" in s && t(31, d = s.local), "showerrors" in s && t(32, p = s.showerrors), "translationurl" in s && t(4, m = s.translationurl), "assetsurl" in s && t(5, u = s.assetsurl), "customerid" in s && t(6, C = s.customerid), "transactionid" in s && t(33, y = s.transactionid), "currencydecimals" in s && t(34, w = s.currencydecimals), "type" in s && t(35, k = s.type), "clientstyling" in s && t(7, I = s.clientstyling), "clientstylingurl" in s && t(8, Y = s.clientstylingurl), "mbsource" in s && t(36, Z = s.mbsource), "showverifications" in s && t(9, V = s.showverifications), "paymentmethod" in s && t(0, E = s.paymentmethod), "customsucceessbuttons" in s && t(37, D = s.customsucceessbuttons), "custompendingbuttons" in s && t(38, H = s.custompendingbuttons), "customfailedbuttons" in s && t(39, J = s.customfailedbuttons), "currencysymbol" in s && t(40, oe = s.currencysymbol), "currencyposition" in s && t(41, me = s.currencyposition), "userroles" in s && t(42, F = s.userroles), "windowsize" in s && t(43, re = s.windowsize), "p2p" in s && t(44, ge = s.p2p);
1985
1987
  }, i.$$.update = () => {
1986
1988
  i.$$.dirty[1] & /*userroles*/
1987
- 2048 && F && Me(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1989
+ 2048 && F && Re(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1988
1990
  70 | i.$$.dirty[1] & /*transactionid, showerrors*/
1989
1991
  6 && a && r && C && y && p && be(), i.$$.dirty[0] & /*lang*/
1990
1992
  8 && o && ie(), i.$$.dirty[0] & /*lang, translationurl*/
@@ -1994,7 +1996,7 @@ function q1(i, e, t) {
1994
1996
  1024 | i.$$.dirty[1] & /*mbsource*/
1995
1997
  32 && Z && A && T1(A, `${Z}.Style`, ae);
1996
1998
  }, [
1997
- V,
1999
+ E,
1998
2000
  a,
1999
2001
  r,
2000
2002
  o,
@@ -2003,13 +2005,13 @@ function q1(i, e, t) {
2003
2005
  C,
2004
2006
  I,
2005
2007
  Y,
2006
- E,
2008
+ V,
2007
2009
  A,
2008
2010
  K,
2009
2011
  fe,
2010
2012
  $,
2011
- R,
2012
2013
  M,
2014
+ R,
2013
2015
  se,
2014
2016
  ke,
2015
2017
  ee,
@@ -2088,145 +2090,145 @@ class G1 extends i1 {
2088
2090
  return this.$$.ctx[1];
2089
2091
  }
2090
2092
  set endpoint(e) {
2091
- this.$$set({ endpoint: e }), z();
2093
+ this.$$set({ endpoint: e }), L();
2092
2094
  }
2093
2095
  get session() {
2094
2096
  return this.$$.ctx[2];
2095
2097
  }
2096
2098
  set session(e) {
2097
- this.$$set({ session: e }), z();
2099
+ this.$$set({ session: e }), L();
2098
2100
  }
2099
2101
  get lang() {
2100
2102
  return this.$$.ctx[3];
2101
2103
  }
2102
2104
  set lang(e) {
2103
- this.$$set({ lang: e }), z();
2105
+ this.$$set({ lang: e }), L();
2104
2106
  }
2105
2107
  get local() {
2106
2108
  return this.$$.ctx[31];
2107
2109
  }
2108
2110
  set local(e) {
2109
- this.$$set({ local: e }), z();
2111
+ this.$$set({ local: e }), L();
2110
2112
  }
2111
2113
  get showerrors() {
2112
2114
  return this.$$.ctx[32];
2113
2115
  }
2114
2116
  set showerrors(e) {
2115
- this.$$set({ showerrors: e }), z();
2117
+ this.$$set({ showerrors: e }), L();
2116
2118
  }
2117
2119
  get translationurl() {
2118
2120
  return this.$$.ctx[4];
2119
2121
  }
2120
2122
  set translationurl(e) {
2121
- this.$$set({ translationurl: e }), z();
2123
+ this.$$set({ translationurl: e }), L();
2122
2124
  }
2123
2125
  get assetsurl() {
2124
2126
  return this.$$.ctx[5];
2125
2127
  }
2126
2128
  set assetsurl(e) {
2127
- this.$$set({ assetsurl: e }), z();
2129
+ this.$$set({ assetsurl: e }), L();
2128
2130
  }
2129
2131
  get customerid() {
2130
2132
  return this.$$.ctx[6];
2131
2133
  }
2132
2134
  set customerid(e) {
2133
- this.$$set({ customerid: e }), z();
2135
+ this.$$set({ customerid: e }), L();
2134
2136
  }
2135
2137
  get transactionid() {
2136
2138
  return this.$$.ctx[33];
2137
2139
  }
2138
2140
  set transactionid(e) {
2139
- this.$$set({ transactionid: e }), z();
2141
+ this.$$set({ transactionid: e }), L();
2140
2142
  }
2141
2143
  get currencydecimals() {
2142
2144
  return this.$$.ctx[34];
2143
2145
  }
2144
2146
  set currencydecimals(e) {
2145
- this.$$set({ currencydecimals: e }), z();
2147
+ this.$$set({ currencydecimals: e }), L();
2146
2148
  }
2147
2149
  get type() {
2148
2150
  return this.$$.ctx[35];
2149
2151
  }
2150
2152
  set type(e) {
2151
- this.$$set({ type: e }), z();
2153
+ this.$$set({ type: e }), L();
2152
2154
  }
2153
2155
  get clientstyling() {
2154
2156
  return this.$$.ctx[7];
2155
2157
  }
2156
2158
  set clientstyling(e) {
2157
- this.$$set({ clientstyling: e }), z();
2159
+ this.$$set({ clientstyling: e }), L();
2158
2160
  }
2159
2161
  get clientstylingurl() {
2160
2162
  return this.$$.ctx[8];
2161
2163
  }
2162
2164
  set clientstylingurl(e) {
2163
- this.$$set({ clientstylingurl: e }), z();
2165
+ this.$$set({ clientstylingurl: e }), L();
2164
2166
  }
2165
2167
  get mbsource() {
2166
2168
  return this.$$.ctx[36];
2167
2169
  }
2168
2170
  set mbsource(e) {
2169
- this.$$set({ mbsource: e }), z();
2171
+ this.$$set({ mbsource: e }), L();
2170
2172
  }
2171
2173
  get showverifications() {
2172
2174
  return this.$$.ctx[9];
2173
2175
  }
2174
2176
  set showverifications(e) {
2175
- this.$$set({ showverifications: e }), z();
2177
+ this.$$set({ showverifications: e }), L();
2176
2178
  }
2177
2179
  get paymentmethod() {
2178
2180
  return this.$$.ctx[0];
2179
2181
  }
2180
2182
  set paymentmethod(e) {
2181
- this.$$set({ paymentmethod: e }), z();
2183
+ this.$$set({ paymentmethod: e }), L();
2182
2184
  }
2183
2185
  get customsucceessbuttons() {
2184
2186
  return this.$$.ctx[37];
2185
2187
  }
2186
2188
  set customsucceessbuttons(e) {
2187
- this.$$set({ customsucceessbuttons: e }), z();
2189
+ this.$$set({ customsucceessbuttons: e }), L();
2188
2190
  }
2189
2191
  get custompendingbuttons() {
2190
2192
  return this.$$.ctx[38];
2191
2193
  }
2192
2194
  set custompendingbuttons(e) {
2193
- this.$$set({ custompendingbuttons: e }), z();
2195
+ this.$$set({ custompendingbuttons: e }), L();
2194
2196
  }
2195
2197
  get customfailedbuttons() {
2196
2198
  return this.$$.ctx[39];
2197
2199
  }
2198
2200
  set customfailedbuttons(e) {
2199
- this.$$set({ customfailedbuttons: e }), z();
2201
+ this.$$set({ customfailedbuttons: e }), L();
2200
2202
  }
2201
2203
  get currencysymbol() {
2202
2204
  return this.$$.ctx[40];
2203
2205
  }
2204
2206
  set currencysymbol(e) {
2205
- this.$$set({ currencysymbol: e }), z();
2207
+ this.$$set({ currencysymbol: e }), L();
2206
2208
  }
2207
2209
  get currencyposition() {
2208
2210
  return this.$$.ctx[41];
2209
2211
  }
2210
2212
  set currencyposition(e) {
2211
- this.$$set({ currencyposition: e }), z();
2213
+ this.$$set({ currencyposition: e }), L();
2212
2214
  }
2213
2215
  get userroles() {
2214
2216
  return this.$$.ctx[42];
2215
2217
  }
2216
2218
  set userroles(e) {
2217
- this.$$set({ userroles: e }), z();
2219
+ this.$$set({ userroles: e }), L();
2218
2220
  }
2219
2221
  get windowsize() {
2220
2222
  return this.$$.ctx[43];
2221
2223
  }
2222
2224
  set windowsize(e) {
2223
- this.$$set({ windowsize: e }), z();
2225
+ this.$$set({ windowsize: e }), L();
2224
2226
  }
2225
2227
  get p2p() {
2226
2228
  return this.$$.ctx[44];
2227
2229
  }
2228
2230
  set p2p(e) {
2229
- this.$$set({ p2p: e }), z();
2231
+ this.$$set({ p2p: e }), L();
2230
2232
  }
2231
2233
  }
2232
2234
  v1(G1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);