@everymatrix/casino-header-controller 1.55.0 → 1.56.2

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 (31) hide show
  1. package/components/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-D3IA0-Fr.js} +68 -31
  2. package/components/{CasinoHamburgerMenu-C8-P7sF9.cjs → CasinoHamburgerMenu-DessG6uq.cjs} +16 -3
  3. package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-DyL5A7W7.js} +69 -32
  4. package/components/CasinoHeaderController-BFP8179I.cjs +13 -0
  5. package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-BbEsH91Z.js} +522 -488
  6. package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-DeiDjcf5.js} +581 -547
  7. package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-BiQpUhjL.js} +63 -63
  8. package/components/CasinoSlider-E1mSYv_J.cjs +1 -0
  9. package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-MTl32pNB.js} +59 -59
  10. package/components/{PlayerAccountBalanceModal-BVQlpIy4.cjs → PlayerAccountBalanceModal-B9BkSlDU.cjs} +5 -5
  11. package/components/{PlayerAccountBalanceModal-CcASksA3.js → PlayerAccountBalanceModal-CEo_b6Ks.js} +119 -116
  12. package/components/{PlayerAccountBalanceModal-DG6GgVDp.js → PlayerAccountBalanceModal-fP9D_Jz7.js} +118 -115
  13. package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-Bv78j0E8.js} +15 -15
  14. package/components/{PlayerDeposit-C8ZPqrpV.cjs → PlayerDeposit-C7xxeNB2.cjs} +1 -1
  15. package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DiUqgMu-.js} +15 -15
  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-1ef3a64c-6soTLew7.js +556 -0
  21. package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
  22. package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
  23. package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-C72e1sSw.js} +216 -178
  24. package/stencil/user-deposit-withdrawal-CS-LZhcv.cjs +59 -0
  25. package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-DfDiD6Lp.js} +289 -251
  26. package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
  27. package/components/CasinoSlider-DDycojG8.cjs +0 -1
  28. package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
  29. package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
  30. package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
  31. 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-1ef3a64c-DkMoO-oa.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,23 +123,47 @@ 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", 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) {
143
167
  var r = ["th", "st", "nd", "rd"], e = a % 100;
144
168
  return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
145
169
  } }, W = function(a, r, e) {
@@ -149,39 +173,43 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
149
173
  var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
150
174
  return (r <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(t, 2, "0");
151
175
  }, m: function a(r, e) {
152
- 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);
176
+ if (r.date() < e.date())
177
+ return -a(e, r);
178
+ 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);
179
+ return +(-(i + (e - t) / (d ? t - u : u - t)) || 0);
155
180
  }, a: function(a) {
156
181
  return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
157
182
  }, 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$/, "");
183
+ 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
184
  }, u: function(a) {
160
185
  return a === void 0;
161
- } }, E = "en", z = {};
162
- z[E] = F;
163
- var Y = "$isDayjsObject", A = function(a) {
186
+ } }, O = "en", z = {};
187
+ z[O] = F;
188
+ var Y = "$isDayjsObject", B = function(a) {
164
189
  return a instanceof Z || !(!a || !a[Y]);
165
190
  }, j = function a(r, e, i) {
166
191
  var t;
167
- if (!r) return E;
192
+ if (!r)
193
+ return O;
168
194
  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]);
195
+ var d = r.toLowerCase();
196
+ z[d] && (t = d), e && (z[d] = e, t = d);
197
+ var u = r.split("-");
198
+ if (!t && u.length > 1)
199
+ return a(u[0]);
173
200
  } else {
174
- var f = r.name;
175
- z[f] = r, t = f;
201
+ var m = r.name;
202
+ z[m] = r, t = m;
176
203
  }
177
- return !i && t && (E = t), t || !i && E;
178
- }, v = function(a, r) {
179
- if (A(a)) return a.clone();
204
+ return !i && t && (O = t), t || !i && O;
205
+ }, C = function(a, r) {
206
+ if (B(a))
207
+ return a.clone();
180
208
  var e = typeof r == "object" ? r : {};
181
209
  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 });
