@everymatrix/casino-header-controller 1.54.8 → 1.54.10
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-6NiYpRXZ.js → CasinoHamburgerMenu-DrXD2QZ-.js} +88 -88
- package/components/{CasinoHamburgerMenu-DQ5J6iG9.js → CasinoHamburgerMenu-Dv3mR4gk.js} +89 -89
- package/components/{CasinoHeaderController-Cl7ARyub.js → CasinoHeaderController-Byn6scnE.js} +6 -6
- package/components/{CasinoHeaderController-uvHQamuW.cjs → CasinoHeaderController-D7CpWOW7.cjs} +5 -5
- package/components/{CasinoHeaderController-Cq5TSS7Q.js → CasinoHeaderController-DCYuF1bQ.js} +6 -6
- package/components/{CasinoSlider-XUz3C3S-.js → CasinoSlider-5-1p-Xbc.js} +1 -1
- package/components/{CasinoSlider-6zcEnsqz.js → CasinoSlider-Dm6jniCL.js} +1 -1
- package/components/{PlayerAccountBalanceModal-CTz9mHwh.js → PlayerAccountBalanceModal-B1_uQAVA.js} +1 -1
- package/components/{PlayerAccountBalanceModal-zbnH49Uz.js → PlayerAccountBalanceModal-Cs1yCHOI.js} +1 -1
- package/components/{PlayerDeposit-BnC5lDMw.js → PlayerDeposit-B89_Vs9V.js} +1 -1
- package/components/{PlayerDeposit-_PiynGo4.js → PlayerDeposit-CNy9cvEy.js} +1 -1
- 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 +2 -2
- package/stencil/index-581287aa-BlacPmvJ.cjs +1 -0
- package/stencil/index-581287aa-CB9EU-jr.js +638 -0
- package/stencil/index-581287aa-whOrxOjc.js +654 -0
- package/stencil/{user-deposit-withdrawal-CGu0x9I4.js → user-deposit-withdrawal-BnZUfmXW.js} +100 -100
- package/stencil/{user-deposit-withdrawal-Cpj0khDg.cjs → user-deposit-withdrawal-CC9lSqrS.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-6kIYIsxW.js → user-deposit-withdrawal-CyhPaTts.js} +105 -105
- package/stencil/index-581287aa-BOZ4jFhd.js +0 -638
- package/stencil/index-581287aa-BmnjFzrP.js +0 -654
- package/stencil/index-581287aa-o2un8phH.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
var Q = (
|
1
|
+
var Q = (n, p, u) => new Promise((l, g) => {
|
2
2
|
var L = (c) => {
|
3
3
|
try {
|
4
4
|
m(u.next(c));
|
@@ -12,16 +12,16 @@ var Q = (i, p, u) => new Promise((l, g) => {
|
|
12
12
|
g(S);
|
13
13
|
}
|
14
14
|
}, m = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(L, w);
|
15
|
-
m((u = u.apply(
|
15
|
+
m((u = u.apply(n, p)).next());
|
16
16
|
});
|
17
|
-
import { b as
|
17
|
+
import { b as ne, p as ae, r as oe, h as b, H as se } from "./index-581287aa-whOrxOjc.js";
|
18
18
|
import { g as de } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
19
|
var ue = () => {
|
20
|
-
const
|
21
|
-
return
|
20
|
+
const n = import.meta.url, p = {};
|
21
|
+
return n !== "" && (p.resourcesUrl = new URL(".", n).href), ae(p);
|
22
22
|
};
|
23
|
-
ue().then((
|
24
|
-
return yield de(),
|
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);
|
25
25
|
}));
|
26
26
|
const ce = "en", le = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], X = {
|
27
27
|
en: {
|
@@ -123,35 +123,35 @@ 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 = (
|
127
|
-
fetch(
|
126
|
+
}, he = (n) => new Promise((p) => {
|
127
|
+
fetch(n).then((u) => u.json()).then((u) => {
|
128
128
|
Object.keys(u).forEach((l) => {
|
129
129
|
for (let g in u[l])
|
130
130
|
X[l][g] = u[l][g];
|
131
131
|
}), p(!0);
|
132
132
|
});
|
133
|
-
}), H = (
|
133
|
+
}), H = (n, p) => {
|
134
134
|
const u = p;
|
135
|
-
return X[u !== void 0 && le.includes(u) ? u : ce][
|
136
|
-
}, fe = (
|
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
137
|
var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, te = { exports: {} };
|
138
|
-
(function(
|
138
|
+
(function(n, p) {
|
139
139
|
(function(u, l) {
|
140
|
-
|
140
|
+
n.exports = l();
|
141
141
|
})(ee, function() {
|
142
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", 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
143
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
144
144
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
145
145
|
} }, U = function(a, r, e) {
|
146
|
-
var
|
147
|
-
return !
|
146
|
+
var i = String(a);
|
147
|
+
return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
|
148
148
|
}, G = { s: U, z: function(a) {
|
149
|
-
var r = -a.utcOffset(), e = Math.abs(r),
|
150
|
-
return (r <= 0 ? "+" : "-") + U(
|
149
|
+
var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
|
150
|
+
return (r <= 0 ? "+" : "-") + U(i, 2, "0") + ":" + U(t, 2, "0");
|
151
151
|
}, m: function a(r, e) {
|
152
152
|
if (r.date() < e.date()) return -a(e, r);
|
153
|
-
var
|
154
|
-
return +(-(
|
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);
|
155
155
|
}, a: function(a) {
|
156
156
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
157
157
|
}, p: function(a) {
|
@@ -162,7 +162,7 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
162
162
|
z[E] = F;
|
163
163
|
var Y = "$isDayjsObject", A = function(a) {
|
164
164
|
return a instanceof Z || !(!a || !a[Y]);
|
165
|
-
}, j = function a(r, e,
|
165
|
+
}, j = function a(r, e, i) {
|
166
166
|
var t;
|
167
167
|
if (!r) return E;
|
168
168
|
if (typeof r == "string") {
|
@@ -174,14 +174,14 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
174
174
|
var f = r.name;
|
175
175
|
z[f] = r, t = f;
|
176
176
|
}
|
177
|
-
return !
|
178
|
-
},
|
177
|
+
return !i && t && (E = t), t || !i && E;
|
178
|
+
}, v = function(a, r) {
|
179
179
|
if (A(a)) return a.clone();
|
180
180
|
var e = typeof r == "object" ? r : {};
|
181
181
|
return e.date = a, e.args = arguments, new Z(e);
|
182
182
|
}, h = G;
|
183
183
|
h.l = j, h.i = A, h.w = function(a, r) {
|
184
|
-
return
|
184
|
+
return v(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
185
185
|
};
|
186
186
|
var Z = function() {
|
187
187
|
function a(e) {
|
@@ -189,8 +189,8 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
189
189
|
}
|
190
190
|
var r = a.prototype;
|
191
191
|
return r.parse = function(e) {
|
192
|
-
this.$d = function(
|
193
|
-
var t =
|
192
|
+
this.$d = function(i) {
|
193
|
+
var t = i.date, s = i.utc;
|
194
194
|
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
195
195
|
if (h.u(t)) return /* @__PURE__ */ new Date();
|
196
196
|
if (t instanceof Date) return new Date(t);
|
@@ -210,34 +210,34 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
210
210
|
return h;
|
211
211
|
}, r.isValid = function() {
|
212
212
|
return this.$d.toString() !== o;
|
213
|
-
}, r.isSame = function(e,
|
214
|
-
var t =
|
215
|
-
return this.startOf(
|
216
|
-
}, r.isAfter = function(e,
|
217
|
-
return
|
218
|
-
}, r.isBefore = function(e,
|
219
|
-
return this.endOf(
|
220
|
-
}, r.$g = function(e,
|
221
|
-
return h.u(e) ? this[
|
213
|
+
}, r.isSame = function(e, i) {
|
214
|
+
var t = v(e);
|
215
|
+
return this.startOf(i) <= t && t <= this.endOf(i);
|
216
|
+
}, r.isAfter = function(e, i) {
|
217
|
+
return v(e) < this.startOf(i);
|
218
|
+
}, r.isBefore = function(e, i) {
|
219
|
+
return this.endOf(i) < v(e);
|
220
|
+
}, r.$g = function(e, i, t) {
|
221
|
+
return h.u(e) ? this[i] : this.set(t, e);
|
222
222
|
}, r.unix = function() {
|
223
223
|
return Math.floor(this.valueOf() / 1e3);
|
224
224
|
}, r.valueOf = function() {
|
225
225
|
return this.$d.getTime();
|
226
|
-
}, r.startOf = function(e,
|
227
|
-
var t = this, s = !!h.u(
|
226
|
+
}, r.startOf = function(e, i) {
|
227
|
+
var t = this, s = !!h.u(i) || i, d = h.p(e), f = function(R, D) {
|
228
228
|
var x = h.w(t.$u ? Date.UTC(t.$y, D, R) : new Date(t.$y, D, R), t);
|
229
229
|
return s ? x : x.endOf(S);
|
230
230
|
}, y = function(R, D) {
|
231
231
|
return h.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
|
232
|
-
},
|
232
|
+
}, C = this.$W, $ = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
233
233
|
switch (d) {
|
234
234
|
case k:
|
235
235
|
return s ? f(1, 0) : f(31, 11);
|
236
236
|
case M:
|
237
|
-
return s ? f(1,
|
237
|
+
return s ? f(1, $) : f(0, $ + 1);
|
238
238
|
case q:
|
239
|
-
var _ = this.$locale().weekStart || 0, B = (
|
240
|
-
return f(s ? T - B : T + (6 - B),
|
239
|
+
var _ = this.$locale().weekStart || 0, B = (C < _ ? C + 7 : C) - _;
|
240
|
+
return f(s ? T - B : T + (6 - B), $);
|
241
241
|
case S:
|
242
242
|
case O:
|
243
243
|
return y(P + "Hours", 0);
|
@@ -252,37 +252,37 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
252
252
|
}
|
253
253
|
}, r.endOf = function(e) {
|
254
254
|
return this.startOf(e, !1);
|
255
|
-
}, r.$set = function(e,
|
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 + (
|
255
|
+
}, 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
257
|
if (s === M || s === k) {
|
258
|
-
var
|
259
|
-
|
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
260
|
} else f && this.$d[f](y);
|
261
261
|
return this.init(), this;
|
262
|
-
}, r.set = function(e,
|
263
|
-
return this.clone().$set(e,
|
262
|
+
}, r.set = function(e, i) {
|
263
|
+
return this.clone().$set(e, i);
|
264
264
|
}, r.get = function(e) {
|
265
265
|
return this[h.p(e)]();
|
266
|
-
}, r.add = function(e,
|
266
|
+
}, r.add = function(e, i) {
|
267
267
|
var t, s = this;
|
268
268
|
e = Number(e);
|
269
|
-
var d = h.p(
|
270
|
-
var T =
|
271
|
-
return h.w(T.date(T.date() + Math.round(
|
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);
|
272
272
|
};
|
273
273
|
if (d === M) return this.set(M, this.$M + e);
|
274
274
|
if (d === k) return this.set(k, this.$y + e);
|
275
275
|
if (d === S) return f(1);
|
276
276
|
if (d === q) return f(7);
|
277
|
-
var y = (t = {}, t[m] = l, t[c] = g, t[w] = u, t)[d] || 1,
|
278
|
-
return h.w(
|
279
|
-
}, r.subtract = function(e,
|
280
|
-
return this.add(-1 * e,
|
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);
|
279
|
+
}, r.subtract = function(e, i) {
|
280
|
+
return this.add(-1 * e, i);
|
281
281
|
}, r.format = function(e) {
|
282
|
-
var
|
282
|
+
var i = this, t = this.$locale();
|
283
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,
|
285
|
-
return D && (D[x] || D(
|
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
286
|
}, B = function(D) {
|
287
287
|
return h.s(f % 12 || 12, D, "0");
|
288
288
|
}, R = P || function(D, x, V) {
|
@@ -293,29 +293,29 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
293
293
|
return x || function(V) {
|
294
294
|
switch (V) {
|
295
295
|
case "YY":
|
296
|
-
return String(
|
296
|
+
return String(i.$y).slice(-2);
|
297
297
|
case "YYYY":
|
298
|
-
return h.s(
|
298
|
+
return h.s(i.$y, 4, "0");
|
299
299
|
case "M":
|
300
|
-
return
|
300
|
+
return C + 1;
|
301
301
|
case "MM":
|
302
|
-
return h.s(
|
302
|
+
return h.s(C + 1, 2, "0");
|
303
303
|
case "MMM":
|
304
|
-
return _(t.monthsShort,
|
304
|
+
return _(t.monthsShort, C, T, 3);
|
305
305
|
case "MMMM":
|
306
|
-
return _(T,
|
306
|
+
return _(T, C);
|
307
307
|
case "D":
|
308
|
-
return
|
308
|
+
return i.$D;
|
309
309
|
case "DD":
|
310
|
-
return h.s(
|
310
|
+
return h.s(i.$D, 2, "0");
|
311
311
|
case "d":
|
312
|
-
return String(
|
312
|
+
return String(i.$W);
|
313
313
|
case "dd":
|
314
|
-
return _(t.weekdaysMin,
|
314
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
315
315
|
case "ddd":
|
316
|
-
return _(t.weekdaysShort,
|
316
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
317
317
|
case "dddd":
|
318
|
-
return
|
318
|
+
return $[i.$W];
|
319
319
|
case "H":
|
320
320
|
return String(f);
|
321
321
|
case "HH":
|
@@ -333,11 +333,11 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
333
333
|
case "mm":
|
334
334
|
return h.s(y, 2, "0");
|
335
335
|
case "s":
|
336
|
-
return String(
|
336
|
+
return String(i.$s);
|
337
337
|
case "ss":
|
338
|
-
return h.s(
|
338
|
+
return h.s(i.$s, 2, "0");
|
339
339
|
case "SSS":
|
340
|
-
return h.s(
|
340
|
+
return h.s(i.$ms, 3, "0");
|
341
341
|
case "Z":
|
342
342
|
return d;
|
343
343
|
}
|
@@ -346,8 +346,8 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
346
346
|
});
|
347
347
|
}, r.utcOffset = function() {
|
348
348
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
349
|
-
}, r.diff = function(e,
|
350
|
-
var s, d = this, f = h.p(
|
349
|
+
}, 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
351
|
return h.m(d, y);
|
352
352
|
};
|
353
353
|
switch (f) {
|
@@ -361,31 +361,31 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
361
361
|
s = T() / 3;
|
362
362
|
break;
|
363
363
|
case q:
|
364
|
-
s = (
|
364
|
+
s = ($ - C) / 6048e5;
|
365
365
|
break;
|
366
366
|
case S:
|
367
|
-
s = (
|
367
|
+
s = ($ - C) / 864e5;
|
368
368
|
break;
|
369
369
|
case c:
|
370
|
-
s =
|
370
|
+
s = $ / g;
|
371
371
|
break;
|
372
372
|
case m:
|
373
|
-
s =
|
373
|
+
s = $ / l;
|
374
374
|
break;
|
375
375
|
case w:
|
376
|
-
s =
|
376
|
+
s = $ / u;
|
377
377
|
break;
|
378
378
|
default:
|
379
|
-
s =
|
379
|
+
s = $;
|
380
380
|
}
|
381
381
|
return t ? s : h.a(s);
|
382
382
|
}, r.daysInMonth = function() {
|
383
383
|
return this.endOf(M).$D;
|
384
384
|
}, r.$locale = function() {
|
385
385
|
return z[this.$L];
|
386
|
-
}, r.locale = function(e,
|
386
|
+
}, r.locale = function(e, i) {
|
387
387
|
if (!e) return this.$L;
|
388
|
-
var t = this.clone(), s = j(e,
|
388
|
+
var t = this.clone(), s = j(e, i, !0);
|
389
389
|
return s && (t.$L = s), t;
|
390
390
|
}, r.clone = function() {
|
391
391
|
return h.w(this.$d, this);
|
@@ -399,22 +399,22 @@ var ee = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
399
399
|
return this.$d.toUTCString();
|
400
400
|
}, a;
|
401
401
|
}(), K = Z.prototype;
|
402
|
-
return
|
402
|
+
return v.prototype = K, [["$ms", L], ["$s", w], ["$m", m], ["$H", c], ["$W", S], ["$M", M], ["$y", k], ["$D", O]].forEach(function(a) {
|
403
403
|
K[a[1]] = function(r) {
|
404
404
|
return this.$g(r, a[0], a[1]);
|
405
405
|
};
|
406
|
-
}),
|
407
|
-
return a.$i || (a(r, Z,
|
408
|
-
},
|
409
|
-
return
|
410
|
-
},
|
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;
|
411
411
|
});
|
412
412
|
})(te);
|
413
413
|
const re = te.exports;
|
414
|
-
var
|
415
|
-
(function(
|
414
|
+
var ie = { exports: {} };
|
415
|
+
(function(n, p) {
|
416
416
|
(function(u, l) {
|
417
|
-
|
417
|
+
n.exports = l();
|
418
418
|
})(ee, function() {
|
419
419
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
|
420
420
|
return function(L, w, m) {
|
@@ -484,8 +484,8 @@ var ne = { exports: {} };
|
|
484
484
|
};
|
485
485
|
};
|
486
486
|
});
|
487
|
-
})(
|
488
|
-
const pe =
|
487
|
+
})(ie);
|
488
|
+
const pe = ie.exports, me = `:host {
|
489
489
|
font: inherit;
|
490
490
|
display: block;
|
491
491
|
height: 100%;
|
@@ -547,8 +547,8 @@ const pe = ne.exports, me = `:host {
|
|
547
547
|
re.extend(pe);
|
548
548
|
const ye = () => {
|
549
549
|
}, we = class {
|
550
|
-
constructor(
|
551
|
-
oe(this,
|
550
|
+
constructor(n) {
|
551
|
+
oe(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ye, this.limitStylingAppends = !1, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = fe(this.userAgent), this.errorCodes = ["21123", "21122"], this.setClientStyling = () => {
|
552
552
|
let p = document.createElement("style");
|
553
553
|
p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
|
554
554
|
}, this.setClientStylingURL = () => {
|
@@ -577,8 +577,8 @@ const ye = () => {
|
|
577
577
|
return he(this.translationUrl);
|
578
578
|
});
|
579
579
|
}
|
580
|
-
toggleScreen(
|
581
|
-
window.postMessage({ type: "PlayerAccountMenuActive", isMobile:
|
580
|
+
toggleScreen(n) {
|
581
|
+
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: n }, window.location.href);
|
582
582
|
}
|
583
583
|
componentDidLoad() {
|
584
584
|
window.addEventListener("message", this.bindedHandler, !1);
|
@@ -590,11 +590,11 @@ const ye = () => {
|
|
590
590
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
|
591
591
|
}
|
592
592
|
render() {
|
593
|
-
return b(se, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, b("div", { key: "afbbc15e1210ef1ade3c094b84c12485ff94e438", ref: (
|
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)))));
|
594
594
|
}
|
595
595
|
loadWidget() {
|
596
596
|
return Q(this, null, function* () {
|
597
|
-
const
|
597
|
+
const n = {
|
598
598
|
Channel: this.channel,
|
599
599
|
Type: this.typeParameter,
|
600
600
|
SuccessUrl: this.successUrl,
|
@@ -614,7 +614,7 @@ const ye = () => {
|
|
614
614
|
"Content-Type": "application/json",
|
615
615
|
"X-Client-Request-Timestamp": re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
616
616
|
},
|
617
|
-
body: JSON.stringify(
|
617
|
+
body: JSON.stringify(n)
|
618
618
|
});
|
619
619
|
if (!u.ok) {
|
620
620
|
const g = yield u.text();
|
@@ -638,12 +638,12 @@ const ye = () => {
|
|
638
638
|
}
|
639
639
|
});
|
640
640
|
}
|
641
|
-
handleMessage(
|
641
|
+
handleMessage(n) {
|
642
642
|
var p, u, l, g, L, w, m, c;
|
643
|
-
|
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));
|
644
644
|
}
|
645
|
-
doRedirect(
|
646
|
-
const u = { reason:
|
645
|
+
doRedirect(n, p) {
|
646
|
+
const u = { reason: n, url: p, cancel: !1 };
|
647
647
|
if (this.beforeRedirect(u), !u.cancel) {
|
648
648
|
if (!u.url) {
|
649
649
|
window.location.href = "/";
|