@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.
- package/components/{CasinoHamburgerMenu-JVY4ac8I.js → CasinoHamburgerMenu-D3IA0-Fr.js} +68 -31
- package/components/{CasinoHamburgerMenu-C8-P7sF9.cjs → CasinoHamburgerMenu-DessG6uq.cjs} +16 -3
- package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-DyL5A7W7.js} +69 -32
- package/components/CasinoHeaderController-BFP8179I.cjs +13 -0
- package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-BbEsH91Z.js} +522 -488
- package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-DeiDjcf5.js} +581 -547
- package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-BiQpUhjL.js} +63 -63
- package/components/CasinoSlider-E1mSYv_J.cjs +1 -0
- package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-MTl32pNB.js} +59 -59
- package/components/{PlayerAccountBalanceModal-BVQlpIy4.cjs → PlayerAccountBalanceModal-B9BkSlDU.cjs} +5 -5
- package/components/{PlayerAccountBalanceModal-CcASksA3.js → PlayerAccountBalanceModal-CEo_b6Ks.js} +119 -116
- package/components/{PlayerAccountBalanceModal-DG6GgVDp.js → PlayerAccountBalanceModal-fP9D_Jz7.js} +118 -115
- package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-Bv78j0E8.js} +15 -15
- package/components/{PlayerDeposit-C8ZPqrpV.cjs → PlayerDeposit-C7xxeNB2.cjs} +1 -1
- package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DiUqgMu-.js} +15 -15
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-1ef3a64c-6soTLew7.js +556 -0
- package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
- package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-C72e1sSw.js} +216 -178
- package/stencil/user-deposit-withdrawal-CS-LZhcv.cjs +59 -0
- package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-DfDiD6Lp.js} +289 -251
- package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
- package/components/CasinoSlider-DDycojG8.cjs +0 -1
- package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
- package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
- package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
- package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var Q = (n,
|
|
2
|
-
var L = (
|
|
1
|
+
var Q = (n, h, s) => new Promise((c, p) => {
|
|
2
|
+
var L = (l) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
g(s.next(l));
|
|
5
|
+
} catch ($) {
|
|
6
|
+
p($);
|
|
7
7
|
}
|
|
8
|
-
}, w = (
|
|
8
|
+
}, w = (l) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
g(s.throw(l));
|
|
11
|
+
} catch ($) {
|
|
12
|
+
p($);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
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
|
|
18
|
-
import { g as
|
|
19
|
-
var
|
|
20
|
-
const n = import.meta.url,
|
|
21
|
-
return n !== "" && (
|
|
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
|
-
|
|
24
|
-
return yield
|
|
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
|
|
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
|
-
},
|
|
127
|
-
fetch(n).then((
|
|
128
|
-
Object.keys(
|
|
129
|
-
for (let
|
|
130
|
-
|
|
131
|
-
}),
|
|
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,
|
|
134
|
-
const
|
|
135
|
-
return
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
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())
|
|
153
|
-
|
|
154
|
-
|
|
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:
|
|
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
|
-
} },
|
|
162
|
-
z[
|
|
163
|
-
var Y = "$isDayjsObject",
|
|
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)
|
|
192
|
+
if (!r)
|
|
193
|
+
return O;
|
|
168
194
|
if (typeof r == "string") {
|
|
169
|
-
var
|
|
170
|
-
z[
|
|
171
|
-
var
|
|
172
|
-
if (!t &&
|
|
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
|
|
175
|
-
z[
|
|
201
|
+
var m = r.name;
|
|
202
|
+
z[m] = r, t = m;
|
|
176
203
|
}
|
|
177
|
-
return !i && t && (
|
|
178
|
-
},
|
|
179
|
-
if (
|
|
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
|
-
},
|
|
183
|
-
|
|
184
|
-
return
|
|
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,
|
|
194
|
-
if (t === null)
|
|
195
|
-
|
|
196
|
-
if (
|
|
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
|
|
199
|
-
if (
|
|
200
|
-
var
|
|
201
|
-
return
|
|
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
|
|
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 =
|
|
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
|
|
248
|
+
return C(e) < this.startOf(i);
|
|
218
249
|
}, r.isBefore = function(e, i) {
|
|
219
|
-
return this.endOf(i) <
|
|
250
|
+
return this.endOf(i) < C(e);
|
|
220
251
|
}, r.$g = function(e, i, t) {
|
|
221
|
-
return
|
|
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,
|
|
228
|
-
var x =
|
|
229
|
-
return
|
|
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
|
|
232
|
-
},
|
|
233
|
-
switch (
|
|
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
|
|
266
|
+
return d ? m(1, 0) : m(31, 11);
|
|
236
267
|
case M:
|
|
237
|
-
return
|
|
268
|
+
return d ? m(1, S) : m(0, S + 1);
|
|
238
269
|
case q:
|
|
239
|
-
var _ = this.$locale().weekStart || 0,
|
|
240
|
-
return
|
|
241
|
-
case
|
|
242
|
-
case
|
|
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
|
|
275
|
+
case l:
|
|
245
276
|
return y(P + "Minutes", 1);
|
|
246
|
-
case
|
|
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,
|
|
257
|
-
if (
|
|
258
|
-
var
|
|
259
|
-
|
|
260
|
-
} else
|
|
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[
|
|
297
|
+
return this[f.p(e)]();
|
|
266
298
|
}, r.add = function(e, i) {
|
|
267
|
-
var t,
|
|
299
|
+
var t, d = this;
|
|
268
300
|
e = Number(e);
|
|
269
|
-
var
|
|
270
|
-
var T =
|
|
271
|
-
return
|
|
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 (
|
|
274
|
-
|
|
275
|
-
if (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
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())
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
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
|
|
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
|
|
335
|
+
return f.s(i.$y, 4, "0");
|
|
299
336
|
case "M":
|
|
300
|
-
return
|
|
337
|
+
return v + 1;
|
|
301
338
|
case "MM":
|
|
302
|
-
return
|
|
339
|
+
return f.s(v + 1, 2, "0");
|
|
303
340
|
case "MMM":
|
|
304
|
-
return _(t.monthsShort,
|
|
341
|
+
return _(t.monthsShort, v, T, 3);
|
|
305
342
|
case "MMMM":
|
|
306
|
-
return _(T,
|
|
343
|
+
return _(T, v);
|
|
307
344
|
case "D":
|
|
308
345
|
return i.$D;
|
|
309
346
|
case "DD":
|
|
310
|
-
return
|
|
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,
|
|
351
|
+
return _(t.weekdaysMin, i.$W, S, 2);
|
|
315
352
|
case "ddd":
|
|
316
|
-
return _(t.weekdaysShort, i.$W,
|
|
353
|
+
return _(t.weekdaysShort, i.$W, S, 3);
|
|
317
354
|
case "dddd":
|
|
318
|
-
return
|
|
355
|
+
return S[i.$W];
|
|
319
356
|
case "H":
|
|
320
|
-
return String(
|
|
357
|
+
return String(m);
|
|
321
358
|
case "HH":
|
|
322
|
-
return
|
|
359
|
+
return f.s(m, 2, "0");
|
|
323
360
|
case "h":
|
|
324
|
-
return
|
|
361
|
+
return A(1);
|
|
325
362
|
case "hh":
|
|
326
|
-
return
|
|
363
|
+
return A(2);
|
|
327
364
|
case "a":
|
|
328
|
-
return R(
|
|
365
|
+
return R(m, y, !0);
|
|
329
366
|
case "A":
|
|
330
|
-
return R(
|
|
367
|
+
return R(m, y, !1);
|
|
331
368
|
case "m":
|
|
332
369
|
return String(y);
|
|
333
370
|
case "mm":
|
|
334
|
-
return
|
|
371
|
+
return f.s(y, 2, "0");
|
|
335
372
|
case "s":
|
|
336
373
|
return String(i.$s);
|
|
337
374
|
case "ss":
|
|
338
|
-
return
|
|
375
|
+
return f.s(i.$s, 2, "0");
|
|
339
376
|
case "SSS":
|
|
340
|
-
return
|
|
377
|
+
return f.s(i.$ms, 3, "0");
|
|
341
378
|
case "Z":
|
|
342
|
-
return
|
|
379
|
+
return u;
|
|
343
380
|
}
|
|
344
381
|
return null;
|
|
345
|
-
}(D) ||
|
|
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
|
|
351
|
-
return
|
|
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 (
|
|
390
|
+
switch (m) {
|
|
354
391
|
case k:
|
|
355
|
-
|
|
392
|
+
d = T() / 12;
|
|
356
393
|
break;
|
|
357
394
|
case M:
|
|
358
|
-
|
|
395
|
+
d = T();
|
|
359
396
|
break;
|
|
360
397
|
case N:
|
|
361
|
-
|
|
398
|
+
d = T() / 3;
|
|
362
399
|
break;
|
|
363
400
|
case q:
|
|
364
|
-
|
|
401
|
+
d = (S - v) / 6048e5;
|
|
365
402
|
break;
|
|
366
|
-
case
|
|
367
|
-
|
|
403
|
+
case $:
|
|
404
|
+
d = (S - v) / 864e5;
|
|
368
405
|
break;
|
|
369
|
-
case
|
|
370
|
-
|
|
406
|
+
case l:
|
|
407
|
+
d = S / p;
|
|
371
408
|
break;
|
|
372
|
-
case
|
|
373
|
-
|
|
409
|
+
case g:
|
|
410
|
+
d = S / c;
|
|
374
411
|
break;
|
|
375
412
|
case w:
|
|
376
|
-
|
|
413
|
+
d = S / s;
|
|
377
414
|
break;
|
|
378
415
|
default:
|
|
379
|
-
|
|
416
|
+
d = S;
|
|
380
417
|
}
|
|
381
|
-
return t ?
|
|
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)
|
|
388
|
-
|
|
389
|
-
|
|
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
|
|
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
|
|
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
|
-
}),
|
|
407
|
-
return a.$i || (a(r, Z,
|
|
408
|
-
},
|
|
409
|
-
return
|
|
410
|
-
},
|
|
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
|
-
})(
|
|
413
|
-
const
|
|
414
|
-
var
|
|
415
|
-
(function(n,
|
|
416
|
-
(function(
|
|
417
|
-
n.exports =
|
|
418
|
-
})(
|
|
419
|
-
var
|
|
420
|
-
return function(L, w,
|
|
421
|
-
var
|
|
422
|
-
|
|
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
|
-
},
|
|
426
|
-
var U =
|
|
427
|
-
return o ? U.add(this.utcOffset(),
|
|
428
|
-
},
|
|
429
|
-
return
|
|
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
|
|
432
|
-
|
|
433
|
-
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset),
|
|
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 =
|
|
436
|
-
|
|
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
|
|
478
|
+
} else
|
|
479
|
+
q.call(this);
|
|
441
480
|
};
|
|
442
|
-
var M =
|
|
443
|
-
|
|
481
|
+
var M = l.utcOffset;
|
|
482
|
+
l.utcOffset = function(o, U) {
|
|
444
483
|
var I = this.$utils().u;
|
|
445
|
-
if (I(o))
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
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)
|
|
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,
|
|
458
|
-
} else
|
|
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 =
|
|
462
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
512
|
+
}, l.isUTC = function() {
|
|
469
513
|
return !!this.$u;
|
|
470
|
-
},
|
|
514
|
+
}, l.toISOString = function() {
|
|
471
515
|
return this.toDate().toISOString();
|
|
472
|
-
},
|
|
516
|
+
}, l.toString = function() {
|
|
473
517
|
return this.toDate().toUTCString();
|
|
474
518
|
};
|
|
475
|
-
var k =
|
|
476
|
-
|
|
477
|
-
return o === "s" && this.$offset ?
|
|
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
|
|
480
|
-
|
|
481
|
-
if (o && this.$u === o.$u)
|
|
482
|
-
|
|
483
|
-
|
|
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
|
-
})(
|
|
488
|
-
const
|
|
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
|
-
}`,
|
|
547
|
-
|
|
548
|
-
const
|
|
549
|
-
},
|
|
591
|
+
}`, Ce = we;
|
|
592
|
+
ie.extend(ye);
|
|
593
|
+
const ve = () => {
|
|
594
|
+
}, Se = class {
|
|
550
595
|
constructor(n) {
|
|
551
|
-
|
|
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
|
|
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(
|
|
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
|
|
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":
|
|
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 (!
|
|
620
|
-
const
|
|
621
|
-
throw new Error(
|
|
655
|
+
if (!s.ok) {
|
|
656
|
+
const p = yield s.text();
|
|
657
|
+
throw new Error(p);
|
|
622
658
|
}
|
|
623
|
-
const
|
|
624
|
-
if (
|
|
625
|
-
this.cashierInfoUrl =
|
|
659
|
+
const c = yield s.json();
|
|
660
|
+
if (c.CashierInfo)
|
|
661
|
+
this.cashierInfoUrl = c.CashierInfo.Url;
|
|
626
662
|
else {
|
|
627
|
-
let
|
|
628
|
-
if (
|
|
629
|
-
let w = this.errorCodes.find((
|
|
630
|
-
w ?
|
|
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
|
-
|
|
633
|
-
const L = { type: "error", message:
|
|
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 (
|
|
637
|
-
console.error(
|
|
672
|
+
} catch (h) {
|
|
673
|
+
console.error(h);
|
|
638
674
|
}
|
|
639
675
|
});
|
|
640
676
|
}
|
|
641
677
|
handleMessage(n) {
|
|
642
|
-
var
|
|
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"), ((
|
|
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,
|
|
646
|
-
const
|
|
647
|
-
if (this.beforeRedirect(
|
|
648
|
-
if (!
|
|
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 =
|
|
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
|
-
|
|
703
|
+
Se.style = Ce;
|
|
666
704
|
export {
|
|
667
|
-
|
|
705
|
+
Se as user_deposit_withdrawal
|
|
668
706
|
};
|