210
+ }, f = G;
211
+ f.l = j, f.i = B, f.w = function(a, r) {
212
+ return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
185
213
  };
186
214
  var Z = function() {
187
215
  function a(e) {
@@ -190,15 +218,18 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
190
218
  var r = a.prototype;
191
219
  return r.parse = function(e) {
192
220
  this.$d = function(i) {
193
- var t = i.date, s = i.utc;
194
- if (t === null) return /* @__PURE__ */ new Date(NaN);
195
- if (h.u(t)) return /* @__PURE__ */ new Date();
196
- if (t instanceof Date) return new Date(t);
221
+ var t = i.date, d = i.utc;
222
+ if (t === null)
223
+ return /* @__PURE__ */ new Date(NaN);
224
+ if (f.u(t))
225
+ return /* @__PURE__ */ new Date();
226
+ if (t instanceof Date)
227
+ return new Date(t);
197
228
  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);
229
+ var u = t.match(U);
230
+ if (u) {
231
+ var m = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
232
+ 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
233
  }
203
234
  }
204
235
  return new Date(t);
@@ -207,43 +238,43 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
207
238
  var e = this.$d;
208
239
  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
240
  }, r.$utils = function() {
210
- return h;
241
+ return f;
211
242
  }, r.isValid = function() {
212
243
  return this.$d.toString() !== o;
213
244
  }, r.isSame = function(e, i) {
214
- var t = v(e);
245
+ var t = C(e);
215
246
  return this.startOf(i) <= t && t <= this.endOf(i);
216
247
  }, r.isAfter = function(e, i) {
217
- return v(e) < this.startOf(i);
248
+ return C(e) < this.startOf(i);
218
249
  }, r.isBefore = function(e, i) {
219
- return this.endOf(i) < v(e);
250
+ return this.endOf(i) < C(e);
220
251
  }, r.$g = function(e, i, t) {
221
- return h.u(e) ? this[i] : this.set(t, e);
252
+ return f.u(e) ? this[i] : this.set(t, e);
222
253
  }, r.unix = function() {
223
254
  return Math.floor(this.valueOf() / 1e3);
224
255
  }, r.valueOf = function() {
225
256
  return this.$d.getTime();
226
257
  }, 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);
258
+ var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, D) {
259
+ var x = f.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
260
+ return d ? x : x.endOf($);
230
261
  }, 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) {
262
+ return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
263
+ }, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
264
+ switch (u) {
234
265
  case k:
235
- return s ? f(1, 0) : f(31, 11);
266
+ return d ? m(1, 0) : m(31, 11);
236
267
  case M:
237
- return s ? f(1, $) : f(0, $ + 1);
268
+ return d ? m(1, S) : m(0, S + 1);
238
269
  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:
270
+ var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
271
+ return m(d ? T - A : T + (6 - A), S);
272
+ case $:
273
+ case E:
243
274
  return y(P + "Hours", 0);
244
- case c:
275
+ case l:
245
276
  return y(P + "Minutes", 1);
246
- case m:
277
+ case g:
247
278
  return y(P + "Seconds", 2);
248
279
  case w:
249
280
  return y(P + "Milliseconds", 3);
@@ -253,142 +284,149 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
253
284
  }, r.endOf = function(e) {
254
285
  return this.startOf(e, !1);
255
286
  }, 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);
287
+ 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;
288
+ if (d === M || d === k) {
289
+ var v = this.clone().set(E, 1);
290
+ v.$d[m](y), v.init(), this.$d = v.set(E, Math.min(this.$D, v.daysInMonth())).$d;
291
+ } else
292
+ m && this.$d[m](y);
261
293
  return this.init(), this;
