@everymatrix/casino-header-controller-nd 1.90.7 → 1.90.8
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/CasinoHamburgerMenuNd-BH6BG36R.js +1291 -0
- package/components/CasinoHamburgerMenuNd-CuOroj3Y.js +1315 -0
- package/components/CasinoHamburgerMenuNd-NxKPo2-K.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-B95VpbsW.js → CasinoHeaderControllerNd-BiDGzPtn.js} +1890 -1789
- package/components/{CasinoHeaderControllerNd-D1S0W4fx.js → CasinoHeaderControllerNd-CHAFeQ-G.js} +1867 -1767
- package/components/CasinoHeaderControllerNd-Cy4RqjxM.cjs +18 -0
- package/components/{PlayerAccountBalanceModalNd-Crk2vT3z.js → PlayerAccountBalanceModalNd-CMv5mwmK.js} +70 -70
- package/components/{PlayerAccountBalanceModalNd-CIeCaHJR.js → PlayerAccountBalanceModalNd-D0CWoVA3.js} +33 -33
- package/components/{PlayerAccountBalanceModalNd-CKolmBwj.cjs → PlayerAccountBalanceModalNd-DwhvnS-B.cjs} +1 -1
- package/components/{PlayerDeposit-ikLnSVkR.js → PlayerDeposit-CNAsTv6k.js} +16 -16
- package/components/{PlayerDeposit-BMxv0N7J.js → PlayerDeposit-DFfvOVtM.js} +21 -21
- package/components/{PlayerDeposit-qPyH6U6-.cjs → PlayerDeposit-loJvKp78.cjs} +1 -1
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-B59x5qq1.js → casino-hamburger-menu-nd-BPDYqmRL.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-BtiACLBX.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DFsZnbAv.js → casino-hamburger-menu-nd-Ph1Fx2Kl.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-Av2-M8jH.js → player-account-balance-modal-nd-Dho2TM3F.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVSq7VyF.cjs → player-account-balance-modal-nd-IZBAft1T.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVUBazOl.js → player-account-balance-modal-nd-kV2PjYEL.js} +1 -1
- package/lazy/{player-deposit-B_pDyfA5.js → player-deposit-BNWSkpVt.js} +1 -1
- package/lazy/{player-deposit-Bi6yTqI3.cjs → player-deposit-CEFFQhy2.cjs} +1 -1
- package/lazy/{player-deposit-DlTrAf96.js → player-deposit-D6Sg3BWr.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-BWo6pPAT.cjs +0 -1
- package/components/CasinoHamburgerMenuNd-BhNXQcMS.js +0 -1263
- package/components/CasinoHamburgerMenuNd-DuY3AlRJ.js +0 -1239
- package/components/CasinoHeaderControllerNd-CDENLWE2.cjs +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var nt=Object.defineProperty,at=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var je=Math.pow,Ve=(i,t,n)=>t in i?nt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,Ue=(i,t)=>{for(var n in t||(t={}))it.call(t,n)&&Ve(i,n,t[n]);if(ze)for(var n of ze(t))rt.call(t,n)&&Ve(i,n,t[n]);return i},Pe=(i,t)=>at(i,ot(t));var Ge=(i,t,n)=>new Promise((m,y)=>{var u=f=>{try{B(n.next(f))}catch(b){y(b)}},c=f=>{try{B(n.throw(f))}catch(b){y(b)}},B=f=>f.done?m(f.value):Promise.resolve(f.value).then(u,c);B((n=n.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";var nt=Object.defineProperty,at=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var je=Math.pow,Ve=(i,t,n)=>t in i?nt(i,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):i[t]=n,Ue=(i,t)=>{for(var n in t||(t={}))it.call(t,n)&&Ve(i,n,t[n]);if(ze)for(var n of ze(t))rt.call(t,n)&&Ve(i,n,t[n]);return i},Pe=(i,t)=>at(i,ot(t));var Ge=(i,t,n)=>new Promise((m,y)=>{var u=f=>{try{B(n.next(f))}catch(b){y(b)}},c=f=>{try{B(n.throw(f))}catch(b){y(b)}},B=f=>f.done?m(f.value):Promise.resolve(f.value).then(u,c);B((n=n.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-Cy4RqjxM.cjs");function Xe(i,t){e.addMessages(i,t)}function st(i){e.$locale.set(i)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",LimitsButton:"Limits",DepositButton:"存款",ActiveBonusesButton:"活躍獎金",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Einzahlen",ActiveBonusesButton:"Aktive Boni",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Deposita",ActiveBonusesButton:"Bonus Attivi",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Dépôt",ActiveBonusesButton:"Bonus Actifs",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Depósito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",LimitsButton:"Limits",DepositButton:"Yatır",ActiveBonusesButton:"Aktif Bonuslar",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",LimitsButton:"Limits",DepositButton:"Депозит",ActiveBonusesButton:"Активные Бонусы",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Bonusuri Active",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Befizetés",ActiveBonusesButton:"Aktív Bónuszok",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Wpłać",ActiveBonusesButton:"Aktywne Bonusy",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"Bônus Ativos",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"Bônus Ativos",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Depósito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."}};var He={exports:{}};/** @license
|
|
2
2
|
* eventsource.js
|
|
3
3
|
* Available under MIT License (MIT)
|
|
4
4
|
* https://github.com/Yaffle/EventSource/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, $ as X, S as Z, i as
|
|
1
|
+
import { a as V, $ as X, S as Z, i as K, s as $, f as y, b as ee, A as I, d as S, B as L, W as P, h as T, u as h, j as M, w as E, E as C, r as u, k as te, l as ie, J as se, o as ae, v as re, D as k, z as ne, L as W, Q as oe, R as le, T as ce, U as ue } from "./CasinoHeaderControllerNd-CHAFeQ-G.js";
|
|
2
2
|
function F(s, e) {
|
|
3
3
|
V(s, e);
|
|
4
4
|
}
|
|
@@ -160,8 +160,8 @@ function fe(s) {
|
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: I,
|
|
164
|
+
o: I,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -170,7 +170,7 @@ function fe(s) {
|
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
172
|
te(s, ie, (t) => i(4, a = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = se(G) !== "PC", B = !0,
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = se(G) !== "PC", B = !0, U, N, x = 0, j = "";
|
|
174
174
|
const O = () => {
|
|
175
175
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
@@ -183,16 +183,16 @@ function we(s, e, i) {
|
|
|
183
183
|
Object.keys(H).forEach((t) => {
|
|
184
184
|
F(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const z = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, A = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, U = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -242,7 +242,7 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, j = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -251,11 +251,11 @@ function we(s, e, i) {
|
|
|
251
251
|
}, Q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
ae(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
ae(() => (window.addEventListener("message", A, !1), () => {
|
|
255
|
+
window.removeEventListener("message", A);
|
|
256
256
|
}));
|
|
257
|
-
const Y = () =>
|
|
258
|
-
function
|
|
257
|
+
const Y = () => z();
|
|
258
|
+
function J(t) {
|
|
259
259
|
ne[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
@@ -274,11 +274,11 @@ function we(s, e, i) {
|
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
I,
|
|
278
277
|
U,
|
|
278
|
+
j,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
z,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -291,12 +291,12 @@ function we(s, e, i) {
|
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
293
|
Y,
|
|
294
|
-
|
|
294
|
+
J
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
297
|
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), K(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as J, $ as X, S as Z, i as K, s as $, f as y, b as ee, z as I, d as S, A as L, V as U, h as T, r as h, j as M, v as E, C, q as u, k as te, H as ie, o as se, u as ae, B as k, y as re, J as F, O as ne, P as oe, Q as le, R as ce, T as ue } from "./CasinoHeaderControllerNd-BiDGzPtn.js";
|
|
2
|
+
function H(s, e) {
|
|
3
|
+
J(s, e);
|
|
4
4
|
}
|
|
5
5
|
function de(s) {
|
|
6
|
-
|
|
6
|
+
X.set(s);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const W = {
|
|
9
9
|
en: {
|
|
10
10
|
titleDeposit: "Deposit",
|
|
11
11
|
loading: "Loading, please wait ..."
|
|
@@ -160,8 +160,8 @@ function fe(s) {
|
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: I,
|
|
164
|
+
o: I,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -170,29 +170,29 @@ function fe(s) {
|
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
172
|
te(s, ue, (t) => i(4, a = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g,
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, P, N, x = 0, j = "";
|
|
174
174
|
const O = () => {
|
|
175
175
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
H(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
|
-
Object.keys(
|
|
184
|
-
|
|
183
|
+
Object.keys(W).forEach((t) => {
|
|
184
|
+
H(t, W[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const z = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, A = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, P = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -242,7 +242,7 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, j = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -251,10 +251,10 @@ function we(s, e, i) {
|
|
|
251
251
|
}, Q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
se(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", A, !1), () => {
|
|
255
|
+
window.removeEventListener("message", A);
|
|
256
256
|
}));
|
|
257
|
-
const V = () =>
|
|
257
|
+
const V = () => z();
|
|
258
258
|
function Y(t) {
|
|
259
259
|
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
@@ -274,11 +274,11 @@ function we(s, e, i) {
|
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
I,
|
|
278
277
|
P,
|
|
278
|
+
j,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
z,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -294,7 +294,7 @@ function we(s, e, i) {
|
|
|
294
294
|
Y
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
|
-
class ye extends
|
|
297
|
+
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
299
|
super(), K(
|
|
300
300
|
this,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-Cy4RqjxM.cjs");function T(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function F(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function H(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function W(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function N(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&H(n);function p(s,u){return s[1]?G:W}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function q(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,B,_=0,C="";const P=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},j=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},I=()=>{A(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const U=()=>S();function z(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&I(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`,B),n.$$.dirty&32768&&u&&P(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&j()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,U,z]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,N,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},F)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-Cy4RqjxM.cjs")).then(e=>e.CasinoHeaderControllerNd_ce).then(({default:e})=>{!customElements.get("casino-header-controller-nd")&&customElements.define("casino-header-controller-nd",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-BiDGzPtn.js").then((e) => e.W).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-header-controller-nd") && customElements.define("casino-header-controller-nd", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-CuOroj3Y.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-hamburger-menu-nd") && customElements.define("casino-hamburger-menu-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-BtiACLBX.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHamburgerMenuNd-NxKPo2-K.cjs")).then(({default:t})=>{!customElements.get("casino-hamburger-menu-nd")&&customElements.define("casino-hamburger-menu-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-BH6BG36R.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-hamburger-menu-nd") && customElements.define("casino-hamburger-menu-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-CMv5mwmK.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-balance-modal-nd") && customElements.define("player-account-balance-modal-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountBalanceModalNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountBalanceModalNd-DwhvnS-B.cjs")).then(({default:t})=>{!customElements.get("player-account-balance-modal-nd")&&customElements.define("player-account-balance-modal-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-D0CWoVA3.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-balance-modal-nd") && customElements.define("player-account-balance-modal-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerDeposit-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerDeposit-DFfvOVtM.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerDeposit-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerDeposit-loJvKp78.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerDeposit-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerDeposit-CNAsTv6k.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var me=(n,t,a)=>new Promise((l,r)=>{var o=u=>{try{c(a.next(u))}catch(g){r(g)}},s=u=>{try{c(a.throw(u))}catch(g){r(g)}},c=u=>u.done?l(u.value):Promise.resolve(u.value).then(o,s);c((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHeaderControllerNd-CDENLWE2.cjs");function pe(n,t){e.addMessages(n,t)}function Je(n){e.$locale.set(n)}const fe={en:{language:"Select Language"},"zh-hk":{language:"選擇語言"},fr:{language:"Sélectionner la langue"},tr:{language:"Dil Seçin"},ro:{language:"Selecteaza limba"},es:{language:"Seleccionar idioma"},pt:{language:"Selecione o idioma"},hr:{language:"Izaberi jezik"},"pt-br":{language:"Escolha o seu idioma"},"es-mx":{language:"Escoger idioma"},"en-us":{language:"Select Language"}};function Ve(n){e.append_styles(n,"svelte-1oaeimo","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.2) 0%, transparent 100%)}12%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.225) 0%, transparent 100%)}25%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.25) 0%, transparent 100%)}33%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.275) 0%, transparent 100%)}50%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.3) 0%, transparent 100%)}63%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.325) 0%, transparent 100%)}75%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.35) 0%, transparent 100%)}88%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.375) 0%, transparent 100%)}100%{background:linear-gradient(0deg, rgba(var(--emw--color-primary-rgb, 35, 178, 78), 0.4) 0%, transparent 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear;height:44px}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader{display:none}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .Logo{max-width:90%}.HamburgerModalWindow .HamburgerModalContainer .HamburgerHeader .UserProfileWrapper{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:flex;align-items:center;gap:0.5rem;cursor:pointer;text-decoration:none;width:100%}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;height:80px}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li .ItemButton{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;display:block;width:100%;cursor:pointer}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer .HamburgerItemTag{display:none;font-size:10px;padding:2px 4px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:calc(100% - 124px);overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}")}function he(n,t,a){const l=n.slice();return l[77]=t[a],l}function _e(n,t,a){const l=n.slice();return l[2]=t[a],l}function be(n,t,a){const l=n.slice();return l[80]=t[a],l}function Ke(n,t,a){const l=n.slice();return l[86]=t[a],l}function ye(n,t,a){const l=n.slice();return l[83]=t[a],l}const Qe=n=>({}),we=n=>({});function ve(n){let t,a,l,r,o,s,c,u,g,_,d,f,m,h,S,y,w,k,W,T,z,G,P,B,j,I,q,Y;const X=[et,$e],A=[];function R(p,H){return p[15]?0:1}r=R(n),o=A[r]=X[r](n);function Z(p,H){return p[5].length>0?nt:at}let E=Z(n),C=E(n),F=e.ensure_array_like(n[7]),v=[];for(let p=0;p<F.length;p+=1)v[p]=Se(be(n,F,p));let M=n[10].length>1&&Oe(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),o.c(),s=e.space(),c=e.element("ul"),C.c(),u=e.space(),g=e.element("div"),_=e.space(),d=e.element("ul");for(let p=0;p<v.length;p+=1)v[p].c();m=e.space(),M&&M.c(),S=e.space(),y=e.element("span"),w=e.element("div"),k=e.element("span"),W=e.space(),T=e.element("span"),z=e.space(),G=e.element("span"),e.attr(l,"class","HamburgerHeader"),e.toggle_class(l,"LoggedIn",n[15]),e.attr(c,"class","HamburgerPrimaryMenu"),e.attr(g,"class","Separator"),e.attr(d,"class",f="HamburgerSecondaryMenu "+(n[11]?"Overlay":"")),e.attr(a,"class",h="HamburgerModalContainer "+(n[8]?"ActiveHamburgerMenu":"")+" "+(n[13]?"Closing":"")),e.attr(w,"class",P="NavIcon "+(n[14]?"":"Open")),e.attr(y,"class",B=n[8]?"ModalCloseBtn":""),e.attr(y,"role","button"),e.attr(t,"class",j="HamburgerModalWindow "+(n[13]?" Closing":""))},m(p,H){e.insert(p,t,H),e.append(t,a),e.append(a,l),A[r].m(l,null),e.append(a,s),e.append(a,c),C.m(c,null),e.append(a,u),e.append(a,g),e.append(a,_),e.append(a,d);for(let L=0;L<v.length;L+=1)v[L]&&v[L].m(d,null);e.append(a,m),M&&M.m(a,null),e.append(t,S),e.append(t,y),e.append(y,w),e.append(w,k),e.append(w,W),e.append(w,T),e.append(w,z),e.append(w,G),n[52](t),I=!0,q||(Y=e.listen(y,"click",n[20]),q=!0)},p(p,H){let L=r;if(r=R(p),r===L?A[r].p(p,H):(e.group_outros(),e.transition_out(A[L],1,1,()=>{A[L]=null}),e.check_outros(),o=A[r],o?o.p(p,H):(o=A[r]=X[r](p),o.c()),e.transition_in(o,1),o.m(l,null)),(!I||H[0]&32768)&&e.toggle_class(l,"LoggedIn",p[15]),E===(E=Z(p))&&C?C.p(p,H):(C.d(1),C=E(p),C&&(C.c(),C.m(c,null))),H[0]&4194432){F=e.ensure_array_like(p[7]);let O;for(O=0;O<F.length;O+=1){const N=be(p,F,O);v[O]?v[O].p(N,H):(v[O]=Se(N),v[O].c(),v[O].m(d,null))}for(;O<v.length;O+=1)v[O].d(1);v.length=F.length}(!I||H[0]&2048&&f!==(f="HamburgerSecondaryMenu "+(p[11]?"Overlay":"")))&&e.attr(d,"class",f),p[10].length>1?M?M.p(p,H):(M=Oe(p),M.c(),M.m(a,null)):M&&(M.d(1),M=null),(!I||H[0]&8448&&h!==(h="HamburgerModalContainer "+(p[8]?"ActiveHamburgerMenu":"")+" "+(p[13]?"Closing":"")))&&e.attr(a,"class",h),(!I||H[0]&16384&&P!==(P="NavIcon "+(p[14]?"":"Open")))&&e.attr(w,"class",P),(!I||H[0]&256&&B!==(B=p[8]?"ModalCloseBtn":""))&&e.attr(y,"class",B),(!I||H[0]&8192&&j!==(j="HamburgerModalWindow "+(p[13]?" Closing":"")))&&e.attr(t,"class",j)},i(p){I||(e.transition_in(o),I=!0)},o(p){e.transition_out(o),I=!1},d(p){p&&e.detach(t),A[r].d(),C.d(),e.destroy_each(v,p),M&&M.d(),n[52](null),q=!1,Y()}}}function $e(n){let t,a;const l=n[46].logo,r=e.create_slot(l,n,n[45],we),o=r||tt(n);return{c(){t=e.element("div"),o&&o.c(),e.attr(t,"class","Logo")},m(s,c){e.insert(s,t,c),o&&o.m(t,null),a=!0},p(s,c){r?r.p&&(!a||c[1]&16384)&&e.update_slot_base(r,l,s,s[45],a?e.get_slot_changes(l,s[45],c,Qe):e.get_all_dirty_from_scope(s[45]),we):o&&o.p&&(!a||c[0]&2)&&o.p(s,a?c:[-1,-1,-1])},i(s){a||(e.transition_in(o,s),a=!0)},o(s){e.transition_out(o,s),a=!1},d(s){s&&e.detach(t),o&&o.d(s)}}}function et(n){let t,a,l,r,o=(n[17]||n[16])+"",s,c,u,g;return{c(){t=e.element("button"),a=e.element("span"),a.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',l=e.space(),r=e.element("span"),s=e.text(o),e.attr(a,"class","UserIcon"),e.attr(a,"aria-hidden","true"),e.attr(r,"class","UserFullName"),e.attr(r,"title",c=`${n[17]||n[16]}`),e.attr(r,"data-username",n[17]),e.attr(r,"data-playerid",n[16]),e.attr(t,"type","button"),e.attr(t,"class","UserProfileWrapper")},m(_,d){e.insert(_,t,d),e.append(t,a),e.append(t,l),e.append(t,r),e.append(r,s),u||(g=e.listen(t,"click",n[27]),u=!0)},p(_,d){d[0]&196608&&o!==(o=(_[17]||_[16])+"")&&e.set_data(s,o),d[0]&196608&&c!==(c=`${_[17]||_[16]}`)&&e.attr(r,"title",c),d[0]&131072&&e.attr(r,"data-username",_[17]),d[0]&65536&&e.attr(r,"data-playerid",_[16])},i:e.noop,o:e.noop,d(_){_&&e.detach(t),u=!1,g()}}}function tt(n){let t,a,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,a=n[1])||e.attr(t,"src",a),e.attr(t,"alt",l=`Logo ${n[1]}`)},m(r,o){e.insert(r,t,o)},p(r,o){o[0]&2&&!e.src_url_equal(t.src,a=r[1])&&e.attr(t,"src",a),o[0]&2&&l!==(l=`Logo ${r[1]}`)&&e.attr(t,"alt",l)},d(r){r&&e.detach(t)}}}function at(n){let t,a=e.ensure_array_like(new Array(5)),l=[];for(let r=0;r<a.length;r+=1)l[r]=rt(Ke(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,o){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,o);e.insert(r,t,o)},p:e.noop,d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function nt(n){let t,a=e.ensure_array_like(n[5]),l=[];for(let r=0;r<a.length;r+=1)l[r]=He(ye(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,o){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&2097248){a=e.ensure_array_like(r[5]);let s;for(s=0;s<a.length;s+=1){const c=ye(r,a,s);l[s]?l[s].p(c,o):(l[s]=He(c),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function rt(n){let t;return{c(){t=e.element("div"),t.innerHTML="",e.attr(t,"class","Loading Skeleton")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("img"),e.src_url_equal(t.src,a=n[83].img)||e.attr(t,"src",a),e.attr(t,"alt","menu icon")},m(l,r){e.insert(l,t,r)},p(l,r){r[0]&32&&!e.src_url_equal(t.src,a=l[83].img)&&e.attr(t,"src",a)},d(l){l&&e.detach(t)}}}function Me(n){let t,a=n[83].tag+"",l,r;return{c(){t=e.element("span"),l=e.text(a),e.attr(t,"title",r=n[83].tag),e.attr(t,"class","HamburgerItemTag")},m(o,s){e.insert(o,t,s),e.append(t,l)},p(o,s){s[0]&32&&a!==(a=o[83].tag+"")&&e.set_data(l,a),s[0]&32&&r!==(r=o[83].tag)&&e.attr(t,"title",r)},d(o){o&&e.detach(t)}}}function He(n){var y,w;let t,a,l,r,o,s=n[83].label+"",c,u,g,_,d,f,m=((y=n[83])==null?void 0:y.img)&&ke(n),h=((w=n[83])==null?void 0:w.tag)&&Me(n);function S(){return n[47](n[83])}return{c(){t=e.element("li"),a=e.element("button"),l=e.element("div"),m&&m.c(),r=e.space(),o=e.element("p"),c=e.text(s),u=e.space(),h&&h.c(),g=e.space(),e.attr(l,"class","HamburgerItemContainer"),e.attr(a,"type","button"),e.attr(a,"class","ItemButton"),e.attr(t,"class",_=n[6]===n[83].id?"ActiveItem":"")},m(k,W){e.insert(k,t,W),e.append(t,a),e.append(a,l),m&&m.m(l,null),e.append(l,r),e.append(l,o),e.append(o,c),e.append(l,u),h&&h.m(l,null),e.append(t,g),d||(f=e.listen(a,"click",S),d=!0)},p(k,W){var T,z;n=k,(T=n[83])!=null&&T.img?m?m.p(n,W):(m=ke(n),m.c(),m.m(l,r)):m&&(m.d(1),m=null),W[0]&32&&s!==(s=n[83].label+"")&&e.set_data(c,s),(z=n[83])!=null&&z.tag?h?h.p(n,W):(h=Me(n),h.c(),h.m(l,null)):h&&(h.d(1),h=null),W[0]&96&&_!==(_=n[6]===n[83].id?"ActiveItem":"")&&e.attr(t,"class",_)},d(k){k&&e.detach(t),m&&m.d(),h&&h.d(),d=!1,f()}}}function Le(n){let t,a;return{c(){t=e.element("img"),e.src_url_equal(t.src,a=n[80].img)||e.attr(t,"src",a),e.attr(t,"alt","menu icon")},m(l,r){e.insert(l,t,r)},p(l,r){r[0]&128&&!e.src_url_equal(t.src,a=l[80].img)&&e.attr(t,"src",a)},d(l){l&&e.detach(t)}}}function Se(n){var d;let t,a,l,r=n[80].label+"",o,s,c,u,g=((d=n[80])==null?void 0:d.img)&&Le(n);function _(...f){return n[48](n[80],...f)}return{c(){t=e.element("li"),g&&g.c(),a=e.space(),l=e.element("p"),o=e.text(r),s=e.space()},m(f,m){e.insert(f,t,m),g&&g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,o),e.append(t,s),c||(u=e.listen(t,"click",_),c=!0)},p(f,m){var h;n=f,(h=n[80])!=null&&h.img?g?g.p(n,m):(g=Le(n),g.c(),g.m(t,a)):g&&(g.d(1),g=null),m[0]&128&&r!==(r=n[80].label+"")&&e.set_data(o,r)},d(f){f&&e.detach(t),g&&g.d(),c=!1,u()}}}function Oe(n){let t,a,l=n[19]("language")+"",r,o,s,c,u;function g(f,m){return f[0]!=="true"?it:lt}let _=g(n),d=_(n);return{c(){t=e.element("div"),a=e.element("span"),r=e.text(l),o=e.space(),d.c(),e.attr(a,"class","LanguageSelectorTitle"),e.attr(t,"class",s="LanguageSelector "+(n[11]?"Open":""))},m(f,m){e.insert(f,t,m),e.append(t,a),e.append(a,r),e.append(t,o),d.m(t,null),c||(u=e.listen(t,"click",n[25]),c=!0)},p(f,m){m[0]&524288&&l!==(l=f[19]("language")+"")&&e.set_data(r,l),_===(_=g(f))&&d?d.p(f,m):(d.d(1),d=_(f),d&&(d.c(),d.m(t,null))),m[0]&2048&&s!==(s="LanguageSelector "+(f[11]?"Open":""))&&e.attr(t,"class",s)},d(f){f&&e.detach(t),d.d(),c=!1,u()}}}function lt(n){let t,a,l,r,o,s,c,u=n[26](n[18])+"",g,_,d,f,m,h,S,y=n[11]&&Ce(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("span"),r=e.element("img"),s=e.space(),c=e.element("span"),g=e.text(u),_=e.space(),d=e.element("span"),f=e.svg_element("svg"),m=e.svg_element("path"),S=e.space(),y&&y.c(),e.src_url_equal(r.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[26](n[18])}.svg`)||e.attr(r,"src",o),e.attr(l,"class","FlagIcon"),e.attr(c,"class","LanguageName"),e.attr(m,"id","arrow"),e.attr(m,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(m,"transform","translate(-274.511 -441.088)"),e.attr(m,"fill","#d1d1d1"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(f,"width","14"),e.attr(f,"height","6.835"),e.attr(f,"viewBox","0 0 14 6.835"),e.attr(d,"class",h="TriangleInactive "+(n[11]?"TriangleActive":"")),e.attr(a,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(w,k){e.insert(w,t,k),e.append(t,a),e.append(a,l),e.append(l,r),e.append(a,s),e.append(a,c),e.append(c,g),e.append(a,_),e.append(a,d),e.append(d,f),e.append(f,m),e.append(t,S),y&&y.m(t,null)},p(w,k){k[0]&263168&&!e.src_url_equal(r.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${w[26](w[18])}.svg`)&&e.attr(r,"src",o),k[0]&262144&&u!==(u=w[26](w[18])+"")&&e.set_data(g,u),k[0]&2048&&h!==(h="TriangleInactive "+(w[11]?"TriangleActive":""))&&e.attr(d,"class",h),w[11]?y?y.p(w,k):(y=Ce(w),y.c(),y.m(t,null)):y&&(y.d(1),y=null)},d(w){w&&e.detach(t),y&&y.d()}}}function it(n){let t,a,l,r=e.ensure_array_like(n[10]),o=[];for(let s=0;s<r.length;s+=1)o[s]=Ie(_e(n,r,s));return{c(){t=e.element("select");for(let s=0;s<o.length;s+=1)o[s].c();e.attr(t,"class","Item ItemLanguage NoFlag"),n[18]===void 0&&e.add_render_callback(()=>n[49].call(t))},m(s,c){e.insert(s,t,c);for(let u=0;u<o.length;u+=1)o[u]&&o[u].m(t,null);e.select_option(t,n[18],!0),a||(l=[e.listen(t,"change",n[49]),e.listen(t,"change",n[50])],a=!0)},p(s,c){if(c[0]&1024){r=e.ensure_array_like(s[10]);let u;for(u=0;u<r.length;u+=1){const g=_e(s,r,u);o[u]?o[u].p(g,c):(o[u]=Ie(g),o[u].c(),o[u].m(t,null))}for(;u<o.length;u+=1)o[u].d(1);o.length=r.length}c[0]&263168&&e.select_option(t,s[18])},d(s){s&&e.detach(t),e.destroy_each(o,s),a=!1,e.run_all(l)}}}function Ce(n){let t,a,l=e.ensure_array_like(n[10]),r=[];for(let o=0;o<l.length;o+=1)r[o]=We(he(n,l,o));return{c(){t=e.element("div");for(let o=0;o<r.length;o+=1)r[o].c();e.attr(t,"class",a="OptionList "+(n[12]?"Open":""))},m(o,s){e.insert(o,t,s);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null)},p(o,s){if(s[0]&83891200){l=e.ensure_array_like(o[10]);let c;for(c=0;c<l.length;c+=1){const u=he(o,l,c);r[c]?r[c].p(u,s):(r[c]=We(u),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}s[0]&4096&&a!==(a="OptionList "+(o[12]?"Open":""))&&e.attr(t,"class",a)},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function We(n){let t,a,l,r,o,s,c=n[26](n[77])+"",u,g,_,d,f;function m(){return n[51](n[77])}return{c(){t=e.element("div"),a=e.element("span"),l=e.element("img"),o=e.space(),s=e.element("span"),u=e.text(c),g=e.space(),e.src_url_equal(l.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[26](n[77])}.svg`)||e.attr(l,"src",r),e.attr(a,"class","FlagIcon"),e.attr(s,"class","LanguageName"),e.attr(t,"class",_="LanguageOption "+(n[12]?"Open":""))},m(h,S){e.insert(h,t,S),e.append(t,a),e.append(a,l),e.append(t,o),e.append(t,s),e.append(s,u),e.append(t,g),d||(f=e.listen(t,"click",m),d=!0)},p(h,S){n=h,S[0]&1024&&!e.src_url_equal(l.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[26](n[77])}.svg`)&&e.attr(l,"src",r),S[0]&1024&&c!==(c=n[26](n[77])+"")&&e.set_data(u,c),S[0]&4096&&_!==(_="LanguageOption "+(n[12]?"Open":""))&&e.attr(t,"class",_)},d(h){h&&e.detach(t),d=!1,f()}}}function Ie(n){let t,a=n[2].slice(-2)+"",l,r;return{c(){t=e.element("option"),l=e.text(a),t.__value=r=n[2],e.set_input_value(t,t.__value),t.selected=!0},m(o,s){e.insert(o,t,s),e.append(t,l)},p(o,s){s[0]&1024&&a!==(a=o[2].slice(-2)+"")&&e.set_data(l,a),s[0]&1024&&r!==(r=o[2])&&(t.__value=r,e.set_input_value(t,t.__value))},d(o){o&&e.detach(t)}}}function ot(n){let t,a,l=n[9]===!0&&ve(n);return{c(){t=e.element("div"),l&&l.c()},m(r,o){e.insert(r,t,o),l&&l.m(t,null),n[53](t),a=!0},p(r,o){r[9]===!0?l?(l.p(r,o),o[0]&512&&e.transition_in(l,1)):(l=ve(r),l.c(),e.transition_in(l,1),l.m(t,null)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros())},i(r){a||(e.transition_in(l),a=!0)},o(r){e.transition_out(l),a=!1},d(r){r&&e.detach(t),l&&l.d(),n[53](null)}}}function st(n,t,a){let l;e.component_subscribe(n,e.$format,i=>a(19,l=i));let{$$slots:r={},$$scope:o}=t,{menuitemsurl:s=""}=t,{session:c=""}=t,{userid:u=""}=t,{cmsendpoint:g}=t,{endpoint:_}=t,{cmsenv:d="stage"}=t,{userroles:f}=t,{lang:m="en"}=t,{activecategory:h=""}=t,{languageslist:S=""}=t,{translationurl:y=""}=t,{mbsource:w}=t,{clientstyling:k=""}=t,{clientstylingurl:W=""}=t,{customlocaleidentifier:T=""}=t,{countryflaghamburger:z=""}=t,{customlogourl:G}=t,{langtransformmap:P=""}=t,{disablelangtransform:B="false"}=t,j,I=window.navigator.userAgent,q=[],Y,X="",A=[],R=!1,Z=!1,E=!0,C=[],F=!1,v=!1,M=!1,p=!1,H=!0,L,O=null,N=!1,K=null,Q=null,ee="",U="",D,Fe;const Te=()=>{fetch(y).then(i=>i.json()).then(i=>{Object.keys(i).forEach(b=>{pe(b,i[b])})}).catch(i=>{console.log(i)})};Object.keys(fe).forEach(i=>{pe(i,fe[i])});const te=()=>{L=new URL(`${g}/${U.toLowerCase()}/hamburger-menu`);let i=e.getDevice(I);i&&(i==="PC"?L.searchParams.append("device","dk"):L.searchParams.append("device","mtWeb")),L.searchParams.append("env",d),L.searchParams.append("language",U.toLowerCase()),L.searchParams.append("userRoles",f)},ae=()=>{a(13,p=!0),a(14,H=!0),a(11,v=!1),a(12,M=!1),setTimeout(()=>{a(9,Z=!1),a(8,R=!1)},200),window.postMessage({type:"CloseHamburgerMenu",showhamburger:!0},window.location.href)},Ae=i=>{a(17,ee=i.Username),a(16,K=i.UserID),a(15,N=!0)},le=()=>{a(15,N=!1),Q=null,a(16,K=null),a(17,ee="")},ie=i=>me(this,null,function*(){if(!i){le();return}try{const b=yield e.checkSession(_,i);Ae({Username:b.Username,UserID:b.UserID})}catch(b){console.error("Error while checking the session:",b),le()}}),oe=i=>{if(!(!i||!i.data||typeof i.data!="object"||!("type"in i.data)))switch(i.data.type){case"OpenHamburgerMenuModal":{window.postMessage({type:"DisableScroll"},window.location.href),a(13,p=!1),setTimeout(()=>{a(14,H=!1)},125),a(9,Z=!0),a(8,R=!0),te(),ue(L);break}case"LanguageChanged":{F=!0,te(),ue(L);break}case"UserSessionID":a(16,K=i.data.userid),Q=i.data.session,a(15,N=!0),ie(Q);break;case"LogoutSuccessfull":a(15,N=!1);break}},J=(i,b)=>{a(6,X=i||""),a(7,A=b||[]),typeof gtag=="function"&>ag("event","ChangeMenu",{context:"HamburgerMenu",menuItem:`${X}`})},se=i=>{var $,V;const b=(($=i==null?void 0:i.children)==null?void 0:$.length)>0,x=(i==null?void 0:i.path)&&((V=i==null?void 0:i.keyword)==null?void 0:V.includes("InternalLink"));!b&&x&&ne(i),J(i.id,i.children)},ce=()=>{const i=q.filter(x=>x.children&&x.children.length>0);if(i.length>0){const x=i.find($=>{var V;return(V=$.children)==null?void 0:V.some(Ye=>Ye.path.includes(h))});x?J(x.id,x.children):J(i[0].id,i[0].children);return}const b=q.find(x=>x.path.includes(h));J(b?b.id:null,null)},ue=i=>{Y&&!F||ge(i)},ge=i=>{fetch(i).then(b=>b.json()).then(b=>{a(5,q=b.filter(x=>(x==null?void 0:x.type)!=="banner")),ce(),a(44,E=!1),Y=b,F=!1},b=>{console.error(b)})};let ne=i=>{window.postMessage({type:"NavigateTo",path:i.path,externalLink:i.externalLink||!1,target:i.attrs.target||null},window.location.href),ae()};const re=()=>{F=!0,window.postMessage({type:"LanguageChanged",selectedLanguage:U},window.location.href)},Pe=()=>{Je(m),te(),F&&ge(L),a(10,C=S.replace(/ /g,"").split(",")),a(10,C=C.map(i=>i.toUpperCase())),a(18,U=m.toUpperCase())},de=i=>{a(18,U=i),setTimeout(()=>{a(12,M=!1)},250),setTimeout(()=>{a(11,v=!1)},500),re()},Ne=()=>{v?(setTimeout(()=>{a(11,v=!1)},250),a(12,M=!1)):(a(11,v=!0),setTimeout(()=>{a(12,M=!0)},300))},Ue=i=>{let b=i?i.slice(-2):U.slice(-2);return T&&(b=T.includes(b.toLowerCase())?T.slice(-2):b),B!=="true"&&b.toUpperCase()==="EN"&&(b="GB"),O&&(b=O[b]||b),b.toUpperCase()},De=()=>{a(15,N=!0),Q=c},ze=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(I)},window.location.href),ae(),typeof gtag=="function"&>ag("event","GoToMyAccount",{context:"HamburgerMenu"})};e.onMount(()=>(window.addEventListener("message",oe,!1),e.isMobile(I),()=>{window.removeEventListener("message",oe)}));const Be=()=>{try{const i=JSON.parse(P);i&&typeof i=="object"&&!Array.isArray(i)&&Object.keys(i).length?O=i:O=null}catch(i){O=null}},je=i=>se(i),qe=(i,b)=>{ne(i),b.preventDefault()};function Ee(){U=e.select_value(this),a(18,U),a(10,C)}const Xe=()=>re(),Re=i=>de(i);function Ze(i){e.binding_callbacks[i?"unshift":"push"](()=>{j=i,a(4,j)})}function Ge(i){e.binding_callbacks[i?"unshift":"push"](()=>{D=i,a(3,D)})}return n.$$set=i=>{"menuitemsurl"in i&&a(28,s=i.menuitemsurl),"session"in i&&a(29,c=i.session),"userid"in i&&a(30,u=i.userid),"cmsendpoint"in i&&a(31,g=i.cmsendpoint),"endpoint"in i&&a(32,_=i.endpoint),"cmsenv"in i&&a(33,d=i.cmsenv),"userroles"in i&&a(34,f=i.userroles),"lang"in i&&a(2,m=i.lang),"activecategory"in i&&a(35,h=i.activecategory),"languageslist"in i&&a(36,S=i.languageslist),"translationurl"in i&&a(37,y=i.translationurl),"mbsource"in i&&a(38,w=i.mbsource),"clientstyling"in i&&a(39,k=i.clientstyling),"clientstylingurl"in i&&a(40,W=i.clientstylingurl),"customlocaleidentifier"in i&&a(41,T=i.customlocaleidentifier),"countryflaghamburger"in i&&a(0,z=i.countryflaghamburger),"customlogourl"in i&&a(1,G=i.customlogourl),"langtransformmap"in i&&a(42,P=i.langtransformmap),"disablelangtransform"in i&&a(43,B=i.disablelangtransform),"$$scope"in i&&a(45,o=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&4|n.$$.dirty[1]&37&&g&&d&&m&&S&&Pe(),n.$$.dirty[1]&8208&&h&&!E&&ce(),n.$$.dirty[1]&64&&y&&Te(),n.$$.dirty[0]&536870912&&c&&(De(),ie(c)),n.$$.dirty[0]&8|n.$$.dirty[1]&256&&k&&D&&e.setClientStyling(D,k),n.$$.dirty[0]&8|n.$$.dirty[1]&512&&W&&D&&e.setClientStylingURL(D,W),n.$$.dirty[0]&8|n.$$.dirty[1]&128&&w&&D&&e.setStreamStyling(D,`${w}.Style`,Fe),n.$$.dirty[1]&2048&&P&&Be()},[z,G,m,D,j,q,X,A,R,Z,C,v,M,p,H,N,K,ee,U,l,ae,se,ne,re,de,Ne,Ue,ze,s,c,u,g,_,d,f,h,S,y,w,k,W,T,P,B,E,o,r,je,qe,Ee,Xe,Re,Ze,Ge]}class xe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,st,ot,e.safe_not_equal,{menuitemsurl:28,session:29,userid:30,cmsendpoint:31,endpoint:32,cmsenv:33,userroles:34,lang:2,activecategory:35,languageslist:36,translationurl:37,mbsource:38,clientstyling:39,clientstylingurl:40,customlocaleidentifier:41,countryflaghamburger:0,customlogourl:1,langtransformmap:42,disablelangtransform:43},Ve,[-1,-1,-1])}get menuitemsurl(){return this.$$.ctx[28]}set menuitemsurl(t){this.$$set({menuitemsurl:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[31]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get endpoint(){return this.$$.ctx[32]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[33]}set cmsenv(t){this.$$set({cmsenv:t}),e.flush()}get userroles(){return this.$$.ctx[34]}set userroles(t){this.$$set({userroles:t}),e.flush()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),e.flush()}get activecategory(){return this.$$.ctx[35]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get languageslist(){return this.$$.ctx[36]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[38]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[39]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[41]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[0]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get customlogourl(){return this.$$.ctx[1]}set customlogourl(t){this.$$set({customlogourl:t}),e.flush()}get langtransformmap(){return this.$$.ctx[42]}set langtransformmap(t){this.$$set({langtransformmap:t}),e.flush()}get disablelangtransform(){return this.$$.ctx[43]}set disablelangtransform(t){this.$$set({disablelangtransform:t}),e.flush()}}e.create_custom_element(xe,{menuitemsurl:{},session:{},userid:{},cmsendpoint:{},endpoint:{},cmsenv:{},userroles:{},lang:{},activecategory:{},languageslist:{},translationurl:{},mbsource:{},clientstyling:{},clientstylingurl:{},customlocaleidentifier:{},countryflaghamburger:{},customlogourl:{},langtransformmap:{},disablelangtransform:{}},["logo"],[],!0);exports.default=xe;
|