@everymatrix/casino-header-controller 1.45.0 → 1.45.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ "use strict";var ke=(a,t,n)=>new Promise((l,s)=>{var r=c=>{try{_(n.next(c))}catch(u){s(u)}},i=c=>{try{_(n.throw(c))}catch(u){s(u)}},_=c=>c.done?l(c.value):Promise.resolve(c.value).then(r,i);_((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-Bf5T77Ny.cjs");function Pt({withLocale:a,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function Me(a,t){e.addMessages(a,t)}function Ot(a){e.$locale.set(a)}const Ie={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"}};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-Lbt4Xcus.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-Bf5T77Ny.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-z-8Le6l-.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-BuxjgZ7D.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}const x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==",{document:zt}=e.globals;function Tt(a){e.append_styles(a,"svelte-bv9nrv",`*,*::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(--emfe-w-color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-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(--emfe-w-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(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-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(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:2px}.HeaderWrapper{background:var(--emfe-w-header-color-menu-bg, var(--emfe-w-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(--emfe-w-header-color-secondary-menu-bg, var(--emfe-w-color-background-secondary, #050518));border-top:1px solid var(--emfe-w-color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;border-top:1px solid transparent}.Item a:hover{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-top:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));padding-top:5px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-header-color-menu-bg, var(--emfe-w-color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-header-typography, var(--emfe-w-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(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.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 Fe(a,t,n){const l=a.slice();return l[112]=t[n],l}function He(a,t,n){const l=a.slice();return l[115]=t[n],l}function Ce(a,t,n){const l=a.slice();return l[115]=t[n],l}function Ae(a,t,n){const l=a.slice();return l[112]=t[n],l}function Le(a,t,n){const l=a.slice();return l[115]=t[n],l}function Se(a,t,n){const l=a.slice();return l[115]=t[n],l}function Wt(a){let t,n,l,s,r,i,_,c,u,d=a[46]("login")+"",m,p,f,I=a[46]("register")+"",N,S,C,b,M,k,O;function z(h,L){return h[38]?Zt:jt}let D=z(a),H=D(a),g=!a[32]&&Ee(a),v=a[42].length>1&&De(a),A=e.ensure_array_like(a[35]),y=[];for(let h=0;h<A.length;h+=1)y[h]=Oe(Fe(a,A,h));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),H.c(),s=e.space(),r=e.element("nav"),g&&g.c(),i=e.space(),_=e.element("div"),c=e.element("div"),u=e.element("div"),m=e.text(d),p=e.space(),f=e.element("div"),N=e.text(I),S=e.space(),v&&v.c(),C=e.space(),b=e.element("nav"),M=e.element("ul");for(let h=0;h<y.length;h+=1)y[h].c();e.attr(l,"class","HeaderBranding"),e.attr(r,"class","HeaderMainNav"),e.attr(u,"class","Item ItemLogin"),e.attr(u,"tabindex","0"),e.attr(f,"class","Item ItemRegister"),e.attr(f,"tabindex","0"),e.attr(c,"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(h,L){e.insert(h,t,L),e.append(t,n),e.append(n,l),H.m(l,null),e.append(n,s),e.append(n,r),g&&g.m(r,null),e.append(n,i),e.append(n,_),e.append(_,c),e.append(c,u),e.append(u,m),e.append(c,p),e.append(c,f),e.append(f,N),e.append(c,S),v&&v.m(c,null),e.append(t,C),e.append(t,b),e.append(b,M);for(let F=0;F<y.length;F+=1)y[F]&&y[F].m(M,null);a[90](t),k||(O=[e.listen(l,"click",a[82]),e.listen(u,"click",a[83]),e.listen(f,"click",a[84])],k=!0)},p(h,L){if(D===(D=z(h))&&H?H.p(h,L):(H.d(1),H=D(h),H&&(H.c(),H.m(l,null))),h[32]?g&&(g.d(1),g=null):g?g.p(h,L):(g=Ee(h),g.c(),g.m(r,null)),L[1]&32768&&d!==(d=h[46]("login")+"")&&e.set_data(m,d),L[1]&32768&&I!==(I=h[46]("register")+"")&&e.set_data(N,I),h[42].length>1?v?v.p(h,L):(v=De(h),v.c(),v.m(c,null)):v&&(v.d(1),v=null),L[1]&1048600){A=e.ensure_array_like(h[35]);let F;for(F=0;F<A.length;F+=1){const w=Fe(h,A,F);y[F]?y[F].p(w,L):(y[F]=Oe(w),y[F].c(),y[F].m(M,null))}for(;F<y.length;F+=1)y[F].d(1);y.length=A.length}},d(h){h&&e.detach(t),H.d(),g&&g.d(),v&&v.d(),e.destroy_each(y,h),a[90](null),k=!1,e.run_all(O)}}}function Bt(a){let t,n,l,s,r,i,_,c,u,d,m,p,f,I,N,S,C,b=a[46]("login")+"",M,k,O,z=a[46]("register")+"",D,H,g;function v(h,L){return h[38]?Jt:qt}let A=v(a),y=A(a);return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.svg_element("svg"),r=e.svg_element("defs"),i=e.svg_element("style"),_=e.text(`.a {
2
+ fill: var(--emfe-w-color-white, #FFFFFF);
3
+ }
4
+ `),c=e.svg_element("g"),u=e.svg_element("rect"),d=e.svg_element("rect"),m=e.svg_element("rect"),p=e.space(),f=e.element("div"),y.c(),I=e.space(),N=e.element("div"),S=e.element("div"),C=e.element("div"),M=e.text(b),k=e.space(),O=e.element("div"),D=e.text(z),e.attr(u,"class","a"),e.attr(u,"width","18"),e.attr(u,"height","2"),e.attr(u,"transform","translate(14 13)"),e.attr(d,"class","a"),e.attr(d,"width","22"),e.attr(d,"height","2"),e.attr(d,"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(c,"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(f,"class","HeaderBranding"),e.attr(C,"class","Item ItemLogin"),e.attr(O,"class","Item ItemRegister"),e.attr(S,"class","HeaderItemsMenu"),e.attr(N,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(t,"class","HeaderWrapper HeaderMobileWrapper")},m(h,L){e.insert(h,t,L),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,r),e.append(r,i),e.append(i,_),e.append(s,c),e.append(c,u),e.append(c,d),e.append(c,m),e.append(n,p),e.append(n,f),y.m(f,null),e.append(n,I),e.append(n,N),e.append(N,S),e.append(S,C),e.append(C,M),e.append(S,k),e.append(S,O),e.append(O,D),a[81](t),H||(g=[e.listen(s,"click",a[77]),e.listen(f,"click",a[78]),e.listen(C,"click",a[79]),e.listen(O,"click",a[80])],H=!0)},p(h,L){A===(A=v(h))&&y?y.p(h,L):(y.d(1),y=A(h),y&&(y.c(),y.m(f,null))),L[1]&32768&&b!==(b=h[46]("login")+"")&&e.set_data(M,b),L[1]&32768&&z!==(z=h[46]("register")+"")&&e.set_data(D,z)},d(h){h&&e.detach(t),y.d(),a[81](null),H=!1,e.run_all(g)}}}function Ut(a){let t;function n(r,i){return r[40]?Vt:Qt}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(r,i){s.m(r,i),e.insert(r,t,i)},p(r,i){l===(l=n(r))&&s?s.p(r,i):(s.d(1),s=l(r),s&&(s.c(),s.m(t.parentNode,t)))},d(r){r&&e.detach(t),s.d(r)}}}function jt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=x)||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 Zt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[44])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&8192&&!e.src_url_equal(t.src,n=l[44])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Ee(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,"part","HeaderItemsMenu"),e.set_custom_element_data(t,"identity",oe),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[23]),e.set_custom_element_data(t,"activeindex",a[33]),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[25]),e.set_custom_element_data(t,"clientstylingurl",a[26])},m(s,r){e.insert(s,t,r),n||(l=e.action_destroyer(a[50].call(null,t)),n=!0)},p(s,r){r[0]&8388608&&e.set_custom_element_data(t,"actionevent",s[23]),r[1]&4&&e.set_custom_element_data(t,"activeindex",s[33]),r[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),r[0]&8&&e.set_custom_element_data(t,"lang",s[3]),r[0]&33554432&&e.set_custom_element_data(t,"clientstyling",s[25]),r[0]&67108864&&e.set_custom_element_data(t,"clientstylingurl",s[26])},d(s){s&&e.detach(t),n=!1,l()}}}function De(a){let t;function n(r,i){return r[8]!=="true"?Yt:Gt}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(r,i){s.m(r,i),e.insert(r,t,i)},p(r,i){l===(l=n(r))&&s?s.p(r,i):(s.d(1),s=l(r),s&&(s.c(),s.m(t.parentNode,t)))},d(r){r&&e.detach(t),s.d(r)}}}function Gt(a){let t,n,l,s,r,i,_,c=a[36].slice(-2)+"",u,d,m,p,f,I,N,S,C,b=a[39]&&Re(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),i=e.space(),_=e.element("span"),u=e.text(c),d=e.space(),m=e.element("span"),p=e.svg_element("svg"),f=e.svg_element("path"),N=e.space(),b&&b.c(),e.src_url_equal(s.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[36].slice(-2))}.svg`)||e.attr(s,"src",r),e.attr(l,"class","FlagIcon"),e.attr(_,"class","LanguageName"),e.attr(f,"id","arrow"),e.attr(f,"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(f,"transform","translate(-274.511 -441.088)"),e.attr(f,"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",I="TriangleInactive "+(a[39]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(M,k){e.insert(M,t,k),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,i),e.append(n,_),e.append(_,u),e.append(n,d),e.append(n,m),e.append(m,p),e.append(p,f),e.append(t,N),b&&b.m(t,null),S||(C=e.listen(n,"click",a[87]),S=!0)},p(M,k){k[1]&2080&&!e.src_url_equal(s.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${M[54](M[36].slice(-2))}.svg`)&&e.attr(s,"src",r),k[1]&32&&c!==(c=M[36].slice(-2)+"")&&e.set_data(u,c),k[1]&256&&I!==(I="TriangleInactive "+(M[39]?"TriangleActive":""))&&e.attr(m,"class",I),M[39]?b?b.p(M,k):(b=Re(M),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},d(M){M&&e.detach(t),b&&b.d(),S=!1,C()}}}function Yt(a){let t,n,l,s=e.ensure_array_like(a[42]),r=[];for(let i=0;i<s.length;i+=1)r[i]=Pe(Ce(a,s,i));return{c(){t=e.element("select");for(let i=0;i<r.length;i+=1)r[i].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[36]===void 0&&e.add_render_callback(()=>a[85].call(t))},m(i,_){e.insert(i,t,_);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null);e.select_option(t,a[36],!0),n||(l=[e.listen(t,"change",a[85]),e.listen(t,"change",a[86])],n=!0)},p(i,_){if(_[1]&2048){s=e.ensure_array_like(i[42]);let c;for(c=0;c<s.length;c+=1){const u=Ce(i,s,c);r[c]?r[c].p(u,_):(r[c]=Pe(u),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=s.length}_[1]&2080&&e.select_option(t,i[36])},d(i){i&&e.detach(t),e.destroy_each(r,i),n=!1,e.run_all(l)}}}function Re(a){let t,n=e.ensure_array_like(a[42]),l=[];for(let s=0;s<n.length;s+=1)l[s]=Ne(He(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,r){e.insert(s,t,r);for(let i=0;i<l.length;i+=1)l[i]&&l[i].m(t,null)},p(s,r){if(r[1]&10487808){n=e.ensure_array_like(s[42]);let i;for(i=0;i<n.length;i+=1){const _=He(s,n,i);l[i]?l[i].p(_,r):(l[i]=Ne(_),l[i].c(),l[i].m(t,null))}for(;i<l.length;i+=1)l[i].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function Ne(a){let t,n,l,s,r,i,_=a[115].slice(-2)+"",c,u,d,m;function p(){return a[88](a[115])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),r=e.space(),i=e.element("span"),c=e.text(_),u=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[115].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(i,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(f,I){e.insert(f,t,I),e.append(t,n),e.append(n,l),e.append(t,r),e.append(t,i),e.append(i,c),e.append(t,u),d||(m=e.listen(t,"click",p),d=!0)},p(f,I){a=f,I[1]&2048&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[115].slice(-2))}.svg`)&&e.attr(l,"src",s),I[1]&2048&&_!==(_=a[115].slice(-2)+"")&&e.set_data(c,_)},d(f){f&&e.detach(t),d=!1,m()}}}function Pe(a){let t,n=a[115].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[115],e.set_input_value(t,t.__value)},m(r,i){e.insert(r,t,i),e.append(t,l)},p(r,i){i[1]&2048&&n!==(n=r[115].slice(-2)+"")&&e.set_data(l,n),i[1]&2048&&s!==(s=r[115])&&(t.__value=s,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Oe(a){let t,n,l=a[112].label+"",s,r,i,_,c;function u(){return a[89](a[112])}return{c(){var d,m;t=e.element("li"),n=e.element("button"),s=e.text(l),r=e.space(),e.attr(t,"class",i="ItemSecondary "+(((d=a[34])==null?void 0:d.toString().indexOf("$"))>-1?((m=a[34])==null?void 0:m.split("$").pop())==a[112].id.split("$").pop()?"active":"":a[34]==a[112].id?"active":"")),e.attr(t,"part","ItemSecondary")},m(d,m){e.insert(d,t,m),e.append(t,n),e.append(n,s),e.append(t,r),_||(c=e.listen(n,"click",u),_=!0)},p(d,m){var p,f;a=d,m[1]&16&&l!==(l=a[112].label+"")&&e.set_data(s,l),m[1]&24&&i!==(i="ItemSecondary "+(((p=a[34])==null?void 0:p.toString().indexOf("$"))>-1?((f=a[34])==null?void 0:f.split("$").pop())==a[112].id.split("$").pop()?"active":"":a[34]==a[112].id?"active":""))&&e.attr(t,"class",i)},d(d){d&&e.detach(t),_=!1,c()}}}function qt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=x)||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 Jt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[44])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&8192&&!e.src_url_equal(t.src,n=l[44])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Qt(a){let t,n,l,s,r,i,_,c,u,d,m,p,f=a[46]("deposit")+"",I,N,S,C,b,M,k,O,z,D;function H(w,E){return w[38]?Kt:Xt}let g=H(a),v=g(a),A=!a[32]&&ze(a),y=a[45]&&Te(a),h=a[42].length>1&&We(a),L=e.ensure_array_like(a[35]),F=[];for(let w=0;w<L.length;w+=1)F[w]=Ze(Ae(a,L,w));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),v.c(),s=e.space(),r=e.element("nav"),A&&A.c(),i=e.space(),_=e.element("div"),c=e.element("div"),u=e.element("player-account-balance-modal"),d=e.space(),m=e.element("div"),p=e.element("div"),I=e.text(f),N=e.space(),y&&y.c(),S=e.space(),C=e.element("div"),C.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(--emfe-w-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>`,b=e.space(),h&&h.c(),M=e.space(),k=e.element("nav"),O=e.element("ul");for(let w=0;w<F.length;w+=1)F[w].c();e.attr(l,"class","HeaderBranding"),e.attr(r,"class","HeaderMainNav"),e.set_custom_element_data(u,"session",a[0]),e.set_custom_element_data(u,"userid",a[1]),e.set_custom_element_data(u,"endpoint",a[2]),e.set_custom_element_data(u,"lang",a[3]),e.set_custom_element_data(u,"clientstyling",a[25]),e.set_custom_element_data(u,"clientstylingurl",a[26]),e.set_custom_element_data(u,"customlocaleidentifier",a[6]),e.set_custom_element_data(u,"gmversion",a[7]),e.set_custom_element_data(u,"displaybalanceoption",a[9]),e.set_custom_element_data(u,"totalcalculationmode",a[30]),e.set_custom_element_data(u,"currencyseparator",a[27]),e.set_custom_element_data(u,"currencydecimal",a[28]),e.set_custom_element_data(u,"currencyprecision",a[29]),e.attr(p,"class","Item ItemDeposit"),e.attr(p,"part","Item ItemDeposit"),e.attr(C,"class","Item ItemAccount"),e.attr(C,"part","Item ItemAccount"),e.attr(c,"class","HeaderItemsMenu PrimaryMenu"),e.attr(_,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(O,"class","HeaderItemsMenuSecondary"),e.attr(k,"class","HeaderSecondaryNav"),e.attr(t,"class","HeaderWrapper")},m(w,E){e.insert(w,t,E),e.append(t,n),e.append(n,l),v.m(l,null),e.append(n,s),e.append(n,r),A&&A.m(r,null),e.append(n,i),e.append(n,_),e.append(_,c),e.append(c,u),e.append(c,d),e.append(c,m),e.append(m,p),e.append(p,I),e.append(m,N),y&&y.m(m,null),e.append(c,S),e.append(c,C),e.append(c,b),h&&h.m(c,null),e.append(t,M),e.append(t,k),e.append(k,O);for(let P=0;P<F.length;P+=1)F[P]&&F[P].m(O,null);a[76](t),z||(D=[e.listen(l,"click",a[66]),e.listen(p,"click",a[67]),e.listen(C,"click",a[70])],z=!0)},p(w,E){if(g===(g=H(w))&&v?v.p(w,E):(v.d(1),v=g(w),v&&(v.c(),v.m(l,null))),w[32]?A&&(A.d(1),A=null):A?A.p(w,E):(A=ze(w),A.c(),A.m(r,null)),E[0]&1&&e.set_custom_element_data(u,"session",w[0]),E[0]&2&&e.set_custom_element_data(u,"userid",w[1]),E[0]&4&&e.set_custom_element_data(u,"endpoint",w[2]),E[0]&8&&e.set_custom_element_data(u,"lang",w[3]),E[0]&33554432&&e.set_custom_element_data(u,"clientstyling",w[25]),E[0]&67108864&&e.set_custom_element_data(u,"clientstylingurl",w[26]),E[0]&64&&e.set_custom_element_data(u,"customlocaleidentifier",w[6]),E[0]&128&&e.set_custom_element_data(u,"gmversion",w[7]),E[0]&512&&e.set_custom_element_data(u,"displaybalanceoption",w[9]),E[0]&1073741824&&e.set_custom_element_data(u,"totalcalculationmode",w[30]),E[0]&134217728&&e.set_custom_element_data(u,"currencyseparator",w[27]),E[0]&268435456&&e.set_custom_element_data(u,"currencydecimal",w[28]),E[0]&536870912&&e.set_custom_element_data(u,"currencyprecision",w[29]),E[1]&32768&&f!==(f=w[46]("deposit")+"")&&e.set_data(I,f),w[45]?y?y.p(w,E):(y=Te(w),y.c(),y.m(m,null)):y&&(y.d(1),y=null),w[42].length>1?h?h.p(w,E):(h=We(w),h.c(),h.m(c,null)):h&&(h.d(1),h=null),E[1]&1048600){L=e.ensure_array_like(w[35]);let P;for(P=0;P<L.length;P+=1){const Y=Ae(w,L,P);F[P]?F[P].p(Y,E):(F[P]=Ze(Y),F[P].c(),F[P].m(O,null))}for(;P<F.length;P+=1)F[P].d(1);F.length=L.length}},d(w){w&&e.detach(t),v.d(),A&&A.d(),y&&y.d(),h&&h.d(),e.destroy_each(F,w),a[76](null),z=!1,e.run_all(D)}}}function Vt(a){let t,n,l,s,r,i,_,c,u,d,m,p,f=a[46]("deposit")+"",I,N,S,C,b,M,k=!a[43]&&Ge(a);function O(g,v){return g[38]?na:aa}let z=O(a),D=z(a),H=a[45]&&Ye(a);return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),k&&k.c(),s=e.space(),r=e.element("div"),D.c(),i=e.space(),_=e.element("div"),c=e.element("div"),u=e.element("player-account-balance-modal"),d=e.space(),m=e.element("div"),p=e.element("div"),I=e.text(f),N=e.space(),H&&H.c(),S=e.space(),C=e.element("div"),C.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(--emfe-w-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(r,"class","HeaderBranding"),e.set_custom_element_data(u,"session",a[0]),e.set_custom_element_data(u,"userid",a[1]),e.set_custom_element_data(u,"endpoint",a[2]),e.set_custom_element_data(u,"lang",a[3]),e.set_custom_element_data(u,"clientstyling",a[25]),e.set_custom_element_data(u,"clientstylingurl",a[26]),e.set_custom_element_data(u,"customlocaleidentifier",a[6]),e.set_custom_element_data(u,"gmversion",a[7]),e.set_custom_element_data(u,"displaybalanceoption",a[9]),e.set_custom_element_data(u,"totalcalculationmode",a[30]),e.set_custom_element_data(u,"currencyseparator",a[27]),e.set_custom_element_data(u,"currencydecimal",a[28]),e.set_custom_element_data(u,"currencyprecision",a[29]),e.attr(p,"class","Item ItemDeposit"),e.attr(p,"part","Item ItemDeposit"),e.attr(C,"class","Item ItemAccount"),e.attr(C,"part","Item ItemAccount"),e.attr(c,"class","HeaderItemsMenu PrimaryMenu"),e.attr(c,"part","HeaderItemsMenu PrimaryMenu"),e.attr(_,"class","HeaderTopActions"),e.attr(_,"part","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),k&&k.m(l,null),e.append(n,s),e.append(n,r),D.m(r,null),e.append(n,i),e.append(n,_),e.append(_,c),e.append(c,u),e.append(c,d),e.append(c,m),e.append(m,p),e.append(p,I),e.append(m,N),H&&H.m(m,null),e.append(c,S),e.append(c,C),a[65](t),b||(M=[e.listen(r,"click",a[60]),e.listen(p,"click",a[61]),e.listen(C,"click",a[64])],b=!0)},p(g,v){g[43]?k&&(k.d(1),k=null):k?k.p(g,v):(k=Ge(g),k.c(),k.m(l,null)),z===(z=O(g))&&D?D.p(g,v):(D.d(1),D=z(g),D&&(D.c(),D.m(r,null))),v[0]&1&&e.set_custom_element_data(u,"session",g[0]),v[0]&2&&e.set_custom_element_data(u,"userid",g[1]),v[0]&4&&e.set_custom_element_data(u,"endpoint",g[2]),v[0]&8&&e.set_custom_element_data(u,"lang",g[3]),v[0]&33554432&&e.set_custom_element_data(u,"clientstyling",g[25]),v[0]&67108864&&e.set_custom_element_data(u,"clientstylingurl",g[26]),v[0]&64&&e.set_custom_element_data(u,"customlocaleidentifier",g[6]),v[0]&128&&e.set_custom_element_data(u,"gmversion",g[7]),v[0]&512&&e.set_custom_element_data(u,"displaybalanceoption",g[9]),v[0]&1073741824&&e.set_custom_element_data(u,"totalcalculationmode",g[30]),v[0]&134217728&&e.set_custom_element_data(u,"currencyseparator",g[27]),v[0]&268435456&&e.set_custom_element_data(u,"currencydecimal",g[28]),v[0]&536870912&&e.set_custom_element_data(u,"currencyprecision",g[29]),v[1]&32768&&f!==(f=g[46]("deposit")+"")&&e.set_data(I,f),g[45]?H?H.p(g,v):(H=Ye(g),H.c(),H.m(m,null)):H&&(H.d(1),H=null)},d(g){g&&e.detach(t),k&&k.d(),D.d(),H&&H.d(),a[65](null),b=!1,e.run_all(M)}}}function Xt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=x)||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 Kt(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[44])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&8192&&!e.src_url_equal(t.src,n=l[44])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function ze(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,"part","HeaderItemsMenu"),e.set_custom_element_data(t,"identity",oe),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[23]),e.set_custom_element_data(t,"activeindex",a[33]),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[24]),e.set_custom_element_data(t,"clientstyling",a[25]),e.set_custom_element_data(t,"clientstylingurl",a[26])},m(s,r){e.insert(s,t,r),n||(l=e.action_destroyer(a[50].call(null,t)),n=!0)},p(s,r){r[0]&8388608&&e.set_custom_element_data(t,"actionevent",s[23]),r[1]&4&&e.set_custom_element_data(t,"activeindex",s[33]),r[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),r[0]&8&&e.set_custom_element_data(t,"lang",s[3]),r[0]&16777216&&e.set_custom_element_data(t,"showsubgroups",s[24]),r[0]&33554432&&e.set_custom_element_data(t,"clientstyling",s[25]),r[0]&67108864&&e.set_custom_element_data(t,"clientstylingurl",s[26])},d(s){s&&e.detach(t),n=!1,l()}}}function Te(a){let t,n,l,s,r,i,_,c;function u(p,f){return p[7]==="gmcore"?$t:xt}let d=u(a),m=d(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),r.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>',i=e.space(),m.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(r,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainer"),e.attr(l,"class","ShortCashierContainerWrapper")},m(p,f){e.insert(p,t,f),e.insert(p,n,f),e.insert(p,l,f),e.append(l,s),e.append(s,r),e.append(s,i),m.m(s,null),_||(c=[e.listen(t,"click",a[68]),e.listen(r,"click",a[69])],_=!0)},p(p,f){d===(d=u(p))&&m?m.p(p,f):(m.d(1),m=d(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(c)}}}function xt(a){let t,n,l,s,r,i,_,c,u;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[13]),e.set_custom_element_data(t,"product-type",a[14]),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[15]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[16]),e.set_custom_element_data(t,"sports-url",r="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"casino-url",i="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"contact-url",_="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"home-url",c="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"deposit-url",u="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"client-styling",a[25]),e.set_custom_element_data(t,"client-styling-url",a[26])},m(d,m){e.insert(d,t,m)},p(d,m){m[0]&4&&e.set_custom_element_data(t,"endpoint",d[2]),m[0]&8&&e.set_custom_element_data(t,"language",d[3]),m[0]&8192&&e.set_custom_element_data(t,"is-short-cashier",d[13]),m[0]&16384&&e.set_custom_element_data(t,"product-type",d[14]),m[0]&2&&e.set_custom_element_data(t,"user-id",d[1]),m[0]&1&&e.set_custom_element_data(t,"session",d[0]),m[0]&32776&&n!==(n="https://"+window.location.hostname+"/"+d[3]+d[15])&&e.set_custom_element_data(t,"success-url",n),m[0]&131080&&l!==(l="https://"+window.location.hostname+"/"+d[3]+d[17])&&e.set_custom_element_data(t,"cancel-url",l),m[0]&65544&&s!==(s="https://"+window.location.hostname+"/"+d[3]+d[16])&&e.set_custom_element_data(t,"fail-url",s),m[0]&262152&&r!==(r="https://"+window.location.hostname+"/"+d[3]+d[18])&&e.set_custom_element_data(t,"sports-url",r),m[0]&524296&&i!==(i="https://"+window.location.hostname+"/"+d[3]+d[19])&&e.set_custom_element_data(t,"casino-url",i),m[0]&1048584&&_!==(_="https://"+window.location.hostname+"/"+d[3]+d[20])&&e.set_custom_element_data(t,"contact-url",_),m[0]&2097160&&c!==(c="https://"+window.location.hostname+"/"+d[3]+d[21])&&e.set_custom_element_data(t,"home-url",c),m[0]&4194312&&u!==(u="https://"+window.location.hostname+"/"+d[3]+d[22])&&e.set_custom_element_data(t,"deposit-url",u),m[0]&33554432&&e.set_custom_element_data(t,"client-styling",d[25]),m[0]&67108864&&e.set_custom_element_data(t,"client-styling-url",d[26])},d(d){d&&e.detach(t)}}}function $t(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,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[11]),e.set_custom_element_data(t,"playercurrency",a[12]),e.set_custom_element_data(t,"shortcashierenabled",a[13]),e.set_custom_element_data(t,"clientstyling",a[25]),e.set_custom_element_data(t,"clientstylingurl",a[26])},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]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&2048&&e.set_custom_element_data(t,"hasdefaultamount",n[11]),l[0]&4096&&e.set_custom_element_data(t,"playercurrency",n[12]),l[0]&8192&&e.set_custom_element_data(t,"shortcashierenabled",n[13]),l[0]&33554432&&e.set_custom_element_data(t,"clientstyling",n[25]),l[0]&67108864&&e.set_custom_element_data(t,"clientstylingurl",n[26])},d(n){n&&e.detach(t)}}}function We(a){let t;function n(r,i){return r[8]!=="true"?ta:ea}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(r,i){s.m(r,i),e.insert(r,t,i)},p(r,i){l===(l=n(r))&&s?s.p(r,i):(s.d(1),s=l(r),s&&(s.c(),s.m(t.parentNode,t)))},d(r){r&&e.detach(t),s.d(r)}}}function ea(a){let t,n,l,s,r,i,_,c=a[36].slice(-2)+"",u,d,m,p,f,I,N,S,C,b=a[39]&&Be(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),i=e.space(),_=e.element("span"),u=e.text(c),d=e.space(),m=e.element("span"),p=e.svg_element("svg"),f=e.svg_element("path"),N=e.space(),b&&b.c(),e.src_url_equal(s.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[36].slice(-2))}.svg`)||e.attr(s,"src",r),e.attr(l,"class","FlagIcon"),e.attr(_,"class","LanguageName"),e.attr(f,"id","arrow"),e.attr(f,"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(f,"transform","translate(-274.511 -441.088)"),e.attr(f,"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",I="TriangleInactive "+(a[39]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(M,k){e.insert(M,t,k),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,i),e.append(n,_),e.append(_,u),e.append(n,d),e.append(n,m),e.append(m,p),e.append(p,f),e.append(t,N),b&&b.m(t,null),S||(C=e.listen(n,"click",a[73]),S=!0)},p(M,k){k[1]&2080&&!e.src_url_equal(s.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${M[54](M[36].slice(-2))}.svg`)&&e.attr(s,"src",r),k[1]&32&&c!==(c=M[36].slice(-2)+"")&&e.set_data(u,c),k[1]&256&&I!==(I="TriangleInactive "+(M[39]?"TriangleActive":""))&&e.attr(m,"class",I),M[39]?b?b.p(M,k):(b=Be(M),b.c(),b.m(t,null)):b&&(b.d(1),b=null)},d(M){M&&e.detach(t),b&&b.d(),S=!1,C()}}}function ta(a){let t,n,l,s=e.ensure_array_like(a[42]),r=[];for(let i=0;i<s.length;i+=1)r[i]=je(Se(a,s,i));return{c(){t=e.element("select");for(let i=0;i<r.length;i+=1)r[i].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[36]===void 0&&e.add_render_callback(()=>a[71].call(t))},m(i,_){e.insert(i,t,_);for(let c=0;c<r.length;c+=1)r[c]&&r[c].m(t,null);e.select_option(t,a[36],!0),n||(l=[e.listen(t,"change",a[71]),e.listen(t,"change",a[72])],n=!0)},p(i,_){if(_[1]&2048){s=e.ensure_array_like(i[42]);let c;for(c=0;c<s.length;c+=1){const u=Se(i,s,c);r[c]?r[c].p(u,_):(r[c]=je(u),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=s.length}_[1]&2080&&e.select_option(t,i[36])},d(i){i&&e.detach(t),e.destroy_each(r,i),n=!1,e.run_all(l)}}}function Be(a){let t,n=e.ensure_array_like(a[42]),l=[];for(let s=0;s<n.length;s+=1)l[s]=Ue(Le(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,r){e.insert(s,t,r);for(let i=0;i<l.length;i+=1)l[i]&&l[i].m(t,null)},p(s,r){if(r[1]&10487808){n=e.ensure_array_like(s[42]);let i;for(i=0;i<n.length;i+=1){const _=Le(s,n,i);l[i]?l[i].p(_,r):(l[i]=Ue(_),l[i].c(),l[i].m(t,null))}for(;i<l.length;i+=1)l[i].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function Ue(a){let t,n,l,s,r,i,_=a[115].slice(-2)+"",c,u,d,m;function p(){return a[74](a[115])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),r=e.space(),i=e.element("span"),c=e.text(_),u=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[115].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(i,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(f,I){e.insert(f,t,I),e.append(t,n),e.append(n,l),e.append(t,r),e.append(t,i),e.append(i,c),e.append(t,u),d||(m=e.listen(t,"click",p),d=!0)},p(f,I){a=f,I[1]&2048&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[54](a[115].slice(-2))}.svg`)&&e.attr(l,"src",s),I[1]&2048&&_!==(_=a[115].slice(-2)+"")&&e.set_data(c,_)},d(f){f&&e.detach(t),d=!1,m()}}}function je(a){let t,n=a[115].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[115],e.set_input_value(t,t.__value),t.selected=!0},m(r,i){e.insert(r,t,i),e.append(t,l)},p(r,i){i[1]&2048&&n!==(n=r[115].slice(-2)+"")&&e.set_data(l,n),i[1]&2048&&s!==(s=r[115])&&(t.__value=s,e.set_input_value(t,t.__value))},d(r){r&&e.detach(t)}}}function Ze(a){let t,n,l=a[112].label+"",s,r,i,_,c;function u(){return a[75](a[112])}return{c(){var d,m;t=e.element("li"),n=e.element("button"),s=e.text(l),r=e.space(),e.attr(t,"class",i="ItemSecondary "+(((d=a[34])==null?void 0:d.toString().indexOf("$"))>-1?((m=a[34])==null?void 0:m.split("$").pop())==a[112].id.split("$").pop()?"active":"":a[34]==a[112].id?"active":"")),e.attr(t,"part","ItemSecondary")},m(d,m){e.insert(d,t,m),e.append(t,n),e.append(n,s),e.append(t,r),_||(c=e.listen(n,"click",u),_=!0)},p(d,m){var p,f;a=d,m[1]&16&&l!==(l=a[112].label+"")&&e.set_data(s,l),m[1]&24&&i!==(i="ItemSecondary "+(((p=a[34])==null?void 0:p.toString().indexOf("$"))>-1?((f=a[34])==null?void 0:f.split("$").pop())==a[112].id.split("$").pop()?"active":"":a[34]==a[112].id?"active":""))&&e.attr(t,"class",i)},d(d){d&&e.detach(t),_=!1,c()}}}function Ge(a){let t,n,l,s,r,i,_,c,u,d;return{c(){t=e.svg_element("svg"),n=e.svg_element("defs"),l=e.svg_element("style"),s=e.text(`.a {
11
+ fill: var(--emfe-w-color-white, #FFFFFF);
12
+ }
13
+ `),r=e.svg_element("g"),i=e.svg_element("rect"),_=e.svg_element("rect"),c=e.svg_element("rect"),e.attr(i,"class","a"),e.attr(i,"width","18"),e.attr(i,"height","2"),e.attr(i,"transform","translate(14 13)"),e.attr(_,"class","a"),e.attr(_,"width","22"),e.attr(_,"height","2"),e.attr(_,"transform","translate(14 20)"),e.attr(c,"class","a"),e.attr(c,"width","22"),e.attr(c,"height","2"),e.attr(c,"transform","translate(14 27)"),e.attr(r,"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,r),e.append(r,i),e.append(r,_),e.append(r,c),u||(d=e.listen(t,"click",a[59]),u=!0)},p:e.noop,d(m){m&&e.detach(t),u=!1,d()}}}function aa(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=x)||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 na(a){let t,n;return{c(){t=e.element("img"),e.src_url_equal(t.src,n=a[44])||e.attr(t,"src",n),e.attr(t,"alt","Logo")},m(l,s){e.insert(l,t,s)},p(l,s){s[1]&8192&&!e.src_url_equal(t.src,n=l[44])&&e.attr(t,"src",n)},d(l){l&&e.detach(t)}}}function Ye(a){let t,n,l,s,r,i,_,c;function u(p,f){return p[7]==="gmcore"?sa:la}let d=u(a),m=d(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),r=e.element("div"),r.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>',i=e.space(),m.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(r,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainerMobile"),e.attr(l,"class","ShortCashierContainerWrapperMobile")},m(p,f){e.insert(p,t,f),e.insert(p,n,f),e.insert(p,l,f),e.append(l,s),e.append(s,r),e.append(s,i),m.m(s,null),_||(c=[e.listen(t,"click",a[62]),e.listen(r,"click",a[63])],_=!0)},p(p,f){d===(d=u(p))&&m?m.p(p,f):(m.d(1),m=d(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(c)}}}function la(a){let t,n,l,s,r,i,_,c,u;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","Mobile"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[13]),e.set_custom_element_data(t,"product-type",a[14]),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[15]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[16]),e.set_custom_element_data(t,"sports-url",r="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"casino-url",i="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"contact-url",_="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"home-url",c="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"deposit-url",u="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"client-styling",a[25]),e.set_custom_element_data(t,"client-styling-url",a[26])},m(d,m){e.insert(d,t,m)},p(d,m){m[0]&4&&e.set_custom_element_data(t,"endpoint",d[2]),m[0]&8&&e.set_custom_element_data(t,"language",d[3]),m[0]&8192&&e.set_custom_element_data(t,"is-short-cashier",d[13]),m[0]&16384&&e.set_custom_element_data(t,"product-type",d[14]),m[0]&2&&e.set_custom_element_data(t,"user-id",d[1]),m[0]&1&&e.set_custom_element_data(t,"session",d[0]),m[0]&32776&&n!==(n="https://"+window.location.hostname+"/"+d[3]+d[15])&&e.set_custom_element_data(t,"success-url",n),m[0]&131080&&l!==(l="https://"+window.location.hostname+"/"+d[3]+d[17])&&e.set_custom_element_data(t,"cancel-url",l),m[0]&65544&&s!==(s="https://"+window.location.hostname+"/"+d[3]+d[16])&&e.set_custom_element_data(t,"fail-url",s),m[0]&262152&&r!==(r="https://"+window.location.hostname+"/"+d[3]+d[18])&&e.set_custom_element_data(t,"sports-url",r),m[0]&524296&&i!==(i="https://"+window.location.hostname+"/"+d[3]+d[19])&&e.set_custom_element_data(t,"casino-url",i),m[0]&1048584&&_!==(_="https://"+window.location.hostname+"/"+d[3]+d[20])&&e.set_custom_element_data(t,"contact-url",_),m[0]&2097160&&c!==(c="https://"+window.location.hostname+"/"+d[3]+d[21])&&e.set_custom_element_data(t,"home-url",c),m[0]&4194312&&u!==(u="https://"+window.location.hostname+"/"+d[3]+d[22])&&e.set_custom_element_data(t,"deposit-url",u),m[0]&33554432&&e.set_custom_element_data(t,"client-styling",d[25]),m[0]&67108864&&e.set_custom_element_data(t,"client-styling-url",d[26])},d(d){d&&e.detach(t)}}}function sa(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,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[11]),e.set_custom_element_data(t,"playercurrency",a[12]),e.set_custom_element_data(t,"shortcashierenabled",a[13]),e.set_custom_element_data(t,"clientstyling",a[25]),e.set_custom_element_data(t,"clientstylingurl",a[26])},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]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&2048&&e.set_custom_element_data(t,"hasdefaultamount",n[11]),l[0]&4096&&e.set_custom_element_data(t,"playercurrency",n[12]),l[0]&8192&&e.set_custom_element_data(t,"shortcashierenabled",n[13]),l[0]&33554432&&e.set_custom_element_data(t,"clientstyling",n[25]),l[0]&67108864&&e.set_custom_element_data(t,"clientstylingurl",n[26])},d(n){n&&e.detach(t)}}}function ra(a){let t,n,l,s,r;function i(u,d){return u[41]?Ut:u[40]?Bt:Wt}let _=i(a),c=_(a);return{c(){t=e.element("script"),t.innerHTML="",l=e.space(),c.c(),s=e.space(),r=e.element("casino-hamburger-menu"),e.attr(t,"type","module"),e.src_url_equal(t.src,n="https://unpkg.com/@everymatrix/user-deposit-withdrawal")||e.attr(t,"src",n),e.set_custom_element_data(r,"menuitemsurl",a[37]),e.set_custom_element_data(r,"activecategory",a[5]),e.set_custom_element_data(r,"lang",a[3]),e.set_custom_element_data(r,"countryflaghamburger",a[10]),e.set_custom_element_data(r,"customlocaleidentifier",a[6]),e.set_custom_element_data(r,"languageslist",a[4]),e.set_custom_element_data(r,"clientstyling",a[25]),e.set_custom_element_data(r,"clientstylingurl",a[26])},m(u,d){e.append(zt.head,t),e.insert(u,l,d),c.m(u,d),e.insert(u,s,d),e.insert(u,r,d)},p(u,d){_===(_=i(u))&&c?c.p(u,d):(c.d(1),c=_(u),c&&(c.c(),c.m(s.parentNode,s))),d[1]&64&&e.set_custom_element_data(r,"menuitemsurl",u[37]),d[0]&32&&e.set_custom_element_data(r,"activecategory",u[5]),d[0]&8&&e.set_custom_element_data(r,"lang",u[3]),d[0]&1024&&e.set_custom_element_data(r,"countryflaghamburger",u[10]),d[0]&64&&e.set_custom_element_data(r,"customlocaleidentifier",u[6]),d[0]&16&&e.set_custom_element_data(r,"languageslist",u[4]),d[0]&33554432&&e.set_custom_element_data(r,"clientstyling",u[25]),d[0]&67108864&&e.set_custom_element_data(r,"clientstylingurl",u[26])},i:e.noop,o:e.noop,d(u){u&&(e.detach(l),e.detach(s),e.detach(r)),e.detach(t),c.d(u)}}}let oe="HeaderMenu";function ia(a,t,n){let l,s;e.component_subscribe(a,e.$format,o=>n(46,s=o));let{session:r=""}=t,{userid:i=""}=t,{endpoint:_=""}=t,{cmsendpoint:c=""}=t,{cmsenv:u="stage"}=t,{lang:d="en"}=t,{languageslist:m="en, ro"}=t,{activecategory:p=""}=t,{translationurl:f=""}=t,{customlocaleidentifier:I=""}=t,{gmversion:N=""}=t,{countryflagheader:S="false"}=t,{displaybalanceoption:C="All"}=t,{countryflaghamburger:b="false"}=t,{hasdefaultamount:M=""}=t,{playercurrency:k=""}=t,{shortcashierenabled:O=""}=t,{producttype:z=""}=t,{successurl:D=""}=t,{failurl:H=""}=t,{cancelurl:g=""}=t,{sportsurl:v=""}=t,{casinourl:A=""}=t,{contacturl:y=""}=t,{homeurl:h=""}=t,{depositurl:L=""}=t,{actionevent:F=""}=t,{userroles:w=""}=t,{showsubgroups:E="false"}=t,{clientstyling:P=""}=t,{clientstylingurl:Y=""}=t,{currencyseparator:ce=""}=t,{currencydecimal:ue=""}=t,{currencyprecision:de=""}=t,{totalcalculationmode:me=""}=t,_e,pe,U;Pt({withLocale:"en",translations:{}});const Je=()=>{fetch(f).then(T=>T.json()).then(T=>{Object.keys(T).forEach(B=>{Me(B,T[B])})}).catch(T=>{console.log(T)})};Object.keys(Ie).forEach(o=>{Me(o,Ie[o])});let $=[],ee=[],j="",G,Z,fe,Q=!0,V=!1,X=!1,he=!1,te=window.navigator.userAgent,K=!1,q=[],ae=!1,ge="",ne=!1;const W=o=>{switch(o){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),typeof gtag=="function"&&gtag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),typeof gtag=="function"&&gtag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(te)},window.location.href);break;case"deposit":l?(n(45,ne=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&&gtag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:j},window.location.href);break}},le=()=>{n(43,ae=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},we=o=>{if(o.data)switch(o.data.type){case"UserSessionID":o.data.userid,o.data.session,n(41,K=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),o.data.showhamburger&&n(43,ae=!1);break;case"LogoutSuccessfull":n(41,K=!1);break;case"LanguageChanged":ve(),ye(Z);break;case"OpenShortCashier":W("deposit");break;case"CloseShortCashier":J();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:U.clientHeight},window.location.href);break}},Qe=()=>{n(41,K=!0)},J=o=>{n(45,ne=!1),window.postMessage({type:"EnableScroll"},window.location.href),o==null||o.stopPropagation()},ve=()=>{Z=new URL(`${c}/${j.toLowerCase()}/menu`),n(37,G=new URL(`${c}/${j.toLowerCase()}/hamburger-menu`)),fe=new URL(`${c}/${j.toLowerCase()}/op-options/style`);let o=e.getDevice(te);Z.searchParams.append("env",u),Z.searchParams.append("language",j.toLowerCase()),Z.searchParams.append("userRoles",w),o&&(o==="PC"?(G.searchParams.append("device","dk"),Z.searchParams.append("device","dk")):(G.searchParams.append("device","mtWeb"),Z.searchParams.append("device","mtWeb"))),G.searchParams.append("env",u),G.searchParams.append("language",j.toLowerCase()),G.searchParams.append("userRoles",w)},Ve=()=>{Ot(d)},Xe=()=>{n(42,q=m.replace(/ /g,"").split(",")),n(42,q=q.map(o=>o.toUpperCase())),n(36,j=d.toUpperCase()),ve(),$e(fe),setTimeout(()=>{ye(Z)})},Ke=()=>{n(33,_e=be(p,$)),n(34,pe=be(p,ee))},be=(o,T)=>{let B=T.find(R=>{if(o.indexOf("/sport")>-1)return R.path.indexOf(o)>-1;if(R.path.includes(o))return!0});return B||(B=T.find(R=>R.path.split("/").indexOf(o.split("/")[1])>-1)),B?B.id:-1},xe=()=>{window.postMessage({type:"SliderData",identity:oe,data:$},window.location.href)},ye=o=>(n(32,Q=!0),new Promise((T,B)=>{fetch(o).then(R=>R.json()).then(R=>{$=R.desktop.primary,n(35,ee=R.desktop.secondary),n(32,Q=!1),T(R)},R=>{n(32,Q=!1),console.error(R),B(R)})})),$e=o=>(n(38,V=!1),new Promise((T,B)=>{fetch(o).then(R=>R.json()).then(R=>{R.logoUrl.length>0&&(R.logoUrl!="null"||R.logoUrl!="false")?(n(44,ge=R.logoUrl),n(38,V=!0)):n(38,V=!1),T(R)},R=>{n(38,V=!1),console.error(R),B(R)})})),se=o=>{var T;window.postMessage({type:"NavigateTo",itemId:o.id,item:o,path:o.path,externalLink:o.externalLink||!1,target:((T=o.attrs)==null?void 0:T.target)||null},window.location.href)},re=o=>{n(36,j=o),n(39,X=!1),W("language")},ie=()=>{n(39,X=!X)},et=o=>(I&&(o=I.includes(o.toLowerCase())?I.slice(-2):o),o=="EN"?"US":o.toUpperCase()),tt=()=>{let o=document.createElement("style");o.innerHTML=P,U.appendChild(o)},at=()=>{let o=new URL(Y),T=document.createElement("style");fetch(o.href).then(B=>B.text()).then(B=>{T.innerHTML=B,setTimeout(()=>{U.appendChild(T)},1)})};e.onMount(()=>ke(this,null,function*(){return window.addEventListener("message",we,!1),e.isMobile(te)&&n(40,he=!0),()=>{window.removeEventListener("message",we)}}));const nt=()=>le(),lt=()=>W("lobby"),st=()=>W("deposit"),rt=o=>J(o),it=o=>J(o),ot=()=>W("myaccount");function ct(o){e.binding_callbacks[o?"unshift":"push"](()=>{U=o,n(31,U)})}const ut=()=>W("lobby"),dt=()=>W("deposit"),mt=o=>J(o),_t=o=>J(o),pt=()=>W("myaccount");function ft(){j=e.select_value(this),n(36,j),n(42,q)}const ht=()=>W("language"),gt=()=>ie(),wt=o=>re(o),vt=o=>se(o);function bt(o){e.binding_callbacks[o?"unshift":"push"](()=>{U=o,n(31,U)})}const yt=()=>le(),kt=()=>W("lobby"),Mt=()=>W("login"),It=()=>W("register");function Ft(o){e.binding_callbacks[o?"unshift":"push"](()=>{U=o,n(31,U)})}const Ht=()=>W("lobby"),Ct=()=>W("login"),At=()=>W("register");function Lt(){j=e.select_value(this),n(36,j),n(42,q)}const St=()=>W("language"),Et=()=>ie(),Dt=o=>re(o),Rt=o=>se(o);function Nt(o){e.binding_callbacks[o?"unshift":"push"](()=>{U=o,n(31,U)})}return a.$$set=o=>{"session"in o&&n(0,r=o.session),"userid"in o&&n(1,i=o.userid),"endpoint"in o&&n(2,_=o.endpoint),"cmsendpoint"in o&&n(55,c=o.cmsendpoint),"cmsenv"in o&&n(56,u=o.cmsenv),"lang"in o&&n(3,d=o.lang),"languageslist"in o&&n(4,m=o.languageslist),"activecategory"in o&&n(5,p=o.activecategory),"translationurl"in o&&n(57,f=o.translationurl),"customlocaleidentifier"in o&&n(6,I=o.customlocaleidentifier),"gmversion"in o&&n(7,N=o.gmversion),"countryflagheader"in o&&n(8,S=o.countryflagheader),"displaybalanceoption"in o&&n(9,C=o.displaybalanceoption),"countryflaghamburger"in o&&n(10,b=o.countryflaghamburger),"hasdefaultamount"in o&&n(11,M=o.hasdefaultamount),"playercurrency"in o&&n(12,k=o.playercurrency),"shortcashierenabled"in o&&n(13,O=o.shortcashierenabled),"producttype"in o&&n(14,z=o.producttype),"successurl"in o&&n(15,D=o.successurl),"failurl"in o&&n(16,H=o.failurl),"cancelurl"in o&&n(17,g=o.cancelurl),"sportsurl"in o&&n(18,v=o.sportsurl),"casinourl"in o&&n(19,A=o.casinourl),"contacturl"in o&&n(20,y=o.contacturl),"homeurl"in o&&n(21,h=o.homeurl),"depositurl"in o&&n(22,L=o.depositurl),"actionevent"in o&&n(23,F=o.actionevent),"userroles"in o&&n(58,w=o.userroles),"showsubgroups"in o&&n(24,E=o.showsubgroups),"clientstyling"in o&&n(25,P=o.clientstyling),"clientstylingurl"in o&&n(26,Y=o.clientstylingurl),"currencyseparator"in o&&n(27,ce=o.currencyseparator),"currencydecimal"in o&&n(28,ue=o.currencydecimal),"currencyprecision"in o&&n(29,de=o.currencyprecision),"totalcalculationmode"in o&&n(30,me=o.totalcalculationmode)},a.$$.update=()=>{a.$$.dirty[0]&32|a.$$.dirty[1]&2&&p&&!Q&&Ke(),a.$$.dirty[0]&1&&r&&Qe(),a.$$.dirty[0]&8192&&(l=O.toLocaleLowerCase()==="true"),a.$$.dirty[0]&8&&d&&Ve(),a.$$.dirty[0]&24|a.$$.dirty[1]&150994944&&c&&d&&m&&w&&Xe(),a.$$.dirty[1]&67108864&&f&&Je(),a.$$.dirty[0]&33554432|a.$$.dirty[1]&1&&P&&U&&tt(),a.$$.dirty[0]&67108864|a.$$.dirty[1]&1&&Y&&U&&at()},[r,i,_,d,m,p,I,N,S,C,b,M,k,O,z,D,H,g,v,A,y,h,L,F,E,P,Y,ce,ue,de,me,U,Q,_e,pe,ee,j,G,V,X,he,K,q,ae,ge,ne,s,W,le,J,xe,se,re,ie,et,c,u,f,w,nt,lt,st,rt,it,ot,ct,ut,dt,mt,_t,pt,ft,ht,gt,wt,vt,bt,yt,kt,Mt,It,Ft,Ht,Ct,At,Lt,St,Et,Dt,Rt,Nt]}class qe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ia,ra,e.safe_not_equal,{session:0,userid:1,endpoint:2,cmsendpoint:55,cmsenv:56,lang:3,languageslist:4,activecategory:5,translationurl:57,customlocaleidentifier:6,gmversion:7,countryflagheader:8,displaybalanceoption:9,countryflaghamburger:10,hasdefaultamount:11,playercurrency:12,shortcashierenabled:13,producttype:14,successurl:15,failurl:16,cancelurl:17,sportsurl:18,casinourl:19,contacturl:20,homeurl:21,depositurl:22,actionevent:23,userroles:58,showsubgroups:24,clientstyling:25,clientstylingurl:26,currencyseparator:27,currencydecimal:28,currencyprecision:29,totalcalculationmode:30},Tt,[-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[55]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[56]}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[57]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[6]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[7]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get countryflagheader(){return this.$$.ctx[8]}set countryflagheader(t){this.$$set({countryflagheader:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[9]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[10]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get playercurrency(){return this.$$.ctx[12]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[13]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get producttype(){return this.$$.ctx[14]}set producttype(t){this.$$set({producttype:t}),e.flush()}get successurl(){return this.$$.ctx[15]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[16]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[17]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get sportsurl(){return this.$$.ctx[18]}set sportsurl(t){this.$$set({sportsurl:t}),e.flush()}get casinourl(){return this.$$.ctx[19]}set casinourl(t){this.$$set({casinourl:t}),e.flush()}get contacturl(){return this.$$.ctx[20]}set contacturl(t){this.$$set({contacturl:t}),e.flush()}get homeurl(){return this.$$.ctx[21]}set homeurl(t){this.$$set({homeurl:t}),e.flush()}get depositurl(){return this.$$.ctx[22]}set depositurl(t){this.$$set({depositurl:t}),e.flush()}get actionevent(){return this.$$.ctx[23]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get userroles(){return this.$$.ctx[58]}set userroles(t){this.$$set({userroles:t}),e.flush()}get showsubgroups(){return this.$$.ctx[24]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencyseparator(){return this.$$.ctx[27]}set currencyseparator(t){this.$$set({currencyseparator:t}),e.flush()}get currencydecimal(){return this.$$.ctx[28]}set currencydecimal(t){this.$$set({currencydecimal:t}),e.flush()}get currencyprecision(){return this.$$.ctx[29]}set currencyprecision(t){this.$$set({currencyprecision:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[30]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}}e.create_custom_element(qe,{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:{},clientstyling:{},clientstylingurl:{},currencyseparator:{},currencydecimal:{},currencyprecision:{},totalcalculationmode:{}},[],[],!0);exports.default=qe;