262
294
  }, r.set = function(e, i) {
263
295
  return this.clone().$set(e, i);
264
296
  }, r.get = function(e) {
265
- return this[h.p(e)]();
297
+ return this[f.p(e)]();
266
298
  }, r.add = function(e, i) {
267
- var t, s = this;
299
+ var t, d = this;
268
300
  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);
301
+ var u = f.p(i), m = function(S) {
302
+ var T = C(d);
303
+ return f.w(T.date(T.date() + Math.round(S * e)), d);
272
304
  };
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);
305
+ if (u === M)
306
+ return this.set(M, this.$M + e);
307
+ if (u === k)
308
+ return this.set(k, this.$y + e);
309
+ if (u === $)
310
+ return m(1);
311
+ if (u === q)
312
+ return m(7);
313
+ var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
314
+ return f.w(v, this);
279
315
  }, r.subtract = function(e, i) {
280
316
  return this.add(-1 * e, i);
281
317
  }, r.format = function(e) {
282
318
  var i = this, t = this.$locale();
283
- 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");
319
+ if (!this.isValid())
320
+ return t.invalidDate || o;
321
+ 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) {
322
+ return D && (D[x] || D(i, d)) || V[x].slice(0, J);
323
+ }, A = function(D) {
324
+ return f.s(m % 12 || 12, D, "0");
288
325
  }, R = P || function(D, x, V) {
289
326
  var J = D < 12 ? "AM" : "PM";
290
327
  return V ? J.toLowerCase() : J;
291
328
  };
292
- return s.replace(I, function(D, x) {
329
+ return d.replace(I, function(D, x) {
293
330
  return x || function(V) {
294
331
  switch (V) {
295
332
  case "YY":
296
333
  return String(i.$y).slice(-2);
297
334
  case "YYYY":
298
- return h.s(i.$y, 4, "0");
335
+ return f.s(i.$y, 4, "0");
299
336
  case "M":
300
- return C + 1;
337
+ return v + 1;
301
338
  case "MM":
302
- return h.s(C + 1, 2, "0");
339
+ return f.s(v + 1, 2, "0");
303
340
  case "MMM":
304
- return _(t.monthsShort, C, T, 3);
341
+ return _(t.monthsShort, v, T, 3);
305
342
  case "MMMM":
306
- return _(T, C);
343
+ return _(T, v);
307
344
  case "D":
308
345
  return i.$D;
309
346
  case "DD":
310
- return h.s(i.$D, 2, "0");
347
+ return f.s(i.$D, 2, "0");
311
348
  case "d":
312
349
  return String(i.$W);
313
350
  case "dd":
314
- return _(t.weekdaysMin, i.$W, $, 2);
351
+ return _(t.weekdaysMin, i.$W, S, 2);
315
352
  case "ddd":
316
- return _(t.weekdaysShort, i.$W, $, 3);
353
+ return _(t.weekdaysShort, i.$W, S, 3);
317
354
  case "dddd":
318
- return $[i.$W];
355
+ return S[i.$W];
319
356
  case "H":
320
- return String(f);
357
+ return String(m);
321
358
  case "HH":
322
- return h.s(f, 2, "0");
359
+ return f.s(m, 2, "0");
323
360
  case "h":
324
- return B(1);
361
+ return A(1);
325
362
  case "hh":
326
- return B(2);
363
+ return A(2);
327
364
  case "a":
328
- return R(f, y, !0);
365
+ return R(m, y, !0);
329
366
  case "A":
330
- return R(f, y, !1);
367
+ return R(m, y, !1);
331
368
  case "m":
332
369
  return String(y);
333
370
  case "mm":
334
- return h.s(y, 2, "0");
371
+ return f.s(y, 2, "0");
335
372
  case "s":
336
373
  return String(i.$s);
337
374
  case "ss":
338
- return h.s(i.$s, 2, "0");
375
+ return f.s(i.$s, 2, "0");
339
376
  case "SSS":
340
- return h.s(i.$ms, 3, "0");
377
+ return f.s(i.$ms, 3, "0");
341
378
  case "Z":
342
- return d;
379
+ return u;
343
380
  }
344
381
  return null;
345
- }(D) || d.replace(":", "");
382
+ }(D) || u.replace(":", "");
346
383
  });
347
384
  }, r.utcOffset = function() {
348
385
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
349
386
  }, 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);
