@everymatrix/cashier-page 1.72.12 → 1.72.14

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 (25) hide show
  1. package/components/{CashierMethodDetails-DkuhwMbt.js → CashierMethodDetails-DFRz7NV2.js} +392 -392
  2. package/components/{CashierMethodDetails-DNzRwcLt.js → CashierMethodDetails-OYvapYyP.js} +385 -385
  3. package/components/{CashierMethodDetails-DWAAaUnQ.cjs → CashierMethodDetails-mDoIolXB.cjs} +4 -4
  4. package/components/{CashierMethodsList-DJdXInbf.js → CashierMethodsList-CWA2QmBJ.js} +1 -1
  5. package/components/{CashierMethodsList-D_i-b0NS.js → CashierMethodsList-DcFnW0vy.js} +1 -1
  6. package/components/{CashierMethodsList-CBSPruHO.cjs → CashierMethodsList-I28pH3RO.cjs} +1 -1
  7. package/components/{CashierPage-CseiZ_QK.js → CashierPage-BNOiAKha.js} +119 -119
  8. package/components/{CashierPage-DOCWrZRJ.js → CashierPage-DQmmefmB.js} +119 -119
  9. package/components/{CashierPage-pwVZVCQr.cjs → CashierPage-DtojM6hh.cjs} +1 -1
  10. package/components/{CashierReceiptPage-BFwlozFW.js → CashierReceiptPage-CMc71nZj.js} +1 -1
  11. package/components/{CashierReceiptPage-awPZM0qE.cjs → CashierReceiptPage-DkSnOQ3b.cjs} +1 -1
  12. package/components/{CashierReceiptPage-DCuWvYDo.js → CashierReceiptPage-Ny_3TlYc.js} +1 -1
  13. package/components/{CashierSessionExpirationModal-v0AKLHmk.cjs → CashierSessionExpirationModal-CePkH-Sk.cjs} +1 -1
  14. package/components/{CashierSessionExpirationModal-GTcxaqy1.js → CashierSessionExpirationModal-DIr-RgER.js} +1 -1
  15. package/components/{CashierSessionExpirationModal-DKV1EFWr.js → CashierSessionExpirationModal-dj34qLR6.js} +1 -1
  16. package/components/{CashierTransactionHistory-BVJNKWhJ.cjs → CashierTransactionHistory-BKKZU-x2.cjs} +1 -1
  17. package/components/{CashierTransactionHistory-MEIM5G5Y.js → CashierTransactionHistory-DSmy-l3M.js} +1 -1
  18. package/components/{CashierTransactionHistory-Bonuz-2k.js → CashierTransactionHistory-gAF77FjW.js} +1 -1
  19. package/components/{CashierVerifications-D8B39Uda.js → CashierVerifications-BvEdkUND.js} +1 -1
  20. package/components/{CashierVerifications-7E8i-qPM.cjs → CashierVerifications-Ce4BNmF5.cjs} +1 -1
  21. package/components/{CashierVerifications-BO_ixlmJ.js → CashierVerifications-DeR348vM.js} +1 -1
  22. package/es2015/cashier-page.cjs +1 -1
  23. package/es2015/cashier-page.js +1 -1
  24. package/esnext/cashier-page.js +1 -1
  25. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { E as mi, S as di, b as wi, s as pi, f as H, c as gi, n as _, e as g, q as k, J as Q, l as E, m as b, T as Ei, p as O, o as M, F as Mi, v as Ce, H as ki, C as n, w as bi, z as yi, B as I, x as v, y as R, A as Ae } from "./CashierConfirmModal-B74OQHQ9.js";
1
+ import { E as mi, S as di, b as wi, s as pi, f as H, c as gi, n as _, e as g, q as k, J as Q, l as E, m as b, T as Ei, p as O, o as M, F as Mi, v as Ce, H as ki, C as n, w as bi, z as yi, B as I, x as R, y as v, A as Ae } from "./CashierConfirmModal-B74OQHQ9.js";
2
2
  import { a as Hi, i as Ti, $ as Oi, b as Ni } from "./CashierError-XLiq37Gb.js";
3
- import { d as Ze, u as Ci, x } from "./CashierMethodDetails-DkuhwMbt.js";
3
+ import { d as Ze, u as Ci, x } from "./CashierMethodDetails-DFRz7NV2.js";
4
4
  import "./CashierIframeRedirect-CWlqlioy.js";
5
5
  import "../stencil/ui-image-CHeV8e9p.js";
6
6
  function Je(t, e) {
@@ -98,7 +98,7 @@ if (typeof window < "u") {
98
98
  }
99
99
  };
100
100
  };
