@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,10 +1,10 @@
|
|
1
|
-
import { b as
|
1
|
+
import { b as ie, p as ne, r as ae, h as D, H as oe } from "./index-581287aa-CB9EU-jr.js";
|
2
2
|
import { g as se } from "./app-globals-0f993ce5-D-kw1sls.js";
|
3
3
|
var de = () => {
|
4
|
-
const
|
5
|
-
return
|
4
|
+
const n = import.meta.url, p = {};
|
5
|
+
return n !== "" && (p.resourcesUrl = new URL(".", n).href), ne(p);
|
6
6
|
};
|
7
|
-
de().then(async (
|
7
|
+
de().then(async (n) => (await se(), ie([["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)));
|
8
8
|
const ue = "en", ce = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], K = {
|
9
9
|
en: {
|
10
10
|
Deposit: "Deposit",
|
@@ -105,46 +105,46 @@ const ue = "en", ce = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
105
105
|
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",
|
106
106
|
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"
|
107
107
|
}
|
108
|
-
}, le = (
|
109
|
-
fetch(
|
108
|
+
}, le = (n) => new Promise((p) => {
|
109
|
+
fetch(n).then((u) => u.json()).then((u) => {
|
110
110
|
Object.keys(u).forEach((l) => {
|
111
111
|
for (let g in u[l])
|
112
112
|
K[l][g] = u[l][g];
|
113
113
|
}), p(!0);
|
114
114
|
});
|
115
|
-
}), H = (
|
115
|
+
}), H = (n, p) => {
|
116
116
|
const u = p;
|
117
|
-
return K[u !== void 0 && ce.includes(u) ? u : ue][
|
118
|
-
}, he = (
|
117
|
+
return K[u !== void 0 && ce.includes(u) ? u : ue][n];
|
118
|
+
}, he = (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));
|
119
119
|
var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ee = { exports: {} };
|
120
|
-
(function(
|
120
|
+
(function(n, p) {
|
121
121
|
(function(u, l) {
|
122
|
-
|
122
|
+
n.exports = l();
|
123
123
|
})(X, function() {
|
124
|
-
var u = 1e3, l = 6e4, g = 36e5, L = "millisecond",
|
124
|
+
var u = 1e3, l = 6e4, g = 36e5, L = "millisecond", C = "second", y = "minute", c = "hour", T = "day", q = "week", b = "month", N = "quarter", k = "year", O = "date", o = "Invalid Date", M = /^(\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) {
|
125
125
|
var r = ["th", "st", "nd", "rd"], e = a % 100;
|
126
126
|
return "[" + a + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
127
127
|
} }, W = function(a, r, e) {
|
128
|
-
var
|
129
|
-
return !
|
128
|
+
var i = String(a);
|
129
|
+
return !i || i.length >= r ? a : "" + Array(r + 1 - i.length).join(e) + a;
|
130
130
|
}, G = { s: W, z: function(a) {
|
131
|
-
var r = -a.utcOffset(), e = Math.abs(r),
|
132
|
-
return (r <= 0 ? "+" : "-") + W(
|
131
|
+
var r = -a.utcOffset(), e = Math.abs(r), i = Math.floor(e / 60), t = e % 60;
|
132
|
+
return (r <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(t, 2, "0");
|
133
133
|
}, m: function a(r, e) {
|
134
134
|
if (r.date() < e.date()) return -a(e, r);
|
135
|
-
var
|
136
|
-
return +(-(
|
135
|
+
var i = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(i, b), s = e - t < 0, d = r.clone().add(i + (s ? -1 : 1), b);
|
136
|
+
return +(-(i + (e - t) / (s ? t - d : d - t)) || 0);
|
137
137
|
}, a: function(a) {
|
138
138
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
139
139
|
}, p: function(a) {
|
140
|
-
return { M: b, y: k, w: q, d: T, D: O, h: c, m: y, s:
|
140
|
+
return { M: b, y: k, w: q, d: T, D: O, h: c, m: y, s: C, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
141
141
|
}, u: function(a) {
|
142
142
|
return a === void 0;
|
143
143
|
} }, E = "en", z = {};
|
144
144
|
z[E] = F;
|
145
145
|
var Y = "$isDayjsObject", A = function(a) {
|
146
146
|
return a instanceof Z || !(!a || !a[Y]);
|
147
|
-
}, j = function a(r, e,
|
147
|
+
}, j = function a(r, e, i) {
|
148
148
|
var t;
|
149
149
|
if (!r) return E;
|
150
150
|
if (typeof r == "string") {
|
@@ -156,7 +156,7 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
156
156
|
var f = r.name;
|
157
157
|
z[f] = r, t = f;
|
158
158
|
}
|
159
|
-
return !
|
159
|
+
return !i && t && (E = t), t || !i && E;
|
160
160
|
}, w = function(a, r) {
|
161
161
|
if (A(a)) return a.clone();
|
162
162
|
var e = typeof r == "object" ? r : {};
|
@@ -171,8 +171,8 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
171
171
|
}
|
172
172
|
var r = a.prototype;
|
173
173
|
return r.parse = function(e) {
|
174
|
-
this.$d = function(
|
175
|
-
var t =
|
174
|
+
this.$d = function(i) {
|
175
|
+
var t = i.date, s = i.utc;
|
176
176
|
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
177
177
|
if (h.u(t)) return /* @__PURE__ */ new Date();
|
178
178
|
if (t instanceof Date) return new Date(t);
|
@@ -192,34 +192,34 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
192
192
|
return h;
|
193
193
|
}, r.isValid = function() {
|
194
194
|
return this.$d.toString() !== o;
|
195
|
-
}, r.isSame = function(e,
|
195
|
+
}, r.isSame = function(e, i) {
|
196
196
|
var t = w(e);
|
197
|
-
return this.startOf(
|
198
|
-
}, r.isAfter = function(e,
|
199
|
-
return w(e) < this.startOf(
|
200
|
-
}, r.isBefore = function(e,
|
201
|
-
return this.endOf(
|
202
|
-
}, r.$g = function(e,
|
203
|
-
return h.u(e) ? this[
|
197
|
+
return this.startOf(i) <= t && t <= this.endOf(i);
|
198
|
+
}, r.isAfter = function(e, i) {
|
199
|
+
return w(e) < this.startOf(i);
|
200
|
+
}, r.isBefore = function(e, i) {
|
201
|
+
return this.endOf(i) < w(e);
|
202
|
+
}, r.$g = function(e, i, t) {
|
203
|
+
return h.u(e) ? this[i] : this.set(t, e);
|
204
204
|
}, r.unix = function() {
|
205
205
|
return Math.floor(this.valueOf() / 1e3);
|
206
206
|
}, r.valueOf = function() {
|
207
207
|
return this.$d.getTime();
|
208
|
-
}, r.startOf = function(e,
|
209
|
-
var t = this, s = !!h.u(
|
208
|
+
}, r.startOf = function(e, i) {
|
209
|
+
var t = this, s = !!h.u(i) || i, d = h.p(e), f = function(R, S) {
|
210
210
|
var x = h.w(t.$u ? Date.UTC(t.$y, S, R) : new Date(t.$y, S, R), t);
|
211
211
|
return s ? x : x.endOf(T);
|
212
212
|
}, m = function(R, S) {
|
213
213
|
return h.w(t.toDate()[R].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(S)), t);
|
214
|
-
},
|
214
|
+
}, v = this.$W, $ = this.$M, U = this.$D, P = "set" + (this.$u ? "UTC" : "");
|
215
215
|
switch (d) {
|
216
216
|
case k:
|
217
217
|
return s ? f(1, 0) : f(31, 11);
|
218
218
|
case b:
|
219
|
-
return s ? f(1,
|
219
|
+
return s ? f(1, $) : f(0, $ + 1);
|
220
220
|
case q:
|
221
|
-
var _ = this.$locale().weekStart || 0, B = (
|
222
|
-
return f(s ? U - B : U + (6 - B),
|
221
|
+
var _ = this.$locale().weekStart || 0, B = (v < _ ? v + 7 : v) - _;
|
222
|
+
return f(s ? U - B : U + (6 - B), $);
|
223
223
|
case T:
|
224
224
|
case O:
|
225
225
|
return m(P + "Hours", 0);
|
@@ -227,44 +227,44 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
227
227
|
return m(P + "Minutes", 1);
|
228
228
|
case y:
|
229
229
|
return m(P + "Seconds", 2);
|
230
|
-
case
|
230
|
+
case C:
|
231
231
|
return m(P + "Milliseconds", 3);
|
232
232
|
default:
|
233
233
|
return this.clone();
|
234
234
|
}
|
235
235
|
}, r.endOf = function(e) {
|
236
236
|
return this.startOf(e, !1);
|
237
|
-
}, r.$set = function(e,
|
238
|
-
var t, s = h.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[T] = d + "Date", t[O] = d + "Date", t[b] = d + "Month", t[k] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[
|
237
|
+
}, r.$set = function(e, i) {
|
238
|
+
var t, s = h.p(e), d = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[T] = d + "Date", t[O] = d + "Date", t[b] = d + "Month", t[k] = d + "FullYear", t[c] = d + "Hours", t[y] = d + "Minutes", t[C] = d + "Seconds", t[L] = d + "Milliseconds", t)[s], m = s === T ? this.$D + (i - this.$W) : i;
|
239
239
|
if (s === b || s === k) {
|
240
|
-
var
|
241
|
-
|
240
|
+
var v = this.clone().set(O, 1);
|
241
|
+
v.$d[f](m), v.init(), this.$d = v.set(O, Math.min(this.$D, v.daysInMonth())).$d;
|
242
242
|
} else f && this.$d[f](m);
|
243
243
|
return this.init(), this;
|
244
|
-
}, r.set = function(e,
|
245
|
-
return this.clone().$set(e,
|
244
|
+
}, r.set = function(e, i) {
|
245
|
+
return this.clone().$set(e, i);
|
246
246
|
}, r.get = function(e) {
|
247
247
|
return this[h.p(e)]();
|
248
|
-
}, r.add = function(e,
|
248
|
+
}, r.add = function(e, i) {
|
249
249
|
var t, s = this;
|
250
250
|
e = Number(e);
|
251
|
-
var d = h.p(
|
251
|
+
var d = h.p(i), f = function($) {
|
252
252
|
var U = w(s);
|
253
|
-
return h.w(U.date(U.date() + Math.round(
|
253
|
+
return h.w(U.date(U.date() + Math.round($ * e)), s);
|
254
254
|
};
|
255
255
|
if (d === b) return this.set(b, this.$M + e);
|
256
256
|
if (d === k) return this.set(k, this.$y + e);
|
257
257
|
if (d === T) return f(1);
|
258
258
|
if (d === q) return f(7);
|
259
|
-
var m = (t = {}, t[y] = l, t[c] = g, t[
|
260
|
-
return h.w(
|
261
|
-
}, r.subtract = function(e,
|
262
|
-
return this.add(-1 * e,
|
259
|
+
var m = (t = {}, t[y] = l, t[c] = g, t[C] = u, t)[d] || 1, v = this.$d.getTime() + e * m;
|
260
|
+
return h.w(v, this);
|
261
|
+
}, r.subtract = function(e, i) {
|
262
|
+
return this.add(-1 * e, i);
|
263
263
|
}, r.format = function(e) {
|
264
|
-
var
|
264
|
+
var i = this, t = this.$locale();
|
265
265
|
if (!this.isValid()) return t.invalidDate || o;
|
266
|
-
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = h.z(this), f = this.$H, m = this.$m,
|
267
|
-
return S && (S[x] || S(
|
266
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", d = h.z(this), f = this.$H, m = this.$m, v = this.$M, $ = t.weekdays, U = t.months, P = t.meridiem, _ = function(S, x, V, J) {
|
267
|
+
return S && (S[x] || S(i, s)) || V[x].slice(0, J);
|
268
268
|
}, B = function(S) {
|
269
269
|
return h.s(f % 12 || 12, S, "0");
|
270
270
|
}, R = P || function(S, x, V) {
|
@@ -275,29 +275,29 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
275
275
|
return x || function(V) {
|
276
276
|
switch (V) {
|
277
277
|
case "YY":
|
278
|
-
return String(
|
278
|
+
return String(i.$y).slice(-2);
|
279
279
|
case "YYYY":
|
280
|
-
return h.s(
|
280
|
+
return h.s(i.$y, 4, "0");
|
281
281
|
case "M":
|
282
|
-
return
|
282
|
+
return v + 1;
|
283
283
|
case "MM":
|
284
|
-
return h.s(
|
284
|
+
return h.s(v + 1, 2, "0");
|
285
285
|
case "MMM":
|
286
|
-
return _(t.monthsShort,
|
286
|
+
return _(t.monthsShort, v, U, 3);
|
287
287
|
case "MMMM":
|
288
|
-
return _(U,
|
288
|
+
return _(U, v);
|
289
289
|
case "D":
|
290
|
-
return
|
290
|
+
return i.$D;
|
291
291
|
case "DD":
|
292
|
-
return h.s(
|
292
|
+
return h.s(i.$D, 2, "0");
|
293
293
|
case "d":
|
294
|
-
return String(
|
294
|
+
return String(i.$W);
|
295
295
|
case "dd":
|
296
|
-
return _(t.weekdaysMin,
|
296
|
+
return _(t.weekdaysMin, i.$W, $, 2);
|
297
297
|
case "ddd":
|
298
|
-
return _(t.weekdaysShort,
|
298
|
+
return _(t.weekdaysShort, i.$W, $, 3);
|
299
299
|
case "dddd":
|
300
|
-
return
|
300
|
+
return $[i.$W];
|
301
301
|
case "H":
|
302
302
|
return String(f);
|
303
303
|
case "HH":
|
@@ -315,11 +315,11 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
315
315
|
case "mm":
|
316
316
|
return h.s(m, 2, "0");
|
317
317
|
case "s":
|
318
|
-
return String(
|
318
|
+
return String(i.$s);
|
319
319
|
case "ss":
|
320
|
-
return h.s(
|
320
|
+
return h.s(i.$s, 2, "0");
|
321
321
|
case "SSS":
|
322
|
-
return h.s(
|
322
|
+
return h.s(i.$ms, 3, "0");
|
323
323
|
case "Z":
|
324
324
|
return d;
|
325
325
|
}
|
@@ -328,8 +328,8 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
328
328
|
});
|
329
329
|
}, r.utcOffset = function() {
|
330
330
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
331
|
-
}, r.diff = function(e,
|
332
|
-
var s, d = this, f = h.p(
|
331
|
+
}, r.diff = function(e, i, t) {
|
332
|
+
var s, d = this, f = h.p(i), m = w(e), v = (m.utcOffset() - this.utcOffset()) * l, $ = this - m, U = function() {
|
333
333
|
return h.m(d, m);
|
334
334
|
};
|
335
335
|
switch (f) {
|
@@ -343,31 +343,31 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
343
343
|
s = U() / 3;
|
344
344
|
break;
|
345
345
|
case q:
|
346
|
-
s = (
|
346
|
+
s = ($ - v) / 6048e5;
|
347
347
|
break;
|
348
348
|
case T:
|
349
|
-
s = (
|
349
|
+
s = ($ - v) / 864e5;
|
350
350
|
break;
|
351
351
|
case c:
|
352
|
-
s =
|
352
|
+
s = $ / g;
|
353
353
|
break;
|
354
354
|
case y:
|
355
|
-
s =
|
355
|
+
s = $ / l;
|
356
356
|
break;
|
357
|
-
case
|
358
|
-
s =
|
357
|
+
case C:
|
358
|
+
s = $ / u;
|
359
359
|
break;
|
360
360
|
default:
|
361
|
-
s =
|
361
|
+
s = $;
|
362
362
|
}
|
363
363
|
return t ? s : h.a(s);
|
364
364
|
}, r.daysInMonth = function() {
|
365
365
|
return this.endOf(b).$D;
|
366
366
|
}, r.$locale = function() {
|
367
367
|
return z[this.$L];
|
368
|
-
}, r.locale = function(e,
|
368
|
+
}, r.locale = function(e, i) {
|
369
369
|
if (!e) return this.$L;
|
370
|
-
var t = this.clone(), s = j(e,
|
370
|
+
var t = this.clone(), s = j(e, i, !0);
|
371
371
|
return s && (t.$L = s), t;
|
372
372
|
}, r.clone = function() {
|
373
373
|
return h.w(this.$d, this);
|
@@ -381,7 +381,7 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
381
381
|
return this.$d.toUTCString();
|
382
382
|
}, a;
|
383
383
|
}(), Q = Z.prototype;
|
384
|
-
return w.prototype = Q, [["$ms", L], ["$s",
|
384
|
+
return w.prototype = Q, [["$ms", L], ["$s", C], ["$m", y], ["$H", c], ["$W", T], ["$M", b], ["$y", k], ["$D", O]].forEach(function(a) {
|
385
385
|
Q[a[1]] = function(r) {
|
386
386
|
return this.$g(r, a[0], a[1]);
|
387
387
|
};
|
@@ -394,16 +394,16 @@ var X = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : ty
|
|
394
394
|
})(ee);
|
395
395
|
const te = ee.exports;
|
396
396
|
var re = { exports: {} };
|
397
|
-
(function(
|
397
|
+
(function(n, p) {
|
398
398
|
(function(u, l) {
|
399
|
-
|
399
|
+
n.exports = l();
|
400
400
|
})(X, function() {
|
401
401
|
var u = "minute", l = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
|
402
|
-
return function(L,
|
403
|
-
var c =
|
402
|
+
return function(L, C, y) {
|
403
|
+
var c = C.prototype;
|
404
404
|
y.utc = function(o) {
|
405
405
|
var M = { date: o, utc: !0, args: arguments };
|
406
|
-
return new
|
406
|
+
return new C(M);
|
407
407
|
}, c.utc = function(o) {
|
408
408
|
var M = y(this.toDate(), { locale: this.$L, utc: !0 });
|
409
409
|
return o ? M.add(this.utcOffset(), u) : M;
|
@@ -529,8 +529,8 @@ const fe = re.exports, pe = `:host {
|
|
529
529
|
te.extend(fe);
|
530
530
|
const ge = () => {
|
531
531
|
}, ye = class {
|
532
|
-
constructor(
|
533
|
-
ae(this,
|
532
|
+
constructor(n) {
|
533
|
+
ae(this, n), this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.beforeRedirect = ge, this.limitStylingAppends = !1, this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = he(this.userAgent), this.errorCodes = ["21123", "21122"], this.setClientStyling = () => {
|
534
534
|
let p = document.createElement("style");
|
535
535
|
p.innerHTML = this.clientStyling, this.stylingContainer.prepend(p);
|
536
536
|
}, this.setClientStylingURL = () => {
|
@@ -557,8 +557,8 @@ const ge = () => {
|
|
557
557
|
if (await this.loadWidget(), this.translationUrl)
|
558
558
|
return le(this.translationUrl);
|
559
559
|
}
|
560
|
-
toggleScreen(
|
561
|
-
window.postMessage({ type: "PlayerAccountMenuActive", isMobile:
|
560
|
+
toggleScreen(n) {
|
561
|
+
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: n }, window.location.href);
|
562
562
|
}
|
563
563
|
componentDidLoad() {
|
564
564
|
window.addEventListener("message", this.bindedHandler, !1);
|
@@ -570,10 +570,10 @@ const ge = () => {
|
|
570
570
|
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.clientStylingUrl && this.setClientStylingURL(), this.limitStylingAppends = !0);
|
571
571
|
}
|
572
572
|
render() {
|
573
|
-
return D(oe, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, D("div", { key: "afbbc15e1210ef1ade3c094b84c12485ff94e438", ref: (
|
573
|
+
return D(oe, { key: "4c6783c9cccc65e31901eb8755729147da7c3771" }, D("div", { key: "afbbc15e1210ef1ade3c094b84c12485ff94e438", ref: (n) => this.stylingContainer = n }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "99b64c5ef99e55335c4f3066f448dd19a4eeaad0", class: "CategoryTitle" }, H(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}`, style: { height: this.dynamicHeight, marginTop: this.isShortCashier ? "30px" : "0" } }, D("div", { key: "abd3d5958091437af76efb311a49a30f6ba4a7eb" }, 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: "100%", src: this.cashierInfoUrl }) : D("h3", { class: "ErrorMessage" }, this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language)))));
|
574
574
|
}
|
575
575
|
async loadWidget() {
|
576
|
-
const
|
576
|
+
const n = {
|
577
577
|
Channel: this.channel,
|
578
578
|
Type: this.typeParameter,
|
579
579
|
SuccessUrl: this.successUrl,
|
@@ -593,7 +593,7 @@ const ge = () => {
|
|
593
593
|
"Content-Type": "application/json",
|
594
594
|
"X-Client-Request-Timestamp": te.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
595
595
|
},
|
596
|
-
body: JSON.stringify(
|
596
|
+
body: JSON.stringify(n)
|
597
597
|
});
|
598
598
|
if (!u.ok) {
|
599
599
|
const g = await u.text();
|
@@ -605,8 +605,8 @@ const ge = () => {
|
|
605
605
|
else {
|
606
606
|
let g;
|
607
607
|
if (l.ResponseMessage) {
|
608
|
-
let
|
609
|
-
|
608
|
+
let C = this.errorCodes.find((y) => l.ResponseMessage.includes(y)) || null;
|
609
|
+
C ? g = H(`errorCode${C}`, this.language) : g = H("notFoundErrorCode", this.language);
|
610
610
|
} else
|
611
611
|
g = this.type === "deposit" ? H("denyDeposit", this.language) : H("denyWithdrawal", this.language);
|
612
612
|
const L = { type: "error", message: g };
|
@@ -616,12 +616,12 @@ const ge = () => {
|
|
616
616
|
console.error(p);
|
617
617
|
}
|
618
618
|
}
|
619
|
-
handleMessage(
|
620
|
-
var p, u, l, g, L,
|
621
|
-
|
619
|
+
handleMessage(n) {
|
620
|
+
var p, u, l, g, L, C, y, c;
|
621
|
+
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), ((C = n.data) === null || C === void 0 ? void 0 : C.redirect) === "mm-hc-contact" && (window.postMessage({ type: "CloseShortCashier" }, window.location.href), this.doRedirect(window.location.href, this.contactUrl)), (((y = n.data) === null || y === void 0 ? void 0 : y.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));
|
622
622
|
}
|
623
|
-
doRedirect(
|
624
|
-
const u = { reason:
|
623
|
+
doRedirect(n, p) {
|
624
|
+
const u = { reason: n, url: p, cancel: !1 };
|
625
625
|
if (this.beforeRedirect(u), !u.cancel) {
|
626
626
|
if (!u.url) {
|
627
627
|
window.location.href = "/";
|
package/stencil/{user-deposit-withdrawal-Cpj0khDg.cjs → user-deposit-withdrawal-CC9lSqrS.cjs}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";var Q=(i,p,u)=>new Promise((l,g)=>{var L=c=>{try{m(u.next(c))}catch(D){g(D)}},w=c=>{try{m(u.throw(c))}catch(D){g(D)}},m=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);m((u=u.apply(i,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index-581287aa-o2un8phH.cjs"),oe=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,se=()=>{const i=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-Cpj0khDg.cjs",document.baseURI).href,p={};return i!==""&&(p.resourcesUrl=new URL(".",i).href),v.promiseResolve(p)};se().then(i=>Q(exports,null,function*(){return yield oe.globalScripts(),v.bootstrapLazy([["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"]}]]]],i)}));const de="en",ue=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ee={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},ce=i=>new Promise(p=>{fetch(i).then(u=>u.json()).then(u=>{Object.keys(u).forEach(l=>{for(let g in u[l])ee[l][g]=u[l][g]}),p(!0)})}),I=(i,p)=>{const u=p;return ee[u!==void 0&&ue.includes(u)?u:de][i]},le=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var te=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},re={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u=1e3,l=6e4,g=36e5,L="millisecond",w="second",m="minute",c="hour",D="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+)?$/,F=/\[([^\]]+)]|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,H={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){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},U=function(a,r,e){var n=String(a);return!n||n.length>=r?a:""+Array(r+1-n.length).join(e)+a},G={s:U,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+U(n,2,"0")+":"+U(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(n,M),s=e-t<0,d=r.clone().add(n+(s?-1:1),M);return+(-(n+(e-t)/(s?t-d:d-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:D,D:O,h:c,m,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=H;var P="$isDayjsObject",A=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,n){var t;if(!r)return j;if(typeof r=="string"){var s=r.toLowerCase();z[s]&&(t=s),e&&(z[s]=e,t=s);var d=r.split("-");if(!t&&d.length>1)return a(d[0])}else{var f=r.name;z[f]=r,t=f}return!n&&t&&(j=t),t||!n&&j},C=function(a,r){if(A(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},h=G;h.l=E,h.i=A,h.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,s=n.utc;if(t===null)return new Date(NaN);if(h.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var d=t.match(W);if(d){var f=d[2]-1||0,y=(d[7]||"0").substring(0,3);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)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;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()},r.$utils=function(){return h},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,n){var t=C(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return C(e)<this.startOf(n)},r.isBefore=function(e,n){return this.endOf(n)<C(e)},r.$g=function(e,n,t){return h.u(e)?this[n]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,n){var t=this,s=!!h.u(n)||n,d=h.p(e),f=function(R,b){var x=h.w(t.$u?Date.UTC(t.$y,b,R):new Date(t.$y,b,R),t);return s?x:x.endOf(D)},y=function(R,b){return h.w(t.toDate()[R].apply(t.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(b)),t)},$=this.$W,S=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case k:return s?f(1,0):f(31,11);case M:return s?f(1,S):f(0,S+1);case q:var _=this.$locale().weekStart||0,B=($<_?$+7:$)-_;return f(s?T-B:T+(6-B),S);case D:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case m:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,n){var t,s=h.p(e),d="set"+(this.$u?"UTC":""),f=(t={},t[D]=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===D?this.$D+(n-this.$W):n;if(s===M||s===k){var $=this.clone().set(O,1);$.$d[f](y),$.init(),this.$d=$.set(O,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](y);return this.init(),this},r.set=function(e,n){return this.clone().$set(e,n)},r.get=function(e){return this[h.p(e)]()},r.add=function(e,n){var t,s=this;e=Number(e);var d=h.p(n),f=function(S){var T=C(s);return h.w(T.date(T.date()+Math.round(S*e)),s)};if(d===M)return this.set(M,this.$M+e);if(d===k)return this.set(k,this.$y+e);if(d===D)return f(1);if(d===q)return f(7);var y=(t={},t[m]=l,t[c]=g,t[w]=u,t)[d]||1,$=this.$d.getTime()+e*y;return h.w($,this)},r.subtract=function(e,n){return this.add(-1*e,n)},r.format=function(e){var n=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var s=e||"YYYY-MM-DDTHH:mm:ssZ",d=h.z(this),f=this.$H,y=this.$m,$=this.$M,S=t.weekdays,T=t.months,Y=t.meridiem,_=function(b,x,V,J){return b&&(b[x]||b(n,s))||V[x].slice(0,J)},B=function(b){return h.s(f%12||12,b,"0")},R=Y||function(b,x,V){var J=b<12?"AM":"PM";return V?J.toLowerCase():J};return s.replace(F,function(b,x){return x||function(V){switch(V){case"YY":return String(n.$y).slice(-2);case"YYYY":return h.s(n.$y,4,"0");case"M":return $+1;case"MM":return h.s($+1,2,"0");case"MMM":return _(t.monthsShort,$,T,3);case"MMMM":return _(T,$);case"D":return n.$D;case"DD":return h.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return _(t.weekdaysMin,n.$W,S,2);case"ddd":return _(t.weekdaysShort,n.$W,S,3);case"dddd":return S[n.$W];case"H":return String(f);case"HH":return h.s(f,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return R(f,y,!0);case"A":return R(f,y,!1);case"m":return String(y);case"mm":return h.s(y,2,"0");case"s":return String(n.$s);case"ss":return h.s(n.$s,2,"0");case"SSS":return h.s(n.$ms,3,"0");case"Z":return d}return null}(b)||d.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,n,t){var s,d=this,f=h.p(n),y=C(e),$=(y.utcOffset()-this.utcOffset())*l,S=this-y,T=function(){return h.m(d,y)};switch(f){case k:s=T()/12;break;case M:s=T();break;case N:s=T()/3;break;case q:s=(S-$)/6048e5;break;case D:s=(S-$)/864e5;break;case c:s=S/g;break;case m:s=S/l;break;case w:s=S/u;break;default:s=S}return t?s:h.a(s)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,n){if(!e)return this.$L;var t=this.clone(),s=E(e,n,!0);return s&&(t.$L=s),t},r.clone=function(){return h.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",m],["$H",c],["$W",D],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=A,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(re);const ne=re.exports;var ie={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u="minute",l=/[+-]\d\d(?::?\d\d)?/g,g=/([+-]|\d\d)/g;return function(L,w,m){var c=w.prototype;m.utc=function(o){var W={date:o,utc:!0,args:arguments};return new w(W)},c.utc=function(o){var W=m(this.toDate(),{locale:this.$L,utc:!0});return o?W.add(this.utcOffset(),u):W},c.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var D=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),D.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;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()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,W){var F=this.$utils().u;if(F(o))return this.$u?0:F(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(g)||["-",0,0],A=P[0],E=60*+P[1]+ +P[2];return E===0?0:A==="+"?E:-E}(o),o===null))return this;var H=Math.abs(o)<=16?60*o:o,U=this;if(W)return U.$offset=H,U.$u=o===0,U;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(U=this.local().add(H+G,u)).$offset=H,U.$x.$localOffset=G}else U=this.utc();return U};var N=c.format;c.format=function(o){var W=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,W)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,W,F){if(o&&this.$u===o.$u)return O.call(this,o,W,F);var H=this.local(),U=m(o).local();return O.call(H,U,W,F)}}})})(ie);const he=ie.exports,fe=`:host {
|
1
|
+
"use strict";var Q=(i,p,u)=>new Promise((l,g)=>{var L=c=>{try{m(u.next(c))}catch(D){g(D)}},w=c=>{try{m(u.throw(c))}catch(D){g(D)}},m=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);m((u=u.apply(i,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index-581287aa-BlacPmvJ.cjs"),oe=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,se=()=>{const i=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-CC9lSqrS.cjs",document.baseURI).href,p={};return i!==""&&(p.resourcesUrl=new URL(".",i).href),$.promiseResolve(p)};se().then(i=>Q(exports,null,function*(){return yield oe.globalScripts(),$.bootstrapLazy([["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"]}]]]],i)}));const de="en",ue=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ee={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",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",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"}},ce=i=>new Promise(p=>{fetch(i).then(u=>u.json()).then(u=>{Object.keys(u).forEach(l=>{for(let g in u[l])ee[l][g]=u[l][g]}),p(!0)})}),I=(i,p)=>{const u=p;return ee[u!==void 0&&ue.includes(u)?u:de][i]},le=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var te=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},re={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u=1e3,l=6e4,g=36e5,L="millisecond",w="second",m="minute",c="hour",D="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+)?$/,F=/\[([^\]]+)]|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,H={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){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},U=function(a,r,e){var n=String(a);return!n||n.length>=r?a:""+Array(r+1-n.length).join(e)+a},G={s:U,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+U(n,2,"0")+":"+U(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(n,M),s=e-t<0,d=r.clone().add(n+(s?-1:1),M);return+(-(n+(e-t)/(s?t-d:d-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:D,D:O,h:c,m,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=H;var P="$isDayjsObject",A=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,n){var t;if(!r)return j;if(typeof r=="string"){var s=r.toLowerCase();z[s]&&(t=s),e&&(z[s]=e,t=s);var d=r.split("-");if(!t&&d.length>1)return a(d[0])}else{var f=r.name;z[f]=r,t=f}return!n&&t&&(j=t),t||!n&&j},v=function(a,r){if(A(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},h=G;h.l=E,h.i=A,h.w=function(a,r){return v(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,s=n.utc;if(t===null)return new Date(NaN);if(h.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var d=t.match(W);if(d){var f=d[2]-1||0,y=(d[7]||"0").substring(0,3);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)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;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()},r.$utils=function(){return h},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,n){var t=v(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return v(e)<this.startOf(n)},r.isBefore=function(e,n){return this.endOf(n)<v(e)},r.$g=function(e,n,t){return h.u(e)?this[n]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,n){var t=this,s=!!h.u(n)||n,d=h.p(e),f=function(R,b){var x=h.w(t.$u?Date.UTC(t.$y,b,R):new Date(t.$y,b,R),t);return s?x:x.endOf(D)},y=function(R,b){return h.w(t.toDate()[R].apply(t.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(b)),t)},C=this.$W,S=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case k:return s?f(1,0):f(31,11);case M:return s?f(1,S):f(0,S+1);case q:var _=this.$locale().weekStart||0,B=(C<_?C+7:C)-_;return f(s?T-B:T+(6-B),S);case D:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case m:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,n){var t,s=h.p(e),d="set"+(this.$u?"UTC":""),f=(t={},t[D]=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===D?this.$D+(n-this.$W):n;if(s===M||s===k){var C=this.clone().set(O,1);C.$d[f](y),C.init(),this.$d=C.set(O,Math.min(this.$D,C.daysInMonth())).$d}else f&&this.$d[f](y);return this.init(),this},r.set=function(e,n){return this.clone().$set(e,n)},r.get=function(e){return this[h.p(e)]()},r.add=function(e,n){var t,s=this;e=Number(e);var d=h.p(n),f=function(S){var T=v(s);return h.w(T.date(T.date()+Math.round(S*e)),s)};if(d===M)return this.set(M,this.$M+e);if(d===k)return this.set(k,this.$y+e);if(d===D)return f(1);if(d===q)return f(7);var y=(t={},t[m]=l,t[c]=g,t[w]=u,t)[d]||1,C=this.$d.getTime()+e*y;return h.w(C,this)},r.subtract=function(e,n){return this.add(-1*e,n)},r.format=function(e){var n=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var s=e||"YYYY-MM-DDTHH:mm:ssZ",d=h.z(this),f=this.$H,y=this.$m,C=this.$M,S=t.weekdays,T=t.months,Y=t.meridiem,_=function(b,x,V,J){return b&&(b[x]||b(n,s))||V[x].slice(0,J)},B=function(b){return h.s(f%12||12,b,"0")},R=Y||function(b,x,V){var J=b<12?"AM":"PM";return V?J.toLowerCase():J};return s.replace(F,function(b,x){return x||function(V){switch(V){case"YY":return String(n.$y).slice(-2);case"YYYY":return h.s(n.$y,4,"0");case"M":return C+1;case"MM":return h.s(C+1,2,"0");case"MMM":return _(t.monthsShort,C,T,3);case"MMMM":return _(T,C);case"D":return n.$D;case"DD":return h.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return _(t.weekdaysMin,n.$W,S,2);case"ddd":return _(t.weekdaysShort,n.$W,S,3);case"dddd":return S[n.$W];case"H":return String(f);case"HH":return h.s(f,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return R(f,y,!0);case"A":return R(f,y,!1);case"m":return String(y);case"mm":return h.s(y,2,"0");case"s":return String(n.$s);case"ss":return h.s(n.$s,2,"0");case"SSS":return h.s(n.$ms,3,"0");case"Z":return d}return null}(b)||d.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,n,t){var s,d=this,f=h.p(n),y=v(e),C=(y.utcOffset()-this.utcOffset())*l,S=this-y,T=function(){return h.m(d,y)};switch(f){case k:s=T()/12;break;case M:s=T();break;case N:s=T()/3;break;case q:s=(S-C)/6048e5;break;case D:s=(S-C)/864e5;break;case c:s=S/g;break;case m:s=S/l;break;case w:s=S/u;break;default:s=S}return t?s:h.a(s)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,n){if(!e)return this.$L;var t=this.clone(),s=E(e,n,!0);return s&&(t.$L=s),t},r.clone=function(){return h.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return v.prototype=X,[["$ms",L],["$s",w],["$m",m],["$H",c],["$W",D],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),v.extend=function(a,r){return a.$i||(a(r,Z,v),a.$i=!0),v},v.locale=E,v.isDayjs=A,v.unix=function(a){return v(1e3*a)},v.en=z[j],v.Ls=z,v.p={},v})})(re);const ne=re.exports;var ie={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u="minute",l=/[+-]\d\d(?::?\d\d)?/g,g=/([+-]|\d\d)/g;return function(L,w,m){var c=w.prototype;m.utc=function(o){var W={date:o,utc:!0,args:arguments};return new w(W)},c.utc=function(o){var W=m(this.toDate(),{locale:this.$L,utc:!0});return o?W.add(this.utcOffset(),u):W},c.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var D=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),D.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;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()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,W){var F=this.$utils().u;if(F(o))return this.$u?0:F(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(g)||["-",0,0],A=P[0],E=60*+P[1]+ +P[2];return E===0?0:A==="+"?E:-E}(o),o===null))return this;var H=Math.abs(o)<=16?60*o:o,U=this;if(W)return U.$offset=H,U.$u=o===0,U;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(U=this.local().add(H+G,u)).$offset=H,U.$x.$localOffset=G}else U=this.utc();return U};var N=c.format;c.format=function(o){var W=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,W)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,W,F){if(o&&this.$u===o.$u)return O.call(this,o,W,F);var H=this.local(),U=m(o).local();return O.call(H,U,W,F)}}})})(ie);const he=ie.exports,fe=`:host {
|
2
2
|
font: inherit;
|
3
3
|
display: block;
|
4
4
|
height: 100%;
|
@@ -56,4 +56,4 @@
|
|
56
56
|
margin-top: 70px;
|
57
57
|
text-align: center;
|
58
58
|
color: var(--emw--color-black, #000000);
|
59
|
-
}`,pe=fe;ne.extend(he);const me=()=>{},ae=class{constructor(i){
|
59
|
+
}`,pe=fe;ne.extend(he);const me=()=>{},ae=class{constructor(i){$.registerInstance(this,i),this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.beforeRedirect=me,this.limitStylingAppends=!1,this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=le(this.userAgent),this.errorCodes=["21123","21122"],this.setClientStyling=()=>{let p=document.createElement("style");p.innerHTML=this.clientStyling,this.stylingContainer.prepend(p)},this.setClientStylingURL=()=>{let p=new URL(this.clientStylingUrl),u=document.createElement("style");fetch(p.href).then(l=>l.text()).then(l=>{u.innerHTML=l,setTimeout(()=>{this.stylingContainer.prepend(u)},1)}).catch(l=>{console.log("error ",l)})}}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return ce(this.translationUrl)})}toggleScreen(i){window.postMessage({type:"PlayerAccountMenuActive",isMobile:i},window.location.href)}componentDidLoad(){window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}render(){return $.h($.Host,{key:"4c6783c9cccc65e31901eb8755729147da7c3771"},$.h("div",{key:"afbbc15e1210ef1ade3c094b84c12485ff94e438",ref:i=>this.stylingContainer=i},!(this.isMobile&&!this.isShortCashier)&&$.h("h2",{key:"99b64c5ef99e55335c4f3066f448dd19a4eeaad0",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),$.h("div",{key:"eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},$.h("div",{key:"abd3d5958091437af76efb311a49a30f6ba4a7eb"},this.isMobile&&!this.isShortCashier?$.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},$.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},$.h("defs",null),$.h("g",{transform:"translate(-20 -158)"},$.h("g",{transform:"translate(20 158)"},$.h("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)"})))),$.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?$.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):$.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const i={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const p=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,u=yield fetch(p,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ne.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(i)});if(!u.ok){const g=yield u.text();throw new Error(g)}const l=yield u.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let g;if(l.ResponseMessage){let w=this.errorCodes.find(m=>l.ResponseMessage.includes(m))||null;w?g=I(`errorCode${w}`,this.language):g=I("notFoundErrorCode",this.language)}else g=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:g};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(p){console.error(p)}})}handleMessage(i){var p,u,l,g,L,w,m,c;i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setIFrameHeight"].toString()+"px"),((p=i.data)===null||p===void 0?void 0:p.type)==="mm-hcback-to-merchant"&&this.doRedirect(i.data.type,this.homeUrl),((u=i.data)===null||u===void 0?void 0:u.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(i.data.redirect,this.homeUrl),((l=i.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((g=i.data)===null||g===void 0?void 0:g.redirect,this.sportsUrl),((L=i.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=i.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=i.data)===null||m===void 0?void 0:m.redirect)==="mm-wm-hc-init-deposit"||((c=i.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))}doRedirect(i,p){const u={reason:i,url:p,cancel:!1};if(this.beforeRedirect(u),!u.cancel){if(!u.url){window.location.href="/";return}window.location.href=u.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"]}}};ae.style=pe;exports.user_deposit_withdrawal=ae;
|