387
+ var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * c, S = this - y, T = function() {
388
+ return f.m(u, y);
352
389
  };
353
- switch (f) {
390
+ switch (m) {
354
391
  case k:
355
- s = T() / 12;
392
+ d = T() / 12;
356
393
  break;
357
394
  case M:
358
- s = T();
395
+ d = T();
359
396
  break;
360
397
  case N:
361
- s = T() / 3;
398
+ d = T() / 3;
362
399
  break;
363
400
  case q:
364
- s = ($ - C) / 6048e5;
401
+ d = (S - v) / 6048e5;
365
402
  break;
366
- case S:
367
- s = ($ - C) / 864e5;
403
+ case $:
404
+ d = (S - v) / 864e5;
368
405
  break;
369
- case c:
370
- s = $ / g;
406
+ case l:
407
+ d = S / p;
371
408
  break;
372
- case m:
373
- s = $ / l;
409
+ case g:
410
+ d = S / c;
374
411
  break;
375
412
  case w:
376
- s = $ / u;
413
+ d = S / s;
377
414
  break;
378
415
  default:
379
- s = $;
416
+ d = S;
380
417
  }
381
- return t ? s : h.a(s);
418
+ return t ? d : f.a(d);
382
419
  }, r.daysInMonth = function() {
383
420
  return this.endOf(M).$D;
384
421
  }, r.$locale = function() {
385
422
  return z[this.$L];
386
423
  }, r.locale = function(e, i) {
387
- if (!e) return this.$L;
388
- var t = this.clone(), s = j(e, i, !0);
389
- return s && (t.$L = s), t;
424
+ if (!e)
425
+ return this.$L;
426
+ var t = this.clone(), d = j(e, i, !0);
427
+ return d && (t.$L = d), t;
390
428
  }, r.clone = function() {
391
- return h.w(this.$d, this);
429
+ return f.w(this.$d, this);
392
430
  }, r.toDate = function() {
393
431
  return new Date(this.valueOf());
394
432
  }, r.toJSON = function() {
@@ -399,93 +437,100 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
399
437
  return this.$d.toUTCString();
400
438
  }, a;
401
439
  }(), 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) {
440
+ return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", $], ["$M", M], ["$y", k], ["$D", E]].forEach(function(a) {
403
441
  K[a[1]] = function(r) {
404
442
  return this.$g(r, a[0], a[1]);
405
443
  };
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;
444
+ }), C.extend = function(a, r) {
445
+ return a.$i || (a(r, Z, C), a.$i = !0), C;
446
+ }, C.locale = j, C.isDayjs = B, C.unix = function(a) {
447
+ return C(1e3 * a);
448
+ }, C.en = z[O], C.Ls = z, C.p = {}, C;
411
449
  });
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) {
450
+ })(ne);
451
+ const ie = ne.exports;
452
+ var ae = { exports: {} };
453
+ (function(n, h) {
454
+ (function(s, c) {
455
+ n.exports = c();
456
+ })(re, function() {
457
+ var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
458
+ return function(L, w, g) {
459
+ var l = w.prototype;
460
+ g.utc = function(o) {
423
461
  var U = { date: o, utc: !0, args: arguments };
424
462
  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 });
463
+ }, l.utc = function(o) {
464
+ var U = g(this.toDate(), { locale: this.$L, utc: !0 });
465
+ return o ? U.add(this.utcOffset(), s) : U;
466
+ }, l.local = function() {
467
+ return g(this.toDate(), { locale: this.$L, utc: !1 });
430
468
  };
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);
469
+ var $ = l.parse;
470
+ l.parse = function(o) {
471
+ o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
434
472
  };
435
- var q = c.init;
436
- c.init = function() {
473
+ var q = l.init;
474
+ l.init = function() {
437
475
  if (this.$u) {
438
476
  var o = this.$d;
439
477
  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
- } else q.call(this);
478
+ } else
479
+ q.call(this);
441
480
  };
442
- var M = c.utcOffset;
443
- c.utcOffset = function(o, U) {
481
+ var M = l.utcOffset;
482
+ l.utcOffset = function(o, U) {
444
483
  var I = this.$utils().u;
445
- 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);
449
- 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;
452
- }(o), o === null)) return this;
484
+ if (I(o))
485
+ return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
486
+ if (typeof o == "string" && (o = function(O) {
487
+ O === void 0 && (O = "");
488
+ var z = O.match(c);
489
+ if (!z)
490
+ return null;
491
+ var Y = ("" + z[0]).match(p) || ["-", 0, 0], B = Y[0], j = 60 * +Y[1] + +Y[2];
492
+ return j === 0 ? 0 : B === "+" ? j : -j;
493
+ }(o), o === null))
494
+ return this;
453
495
  var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
