@everymatrix/cashier-page-nd 1.69.123 → 1.69.124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { a as mi, i as hi, $ as pi, S as gi, b as bi, f as O, s as wi, E as ki, c as vi, G as Ve, e as _, o as a, V as Fe, l as d, L as yi, k as M, a3 as _i, m, n as E, K as Ci, p as ht, q as Mi, N as Si, r as Rt, M as Te, y as Re, A as n, v as F, w as R, x as Q, z as ie, Q as te, W as jt, R as pt, Z as Bi, P as gt, F as Li } from "./CashierCarousel-U2ysEkZo.js";
1
+ import { a as mi, i as hi, $ as pi, S as gi, b as bi, f as O, s as wi, E as ki, c as vi, G as Ve, e as _, o as a, V as Fe, l as d, L as yi, k as M, a3 as _i, m, n as E, K as Ci, p as ht, q as Mi, N as Si, r as Rt, M as Ee, y as Re, A as n, v as F, w as R, x as Q, z as ie, Q as te, W as jt, R as pt, Z as Bi, P as gt, F as Li } from "./CashierCarousel-U2ysEkZo.js";
2
2
  import { d as bt, u as Di, x as je, a as Ti } from "./CashierMethodDetails-D0wpum5b.js";
3
3
  import "./CashierIframeRedirect-Hz0t-XHA.js";
4
4
  import "../stencil/ui-image-CNaRr0ax.js";
@@ -115,7 +115,7 @@ const kt = {
115
115
  }
116
116
  };
