@everymatrix/casino-header-controller 1.64.8 → 1.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHeaderController-Bqi_UEZi.js +3223 -0
- package/components/CasinoHeaderController-CvgFMlA6.js +3246 -0
- package/components/CasinoHeaderController-DNNqI5-z.cjs +13 -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/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
- package/stencil/gamification-dropdown-8eb8a896-B80HjrXs.js +126 -0
- package/stencil/gamification-dropdown-8eb8a896-Dpy7kYRl.js +144 -0
- package/stencil/gamification-dropdown-8eb8a896-wUq7QkNM.cjs +1 -0
- package/stencil/gamification-dropdown-BKLERBkj.js +25 -0
- package/stencil/gamification-dropdown-Ctny0vqq.js +7 -0
- package/stencil/gamification-dropdown-DoTceze_.cjs +1 -0
- package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +192 -0
- package/stencil/gamification-dropdown_4-CcWOoutw.js +469 -0
- package/stencil/gamification-dropdown_4-CmDM3hBS.js +451 -0
- package/stencil/{index-1ef3a64c-B6t9gkO1.js → index-1ef3a64c-AMSfdX4B.js} +1 -1
- package/stencil/{index-1ef3a64c-BdrVNGQe.cjs → index-1ef3a64c-BlUWL6ud.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BfGbBN_r.js → index-1ef3a64c-CTdxbgr0.js} +1 -1
- package/stencil/index-71b1bdfa-BWeAgaw2.js +753 -0
- package/stencil/index-71b1bdfa-BeszNvNP.cjs +1 -0
- package/stencil/index-71b1bdfa-DBUT8z-D.js +780 -0
- package/stencil/locale-DHn5ZpQu.cjs +1 -0
- package/stencil/locale-DuSXBQwH.js +215 -0
- package/stencil/player-elevate-card-B70rn287.js +106 -0
- package/stencil/player-elevate-card-DqZR4w--.js +106 -0
- package/stencil/player-elevate-card-W6LcGGe8.cjs +64 -0
- package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +1290 -0
- package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +1 -0
- package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +1290 -0
- package/stencil/player-elevate-pointcard-CBapQeNI.js +44 -0
- package/stencil/player-elevate-pointcard-DREgIjCm.js +44 -0
- package/stencil/player-elevate-pointcard-DwDhlXwq.cjs +1 -0
- package/stencil/player-rakeback-card-B0P7gHIA.cjs +1 -0
- package/stencil/player-rakeback-card-tP823Fs8.js +111 -0
- package/stencil/player-rakeback-card-z_ugBu0q.js +137 -0
- package/stencil/user-deposit-withdrawal-BRpNiBnR.cjs +68 -0
- package/stencil/{user-deposit-withdrawal-4aK-1zzW.js → user-deposit-withdrawal-Dy3WkB23.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BhsnZiSd.js → user-deposit-withdrawal-c_bH3eje.js} +2 -2
- package/components/CasinoHeaderController-BIefUWQL.js +0 -3114
- package/components/CasinoHeaderController-DSyglpDF.cjs +0 -13
- package/components/CasinoHeaderController-KfLekr0Q.js +0 -3137
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/user-deposit-withdrawal-HQmDGKFu.cjs +0 -68
@@ -0,0 +1,13 @@
|
|
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-BRpNiBnR.cjs");require("../stencil/gamification-dropdown-DoTceze_.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 +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-DNNqI5-z.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-CvgFMlA6.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
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const l=()=>{},s=()=>{};exports.globalScripts=s;exports.globalScripts$1=l;
|
@@ -0,0 +1,126 @@
|
|
1
|
+
import { r as g, h as a, g as f } from "./index-71b1bdfa-BWeAgaw2.js";
|
2
|
+
const u = "en";
|
3
|
+
let l = {
|
4
|
+
en: {
|
5
|
+
gamificationNoPoints: "No points"
|
6
|
+
},
|
7
|
+
de: {
|
8
|
+
gamificationNoPoints: "No points"
|
9
|
+
},
|
10
|
+
ro: {
|
11
|
+
gamificationNoPoints: "No points"
|
12
|
+
},
|
13
|
+
fr: {
|
14
|
+
gamificationNoPoints: "No points"
|
15
|
+
},
|
16
|
+
ar: {
|
17
|
+
gamificationNoPoints: "No points"
|
18
|
+
},
|
19
|
+
hr: {
|
20
|
+
gamificationNoPoints: "No points"
|
21
|
+
}
|
22
|
+
};
|
23
|
+
const h = (i) => new Promise((t) => {
|
24
|
+
fetch(i).then((n) => n.json()).then((n) => {
|
25
|
+
Object.keys(n).forEach((e) => {
|
26
|
+
l[e] || (l[e] = {});
|
27
|
+
for (let o in n[e])
|
28
|
+
l[e][o] = n[e][o];
|
29
|
+
}), t(!0);
|
30
|
+
});
|
31
|
+
}), m = (i, t) => {
|
32
|
+
const n = t;
|
33
|
+
return l[n !== void 0 && n in l ? n : u][i];
|
34
|
+
};
|
35
|
+
function d(i, t) {
|
36
|
+
if (i) {
|
37
|
+
const n = document.createElement("style");
|
38
|
+
n.innerHTML = t, i.appendChild(n);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
function p(i, t) {
|
42
|
+
const n = new URL(t);
|
43
|
+
fetch(n.href).then((e) => e.text()).then((e) => {
|
44
|
+
const o = document.createElement("style");
|
45
|
+
o.innerHTML = e, i && i.appendChild(o);
|
46
|
+
}).catch((e) => {
|
47
|
+
console.error("There was an error while trying to load client styling from URL", e);
|
48
|
+
});
|
49
|
+
}
|
50
|
+
function y(i, t, n) {
|
51
|
+
if (window.emMessageBus) {
|
52
|
+
const e = document.createElement("style");
|
53
|
+
window.emMessageBus.subscribe(t, (o) => {
|
54
|
+
e.innerHTML = o, i && i.appendChild(e);
|
55
|
+
});
|
56
|
+
}
|
57
|
+
}
|
58
|
+
const w = ":host{display:block}.GamificationDropdownContainer{position:relative}.GamificationDropdownContainer .GamificationDropdown{position:absolute;left:0;z-index:200;overflow:hidden;cursor:pointer}.GamificationDropdownButton{cursor:pointer;font-size:14px;height:20px;background-color:unset;color:var(--emw--color-typography, #FFFFFF);padding:0;border:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;line-height:0}.GamificationDropdownButton:hover{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton:hover svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton .TriangleActive,.GamificationDropdownButton .TriangleInactive{display:block;transition:all 0.2s}.GamificationDropdownButton .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px);fill:var(--emw--color-primary, #52d004);margin-top:4px}.GamificationDropdownButton svg{fill:var(--emw--color-typography, #FFFFFF);margin-left:8px;width:16px}", v = w, S = class {
|
59
|
+
constructor(i) {
|
60
|
+
g(this, i), this.navigateToGamification = () => {
|
61
|
+
window.postMessage({ type: "NavigateToGamification" }, window.location.href), this.isOpen = !1;
|
62
|
+
}, this.handleOutsideClick = (t) => {
|
63
|
+
t.composedPath().includes(this.el) || (this.isOpen = !1, document.removeEventListener("click", this.handleOutsideClick));
|
64
|
+
}, this.handleDropdownClick = (t) => {
|
65
|
+
t.stopPropagation(), this.isOpen = !this.isOpen, this.isOpen ? document.addEventListener("click", this.handleOutsideClick) : document.removeEventListener("click", this.handleOutsideClick);
|
66
|
+
}, this.endpoint = void 0, this.language = "en", this.session = "", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.loyaltyPoints = void 0;
|
67
|
+
}
|
68
|
+
handleNewTranslations() {
|
69
|
+
this.isLoading = !0, h(this.translationUrl).then(() => {
|
70
|
+
this.isLoading = !1;
|
71
|
+
});
|
72
|
+
}
|
73
|
+
handleClientStylingChange(i, t) {
|
74
|
+
i != t && d(this.stylingContainer, this.clientStyling);
|
75
|
+
}
|
76
|
+
handleClientStylingChangeURL(i, t) {
|
77
|
+
i != t && this.clientStylingUrl && p(this.stylingContainer, this.clientStylingUrl);
|
78
|
+
}
|
79
|
+
async componentWillLoad() {
|
80
|
+
if (this.translationUrl.length > 2 && await h(this.translationUrl), this.endpoint && this.language)
|
81
|
+
return this.fetchPointsData();
|
82
|
+
}
|
83
|
+
componentDidLoad() {
|
84
|
+
this.stylingContainer && (window.emMessageBus != null ? y(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && d(this.stylingContainer, this.clientStyling), this.clientStylingUrl && p(this.stylingContainer, this.clientStylingUrl)));
|
85
|
+
}
|
86
|
+
disconnectedCallback() {
|
87
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
88
|
+
}
|
89
|
+
fetchPointsData() {
|
90
|
+
let i = new URL(`${this.endpoint}/v1/elevate/playerInfo`);
|
91
|
+
i.searchParams.append("language", this.language);
|
92
|
+
const t = new Headers();
|
93
|
+
t.append("X-SessionId", this.session);
|
94
|
+
const n = {
|
95
|
+
method: "GET",
|
96
|
+
headers: t
|
97
|
+
};
|
98
|
+
return new Promise((e, o) => {
|
99
|
+
this.isLoading = !0, fetch(i.href, n).then((s) => s.json()).then((s) => {
|
100
|
+
var r, c;
|
101
|
+
this.loyaltyPoints = (c = (r = s?.data) === null || r === void 0 ? void 0 : r.level) === null || c === void 0 ? void 0 : c.loyaltyPoints, e(!0);
|
102
|
+
}).catch((s) => {
|
103
|
+
console.error(s), o(s);
|
104
|
+
}).finally(() => {
|
105
|
+
this.isLoading = !1;
|
106
|
+
});
|
107
|
+
});
|
108
|
+
}
|
109
|
+
render() {
|
110
|
+
return this.isLoading ? null : a("div", { ref: (i) => this.stylingContainer = i, class: "GamificationDropdownContainer" }, a("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (i) => this.handleDropdownClick(i), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : m("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", a("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, a("path", { id: "arrow", d: "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z", transform: "translate(-274.511 -441.088)" })))), this.isOpen && a("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, a("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
|
111
|
+
}
|
112
|
+
get el() {
|
113
|
+
return f(this);
|
114
|
+
}
|
115
|
+
static get watchers() {
|
116
|
+
return {
|
117
|
+
translationUrl: ["handleNewTranslations"],
|
118
|
+
clientStyling: ["handleClientStylingChange"],
|
119
|
+
clientStylingUrl: ["handleClientStylingChangeURL"]
|
120
|
+
};
|
121
|
+
}
|
122
|
+
};
|
123
|
+
S.style = v;
|
124
|
+
export {
|
125
|
+
S as G
|
126
|
+
};
|
@@ -0,0 +1,144 @@
|
|
1
|
+
var p = (i, n, t) => new Promise((e, o) => {
|
2
|
+
var s = (l) => {
|
3
|
+
try {
|
4
|
+
a(t.next(l));
|
5
|
+
} catch (d) {
|
6
|
+
o(d);
|
7
|
+
}
|
8
|
+
}, c = (l) => {
|
9
|
+
try {
|
10
|
+
a(t.throw(l));
|
11
|
+
} catch (d) {
|
12
|
+
o(d);
|
13
|
+
}
|
14
|
+
}, a = (l) => l.done ? e(l.value) : Promise.resolve(l.value).then(s, c);
|
15
|
+
a((t = t.apply(i, n)).next());
|
16
|
+
});
|
17
|
+
import { r as m, h as r, g as y } from "./index-71b1bdfa-DBUT8z-D.js";
|
18
|
+
const w = "en";
|
19
|
+
let h = {
|
20
|
+
en: {
|
21
|
+
gamificationNoPoints: "No points"
|
22
|
+
},
|
23
|
+
de: {
|
24
|
+
gamificationNoPoints: "No points"
|
25
|
+
},
|
26
|
+
ro: {
|
27
|
+
gamificationNoPoints: "No points"
|
28
|
+
},
|
29
|
+
fr: {
|
30
|
+
gamificationNoPoints: "No points"
|
31
|
+
},
|
32
|
+
ar: {
|
33
|
+
gamificationNoPoints: "No points"
|
34
|
+
},
|
35
|
+
hr: {
|
36
|
+
gamificationNoPoints: "No points"
|
37
|
+
}
|
38
|
+
};
|
39
|
+
const g = (i) => new Promise((n) => {
|
40
|
+
fetch(i).then((t) => t.json()).then((t) => {
|
41
|
+
Object.keys(t).forEach((e) => {
|
42
|
+
h[e] || (h[e] = {});
|
43
|
+
for (let o in t[e])
|
44
|
+
h[e][o] = t[e][o];
|
45
|
+
}), n(!0);
|
46
|
+
});
|
47
|
+
}), v = (i, n) => {
|
48
|
+
const t = n;
|
49
|
+
return h[t !== void 0 && t in h ? t : w][i];
|
50
|
+
};
|
51
|
+
function f(i, n) {
|
52
|
+
if (i) {
|
53
|
+
const t = document.createElement("style");
|
54
|
+
t.innerHTML = n, i.appendChild(t);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
function u(i, n) {
|
58
|
+
const t = new URL(n);
|
59
|
+
fetch(t.href).then((e) => e.text()).then((e) => {
|
60
|
+
const o = document.createElement("style");
|
61
|
+
o.innerHTML = e, i && i.appendChild(o);
|
62
|
+
}).catch((e) => {
|
63
|
+
console.error("There was an error while trying to load client styling from URL", e);
|
64
|
+
});
|
65
|
+
}
|
66
|
+
function S(i, n, t) {
|
67
|
+
if (window.emMessageBus) {
|
68
|
+
const e = document.createElement("style");
|
69
|
+
window.emMessageBus.subscribe(n, (o) => {
|
70
|
+
e.innerHTML = o, i && i.appendChild(e);
|
71
|
+
});
|
72
|
+
}
|
73
|
+
}
|
74
|
+
const C = ":host{display:block}.GamificationDropdownContainer{position:relative}.GamificationDropdownContainer .GamificationDropdown{position:absolute;left:0;z-index:200;overflow:hidden;cursor:pointer}.GamificationDropdownButton{cursor:pointer;font-size:14px;height:20px;background-color:unset;color:var(--emw--color-typography, #FFFFFF);padding:0;border:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;line-height:0}.GamificationDropdownButton:hover{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton:hover svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton .TriangleActive,.GamificationDropdownButton .TriangleInactive{display:block;transition:all 0.2s}.GamificationDropdownButton .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px);fill:var(--emw--color-primary, #52d004);margin-top:4px}.GamificationDropdownButton svg{fill:var(--emw--color-typography, #FFFFFF);margin-left:8px;width:16px}", D = C, G = class {
|
75
|
+
constructor(i) {
|
76
|
+
m(this, i), this.navigateToGamification = () => {
|
77
|
+
window.postMessage({ type: "NavigateToGamification" }, window.location.href), this.isOpen = !1;
|
78
|
+
}, this.handleOutsideClick = (n) => {
|
79
|
+
n.composedPath().includes(this.el) || (this.isOpen = !1, document.removeEventListener("click", this.handleOutsideClick));
|
80
|
+
}, this.handleDropdownClick = (n) => {
|
81
|
+
n.stopPropagation(), this.isOpen = !this.isOpen, this.isOpen ? document.addEventListener("click", this.handleOutsideClick) : document.removeEventListener("click", this.handleOutsideClick);
|
82
|
+
}, this.endpoint = void 0, this.language = "en", this.session = "", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.loyaltyPoints = void 0;
|
83
|
+
}
|
84
|
+
handleNewTranslations() {
|
85
|
+
this.isLoading = !0, g(this.translationUrl).then(() => {
|
86
|
+
this.isLoading = !1;
|
87
|
+
});
|
88
|
+
}
|
89
|
+
handleClientStylingChange(i, n) {
|
90
|
+
i != n && f(this.stylingContainer, this.clientStyling);
|
91
|
+
}
|
92
|
+
handleClientStylingChangeURL(i, n) {
|
93
|
+
i != n && this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl);
|
94
|
+
}
|
95
|
+
componentWillLoad() {
|
96
|
+
return p(this, null, function* () {
|
97
|
+
if (this.translationUrl.length > 2 && (yield g(this.translationUrl)), this.endpoint && this.language)
|
98
|
+
return this.fetchPointsData();
|
99
|
+
});
|
100
|
+
}
|
101
|
+
componentDidLoad() {
|
102
|
+
this.stylingContainer && (window.emMessageBus != null ? S(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && f(this.stylingContainer, this.clientStyling), this.clientStylingUrl && u(this.stylingContainer, this.clientStylingUrl)));
|
103
|
+
}
|
104
|
+
disconnectedCallback() {
|
105
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
106
|
+
}
|
107
|
+
fetchPointsData() {
|
108
|
+
let i = new URL(`${this.endpoint}/v1/elevate/playerInfo`);
|
109
|
+
i.searchParams.append("language", this.language);
|
110
|
+
const n = new Headers();
|
111
|
+
n.append("X-SessionId", this.session);
|
112
|
+
const t = {
|
113
|
+
method: "GET",
|
114
|
+
headers: n
|
115
|
+
};
|
116
|
+
return new Promise((e, o) => {
|
117
|
+
this.isLoading = !0, fetch(i.href, t).then((s) => s.json()).then((s) => {
|
118
|
+
var c, a;
|
119
|
+
this.loyaltyPoints = (a = (c = s == null ? void 0 : s.data) === null || c === void 0 ? void 0 : c.level) === null || a === void 0 ? void 0 : a.loyaltyPoints, e(!0);
|
120
|
+
}).catch((s) => {
|
121
|
+
console.error(s), o(s);
|
122
|
+
}).finally(() => {
|
123
|
+
this.isLoading = !1;
|
124
|
+
});
|
125
|
+
});
|
126
|
+
}
|
127
|
+
render() {
|
128
|
+
return this.isLoading ? null : r("div", { ref: (i) => this.stylingContainer = i, class: "GamificationDropdownContainer" }, r("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (i) => this.handleDropdownClick(i), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : v("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", r("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, r("path", { id: "arrow", d: "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z", transform: "translate(-274.511 -441.088)" })))), this.isOpen && r("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, r("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
|
129
|
+
}
|
130
|
+
get el() {
|
131
|
+
return y(this);
|
132
|
+
}
|
133
|
+
static get watchers() {
|
134
|
+
return {
|
135
|
+
translationUrl: ["handleNewTranslations"],
|
136
|
+
clientStyling: ["handleClientStylingChange"],
|
137
|
+
clientStylingUrl: ["handleClientStylingChangeURL"]
|
138
|
+
};
|
139
|
+
}
|
140
|
+
};
|
141
|
+
G.style = D;
|
142
|
+
export {
|
143
|
+
G
|
144
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var p=(i,n,t)=>new Promise((e,o)=>{var s=r=>{try{l(t.next(r))}catch(d){o(d)}},c=r=>{try{l(t.throw(r))}catch(d){o(d)}},l=r=>r.done?e(r.value):Promise.resolve(r.value).then(s,c);l((t=t.apply(i,n)).next())});const a=require("./index-71b1bdfa-BeszNvNP.cjs"),y="en";let h={en:{gamificationNoPoints:"No points"},de:{gamificationNoPoints:"No points"},ro:{gamificationNoPoints:"No points"},fr:{gamificationNoPoints:"No points"},ar:{gamificationNoPoints:"No points"},hr:{gamificationNoPoints:"No points"}};const g=i=>new Promise(n=>{fetch(i).then(t=>t.json()).then(t=>{Object.keys(t).forEach(e=>{h[e]||(h[e]={});for(let o in t[e])h[e][o]=t[e][o]}),n(!0)})}),w=(i,n)=>{const t=n;return h[t!==void 0&&t in h?t:y][i]};function f(i,n){if(i){const t=document.createElement("style");t.innerHTML=n,i.appendChild(t)}}function u(i,n){const t=new URL(n);fetch(t.href).then(e=>e.text()).then(e=>{const o=document.createElement("style");o.innerHTML=e,i&&i.appendChild(o)}).catch(e=>{console.error("There was an error while trying to load client styling from URL",e)})}function v(i,n,t){if(window.emMessageBus){const e=document.createElement("style");window.emMessageBus.subscribe(n,o=>{e.innerHTML=o,i&&i.appendChild(e)})}}const S=":host{display:block}.GamificationDropdownContainer{position:relative}.GamificationDropdownContainer .GamificationDropdown{position:absolute;left:0;z-index:200;overflow:hidden;cursor:pointer}.GamificationDropdownButton{cursor:pointer;font-size:14px;height:20px;background-color:unset;color:var(--emw--color-typography, #FFFFFF);padding:0;border:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;line-height:0}.GamificationDropdownButton:hover{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton:hover svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton .TriangleActive,.GamificationDropdownButton .TriangleInactive{display:block;transition:all 0.2s}.GamificationDropdownButton .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px);fill:var(--emw--color-primary, #52d004);margin-top:4px}.GamificationDropdownButton svg{fill:var(--emw--color-typography, #FFFFFF);margin-left:8px;width:16px}",C=S,m=class{constructor(i){a.registerInstance(this,i),this.navigateToGamification=()=>{window.postMessage({type:"NavigateToGamification"},window.location.href),this.isOpen=!1},this.handleOutsideClick=n=>{n.composedPath().includes(this.el)||(this.isOpen=!1,document.removeEventListener("click",this.handleOutsideClick))},this.handleDropdownClick=n=>{n.stopPropagation(),this.isOpen=!this.isOpen,this.isOpen?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)},this.endpoint=void 0,this.language="en",this.session="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isOpen=!1,this.isLoading=!1,this.loyaltyPoints=void 0}handleNewTranslations(){this.isLoading=!0,g(this.translationUrl).then(()=>{this.isLoading=!1})}handleClientStylingChange(i,n){i!=n&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(i,n){i!=n&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return p(this,null,function*(){if(this.translationUrl.length>2&&(yield g(this.translationUrl)),this.endpoint&&this.language)return this.fetchPointsData()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?v(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchPointsData(){let i=new URL(`${this.endpoint}/v1/elevate/playerInfo`);i.searchParams.append("language",this.language);const n=new Headers;n.append("X-SessionId",this.session);const t={method:"GET",headers:n};return new Promise((e,o)=>{this.isLoading=!0,fetch(i.href,t).then(s=>s.json()).then(s=>{var c,l;this.loyaltyPoints=(l=(c=s==null?void 0:s.data)===null||c===void 0?void 0:c.level)===null||l===void 0?void 0:l.loyaltyPoints,e(!0)}).catch(s=>{console.error(s),o(s)}).finally(()=>{this.isLoading=!1})})}render(){return this.isLoading?null:a.h("div",{ref:i=>this.stylingContainer=i,class:"GamificationDropdownContainer"},a.h("button",{class:`GamificationDropdownButton ${this.isOpen?"IsOpen":""}`,type:"button",onClick:i=>this.handleDropdownClick(i),title:typeof this.loyaltyPoints=="number"?String(this.loyaltyPoints):w("gamificationNoPoints",this.language)},typeof this.loyaltyPoints=="number"?`${this.loyaltyPoints} XP`:"...",a.h("span",{class:this.isOpen?"TriangleActive":"TriangleInactive"},a.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6.835",viewBox:"0 0 14 6.835"},a.h("path",{id:"arrow",d:"M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z",transform:"translate(-274.511 -441.088)"})))),this.isOpen&&a.h("div",{class:"GamificationDropdown",onClick:this.navigateToGamification},a.h("player-elevate-loyaltycard",{endpoint:this.endpoint,session:this.session,language:this.language,"client-styling-url":this.clientStylingUrl,"client-styling":this.clientStyling})))}get el(){return a.getElement(this)}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};m.style=C;exports.GamificationDropdown=m;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
var o = (n, a, l) => new Promise((s, i) => {
|
2
|
+
var g = (e) => {
|
3
|
+
try {
|
4
|
+
t(l.next(e));
|
5
|
+
} catch (r) {
|
6
|
+
i(r);
|
7
|
+
}
|
8
|
+
}, p = (e) => {
|
9
|
+
try {
|
10
|
+
t(l.throw(e));
|
11
|
+
} catch (r) {
|
12
|
+
i(r);
|
13
|
+
}
|
14
|
+
}, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(g, p);
|
15
|
+
t((l = l.apply(n, a)).next());
|
16
|
+
});
|
17
|
+
import { b as d, p as y } from "./index-71b1bdfa-DBUT8z-D.js";
|
18
|
+
import { g as c } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
19
|
+
var v = () => {
|
20
|
+
const n = import.meta.url, a = {};
|
21
|
+
return n !== "" && (a.resourcesUrl = new URL(".", n).href), y(a);
|
22
|
+
};
|
23
|
+
v().then((n) => o(void 0, null, function* () {
|
24
|
+
return yield c(), d([["gamification-dropdown_4", [[1, "gamification-dropdown", { endpoint: [513], language: [513], session: [513], mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], isOpen: [32], isLoading: [32], loyaltyPoints: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }], [1, "player-elevate-loyaltycard", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], dateFormat: [513, "date-format"], mbSource: [1, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerElevateLevel: [32], elevateWalletTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }], [0, "player-elevate-card-data", { params: [8], playerElevateLevel: [32], pointExpireString: [32] }, [[9, "resize", "handleWindowResizs"], [8, "redeemGiftButton", "redeemGiftButtonHandler"]], { params: ["onParamsChanged"] }], [4, "general-styling-wrapper", { clientStyling: [1, "client-styling"], clientStylingUrl: [1, "client-styling-url"], translationUrl: [1, "translation-url"], targetTranslations: [16] }]]], ["player-elevate-card", [[1, "player-elevate-card", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], dateFormat: [513, "date-format"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerLevelFlag: [32], playerElevateLevel: [32], elevateWalletTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }]]], ["player-elevate-pointcard", [[1, "player-elevate-pointcard", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], cardTitle: [513, "card-title"], buttonType: [513, "button-type"], dateFormat: [513, "date-format"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerElevateLevel: [32], elevateWalletTotal: [32], elevateSPTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }]]], ["player-rakeback-card", [[1, "player-rakeback-card", { endpoint: [513], theme: [513], session: [513], language: [513], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], show: [516], rakebackInfo: [32], isLoading: [32], coolingOffPeriod: [32], showTheWidget: [32] }, [[8, "message", "handleMessage"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"], show: ["onShowOrHasRakebackWalletChange"], rakebackInfo: ["onShowOrHasRakebackWalletChange"] }]]]], n);
|
25
|
+
}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { b as a, p as l } from "./index-71b1bdfa-BWeAgaw2.js";
|
2
|
+
import { g as t } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
3
|
+
var r = () => {
|
4
|
+
const e = import.meta.url, n = {};
|
5
|
+
return e !== "" && (n.resourcesUrl = new URL(".", e).href), l(n);
|
6
|
+
};
|
7
|
+
r().then(async (e) => (await t(), a([["gamification-dropdown_4", [[1, "gamification-dropdown", { endpoint: [513], language: [513], session: [513], mbSource: [513, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], isOpen: [32], isLoading: [32], loyaltyPoints: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingChangeURL"] }], [1, "player-elevate-loyaltycard", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], dateFormat: [513, "date-format"], mbSource: [1, "mb-source"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerElevateLevel: [32], elevateWalletTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }], [0, "player-elevate-card-data", { params: [8], playerElevateLevel: [32], pointExpireString: [32] }, [[9, "resize", "handleWindowResizs"], [8, "redeemGiftButton", "redeemGiftButtonHandler"]], { params: ["onParamsChanged"] }], [4, "general-styling-wrapper", { clientStyling: [1, "client-styling"], clientStylingUrl: [1, "client-styling-url"], translationUrl: [1, "translation-url"], targetTranslations: [16] }]]], ["player-elevate-card", [[1, "player-elevate-card", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], dateFormat: [513, "date-format"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerLevelFlag: [32], playerElevateLevel: [32], elevateWalletTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }]]], ["player-elevate-pointcard", [[1, "player-elevate-pointcard", { endpoint: [513], theme: [513], session: [513], playerAvatarUrl: [513, "player-avatar-url"], language: [513], playerName: [513, "player-name"], cardTitle: [513, "card-title"], buttonType: [513, "button-type"], dateFormat: [513, "date-format"], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], pointExpireString: [32], playerElevateLevel: [32], elevateWalletTotal: [32], elevateSPTotal: [32] }, [[0, "playerElevateLeveLoaded", "playerElevateLeveLoadedHandler"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"] }]]], ["player-rakeback-card", [[1, "player-rakeback-card", { endpoint: [513], theme: [513], session: [513], language: [513], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], show: [516], rakebackInfo: [32], isLoading: [32], coolingOffPeriod: [32], showTheWidget: [32] }, [[8, "message", "handleMessage"]], { session: ["onSessionOrEndpointChange"], endpoint: ["onSessionOrEndpointChange"], language: ["onSessionOrEndpointChange"], show: ["onShowOrHasRakebackWalletChange"], rakebackInfo: ["onShowOrHasRakebackWalletChange"] }]]]], e)));
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var s=(n,a,t)=>new Promise((d,o)=>{var g=e=>{try{l(t.next(e))}catch(r){o(r)}},c=e=>{try{l(t.throw(e))}catch(r){o(r)}},l=e=>e.done?d(e.value):Promise.resolve(e.value).then(g,c);l((t=t.apply(n,a)).next())});const p=require("./index-71b1bdfa-BeszNvNP.cjs"),y=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var i=typeof document!="undefined"?document.currentScript:null,u=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("stencil/gamification-dropdown-DoTceze_.cjs",document.baseURI).href,a={};return n!==""&&(a.resourcesUrl=new URL(".",n).href),p.promiseResolve(a)};u().then(n=>s(exports,null,function*(){return yield y.globalScripts(),p.bootstrapLazy([["gamification-dropdown_4",[[1,"gamification-dropdown",{endpoint:[513],language:[513],session:[513],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],isOpen:[32],isLoading:[32],loyaltyPoints:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[1,"player-elevate-loyaltycard",{endpoint:[513],theme:[513],session:[513],playerAvatarUrl:[513,"player-avatar-url"],language:[513],playerName:[513,"player-name"],dateFormat:[513,"date-format"],mbSource:[1,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],pointExpireString:[32],playerElevateLevel:[32],elevateWalletTotal:[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"]}],[0,"player-elevate-card-data",{params:[8],playerElevateLevel:[32],pointExpireString:[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{params:["onParamsChanged"]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}]]],["player-elevate-card",[[1,"player-elevate-card",{endpoint:[513],theme:[513],session:[513],playerAvatarUrl:[513,"player-avatar-url"],language:[513],playerName:[513,"player-name"],dateFormat:[513,"date-format"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],pointExpireString:[32],playerLevelFlag:[32],playerElevateLevel:[32],elevateWalletTotal:[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"]}]]],["player-elevate-pointcard",[[1,"player-elevate-pointcard",{endpoint:[513],theme:[513],session:[513],playerAvatarUrl:[513,"player-avatar-url"],language:[513],playerName:[513,"player-name"],cardTitle:[513,"card-title"],buttonType:[513,"button-type"],dateFormat:[513,"date-format"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],pointExpireString:[32],playerElevateLevel:[32],elevateWalletTotal:[32],elevateSPTotal:[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"]}]]],["player-rakeback-card",[[1,"player-rakeback-card",{endpoint:[513],theme:[513],session:[513],language:[513],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],show:[516],rakebackInfo:[32],isLoading:[32],coolingOffPeriod:[32],showTheWidget:[32]},[[8,"message","handleMessage"]],{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"],show:["onShowOrHasRakebackWalletChange"],rakebackInfo:["onShowOrHasRakebackWalletChange"]}]]]],n)}));
|