454
- if (U) return W.$offset = F, W.$u = o === 0, W;
496
+ if (U)
497
+ return W.$offset = F, W.$u = o === 0, W;
455
498
  if (o !== 0) {
456
499
  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();
500
+ (W = this.local().add(F + G, s)).$offset = F, W.$x.$localOffset = G;
501
+ } else
502
+ W = this.utc();
459
503
  return W;
460
504
  };
461
- var N = c.format;
462
- c.format = function(o) {
505
+ var N = l.format;
506
+ l.format = function(o) {
463
507
  var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
464
508
  return N.call(this, U);
465
- }, c.valueOf = function() {
509
+ }, l.valueOf = function() {
466
510
  var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
467
511
  return this.$d.valueOf() - 6e4 * o;
468
- }, c.isUTC = function() {
512
+ }, l.isUTC = function() {
469
513
  return !!this.$u;
470
- }, c.toISOString = function() {
514
+ }, l.toISOString = function() {
471
515
  return this.toDate().toISOString();
472
- }, c.toString = function() {
516
+ }, l.toString = function() {
473
517
  return this.toDate().toUTCString();
474
518
  };
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);
519
+ var k = l.toDate;
520
+ l.toDate = function(o) {
521
+ return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : k.call(this);
478
522
  };
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);
523
+ var E = l.diff;
524
+ l.diff = function(o, U, I) {
525
+ if (o && this.$u === o.$u)
526
+ return E.call(this, o, U, I);
527
+ var F = this.local(), W = g(o).local();
528
+ return E.call(F, W, U, I);
484
529
  };
485
530
  };
486
531
  });