117
117
  var Vt = /* @__PURE__ */ ((i) => (i.Deposit = "Deposit", i.Withdraw = "Withdraw", i))(Vt || {}), Yt = /* @__PURE__ */ ((i) => (i.Desktop = "Desktop", i.Mobile = "Mobile", i.NativeApp = "NativeApp", i))(Yt || {}), be = /* @__PURE__ */ ((i) => (i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError", i.Maintenance = "Maintenance", i.InvalidSession = "InvalidSession", i))(be || {}), Ut = /* @__PURE__ */ ((i) => (i[i.InvalidSession = 1] = "InvalidSession", i))(Ut || {});
118
- let Ee = 0, Pe = 0, Ye = !1, Pi = 600, se = window.innerWidth, j, H, we, me = !1, ke = null;
118
+ let Pe = 0, Oe = 0, Ye = !1, Pi = 600, se = window.innerWidth, j, H, we, me = !1, ke = null;
119
119
  const Oi = () => (we == null ? void 0 : we.clientWidth) || document.documentElement.clientWidth || window.innerWidth, Xe = () => {
120
120
  se = Oi();
121
121
  }, Wi = (i, e, t, s) => {
@@ -137,12 +137,12 @@ const Oi = () => (we == null ? void 0 : we.clientWidth) || document.documentElem
137
137
  }, zi = () => {
138
138
  H.removeEventListener("touchstart", qt), H.removeEventListener("touchmove", Kt), H.removeEventListener("touchend", Xt), ke && (clearTimeout(ke), ke = null);
139
139
  }, qt = (i) => {
140
- me && (Xe(), Ee = i.touches[0].clientX, Pe = Ee, Ye = !1, j.style.transition = "none", H.style.transition = "none");
140
+ me && (Xe(), Pe = i.touches[0].clientX, Oe = Pe, Ye = !1, j.style.transition = "none", H.style.transition = "none");
141
141
  }, Kt = (i) => {
142
142
  if (!me)
143
143
  return;
144
- Pe = i.touches[0].clientX;
145
- const e = Pe - Ee;
144
+ Oe = i.touches[0].clientX;
145
+ const e = Oe - Pe;
146
146
  if (e > 50) {
147
147
  i.preventDefault(), Ye = !0;
148
148
  const s = Math.min(e, se), o = -se + s;
@@ -151,10 +151,10 @@ const Oi = () => (we == null ? void 0 : we.clientWidth) || document.documentElem
151
151
  }, Xt = () => {
152
152
  if (!me)
153
153
  return;
154
- const i = Pe - Ee, e = Math.abs(i) / 300;
154
+ const i = Oe - Pe, e = Math.abs(i) / 300;
155
155
  j.style.transition = "transform 0.3s ease", H.style.transition = "transform 0.3s ease";
156
156
  const t = i > Pi || i > se * 0.3 || e > 0.5;
157
- Ye && (t ? xe() : (j.style.transform = `translate3d(${ve(-se)},0,0)`, H.style.transform = "translate3d(0,0,0)")), Ye = !1, Ee = 0, Pe = 0, ke && clearTimeout(ke), ke = setTimeout(() => {
157
+ Ye && (t ? xe() : (j.style.transform = `translate3d(${ve(-se)},0,0)`, H.style.transform = "translate3d(0,0,0)")), Ye = !1, Pe = 0, Oe = 0, ke && clearTimeout(ke), ke = setTimeout(() => {
158
158
  H.classList.contains("Visible") || (j.style.transform = "", H.style.transform = "");
159
159
  }, 300);
160
160
  };
@@ -282,7 +282,7 @@ if (typeof window != "undefined") {
282
282
  }
283
283
  };
284
284
  };
285
- customElements.define = i(customElements.define), import("./CashierStepUp-DAwEA9m8.js").then(({ default: e }) => {
285
+ customElements.define = i(customElements.define), import("./CashierStepUp-DfbtzI5v.js").then(({ default: e }) => {
286
286
  !customElements.get("cashier-step-up") && customElements.define("cashier-step-up", e.element);
287
287
  });
288
288
  }
@@ -762,7 +762,7 @@ function Fi(i) {
762
762
  };
763
763
  }
764
764
  function Ri(i) {
765
- let e, t, s, o, l, c, u, f, k = !Te(
765
+ let e, t, s, o, l, c, u, f, k = !Ee(
766
766
  /*userAgent*/
767
767
  i[61]
768
768
  ) && /*showSeparator*/
@@ -860,7 +860,7 @@ function Ri(i) {
860
860
  g[59] ? z ? z.p(g, D) : (z = Ot(g), z.c(), z.m(s, null)) : z && (z.d(1), z = null), D[1] & /*dynamicHeight*/
861
861
  262144 && u !== (u = /*dynamicHeight*/
862
862
  g[49] !== ye ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && a(s, "class", u), D[1] & /*showSeparator*/
863
- 4194304 && (k = !Te(
863
+ 4194304 && (k = !Ee(
864
864
  /*userAgent*/
865
865
  g[61]
866
866
  ) && /*showSeparator*/
@@ -2607,25 +2607,25 @@ function ts(i, e, t) {
2607
2607
  [["Default", 0], l.Default],
2608
2608
  [["Redirect", 1], l.RedirectWithRetry]
2609
2609
  ].reduce(c, []));
2610
- let { endpoint: u } = e, { session: f } = e, { lang: k = "en" } = e, { local: w = "en-US" } = e, { translationurl: h } = e, { successurl: p } = e, { failurl: v } = e, { cancelurl: C } = e, { customerid: B } = e, { currency: b } = e, { amount: y } = e, { assetsurl: S } = e, { type: T = Vt.Deposit } = e, { channel: P = Yt.Desktop } = e, { showheader: z = "true" } = e, { numberofmethodsshown: A } = e, { clientstyling: W = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: I = "" } = e, { showsessionexpirationmodal: L = "true" } = e, { showverifications: g = "true" } = e, { showtransactionhistory: D = "false" } = e, { showclosebutton: G = "false" } = e, { txncount: ne = "3" } = e, { depositlimitbutton: oe = "false" } = e, { currencydecimals: re = "2" } = e, { transactionhistorycolumns: _e = "Code,Date,Type,StatusIcon" } = e, { dateformat: x = "DD.MM.YYYY" } = e, { datetimeformat: le = "DD.MM.YYYY HH:mm:ss" } = e, { customsucceessbuttons: he = "" } = e, { custompendingbuttons: ae = "" } = e, { customfailedbuttons: ce = "" } = e, { skipconfirmation: Ce = "" } = e, { currencysymbol: ue = "true" } = e, { currencyposition: pe = "" } = e, J = {}, Z, Y, ee, U, Oe, We, ge = !1, Me, X, Je, Ue, Ge, Ze = !0, qe = ye, Se, Be, Le, Ae = window.navigator.userAgent, Ie = "closed", Qe = {}, ze = "false";
2610
+ let { endpoint: u } = e, { session: f } = e, { lang: k = "en" } = e, { local: w = "en-US" } = e, { translationurl: h } = e, { successurl: p } = e, { failurl: v } = e, { cancelurl: C } = e, { customerid: B } = e, { currency: b } = e, { amount: y } = e, { assetsurl: S } = e, { type: T = Vt.Deposit } = e, { channel: P = Yt.Desktop } = e, { showheader: z = "true" } = e, { numberofmethodsshown: A } = e, { clientstyling: W = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: I = "" } = e, { showsessionexpirationmodal: L = "true" } = e, { showverifications: g = "true" } = e, { showtransactionhistory: D = "false" } = e, { showclosebutton: G = "false" } = e, { txncount: ne = "3" } = e, { depositlimitbutton: oe = "false" } = e, { currencydecimals: re = "2" } = e, { transactionhistorycolumns: _e = "Code,Date,Type,StatusIcon" } = e, { dateformat: x = "DD.MM.YYYY" } = e, { datetimeformat: le = "DD.MM.YYYY HH:mm:ss" } = e, { customsucceessbuttons: he = "" } = e, { custompendingbuttons: ae = "" } = e, { customfailedbuttons: ce = "" } = e, { skipconfirmation: Ce = "" } = e, { currencysymbol: ue = "true" } = e, { currencyposition: pe = "" } = e, J = {}, Z, Y, ee, U, We, Ae, ge = !1, Me, X, Je, Ue, Ge, Ze = !0, qe = ye, Se, Be, Le, Ie = window.navigator.userAgent, De = "closed", Qe = {}, ze = "false";
2611
2611
  const xt = () => {
2612
2612
  Ei(k);
2613
2613
  };
2614
2614
  Object.keys(kt).forEach((r) => {
2615
2615
  wt(r, kt[r]);
2616
- }), h || (We = !0);
2616
+ }), h || (Ae = !0);
2617
2617
  const Jt = () => {
2618
2618
  let r = h;
2619
2619
  if (r)
2620
2620
  return fetch(r).then((N) => N.json()).then((N) => {
2621
2621
  Object.keys(N).forEach((q) => {
2622
- wt(q, N[q]), t(43, We = !0);
2622
+ wt(q, N[q]), t(43, Ae = !0);
2623
2623
  });
2624
2624
  }).catch((N) => {
2625
- t(43, We = !0), console.log(N);
2625
+ t(43, Ae = !0), console.log(N);
2626
2626
  });
2627
2627
  }, $e = () => {
2628
- t(44, ge = !1), t(39, J = {}), t(34, X = ""), t(53, He = !1), de();
2628
+ t(44, ge = !1), t(39, J = {}), t(34, X = ""), t(53, He = !1), t(50, De = "closed"), de();
2629
2629
  }, et = () => {
2630
2630
  je.set(null);
2631
2631
  const r = new URL(`${u}/v2/player/${B}/payment/GetPaymentSession`), N = new Headers();
@@ -2672,9 +2672,9 @@ function ts(i, e, t) {
2672
2672
  window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(K);
2673
2673
  });
2674
2674
  }, de = () => {
2675
- ge && Te(Ae) && !X ? (t(46, Ue = J.Label || J.Name), t(47, Ge = "true")) : (t(46, Ue = `header.${T.toLowerCase()}`), t(47, Ge = "false"));
2675
+ ge && Ee(Ie) && !X ? (t(46, Ue = J.Label || J.Name), t(47, Ge = "true")) : (t(46, Ue = `header.${T.toLowerCase()}`), t(47, Ge = "false"));
2676
2676
  }, Zt = () => {
2677
- t(40, ee = Te(Ae)), de();
2677
+ t(40, ee = Ee(Ie)), de();
2678
2678
  }, tt = (r) => {
2679
2679
  it({
2680
2680
  Name: r.detail.Name,
@@ -2714,14 +2714,14 @@ function ts(i, e, t) {
2714
2714
  }, nt = (r) => {
2715
2715
  console.log("e", r);
2716
2716
  }, ot = (r) => {
2717
- De(), window.postMessage({ type: "OtpCancalled" });
2717
+ Te(), window.postMessage({ type: "OtpCancalled" });
2718
2718
  }, rt = (r) => {
2719
2719
  window.postMessage({ type: "OtpSuccessfull" }, window.location.href), t(52, ze = "true");
2720
2720
  }, lt = (r) => {
2721
- De(), t(42, Oe = !1), window.postMessage({ type: "OtpCancalled" }), window.postMessage(
2721
+ Te(), t(42, We = !1), window.postMessage({ type: "OtpCancalled" }), window.postMessage(
2722
2722
  {
2723
2723
  type: "ToggleDisableActionOnPage",
2724
- disable: Oe
2724
+ disable: We
2725
2725
  },
2726
2726
  window.location.href
2727
2727
  );
@@ -2749,7 +2749,7 @@ function ts(i, e, t) {
2749
2749
  t(33, Me = r.data.error);
2750
2750
  break;
2751
2751
  case "ToggleDisableActionOnPage":
2752
- t(42, Oe = r.data.disable);
2752
+ t(42, We = r.data.disable);
2753
2753
  break;
2754
2754
  case "ErrorResponseCode":
2755
2755
  t(34, X = r.data.errorResponseCode), de();
@@ -2786,9 +2786,9 @@ function ts(i, e, t) {
2786
2786
  window.postMessage({
2787
2787
  type: "BonusSelection",
2788
2788
  bonus: Ke[r]
2789
- }), De();
2789
+ }), Te();
2790
2790
  }, mt = (r) => {
2791
- switch (t(50, Ie = r.detail.type), t(52, ze = "false"), Ie) {
2791
+ switch (t(50, De = r.detail.type), t(52, ze = "false"), De) {
2792
2792
  case "bonusList":
2793
2793
  t(55, Ke = r.detail.data), t(56, fe = []), t(57, $ = []);
2794
2794
  break;
@@ -2799,10 +2799,10 @@ function ts(i, e, t) {
2799
2799
  t(51, Qe = r.detail.data);
2800
2800
  break;
2801
2801
  }
2802
- }, De = () => {
2803
- t(50, Ie = "closed"), t(52, ze = "false"), t(34, X = "");
2802
+ }, Te = () => {
2803
+ t(50, De = "closed"), t(52, ze = "false"), t(34, X = "");
2804
2804
  }, si = () => {
2805
- window.postMessage({ type: "ConfirmPayment" }, window.location.href), De();
2805
+ window.postMessage({ type: "ConfirmPayment" }, window.location.href), Te();
2806
2806
  }, ni = (r = ye) => {
2807
2807
  t(49, qe = r), Z.style.setProperty("--emw-cashier-page-height", qe);
2808
2808
  };
@@ -2851,7 +2851,7 @@ function ts(i, e, t) {
2851
2851
  4 && k && de(), i.$$.dirty[0] & /*lang, translationurl*/
2852
2852
  20 && k && h && Jt(), i.$$.dirty[1] & /*widgetWidth*/
2853
2853
  2 && Y && Zt(), i.$$.dirty[1] & /*methodsListWarpper, methodDetailsWarpper, scrollContainer, errorMessage, errorResponseCode*/
2854
- 124 && Se && Be && Le && !Me && !X && Wi(Se, Be, Le, Te(Ae));
2854
+ 124 && Se && Be && Le && !Me && !X && Wi(Se, Be, Le, Ee(Ie));
2855
2855
  }, [
2856
2856
  u,
2857
2857
  f,
@@ -2895,15 +2895,15 @@ function ts(i, e, t) {
2895
2895
  J,
2896
2896
  ee,
2897
2897
  U,
2898
- Oe,
2899
2898
  We,
2899
+ Ae,
2900
2900
  ge,
2901
2901
  Je,
2902
2902
  Ue,
2903
2903
  Ge,
2904
2904
  Ze,
2905
2905
  qe,
2906
- Ie,
2906
+ De,
2907
2907
  Qe,
2908
2908
  ze,
2909
2909
  He,
@@ -2914,13 +2914,13 @@ function ts(i, e, t) {
2914
2914
  ut,
2915
2915
  s,
2916
2916
  o,
2917
- Ae,
2917
+ Ie,
2918
2918
  ei,
2919
2919
  ti,
2920
2920
  dt,
2921
2921
  ft,
2922
2922
  ii,
2923
- De,
2923
+ Te,
2924
2924
  si,
2925
2925
  p,
2926
2926
  v,
@@ -1,4 +1,4 @@
1
- import { a as mi, i as hi, $ as pi, E as gi, S as bi, b as wi, s as ki, f as O, c as vi, G as je, e as _, o as a, V as Ne, l as d, L as yi, k as M, a3 as _i, m, n as E, K as Ci, p as ht, q as Mi, N as Si, r as Rt, M as De, y as Fe, A as n, v as F, w as R, x as Q, z as ie, Q as te, W as jt, R as pt, Z as Bi, P as gt, F as Li } from "./CashierCarousel-D_wSKCMs.js";
1
+ import { a as mi, i as hi, $ as pi, E as gi, S as bi, b as wi, s as ki, f as O, c as vi, G as je, e as _, o as a, V as Ne, l as d, L as yi, k as M, a3 as _i, m, n as E, K as Ci, p as ht, q as Mi, N as Si, r as Rt, M as Te, y as Fe, A as n, v as F, w as R, x as Q, z as ie, Q as te, W as jt, R as pt, Z as Bi, P as gt, F as Li } from "./CashierCarousel-D_wSKCMs.js";
2
2
  import { d as bt, u as Di, x as Re, a as Ti } from "./CashierMethodDetails-FeiyXoHw.js";
3
3
  import "./CashierIframeRedirect-BMGvaxHv.js";
4
4
  import "../stencil/ui-image-BsYHwNhO.js";
@@ -115,7 +115,7 @@ const kt = {
115
115
  }
116
116
  };
117
117
  var Vt = /* @__PURE__ */ ((i) => (i.Deposit = "Deposit", i.Withdraw = "Withdraw", i))(Vt || {}), Yt = /* @__PURE__ */ ((i) => (i.Desktop = "Desktop", i.Mobile = "Mobile", i.NativeApp = "NativeApp", i))(Yt || {}), be = /* @__PURE__ */ ((i) => (i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError", i.Maintenance = "Maintenance", i.InvalidSession = "InvalidSession", i))(be || {}), Ut = /* @__PURE__ */ ((i) => (i[i.InvalidSession = 1] = "InvalidSession", i))(Ut || {});
118
- let Te = 0, Ee = 0, Ve = !1, Pi = 600, se = window.innerWidth, j, H, Ye, me = !1, we = null;
118
+ let Ee = 0, Pe = 0, Ve = !1, Pi = 600, se = window.innerWidth, j, H, Ye, me = !1, we = null;
119
119
  const Oi = () => Ye?.clientWidth || document.documentElement.clientWidth || window.innerWidth, Xe = () => {
120
120
  se = Oi();
121
121
  }, Wi = (i, e, t, s) => {
@@ -137,12 +137,12 @@ const Oi = () => Ye?.clientWidth || document.documentElement.clientWidth || wind
137
137
  }, zi = () => {
138
138
  H.removeEventListener("touchstart", qt), H.removeEventListener("touchmove", Kt), H.removeEventListener("touchend", Xt), we && (clearTimeout(we), we = null);
139
139
  }, qt = (i) => {
140
- me && (Xe(), Te = i.touches[0].clientX, Ee = Te, Ve = !1, j.style.transition = "none", H.style.transition = "none");
140
+ me && (Xe(), Ee = i.touches[0].clientX, Pe = Ee, Ve = !1, j.style.transition = "none", H.style.transition = "none");
141
141
  }, Kt = (i) => {
142
142
  if (!me)
143
143
  return;
144
- Ee = i.touches[0].clientX;
145
- const e = Ee - Te;
144
+ Pe = i.touches[0].clientX;
145
+ const e = Pe - Ee;
146
146
  if (e > 50) {
147
147
  i.preventDefault(), Ve = !0;
148
148
  const s = Math.min(e, se), o = -se + s;
@@ -151,10 +151,10 @@ const Oi = () => Ye?.clientWidth || document.documentElement.clientWidth || wind
151
151
  }, Xt = () => {
152
152
  if (!me)
153
153
  return;
154
- const i = Ee - Te, e = Math.abs(i) / 300;
154
+ const i = Pe - Ee, e = Math.abs(i) / 300;
155
155
  j.style.transition = "transform 0.3s ease", H.style.transition = "transform 0.3s ease";
156
156
  const t = i > Pi || i > se * 0.3 || e > 0.5;
157
- Ve && (t ? xe() : (j.style.transform = `translate3d(${ke(-se)},0,0)`, H.style.transform = "translate3d(0,0,0)")), Ve = !1, Te = 0, Ee = 0, we && clearTimeout(we), we = setTimeout(() => {
157
+ Ve && (t ? xe() : (j.style.transform = `translate3d(${ke(-se)},0,0)`, H.style.transform = "translate3d(0,0,0)")), Ve = !1, Ee = 0, Pe = 0, we && clearTimeout(we), we = setTimeout(() => {
158
158
  H.classList.contains("Visible") || (j.style.transform = "", H.style.transform = "");
159
159
  }, 300);
160
160
  };
@@ -282,7 +282,7 @@ if (typeof window < "u") {
282
282
  }
283
283
  };
284
284
  };
285
- customElements.define = i(customElements.define), import("./CashierStepUp-DHD1RjqN.js").then(({ default: e }) => {
285
+ customElements.define = i(customElements.define), import("./CashierStepUp-BiscQ13o.js").then(({ default: e }) => {
286
286
  !customElements.get("cashier-step-up") && customElements.define("cashier-step-up", e.element);
287
287
  });
288
288
  }
@@ -762,7 +762,7 @@ function Fi(i) {
762
762
  };
763
763
  }
764
764
  function Ri(i) {
765
- let e, t, s, o, l, c, u, f, k = !De(
765
+ let e, t, s, o, l, c, u, f, k = !Te(
766
766
  /*userAgent*/
767
767
  i[61]
768
768
  ) && /*showSeparator*/
@@ -860,7 +860,7 @@ function Ri(i) {
860
860
  g[59] ? z ? z.p(g, D) : (z = Ot(g), z.c(), z.m(s, null)) : z && (z.d(1), z = null), D[1] & /*dynamicHeight*/
861
861
  262144 && u !== (u = /*dynamicHeight*/
862
862
  g[49] !== ve ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && a(s, "class", u), D[1] & /*showSeparator*/
863
- 4194304 && (k = !De(
863
+ 4194304 && (k = !Te(
864
864
  /*userAgent*/
865
865
  g[61]
866
866
  ) && /*showSeparator*/
@@ -2607,25 +2607,25 @@ function ts(i, e, t) {
2607
2607
  [["Default", 0], l.Default],
2608
2608
  [["Redirect", 1], l.RedirectWithRetry]
2609
2609
  ].reduce(c, []));
2610
- let { endpoint: u } = e, { session: f } = e, { lang: k = "en" } = e, { local: w = "en-US" } = e, { translationurl: h } = e, { successurl: p } = e, { failurl: v } = e, { cancelurl: C } = e, { customerid: B } = e, { currency: b } = e, { amount: y } = e, { assetsurl: S } = e, { type: T = Vt.Deposit } = e, { channel: P = Yt.Desktop } = e, { showheader: z = "true" } = e, { numberofmethodsshown: A } = e, { clientstyling: W = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: I = "" } = e, { showsessionexpirationmodal: L = "true" } = e, { showverifications: g = "true" } = e, { showtransactionhistory: D = "false" } = e, { showclosebutton: G = "false" } = e, { txncount: ne = "3" } = e, { depositlimitbutton: oe = "false" } = e, { currencydecimals: re = "2" } = e, { transactionhistorycolumns: ye = "Code,Date,Type,StatusIcon" } = e, { dateformat: x = "DD.MM.YYYY" } = e, { datetimeformat: le = "DD.MM.YYYY HH:mm:ss" } = e, { customsucceessbuttons: he = "" } = e, { custompendingbuttons: ae = "" } = e, { customfailedbuttons: ce = "" } = e, { skipconfirmation: _e = "" } = e, { currencysymbol: ue = "true" } = e, { currencyposition: pe = "" } = e, J = {}, Z, Y, ee, U, Pe, Oe, ge = !1, Ce, X, Je, Ue, Ge, Ze = !0, qe = ve, Me, Se, Be, We = window.navigator.userAgent, Ae = "closed", Qe = {}, Ie = "false";
2610
+ let { endpoint: u } = e, { session: f } = e, { lang: k = "en" } = e, { local: w = "en-US" } = e, { translationurl: h } = e, { successurl: p } = e, { failurl: v } = e, { cancelurl: C } = e, { customerid: B } = e, { currency: b } = e, { amount: y } = e, { assetsurl: S } = e, { type: T = Vt.Deposit } = e, { channel: P = Yt.Desktop } = e, { showheader: z = "true" } = e, { numberofmethodsshown: A } = e, { clientstyling: W = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: I = "" } = e, { showsessionexpirationmodal: L = "true" } = e, { showverifications: g = "true" } = e, { showtransactionhistory: D = "false" } = e, { showclosebutton: G = "false" } = e, { txncount: ne = "3" } = e, { depositlimitbutton: oe = "false" } = e, { currencydecimals: re = "2" } = e, { transactionhistorycolumns: ye = "Code,Date,Type,StatusIcon" } = e, { dateformat: x = "DD.MM.YYYY" } = e, { datetimeformat: le = "DD.MM.YYYY HH:mm:ss" } = e, { customsucceessbuttons: he = "" } = e, { custompendingbuttons: ae = "" } = e, { customfailedbuttons: ce = "" } = e, { skipconfirmation: _e = "" } = e, { currencysymbol: ue = "true" } = e, { currencyposition: pe = "" } = e, J = {}, Z, Y, ee, U, Oe, We, ge = !1, Ce, X, Je, Ue, Ge, Ze = !0, qe = ve, Me, Se, Be, Ae = window.navigator.userAgent, Le = "closed", Qe = {}, Ie = "false";
2611
2611
  const xt = () => {
2612
2612
  Ei(k);
2613
2613
  };
2614
2614
  Object.keys(kt).forEach((r) => {
2615
2615
  wt(r, kt[r]);
2616
- }), h || (Oe = !0);
2616
+ }), h || (We = !0);
2617
2617
  const Jt = () => {
2618
2618
  let r = h;
2619
2619
  if (r)
2620
2620
  return fetch(r).then((N) => N.json()).then((N) => {
2621
2621
  Object.keys(N).forEach((q) => {
2622
- wt(q, N[q]), t(43, Oe = !0);
2622
+ wt(q, N[q]), t(43, We = !0);
2623
2623
  });
2624
2624
  }).catch((N) => {
2625
- t(43, Oe = !0), console.log(N);
2625
+ t(43, We = !0), console.log(N);
2626
2626
  });
2627
2627
  }, $e = () => {
2628
- t(44, ge = !1), t(39, J = {}), t(34, X = ""), t(53, ze = !1), de();
2628
+ t(44, ge = !1), t(39, J = {}), t(34, X = ""), t(53, ze = !1), t(50, Le = "closed"), de();
2629
2629
  }, et = () => {
2630
2630
  Re.set(null);
2631
2631
  const r = new URL(`${u}/v2/player/${B}/payment/GetPaymentSession`), N = new Headers();
@@ -2672,9 +2672,9 @@ function ts(i, e, t) {
2672
2672
  window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(K);
2673
2673
  });
2674
2674
  }, de = () => {
2675
- ge && De(We) && !X ? (t(46, Ue = J.Label || J.Name), t(47, Ge = "true")) : (t(46, Ue = `header.${T.toLowerCase()}`), t(47, Ge = "false"));
2675
+ ge && Te(Ae) && !X ? (t(46, Ue = J.Label || J.Name), t(47, Ge = "true")) : (t(46, Ue = `header.${T.toLowerCase()}`), t(47, Ge = "false"));
2676
2676
  }, Zt = () => {
2677
- t(40, ee = De(We)), de();
2677
+ t(40, ee = Te(Ae)), de();
2678
2678
  }, tt = (r) => {
2679
2679
  it({
2680
2680
  Name: r.detail.Name,
@@ -2714,14 +2714,14 @@ function ts(i, e, t) {
2714
2714
  }, nt = (r) => {
2715
2715
  console.log("e", r);
2716
2716
  }, ot = (r) => {
2717
- Le(), window.postMessage({ type: "OtpCancalled" });
2717
+ De(), window.postMessage({ type: "OtpCancalled" });
2718
2718
  }, rt = (r) => {
2719
2719
  window.postMessage({ type: "OtpSuccessfull" }, window.location.href), t(52, Ie = "true");
2720
2720
  }, lt = (r) => {
2721
- Le(), t(42, Pe = !1), window.postMessage({ type: "OtpCancalled" }), window.postMessage(
2721
+ De(), t(42, Oe = !1), window.postMessage({ type: "OtpCancalled" }), window.postMessage(
2722
2722
  {
2723
2723
  type: "ToggleDisableActionOnPage",
2724
- disable: Pe
2724
+ disable: Oe
2725
2725
  },
2726
2726
  window.location.href
2727
2727
  );
@@ -2749,7 +2749,7 @@ function ts(i, e, t) {
2749
2749
  t(33, Ce = r.data.error);
2750
2750
  break;
2751
2751
  case "ToggleDisableActionOnPage":
2752
- t(42, Pe = r.data.disable);
2752
+ t(42, Oe = r.data.disable);
2753
2753
  break;
2754
2754
  case "ErrorResponseCode":
2755
2755
  t(34, X = r.data.errorResponseCode), de();
@@ -2786,9 +2786,9 @@ function ts(i, e, t) {
2786
2786
  window.postMessage({
2787
2787
  type: "BonusSelection",
2788
2788
  bonus: Ke[r]
2789
- }), Le();
2789
+ }), De();
2790
2790
  }, mt = (r) => {
2791
- switch (t(50, Ae = r.detail.type), t(52, Ie = "false"), Ae) {
2791
+ switch (t(50, Le = r.detail.type), t(52, Ie = "false"), Le) {
2792
2792
  case "bonusList":
2793
2793
  t(55, Ke = r.detail.data), t(56, fe = []), t(57, $ = []);
2794
2794
  break;
@@ -2799,10 +2799,10 @@ function ts(i, e, t) {
2799
2799
  t(51, Qe = r.detail.data);
2800
2800
  break;
2801
2801
  }
2802
- }, Le = () => {
2803
- t(50, Ae = "closed"), t(52, Ie = "false"), t(34, X = "");
2802
+ }, De = () => {
2803
+ t(50, Le = "closed"), t(52, Ie = "false"), t(34, X = "");
2804
2804
  }, si = () => {
2805
- window.postMessage({ type: "ConfirmPayment" }, window.location.href), Le();
2805
+ window.postMessage({ type: "ConfirmPayment" }, window.location.href), De();
2806
2806
  }, ni = (r = ve) => {
2807
2807
  t(49, qe = r), Z.style.setProperty("--emw-cashier-page-height", qe);
2808
2808
  };
@@ -2851,7 +2851,7 @@ function ts(i, e, t) {
2851
2851
  4 && k && de(), i.$$.dirty[0] & /*lang, translationurl*/
2852
2852
  20 && k && h && Jt(), i.$$.dirty[1] & /*widgetWidth*/
2853
2853
  2 && Y && Zt(), i.$$.dirty[1] & /*methodsListWarpper, methodDetailsWarpper, scrollContainer, errorMessage, errorResponseCode*/
2854
- 124 && Me && Se && Be && !Ce && !X && Wi(Me, Se, Be, De(We));
2854
+ 124 && Me && Se && Be && !Ce && !X && Wi(Me, Se, Be, Te(Ae));
2855
2855
  }, [
2856
2856
  u,
2857
2857
  f,
@@ -2895,15 +2895,15 @@ function ts(i, e, t) {
2895
2895
  J,
2896
2896
  ee,
2897
2897
  U,
2898
- Pe,
2899
2898
  Oe,
2899
+ We,
2900
2900
  ge,
2901
2901
  Je,
2902
2902
  Ue,
2903
2903
  Ge,
2904
2904
  Ze,
2905
2905
  qe,
2906
- Ae,
2906
+ Le,
2907
2907
  Qe,
2908
2908
  Ie,
2909
2909
  ze,
@@ -2914,13 +2914,13 @@ function ts(i, e, t) {
2914
2914
  ut,
2915
2915
  s,
2916
2916
  o,
2917
- We,
2917
+ Ae,
2918
2918
  ei,
2919
2919
  ti,
2920
2920
  dt,
2921
2921
  ft,
2922
2922
  ii,
2923
- Le,
2923
+ De,
2924
2924
  si,
2925
2925
  p,
2926
2926
  v,