101
- customElements.define = t(customElements.define), import("./CashierVerifications-D8B39Uda.js").then(({ default: e }) => {
101
+ customElements.define = t(customElements.define), import("./CashierVerifications-BvEdkUND.js").then(({ default: e }) => {
102
102
  !customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
103
103
  });
104
104
  }
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = t(customElements.define), import("./CashierMethodsList-D_i-b0NS.js").then(({ default: e }) => {
117
+ customElements.define = t(customElements.define), import("./CashierMethodsList-DcFnW0vy.js").then(({ default: e }) => {
118
118
  !customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = t(customElements.define), import("./CashierMethodDetails-DkuhwMbt.js").then((e) => e.C).then(({ default: e }) => {
133
+ customElements.define = t(customElements.define), import("./CashierMethodDetails-DFRz7NV2.js").then((e) => e.C).then(({ default: e }) => {
134
134
  !customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = t(customElements.define), import("./CashierSessionExpirationModal-DKV1EFWr.js").then(({ default: e }) => {
149
+ customElements.define = t(customElements.define), import("./CashierSessionExpirationModal-dj34qLR6.js").then(({ default: e }) => {
150
150
  !customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", e.element);
151
151
  });
152
152
  }
@@ -162,7 +162,7 @@ if (typeof window < "u") {
162
162
  }
163
163
  };
164
164
  };
165
- customElements.define = t(customElements.define), import("./CashierTransactionHistory-Bonuz-2k.js").then(({ default: e }) => {
165
+ customElements.define = t(customElements.define), import("./CashierTransactionHistory-gAF77FjW.js").then(({ default: e }) => {
166
166
  !customElements.get("cashier-transaction-history") && customElements.define("cashier-transaction-history", e.element);
167
167
  });
168
168
  }
@@ -222,10 +222,10 @@ function Se(t) {
222
222
  }
223
223
  };
224
224
  }
225
- function ve(t) {
225
+ function Re(t) {
226
226
  let e, i, s, a, u, m, c = !!/*showheader*/
227
227
  t[10] && /*showheader*/
228
- t[10] !== "false" && Re(t), f = (
228
+ t[10] !== "false" && ve(t), f = (
229
229
  /*redirectUrl*/
230
230
  t[25] && /*redirectMode*/
231
231
  t[33] === /*RedirectionModeStringEnum*/
@@ -246,30 +246,30 @@ function ve(t) {
246
246
  c() {
247
247
  c && c.c(), e = O(), f && f.c(), i = O(), r && r.c(), s = O(), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), m = bi();
248
248
  },
249
- m(o, h) {
250
- c && c.m(o, h), E(o, e, h), f && f.m(o, h), E(o, i, h), r && r.m(o, h), E(o, s, h), p && p.m(o, h), E(o, a, h), w && w.m(o, h), E(o, u, h), d && d.m(o, h), E(o, m, h);
249
+ m(l, h) {
250
+ c && c.m(l, h), E(l, e, h), f && f.m(l, h), E(l, i, h), r && r.m(l, h), E(l, s, h), p && p.m(l, h), E(l, a, h), w && w.m(l, h), E(l, u, h), d && d.m(l, h), E(l, m, h);
251
251
  },
252
- p(o, h) {
252
+ p(l, h) {
253
253
  /*showheader*/
254
- o[10] && /*showheader*/
255
- o[10] !== "false" ? c ? c.p(o, h) : (c = Re(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*redirectUrl*/
256
- o[25] && /*redirectMode*/
257
- o[33] === /*RedirectionModeStringEnum*/
258
- o[21].Default && !/*errorMessage*/
259
- o[29] && !/*errorResponseCode*/
260
- o[30] ? f ? f.p(o, h) : (f = Ye(o), f.c(), f.m(i.parentNode, i)) : f && (f.d(1), f = null), /*show2FAModal*/
261
- o[40] ? r ? r.p(o, h) : (r = Le(o), r.c(), r.m(s.parentNode, s)) : r && (r.d(1), r = null), /*closeCashierModal*/
262
- o[39] ? p && (p.d(1), p = null) : p ? p.p(o, h) : (p = Ie(o), p.c(), p.m(a.parentNode, a)), /*showsessionexpirationmodal*/
263
- o[14] && /*showsessionexpirationmodal*/
264
- o[14] !== "false" ? w ? w.p(o, h) : (w = De(o), w.c(), w.m(u.parentNode, u)) : w && (w.d(1), w = null), /*showConfirmModal*/
265
- o[24] ? d ? d.p(o, h) : (d = Fe(o), d.c(), d.m(m.parentNode, m)) : d && (d.d(1), d = null);
266
- },
267
- d(o) {
268
- o && (g(e), g(i), g(s), g(a), g(u), g(m)), c && c.d(o), f && f.d(o), r && r.d(o), p && p.d(o), w && w.d(o), d && d.d(o);
254
+ l[10] && /*showheader*/
255
+ l[10] !== "false" ? c ? c.p(l, h) : (c = ve(l), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*redirectUrl*/
256
+ l[25] && /*redirectMode*/
257
+ l[33] === /*RedirectionModeStringEnum*/
258
+ l[21].Default && !/*errorMessage*/
259
+ l[29] && !/*errorResponseCode*/
260
+ l[30] ? f ? f.p(l, h) : (f = Ye(l), f.c(), f.m(i.parentNode, i)) : f && (f.d(1), f = null), /*show2FAModal*/
261
+ l[40] ? r ? r.p(l, h) : (r = Le(l), r.c(), r.m(s.parentNode, s)) : r && (r.d(1), r = null), /*closeCashierModal*/
262
+ l[39] ? p && (p.d(1), p = null) : p ? p.p(l, h) : (p = Ie(l), p.c(), p.m(a.parentNode, a)), /*showsessionexpirationmodal*/
263
+ l[14] && /*showsessionexpirationmodal*/
264
+ l[14] !== "false" ? w ? w.p(l, h) : (w = De(l), w.c(), w.m(u.parentNode, u)) : w && (w.d(1), w = null), /*showConfirmModal*/
265
+ l[24] ? d ? d.p(l, h) : (d = Fe(l), d.c(), d.m(m.parentNode, m)) : d && (d.d(1), d = null);
266
+ },
267
+ d(l) {
268
+ l && (g(e), g(i), g(s), g(a), g(u), g(m)), c && c.d(l), f && f.d(l), r && r.d(l), p && p.d(l), w && w.d(l), d && d.d(l);
269
269
  }
270
270
  };
271
271
  }
272
- function Re(t) {
272
+ function ve(t) {
273
273
  let e;
274
274
  return {
275
275
  c() {
@@ -615,7 +615,7 @@ function Be(t) {
615
615
  ), s, a, u;
616
616
  return {
617
617
  c() {
618
- e = M("button"), s = R(i), k(e, "class", "CashierErrorButton");
618
+ e = M("button"), s = v(i), k(e, "class", "CashierErrorButton");
619
619
  },
620
620
  m(m, c) {
621
621
  E(m, e, c), b(e, s), a || (u = Ae(
@@ -628,7 +628,7 @@ function Be(t) {
628
628
  p(m, c) {
629
629
  c[1] & /*$_*/
630
630
  2048 && i !== (i = /*$_*/
631
- m[42]("closeModal") + "") && v(s, i);
631
+ m[42]("closeModal") + "") && R(s, i);
632
632
  },
633
633
  d(m) {
634
634
  m && g(e), a = !1, u();
@@ -788,7 +788,7 @@ function Fe(t) {
788
788
  ), f;
789
789
  return {
790
790
  c() {
791
- e = M("cashier-confirm-modal"), i = M("span"), a = R(s), u = O(), m = M("div"), f = R(c), k(i, "class", "CashierConfirmModalText"), k(i, "slot", "text"), k(m, "slot", "confirm"), n(
791
+ e = M("cashier-confirm-modal"), i = M("span"), a = v(s), u = O(), m = M("div"), f = v(c), k(i, "class", "CashierConfirmModalText"), k(i, "slot", "text"), k(m, "slot", "confirm"), n(
792
792
  e,
793
793
  "clientstylingurl",
794
794
  /*clientstylingurl*/
@@ -830,11 +830,11 @@ function Fe(t) {
830
830
  /*$_*/
831
831
  r[42](`${/*type*/
832
832
  r[9].toLowerCase()}.confirmText`)
833
- )) + "") && v(a, s), p[0] & /*type*/
833
+ )) + "") && R(a, s), p[0] & /*type*/
834
834
  512 | p[1] & /*$_*/
835
835
  2048 && c !== (c = /*$_*/
836
836
  r[42](`${/*type*/
837
- r[9].toLowerCase()}.confirmButton`) + "") && v(f, c), p[0] & /*clientstylingurl*/
837
+ r[9].toLowerCase()}.confirmButton`) + "") && R(f, c), p[0] & /*clientstylingurl*/
838
838
  8192 && n(
839
839
  e,
840
840
  "clientstylingurl",
@@ -949,7 +949,7 @@ function Si(t) {
949
949
  }
950
950
  };
951
951
  }
952
- function vi(t) {
952
+ function Ri(t) {
953
953
  let e, i, s, a, u, m, c, f, r = !!/*showverifications*/
954
954
  t[15] && /*showverifications*/
955
955
  t[15] !== "false" && /*mobileView*/
@@ -965,17 +965,17 @@ function vi(t) {
965
965
  t[16] !== "false" && je(t), d = (
966
966
  /*$xPaymentSessionToken*/
967
967
  t[43] && Ve(t)
968
- ), o = (
968
+ ), l = (
969
969
  /*$xPaymentSessionToken*/
970
970
  t[43] && Xe(t)
971
971
  );
972
972
  return {
973
973
  c() {
974
- e = M("div"), r && r.c(), i = O(), s = M("div"), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), c = O(), f = M("div"), o && o.c(), k(s, "class", m = /*dynamicHeight*/
974
+ e = M("div"), r && r.c(), i = O(), s = M("div"), p && p.c(), a = O(), w && w.c(), u = O(), d && d.c(), c = O(), f = M("div"), l && l.c(), k(s, "class", m = /*dynamicHeight*/
975
975
  t[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), k(f, "class", "CashierMethodDetailsWrapper"), k(e, "class", "CashierPage");
976
976
  },
977
977
  m(h, C) {
978
- E(h, e, C), r && r.m(e, null), b(e, i), b(e, s), p && p.m(s, null), b(s, a), w && w.m(s, null), b(s, u), d && d.m(s, null), b(e, c), b(e, f), o && o.m(f, null);
978
+ E(h, e, C), r && r.m(e, null), b(e, i), b(e, s), p && p.m(s, null), b(s, a), w && w.m(s, null), b(s, u), d && d.m(s, null), b(e, c), b(e, f), l && l.m(f, null);
979
979
  },
980
980
  p(h, C) {
981
981
  /*showverifications*/
@@ -994,10 +994,10 @@ function vi(t) {
994
994
  h[43] ? d ? d.p(h, C) : (d = Ve(h), d.c(), d.m(s, null)) : d && (d.d(1), d = null), C[1] & /*dynamicHeight*/
995
995
  128 && m !== (m = /*dynamicHeight*/
996
996
  h[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && k(s, "class", m), /*$xPaymentSessionToken*/
997
- h[43] ? o ? o.p(h, C) : (o = Xe(h), o.c(), o.m(f, null)) : o && (o.d(1), o = null);
997
+ h[43] ? l ? l.p(h, C) : (l = Xe(h), l.c(), l.m(f, null)) : l && (l.d(1), l = null);
998
998
  },
999
999
  d(h) {
1000
- h && g(e), r && r.d(), p && p.d(), w && w.d(), d && d.d(), o && o.d();
1000
+ h && g(e), r && r.d(), p && p.d(), w && w.d(), d && d.d(), l && l.d();
1001
1001
  }
1002
1002
  };
1003
1003
  }
@@ -1005,7 +1005,7 @@ function Ke(t) {
1005
1005
  let e, i;
1006
1006
  return {
1007
1007
  c() {
1008
- e = M("span"), i = R(
1008
+ e = M("span"), i = v(
1009
1009
  /*errorMessage*/
1010
1010
  t[29]
1011
1011
  ), k(e, "class", "CashierErrorText"), k(e, "slot", "text");
@@ -1015,7 +1015,7 @@ function Ke(t) {
1015
1015
  },
1016
1016
  p(s, a) {
1017
1017
  a[0] & /*errorMessage*/
1018
- 536870912 && v(
1018
+ 536870912 && R(
1019
1019
  i,
1020
1020
  /*errorMessage*/
1021
1021
  s[29]
@@ -1036,20 +1036,20 @@ function qe(t) {
1036
1036
  ), r, p, w, d = (
1037
1037
  /*$_*/
1038
1038
  t[42]("continueSession") + ""
1039
- ), o, h, C;
1039
+ ), l, h, C;
1040
1040
  function q(y, N) {
1041
1041
  return (
1042
1042
  /*assetsurl*/
1043
- y[8] ? Yi : Ri
1043
+ y[8] ? Yi : vi
1044
1044
  );
1045
1045
  }
1046
1046
  let B = q(t), J = B(t);
1047
1047
  return {
1048
1048
  c() {
1049
- e = M("div"), J.c(), i = O(), s = M("span"), u = R(a), m = O(), c = M("span"), r = R(f), p = O(), w = M("button"), o = R(d), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText"), k(w, "slot", "button"), k(w, "class", "CashierErrorButton");
1049
+ e = M("div"), J.c(), i = O(), s = M("span"), u = v(a), m = O(), c = M("span"), r = v(f), p = O(), w = M("button"), l = v(d), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText"), k(w, "slot", "button"), k(w, "class", "CashierErrorButton");
1050
1050
  },
1051
1051
  m(y, N) {
1052
- E(y, e, N), J.m(e, null), E(y, i, N), E(y, s, N), b(s, u), E(y, m, N), E(y, c, N), b(c, r), E(y, p, N), E(y, w, N), b(w, o), h || (C = Ae(
1052
+ E(y, e, N), J.m(e, null), E(y, i, N), E(y, s, N), b(s, u), E(y, m, N), E(y, c, N), b(c, r), E(y, p, N), E(y, w, N), b(w, l), h || (C = Ae(
1053
1053
  w,
1054
1054
  "click",
1055
1055
  /*renewSession*/
@@ -1059,18 +1059,18 @@ function qe(t) {
1059
1059
  p(y, N) {
1060
1060
  B === (B = q(y)) && J ? J.p(y, N) : (J.d(1), J = B(y), J && (J.c(), J.m(e, null))), N[1] & /*$_*/
1061
1061
  2048 && a !== (a = /*$_*/
1062
- y[42]("sessionExpiredTitle") + "") && v(u, a), N[1] & /*$_*/
1062
+ y[42]("sessionExpiredTitle") + "") && R(u, a), N[1] & /*$_*/
1063
1063
  2048 && f !== (f = /*$_*/
1064
- y[42]("sessionExpiredText") + "") && v(r, f), N[1] & /*$_*/
1064
+ y[42]("sessionExpiredText") + "") && R(r, f), N[1] & /*$_*/
1065
1065
  2048 && d !== (d = /*$_*/
1066
- y[42]("continueSession") + "") && v(o, d);
1066
+ y[42]("continueSession") + "") && R(l, d);
1067
1067
  },
1068
1068
  d(y) {
1069
1069
  y && (g(e), g(i), g(s), g(m), g(c), g(p), g(w)), J.d(), h = !1, C();
1070
1070
  }
1071
1071
  };
1072
1072
  }
1073
- function Ri(t) {
1073
+ function vi(t) {
1074
1074
  let e, i;
1075
1075
  return {
1076
1076
  c() {
@@ -1113,29 +1113,29 @@ function Pe(t) {
1113
1113
  /*$_*/
1114
1114
  t[42]("maintenanceText") + ""
1115
1115
  ), r;
1116
- function p(o, h) {
1116
+ function p(l, h) {
1117
1117
  return (
1118
1118
  /*assetsurl*/
1119
- o[8] ? Ii : Li
1119
+ l[8] ? Ii : Li
1120
1120
  );
1121
1121
  }
1122
1122
  let w = p(t), d = w(t);
1123
1123
  return {
1124
1124
  c() {
1125
- e = M("div"), d.c(), i = O(), s = M("span"), u = R(a), m = O(), c = M("span"), r = R(f), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText");
1125
+ e = M("div"), d.c(), i = O(), s = M("span"), u = v(a), m = O(), c = M("span"), r = v(f), k(e, "slot", "icon"), k(e, "class", "CashierErrorIcon"), k(s, "slot", "title"), k(s, "class", "CashierErrorTitle"), k(c, "slot", "text"), k(c, "class", "CashierErrorText");
1126
1126
  },
1127
- m(o, h) {
1128
- E(o, e, h), d.m(e, null), E(o, i, h), E(o, s, h), b(s, u), E(o, m, h), E(o, c, h), b(c, r);
1127
+ m(l, h) {
1128
+ E(l, e, h), d.m(e, null), E(l, i, h), E(l, s, h), b(s, u), E(l, m, h), E(l, c, h), b(c, r);
1129
1129
  },
1130
- p(o, h) {
1131
- w === (w = p(o)) && d ? d.p(o, h) : (d.d(1), d = w(o), d && (d.c(), d.m(e, null))), h[1] & /*$_*/
1130
+ p(l, h) {
1131
+ w === (w = p(l)) && d ? d.p(l, h) : (d.d(1), d = w(l), d && (d.c(), d.m(e, null))), h[1] & /*$_*/
1132
1132
  2048 && a !== (a = /*$_*/
1133
- o[42]("maintenanceTitle") + "") && v(u, a), h[1] & /*$_*/
1133
+ l[42]("maintenanceTitle") + "") && R(u, a), h[1] & /*$_*/
1134
1134
  2048 && f !== (f = /*$_*/
1135
- o[42]("maintenanceText") + "") && v(r, f);
1135
+ l[42]("maintenanceText") + "") && R(r, f);
1136
1136
  },
1137
- d(o) {
1138
- o && (g(e), g(i), g(s), g(m), g(c)), d.d();
1137
+ d(l) {
1138
+ l && (g(e), g(i), g(s), g(m), g(c)), d.d();
1139
1139
  }
1140
1140
  };
1141
1141
  }
@@ -1800,12 +1800,12 @@ function Bi(t) {
1800
1800
  ), r = (
1801
1801
  /*lang*/
1802
1802
  t[2] && /*isTranslationLoaded*/
1803
- t[27] && ve(t)
1803
+ t[27] && Re(t)
1804
1804
  );
1805
- function p(o, h) {
1805
+ function p(l, h) {
1806
1806
  return !/*errorMessage*/
1807
- o[29] && !/*errorResponseCode*/
1808
- o[30] ? vi : Si;
1807
+ l[29] && !/*errorResponseCode*/
1808
+ l[30] ? Ri : Si;
1809
1809
  }
1810
1810
  let w = p(t), d = w(t);
1811
1811
  return {
@@ -1826,69 +1826,69 @@ function Bi(t) {
1826
1826
  t[38] !== K
1827
1827
  );
1828
1828
  },
1829
- m(o, h) {
1830
- c && c.m(o, h), E(o, e, h), E(o, i, h), f && f.m(i, null), b(i, s), r && r.m(i, null), b(i, a), d.m(i, null), t[51](i), m = Ei(
1829
+ m(l, h) {
1830
+ c && c.m(l, h), E(l, e, h), E(l, i, h), f && f.m(i, null), b(i, s), r && r.m(i, null), b(i, a), d.m(i, null), t[51](i), m = Ei(
1831
1831
  i,
1832
1832
  /*div_elementresize_handler*/
1833
1833
  t[52].bind(i)
1834
1834
  );
1835
1835
  },
1836
- p(o, h) {
1836
+ p(l, h) {
1837
1837
  /*showSpinner*/
1838
- o[37] ? c ? c.p(o, h) : (c = ze(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*isProcessingTxn*/
1839
- o[26] ? f || (f = Se(), f.c(), f.m(i, s)) : f && (f.d(1), f = null), /*lang*/
1840
- o[2] && /*isTranslationLoaded*/
1841
- o[27] ? r ? r.p(o, h) : (r = ve(o), r.c(), r.m(i, a)) : r && (r.d(1), r = null), w === (w = p(o)) && d ? d.p(o, h) : (d.d(1), d = w(o), d && (d.c(), d.m(i, null))), h[0] & /*showMethodDetailsPage*/
1838
+ l[37] ? c ? c.p(l, h) : (c = ze(l), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*isProcessingTxn*/
1839
+ l[26] ? f || (f = Se(), f.c(), f.m(i, s)) : f && (f.d(1), f = null), /*lang*/
1840
+ l[2] && /*isTranslationLoaded*/
1841
+ l[27] ? r ? r.p(l, h) : (r = Re(l), r.c(), r.m(i, a)) : r && (r.d(1), r = null), w === (w = p(l)) && d ? d.p(l, h) : (d.d(1), d = w(l), d && (d.c(), d.m(i, null))), h[0] & /*showMethodDetailsPage*/
1842
1842
  268435456 && u !== (u = /*showMethodDetailsPage*/
1843
- o[28] ? "CashierPageWidget BothSections" : "CashierPageWidget") && k(i, "class", u), h[0] & /*showMethodDetailsPage, mobileView*/
1843
+ l[28] ? "CashierPageWidget BothSections" : "CashierPageWidget") && k(i, "class", u), h[0] & /*showMethodDetailsPage, mobileView*/
1844
1844
  276824064 && Q(
1845
1845
  i,
1846
1846
  "MobileView",
1847
1847
  /*mobileView*/
1848
- o[23] === "true"
1848
+ l[23] === "true"
1849
1849
  ), h[0] & /*showMethodDetailsPage*/
1850
1850
  268435456 | h[1] & /*dynamicHeight*/
1851
1851
  128 && Q(
1852
1852
  i,
1853
1853
  "FixedHeight",
1854
1854
  /*dynamicHeight*/
1855
- o[38] !== K
1855
+ l[38] !== K
1856
1856
  );
1857
1857
  },
1858
1858
  i: _,
1859
1859
  o: _,
1860
- d(o) {
1861
- o && (g(e), g(i)), c && c.d(o), f && f.d(), r && r.d(), d.d(), t[51](null), m();
1860
+ d(l) {
1861
+ l && (g(e), g(i)), c && c.d(l), f && f.d(), r && r.d(), d.d(), t[51](null), m();
1862
1862
  }
1863
1863
  };
1864
1864
  }
1865
1865
  const K = "100%";
1866
1866
  function Di(t, e, i) {
1867
1867
  let s, a;
1868
- Ce(t, Ni, (l) => i(42, s = l)), Ce(t, x, (l) => i(43, a = l)), Ze.extend(Ci);
1868
+ Ce(t, Ni, (o) => i(42, s = o)), Ce(t, x, (o) => i(43, a = o)), Ze.extend(Ci);
1869
1869
  var u;
1870
- (function(l) {
1871
- l.Default = "Default", l.RedirectWithRetry = "Redirect";
1870
+ (function(o) {
1871
+ o.Default = "Default", o.RedirectWithRetry = "Redirect";
1872
1872
  })(u || (u = {}));
1873
- const m = (l, [T, W]) => [
1874
- ...l,
1873
+ const m = (o, [T, W]) => [
1874
+ ...o,
1875
1875
  ...Array.isArray(T) ? [...T.map((Z) => [Z, W])] : [[T, W]]
1876
1876
  ];
1877
1877
  new Map([
1878
1878
  [["Default", 0], u.Default],
1879
1879
  [["Redirect", 1], u.RedirectWithRetry]
1880
1880
  ].reduce(m, []));
1881
- let { endpoint: c } = e, { session: f } = e, { lang: r = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: o } = e, { cancelurl: h } = e, { customerid: C } = e, { currency: q } = e, { amount: B } = e, { assetsurl: J } = e, { type: y = Qe.Deposit } = e, { channel: N = xe.Desktop } = e, { showheader: ae = "true" } = e, { numberofmethodsshown: re } = e, { clientstyling: U = "" } = e, { clientstylingurl: j = "" } = e, { showsessionexpirationmodal: ce = "true" } = e, { showverifications: he = "true" } = e, { showtransactionhistory: fe = "true" } = e, { showclosebutton: ue = "false" } = e, { txncount: me } = e, Y = {}, $e = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), S, P, de, $ = !1, ee, ie, V, G = !1, te, L, we, pe, ge, Ee, se, ne, Me = !0, le = K, F = !1, X = !1, ke = "";
1881
+ let { endpoint: c } = e, { session: f } = e, { lang: r = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: l } = e, { cancelurl: h } = e, { customerid: C } = e, { currency: q } = e, { amount: B } = e, { assetsurl: J } = e, { type: y = Qe.Deposit } = e, { channel: N = xe.Desktop } = e, { showheader: ae = "true" } = e, { numberofmethodsshown: re } = e, { clientstyling: U = "" } = e, { clientstylingurl: j = "" } = e, { showsessionexpirationmodal: ce = "true" } = e, { showverifications: he = "true" } = e, { showtransactionhistory: fe = "true" } = e, { showclosebutton: ue = "false" } = e, { txncount: me } = e, Y = {}, $e = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), S, P, de, $ = !1, ee, ie, V, G = !1, te, L, we, pe, ge, Ee, se, ne, Me = !0, oe = K, F = !1, X = !1, ke = "";
1882
1882
  const ei = () => {
1883
1883
  Zi(r);
1884
1884
  };
1885
- Object.keys(We).forEach((l) => {
1886
- Je(l, We[l]);
1885
+ Object.keys(We).forEach((o) => {
1886
+ Je(o, We[o]);
1887
1887
  }), w || (V = !0);
1888
1888
  const ii = () => {
1889
- let l = w;
1890
- if (l)
1891
- return fetch(l).then((T) => T.json()).then((T) => {
1889
+ let o = w;
1890
+ if (o)
1891
+ return fetch(o).then((T) => T.json()).then((T) => {
1892
1892
  Object.keys(T).forEach((W) => {
1893
1893
  Je(W, T[W]), i(27, V = !0);
1894
1894
  });
@@ -1899,7 +1899,7 @@ function Di(t, e, i) {
1899
1899
  i(28, G = !1), i(22, Y = {}), D();
1900
1900
  }, be = () => {
1901
1901
  x.set(null);
1902
- const l = new URL(`${c}/v2/player/${C}/payment/GetPaymentSession`), T = new Headers();
1902
+ const o = new URL(`${c}/v2/player/${C}/payment/GetPaymentSession`), T = new Headers();
1903
1903
  T.append("accept", "application/json"), T.append("Content-Type", "application/json"), T.append("X-SessionId", `${f}`), T.append("X-Client-Request-Timestamp", Ze.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
1904
1904
  const W = {
1905
1905
  method: "POST",
@@ -1910,7 +1910,7 @@ function Di(t, e, i) {
1910
1910
  Type: y,
1911
1911
  SuccessUrl: d,
1912
1912
  CancelUrl: h,
1913
- FailUrl: o,
1913
+ FailUrl: l,
1914
1914
  Language: r,
1915
1915
  Tags: {
1916
1916
  UserAgent: window.navigator.userAgent,
@@ -1918,7 +1918,7 @@ function Di(t, e, i) {
1918
1918
  }
1919
1919
  })
1920
1920
  };
1921
- fetch(l, W).then((Z) => Z.json()).then((Z) => {
1921
+ fetch(o, W).then((Z) => Z.json()).then((Z) => {
1922
1922
  if (Z.errorCode === _e.InvalidSession) {
1923
1923
  i(30, L = z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), A();
1924
1924
  return;
@@ -1939,13 +1939,13 @@ function Di(t, e, i) {
1939
1939
  G && ye() && !L ? (i(35, se = Y.Label || Y.Name), i(36, ne = "true")) : (i(35, se = `header.${y.toLowerCase()}`), i(36, ne = "false"));
1940
1940
  }, si = () => {
1941
1941
  i(23, de = ye().toString()), D();
1942
- }, ye = () => P < 750, He = (l) => {
1942
+ }, ye = () => P < 750, He = (o) => {
1943
1943
  Te({
1944
- Name: l.detail.Name,
1945
- Label: l.detail.Label
1944
+ Name: o.detail.Name,
1945
+ Label: o.detail.Label
1946
1946
  });
1947
- }, Te = (l) => {
1948
- i(22, Y.Name = l.Name, Y), i(22, Y.Label = l.Label, Y), i(28, G = !0), D();
1947
+ }, Te = (o) => {
1948
+ i(22, Y.Name = o.Name, Y), i(22, Y.Label = o.Label, Y), i(28, G = !0), D();
1949
1949
  }, A = () => {
1950
1950
  window.postMessage(
1951
1951
  {
@@ -1955,11 +1955,11 @@ function Di(t, e, i) {
1955
1955
  window.location.href
1956
1956
  );
1957
1957
  }, ni = () => {
1958
- let l = document.createElement("style");
1959
- l.innerHTML = U, S.appendChild(l);
1960
- }, li = () => {
1961
- let l = new URL(j), T = document.createElement("style");
1962
- fetch(l.href).then((W) => W.text()).then((W) => {
1958
+ let o = document.createElement("style");
1959
+ o.innerHTML = U, S.appendChild(o);
1960
+ }, oi = () => {
1961
+ let o = new URL(j), T = document.createElement("style");
1962
+ fetch(o.href).then((W) => W.text()).then((W) => {
1963
1963
  T.innerHTML = W, setTimeout(
1964
1964
  () => {
1965
1965
  S.appendChild(T);
@@ -1971,8 +1971,8 @@ function Di(t, e, i) {
1971
1971
  500
1972
1972
  );
1973
1973
  });
1974
- }, oi = (l) => {
1975
- i(28, G = !l.hideMethodDetails), D();
1974
+ }, li = (o) => {
1975
+ i(28, G = !o.hideMethodDetails), D();
1976
1976
  };
1977
1977
  ki(() => (window.addEventListener("selectPayMeth", He, !1), window.addEventListener("message", Ne, !1), () => {
1978
1978
  window.removeEventListener("selectPayMeth", He), window.removeEventListener("message", Ne);
@@ -1983,34 +1983,34 @@ function Di(t, e, i) {
1983
1983
  i(30, L = null), i(25, ee = null), x.set(null), ti(), i(39, F = !1), A(), be();
1984
1984
  }, Oe = () => {
1985
1985
  i(24, $ = !1);
1986
- }, Ne = (l) => {
1987
- if (l.data.type === "ShowSessionError" && i(29, te = l.data.error), l.data.type === "ToggleDisableActionOnPage" && i(26, ie = l.data.disable), l.data.type === "ErrorResponseCode" && (i(30, L = l.data.errorResponseCode), D()), l.data.type === "ShowConfirmModal" && (i(24, $ = l.data.showConfirmModal), i(31, we = l.data.editedAmount), i(32, pe = l.data.hideAmountField)), l.data.type === "RedirectInfo" && (i(25, ee = l.data.redirectUrl), i(33, ge = l.data.redirectMode), D()), l.data.type === "ShowCashierModal" && i(34, Ee = l.data.modalErrorMessage), l.data.type === "SessionExpired" && (i(30, L = z.JwtTokenError), i(39, F = !0), Oe(), oe(), A()), l.data.type === "HidePaymentDetails" && oi(l.data.details), l.data.type === "CloseModal" && Oe(), l.data.type === "SelectPayMeth" && Te(l.data.details), l.data.type === "Show2FAModal" && (i(39, F = !0), i(41, ke = l.data.RedirectUrl), i(40, X = !0), window.postMessage({ type: "ShowCashierModal" })), l.data.type === "DataLoading" && i(37, Me = !l.data.isDataLoaded), l.data.type === "ShowCashierVideoModal") {
1986
+ }, Ne = (o) => {
1987
+ if (o.data.type === "ShowSessionError" && i(29, te = o.data.error), o.data.type === "ToggleDisableActionOnPage" && i(26, ie = o.data.disable), o.data.type === "ErrorResponseCode" && (i(30, L = o.data.errorResponseCode), D()), o.data.type === "ShowConfirmModal" && (i(24, $ = o.data.showConfirmModal), i(31, we = o.data.editedAmount), i(32, pe = o.data.hideAmountField)), o.data.type === "RedirectInfo" && (i(25, ee = o.data.redirectUrl), i(33, ge = o.data.redirectMode), D()), o.data.type === "ShowCashierModal" && i(34, Ee = o.data.modalErrorMessage), o.data.type === "SessionExpired" && (i(30, L = z.JwtTokenError), i(39, F = !0), Oe(), le(), A()), o.data.type === "HidePaymentDetails" && li(o.data.details), o.data.type === "CloseModal" && Oe(), o.data.type === "SelectPayMeth" && Te(o.data.details), o.data.type === "Show2FAModal" && (i(39, F = !0), i(41, ke = o.data.RedirectUrl), i(40, X = !0), window.postMessage({ type: "ShowCashierModal" })), o.data.type === "DataLoading" && i(37, Me = !o.data.isDataLoaded), o.data.type === "ShowCashierVideoModal") {
1988
1988
  const T = S.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, Z = Math.max(T.top, 0), fi = Math.min(T.bottom, W), ui = Math.max(0, fi - Z);
1989
- oe(`${ui}px`);
1989
+ le(`${ui}px`);
1990
1990
  }
1991
- l.data.type === "ClosedCashierVideoModal" && oe(), l.data.ResponseCode === "Success" && l.data.ValidationNonce && (window.postMessage({
1991
+ o.data.type === "ClosedCashierVideoModal" && le(), o.data.ResponseCode === "Success" && o.data.ValidationNonce && (window.postMessage({
1992
1992
  type: "2FAResponse",
1993
- code: l.data.ValidationNonce
1994
- }), i(40, X = !1), i(39, F = !1)), l.data.ResponseCode === "CancelledByCustomer" && (window.postMessage({ type: "2FACancel" }), i(40, X = !1), i(39, F = !1), i(26, ie = !1));
1995
- }, oe = (l = K) => {
1996
- i(38, le = l), S.style.setProperty("--mmw-cashier-page-height", le);
1993
+ code: o.data.ValidationNonce
1994
+ }), i(40, X = !1), i(39, F = !1)), (o.data.ResponseCode === "CancelledByCustomer" || o.data.ResponseCode === "AuthenticationFailed") && (window.postMessage({ type: "2FACancel" }), i(40, X = !1), i(39, F = !1), i(26, ie = !1));
1995
+ }, le = (o = K) => {
1996
+ i(38, oe = o), S.style.setProperty("--mmw-cashier-page-height", oe);
1997
1997
  };
1998
- function ci(l) {
1999
- yi[l ? "unshift" : "push"](() => {
2000
- S = l, i(19, S);
1998
+ function ci(o) {
1999
+ yi[o ? "unshift" : "push"](() => {
2000
+ S = o, i(19, S);
2001
2001
  });
2002
2002
  }
2003
2003
  function hi() {
2004
2004
  P = this.clientWidth, i(20, P);
2005
2005
  }
2006
- return t.$$set = (l) => {
2007
- "endpoint" in l && i(0, c = l.endpoint), "session" in l && i(1, f = l.session), "lang" in l && i(2, r = l.lang), "local" in l && i(3, p = l.local), "translationurl" in l && i(4, w = l.translationurl), "successurl" in l && i(47, d = l.successurl), "failurl" in l && i(48, o = l.failurl), "cancelurl" in l && i(49, h = l.cancelurl), "customerid" in l && i(5, C = l.customerid), "currency" in l && i(6, q = l.currency), "amount" in l && i(7, B = l.amount), "assetsurl" in l && i(8, J = l.assetsurl), "type" in l && i(9, y = l.type), "channel" in l && i(50, N = l.channel), "showheader" in l && i(10, ae = l.showheader), "numberofmethodsshown" in l && i(11, re = l.numberofmethodsshown), "clientstyling" in l && i(12, U = l.clientstyling), "clientstylingurl" in l && i(13, j = l.clientstylingurl), "showsessionexpirationmodal" in l && i(14, ce = l.showsessionexpirationmodal), "showverifications" in l && i(15, he = l.showverifications), "showtransactionhistory" in l && i(16, fe = l.showtransactionhistory), "showclosebutton" in l && i(17, ue = l.showclosebutton), "txncount" in l && i(18, me = l.txncount);
2006
+ return t.$$set = (o) => {
2007
+ "endpoint" in o && i(0, c = o.endpoint), "session" in o && i(1, f = o.session), "lang" in o && i(2, r = o.lang), "local" in o && i(3, p = o.local), "translationurl" in o && i(4, w = o.translationurl), "successurl" in o && i(47, d = o.successurl), "failurl" in o && i(48, l = o.failurl), "cancelurl" in o && i(49, h = o.cancelurl), "customerid" in o && i(5, C = o.customerid), "currency" in o && i(6, q = o.currency), "amount" in o && i(7, B = o.amount), "assetsurl" in o && i(8, J = o.assetsurl), "type" in o && i(9, y = o.type), "channel" in o && i(50, N = o.channel), "showheader" in o && i(10, ae = o.showheader), "numberofmethodsshown" in o && i(11, re = o.numberofmethodsshown), "clientstyling" in o && i(12, U = o.clientstyling), "clientstylingurl" in o && i(13, j = o.clientstylingurl), "showsessionexpirationmodal" in o && i(14, ce = o.showsessionexpirationmodal), "showverifications" in o && i(15, he = o.showverifications), "showtransactionhistory" in o && i(16, fe = o.showtransactionhistory), "showclosebutton" in o && i(17, ue = o.showclosebutton), "txncount" in o && i(18, me = o.txncount);
2008
2008
  }, t.$$.update = () => {
2009
2009
  t.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
2010
2010
  551 | t.$$.dirty[1] & /*channel, successurl, failurl, cancelurl*/
2011
- 983040 && c && f && C && r && N && y && d && o && h && be(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2011
+ 983040 && c && f && C && r && N && y && d && l && h && be(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2012
2012
  528384 && U && S && ni(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2013
- 532480 && j && S && li(), t.$$.dirty[0] & /*lang*/
2013
+ 532480 && j && S && oi(), t.$$.dirty[0] & /*lang*/
2014
2014
  4 && r && ei(), t.$$.dirty[0] & /*lang*/
2015
2015
  4 && r && D(), t.$$.dirty[0] & /*lang, translationurl*/
2016
2016
  20 && r && w && ii(), t.$$.dirty[0] & /*widgetWidth*/
@@ -2054,7 +2054,7 @@ function Di(t, e, i) {
2054
2054
  se,
2055
2055
  ne,
2056
2056
  Me,
2057
- le,
2057
+ oe,
2058
2058
  F,
2059
2059
  X,
2060
2060
  ke,
@@ -2064,7 +2064,7 @@ function Di(t, e, i) {
2064
2064
  ai,
2065
2065
  ri,
2066
2066
  d,
2067
- o,
2067
+ l,
2068
2068
  h,
2069
2069
  N,
2070
2070
  ci,