@everymatrix/casino-header-controller 1.55.0 → 1.56.0

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 (36) hide show
  1. package/components/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-B2TeHkyB.js} +800 -822
  2. package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-CUR5gaxv.js} +648 -670
  3. package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
  4. package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
  5. package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-CrEqMU6h.js} +561 -527
  6. package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-Cv1RNj2L.js} +619 -585
  7. package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
  8. package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-CS-q7BSV.js} +101 -101
  9. package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-DrD2osTb.js} +98 -98
  10. package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
  11. package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
  12. package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
  13. package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-BlD-xNdY.js} +93 -93
  14. package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DwGrlu-U.js} +93 -93
  15. package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-c7e52808-DGZdfQYz.cjs +1 -0
  21. package/stencil/index-c7e52808-RGphQbEA.js +638 -0
  22. package/stencil/index-c7e52808-yJXIboHF.js +654 -0
  23. package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-1SJnPWvi.js} +268 -251
  24. package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-BiZKbrT_.js} +194 -177
  25. package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
  26. package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +0 -8
  27. package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
  28. package/components/CasinoSlider-DDycojG8.cjs +0 -1
  29. package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +0 -13
  30. package/components/PlayerAccountBalanceModal-CcASksA3.js +0 -1507
  31. package/components/PlayerAccountBalanceModal-DG6GgVDp.js +0 -1536
  32. package/components/PlayerDeposit-C8ZPqrpV.cjs +0 -1
  33. package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
  34. package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
  35. package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
  36. package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -1,29 +1,29 @@
