@everymatrix/casino-header-controller 1.87.26 → 1.87.28
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-0z6hyw4y.js +817 -0
- package/components/CasinoHamburgerMenu-DuaZNcLz.js +818 -0
- package/components/CasinoHamburgerMenu-WB7i3_iz.cjs +1 -0
- package/components/CasinoHeaderController-C8DT2cVk.cjs +33 -0
- package/components/CasinoHeaderController-Db8giU-E.js +7774 -0
- package/components/CasinoHeaderController-Do8wUidR.js +7823 -0
- package/components/{CasinoSlider-Ds-P1ggH.js → CasinoSlider-BtMwjTr9.js} +97 -97
- package/components/CasinoSlider-DMc6CrV3.cjs +1 -0
- package/components/{CasinoSlider-BOtMd_ds.js → CasinoSlider-fH4HQvtL.js} +99 -99
- package/components/PlayerAccountBalanceModal-CEJcH9Cr.js +1386 -0
- package/components/PlayerAccountBalanceModal-X5IfhAU4.cjs +7 -0
- package/components/PlayerAccountBalanceModal-lcokbjFZ.js +1415 -0
- package/components/{PlayerDeposit-Dv-1Bd7h.js → PlayerDeposit-0WxB1mbL.js} +53 -53
- package/components/PlayerDeposit-Bzc_rwpv.cjs +1 -0
- package/components/{PlayerDeposit-BUzvurYm.js → PlayerDeposit-CVfrvkyO.js} +53 -53
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +7 -7
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
- package/stencil/gamification-dropdown-Bror5k2q.cjs +1 -0
- package/stencil/{gamification-dropdown-B-fo-8oo.js → gamification-dropdown-Crg-YDth.js} +2 -2
- package/stencil/{gamification-dropdown-Binemw-N.js → gamification-dropdown-DgiKrpLV.js} +2 -2
- package/stencil/gamification-dropdown-f2984ee4-BMoEV6k7.js +179 -0
- package/stencil/{gamification-dropdown-92e6c856-BSjmk1S2.js → gamification-dropdown-f2984ee4-DHVTr8ZG.js} +77 -68
- package/stencil/gamification-dropdown-f2984ee4-Dn0wCW-j.cjs +1 -0
- package/stencil/{gamification-dropdown_4-D2rH2QOV.js → gamification-dropdown_4-91E9LYZ7.js} +11 -11
- package/stencil/{gamification-dropdown_4-Dk7EgyxD.cjs → gamification-dropdown_4-C3zsyE_m.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-DVsz3R30.js → gamification-dropdown_4-EZ437fKd.js} +11 -11
- package/stencil/{index-1ef3a64c-Bx1m17XN.js → index-1ef3a64c-DQzOv3qV.js} +1 -1
- package/stencil/{index-1ef3a64c-C47cYPkT.cjs → index-1ef3a64c-DTHZ2yCZ.cjs} +1 -1
- package/stencil/{index-1ef3a64c-Bry_KvsO.js → index-1ef3a64c-Df_g4Fi-.js} +1 -1
- package/stencil/{index-71b1bdfa-vrO1smeH.js → index-71b1bdfa-BcS2siXd.js} +4 -4
- package/stencil/{index-71b1bdfa-D1cyc3Pz.cjs → index-71b1bdfa-CzLMxSAA.cjs} +1 -1
- package/stencil/{index-71b1bdfa-DbR6QNgJ.js → index-71b1bdfa-DzRPLnAJ.js} +4 -4
- package/stencil/{locale-CIZHVMDe.js → locale-Dq9tsc1e.js} +2 -2
- package/stencil/{player-elevate-card-DrhQovfX.js → player-elevate-card-CfjXYnxk.js} +3 -3
- package/stencil/{player-elevate-card-NTRDT7TZ.cjs → player-elevate-card-DVTCzmU5.cjs} +1 -1
- package/stencil/{player-elevate-card-DN7UFFDg.js → player-elevate-card-WlZbXPxT.js} +3 -3
- package/stencil/{player-elevate-card-items-b4571def-DzRKWxZA.cjs → player-elevate-card-items-b4571def-BguVSqj-.cjs} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-BpCa2bU7.js → player-elevate-card-items-b4571def-D64puWBR.js} +2 -2
- package/stencil/{player-elevate-card-items-b4571def-KPQioyYe.js → player-elevate-card-items-b4571def-DwP_rzfI.js} +2 -2
- package/stencil/{player-elevate-pointcard-EAKvoz8l.js → player-elevate-pointcard-BbUTo49l.js} +3 -3
- package/stencil/{player-elevate-pointcard-BLgzFZcg.cjs → player-elevate-pointcard-D3Uhr8yw.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-LClvBVxv.js → player-elevate-pointcard-we5zexJh.js} +3 -3
- package/stencil/{player-rakeback-card-BSxU2PMK.cjs → player-rakeback-card-BntkMugV.cjs} +1 -1
- package/stencil/{player-rakeback-card-Bi_cwHs9.js → player-rakeback-card-D8_GaQ9C.js} +2 -2
- package/stencil/{player-rakeback-card-CJOm_Sgz.js → player-rakeback-card-DOsgRtwi.js} +2 -2
- package/stencil/{user-deposit-withdrawal-DTYylnXa.js → user-deposit-withdrawal-1m3oit8H.js} +321 -294
- package/stencil/user-deposit-withdrawal-BdsGsdPs.cjs +72 -0
- package/stencil/{user-deposit-withdrawal-BMkFnv_T.js → user-deposit-withdrawal-_xlSbJsV.js} +366 -338
- package/components/CasinoHamburgerMenu-CFma234b.js +0 -5441
- package/components/CasinoHamburgerMenu-fvf5EluO.cjs +0 -21
- package/components/CasinoHamburgerMenu-jm6p2zbt.js +0 -5403
- package/components/CasinoHeaderController-CVhEoX7T.js +0 -3179
- package/components/CasinoHeaderController-DREYRBYr.js +0 -3156
- package/components/CasinoHeaderController-eqjyu1T0.cjs +0 -13
- package/components/CasinoSlider-D4oZEnaE.cjs +0 -1
- package/components/PlayerAccountBalanceModal-D7fiFhUw.js +0 -1415
- package/components/PlayerAccountBalanceModal-ieK7z017.cjs +0 -7
- package/components/PlayerAccountBalanceModal-qtxu403d.js +0 -1386
- package/components/PlayerDeposit-Cw5oQd7g.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/gamification-dropdown-92e6c856-1xDHN3iz.js +0 -133
- package/stencil/gamification-dropdown-92e6c856-BsizFWUL.cjs +0 -1
- package/stencil/gamification-dropdown-CZmTYMHK.cjs +0 -1
- package/stencil/user-deposit-withdrawal-BWwJVuYm.cjs +0 -72
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
4
|
-
const e = import.meta.url,
|
|
5
|
-
return e !== "" && (
|
|
1
|
+
import { b as se, p as ue, r as de, h as D, H as ce } from "./index-1ef3a64c-DQzOv3qV.js";
|
|
2
|
+
import { g as le } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
3
|
+
var he = () => {
|
|
4
|
+
const e = import.meta.url, a = {};
|
|
5
|
+
return e !== "" && (a.resourcesUrl = new URL(".", e).href), ue(a);
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
he().then(async (e) => (await le(), se([["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], forwardCashierRedirects: [516, "forward-cashier-redirects"], dynamicHeight: [32], cashierInfoUrl: [32] }, null, { clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }]]]], e)));
|
|
8
|
+
const fe = "en", pe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es", "de", "pt", "tr"], re = {
|
|
9
9
|
en: {
|
|
10
10
|
Deposit: "Deposit",
|
|
11
11
|
Withdraw: "Withdraw",
|
|
@@ -107,104 +107,131 @@ const he = "en", fe = ["ro", "en", "fr", "hr", "en-us", "es-mx", "pt-br", "es",
|
|
|
107
107
|
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",
|
|
108
108
|
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"
|
|
109
109
|
}
|
|
110
|
-
},
|
|
111
|
-
fetch(e).then((
|
|
112
|
-
Object.keys(
|
|
113
|
-
for (let
|
|
114
|
-
|
|
115
|
-
}),
|
|
110
|
+
}, me = (e) => new Promise((a) => {
|
|
111
|
+
fetch(e).then((o) => o.json()).then((o) => {
|
|
112
|
+
Object.keys(o).forEach((l) => {
|
|
113
|
+
for (let m in o[l])
|
|
114
|
+
re[l][m] = o[l][m];
|
|
115
|
+
}), a(!0);
|
|
116
116
|
});
|
|
117
|
-
}),
|
|
118
|
-
const
|
|
119
|
-
return
|
|
120
|
-
};
|
|
121
|
-
function X(e,
|
|
117
|
+
}), j = (e, a) => {
|
|
118
|
+
const o = a;
|
|
119
|
+
return re[o !== void 0 && pe.includes(o) ? o : fe][e];
|
|
120
|
+
}, Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
121
|
+
function X(e, a) {
|
|
122
122
|
if (e) {
|
|
123
|
-
const
|
|
124
|
-
|
|
123
|
+
const o = document.createElement("style");
|
|
124
|
+
o.innerHTML = a, e.appendChild(o);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
if (!e || !
|
|
127
|
+
function ee(e, a) {
|
|
128
|
+
if (!e || !a)
|
|
129
129
|
return;
|
|
130
|
-
const
|
|
131
|
-
fetch(
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
}).catch((
|
|
135
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
130
|
+
const o = new URL(a);
|
|
131
|
+
fetch(o.href).then((l) => l.text()).then((l) => {
|
|
132
|
+
const m = document.createElement("style");
|
|
133
|
+
m.innerHTML = l, e && e.appendChild(m);
|
|
134
|
+
}).catch((l) => {
|
|
135
|
+
console.error("There was an error while trying to load client styling from URL", l);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
if (window.emMessageBus)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
function ye(e, a, o, l = !1) {
|
|
139
|
+
if (!window.emMessageBus)
|
|
140
|
+
return;
|
|
141
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !l)
|
|
142
|
+
return o = ge(e, a), o;
|
|
143
|
+
window[Y] || (window[Y] = {}), o = we(e, a);
|
|
144
|
+
const v = o.unsubscribe.bind(o), S = () => {
|
|
145
|
+
if (window[Y][a]) {
|
|
146
|
+
const g = window[Y][a];
|
|
147
|
+
g.refCount > 1 ? g.refCount = g.refCount - 1 : delete window[Y][a];
|
|
148
|
+
}
|
|
149
|
+
v();
|
|
150
|
+
};
|
|
151
|
+
return o.unsubscribe = S, o;
|
|
152
|
+
}
|
|
153
|
+
function ge(e, a) {
|
|
154
|
+
const o = document.createElement("style");
|
|
155
|
+
return window.emMessageBus.subscribe(a, (l) => {
|
|
156
|
+
e && (o.innerHTML = l, e.appendChild(o));
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function we(e, a) {
|
|
160
|
+
return window.emMessageBus.subscribe(a, (o) => {
|
|
161
|
+
if (!e)
|
|
162
|
+
return;
|
|
163
|
+
const l = e.getRootNode(), m = window[Y];
|
|
164
|
+
let v = m[a]?.sheet;
|
|
165
|
+
v ? m[a].refCount = m[a].refCount + 1 : (v = new CSSStyleSheet(), v.replaceSync(o), m[a] = {
|
|
166
|
+
sheet: v,
|
|
167
|
+
refCount: 1
|
|
143
168
|
});
|
|
144
|
-
|
|
169
|
+
const S = l.adoptedStyleSheets || [];
|
|
170
|
+
S.includes(v) || (l.adoptedStyleSheets = [...S, v]);
|
|
171
|
+
});
|
|
145
172
|
}
|
|
146
|
-
const
|
|
147
|
-
var
|
|
148
|
-
(function(e,
|
|
149
|
-
(function(
|
|
150
|
-
e.exports =
|
|
151
|
-
})(
|
|
152
|
-
var
|
|
153
|
-
var n = ["th", "st", "nd", "rd"], t =
|
|
154
|
-
return "[" +
|
|
155
|
-
} },
|
|
156
|
-
var i = String(
|
|
157
|
-
return !i || i.length >= n ?
|
|
158
|
-
},
|
|
159
|
-
var n = -
|
|
160
|
-
return (n <= 0 ? "+" : "-") +
|
|
161
|
-
}, m: function
|
|
173
|
+
const Ce = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
174
|
+
var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ie = { exports: {} };
|
|
175
|
+
(function(e, a) {
|
|
176
|
+
(function(o, l) {
|
|
177
|
+
e.exports = l();
|
|
178
|
+
})(ne, function() {
|
|
179
|
+
var o = 1e3, l = 6e4, m = 36e5, v = "millisecond", S = "second", g = "minute", p = "hour", T = "day", _ = "week", M = "month", G = "quarter", L = "year", z = "date", u = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|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(s) {
|
|
180
|
+
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
181
|
+
return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
182
|
+
} }, W = function(s, n, t) {
|
|
183
|
+
var i = String(s);
|
|
184
|
+
return !i || i.length >= n ? s : "" + Array(n + 1 - i.length).join(t) + s;
|
|
185
|
+
}, Z = { s: W, z: function(s) {
|
|
186
|
+
var n = -s.utcOffset(), t = Math.abs(n), i = Math.floor(t / 60), r = t % 60;
|
|
187
|
+
return (n <= 0 ? "+" : "-") + W(i, 2, "0") + ":" + W(r, 2, "0");
|
|
188
|
+
}, m: function s(n, t) {
|
|
162
189
|
if (n.date() < t.date())
|
|
163
|
-
return -
|
|
164
|
-
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i,
|
|
165
|
-
return +(-(i + (t - r) / (
|
|
166
|
-
}, a: function(
|
|
167
|
-
return
|
|
168
|
-
}, p: function(
|
|
169
|
-
return { M
|
|
170
|
-
}, u: function(
|
|
171
|
-
return
|
|
172
|
-
} },
|
|
173
|
-
k[
|
|
174
|
-
var
|
|
175
|
-
return
|
|
176
|
-
},
|
|
190
|
+
return -s(t, n);
|
|
191
|
+
var i = 12 * (t.year() - n.year()) + (t.month() - n.month()), r = n.clone().add(i, M), d = t - r < 0, c = n.clone().add(i + (d ? -1 : 1), M);
|
|
192
|
+
return +(-(i + (t - r) / (d ? r - c : c - r)) || 0);
|
|
193
|
+
}, a: function(s) {
|
|
194
|
+
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
195
|
+
}, p: function(s) {
|
|
196
|
+
return { M, y: L, w: _, d: T, D: z, h: p, m: g, s: S, ms: v, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
197
|
+
}, u: function(s) {
|
|
198
|
+
return s === void 0;
|
|
199
|
+
} }, R = "en", k = {};
|
|
200
|
+
k[R] = F;
|
|
201
|
+
var A = "$isDayjsObject", B = function(s) {
|
|
202
|
+
return s instanceof J || !(!s || !s[A]);
|
|
203
|
+
}, x = function s(n, t, i) {
|
|
177
204
|
var r;
|
|
178
205
|
if (!n)
|
|
179
|
-
return
|
|
206
|
+
return R;
|
|
180
207
|
if (typeof n == "string") {
|
|
181
|
-
var
|
|
182
|
-
k[
|
|
183
|
-
var
|
|
184
|
-
if (!r &&
|
|
185
|
-
return
|
|
208
|
+
var d = n.toLowerCase();
|
|
209
|
+
k[d] && (r = d), t && (k[d] = t, r = d);
|
|
210
|
+
var c = n.split("-");
|
|
211
|
+
if (!r && c.length > 1)
|
|
212
|
+
return s(c[0]);
|
|
186
213
|
} else {
|
|
187
214
|
var f = n.name;
|
|
188
215
|
k[f] = n, r = f;
|
|
189
216
|
}
|
|
190
|
-
return !i && r && (
|
|
191
|
-
},
|
|
192
|
-
if (
|
|
193
|
-
return
|
|
217
|
+
return !i && r && (R = r), r || !i && R;
|
|
218
|
+
}, w = function(s, n) {
|
|
219
|
+
if (B(s))
|
|
220
|
+
return s.clone();
|
|
194
221
|
var t = typeof n == "object" ? n : {};
|
|
195
|
-
return t.date =
|
|
196
|
-
}, h =
|
|
197
|
-
h.l =
|
|
198
|
-
return
|
|
222
|
+
return t.date = s, t.args = arguments, new J(t);
|
|
223
|
+
}, h = Z;
|
|
224
|
+
h.l = x, h.i = B, h.w = function(s, n) {
|
|
225
|
+
return w(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
|
199
226
|
};
|
|
200
|
-
var
|
|
201
|
-
function
|
|
202
|
-
this.$L =
|
|
227
|
+
var J = function() {
|
|
228
|
+
function s(t) {
|
|
229
|
+
this.$L = x(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[A] = !0;
|
|
203
230
|
}
|
|
204
|
-
var n =
|
|
231
|
+
var n = s.prototype;
|
|
205
232
|
return n.parse = function(t) {
|
|
206
233
|
this.$d = function(i) {
|
|
207
|
-
var r = i.date,
|
|
234
|
+
var r = i.date, d = i.utc;
|
|
208
235
|
if (r === null)
|
|
209
236
|
return /* @__PURE__ */ new Date(NaN);
|
|
210
237
|
if (h.u(r))
|
|
@@ -212,10 +239,10 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
212
239
|
if (r instanceof Date)
|
|
213
240
|
return new Date(r);
|
|
214
241
|
if (typeof r == "string" && !/Z$/i.test(r)) {
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
217
|
-
var f =
|
|
218
|
-
return
|
|
242
|
+
var c = r.match(U);
|
|
243
|
+
if (c) {
|
|
244
|
+
var f = c[2] - 1 || 0, y = (c[7] || "0").substring(0, 3);
|
|
245
|
+
return d ? new Date(Date.UTC(c[1], f, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, y)) : new Date(c[1], f, c[3] || 1, c[4] || 0, c[5] || 0, c[6] || 0, y);
|
|
219
246
|
}
|
|
220
247
|
}
|
|
221
248
|
return new Date(r);
|
|
@@ -226,14 +253,14 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
226
253
|
}, n.$utils = function() {
|
|
227
254
|
return h;
|
|
228
255
|
}, n.isValid = function() {
|
|
229
|
-
return this.$d.toString() !==
|
|
256
|
+
return this.$d.toString() !== u;
|
|
230
257
|
}, n.isSame = function(t, i) {
|
|
231
|
-
var r =
|
|
258
|
+
var r = w(t);
|
|
232
259
|
return this.startOf(i) <= r && r <= this.endOf(i);
|
|
233
260
|
}, n.isAfter = function(t, i) {
|
|
234
|
-
return
|
|
261
|
+
return w(t) < this.startOf(i);
|
|
235
262
|
}, n.isBefore = function(t, i) {
|
|
236
|
-
return this.endOf(i) <
|
|
263
|
+
return this.endOf(i) < w(t);
|
|
237
264
|
}, n.$g = function(t, i, r) {
|
|
238
265
|
return h.u(t) ? this[i] : this.set(r, t);
|
|
239
266
|
}, n.unix = function() {
|
|
@@ -241,92 +268,92 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
241
268
|
}, n.valueOf = function() {
|
|
242
269
|
return this.$d.getTime();
|
|
243
270
|
}, n.startOf = function(t, i) {
|
|
244
|
-
var r = this,
|
|
245
|
-
var
|
|
246
|
-
return
|
|
247
|
-
},
|
|
248
|
-
return h.w(r.toDate()[P].apply(r.toDate("s"), (
|
|
249
|
-
},
|
|
250
|
-
switch (
|
|
251
|
-
case
|
|
252
|
-
return
|
|
253
|
-
case
|
|
254
|
-
return
|
|
271
|
+
var r = this, d = !!h.u(i) || i, c = h.p(t), f = function(P, $) {
|
|
272
|
+
var O = h.w(r.$u ? Date.UTC(r.$y, $, P) : new Date(r.$y, $, P), r);
|
|
273
|
+
return d ? O : O.endOf(T);
|
|
274
|
+
}, y = function(P, $) {
|
|
275
|
+
return h.w(r.toDate()[P].apply(r.toDate("s"), (d ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
|
|
276
|
+
}, C = this.$W, b = this.$M, E = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
277
|
+
switch (c) {
|
|
278
|
+
case L:
|
|
279
|
+
return d ? f(1, 0) : f(31, 11);
|
|
280
|
+
case M:
|
|
281
|
+
return d ? f(1, b) : f(0, b + 1);
|
|
255
282
|
case _:
|
|
256
|
-
var
|
|
257
|
-
return f(
|
|
258
|
-
case
|
|
283
|
+
var I = this.$locale().weekStart || 0, N = (C < I ? C + 7 : C) - I;
|
|
284
|
+
return f(d ? E - N : E + (6 - N), b);
|
|
285
|
+
case T:
|
|
259
286
|
case z:
|
|
260
|
-
return
|
|
287
|
+
return y(q + "Hours", 0);
|
|
261
288
|
case p:
|
|
262
|
-
return
|
|
263
|
-
case
|
|
264
|
-
return
|
|
265
|
-
case
|
|
266
|
-
return
|
|
289
|
+
return y(q + "Minutes", 1);
|
|
290
|
+
case g:
|
|
291
|
+
return y(q + "Seconds", 2);
|
|
292
|
+
case S:
|
|
293
|
+
return y(q + "Milliseconds", 3);
|
|
267
294
|
default:
|
|
268
295
|
return this.clone();
|
|
269
296
|
}
|
|
270
297
|
}, n.endOf = function(t) {
|
|
271
298
|
return this.startOf(t, !1);
|
|
272
299
|
}, n.$set = function(t, i) {
|
|
273
|
-
var r,
|
|
274
|
-
if (
|
|
275
|
-
var
|
|
276
|
-
|
|
300
|
+
var r, d = h.p(t), c = "set" + (this.$u ? "UTC" : ""), f = (r = {}, r[T] = c + "Date", r[z] = c + "Date", r[M] = c + "Month", r[L] = c + "FullYear", r[p] = c + "Hours", r[g] = c + "Minutes", r[S] = c + "Seconds", r[v] = c + "Milliseconds", r)[d], y = d === T ? this.$D + (i - this.$W) : i;
|
|
301
|
+
if (d === M || d === L) {
|
|
302
|
+
var C = this.clone().set(z, 1);
|
|
303
|
+
C.$d[f](y), C.init(), this.$d = C.set(z, Math.min(this.$D, C.daysInMonth())).$d;
|
|
277
304
|
} else
|
|
278
|
-
f && this.$d[f](
|
|
305
|
+
f && this.$d[f](y);
|
|
279
306
|
return this.init(), this;
|
|
280
307
|
}, n.set = function(t, i) {
|
|
281
308
|
return this.clone().$set(t, i);
|
|
282
309
|
}, n.get = function(t) {
|
|
283
310
|
return this[h.p(t)]();
|
|
284
311
|
}, n.add = function(t, i) {
|
|
285
|
-
var r,
|
|
312
|
+
var r, d = this;
|
|
286
313
|
t = Number(t);
|
|
287
|
-
var
|
|
288
|
-
var
|
|
289
|
-
return h.w(
|
|
314
|
+
var c = h.p(i), f = function(b) {
|
|
315
|
+
var E = w(d);
|
|
316
|
+
return h.w(E.date(E.date() + Math.round(b * t)), d);
|
|
290
317
|
};
|
|
291
|
-
if (
|
|
292
|
-
return this.set(
|
|
293
|
-
if (
|
|
294
|
-
return this.set(
|
|
295
|
-
if (
|
|
318
|
+
if (c === M)
|
|
319
|
+
return this.set(M, this.$M + t);
|
|
320
|
+
if (c === L)
|
|
321
|
+
return this.set(L, this.$y + t);
|
|
322
|
+
if (c === T)
|
|
296
323
|
return f(1);
|
|
297
|
-
if (
|
|
324
|
+
if (c === _)
|
|
298
325
|
return f(7);
|
|
299
|
-
var
|
|
300
|
-
return h.w(
|
|
326
|
+
var y = (r = {}, r[g] = l, r[p] = m, r[S] = o, r)[c] || 1, C = this.$d.getTime() + t * y;
|
|
327
|
+
return h.w(C, this);
|
|
301
328
|
}, n.subtract = function(t, i) {
|
|
302
329
|
return this.add(-1 * t, i);
|
|
303
330
|
}, n.format = function(t) {
|
|
304
331
|
var i = this, r = this.$locale();
|
|
305
332
|
if (!this.isValid())
|
|
306
|
-
return r.invalidDate ||
|
|
307
|
-
var
|
|
308
|
-
return $ && ($[
|
|
309
|
-
},
|
|
333
|
+
return r.invalidDate || u;
|
|
334
|
+
var d = t || "YYYY-MM-DDTHH:mm:ssZ", c = h.z(this), f = this.$H, y = this.$m, C = this.$M, b = r.weekdays, E = r.months, q = r.meridiem, I = function($, O, V, K) {
|
|
335
|
+
return $ && ($[O] || $(i, d)) || V[O].slice(0, K);
|
|
336
|
+
}, N = function($) {
|
|
310
337
|
return h.s(f % 12 || 12, $, "0");
|
|
311
|
-
}, P =
|
|
312
|
-
var
|
|
313
|
-
return V ?
|
|
338
|
+
}, P = q || function($, O, V) {
|
|
339
|
+
var K = $ < 12 ? "AM" : "PM";
|
|
340
|
+
return V ? K.toLowerCase() : K;
|
|
314
341
|
};
|
|
315
|
-
return
|
|
316
|
-
return
|
|
342
|
+
return d.replace(H, function($, O) {
|
|
343
|
+
return O || function(V) {
|
|
317
344
|
switch (V) {
|
|
318
345
|
case "YY":
|
|
319
346
|
return String(i.$y).slice(-2);
|
|
320
347
|
case "YYYY":
|
|
321
348
|
return h.s(i.$y, 4, "0");
|
|
322
349
|
case "M":
|
|
323
|
-
return
|
|
350
|
+
return C + 1;
|
|
324
351
|
case "MM":
|
|
325
|
-
return h.s(
|
|
352
|
+
return h.s(C + 1, 2, "0");
|
|
326
353
|
case "MMM":
|
|
327
|
-
return
|
|
354
|
+
return I(r.monthsShort, C, E, 3);
|
|
328
355
|
case "MMMM":
|
|
329
|
-
return
|
|
356
|
+
return I(E, C);
|
|
330
357
|
case "D":
|
|
331
358
|
return i.$D;
|
|
332
359
|
case "DD":
|
|
@@ -334,27 +361,27 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
334
361
|
case "d":
|
|
335
362
|
return String(i.$W);
|
|
336
363
|
case "dd":
|
|
337
|
-
return
|
|
364
|
+
return I(r.weekdaysMin, i.$W, b, 2);
|
|
338
365
|
case "ddd":
|
|
339
|
-
return
|
|
366
|
+
return I(r.weekdaysShort, i.$W, b, 3);
|
|
340
367
|
case "dddd":
|
|
341
|
-
return
|
|
368
|
+
return b[i.$W];
|
|
342
369
|
case "H":
|
|
343
370
|
return String(f);
|
|
344
371
|
case "HH":
|
|
345
372
|
return h.s(f, 2, "0");
|
|
346
373
|
case "h":
|
|
347
|
-
return
|
|
374
|
+
return N(1);
|
|
348
375
|
case "hh":
|
|
349
|
-
return
|
|
376
|
+
return N(2);
|
|
350
377
|
case "a":
|
|
351
|
-
return P(f,
|
|
378
|
+
return P(f, y, !0);
|
|
352
379
|
case "A":
|
|
353
|
-
return P(f,
|
|
380
|
+
return P(f, y, !1);
|
|
354
381
|
case "m":
|
|
355
|
-
return String(
|
|
382
|
+
return String(y);
|
|
356
383
|
case "mm":
|
|
357
|
-
return h.s(
|
|
384
|
+
return h.s(y, 2, "0");
|
|
358
385
|
case "s":
|
|
359
386
|
return String(i.$s);
|
|
360
387
|
case "ss":
|
|
@@ -362,55 +389,55 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
362
389
|
case "SSS":
|
|
363
390
|
return h.s(i.$ms, 3, "0");
|
|
364
391
|
case "Z":
|
|
365
|
-
return
|
|
392
|
+
return c;
|
|
366
393
|
}
|
|
367
394
|
return null;
|
|
368
|
-
}($) ||
|
|
395
|
+
}($) || c.replace(":", "");
|
|
369
396
|
});
|
|
370
397
|
}, n.utcOffset = function() {
|
|
371
398
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
372
399
|
}, n.diff = function(t, i, r) {
|
|
373
|
-
var
|
|
374
|
-
return h.m(
|
|
400
|
+
var d, c = this, f = h.p(i), y = w(t), C = (y.utcOffset() - this.utcOffset()) * l, b = this - y, E = function() {
|
|
401
|
+
return h.m(c, y);
|
|
375
402
|
};
|
|
376
403
|
switch (f) {
|
|
377
|
-
case
|
|
378
|
-
|
|
404
|
+
case L:
|
|
405
|
+
d = E() / 12;
|
|
379
406
|
break;
|
|
380
|
-
case
|
|
381
|
-
|
|
407
|
+
case M:
|
|
408
|
+
d = E();
|
|
382
409
|
break;
|
|
383
|
-
case
|
|
384
|
-
|
|
410
|
+
case G:
|
|
411
|
+
d = E() / 3;
|
|
385
412
|
break;
|
|
386
413
|
case _:
|
|
387
|
-
|
|
414
|
+
d = (b - C) / 6048e5;
|
|
388
415
|
break;
|
|
389
|
-
case
|
|
390
|
-
|
|
416
|
+
case T:
|
|
417
|
+
d = (b - C) / 864e5;
|
|
391
418
|
break;
|
|
392
419
|
case p:
|
|
393
|
-
|
|
420
|
+
d = b / m;
|
|
394
421
|
break;
|
|
395
|
-
case
|
|
396
|
-
|
|
422
|
+
case g:
|
|
423
|
+
d = b / l;
|
|
397
424
|
break;
|
|
398
|
-
case
|
|
399
|
-
|
|
425
|
+
case S:
|
|
426
|
+
d = b / o;
|
|
400
427
|
break;
|
|
401
428
|
default:
|
|
402
|
-
|
|
429
|
+
d = b;
|
|
403
430
|
}
|
|
404
|
-
return r ?
|
|
431
|
+
return r ? d : h.a(d);
|
|
405
432
|
}, n.daysInMonth = function() {
|
|
406
|
-
return this.endOf(
|
|
433
|
+
return this.endOf(M).$D;
|
|
407
434
|
}, n.$locale = function() {
|
|
408
435
|
return k[this.$L];
|
|
409
436
|
}, n.locale = function(t, i) {
|
|
410
437
|
if (!t)
|
|
411
438
|
return this.$L;
|
|
412
|
-
var r = this.clone(),
|
|
413
|
-
return
|
|
439
|
+
var r = this.clone(), d = x(t, i, !0);
|
|
440
|
+
return d && (r.$L = d), r;
|
|
414
441
|
}, n.clone = function() {
|
|
415
442
|
return h.w(this.$d, this);
|
|
416
443
|
}, n.toDate = function() {
|
|
@@ -421,80 +448,80 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
421
448
|
return this.$d.toISOString();
|
|
422
449
|
}, n.toString = function() {
|
|
423
450
|
return this.$d.toUTCString();
|
|
424
|
-
},
|
|
425
|
-
}(), Q =
|
|
426
|
-
return
|
|
427
|
-
Q[
|
|
428
|
-
return this.$g(n,
|
|
451
|
+
}, s;
|
|
452
|
+
}(), Q = J.prototype;
|
|
453
|
+
return w.prototype = Q, [["$ms", v], ["$s", S], ["$m", g], ["$H", p], ["$W", T], ["$M", M], ["$y", L], ["$D", z]].forEach(function(s) {
|
|
454
|
+
Q[s[1]] = function(n) {
|
|
455
|
+
return this.$g(n, s[0], s[1]);
|
|
429
456
|
};
|
|
430
|
-
}),
|
|
431
|
-
return
|
|
432
|
-
},
|
|
433
|
-
return
|
|
434
|
-
},
|
|
457
|
+
}), w.extend = function(s, n) {
|
|
458
|
+
return s.$i || (s(n, J, w), s.$i = !0), w;
|
|
459
|
+
}, w.locale = x, w.isDayjs = B, w.unix = function(s) {
|
|
460
|
+
return w(1e3 * s);
|
|
461
|
+
}, w.en = k[R], w.Ls = k, w.p = {}, w;
|
|
435
462
|
});
|
|
436
|
-
})(
|
|
437
|
-
const
|
|
463
|
+
})(ie);
|
|
464
|
+
const oe = ie.exports;
|
|
438
465
|
var ae = { exports: {} };
|
|
439
|
-
(function(e,
|
|
440
|
-
(function(
|
|
441
|
-
e.exports =
|
|
442
|
-
})(
|
|
443
|
-
var
|
|
444
|
-
return function(
|
|
445
|
-
var p =
|
|
446
|
-
|
|
447
|
-
var
|
|
448
|
-
return new U
|
|
449
|
-
}, p.utc = function(
|
|
450
|
-
var
|
|
451
|
-
return
|
|
466
|
+
(function(e, a) {
|
|
467
|
+
(function(o, l) {
|
|
468
|
+
e.exports = l();
|
|
469
|
+
})(ne, function() {
|
|
470
|
+
var o = "minute", l = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
471
|
+
return function(v, S, g) {
|
|
472
|
+
var p = S.prototype;
|
|
473
|
+
g.utc = function(u) {
|
|
474
|
+
var U = { date: u, utc: !0, args: arguments };
|
|
475
|
+
return new S(U);
|
|
476
|
+
}, p.utc = function(u) {
|
|
477
|
+
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
478
|
+
return u ? U.add(this.utcOffset(), o) : U;
|
|
452
479
|
}, p.local = function() {
|
|
453
|
-
return
|
|
480
|
+
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
454
481
|
};
|
|
455
|
-
var
|
|
456
|
-
p.parse = function(
|
|
457
|
-
|
|
482
|
+
var T = p.parse;
|
|
483
|
+
p.parse = function(u) {
|
|
484
|
+
u.utc && (this.$u = !0), this.$utils().u(u.$offset) || (this.$offset = u.$offset), T.call(this, u);
|
|
458
485
|
};
|
|
459
486
|
var _ = p.init;
|
|
460
487
|
p.init = function() {
|
|
461
488
|
if (this.$u) {
|
|
462
|
-
var
|
|
463
|
-
this.$y =
|
|
489
|
+
var u = this.$d;
|
|
490
|
+
this.$y = u.getUTCFullYear(), this.$M = u.getUTCMonth(), this.$D = u.getUTCDate(), this.$W = u.getUTCDay(), this.$H = u.getUTCHours(), this.$m = u.getUTCMinutes(), this.$s = u.getUTCSeconds(), this.$ms = u.getUTCMilliseconds();
|
|
464
491
|
} else
|
|
465
492
|
_.call(this);
|
|
466
493
|
};
|
|
467
|
-
var
|
|
468
|
-
p.utcOffset = function(
|
|
469
|
-
var
|
|
470
|
-
if (
|
|
471
|
-
return this.$u ? 0 :
|
|
472
|
-
if (typeof
|
|
473
|
-
|
|
474
|
-
var k =
|
|
494
|
+
var M = p.utcOffset;
|
|
495
|
+
p.utcOffset = function(u, U) {
|
|
496
|
+
var H = this.$utils().u;
|
|
497
|
+
if (H(u))
|
|
498
|
+
return this.$u ? 0 : H(this.$offset) ? M.call(this) : this.$offset;
|
|
499
|
+
if (typeof u == "string" && (u = function(R) {
|
|
500
|
+
R === void 0 && (R = "");
|
|
501
|
+
var k = R.match(l);
|
|
475
502
|
if (!k)
|
|
476
503
|
return null;
|
|
477
|
-
var
|
|
478
|
-
return
|
|
479
|
-
}(
|
|
504
|
+
var A = ("" + k[0]).match(m) || ["-", 0, 0], B = A[0], x = 60 * +A[1] + +A[2];
|
|
505
|
+
return x === 0 ? 0 : B === "+" ? x : -x;
|
|
506
|
+
}(u), u === null))
|
|
480
507
|
return this;
|
|
481
|
-
var
|
|
482
|
-
if (
|
|
483
|
-
return
|
|
484
|
-
if (
|
|
485
|
-
var
|
|
486
|
-
(
|
|
508
|
+
var F = Math.abs(u) <= 16 ? 60 * u : u, W = this;
|
|
509
|
+
if (U)
|
|
510
|
+
return W.$offset = F, W.$u = u === 0, W;
|
|
511
|
+
if (u !== 0) {
|
|
512
|
+
var Z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
513
|
+
(W = this.local().add(F + Z, o)).$offset = F, W.$x.$localOffset = Z;
|
|
487
514
|
} else
|
|
488
|
-
|
|
489
|
-
return
|
|
515
|
+
W = this.utc();
|
|
516
|
+
return W;
|
|
490
517
|
};
|
|
491
|
-
var
|
|
492
|
-
p.format = function(
|
|
493
|
-
var
|
|
494
|
-
return
|
|
518
|
+
var G = p.format;
|
|
519
|
+
p.format = function(u) {
|
|
520
|
+
var U = u || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
521
|
+
return G.call(this, U);
|
|
495
522
|
}, p.valueOf = function() {
|
|
496
|
-
var
|
|
497
|
-
return this.$d.valueOf() - 6e4 *
|
|
523
|
+
var u = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
524
|
+
return this.$d.valueOf() - 6e4 * u;
|
|
498
525
|
}, p.isUTC = function() {
|
|
499
526
|
return !!this.$u;
|
|
500
527
|
}, p.toISOString = function() {
|
|
@@ -502,21 +529,21 @@ var ae = { exports: {} };
|
|
|
502
529
|
}, p.toString = function() {
|
|
503
530
|
return this.toDate().toUTCString();
|
|
504
531
|
};
|
|
505
|
-
var
|
|
506
|
-
p.toDate = function(
|
|
507
|
-
return
|
|
532
|
+
var L = p.toDate;
|
|
533
|
+
p.toDate = function(u) {
|
|
534
|
+
return u === "s" && this.$offset ? g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : L.call(this);
|
|
508
535
|
};
|
|
509
536
|
var z = p.diff;
|
|
510
|
-
p.diff = function(
|
|
511
|
-
if (
|
|
512
|
-
return z.call(this,
|
|
513
|
-
var
|
|
514
|
-
return z.call(
|
|
537
|
+
p.diff = function(u, U, H) {
|
|
538
|
+
if (u && this.$u === u.$u)
|
|
539
|
+
return z.call(this, u, U, H);
|
|
540
|
+
var F = this.local(), W = g(u).local();
|
|
541
|
+
return z.call(F, W, U, H);
|
|
515
542
|
};
|
|
516
543
|
};
|
|
517
544
|
});
|
|
518
545
|
})(ae);
|
|
519
|
-
const
|
|
546
|
+
const Se = ae.exports, be = `:host {
|
|
520
547
|
font: inherit;
|
|
521
548
|
display: block;
|
|
522
549
|
height: 100%;
|
|
@@ -587,9 +614,9 @@ const ge = ae.exports, we = `:host {
|
|
|
587
614
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
588
615
|
overflow: visible;
|
|
589
616
|
}
|
|
590
|
-
}`,
|
|
591
|
-
|
|
592
|
-
const
|
|
617
|
+
}`, ve = be;
|
|
618
|
+
oe.extend(Se);
|
|
619
|
+
const $e = "user-deposit-withdrawal", te = [
|
|
593
620
|
"mm-hcback-to-merchant",
|
|
594
621
|
"mm-hc-back-tomerchant",
|
|
595
622
|
"mm-hc-sports",
|
|
@@ -597,12 +624,12 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
597
624
|
"mm-hc-contact",
|
|
598
625
|
"mm-wm-hc-init-deposit",
|
|
599
626
|
"mm-wm-hc-init-deposit-quick"
|
|
600
|
-
],
|
|
601
|
-
},
|
|
627
|
+
], De = () => {
|
|
628
|
+
}, Me = class {
|
|
602
629
|
constructor(e) {
|
|
603
|
-
|
|
630
|
+
de(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = Ce(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
604
631
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
605
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect =
|
|
632
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = De, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
606
633
|
}
|
|
607
634
|
get typeParameter() {
|
|
608
635
|
if (this.type === "deposit")
|
|
@@ -610,24 +637,24 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
610
637
|
if (this.type === "withdraw")
|
|
611
638
|
return "Withdraw";
|
|
612
639
|
}
|
|
613
|
-
handleClientStylingChange(e,
|
|
614
|
-
e !=
|
|
640
|
+
handleClientStylingChange(e, a) {
|
|
641
|
+
e != a && X(this.stylingContainer, this.clientStyling);
|
|
615
642
|
}
|
|
616
|
-
handleClientStylingChangeURL(e,
|
|
617
|
-
e !=
|
|
643
|
+
handleClientStylingChangeURL(e, a) {
|
|
644
|
+
e != a && this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl);
|
|
618
645
|
}
|
|
619
646
|
async componentWillLoad() {
|
|
620
647
|
if (await this.loadWidget(), this.translationUrl)
|
|
621
|
-
return
|
|
648
|
+
return me(this.translationUrl);
|
|
622
649
|
}
|
|
623
650
|
componentDidLoad() {
|
|
624
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
651
|
+
this.stylingContainer && (window.emMessageBus != null ? ye(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && ee(this.stylingContainer, this.clientStylingUrl))), window.addEventListener("message", this.bindedHandler, !1);
|
|
625
652
|
}
|
|
626
653
|
disconnectedCallback() {
|
|
627
654
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
628
655
|
}
|
|
629
656
|
render() {
|
|
630
|
-
return
|
|
657
|
+
return D(ce, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, D("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, D("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && D("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), D("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? D("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, 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" }, j(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? D("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : D("h3", { innerHTML: this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
631
658
|
}
|
|
632
659
|
async loadWidget() {
|
|
633
660
|
const e = {
|
|
@@ -642,53 +669,53 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
642
669
|
currency: this.currency,
|
|
643
670
|
showBonusSelectionInput: this.showBonusSelectionInput
|
|
644
671
|
};
|
|
645
|
-
if (!(Object.values(e).some((
|
|
672
|
+
if (!(Object.values(e).some((a) => a === void 0) || !this.endpoint))
|
|
646
673
|
try {
|
|
647
|
-
const
|
|
674
|
+
const a = `${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`, o = await fetch(a, {
|
|
648
675
|
method: "POST",
|
|
649
676
|
headers: {
|
|
650
677
|
"X-Sessionid": this.session,
|
|
651
678
|
"Content-Type": "application/json",
|
|
652
|
-
"X-Client-Request-Timestamp":
|
|
679
|
+
"X-Client-Request-Timestamp": oe.utc().format("YYYY-MM-DD HH:mm:ss.SSS")
|
|
653
680
|
},
|
|
654
681
|
body: JSON.stringify(e)
|
|
655
682
|
});
|
|
656
|
-
if (!
|
|
657
|
-
const
|
|
658
|
-
throw new Error(
|
|
683
|
+
if (!o.ok) {
|
|
684
|
+
const m = await o.text();
|
|
685
|
+
throw new Error(m);
|
|
659
686
|
}
|
|
660
|
-
const
|
|
661
|
-
if (
|
|
662
|
-
this.cashierInfoUrl =
|
|
687
|
+
const l = await o.json();
|
|
688
|
+
if (l.CashierInfo)
|
|
689
|
+
this.cashierInfoUrl = l.CashierInfo.Url;
|
|
663
690
|
else {
|
|
664
|
-
let
|
|
665
|
-
if (
|
|
666
|
-
let
|
|
667
|
-
|
|
691
|
+
let m;
|
|
692
|
+
if (l.ResponseMessage) {
|
|
693
|
+
let S = this.errorCodes.find((g) => l.ResponseMessage.includes(g)) || null;
|
|
694
|
+
S ? m = j(`errorCode${S}`, this.language) : m = j("notFoundErrorCode", this.language);
|
|
668
695
|
} else
|
|
669
|
-
|
|
670
|
-
const
|
|
671
|
-
window.postMessage({ type: "DenyDepositOrWithdrawal", data:
|
|
696
|
+
m = this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language);
|
|
697
|
+
const v = { type: "error", message: m };
|
|
698
|
+
window.postMessage({ type: "DenyDepositOrWithdrawal", data: v }, window.location.href);
|
|
672
699
|
}
|
|
673
|
-
} catch (
|
|
674
|
-
console.error(
|
|
700
|
+
} catch (a) {
|
|
701
|
+
console.error(a);
|
|
675
702
|
}
|
|
676
703
|
}
|
|
677
704
|
handleMessage(e) {
|
|
678
|
-
const
|
|
679
|
-
if (!
|
|
705
|
+
const a = this.extractPayload(e);
|
|
706
|
+
if (!a)
|
|
680
707
|
return;
|
|
681
|
-
this.applyLayoutHints(
|
|
682
|
-
const
|
|
683
|
-
if (!
|
|
708
|
+
this.applyLayoutHints(a);
|
|
709
|
+
const o = this.extractCashierRedirectReason(a);
|
|
710
|
+
if (!o || this.emitForwardedRedirect(e, o))
|
|
684
711
|
return;
|
|
685
|
-
const
|
|
686
|
-
|
|
712
|
+
const l = this.resolveRedirectPlan(o);
|
|
713
|
+
l && this.doRedirect(l.reason, l.targetUrl);
|
|
687
714
|
}
|
|
688
715
|
extractCashierRedirectReason(e) {
|
|
689
|
-
if (typeof e?.type == "string" &&
|
|
716
|
+
if (typeof e?.type == "string" && te.includes(e.type))
|
|
690
717
|
return e.type;
|
|
691
|
-
if (typeof e?.redirect == "string" &&
|
|
718
|
+
if (typeof e?.redirect == "string" && te.includes(e.redirect))
|
|
692
719
|
return e.redirect;
|
|
693
720
|
}
|
|
694
721
|
extractPayload(e) {
|
|
@@ -716,29 +743,29 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
716
743
|
return;
|
|
717
744
|
}
|
|
718
745
|
}
|
|
719
|
-
buildRedirectPlan(e,
|
|
720
|
-
if (
|
|
721
|
-
return { reason: e, targetUrl:
|
|
746
|
+
buildRedirectPlan(e, a) {
|
|
747
|
+
if (a)
|
|
748
|
+
return { reason: e, targetUrl: a };
|
|
722
749
|
}
|
|
723
|
-
emitForwardedRedirect(e,
|
|
750
|
+
emitForwardedRedirect(e, a) {
|
|
724
751
|
if (!this.forwardCashierRedirects)
|
|
725
752
|
return !1;
|
|
726
|
-
const
|
|
727
|
-
type: `${
|
|
728
|
-
originalType:
|
|
753
|
+
const o = {
|
|
754
|
+
type: `${$e}:${a}`,
|
|
755
|
+
originalType: a,
|
|
729
756
|
payload: e.data,
|
|
730
757
|
origin: e.origin
|
|
731
758
|
};
|
|
732
|
-
return window.postMessage(
|
|
759
|
+
return window.postMessage(o, window.location.href), !0;
|
|
733
760
|
}
|
|
734
|
-
doRedirect(e,
|
|
735
|
-
const
|
|
736
|
-
if (this.beforeRedirect(
|
|
737
|
-
if (!
|
|
761
|
+
doRedirect(e, a) {
|
|
762
|
+
const o = { reason: e, url: a, cancel: !1 };
|
|
763
|
+
if (this.beforeRedirect(o), !o.cancel) {
|
|
764
|
+
if (!o.url) {
|
|
738
765
|
window.location.href = "/";
|
|
739
766
|
return;
|
|
740
767
|
}
|
|
741
|
-
window.location.href =
|
|
768
|
+
window.location.href = o.url;
|
|
742
769
|
}
|
|
743
770
|
}
|
|
744
771
|
static get watchers() {
|
|
@@ -748,7 +775,7 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
748
775
|
};
|
|
749
776
|
}
|
|
750
777
|
};
|
|
751
|
-
|
|
778
|
+
Me.style = ve;
|
|
752
779
|
export {
|
|
753
|
-
|
|
780
|
+
Me as user_deposit_withdrawal
|
|
754
781
|
};
|