487
- })(ie);
488
- const pe = ie.exports, me = `:host {
532
+ })(ae);
533
+ const ye = ae.exports, we = `:host {
489
534
  font: inherit;
490
535
  display: block;
491
536
  height: 100%;
@@ -543,24 +588,12 @@ const pe = ie.exports, me = `:host {
543
588
  margin-top: 70px;
544
589
  text-align: center;
545
590
  color: var(--emw--color-black, #000000);
546
- }`, ge = me;
547
- re.extend(pe);
548
- const ye = () => {
549
- }, we = class {
591
+ }`, Ce = we;
592
+ ie.extend(ye);
593
+ const ve = () => {
594
+ }, Se = class {
550
595
  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;
596
+ de(this, n), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122"], this.mbSource = void 0, 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 = ve, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
564
597
  }
565
598
  get typeParameter() {
566
599
  if (this.type === "deposit")
@@ -571,26 +604,29 @@ const ye = () => {
571
604
  watchLoadWidget() {
572
605
  this.loadWidget();
573
606
  }
607
+ handleClientStylingChange(n, h) {
608
+ n != h && X(this.stylingContainer, this.clientStyling);
609
+ }
610
+ handleClientStylingChangeURL(n, h) {
611
+ n != h && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
612
+ }
574
613
  componentWillLoad() {
575
614
  return Q(this, null, function* () {
576
615
  if (yield this.loadWidget(), this.translationUrl)
577
- return he(this.translationUrl);
616
+ return pe(this.translationUrl);
578
617
  });
579
618
  }
580
619
  toggleScreen(n) {
581
620
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: n }, window.location.href);
582
621
  }
583
622
  componentDidLoad() {
584
- window.addEventListener("message", this.bindedHandler, !1);
623
+ 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
624
  }
586
625
  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);
626
+ window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
591
627
  }
592
628
  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)))));
629
+ 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
630
  }
595
631
  loadWidget() {
596
632
  return Q(this, null, function* () {
@@ -607,49 +643,49 @@ const ye = () => {
607
643
  showBonusSelectionInput: this.showBonusSelectionInput
608
644
  };
609
645
  try {
610
- const p = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, u = yield fetch(p, {
646
+ const h = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, s = yield fetch(h, {
611
647
  method: "POST",
612
648
  headers: {
613
649
  "X-Sessionid": this.session,
614
650
  "Content-Type": "application/json",
615
- "X-Client-Request-Timestamp": re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
651
+ "X-Client-Request-Timestamp": ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
616
652
  },
617
653
  body: JSON.stringify(n)
618
654
  });
619
- if (!u.ok) {
620
- const g = yield u.text();
621
- throw new Error(g);
655
+ if (!s.ok) {
656
+ const p = yield s.text();
657
+ throw new Error(p);
622
658
  }
623
- const l = yield u.json();
624
- if (l.CashierInfo)
625
- this.cashierInfoUrl = l.CashierInfo.Url;
659
+ const c = yield s.json();
660
+ if (c.CashierInfo)
661
+ this.cashierInfoUrl = c.CashierInfo.Url;
626
662
  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);
663
+ let p;
664
+ if (c.ResponseMessage) {
665
+ let w = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
666
+ w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
631
667
  } else
632
- g = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
633
- const L = { type: "error", message: g };
668
+ p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
669
+ const L = { type: "error", message: p };
634
670
  window.postMessage({ type: "DenyDepositOrWithdrawal", data: L }, window.location.href);
635
671
  }
636
- } catch (p) {
637
- console.error(p);
672
+ } catch (h) {
673
+ console.error(h);
638
674
  }
639
675
  });
640
676
  }
641
677
  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));
678
+ var h, s, c, p, L, w, g, l;
679
+ 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
680
  }
645
- doRedirect(n, p) {
646
- const u = { reason: n, url: p, cancel: !1 };
647
- if (this.beforeRedirect(u), !u.cancel) {
648
- if (!u.url) {
681
+ doRedirect(n, h) {
682
+ const s = { reason: n, url: h, cancel: !1 };
683
+ if (this.beforeRedirect(s), !s.cancel) {
684
+ if (!s.url) {
649
685
  window.location.href = "/";
650
686
  return;
651
687
  }
652
- window.location.href = u.url;
688
+ window.location.href = s.url;
653
689
  }
654
690
  }
655
691
  static get watchers() {
@@ -658,11 +694,13 @@ const ye = () => {
658
694
  userId: ["watchLoadWidget"],
659
695
  isShortCashier: ["watchLoadWidget"],
660
696
  currency: ["watchLoadWidget"],
661
- showBonusSelectionInput: ["watchLoadWidget"]
697
+ showBonusSelectionInput: ["watchLoadWidget"],
698
+ clientStyling: ["handleClientStylingChange"],
699
+ clientStylingUrl: ["handleClientStylingChangeURL"]
662
700
  };
663
701
  }
664
702
  };
665
- we.style = ge;
703
+ Se.style = Ce;
666
704
  export {
667
- we as user_deposit_withdrawal
705
+ Se as user_deposit_withdrawal
668
706
  };