@everymatrix/casino-header-controller 1.62.3 → 1.62.4
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/{CasinoHeaderController-CRKRbnS1.cjs → CasinoHeaderController-CGawWOpC.cjs} +1 -1
- package/components/{CasinoHeaderController-B-BPTjQx.js → CasinoHeaderController-DJ3It_VT.js} +1 -1
- package/components/{CasinoHeaderController-CPWk1rYN.js → CasinoHeaderController-lQeOq7-f.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 +1 -1
- package/stencil/{index-1ef3a64c-CMTTH4QO.js → index-1ef3a64c-B0y7C19S.js} +1 -1
- package/stencil/{index-1ef3a64c-CA6VYINb.cjs → index-1ef3a64c-B57PpVV2.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BKQuom7L.js → index-1ef3a64c-C4_bQgRD.js} +1 -1
- package/stencil/{user-deposit-withdrawal-XUfhzxqt.js → user-deposit-withdrawal-Bd-r8jO8.js} +120 -110
- package/stencil/{user-deposit-withdrawal-CIdBBp4F.js → user-deposit-withdrawal-COLW6uc9.js} +109 -99
- package/stencil/{user-deposit-withdrawal-jRWOVoij.cjs → user-deposit-withdrawal-ilU6_Mz7.cjs} +19 -9
@@ -1,27 +1,27 @@
|
|
1
|
-
var Q = (n, h, s) => new Promise((
|
2
|
-
var L = (
|
1
|
+
var Q = (n, h, s) => new Promise((c, p) => {
|
2
|
+
var L = (l) => {
|
3
3
|
try {
|
4
|
-
g(s.next(
|
4
|
+
g(s.next(l));
|
5
5
|
} catch ($) {
|
6
6
|
p($);
|
7
7
|
}
|
8
|
-
}, w = (
|
8
|
+
}, w = (l) => {
|
9
9
|
try {
|
10
|
-
g(s.throw(
|
10
|
+
g(s.throw(l));
|
11
11
|
} catch ($) {
|
12
12
|
p($);
|
13
13
|
}
|
14
|
-
}, g = (
|
14
|
+
}, g = (l) => l.done ? c(l.value) : Promise.resolve(l.value).then(L, w);
|
15
15
|
g((s = s.apply(n, h)).next());
|
16
16
|
});
|
17
|
-
import { b as oe, p as se, r as de, h as
|
18
|
-
import { g as
|
19
|
-
var
|
17
|
+
import { b as oe, p as se, r as de, h as D, H as ue } from "./index-1ef3a64c-B0y7C19S.js";
|
18
|
+
import { g as le } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
|
+
var ce = () => {
|
20
20
|
const n = import.meta.url, h = {};
|
21
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
26
|
const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], te = {
|
27
27
|
en: {
|
@@ -125,9 +125,9 @@ const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
125
125
|
}
|
126
126
|
}, pe = (n) => new Promise((h) => {
|
127
127
|
fetch(n).then((s) => s.json()).then((s) => {
|
128
|
-
Object.keys(s).forEach((
|
129
|
-
for (let p in s[
|
130
|
-
te[
|
128
|
+
Object.keys(s).forEach((c) => {
|
129
|
+
for (let p in s[c])
|
130
|
+
te[c][p] = s[c][p];
|
131
131
|
}), h(!0);
|
132
132
|
});
|
133
133
|
}), H = (n, h) => {
|
@@ -142,28 +142,28 @@ function X(n, h) {
|
|
142
142
|
}
|
143
143
|
function ee(n, h) {
|
144
144
|
const s = new URL(h);
|
145
|
-
fetch(s.href).then((
|
145
|
+
fetch(s.href).then((c) => c.text()).then((c) => {
|
146
146
|
const p = document.createElement("style");
|
147
|
-
p.innerHTML =
|
148
|
-
}).catch((
|
149
|
-
console.error("There was an error while trying to load client styling from URL",
|
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
150
|
});
|
151
151
|
}
|
152
152
|
function me(n, h, s) {
|
153
153
|
if (window.emMessageBus) {
|
154
|
-
const
|
154
|
+
const c = document.createElement("style");
|
155
155
|
window.emMessageBus.subscribe(h, (p) => {
|
156
|
-
|
156
|
+
c.innerHTML = p, n && n.appendChild(c);
|
157
157
|
});
|
158
158
|
}
|
159
159
|
}
|
160
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
161
|
var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ne = { exports: {} };
|
162
162
|
(function(n, h) {
|
163
|
-
(function(s,
|
164
|
-
n.exports =
|
163
|
+
(function(s, c) {
|
164
|
+
n.exports = c();
|
165
165
|
})(re, function() {
|
166
|
-
var s = 1e3,
|
166
|
+
var s = 1e3, c = 6e4, p = 36e5, L = "millisecond", w = "second", g = "minute", l = "hour", $ = "day", q = "week", M = "month", N = "quarter", z = "year", x = "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) {
|
167
167
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
168
168
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
169
169
|
} }, W = function(a, r, e) {
|
@@ -180,40 +180,40 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
180
180
|
}, a: function(a) {
|
181
181
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
182
182
|
}, p: function(a) {
|
183
|
-
return { M, y:
|
183
|
+
return { M, y: z, w: q, d: $, D: x, h: l, m: g, s: w, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
184
184
|
}, u: function(a) {
|
185
185
|
return a === void 0;
|
186
|
-
} },
|
187
|
-
|
186
|
+
} }, E = "en", k = {};
|
187
|
+
k[E] = F;
|
188
188
|
var Y = "$isDayjsObject", B = function(a) {
|
189
189
|
return a instanceof Z || !(!a || !a[Y]);
|
190
|
-
},
|
190
|
+
}, O = function a(r, e, i) {
|
191
191
|
var t;
|
192
192
|
if (!r)
|
193
|
-
return
|
193
|
+
return E;
|
194
194
|
if (typeof r == "string") {
|
195
195
|
var d = r.toLowerCase();
|
196
|
-
|
196
|
+
k[d] && (t = d), e && (k[d] = e, t = d);
|
197
197
|
var u = r.split("-");
|
198
198
|
if (!t && u.length > 1)
|
199
199
|
return a(u[0]);
|
200
200
|
} else {
|
201
201
|
var m = r.name;
|
202
|
-
|
202
|
+
k[m] = r, t = m;
|
203
203
|
}
|
204
|
-
return !i && t && (
|
204
|
+
return !i && t && (E = t), t || !i && E;
|
205
205
|
}, C = function(a, r) {
|
206
206
|
if (B(a))
|
207
207
|
return a.clone();
|
208
208
|
var e = typeof r == "object" ? r : {};
|
209
209
|
return e.date = a, e.args = arguments, new Z(e);
|
210
210
|
}, f = G;
|
211
|
-
f.l =
|
211
|
+
f.l = O, f.i = B, f.w = function(a, r) {
|
212
212
|
return C(a, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
213
213
|
};
|
214
214
|
var Z = function() {
|
215
215
|
function a(e) {
|
216
|
-
this.$L =
|
216
|
+
this.$L = O(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[Y] = !0;
|
217
217
|
}
|
218
218
|
var r = a.prototype;
|
219
219
|
return r.parse = function(e) {
|
@@ -255,14 +255,14 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
255
255
|
}, r.valueOf = function() {
|
256
256
|
return this.$d.getTime();
|
257
257
|
}, r.startOf = function(e, i) {
|
258
|
-
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R,
|
259
|
-
var j = f.w(t.$u ? Date.UTC(t.$y,
|
258
|
+
var t = this, d = !!f.u(i) || i, u = f.p(e), m = function(R, b) {
|
259
|
+
var j = f.w(t.$u ? Date.UTC(t.$y, b, R) : new Date(t.$y, b, R), t);
|
260
260
|
return d ? j : j.endOf($);
|
261
|
-
}, y = function(R,
|
262
|
-
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
261
|
+
}, y = function(R, b) {
|
262
|
+
return f.w(t.toDate()[R].apply(t.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), t);
|
263
263
|
}, v = this.$W, S = this.$M, T = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
264
264
|
switch (u) {
|
265
|
-
case
|
265
|
+
case z:
|
266
266
|
return d ? m(1, 0) : m(31, 11);
|
267
267
|
case M:
|
268
268
|
return d ? m(1, S) : m(0, S + 1);
|
@@ -270,9 +270,9 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
270
270
|
var _ = this.$locale().weekStart || 0, A = (v < _ ? v + 7 : v) - _;
|
271
271
|
return m(d ? T - A : T + (6 - A), S);
|
272
272
|
case $:
|
273
|
-
case
|
273
|
+
case x:
|
274
274
|
return y(P + "Hours", 0);
|
275
|
-
case
|
275
|
+
case l:
|
276
276
|
return y(P + "Minutes", 1);
|
277
277
|
case g:
|
278
278
|
return y(P + "Seconds", 2);
|
@@ -284,10 +284,10 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
284
284
|
}, r.endOf = function(e) {
|
285
285
|
return this.startOf(e, !1);
|
286
286
|
}, r.$set = function(e, i) {
|
287
|
-
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[
|
288
|
-
if (d === M || d ===
|
289
|
-
var v = this.clone().set(
|
290
|
-
v.$d[m](y), v.init(), this.$d = v.set(
|
287
|
+
var t, d = f.p(e), u = "set" + (this.$u ? "UTC" : ""), m = (t = {}, t[$] = u + "Date", t[x] = u + "Date", t[M] = u + "Month", t[z] = 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 === z) {
|
289
|
+
var v = this.clone().set(x, 1);
|
290
|
+
v.$d[m](y), v.init(), this.$d = v.set(x, Math.min(this.$D, v.daysInMonth())).$d;
|
291
291
|
} else
|
292
292
|
m && this.$d[m](y);
|
293
293
|
return this.init(), this;
|
@@ -304,13 +304,13 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
304
304
|
};
|
305
305
|
if (u === M)
|
306
306
|
return this.set(M, this.$M + e);
|
307
|
-
if (u ===
|
308
|
-
return this.set(
|
307
|
+
if (u === z)
|
308
|
+
return this.set(z, this.$y + e);
|
309
309
|
if (u === $)
|
310
310
|
return m(1);
|
311
311
|
if (u === q)
|
312
312
|
return m(7);
|
313
|
-
var y = (t = {}, t[g] =
|
313
|
+
var y = (t = {}, t[g] = c, t[l] = p, t[w] = s, t)[u] || 1, v = this.$d.getTime() + e * y;
|
314
314
|
return f.w(v, this);
|
315
315
|
}, r.subtract = function(e, i) {
|
316
316
|
return this.add(-1 * e, i);
|
@@ -318,15 +318,15 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
318
318
|
var i = this, t = this.$locale();
|
319
319
|
if (!this.isValid())
|
320
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(
|
322
|
-
return
|
323
|
-
}, A = function(
|
324
|
-
return f.s(m % 12 || 12,
|
325
|
-
}, R = P || function(
|
326
|
-
var J =
|
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(b, j, V, J) {
|
322
|
+
return b && (b[j] || b(i, d)) || V[j].slice(0, J);
|
323
|
+
}, A = function(b) {
|
324
|
+
return f.s(m % 12 || 12, b, "0");
|
325
|
+
}, R = P || function(b, j, V) {
|
326
|
+
var J = b < 12 ? "AM" : "PM";
|
327
327
|
return V ? J.toLowerCase() : J;
|
328
328
|
};
|
329
|
-
return d.replace(I, function(
|
329
|
+
return d.replace(I, function(b, j) {
|
330
330
|
return j || function(V) {
|
331
331
|
switch (V) {
|
332
332
|
case "YY":
|
@@ -379,16 +379,16 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
379
379
|
return u;
|
380
380
|
}
|
381
381
|
return null;
|
382
|
-
}(
|
382
|
+
}(b) || u.replace(":", "");
|
383
383
|
});
|
384
384
|
}, r.utcOffset = function() {
|
385
385
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
386
386
|
}, r.diff = function(e, i, t) {
|
387
|
-
var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) *
|
387
|
+
var d, u = this, m = f.p(i), y = C(e), v = (y.utcOffset() - this.utcOffset()) * c, S = this - y, T = function() {
|
388
388
|
return f.m(u, y);
|
389
389
|
};
|
390
390
|
switch (m) {
|
391
|
-
case
|
391
|
+
case z:
|
392
392
|
d = T() / 12;
|
393
393
|
break;
|
394
394
|
case M:
|
@@ -403,11 +403,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
403
403
|
case $:
|
404
404
|
d = (S - v) / 864e5;
|
405
405
|
break;
|
406
|
-
case
|
406
|
+
case l:
|
407
407
|
d = S / p;
|
408
408
|
break;
|
409
409
|
case g:
|
410
|
-
d = S /
|
410
|
+
d = S / c;
|
411
411
|
break;
|
412
412
|
case w:
|
413
413
|
d = S / s;
|
@@ -419,11 +419,11 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
419
419
|
}, r.daysInMonth = function() {
|
420
420
|
return this.endOf(M).$D;
|
421
421
|
}, r.$locale = function() {
|
422
|
-
return
|
422
|
+
return k[this.$L];
|
423
423
|
}, r.locale = function(e, i) {
|
424
424
|
if (!e)
|
425
425
|
return this.$L;
|
426
|
-
var t = this.clone(), d =
|
426
|
+
var t = this.clone(), d = O(e, i, !0);
|
427
427
|
return d && (t.$L = d), t;
|
428
428
|
}, r.clone = function() {
|
429
429
|
return f.w(this.$d, this);
|
@@ -437,59 +437,59 @@ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
437
437
|
return this.$d.toUTCString();
|
438
438
|
}, a;
|
439
439
|
}(), K = Z.prototype;
|
440
|
-
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H",
|
440
|
+
return C.prototype = K, [["$ms", L], ["$s", w], ["$m", g], ["$H", l], ["$W", $], ["$M", M], ["$y", z], ["$D", x]].forEach(function(a) {
|
441
441
|
K[a[1]] = function(r) {
|
442
442
|
return this.$g(r, a[0], a[1]);
|
443
443
|
};
|
444
444
|
}), C.extend = function(a, r) {
|
445
445
|
return a.$i || (a(r, Z, C), a.$i = !0), C;
|
446
|
-
}, C.locale =
|
446
|
+
}, C.locale = O, C.isDayjs = B, C.unix = function(a) {
|
447
447
|
return C(1e3 * a);
|
448
|
-
}, C.en =
|
448
|
+
}, C.en = k[E], C.Ls = k, C.p = {}, C;
|
449
449
|
});
|
450
450
|
})(ne);
|
451
451
|
const ie = ne.exports;
|
452
452
|
var ae = { exports: {} };
|
453
453
|
(function(n, h) {
|
454
|
-
(function(s,
|
455
|
-
n.exports =
|
454
|
+
(function(s, c) {
|
455
|
+
n.exports = c();
|
456
456
|
})(re, function() {
|
457
|
-
var s = "minute",
|
457
|
+
var s = "minute", c = /[+-]\d\d(?::?\d\d)?/g, p = /([+-]|\d\d)/g;
|
458
458
|
return function(L, w, g) {
|
459
|
-
var
|
459
|
+
var l = w.prototype;
|
460
460
|
g.utc = function(o) {
|
461
461
|
var U = { date: o, utc: !0, args: arguments };
|
462
462
|
return new w(U);
|
463
|
-
},
|
463
|
+
}, l.utc = function(o) {
|
464
464
|
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
465
465
|
return o ? U.add(this.utcOffset(), s) : U;
|
466
|
-
},
|
466
|
+
}, l.local = function() {
|
467
467
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
468
468
|
};
|
469
|
-
var $ =
|
470
|
-
|
469
|
+
var $ = l.parse;
|
470
|
+
l.parse = function(o) {
|
471
471
|
o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), $.call(this, o);
|
472
472
|
};
|
473
|
-
var q =
|
474
|
-
|
473
|
+
var q = l.init;
|
474
|
+
l.init = function() {
|
475
475
|
if (this.$u) {
|
476
476
|
var o = this.$d;
|
477
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();
|
478
478
|
} else
|
479
479
|
q.call(this);
|
480
480
|
};
|
481
|
-
var M =
|
482
|
-
|
481
|
+
var M = l.utcOffset;
|
482
|
+
l.utcOffset = function(o, U) {
|
483
483
|
var I = this.$utils().u;
|
484
484
|
if (I(o))
|
485
485
|
return this.$u ? 0 : I(this.$offset) ? M.call(this) : this.$offset;
|
486
|
-
if (typeof o == "string" && (o = function(
|
487
|
-
|
488
|
-
var
|
489
|
-
if (!
|
486
|
+
if (typeof o == "string" && (o = function(E) {
|
487
|
+
E === void 0 && (E = "");
|
488
|
+
var k = E.match(c);
|
489
|
+
if (!k)
|
490
490
|
return null;
|
491
|
-
var Y = ("" +
|
492
|
-
return
|
491
|
+
var Y = ("" + k[0]).match(p) || ["-", 0, 0], B = Y[0], O = 60 * +Y[1] + +Y[2];
|
492
|
+
return O === 0 ? 0 : B === "+" ? O : -O;
|
493
493
|
}(o), o === null))
|
494
494
|
return this;
|
495
495
|
var F = Math.abs(o) <= 16 ? 60 * o : o, W = this;
|
@@ -502,30 +502,30 @@ var ae = { exports: {} };
|
|
502
502
|
W = this.utc();
|
503
503
|
return W;
|
504
504
|
};
|
505
|
-
var N =
|
506
|
-
|
505
|
+
var N = l.format;
|
506
|
+
l.format = function(o) {
|
507
507
|
var U = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
508
508
|
return N.call(this, U);
|
509
|
-
},
|
509
|
+
}, l.valueOf = function() {
|
510
510
|
var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
511
511
|
return this.$d.valueOf() - 6e4 * o;
|
512
|
-
},
|
512
|
+
}, l.isUTC = function() {
|
513
513
|
return !!this.$u;
|
514
|
-
},
|
514
|
+
}, l.toISOString = function() {
|
515
515
|
return this.toDate().toISOString();
|
516
|
-
},
|
516
|
+
}, l.toString = function() {
|
517
517
|
return this.toDate().toUTCString();
|
518
518
|
};
|
519
|
-
var
|
520
|
-
|
521
|
-
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() :
|
519
|
+
var z = l.toDate;
|
520
|
+
l.toDate = function(o) {
|
521
|
+
return o === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : z.call(this);
|
522
522
|
};
|
523
|
-
var
|
524
|
-
|
523
|
+
var x = l.diff;
|
524
|
+
l.diff = function(o, U, I) {
|
525
525
|
if (o && this.$u === o.$u)
|
526
|
-
return
|
526
|
+
return x.call(this, o, U, I);
|
527
527
|
var F = this.local(), W = g(o).local();
|
528
|
-
return
|
528
|
+
return x.call(F, W, U, I);
|
529
529
|
};
|
530
530
|
};
|
531
531
|
});
|
@@ -534,7 +534,7 @@ const ye = ae.exports, we = `:host {
|
|
534
534
|
font: inherit;
|
535
535
|
display: block;
|
536
536
|
height: 100%;
|
537
|
-
|
537
|
+
container-type: inline-size;
|
538
538
|
}
|
539
539
|
|
540
540
|
.CategoryTitle {
|
@@ -567,20 +567,21 @@ const ye = ae.exports, we = `:host {
|
|
567
567
|
padding: 0;
|
568
568
|
margin: 0;
|
569
569
|
height: 100vh;
|
570
|
+
padding: 50px;
|
571
|
+
box-sizing: border-box;
|
572
|
+
overflow-y: scroll;
|
570
573
|
}
|
571
|
-
|
572
|
-
|
573
|
-
.DepositWithdrawalWrapper {
|
574
|
-
height: calc(100vh + 120px);
|
575
|
-
}
|
574
|
+
.DepositWithdrawalWrapper iframe {
|
575
|
+
border-width: 0;
|
576
576
|
}
|
577
|
+
|
577
578
|
.ShortCashier.DepositWithdrawalWrapper {
|
578
579
|
height: 500px;
|
579
580
|
}
|
580
581
|
.ShortCashier.CategoryTitle.CategoryTitle {
|
581
582
|
margin-right: 20px;
|
582
583
|
padding-top: 20px;
|
583
|
-
color:
|
584
|
+
color: var(--emw--color-black, #000000);
|
584
585
|
}
|
585
586
|
.ShortCashier .ErrorMessage {
|
586
587
|
margin: auto;
|
@@ -588,6 +589,15 @@ const ye = ae.exports, we = `:host {
|
|
588
589
|
margin-top: 70px;
|
589
590
|
text-align: center;
|
590
591
|
color: var(--emw--color-black, #000000);
|
592
|
+
}
|
593
|
+
|
594
|
+
@container (max-width: 768px) {
|
595
|
+
.DepositWithdrawalWrapper {
|
596
|
+
padding: 20px 15px;
|
597
|
+
}
|
598
|
+
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
599
|
+
overflow: visible;
|
600
|
+
}
|
591
601
|
}`, Ce = we;
|
592
602
|
ie.extend(ye);
|
593
603
|
const ve = () => {
|
@@ -626,7 +636,7 @@ const ve = () => {
|
|
626
636
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
627
637
|
}
|
628
638
|
render() {
|
629
|
-
return
|
639
|
+
return D(ue, { key: "4963fd9b7ce608f13fd464996c085c29045fcd59" }, D("div", { key: "1fe503816ddb4f18d50545f0f627dd917e6f62ec", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "5bf653f70da5f95173a7dc2c7067d0968876b50a", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "a0e2ce3c944e0fd3bdf2635ae0a5739125e55a33", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { marginTop: this.isShortCashier ? "30px" : "0" } }, D("div", { key: "18b39cea4230ce3745a1859590be32835bb4538f" }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: () => this.toggleScreen(this.isMobile) }, D("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, D("defs", null), D("g", { transform: "translate(-20 -158)" }, D("g", { transform: "translate(20 158)" }, D("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)" })))), D("h2", { class: "CategoryTitleMobile" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
630
640
|
}
|
631
641
|
loadWidget() {
|
632
642
|
return Q(this, null, function* () {
|
@@ -656,13 +666,13 @@ const ve = () => {
|
|
656
666
|
const p = yield s.text();
|
657
667
|
throw new Error(p);
|
658
668
|
}
|
659
|
-
const
|
660
|
-
if (
|
661
|
-
this.cashierInfoUrl =
|
669
|
+
const c = yield s.json();
|
670
|
+
if (c.CashierInfo)
|
671
|
+
this.cashierInfoUrl = c.CashierInfo.Url;
|
662
672
|
else {
|
663
673
|
let p;
|
664
|
-
if (
|
665
|
-
let w = this.errorCodes.find((g) =>
|
674
|
+
if (c.ResponseMessage) {
|
675
|
+
let w = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
|
666
676
|
w ? p = H(`errorCode${w}`, this.language) : p = H("notFoundErrorCode", this.language);
|
667
677
|
} else
|
668
678
|
p = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
@@ -675,8 +685,8 @@ const ve = () => {
|
|
675
685
|
});
|
676
686
|
}
|
677
687
|
handleMessage(n) {
|
678
|
-
var h, s,
|
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.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), ((
|
688
|
+
var h, s, c, p, L, w, g, l;
|
689
|
+
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.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));
|
680
690
|
}
|
681
691
|
doRedirect(n, h) {
|
682
692
|
const s = { reason: n, url: h, cancel: !1 };
|