@everymatrix/casino-header-controller 1.64.8 → 1.65.1

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.
Files changed (47) hide show
  1. package/components/CasinoHeaderController-Bqi_UEZi.js +3223 -0
  2. package/components/CasinoHeaderController-CvgFMlA6.js +3246 -0
  3. package/components/CasinoHeaderController-DNNqI5-z.cjs +13 -0
  4. package/es2015/casino-header-controller.cjs +1 -1
  5. package/es2015/casino-header-controller.js +1 -1
  6. package/esnext/casino-header-controller.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  9. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  10. package/stencil/gamification-dropdown-8eb8a896-B80HjrXs.js +126 -0
  11. package/stencil/gamification-dropdown-8eb8a896-Dpy7kYRl.js +144 -0
  12. package/stencil/gamification-dropdown-8eb8a896-wUq7QkNM.cjs +1 -0
  13. package/stencil/gamification-dropdown-BKLERBkj.js +25 -0
  14. package/stencil/gamification-dropdown-Ctny0vqq.js +7 -0
  15. package/stencil/gamification-dropdown-DoTceze_.cjs +1 -0
  16. package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +192 -0
  17. package/stencil/gamification-dropdown_4-CcWOoutw.js +469 -0
  18. package/stencil/gamification-dropdown_4-CmDM3hBS.js +451 -0
  19. package/stencil/{index-1ef3a64c-B6t9gkO1.js → index-1ef3a64c-AMSfdX4B.js} +1 -1
  20. package/stencil/{index-1ef3a64c-BdrVNGQe.cjs → index-1ef3a64c-BlUWL6ud.cjs} +1 -1
  21. package/stencil/{index-1ef3a64c-BfGbBN_r.js → index-1ef3a64c-CTdxbgr0.js} +1 -1
  22. package/stencil/index-71b1bdfa-BWeAgaw2.js +753 -0
  23. package/stencil/index-71b1bdfa-BeszNvNP.cjs +1 -0
  24. package/stencil/index-71b1bdfa-DBUT8z-D.js +780 -0
  25. package/stencil/locale-DHn5ZpQu.cjs +1 -0
  26. package/stencil/locale-DuSXBQwH.js +215 -0
  27. package/stencil/player-elevate-card-B70rn287.js +106 -0
  28. package/stencil/player-elevate-card-DqZR4w--.js +106 -0
  29. package/stencil/player-elevate-card-W6LcGGe8.cjs +64 -0
  30. package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +1290 -0
  31. package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +1 -0
  32. package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +1290 -0
  33. package/stencil/player-elevate-pointcard-CBapQeNI.js +44 -0
  34. package/stencil/player-elevate-pointcard-DREgIjCm.js +44 -0
  35. package/stencil/player-elevate-pointcard-DwDhlXwq.cjs +1 -0
  36. package/stencil/player-rakeback-card-B0P7gHIA.cjs +1 -0
  37. package/stencil/player-rakeback-card-tP823Fs8.js +111 -0
  38. package/stencil/player-rakeback-card-z_ugBu0q.js +137 -0
  39. package/stencil/user-deposit-withdrawal-BRpNiBnR.cjs +68 -0
  40. package/stencil/{user-deposit-withdrawal-4aK-1zzW.js → user-deposit-withdrawal-Dy3WkB23.js} +2 -2
  41. package/stencil/{user-deposit-withdrawal-BhsnZiSd.js → user-deposit-withdrawal-c_bH3eje.js} +2 -2
  42. package/components/CasinoHeaderController-BIefUWQL.js +0 -3114
  43. package/components/CasinoHeaderController-DSyglpDF.cjs +0 -13
  44. package/components/CasinoHeaderController-KfLekr0Q.js +0 -3137
  45. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  46. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  47. package/stencil/user-deposit-withdrawal-HQmDGKFu.cjs +0 -68
