@everymatrix/casino-header-controller 1.70.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHeaderController-B1x--_Oq.js → CasinoHeaderController-Bfde4i_j.js} +1041 -1055
- package/components/CasinoHeaderController-CHGIpH0T.cjs +13 -0
- package/components/{CasinoHeaderController-BfAseLS8.js → CasinoHeaderController-DF_M7Q73.js} +1207 -1221
- package/components/PlayerAccountBalanceModal-659pYyyZ.cjs +7 -0
- package/components/PlayerAccountBalanceModal-DeXm4_c1.js +1415 -0
- package/components/PlayerAccountBalanceModal-XqSJ-1Li.js +1386 -0
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoHeaderController-BRa3odIv.cjs +0 -13
- package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CNXuqjqU.js +0 -1539
- package/components/PlayerAccountBalanceModal-DbULiu-f.js +0 -1510
@@ -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/CasinoHeaderController-
|
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/CasinoHeaderController-CHGIpH0T.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller")&&customElements.define("casino-header-controller",t.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-Bfde4i_j.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", t.element);
|
15
15
|
});
|
16
16
|
}
|
package/package.json
CHANGED
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";var Ie=(a,t,n)=>new Promise((l,s)=>{var i=u=>{try{_(n.next(u))}catch(d){s(d)}},r=u=>{try{_(n.throw(u))}catch(d){s(d)}},_=u=>u.done?l(u.value):Promise.resolve(u.value).then(i,r);_((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-CrZ5l9tM.cjs");require("../stencil/user-deposit-withdrawal-CrFUxhuF.cjs");require("../stencil/gamification-dropdown-BgQs3qHL.cjs");const Ot=(a,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:a,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)};function zt({withLocale:a,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function He(a,t){e.addMessages(a,t)}function Dt(a){e.$locale.set(a)}const Ae={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"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-DqTtsMWh.cjs")).then(({default:t})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoHamburgerMenu-CrZ5l9tM.cjs")).then(t=>t.CasinoHamburgerMenu_ce).then(({default:t})=>{!customElements.get("casino-hamburger-menu")&&customElements.define("casino-hamburger-menu",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBalanceModal-BFDpI9Sy.cjs")).then(({default:t})=>{!customElements.get("player-account-balance-modal")&&customElements.define("player-account-balance-modal",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerDeposit-BXwT7NVp.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}const ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function Wt(a){e.append_styles(a,"svelte-ho1ide",`*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}input,textarea,button{font-family:inherit}.HeaderSlider{width:100%;height:400px}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.GamificationWrapper{margin-right:16px}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));border-top:1px solid var(--emw--color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item:hover .HeaderSecondaryNav{display:block}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.Item a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border-top:1px solid transparent}.Item a:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-top:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));padding-top:5px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emw--header-typography, var(--emw--color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:0}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemBalance{font-size:12px}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}`)}function Ce(a,t,n){const l=a.slice();return l[113]=t[n],l}function Se(a,t,n){const l=a.slice();return l[116]=t[n],l}function Le(a,t,n){const l=a.slice();return l[116]=t[n],l}function Ee(a,t,n){const l=a.slice();return l[113]=t[n],l}function Re(a,t,n){const l=a.slice();return l[116]=t[n],l}function Be(a,t,n){const l=a.slice();return l[116]=t[n],l}function Tt(a){let t,n,l,s,i,r,_,u,d,o=a[49]("login")+"",m,p,h,k=a[49]("register")+"",B,S,L,b,M,F,z;function O(f,H){return f[41]?Gt:Zt}let E=O(a),I=E(a),g=!a[35]&&Ne(a),v=a[45].length>1&&Pe(a),R=e.ensure_array_like(a[38]),y=[];for(let f=0;f<R.length;f+=1)y[f]=We(Ce(a,R,f));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),I.c(),s=e.space(),i=e.element("nav"),g&&g.c(),r=e.space(),_=e.element("div"),u=e.element("div"),d=e.element("div"),m=e.text(o),p=e.space(),h=e.element("div"),B=e.text(k),S=e.space(),v&&v.c(),L=e.space(),b=e.element("nav"),M=e.element("ul");for(let f=0;f<y.length;f+=1)y[f].c();e.attr(l,"class","HeaderBranding"),e.attr(i,"class","HeaderMainNav"),e.attr(d,"class","Item ItemLogin"),e.attr(d,"tabindex","0"),e.attr(h,"class","Item ItemRegister"),e.attr(h,"tabindex","0"),e.attr(u,"class","HeaderItemsMenu"),e.attr(_,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(M,"class","HeaderItemsMenuSecondary"),e.attr(b,"class","HeaderSecondaryNav"),e.attr(t,"class","HeaderWrapper")},m(f,H){e.insert(f,t,H),e.append(t,n),e.append(n,l),I.m(l,null),e.append(n,s),e.append(n,i),g&&g.m(i,null),e.append(n,r),e.append(n,_),e.append(_,u),e.append(u,d),e.append(d,m),e.append(u,p),e.append(u,h),e.append(h,B),e.append(u,S),v&&v.m(u,null),e.append(t,L),e.append(t,b),e.append(b,M);for(let A=0;A<y.length;A+=1)y[A]&&y[A].m(M,null);a[92](t),F||(z=[e.listen(l,"click",a[84]),e.listen(d,"click",a[85]),e.listen(h,"click",a[86])],F=!0)},p(f,H){if(E===(E=O(f))&&I?I.p(f,H):(I.d(1),I=E(f),I&&(I.c(),I.m(l,null))),f[35]?g&&(g.d(1),g=null):g?g.p(f,H):(g=Ne(f),g.c(),g.m(i,null)),H[1]&262144&&o!==(o=f[49]("login")+"")&&e.set_data(m,o),H[1]&262144&&k!==(k=f[49]("register")+"")&&e.set_data(B,k),f[45].length>1?v?v.p(f,H):(v=Pe(f),v.c(),v.m(u,null)):v&&(v.d(1),v=null),H[1]&8388800){R=e.ensure_array_like(f[38]);let A;for(A=0;A<R.length;A+=1){const j=Ce(f,R,A);y[A]?y[A].p(j,H):(y[A]=We(j),y[A].c(),y[A].m(M,null))}for(;A<y.length;A+=1)y[A].d(1);y.length=R.length}},d(f){f&&e.detach(t),I.d(),g&&g.d(),v&&v.d(),e.destroy_each(y,f),a[92](null),F=!1,e.run_all(z)}}}function Ut(a){let t,n,l,s,i,r,_,u,d,o,m,p,h,k,B,S,L,b=a[49]("login")+"",M,F,z,O=a[49]("register")+"",E,I,g;function v(f,H){return f[41]?Qt:Jt}let R=v(a),y=R(a);return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.svg_element("svg"),i=e.svg_element("defs"),r=e.svg_element("style"),_=e.text(`.a {
|
2
|
-
fill: var(--emw--color-white, #FFFFFF);
|
3
|
-
}
|
4
|
-
`),u=e.svg_element("g"),d=e.svg_element("rect"),o=e.svg_element("rect"),m=e.svg_element("rect"),p=e.space(),h=e.element("div"),y.c(),k=e.space(),B=e.element("div"),S=e.element("div"),L=e.element("div"),M=e.text(b),F=e.space(),z=e.element("div"),E=e.text(O),e.attr(d,"class","a"),e.attr(d,"width","18"),e.attr(d,"height","2"),e.attr(d,"transform","translate(14 13)"),e.attr(o,"class","a"),e.attr(o,"width","22"),e.attr(o,"height","2"),e.attr(o,"transform","translate(14 20)"),e.attr(m,"class","a"),e.attr(m,"width","22"),e.attr(m,"height","2"),e.attr(m,"transform","translate(14 27)"),e.attr(u,"transform","translate(-14 -13)"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","22"),e.attr(s,"height","16"),e.attr(s,"viewBox","0 0 22 16"),e.attr(l,"class","HeaderMobileMainNav"),e.attr(h,"class","HeaderBranding"),e.attr(L,"class","Item ItemLogin"),e.attr(z,"class","Item ItemRegister"),e.attr(S,"class","HeaderItemsMenu"),e.attr(B,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(t,"class","HeaderWrapper HeaderMobileWrapper")},m(f,H){e.insert(f,t,H),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,i),e.append(i,r),e.append(r,_),e.append(s,u),e.append(u,d),e.append(u,o),e.append(u,m),e.append(n,p),e.append(n,h),y.m(h,null),e.append(n,k),e.append(n,B),e.append(B,S),e.append(S,L),e.append(L,M),e.append(S,F),e.append(S,z),e.append(z,E),a[83](t),I||(g=[e.listen(s,"click",a[79]),e.listen(h,"click",a[80]),e.listen(L,"click",a[81]),e.listen(z,"click",a[82])],I=!0)},p(f,H){R===(R=v(f))&&y?y.p(f,H):(y.d(1),y=R(f),y&&(y.c(),y.m(h,null))),H[1]&262144&&b!==(b=f[49]("login")+"")&&e.set_data(M,b),H[1]&262144&&O!==(O=f[49]("register")+"")&&e.set_data(E,O)},d(f){f&&e.detach(t),y.d(),a[83](null),I=!1,e.run_all(g)}}}function jt(a){let t;function n(i,r){return i[43]?Xt:Vt}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function Zt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=ae)||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p:e.noop,d(l){l&&e.detach(t)}}}function Gt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[47])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&65536&&!e.src_url_equal(t.src,n=l[47])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Ne(a){let t,n,l;return{c(){t=e.element("casino-slider"),e.set_custom_element_data(t,"class","HeaderItemsMenu"),e.set_custom_element_data(t,"identity",te),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[24]),e.set_custom_element_data(t,"mbsource",a[26]),e.set_custom_element_data(t,"activeindex",a[36]),e.set_custom_element_data(t,"location","headerMain"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"clientstyling",a[27]),e.set_custom_element_data(t,"clientstylingurl",a[28])},m(s,i){e.insert(s,t,i),n||(l=e.action_destroyer(a[53].call(null,t)),n=!0)},p(s,i){i[0]&16777216&&e.set_custom_element_data(t,"actionevent",s[24]),i[0]&67108864&&e.set_custom_element_data(t,"mbsource",s[26]),i[1]&32&&e.set_custom_element_data(t,"activeindex",s[36]),i[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(t,"lang",s[3]),i[0]&134217728&&e.set_custom_element_data(t,"clientstyling",s[27]),i[0]&268435456&&e.set_custom_element_data(t,"clientstylingurl",s[28])},d(s){s&&e.detach(t),n=!1,l()}}}function Pe(a){let t;function n(i,r){return i[9]!=="true"?Yt:qt}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function qt(a){let t,n,l,s,i,r,_,u=a[39].slice(-2)+"",d,o,m,p,h,k,B,S,L,b=a[42]&&Oe(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),r=e.space(),_=e.element("span"),d=e.text(u),o=e.space(),m=e.element("span"),p=e.svg_element("svg"),h=e.svg_element("path"),B=e.space(),b&&b.c(),e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[39].slice(-2))}.svg`)||e.attr(s,"src",i),e.attr(l,"class","FlagIcon"),e.attr(_,"class","LanguageName"),e.attr(h,"id","arrow"),e.attr(h,"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(h,"transform","translate(-274.511 -441.088)"),e.attr(h,"fill","#d1d1d1"),e.attr(p,"xmlns","http://www.w3.org/2000/svg"),e.attr(p,"width","14"),e.attr(p,"height","6.835"),e.attr(p,"viewBox","0 0 14 6.835"),e.attr(m,"class",k="TriangleInactive "+(a[42]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(M,F){e.insert(M,t,F),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,_),e.append(_,d),e.append(n,o),e.append(n,m),e.append(m,p),e.append(p,h),e.append(t,B),b&&b.m(t,null),S||(L=e.listen(n,"click",a[89]),S=!0)},p(M,F){F[1]&16640&&!e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${M[57](M[39].slice(-2))}.svg`)&&e.attr(s,"src",i),F[1]&256&&u!==(u=M[39].slice(-2)+"")&&e.set_data(d,u),F[1]&2048&&k!==(k="TriangleInactive "+(M[42]?"TriangleActive":""))&&e.attr(m,"class",k),M[42]?b?b.p(M,F):(b=Oe(M),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},d(M){M&&e.detach(t),b&&b.d(),S=!1,L()}}}function Yt(a){let t,n,l,s=e.ensure_array_like(a[45]),i=[];for(let r=0;r<s.length;r+=1)i[r]=De(Le(a,s,r));return{c(){t=e.element("select");for(let r=0;r<i.length;r+=1)i[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[39]===void 0&&e.add_render_callback(()=>a[87].call(t))},m(r,_){e.insert(r,t,_);for(let u=0;u<i.length;u+=1)i[u]&&i[u].m(t,null);e.select_option(t,a[39],!0),n||(l=[e.listen(t,"change",a[87]),e.listen(t,"change",a[88])],n=!0)},p(r,_){if(_[1]&16384){s=e.ensure_array_like(r[45]);let u;for(u=0;u<s.length;u+=1){const d=Le(r,s,u);i[u]?i[u].p(d,_):(i[u]=De(d),i[u].c(),i[u].m(t,null))}for(;u<i.length;u+=1)i[u].d(1);i.length=s.length}_[1]&16640&&e.select_option(t,r[39])},d(r){r&&e.detach(t),e.destroy_each(i,r),n=!1,e.run_all(l)}}}function Oe(a){let t,n=e.ensure_array_like(a[45]),l=[];for(let s=0;s<n.length;s+=1)l[s]=ze(Se(a,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","OptionList")},m(s,i){e.insert(s,t,i);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(t,null)},p(s,i){if(i[1]&83902464){n=e.ensure_array_like(s[45]);let r;for(r=0;r<n.length;r+=1){const _=Se(s,n,r);l[r]?l[r].p(_,i):(l[r]=ze(_),l[r].c(),l[r].m(t,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function ze(a){let t,n,l,s,i,r,_=a[116].slice(-2)+"",u,d,o,m;function p(){return a[90](a[116])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),i=e.space(),r=e.element("span"),u=e.text(_),d=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[116].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(h,k){e.insert(h,t,k),e.append(t,n),e.append(n,l),e.append(t,i),e.append(t,r),e.append(r,u),e.append(t,d),o||(m=e.listen(t,"click",p),o=!0)},p(h,k){a=h,k[1]&16384&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[116].slice(-2))}.svg`)&&e.attr(l,"src",s),k[1]&16384&&_!==(_=a[116].slice(-2)+"")&&e.set_data(u,_)},d(h){h&&e.detach(t),o=!1,m()}}}function De(a){let t,n=a[116].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[116],e.set_input_value(t,t.__value)},m(i,r){e.insert(i,t,r),e.append(t,l)},p(i,r){r[1]&16384&&n!==(n=i[116].slice(-2)+"")&&e.set_data(l,n),r[1]&16384&&s!==(s=i[116])&&(t.__value=s,e.set_input_value(t,t.__value))},d(i){i&&e.detach(t)}}}function We(a){let t,n,l=a[113].label+"",s,i,r,_,u;function d(){return a[91](a[113])}return{c(){var o,m;t=e.element("li"),n=e.element("button"),s=e.text(l),i=e.space(),e.attr(t,"class",r="ItemSecondary "+(((o=a[37])==null?void 0:o.toString().indexOf("$"))>-1?((m=a[37])==null?void 0:m.split("$").pop())==a[113].id.split("$").pop()?"active":"":a[37]==a[113].id?"active":""))},m(o,m){e.insert(o,t,m),e.append(t,n),e.append(n,s),e.append(t,i),_||(u=e.listen(n,"click",d),_=!0)},p(o,m){var p,h;a=o,m[1]&128&&l!==(l=a[113].label+"")&&e.set_data(s,l),m[1]&192&&r!==(r="ItemSecondary "+(((p=a[37])==null?void 0:p.toString().indexOf("$"))>-1?((h=a[37])==null?void 0:h.split("$").pop())==a[113].id.split("$").pop()?"active":"":a[37]==a[113].id?"active":""))&&e.attr(t,"class",r)},d(o){o&&e.detach(t),_=!1,u()}}}function Jt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=ae)||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p:e.noop,d(l){l&&e.detach(t)}}}function Qt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[47])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&65536&&!e.src_url_equal(t.src,n=l[47])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Vt(a){let t,n,l,s,i,r,_,u,d,o,m,p,h,k=a[49]("deposit")+"",B,S,L,b,M,F,z,O,E,I;function g(w,C){return w[41]?xt:Kt}let v=g(a),R=v(a),y=!a[35]&&Te(a),f=a[33]==="true"&&!a[43]&&Ue(a),H=a[48]&&je(a),A=a[45].length>1&&Ze(a),j=e.ensure_array_like(a[38]),D=[];for(let w=0;w<j.length;w+=1)D[w]=Je(Ee(a,j,w));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),R.c(),s=e.space(),i=e.element("nav"),y&&y.c(),r=e.space(),f&&f.c(),_=e.space(),u=e.element("div"),d=e.element("div"),o=e.element("player-account-balance-modal"),m=e.space(),p=e.element("div"),h=e.element("div"),B=e.text(k),S=e.space(),H&&H.c(),L=e.space(),b=e.element("div"),b.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {
|
5
|
-
fill: var(--emw--color-white, #FFFFFF);
|
6
|
-
}
|
7
|
-
</style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>`,M=e.space(),A&&A.c(),F=e.space(),z=e.element("nav"),O=e.element("ul");for(let w=0;w<D.length;w+=1)D[w].c();e.attr(l,"class","HeaderBranding"),e.attr(i,"class","HeaderMainNav"),e.set_custom_element_data(o,"mbsource",a[26]),e.set_custom_element_data(o,"session",a[0]),e.set_custom_element_data(o,"userid",a[1]),e.set_custom_element_data(o,"endpoint",a[2]),e.set_custom_element_data(o,"lang",a[3]),e.set_custom_element_data(o,"clientstyling",a[27]),e.set_custom_element_data(o,"clientstylingurl",a[28]),e.set_custom_element_data(o,"customlocaleidentifier",a[7]),e.set_custom_element_data(o,"gmversion",a[8]),e.set_custom_element_data(o,"displaybalanceoption",a[10]),e.set_custom_element_data(o,"totalcalculationmode",a[32]),e.set_custom_element_data(o,"currencyseparator",a[29]),e.set_custom_element_data(o,"currencydecimal",a[30]),e.set_custom_element_data(o,"currencyprecision",a[31]),e.attr(h,"class","Item ItemDeposit"),e.attr(b,"class","Item ItemAccount"),e.attr(d,"class","HeaderItemsMenu PrimaryMenu"),e.attr(u,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(O,"class","HeaderItemsMenuSecondary"),e.attr(z,"class","HeaderSecondaryNav"),e.attr(t,"class","HeaderWrapper")},m(w,C){e.insert(w,t,C),e.append(t,n),e.append(n,l),R.m(l,null),e.append(n,s),e.append(n,i),y&&y.m(i,null),e.append(n,r),f&&f.m(n,null),e.append(n,_),e.append(n,u),e.append(u,d),e.append(d,o),e.append(d,m),e.append(d,p),e.append(p,h),e.append(h,B),e.append(p,S),H&&H.m(p,null),e.append(d,L),e.append(d,b),e.append(d,M),A&&A.m(d,null),e.append(t,F),e.append(t,z),e.append(z,O);for(let P=0;P<D.length;P+=1)D[P]&&D[P].m(O,null);a[78](t),E||(I=[e.listen(l,"click",a[68]),e.listen(h,"click",a[69]),e.listen(b,"click",a[72])],E=!0)},p(w,C){if(v===(v=g(w))&&R?R.p(w,C):(R.d(1),R=v(w),R&&(R.c(),R.m(l,null))),w[35]?y&&(y.d(1),y=null):y?y.p(w,C):(y=Te(w),y.c(),y.m(i,null)),w[33]==="true"&&!w[43]?f?f.p(w,C):(f=Ue(w),f.c(),f.m(n,_)):f&&(f.d(1),f=null),C[0]&67108864&&e.set_custom_element_data(o,"mbsource",w[26]),C[0]&1&&e.set_custom_element_data(o,"session",w[0]),C[0]&2&&e.set_custom_element_data(o,"userid",w[1]),C[0]&4&&e.set_custom_element_data(o,"endpoint",w[2]),C[0]&8&&e.set_custom_element_data(o,"lang",w[3]),C[0]&134217728&&e.set_custom_element_data(o,"clientstyling",w[27]),C[0]&268435456&&e.set_custom_element_data(o,"clientstylingurl",w[28]),C[0]&128&&e.set_custom_element_data(o,"customlocaleidentifier",w[7]),C[0]&256&&e.set_custom_element_data(o,"gmversion",w[8]),C[0]&1024&&e.set_custom_element_data(o,"displaybalanceoption",w[10]),C[1]&2&&e.set_custom_element_data(o,"totalcalculationmode",w[32]),C[0]&536870912&&e.set_custom_element_data(o,"currencyseparator",w[29]),C[0]&1073741824&&e.set_custom_element_data(o,"currencydecimal",w[30]),C[1]&1&&e.set_custom_element_data(o,"currencyprecision",w[31]),C[1]&262144&&k!==(k=w[49]("deposit")+"")&&e.set_data(B,k),w[48]?H?H.p(w,C):(H=je(w),H.c(),H.m(p,null)):H&&(H.d(1),H=null),w[45].length>1?A?A.p(w,C):(A=Ze(w),A.c(),A.m(d,null)):A&&(A.d(1),A=null),C[1]&8388800){j=e.ensure_array_like(w[38]);let P;for(P=0;P<j.length;P+=1){const V=Ee(w,j,P);D[P]?D[P].p(V,C):(D[P]=Je(V),D[P].c(),D[P].m(O,null))}for(;P<D.length;P+=1)D[P].d(1);D.length=j.length}},d(w){w&&e.detach(t),R.d(),y&&y.d(),f&&f.d(),H&&H.d(),A&&A.d(),e.destroy_each(D,w),a[78](null),E=!1,e.run_all(I)}}}function Xt(a){let t,n,l,s,i,r,_,u,d,o,m,p,h=a[49]("deposit")+"",k,B,S,L,b,M,F=!a[46]&&Qe(a);function z(g,v){return g[41]?la:na}let O=z(a),E=O(a),I=a[48]&&Ve(a);return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),F&&F.c(),s=e.space(),i=e.element("div"),E.c(),r=e.space(),_=e.element("div"),u=e.element("div"),d=e.element("player-account-balance-modal"),o=e.space(),m=e.element("div"),p=e.element("div"),k=e.text(h),B=e.space(),I&&I.c(),S=e.space(),L=e.element("div"),L.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {
|
8
|
-
fill: var(--emw--color-white, #FFFFFF);
|
9
|
-
}
|
10
|
-
</style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>`,e.attr(l,"class","HeaderMobileMainNav"),e.attr(i,"class","HeaderBranding"),e.set_custom_element_data(d,"session",a[0]),e.set_custom_element_data(d,"userid",a[1]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"mbsource",a[26]),e.set_custom_element_data(d,"lang",a[3]),e.set_custom_element_data(d,"clientstyling",a[27]),e.set_custom_element_data(d,"clientstylingurl",a[28]),e.set_custom_element_data(d,"customlocaleidentifier",a[7]),e.set_custom_element_data(d,"gmversion",a[8]),e.set_custom_element_data(d,"displaybalanceoption",a[10]),e.set_custom_element_data(d,"totalcalculationmode",a[32]),e.set_custom_element_data(d,"currencyseparator",a[29]),e.set_custom_element_data(d,"currencydecimal",a[30]),e.set_custom_element_data(d,"currencyprecision",a[31]),e.attr(p,"class","Item ItemDeposit"),e.attr(L,"class","Item ItemAccount"),e.attr(u,"class","HeaderItemsMenu PrimaryMenu"),e.attr(_,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(t,"class","HeaderWrapper HeaderMobileWrapper")},m(g,v){e.insert(g,t,v),e.append(t,n),e.append(n,l),F&&F.m(l,null),e.append(n,s),e.append(n,i),E.m(i,null),e.append(n,r),e.append(n,_),e.append(_,u),e.append(u,d),e.append(u,o),e.append(u,m),e.append(m,p),e.append(p,k),e.append(m,B),I&&I.m(m,null),e.append(u,S),e.append(u,L),a[67](t),b||(M=[e.listen(i,"click",a[62]),e.listen(p,"click",a[63]),e.listen(L,"click",a[66])],b=!0)},p(g,v){g[46]?F&&(F.d(1),F=null):F?F.p(g,v):(F=Qe(g),F.c(),F.m(l,null)),O===(O=z(g))&&E?E.p(g,v):(E.d(1),E=O(g),E&&(E.c(),E.m(i,null))),v[0]&1&&e.set_custom_element_data(d,"session",g[0]),v[0]&2&&e.set_custom_element_data(d,"userid",g[1]),v[0]&4&&e.set_custom_element_data(d,"endpoint",g[2]),v[0]&67108864&&e.set_custom_element_data(d,"mbsource",g[26]),v[0]&8&&e.set_custom_element_data(d,"lang",g[3]),v[0]&134217728&&e.set_custom_element_data(d,"clientstyling",g[27]),v[0]&268435456&&e.set_custom_element_data(d,"clientstylingurl",g[28]),v[0]&128&&e.set_custom_element_data(d,"customlocaleidentifier",g[7]),v[0]&256&&e.set_custom_element_data(d,"gmversion",g[8]),v[0]&1024&&e.set_custom_element_data(d,"displaybalanceoption",g[10]),v[1]&2&&e.set_custom_element_data(d,"totalcalculationmode",g[32]),v[0]&536870912&&e.set_custom_element_data(d,"currencyseparator",g[29]),v[0]&1073741824&&e.set_custom_element_data(d,"currencydecimal",g[30]),v[1]&1&&e.set_custom_element_data(d,"currencyprecision",g[31]),v[1]&262144&&h!==(h=g[49]("deposit")+"")&&e.set_data(k,h),g[48]?I?I.p(g,v):(I=Ve(g),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(g){g&&e.detach(t),F&&F.d(),E.d(),I&&I.d(),a[67](null),b=!1,e.run_all(M)}}}function Kt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=ae)||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p:e.noop,d(l){l&&e.detach(t)}}}function xt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[47])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&65536&&!e.src_url_equal(t.src,n=l[47])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Te(a){let t,n,l;return{c(){t=e.element("casino-slider"),e.set_custom_element_data(t,"class","HeaderItemsMenu"),e.set_custom_element_data(t,"mbsource",a[26]),e.set_custom_element_data(t,"identity",te),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[24]),e.set_custom_element_data(t,"activeindex",a[36]),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"location","headerMain"),e.set_custom_element_data(t,"showsubgroups",a[25]),e.set_custom_element_data(t,"clientstyling",a[27]),e.set_custom_element_data(t,"clientstylingurl",a[28])},m(s,i){e.insert(s,t,i),n||(l=e.action_destroyer(a[53].call(null,t)),n=!0)},p(s,i){i[0]&67108864&&e.set_custom_element_data(t,"mbsource",s[26]),i[0]&16777216&&e.set_custom_element_data(t,"actionevent",s[24]),i[1]&32&&e.set_custom_element_data(t,"activeindex",s[36]),i[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(t,"lang",s[3]),i[0]&33554432&&e.set_custom_element_data(t,"showsubgroups",s[25]),i[0]&134217728&&e.set_custom_element_data(t,"clientstyling",s[27]),i[0]&268435456&&e.set_custom_element_data(t,"clientstylingurl",s[28])},d(s){s&&e.detach(t),n=!1,l()}}}function Ue(a){let t,n;return{c(){t=e.element("div"),n=e.element("gamification-dropdown"),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"mb-source",a[26]),e.set_custom_element_data(n,"language",a[3]),e.set_custom_element_data(n,"client-styling",a[27]),e.set_custom_element_data(n,"client-styling-url",a[28]),e.set_custom_element_data(n,"translation-url",a[6]),e.attr(t,"class","GamificationWrapper")},m(l,s){e.insert(l,t,s),e.append(t,n)},p(l,s){s[0]&1&&e.set_custom_element_data(n,"session",l[0]),s[0]&4&&e.set_custom_element_data(n,"endpoint",l[2]),s[0]&67108864&&e.set_custom_element_data(n,"mb-source",l[26]),s[0]&8&&e.set_custom_element_data(n,"language",l[3]),s[0]&134217728&&e.set_custom_element_data(n,"client-styling",l[27]),s[0]&268435456&&e.set_custom_element_data(n,"client-styling-url",l[28]),s[0]&64&&e.set_custom_element_data(n,"translation-url",l[6])},d(l){l&&e.detach(t)}}}function je(a){let t,n,l,s,i,r,_,u;function d(p,h){return p[8]==="gmcore"?ea:$t}let o=d(a),m=o(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),i=e.element("div"),i.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',r=e.space(),m.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(i,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainer"),e.attr(l,"class","ShortCashierContainerWrapper")},m(p,h){e.insert(p,t,h),e.insert(p,n,h),e.insert(p,l,h),e.append(l,s),e.append(s,i),e.append(s,r),m.m(s,null),_||(u=[e.listen(t,"click",a[70]),e.listen(i,"click",a[71])],_=!0)},p(p,h){o===(o=d(p))&&m?m.p(p,h):(m.d(1),m=o(p),m&&(m.c(),m.m(s,null)))},d(p){p&&(e.detach(t),e.detach(n),e.detach(l)),m.d(),_=!1,e.run_all(u)}}}function $t(a){let t,n,l,s,i,r,_,u,d;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Desktop"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[14]),e.set_custom_element_data(t,"product-type",a[15]),e.set_custom_element_data(t,"user-id",a[1]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"mb-source",a[26]),e.set_custom_element_data(t,"success-url",n="https://"+window.location.hostname+"/"+a[3]+a[16]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"sports-url",i="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"casino-url",r="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"contact-url",_="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"home-url",u="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"deposit-url",d="https://"+window.location.hostname+"/"+a[3]+a[23]),e.set_custom_element_data(t,"client-styling",a[27]),e.set_custom_element_data(t,"client-styling-url",a[28])},m(o,m){e.insert(o,t,m)},p(o,m){m[0]&4&&e.set_custom_element_data(t,"endpoint",o[2]),m[0]&8&&e.set_custom_element_data(t,"language",o[3]),m[0]&16384&&e.set_custom_element_data(t,"is-short-cashier",o[14]),m[0]&32768&&e.set_custom_element_data(t,"product-type",o[15]),m[0]&2&&e.set_custom_element_data(t,"user-id",o[1]),m[0]&1&&e.set_custom_element_data(t,"session",o[0]),m[0]&67108864&&e.set_custom_element_data(t,"mb-source",o[26]),m[0]&65544&&n!==(n="https://"+window.location.hostname+"/"+o[3]+o[16])&&e.set_custom_element_data(t,"success-url",n),m[0]&262152&&l!==(l="https://"+window.location.hostname+"/"+o[3]+o[18])&&e.set_custom_element_data(t,"cancel-url",l),m[0]&131080&&s!==(s="https://"+window.location.hostname+"/"+o[3]+o[17])&&e.set_custom_element_data(t,"fail-url",s),m[0]&524296&&i!==(i="https://"+window.location.hostname+"/"+o[3]+o[19])&&e.set_custom_element_data(t,"sports-url",i),m[0]&1048584&&r!==(r="https://"+window.location.hostname+"/"+o[3]+o[20])&&e.set_custom_element_data(t,"casino-url",r),m[0]&2097160&&_!==(_="https://"+window.location.hostname+"/"+o[3]+o[21])&&e.set_custom_element_data(t,"contact-url",_),m[0]&4194312&&u!==(u="https://"+window.location.hostname+"/"+o[3]+o[22])&&e.set_custom_element_data(t,"home-url",u),m[0]&8388616&&d!==(d="https://"+window.location.hostname+"/"+o[3]+o[23])&&e.set_custom_element_data(t,"deposit-url",d),m[0]&134217728&&e.set_custom_element_data(t,"client-styling",o[27]),m[0]&268435456&&e.set_custom_element_data(t,"client-styling-url",o[28])},d(o){o&&e.detach(t)}}}function ea(a){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"mbsource",a[26]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[12]),e.set_custom_element_data(t,"playercurrency",a[13]),e.set_custom_element_data(t,"shortcashierenabled",a[14]),e.set_custom_element_data(t,"clientstyling",a[27]),e.set_custom_element_data(t,"clientstylingurl",a[28])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&4&&e.set_custom_element_data(t,"endpoint",n[2]),l[0]&67108864&&e.set_custom_element_data(t,"mbsource",n[26]),l[0]&1&&e.set_custom_element_data(t,"session",n[0]),l[0]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&4096&&e.set_custom_element_data(t,"hasdefaultamount",n[12]),l[0]&8192&&e.set_custom_element_data(t,"playercurrency",n[13]),l[0]&16384&&e.set_custom_element_data(t,"shortcashierenabled",n[14]),l[0]&134217728&&e.set_custom_element_data(t,"clientstyling",n[27]),l[0]&268435456&&e.set_custom_element_data(t,"clientstylingurl",n[28])},d(n){n&&e.detach(t)}}}function Ze(a){let t;function n(i,r){return i[9]!=="true"?aa:ta}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function ta(a){let t,n,l,s,i,r,_,u=a[39].slice(-2)+"",d,o,m,p,h,k,B,S,L,b=a[42]&&Ge(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),r=e.space(),_=e.element("span"),d=e.text(u),o=e.space(),m=e.element("span"),p=e.svg_element("svg"),h=e.svg_element("path"),B=e.space(),b&&b.c(),e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[39].slice(-2))}.svg`)||e.attr(s,"src",i),e.attr(l,"class","FlagIcon"),e.attr(_,"class","LanguageName"),e.attr(h,"id","arrow"),e.attr(h,"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(h,"transform","translate(-274.511 -441.088)"),e.attr(h,"fill","#d1d1d1"),e.attr(p,"xmlns","http://www.w3.org/2000/svg"),e.attr(p,"width","14"),e.attr(p,"height","6.835"),e.attr(p,"viewBox","0 0 14 6.835"),e.attr(m,"class",k="TriangleInactive "+(a[42]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(M,F){e.insert(M,t,F),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,_),e.append(_,d),e.append(n,o),e.append(n,m),e.append(m,p),e.append(p,h),e.append(t,B),b&&b.m(t,null),S||(L=e.listen(n,"click",a[75]),S=!0)},p(M,F){F[1]&16640&&!e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${M[57](M[39].slice(-2))}.svg`)&&e.attr(s,"src",i),F[1]&256&&u!==(u=M[39].slice(-2)+"")&&e.set_data(d,u),F[1]&2048&&k!==(k="TriangleInactive "+(M[42]?"TriangleActive":""))&&e.attr(m,"class",k),M[42]?b?b.p(M,F):(b=Ge(M),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},d(M){M&&e.detach(t),b&&b.d(),S=!1,L()}}}function aa(a){let t,n,l,s=e.ensure_array_like(a[45]),i=[];for(let r=0;r<s.length;r+=1)i[r]=Ye(Be(a,s,r));return{c(){t=e.element("select");for(let r=0;r<i.length;r+=1)i[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[39]===void 0&&e.add_render_callback(()=>a[73].call(t))},m(r,_){e.insert(r,t,_);for(let u=0;u<i.length;u+=1)i[u]&&i[u].m(t,null);e.select_option(t,a[39],!0),n||(l=[e.listen(t,"change",a[73]),e.listen(t,"change",a[74])],n=!0)},p(r,_){if(_[1]&16384){s=e.ensure_array_like(r[45]);let u;for(u=0;u<s.length;u+=1){const d=Be(r,s,u);i[u]?i[u].p(d,_):(i[u]=Ye(d),i[u].c(),i[u].m(t,null))}for(;u<i.length;u+=1)i[u].d(1);i.length=s.length}_[1]&16640&&e.select_option(t,r[39])},d(r){r&&e.detach(t),e.destroy_each(i,r),n=!1,e.run_all(l)}}}function Ge(a){let t,n=e.ensure_array_like(a[45]),l=[];for(let s=0;s<n.length;s+=1)l[s]=qe(Re(a,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","OptionList")},m(s,i){e.insert(s,t,i);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(t,null)},p(s,i){if(i[1]&83902464){n=e.ensure_array_like(s[45]);let r;for(r=0;r<n.length;r+=1){const _=Re(s,n,r);l[r]?l[r].p(_,i):(l[r]=qe(_),l[r].c(),l[r].m(t,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function qe(a){let t,n,l,s,i,r,_=a[116].slice(-2)+"",u,d,o,m;function p(){return a[76](a[116])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),i=e.space(),r=e.element("span"),u=e.text(_),d=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[116].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(h,k){e.insert(h,t,k),e.append(t,n),e.append(n,l),e.append(t,i),e.append(t,r),e.append(r,u),e.append(t,d),o||(m=e.listen(t,"click",p),o=!0)},p(h,k){a=h,k[1]&16384&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[57](a[116].slice(-2))}.svg`)&&e.attr(l,"src",s),k[1]&16384&&_!==(_=a[116].slice(-2)+"")&&e.set_data(u,_)},d(h){h&&e.detach(t),o=!1,m()}}}function Ye(a){let t,n=a[116].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[116],e.set_input_value(t,t.__value),t.selected=!0},m(i,r){e.insert(i,t,r),e.append(t,l)},p(i,r){r[1]&16384&&n!==(n=i[116].slice(-2)+"")&&e.set_data(l,n),r[1]&16384&&s!==(s=i[116])&&(t.__value=s,e.set_input_value(t,t.__value))},d(i){i&&e.detach(t)}}}function Je(a){let t,n,l=a[113].label+"",s,i,r,_,u;function d(){return a[77](a[113])}return{c(){var o,m;t=e.element("li"),n=e.element("button"),s=e.text(l),i=e.space(),e.attr(t,"class",r="ItemSecondary "+(((o=a[37])==null?void 0:o.toString().indexOf("$"))>-1?((m=a[37])==null?void 0:m.split("$").pop())==a[113].id.split("$").pop()?"active":"":a[37]==a[113].id?"active":""))},m(o,m){e.insert(o,t,m),e.append(t,n),e.append(n,s),e.append(t,i),_||(u=e.listen(n,"click",d),_=!0)},p(o,m){var p,h;a=o,m[1]&128&&l!==(l=a[113].label+"")&&e.set_data(s,l),m[1]&192&&r!==(r="ItemSecondary "+(((p=a[37])==null?void 0:p.toString().indexOf("$"))>-1?((h=a[37])==null?void 0:h.split("$").pop())==a[113].id.split("$").pop()?"active":"":a[37]==a[113].id?"active":""))&&e.attr(t,"class",r)},d(o){o&&e.detach(t),_=!1,u()}}}function Qe(a){let t,n,l,s,i,r,_,u,d,o;return{c(){t=e.svg_element("svg"),n=e.svg_element("defs"),l=e.svg_element("style"),s=e.text(`.a {
|
11
|
-
fill: var(--emw--color-white, #FFFFFF);
|
12
|
-
}
|
13
|
-
`),i=e.svg_element("g"),r=e.svg_element("rect"),_=e.svg_element("rect"),u=e.svg_element("rect"),e.attr(r,"class","a"),e.attr(r,"width","18"),e.attr(r,"height","2"),e.attr(r,"transform","translate(14 13)"),e.attr(_,"class","a"),e.attr(_,"width","22"),e.attr(_,"height","2"),e.attr(_,"transform","translate(14 20)"),e.attr(u,"class","a"),e.attr(u,"width","22"),e.attr(u,"height","2"),e.attr(u,"transform","translate(14 27)"),e.attr(i,"transform","translate(-14 -13)"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","22"),e.attr(t,"height","16"),e.attr(t,"viewBox","0 0 22 16")},m(m,p){e.insert(m,t,p),e.append(t,n),e.append(n,l),e.append(l,s),e.append(t,i),e.append(i,r),e.append(i,_),e.append(i,u),d||(o=e.listen(t,"click",a[61]),d=!0)},p:e.noop,d(m){m&&e.detach(t),d=!1,o()}}}function na(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=ae)||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p:e.noop,d(l){l&&e.detach(t)}}}function la(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[47])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&65536&&!e.src_url_equal(t.src,n=l[47])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Ve(a){let t,n,l,s,i,r,_,u;function d(p,h){return p[8]==="gmcore"?ia:sa}let o=d(a),m=o(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),i=e.element("div"),i.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',r=e.space(),m.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(i,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainerMobile"),e.attr(l,"class","ShortCashierContainerWrapperMobile")},m(p,h){e.insert(p,t,h),e.insert(p,n,h),e.insert(p,l,h),e.append(l,s),e.append(s,i),e.append(s,r),m.m(s,null),_||(u=[e.listen(t,"click",a[64]),e.listen(i,"click",a[65])],_=!0)},p(p,h){o===(o=d(p))&&m?m.p(p,h):(m.d(1),m=o(p),m&&(m.c(),m.m(s,null)))},d(p){p&&(e.detach(t),e.detach(n),e.detach(l)),m.d(),_=!1,e.run_all(u)}}}function sa(a){let t,n,l,s,i,r,_,u,d;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"mb-source",a[26]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Mobile"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[14]),e.set_custom_element_data(t,"product-type",a[15]),e.set_custom_element_data(t,"user-id",a[1]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"success-url",n="https://"+window.location.hostname+"/"+a[3]+a[16]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"sports-url",i="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"casino-url",r="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"contact-url",_="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"home-url",u="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"deposit-url",d="https://"+window.location.hostname+"/"+a[3]+a[23]),e.set_custom_element_data(t,"client-styling",a[27]),e.set_custom_element_data(t,"client-styling-url",a[28])},m(o,m){e.insert(o,t,m)},p(o,m){m[0]&4&&e.set_custom_element_data(t,"endpoint",o[2]),m[0]&67108864&&e.set_custom_element_data(t,"mb-source",o[26]),m[0]&8&&e.set_custom_element_data(t,"language",o[3]),m[0]&16384&&e.set_custom_element_data(t,"is-short-cashier",o[14]),m[0]&32768&&e.set_custom_element_data(t,"product-type",o[15]),m[0]&2&&e.set_custom_element_data(t,"user-id",o[1]),m[0]&1&&e.set_custom_element_data(t,"session",o[0]),m[0]&65544&&n!==(n="https://"+window.location.hostname+"/"+o[3]+o[16])&&e.set_custom_element_data(t,"success-url",n),m[0]&262152&&l!==(l="https://"+window.location.hostname+"/"+o[3]+o[18])&&e.set_custom_element_data(t,"cancel-url",l),m[0]&131080&&s!==(s="https://"+window.location.hostname+"/"+o[3]+o[17])&&e.set_custom_element_data(t,"fail-url",s),m[0]&524296&&i!==(i="https://"+window.location.hostname+"/"+o[3]+o[19])&&e.set_custom_element_data(t,"sports-url",i),m[0]&1048584&&r!==(r="https://"+window.location.hostname+"/"+o[3]+o[20])&&e.set_custom_element_data(t,"casino-url",r),m[0]&2097160&&_!==(_="https://"+window.location.hostname+"/"+o[3]+o[21])&&e.set_custom_element_data(t,"contact-url",_),m[0]&4194312&&u!==(u="https://"+window.location.hostname+"/"+o[3]+o[22])&&e.set_custom_element_data(t,"home-url",u),m[0]&8388616&&d!==(d="https://"+window.location.hostname+"/"+o[3]+o[23])&&e.set_custom_element_data(t,"deposit-url",d),m[0]&134217728&&e.set_custom_element_data(t,"client-styling",o[27]),m[0]&268435456&&e.set_custom_element_data(t,"client-styling-url",o[28])},d(o){o&&e.detach(t)}}}function ia(a){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"mbsource",a[26]),e.set_custom_element_data(t,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[12]),e.set_custom_element_data(t,"playercurrency",a[13]),e.set_custom_element_data(t,"shortcashierenabled",a[14]),e.set_custom_element_data(t,"clientstyling",a[27]),e.set_custom_element_data(t,"clientstylingurl",a[28])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&4&&e.set_custom_element_data(t,"endpoint",n[2]),l[0]&1&&e.set_custom_element_data(t,"session",n[0]),l[0]&67108864&&e.set_custom_element_data(t,"mbsource",n[26]),l[0]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&4096&&e.set_custom_element_data(t,"hasdefaultamount",n[12]),l[0]&8192&&e.set_custom_element_data(t,"playercurrency",n[13]),l[0]&16384&&e.set_custom_element_data(t,"shortcashierenabled",n[14]),l[0]&134217728&&e.set_custom_element_data(t,"clientstyling",n[27]),l[0]&268435456&&e.set_custom_element_data(t,"clientstylingurl",n[28])},d(n){n&&e.detach(t)}}}function ra(a){let t,n;function l(r,_){return r[44]?jt:r[43]?Ut:Tt}let s=l(a),i=s(a);return{c(){i.c(),t=e.space(),n=e.element("casino-hamburger-menu"),e.set_custom_element_data(n,"menuitemsurl",a[40]),e.set_custom_element_data(n,"mbsource",a[26]),e.set_custom_element_data(n,"activecategory",a[5]),e.set_custom_element_data(n,"lang",a[3]),e.set_custom_element_data(n,"countryflaghamburger",a[11]),e.set_custom_element_data(n,"customlocaleidentifier",a[7]),e.set_custom_element_data(n,"languageslist",a[4]),e.set_custom_element_data(n,"clientstyling",a[27]),e.set_custom_element_data(n,"clientstylingurl",a[28])},m(r,_){i.m(r,_),e.insert(r,t,_),e.insert(r,n,_)},p(r,_){s===(s=l(r))&&i?i.p(r,_):(i.d(1),i=s(r),i&&(i.c(),i.m(t.parentNode,t))),_[1]&512&&e.set_custom_element_data(n,"menuitemsurl",r[40]),_[0]&67108864&&e.set_custom_element_data(n,"mbsource",r[26]),_[0]&32&&e.set_custom_element_data(n,"activecategory",r[5]),_[0]&8&&e.set_custom_element_data(n,"lang",r[3]),_[0]&2048&&e.set_custom_element_data(n,"countryflaghamburger",r[11]),_[0]&128&&e.set_custom_element_data(n,"customlocaleidentifier",r[7]),_[0]&16&&e.set_custom_element_data(n,"languageslist",r[4]),_[0]&134217728&&e.set_custom_element_data(n,"clientstyling",r[27]),_[0]&268435456&&e.set_custom_element_data(n,"clientstylingurl",r[28])},i:e.noop,o:e.noop,d(r){r&&(e.detach(t),e.detach(n)),i.d(r)}}}let te="HeaderMenu";function oa(a,t,n){let l,s;e.component_subscribe(a,e.$format,c=>n(49,s=c));let{session:i=""}=t,{userid:r=""}=t,{endpoint:_=""}=t,{cmsendpoint:u=""}=t,{cmsenv:d="stage"}=t,{lang:o="en"}=t,{languageslist:m="en, ro"}=t,{activecategory:p=""}=t,{translationurl:h=""}=t,{customlocaleidentifier:k=""}=t,{gmversion:B=""}=t,{countryflagheader:S="false"}=t,{displaybalanceoption:L="All"}=t,{countryflaghamburger:b="false"}=t,{hasdefaultamount:M=""}=t,{playercurrency:F=""}=t,{shortcashierenabled:z=""}=t,{producttype:O=""}=t,{successurl:E=""}=t,{failurl:I=""}=t,{cancelurl:g=""}=t,{sportsurl:v=""}=t,{casinourl:R=""}=t,{contacturl:y=""}=t,{homeurl:f=""}=t,{depositurl:H=""}=t,{actionevent:A=""}=t,{userroles:j=""}=t,{showsubgroups:D="false"}=t,{mbsource:w}=t,{clientstyling:C=""}=t,{clientstylingurl:P=""}=t,{currencyseparator:V=""}=t,{currencydecimal:me=""}=t,{currencyprecision:_e=""}=t,{totalcalculationmode:de=""}=t,{gamification:pe="false"}=t,he,fe,T;zt({withLocale:"en",translations:{}});const Ke=()=>{fetch(h).then(U=>U.json()).then(U=>{Object.keys(U).forEach(G=>{He(G,U[G])})}).catch(U=>{console.log(U)})};Object.keys(Ae).forEach(c=>{He(c,Ae[c])});let x=[],ne=[],Z="",Y,q,ge,X=!0,K=!1,$=!1,we=!1,le=window.navigator.userAgent,ee=!1,J=[],se=!1,be="",ie=!1;const W=c=>{switch(c){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(le)},window.location.href);break;case"deposit":l?(Ot("open_shortcashier",{userid:r}),n(48,ie=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:Z},window.location.href);break}},re=()=>{n(46,se=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},ve=c=>{if(c.data)switch(c.data.type){case"SliderLoaded":te==c.data.identity&&Me();break;case"UserSessionID":c.data.userid,c.data.session,n(44,ee=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),c.data.showhamburger&&n(46,se=!1);break;case"LogoutSuccessfull":n(44,ee=!1);break;case"LanguageChanged":ye(),Fe(q);break;case"OpenShortCashier":W("deposit");break;case"CloseShortCashier":Q();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:T.clientHeight},window.location.href);break}},xe=()=>{n(44,ee=!0)},Q=c=>{n(48,ie=!1),window.postMessage({type:"EnableScroll"},window.location.href),c==null||c.stopPropagation()},ye=()=>{q=new URL(`${u}/${Z.toLowerCase()}/menu`),n(40,Y=new URL(`${u}/${Z.toLowerCase()}/hamburger-menu`)),ge=new URL(`${u}/${Z.toLowerCase()}/op-options/style`);let c=e.getDevice(le);q.searchParams.append("env",d),q.searchParams.append("language",Z.toLowerCase()),q.searchParams.append("userRoles",j),c&&(c==="PC"?(Y.searchParams.append("device","dk"),q.searchParams.append("device","dk")):(Y.searchParams.append("device","mtWeb"),q.searchParams.append("device","mtWeb"))),Y.searchParams.append("env",d),Y.searchParams.append("language",Z.toLowerCase()),Y.searchParams.append("userRoles",j)},$e=()=>{Dt(o)},et=()=>{n(45,J=m.replace(/ /g,"").split(",")),n(45,J=J.map(c=>c.toUpperCase())),n(39,Z=o.toUpperCase()),ye(),at(ge),setTimeout(()=>{Fe(q)})},tt=()=>{n(36,he=ke(p,x)),n(37,fe=ke(p,ne))},ke=(c,U)=>{let G=U.find(N=>{if(c.indexOf("/sport")>-1)return N.path.indexOf(c)>-1;if(N.path.includes(c))return!0});return G||(G=U.find(N=>N.path.split("/").indexOf(c.split("/")[1])>-1)),G?G.id:-1},Me=c=>{x.length>0&&window.postMessage({type:"SliderData",identity:te,data:x},window.location.href)},Fe=c=>(n(35,X=!0),new Promise((U,G)=>{fetch(c).then(N=>N.json()).then(N=>{x=N.desktop.primary,n(38,ne=N.desktop.secondary),n(35,X=!1),U(N)},N=>{n(35,X=!1),console.error(N),G(N)})})),at=c=>(n(41,K=!1),new Promise((U,G)=>{fetch(c).then(N=>N.json()).then(N=>{N.logoUrl.length>0&&(N.logoUrl!="null"||N.logoUrl!="false")?(n(47,be=N.logoUrl),n(41,K=!0)):n(41,K=!1),U(N)},N=>{n(41,K=!1),console.error(N),G(N)})})),oe=c=>{var U;window.postMessage({type:"NavigateTo",itemId:c.id,item:c,path:c.path,externalLink:c.externalLink||!1,target:((U=c.attrs)==null?void 0:U.target)||null},window.location.href)},ce=c=>{n(39,Z=c),n(42,$=!1),W("language")},ue=()=>{n(42,$=!$)},nt=c=>(k&&(c=k.includes(c.toLowerCase())?k.slice(-2):c),c=="EN"?"US":c.toUpperCase());e.onMount(()=>Ie(this,null,function*(){return window.addEventListener("message",ve,!1),e.isMobile(le)&&n(43,we=!0),()=>{window.removeEventListener("message",ve)}}));const lt=()=>re(),st=()=>W("lobby"),it=()=>W("deposit"),rt=c=>Q(c),ot=c=>Q(c),ct=()=>W("myaccount");function ut(c){e.binding_callbacks[c?"unshift":"push"](()=>{T=c,n(34,T)})}const mt=()=>W("lobby"),_t=()=>W("deposit"),dt=c=>Q(c),pt=c=>Q(c),ht=()=>W("myaccount");function ft(){Z=e.select_value(this),n(39,Z),n(45,J)}const gt=()=>W("language"),wt=()=>ue(),bt=c=>ce(c),vt=c=>oe(c);function yt(c){e.binding_callbacks[c?"unshift":"push"](()=>{T=c,n(34,T)})}const kt=()=>re(),Mt=()=>W("lobby"),Ft=()=>W("login"),It=()=>W("register");function Ht(c){e.binding_callbacks[c?"unshift":"push"](()=>{T=c,n(34,T)})}const At=()=>W("lobby"),Ct=()=>W("login"),St=()=>W("register");function Lt(){Z=e.select_value(this),n(39,Z),n(45,J)}const Et=()=>W("language"),Rt=()=>ue(),Bt=c=>ce(c),Nt=c=>oe(c);function Pt(c){e.binding_callbacks[c?"unshift":"push"](()=>{T=c,n(34,T)})}return a.$$set=c=>{"session"in c&&n(0,i=c.session),"userid"in c&&n(1,r=c.userid),"endpoint"in c&&n(2,_=c.endpoint),"cmsendpoint"in c&&n(58,u=c.cmsendpoint),"cmsenv"in c&&n(59,d=c.cmsenv),"lang"in c&&n(3,o=c.lang),"languageslist"in c&&n(4,m=c.languageslist),"activecategory"in c&&n(5,p=c.activecategory),"translationurl"in c&&n(6,h=c.translationurl),"customlocaleidentifier"in c&&n(7,k=c.customlocaleidentifier),"gmversion"in c&&n(8,B=c.gmversion),"countryflagheader"in c&&n(9,S=c.countryflagheader),"displaybalanceoption"in c&&n(10,L=c.displaybalanceoption),"countryflaghamburger"in c&&n(11,b=c.countryflaghamburger),"hasdefaultamount"in c&&n(12,M=c.hasdefaultamount),"playercurrency"in c&&n(13,F=c.playercurrency),"shortcashierenabled"in c&&n(14,z=c.shortcashierenabled),"producttype"in c&&n(15,O=c.producttype),"successurl"in c&&n(16,E=c.successurl),"failurl"in c&&n(17,I=c.failurl),"cancelurl"in c&&n(18,g=c.cancelurl),"sportsurl"in c&&n(19,v=c.sportsurl),"casinourl"in c&&n(20,R=c.casinourl),"contacturl"in c&&n(21,y=c.contacturl),"homeurl"in c&&n(22,f=c.homeurl),"depositurl"in c&&n(23,H=c.depositurl),"actionevent"in c&&n(24,A=c.actionevent),"userroles"in c&&n(60,j=c.userroles),"showsubgroups"in c&&n(25,D=c.showsubgroups),"mbsource"in c&&n(26,w=c.mbsource),"clientstyling"in c&&n(27,C=c.clientstyling),"clientstylingurl"in c&&n(28,P=c.clientstylingurl),"currencyseparator"in c&&n(29,V=c.currencyseparator),"currencydecimal"in c&&n(30,me=c.currencydecimal),"currencyprecision"in c&&n(31,_e=c.currencyprecision),"totalcalculationmode"in c&&n(32,de=c.totalcalculationmode),"gamification"in c&&n(33,pe=c.gamification)},a.$$.update=()=>{a.$$.dirty[0]&32|a.$$.dirty[1]&16&&p&&!X&&tt(),a.$$.dirty[0]&1&&i&&xe(),a.$$.dirty[0]&16384&&(l=z.toLocaleLowerCase()==="true"),a.$$.dirty[0]&8&&o&&$e(),a.$$.dirty[0]&24|a.$$.dirty[1]&671088640&&u&&o&&m&&j&&et(),a.$$.dirty[0]&64&&h&&Ke(),a.$$.dirty[0]&134217728|a.$$.dirty[1]&8&&C&&T&&e.setClientStyling(T,C),a.$$.dirty[0]&268435456|a.$$.dirty[1]&8&&P&&T&&e.setClientStylingURL(T,P),a.$$.dirty[0]&67108864|a.$$.dirty[1]&8&&T&&e.setStreamStyling(T,`${w}.Style`)},[i,r,_,o,m,p,h,k,B,S,L,b,M,F,z,O,E,I,g,v,R,y,f,H,A,D,w,C,P,V,me,_e,de,pe,T,X,he,fe,ne,Z,Y,K,$,we,ee,J,se,be,ie,s,W,re,Q,Me,oe,ce,ue,nt,u,d,j,lt,st,it,rt,ot,ct,ut,mt,_t,dt,pt,ht,ft,gt,wt,bt,vt,yt,kt,Mt,Ft,It,Ht,At,Ct,St,Lt,Et,Rt,Bt,Nt,Pt]}class Xe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oa,ra,e.safe_not_equal,{session:0,userid:1,endpoint:2,cmsendpoint:58,cmsenv:59,lang:3,languageslist:4,activecategory:5,translationurl:6,customlocaleidentifier:7,gmversion:8,countryflagheader:9,displaybalanceoption:10,countryflaghamburger:11,hasdefaultamount:12,playercurrency:13,shortcashierenabled:14,producttype:15,successurl:16,failurl:17,cancelurl:18,sportsurl:19,casinourl:20,contacturl:21,homeurl:22,depositurl:23,actionevent:24,userroles:60,showsubgroups:25,mbsource:26,clientstyling:27,clientstylingurl:28,currencyseparator:29,currencydecimal:30,currencyprecision:31,totalcalculationmode:32,gamification:33},Wt,[-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[58]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[59]}set cmsenv(t){this.$$set({cmsenv:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get languageslist(){return this.$$.ctx[4]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get activecategory(){return this.$$.ctx[5]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[7]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[8]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get countryflagheader(){return this.$$.ctx[9]}set countryflagheader(t){this.$$set({countryflagheader:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[10]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[11]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get playercurrency(){return this.$$.ctx[13]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[14]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get producttype(){return this.$$.ctx[15]}set producttype(t){this.$$set({producttype:t}),e.flush()}get successurl(){return this.$$.ctx[16]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[17]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[18]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get sportsurl(){return this.$$.ctx[19]}set sportsurl(t){this.$$set({sportsurl:t}),e.flush()}get casinourl(){return this.$$.ctx[20]}set casinourl(t){this.$$set({casinourl:t}),e.flush()}get contacturl(){return this.$$.ctx[21]}set contacturl(t){this.$$set({contacturl:t}),e.flush()}get homeurl(){return this.$$.ctx[22]}set homeurl(t){this.$$set({homeurl:t}),e.flush()}get depositurl(){return this.$$.ctx[23]}set depositurl(t){this.$$set({depositurl:t}),e.flush()}get actionevent(){return this.$$.ctx[24]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get userroles(){return this.$$.ctx[60]}set userroles(t){this.$$set({userroles:t}),e.flush()}get showsubgroups(){return this.$$.ctx[25]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencyseparator(){return this.$$.ctx[29]}set currencyseparator(t){this.$$set({currencyseparator:t}),e.flush()}get currencydecimal(){return this.$$.ctx[30]}set currencydecimal(t){this.$$set({currencydecimal:t}),e.flush()}get currencyprecision(){return this.$$.ctx[31]}set currencyprecision(t){this.$$set({currencyprecision:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[32]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get gamification(){return this.$$.ctx[33]}set gamification(t){this.$$set({gamification:t}),e.flush()}}e.create_custom_element(Xe,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},actionevent:{},userroles:{},showsubgroups:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencyseparator:{},currencydecimal:{},currencyprecision:{},totalcalculationmode:{},gamification:{}},[],[],!0);exports.default=Xe;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";var at=Object.defineProperty,ot=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var ze=(r,e,n)=>e in r?at(r,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[e]=n,Ue=(r,e)=>{for(var n in e||(e={}))it.call(e,n)&&ze(r,n,e[n]);if(He)for(var n of He(e))st.call(e,n)&&ze(r,n,e[n]);return r},Pe=(r,e)=>ot(r,rt(e));var Ge=(r,e,n)=>new Promise((s,l)=>{var c=g=>{try{f(n.next(g))}catch(v){l(v)}},y=g=>{try{f(n.throw(g))}catch(v){l(v)}},f=g=>g.done?s(g.value):Promise.resolve(g.value).then(c,y);f((n=n.apply(r,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-CrZ5l9tM.cjs");function Xe(r,e){t.addMessages(r,e)}function lt(r){t.$locale.set(r)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Ie={exports:{}};/** @license
|
2
|
-
* eventsource.js
|
3
|
-
* Available under MIT License (MIT)
|
4
|
-
* https://github.com/Yaffle/EventSource/
|
5
|
-
*/(function(r,e){(function(n){var s=n.setTimeout,l=n.clearTimeout,c=n.XMLHttpRequest,y=n.XDomainRequest,f=n.ActiveXObject,g=n.EventSource,v=n.document,D=n.Promise,k=n.fetch,C=n.Response,T=n.TextDecoder,R=n.TextEncoder,z=n.AbortController;if(typeof window!="undefined"&&typeof v!="undefined"&&!("readyState"in v)&&v.body==null&&(v.readyState="loading",window.addEventListener("load",function(a){v.readyState="complete"},!1)),c==null&&f!=null&&(c=function(){return new f("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(a){function i(){}return i.prototype=a,new i}),Date.now||(Date.now=function(){return new Date().getTime()}),z==null){var F=k;k=function(a,i){var d=i.signal;return F(a,{headers:i.headers,credentials:i.credentials,cache:i.cache}).then(function(o){var m=o.body.getReader();return d._reader=m,d._aborted&&d._reader.cancel(),{status:o.status,statusText:o.statusText,headers:o.headers,body:{getReader:function(){return m}}}})},z=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function j(){this.bitsNeeded=0,this.codePoint=0}j.prototype.decode=function(a){function i(x,M,b){if(b===1)return x>=128>>M&&x<<M<=2047;if(b===2)return x>=2048>>M&&x<<M<=55295||x>=57344>>M&&x<<M<=65535;if(b===3)return x>=65536>>M&&x<<M<=1114111;throw new Error}function d(x,M){if(x===6*1)return M>>6>15?3:M>31?2:1;if(x===6*2)return M>15?3:2;if(x===6*3)return 3;throw new Error}for(var o=65533,m="",h=this.bitsNeeded,B=this.codePoint,O=0;O<a.length;O+=1){var A=a[O];h!==0&&(A<128||A>191||!i(B<<6|A&63,h-6,d(h,B)))&&(h=0,B=o,m+=String.fromCharCode(B)),h===0?(A>=0&&A<=127?(h=0,B=A):A>=192&&A<=223?(h=6*1,B=A&31):A>=224&&A<=239?(h=6*2,B=A&15):A>=240&&A<=247?(h=6*3,B=A&7):(h=0,B=o),h!==0&&!i(B,h,d(h,B))&&(h=0,B=o)):(h-=6,B=B<<6|A&63),h===0&&(B<=65535?m+=String.fromCharCode(B):(m+=String.fromCharCode(55296+(B-65535-1>>10)),m+=String.fromCharCode(56320+(B-65535-1&1023))))}return this.bitsNeeded=h,this.codePoint=B,m};var J=function(){try{return new T().decode(new R().encode("test"),{stream:!0})==="test"}catch(a){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+a)}return!1};(T==null||R==null||!J())&&(T=j);var w=function(){};function S(a){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=a,this._sendTimeout=0,this._abort=w}S.prototype.open=function(a,i){this._abort(!0);var d=this,o=this._xhr,m=1,h=0;this._abort=function(b){d._sendTimeout!==0&&(l(d._sendTimeout),d._sendTimeout=0),(m===1||m===2||m===3)&&(m=4,o.onload=w,o.onerror=w,o.onabort=w,o.onprogress=w,o.onreadystatechange=w,o.abort(),h!==0&&(l(h),h=0),b||(d.readyState=4,d.onabort(null),d.onreadystatechange())),m=0};var B=function(){if(m===1){var b=0,N="",ie=void 0;if("contentType"in o)b=200,N="OK",ie=o.contentType;else try{b=o.status,N=o.statusText,ie=o.getResponseHeader("Content-Type")}catch(Ce){b=0,N="",ie=void 0}b!==0&&(m=2,d.readyState=2,d.status=b,d.statusText=N,d._contentType=ie,d.onreadystatechange())}},O=function(){if(B(),m===2||m===3){m=3;var b="";try{b=o.responseText}catch(N){}d.readyState=3,d.responseText=b,d.onprogress()}},A=function(b,N){if((N==null||N.preventDefault==null)&&(N={preventDefault:w}),O(),m===1||m===2||m===3){if(m=4,h!==0&&(l(h),h=0),d.readyState=4,b==="load")d.onload(N);else if(b==="error")d.onerror(N);else if(b==="abort")d.onabort(N);else throw new TypeError;d.onreadystatechange()}},x=function(b){o!=null&&(o.readyState===4?(!("onload"in o)||!("onerror"in o)||!("onabort"in o))&&A(o.responseText===""?"error":"load",b):o.readyState===3?"onprogress"in o||O():o.readyState===2&&B())},M=function(){h=s(function(){M()},500),o.readyState===3&&O()};"onload"in o&&(o.onload=function(b){A("load",b)}),"onerror"in o&&(o.onerror=function(b){A("error",b)}),"onabort"in o&&(o.onabort=function(b){A("abort",b)}),"onprogress"in o&&(o.onprogress=O),"onreadystatechange"in o&&(o.onreadystatechange=function(b){x(b)}),("contentType"in o||!("ontimeout"in c.prototype))&&(i+=(i.indexOf("?")===-1?"?":"&")+"padding=true"),o.open(a,i,!0),"readyState"in o&&(h=s(function(){M()},0))},S.prototype.abort=function(){this._abort(!1)},S.prototype.getResponseHeader=function(a){return this._contentType},S.prototype.setRequestHeader=function(a,i){var d=this._xhr;"setRequestHeader"in d&&d.setRequestHeader(a,i)},S.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},S.prototype.send=function(){if((!("ontimeout"in c.prototype)||!("sendAsBinary"in c.prototype)&&!("mozAnon"in c.prototype))&&v!=null&&v.readyState!=null&&v.readyState!=="complete"){var a=this;a._sendTimeout=s(function(){a._sendTimeout=0,a.send()},4);return}var i=this._xhr;"withCredentials"in i&&(i.withCredentials=this.withCredentials);try{i.send(void 0)}catch(d){throw d}};function U(a){return a.replace(/[A-Z]/g,function(i){return String.fromCharCode(i.charCodeAt(0)+32)})}function L(a){for(var i=Object.create(null),d=a.split(`\r
|
6
|
-
`),o=0;o<d.length;o+=1){var m=d[o],h=m.split(": "),B=h.shift(),O=h.join(": ");i[U(B)]=O}this._map=i}L.prototype.get=function(a){return this._map[U(a)]},c!=null&&c.HEADERS_RECEIVED==null&&(c.HEADERS_RECEIVED=2);function Q(){}Q.prototype.open=function(a,i,d,o,m,h,B){a.open("GET",m);var O=0;a.onprogress=function(){var x=a.responseText,M=x.slice(O);O+=M.length,d(M)},a.onerror=function(x){x.preventDefault(),o(new Error("NetworkError"))},a.onload=function(){o(null)},a.onabort=function(){o(null)},a.onreadystatechange=function(){if(a.readyState===c.HEADERS_RECEIVED){var x=a.status,M=a.statusText,b=a.getResponseHeader("Content-Type"),N=a.getAllResponseHeaders();i(x,M,b,new L(N))}},a.withCredentials=h;for(var A in B)Object.prototype.hasOwnProperty.call(B,A)&&a.setRequestHeader(A,B[A]);return a.send(),a};function de(a){this._headers=a}de.prototype.get=function(a){return this._headers.get(a)};function ee(){}ee.prototype.open=function(a,i,d,o,m,h,B){var O=null,A=new z,x=A.signal,M=new T;return k(m,{headers:B,credentials:h?"include":"same-origin",signal:x,cache:"no-store"}).then(function(b){return O=b.body.getReader(),i(b.status,b.statusText,b.headers.get("Content-Type"),new de(b.headers)),new D(function(N,ie){var Ce=function(){O.read().then(function(K){if(K.done)N(void 0);else{var P=M.decode(K.value,{stream:!0});d(P),Ce()}}).catch(function(K){ie(K)})};Ce()})}).catch(function(b){if(b.name!=="AbortError")return b}).then(function(b){o(b)}),{abort:function(){O!=null&&O.cancel(),A.abort()}}};function te(){this._listeners=Object.create(null)}function p(a){s(function(){throw a},0)}te.prototype.dispatchEvent=function(a){a.target=this;var i=this._listeners[a.type];if(i!=null)for(var d=i.length,o=0;o<d;o+=1){var m=i[o];try{typeof m.handleEvent=="function"?m.handleEvent(a):m.call(this,a)}catch(h){p(h)}}},te.prototype.addEventListener=function(a,i){a=String(a);var d=this._listeners,o=d[a];o==null&&(o=[],d[a]=o);for(var m=!1,h=0;h<o.length;h+=1)o[h]===i&&(m=!0);m||o.push(i)},te.prototype.removeEventListener=function(a,i){a=String(a);var d=this._listeners,o=d[a];if(o!=null){for(var m=[],h=0;h<o.length;h+=1)o[h]!==i&&m.push(o[h]);m.length===0?delete d[a]:d[a]=m}};function Z(a){this.type=a,this.target=void 0}function Se(a,i){Z.call(this,a),this.data=i.data,this.lastEventId=i.lastEventId}Se.prototype=Object.create(Z.prototype);function he(a,i){Z.call(this,a),this.status=i.status,this.statusText=i.statusText,this.headers=i.headers}he.prototype=Object.create(Z.prototype);function _e(a,i){Z.call(this,a),this.error=i.error}_e.prototype=Object.create(Z.prototype);var ve=-1,oe=0,re=1,ue=2,be=-1,$=0,me=1,Ae=2,Re=3,Me=/^text\/event\-stream(;.*)?$/i,Fe=1e3,Ee=18e6,we=function(a,i){var d=a==null?i:parseInt(a,10);return d!==d&&(d=i),Be(d)},Be=function(a){return Math.min(Math.max(a,Fe),Ee)},fe=function(a,i,d){try{typeof i=="function"&&i.call(a,d)}catch(o){p(o)}};function q(a,i){te.call(this),i=i||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,_(this,a,i)}function ke(){return c!=null&&"withCredentials"in c.prototype||y==null?new c:new y}var u=k!=null&&C!=null&&"body"in C.prototype;function _(a,i,d){i=String(i);var o=!!d.withCredentials,m=d.lastEventIdQueryParameterName||"lastEventId",h=Be(1e3),B=we(d.heartbeatTimeout,45e3),O="",A=h,x=!1,M=0,b=d.headers||{},N=d.Transport,ie=u&&N==null?void 0:new S(N!=null?new N:ke()),Ce=N!=null&&typeof N!="string"?new N:ie==null?new ee:new Q,K=void 0,P=0,ne=ve,ge="",xe="",se="",De="",G=$,Oe=0,pe=0,tt=function(V,I,W,Y){if(ne===oe)if(V===200&&W!=null&&Me.test(W)){ne=re,x=Date.now(),A=h,a.readyState=re;var X=new he("open",{status:V,statusText:I,headers:Y});a.dispatchEvent(X),fe(a,a.onopen,X)}else{var H="";V!==200?(I&&(I=I.replace(/\s+/g," ")),H="EventSource's response has a status "+V+" "+I+" that is not 200. Aborting the connection."):H="EventSource's response has a Content-Type specifying an unsupported type: "+(W==null?"-":W.replace(/\s+/g," "))+". Aborting the connection.",Ne();var X=new he("error",{status:V,statusText:I,headers:Y});a.dispatchEvent(X),fe(a,a.onerror,X),console.error(H)}},nt=function(V){if(ne===re){for(var I=-1,W=0;W<V.length;W+=1){var Y=V.charCodeAt(W);(Y===10||Y===13)&&(I=W)}var X=(I!==-1?De:"")+V.slice(0,I+1);De=(I===-1?De:"")+V.slice(I+1),V!==""&&(x=Date.now(),M+=V.length);for(var H=0;H<X.length;H+=1){var Y=X.charCodeAt(H);if(G===be&&Y===10)G=$;else if(G===be&&(G=$),Y===13||Y===10){if(G!==$){G===me&&(pe=H+1);var le=X.slice(Oe,pe-1),ce=X.slice(pe+(pe<H&&X.charCodeAt(pe)===32?1:0),H);le==="data"?(ge+=`
|
7
|
-
`,ge+=ce):le==="id"?xe=ce:le==="event"?se=ce:le==="retry"?(h=we(ce,h),A=h):le==="heartbeatTimeout"&&(B=we(ce,B),P!==0&&(l(P),P=s(function(){Te()},B)))}if(G===$){if(ge!==""){O=xe,se===""&&(se="message");var ye=new Se(se,{data:ge.slice(1),lastEventId:xe});if(a.dispatchEvent(ye),se==="open"?fe(a,a.onopen,ye):se==="message"?fe(a,a.onmessage,ye):se==="error"&&fe(a,a.onerror,ye),ne===ue)return}ge="",se=""}G=Y===13?be:$}else G===$&&(Oe=H,G=me),G===me?Y===58&&(pe=H+1,G=Ae):G===Ae&&(G=Re)}}},je=function(V){if(ne===re||ne===oe){ne=ve,P!==0&&(l(P),P=0),P=s(function(){Te()},A),A=Be(Math.min(h*16,A*2)),a.readyState=oe;var I=new _e("error",{error:V});a.dispatchEvent(I),fe(a,a.onerror,I),V!=null&&console.error(V)}},Ne=function(){ne=ue,K!=null&&(K.abort(),K=void 0),P!==0&&(l(P),P=0),a.readyState=ue},Te=function(){if(P=0,ne!==ve){if(!x&&K!=null)je(new Error("No activity within "+B+" milliseconds. "+(ne===oe?"No response received.":M+" chars received.")+" Reconnecting.")),K!=null&&(K.abort(),K=void 0);else{var V=Math.max((x||Date.now())+B-Date.now(),1);x=!1,P=s(function(){Te()},V)}return}x=!1,M=0,P=s(function(){Te()},B),ne=oe,ge="",se="",xe=O,De="",Oe=0,pe=0,G=$;var I=i;if(i.slice(0,5)!=="data:"&&i.slice(0,5)!=="blob:"&&O!==""){var W=i.indexOf("?");I=W===-1?i:i.slice(0,W+1)+i.slice(W+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ce,ye){return ye===m?"":ce}),I+=(i.indexOf("?")===-1?"?":"&")+m+"="+encodeURIComponent(O)}var Y=a.withCredentials,X={};X.Accept="text/event-stream";var H=a.headers;if(H!=null)for(var le in H)Object.prototype.hasOwnProperty.call(H,le)&&(X[le]=H[le]);try{K=Ce.open(ie,tt,nt,je,I,Y,X)}catch(ce){throw Ne(),ce}};a.url=i,a.readyState=oe,a.withCredentials=o,a.headers=b,a._close=Ne,Te()}q.prototype=Object.create(te.prototype),q.prototype.CONNECTING=oe,q.prototype.OPEN=re,q.prototype.CLOSED=ue,q.prototype.close=function(){this._close()},q.CONNECTING=oe,q.OPEN=re,q.CLOSED=ue,q.prototype.withCredentials=void 0;var E=g;c!=null&&(g==null||!("withCredentials"in g.prototype))&&(E=q),function(a){{var i=a(e);i!==void 0&&(r.exports=i)}}(function(a){a.EventSourcePolyfill=q,a.NativeEventSource=g,a.EventSource=E})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:t.commonjsGlobal:globalThis)})(Ie,Ie.exports);var ct=Ie.exports;/*!
|
8
|
-
* currency.js - v2.0.4
|
9
|
-
* http://scurker.github.io/currency.js
|
10
|
-
*
|
11
|
-
* Copyright (c) 2021 Jason Wilson
|
12
|
-
* Released under MIT license
|
13
|
-
*/var dt={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:ht,fromCents:!1},$e=function(e){return Math.round(e)},Ve=function(e){return Math.pow(10,e)},ut=function(e,n){return $e(e/n)*n},ft=/(\d)(?=(\d{3})+\b)/g,pt=/(\d)(?=(\d\d)+\d\b)/g;function ae(r,e){var n=this;if(!(n instanceof ae))return new ae(r,e);var s=Object.assign({},dt,e),l=Ve(s.precision),c=Le(r,s);n.intValue=c,n.value=c/l,s.increment=s.increment||1/l,s.useVedic?s.groups=pt:s.groups=ft,this.s=s,this.p=l}function Le(r,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=0,l=e.decimal,c=e.errorOnInvalid,y=e.precision,f=e.fromCents,g=Ve(y),v=typeof r=="number",D=r instanceof ae;if(D&&f)return r.intValue;if(v||D)s=D?r.value:r;else if(typeof r=="string"){var k=new RegExp("[^-\\d"+l+"]","g"),C=new RegExp("\\"+l,"g");s=r.replace(/\((.*)\)/,"-$1").replace(k,"").replace(C,"."),s=s||0}else{if(c)throw Error("Invalid Input");s=0}return f||(s*=g,s=s.toFixed(4)),n?$e(s):s}function ht(r,e){var n=e.pattern,s=e.negativePattern,l=e.symbol,c=e.separator,y=e.decimal,f=e.groups,g=(""+r).replace(/^-/,"").split("."),v=g[0],D=g[1];return(r.value>=0?n:s).replace("!",l).replace("#",v.replace(f,"$1"+c)+(D?y+D:""))}ae.prototype={add:function(e){var n=this.intValue,s=this.s,l=this.p;return ae((n+=Le(e,s))/(s.fromCents?1:l),s)},subtract:function(e){var n=this.intValue,s=this.s,l=this.p;return ae((n-=Le(e,s))/(s.fromCents?1:l),s)},multiply:function(e){var n=this.intValue,s=this.s;return ae((n*=e)/(s.fromCents?1:Ve(s.precision)),s)},divide:function(e){var n=this.intValue,s=this.s;return ae(n/=Le(e,s,!1),s)},distribute:function(e){for(var n=this.intValue,s=this.p,l=this.s,c=[],y=Math[n>=0?"floor":"ceil"](n/e),f=Math.abs(n-y*e),g=l.fromCents?1:s;e!==0;e--){var v=ae(y/g,l);f-- >0&&(v=v[n>=0?"add":"subtract"](1/g)),c.push(v)}return c},dollars:function(){return~~this.value},cents:function(){var e=this.intValue,n=this.p;return~~(e%n)},format:function(e){var n=this.s;return typeof e=="function"?e(this,n):n.format(this,Object.assign({},n,e))},toString:function(){var e=this.intValue,n=this.p,s=this.s;return ut(e/n,s.increment).toFixed(s.precision)},toJSON:function(){return this.value}};function mt(r){t.append_styles(r,"svelte-gv6dm2",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap;background:transparent;border:none;font:inherit;color:inherit}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;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}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;font:inherit}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}')}function Ke(r,e,n){const s=r.slice();return s[47]=e[n],s}function We(r,e,n){const s=r.slice();return s[50]=e[n],s}function gt(r){let e,n=(r[4].Total?r[6](r[4].Total[0].amount):"0")+"",s,l,c,y,f,g,v,D,k,C=r[2]&&Ye(r);return{c(){e=t.element("button"),s=t.text(n),l=t.space(),c=t.text(r[3]),y=t.space(),f=t.element("span"),f.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',g=t.space(),C&&C.c(),v=t.empty(),t.attr(e,"class","BalanceValue")},m(T,R){t.insert(T,e,R),t.append(e,s),t.append(e,l),t.append(e,c),t.append(e,y),t.append(e,f),t.insert(T,g,R),C&&C.m(T,R),t.insert(T,v,R),D||(k=t.listen(e,"click",r[23]),D=!0)},p(T,R){R[0]&16&&n!==(n=(T[4].Total?T[6](T[4].Total[0].amount):"0")+"")&&t.set_data(s,n),R[0]&8&&t.set_data(c,T[3]),T[2]?C?C.p(T,R):(C=Ye(T),C.c(),C.m(v.parentNode,v)):C&&(C.d(1),C=null)},d(T){T&&(t.detach(e),t.detach(g),t.detach(v)),C&&C.d(T),D=!1,k()}}}function yt(r){let e,n=r[5]("Loading")+"",s;return{c(){e=t.element("p"),s=t.text(n)},m(l,c){t.insert(l,e,c),t.append(e,s)},p(l,c){c[0]&32&&n!==(n=l[5]("Loading")+"")&&t.set_data(s,n)},d(l){l&&t.detach(e)}}}function Ye(r){let e,n,s,l,c,y,f=r[5]("Title")+"",g,v,D,k,C,T,R=r[5]("DepositButton")+"",z,F,j,J=t.ensure_array_like(Object.keys(r[4])),w=[];for(let S=0;S<J.length;S+=1)w[S]=Qe(Ke(r,J,S));return{c(){e=t.element("div"),n=t.element("button"),s=t.space(),l=t.element("div"),c=t.element("div"),y=t.element("p"),g=t.text(f),v=t.space(),D=t.element("div");for(let S=0;S<w.length;S+=1)w[S].c();k=t.space(),C=t.element("div"),T=t.element("button"),z=t.text(R),t.attr(n,"class","BalanceModalClose"),t.attr(y,"class","BalanceModalTitle"),t.attr(c,"class","BalanceModalHeader"),t.attr(D,"class","BalanceModalBody"),t.attr(T,"class","BalanceModalAction"),t.attr(C,"class","BalanceModalFooter"),t.attr(l,"class","BalanceModal"),t.attr(e,"class","BalanceModalWrapper")},m(S,U){t.insert(S,e,U),t.append(e,n),t.append(e,s),t.append(e,l),t.append(l,c),t.append(c,y),t.append(y,g),t.append(l,v),t.append(l,D);for(let L=0;L<w.length;L+=1)w[L]&&w[L].m(D,null);t.append(l,k),t.append(l,C),t.append(C,T),t.append(T,z),F||(j=[t.listen(n,"click",r[24]),t.listen(T,"click",r[25])],F=!0)},p(S,U){if(U[0]&32&&f!==(f=S[5]("Title")+"")&&t.set_data(g,f),U[0]&120){J=t.ensure_array_like(Object.keys(S[4]));let L;for(L=0;L<J.length;L+=1){const Q=Ke(S,J,L);w[L]?w[L].p(Q,U):(w[L]=Qe(Q),w[L].c(),w[L].m(D,null))}for(;L<w.length;L+=1)w[L].d(1);w.length=J.length}U[0]&32&&R!==(R=S[5]("DepositButton")+"")&&t.set_data(z,R)},d(S){S&&t.detach(e),t.destroy_each(w,S),F=!1,t.run_all(j)}}}function Je(r){let e,n,s=r[5](r[47])+"",l,c,y=(r[50].productType?r[5](r[50].productType):"")+"",f,g,v,D,k=(r[50].amount?r[6](r[50].amount):"0")+"",C,T,R,z;return{c(){e=t.element("div"),n=t.element("p"),l=t.text(s),c=t.space(),f=t.text(y),g=t.space(),v=t.element("p"),D=t.element("span"),C=t.text(k),T=t.space(),R=t.element("span"),z=t.text(r[3]),t.attr(n,"class","BalanceModalText"),t.attr(D,"class","BalanceModalAmount"),t.attr(R,"class","BalanceModalCurrency"),t.attr(v,"class","BalanceModalValue"),t.attr(e,"class","BalanceModalRowLine")},m(F,j){t.insert(F,e,j),t.append(e,n),t.append(n,l),t.append(n,c),t.append(n,f),t.append(e,g),t.append(e,v),t.append(v,D),t.append(D,C),t.append(v,T),t.append(v,R),t.append(R,z)},p(F,j){j[0]&48&&s!==(s=F[5](F[47])+"")&&t.set_data(l,s),j[0]&48&&y!==(y=(F[50].productType?F[5](F[50].productType):"")+"")&&t.set_data(f,y),j[0]&16&&k!==(k=(F[50].amount?F[6](F[50].amount):"0")+"")&&t.set_data(C,k),j[0]&8&&t.set_data(z,F[3])},d(F){F&&t.detach(e)}}}function Qe(r){let e,n,s=t.ensure_array_like(r[4][r[47]]),l=[];for(let c=0;c<s.length;c+=1)l[c]=Je(We(r,s,c));return{c(){e=t.element("div");for(let c=0;c<l.length;c+=1)l[c].c();n=t.space(),t.attr(e,"class","BalanceModalRowBoth")},m(c,y){t.insert(c,e,y);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(e,null);t.append(e,n)},p(c,y){if(y[0]&120){s=t.ensure_array_like(c[4][c[47]]);let f;for(f=0;f<s.length;f+=1){const g=We(c,s,f);l[f]?l[f].p(g,y):(l[f]=Je(g),l[f].c(),l[f].m(e,n))}for(;f<l.length;f+=1)l[f].d(1);l.length=s.length}},d(c){c&&t.detach(e),t.destroy_each(l,c)}}}function Ze(r){let e,n,s;return{c(){e=t.element("button"),t.attr(e,"class","ShowBalanceModalOverlay")},m(l,c){t.insert(l,e,c),n||(s=t.listen(e,"click",r[26]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,s()}}}function vt(r){let e,n,s;function l(g,v){return g[1]?yt:gt}let c=l(r),y=c(r),f=r[2]&&Ze(r);return{c(){e=t.element("div"),n=t.element("div"),y.c(),s=t.space(),f&&f.c(),t.attr(n,"class","ShowBalance")},m(g,v){t.insert(g,e,v),t.append(e,n),y.m(n,null),t.append(e,s),f&&f.m(e,null),r[27](e)},p(g,v){c===(c=l(g))&&y?y.p(g,v):(y.d(1),y=c(g),y&&(y.c(),y.m(n,null))),g[2]?f?f.p(g,v):(f=Ze(g),f.c(),f.m(e,null)):f&&(f.d(1),f=null)},i:t.noop,o:t.noop,d(g){g&&t.detach(e),y.d(),f&&f.d(),r[27](null)}}}function bt(r,e,n){let s;t.component_subscribe(r,t.$format,u=>n(5,s=u));let{userid:l=""}=e,{session:c=""}=e,{endpoint:y=""}=e,{lang:f="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:v=""}=e,{translationurl:D=""}=e,{customlocaleidentifier:k=""}=e,{gmversion:C="gm16"}=e,{displaybalanceoption:T="All"}=e,{totalcalculationmode:R="totalCashAmount"}=e,{currencyseparator:z=""}=e,{currencydecimal:F=""}=e,{currencyprecision:j=""}=e,{mbsource:J}=e,w,S=!0,U=!1,L=!1,Q,de="",ee=[],te;const p={},Z=["totalCashAmount","totalRealAmount"],Se=()=>{fetch(D).then(u=>u.json()).then(u=>Object.keys(u).forEach(_=>Xe(_,u[_]))).catch(u=>console.log(u))};Object.keys(qe).forEach(u=>Xe(u,qe[u]));const he=()=>{if(k.includes(f))return k},_e=u=>k?new Intl.NumberFormat(he(),{useGrouping:!0}).format(u):z&&F?ae(u,{separator:z,decimal:F,symbol:"",precision:parseInt(j||"2",10)}).format():ae(u,{separator:".",decimal:",",symbol:"",precision:parseInt(j||"2",10)}).format(),ve=()=>Ge(this,null,function*(){var _,E,a;n(1,S=!0);const u=new URL(`${y}/v1/player/${l}/account`);try{const i=yield fetch(u,{method:"GET",headers:{"X-SessionID":c}}),d=yield i.json();if(i.ok)ee=d.items,n(3,de=(_=ee.find(o=>o.displayName==="Casino"))==null?void 0:_.currency),n(4,p.Total=[{amount:d.totalAmount[de]}],p),n(4,p.Real=[{amount:(E=ee.find(o=>o.displayName==="Casino"))==null?void 0:E.balanceAmount}],p),n(4,p.Bonus=[{amount:(a=ee.find(o=>o.displayName==="UBS"))==null?void 0:a.balanceAmount}],p);else throw new Error("Failed to fetch balance data !")}catch(i){console.log("Balance error: ",i)}finally{n(1,S=!1)}}),oe=()=>{n(1,S=!0);const u=new URL(`${y}/v2/player/${l}/balance`),_=new Headers;_.append("X-SessionID",c),fetch(u,{method:"GET",headers:_}).then(a=>a.json()).then(a=>{a[R]||n(8,R=Z[0]);const i=a.items.find(o=>o.type==="Real"&&o.walletAccountType==="Ordinary");if(n(3,de=i.currency),L=!!i.productType,n(4,p.Total=[{amount:0}],p),n(4,p.Real=[],p),n(4,p.Bonus=[],p),n(4,p.Credit=[],p),!L){te={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},n(4,p.Total[0].amount=a[R][de],p);for(const o of a.items)switch(o.type){case"Bonus":p.Bonus.length===0?p.Bonus.push({amount:o.amount}):n(4,p.Bonus[0].amount+=o.amount,p);break;case"Real":if(o.creditLine&&p.Credit.length===0&&p.Credit.push({amount:o.creditLine}),R==="totalRealAmount")continue;p.Real.length===0?p.Real.push({amount:o.amount}):n(4,p.Real[0].amount+=o.amount,p);break}for(const[o,m]of Object.entries(p))m.length<1&&delete p[o];n(1,S=!1);return}te={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let d=a.items;T&&T!=="All"&&(d=a.items.filter(o=>o.productType===T));for(const o of d){let m;switch(o.type){case"Bonus":m=p.Bonus.findIndex(h=>h.productType===o.productType),m>0?n(4,p.Bonus[m].amount+=o.amount,p):p.Bonus.push({amount:o.amount,productType:o.productType});break;case"Real":o.creditLine&&p.Credit.push({amount:o.creditLine,productType:o.productType}),m=p.Real.findIndex(h=>h.productType===o.productType),m>0?n(4,p.Real[m].amount+=o.amount,p):p.Real.push({amount:o.amount,productType:o.productType});break}}me();for(const[o,m]of Object.entries(p))m.length<1&&delete p[o];n(1,S=!1)}).catch(()=>{throw n(1,S=!1),new Error("Failed to fetch balance data !")})},re=()=>{if(Q&&Q.close(),c.length<1)return;let u,_;switch(C){case"gm16":u=new URL(`${y}/v2/player/${l}/information/updates`),_=i=>Ae(i);break;case"gmcore":u=new URL(`${y}/v1/player/${l}/balance/updates`),_=i=>be(i);break}const E={accept:"text/event-stream","X-SessionId":c},a=new ct.EventSourcePolyfill(u,{headers:E});Q=a,a.addEventListener("message",_)},ue=u=>{let _;try{_=JSON.parse(u)}catch(E){console.log("Balance stream failed: ",E);return}return _},be=u=>{var i,d;const _=ue(u.data);if(!_){re();return}let E="0";const a=_.balanceChange;ee=ee.map(o=>(a&&a[o.id]&&(o=Pe(Ue({},o),{balanceAmount:a[o.id].afterAmount})),E=(parseFloat(o==null?void 0:o.balanceAmount)+parseFloat(E)).toString(),o)),n(4,p.Real=[{amount:(i=ee[0])==null?void 0:i.balanceAmount}],p),n(4,p.Bonus=[{amount:(d=ee[1])==null?void 0:d.balanceAmount}],p),n(4,p.Total=[{amount:Number(E)}],p)},$=(u,_,E)=>{let a=null;switch(E.walletAccountType){case"Ordinary":(E.afterAmount!==E.affectedAmount||_.lastOrdinaryAfterAmount===0)&&(_.lastOrdinaryAfterAmount=E.afterAmount,_.showCreditLineAfterAmount||(a=E.afterAmount));break;case"CreditLine":E.afterAmount!==0?(a=E.afterAmount,_.showCreditLineAfterAmount=!0):(a=_.lastOrdinaryAfterAmount,_.showCreditLineAfterAmount=!1);break;default:a=E.afterAmount}return a===null?u:a},me=()=>{switch(R){case"totalCashAmount":let u=0;for(const E of["Real","Bonus"])for(const a of p[E])u+=Math.max(a.amount,0);n(4,p.Total[0].amount=u,p);break;case"totalRealAmount":if(!L)return;let _=0;for(const E of p.Real)_+=E.amount;n(4,p.Total[0].amount=_,p)}},Ae=u=>{const _=ue(u.data);if(!_){re();return}if(_.type!=="BALANCE_UPDATE_V2")return;const E=_.body.balanceChange;for(const[a,i]of Object.entries(E))if(R==="totalRealAmount"&&a==="Real"&&!L&&n(4,p.Total[0].amount=$(p.Total[0].amount,te,i),p),!!p[a])for(const d of p[a]){if(!L){d.amount=a==="Real"?$(d.amount,te,i):i.afterAmount;continue}i.productType===d.productType&&(d.amount=a==="Real"?$(d.amount,te[d.productType],i):i.afterAmount)}me()},Re=()=>{n(2,U=!1),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},Me=()=>{Z.includes(R)||(console.error(`Unsupported value ('${R}') for totalcalculationmode parameter. Only the following values are supported ${Z}. Using default value ('${Z[0]}').`),n(8,R=Z[0]))},Fe=()=>{switch(lt(f),Me(),C){case"gmcore":ve();break;case"gm16":oe();break;default:throw Error(`Invalid apiversion attribute: ${C}`)}},Ee=u=>u.data&&u.data.type==="LogoutSuccessfull"&&Q.close();t.onMount(()=>(window.addEventListener("message",Ee,!1),()=>{window.removeEventListener("message",Ee),Q&&Q.close()}));const we=()=>n(2,U=!0),Be=()=>n(2,U=!1),fe=()=>Re(),q=()=>n(2,U=!1);function ke(u){t.binding_callbacks[u?"unshift":"push"](()=>{w=u,n(0,w)})}return r.$$set=u=>{"userid"in u&&n(9,l=u.userid),"session"in u&&n(10,c=u.session),"endpoint"in u&&n(11,y=u.endpoint),"lang"in u&&n(12,f=u.lang),"clientstyling"in u&&n(13,g=u.clientstyling),"clientstylingurl"in u&&n(14,v=u.clientstylingurl),"translationurl"in u&&n(15,D=u.translationurl),"customlocaleidentifier"in u&&n(16,k=u.customlocaleidentifier),"gmversion"in u&&n(17,C=u.gmversion),"displaybalanceoption"in u&&n(18,T=u.displaybalanceoption),"totalcalculationmode"in u&&n(8,R=u.totalcalculationmode),"currencyseparator"in u&&n(19,z=u.currencyseparator),"currencydecimal"in u&&n(20,F=u.currencydecimal),"currencyprecision"in u&&n(21,j=u.currencyprecision),"mbsource"in u&&n(22,J=u.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&f&&he(),r.$$.dirty[0]&400896&&y&&l&&c&&f&&C&&T&&Fe(),r.$$.dirty[0]&134656&&y&&l&&c&&C&&re(),r.$$.dirty[0]&8193&&g&&w&&t.setClientStyling(w,g),r.$$.dirty[0]&16385&&v&&w&&t.setClientStylingURL(w,v),r.$$.dirty[0]&4194305&&w&&t.setStreamStyling(w,`${J}.Style`),r.$$.dirty[0]&32768&&D&&Se()},[w,S,U,de,p,s,_e,Re,R,l,c,y,f,g,v,D,k,C,T,z,F,j,J,we,Be,fe,q,ke]}class et extends t.SvelteComponent{constructor(e){super(),t.init(this,e,bt,vt,t.safe_not_equal,{userid:9,session:10,endpoint:11,lang:12,clientstyling:13,clientstylingurl:14,translationurl:15,customlocaleidentifier:16,gmversion:17,displaybalanceoption:18,totalcalculationmode:8,currencyseparator:19,currencydecimal:20,currencyprecision:21,mbsource:22},mt,[-1,-1])}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get customlocaleidentifier(){return this.$$.ctx[16]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),t.flush()}get gmversion(){return this.$$.ctx[17]}set gmversion(e){this.$$set({gmversion:e}),t.flush()}get displaybalanceoption(){return this.$$.ctx[18]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),t.flush()}get totalcalculationmode(){return this.$$.ctx[8]}set totalcalculationmode(e){this.$$set({totalcalculationmode:e}),t.flush()}get currencyseparator(){return this.$$.ctx[19]}set currencyseparator(e){this.$$set({currencyseparator:e}),t.flush()}get currencydecimal(){return this.$$.ctx[20]}set currencydecimal(e){this.$$set({currencydecimal:e}),t.flush()}get currencyprecision(){return this.$$.ctx[21]}set currencyprecision(e){this.$$set({currencyprecision:e}),t.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(et,{userid:{},session:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},customlocaleidentifier:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},currencyseparator:{},currencydecimal:{},currencyprecision:{},mbsource:{}},[],[],!0);exports.default=et;
|