1
- var Q = (n, p, u) => new Promise((l, g) => {
2
- var L = (c) => {
1
+ var Q = (n, h, s) => new Promise((c, p) => {
2
+ var L = (l) => {
3
3
  try {
4
- m(u.next(c));
5
- } catch (S) {
6
- g(S);
4
+ g(s.next(l));
5
+ } catch ($) {
6
+ p($);
7
7
  }
8
- }, w = (c) => {
8
+ }, w = (l) => {
9
9
  try {
10
- m(u.throw(c));
11
- } catch (S) {
12
- g(S);
10
+ g(s.throw(l));
11
+ } catch ($) {
12
+ p($);
13
13
  }
14
- }, m = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(L, w);
15
- m((u = u.apply(n, p)).next());
14
+ }, g = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(L, w);
15
+ g((s = s.apply(n, h)).next());
16
16
  });
17
- import { b as ne, p as ae, r as oe, h as b, H as se } from "./index-657e7a14-fo2CD-e3.js";
18
- import { g as de } from "./app-globals-0f993ce5-D-kw1sls.js";
19
- var ue = () => {
20
- const n = import.meta.url, p = {};
21
- return n !== "" && (p.resourcesUrl = new URL(".", n).href), ae(p);
17
+ import { b as oe, p as se, r as de, h as b, H as ue } from "./index-c7e52808-yJXIboHF.js";
18
+ import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
19
+ var ce = () => {
20
+ const n = import.meta.url, h = {};
21
+ return n !== "" && (h.resourcesUrl = new URL(".", n).href), se(h);
22
22
  };
23
- ue().then((n) => Q(void 0, null, function* () {
24
- return yield de(), ne([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], limitStylingAppends: [32], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"] }]]]], n);
23
+ ce().then((n) => Q(void 0, null, function* () {
24
+ return yield le(), oe([["user-deposit-withdrawal", [[1, "user-deposit-withdrawal", { mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], endpoint: [513], type: [513], channel: [513], language: [513], productType: [513, "product-type"], userId: [513, "user-id"], session: [513], successUrl: [513, "success-url"], cancelUrl: [513, "cancel-url"], failUrl: [513, "fail-url"], sportsUrl: [513, "sports-url"], casinoUrl: [513, "casino-url"], contactUrl: [513, "contact-url"], depositUrl: [513, "deposit-url"], currency: [513], showBonusSelectionInput: [513, "show-bonus-selection-input"], isShortCashier: [516, "is-short-cashier"], homeUrl: [513, "home-url"], beforeRedirect: [16], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { session: ["watchLoadWidget"], userId: ["watchLoadWidget"], isShortCashier: ["watchLoadWidget"], currency: ["watchLoadWidget"], showBonusSelectionInput: ["watchLoadWidget"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], n);
25
25
  }));
26
- const ce = "en", le = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], X = {
26
+ const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], te = {
27
27
  en: {
28
28
  Deposit: "Deposit",
29
29
  Withdraw: "Withdraw",
@@ -123,65 +123,89 @@ const ce = "en", le = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
123
123
  errorCode21122: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",
124
124
  errorCode21123: "Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"
125
125
  }
126
- }, he = (n) => new Promise((p) => {
127
- fetch(n).then((u) => u.json()).then((u) => {
128
- Object.keys(u).forEach((l) => {
129
- for (let g in u[l])
130
- X[l][g] = u[l][g];
131
- }), p(!0);
126
+ }, pe = (n) => new Promise((h) => {
127
+ fetch(n).then((s) => s.json()).then((s) => {
128
+ Object.keys(s).forEach((c) => {
129
+ for (let p in s[c])
130
+ te[c][p] = s[c][p];
131
+ }), h(!0);
132
132
  });
133
- }), H = (n, p) => {
134
- const u = p;
135
- return X[u !== void 0 && le.includes(u) ? u : ce][n];
136
- }, fe = (n) => !!(n.toLowerCase().match(/android/i) || n.toLowerCase().match(/blackberry|bb/i) || n.toLowerCase().match(/iphone|ipad|ipod/i) || n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
137
- var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, te = { exports: {} };
138
- (function(n, p) {
139
- (function(u, l) {
140
- n.exports = l();
141
- })(ee, function() {
142
- var u = 1e3, l = 6e4, g = 36e5, L = "millisecond", w = "second", m = "minute", c = "hour", S = "day", q = "week", M = "month", N = "quarter", k = "year", O = "date", o = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
133
+ }), H = (n, h) => {
134
+ const s = h;
135
+ return te[s !== void 0 && fe.includes(s) ? s : he][n];
136
+ };
137
+ function X(n, h) {
138
+ if (n) {
139
+ const s = document.createElement("style");
140
+ s.innerHTML = h, n.appendChild(s);
141
+ }
142
+ }
143
+ function ee(n, h) {
144
+ const s = new URL(h);
145
+ fetch(s.href).then((c) => c.text()).then((c) => {
146
+ const p = document.createElement("style");
147
+ p.innerHTML = c, n && n.appendChild(p);
148
+ }).catch((c) => {
149
+ console.error("There was an error while trying to load client styling from URL", c);
150
+ });
151
+ }
152
+ function me(n, h, s) {
153
+ if (window.emMessageBus) {
154
+ const c = document.createElement("style");
155
+ window.emMessageBus.subscribe(h, (p) => {
156
+ c.innerHTML = p, n && n.appendChild(c);
157
+ });
158
+ }
159
+ }
160
+ const ge = (n) => !!(n.toLowerCase().match(/android/i) || n.toLowerCase().match(/blackberry|bb/i) || n.toLowerCase().match(/iphone|ipad|ipod/i) || n.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
161
+ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
162
+ (function(n, h) {
163
+ (function(s, c) {
164
+ n.exports = c();
165
+ })(re, function() {
166
+ var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", k = "year", E = "date", o = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(a) {
143
167
  var r = ["th", "st", "nd", "rd"], e = a % 100;
144
168
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
145
- } }, W = function(a, r, e) {
169
+ } }, U = function(a, r, e) {
146
170
  var i = String(a);
147
171
  return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
148
- }, G = { s: W, z: function(a) {
172
+ }, G = { s: U, z: function(a) {
149
173
  var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
150
- return (r <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(t, 2, "0");
174
+ return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
151
175
  }, m: function a(r, e) {
152
176
  if (r.date() < e.date()) return -a(e, r);
153
- var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, M), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), M);
154
- return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
177
+ var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, M), d = e - t < 0, u = r.clone().add(i + (d ? -1 : 1), M);
178
+ return +(-(i + (e - t) / (d ? t - u : u - t)) || 0);
155
179
  }, a: function(a) {
156
180
  return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
157
181
  }, p: function(a) {
158
- return { M, y: k, w: q, d: S, D: O, h: c, m, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
182
+ return { M, y: k, w: q, d: $, D: E, h: l, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
159
183
  }, u: function(a) {
160
184
  return a === void 0;
161
- } }, E = "en", z = {};
162
- z[E] = F;
163
- var Y = "$isDayjsObject", A = function(a) {
185
+ } }, O = "en", z = {};
186
+ z[O] = F;
187
+ var Y = "$isDayjsObject", B = function(a) {
164
188
  return a instanceof Z || !(!a || !a[Y]);
165
189
  }, j = function a(r, e, i) {
166
190
  var t;
167
- if (!r) return E;
191
+ if (!r) return O;
168
192
  if (typeof r == "string") {
169
- var s = r.toLowerCase();
170
- z[s] && (t = s), e && (z[s] = e, t = s);
171
- var d = r.split("-");
172
- if (!t && d.length > 1) return a(d[0]);
193
+ var d = r.toLowerCase();
194
+ z[d] && (t = d), e && (z[d] = e, t = d);
195
+ var u = r.split("-");
196
+ if (!t && u.length > 1) return a(u[0]);
173
197
  } else {
174
- var f = r.name;
175
- z[f] = r, t = f;
198
+ var m = r.name;
199
+ z[m] = r, t = m;
176
200
  }
177
- return !i && t && (E = t), t || !i && E;
178
- }, v = function(a, r) {
179
- if (A(a)) return a.clone();
201
+ return !i && t && (O = t), t || !i && O;
202
+ }, C = function(a, r) {
203
+ if (B(a)) return a.clone();
180
204
  var e = typeof r == "object" ? r : {};
181
205
  return e.date = a, e.args = arguments, new Z(e);
182
- }, h = G;
183
- h.l = j, h.i = A, h.w = function(a, r) {
184
- return v(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
206
+ }, f = G;
207
+ f.l = j, f.i = B, f.w = function(a, r) {
208
+ return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
185
209
  };
186
210
  var Z = function() {
187
211
  function a(e) {
@@ -190,15 +214,15 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
190
214
  var r = a.prototype;
191
215
  return r.parse = function(e) {
192
216
  this.$d = function(i) {
193
- var t = i.date, s = i.utc;
217
+ var t = i.date, d = i.utc;
194
218
  if (t === null) return /* @__PURE__ */ new Date(NaN);
195
- if (h.u(t)) return /* @__PURE__ */ new Date();
219
+ if (f.u(t)) return /* @__PURE__ */ new Date();
196
220
  if (t instanceof Date) return new Date(t);
197
221
  if (typeof t == "string" && !/Z$/i.test(t)) {
198
- var d = t.match(U);
199
- if (d) {
200
- var f = d[2] - 1 || 0, y = (d[7] || "0").substring(0, 3);
201
- return s ? new Date(Date.UTC(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y)) : new Date(d[1], f, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, y);
222
+ var u = t.match(W);
223
+ if (u) {
224
+ var m = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
225
+ return d ? new Date(Date.UTC(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], m, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
202
226
  }
203
227
  }
204
228
  return new Date(t);
@@ -207,43 +231,43 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
207
231
  var e = this.$d;
208
232
  this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
209
233
  }, r.$utils = function() {
210
- return h;
234
+ return f;
211
235
  }, r.isValid = function() {
212
236
  return this.$d.toString() !== o;
213
237
  }, r.isSame = function(e, i) {
214
- var t = v(e);
238
+ var t = C(e);
215
239
  return this.startOf(i) <= t && t <= this.endOf(i);
216
240
  }, r.isAfter = function(e, i) {
217
- return v(e) < this.startOf(i);
241
+ return C(e) < this.startOf(i);
218
242
  }, r.isBefore = function(e, i) {
219
- return this.endOf(i) < v(e);
243
+ return this.endOf(i) < C(e);
220
244
  }, r.$g = function(e, i, t) {
221
- return h.u(e) ? this[i] : this.set(t, e);
245
+ return f.u(e) ? this[i] : this.set(t, e);
222
246
  }, r.unix = function() {
223
247
  return Math.floor(this.valueOf() / 1e3);
224
248
  }, r.valueOf = function() {
225
249
  return this.$d.getTime();
226
250
  }, r.startOf = function(e, i) {
227
- var t = this, s = !!h.u(i) || i, d = h.p(e), f = function(R, D) {
228
- var x = h.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
229
- return s ? x : x.endOf(S);
251
+ var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, D) {
252
+ var x = f.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
253
+ return d ? x : x.endOf($);
230
254
  }, y = function(R, D) {
231
- return h.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
232
- }, C = this.$W, $ = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
233
- switch (d) {
255
+ return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
256
+ }, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
257
+ switch (u) {
234
258
  case k:
235
- return s ? f(1, 0) : f(31, 11);
259
+ return d ? m(1, 0) : m(31, 11);
236
260
  case M:
237
- return s ? f(1, $) : f(0, $ + 1);
261
+ return d ? m(1, S) : m(0, S + 1);
238
262
  case q:
239
- var _ = this.$locale().weekStart || 0, B = (C < _ ? C + 7 : C) - _;
240
- return f(s ? T - B : T + (6 - B), $);
241
- case S:
242
- case O:
263
+ var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
264
+ return m(d ? T - A : T + (6 - A), S);
265
+ case $:
266
+ case E:
243
267
  return y(P + "Hours", 0);
244
- case c:
268
+ case l:
245
269
  return y(P + "Minutes", 1);
246
- case m:
270
+ case g:
247
271
  return y(P + "Seconds", 2);
248
272
  case w:
249
273
  return y(P + "Milliseconds", 3);
@@ -253,142 +277,142 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
253
277
  }, r.endOf = function(e) {
254
278
  return this.startOf(e, !1);
255
279
  }, r.$set = function(e, i) {
256
- var t, s = h.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[S] = d + "Date", t[O] = d + "Date", t[M] = d + "Month", t[k] = d + "FullYear", t[c] = d + "Hours", t[m] = d + "Minutes", t[w] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], y = s === S ? this.$D + (i - this.$W) : i;
257
- if (s === M || s === k) {
258
- var C = this.clone().set(O, 1);
259
- C.$d[f](y), C.init(), this.$d = C.set(O, Math.min(this.$D, C.daysInMonth())).$d;
260
- } else f && this.$d[f](y);
280
+ var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[E] = u + "Date", t[M] = u + "Month", t[k] = u + "FullYear", t[l] = u + "Hours", t[g] = u + "Minutes", t[w] = u + "Seconds", t[L] = u + "Milliseconds", t)[d], y = d === $ ? this.$D + (i - this.$W) : i;
281
+ if (d === M || d === k) {
282
+ var v = this.clone().set(E, 1);
283
+ v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
284
+ } else m && this.$d[m](y);
261
285
  return this.init(), this;
262
286
  }, r.set = function(e, i) {
263
287
  return this.clone().$set(e, i);
264
288
  }, r.get = function(e) {
265
- return this[h.p(e)]();
289
+ return this[f.p(e)]();
266
290
  }, r.add = function(e, i) {
267
- var t, s = this;
291
+ var t, d = this;
268
292
  e = Number(e);
269
- var d = h.p(i), f = function($) {
270
- var T = v(s);
271
- return h.w(T.date(T.date() + Math.round($ * e)), s);
293
+ var u = f.p(i), m = function(S) {
294
+ var T = C(d);
295
+ return f.w(T.date(T.date() + Math.round(S * e)), d);
272
296
  };
273
- if (d === M) return this.set(M, this.$M + e);
274
- if (d === k) return this.set(k, this.$y + e);
275
- if (d === S) return f(1);
276
- if (d === q) return f(7);
277
- var y = (t = {}, t[m] = l, t[c] = g, t[w] = u, t)[d] || 1, C = this.$d.getTime() + e * y;
278
- return h.w(C, this);
297
+ if (u === M) return this.set(M, this.$M + e);
298
+ if (u === k) return this.set(k, this.$y + e);
299
+ if (u === $) return m(1);
300
+ if (u === q) return m(7);
301
+ var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
302
+ return f.w(v, this);
279
303
  }, r.subtract = function(e, i) {
280
304
  return this.add(-1 * e, i);
281
305
  }, r.format = function(e) {
282
306
  var i = this, t = this.$locale();
283
307
  if (!this.isValid()) return t.invalidDate || o;
284
- var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = h.z(this), f = this.$H, y = this.$m, C = this.$M, $ = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, x, V, J) {
285
- return D && (D[x] || D(i, s)) || V[x].slice(0, J);
286
- }, B = function(D) {
287
- return h.s(f % 12 || 12, D, "0");
308
+ var d = e || "YYYY-MM-DDTHH:mm:ssZ", u = f.z(this), m = this.$H, y = this.$m, v = this.$M, S = t.weekdays, T = t.months, P = t.meridiem, _ = function(D, x, V, J) {
309
+ return D && (D[x] || D(i, d)) || V[x].slice(0, J);
310
+ }, A = function(D) {
311
+ return f.s(m % 12 || 12, D, "0");
288
312
  }, R = P || function(D, x, V) {
289
313
  var J = D < 12 ? "AM" : "PM";
290
314
  return V ? J.toLowerCase() : J;
291
315
  };
292
- return s.replace(I, function(D, x) {
316
+ return d.replace(I, function(D, x) {
293
317
  return x || function(V) {
294
318
  switch (V) {
295
319
  case "YY":
296
320
  return String(i.$y).slice(-2);
297
321
  case "YYYY":
298
- return h.s(i.$y, 4, "0");
322
+ return f.s(i.$y, 4, "0");
299
323
  case "M":
300
- return C + 1;
324
+ return v + 1;
301
325
  case "MM":
302
- return h.s(C + 1, 2, "0");
326
+ return f.s(v + 1, 2, "0");
303
327
  case "MMM":
304
- return _(t.monthsShort, C, T, 3);
328
+ return _(t.monthsShort, v, T, 3);
305
329
  case "MMMM":
306
- return _(T, C);
330
+ return _(T, v);
307
331
  case "D":
308
332
  return i.$D;
309
333
  case "DD":
310
- return h.s(i.$D, 2, "0");
334
+ return f.s(i.$D, 2, "0");
311
335
  case "d":
312
336
  return String(i.$W);
313
337
  case "dd":
314
- return _(t.weekdaysMin, i.$W, $, 2);
338
+ return _(t.weekdaysMin, i.$W, S, 2);
315
339
  case "ddd":
316
- return _(t.weekdaysShort, i.$W, $, 3);
340
+ return _(t.weekdaysShort, i.$W, S, 3);
317
341
  case "dddd":
318
- return $[i.$W];
342
+ return S[i.$W];
319
343
  case "H":
320
- return String(f);
344
+ return String(m);
321
345
  case "HH":
322
- return h.s(f, 2, "0");
346
+ return f.s(m, 2, "0");
323
347
  case "h":
324
- return B(1);
348
+ return A(1);
325
349
  case "hh":
326
- return B(2);
350
+ return A(2);
327
351
  case "a":
328
- return R(f, y, !0);
352
+ return R(m, y, !0);
329
353
  case "A":
330
- return R(f, y, !1);
354
+ return R(m, y, !1);
331
355
  case "m":
332
356
  return String(y);
333
357
  case "mm":
334
- return h.s(y, 2, "0");
358
+ return f.s(y, 2, "0");
335
359
  case "s":
336
360
  return String(i.$s);
337
361
  case "ss":
338
- return h.s(i.$s, 2, "0");
362
+ return f.s(i.$s, 2, "0");
339
363
  case "SSS":
340
- return h.s(i.$ms, 3, "0");
364
+ return f.s(i.$ms, 3, "0");
341
365
  case "Z":
342
- return d;
366
+ return u;
343
367
  }
344
368
  return null;
345
- }(D) || d.replace(":", "");
369
+ }(D) || u.replace(":", "");
346
370
  });
347
371
  }, r.utcOffset = function() {
348
372
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
349
373
  }, r.diff = function(e, i, t) {
350
- var s, d = this, f = h.p(i), y = v(e), C = (y.utcOffset() - this.utcOffset()) * l, $ = this - y, T = function() {
351
- return h.m(d, y);
374
+ var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * c, S = this - y, T = function() {
375
+ return f.m(u, y);
352
376
  };
353
- switch (f) {
377
+ switch (m) {
354
378
  case k:
355
- s = T() / 12;
379
+ d = T() / 12;
356
380
  break;
357
381
  case M:
358
- s = T();
382
+ d = T();
359
383
  break;
360
384
  case N:
361
- s = T() / 3;
385
+ d = T() / 3;
362
386
  break;
363
387
  case q:
364
- s = ($ - C) / 6048e5;
388
+ d = (S - v) / 6048e5;
365
389
  break;
366
- case S:
367
- s = ($ - C) / 864e5;
390
+ case $:
391
+ d = (S - v) / 864e5;
368
392
  break;
369
- case c:
370
- s = $ / g;
393
+ case l:
394
+ d = S / p;
371
395
  break;
372
- case m:
373
- s = $ / l;
396
+ case g:
397
+ d = S / c;
374
398
  break;
375
399
  case w:
376
- s = $ / u;
400
+ d = S / s;
377
401
  break;
378
402
  default:
379
- s = $;
403
+ d = S;
380
404
  }
381
- return t ? s : h.a(s);
405
+ return t ? d : f.a(d);
382
406
  }, r.daysInMonth = function() {
383
407
  return this.endOf(M).$D;
384
408
  }, r.$locale = function() {
385
409
  return z[this.$L];
386
410
  }, r.locale = function(e, i) {
387
411
  if (!e) return this.$L;
388
- var t = this.clone(), s = j(e, i, !0);
389
- return s && (t.$L = s), t;
412
+ var t = this.clone(), d = j(e, i, !0);
413
+ return d && (t.$L = d), t;
390
414
  }, r.clone = function() {
391
- return h.w(this.$d, this);
415
+ return f.w(this.$d, this);
392
416
  }, r.toDate = function() {
393
417
  return new Date(this.valueOf());
394
418
  }, r.toJSON = function() {
@@ -399,93 +423,93 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
399
423
  return this.$d.toUTCString();
400
424
  }, a;
401
425
  }(), K = Z.prototype;
402
- return v.prototype = K, [["$ms", L], ["$s", w], ["$m", m], ["$H", c], ["$W", S], ["$M", M], ["$y", k], ["$D", O]].forEach(function(a) {
426
+ return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", $], ["$M", M], ["$y", k], ["$D", E]].forEach(function(a) {
403
427
  K[a[1]] = function(r) {
404
428
  return this.$g(r, a[0], a[1]);
405
429
  };
406
- }), v.extend = function(a, r) {
407
- return a.$i || (a(r, Z, v), a.$i = !0), v;
408
- }, v.locale = j, v.isDayjs = A, v.unix = function(a) {
409
- return v(1e3 * a);
410
- }, v.en = z[E], v.Ls = z, v.p = {}, v;
430
+ }), C.extend = function(a, r) {
431
+ return a.$i || (a(r, Z, C), a.$i = !0), C;
432
+ }, C.locale = j, C.isDayjs = B, C.unix = function(a) {
433
+ return C(1e3 * a);
434
+ }, C.en = z[O], C.Ls = z, C.p = {}, C;
411
435
  });
412
- })(te);
413
- const re = te.exports;
414
- var ie = { exports: {} };
415
- (function(n, p) {
416
- (function(u, l) {
417
- n.exports = l();
418
- })(ee, function() {
419
- var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
420
- return function(L, w, m) {
421
- var c = w.prototype;
422
- m.utc = function(o) {
423
- var U = { date: o, utc: !0, args: arguments };
424
- return new w(U);
425
- }, c.utc = function(o) {
426
- var U = m(this.toDate(), { locale: this.$L, utc: !0 });
427
- return o ? U.add(this.utcOffset(), u) : U;
428
- }, c.local = function() {
429
- return m(this.toDate(), { locale: this.$L, utc: !1 });
436
+ })(ne);
437
+ const ie = ne.exports;
438
+ var ae = { exports: {} };
439
+ (function(n, h) {
440
+ (function(s, c) {
441
+ n.exports = c();
442
+ })(re, function() {
443
+ var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
444
+ return function(L, w, g) {
445
+ var l = w.prototype;
446
+ g.utc = function(o) {
447
+ var W = { date: o, utc: !0, args: arguments };
448
+ return new w(W);
449
+ }, l.utc = function(o) {
450
+ var W = g(this.toDate(), { locale: this.$L, utc: !0 });
451
+ return o ? W.add(this.utcOffset(), s) : W;
452
+ }, l.local = function() {
453
+ return g(this.toDate(), { locale: this.$L, utc: !1 });
430
454
  };
431
- var S = c.parse;
432
- c.parse = function(o) {
433
- o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), S.call(this, o);
455
+ var $ = l.parse;
456
+ l.parse = function(o) {
457
+ o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
434
458
  };
435
- var q = c.init;
436
- c.init = function() {
459
+ var q = l.init;
460
+ l.init = function() {
437
461
  if (this.$u) {
438
462
  var o = this.$d;
439
463
  this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
440
464
  } else q.call(this);
441
465
  };
442
- var M = c.utcOffset;
443
- c.utcOffset = function(o, U) {
466
+ var M = l.utcOffset;
467
+ l.utcOffset = function(o, W) {
444
468
  var I = this.$utils().u;
445
469
  if (I(o)) return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
446
- if (typeof o == "string" && (o = function(E) {
447
- E === void 0 && (E = "");
448
- var z = E.match(l);
470
+ if (typeof o == "string" && (o = function(O) {
471
+ O === void 0 && (O = "");
472
+ var z = O.match(c);
449
473
  if (!z) return null;
450
- var Y = ("" + z[0]).match(g) || ["-", 0, 0], A = Y[0], j = 60 * +Y[1] + +Y[2];
451
- return j === 0 ? 0 : A === "+" ? j : -j;
474
+ var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], j = 60 * +Y[1] + +Y[2];
475
+ return j === 0 ? 0 : B === "+" ? j : -j;
452
476
  }(o), o === null)) return this;
453
- var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
454
- if (U) return W.$offset = F, W.$u = o === 0, W;
477
+ var F = Math.abs(o) <= 16 ? 60 * o : o, U = this;
478
+ if (W) return U.$offset = F, U.$u = o === 0, U;
455
479
  if (o !== 0) {
456
480
  var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
457
- (W = this.local().add(F + G, u)).$offset = F, W.$x.$localOffset = G;
458
- } else W = this.utc();
459
- return W;
481
+ (U = this.local().add(F + G, s)).$offset = F, U.$x.$localOffset = G;
482
+ } else U = this.utc();
483
+ return U;
460
484
  };
461
- var N = c.format;
462
- c.format = function(o) {
463
- var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
464
- return N.call(this, U);
465
- }, c.valueOf = function() {
485
+ var N = l.format;
486
+ l.format = function(o) {
487
+ var W = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
488
+ return N.call(this, W);
489
+ }, l.valueOf = function() {
466
490
  var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
467
491
  return this.$d.valueOf() - 6e4 * o;
468
- }, c.isUTC = function() {
492
+ }, l.isUTC = function() {
469
493
  return !!this.$u;
470
- }, c.toISOString = function() {
494
+ }, l.toISOString = function() {
471
495
  return this.toDate().toISOString();
472
- }, c.toString = function() {
496
+ }, l.toString = function() {
473
497
  return this.toDate().toUTCString();
474
498
  };
475
- var k = c.toDate;
476
- c.toDate = function(o) {
477
- return o === "s" && this.$offset ? m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
499
+ var k = l.toDate;
500
+ l.toDate = function(o) {
501
+ return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
478
502
  };
479
- var O = c.diff;
480
- c.diff = function(o, U, I) {
481
- if (o && this.$u === o.$u) return O.call(this, o, U, I);
482
- var F = this.local(), W = m(o).local();
483
- return O.call(F, W, U, I);
503
+ var E = l.diff;
504
+ l.diff = function(o, W, I) {
505
+ if (o && this.$u === o.$u) return E.call(this, o, W, I);
506
+ var F = this.local(), U = g(o).local();
507
+ return E.call(F, U, W, I);
484
508
  };
485
509
  };
486
510
  });
487
- })(ie);
488
- const pe = ie.exports, me = `:host {
511
+ })(ae);
512
+ const ye = ae.exports, we = `:host {
489
513
  font: inherit;
490
514
  display: block;
491
515
  height: 100%;
@@ -543,24 +567,12 @@ const pe = ie.exports, me = `:host {
543
567
  margin-top: 70px;
544
568
  text-align: center;
545
569
  color: var(--emw--color-black, #000000);
546
- }`, ge = me;
547
- re.extend(pe);
548
- const ye = () => {
549
- }, we = class {
570
+ }`, Ce = we;
571
+ ie.extend(ye);
572
+ const ve = () => {
573
+ }, Se = class {
550
574
  constructor(n) {
551
- oe(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = fe(this.userAgent), this.errorCodes = ["21123", "21122"], this.setClientStyling = () => {
552
- let p = document.createElement("style");
553
- p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
554
- }, this.setClientStylingURL = () => {
555
- let p = new URL(this.clientStylingUrl), u = document.createElement("style");
556
- fetch(p.href).then((l) => l.text()).then((l) => {
557
- u.innerHTML = l, setTimeout(() => {
558
- this.stylingContainer.prepend(u);
559
- }, 1);
560
- }).catch((l) => {
561
- console.log("error ", l);
562
- });
563
- }, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = void 0, this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = ye, this.limitStylingAppends = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
575
+ de(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ve, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122"];
564
576
  }
565
577
  get typeParameter() {
566
578
  if (this.type === "deposit")
@@ -571,26 +583,29 @@ const ye = () => {
571
583
  watchLoadWidget() {
572
584
  this.loadWidget();
573
585
  }
586
+ handleClientStylingChange(n, h) {
587
+ n != h && X(this.stylingContainer, this.clientStyling);
588
+ }
589
+ handleClientStylingChangeURL(n, h) {
590
+ n != h && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
591
+ }
574
592
  componentWillLoad() {
575
593
  return Q(this, null, function* () {
576
594
  if (yield this.loadWidget(), this.translationUrl)
577
- return he(this.translationUrl);
595
+ return pe(this.translationUrl);
578
596
  });
579
597
  }
580
598
  toggleScreen(n) {
581
599
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: n }, window.location.href);
582
600
  }
583
601
  componentDidLoad() {
584
- window.addEventListener("message", this.bindedHandler, !1);
602
+ this.stylingContainer && (window.emMessageBus != null ? me(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
585
603
  }
586
604
  disconnectedCallback() {
587
- window.removeEventListener("message", this.bindedHandler, !1);
588
- }
589
- componentDidRender() {
590
- !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
605
+ window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
591
606
  }
592
607
  render() {
593
- return b(se, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "afbbc15e1210ef1ade3c094b84c12485ff94e438", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "99b64c5ef99e55335c4f3066f448dd19a4eeaad0", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "abd3d5958091437af76efb311a49a30f6ba4a7eb" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: "100%", src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
608
+ return b(ue, { key: "4963fd9b7ce608f13fd464996c085c29045fcd59" }, b("div", { key: "1fe503816ddb4f18d50545f0f627dd917e6f62ec", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && b("h2", { key: "5bf653f70da5f95173a7dc2c7067d0968876b50a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), b("div", { key: "44a47893b6b2ce83e45f69e8997aa6e450968941", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, b("div", { key: "949862539b439d5f2375a08115a7389bf355dd2c" }, this.isMobile && !this.isShortCashier ? b("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, b("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, b("defs", null), b("g", { transform: "translate(-20 -158)" }, b("g", { transform: "translate(20 158)" }, b("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), b("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? b("iframe", { width: "100%", height: "100%", src: this.cashierInfoUrl }) : b("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
594
609
  }
595
610
  loadWidget() {
596
611
  return Q(this, null, function* () {
@@ -607,49 +622,49 @@ const ye = () => {
607
622
  showBonusSelectionInput: this.showBonusSelectionInput
608
623
  };
609
624
  try {
610
- const p = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, u = yield fetch(p, {
625
+ const h = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, s = yield fetch(h, {
611
626
  method: "POST",
612
627
  headers: {
613
628
  "X-Sessionid": this.session,
614
629
  "Content-Type": "application/json",
615
- "X-Client-Request-Timestamp": re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
630
+ "X-Client-Request-Timestamp": ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
616
631
  },
617
632
  body: JSON.stringify(n)
618
633
  });
619
- if (!u.ok) {
620
- const g = yield u.text();
621
- throw new Error(g);
634
+ if (!s.ok) {
635
+ const p = yield s.text();
636
+ throw new Error(p);
622
637
  }
623
- const l = yield u.json();
624
- if (l.CashierInfo)
625
- this.cashierInfoUrl = l.CashierInfo.Url;
638
+ const c = yield s.json();
639
+ if (c.CashierInfo)
640
+ this.cashierInfoUrl = c.CashierInfo.Url;
626
641
  else {
627
- let g;
628
- if (l.ResponseMessage) {
629
- let w = this.errorCodes.find((m) => l.ResponseMessage.includes(m)) || null;
630
- w ? g = H(`errorCode${w}`, this.language) : g = H("notFoundErrorCode", this.language);
642
+ let p;
643
+ if (c.ResponseMessage) {
644
+ let w = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
645
+ w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
631
646
  } else
632
- g = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
633
- const L = { type: "error", message: g };
647
+ p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
648
+ const L = { type: "error", message: p };
634
649
  window.postMessage({ type: "DenyDepositOrWithdrawal", data: L }, window.location.href);
635
650
  }
636
- } catch (p) {
637
- console.error(p);
651
+ } catch (h) {
652
+ console.error(h);
638
653
  }
639
654
  });
640
655
  }
641
656
  handleMessage(n) {
642
- var p, u, l, g, L, w, m, c;
643
- n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((p = n.data) === null || p === void 0 ? void 0 : p.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((u = n.data) === null || u === void 0 ? void 0 : u.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-hc-sports" && this.doRedirect((g = n.data) === null || g === void 0 ? void 0 : g.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((w = n.data) === null || w === void 0 ? void 0 : w.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((m = n.data) === null || m === void 0 ? void 0 : m.redirect) === "mm-wm-hc-init-deposit" || ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
657
+ var h, s, c, p, L, w, g, l;
658
+ n.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), n.data["MMFE:setQuickDepositHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setQuickDepositHeight"].toString() + "px"), n.data["MMFE:setIFrameHeight"] && this.isShortCashier && (this.dynamicHeight = n.data["MMFE:setIFrameHeight"].toString() + "px"), ((h = n.data) === null || h === void 0 ? void 0 : h.type) === "mm-hcback-to-merchant" && this.doRedirect(n.data.type, this.homeUrl), ((s = n.data) === null || s === void 0 ? void 0 : s.redirect) === "mm-hc-back-tomerchant" && this.doRedirect(n.data.redirect, this.homeUrl), ((c = n.data) === null || c === void 0 ? void 0 : c.redirect) === "mm-hc-sports" && this.doRedirect((p = n.data) === null || p === void 0 ? void 0 : p.redirect, this.sportsUrl), ((L = n.data) === null || L === void 0 ? void 0 : L.redirect) === "mm-hc-casino" && this.doRedirect(window.location.href, this.casinoUrl), ((w = n.data) === null || w === void 0 ? void 0 : w.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((g = n.data) === null || g === void 0 ? void 0 : g.redirect) === "mm-wm-hc-init-deposit" || ((l = n.data) === null || l === void 0 ? void 0 : l.redirect) === "mm-wm-hc-init-deposit-quick") && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.depositUrl));
644
659
  }
645
- doRedirect(n, p) {
646
- const u = { reason: n, url: p, cancel: !1 };
647
- if (this.beforeRedirect(u), !u.cancel) {
648
- if (!u.url) {
660
+ doRedirect(n, h) {
661
+ const s = { reason: n, url: h, cancel: !1 };
662
+ if (this.beforeRedirect(s), !s.cancel) {
663
+ if (!s.url) {
649
664
  window.location.href = "/";
650
665
  return;
651
666
  }
652
- window.location.href = u.url;
667
+ window.location.href = s.url;
653
668
  }
654
669
  }
655
670
  static get watchers() {
@@ -658,11 +673,13 @@ const ye = () => {
658
673
  userId: ["watchLoadWidget"],
659
674
  isShortCashier: ["watchLoadWidget"],
660
675
  currency: ["watchLoadWidget"],
661
- showBonusSelectionInput: ["watchLoadWidget"]
676
+ showBonusSelectionInput: ["watchLoadWidget"],
677
+ clientStyling: ["handleClientStylingChange"],
678
+ clientStylingUrl: ["handleClientStylingChangeURL"]
662
679
  };
663
680
  }
664
681
  };
665
- we.style = ge;
682
+ Se.style = Ce;
666
683
  export {
667
- we as user_deposit_withdrawal
684
+ Se as user_deposit_withdrawal
668
685
  };