@everymatrix/casino-header-controller-nd 1.76.12 → 1.76.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenuNd-A1rbyIlh.js → CasinoHamburgerMenuNd-C3tiFapV.js} +4 -4
- package/components/{CasinoHamburgerMenuNd-BbLVzDLA.js → CasinoHamburgerMenuNd-Cyp_3Pjq.js} +4 -4
- package/components/{CasinoHeaderControllerNd-Y0iH2fty.js → CasinoHeaderControllerNd-BPvvFK6c.js} +1110 -1080
- package/components/{CasinoHeaderControllerNd-DIWidaLF.js → CasinoHeaderControllerNd-Cd99fvmP.js} +838 -858
- package/components/CasinoHeaderControllerNd-Dcbs-iwq.cjs +1 -0
- package/components/{PlayerAccountBalanceModalNd-Cygfal3S.js → PlayerAccountBalanceModalNd-BjLh8BEP.js} +1 -1
- package/components/{PlayerAccountBalanceModalNd-ggP_eQuJ.js → PlayerAccountBalanceModalNd-BrobHqbV.js} +10 -10
- package/components/{PlayerDeposit-DcwySzWb.js → PlayerDeposit-BHLSR7a_.js} +24 -24
- package/components/{PlayerDeposit-BPhFbd8a.js → PlayerDeposit-COiRRSRi.js} +17 -17
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
- package/stencil/{gamification-dropdown-60536faa-CdoDh_iS.js → gamification-dropdown-60536faa-BfbbIH0h.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-ByoQkowS.js → gamification-dropdown-60536faa-CYPNS2SA.js} +1 -1
- package/stencil/{gamification-dropdown-60536faa-jADsXxs4.cjs → gamification-dropdown-60536faa-iwjy04Fm.cjs} +1 -1
- package/stencil/{gamification-dropdown-DSqqyaTZ.js → gamification-dropdown-CE2Ixn-O.js} +6 -2
- package/stencil/{gamification-dropdown-CMVnOpVS.js → gamification-dropdown-CPL2IUzf.js} +6 -2
- package/stencil/gamification-dropdown-Gjtwk9m4.cjs +1 -0
- package/stencil/{gamification-dropdown_4-0STJmTu3.js → gamification-dropdown_4-CRTLR4sa.js} +4 -4
- package/stencil/{gamification-dropdown_4-wVf8PnId.cjs → gamification-dropdown_4-DXq-uIzD.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-Cn2nDa12.js → gamification-dropdown_4-DcFpqFzH.js} +4 -4
- package/stencil/index-1ef3a64c-B1UltD4v.cjs +1 -0
- package/stencil/index-1ef3a64c-Bl471LIY.js +557 -0
- package/stencil/index-1ef3a64c-DqwB8Beo.js +573 -0
- package/stencil/{index-71b1bdfa-aT2URAOG.cjs → index-71b1bdfa-BPY14JfC.cjs} +1 -1
- package/stencil/{index-71b1bdfa-CqsRB5Zq.js → index-71b1bdfa-CWc2W3-h.js} +57 -56
- package/stencil/{index-71b1bdfa-DWJfvSms.js → index-71b1bdfa-CmeNKkYZ.js} +53 -52
- package/stencil/{player-elevate-card-C_bGjWZ4.cjs → player-elevate-card-BVfbuUjE.cjs} +1 -1
- package/stencil/{player-elevate-card-D_AqKh09.js → player-elevate-card-Bw41M29a.js} +2 -2
- package/stencil/{player-elevate-card-DV79k_97.js → player-elevate-card-Cuz2sCRr.js} +2 -2
- package/stencil/{player-elevate-card-items-08c6fbd8-DDaPFpxz.js → player-elevate-card-items-08c6fbd8-B5WzXPPY.js} +1 -1
- package/stencil/{player-elevate-card-items-08c6fbd8-CkxD6Q5o.cjs → player-elevate-card-items-08c6fbd8-BxOi7rN2.cjs} +1 -1
- package/stencil/{player-elevate-card-items-08c6fbd8-CKjKj8rt.js → player-elevate-card-items-08c6fbd8-Do1JLWE6.js} +1 -1
- package/stencil/{player-elevate-pointcard-BXLJdcos.js → player-elevate-pointcard-26tN2vbt.js} +2 -2
- package/stencil/{player-elevate-pointcard-vC-WI2he.cjs → player-elevate-pointcard-DGwp0CGN.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-BAE3Vgzi.js → player-elevate-pointcard-FWrlCaYU.js} +2 -2
- package/stencil/{player-rakeback-card-Ca3Pjwd4.js → player-rakeback-card-B1GwlpBH.js} +1 -1
- package/stencil/{player-rakeback-card-DZVQyKwK.cjs → player-rakeback-card-D8Maf2AC.cjs} +1 -1
- package/stencil/{player-rakeback-card-Cj3yH6EJ.js → player-rakeback-card-DCf88R_2.js} +1 -1
- package/stencil/user-deposit-withdrawal-Cvki4Kek.js +721 -0
- package/stencil/user-deposit-withdrawal-H3FmzEfw.cjs +72 -0
- package/stencil/user-deposit-withdrawal-YcDyePCz.js +699 -0
- package/components/CasinoHeaderControllerNd-BZ4hl5VU.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/gamification-dropdown-aHzwtOKn.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Ze=(n,t,a)=>new Promise((o,i)=>{var l=_=>{try{d(a.next(_))}catch(p){i(p)}},s=_=>{try{d(a.throw(_))}catch(p){i(p)}},d=_=>_.done?o(_.value):Promise.resolve(_.value).then(l,s);d((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-DAYnP-8N.cjs");function Qt({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function Ye(n,t){e.addMessages(n,t)}function qt(n){e.$locale.set(n)}const Je={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions"},tr:{login:"Giriş",register:"Kayıt",deposit:"Yatır",promotions:"Promosyonlar"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones"},"en-us":{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"}},Kt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function $t(n){e.append_styles(n,"svelte-cod331",`*,*::before,*::after{font-family:inherit}:host{font-family:inherit}.NavIcon{width:30px;height:28px;position:relative;margin:50px auto;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:0.5s ease-in-out;-moz-transition:0.5s ease-in-out;-o-transition:0.5s ease-in-out;transition:0.5s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:0.25s ease-in-out;-moz-transition:0.25s ease-in-out;-o-transition:0.25s ease-in-out;transition:0.25s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-o-transform:rotate(135deg);transform:rotate(135deg)}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;-webkit-transform:rotate(-135deg);-moz-transform:rotate(-135deg);-o-transform:rotate(-135deg);transform:rotate(-135deg)}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}.SkeletonText{opacity:0.5;margin:0 15px;width:125px;height:15px;border-radius:15px}.HeaderContainer{width:100%;background-color:var(--emw--header-color-background, var(--emw--color-background, #000000));display:flex;flex-direction:column;align-items:center;user-select:none}.HeaderContainer .MainNav{width:99%;height:84px;display:flex;gap:5px;flex-direction:row;align-items:center;margin:0 15px}.HeaderContainer .MainNav .HeaderMobileMainNav{display:flex;margin-left:5px}.HeaderContainer .MainNav .Logo{display:flex;justify-content:center;align-items:center;width:10%;min-width:75px;transition:width 0.2s}.HeaderContainer .MainNav .Logo .HeaderBranding{width:140px;cursor:pointer}.HeaderContainer .MainNav .Logo .HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderContainer .MainNav .Logo .HeaderBranding{margin-right:0}}.HeaderContainer .MainNav .Logo:active{opacity:0.9;transform:scale(1.02)}.HeaderContainer .MainNav .GamificationWrapper{margin-right:16px}.HeaderContainer .MainNav .BalanceDepositWrapper{height:34px;background-color:white;display:flex;position:relative;justify-content:center;align-items:center;border-radius:30px}.HeaderContainer .MainNav .BalanceDepositWrapper .Background{height:34px;position:absolute;background:linear-gradient(0deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(180deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box;border-radius:30px;z-index:3;transition:background-color 0.3s ease}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit{display:flex;align-items:center;cursor:pointer;justify-content:center;z-index:4}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton{font-size:14px;text-align:center;cursor:pointer;padding:0 10px;transition:color 0.5s linear;display:flex;justify-content:center;align-items:center}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p{text-transform:uppercase;color:white;transition:color 0.3s ease}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p:hover{text-shadow:0px 1px 5px rgba(0, 0, 0, 0.2)}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p:active{color:black}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit.Open .DepositButton p{transition:color 0.5s linear;color:black;opacity:0.5}.HeaderContainer .MainNav .BalanceDepositWrapper .Balance{display:flex;z-index:4;height:100%;padding-left:10px;align-items:center}.HeaderContainer .MainNav .BalanceDepositWrapper .Balance.Open{color:white}.HeaderContainer .MainNav .Profile{display:flex;justify-content:center;flex-direction:column;cursor:pointer}.HeaderContainer .MainNav .Profile .ProfileWrapper{width:30px;height:30px;background-color:orange;border-radius:50px;display:flex;justify-content:center;align-items:center;transition:width 0.3s ease}.HeaderContainer .MainNav .Profile .ProfileWrapper svg{width:15px;height:16px;fill:var(--emw--color-white, #FFFFFF)}.HeaderContainer .MainNav .Profile .ProfileWrapper:hover{box-shadow:0px 0px 4px white}.HeaderContainer .MainNav .Profile .ProfileWrapper:active svg{fill:var(--emw--color-black, #000000)}.HeaderContainer .MainNav .PrimaryMenu{display:flex;flex-direction:row;align-items:center;width:100%}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu{color:white;margin:0 20px;text-transform:uppercase;height:84px;transition:color 0.5s;cursor:pointer}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:after{content:"";display:block;height:5px;width:100%;cursor:pointer;background-color:pink;position:relative}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu .MenuHover{width:0px;transition:transform 0.3s ease-in-out;transform-origin:center;transform:scaleX(0)}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu p{height:33px;margin-top:35px}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:hover,.HeaderContainer .MainNav .PrimaryMenu .ItemMenu.Active{color:#22B04F}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:hover .MenuHover,.HeaderContainer .MainNav .PrimaryMenu .ItemMenu.Active .MenuHover{transform:scaleX(1);opacity:1;background-color:rgba(255, 255, 255, 0.5);width:100%;position:relative;height:5px;z-index:4}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:active{color:rgb(255, 255, 255)}.HeaderContainer .MainNav .AuthButtons{display:flex;flex-direction:row;justify-content:center;align-items:center}.HeaderContainer .MainNav .AuthButtons .Item{gap:5px;padding:0 25px;display:flex;align-items:center;color:white}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin{border:1px solid var(--emw--color-primary);font-size:14px;height:36px;text-align:center;margin-right:10px;position:relative;cursor:pointer;border-radius:var(--emw--border-radius-medium, 10px)}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin:active{background:var(--emw--color-primary);opacity:0.6}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister{background:var(--emw--color-primary);border-radius:var(--emw--border-radius-medium, 10px);font-size:14px;height:36px;text-align:center;line-height:44px;cursor:pointer}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister:hover{background:linear-gradient(180deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister:active{background:linear-gradient(0deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(180deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box}.HeaderContainer .MainNav .AuthButtons .Item svg{width:15px;height:15px;fill:white;padding-bottom:2px}.HeaderContainer .MainNav .LanguageSelector{align-content:center;cursor:pointer;transform:all 0.3s linear;color:white}.HeaderContainer .MainNav .LanguageSelector .SelectedOption{display:flex;align-items:center;justify-content:center}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transition:all 0.2s}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive:hover,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive:hover{transform:scale(1.2)}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive svg,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive svg{margin:2px 0px}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive{transform:scale(1.1) rotateX(180deg);margin-bottom:5px}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive:hover{transform:scale(1.1) rotateX(180deg)}.HeaderContainer .MainNav .LanguageSelector img.LanguageName{width:30px;border-radius:10px}.HeaderContainer .MainNav .LanguageSelector .LanguageName .ItemLanguage{display:flex;justify-content:space-around}.HeaderContainer .MainNav .LanguageSelector .LanguageName svg{width:30px;border-radius:10px}.HeaderContainer .MainNav .LanguageSelector .OptionList{border:1px solid var(--emw--header-color-primary);padding:10px;position:absolute;cursor:pointer;display:flex;gap:4px;flex-direction:column;border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.4s ease;opacity:0;visibility:hidden;z-index:6;right:5px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%)}.HeaderContainer .MainNav .LanguageSelector .OptionList.Active{opacity:1;visibility:visible}.HeaderContainer .MainNav .LanguageSelector .OptionList .FlagIcon>img{width:16px;border-radius:5px;margin-right:5px}.HeaderContainer .MainNav .LanguageSelector .OptionList .LanguageOption{display:flex;align-items:center;transform:scale(1.1);gap:3px;padding:7px}.HeaderContainer .MainNav .LanguageSelector .OptionList .LanguageOption:hover{transition:color 0.2s;color:var(--emw--color-primary);background:var(--emw--color-primary) transparent;box-shadow:inset 0px 0px 0px 2px var(--emw--color-primary);border-radius:var(--emw--border-radius-medium, 10px);box-sizing:border-box}.HeaderContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(35, 172, 77) 50%, rgb(0, 0, 0) 100%);z-index:3}.HeaderContainer .SecondaryNav{width:100%;height:50px;display:flex;align-items:center;background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);z-index:3}.HeaderContainer .SecondaryNav .LeftSpace{width:10%}.HeaderContainer .SecondaryNav .SecondaryMenuContent{text-transform:uppercase;margin:0 20px;color:white;transition:color 0.5s;display:flex;cursor:pointer;user-select:none;gap:20px}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary{transition:color 0.5s}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary .Active{color:black}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary .Active:hover{opacity:0.5;color:white}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary:hover{color:black}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary:active{color:white}.HeaderContainer .OptionListOverlay{position:fixed;top:0;bottom:0;left:0;right:0;z-index:5}@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}.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:var(--emw--border-radius-medium, 10px);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}.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}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.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}.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 .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}`)}function Ve(n,t,a){const o=n.slice();return o[132]=t[a],o}function ea(n,t,a){const o=n.slice();return o[129]=t[a],o}function Xe(n,t,a){const o=n.slice();return o[135]=t[a],o}const ta=n=>({}),Qe=n=>({}),aa=n=>({}),qe=n=>({}),na=n=>({}),Ke=n=>({}),ia=n=>({}),$e=n=>({});function et(n,t,a){const o=n.slice();return o[140]=t[a],o}function ra(n,t,a){const o=n.slice();return o[129]=t[a],o}const oa=n=>({}),tt=n=>({});function at(n){let t,a,o,i,l,s,d,_,p,u;return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),i=e.space(),l=e.element("span"),s=e.space(),d=e.element("span"),e.attr(a,"class",_="NavIcon "+(n[50]?"Open":"")),e.attr(t,"class","HeaderMobileMainNav")},m(m,h){e.insert(m,t,h),e.append(t,a),e.append(a,o),e.append(a,i),e.append(a,l),e.append(a,s),e.append(a,d),p||(u=e.listen(a,"click",n[61]),p=!0)},p(m,h){h[1]&524288&&_!==(_="NavIcon "+(m[50]?"Open":""))&&e.attr(a,"class",_)},d(m){m&&e.detach(t),p=!1,u()}}}function sa(n){let t,a;return{c(){t=e.element("img"),e.src_url_equal(t.src,a=n[54])||e.attr(t,"src",a),e.attr(t,"alt","Logo")},m(o,i){e.insert(o,t,i)},p(o,i){i[1]&8388608&&!e.src_url_equal(t.src,a=o[54])&&e.attr(t,"src",a)},d(o){o&&e.detach(t)}}}function nt(n){let t;function a(l,s){return l[46]?ca:la}let o=a(n),i=o(n);return{c(){i.c(),t=e.empty()},m(l,s){i.m(l,s),e.insert(l,t,s)},p(l,s){o===(o=a(l))&&i?i.p(l,s):(i.d(1),i=o(l),i&&(i.c(),i.m(t.parentNode,t)))},d(l){l&&e.detach(t),i.d(l)}}}function la(n){let t,a=e.ensure_array_like(n[43]),o=[];for(let i=0;i<a.length;i+=1)o[i]=it(et(n,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();t=e.empty()},m(i,l){for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(i,l);e.insert(i,t,l)},p(i,l){if(l[1]&536875136){a=e.ensure_array_like(i[43]);let s;for(s=0;s<a.length;s+=1){const d=et(i,a,s);o[s]?o[s].p(d,l):(o[s]=it(d),o[s].c(),o[s].m(t.parentNode,t))}for(;s<o.length;s+=1)o[s].d(1);o.length=a.length}},d(i){i&&e.detach(t),e.destroy_each(o,i)}}}function ca(n){let t,a=e.ensure_array_like(new Array(6)),o=[];for(let i=0;i<a.length;i+=1)o[i]=da(ra(n,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();t=e.empty()},m(i,l){for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(i,l);e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t),e.destroy_each(o,i)}}}function it(n){let t,a,o=n[140].label+"",i,l,s,d,_,p,u;function m(){return n[77](n[140])}return{c(){t=e.element("div"),a=e.element("p"),i=e.text(o),l=e.space(),s=e.element("div"),d=e.space(),e.attr(s,"class","MenuHover"),e.attr(t,"class",_="ItemMenu "+(n[140].id==n[38]?"Active":""))},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,i),e.append(t,l),e.append(t,s),e.append(t,d),p||(u=e.listen(t,"click",m),p=!0)},p(h,k){n=h,k[1]&4096&&o!==(o=n[140].label+"")&&e.set_data(i,o),k[1]&4224&&_!==(_="ItemMenu "+(n[140].id==n[38]?"Active":""))&&e.attr(t,"class",_)},d(h){h&&e.detach(t),p=!1,u()}}}function da(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","Skeleton SkeletonText")},m(a,o){e.insert(a,t,o)},p:e.noop,d(a){a&&e.detach(t)}}}function ua(n){let t,a,o,i=n[55]("login")+"",l,s,d,_,p,u,m,h=n[55]("register")+"",k,L,H,I,C,b;return{c(){t=e.element("div"),a=e.element("div"),o=e.element("p"),l=e.text(i),s=e.space(),d=e.svg_element("svg"),_=e.svg_element("path"),p=e.space(),u=e.element("div"),m=e.element("p"),k=e.text(h),L=e.space(),H=e.svg_element("svg"),I=e.svg_element("path"),e.attr(_,"d","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"viewBox","0 0 448 512"),e.attr(a,"class","Item ItemLogin"),e.attr(I,"d","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"),e.attr(H,"xmlns","http://www.w3.org/2000/svg"),e.attr(H,"viewBox","0 0 320 512"),e.attr(u,"class","Item ItemRegister"),e.attr(t,"class","AuthButtons")},m(v,M){e.insert(v,t,M),e.append(t,a),e.append(a,o),e.append(o,l),e.append(a,s),e.append(a,d),e.append(d,_),e.append(t,p),e.append(t,u),e.append(u,m),e.append(m,k),e.append(u,L),e.append(u,H),e.append(H,I),C||(b=[e.listen(a,"click",n[86]),e.listen(u,"click",n[87])],C=!0)},p(v,M){M[1]&16777216&&i!==(i=v[55]("login")+"")&&e.set_data(l,i),M[1]&16777216&&h!==(h=v[55]("register")+"")&&e.set_data(k,h)},d(v){v&&e.detach(t),C=!1,e.run_all(b)}}}function ma(n){let t,a,o,i,l,s,d,_,p,u=n[55]("deposit")+"",m,h,k,L,H,I,C,b,v,M,G,N=n[35]==="true"&&!n[37]&&rt(n),A=n[51]&&ot(n);return{c(){N&&N.c(),t=e.space(),a=e.element("div"),o=e.element("div"),i=e.element("player-account-balance-modal-nd"),s=e.space(),d=e.element("div"),_=e.element("div"),p=e.element("p"),m=e.text(u),h=e.space(),A&&A.c(),L=e.space(),H=e.element("div"),C=e.space(),b=e.element("div"),v=e.element("div"),v.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',e.set_custom_element_data(i,"session",n[0]),e.set_custom_element_data(i,"userid",n[1]),e.set_custom_element_data(i,"endpoint",n[2]),e.set_custom_element_data(i,"mbsource",n[27]),e.set_custom_element_data(i,"lang",n[5]),e.set_custom_element_data(i,"clientstyling",n[28]),e.set_custom_element_data(i,"clientstylingurl",n[29]),e.set_custom_element_data(i,"gmversion",n[10]),e.set_custom_element_data(i,"displaybalanceoption",n[12]),e.set_custom_element_data(i,"totalcalculationmode",n[34]),e.set_custom_element_data(i,"currencydisplay",n[30]),e.set_custom_element_data(i,"maximumfractiondigits",n[31]),e.set_custom_element_data(i,"minimumfractiondigits",n[32]),e.set_custom_element_data(i,"customdisplayformat",n[33]),e.set_custom_element_data(i,"currencylocale",n[9]),e.attr(o,"class",l="Balance "+(n[52]?"Open":"")),e.attr(_,"class","DepositButton"),e.attr(d,"class",k="Deposit "+(n[52]?"Open":"")),e.attr(H,"class",I="Background "+(n[52]?"Open":"")),e.attr(a,"class","BalanceDepositWrapper"),e.attr(v,"class","ProfileWrapper"),e.attr(b,"class","Profile")},m(g,f){N&&N.m(g,f),e.insert(g,t,f),e.insert(g,a,f),e.append(a,o),e.append(o,i),n[79](o),e.append(a,s),e.append(a,d),e.append(d,_),e.append(_,p),e.append(p,m),e.append(d,h),A&&A.m(d,null),n[83](d),e.append(a,L),e.append(a,H),n[84](H),e.insert(g,C,f),e.insert(g,b,f),e.append(b,v),M||(G=[e.listen(_,"click",n[80]),e.listen(v,"click",n[85])],M=!0)},p(g,f){g[35]==="true"&&!g[37]?N?N.p(g,f):(N=rt(g),N.c(),N.m(t.parentNode,t)):N&&(N.d(1),N=null),f[0]&1&&e.set_custom_element_data(i,"session",g[0]),f[0]&2&&e.set_custom_element_data(i,"userid",g[1]),f[0]&4&&e.set_custom_element_data(i,"endpoint",g[2]),f[0]&134217728&&e.set_custom_element_data(i,"mbsource",g[27]),f[0]&32&&e.set_custom_element_data(i,"lang",g[5]),f[0]&268435456&&e.set_custom_element_data(i,"clientstyling",g[28]),f[0]&536870912&&e.set_custom_element_data(i,"clientstylingurl",g[29]),f[0]&1024&&e.set_custom_element_data(i,"gmversion",g[10]),f[0]&4096&&e.set_custom_element_data(i,"displaybalanceoption",g[12]),f[1]&8&&e.set_custom_element_data(i,"totalcalculationmode",g[34]),f[0]&1073741824&&e.set_custom_element_data(i,"currencydisplay",g[30]),f[1]&1&&e.set_custom_element_data(i,"maximumfractiondigits",g[31]),f[1]&2&&e.set_custom_element_data(i,"minimumfractiondigits",g[32]),f[1]&4&&e.set_custom_element_data(i,"customdisplayformat",g[33]),f[0]&512&&e.set_custom_element_data(i,"currencylocale",g[9]),f[1]&2097152&&l!==(l="Balance "+(g[52]?"Open":""))&&e.attr(o,"class",l),f[1]&16777216&&u!==(u=g[55]("deposit")+"")&&e.set_data(m,u),g[51]?A?A.p(g,f):(A=ot(g),A.c(),A.m(d,null)):A&&(A.d(1),A=null),f[1]&2097152&&k!==(k="Deposit "+(g[52]?"Open":""))&&e.attr(d,"class",k),f[1]&2097152&&I!==(I="Background "+(g[52]?"Open":""))&&e.attr(H,"class",I)},d(g){g&&(e.detach(t),e.detach(a),e.detach(C),e.detach(b)),N&&N.d(g),n[79](null),A&&A.d(),n[83](null),n[84](null),M=!1,e.run_all(G)}}}function rt(n){let t,a;return{c(){t=e.element("div"),a=e.element("gamification-dropdown"),e.set_custom_element_data(a,"session",n[0]),e.set_custom_element_data(a,"endpoint",n[2]),e.set_custom_element_data(a,"mb-source",n[27]),e.set_custom_element_data(a,"language",n[5]),e.set_custom_element_data(a,"client-styling",n[28]),e.set_custom_element_data(a,"client-styling-url",n[29]),e.set_custom_element_data(a,"translation-url",n[8]),e.attr(t,"class","GamificationWrapper")},m(o,i){e.insert(o,t,i),e.append(t,a)},p(o,i){i[0]&1&&e.set_custom_element_data(a,"session",o[0]),i[0]&4&&e.set_custom_element_data(a,"endpoint",o[2]),i[0]&134217728&&e.set_custom_element_data(a,"mb-source",o[27]),i[0]&32&&e.set_custom_element_data(a,"language",o[5]),i[0]&268435456&&e.set_custom_element_data(a,"client-styling",o[28]),i[0]&536870912&&e.set_custom_element_data(a,"client-styling-url",o[29]),i[0]&256&&e.set_custom_element_data(a,"translation-url",o[8])},d(o){o&&e.detach(t)}}}function ot(n){let t,a,o,i,l,s,d,_;function p(h,k){return h[10]==="gmcore"?ga:pa}let u=p(n),m=u(n);return{c(){t=e.element("div"),a=e.space(),o=e.element("div"),i=e.element("div"),l=e.element("div"),l.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke-width="2"></line></svg>',s=e.space(),m.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(l,"class","ClosePopUpButtonShortCashier"),e.attr(i,"class","ShortCashierContainerMobile"),e.attr(o,"class","ShortCashierContainerWrapperMobile")},m(h,k){e.insert(h,t,k),e.insert(h,a,k),e.insert(h,o,k),e.append(o,i),e.append(i,l),e.append(i,s),m.m(i,null),d||(_=[e.listen(t,"click",n[81]),e.listen(l,"click",n[82])],d=!0)},p(h,k){u===(u=p(h))&&m?m.p(h,k):(m.d(1),m=u(h),m&&(m.c(),m.m(i,null)))},d(h){h&&(e.detach(t),e.detach(a),e.detach(o)),m.d(),d=!1,e.run_all(_)}}}function pa(n){let t,a,o,i,l,s,d,_,p;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",n[2]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Mobile"),e.set_custom_element_data(t,"language",n[5]),e.set_custom_element_data(t,"mbsource",n[27]),e.set_custom_element_data(t,"is-short-cashier",n[16]),e.set_custom_element_data(t,"product-type",n[17]),e.set_custom_element_data(t,"user-id",n[1]),e.set_custom_element_data(t,"session",n[0]),e.set_custom_element_data(t,"success-url",a="https://"+window.location.hostname+"/"+n[5]+n[18]),e.set_custom_element_data(t,"cancel-url",o="https://"+window.location.hostname+"/"+n[5]+n[20]),e.set_custom_element_data(t,"fail-url",i="https://"+window.location.hostname+"/"+n[5]+n[19]),e.set_custom_element_data(t,"sports-url",l="https://"+window.location.hostname+"/"+n[5]+n[21]),e.set_custom_element_data(t,"casino-url",s="https://"+window.location.hostname+"/"+n[5]+n[22]),e.set_custom_element_data(t,"contact-url",d="https://"+window.location.hostname+"/"+n[5]+n[23]),e.set_custom_element_data(t,"home-url",_="https://"+window.location.hostname+"/"+n[5]+n[24]),e.set_custom_element_data(t,"deposit-url",p="https://"+window.location.hostname+"/"+n[5]+n[25])},m(u,m){e.insert(u,t,m)},p(u,m){m[0]&4&&e.set_custom_element_data(t,"endpoint",u[2]),m[0]&32&&e.set_custom_element_data(t,"language",u[5]),m[0]&134217728&&e.set_custom_element_data(t,"mbsource",u[27]),m[0]&65536&&e.set_custom_element_data(t,"is-short-cashier",u[16]),m[0]&131072&&e.set_custom_element_data(t,"product-type",u[17]),m[0]&2&&e.set_custom_element_data(t,"user-id",u[1]),m[0]&1&&e.set_custom_element_data(t,"session",u[0]),m[0]&262176&&a!==(a="https://"+window.location.hostname+"/"+u[5]+u[18])&&e.set_custom_element_data(t,"success-url",a),m[0]&1048608&&o!==(o="https://"+window.location.hostname+"/"+u[5]+u[20])&&e.set_custom_element_data(t,"cancel-url",o),m[0]&524320&&i!==(i="https://"+window.location.hostname+"/"+u[5]+u[19])&&e.set_custom_element_data(t,"fail-url",i),m[0]&2097184&&l!==(l="https://"+window.location.hostname+"/"+u[5]+u[21])&&e.set_custom_element_data(t,"sports-url",l),m[0]&4194336&&s!==(s="https://"+window.location.hostname+"/"+u[5]+u[22])&&e.set_custom_element_data(t,"casino-url",s),m[0]&8388640&&d!==(d="https://"+window.location.hostname+"/"+u[5]+u[23])&&e.set_custom_element_data(t,"contact-url",d),m[0]&16777248&&_!==(_="https://"+window.location.hostname+"/"+u[5]+u[24])&&e.set_custom_element_data(t,"home-url",_),m[0]&33554464&&p!==(p="https://"+window.location.hostname+"/"+u[5]+u[25])&&e.set_custom_element_data(t,"deposit-url",p)},d(u){u&&e.detach(t)}}}function ga(n){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",n[2]),e.set_custom_element_data(t,"session",n[0]),e.set_custom_element_data(t,"mbsource",n[27]),e.set_custom_element_data(t,"playerid",n[1]),e.set_custom_element_data(t,"lang",n[5]),e.set_custom_element_data(t,"hasdefaultamount",n[14]),e.set_custom_element_data(t,"playercurrency",n[15]),e.set_custom_element_data(t,"shortcashierenabled",n[16]),e.set_custom_element_data(t,"clientstyling",n[28]),e.set_custom_element_data(t,"clientstylingurl",n[29])},m(a,o){e.insert(a,t,o)},p(a,o){o[0]&4&&e.set_custom_element_data(t,"endpoint",a[2]),o[0]&1&&e.set_custom_element_data(t,"session",a[0]),o[0]&134217728&&e.set_custom_element_data(t,"mbsource",a[27]),o[0]&2&&e.set_custom_element_data(t,"playerid",a[1]),o[0]&32&&e.set_custom_element_data(t,"lang",a[5]),o[0]&16384&&e.set_custom_element_data(t,"hasdefaultamount",a[14]),o[0]&32768&&e.set_custom_element_data(t,"playercurrency",a[15]),o[0]&65536&&e.set_custom_element_data(t,"shortcashierenabled",a[16]),o[0]&268435456&&e.set_custom_element_data(t,"clientstyling",a[28]),o[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",a[29])},d(a){a&&e.detach(t)}}}function st(n){let t,a=n[49].length>1&<(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","LanguageSelector")},m(o,i){e.insert(o,t,i),a&&a.m(t,null)},p(o,i){o[49].length>1?a?a.p(o,i):(a=lt(o),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(o){o&&e.detach(t),a&&a.d()}}}function lt(n){let t,a,o,i,l,s,d,_,p,u,m,h;function k(b,v){return b[11]=="true"?fa:_a}let L=k(n),H=L(n),I=e.ensure_array_like(n[49]),C=[];for(let b=0;b<I.length;b+=1)C[b]=dt(Xe(n,I,b));return{c(){t=e.element("div"),a=e.element("div"),H.c(),o=e.space(),i=e.element("span"),l=e.svg_element("svg"),s=e.svg_element("path"),_=e.space(),p=e.element("div");for(let b=0;b<C.length;b+=1)C[b].c();e.attr(s,"id","arrow"),e.attr(s,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(s,"transform","translate(-274.511 -441.088)"),e.attr(s,"fill","#d1d1d1"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","14"),e.attr(l,"height","6.835"),e.attr(l,"viewBox","0 0 14 6.835"),e.attr(i,"class",d=n[47]?"TriangleActive":"TriangleInactive"),e.attr(a,"class","SelectedOption"),e.attr(t,"class","LanguageDropdown"),e.attr(p,"class",u="OptionList "+(n[47]?"Active":""))},m(b,v){e.insert(b,t,v),e.append(t,a),H.m(a,null),e.append(a,o),e.append(a,i),e.append(i,l),e.append(l,s),e.insert(b,_,v),e.insert(b,p,v);for(let M=0;M<C.length;M+=1)C[M]&&C[M].m(p,null);m||(h=e.listen(a,"click",n[88]),m=!0)},p(b,v){if(L===(L=k(b))&&H?H.p(b,v):(H.d(1),H=L(b),H&&(H.c(),H.m(a,o))),v[1]&65536&&d!==(d=b[47]?"TriangleActive":"TriangleInactive")&&e.attr(i,"class",d),v[0]&2048|v[1]&262144|v[2]&20){I=e.ensure_array_like(b[49]);let M;for(M=0;M<I.length;M+=1){const G=Xe(b,I,M);C[M]?C[M].p(G,v):(C[M]=dt(G),C[M].c(),C[M].m(p,null))}for(;M<C.length;M+=1)C[M].d(1);C.length=I.length}v[1]&65536&&u!==(u="OptionList "+(b[47]?"Active":""))&&e.attr(p,"class",u)},d(b){b&&(e.detach(t),e.detach(_),e.detach(p)),H.d(),e.destroy_each(C,b),m=!1,h()}}}function _a(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[53]),e.attr(t,"class","LanguageName")},m(o,i){e.insert(o,t,i),e.append(t,a)},p(o,i){i[1]&4194304&&e.set_data(a,o[53])},d(o){o&&e.detach(t)}}}function fa(n){let t,a;return{c(){t=e.element("img"),e.attr(t,"class","LanguageName"),e.src_url_equal(t.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[66](n[45])}.svg`)||e.attr(t,"src",a),e.attr(t,"alt","flag")},m(o,i){e.insert(o,t,i)},p(o,i){i[1]&16384&&!e.src_url_equal(t.src,a=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${o[66](o[45])}.svg`)&&e.attr(t,"src",a)},d(o){o&&e.detach(t)}}}function ct(n){let t,a,o;return{c(){t=e.element("span"),a=e.element("img"),e.src_url_equal(a.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[66](n[135])}.svg`)||e.attr(a,"src",o),e.attr(t,"class","FlagIcon")},m(i,l){e.insert(i,t,l),e.append(t,a)},p(i,l){l[1]&262144&&!e.src_url_equal(a.src,o=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${i[66](i[135])}.svg`)&&e.attr(a,"src",o)},d(i){i&&e.detach(t)}}}function dt(n){let t,a,o,i=n[66](n[135])+"",l,s,d,_,p=n[11]=="true"&&ct(n);function u(){return n[89](n[135])}return{c(){t=e.element("div"),p&&p.c(),a=e.space(),o=e.element("span"),l=e.text(i),s=e.space(),e.attr(o,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(m,h){e.insert(m,t,h),p&&p.m(t,null),e.append(t,a),e.append(t,o),e.append(o,l),e.append(t,s),d||(_=e.listen(t,"click",u),d=!0)},p(m,h){n=m,n[11]=="true"?p?p.p(n,h):(p=ct(n),p.c(),p.m(t,a)):p&&(p.d(1),p=null),h[1]&262144&&i!==(i=n[66](n[135])+"")&&e.set_data(l,i)},d(m){m&&e.detach(t),p&&p.d(),d=!1,_()}}}function ut(n){let t,a,o,i;function l(_,p){return _[46]?ba:ha}let s=l(n),d=s(n);return{c(){t=e.element("div"),a=e.element("div"),a.innerHTML='<span class="fi fi-gr"></span> <span class="fi fi-gr fis"></span>',o=e.space(),i=e.element("div"),d.c(),e.attr(a,"class","LeftSpace"),e.attr(i,"class","SecondaryMenuContent"),e.attr(t,"class","SecondaryNav")},m(_,p){e.insert(_,t,p),e.append(t,a),e.append(t,o),e.append(t,i),d.m(i,null)},p(_,p){s===(s=l(_))&&d?d.p(_,p):(d.d(1),d=s(_),d&&(d.c(),d.m(i,null)))},d(_){_&&e.detach(t),d.d()}}}function ha(n){let t,a=e.ensure_array_like(n[44]),o=[];for(let i=0;i<a.length;i+=1)o[i]=mt(Ve(n,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();t=e.empty()},m(i,l){for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(i,l);e.insert(i,t,l)},p(i,l){if(l[1]&8320|l[2]&2){a=e.ensure_array_like(i[44]);let s;for(s=0;s<a.length;s+=1){const d=Ve(i,a,s);o[s]?o[s].p(d,l):(o[s]=mt(d),o[s].c(),o[s].m(t.parentNode,t))}for(;s<o.length;s+=1)o[s].d(1);o.length=a.length}},d(i){i&&e.detach(t),e.destroy_each(o,i)}}}function ba(n){let t,a=e.ensure_array_like(new Array(2)),o=[];for(let i=0;i<a.length;i+=1)o[i]=wa(ea(n,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();t=e.empty()},m(i,l){for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(i,l);e.insert(i,t,l)},p:e.noop,d(i){i&&e.detach(t),e.destroy_each(o,i)}}}function mt(n){let t,a,o=n[132].label+"",i,l,s,d,_;function p(){return n[90](n[132])}return{c(){t=e.element("span"),a=e.element("p"),i=e.text(o),l=e.space(),e.attr(t,"class",s="ItemSecondary "+(n[132].id==n[38]?"Active":""))},m(u,m){e.insert(u,t,m),e.append(t,a),e.append(a,i),e.append(t,l),d||(_=e.listen(a,"click",p),d=!0)},p(u,m){n=u,m[1]&8192&&o!==(o=n[132].label+"")&&e.set_data(i,o),m[1]&8320&&s!==(s="ItemSecondary "+(n[132].id==n[38]?"Active":""))&&e.attr(t,"class",s)},d(u){u&&e.detach(t),d=!1,_()}}}function wa(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","Skeleton SkeletonText")},m(a,o){e.insert(a,t,o)},p:e.noop,d(a){a&&e.detach(t)}}}function pt(n){let t,a,o;return{c(){t=e.element("div"),e.attr(t,"class","OptionListOverlay")},m(i,l){e.insert(i,t,l),a||(o=e.listen(t,"click",n[91]),a=!0)},p:e.noop,d(i){i&&e.detach(t),a=!1,o()}}}function ya(n){let t,a,o,i,l,s,d,_,p,u,m,h,k,L,H,I,C,b,v,M,G,N,A,g,f,K,ce,z=n[37]&&at(n);const ae=n[74].logo,$=e.create_slot(ae,n,n[73],tt),j=$||sa(n);let O=!n[37]&&nt(n);const ne=n[74].slot4,T=e.create_slot(ne,n,n[73],$e);function de(c,w){return c[48]?ma:ua}let Y=de(n),R=Y(n);const q=n[74].slot1,x=e.create_slot(q,n,n[73],Ke),ie=n[74].slot2,U=e.create_slot(ie,n,n[73],qe),re=n[74].slot3,E=e.create_slot(re,n,n[73],Qe);let D=!n[37]&&st(n),P=!n[37]&&n[44].length>0&&ut(n),B=n[47]&&pt(n);return{c(){t=e.element("div"),a=e.element("div"),z&&z.c(),o=e.space(),i=e.element("div"),l=e.element("div"),j&&j.c(),s=e.space(),d=e.element("nav"),O&&O.c(),_=e.space(),p=e.element("div"),T&&T.c(),u=e.space(),R.c(),m=e.space(),h=e.element("div"),x&&x.c(),k=e.space(),L=e.element("div"),U&&U.c(),H=e.space(),I=e.element("div"),E&&E.c(),C=e.space(),D&&D.c(),b=e.space(),v=e.element("div"),v.innerHTML="",M=e.space(),P&&P.c(),G=e.space(),B&&B.c(),A=e.space(),g=e.element("casino-hamburger-menu-nd"),e.attr(l,"class","HeaderBranding"),e.attr(i,"class","Logo"),e.attr(d,"class","PrimaryMenu"),e.attr(p,"class","Slot4"),e.attr(h,"class","Slot1"),e.attr(L,"class","Slot2"),e.attr(I,"class","Slot3"),e.attr(a,"class","MainNav"),e.attr(v,"class","Separator"),e.attr(t,"class",N="HeaderContainer "+(n[37]?"Mobile":"")),e.set_custom_element_data(g,"cmsendpoint",n[3]),e.set_custom_element_data(g,"cmsenv",n[4]),e.set_custom_element_data(g,"userroles",n[26]),e.set_custom_element_data(g,"mbsource",n[27]),e.set_custom_element_data(g,"activecategory",n[7]),e.set_custom_element_data(g,"lang",n[5]),e.set_custom_element_data(g,"countryflaghamburger",n[13]),e.set_custom_element_data(g,"customlocaleidentifier",n[9]),e.set_custom_element_data(g,"languageslist",n[6]),e.set_custom_element_data(g,"clientstyling",n[28]),e.set_custom_element_data(g,"clientstylingurl",n[29])},m(c,w){e.insert(c,t,w),e.append(t,a),z&&z.m(a,null),e.append(a,o),e.append(a,i),e.append(i,l),j&&j.m(l,null),e.append(a,s),e.append(a,d),O&&O.m(d,null),n[78](d),e.append(a,_),e.append(a,p),T&&T.m(p,null),e.append(a,u),R.m(a,null),e.append(a,m),e.append(a,h),x&&x.m(h,null),e.append(a,k),e.append(a,L),U&&U.m(L,null),e.append(a,H),e.append(a,I),E&&E.m(I,null),e.append(a,C),D&&D.m(a,null),e.append(t,b),e.append(t,v),e.append(t,M),P&&P.m(t,null),e.append(t,G),B&&B.m(t,null),n[92](t),e.insert(c,A,w),e.insert(c,g,w),f=!0,K||(ce=[e.listen(l,"click",n[76]),e.listen(d,"mousedown",n[56]),e.listen(d,"mouseleave",n[57]),e.listen(d,"mouseup",n[58]),e.listen(d,"mousemove",n[59]),e.listen(d,"click",e.prevent_default(n[75]))],K=!0)},p(c,w){c[37]?z?z.p(c,w):(z=at(c),z.c(),z.m(a,o)):z&&(z.d(1),z=null),$?$.p&&(!f||w[2]&2048)&&e.update_slot_base($,ae,c,c[73],f?e.get_slot_changes(ae,c[73],w,oa):e.get_all_dirty_from_scope(c[73]),tt):j&&j.p&&(!f||w[1]&8388608)&&j.p(c,f?w:[-1,-1,-1,-1,-1]),c[37]?O&&(O.d(1),O=null):O?O.p(c,w):(O=nt(c),O.c(),O.m(d,null)),T&&T.p&&(!f||w[2]&2048)&&e.update_slot_base(T,ne,c,c[73],f?e.get_slot_changes(ne,c[73],w,ia):e.get_all_dirty_from_scope(c[73]),$e),Y===(Y=de(c))&&R?R.p(c,w):(R.d(1),R=Y(c),R&&(R.c(),R.m(a,m))),x&&x.p&&(!f||w[2]&2048)&&e.update_slot_base(x,q,c,c[73],f?e.get_slot_changes(q,c[73],w,na):e.get_all_dirty_from_scope(c[73]),Ke),U&&U.p&&(!f||w[2]&2048)&&e.update_slot_base(U,ie,c,c[73],f?e.get_slot_changes(ie,c[73],w,aa):e.get_all_dirty_from_scope(c[73]),qe),E&&E.p&&(!f||w[2]&2048)&&e.update_slot_base(E,re,c,c[73],f?e.get_slot_changes(re,c[73],w,ta):e.get_all_dirty_from_scope(c[73]),Qe),c[37]?D&&(D.d(1),D=null):D?D.p(c,w):(D=st(c),D.c(),D.m(a,null)),!c[37]&&c[44].length>0?P?P.p(c,w):(P=ut(c),P.c(),P.m(t,G)):P&&(P.d(1),P=null),c[47]?B?B.p(c,w):(B=pt(c),B.c(),B.m(t,null)):B&&(B.d(1),B=null),(!f||w[1]&64&&N!==(N="HeaderContainer "+(c[37]?"Mobile":"")))&&e.attr(t,"class",N),(!f||w[0]&8)&&e.set_custom_element_data(g,"cmsendpoint",c[3]),(!f||w[0]&16)&&e.set_custom_element_data(g,"cmsenv",c[4]),(!f||w[0]&67108864)&&e.set_custom_element_data(g,"userroles",c[26]),(!f||w[0]&134217728)&&e.set_custom_element_data(g,"mbsource",c[27]),(!f||w[0]&128)&&e.set_custom_element_data(g,"activecategory",c[7]),(!f||w[0]&32)&&e.set_custom_element_data(g,"lang",c[5]),(!f||w[0]&8192)&&e.set_custom_element_data(g,"countryflaghamburger",c[13]),(!f||w[0]&512)&&e.set_custom_element_data(g,"customlocaleidentifier",c[9]),(!f||w[0]&64)&&e.set_custom_element_data(g,"languageslist",c[6]),(!f||w[0]&268435456)&&e.set_custom_element_data(g,"clientstyling",c[28]),(!f||w[0]&536870912)&&e.set_custom_element_data(g,"clientstylingurl",c[29])},i(c){f||(e.transition_in(j,c),e.transition_in(T,c),e.transition_in(x,c),e.transition_in(U,c),e.transition_in(E,c),f=!0)},o(c){e.transition_out(j,c),e.transition_out(T,c),e.transition_out(x,c),e.transition_out(U,c),e.transition_out(E,c),f=!1},d(c){c&&(e.detach(t),e.detach(A),e.detach(g)),z&&z.d(),j&&j.d(c),O&&O.d(),n[78](null),T&&T.d(c),R.d(),x&&x.d(c),U&&U.d(c),E&&E.d(c),D&&D.d(),P&&P.d(),B&&B.d(),n[92](null),K=!1,e.run_all(ce)}}}function va(n,t,a){let o,i,l;e.component_subscribe(n,e.$format,r=>a(55,l=r));let{$$slots:s={},$$scope:d}=t;const _={"casino-hamburger-menu-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../index-9LnW1ufO.cjs"))},"player-account-balance-modal-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../index--hylBw4s.cjs"))},"player-deposit":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../index-q6-wcZIo.cjs"))},"user-deposit-withdrawal":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/user-deposit-withdrawal-H3FmzEfw.cjs")).then(r=>r.userDepositWithdrawal)},"gamification-dropdown":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/gamification-dropdown-Gjtwk9m4.cjs"))}};let{session:p=""}=t,{userid:u=""}=t,{endpoint:m=""}=t,{cmsendpoint:h=""}=t,{cmsenv:k=""}=t,{lang:L="en"}=t,{languageslist:H="en, ro"}=t,{activecategory:I=""}=t,{translationurl:C=""}=t,{customlocaleidentifier:b=""}=t,{gmversion:v=""}=t,{countryflagheader:M="false"}=t,{displaybalanceoption:G="All"}=t,{countryflaghamburger:N="false"}=t,{hasdefaultamount:A=""}=t,{playercurrency:g=""}=t,{disablelangtransform:f="false"}=t,{shortcashierenabled:K=""}=t,{producttype:ce=""}=t,{successurl:z=""}=t,{failurl:ae=""}=t,{cancelurl:$=""}=t,{sportsurl:j=""}=t,{casinourl:O=""}=t,{contacturl:ne=""}=t,{homeurl:T=""}=t,{depositurl:de=""}=t,{userroles:Y=""}=t,{mbsource:R}=t,{clientstyling:q=""}=t,{clientstylingurl:x=""}=t,{currencydisplay:ie="symbol"}=t,{maximumfractiondigits:U="2"}=t,{minimumfractiondigits:re="0"}=t,{customdisplayformat:E=""}=t,{totalcalculationmode:D="totalCashAmount"}=t,{gamification:P="false"}=t,{customlogourl:B}=t,{filterbykeyword:c="none"}=t,w,J,oe,ue,Z;Qt({withLocale:"en",translations:{}});let _e=!1,Pe=0,ze=0,F;const _t=r=>{var y,W;r.preventDefault(),_e=!0,F==null||F.classList.add("dragging"),Pe=r.pageX-((y=F==null?void 0:F.offsetLeft)!=null?y:0),ze=(W=F==null?void 0:F.scrollLeft)!=null?W:0},ft=r=>{r.preventDefault(),_e=!1,F==null||F.classList.remove("dragging")},ht=r=>{_e=!1,F==null||F.classList.remove("dragging")},bt=r=>{if(!_e||!F)return;r.preventDefault();const W=(r.pageX-F.offsetLeft-Pe)*1.5;a(42,F.scrollLeft=ze-W,F)},wt=()=>{fetch(C).then(r=>r.json()).then(r=>{Object.keys(r).forEach(y=>{Ye(y,r[y])})}).catch(r=>{console.log(r)})};Object.keys(Je).forEach(r=>{Ye(r,Je[r])});let ke=[],Me=[],Ce=[],He=[],V="",ee,Q,Oe,me=!0,se=!1,Se=!0,pe=!1,Ie=!1,Le=window.navigator.userAgent,fe=!1,he=[],be=!1,Ne="",Fe=!1,we=!1,Ae;const ge=r=>{typeof gtag=="function"&>ag("event",r,{context:"HeaderController"})},X=(r,y)=>{switch(r){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),ge("OpenLoginModal");break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),ge("OpenRegisterModal");break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href),ge("GoToHomepage");break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(Le)},window.location.href),ge("GoToMyAccount");break;case"deposit":i?(a(51,Fe=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),ge("GoToDeposit");break;case"language":a(53,Ae=Be()),window.postMessage({type:"LanguageChanged",selectedLanguage:V},window.location.href);break;case"page":window.postMessage({type:"NavigateTo",item:y,path:y.path});break;case"closeLanguageSelector":a(47,pe=!1);break}},yt=()=>{a(50,be=!be),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},De=r=>{if(r.data)switch(r.data.type){case"UserSessionID":r.data.userid,r.data.session,a(48,fe=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),r.data.showhamburger&&a(50,be=!1);break;case"LogoutSuccessfull":a(48,fe=!1);break;case"LanguageChanged":r.data.selectedLanguage.toLowerCase()!=L&&a(46,Se=!0),Re(),Te(Q);break;case"OpenShortCashier":X("deposit");break;case"CloseShortCashier":ye();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:J.clientHeight},window.location.href);break;case"BalanceModalStatus":a(52,we=r.data.status=="open"),xe(we);break;case"UpdateBalanceBackground":xe(we);break}},vt=()=>{if(!ue)return;let r=ue.getBoundingClientRect().width;a(41,Z.style.width=`${r}px`,Z),a(41,Z.style.left=`${oe.getBoundingClientRect().width}px`,Z)},xe=r=>{if(r&&oe){let y=oe.getBoundingClientRect().width;a(41,Z.style.width=`${y}px`,Z),a(41,Z.style.left="0px",Z)}else vt()},kt=()=>{a(48,fe=!0)},ye=r=>{a(51,Fe=!1),window.postMessage({type:"EnableScroll"},window.location.href),r==null||r.stopPropagation()},Re=()=>{Q=new URL(`${h}/${V.toLowerCase()}/menu`),ee=new URL(`${h}/${V.toLowerCase()}/hamburger-menu`),Oe=new URL(`${h}/${V.toLowerCase()}/op-options/style`);let r=e.getDevice(Le);Q.searchParams.append("env",k),Q.searchParams.append("language",V.toLowerCase()),Q.searchParams.append("userRoles",Y),r&&(r==="PC"?(ee.searchParams.append("device","dk"),Q.searchParams.append("device","dk")):(ee.searchParams.append("device","mtWeb"),Q.searchParams.append("device","mtWeb"))),ee.searchParams.append("env",k),ee.searchParams.append("language",V.toLowerCase()),ee.searchParams.append("userRoles",Y),Te(Q)},Mt=()=>{qt(L)},Ct=()=>{a(45,V=L.toUpperCase()),a(53,Ae=Be()),a(49,he=H.replace(/ /g,"").split(",")),a(49,he=he.map(r=>r.toUpperCase())),Re(),Nt(Oe)},Ht=()=>{a(38,w=St(I,ke.concat(Ce)))},St=(r,y)=>{var S;const W=y.find(te=>r===te.path||We(r).endsWith(We(te.path)));if(W)return W.id;{const te=y.find(Xt=>Xt.path.split("/").indexOf(r.split("/")[1])>-1);return(S=te==null?void 0:te.id)!=null?S:-1}},We=r=>r.replace(/\/+$/,""),It=(r,y)=>r.filter(W=>y.includes(W)),je=r=>r.split(",").filter(Boolean).map(y=>y.trim()),ve=r=>{if(!c||c==="none")return r;const y=je(c);return y.length===0?r:r.filter(W=>{const S=je(W.keyword||"");return S.length===0?!0:It(y,S).length>0})},Lt=()=>{a(43,Me=ve(ke)),a(44,He=ve(Ce))},Te=r=>(a(70,me=!0),new Promise((y,W)=>{fetch(r).then(S=>S.json()).then(S=>{ke=S.desktop.primary,a(43,Me=ve(S.desktop.primary)),Ce=S.desktop.secondary,a(44,He=ve(S.desktop.secondary)),a(70,me=!1),a(46,Se=!1),y(S)},S=>{a(70,me=!1),console.error(S),W(S)})})),Nt=r=>(a(71,se=!1),new Promise((y,W)=>{fetch(r).then(S=>S.json()).then(S=>{S.logoUrl.length>0&&(S.logoUrl!="null"||S.logoUrl!="false")?(a(72,Ne=S.logoUrl),a(71,se=!0)):a(71,se=!1),y(S)},S=>{a(71,se=!1),console.error(S),W(S)})})),Ue=r=>{var y;window.postMessage({type:"NavigateTo",itemId:r.id,item:r,path:r.path,externalLink:r.externalLink||!1,target:((y=r.attrs)==null?void 0:y.target)||null},window.location.href)},Ee=r=>{a(45,V=r),a(47,pe=!1),X("language")},Ge=()=>{a(47,pe=!pe)},Be=r=>{let y=r?r.slice(-2):V.slice(-2);return b&&(y=b.includes(y.toLowerCase())?b.slice(-2):y),(f==="false"&&y.toUpperCase()==="EN"||y==null)&&(y="GB"),y.toUpperCase()},le=r=>Ze(this,null,function*(){_[r]&&(_[r].loaded||(_[r].load(),_[r].loaded=!0))}),Ft=r=>r==="false"?!1:!!r;e.onMount(()=>(le("player-account-balance-modal-nd"),le("casino-hamburger-menu-nd"),window.addEventListener("message",De,!1),a(37,Ie=e.isMobile(Le)),()=>{window.removeEventListener("message",De)}));function At(r){e.bubble.call(this,n,r)}const Bt=()=>X("lobby"),Pt=r=>X("page",r);function zt(r){e.binding_callbacks[r?"unshift":"push"](()=>{F=r,a(42,F)})}function Ot(r){e.binding_callbacks[r?"unshift":"push"](()=>{oe=r,a(39,oe)})}const Dt=()=>X("deposit"),xt=r=>ye(r),Rt=r=>ye(r);function Wt(r){e.binding_callbacks[r?"unshift":"push"](()=>{ue=r,a(40,ue)})}function jt(r){e.binding_callbacks[r?"unshift":"push"](()=>{Z=r,a(41,Z)})}const Tt=()=>X("myaccount"),Ut=()=>X("login"),Et=()=>X("register"),Gt=()=>Ge(),Zt=r=>Ee(r),Yt=r=>Ue(r),Jt=()=>X("closeLanguageSelector");function Vt(r){e.binding_callbacks[r?"unshift":"push"](()=>{J=r,a(36,J)})}return n.$$set=r=>{"session"in r&&a(0,p=r.session),"userid"in r&&a(1,u=r.userid),"endpoint"in r&&a(2,m=r.endpoint),"cmsendpoint"in r&&a(3,h=r.cmsendpoint),"cmsenv"in r&&a(4,k=r.cmsenv),"lang"in r&&a(5,L=r.lang),"languageslist"in r&&a(6,H=r.languageslist),"activecategory"in r&&a(7,I=r.activecategory),"translationurl"in r&&a(8,C=r.translationurl),"customlocaleidentifier"in r&&a(9,b=r.customlocaleidentifier),"gmversion"in r&&a(10,v=r.gmversion),"countryflagheader"in r&&a(11,M=r.countryflagheader),"displaybalanceoption"in r&&a(12,G=r.displaybalanceoption),"countryflaghamburger"in r&&a(13,N=r.countryflaghamburger),"hasdefaultamount"in r&&a(14,A=r.hasdefaultamount),"playercurrency"in r&&a(15,g=r.playercurrency),"disablelangtransform"in r&&a(67,f=r.disablelangtransform),"shortcashierenabled"in r&&a(16,K=r.shortcashierenabled),"producttype"in r&&a(17,ce=r.producttype),"successurl"in r&&a(18,z=r.successurl),"failurl"in r&&a(19,ae=r.failurl),"cancelurl"in r&&a(20,$=r.cancelurl),"sportsurl"in r&&a(21,j=r.sportsurl),"casinourl"in r&&a(22,O=r.casinourl),"contacturl"in r&&a(23,ne=r.contacturl),"homeurl"in r&&a(24,T=r.homeurl),"depositurl"in r&&a(25,de=r.depositurl),"userroles"in r&&a(26,Y=r.userroles),"mbsource"in r&&a(27,R=r.mbsource),"clientstyling"in r&&a(28,q=r.clientstyling),"clientstylingurl"in r&&a(29,x=r.clientstylingurl),"currencydisplay"in r&&a(30,ie=r.currencydisplay),"maximumfractiondigits"in r&&a(31,U=r.maximumfractiondigits),"minimumfractiondigits"in r&&a(32,re=r.minimumfractiondigits),"customdisplayformat"in r&&a(33,E=r.customdisplayformat),"totalcalculationmode"in r&&a(34,D=r.totalcalculationmode),"gamification"in r&&a(35,P=r.gamification),"customlogourl"in r&&a(68,B=r.customlogourl),"filterbykeyword"in r&&a(69,c=r.filterbykeyword),"$$scope"in r&&a(73,d=r.$$scope)},n.$$.update=()=>{n.$$.dirty[2]&128&&c&&Lt(),n.$$.dirty[2]&1600&&a(54,o=se?B!=null?B:Ne:Kt),n.$$.dirty[0]&128|n.$$.dirty[2]&256&&I&&!me&&Ht(),n.$$.dirty[0]&1&&p&&kt(),n.$$.dirty[0]&65536&&(i=K.toLocaleLowerCase()=="true"),n.$$.dirty[0]&32&&L&&Mt(),n.$$.dirty[0]&67108984&&h&&L&&H&&Y&&k&&Ct(),n.$$.dirty[0]&256&&C&&wt(),n.$$.dirty[0]&268435456|n.$$.dirty[1]&32&&q&&J&&e.setClientStyling(J,q),n.$$.dirty[0]&536870912|n.$$.dirty[1]&32&&x&&J&&e.setClientStylingURL(J,x),n.$$.dirty[0]&134217728|n.$$.dirty[1]&32&&R&&J&&e.setStreamStyling(J,`${R}.Style`),n.$$.dirty[1]&16&&P&&Ft(P)&&le("gamification-dropdown"),n.$$.dirty[0]&1024&&le(v&&v==="gmcore"?"player-deposit":"user-deposit-withdrawal"),n.$$.dirty[1]&64&&Ie&&le("casino-hamburger-menu-nd")},[p,u,m,h,k,L,H,I,C,b,v,M,G,N,A,g,K,ce,z,ae,$,j,O,ne,T,de,Y,R,q,x,ie,U,re,E,D,P,J,Ie,w,oe,ue,Z,F,Me,He,V,Se,pe,fe,he,be,Fe,we,Ae,o,l,_t,ft,ht,bt,X,yt,ye,Ue,Ee,Ge,Be,f,B,c,me,se,Ne,d,s,At,Bt,Pt,zt,Ot,Dt,xt,Rt,Wt,jt,Tt,Ut,Et,Gt,Zt,Yt,Jt,Vt]}class gt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,va,ya,e.safe_not_equal,{session:0,userid:1,endpoint:2,cmsendpoint:3,cmsenv:4,lang:5,languageslist:6,activecategory:7,translationurl:8,customlocaleidentifier:9,gmversion:10,countryflagheader:11,displaybalanceoption:12,countryflaghamburger:13,hasdefaultamount:14,playercurrency:15,disablelangtransform:67,shortcashierenabled:16,producttype:17,successurl:18,failurl:19,cancelurl:20,sportsurl:21,casinourl:22,contacturl:23,homeurl:24,depositurl:25,userroles:26,mbsource:27,clientstyling:28,clientstylingurl:29,currencydisplay:30,maximumfractiondigits:31,minimumfractiondigits:32,customdisplayformat:33,totalcalculationmode:34,gamification:35,customlogourl:68,filterbykeyword:69},$t,[-1,-1,-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[3]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[4]}set cmsenv(t){this.$$set({cmsenv:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get languageslist(){return this.$$.ctx[6]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get activecategory(){return this.$$.ctx[7]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[9]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[10]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get countryflagheader(){return this.$$.ctx[11]}set countryflagheader(t){this.$$set({countryflagheader:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[12]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[13]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[14]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get playercurrency(){return this.$$.ctx[15]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get disablelangtransform(){return this.$$.ctx[67]}set disablelangtransform(t){this.$$set({disablelangtransform:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get producttype(){return this.$$.ctx[17]}set producttype(t){this.$$set({producttype:t}),e.flush()}get successurl(){return this.$$.ctx[18]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[19]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[20]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get sportsurl(){return this.$$.ctx[21]}set sportsurl(t){this.$$set({sportsurl:t}),e.flush()}get casinourl(){return this.$$.ctx[22]}set casinourl(t){this.$$set({casinourl:t}),e.flush()}get contacturl(){return this.$$.ctx[23]}set contacturl(t){this.$$set({contacturl:t}),e.flush()}get homeurl(){return this.$$.ctx[24]}set homeurl(t){this.$$set({homeurl:t}),e.flush()}get depositurl(){return this.$$.ctx[25]}set depositurl(t){this.$$set({depositurl:t}),e.flush()}get userroles(){return this.$$.ctx[26]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[27]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencydisplay(){return this.$$.ctx[30]}set currencydisplay(t){this.$$set({currencydisplay:t}),e.flush()}get maximumfractiondigits(){return this.$$.ctx[31]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),e.flush()}get minimumfractiondigits(){return this.$$.ctx[32]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),e.flush()}get customdisplayformat(){return this.$$.ctx[33]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[34]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get gamification(){return this.$$.ctx[35]}set gamification(t){this.$$set({gamification:t}),e.flush()}get customlogourl(){return this.$$.ctx[68]}set customlogourl(t){this.$$set({customlogourl:t}),e.flush()}get filterbykeyword(){return this.$$.ctx[69]}set filterbykeyword(t){this.$$set({filterbykeyword:t}),e.flush()}}e.create_custom_element(gt,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},disablelangtransform:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},totalcalculationmode:{},gamification:{},customlogourl:{},filterbykeyword:{}},["logo","slot4","slot1","slot2","slot3"],[],!0);exports.default=gt;
|
|
@@ -26,7 +26,7 @@ var $e = (i, e, a) => new Promise((w, m) => {
|
|
|
26
26
|
}, g = (b) => b.done ? w(b.value) : Promise.resolve(b.value).then(d, T);
|
|
27
27
|
g((a = a.apply(i, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { b as yt, $ as vt, P as wt, S as bt, i as Bt, s as Tt, f as X, d as St,
|
|
29
|
+
import { b as yt, $ as vt, P as wt, S as bt, i as Bt, s as Tt, f as X, d as St, A as Ke, g as he, l as C, n as me, o as A, v as I, w as ge, x as Ct, y as _t, C as At, p as je, E as xt, F as Be, G as Te, H as et, z as Rt, I as He, J as ct, r as Et, M as Mt, N as Dt, O as Lt, c as kt, L as Ot } from "./CasinoHamburgerMenuNd-Cyp_3Pjq.js";
|
|
30
30
|
function tt(i, e) {
|
|
31
31
|
yt(i, e);
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as it, $ as lt, P as st, S as ct, i as dt, s as ut, f as X, d as ft,
|
|
1
|
+
import { b as it, $ as lt, P as st, S as ct, i as dt, s as ut, f as X, d as ft, A as Xe, g as he, l as C, n as me, o as A, v as I, w as ge, x as pt, L as ht, y as mt, C as gt, p as je, E as yt, F as Be, G as Te, H as qe, z as vt, I as He, J as nt, r as wt, M as bt, N as Bt, O as Tt, c as St } from "./CasinoHamburgerMenuNd-C3tiFapV.js";
|
|
2
2
|
function Ye(s, a) {
|
|
3
3
|
it(s, a);
|
|
4
4
|
}
|
|
@@ -678,7 +678,7 @@ function xt(s) {
|
|
|
678
678
|
);
|
|
679
679
|
return {
|
|
680
680
|
c() {
|
|
681
|
-
a = I("button"), n = I("p"), g = Te(v), d = ge(), b = I("span"), y = qe("svg"), B = qe("path"), M = ge(), S && S.c(), k =
|
|
681
|
+
a = I("button"), n = I("p"), g = Te(v), d = ge(), b = I("span"), y = qe("svg"), B = qe("path"), M = ge(), S && S.c(), k = vt(), C(B, "id", "arrow"), C(B, "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"), C(B, "transform", "translate(-274.511 -441.088)"), C(B, "fill", "#d1d1d1"), C(y, "xmlns", "http://www.w3.org/2000/svg"), C(y, "width", "14"), C(y, "height", "6.835"), C(y, "viewBox", "0 0 14 6.835"), C(b, "class", T = /*isModalDisplayed*/
|
|
682
682
|
s[3] ? "TriangleActive" : "TriangleInactive"), C(a, "class", "BalanceValue");
|
|
683
683
|
},
|
|
684
684
|
m(R, j) {
|
|
@@ -804,7 +804,7 @@ function $e(s) {
|
|
|
804
804
|
(E[3] ? "Open" : "")) && C(a, "class", O);
|
|
805
805
|
},
|
|
806
806
|
d(E) {
|
|
807
|
-
E && he(a), nt(N, E), Q = !1,
|
|
807
|
+
E && he(a), nt(N, E), Q = !1, wt(se);
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
810
|
}
|
|
@@ -967,7 +967,7 @@ function Et(s) {
|
|
|
967
967
|
}
|
|
968
968
|
function Dt(s, a, n) {
|
|
969
969
|
let v;
|
|
970
|
-
pt(s,
|
|
970
|
+
pt(s, ht, (e) => n(6, v = e));
|
|
971
971
|
let { userid: g = "" } = a, { session: d = "" } = a, { endpoint: b = "" } = a, { lang: y = "en" } = a, { mbsource: B } = a, { clientstyling: T = "" } = a, { clientstylingurl: M = "" } = a, { translationurl: k = "" } = a, { gmversion: L = "gm16" } = a, { displaybalanceoption: x = "All" } = a, { totalcalculationmode: S = "totalCashAmount" } = a, { currencylocale: R = "en" } = a, { currencydisplay: j = "symbol" } = a, { maximumfractiondigits: te = "2" } = a, { minimumfractiondigits: ae = "0" } = a, { customdisplayformat: F = "" } = a, O, Q = !0, se = !1, K = !1, N = !1, E = !1, V = window.navigator.userAgent, D, G = "", oe = [], ce;
|
|
972
972
|
const f = {}, de = ["totalCashAmount", "totalRealAmount"], ie = () => {
|
|
973
973
|
fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ye(o, e[o]))).catch((e) => console.log(e));
|
|
@@ -1243,12 +1243,12 @@ function Dt(s, a, n) {
|
|
|
1243
1243
|
}, Oe = (e) => e.data && e.data.type === "LogoutSuccessfull" && D.close(), Ue = () => {
|
|
1244
1244
|
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
mt(() => (window.addEventListener("message", Oe, !1), n(5, E = gt(V)), () => {
|
|
1247
1247
|
window.removeEventListener("message", Oe), D && D.close();
|
|
1248
1248
|
}));
|
|
1249
1249
|
const Ne = () => ne("balance"), t = () => ne("closebalance"), l = () => Ce(), u = () => ne("closebalance");
|
|
1250
1250
|
function i(e) {
|
|
1251
|
-
|
|
1251
|
+
yt[e ? "unshift" : "push"](() => {
|
|
1252
1252
|
O = e, n(0, O);
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
@@ -1260,9 +1260,9 @@ function Dt(s, a, n) {
|
|
|
1260
1260
|
538624 && b && g && d && L && Se(), s.$$.dirty[0] & /*translationurl*/
|
|
1261
1261
|
262144 && k && ie(), s.$$.dirty[0] & /*balances*/
|
|
1262
1262
|
2 && f.Total && Ue(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1263
|
-
65537 && T && O &&
|
|
1264
|
-
131073 && M && O &&
|
|
1265
|
-
32769 && B && O &&
|
|
1263
|
+
65537 && T && O && bt(O, T), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1264
|
+
131073 && M && O && Bt(O, M), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1265
|
+
32769 && B && O && Tt(O, `${B}.Style`);
|
|
1266
1266
|
}, [
|
|
1267
1267
|
O,
|
|
1268
1268
|
f,
|
|
@@ -1424,7 +1424,7 @@ class Mt extends ct {
|
|
|
1424
1424
|
this.$$set({ customdisplayformat: a }), X();
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
|
-
|
|
1427
|
+
St(Mt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {} }, [], [], !0);
|
|
1428
1428
|
export {
|
|
1429
1429
|
Mt as default
|
|
1430
1430
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as K, $ as V, S as X, i as Z, s as J, f as y, d as $,
|
|
1
|
+
import { b as K, $ as V, S as X, i as Z, s as J, f as y, d as $, A as U, g as S, F as L, Q as j, n as x, o as h, v as M, w as E, G as C, l as d, x as ee, L as te, K as ie, y as se, p as ae, H as k, E as re, B as z, M as ne, N as oe, O as le, c as ce } from "./CasinoHamburgerMenuNd-C3tiFapV.js";
|
|
2
2
|
function H(s, e) {
|
|
3
3
|
K(s, e);
|
|
4
4
|
}
|
|
@@ -60,7 +60,7 @@ function he(s) {
|
|
|
60
60
|
e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
61
|
},
|
|
62
62
|
m(f, g) {
|
|
63
|
-
x(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ =
|
|
63
|
+
x(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = ae(
|
|
64
64
|
e,
|
|
65
65
|
"click",
|
|
66
66
|
/*click_handler*/
|
|
@@ -81,7 +81,7 @@ function pe(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
84
|
+
e = M("div"), i = M("iframe"), z(i.src, n = /*iframeUrl*/
|
|
85
85
|
s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
@@ -89,7 +89,7 @@ function pe(s) {
|
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
92
|
+
8 && !z(i.src, n = /*iframeUrl*/
|
|
93
93
|
a[3]) && d(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
@@ -138,7 +138,7 @@ function me(s) {
|
|
|
138
138
|
c() {
|
|
139
139
|
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
140
|
(s[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
-
(s[5] ? "DepositWrapperMobile" : "")),
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), j(
|
|
142
142
|
e,
|
|
143
143
|
"--dynamic-height",
|
|
144
144
|
/*dynamicHeight*/
|
|
@@ -153,15 +153,15 @@ function me(s) {
|
|
|
153
153
|
r[5] && c.p(r, u), u & /*$_*/
|
|
154
154
|
16 && a !== (a = /*$_*/
|
|
155
155
|
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
|
|
156
|
-
4 &&
|
|
156
|
+
4 && j(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: U,
|
|
164
|
+
o: U,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -169,8 +169,8 @@ function me(s) {
|
|
|
169
169
|
}
|
|
170
170
|
function fe(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
|
-
ee(s,
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R =
|
|
172
|
+
ee(s, te, (t) => i(4, a = t));
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, A, T = 0, F = "";
|
|
174
174
|
const N = () => {
|
|
175
175
|
fetch(u).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
@@ -183,16 +183,16 @@ function fe(s, e, i) {
|
|
|
183
183
|
Object.keys(W).forEach((t) => {
|
|
184
184
|
H(t, W[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const I = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, P = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, A = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -242,7 +242,7 @@ function fe(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, F = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -251,12 +251,12 @@ function fe(s, e, i) {
|
|
|
251
251
|
}, q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
se(() => (window.addEventListener("message", P, !1), () => {
|
|
255
|
+
window.removeEventListener("message", P);
|
|
256
256
|
}));
|
|
257
|
-
const Q = () =>
|
|
257
|
+
const Q = () => I();
|
|
258
258
|
function Y(t) {
|
|
259
|
-
|
|
259
|
+
re[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
@@ -266,19 +266,19 @@ function fe(s, e, i) {
|
|
|
266
266
|
s.$$.dirty & /*lang*/
|
|
267
267
|
2048 && p && q(), s.$$.dirty & /*shortcashierenabled*/
|
|
268
268
|
131072 && (n = f.toLocaleLowerCase() === "true"), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
|
-
8193 && o && g &&
|
|
270
|
-
16385 && r && g &&
|
|
271
|
-
65537 && _ && g &&
|
|
269
|
+
8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
|
+
16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
271
|
+
65537 && _ && g && le(g, `${_}.Style`), s.$$.dirty & /*translationurl*/
|
|
272
272
|
32768 && u && N(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
|
|
273
273
|
135040 && m && c && l && b && p && f && O();
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
+
A,
|
|
277
278
|
F,
|
|
278
|
-
I,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
I,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -385,7 +385,7 @@ class we extends X {
|
|
|
385
385
|
this.$$set({ shortcashierenabled: e }), y();
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
|
|
388
|
+
ce(we, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
|
|
389
389
|
export {
|
|
390
390
|
we as default
|
|
391
391
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as K, $ as V, S as X, i as Z, s as J, f as y, d as $,
|
|
1
|
+
import { b as K, $ as V, S as X, i as Z, s as J, f as y, d as $, A as U, g as S, F as L, Q as j, n as x, o as h, v as M, w as E, G as C, l as d, x as ee, K as te, y as ie, p as se, H as k, E as ae, B as z, M as re, N as ne, O as oe, c as le, L as ce } from "./CasinoHamburgerMenuNd-Cyp_3Pjq.js";
|
|
2
2
|
function H(s, e) {
|
|
3
3
|
K(s, e);
|
|
4
4
|
}
|
|
@@ -81,7 +81,7 @@ function pe(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
84
|
+
e = M("div"), i = M("iframe"), z(i.src, n = /*iframeUrl*/
|
|
85
85
|
s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
@@ -89,7 +89,7 @@ function pe(s) {
|
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
92
|
+
8 && !z(i.src, n = /*iframeUrl*/
|
|
93
93
|
a[3]) && d(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
@@ -138,7 +138,7 @@ function me(s) {
|
|
|
138
138
|
c() {
|
|
139
139
|
e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
140
|
(s[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
-
(s[5] ? "DepositWrapperMobile" : "")),
|
|
141
|
+
(s[5] ? "DepositWrapperMobile" : "")), j(
|
|
142
142
|
e,
|
|
143
143
|
"--dynamic-height",
|
|
144
144
|
/*dynamicHeight*/
|
|
@@ -153,15 +153,15 @@ function me(s) {
|
|
|
153
153
|
r[5] && c.p(r, u), u & /*$_*/
|
|
154
154
|
16 && a !== (a = /*$_*/
|
|
155
155
|
r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
|
|
156
|
-
4 &&
|
|
156
|
+
4 && j(
|
|
157
157
|
e,
|
|
158
158
|
"--dynamic-height",
|
|
159
159
|
/*dynamicHeight*/
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: U,
|
|
164
|
+
o: U,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -170,7 +170,7 @@ function me(s) {
|
|
|
170
170
|
function fe(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
172
|
ee(s, ce, (t) => i(4, a = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = te(G) !== "PC", B = !0,
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = te(G) !== "PC", B = !0, A, T = 0, F = "";
|
|
174
174
|
const N = () => {
|
|
175
175
|
fetch(u).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
@@ -183,16 +183,16 @@ function fe(s, e, i) {
|
|
|
183
183
|
Object.keys(W).forEach((t) => {
|
|
184
184
|
H(t, W[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const I = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, P = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, A = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -242,7 +242,7 @@ function fe(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, F = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -251,10 +251,10 @@ function fe(s, e, i) {
|
|
|
251
251
|
}, q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
ie(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
ie(() => (window.addEventListener("message", P, !1), () => {
|
|
255
|
+
window.removeEventListener("message", P);
|
|
256
256
|
}));
|
|
257
|
-
const Q = () =>
|
|
257
|
+
const Q = () => I();
|
|
258
258
|
function Y(t) {
|
|
259
259
|
ae[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
@@ -274,11 +274,11 @@ function fe(s, e, i) {
|
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
+
A,
|
|
277
278
|
F,
|
|
278
|
-
I,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
I,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-Dcbs-iwq.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller-nd")&&customElements.define("casino-header-controller-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-BPvvFK6c.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-header-controller-nd") && customElements.define("casino-header-controller-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=()=>{},s=()=>{};exports.globalScripts=s;exports.globalScripts$1=l;
|
|
@@ -14,7 +14,7 @@ var p = (i, t, n) => new Promise((e, o) => {
|
|
|
14
14
|
}, a = (l) => l.done ? e(l.value) : Promise.resolve(l.value).then(s, c);
|
|
15
15
|
a((n = n.apply(i, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as u, h as r, g as y } from "./index-71b1bdfa-
|
|
17
|
+
import { r as u, h as r, g as y } from "./index-71b1bdfa-CWc2W3-h.js";
|
|
18
18
|
const w = "en";
|
|
19
19
|
let h = {
|
|
20
20
|
en: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var f=(i,t,n)=>new Promise((e,o)=>{var s=r=>{try{l(n.next(r))}catch(d){o(d)}},c=r=>{try{l(n.throw(r))}catch(d){o(d)}},l=r=>r.done?e(r.value):Promise.resolve(r.value).then(s,c);l((n=n.apply(i,t)).next())});const a=require("./index-71b1bdfa-
|
|
1
|
+
"use strict";var f=(i,t,n)=>new Promise((e,o)=>{var s=r=>{try{l(n.next(r))}catch(d){o(d)}},c=r=>{try{l(n.throw(r))}catch(d){o(d)}},l=r=>r.done?e(r.value):Promise.resolve(r.value).then(s,c);l((n=n.apply(i,t)).next())});const a=require("./index-71b1bdfa-BPY14JfC.cjs"),w="en";let h={en:{gamificationNoPoints:"No points"},de:{gamificationNoPoints:"No points"},ro:{gamificationNoPoints:"No points"},fr:{gamificationNoPoints:"No points"},ar:{gamificationNoPoints:"No points"},hr:{gamificationNoPoints:"No points"}};const m=i=>new Promise(t=>{fetch(i).then(n=>n.json()).then(n=>{Object.keys(n).forEach(e=>{h[e]||(h[e]={});for(let o in n[e])h[e][o]=n[e][o]}),t(!0)})}),v=(i,t)=>{const n=t;return h[n!==void 0&&n in h?n:w][i]};function p(i,t){if(i){const n=document.createElement("style");n.innerHTML=t,i.appendChild(n)}}function g(i,t){const n=new URL(t);fetch(n.href).then(e=>e.text()).then(e=>{const o=document.createElement("style");o.innerHTML=e,i&&i.appendChild(o)}).catch(e=>{console.error("There was an error while trying to load client styling from URL",e)})}function u(i,t,n){if(window.emMessageBus){const e=document.createElement("style");window.emMessageBus.subscribe(t,o=>{e.innerHTML=o,i&&i.appendChild(e)})}}const S=":host{display:block}.GamificationDropdownContainer{position:relative}.GamificationDropdownContainer .GamificationDropdown{position:absolute;left:0;z-index:200;overflow:hidden;cursor:pointer}.GamificationDropdownButton{cursor:pointer;font-size:14px;height:20px;background-color:unset;color:var(--emw--color-typography, #FFFFFF);padding:0;border:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;line-height:0}.GamificationDropdownButton:hover{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton:hover svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton .TriangleActive,.GamificationDropdownButton .TriangleInactive{display:block;transition:all 0.2s}.GamificationDropdownButton .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px);fill:var(--emw--color-primary, #52d004);margin-top:4px}.GamificationDropdownButton svg{fill:var(--emw--color-typography, #FFFFFF);margin-left:8px;width:16px}",C=S,y=class{constructor(i){a.registerInstance(this,i),this.messageHandler=t=>{t.data&&t.data.type==="UpdateGamificationXp"&&(this.loyaltyPoints=t.data.points)},this.navigateToGamification=()=>{window.postMessage({type:"NavigateToGamification"},window.location.href),this.isOpen=!1},this.handleOutsideClick=t=>{t.composedPath().includes(this.el)||(this.isOpen=!1,document.removeEventListener("click",this.handleOutsideClick))},this.handleDropdownClick=t=>{t.stopPropagation(),this.isOpen=!this.isOpen,this.isOpen?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)},this.endpoint=void 0,this.language="en",this.session="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isOpen=!1,this.isLoading=!1,this.loyaltyPoints=void 0}handleNewTranslations(){this.isLoading=!0,m(this.translationUrl).then(()=>{this.isLoading=!1})}handleClientStylingChange(i,t){i!=t&&p(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(i,t){i!=t&&this.clientStylingUrl&&g(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return f(this,null,function*(){if(this.translationUrl.length>2&&(yield m(this.translationUrl)),this.endpoint&&this.language)return this.fetchPointsData()})}componentDidLoad(){window.addEventListener("message",this.messageHandler),this.stylingContainer&&(window.emMessageBus!=null?u(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&p(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&g(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),window.removeEventListener("message",this.messageHandler)}fetchPointsData(){let i=new URL(`${this.endpoint}/v1/elevate/playerInfo`);i.searchParams.append("language",this.language);const t=new Headers;t.append("X-SessionId",this.session);const n={method:"GET",headers:t};return new Promise((e,o)=>{this.isLoading=!0,fetch(i.href,n).then(s=>s.json()).then(s=>{var c,l;this.loyaltyPoints=(l=(c=s==null?void 0:s.data)===null||c===void 0?void 0:c.level)===null||l===void 0?void 0:l.loyaltyPoints,e(!0)}).catch(s=>{console.error(s),o(s)}).finally(()=>{this.isLoading=!1})})}render(){return this.isLoading?null:a.h("div",{ref:i=>this.stylingContainer=i,class:"GamificationDropdownContainer"},a.h("button",{class:`GamificationDropdownButton ${this.isOpen?"IsOpen":""}`,type:"button",onClick:i=>this.handleDropdownClick(i),title:typeof this.loyaltyPoints=="number"?String(this.loyaltyPoints):v("gamificationNoPoints",this.language)},typeof this.loyaltyPoints=="number"?`${this.loyaltyPoints} XP`:"...",a.h("span",{class:this.isOpen?"TriangleActive":"TriangleInactive"},a.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6.835",viewBox:"0 0 14 6.835"},a.h("path",{id:"arrow",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",transform:"translate(-274.511 -441.088)"})))),this.isOpen&&a.h("div",{class:"GamificationDropdown",onClick:this.navigateToGamification},a.h("player-elevate-loyaltycard",{endpoint:this.endpoint,session:this.session,language:this.language,"client-styling-url":this.clientStylingUrl,"client-styling":this.clientStyling,"mb-source":this.mbSource})))}get el(){return a.getElement(this)}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=C;exports.GamificationDropdown=y;exports.setClientStyling=p;exports.setClientStylingURL=g;exports.setStreamStyling=u;
|