@@ -0,0 +1,3246 @@
1
+ var Je = (t, e, i) => new Promise((l, n) => {
2
+ var s = (d) => {
3
+ try {
4
+ h(i.next(d));
5
+ } catch (m) {
6
+ n(m);
7
+ }
8
+ }, a = (d) => {
9
+ try {
10
+ h(i.throw(d));
11
+ } catch (m) {
12
+ n(m);
13
+ }
14
+ }, h = (d) => d.done ? l(d.value) : Promise.resolve(d.value).then(s, a);
15
+ h((i = i.apply(t, e)).next());
16
+ });
17
+ import { $ as Se, a as si, b as ai, S as oi, i as ci, f as E, s as ui, c as di, d as fi, n as ae, e as I, g as r, h as H, j as S, k as p, l as gi, o as hi, m as Qe, p as _e, q as Ve, r as Ee, t as se, u as ee, v as f, w as O, x as V, y as x, z as u, A as ie, B as ue, C as mi, D as bt, E as J, F as we, G as vt, H as be, I as pi, J as _i, K as wi, L as bi } from "./CasinoHamburgerMenu-BMkeLxFw.js";
18
+ import "../stencil/user-deposit-withdrawal-Dy3WkB23.js";
19
+ import "../stencil/gamification-dropdown-BKLERBkj.js";
20
+ const vi = (t, e = {}) => {
21
+ const i = new CustomEvent("track-custom-event", {
22
+ detail: {
23
+ type: t,
24
+ data: e
25
+ },
26
+ bubbles: !0,
27
+ composed: !0
28
+ });
29
+ document.dispatchEvent(i);
30
+ };
31
+ function yi({ withLocale: t, translations: e }) {
32
+ Se.subscribe((i) => {
33
+ i == null && (si.set(e), Se.set(t));
34
+ });
35
+ }
36
+ function Xe(t, e) {
37
+ ai(t, e);
38
+ }
39
+ function ki(t) {
40
+ Se.set(t);
41
+ }
42
+ const qe = {
43
+ en: {
44
+ login: "Login",
45
+ register: "Register",
46
+ deposit: "Deposit",
47
+ promotions: "Promotions"
48
+ },
49
+ "zh-hk": {
50
+ login: "登錄",
51
+ register: "登記",
52
+ deposit: "訂金",
53
+ promotions: "促销活动"
54
+ },
55
+ fr: {
56
+ login: "Connexion",
57
+ register: "Enregistrer",
58
+ deposit: "Dépôt",
59
+ promotions: "Promotions"
60
+ },
61
+ tr: {
62
+ login: "Giriş",
63
+ register: "Kayıt",
64
+ deposit: "Yatır",
65
+ promotions: "Promosyonlar"
66
+ },
67
+ ro: {
68
+ login: "Autentificare",
69
+ register: "Inregistrare",
70
+ deposit: "Depozit",
71
+ promotions: "Promotii"
72
+ },
73
+ es: {
74
+ login: "Iniciar sesión",
75
+ register: "Regístrate",
76
+ deposit: "Deposita",
77
+ promotions: "Promociones"
78
+ },
79
+ pt: {
80
+ login: "Entrar",
81
+ register: "Registro",
82
+ deposit: "Depósito",
83
+ promotions: "Promoções"
84
+ },
85
+ hr: {
86
+ login: "Prijava",
87
+ register: "Registracija",
88
+ deposit: "Uplata",
89
+ promotions: "Promocije"
90
+ },
91
+ "pt-br": {
92
+ login: "Entrar",
93
+ register: "Registro",
94
+ deposit: "Depósito",
95
+ promotions: "Promoções"
96
+ },
97
+ "es-mx": {
98
+ login: "Ingresar",
99
+ register: "Registro",
100
+ deposit: "Depósito",
101
+ promotions: "Promociones"
102
+ },
103
+ "en-us": {
104
+ login: "Login",
105
+ register: "Register",
106
+ deposit: "Deposit",
107
+ promotions: "Promotions"
108
+ }
109
+ };
110
+ if (typeof window != "undefined") {
111
+ let t = function(e) {
112
+ return function(...i) {
113
+ try {
114
+ return e.apply(this, i);
115
+ } catch (l) {
116
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
117
+ return !1;
118
+ throw l;
119
+ }
120
+ };
121
+ };
122
+ customElements.define = t(customElements.define), import("./CasinoSlider-CTcAOyCp.js").then(({ default: e }) => {
123
+ !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
124
+ });
125
+ }
126
+ if (typeof window != "undefined") {
127
+ let t = function(e) {
128
+ return function(...i) {
129
+ try {
130
+ return e.apply(this, i);
131
+ } catch (l) {
132
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
133
+ return !1;
134
+ throw l;
135
+ }
136
+ };
137
+ };
138
+ customElements.define = t(customElements.define), import("./CasinoHamburgerMenu-BMkeLxFw.js").then((e) => e.Q).then(({ default: e }) => {
139
+ !customElements.get("casino-hamburger-menu") && customElements.define("casino-hamburger-menu", e.element);
140
+ });
141
+ }
142
+ if (typeof window != "undefined") {
143
+ let t = function(e) {
144
+ return function(...i) {
145
+ try {
146
+ return e.apply(this, i);
147
+ } catch (l) {
148
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
149
+ return !1;
150
+ throw l;
151
+ }
152
+ };
153
+ };
154
+ customElements.define = t(customElements.define), import("./PlayerAccountBalanceModal-CNXuqjqU.js").then(({ default: e }) => {
155
+ !customElements.get("player-account-balance-modal") && customElements.define("player-account-balance-modal", e.element);
156
+ });
157
+ }
158
+ if (typeof window != "undefined") {
159
+ let t = function(e) {
160
+ return function(...i) {
161
+ try {
162
+ return e.apply(this, i);
163
+ } catch (l) {
164
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
165
+ return !1;
166
+ throw l;
167
+ }
168
+ };
169
+ };
170
+ customElements.define = t(customElements.define), import("./PlayerDeposit-eY_YGhMJ.js").then(({ default: e }) => {
171
+ !customElements.get("player-deposit") && customElements.define("player-deposit", e.element);
172
+ });
173
+ }
174
+ const ye = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";
175
+ function Fi(t) {
176
+ fi(t, "svelte-ho1ide", `*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}input,textarea,button{font-family:inherit}.HeaderSlider{width:100%;height:400px}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.GamificationWrapper{margin-right:16px}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));border-top:1px solid var(--emw--color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item:hover .HeaderSecondaryNav{display:block}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.Item a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border-top:1px solid transparent}.Item a:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-top:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));padding-top:5px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emw--header-typography, var(--emw--color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:0}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemBalance{font-size:12px}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}`);
177
+ }
178
+ function Ke(t, e, i) {
179
+ const l = t.slice();
180
+ return l[113] = e[i], l;
181
+ }
182
+ function xe(t, e, i) {
183
+ const l = t.slice();
184
+ return l[116] = e[i], l;
185
+ }
186
+ function $e(t, e, i) {
187
+ const l = t.slice();
188
+ return l[116] = e[i], l;
189
+ }
190
+ function et(t, e, i) {
191
+ const l = t.slice();
192
+ return l[113] = e[i], l;
193
+ }
194
+ function tt(t, e, i) {
195
+ const l = t.slice();
196
+ return l[116] = e[i], l;
197
+ }
198
+ function it(t, e, i) {
199
+ const l = t.slice();
200
+ return l[116] = e[i], l;
201
+ }
202
+ function Mi(t) {
203
+ let e, i, l, n, s, a, h, d, m, o = (
204
+ /*$_*/
205
+ t[49]("login") + ""
206
+ ), g, _, w, A = (
207
+ /*$_*/
208
+ t[49]("register") + ""
209
+ ), U, D, W, k, C, L, Y;
210
+ function G(b, B) {
211
+ return (
212
+ /*logoFromCms*/
213
+ b[41] ? Ci : Ai
214
+ );
215
+ }
216
+ let P = G(t), R = P(t), v = !/*isLoading*/
217
+ t[35] && lt(t), F = (
218
+ /*languagesArray*/
219
+ t[45].length > 1 && nt(t)
220
+ ), T = ie(
221
+ /*secondaryMenuArray*/
222
+ t[38]
223
+ ), M = [];
224
+ for (let b = 0; b < T.length; b += 1)
225
+ M[b] = ot(Ke(t, T, b));
226
+ return {
227
+ c() {
228
+ e = p("header"), i = p("div"), l = p("div"), R.c(), n = S(), s = p("nav"), v && v.c(), a = S(), h = p("div"), d = p("div"), m = p("div"), g = x(o), _ = S(), w = p("div"), U = x(A), D = S(), F && F.c(), W = S(), k = p("nav"), C = p("ul");
229
+ for (let b = 0; b < M.length; b += 1)
230
+ M[b].c();
231
+ u(l, "class", "HeaderBranding"), u(s, "class", "HeaderMainNav"), u(m, "class", "Item ItemLogin"), u(m, "tabindex", "0"), u(w, "class", "Item ItemRegister"), u(w, "tabindex", "0"), u(d, "class", "HeaderItemsMenu"), u(h, "class", "HeaderTopActions"), u(i, "class", "HeaderContainer"), u(C, "class", "HeaderItemsMenuSecondary"), u(k, "class", "HeaderSecondaryNav"), u(e, "class", "HeaderWrapper");
232
+ },
233
+ m(b, B) {
234
+ H(b, e, B), f(e, i), f(i, l), R.m(l, null), f(i, n), f(i, s), v && v.m(s, null), f(i, a), f(i, h), f(h, d), f(d, m), f(m, g), f(d, _), f(d, w), f(w, U), f(d, D), F && F.m(d, null), f(e, W), f(e, k), f(k, C);
235
+ for (let N = 0; N < M.length; N += 1)
236
+ M[N] && M[N].m(C, null);
237
+ t[92](e), L || (Y = [
238
+ O(
239
+ l,
240
+ "click",
241
+ /*click_handler_18*/
242
+ t[84]
243
+ ),
244
+ O(
245
+ m,
246
+ "click",
247
+ /*click_handler_19*/
248
+ t[85]
249
+ ),
250
+ O(
251
+ w,
252
+ "click",
253
+ /*click_handler_20*/
254
+ t[86]
255
+ )
256
+ ], L = !0);
257
+ },
258
+ p(b, B) {
259
+ if (P === (P = G(b)) && R ? R.p(b, B) : (R.d(1), R = P(b), R && (R.c(), R.m(l, null))), /*isLoading*/
260
+ b[35] ? v && (v.d(1), v = null) : v ? v.p(b, B) : (v = lt(b), v.c(), v.m(s, null)), B[1] & /*$_*/
261
+ 262144 && o !== (o = /*$_*/
262
+ b[49]("login") + "") && ee(g, o), B[1] & /*$_*/
263
+ 262144 && A !== (A = /*$_*/
264
+ b[49]("register") + "") && ee(U, A), /*languagesArray*/
265
+ b[45].length > 1 ? F ? F.p(b, B) : (F = nt(b), F.c(), F.m(d, null)) : F && (F.d(1), F = null), B[1] & /*secondaryActiveIndex, secondaryMenuArray, navigationTrigger*/
266
+ 8388800) {
267
+ T = ie(
268
+ /*secondaryMenuArray*/
269
+ b[38]
270
+ );
271
+ let N;
272
+ for (N = 0; N < T.length; N += 1) {
273
+ const $ = Ke(b, T, N);
274
+ M[N] ? M[N].p($, B) : (M[N] = ot($), M[N].c(), M[N].m(C, null));
275
+ }
276
+ for (; N < M.length; N += 1)
277
+ M[N].d(1);
278
+ M.length = T.length;
279
+ }
280
+ },
281
+ d(b) {
282
+ b && I(e), R.d(), v && v.d(), F && F.d(), ue(M, b), t[92](null), L = !1, se(Y);
283
+ }
284
+ };
285
+ }
286
+ function Ii(t) {
287
+ let e, i, l, n, s, a, h, d, m, o, g, _, w, A, U, D, W, k = (
288
+ /*$_*/
289
+ t[49]("login") + ""
290
+ ), C, L, Y, G = (
291
+ /*$_*/
292
+ t[49]("register") + ""
293
+ ), P, R, v;
294
+ function F(b, B) {
295
+ return (
296
+ /*logoFromCms*/
297
+ b[41] ? Ri : Ei
298
+ );
299
+ }
300
+ let T = F(t), M = T(t);
301
+ return {
302
+ c() {
303
+ e = p("header"), i = p("div"), l = p("div"), n = V("svg"), s = V("defs"), a = V("style"), h = x(`.a {
304
+ fill: var(--emw--color-white, #FFFFFF);
305
+ }
306
+ `), d = V("g"), m = V("rect"), o = V("rect"), g = V("rect"), _ = S(), w = p("div"), M.c(), A = S(), U = p("div"), D = p("div"), W = p("div"), C = x(k), L = S(), Y = p("div"), P = x(G), u(m, "class", "a"), u(m, "width", "18"), u(m, "height", "2"), u(m, "transform", "translate(14 13)"), u(o, "class", "a"), u(o, "width", "22"), u(o, "height", "2"), u(o, "transform", "translate(14 20)"), u(g, "class", "a"), u(g, "width", "22"), u(g, "height", "2"), u(g, "transform", "translate(14 27)"), u(d, "transform", "translate(-14 -13)"), u(n, "xmlns", "http://www.w3.org/2000/svg"), u(n, "width", "22"), u(n, "height", "16"), u(n, "viewBox", "0 0 22 16"), u(l, "class", "HeaderMobileMainNav"), u(w, "class", "HeaderBranding"), u(W, "class", "Item ItemLogin"), u(Y, "class", "Item ItemRegister"), u(D, "class", "HeaderItemsMenu"), u(U, "class", "HeaderTopActions"), u(i, "class", "HeaderContainer"), u(e, "class", "HeaderWrapper HeaderMobileWrapper");
307
+ },
308
+ m(b, B) {
309
+ H(b, e, B), f(e, i), f(i, l), f(l, n), f(n, s), f(s, a), f(a, h), f(n, d), f(d, m), f(d, o), f(d, g), f(i, _), f(i, w), M.m(w, null), f(i, A), f(i, U), f(U, D), f(D, W), f(W, C), f(D, L), f(D, Y), f(Y, P), t[83](e), R || (v = [
310
+ O(
311
+ n,
312
+ "click",
313
+ /*click_handler_14*/
314
+ t[79]
315
+ ),
316
+ O(
317
+ w,
318
+ "click",
319
+ /*click_handler_15*/
320
+ t[80]
321
+ ),
322
+ O(
323
+ W,
324
+ "click",
325
+ /*click_handler_16*/
326
+ t[81]
327
+ ),
328
+ O(
329
+ Y,
330
+ "click",
331
+ /*click_handler_17*/
332
+ t[82]
333
+ )
334
+ ], R = !0);
335
+ },
336
+ p(b, B) {
337
+ T === (T = F(b)) && M ? M.p(b, B) : (M.d(1), M = T(b), M && (M.c(), M.m(w, null))), B[1] & /*$_*/
338
+ 262144 && k !== (k = /*$_*/
339
+ b[49]("login") + "") && ee(C, k), B[1] & /*$_*/
340
+ 262144 && G !== (G = /*$_*/
341
+ b[49]("register") + "") && ee(P, G);
342
+ },
343
+ d(b) {
344
+ b && I(e), M.d(), t[83](null), R = !1, se(v);
345
+ }
346
+ };
347
+ }
348
+ function Hi(t) {
349
+ let e;
350
+ function i(s, a) {
351
+ return (
352
+ /*mobileView*/
353
+ s[43] ? Ni : Bi
354
+ );
355
+ }
356
+ let l = i(t), n = l(t);
357
+ return {
358
+ c() {
359
+ n.c(), e = Ee();
360
+ },
361
+ m(s, a) {
362
+ n.m(s, a), H(s, e, a);
363
+ },
364
+ p(s, a) {
365
+ l === (l = i(s)) && n ? n.p(s, a) : (n.d(1), n = l(s), n && (n.c(), n.m(e.parentNode, e)));
366
+ },
367
+ d(s) {
368
+ s && I(e), n.d(s);
369
+ }
370
+ };
371
+ }
372
+ function Ai(t) {
373
+ let e, i;
374
+ return {
375
+ c() {
376
+ e = p("img"), J(e.src, i = ye) || u(e, "src", i), u(e, "alt", "Logo");
377
+ },
378
+ m(l, n) {
379
+ H(l, e, n);
380
+ },
381
+ p: ae,
382
+ d(l) {
383
+ l && I(e);
384
+ }
385
+ };
386
+ }
387
+ function Ci(t) {
388
+ let e, i;
389
+ return {
390
+ c() {
391
+ e = p("img"), J(e.src, i = /*logoPath*/
392
+ t[47]) || u(e, "src", i), u(e, "alt", "Logo");
393
+ },
394
+ m(l, n) {
395
+ H(l, e, n);
396
+ },
397
+ p(l, n) {
398
+ n[1] & /*logoPath*/
399
+ 65536 && !J(e.src, i = /*logoPath*/
400
+ l[47]) && u(e, "src", i);
401
+ },
402
+ d(l) {
403
+ l && I(e);
404
+ }
405
+ };
406
+ }
407
+ function lt(t) {
408
+ let e, i, l;
409
+ return {
410
+ c() {
411
+ e = p("casino-slider"), r(e, "class", "HeaderItemsMenu"), r(e, "identity", ve), r(e, "isprimarymenu", "true"), r(
412
+ e,
413
+ "actionevent",
414
+ /*actionevent*/
415
+ t[24]
416
+ ), r(
417
+ e,
418
+ "mbsource",
419
+ /*mbsource*/
420
+ t[26]
421
+ ), r(
422
+ e,
423
+ "activeindex",
424
+ /*primaryActiveIndex*/
425
+ t[36]
426
+ ), r(e, "location", "headerMain"), r(
427
+ e,
428
+ "endpoint",
429
+ /*endpoint*/
430
+ t[2]
431
+ ), r(
432
+ e,
433
+ "lang",
434
+ /*lang*/
435
+ t[3]
436
+ ), r(
437
+ e,
438
+ "clientstyling",
439
+ /*clientstyling*/
440
+ t[27]
441
+ ), r(
442
+ e,
443
+ "clientstylingurl",
444
+ /*clientstylingurl*/
445
+ t[28]
446
+ );
447
+ },
448
+ m(n, s) {
449
+ H(n, e, s), i || (l = bt(
450
+ /*sendSliderData*/
451
+ t[53].call(null, e)
452
+ ), i = !0);
453
+ },
454
+ p(n, s) {
455
+ s[0] & /*actionevent*/
456
+ 16777216 && r(
457
+ e,
458
+ "actionevent",
459
+ /*actionevent*/
460
+ n[24]
461
+ ), s[0] & /*mbsource*/
462
+ 67108864 && r(
463
+ e,
464
+ "mbsource",
465
+ /*mbsource*/
466
+ n[26]
467
+ ), s[1] & /*primaryActiveIndex*/
468
+ 32 && r(
469
+ e,
470
+ "activeindex",
471
+ /*primaryActiveIndex*/
472
+ n[36]
473
+ ), s[0] & /*endpoint*/
474
+ 4 && r(
475
+ e,
476
+ "endpoint",
477
+ /*endpoint*/
478
+ n[2]
479
+ ), s[0] & /*lang*/
480
+ 8 && r(
481
+ e,
482
+ "lang",
483
+ /*lang*/
484
+ n[3]
485
+ ), s[0] & /*clientstyling*/
486
+ 134217728 && r(
487
+ e,
488
+ "clientstyling",
489
+ /*clientstyling*/
490
+ n[27]
491
+ ), s[0] & /*clientstylingurl*/
492
+ 268435456 && r(
493
+ e,
494
+ "clientstylingurl",
495
+ /*clientstylingurl*/
496
+ n[28]
497
+ );
498
+ },
499
+ d(n) {
500
+ n && I(e), i = !1, l();
501
+ }
502
+ };
503
+ }
504
+ function nt(t) {
505
+ let e;
506
+ function i(s, a) {
507
+ return (
508
+ /*countryflagheader*/
509
+ s[9] !== "true" ? Si : Li
510
+ );
511
+ }
512
+ let l = i(t), n = l(t);
513
+ return {
514
+ c() {
515
+ n.c(), e = Ee();
516
+ },
517
+ m(s, a) {
518
+ n.m(s, a), H(s, e, a);
519
+ },
520
+ p(s, a) {
521
+ l === (l = i(s)) && n ? n.p(s, a) : (n.d(1), n = l(s), n && (n.c(), n.m(e.parentNode, e)));
522
+ },
523
+ d(s) {
524
+ s && I(e), n.d(s);
525
+ }
526
+ };
527
+ }
528
+ function Li(t) {
529
+ let e, i, l, n, s, a, h, d = (
530
+ /*selectedLanguage*/
531
+ t[39].slice(-2) + ""
532
+ ), m, o, g, _, w, A, U, D, W, k = (
533
+ /*isOptionsListVisible*/
534
+ t[42] && rt(t)
535
+ );
536
+ return {
537
+ c() {
538
+ e = p("div"), i = p("div"), l = p("span"), n = p("img"), a = S(), h = p("span"), m = x(d), o = S(), g = p("span"), _ = V("svg"), w = V("path"), U = S(), k && k.c(), J(n.src, s = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
539
+ t[57](
540
+ /*selectedLanguage*/
541
+ t[39].slice(-2)
542
+ )}.svg`) || u(n, "src", s), u(l, "class", "FlagIcon"), u(h, "class", "LanguageName"), u(w, "id", "arrow"), u(w, "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"), u(w, "transform", "translate(-274.511 -441.088)"), u(w, "fill", "#d1d1d1"), u(_, "xmlns", "http://www.w3.org/2000/svg"), u(_, "width", "14"), u(_, "height", "6.835"), u(_, "viewBox", "0 0 14 6.835"), u(g, "class", A = "TriangleInactive " + /*isOptionsListVisible*/
543
+ (t[42] ? "TriangleActive" : "")), u(i, "class", "SelectedOption Item ItemLanguage"), u(e, "class", "LanguageDropdown");
544
+ },
545
+ m(C, L) {
546
+ H(C, e, L), f(e, i), f(i, l), f(l, n), f(i, a), f(i, h), f(h, m), f(i, o), f(i, g), f(g, _), f(_, w), f(e, U), k && k.m(e, null), D || (W = O(
547
+ i,
548
+ "click",
549
+ /*click_handler_21*/
550
+ t[89]
551
+ ), D = !0);
552
+ },
553
+ p(C, L) {
554
+ L[1] & /*selectedLanguage, languagesArray*/
555
+ 16640 && !J(n.src, s = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
556
+ C[57](
557
+ /*selectedLanguage*/
558
+ C[39].slice(-2)
559
+ )}.svg`) && u(n, "src", s), L[1] & /*selectedLanguage*/
560
+ 256 && d !== (d = /*selectedLanguage*/
561
+ C[39].slice(-2) + "") && ee(m, d), L[1] & /*isOptionsListVisible*/
562
+ 2048 && A !== (A = "TriangleInactive " + /*isOptionsListVisible*/
563
+ (C[42] ? "TriangleActive" : "")) && u(g, "class", A), /*isOptionsListVisible*/
564
+ C[42] ? k ? k.p(C, L) : (k = rt(C), k.c(), k.m(e, null)) : k && (k.d(1), k = null);
565
+ },
566
+ d(C) {
567
+ C && I(e), k && k.d(), D = !1, W();
568
+ }
569
+ };
570
+ }
571
+ function Si(t) {
572
+ let e, i, l, n = ie(
573
+ /*languagesArray*/
574
+ t[45]
575
+ ), s = [];
576
+ for (let a = 0; a < n.length; a += 1)
577
+ s[a] = at($e(t, n, a));
578
+ return {
579
+ c() {
580
+ e = p("select");
581
+ for (let a = 0; a < s.length; a += 1)
582
+ s[a].c();
583
+ u(e, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
584
+ t[39] === void 0 && vt(() => (
585
+ /*select_change_handler_1*/
586
+ t[87].call(e)
587
+ ));
588
+ },
589
+ m(a, h) {
590
+ H(a, e, h);
591
+ for (let d = 0; d < s.length; d += 1)
592
+ s[d] && s[d].m(e, null);
593
+ we(
594
+ e,
595
+ /*selectedLanguage*/
596
+ t[39],
597
+ !0
598
+ ), i || (l = [
599
+ O(
600
+ e,
601
+ "change",
602
+ /*select_change_handler_1*/
603
+ t[87]
604
+ ),
605
+ O(
606
+ e,
607
+ "change",
608
+ /*change_handler_1*/
609
+ t[88]
610
+ )
611
+ ], i = !0);
612
+ },
613
+ p(a, h) {
614
+ if (h[1] & /*languagesArray*/
615
+ 16384) {
616
+ n = ie(
617
+ /*languagesArray*/
618
+ a[45]
619
+ );
620
+ let d;
621
+ for (d = 0; d < n.length; d += 1) {
622
+ const m = $e(a, n, d);
623
+ s[d] ? s[d].p(m, h) : (s[d] = at(m), s[d].c(), s[d].m(e, null));
624
+ }
625
+ for (; d < s.length; d += 1)
626
+ s[d].d(1);
627
+ s.length = n.length;
628
+ }
629
+ h[1] & /*selectedLanguage, languagesArray*/
630
+ 16640 && we(
631
+ e,
632
+ /*selectedLanguage*/
633
+ a[39]
634
+ );
635
+ },
636
+ d(a) {
637
+ a && I(e), ue(s, a), i = !1, se(l);
638
+ }
639
+ };
640
+ }
641
+ function rt(t) {
642
+ let e, i = ie(
643
+ /*languagesArray*/
644
+ t[45]
645
+ ), l = [];
646
+ for (let n = 0; n < i.length; n += 1)
647
+ l[n] = st(xe(t, i, n));
648
+ return {
649
+ c() {
650
+ e = p("div");
651
+ for (let n = 0; n < l.length; n += 1)
652
+ l[n].c();
653
+ u(e, "class", "OptionList");
654
+ },
655
+ m(n, s) {
656
+ H(n, e, s);
657
+ for (let a = 0; a < l.length; a += 1)
658
+ l[a] && l[a].m(e, null);
659
+ },
660
+ p(n, s) {
661
+ if (s[1] & /*selectLanguage, languagesArray, determineFlag*/
662
+ 83902464) {
663
+ i = ie(
664
+ /*languagesArray*/
665
+ n[45]
666
+ );
667
+ let a;
668
+ for (a = 0; a < i.length; a += 1) {
669
+ const h = xe(n, i, a);
670
+ l[a] ? l[a].p(h, s) : (l[a] = st(h), l[a].c(), l[a].m(e, null));
671
+ }
672
+ for (; a < l.length; a += 1)
673
+ l[a].d(1);
674
+ l.length = i.length;
675
+ }
676
+ },
677
+ d(n) {
678
+ n && I(e), ue(l, n);
679
+ }
680
+ };
681
+ }
682
+ function st(t) {
683
+ let e, i, l, n, s, a, h = (
684
+ /*operatorLanguage*/
685
+ t[116].slice(-2) + ""
686
+ ), d, m, o, g;
687
+ function _() {
688
+ return (
689
+ /*click_handler_22*/
690
+ t[90](
691
+ /*operatorLanguage*/
692
+ t[116]
693
+ )
694
+ );
695
+ }
696
+ return {
697
+ c() {
698
+ e = p("div"), i = p("span"), l = p("img"), s = S(), a = p("span"), d = x(h), m = S(), J(l.src, n = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
699
+ t[57](
700
+ /*operatorLanguage*/
701
+ t[116].slice(-2)
702
+ )}.svg`) || u(l, "src", n), u(i, "class", "FlagIcon"), u(a, "class", "LanguageName"), u(e, "class", "LanguageOption");
703
+ },
704
+ m(w, A) {
705
+ H(w, e, A), f(e, i), f(i, l), f(e, s), f(e, a), f(a, d), f(e, m), o || (g = O(e, "click", _), o = !0);
706
+ },
707
+ p(w, A) {
708
+ t = w, A[1] & /*languagesArray*/
709
+ 16384 && !J(l.src, n = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
710
+ t[57](
711
+ /*operatorLanguage*/
712
+ t[116].slice(-2)
713
+ )}.svg`) && u(l, "src", n), A[1] & /*languagesArray*/
714
+ 16384 && h !== (h = /*operatorLanguage*/
715
+ t[116].slice(-2) + "") && ee(d, h);
716
+ },
717
+ d(w) {
718
+ w && I(e), o = !1, g();
719
+ }
720
+ };
721
+ }
722
+ function at(t) {
723
+ let e, i = (
724
+ /*operatorLanguage*/
725
+ t[116].slice(-2) + ""
726
+ ), l, n;
727
+ return {
728
+ c() {
729
+ e = p("option"), l = x(i), e.__value = n = /*operatorLanguage*/
730
+ t[116], be(e, e.__value);
731
+ },
732
+ m(s, a) {
733
+ H(s, e, a), f(e, l);
734
+ },
735
+ p(s, a) {
736
+ a[1] & /*languagesArray*/
737
+ 16384 && i !== (i = /*operatorLanguage*/
738
+ s[116].slice(-2) + "") && ee(l, i), a[1] & /*languagesArray*/
739
+ 16384 && n !== (n = /*operatorLanguage*/
740
+ s[116]) && (e.__value = n, be(e, e.__value));
741
+ },
742
+ d(s) {
743
+ s && I(e);
744
+ }
745
+ };
746
+ }
747
+ function ot(t) {
748
+ let e, i, l = (
749
+ /*secondaryItem*/
750
+ t[113].label + ""
751
+ ), n, s, a, h, d;
752
+ function m() {
753
+ return (
754
+ /*click_handler_23*/
755
+ t[91](
756
+ /*secondaryItem*/
757
+ t[113]
758
+ )
759
+ );
760
+ }
761
+ return {
762
+ c() {
763
+ var o, g;
764
+ e = p("li"), i = p("button"), n = x(l), s = S(), u(e, "class", a = "ItemSecondary " + /*secondaryActiveIndex*/
765
+ (((o = t[37]) == null ? void 0 : o.toString().indexOf("$")) > -1 ? (
766
+ /*secondaryActiveIndex*/
767
+ ((g = t[37]) == null ? void 0 : g.split("$").pop()) == /*secondaryItem*/
768
+ t[113].id.split("$").pop() ? "active" : ""
769
+ ) : (
770
+ /*secondaryActiveIndex*/
771
+ t[37] == /*secondaryItem*/
772
+ t[113].id ? "active" : ""
773
+ )));
774
+ },
775
+ m(o, g) {
776
+ H(o, e, g), f(e, i), f(i, n), f(e, s), h || (d = O(i, "click", m), h = !0);
777
+ },
778
+ p(o, g) {
779
+ var _, w;
780
+ t = o, g[1] & /*secondaryMenuArray*/
781
+ 128 && l !== (l = /*secondaryItem*/
782
+ t[113].label + "") && ee(n, l), g[1] & /*secondaryActiveIndex, secondaryMenuArray*/
783
+ 192 && a !== (a = "ItemSecondary " + /*secondaryActiveIndex*/
784
+ (((_ = t[37]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
785
+ /*secondaryActiveIndex*/
786
+ ((w = t[37]) == null ? void 0 : w.split("$").pop()) == /*secondaryItem*/
787
+ t[113].id.split("$").pop() ? "active" : ""
788
+ ) : (
789
+ /*secondaryActiveIndex*/
790
+ t[37] == /*secondaryItem*/
791
+ t[113].id ? "active" : ""
792
+ ))) && u(e, "class", a);
793
+ },
794
+ d(o) {
795
+ o && I(e), h = !1, d();
796
+ }
797
+ };
798
+ }
799
+ function Ei(t) {
800
+ let e, i;
801
+ return {
802
+ c() {
803
+ e = p("img"), J(e.src, i = ye) || u(e, "src", i), u(e, "alt", "Logo");
804
+ },
805
+ m(l, n) {
806
+ H(l, e, n);
807
+ },
808
+ p: ae,
809
+ d(l) {
810
+ l && I(e);
811
+ }
812
+ };
813
+ }
814
+ function Ri(t) {
815
+ let e, i;
816
+ return {
817
+ c() {
818
+ e = p("img"), J(e.src, i = /*logoPath*/
819
+ t[47]) || u(e, "src", i), u(e, "alt", "Logo");
820
+ },
821
+ m(l, n) {
822
+ H(l, e, n);
823
+ },
824
+ p(l, n) {
825
+ n[1] & /*logoPath*/
826
+ 65536 && !J(e.src, i = /*logoPath*/
827
+ l[47]) && u(e, "src", i);
828
+ },
829
+ d(l) {
830
+ l && I(e);
831
+ }
832
+ };
833
+ }
834
+ function Bi(t) {
835
+ let e, i, l, n, s, a, h, d, m, o, g, _, w, A = (
836
+ /*$_*/
837
+ t[49]("deposit") + ""
838
+ ), U, D, W, k, C, L, Y, G, P, R;
839
+ function v(y, z) {
840
+ return (
841
+ /*logoFromCms*/
842
+ y[41] ? Oi : zi
843
+ );
844
+ }
845
+ let F = v(t), T = F(t), M = !/*isLoading*/
846
+ t[35] && ct(t), b = (
847
+ /*gamification*/
848
+ t[33] === "true" && !/*mobileView*/
849
+ t[43] && ut(t)
850
+ ), B = (
851
+ /*shortCashierActivated*/
852
+ t[48] && dt(t)
853
+ ), N = (
854
+ /*languagesArray*/
855
+ t[45].length > 1 && ft(t)
856
+ ), $ = ie(
857
+ /*secondaryMenuArray*/
858
+ t[38]
859
+ ), Q = [];
860
+ for (let y = 0; y < $.length; y += 1)
861
+ Q[y] = pt(et(t, $, y));
862
+ return {
863
+ c() {
864
+ e = p("header"), i = p("div"), l = p("div"), T.c(), n = S(), s = p("nav"), M && M.c(), a = S(), b && b.c(), h = S(), d = p("div"), m = p("div"), o = p("player-account-balance-modal"), g = S(), _ = p("div"), w = p("div"), U = x(A), D = S(), B && B.c(), W = S(), k = p("div"), k.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {
865
+ fill: var(--emw--color-white, #FFFFFF);
866
+ }
867
+ </style></defs><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>`, C = S(), N && N.c(), L = S(), Y = p("nav"), G = p("ul");
868
+ for (let y = 0; y < Q.length; y += 1)
869
+ Q[y].c();
870
+ u(l, "class", "HeaderBranding"), u(s, "class", "HeaderMainNav"), r(
871
+ o,
872
+ "mbsource",
873
+ /*mbsource*/
874
+ t[26]
875
+ ), r(
876
+ o,
877
+ "session",
878
+ /*session*/
879
+ t[0]
880
+ ), r(
881
+ o,
882
+ "userid",
883
+ /*userid*/
884
+ t[1]
885
+ ), r(
886
+ o,
887
+ "endpoint",
888
+ /*endpoint*/
889
+ t[2]
890
+ ), r(
891
+ o,
892
+ "lang",
893
+ /*lang*/
894
+ t[3]
895
+ ), r(
896
+ o,
897
+ "clientstyling",
898
+ /*clientstyling*/
899
+ t[27]
900
+ ), r(
901
+ o,
902
+ "clientstylingurl",
903
+ /*clientstylingurl*/
904
+ t[28]
905
+ ), r(
906
+ o,
907
+ "customlocaleidentifier",
908
+ /*customlocaleidentifier*/
909
+ t[7]
910
+ ), r(
911
+ o,
912
+ "gmversion",
913
+ /*gmversion*/
914
+ t[8]
915
+ ), r(
916
+ o,
917
+ "displaybalanceoption",
918
+ /*displaybalanceoption*/
919
+ t[10]
920
+ ), r(
921
+ o,
922
+ "totalcalculationmode",
923
+ /*totalcalculationmode*/
924
+ t[32]
925
+ ), r(
926
+ o,
927
+ "currencyseparator",
928
+ /*currencyseparator*/
929
+ t[29]
930
+ ), r(
931
+ o,
932
+ "currencydecimal",
933
+ /*currencydecimal*/
934
+ t[30]
935
+ ), r(
936
+ o,
937
+ "currencyprecision",
938
+ /*currencyprecision*/
939
+ t[31]
940
+ ), u(w, "class", "Item ItemDeposit"), u(k, "class", "Item ItemAccount"), u(m, "class", "HeaderItemsMenu PrimaryMenu"), u(d, "class", "HeaderTopActions"), u(i, "class", "HeaderContainer"), u(G, "class", "HeaderItemsMenuSecondary"), u(Y, "class", "HeaderSecondaryNav"), u(e, "class", "HeaderWrapper");
941
+ },
942
+ m(y, z) {
943
+ H(y, e, z), f(e, i), f(i, l), T.m(l, null), f(i, n), f(i, s), M && M.m(s, null), f(i, a), b && b.m(i, null), f(i, h), f(i, d), f(d, m), f(m, o), f(m, g), f(m, _), f(_, w), f(w, U), f(_, D), B && B.m(_, null), f(m, W), f(m, k), f(m, C), N && N.m(m, null), f(e, L), f(e, Y), f(Y, G);
944
+ for (let Z = 0; Z < Q.length; Z += 1)
945
+ Q[Z] && Q[Z].m(G, null);
946
+ t[78](e), P || (R = [
947
+ O(
948
+ l,
949
+ "click",
950
+ /*click_handler_6*/
951
+ t[68]
952
+ ),
953
+ O(
954
+ w,
955
+ "click",
956
+ /*click_handler_7*/
957
+ t[69]
958
+ ),
959
+ O(
960
+ k,
961
+ "click",
962
+ /*click_handler_10*/
963
+ t[72]
964
+ )
965
+ ], P = !0);
966
+ },
967
+ p(y, z) {
968
+ if (F === (F = v(y)) && T ? T.p(y, z) : (T.d(1), T = F(y), T && (T.c(), T.m(l, null))), /*isLoading*/
969
+ y[35] ? M && (M.d(1), M = null) : M ? M.p(y, z) : (M = ct(y), M.c(), M.m(s, null)), /*gamification*/
970
+ y[33] === "true" && !/*mobileView*/
971
+ y[43] ? b ? b.p(y, z) : (b = ut(y), b.c(), b.m(i, h)) : b && (b.d(1), b = null), z[0] & /*mbsource*/
972
+ 67108864 && r(
973
+ o,
974
+ "mbsource",
975
+ /*mbsource*/
976
+ y[26]
977
+ ), z[0] & /*session*/
978
+ 1 && r(
979
+ o,
980
+ "session",
981
+ /*session*/
982
+ y[0]
983
+ ), z[0] & /*userid*/
984
+ 2 && r(
985
+ o,
986
+ "userid",
987
+ /*userid*/
988
+ y[1]
989
+ ), z[0] & /*endpoint*/
990
+ 4 && r(
991
+ o,
992
+ "endpoint",
993
+ /*endpoint*/
994
+ y[2]
995
+ ), z[0] & /*lang*/
996
+ 8 && r(
997
+ o,
998
+ "lang",
999
+ /*lang*/
1000
+ y[3]
1001
+ ), z[0] & /*clientstyling*/
1002
+ 134217728 && r(
1003
+ o,
1004
+ "clientstyling",
1005
+ /*clientstyling*/
1006
+ y[27]
1007
+ ), z[0] & /*clientstylingurl*/
1008
+ 268435456 && r(
1009
+ o,
1010
+ "clientstylingurl",
1011
+ /*clientstylingurl*/
1012
+ y[28]
1013
+ ), z[0] & /*customlocaleidentifier*/
1014
+ 128 && r(
1015
+ o,
1016
+ "customlocaleidentifier",
1017
+ /*customlocaleidentifier*/
1018
+ y[7]
1019
+ ), z[0] & /*gmversion*/
1020
+ 256 && r(
1021
+ o,
1022
+ "gmversion",
1023
+ /*gmversion*/
1024
+ y[8]
1025
+ ), z[0] & /*displaybalanceoption*/
1026
+ 1024 && r(
1027
+ o,
1028
+ "displaybalanceoption",
1029
+ /*displaybalanceoption*/
1030
+ y[10]
1031
+ ), z[1] & /*totalcalculationmode*/
1032
+ 2 && r(
1033
+ o,
1034
+ "totalcalculationmode",
1035
+ /*totalcalculationmode*/
1036
+ y[32]
1037
+ ), z[0] & /*currencyseparator*/
1038
+ 536870912 && r(
1039
+ o,
1040
+ "currencyseparator",
1041
+ /*currencyseparator*/
1042
+ y[29]
1043
+ ), z[0] & /*currencydecimal*/
1044
+ 1073741824 && r(
1045
+ o,
1046
+ "currencydecimal",
1047
+ /*currencydecimal*/
1048
+ y[30]
1049
+ ), z[1] & /*currencyprecision*/
1050
+ 1 && r(
1051
+ o,
1052
+ "currencyprecision",
1053
+ /*currencyprecision*/
1054
+ y[31]
1055
+ ), z[1] & /*$_*/
1056
+ 262144 && A !== (A = /*$_*/
1057
+ y[49]("deposit") + "") && ee(U, A), /*shortCashierActivated*/
1058
+ y[48] ? B ? B.p(y, z) : (B = dt(y), B.c(), B.m(_, null)) : B && (B.d(1), B = null), /*languagesArray*/
1059
+ y[45].length > 1 ? N ? N.p(y, z) : (N = ft(y), N.c(), N.m(m, null)) : N && (N.d(1), N = null), z[1] & /*secondaryActiveIndex, secondaryMenuArray, navigationTrigger*/
1060
+ 8388800) {
1061
+ $ = ie(
1062
+ /*secondaryMenuArray*/
1063
+ y[38]
1064
+ );
1065
+ let Z;
1066
+ for (Z = 0; Z < $.length; Z += 1) {
1067
+ const de = et(y, $, Z);
1068
+ Q[Z] ? Q[Z].p(de, z) : (Q[Z] = pt(de), Q[Z].c(), Q[Z].m(G, null));
1069
+ }
1070
+ for (; Z < Q.length; Z += 1)
1071
+ Q[Z].d(1);
1072
+ Q.length = $.length;
1073
+ }
1074
+ },
1075
+ d(y) {
1076
+ y && I(e), T.d(), M && M.d(), b && b.d(), B && B.d(), N && N.d(), ue(Q, y), t[78](null), P = !1, se(R);
1077
+ }
1078
+ };
1079
+ }
1080
+ function Ni(t) {
1081
+ let e, i, l, n, s, a, h, d, m, o, g, _, w = (
1082
+ /*$_*/
1083
+ t[49]("deposit") + ""
1084
+ ), A, U, D, W, k, C, L = !/*hamburgerMenuActive*/
1085
+ t[46] && _t(t);
1086
+ function Y(v, F) {
1087
+ return (
1088
+ /*logoFromCms*/
1089
+ v[41] ? ji : Ui
1090
+ );
1091
+ }
1092
+ let G = Y(t), P = G(t), R = (
1093
+ /*shortCashierActivated*/
1094
+ t[48] && wt(t)
1095
+ );
1096
+ return {
1097
+ c() {
1098
+ e = p("header"), i = p("div"), l = p("div"), L && L.c(), n = S(), s = p("div"), P.c(), a = S(), h = p("div"), d = p("div"), m = p("player-account-balance-modal"), o = S(), g = p("div"), _ = p("div"), A = x(w), U = S(), R && R.c(), D = S(), W = p("div"), W.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {
1099
+ fill: var(--emw--color-white, #FFFFFF);
1100
+ }
1101
+ </style></defs><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>`, u(l, "class", "HeaderMobileMainNav"), u(s, "class", "HeaderBranding"), r(
1102
+ m,
1103
+ "session",
1104
+ /*session*/
1105
+ t[0]
1106
+ ), r(
1107
+ m,
1108
+ "userid",
1109
+ /*userid*/
1110
+ t[1]
1111
+ ), r(
1112
+ m,
1113
+ "endpoint",
1114
+ /*endpoint*/
1115
+ t[2]
1116
+ ), r(
1117
+ m,
1118
+ "mbsource",
1119
+ /*mbsource*/
1120
+ t[26]
1121
+ ), r(
1122
+ m,
1123
+ "lang",
1124
+ /*lang*/
1125
+ t[3]
1126
+ ), r(
1127
+ m,
1128
+ "clientstyling",
1129
+ /*clientstyling*/
1130
+ t[27]
1131
+ ), r(
1132
+ m,
1133
+ "clientstylingurl",
1134
+ /*clientstylingurl*/
1135
+ t[28]
1136
+ ), r(
1137
+ m,
1138
+ "customlocaleidentifier",
1139
+ /*customlocaleidentifier*/
1140
+ t[7]
1141
+ ), r(
1142
+ m,
1143
+ "gmversion",
1144
+ /*gmversion*/
1145
+ t[8]
1146
+ ), r(
1147
+ m,
1148
+ "displaybalanceoption",
1149
+ /*displaybalanceoption*/
1150
+ t[10]
1151
+ ), r(
1152
+ m,
1153
+ "totalcalculationmode",
1154
+ /*totalcalculationmode*/
1155
+ t[32]
1156
+ ), r(
1157
+ m,
1158
+ "currencyseparator",
1159
+ /*currencyseparator*/
1160
+ t[29]
1161
+ ), r(
1162
+ m,
1163
+ "currencydecimal",
1164
+ /*currencydecimal*/
1165
+ t[30]
1166
+ ), r(
1167
+ m,
1168
+ "currencyprecision",
1169
+ /*currencyprecision*/
1170
+ t[31]
1171
+ ), u(_, "class", "Item ItemDeposit"), u(W, "class", "Item ItemAccount"), u(d, "class", "HeaderItemsMenu PrimaryMenu"), u(h, "class", "HeaderTopActions"), u(i, "class", "HeaderContainer"), u(e, "class", "HeaderWrapper HeaderMobileWrapper");
1172
+ },
1173
+ m(v, F) {
1174
+ H(v, e, F), f(e, i), f(i, l), L && L.m(l, null), f(i, n), f(i, s), P.m(s, null), f(i, a), f(i, h), f(h, d), f(d, m), f(d, o), f(d, g), f(g, _), f(_, A), f(g, U), R && R.m(g, null), f(d, D), f(d, W), t[67](e), k || (C = [
1175
+ O(
1176
+ s,
1177
+ "click",
1178
+ /*click_handler_1*/
1179
+ t[62]
1180
+ ),
1181
+ O(
1182
+ _,
1183
+ "click",
1184
+ /*click_handler_2*/
1185
+ t[63]
1186
+ ),
1187
+ O(
1188
+ W,
1189
+ "click",
1190
+ /*click_handler_5*/
1191
+ t[66]
1192
+ )
1193
+ ], k = !0);
1194
+ },
1195
+ p(v, F) {
1196
+ /*hamburgerMenuActive*/
1197
+ v[46] ? L && (L.d(1), L = null) : L ? L.p(v, F) : (L = _t(v), L.c(), L.m(l, null)), G === (G = Y(v)) && P ? P.p(v, F) : (P.d(1), P = G(v), P && (P.c(), P.m(s, null))), F[0] & /*session*/
1198
+ 1 && r(
1199
+ m,
1200
+ "session",
1201
+ /*session*/
1202
+ v[0]
1203
+ ), F[0] & /*userid*/
1204
+ 2 && r(
1205
+ m,
1206
+ "userid",
1207
+ /*userid*/
1208
+ v[1]
1209
+ ), F[0] & /*endpoint*/
1210
+ 4 && r(
1211
+ m,
1212
+ "endpoint",
1213
+ /*endpoint*/
1214
+ v[2]
1215
+ ), F[0] & /*mbsource*/
1216
+ 67108864 && r(
1217
+ m,
1218
+ "mbsource",
1219
+ /*mbsource*/
1220
+ v[26]
1221
+ ), F[0] & /*lang*/
1222
+ 8 && r(
1223
+ m,
1224
+ "lang",
1225
+ /*lang*/
1226
+ v[3]
1227
+ ), F[0] & /*clientstyling*/
1228
+ 134217728 && r(
1229
+ m,
1230
+ "clientstyling",
1231
+ /*clientstyling*/
1232
+ v[27]
1233
+ ), F[0] & /*clientstylingurl*/
1234
+ 268435456 && r(
1235
+ m,
1236
+ "clientstylingurl",
1237
+ /*clientstylingurl*/
1238
+ v[28]
1239
+ ), F[0] & /*customlocaleidentifier*/
1240
+ 128 && r(
1241
+ m,
1242
+ "customlocaleidentifier",
1243
+ /*customlocaleidentifier*/
1244
+ v[7]
1245
+ ), F[0] & /*gmversion*/
1246
+ 256 && r(
1247
+ m,
1248
+ "gmversion",
1249
+ /*gmversion*/
1250
+ v[8]
1251
+ ), F[0] & /*displaybalanceoption*/
1252
+ 1024 && r(
1253
+ m,
1254
+ "displaybalanceoption",
1255
+ /*displaybalanceoption*/
1256
+ v[10]
1257
+ ), F[1] & /*totalcalculationmode*/
1258
+ 2 && r(
1259
+ m,
1260
+ "totalcalculationmode",
1261
+ /*totalcalculationmode*/
1262
+ v[32]
1263
+ ), F[0] & /*currencyseparator*/
1264
+ 536870912 && r(
1265
+ m,
1266
+ "currencyseparator",
1267
+ /*currencyseparator*/
1268
+ v[29]
1269
+ ), F[0] & /*currencydecimal*/
1270
+ 1073741824 && r(
1271
+ m,
1272
+ "currencydecimal",
1273
+ /*currencydecimal*/
1274
+ v[30]
1275
+ ), F[1] & /*currencyprecision*/
1276
+ 1 && r(
1277
+ m,
1278
+ "currencyprecision",
1279
+ /*currencyprecision*/
1280
+ v[31]
1281
+ ), F[1] & /*$_*/
1282
+ 262144 && w !== (w = /*$_*/
1283
+ v[49]("deposit") + "") && ee(A, w), /*shortCashierActivated*/
1284
+ v[48] ? R ? R.p(v, F) : (R = wt(v), R.c(), R.m(g, null)) : R && (R.d(1), R = null);
1285
+ },
1286
+ d(v) {
1287
+ v && I(e), L && L.d(), P.d(), R && R.d(), t[67](null), k = !1, se(C);
1288
+ }
1289
+ };
1290
+ }
1291
+ function zi(t) {
1292
+ let e, i;
1293
+ return {
1294
+ c() {
1295
+ e = p("img"), J(e.src, i = ye) || u(e, "src", i), u(e, "alt", "Logo");
1296
+ },
1297
+ m(l, n) {
1298
+ H(l, e, n);
1299
+ },
1300
+ p: ae,
1301
+ d(l) {
1302
+ l && I(e);
1303
+ }
1304
+ };
1305
+ }
1306
+ function Oi(t) {
1307
+ let e, i;
1308
+ return {
1309
+ c() {
1310
+ e = p("img"), J(e.src, i = /*logoPath*/
1311
+ t[47]) || u(e, "src", i), u(e, "alt", "Logo");
1312
+ },
1313
+ m(l, n) {
1314
+ H(l, e, n);
1315
+ },
1316
+ p(l, n) {
1317
+ n[1] & /*logoPath*/
1318
+ 65536 && !J(e.src, i = /*logoPath*/
1319
+ l[47]) && u(e, "src", i);
1320
+ },
1321
+ d(l) {
1322
+ l && I(e);
1323
+ }
1324
+ };
1325
+ }
1326
+ function ct(t) {
1327
+ let e, i, l;
1328
+ return {
1329
+ c() {
1330
+ e = p("casino-slider"), r(e, "class", "HeaderItemsMenu"), r(
1331
+ e,
1332
+ "mbsource",
1333
+ /*mbsource*/
1334
+ t[26]
1335
+ ), r(e, "identity", ve), r(e, "isprimarymenu", "true"), r(
1336
+ e,
1337
+ "actionevent",
1338
+ /*actionevent*/
1339
+ t[24]
1340
+ ), r(
1341
+ e,
1342
+ "activeindex",
1343
+ /*primaryActiveIndex*/
1344
+ t[36]
1345
+ ), r(
1346
+ e,
1347
+ "endpoint",
1348
+ /*endpoint*/
1349
+ t[2]
1350
+ ), r(
1351
+ e,
1352
+ "lang",
1353
+ /*lang*/
1354
+ t[3]
1355
+ ), r(e, "location", "headerMain"), r(
1356
+ e,
1357
+ "showsubgroups",
1358
+ /*showsubgroups*/
1359
+ t[25]
1360
+ ), r(
1361
+ e,
1362
+ "clientstyling",
1363
+ /*clientstyling*/
1364
+ t[27]
1365
+ ), r(
1366
+ e,
1367
+ "clientstylingurl",
1368
+ /*clientstylingurl*/
1369
+ t[28]
1370
+ );
1371
+ },
1372
+ m(n, s) {
1373
+ H(n, e, s), i || (l = bt(
1374
+ /*sendSliderData*/
1375
+ t[53].call(null, e)
1376
+ ), i = !0);
1377
+ },
1378
+ p(n, s) {
1379
+ s[0] & /*mbsource*/
1380
+ 67108864 && r(
1381
+ e,
1382
+ "mbsource",
1383
+ /*mbsource*/
1384
+ n[26]
1385
+ ), s[0] & /*actionevent*/
1386
+ 16777216 && r(
1387
+ e,
1388
+ "actionevent",
1389
+ /*actionevent*/
1390
+ n[24]
1391
+ ), s[1] & /*primaryActiveIndex*/
1392
+ 32 && r(
1393
+ e,
1394
+ "activeindex",
1395
+ /*primaryActiveIndex*/
1396
+ n[36]
1397
+ ), s[0] & /*endpoint*/
1398
+ 4 && r(
1399
+ e,
1400
+ "endpoint",
1401
+ /*endpoint*/
1402
+ n[2]
1403
+ ), s[0] & /*lang*/
1404
+ 8 && r(
1405
+ e,
1406
+ "lang",
1407
+ /*lang*/
1408
+ n[3]
1409
+ ), s[0] & /*showsubgroups*/
1410
+ 33554432 && r(
1411
+ e,
1412
+ "showsubgroups",
1413
+ /*showsubgroups*/
1414
+ n[25]
1415
+ ), s[0] & /*clientstyling*/
1416
+ 134217728 && r(
1417
+ e,
1418
+ "clientstyling",
1419
+ /*clientstyling*/
1420
+ n[27]
1421
+ ), s[0] & /*clientstylingurl*/
1422
+ 268435456 && r(
1423
+ e,
1424
+ "clientstylingurl",
1425
+ /*clientstylingurl*/
1426
+ n[28]
1427
+ );
1428
+ },
1429
+ d(n) {
1430
+ n && I(e), i = !1, l();
1431
+ }
1432
+ };
1433
+ }
1434
+ function ut(t) {
1435
+ let e, i;
1436
+ return {
1437
+ c() {
1438
+ e = p("div"), i = p("gamification-dropdown"), r(
1439
+ i,
1440
+ "session",
1441
+ /*session*/
1442
+ t[0]
1443
+ ), r(
1444
+ i,
1445
+ "endpoint",
1446
+ /*endpoint*/
1447
+ t[2]
1448
+ ), r(
1449
+ i,
1450
+ "mb-source",
1451
+ /*mbsource*/
1452
+ t[26]
1453
+ ), r(
1454
+ i,
1455
+ "language",
1456
+ /*lang*/
1457
+ t[3]
1458
+ ), r(
1459
+ i,
1460
+ "client-styling",
1461
+ /*clientstyling*/
1462
+ t[27]
1463
+ ), r(
1464
+ i,
1465
+ "client-styling-url",
1466
+ /*clientstylingurl*/
1467
+ t[28]
1468
+ ), r(
1469
+ i,
1470
+ "translation-url",
1471
+ /*translationurl*/
1472
+ t[6]
1473
+ ), u(e, "class", "GamificationWrapper");
1474
+ },
1475
+ m(l, n) {
1476
+ H(l, e, n), f(e, i);
1477
+ },
1478
+ p(l, n) {
1479
+ n[0] & /*session*/
1480
+ 1 && r(
1481
+ i,
1482
+ "session",
1483
+ /*session*/
1484
+ l[0]
1485
+ ), n[0] & /*endpoint*/
1486
+ 4 && r(
1487
+ i,
1488
+ "endpoint",
1489
+ /*endpoint*/
1490
+ l[2]
1491
+ ), n[0] & /*mbsource*/
1492
+ 67108864 && r(
1493
+ i,
1494
+ "mb-source",
1495
+ /*mbsource*/
1496
+ l[26]
1497
+ ), n[0] & /*lang*/
1498
+ 8 && r(
1499
+ i,
1500
+ "language",
1501
+ /*lang*/
1502
+ l[3]
1503
+ ), n[0] & /*clientstyling*/
1504
+ 134217728 && r(
1505
+ i,
1506
+ "client-styling",
1507
+ /*clientstyling*/
1508
+ l[27]
1509
+ ), n[0] & /*clientstylingurl*/
1510
+ 268435456 && r(
1511
+ i,
1512
+ "client-styling-url",
1513
+ /*clientstylingurl*/
1514
+ l[28]
1515
+ ), n[0] & /*translationurl*/
1516
+ 64 && r(
1517
+ i,
1518
+ "translation-url",
1519
+ /*translationurl*/
1520
+ l[6]
1521
+ );
1522
+ },
1523
+ d(l) {
1524
+ l && I(e);
1525
+ }
1526
+ };
1527
+ }
1528
+ function dt(t) {
1529
+ let e, i, l, n, s, a, h, d;
1530
+ function m(_, w) {
1531
+ return (
1532
+ /*gmversion*/
1533
+ _[8] === "gmcore" ? Wi : Di
1534
+ );
1535
+ }
1536
+ let o = m(t), g = o(t);
1537
+ return {
1538
+ c() {
1539
+ e = p("div"), i = S(), l = p("div"), n = p("div"), s = p("div"), s.innerHTML = '<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>', a = S(), g.c(), u(e, "class", "ShortCashierWindow"), u(s, "class", "ClosePopUpButtonShortCashier"), u(n, "class", "ShortCashierContainer"), u(l, "class", "ShortCashierContainerWrapper");
1540
+ },
1541
+ m(_, w) {
1542
+ H(_, e, w), H(_, i, w), H(_, l, w), f(l, n), f(n, s), f(n, a), g.m(n, null), h || (d = [
1543
+ O(
1544
+ e,
1545
+ "click",
1546
+ /*click_handler_8*/
1547
+ t[70]
1548
+ ),
1549
+ O(
1550
+ s,
1551
+ "click",
1552
+ /*click_handler_9*/
1553
+ t[71]
1554
+ )
1555
+ ], h = !0);
1556
+ },
1557
+ p(_, w) {
1558
+ o === (o = m(_)) && g ? g.p(_, w) : (g.d(1), g = o(_), g && (g.c(), g.m(n, null)));
1559
+ },
1560
+ d(_) {
1561
+ _ && (I(e), I(i), I(l)), g.d(), h = !1, se(d);
1562
+ }
1563
+ };
1564
+ }
1565
+ function Di(t) {
1566
+ let e, i, l, n, s, a, h, d, m;
1567
+ return {
1568
+ c() {
1569
+ e = p("user-deposit-withdrawal"), r(
1570
+ e,
1571
+ "endpoint",
1572
+ /*endpoint*/
1573
+ t[2]
1574
+ ), r(e, "type", "deposit"), r(e, "channel", "Desktop"), r(
1575
+ e,
1576
+ "language",
1577
+ /*lang*/
1578
+ t[3]
1579
+ ), r(
1580
+ e,
1581
+ "is-short-cashier",
1582
+ /*shortcashierenabled*/
1583
+ t[14]
1584
+ ), r(
1585
+ e,
1586
+ "product-type",
1587
+ /*producttype*/
1588
+ t[15]
1589
+ ), r(
1590
+ e,
1591
+ "user-id",
1592
+ /*userid*/
1593
+ t[1]
1594
+ ), r(
1595
+ e,
1596
+ "session",
1597
+ /*session*/
1598
+ t[0]
1599
+ ), r(
1600
+ e,
1601
+ "mb-source",
1602
+ /*mbsource*/
1603
+ t[26]
1604
+ ), r(e, "success-url", i = "https://" + window.location.hostname + "/" + /*lang*/
1605
+ t[3] + /*successurl*/
1606
+ t[16]), r(e, "cancel-url", l = "https://" + window.location.hostname + "/" + /*lang*/
1607
+ t[3] + /*cancelurl*/
1608
+ t[18]), r(e, "fail-url", n = "https://" + window.location.hostname + "/" + /*lang*/
1609
+ t[3] + /*failurl*/
1610
+ t[17]), r(e, "sports-url", s = "https://" + window.location.hostname + "/" + /*lang*/
1611
+ t[3] + /*sportsurl*/
1612
+ t[19]), r(e, "casino-url", a = "https://" + window.location.hostname + "/" + /*lang*/
1613
+ t[3] + /*casinourl*/
1614
+ t[20]), r(e, "contact-url", h = "https://" + window.location.hostname + "/" + /*lang*/
1615
+ t[3] + /*contacturl*/
1616
+ t[21]), r(e, "home-url", d = "https://" + window.location.hostname + "/" + /*lang*/
1617
+ t[3] + /*homeurl*/
1618
+ t[22]), r(e, "deposit-url", m = "https://" + window.location.hostname + "/" + /*lang*/
1619
+ t[3] + /*depositurl*/
1620
+ t[23]), r(
1621
+ e,
1622
+ "client-styling",
1623
+ /*clientstyling*/
1624
+ t[27]
1625
+ ), r(
1626
+ e,
1627
+ "client-styling-url",
1628
+ /*clientstylingurl*/
1629
+ t[28]
1630
+ );
1631
+ },
1632
+ m(o, g) {
1633
+ H(o, e, g);
1634
+ },
1635
+ p(o, g) {
1636
+ g[0] & /*endpoint*/
1637
+ 4 && r(
1638
+ e,
1639
+ "endpoint",
1640
+ /*endpoint*/
1641
+ o[2]
1642
+ ), g[0] & /*lang*/
1643
+ 8 && r(
1644
+ e,
1645
+ "language",
1646
+ /*lang*/
1647
+ o[3]
1648
+ ), g[0] & /*shortcashierenabled*/
1649
+ 16384 && r(
1650
+ e,
1651
+ "is-short-cashier",
1652
+ /*shortcashierenabled*/
1653
+ o[14]
1654
+ ), g[0] & /*producttype*/
1655
+ 32768 && r(
1656
+ e,
1657
+ "product-type",
1658
+ /*producttype*/
1659
+ o[15]
1660
+ ), g[0] & /*userid*/
1661
+ 2 && r(
1662
+ e,
1663
+ "user-id",
1664
+ /*userid*/
1665
+ o[1]
1666
+ ), g[0] & /*session*/
1667
+ 1 && r(
1668
+ e,
1669
+ "session",
1670
+ /*session*/
1671
+ o[0]
1672
+ ), g[0] & /*mbsource*/
1673
+ 67108864 && r(
1674
+ e,
1675
+ "mb-source",
1676
+ /*mbsource*/
1677
+ o[26]
1678
+ ), g[0] & /*lang, successurl*/
1679
+ 65544 && i !== (i = "https://" + window.location.hostname + "/" + /*lang*/
1680
+ o[3] + /*successurl*/
1681
+ o[16]) && r(e, "success-url", i), g[0] & /*lang, cancelurl*/
1682
+ 262152 && l !== (l = "https://" + window.location.hostname + "/" + /*lang*/
1683
+ o[3] + /*cancelurl*/
1684
+ o[18]) && r(e, "cancel-url", l), g[0] & /*lang, failurl*/
1685
+ 131080 && n !== (n = "https://" + window.location.hostname + "/" + /*lang*/
1686
+ o[3] + /*failurl*/
1687
+ o[17]) && r(e, "fail-url", n), g[0] & /*lang, sportsurl*/
1688
+ 524296 && s !== (s = "https://" + window.location.hostname + "/" + /*lang*/
1689
+ o[3] + /*sportsurl*/
1690
+ o[19]) && r(e, "sports-url", s), g[0] & /*lang, casinourl*/
1691
+ 1048584 && a !== (a = "https://" + window.location.hostname + "/" + /*lang*/
1692
+ o[3] + /*casinourl*/
1693
+ o[20]) && r(e, "casino-url", a), g[0] & /*lang, contacturl*/
1694
+ 2097160 && h !== (h = "https://" + window.location.hostname + "/" + /*lang*/
1695
+ o[3] + /*contacturl*/
1696
+ o[21]) && r(e, "contact-url", h), g[0] & /*lang, homeurl*/
1697
+ 4194312 && d !== (d = "https://" + window.location.hostname + "/" + /*lang*/
1698
+ o[3] + /*homeurl*/
1699
+ o[22]) && r(e, "home-url", d), g[0] & /*lang, depositurl*/
1700
+ 8388616 && m !== (m = "https://" + window.location.hostname + "/" + /*lang*/
1701
+ o[3] + /*depositurl*/
1702
+ o[23]) && r(e, "deposit-url", m), g[0] & /*clientstyling*/
1703
+ 134217728 && r(
1704
+ e,
1705
+ "client-styling",
1706
+ /*clientstyling*/
1707
+ o[27]
1708
+ ), g[0] & /*clientstylingurl*/
1709
+ 268435456 && r(
1710
+ e,
1711
+ "client-styling-url",
1712
+ /*clientstylingurl*/
1713
+ o[28]
1714
+ );
1715
+ },
1716
+ d(o) {
1717
+ o && I(e);
1718
+ }
1719
+ };
1720
+ }
1721
+ function Wi(t) {
1722
+ let e;
1723
+ return {
1724
+ c() {
1725
+ e = p("player-deposit"), r(
1726
+ e,
1727
+ "endpoint",
1728
+ /*endpoint*/
1729
+ t[2]
1730
+ ), r(
1731
+ e,
1732
+ "mbsource",
1733
+ /*mbsource*/
1734
+ t[26]
1735
+ ), r(
1736
+ e,
1737
+ "session",
1738
+ /*session*/
1739
+ t[0]
1740
+ ), r(
1741
+ e,
1742
+ "playerid",
1743
+ /*userid*/
1744
+ t[1]
1745
+ ), r(
1746
+ e,
1747
+ "lang",
1748
+ /*lang*/
1749
+ t[3]
1750
+ ), r(
1751
+ e,
1752
+ "hasdefaultamount",
1753
+ /*hasdefaultamount*/
1754
+ t[12]
1755
+ ), r(
1756
+ e,
1757
+ "playercurrency",
1758
+ /*playercurrency*/
1759
+ t[13]
1760
+ ), r(
1761
+ e,
1762
+ "shortcashierenabled",
1763
+ /*shortcashierenabled*/
1764
+ t[14]
1765
+ ), r(
1766
+ e,
1767
+ "clientstyling",
1768
+ /*clientstyling*/
1769
+ t[27]
1770
+ ), r(
1771
+ e,
1772
+ "clientstylingurl",
1773
+ /*clientstylingurl*/
1774
+ t[28]
1775
+ );
1776
+ },
1777
+ m(i, l) {
1778
+ H(i, e, l);
1779
+ },
1780
+ p(i, l) {
1781
+ l[0] & /*endpoint*/
1782
+ 4 && r(
1783
+ e,
1784
+ "endpoint",
1785
+ /*endpoint*/
1786
+ i[2]
1787
+ ), l[0] & /*mbsource*/
1788
+ 67108864 && r(
1789
+ e,
1790
+ "mbsource",
1791
+ /*mbsource*/
1792
+ i[26]
1793
+ ), l[0] & /*session*/
1794
+ 1 && r(
1795
+ e,
1796
+ "session",
1797
+ /*session*/
1798
+ i[0]
1799
+ ), l[0] & /*userid*/
1800
+ 2 && r(
1801
+ e,
1802
+ "playerid",
1803
+ /*userid*/
1804
+ i[1]
1805
+ ), l[0] & /*lang*/
1806
+ 8 && r(
1807
+ e,
1808
+ "lang",
1809
+ /*lang*/
1810
+ i[3]
1811
+ ), l[0] & /*hasdefaultamount*/
1812
+ 4096 && r(
1813
+ e,
1814
+ "hasdefaultamount",
1815
+ /*hasdefaultamount*/
1816
+ i[12]
1817
+ ), l[0] & /*playercurrency*/
1818
+ 8192 && r(
1819
+ e,
1820
+ "playercurrency",
1821
+ /*playercurrency*/
1822
+ i[13]
1823
+ ), l[0] & /*shortcashierenabled*/
1824
+ 16384 && r(
1825
+ e,
1826
+ "shortcashierenabled",
1827
+ /*shortcashierenabled*/
1828
+ i[14]
1829
+ ), l[0] & /*clientstyling*/
1830
+ 134217728 && r(
1831
+ e,
1832
+ "clientstyling",
1833
+ /*clientstyling*/
1834
+ i[27]
1835
+ ), l[0] & /*clientstylingurl*/
1836
+ 268435456 && r(
1837
+ e,
1838
+ "clientstylingurl",
1839
+ /*clientstylingurl*/
1840
+ i[28]
1841
+ );
1842
+ },
1843
+ d(i) {
1844
+ i && I(e);
1845
+ }
1846
+ };
1847
+ }
1848
+ function ft(t) {
1849
+ let e;
1850
+ function i(s, a) {
1851
+ return (
1852
+ /*countryflagheader*/
1853
+ s[9] !== "true" ? Ti : Pi
1854
+ );
1855
+ }
1856
+ let l = i(t), n = l(t);
1857
+ return {
1858
+ c() {
1859
+ n.c(), e = Ee();
1860
+ },
1861
+ m(s, a) {
1862
+ n.m(s, a), H(s, e, a);
1863
+ },
1864
+ p(s, a) {
1865
+ l === (l = i(s)) && n ? n.p(s, a) : (n.d(1), n = l(s), n && (n.c(), n.m(e.parentNode, e)));
1866
+ },
1867
+ d(s) {
1868
+ s && I(e), n.d(s);
1869
+ }
1870
+ };
1871
+ }
1872
+ function Pi(t) {
1873
+ let e, i, l, n, s, a, h, d = (
1874
+ /*selectedLanguage*/
1875
+ t[39].slice(-2) + ""
1876
+ ), m, o, g, _, w, A, U, D, W, k = (
1877
+ /*isOptionsListVisible*/
1878
+ t[42] && gt(t)
1879
+ );
1880
+ return {
1881
+ c() {
1882
+ e = p("div"), i = p("div"), l = p("span"), n = p("img"), a = S(), h = p("span"), m = x(d), o = S(), g = p("span"), _ = V("svg"), w = V("path"), U = S(), k && k.c(), J(n.src, s = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1883
+ t[57](
1884
+ /*selectedLanguage*/
1885
+ t[39].slice(-2)
1886
+ )}.svg`) || u(n, "src", s), u(l, "class", "FlagIcon"), u(h, "class", "LanguageName"), u(w, "id", "arrow"), u(w, "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"), u(w, "transform", "translate(-274.511 -441.088)"), u(w, "fill", "#d1d1d1"), u(_, "xmlns", "http://www.w3.org/2000/svg"), u(_, "width", "14"), u(_, "height", "6.835"), u(_, "viewBox", "0 0 14 6.835"), u(g, "class", A = "TriangleInactive " + /*isOptionsListVisible*/
1887
+ (t[42] ? "TriangleActive" : "")), u(i, "class", "SelectedOption Item ItemLanguage"), u(e, "class", "LanguageDropdown");
1888
+ },
1889
+ m(C, L) {
1890
+ H(C, e, L), f(e, i), f(i, l), f(l, n), f(i, a), f(i, h), f(h, m), f(i, o), f(i, g), f(g, _), f(_, w), f(e, U), k && k.m(e, null), D || (W = O(
1891
+ i,
1892
+ "click",
1893
+ /*click_handler_11*/
1894
+ t[75]
1895
+ ), D = !0);
1896
+ },
1897
+ p(C, L) {
1898
+ L[1] & /*selectedLanguage, languagesArray*/
1899
+ 16640 && !J(n.src, s = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
1900
+ C[57](
1901
+ /*selectedLanguage*/
1902
+ C[39].slice(-2)
1903
+ )}.svg`) && u(n, "src", s), L[1] & /*selectedLanguage*/
1904
+ 256 && d !== (d = /*selectedLanguage*/
1905
+ C[39].slice(-2) + "") && ee(m, d), L[1] & /*isOptionsListVisible*/
1906
+ 2048 && A !== (A = "TriangleInactive " + /*isOptionsListVisible*/
1907
+ (C[42] ? "TriangleActive" : "")) && u(g, "class", A), /*isOptionsListVisible*/
1908
+ C[42] ? k ? k.p(C, L) : (k = gt(C), k.c(), k.m(e, null)) : k && (k.d(1), k = null);
1909
+ },
1910
+ d(C) {
1911
+ C && I(e), k && k.d(), D = !1, W();
1912
+ }
1913
+ };
1914
+ }
1915
+ function Ti(t) {
1916
+ let e, i, l, n = ie(
1917
+ /*languagesArray*/
1918
+ t[45]
1919
+ ), s = [];
1920
+ for (let a = 0; a < n.length; a += 1)
1921
+ s[a] = mt(it(t, n, a));
1922
+ return {
1923
+ c() {
1924
+ e = p("select");
1925
+ for (let a = 0; a < s.length; a += 1)
1926
+ s[a].c();
1927
+ u(e, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
1928
+ t[39] === void 0 && vt(() => (
1929
+ /*select_change_handler*/
1930
+ t[73].call(e)
1931
+ ));
1932
+ },
1933
+ m(a, h) {
1934
+ H(a, e, h);
1935
+ for (let d = 0; d < s.length; d += 1)
1936
+ s[d] && s[d].m(e, null);
1937
+ we(
1938
+ e,
1939
+ /*selectedLanguage*/
1940
+ t[39],
1941
+ !0
1942
+ ), i || (l = [
1943
+ O(
1944
+ e,
1945
+ "change",
1946
+ /*select_change_handler*/
1947
+ t[73]
1948
+ ),
1949
+ O(
1950
+ e,
1951
+ "change",
1952
+ /*change_handler*/
1953
+ t[74]
1954
+ )
1955
+ ], i = !0);
1956
+ },
1957
+ p(a, h) {
1958
+ if (h[1] & /*languagesArray*/
1959
+ 16384) {
1960
+ n = ie(
1961
+ /*languagesArray*/
1962
+ a[45]
1963
+ );
1964
+ let d;
1965
+ for (d = 0; d < n.length; d += 1) {
1966
+ const m = it(a, n, d);
1967
+ s[d] ? s[d].p(m, h) : (s[d] = mt(m), s[d].c(), s[d].m(e, null));
1968
+ }
1969
+ for (; d < s.length; d += 1)
1970
+ s[d].d(1);
1971
+ s.length = n.length;
1972
+ }
1973
+ h[1] & /*selectedLanguage, languagesArray*/
1974
+ 16640 && we(
1975
+ e,
1976
+ /*selectedLanguage*/
1977
+ a[39]
1978
+ );
1979
+ },
1980
+ d(a) {
1981
+ a && I(e), ue(s, a), i = !1, se(l);
1982
+ }
1983
+ };
1984
+ }
1985
+ function gt(t) {
1986
+ let e, i = ie(
1987
+ /*languagesArray*/
1988
+ t[45]
1989
+ ), l = [];
1990
+ for (let n = 0; n < i.length; n += 1)
1991
+ l[n] = ht(tt(t, i, n));
1992
+ return {
1993
+ c() {
1994
+ e = p("div");
1995
+ for (let n = 0; n < l.length; n += 1)
1996
+ l[n].c();
1997
+ u(e, "class", "OptionList");
1998
+ },
1999
+ m(n, s) {
2000
+ H(n, e, s);
2001
+ for (let a = 0; a < l.length; a += 1)
2002
+ l[a] && l[a].m(e, null);
2003
+ },
2004
+ p(n, s) {
2005
+ if (s[1] & /*selectLanguage, languagesArray, determineFlag*/
2006
+ 83902464) {
2007
+ i = ie(
2008
+ /*languagesArray*/
2009
+ n[45]
2010
+ );
2011
+ let a;
2012
+ for (a = 0; a < i.length; a += 1) {
2013
+ const h = tt(n, i, a);
2014
+ l[a] ? l[a].p(h, s) : (l[a] = ht(h), l[a].c(), l[a].m(e, null));
2015
+ }
2016
+ for (; a < l.length; a += 1)
2017
+ l[a].d(1);
2018
+ l.length = i.length;
2019
+ }
2020
+ },
2021
+ d(n) {
2022
+ n && I(e), ue(l, n);
2023
+ }
2024
+ };
2025
+ }
2026
+ function ht(t) {
2027
+ let e, i, l, n, s, a, h = (
2028
+ /*operatorLanguage*/
2029
+ t[116].slice(-2) + ""
2030
+ ), d, m, o, g;
2031
+ function _() {
2032
+ return (
2033
+ /*click_handler_12*/
2034
+ t[76](
2035
+ /*operatorLanguage*/
2036
+ t[116]
2037
+ )
2038
+ );
2039
+ }
2040
+ return {
2041
+ c() {
2042
+ e = p("div"), i = p("span"), l = p("img"), s = S(), a = p("span"), d = x(h), m = S(), J(l.src, n = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
2043
+ t[57](
2044
+ /*operatorLanguage*/
2045
+ t[116].slice(-2)
2046
+ )}.svg`) || u(l, "src", n), u(i, "class", "FlagIcon"), u(a, "class", "LanguageName"), u(e, "class", "LanguageOption");
2047
+ },
2048
+ m(w, A) {
2049
+ H(w, e, A), f(e, i), f(i, l), f(e, s), f(e, a), f(a, d), f(e, m), o || (g = O(e, "click", _), o = !0);
2050
+ },
2051
+ p(w, A) {
2052
+ t = w, A[1] & /*languagesArray*/
2053
+ 16384 && !J(l.src, n = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
2054
+ t[57](
2055
+ /*operatorLanguage*/
2056
+ t[116].slice(-2)
2057
+ )}.svg`) && u(l, "src", n), A[1] & /*languagesArray*/
2058
+ 16384 && h !== (h = /*operatorLanguage*/
2059
+ t[116].slice(-2) + "") && ee(d, h);
2060
+ },
2061
+ d(w) {
2062
+ w && I(e), o = !1, g();
2063
+ }
2064
+ };
2065
+ }
2066
+ function mt(t) {
2067
+ let e, i = (
2068
+ /*operatorLanguage*/
2069
+ t[116].slice(-2) + ""
2070
+ ), l, n;
2071
+ return {
2072
+ c() {
2073
+ e = p("option"), l = x(i), e.__value = n = /*operatorLanguage*/
2074
+ t[116], be(e, e.__value), e.selected = !0;
2075
+ },
2076
+ m(s, a) {
2077
+ H(s, e, a), f(e, l);
2078
+ },
2079
+ p(s, a) {
2080
+ a[1] & /*languagesArray*/
2081
+ 16384 && i !== (i = /*operatorLanguage*/
2082
+ s[116].slice(-2) + "") && ee(l, i), a[1] & /*languagesArray*/
2083
+ 16384 && n !== (n = /*operatorLanguage*/
2084
+ s[116]) && (e.__value = n, be(e, e.__value));
2085
+ },
2086
+ d(s) {
2087
+ s && I(e);
2088
+ }
2089
+ };
2090
+ }
2091
+ function pt(t) {
2092
+ let e, i, l = (
2093
+ /*secondaryItem*/
2094
+ t[113].label + ""
2095
+ ), n, s, a, h, d;
2096
+ function m() {
2097
+ return (
2098
+ /*click_handler_13*/
2099
+ t[77](
2100
+ /*secondaryItem*/
2101
+ t[113]
2102
+ )
2103
+ );
2104
+ }
2105
+ return {
2106
+ c() {
2107
+ var o, g;
2108
+ e = p("li"), i = p("button"), n = x(l), s = S(), u(e, "class", a = "ItemSecondary " + /*secondaryActiveIndex*/
2109
+ (((o = t[37]) == null ? void 0 : o.toString().indexOf("$")) > -1 ? (
2110
+ /*secondaryActiveIndex*/
2111
+ ((g = t[37]) == null ? void 0 : g.split("$").pop()) == /*secondaryItem*/
2112
+ t[113].id.split("$").pop() ? "active" : ""
2113
+ ) : (
2114
+ /*secondaryActiveIndex*/
2115
+ t[37] == /*secondaryItem*/
2116
+ t[113].id ? "active" : ""
2117
+ )));
2118
+ },
2119
+ m(o, g) {
2120
+ H(o, e, g), f(e, i), f(i, n), f(e, s), h || (d = O(i, "click", m), h = !0);
2121
+ },
2122
+ p(o, g) {
2123
+ var _, w;
2124
+ t = o, g[1] & /*secondaryMenuArray*/
2125
+ 128 && l !== (l = /*secondaryItem*/
2126
+ t[113].label + "") && ee(n, l), g[1] & /*secondaryActiveIndex, secondaryMenuArray*/
2127
+ 192 && a !== (a = "ItemSecondary " + /*secondaryActiveIndex*/
2128
+ (((_ = t[37]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
2129
+ /*secondaryActiveIndex*/
2130
+ ((w = t[37]) == null ? void 0 : w.split("$").pop()) == /*secondaryItem*/
2131
+ t[113].id.split("$").pop() ? "active" : ""
2132
+ ) : (
2133
+ /*secondaryActiveIndex*/
2134
+ t[37] == /*secondaryItem*/
2135
+ t[113].id ? "active" : ""
2136
+ ))) && u(e, "class", a);
2137
+ },
2138
+ d(o) {
2139
+ o && I(e), h = !1, d();
2140
+ }
2141
+ };
2142
+ }
2143
+ function _t(t) {
2144
+ let e, i, l, n, s, a, h, d, m, o;
2145
+ return {
2146
+ c() {
2147
+ e = V("svg"), i = V("defs"), l = V("style"), n = x(`.a {
2148
+ fill: var(--emw--color-white, #FFFFFF);
2149
+ }
2150
+ `), s = V("g"), a = V("rect"), h = V("rect"), d = V("rect"), u(a, "class", "a"), u(a, "width", "18"), u(a, "height", "2"), u(a, "transform", "translate(14 13)"), u(h, "class", "a"), u(h, "width", "22"), u(h, "height", "2"), u(h, "transform", "translate(14 20)"), u(d, "class", "a"), u(d, "width", "22"), u(d, "height", "2"), u(d, "transform", "translate(14 27)"), u(s, "transform", "translate(-14 -13)"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(e, "width", "22"), u(e, "height", "16"), u(e, "viewBox", "0 0 22 16");
2151
+ },
2152
+ m(g, _) {
2153
+ H(g, e, _), f(e, i), f(i, l), f(l, n), f(e, s), f(s, a), f(s, h), f(s, d), m || (o = O(
2154
+ e,
2155
+ "click",
2156
+ /*click_handler*/
2157
+ t[61]
2158
+ ), m = !0);
2159
+ },
2160
+ p: ae,
2161
+ d(g) {
2162
+ g && I(e), m = !1, o();
2163
+ }
2164
+ };
2165
+ }
2166
+ function Ui(t) {
2167
+ let e, i;
2168
+ return {
2169
+ c() {
2170
+ e = p("img"), J(e.src, i = ye) || u(e, "src", i), u(e, "alt", "Logo");
2171
+ },
2172
+ m(l, n) {
2173
+ H(l, e, n);
2174
+ },
2175
+ p: ae,
2176
+ d(l) {
2177
+ l && I(e);
2178
+ }
2179
+ };
2180
+ }
2181
+ function ji(t) {
2182
+ let e, i;
2183
+ return {
2184
+ c() {
2185
+ e = p("img"), J(e.src, i = /*logoPath*/
2186
+ t[47]) || u(e, "src", i), u(e, "alt", "Logo");
2187
+ },
2188
+ m(l, n) {
2189
+ H(l, e, n);
2190
+ },
2191
+ p(l, n) {
2192
+ n[1] & /*logoPath*/
2193
+ 65536 && !J(e.src, i = /*logoPath*/
2194
+ l[47]) && u(e, "src", i);
2195
+ },
2196
+ d(l) {
2197
+ l && I(e);
2198
+ }
2199
+ };
2200
+ }
2201
+ function wt(t) {
2202
+ let e, i, l, n, s, a, h, d;
2203
+ function m(_, w) {
2204
+ return (
2205
+ /*gmversion*/
2206
+ _[8] === "gmcore" ? Gi : Zi
2207
+ );
2208
+ }
2209
+ let o = m(t), g = o(t);
2210
+ return {
2211
+ c() {
2212
+ e = p("div"), i = S(), l = p("div"), n = p("div"), s = p("div"), s.innerHTML = '<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>', a = S(), g.c(), u(e, "class", "ShortCashierWindow"), u(s, "class", "ClosePopUpButtonShortCashier"), u(n, "class", "ShortCashierContainerMobile"), u(l, "class", "ShortCashierContainerWrapperMobile");
2213
+ },
2214
+ m(_, w) {
2215
+ H(_, e, w), H(_, i, w), H(_, l, w), f(l, n), f(n, s), f(n, a), g.m(n, null), h || (d = [
2216
+ O(
2217
+ e,
2218
+ "click",
2219
+ /*click_handler_3*/
2220
+ t[64]
2221
+ ),
2222
+ O(
2223
+ s,
2224
+ "click",
2225
+ /*click_handler_4*/
2226
+ t[65]
2227
+ )
2228
+ ], h = !0);
2229
+ },
2230
+ p(_, w) {
2231
+ o === (o = m(_)) && g ? g.p(_, w) : (g.d(1), g = o(_), g && (g.c(), g.m(n, null)));
2232
+ },
2233
+ d(_) {
2234
+ _ && (I(e), I(i), I(l)), g.d(), h = !1, se(d);
2235
+ }
2236
+ };
2237
+ }
2238
+ function Zi(t) {
2239
+ let e, i, l, n, s, a, h, d, m;
2240
+ return {
2241
+ c() {
2242
+ e = p("user-deposit-withdrawal"), r(
2243
+ e,
2244
+ "endpoint",
2245
+ /*endpoint*/
2246
+ t[2]
2247
+ ), r(
2248
+ e,
2249
+ "mb-source",
2250
+ /*mbsource*/
2251
+ t[26]
2252
+ ), r(e, "type", "deposit"), r(e, "channel", "Mobile"), r(
2253
+ e,
2254
+ "language",
2255
+ /*lang*/
2256
+ t[3]
2257
+ ), r(
2258
+ e,
2259
+ "is-short-cashier",
2260
+ /*shortcashierenabled*/
2261
+ t[14]
2262
+ ), r(
2263
+ e,
2264
+ "product-type",
2265
+ /*producttype*/
2266
+ t[15]
2267
+ ), r(
2268
+ e,
2269
+ "user-id",
2270
+ /*userid*/
2271
+ t[1]
2272
+ ), r(
2273
+ e,
2274
+ "session",
2275
+ /*session*/
2276
+ t[0]
2277
+ ), r(e, "success-url", i = "https://" + window.location.hostname + "/" + /*lang*/
2278
+ t[3] + /*successurl*/
2279
+ t[16]), r(e, "cancel-url", l = "https://" + window.location.hostname + "/" + /*lang*/
2280
+ t[3] + /*cancelurl*/
2281
+ t[18]), r(e, "fail-url", n = "https://" + window.location.hostname + "/" + /*lang*/
2282
+ t[3] + /*failurl*/
2283
+ t[17]), r(e, "sports-url", s = "https://" + window.location.hostname + "/" + /*lang*/
2284
+ t[3] + /*sportsurl*/
2285
+ t[19]), r(e, "casino-url", a = "https://" + window.location.hostname + "/" + /*lang*/
2286
+ t[3] + /*casinourl*/
2287
+ t[20]), r(e, "contact-url", h = "https://" + window.location.hostname + "/" + /*lang*/
2288
+ t[3] + /*contacturl*/
2289
+ t[21]), r(e, "home-url", d = "https://" + window.location.hostname + "/" + /*lang*/
2290
+ t[3] + /*homeurl*/
2291
+ t[22]), r(e, "deposit-url", m = "https://" + window.location.hostname + "/" + /*lang*/
2292
+ t[3] + /*depositurl*/
2293
+ t[23]), r(
2294
+ e,
2295
+ "client-styling",
2296
+ /*clientstyling*/
2297
+ t[27]
2298
+ ), r(
2299
+ e,
2300
+ "client-styling-url",
2301
+ /*clientstylingurl*/
2302
+ t[28]
2303
+ );
2304
+ },
2305
+ m(o, g) {
2306
+ H(o, e, g);
2307
+ },
2308
+ p(o, g) {
2309
+ g[0] & /*endpoint*/
2310
+ 4 && r(
2311
+ e,
2312
+ "endpoint",
2313
+ /*endpoint*/
2314
+ o[2]
2315
+ ), g[0] & /*mbsource*/
2316
+ 67108864 && r(
2317
+ e,
2318
+ "mb-source",
2319
+ /*mbsource*/
2320
+ o[26]
2321
+ ), g[0] & /*lang*/
2322
+ 8 && r(
2323
+ e,
2324
+ "language",
2325
+ /*lang*/
2326
+ o[3]
2327
+ ), g[0] & /*shortcashierenabled*/
2328
+ 16384 && r(
2329
+ e,
2330
+ "is-short-cashier",
2331
+ /*shortcashierenabled*/
2332
+ o[14]
2333
+ ), g[0] & /*producttype*/
2334
+ 32768 && r(
2335
+ e,
2336
+ "product-type",
2337
+ /*producttype*/
2338
+ o[15]
2339
+ ), g[0] & /*userid*/
2340
+ 2 && r(
2341
+ e,
2342
+ "user-id",
2343
+ /*userid*/
2344
+ o[1]
2345
+ ), g[0] & /*session*/
2346
+ 1 && r(
2347
+ e,
2348
+ "session",
2349
+ /*session*/
2350
+ o[0]
2351
+ ), g[0] & /*lang, successurl*/
2352
+ 65544 && i !== (i = "https://" + window.location.hostname + "/" + /*lang*/
2353
+ o[3] + /*successurl*/
2354
+ o[16]) && r(e, "success-url", i), g[0] & /*lang, cancelurl*/
2355
+ 262152 && l !== (l = "https://" + window.location.hostname + "/" + /*lang*/
2356
+ o[3] + /*cancelurl*/
2357
+ o[18]) && r(e, "cancel-url", l), g[0] & /*lang, failurl*/
2358
+ 131080 && n !== (n = "https://" + window.location.hostname + "/" + /*lang*/
2359
+ o[3] + /*failurl*/
2360
+ o[17]) && r(e, "fail-url", n), g[0] & /*lang, sportsurl*/
2361
+ 524296 && s !== (s = "https://" + window.location.hostname + "/" + /*lang*/
2362
+ o[3] + /*sportsurl*/
2363
+ o[19]) && r(e, "sports-url", s), g[0] & /*lang, casinourl*/
2364
+ 1048584 && a !== (a = "https://" + window.location.hostname + "/" + /*lang*/
2365
+ o[3] + /*casinourl*/
2366
+ o[20]) && r(e, "casino-url", a), g[0] & /*lang, contacturl*/
2367
+ 2097160 && h !== (h = "https://" + window.location.hostname + "/" + /*lang*/
2368
+ o[3] + /*contacturl*/
2369
+ o[21]) && r(e, "contact-url", h), g[0] & /*lang, homeurl*/
2370
+ 4194312 && d !== (d = "https://" + window.location.hostname + "/" + /*lang*/
2371
+ o[3] + /*homeurl*/
2372
+ o[22]) && r(e, "home-url", d), g[0] & /*lang, depositurl*/
2373
+ 8388616 && m !== (m = "https://" + window.location.hostname + "/" + /*lang*/
2374
+ o[3] + /*depositurl*/
2375
+ o[23]) && r(e, "deposit-url", m), g[0] & /*clientstyling*/
2376
+ 134217728 && r(
2377
+ e,
2378
+ "client-styling",
2379
+ /*clientstyling*/
2380
+ o[27]
2381
+ ), g[0] & /*clientstylingurl*/
2382
+ 268435456 && r(
2383
+ e,
2384
+ "client-styling-url",
2385
+ /*clientstylingurl*/
2386
+ o[28]
2387
+ );
2388
+ },
2389
+ d(o) {
2390
+ o && I(e);
2391
+ }
2392
+ };
2393
+ }
2394
+ function Gi(t) {
2395
+ let e;
2396
+ return {
2397
+ c() {
2398
+ e = p("player-deposit"), r(
2399
+ e,
2400
+ "endpoint",
2401
+ /*endpoint*/
2402
+ t[2]
2403
+ ), r(
2404
+ e,
2405
+ "session",
2406
+ /*session*/
2407
+ t[0]
2408
+ ), r(
2409
+ e,
2410
+ "mbsource",
2411
+ /*mbsource*/
2412
+ t[26]
2413
+ ), r(
2414
+ e,
2415
+ "playerid",
2416
+ /*userid*/
2417
+ t[1]
2418
+ ), r(
2419
+ e,
2420
+ "lang",
2421
+ /*lang*/
2422
+ t[3]
2423
+ ), r(
2424
+ e,
2425
+ "hasdefaultamount",
2426
+ /*hasdefaultamount*/
2427
+ t[12]
2428
+ ), r(
2429
+ e,
2430
+ "playercurrency",
2431
+ /*playercurrency*/
2432
+ t[13]
2433
+ ), r(
2434
+ e,
2435
+ "shortcashierenabled",
2436
+ /*shortcashierenabled*/
2437
+ t[14]
2438
+ ), r(
2439
+ e,
2440
+ "clientstyling",
2441
+ /*clientstyling*/
2442
+ t[27]
2443
+ ), r(
2444
+ e,
2445
+ "clientstylingurl",
2446
+ /*clientstylingurl*/
2447
+ t[28]
2448
+ );
2449
+ },
2450
+ m(i, l) {
2451
+ H(i, e, l);
2452
+ },
2453
+ p(i, l) {
2454
+ l[0] & /*endpoint*/
2455
+ 4 && r(
2456
+ e,
2457
+ "endpoint",
2458
+ /*endpoint*/
2459
+ i[2]
2460
+ ), l[0] & /*session*/
2461
+ 1 && r(
2462
+ e,
2463
+ "session",
2464
+ /*session*/
2465
+ i[0]
2466
+ ), l[0] & /*mbsource*/
2467
+ 67108864 && r(
2468
+ e,
2469
+ "mbsource",
2470
+ /*mbsource*/
2471
+ i[26]
2472
+ ), l[0] & /*userid*/
2473
+ 2 && r(
2474
+ e,
2475
+ "playerid",
2476
+ /*userid*/
2477
+ i[1]
2478
+ ), l[0] & /*lang*/
2479
+ 8 && r(
2480
+ e,
2481
+ "lang",
2482
+ /*lang*/
2483
+ i[3]
2484
+ ), l[0] & /*hasdefaultamount*/
2485
+ 4096 && r(
2486
+ e,
2487
+ "hasdefaultamount",
2488
+ /*hasdefaultamount*/
2489
+ i[12]
2490
+ ), l[0] & /*playercurrency*/
2491
+ 8192 && r(
2492
+ e,
2493
+ "playercurrency",
2494
+ /*playercurrency*/
2495
+ i[13]
2496
+ ), l[0] & /*shortcashierenabled*/
2497
+ 16384 && r(
2498
+ e,
2499
+ "shortcashierenabled",
2500
+ /*shortcashierenabled*/
2501
+ i[14]
2502
+ ), l[0] & /*clientstyling*/
2503
+ 134217728 && r(
2504
+ e,
2505
+ "clientstyling",
2506
+ /*clientstyling*/
2507
+ i[27]
2508
+ ), l[0] & /*clientstylingurl*/
2509
+ 268435456 && r(
2510
+ e,
2511
+ "clientstylingurl",
2512
+ /*clientstylingurl*/
2513
+ i[28]
2514
+ );
2515
+ },
2516
+ d(i) {
2517
+ i && I(e);
2518
+ }
2519
+ };
2520
+ }
2521
+ function Yi(t) {
2522
+ let e, i;
2523
+ function l(a, h) {
2524
+ return (
2525
+ /*isLoggedIn*/
2526
+ a[44] ? Hi : (
2527
+ /*mobileView*/
2528
+ a[43] ? Ii : Mi
2529
+ )
2530
+ );
2531
+ }
2532
+ let n = l(t), s = n(t);
2533
+ return {
2534
+ c() {
2535
+ s.c(), e = S(), i = p("casino-hamburger-menu"), r(
2536
+ i,
2537
+ "menuitemsurl",
2538
+ /*hamburgerURL*/
2539
+ t[40]
2540
+ ), r(
2541
+ i,
2542
+ "mbsource",
2543
+ /*mbsource*/
2544
+ t[26]
2545
+ ), r(
2546
+ i,
2547
+ "activecategory",
2548
+ /*activecategory*/
2549
+ t[5]
2550
+ ), r(
2551
+ i,
2552
+ "lang",
2553
+ /*lang*/
2554
+ t[3]
2555
+ ), r(
2556
+ i,
2557
+ "countryflaghamburger",
2558
+ /*countryflaghamburger*/
2559
+ t[11]
2560
+ ), r(
2561
+ i,
2562
+ "customlocaleidentifier",
2563
+ /*customlocaleidentifier*/
2564
+ t[7]
2565
+ ), r(
2566
+ i,
2567
+ "languageslist",
2568
+ /*languageslist*/
2569
+ t[4]
2570
+ ), r(
2571
+ i,
2572
+ "clientstyling",
2573
+ /*clientstyling*/
2574
+ t[27]
2575
+ ), r(
2576
+ i,
2577
+ "clientstylingurl",
2578
+ /*clientstylingurl*/
2579
+ t[28]
2580
+ );
2581
+ },
2582
+ m(a, h) {
2583
+ s.m(a, h), H(a, e, h), H(a, i, h);
2584
+ },
2585
+ p(a, h) {
2586
+ n === (n = l(a)) && s ? s.p(a, h) : (s.d(1), s = n(a), s && (s.c(), s.m(e.parentNode, e))), h[1] & /*hamburgerURL*/
2587
+ 512 && r(
2588
+ i,
2589
+ "menuitemsurl",
2590
+ /*hamburgerURL*/
2591
+ a[40]
2592
+ ), h[0] & /*mbsource*/
2593
+ 67108864 && r(
2594
+ i,
2595
+ "mbsource",
2596
+ /*mbsource*/
2597
+ a[26]
2598
+ ), h[0] & /*activecategory*/
2599
+ 32 && r(
2600
+ i,
2601
+ "activecategory",
2602
+ /*activecategory*/
2603
+ a[5]
2604
+ ), h[0] & /*lang*/
2605
+ 8 && r(
2606
+ i,
2607
+ "lang",
2608
+ /*lang*/
2609
+ a[3]
2610
+ ), h[0] & /*countryflaghamburger*/
2611
+ 2048 && r(
2612
+ i,
2613
+ "countryflaghamburger",
2614
+ /*countryflaghamburger*/
2615
+ a[11]
2616
+ ), h[0] & /*customlocaleidentifier*/
2617
+ 128 && r(
2618
+ i,
2619
+ "customlocaleidentifier",
2620
+ /*customlocaleidentifier*/
2621
+ a[7]
2622
+ ), h[0] & /*languageslist*/
2623
+ 16 && r(
2624
+ i,
2625
+ "languageslist",
2626
+ /*languageslist*/
2627
+ a[4]
2628
+ ), h[0] & /*clientstyling*/
2629
+ 134217728 && r(
2630
+ i,
2631
+ "clientstyling",
2632
+ /*clientstyling*/
2633
+ a[27]
2634
+ ), h[0] & /*clientstylingurl*/
2635
+ 268435456 && r(
2636
+ i,
2637
+ "clientstylingurl",
2638
+ /*clientstylingurl*/
2639
+ a[28]
2640
+ );
2641
+ },
2642
+ i: ae,
2643
+ o: ae,
2644
+ d(a) {
2645
+ a && (I(e), I(i)), s.d(a);
2646
+ }
2647
+ };
2648
+ }
2649
+ let ve = "HeaderMenu";
2650
+ function Ji(t, e, i) {
2651
+ let l, n;
2652
+ gi(t, pi, (c) => i(49, n = c));
2653
+ let { session: s = "" } = e, { userid: a = "" } = e, { endpoint: h = "" } = e, { cmsendpoint: d = "" } = e, { cmsenv: m = "stage" } = e, { lang: o = "en" } = e, { languageslist: g = "en, ro" } = e, { activecategory: _ = "" } = e, { translationurl: w = "" } = e, { customlocaleidentifier: A = "" } = e, { gmversion: U = "" } = e, { countryflagheader: D = "false" } = e, { displaybalanceoption: W = "All" } = e, { countryflaghamburger: k = "false" } = e, { hasdefaultamount: C = "" } = e, { playercurrency: L = "" } = e, { shortcashierenabled: Y = "" } = e, { producttype: G = "" } = e, { successurl: P = "" } = e, { failurl: R = "" } = e, { cancelurl: v = "" } = e, { sportsurl: F = "" } = e, { casinourl: T = "" } = e, { contacturl: M = "" } = e, { homeurl: b = "" } = e, { depositurl: B = "" } = e, { actionevent: N = "" } = e, { userroles: $ = "" } = e, { showsubgroups: Q = "false" } = e, { mbsource: y } = e, { clientstyling: z = "" } = e, { clientstylingurl: Z = "" } = e, { currencyseparator: de = "" } = e, { currencydecimal: Re = "" } = e, { currencyprecision: Be = "" } = e, { totalcalculationmode: Ne = "" } = e, { gamification: ze = "false" } = e, Oe, De, q;
2654
+ yi({ withLocale: "en", translations: {} });
2655
+ const yt = () => {
2656
+ fetch(w).then((K) => K.json()).then((K) => {
2657
+ Object.keys(K).forEach((le) => {
2658
+ Xe(le, K[le]);
2659
+ });
2660
+ }).catch((K) => {
2661
+ console.log(K);
2662
+ });
2663
+ };
2664
+ Object.keys(qe).forEach((c) => {
2665
+ Xe(c, qe[c]);
2666
+ });
2667
+ let he = [], ke = [], te = "", re, ne, We, fe = !0, ge = !1, me = !1, Pe = !1, Fe = window.navigator.userAgent, pe = !1, oe = [], Me = !1, Te = "", Ie = !1;
2668
+ const X = (c) => {
2669
+ switch (c) {
2670
+ case "login":
2671
+ window.postMessage(
2672
+ {
2673
+ type: "OpenLoginRegisterModal",
2674
+ transition: "Login"
2675
+ },
2676
+ window.location.href
2677
+ ), typeof gtag == "function" && gtag("event", "OpenLoginModal", { context: "HeaderController" });
2678
+ break;
2679
+ case "register":
2680
+ window.postMessage(
2681
+ {
2682
+ type: "OpenLoginRegisterModal",
2683
+ transition: "Register"
2684
+ },
2685
+ window.location.href
2686
+ ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", { context: "HeaderController" });
2687
+ break;
2688
+ case "lobby":
2689
+ window.postMessage({ type: "GoToHomepage" }, window.location.href);
2690
+ break;
2691
+ case "myaccount":
2692
+ window.postMessage(
2693
+ {
2694
+ type: "PlayerAccountMenuActive",
2695
+ isMobile: Qe(Fe)
2696
+ },
2697
+ window.location.href
2698
+ );
2699
+ break;
2700
+ case "deposit":
2701
+ l ? (vi("open_shortcashier", { userid: a }), i(48, Ie = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)) : window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "HeaderController" });
2702
+ break;
2703
+ case "language":
2704
+ window.postMessage(
2705
+ {
2706
+ type: "LanguageChanged",
2707
+ selectedLanguage: te
2708
+ },
2709
+ window.location.href
2710
+ );
2711
+ break;
2712
+ }
2713
+ }, He = () => {
2714
+ i(46, Me = !0), window.postMessage({ type: "OpenHamburgerMenuModal" }, window.location.href);
2715
+ }, Ue = (c) => {
2716
+ if (c.data)
2717
+ switch (c.data.type) {
2718
+ case "SliderLoaded":
2719
+ ve == c.data.identity && Ge();
2720
+ break;
2721
+ case "UserSessionID":
2722
+ c.data.userid, c.data.session, i(44, pe = !0);
2723
+ break;
2724
+ case "CloseHamburgerMenu":
2725
+ window.postMessage({ type: "EnableScroll" }, window.location.href), c.data.showhamburger && i(46, Me = !1);
2726
+ break;
2727
+ case "LogoutSuccessfull":
2728
+ i(44, pe = !1);
2729
+ break;
2730
+ case "LanguageChanged":
2731
+ je(), Ye(ne);
2732
+ break;
2733
+ case "OpenShortCashier":
2734
+ X("deposit");
2735
+ break;
2736
+ case "CloseShortCashier":
2737
+ ce();
2738
+ break;
2739
+ case "RequestHeaderHeight":
2740
+ window.postMessage(
2741
+ {
2742
+ type: "HeaderHeight",
2743
+ headerHeight: q.clientHeight
2744
+ },
2745
+ window.location.href
2746
+ );
2747
+ break;
2748
+ }
2749
+ }, kt = () => {
2750
+ i(44, pe = !0);
2751
+ }, ce = (c) => {
2752
+ i(48, Ie = !1), window.postMessage({ type: "EnableScroll" }, window.location.href), c == null || c.stopPropagation();
2753
+ }, je = () => {
2754
+ ne = new URL(`${d}/${te.toLowerCase()}/menu`), i(40, re = new URL(`${d}/${te.toLowerCase()}/hamburger-menu`)), We = new URL(`${d}/${te.toLowerCase()}/op-options/style`);
2755
+ let c = mi(Fe);
2756
+ ne.searchParams.append("env", m), ne.searchParams.append("language", te.toLowerCase()), ne.searchParams.append("userRoles", $), c && (c === "PC" ? (re.searchParams.append("device", "dk"), ne.searchParams.append("device", "dk")) : (re.searchParams.append("device", "mtWeb"), ne.searchParams.append("device", "mtWeb"))), re.searchParams.append("env", m), re.searchParams.append("language", te.toLowerCase()), re.searchParams.append("userRoles", $);
2757
+ }, Ft = () => {
2758
+ ki(o);
2759
+ }, Mt = () => {
2760
+ i(45, oe = g.replace(/ /g, "").split(",")), i(45, oe = oe.map((c) => c.toUpperCase())), i(39, te = o.toUpperCase()), je(), Ht(We), setTimeout(() => {
2761
+ Ye(ne);
2762
+ });
2763
+ }, It = () => {
2764
+ i(36, Oe = Ze(_, he)), i(37, De = Ze(_, ke));
2765
+ }, Ze = (c, K) => {
2766
+ let le = K.find((j) => {
2767
+ if (c.indexOf("/sport") > -1)
2768
+ return j.path.indexOf(c) > -1;
2769
+ if (j.path.includes(c))
2770
+ return !0;
2771
+ });
2772
+ return le || (le = K.find((j) => j.path.split("/").indexOf(c.split("/")[1]) > -1)), le ? le.id : -1;
2773
+ }, Ge = (c) => {
2774
+ he.length > 0 && window.postMessage(
2775
+ {
2776
+ type: "SliderData",
2777
+ identity: ve,
2778
+ data: he
2779
+ },
2780
+ window.location.href
2781
+ );
2782
+ }, Ye = (c) => (i(35, fe = !0), new Promise((K, le) => {
2783
+ fetch(c).then((j) => j.json()).then(
2784
+ (j) => {
2785
+ he = j.desktop.primary, i(38, ke = j.desktop.secondary), i(35, fe = !1), K(j);
2786
+ },
2787
+ (j) => {
2788
+ i(35, fe = !1), console.error(j), le(j);
2789
+ }
2790
+ );
2791
+ })), Ht = (c) => (i(41, ge = !1), new Promise((K, le) => {
2792
+ fetch(c).then((j) => j.json()).then(
2793
+ (j) => {
2794
+ j.logoUrl.length > 0 && (j.logoUrl != "null" || j.logoUrl != "false") ? (i(47, Te = j.logoUrl), i(41, ge = !0)) : i(41, ge = !1), K(j);
2795
+ },
2796
+ (j) => {
2797
+ i(41, ge = !1), console.error(j), le(j);
2798
+ }
2799
+ );
2800
+ })), Ae = (c) => {
2801
+ var K;
2802
+ window.postMessage(
2803
+ {
2804
+ type: "NavigateTo",
2805
+ itemId: c.id,
2806
+ item: c,
2807
+ path: c.path,
2808
+ externalLink: c.externalLink || !1,
2809
+ target: ((K = c.attrs) == null ? void 0 : K.target) || null
2810
+ },
2811
+ window.location.href
2812
+ );
2813
+ }, Ce = (c) => {
2814
+ i(39, te = c), i(42, me = !1), X("language");
2815
+ }, Le = () => {
2816
+ i(42, me = !me);
2817
+ }, At = (c) => (A && (c = A.includes(c.toLowerCase()) ? A.slice(-2) : c), c == "EN" ? "US" : c.toUpperCase());
2818
+ hi(() => Je(this, null, function* () {
2819
+ return window.addEventListener("message", Ue, !1), Qe(Fe) && i(43, Pe = !0), () => {
2820
+ window.removeEventListener("message", Ue);
2821
+ };
2822
+ }));
2823
+ const Ct = () => He(), Lt = () => X("lobby"), St = () => X("deposit"), Et = (c) => ce(c), Rt = (c) => ce(c), Bt = () => X("myaccount");
2824
+ function Nt(c) {
2825
+ _e[c ? "unshift" : "push"](() => {
2826
+ q = c, i(34, q);
2827
+ });
2828
+ }
2829
+ const zt = () => X("lobby"), Ot = () => X("deposit"), Dt = (c) => ce(c), Wt = (c) => ce(c), Pt = () => X("myaccount");
2830
+ function Tt() {
2831
+ te = Ve(this), i(39, te), i(45, oe);
2832
+ }
2833
+ const Ut = () => X("language"), jt = () => Le(), Zt = (c) => Ce(c), Gt = (c) => Ae(c);
2834
+ function Yt(c) {
2835
+ _e[c ? "unshift" : "push"](() => {
2836
+ q = c, i(34, q);
2837
+ });
2838
+ }
2839
+ const Jt = () => He(), Qt = () => X("lobby"), Vt = () => X("login"), Xt = () => X("register");
2840
+ function qt(c) {
2841
+ _e[c ? "unshift" : "push"](() => {
2842
+ q = c, i(34, q);
2843
+ });
2844
+ }
2845
+ const Kt = () => X("lobby"), xt = () => X("login"), $t = () => X("register");
2846
+ function ei() {
2847
+ te = Ve(this), i(39, te), i(45, oe);
2848
+ }
2849
+ const ti = () => X("language"), ii = () => Le(), li = (c) => Ce(c), ni = (c) => Ae(c);
2850
+ function ri(c) {
2851
+ _e[c ? "unshift" : "push"](() => {
2852
+ q = c, i(34, q);
2853
+ });
2854
+ }
2855
+ return t.$$set = (c) => {
2856
+ "session" in c && i(0, s = c.session), "userid" in c && i(1, a = c.userid), "endpoint" in c && i(2, h = c.endpoint), "cmsendpoint" in c && i(58, d = c.cmsendpoint), "cmsenv" in c && i(59, m = c.cmsenv), "lang" in c && i(3, o = c.lang), "languageslist" in c && i(4, g = c.languageslist), "activecategory" in c && i(5, _ = c.activecategory), "translationurl" in c && i(6, w = c.translationurl), "customlocaleidentifier" in c && i(7, A = c.customlocaleidentifier), "gmversion" in c && i(8, U = c.gmversion), "countryflagheader" in c && i(9, D = c.countryflagheader), "displaybalanceoption" in c && i(10, W = c.displaybalanceoption), "countryflaghamburger" in c && i(11, k = c.countryflaghamburger), "hasdefaultamount" in c && i(12, C = c.hasdefaultamount), "playercurrency" in c && i(13, L = c.playercurrency), "shortcashierenabled" in c && i(14, Y = c.shortcashierenabled), "producttype" in c && i(15, G = c.producttype), "successurl" in c && i(16, P = c.successurl), "failurl" in c && i(17, R = c.failurl), "cancelurl" in c && i(18, v = c.cancelurl), "sportsurl" in c && i(19, F = c.sportsurl), "casinourl" in c && i(20, T = c.casinourl), "contacturl" in c && i(21, M = c.contacturl), "homeurl" in c && i(22, b = c.homeurl), "depositurl" in c && i(23, B = c.depositurl), "actionevent" in c && i(24, N = c.actionevent), "userroles" in c && i(60, $ = c.userroles), "showsubgroups" in c && i(25, Q = c.showsubgroups), "mbsource" in c && i(26, y = c.mbsource), "clientstyling" in c && i(27, z = c.clientstyling), "clientstylingurl" in c && i(28, Z = c.clientstylingurl), "currencyseparator" in c && i(29, de = c.currencyseparator), "currencydecimal" in c && i(30, Re = c.currencydecimal), "currencyprecision" in c && i(31, Be = c.currencyprecision), "totalcalculationmode" in c && i(32, Ne = c.totalcalculationmode), "gamification" in c && i(33, ze = c.gamification);
2857
+ }, t.$$.update = () => {
2858
+ t.$$.dirty[0] & /*activecategory*/
2859
+ 32 | t.$$.dirty[1] & /*isLoading*/
2860
+ 16 && _ && !fe && It(), t.$$.dirty[0] & /*session*/
2861
+ 1 && s && kt(), t.$$.dirty[0] & /*shortcashierenabled*/
2862
+ 16384 && (l = Y.toLocaleLowerCase() === "true"), t.$$.dirty[0] & /*lang*/
2863
+ 8 && o && Ft(), t.$$.dirty[0] & /*lang, languageslist*/
2864
+ 24 | t.$$.dirty[1] & /*cmsendpoint, userroles*/
2865
+ 671088640 && d && o && g && $ && Mt(), t.$$.dirty[0] & /*translationurl*/
2866
+ 64 && w && yt(), t.$$.dirty[0] & /*clientstyling*/
2867
+ 134217728 | t.$$.dirty[1] & /*customStylingContainer*/
2868
+ 8 && z && q && _i(q, z), t.$$.dirty[0] & /*clientstylingurl*/
2869
+ 268435456 | t.$$.dirty[1] & /*customStylingContainer*/
2870
+ 8 && Z && q && wi(q, Z), t.$$.dirty[0] & /*mbsource*/
2871
+ 67108864 | t.$$.dirty[1] & /*customStylingContainer*/
2872
+ 8 && q && bi(q, `${y}.Style`);
2873
+ }, [
2874
+ s,
2875
+ a,
2876
+ h,
2877
+ o,
2878
+ g,
2879
+ _,
2880
+ w,
2881
+ A,
2882
+ U,
2883
+ D,
2884
+ W,
2885
+ k,
2886
+ C,
2887
+ L,
2888
+ Y,
2889
+ G,
2890
+ P,
2891
+ R,
2892
+ v,
2893
+ F,
2894
+ T,
2895
+ M,
2896
+ b,
2897
+ B,
2898
+ N,
2899
+ Q,
2900
+ y,
2901
+ z,
2902
+ Z,
2903
+ de,
2904
+ Re,
2905
+ Be,
2906
+ Ne,
2907
+ ze,
2908
+ q,
2909
+ fe,
2910
+ Oe,
2911
+ De,
2912
+ ke,
2913
+ te,
2914
+ re,
2915
+ ge,
2916
+ me,
2917
+ Pe,
2918
+ pe,
2919
+ oe,
2920
+ Me,
2921
+ Te,
2922
+ Ie,
2923
+ n,
2924
+ X,
2925
+ He,
2926
+ ce,
2927
+ Ge,
2928
+ Ae,
2929
+ Ce,
2930
+ Le,
2931
+ At,
2932
+ d,
2933
+ m,
2934
+ $,
2935
+ Ct,
2936
+ Lt,
2937
+ St,
2938
+ Et,
2939
+ Rt,
2940
+ Bt,
2941
+ Nt,
2942
+ zt,
2943
+ Ot,
2944
+ Dt,
2945
+ Wt,
2946
+ Pt,
2947
+ Tt,
2948
+ Ut,
2949
+ jt,
2950
+ Zt,
2951
+ Gt,
2952
+ Yt,
2953
+ Jt,
2954
+ Qt,
2955
+ Vt,
2956
+ Xt,
2957
+ qt,
2958
+ Kt,
2959
+ xt,
2960
+ $t,
2961
+ ei,
2962
+ ti,
2963
+ ii,
2964
+ li,
2965
+ ni,
2966
+ ri
2967
+ ];
2968
+ }
2969
+ class Qi extends oi {
2970
+ constructor(e) {
2971
+ super(), ci(
2972
+ this,
2973
+ e,
2974
+ Ji,
2975
+ Yi,
2976
+ ui,
2977
+ {
2978
+ session: 0,
2979
+ userid: 1,
2980
+ endpoint: 2,
2981
+ cmsendpoint: 58,
2982
+ cmsenv: 59,
2983
+ lang: 3,
2984
+ languageslist: 4,
2985
+ activecategory: 5,
2986
+ translationurl: 6,
2987
+ customlocaleidentifier: 7,
2988
+ gmversion: 8,
2989
+ countryflagheader: 9,
2990
+ displaybalanceoption: 10,
2991
+ countryflaghamburger: 11,
2992
+ hasdefaultamount: 12,
2993
+ playercurrency: 13,
2994
+ shortcashierenabled: 14,
2995
+ producttype: 15,
2996
+ successurl: 16,
2997
+ failurl: 17,
2998
+ cancelurl: 18,
2999
+ sportsurl: 19,
3000
+ casinourl: 20,
3001
+ contacturl: 21,
3002
+ homeurl: 22,
3003
+ depositurl: 23,
3004
+ actionevent: 24,
3005
+ userroles: 60,
3006
+ showsubgroups: 25,
3007
+ mbsource: 26,
3008
+ clientstyling: 27,
3009
+ clientstylingurl: 28,
3010
+ currencyseparator: 29,
3011
+ currencydecimal: 30,
3012
+ currencyprecision: 31,
3013
+ totalcalculationmode: 32,
3014
+ gamification: 33
3015
+ },
3016
+ Fi,
3017
+ [-1, -1, -1, -1, -1]
3018
+ );
3019
+ }
3020
+ get session() {
3021
+ return this.$$.ctx[0];
3022
+ }
3023
+ set session(e) {
3024
+ this.$$set({ session: e }), E();
3025
+ }
3026
+ get userid() {
3027
+ return this.$$.ctx[1];
3028
+ }
3029
+ set userid(e) {
3030
+ this.$$set({ userid: e }), E();
3031
+ }
3032
+ get endpoint() {
3033
+ return this.$$.ctx[2];
3034
+ }
3035
+ set endpoint(e) {
3036
+ this.$$set({ endpoint: e }), E();
3037
+ }
3038
+ get cmsendpoint() {
3039
+ return this.$$.ctx[58];
3040
+ }
3041
+ set cmsendpoint(e) {
3042
+ this.$$set({ cmsendpoint: e }), E();
3043
+ }
3044
+ get cmsenv() {
3045
+ return this.$$.ctx[59];
3046
+ }
3047
+ set cmsenv(e) {
3048
+ this.$$set({ cmsenv: e }), E();
3049
+ }
3050
+ get lang() {
3051
+ return this.$$.ctx[3];
3052
+ }
3053
+ set lang(e) {
3054
+ this.$$set({ lang: e }), E();
3055
+ }
3056
+ get languageslist() {
3057
+ return this.$$.ctx[4];
3058
+ }
3059
+ set languageslist(e) {
3060
+ this.$$set({ languageslist: e }), E();
3061
+ }
3062
+ get activecategory() {
3063
+ return this.$$.ctx[5];
3064
+ }
3065
+ set activecategory(e) {
3066
+ this.$$set({ activecategory: e }), E();
3067
+ }
3068
+ get translationurl() {
3069
+ return this.$$.ctx[6];
3070
+ }
3071
+ set translationurl(e) {
3072
+ this.$$set({ translationurl: e }), E();
3073
+ }
3074
+ get customlocaleidentifier() {
3075
+ return this.$$.ctx[7];
3076
+ }
3077
+ set customlocaleidentifier(e) {
3078
+ this.$$set({ customlocaleidentifier: e }), E();
3079
+ }
3080
+ get gmversion() {
3081
+ return this.$$.ctx[8];
3082
+ }
3083
+ set gmversion(e) {
3084
+ this.$$set({ gmversion: e }), E();
3085
+ }
3086
+ get countryflagheader() {
3087
+ return this.$$.ctx[9];
3088
+ }
3089
+ set countryflagheader(e) {
3090
+ this.$$set({ countryflagheader: e }), E();
3091
+ }
3092
+ get displaybalanceoption() {
3093
+ return this.$$.ctx[10];
3094
+ }
3095
+ set displaybalanceoption(e) {
3096
+ this.$$set({ displaybalanceoption: e }), E();
3097
+ }
3098
+ get countryflaghamburger() {
3099
+ return this.$$.ctx[11];
3100
+ }
3101
+ set countryflaghamburger(e) {
3102
+ this.$$set({ countryflaghamburger: e }), E();
3103
+ }
3104
+ get hasdefaultamount() {
3105
+ return this.$$.ctx[12];
3106
+ }
3107
+ set hasdefaultamount(e) {
3108
+ this.$$set({ hasdefaultamount: e }), E();
3109
+ }
3110
+ get playercurrency() {
3111
+ return this.$$.ctx[13];
3112
+ }
3113
+ set playercurrency(e) {
3114
+ this.$$set({ playercurrency: e }), E();
3115
+ }
3116
+ get shortcashierenabled() {
3117
+ return this.$$.ctx[14];
3118
+ }
3119
+ set shortcashierenabled(e) {
3120
+ this.$$set({ shortcashierenabled: e }), E();
3121
+ }
3122
+ get producttype() {
3123
+ return this.$$.ctx[15];
3124
+ }
3125
+ set producttype(e) {
3126
+ this.$$set({ producttype: e }), E();
3127
+ }
3128
+ get successurl() {
3129
+ return this.$$.ctx[16];
3130
+ }
3131
+ set successurl(e) {
3132
+ this.$$set({ successurl: e }), E();
3133
+ }
3134
+ get failurl() {
3135
+ return this.$$.ctx[17];
3136
+ }
3137
+ set failurl(e) {
3138
+ this.$$set({ failurl: e }), E();
3139
+ }
3140
+ get cancelurl() {
3141
+ return this.$$.ctx[18];
3142
+ }
3143
+ set cancelurl(e) {
3144
+ this.$$set({ cancelurl: e }), E();
3145
+ }
3146
+ get sportsurl() {
3147
+ return this.$$.ctx[19];
3148
+ }
3149
+ set sportsurl(e) {
3150
+ this.$$set({ sportsurl: e }), E();
3151
+ }
3152
+ get casinourl() {
3153
+ return this.$$.ctx[20];
3154
+ }
3155
+ set casinourl(e) {
3156
+ this.$$set({ casinourl: e }), E();
3157
+ }
3158
+ get contacturl() {
3159
+ return this.$$.ctx[21];
3160
+ }
3161
+ set contacturl(e) {
3162
+ this.$$set({ contacturl: e }), E();
3163
+ }
3164
+ get homeurl() {
3165
+ return this.$$.ctx[22];
3166
+ }
3167
+ set homeurl(e) {
3168
+ this.$$set({ homeurl: e }), E();
3169
+ }
3170
+ get depositurl() {
3171
+ return this.$$.ctx[23];
3172
+ }
3173
+ set depositurl(e) {
3174
+ this.$$set({ depositurl: e }), E();
3175
+ }
3176
+ get actionevent() {
3177
+ return this.$$.ctx[24];
3178
+ }
3179
+ set actionevent(e) {
3180
+ this.$$set({ actionevent: e }), E();
3181
+ }
3182
+ get userroles() {
3183
+ return this.$$.ctx[60];
3184
+ }
3185
+ set userroles(e) {
3186
+ this.$$set({ userroles: e }), E();
3187
+ }
3188
+ get showsubgroups() {
3189
+ return this.$$.ctx[25];
3190
+ }
3191
+ set showsubgroups(e) {
3192
+ this.$$set({ showsubgroups: e }), E();
3193
+ }
3194
+ get mbsource() {
3195
+ return this.$$.ctx[26];
3196
+ }
3197
+ set mbsource(e) {
3198
+ this.$$set({ mbsource: e }), E();
3199
+ }
3200
+ get clientstyling() {
3201
+ return this.$$.ctx[27];
3202
+ }
3203
+ set clientstyling(e) {
3204
+ this.$$set({ clientstyling: e }), E();
3205
+ }
3206
+ get clientstylingurl() {
3207
+ return this.$$.ctx[28];
3208
+ }
3209
+ set clientstylingurl(e) {
3210
+ this.$$set({ clientstylingurl: e }), E();
3211
+ }
3212
+ get currencyseparator() {
3213
+ return this.$$.ctx[29];
3214
+ }
3215
+ set currencyseparator(e) {
3216
+ this.$$set({ currencyseparator: e }), E();
3217
+ }
3218
+ get currencydecimal() {
3219
+ return this.$$.ctx[30];
3220
+ }
3221
+ set currencydecimal(e) {
3222
+ this.$$set({ currencydecimal: e }), E();
3223
+ }
3224
+ get currencyprecision() {
3225
+ return this.$$.ctx[31];
3226
+ }
3227
+ set currencyprecision(e) {
3228
+ this.$$set({ currencyprecision: e }), E();
3229
+ }
3230
+ get totalcalculationmode() {
3231
+ return this.$$.ctx[32];
3232
+ }
3233
+ set totalcalculationmode(e) {
3234
+ this.$$set({ totalcalculationmode: e }), E();
3235
+ }
3236
+ get gamification() {
3237
+ return this.$$.ctx[33];
3238
+ }
3239
+ set gamification(e) {
3240
+ this.$$set({ gamification: e }), E();
3241
+ }
3242
+ }
3243
+ di(Qi, { session: {}, userid: {}, endpoint: {}, cmsendpoint: {}, cmsenv: {}, lang: {}, languageslist: {}, activecategory: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, countryflagheader: {}, displaybalanceoption: {}, countryflaghamburger: {}, hasdefaultamount: {}, playercurrency: {}, shortcashierenabled: {}, producttype: {}, successurl: {}, failurl: {}, cancelurl: {}, sportsurl: {}, casinourl: {}, contacturl: {}, homeurl: {}, depositurl: {}, actionevent: {}, userroles: {}, showsubgroups: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {}, totalcalculationmode: {}, gamification: {} }, [], [], !0);
3244
+ export {
3245
+ Qi as default
3246
+ };