@everymatrix/casino-lobby 1.47.1 → 1.47.2
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/{CasinoCategoriesSlider-C0zvzKUl.cjs → CasinoCategoriesSlider-bjuRGQVb.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BusDUIsJ.js → CasinoCategoriesSlider-zaQfM9aV.js} +1 -1
- package/components/{CasinoLobby-fdlZEYrv.js → CasinoLobby-DC3C5QPm.js} +1 -1
- package/components/{CasinoLobby-DQp8R35R.cjs → CasinoLobby-DvdEygsY.cjs} +1 -1
- package/components/{CasinoSlider-reGFKOnL.js → CasinoSlider-B1E3wbGI.js} +86 -88
- package/components/{CasinoSlider-DU8y1oGD.cjs → CasinoSlider-BMDqluc_.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCategoriesSlider-C0zvzKUl.cjs → CasinoCategoriesSlider-bjuRGQVb.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function H(n,e){t.addMessages(n,e)}const Y={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}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=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-DU8y1oGD.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(n){t.append_styles(n,"svelte-1ydghqy",".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}")}function ae(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",z),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-1ydghqy"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ne(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ie(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;function s(i,o){return i[12]||le||re?ie:i[14]?ne:ae}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let z="CasinoSliderData",le=!1,re=!1;function ce(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:S=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:N="false"}=e,{favorites:w=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:E=""}=e,{sessioncheck:j=""}=e,{location:P="secondaryMenu"}=e,{showsubgroups:T="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:q=""}=e,{lobbyiconimage:F=""}=e,{mygamesiconimage:A=""}=e,D,O,g=!0,d,h=[],y=!1,J=window.navigator.userAgent,f,R,U=!1,G=!1;const K=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{H(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(Y).forEach(a=>{H(a,Y[a])});const Q=()=>{U==!1&&(w=="true"||_=="true"||N=="true")&&h.splice(1,0,{id:"MYGAMES",name:D,href:"",games:[]}),t.tick(),U=!0,s(25,G=!0),I()},V=()=>(r||(d="Endpoint is missing! Please provide a valid endpointURL.",s(14,y=!0),s(12,g=!1),console.error(d)),i||(d="Datasource is missing! Please provide a valid datasource.",s(14,y=!0),s(12,g=!1),console.error(d)),(!o||o.length<2)&&(d="Language is missing! Please provide a valid language (alpha2code)",s(14,y=!0),s(12,g=!1),console.error(d)),y),W=()=>{if(D=l("myGamesName"),O=l("lobbyName"),!V()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(J)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),ee=c.items.filter(B=>{let k=!1;if(B.games.total>0&&(k=!0,M))for(let te of m)B.flags==te&&(k=!1);return k});h=[],h=h.concat(ee),h.unshift({id:"LOBBY",name:O,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)})}},X=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},Z=()=>{let a=document.createElement("style");a.innerHTML=L,f.appendChild(a)},p=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{f.appendChild(a)},1)})},I=()=>{window.postMessage({type:"SliderData",identity:z,data:h},window.location.href)};function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(13,f)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,S=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,N=a.lastplayed),"favorites"in a&&s(21,w=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,E=a.actionevent),"sessioncheck"in a&&s(22,j=a.sessioncheck),"location"in a&&s(7,P=a.location),"showsubgroups"in a&&s(8,T=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,q=a.categoriesicon),"lobbyiconimage"in a&&s(10,F=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,A=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&W(),n.$$.dirty[0]&3936258&&r&&b&&(_||N||w)&&!g&&Q(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&X(),n.$$.dirty[0]&8208&&L&&f&&Z(),n.$$.dirty[0]&16777216&&v&&K(),n.$$.dirty[0]&8224&&C&&f&&p()},s(15,R=0),[u,r,i,o,L,C,E,P,T,q,F,A,g,f,y,R,I,S,b,_,N,w,j,M,v,G,$]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(x,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function H(n,e){t.addMessages(n,e)}const Y={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}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=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BMDqluc_.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(n){t.append_styles(n,"svelte-1ydghqy",".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}")}function ae(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",z),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-1ydghqy"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ne(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ie(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;function s(i,o){return i[12]||le||re?ie:i[14]?ne:ae}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let z="CasinoSliderData",le=!1,re=!1;function ce(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:S=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:N="false"}=e,{favorites:w=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:E=""}=e,{sessioncheck:j=""}=e,{location:P="secondaryMenu"}=e,{showsubgroups:T="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:q=""}=e,{lobbyiconimage:F=""}=e,{mygamesiconimage:A=""}=e,D,O,g=!0,d,h=[],y=!1,J=window.navigator.userAgent,f,R,U=!1,G=!1;const K=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{H(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(Y).forEach(a=>{H(a,Y[a])});const Q=()=>{U==!1&&(w=="true"||_=="true"||N=="true")&&h.splice(1,0,{id:"MYGAMES",name:D,href:"",games:[]}),t.tick(),U=!0,s(25,G=!0),I()},V=()=>(r||(d="Endpoint is missing! Please provide a valid endpointURL.",s(14,y=!0),s(12,g=!1),console.error(d)),i||(d="Datasource is missing! Please provide a valid datasource.",s(14,y=!0),s(12,g=!1),console.error(d)),(!o||o.length<2)&&(d="Language is missing! Please provide a valid language (alpha2code)",s(14,y=!0),s(12,g=!1),console.error(d)),y),W=()=>{if(D=l("myGamesName"),O=l("lobbyName"),!V()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(J)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),ee=c.items.filter(B=>{let k=!1;if(B.games.total>0&&(k=!0,M))for(let te of m)B.flags==te&&(k=!1);return k});h=[],h=h.concat(ee),h.unshift({id:"LOBBY",name:O,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)})}},X=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},Z=()=>{let a=document.createElement("style");a.innerHTML=L,f.appendChild(a)},p=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{f.appendChild(a)},1)})},I=()=>{window.postMessage({type:"SliderData",identity:z,data:h},window.location.href)};function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(13,f)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,S=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,N=a.lastplayed),"favorites"in a&&s(21,w=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,E=a.actionevent),"sessioncheck"in a&&s(22,j=a.sessioncheck),"location"in a&&s(7,P=a.location),"showsubgroups"in a&&s(8,T=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,q=a.categoriesicon),"lobbyiconimage"in a&&s(10,F=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,A=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&W(),n.$$.dirty[0]&3936258&&r&&b&&(_||N||w)&&!g&&Q(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&X(),n.$$.dirty[0]&8208&&L&&f&&Z(),n.$$.dirty[0]&16777216&&v&&K(),n.$$.dirty[0]&8224&&C&&f&&p()},s(15,R=0),[u,r,i,o,L,C,E,P,T,q,F,A,g,f,y,R,I,S,b,_,N,w,j,M,v,G,$]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(x,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=x;
|
package/components/{CasinoCategoriesSlider-BusDUIsJ.js → CasinoCategoriesSlider-zaQfM9aV.js}
RENAMED
|
@@ -84,7 +84,7 @@ if (typeof window != "undefined") {
|
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
87
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-B1E3wbGI.js").then(({ default: e }) => {
|
|
88
88
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
89
89
|
});
|
|
90
90
|
}
|
|
@@ -19,7 +19,7 @@ if (typeof window != "undefined") {
|
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-
|
|
22
|
+
customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-zaQfM9aV.js").then(({ default: e }) => {
|
|
23
23
|
!customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
|
|
24
24
|
});
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function _t({withLocale:i,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function $e(i){e.$locale.set(i)}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-C0zvzKUl.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-1snYAINT.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-B71hMJhL.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-oxi03_5O.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function rt(i){e.append_styles(i,"svelte-1me4s20","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const dt=i=>({}),et=i=>({});function ft(i){let t,a,c,_,r,y,u,h,n,f,b,o;const w=i[95].content,g=e.create_slot(w,i,i[94],et);let d=i[22]=="true"&&tt(i);return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),_=e.space(),r=e.element("div"),y=e.space(),u=e.element("casino-categories-slider"),h=e.space(),n=e.element("casino-page"),f=e.element("div"),g&&g.c(),b=e.space(),d&&d.c(),e.attr(c,"class","HeaderPlaceholder"),e.set_style(c,"height",i[86]+"px"),e.attr(r,"class","ScrollTop"),e.set_custom_element_data(u,"endpoint",i[79]),e.set_custom_element_data(u,"datasource",i[80]),e.set_custom_element_data(u,"lang",i[81]),e.set_custom_element_data(u,"session",i[85]),e.set_custom_element_data(u,"userid",i[4]),e.set_custom_element_data(u,"sessioncheck","false"),e.set_custom_element_data(u,"actionevent",i[18]),e.set_custom_element_data(u,"filteredcategories",i[9]),e.set_custom_element_data(u,"mostplayed",i[64]),e.set_custom_element_data(u,"lastplayed",i[66]),e.set_custom_element_data(u,"favorites",i[16]),e.set_custom_element_data(u,"activecategory",i[1]),e.set_custom_element_data(u,"translationurl",i[11]),e.set_custom_element_data(u,"clientstyling",i[5]),e.set_custom_element_data(u,"clientstylingurl",i[6]),e.set_custom_element_data(u,"location","secondaryMenu"),e.set_custom_element_data(u,"showsubgroups",i[53]),e.set_custom_element_data(u,"categoriesicon",i[30]),e.set_custom_element_data(u,"lobbyiconimage",i[31]),e.set_custom_element_data(u,"mygamesiconimage",i[32]),e.attr(f,"slot","je-jackpots-widget"),e.set_custom_element_data(n,"session",i[85]),e.set_custom_element_data(n,"userid",i[4]),e.set_custom_element_data(n,"endpoint",i[79]),e.set_custom_element_data(n,"datasource",i[80]),e.set_custom_element_data(n,"lang",i[81]),e.set_custom_element_data(n,"showgamename",i[21]),e.set_custom_element_data(n,"cmsendpoint",i[2]),e.set_custom_element_data(n,"env",i[3]),e.set_custom_element_data(n,"translationurl",i[11]),e.set_custom_element_data(n,"visiblegames",i[25]),e.set_custom_element_data(n,"playrandomgame",i[23]),e.set_custom_element_data(n,"randomgameslider",i[24]),e.set_custom_element_data(n,"specificcategory",i[67]),e.set_custom_element_data(n,"launchbygamecard",i[68]),e.set_custom_element_data(n,"iconvisible",i[69]),e.set_custom_element_data(n,"iconvisibleonanim",i[70]),e.set_custom_element_data(n,"activecategory",i[1]),e.set_custom_element_data(n,"favorites",i[16]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"lobbyid",i[8]),e.set_custom_element_data(n,"haspanicbutton",i[17]),e.set_custom_element_data(n,"livecasino",i[19]),e.set_custom_element_data(n,"currency",i[0]),e.set_custom_element_data(n,"filteredcategories",i[9]),e.set_custom_element_data(n,"gamepagemodalurl",i[28]),e.set_custom_element_data(n,"randombuttonicon",i[72]),e.set_custom_element_data(n,"positioncasinocalendar",i[58]),e.set_custom_element_data(n,"filteredrandomgamecategories",i[73]),e.set_custom_element_data(n,"positionwinnerswidget",i[33]),e.set_custom_element_data(n,"periodrecent",i[38]),e.set_custom_element_data(n,"periodtop",i[39]),e.set_custom_element_data(n,"userroles",i[10]),e.set_custom_element_data(n,"numberusersrecent",i[40]),e.set_custom_element_data(n,"numberuserstop",i[41]),e.set_custom_element_data(n,"amountlimit",i[42]),e.set_custom_element_data(n,"isrecentavailable",i[37]),e.set_custom_element_data(n,"istopavailable",i[36]),e.set_custom_element_data(n,"integratedgameframedesktop",i[26]),e.set_custom_element_data(n,"integratedgameframemobile",i[27]),e.set_custom_element_data(n,"defaultcurrency",i[43]),e.set_custom_element_data(n,"enableautoscroll",i[35]),e.set_custom_element_data(n,"collectionprovidersgamenames",i[57]),e.set_custom_element_data(n,"tabsorder",i[34]),e.set_custom_element_data(n,"positionjackpotbanners",i[44]),e.set_custom_element_data(n,"backgroundsrc",i[49]),e.set_custom_element_data(n,"backgroundsrcmobile",i[50]),e.set_custom_element_data(n,"titlelogopath",i[51]),e.set_custom_element_data(n,"caticon0",i[45]),e.set_custom_element_data(n,"caticon1",i[46]),e.set_custom_element_data(n,"caticon2",i[47]),e.set_custom_element_data(n,"caticon3",i[48]),e.set_custom_element_data(n,"iconlabels",i[52]),e.set_custom_element_data(n,"positioncollections",i[54]),e.set_custom_element_data(n,"type",i[55]),e.set_custom_element_data(n,"titletype",i[56]),e.set_custom_element_data(n,"casinomygames",bt),e.set_custom_element_data(n,"filterbylogo",i[76]),e.set_custom_element_data(n,"addfilterselector",i[74]),e.set_custom_element_data(n,"addsortingselector",i[75]),e.set_custom_element_data(n,"lastplayedunique",i[63]),e.set_custom_element_data(n,"lastplayedlimit",i[62]),e.set_custom_element_data(n,"lastplayedorder",i[61]),e.set_custom_element_data(n,"mostplayedrounds",i[65]),e.set_custom_element_data(n,"mostplayed",i[64]),e.set_custom_element_data(n,"lastplayed",i[66]),e.set_custom_element_data(n,"lastplayedperiod",i[59]),e.set_custom_element_data(n,"mostplayedperiod",i[60]),e.set_custom_element_data(n,"showsubgroups",i[53]),e.set_custom_element_data(n,"winnersdatasources",i[77]),e.set_custom_element_data(n,"casinogamesgridslider",i[29]),e.set_custom_element_data(n,"positionjelobbywidget",i[71]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,c),e.append(a,_),e.append(a,r),e.append(a,y),e.append(a,u),e.append(a,h),e.append(a,n),e.append(n,f),g&&g.m(f,null),e.append(a,b),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&16777216)&&e.set_style(c,"height",l[86]+"px"),(!o||m[2]&131072)&&e.set_custom_element_data(u,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(u,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(u,"lang",l[81]),(!o||m[2]&8388608)&&e.set_custom_element_data(u,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(u,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(u,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(u,"filteredcategories",l[9]),(!o||m[2]&4)&&e.set_custom_element_data(u,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(u,"lastplayed",l[66]),(!o||m[0]&65536)&&e.set_custom_element_data(u,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(u,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(u,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(u,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(u,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(u,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(u,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(u,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(u,"mygamesiconimage",l[32]),g&&g.p&&(!o||m[3]&2)&&e.update_slot_base(g,w,l,l[94],o?e.get_slot_changes(w,l[94],m,dt):e.get_all_dirty_from_scope(l[94]),et),(!o||m[2]&8388608)&&e.set_custom_element_data(n,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(n,"userid",l[4]),(!o||m[2]&131072)&&e.set_custom_element_data(n,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(n,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(n,"lang",l[81]),(!o||m[0]&2097152)&&e.set_custom_element_data(n,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(n,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(n,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(n,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(n,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(n,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(n,"randomgameslider",l[24]),(!o||m[2]&32)&&e.set_custom_element_data(n,"specificcategory",l[67]),(!o||m[2]&64)&&e.set_custom_element_data(n,"launchbygamecard",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(n,"iconvisible",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(n,"iconvisibleonanim",l[70]),(!o||m[0]&2)&&e.set_custom_element_data(n,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(n,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(n,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(n,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(n,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(n,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(n,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(n,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(n,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(n,"gamepagemodalurl",l[28]),(!o||m[2]&1024)&&e.set_custom_element_data(n,"randombuttonicon",l[72]),(!o||m[1]&134217728)&&e.set_custom_element_data(n,"positioncasinocalendar",l[58]),(!o||m[2]&2048)&&e.set_custom_element_data(n,"filteredrandomgamecategories",l[73]),(!o||m[1]&4)&&e.set_custom_element_data(n,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(n,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(n,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(n,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(n,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(n,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(n,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(n,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(n,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(n,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(n,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(n,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(n,"enableautoscroll",l[35]),(!o||m[1]&67108864)&&e.set_custom_element_data(n,"collectionprovidersgamenames",l[57]),(!o||m[1]&8)&&e.set_custom_element_data(n,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(n,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(n,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(n,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(n,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(n,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(n,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(n,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(n,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(n,"iconlabels",l[52]),(!o||m[1]&8388608)&&e.set_custom_element_data(n,"positioncollections",l[54]),(!o||m[1]&16777216)&&e.set_custom_element_data(n,"type",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(n,"titletype",l[56]),(!o||m[2]&16384)&&e.set_custom_element_data(n,"filterbylogo",l[76]),(!o||m[2]&4096)&&e.set_custom_element_data(n,"addfilterselector",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(n,"addsortingselector",l[75]),(!o||m[2]&2)&&e.set_custom_element_data(n,"lastplayedunique",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(n,"lastplayedlimit",l[62]),(!o||m[1]&1073741824)&&e.set_custom_element_data(n,"lastplayedorder",l[61]),(!o||m[2]&8)&&e.set_custom_element_data(n,"mostplayedrounds",l[65]),(!o||m[2]&4)&&e.set_custom_element_data(n,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(n,"lastplayed",l[66]),(!o||m[1]&268435456)&&e.set_custom_element_data(n,"lastplayedperiod",l[59]),(!o||m[1]&536870912)&&e.set_custom_element_data(n,"mostplayedperiod",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(n,"showsubgroups",l[53]),(!o||m[2]&32768)&&e.set_custom_element_data(n,"winnersdatasources",l[77]),(!o||m[0]&536870912)&&e.set_custom_element_data(n,"casinogamesgridslider",l[29]),(!o||m[2]&512)&&e.set_custom_element_data(n,"positionjelobbywidget",l[71]),l[22]=="true"?d?d.p(l,m):(d=tt(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(g,l),o=!0)},o(l){e.transition_out(g,l),o=!1},d(l){l&&e.detach(t),g&&g.d(l),d&&d.d()}}}function gt(i){let t,a;return{c(){t=e.element("p"),a=e.text(i[84]),e.set_style(t,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&4194304&&e.set_data(a,c[84])},i:e.noop,o:e.noop,d(c){c&&e.detach(t)}}}function tt(i){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",i[85]),e.set_custom_element_data(a,"userid",i[4]),e.set_custom_element_data(a,"endpoint",i[79]),e.set_custom_element_data(a,"datasource",i[80]),e.set_custom_element_data(a,"lang",i[81]),e.set_custom_element_data(a,"loginevent",i[12]),e.set_custom_element_data(a,"registerevent",i[13]),e.set_custom_element_data(a,"depositevent",i[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"playforfun",i[20]),e.set_custom_element_data(a,"translationurl",i[11]),e.set_custom_element_data(a,"shortcashierenabled",i[15]),e.set_custom_element_data(a,"favorites",i[16]),e.set_custom_element_data(a,"clientstyling",i[5]),e.set_custom_element_data(a,"clientstylingurl",i[6]),e.set_custom_element_data(a,"clockformat",i[7]),e.set_custom_element_data(a,"haspanicbutton",i[17]),e.set_custom_element_data(a,"currency",i[0]),e.set_custom_element_data(a,"integratedgameframedesktop",i[26]),e.set_custom_element_data(a,"integratedgameframemobile",i[27]),e.set_custom_element_data(t,"session",i[85]),e.set_custom_element_data(t,"userid",i[4]),e.set_custom_element_data(t,"endpoint",i[79]),e.set_custom_element_data(t,"datasource",i[80]),e.set_custom_element_data(t,"lang",i[81]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",i[11]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"gamepagemodalurl",i[28]),e.set_custom_element_data(t,"haspanicbutton",i[17]),e.set_custom_element_data(t,"integratedgameframedesktop",i[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&8388608&&e.set_custom_element_data(a,"session",c[85]),_[0]&16&&e.set_custom_element_data(a,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(a,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(a,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(a,"lang",c[81]),_[0]&4096&&e.set_custom_element_data(a,"loginevent",c[12]),_[0]&8192&&e.set_custom_element_data(a,"registerevent",c[13]),_[0]&16384&&e.set_custom_element_data(a,"depositevent",c[14]),_[0]&1048576&&e.set_custom_element_data(a,"playforfun",c[20]),_[0]&2048&&e.set_custom_element_data(a,"translationurl",c[11]),_[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",c[15]),_[0]&65536&&e.set_custom_element_data(a,"favorites",c[16]),_[0]&32&&e.set_custom_element_data(a,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(a,"clientstylingurl",c[6]),_[0]&128&&e.set_custom_element_data(a,"clockformat",c[7]),_[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",c[17]),_[0]&1&&e.set_custom_element_data(a,"currency",c[0]),_[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",c[26]),_[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",c[27]),_[2]&8388608&&e.set_custom_element_data(t,"session",c[85]),_[0]&16&&e.set_custom_element_data(t,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(t,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(t,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(t,"lang",c[81]),_[0]&2048&&e.set_custom_element_data(t,"translationurl",c[11]),_[0]&32&&e.set_custom_element_data(t,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(t,"clientstylingurl",c[6]),_[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",c[28]),_[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",c[17]),_[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",c[26])},d(c){c&&e.detach(t)}}}function ht(i){let t,a,c,_,r;const y=[gt,ft],u=[];function h(n,f){return n[83]?0:1}return a=h(i),c=u[a]=y[a](i),{c(){t=e.element("div"),c.c(),e.attr(t,"class",_=i[82]?"DisplayNone":"")},m(n,f){e.insert(n,t,f),u[a].m(t,null),i[96](t),r=!0},p(n,f){let b=a;a=h(n),a===b?u[a].p(n,f):(e.group_outros(),e.transition_out(u[b],1,1,()=>{u[b]=null}),e.check_outros(),c=u[a],c?c.p(n,f):(c=u[a]=y[a](n),c.c()),e.transition_in(c,1),c.m(t,null)),(!r||f[2]&1048576&&_!==(_=n[82]?"DisplayNone":""))&&e.attr(t,"class",_)},i(n){r||(e.transition_in(c),r=!0)},o(n){e.transition_out(c),r=!1},d(n){n&&e.detach(t),u[a].d(),i[96](null)}}}let bt="false";function yt(i,t,a){let{$$slots:c={},$$scope:_}=t,{endpoint:r=""}=t,{cmsendpoint:y="https://wt1-stage.everymatrix.com/apijson"}=t,{env:u=""}=t,{datasource:h=""}=t,{lang:n=""}=t,{session:f=""}=t,{userid:b=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:g=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:U=""}=t,{userroles:A=""}=t,{translationurl:R=""}=t,{loginevent:G=""}=t,{registerevent:H=""}=t,{depositevent:N=""}=t,{shortcashierenabled:W=""}=t,{favorites:S=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:L="0"}=t,{haspanicbutton:z="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:B="CategoryChange"}=t,{livecasino:Y="false"}=t,{playforfun:J="true"}=t,{showgamename:K="false"}=t,{gamemodal:Q="true"}=t,{playrandomgame:V="false"}=t,{randomgameslider:X="false"}=t,{visiblegames:Z="10"}=t,{integratedgameframedesktop:p="false"}=t,{integratedgameframemobile:x="false"}=t,{gamepagemodalurl:$="false"}=t,{casinogamesgridslider:ee="false"}=t,{categoriesicon:te="false"}=t,{lobbyiconimage:se=""}=t,{mygamesiconimage:ae=""}=t,{positionwinnerswidget:ne=""}=t,{tabsorder:ie=""}=t,{enableautoscroll:le=""}=t,{istopavailable:oe=""}=t,{isrecentavailable:me=""}=t,{periodrecent:ce=""}=t,{periodtop:ue=""}=t,{numberusersrecent:_e=""}=t,{numberuserstop:re=""}=t,{amountlimit:de=""}=t,{defaultcurrency:fe=""}=t,{positionjackpotbanners:ge=""}=t,{caticon0:he=""}=t,{caticon1:be=""}=t,{caticon2:ye=""}=t,{caticon3:we=""}=t,{backgroundsrc:ke=""}=t,{backgroundsrcmobile:ve=""}=t,{titlelogopath:Ee=""}=t,{iconlabels:Ce=""}=t,{showsubgroups:je="false"}=t,{positioncollections:Le=""}=t,{type:De=""}=t,{titletype:Se=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Me=""}=t,{lastplayedperiod:Pe="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Te=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Oe="true"}=t,{mostplayed:M=""}=t,{mostplayedrounds:Ue=""}=t,{lastplayed:P="false"}=t,{specificcategory:Ae=""}=t,{launchbygamecard:Re=""}=t,{iconvisible:Ge=""}=t,{iconvisibleonanim:He=""}=t,{positionjelobbywidget:Ne=""}=t,{randombuttonicon:We=""}=t,{filteredrandomgamecategories:ze=""}=t,{addfilterselector:Be="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,Qe,Ve,Xe,I=!1,E=!1,v="Loading, please wait ...",D="",T=window.navigator.userAgent,F=!1,C=0,Ze=!1,k;_t({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(T),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(85,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},at=()=>(r||(a(84,v="Endpoint is missing! Please provide a valid endpointURL."),a(83,E=!0),console.error(v)),h||(a(84,v="Datasource is missing! Please provide a valid datasource."),a(83,E=!0),console.error(v)),(!n||n.length<2)&&(a(84,v="Language is missing! Please provide a valid language (alpha2code)"),a(83,E=!0),console.error(v)),E),nt=()=>{$e(n)},it=()=>{at(),$e(n),a(79,Qe=r),a(80,Ve=h),a(81,Xe=n),a(83,E=!1)},lt=()=>{e.checkSession(r,f).then(s=>{a(85,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},ot=()=>{a(85,D=o)},mt=()=>{let s=document.createElement("style");s.innerHTML=w,k.appendChild(s)},ct=()=>{a(82,I=!0);let s=new URL(g),xe=document.createElement("style");fetch(s.href).then(O=>O.text()).then(O=>{xe.innerHTML=O,k&&(setTimeout(()=>{k.appendChild(xe)},1),setTimeout(()=>{a(82,I=!1)},500))})};e.onMount(()=>(window.addEventListener("message",pe,!1),a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),()=>{window.removeEventListener("message",pe)}));function ut(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,a(78,k)})}return i.$$set=s=>{"endpoint"in s&&a(87,r=s.endpoint),"cmsendpoint"in s&&a(2,y=s.cmsendpoint),"env"in s&&a(3,u=s.env),"datasource"in s&&a(88,h=s.datasource),"lang"in s&&a(89,n=s.lang),"session"in s&&a(90,f=s.session),"userid"in s&&a(4,b=s.userid),"opsession"in s&&a(91,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,g=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,U=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,R=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,H=s.registerevent),"depositevent"in s&&a(14,N=s.depositevent),"shortcashierenabled"in s&&a(15,W=s.shortcashierenabled),"favorites"in s&&a(16,S=s.favorites),"desktopoffset"in s&&a(92,j=s.desktopoffset),"mobileoffset"in s&&a(93,L=s.mobileoffset),"haspanicbutton"in s&&a(17,z=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,B=s.actionevent),"livecasino"in s&&a(19,Y=s.livecasino),"playforfun"in s&&a(20,J=s.playforfun),"showgamename"in s&&a(21,K=s.showgamename),"gamemodal"in s&&a(22,Q=s.gamemodal),"playrandomgame"in s&&a(23,V=s.playrandomgame),"randomgameslider"in s&&a(24,X=s.randomgameslider),"visiblegames"in s&&a(25,Z=s.visiblegames),"integratedgameframedesktop"in s&&a(26,p=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,x=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,$=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,ee=s.casinogamesgridslider),"categoriesicon"in s&&a(30,te=s.categoriesicon),"lobbyiconimage"in s&&a(31,se=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,ae=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ne=s.positionwinnerswidget),"tabsorder"in s&&a(34,ie=s.tabsorder),"enableautoscroll"in s&&a(35,le=s.enableautoscroll),"istopavailable"in s&&a(36,oe=s.istopavailable),"isrecentavailable"in s&&a(37,me=s.isrecentavailable),"periodrecent"in s&&a(38,ce=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,_e=s.numberusersrecent),"numberuserstop"in s&&a(41,re=s.numberuserstop),"amountlimit"in s&&a(42,de=s.amountlimit),"defaultcurrency"in s&&a(43,fe=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,ge=s.positionjackpotbanners),"caticon0"in s&&a(45,he=s.caticon0),"caticon1"in s&&a(46,be=s.caticon1),"caticon2"in s&&a(47,ye=s.caticon2),"caticon3"in s&&a(48,we=s.caticon3),"backgroundsrc"in s&&a(49,ke=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ve=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,Ee=s.titlelogopath),"iconlabels"in s&&a(52,Ce=s.iconlabels),"showsubgroups"in s&&a(53,je=s.showsubgroups),"positioncollections"in s&&a(54,Le=s.positioncollections),"type"in s&&a(55,De=s.type),"titletype"in s&&a(56,Se=s.titletype),"collectionprovidersgamenames"in s&&a(57,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(58,Me=s.positioncasinocalendar),"lastplayedperiod"in s&&a(59,Pe=s.lastplayedperiod),"mostplayedperiod"in s&&a(60,Ie=s.mostplayedperiod),"lastplayedorder"in s&&a(61,Te=s.lastplayedorder),"lastplayedlimit"in s&&a(62,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(63,Oe=s.lastplayedunique),"mostplayed"in s&&a(64,M=s.mostplayed),"mostplayedrounds"in s&&a(65,Ue=s.mostplayedrounds),"lastplayed"in s&&a(66,P=s.lastplayed),"specificcategory"in s&&a(67,Ae=s.specificcategory),"launchbygamecard"in s&&a(68,Re=s.launchbygamecard),"iconvisible"in s&&a(69,Ge=s.iconvisible),"iconvisibleonanim"in s&&a(70,He=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(71,Ne=s.positionjelobbywidget),"randombuttonicon"in s&&a(72,We=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(73,ze=s.filteredrandomgamecategories),"addfilterselector"in s&&a(74,Be=s.addfilterselector),"addsortingselector"in s&&a(75,Ye=s.addsortingselector),"filterbylogo"in s&&a(76,Je=s.filterbylogo),"winnersdatasources"in s&&a(77,Ke=s.winnersdatasources),"$$scope"in s&&a(94,_=s.$$scope)},i.$$.update=()=>{i.$$.dirty[2]&134217728&&n&&nt(),i.$$.dirty[0]&16|i.$$.dirty[2]&301989888&&f&&b&&r&<(),i.$$.dirty[0]&65536|i.$$.dirty[2]&234881044&&r&&h&&n&&M&&P&&S&&it(),i.$$.dirty[2]&536870912&&o&&ot(),i.$$.dirty[0]&32|i.$$.dirty[2]&65536&&w&&k&&mt(),i.$$.dirty[0]&64|i.$$.dirty[2]&65536&&g&&k&&ct()},[m,q,y,u,b,w,g,d,l,U,A,R,G,H,N,W,S,z,B,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ce,ue,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Le,De,Se,qe,Me,Pe,Ie,Te,Fe,Oe,M,Ue,P,Ae,Re,Ge,He,Ne,We,ze,Be,Ye,Je,Ke,k,Qe,Ve,Xe,I,E,v,D,C,r,h,n,f,o,j,L,_,c,ut]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,yt,ht,e.safe_not_equal,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},rt,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[87]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[88]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[89]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[90]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[91]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[55]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[56]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{}},["content"],[],!0);exports.default=st;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function _t({withLocale:i,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function $e(i){e.$locale.set(i)}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-bjuRGQVb.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-1snYAINT.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-B71hMJhL.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-oxi03_5O.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function rt(i){e.append_styles(i,"svelte-1me4s20","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const dt=i=>({}),et=i=>({});function ft(i){let t,a,c,_,r,y,u,h,n,f,b,o;const w=i[95].content,g=e.create_slot(w,i,i[94],et);let d=i[22]=="true"&&tt(i);return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),_=e.space(),r=e.element("div"),y=e.space(),u=e.element("casino-categories-slider"),h=e.space(),n=e.element("casino-page"),f=e.element("div"),g&&g.c(),b=e.space(),d&&d.c(),e.attr(c,"class","HeaderPlaceholder"),e.set_style(c,"height",i[86]+"px"),e.attr(r,"class","ScrollTop"),e.set_custom_element_data(u,"endpoint",i[79]),e.set_custom_element_data(u,"datasource",i[80]),e.set_custom_element_data(u,"lang",i[81]),e.set_custom_element_data(u,"session",i[85]),e.set_custom_element_data(u,"userid",i[4]),e.set_custom_element_data(u,"sessioncheck","false"),e.set_custom_element_data(u,"actionevent",i[18]),e.set_custom_element_data(u,"filteredcategories",i[9]),e.set_custom_element_data(u,"mostplayed",i[64]),e.set_custom_element_data(u,"lastplayed",i[66]),e.set_custom_element_data(u,"favorites",i[16]),e.set_custom_element_data(u,"activecategory",i[1]),e.set_custom_element_data(u,"translationurl",i[11]),e.set_custom_element_data(u,"clientstyling",i[5]),e.set_custom_element_data(u,"clientstylingurl",i[6]),e.set_custom_element_data(u,"location","secondaryMenu"),e.set_custom_element_data(u,"showsubgroups",i[53]),e.set_custom_element_data(u,"categoriesicon",i[30]),e.set_custom_element_data(u,"lobbyiconimage",i[31]),e.set_custom_element_data(u,"mygamesiconimage",i[32]),e.attr(f,"slot","je-jackpots-widget"),e.set_custom_element_data(n,"session",i[85]),e.set_custom_element_data(n,"userid",i[4]),e.set_custom_element_data(n,"endpoint",i[79]),e.set_custom_element_data(n,"datasource",i[80]),e.set_custom_element_data(n,"lang",i[81]),e.set_custom_element_data(n,"showgamename",i[21]),e.set_custom_element_data(n,"cmsendpoint",i[2]),e.set_custom_element_data(n,"env",i[3]),e.set_custom_element_data(n,"translationurl",i[11]),e.set_custom_element_data(n,"visiblegames",i[25]),e.set_custom_element_data(n,"playrandomgame",i[23]),e.set_custom_element_data(n,"randomgameslider",i[24]),e.set_custom_element_data(n,"specificcategory",i[67]),e.set_custom_element_data(n,"launchbygamecard",i[68]),e.set_custom_element_data(n,"iconvisible",i[69]),e.set_custom_element_data(n,"iconvisibleonanim",i[70]),e.set_custom_element_data(n,"activecategory",i[1]),e.set_custom_element_data(n,"favorites",i[16]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"lobbyid",i[8]),e.set_custom_element_data(n,"haspanicbutton",i[17]),e.set_custom_element_data(n,"livecasino",i[19]),e.set_custom_element_data(n,"currency",i[0]),e.set_custom_element_data(n,"filteredcategories",i[9]),e.set_custom_element_data(n,"gamepagemodalurl",i[28]),e.set_custom_element_data(n,"randombuttonicon",i[72]),e.set_custom_element_data(n,"positioncasinocalendar",i[58]),e.set_custom_element_data(n,"filteredrandomgamecategories",i[73]),e.set_custom_element_data(n,"positionwinnerswidget",i[33]),e.set_custom_element_data(n,"periodrecent",i[38]),e.set_custom_element_data(n,"periodtop",i[39]),e.set_custom_element_data(n,"userroles",i[10]),e.set_custom_element_data(n,"numberusersrecent",i[40]),e.set_custom_element_data(n,"numberuserstop",i[41]),e.set_custom_element_data(n,"amountlimit",i[42]),e.set_custom_element_data(n,"isrecentavailable",i[37]),e.set_custom_element_data(n,"istopavailable",i[36]),e.set_custom_element_data(n,"integratedgameframedesktop",i[26]),e.set_custom_element_data(n,"integratedgameframemobile",i[27]),e.set_custom_element_data(n,"defaultcurrency",i[43]),e.set_custom_element_data(n,"enableautoscroll",i[35]),e.set_custom_element_data(n,"collectionprovidersgamenames",i[57]),e.set_custom_element_data(n,"tabsorder",i[34]),e.set_custom_element_data(n,"positionjackpotbanners",i[44]),e.set_custom_element_data(n,"backgroundsrc",i[49]),e.set_custom_element_data(n,"backgroundsrcmobile",i[50]),e.set_custom_element_data(n,"titlelogopath",i[51]),e.set_custom_element_data(n,"caticon0",i[45]),e.set_custom_element_data(n,"caticon1",i[46]),e.set_custom_element_data(n,"caticon2",i[47]),e.set_custom_element_data(n,"caticon3",i[48]),e.set_custom_element_data(n,"iconlabels",i[52]),e.set_custom_element_data(n,"positioncollections",i[54]),e.set_custom_element_data(n,"type",i[55]),e.set_custom_element_data(n,"titletype",i[56]),e.set_custom_element_data(n,"casinomygames",bt),e.set_custom_element_data(n,"filterbylogo",i[76]),e.set_custom_element_data(n,"addfilterselector",i[74]),e.set_custom_element_data(n,"addsortingselector",i[75]),e.set_custom_element_data(n,"lastplayedunique",i[63]),e.set_custom_element_data(n,"lastplayedlimit",i[62]),e.set_custom_element_data(n,"lastplayedorder",i[61]),e.set_custom_element_data(n,"mostplayedrounds",i[65]),e.set_custom_element_data(n,"mostplayed",i[64]),e.set_custom_element_data(n,"lastplayed",i[66]),e.set_custom_element_data(n,"lastplayedperiod",i[59]),e.set_custom_element_data(n,"mostplayedperiod",i[60]),e.set_custom_element_data(n,"showsubgroups",i[53]),e.set_custom_element_data(n,"winnersdatasources",i[77]),e.set_custom_element_data(n,"casinogamesgridslider",i[29]),e.set_custom_element_data(n,"positionjelobbywidget",i[71]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,c),e.append(a,_),e.append(a,r),e.append(a,y),e.append(a,u),e.append(a,h),e.append(a,n),e.append(n,f),g&&g.m(f,null),e.append(a,b),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&16777216)&&e.set_style(c,"height",l[86]+"px"),(!o||m[2]&131072)&&e.set_custom_element_data(u,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(u,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(u,"lang",l[81]),(!o||m[2]&8388608)&&e.set_custom_element_data(u,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(u,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(u,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(u,"filteredcategories",l[9]),(!o||m[2]&4)&&e.set_custom_element_data(u,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(u,"lastplayed",l[66]),(!o||m[0]&65536)&&e.set_custom_element_data(u,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(u,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(u,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(u,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(u,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(u,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(u,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(u,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(u,"mygamesiconimage",l[32]),g&&g.p&&(!o||m[3]&2)&&e.update_slot_base(g,w,l,l[94],o?e.get_slot_changes(w,l[94],m,dt):e.get_all_dirty_from_scope(l[94]),et),(!o||m[2]&8388608)&&e.set_custom_element_data(n,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(n,"userid",l[4]),(!o||m[2]&131072)&&e.set_custom_element_data(n,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(n,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(n,"lang",l[81]),(!o||m[0]&2097152)&&e.set_custom_element_data(n,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(n,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(n,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(n,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(n,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(n,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(n,"randomgameslider",l[24]),(!o||m[2]&32)&&e.set_custom_element_data(n,"specificcategory",l[67]),(!o||m[2]&64)&&e.set_custom_element_data(n,"launchbygamecard",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(n,"iconvisible",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(n,"iconvisibleonanim",l[70]),(!o||m[0]&2)&&e.set_custom_element_data(n,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(n,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(n,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(n,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(n,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(n,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(n,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(n,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(n,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(n,"gamepagemodalurl",l[28]),(!o||m[2]&1024)&&e.set_custom_element_data(n,"randombuttonicon",l[72]),(!o||m[1]&134217728)&&e.set_custom_element_data(n,"positioncasinocalendar",l[58]),(!o||m[2]&2048)&&e.set_custom_element_data(n,"filteredrandomgamecategories",l[73]),(!o||m[1]&4)&&e.set_custom_element_data(n,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(n,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(n,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(n,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(n,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(n,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(n,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(n,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(n,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(n,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(n,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(n,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(n,"enableautoscroll",l[35]),(!o||m[1]&67108864)&&e.set_custom_element_data(n,"collectionprovidersgamenames",l[57]),(!o||m[1]&8)&&e.set_custom_element_data(n,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(n,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(n,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(n,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(n,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(n,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(n,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(n,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(n,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(n,"iconlabels",l[52]),(!o||m[1]&8388608)&&e.set_custom_element_data(n,"positioncollections",l[54]),(!o||m[1]&16777216)&&e.set_custom_element_data(n,"type",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(n,"titletype",l[56]),(!o||m[2]&16384)&&e.set_custom_element_data(n,"filterbylogo",l[76]),(!o||m[2]&4096)&&e.set_custom_element_data(n,"addfilterselector",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(n,"addsortingselector",l[75]),(!o||m[2]&2)&&e.set_custom_element_data(n,"lastplayedunique",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(n,"lastplayedlimit",l[62]),(!o||m[1]&1073741824)&&e.set_custom_element_data(n,"lastplayedorder",l[61]),(!o||m[2]&8)&&e.set_custom_element_data(n,"mostplayedrounds",l[65]),(!o||m[2]&4)&&e.set_custom_element_data(n,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(n,"lastplayed",l[66]),(!o||m[1]&268435456)&&e.set_custom_element_data(n,"lastplayedperiod",l[59]),(!o||m[1]&536870912)&&e.set_custom_element_data(n,"mostplayedperiod",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(n,"showsubgroups",l[53]),(!o||m[2]&32768)&&e.set_custom_element_data(n,"winnersdatasources",l[77]),(!o||m[0]&536870912)&&e.set_custom_element_data(n,"casinogamesgridslider",l[29]),(!o||m[2]&512)&&e.set_custom_element_data(n,"positionjelobbywidget",l[71]),l[22]=="true"?d?d.p(l,m):(d=tt(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(g,l),o=!0)},o(l){e.transition_out(g,l),o=!1},d(l){l&&e.detach(t),g&&g.d(l),d&&d.d()}}}function gt(i){let t,a;return{c(){t=e.element("p"),a=e.text(i[84]),e.set_style(t,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&4194304&&e.set_data(a,c[84])},i:e.noop,o:e.noop,d(c){c&&e.detach(t)}}}function tt(i){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",i[85]),e.set_custom_element_data(a,"userid",i[4]),e.set_custom_element_data(a,"endpoint",i[79]),e.set_custom_element_data(a,"datasource",i[80]),e.set_custom_element_data(a,"lang",i[81]),e.set_custom_element_data(a,"loginevent",i[12]),e.set_custom_element_data(a,"registerevent",i[13]),e.set_custom_element_data(a,"depositevent",i[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"playforfun",i[20]),e.set_custom_element_data(a,"translationurl",i[11]),e.set_custom_element_data(a,"shortcashierenabled",i[15]),e.set_custom_element_data(a,"favorites",i[16]),e.set_custom_element_data(a,"clientstyling",i[5]),e.set_custom_element_data(a,"clientstylingurl",i[6]),e.set_custom_element_data(a,"clockformat",i[7]),e.set_custom_element_data(a,"haspanicbutton",i[17]),e.set_custom_element_data(a,"currency",i[0]),e.set_custom_element_data(a,"integratedgameframedesktop",i[26]),e.set_custom_element_data(a,"integratedgameframemobile",i[27]),e.set_custom_element_data(t,"session",i[85]),e.set_custom_element_data(t,"userid",i[4]),e.set_custom_element_data(t,"endpoint",i[79]),e.set_custom_element_data(t,"datasource",i[80]),e.set_custom_element_data(t,"lang",i[81]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",i[11]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"gamepagemodalurl",i[28]),e.set_custom_element_data(t,"haspanicbutton",i[17]),e.set_custom_element_data(t,"integratedgameframedesktop",i[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&8388608&&e.set_custom_element_data(a,"session",c[85]),_[0]&16&&e.set_custom_element_data(a,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(a,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(a,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(a,"lang",c[81]),_[0]&4096&&e.set_custom_element_data(a,"loginevent",c[12]),_[0]&8192&&e.set_custom_element_data(a,"registerevent",c[13]),_[0]&16384&&e.set_custom_element_data(a,"depositevent",c[14]),_[0]&1048576&&e.set_custom_element_data(a,"playforfun",c[20]),_[0]&2048&&e.set_custom_element_data(a,"translationurl",c[11]),_[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",c[15]),_[0]&65536&&e.set_custom_element_data(a,"favorites",c[16]),_[0]&32&&e.set_custom_element_data(a,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(a,"clientstylingurl",c[6]),_[0]&128&&e.set_custom_element_data(a,"clockformat",c[7]),_[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",c[17]),_[0]&1&&e.set_custom_element_data(a,"currency",c[0]),_[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",c[26]),_[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",c[27]),_[2]&8388608&&e.set_custom_element_data(t,"session",c[85]),_[0]&16&&e.set_custom_element_data(t,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(t,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(t,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(t,"lang",c[81]),_[0]&2048&&e.set_custom_element_data(t,"translationurl",c[11]),_[0]&32&&e.set_custom_element_data(t,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(t,"clientstylingurl",c[6]),_[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",c[28]),_[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",c[17]),_[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",c[26])},d(c){c&&e.detach(t)}}}function ht(i){let t,a,c,_,r;const y=[gt,ft],u=[];function h(n,f){return n[83]?0:1}return a=h(i),c=u[a]=y[a](i),{c(){t=e.element("div"),c.c(),e.attr(t,"class",_=i[82]?"DisplayNone":"")},m(n,f){e.insert(n,t,f),u[a].m(t,null),i[96](t),r=!0},p(n,f){let b=a;a=h(n),a===b?u[a].p(n,f):(e.group_outros(),e.transition_out(u[b],1,1,()=>{u[b]=null}),e.check_outros(),c=u[a],c?c.p(n,f):(c=u[a]=y[a](n),c.c()),e.transition_in(c,1),c.m(t,null)),(!r||f[2]&1048576&&_!==(_=n[82]?"DisplayNone":""))&&e.attr(t,"class",_)},i(n){r||(e.transition_in(c),r=!0)},o(n){e.transition_out(c),r=!1},d(n){n&&e.detach(t),u[a].d(),i[96](null)}}}let bt="false";function yt(i,t,a){let{$$slots:c={},$$scope:_}=t,{endpoint:r=""}=t,{cmsendpoint:y="https://wt1-stage.everymatrix.com/apijson"}=t,{env:u=""}=t,{datasource:h=""}=t,{lang:n=""}=t,{session:f=""}=t,{userid:b=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:g=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:U=""}=t,{userroles:A=""}=t,{translationurl:R=""}=t,{loginevent:G=""}=t,{registerevent:H=""}=t,{depositevent:N=""}=t,{shortcashierenabled:W=""}=t,{favorites:S=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:L="0"}=t,{haspanicbutton:z="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:B="CategoryChange"}=t,{livecasino:Y="false"}=t,{playforfun:J="true"}=t,{showgamename:K="false"}=t,{gamemodal:Q="true"}=t,{playrandomgame:V="false"}=t,{randomgameslider:X="false"}=t,{visiblegames:Z="10"}=t,{integratedgameframedesktop:p="false"}=t,{integratedgameframemobile:x="false"}=t,{gamepagemodalurl:$="false"}=t,{casinogamesgridslider:ee="false"}=t,{categoriesicon:te="false"}=t,{lobbyiconimage:se=""}=t,{mygamesiconimage:ae=""}=t,{positionwinnerswidget:ne=""}=t,{tabsorder:ie=""}=t,{enableautoscroll:le=""}=t,{istopavailable:oe=""}=t,{isrecentavailable:me=""}=t,{periodrecent:ce=""}=t,{periodtop:ue=""}=t,{numberusersrecent:_e=""}=t,{numberuserstop:re=""}=t,{amountlimit:de=""}=t,{defaultcurrency:fe=""}=t,{positionjackpotbanners:ge=""}=t,{caticon0:he=""}=t,{caticon1:be=""}=t,{caticon2:ye=""}=t,{caticon3:we=""}=t,{backgroundsrc:ke=""}=t,{backgroundsrcmobile:ve=""}=t,{titlelogopath:Ee=""}=t,{iconlabels:Ce=""}=t,{showsubgroups:je="false"}=t,{positioncollections:Le=""}=t,{type:De=""}=t,{titletype:Se=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Me=""}=t,{lastplayedperiod:Pe="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Te=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Oe="true"}=t,{mostplayed:M=""}=t,{mostplayedrounds:Ue=""}=t,{lastplayed:P="false"}=t,{specificcategory:Ae=""}=t,{launchbygamecard:Re=""}=t,{iconvisible:Ge=""}=t,{iconvisibleonanim:He=""}=t,{positionjelobbywidget:Ne=""}=t,{randombuttonicon:We=""}=t,{filteredrandomgamecategories:ze=""}=t,{addfilterselector:Be="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,Qe,Ve,Xe,I=!1,E=!1,v="Loading, please wait ...",D="",T=window.navigator.userAgent,F=!1,C=0,Ze=!1,k;_t({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(T),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(85,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},at=()=>(r||(a(84,v="Endpoint is missing! Please provide a valid endpointURL."),a(83,E=!0),console.error(v)),h||(a(84,v="Datasource is missing! Please provide a valid datasource."),a(83,E=!0),console.error(v)),(!n||n.length<2)&&(a(84,v="Language is missing! Please provide a valid language (alpha2code)"),a(83,E=!0),console.error(v)),E),nt=()=>{$e(n)},it=()=>{at(),$e(n),a(79,Qe=r),a(80,Ve=h),a(81,Xe=n),a(83,E=!1)},lt=()=>{e.checkSession(r,f).then(s=>{a(85,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},ot=()=>{a(85,D=o)},mt=()=>{let s=document.createElement("style");s.innerHTML=w,k.appendChild(s)},ct=()=>{a(82,I=!0);let s=new URL(g),xe=document.createElement("style");fetch(s.href).then(O=>O.text()).then(O=>{xe.innerHTML=O,k&&(setTimeout(()=>{k.appendChild(xe)},1),setTimeout(()=>{a(82,I=!1)},500))})};e.onMount(()=>(window.addEventListener("message",pe,!1),a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),()=>{window.removeEventListener("message",pe)}));function ut(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,a(78,k)})}return i.$$set=s=>{"endpoint"in s&&a(87,r=s.endpoint),"cmsendpoint"in s&&a(2,y=s.cmsendpoint),"env"in s&&a(3,u=s.env),"datasource"in s&&a(88,h=s.datasource),"lang"in s&&a(89,n=s.lang),"session"in s&&a(90,f=s.session),"userid"in s&&a(4,b=s.userid),"opsession"in s&&a(91,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,g=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,U=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,R=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,H=s.registerevent),"depositevent"in s&&a(14,N=s.depositevent),"shortcashierenabled"in s&&a(15,W=s.shortcashierenabled),"favorites"in s&&a(16,S=s.favorites),"desktopoffset"in s&&a(92,j=s.desktopoffset),"mobileoffset"in s&&a(93,L=s.mobileoffset),"haspanicbutton"in s&&a(17,z=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,B=s.actionevent),"livecasino"in s&&a(19,Y=s.livecasino),"playforfun"in s&&a(20,J=s.playforfun),"showgamename"in s&&a(21,K=s.showgamename),"gamemodal"in s&&a(22,Q=s.gamemodal),"playrandomgame"in s&&a(23,V=s.playrandomgame),"randomgameslider"in s&&a(24,X=s.randomgameslider),"visiblegames"in s&&a(25,Z=s.visiblegames),"integratedgameframedesktop"in s&&a(26,p=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,x=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,$=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,ee=s.casinogamesgridslider),"categoriesicon"in s&&a(30,te=s.categoriesicon),"lobbyiconimage"in s&&a(31,se=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,ae=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ne=s.positionwinnerswidget),"tabsorder"in s&&a(34,ie=s.tabsorder),"enableautoscroll"in s&&a(35,le=s.enableautoscroll),"istopavailable"in s&&a(36,oe=s.istopavailable),"isrecentavailable"in s&&a(37,me=s.isrecentavailable),"periodrecent"in s&&a(38,ce=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,_e=s.numberusersrecent),"numberuserstop"in s&&a(41,re=s.numberuserstop),"amountlimit"in s&&a(42,de=s.amountlimit),"defaultcurrency"in s&&a(43,fe=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,ge=s.positionjackpotbanners),"caticon0"in s&&a(45,he=s.caticon0),"caticon1"in s&&a(46,be=s.caticon1),"caticon2"in s&&a(47,ye=s.caticon2),"caticon3"in s&&a(48,we=s.caticon3),"backgroundsrc"in s&&a(49,ke=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ve=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,Ee=s.titlelogopath),"iconlabels"in s&&a(52,Ce=s.iconlabels),"showsubgroups"in s&&a(53,je=s.showsubgroups),"positioncollections"in s&&a(54,Le=s.positioncollections),"type"in s&&a(55,De=s.type),"titletype"in s&&a(56,Se=s.titletype),"collectionprovidersgamenames"in s&&a(57,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(58,Me=s.positioncasinocalendar),"lastplayedperiod"in s&&a(59,Pe=s.lastplayedperiod),"mostplayedperiod"in s&&a(60,Ie=s.mostplayedperiod),"lastplayedorder"in s&&a(61,Te=s.lastplayedorder),"lastplayedlimit"in s&&a(62,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(63,Oe=s.lastplayedunique),"mostplayed"in s&&a(64,M=s.mostplayed),"mostplayedrounds"in s&&a(65,Ue=s.mostplayedrounds),"lastplayed"in s&&a(66,P=s.lastplayed),"specificcategory"in s&&a(67,Ae=s.specificcategory),"launchbygamecard"in s&&a(68,Re=s.launchbygamecard),"iconvisible"in s&&a(69,Ge=s.iconvisible),"iconvisibleonanim"in s&&a(70,He=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(71,Ne=s.positionjelobbywidget),"randombuttonicon"in s&&a(72,We=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(73,ze=s.filteredrandomgamecategories),"addfilterselector"in s&&a(74,Be=s.addfilterselector),"addsortingselector"in s&&a(75,Ye=s.addsortingselector),"filterbylogo"in s&&a(76,Je=s.filterbylogo),"winnersdatasources"in s&&a(77,Ke=s.winnersdatasources),"$$scope"in s&&a(94,_=s.$$scope)},i.$$.update=()=>{i.$$.dirty[2]&134217728&&n&&nt(),i.$$.dirty[0]&16|i.$$.dirty[2]&301989888&&f&&b&&r&<(),i.$$.dirty[0]&65536|i.$$.dirty[2]&234881044&&r&&h&&n&&M&&P&&S&&it(),i.$$.dirty[2]&536870912&&o&&ot(),i.$$.dirty[0]&32|i.$$.dirty[2]&65536&&w&&k&&mt(),i.$$.dirty[0]&64|i.$$.dirty[2]&65536&&g&&k&&ct()},[m,q,y,u,b,w,g,d,l,U,A,R,G,H,N,W,S,z,B,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ce,ue,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Le,De,Se,qe,Me,Pe,Ie,Te,Fe,Oe,M,Ue,P,Ae,Re,Ge,He,Ne,We,ze,Be,Ye,Je,Ke,k,Qe,Ve,Xe,I,E,v,D,C,r,h,n,f,o,j,L,_,c,ut]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,yt,ht,e.safe_not_equal,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},rt,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[87]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[88]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[89]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[90]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[91]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[55]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[56]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{}},["content"],[],!0);exports.default=st;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { $ as Q, a as
|
|
2
|
-
function
|
|
1
|
+
import { $ as Q, a as Ne, I as Te, S as je, i as We, f as y, c as ze, s as Be, b as Oe, e as k, q as N, u as f, d as D, v as p, w as P, C as oe, j as S, R as Ge, o as xe, p as W, F as G, a1 as pe, D as ae, m as J, a2 as we, B as qe, r as V, A as Z } from "./CasinoCalendar-BuNYmxT2.js";
|
|
2
|
+
function Ue({ withLocale: n, translations: e }) {
|
|
3
3
|
Q.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (Ne.set(e), Q.set(n));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function ne(n, e) {
|
|
8
|
-
|
|
8
|
+
Te(n, e);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Ye(n) {
|
|
11
11
|
Q.set(n);
|
|
12
12
|
}
|
|
13
13
|
const ie = {
|
|
@@ -62,20 +62,20 @@ const ie = {
|
|
|
62
62
|
deposit: "Depósito"
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function Pe(n) {
|
|
66
|
+
Oe(n, "svelte-h8mrzf", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
|
67
67
|
}
|
|
68
68
|
function le(n, e, t) {
|
|
69
69
|
const a = n.slice();
|
|
70
|
-
return a[
|
|
70
|
+
return a[49] = e[t], a[51] = t, a;
|
|
71
71
|
}
|
|
72
72
|
function se(n, e, t) {
|
|
73
73
|
const a = n.slice();
|
|
74
|
-
return a[
|
|
74
|
+
return a[52] = e[t], a;
|
|
75
75
|
}
|
|
76
76
|
function ce(n, e, t) {
|
|
77
77
|
const a = n.slice();
|
|
78
|
-
return a[
|
|
78
|
+
return a[55] = e[t], a[57] = t, a;
|
|
79
79
|
}
|
|
80
80
|
function ue(n) {
|
|
81
81
|
let e = [], t = /* @__PURE__ */ new Map(), a, i = W(
|
|
@@ -84,7 +84,7 @@ function ue(n) {
|
|
|
84
84
|
);
|
|
85
85
|
const l = (r) => (
|
|
86
86
|
/*category*/
|
|
87
|
-
r[
|
|
87
|
+
r[49].id
|
|
88
88
|
);
|
|
89
89
|
for (let r = 0; r < i.length; r += 1) {
|
|
90
90
|
let s = le(n, i, r), d = l(s);
|
|
@@ -115,10 +115,10 @@ function ue(n) {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ke(n) {
|
|
119
119
|
let e, t = (
|
|
120
120
|
/*category*/
|
|
121
|
-
n[
|
|
121
|
+
n[49].name + ""
|
|
122
122
|
), a;
|
|
123
123
|
return {
|
|
124
124
|
c() {
|
|
@@ -130,22 +130,22 @@ function Je(n) {
|
|
|
130
130
|
p(i, l) {
|
|
131
131
|
l[0] & /*sliderdata*/
|
|
132
132
|
512 && t !== (t = /*category*/
|
|
133
|
-
i[
|
|
133
|
+
i[49].name + "") && Z(a, t);
|
|
134
134
|
},
|
|
135
135
|
d(i) {
|
|
136
136
|
i && S(e);
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Xe(n) {
|
|
141
141
|
let e, t = (
|
|
142
142
|
/*category*/
|
|
143
|
-
n[
|
|
143
|
+
n[49].label + ""
|
|
144
144
|
), a, i;
|
|
145
145
|
return {
|
|
146
146
|
c() {
|
|
147
147
|
e = k("a"), a = V(t), f(e, "href", i = /*category*/
|
|
148
|
-
n[
|
|
148
|
+
n[49].path);
|
|
149
149
|
},
|
|
150
150
|
m(l, r) {
|
|
151
151
|
D(l, e, r), p(e, a);
|
|
@@ -153,9 +153,9 @@ function Qe(n) {
|
|
|
153
153
|
p(l, r) {
|
|
154
154
|
r[0] & /*sliderdata*/
|
|
155
155
|
512 && t !== (t = /*category*/
|
|
156
|
-
l[
|
|
156
|
+
l[49].label + "") && Z(a, t), r[0] & /*sliderdata*/
|
|
157
157
|
512 && i !== (i = /*category*/
|
|
158
|
-
l[
|
|
158
|
+
l[49].path) && f(e, "href", i);
|
|
159
159
|
},
|
|
160
160
|
d(l) {
|
|
161
161
|
l && S(e);
|
|
@@ -222,7 +222,7 @@ function fe(n) {
|
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
224
|
d(i) {
|
|
225
|
-
i && S(e),
|
|
225
|
+
i && S(e), qe(a, i);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
}
|
|
@@ -230,20 +230,20 @@ function me(n) {
|
|
|
230
230
|
var w;
|
|
231
231
|
let e, t, a = (
|
|
232
232
|
/*subGroupItem*/
|
|
233
|
-
((w = n[
|
|
233
|
+
((w = n[55]) == null ? void 0 : w.name) + ""
|
|
234
234
|
), i, l, r, s, d;
|
|
235
235
|
function F(...g) {
|
|
236
236
|
return (
|
|
237
237
|
/*click_handler_1*/
|
|
238
238
|
n[32](
|
|
239
239
|
/*category*/
|
|
240
|
-
n[
|
|
240
|
+
n[49],
|
|
241
241
|
/*index*/
|
|
242
|
-
n[
|
|
242
|
+
n[51],
|
|
243
243
|
/*subGroupItem*/
|
|
244
|
-
n[
|
|
244
|
+
n[55],
|
|
245
245
|
/*subindex*/
|
|
246
|
-
n[
|
|
246
|
+
n[57],
|
|
247
247
|
...g
|
|
248
248
|
)
|
|
249
249
|
);
|
|
@@ -251,12 +251,12 @@ function me(n) {
|
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
253
253
|
e = k("li"), t = k("a"), i = V(a), r = N(), f(t, "class", l = "SubDropDown " + /*index*/
|
|
254
|
-
(n[
|
|
254
|
+
(n[51] == /*activeIndex*/
|
|
255
255
|
n[6] && /*activeSubIndex*/
|
|
256
256
|
(n[7] == /*subindex*/
|
|
257
|
-
n[
|
|
257
|
+
n[57] || /*prevSubIndex*/
|
|
258
258
|
n[8] == /*subindex*/
|
|
259
|
-
n[
|
|
259
|
+
n[57]) ? "active" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, v) {
|
|
262
262
|
D(g, e, v), p(e, t), p(t, i), p(e, r), s || (d = P(e, "click", F), s = !0);
|
|
@@ -265,14 +265,14 @@ function me(n) {
|
|
|
265
265
|
var I;
|
|
266
266
|
n = g, v[0] & /*subGroupsData*/
|
|
267
267
|
1024 && a !== (a = /*subGroupItem*/
|
|
268
|
-
((I = n[
|
|
268
|
+
((I = n[55]) == null ? void 0 : I.name) + "") && Z(i, a), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
269
269
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
270
|
-
(n[
|
|
270
|
+
(n[51] == /*activeIndex*/
|
|
271
271
|
n[6] && /*activeSubIndex*/
|
|
272
272
|
(n[7] == /*subindex*/
|
|
273
|
-
n[
|
|
273
|
+
n[57] || /*prevSubIndex*/
|
|
274
274
|
n[8] == /*subindex*/
|
|
275
|
-
n[
|
|
275
|
+
n[57]) ? "active" : "")) && f(t, "class", l);
|
|
276
276
|
},
|
|
277
277
|
d(g) {
|
|
278
278
|
g && S(e), s = !1, d();
|
|
@@ -282,8 +282,8 @@ function me(n) {
|
|
|
282
282
|
function ge(n, e) {
|
|
283
283
|
let t, a, i = (
|
|
284
284
|
/*index*/
|
|
285
|
-
e[
|
|
286
|
-
e[
|
|
285
|
+
e[51] == /*subGroup*/
|
|
286
|
+
e[52].index && me(e)
|
|
287
287
|
);
|
|
288
288
|
return {
|
|
289
289
|
key: n,
|
|
@@ -296,8 +296,8 @@ function ge(n, e) {
|
|
|
296
296
|
},
|
|
297
297
|
p(l, r) {
|
|
298
298
|
e = l, /*index*/
|
|
299
|
-
e[
|
|
300
|
-
e[
|
|
299
|
+
e[51] == /*subGroup*/
|
|
300
|
+
e[52].index ? i ? i.p(e, r) : (i = me(e), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
|
|
301
301
|
},
|
|
302
302
|
d(l) {
|
|
303
303
|
l && (S(t), S(a)), i && i.d(l);
|
|
@@ -307,11 +307,11 @@ function ge(n, e) {
|
|
|
307
307
|
function he(n) {
|
|
308
308
|
let e = [], t = /* @__PURE__ */ new Map(), a, i = W(
|
|
309
309
|
/*subGroup*/
|
|
310
|
-
n[
|
|
310
|
+
n[52].items
|
|
311
311
|
);
|
|
312
312
|
const l = (r) => (
|
|
313
313
|
/*subGroupItem*/
|
|
314
|
-
r[
|
|
314
|
+
r[55].id
|
|
315
315
|
);
|
|
316
316
|
for (let r = 0; r < i.length; r += 1) {
|
|
317
317
|
let s = ce(n, i, r), d = l(s);
|
|
@@ -332,7 +332,7 @@ function he(n) {
|
|
|
332
332
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
|
333
333
|
10176 && (i = W(
|
|
334
334
|
/*subGroup*/
|
|
335
|
-
r[
|
|
335
|
+
r[52].items
|
|
336
336
|
), e = pe(e, s, l, 1, r, i, t, a.parentNode, we, ge, a, ce));
|
|
337
337
|
},
|
|
338
338
|
d(r) {
|
|
@@ -347,14 +347,14 @@ function Ce(n, e) {
|
|
|
347
347
|
function I(m, _) {
|
|
348
348
|
return (
|
|
349
349
|
/*location*/
|
|
350
|
-
m[0] === "headerMain" ?
|
|
350
|
+
m[0] === "headerMain" ? Xe : Ke
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
353
|
let M = I(e), h = M(e), c = (
|
|
354
354
|
/*itemsActive*/
|
|
355
355
|
e[11][
|
|
356
356
|
/*index*/
|
|
357
|
-
e[
|
|
357
|
+
e[51]
|
|
358
358
|
] == !0 && de(e)
|
|
359
359
|
);
|
|
360
360
|
function b(...m) {
|
|
@@ -362,9 +362,9 @@ function Ce(n, e) {
|
|
|
362
362
|
/*click_handler_2*/
|
|
363
363
|
e[33](
|
|
364
364
|
/*category*/
|
|
365
|
-
e[
|
|
365
|
+
e[49],
|
|
366
366
|
/*index*/
|
|
367
|
-
e[
|
|
367
|
+
e[51],
|
|
368
368
|
...m
|
|
369
369
|
)
|
|
370
370
|
);
|
|
@@ -378,16 +378,16 @@ function Ce(n, e) {
|
|
|
378
378
|
(e[3] === "true" ? "" : "DisplayNone")), ae(i.src, r = /*handleSrc*/
|
|
379
379
|
e[16](
|
|
380
380
|
/*category*/
|
|
381
|
-
e[
|
|
381
|
+
e[49]
|
|
382
382
|
)) || f(i, "src", r), f(a, "class", "CategoryIcon"), f(t, "class", w = "CarouselItem " + /*activeindex*/
|
|
383
383
|
(((m = e[1]) == null ? void 0 : m.toString().indexOf("$")) > -1 ? (
|
|
384
384
|
/*activeindex*/
|
|
385
385
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
|
386
|
-
e[
|
|
386
|
+
e[49].id.split("$").pop() ? "active" : ""
|
|
387
387
|
) : (
|
|
388
388
|
/*activeindex*/
|
|
389
389
|
e[1] == /*category*/
|
|
390
|
-
e[
|
|
390
|
+
e[49].id ? "active" : ""
|
|
391
391
|
)) + " " + /*location*/
|
|
392
392
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), f(t, "part", "CarouselItem"), this.first = t;
|
|
393
393
|
},
|
|
@@ -402,21 +402,21 @@ function Ce(n, e) {
|
|
|
402
402
|
512 && !ae(i.src, r = /*handleSrc*/
|
|
403
403
|
e[16](
|
|
404
404
|
/*category*/
|
|
405
|
-
e[
|
|
405
|
+
e[49]
|
|
406
406
|
)) && f(i, "src", r), M === (M = I(e)) && h ? h.p(e, _) : (h.d(1), h = M(e), h && (h.c(), h.m(t, d))), /*itemsActive*/
|
|
407
407
|
e[11][
|
|
408
408
|
/*index*/
|
|
409
|
-
e[
|
|
409
|
+
e[51]
|
|
410
410
|
] == !0 ? c ? c.p(e, _) : (c = de(e), c.c(), c.m(t, F)) : c && (c.d(1), c = null), _[0] & /*activeindex, sliderdata, location*/
|
|
411
411
|
515 && w !== (w = "CarouselItem " + /*activeindex*/
|
|
412
412
|
(((T = e[1]) == null ? void 0 : T.toString().indexOf("$")) > -1 ? (
|
|
413
413
|
/*activeindex*/
|
|
414
414
|
((x = e[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
|
|
415
|
-
e[
|
|
415
|
+
e[49].id.split("$").pop() ? "active" : ""
|
|
416
416
|
) : (
|
|
417
417
|
/*activeindex*/
|
|
418
418
|
e[1] == /*category*/
|
|
419
|
-
e[
|
|
419
|
+
e[49].id ? "active" : ""
|
|
420
420
|
)) + " " + /*location*/
|
|
421
421
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", w);
|
|
422
422
|
},
|
|
@@ -425,7 +425,7 @@ function Ce(n, e) {
|
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function Je(n) {
|
|
429
429
|
let e, t, a, i, l, r, s, d, F, w, g, v, I, M, h, c = (
|
|
430
430
|
/*sliderdata*/
|
|
431
431
|
n[9].length > 0 && ue(n)
|
|
@@ -466,13 +466,13 @@ function Ve(n) {
|
|
|
466
466
|
i: oe,
|
|
467
467
|
o: oe,
|
|
468
468
|
d(b) {
|
|
469
|
-
b && S(e), c && c.d(), n[34](null), n[35](null), n[37](null), M = !1,
|
|
469
|
+
b && S(e), c && c.d(), n[34](null), n[35](null), n[37](null), M = !1, Ge(h);
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
function
|
|
473
|
+
function Qe(n, e, t) {
|
|
474
474
|
let { endpoint: a = "" } = e, { datasource: i = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: w = "" } = e, { identity: g = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu: M = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: T = "" } = e;
|
|
475
|
-
|
|
475
|
+
Ue({ withLocale: "en", translations: {} });
|
|
476
476
|
const x = () => {
|
|
477
477
|
fetch(v).then((u) => u.json()).then((u) => {
|
|
478
478
|
Object.keys(u).forEach((C) => {
|
|
@@ -485,8 +485,6 @@ function Ze(n, e, t) {
|
|
|
485
485
|
Object.keys(ie).forEach((o) => {
|
|
486
486
|
ne(o, ie[o]);
|
|
487
487
|
});
|
|
488
|
-
let ye = window.navigator.userAgent;
|
|
489
|
-
qe(ye);
|
|
490
488
|
let j, z, B, K, H, O = [], q = [], U = [], L, X = (o, u, C, E, A) => {
|
|
491
489
|
var R;
|
|
492
490
|
if (!(o.subGroups && E === null)) {
|
|
@@ -522,12 +520,12 @@ function Ze(n, e, t) {
|
|
|
522
520
|
L.scrollBy({ left: 250, behavior: "smooth" });
|
|
523
521
|
};
|
|
524
522
|
const te = (o) => {
|
|
525
|
-
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, U = new Array(O.length).fill(!1)), b == "true" &&
|
|
523
|
+
o.data.type == "SliderData" && o.data.identity == g && (t(9, O = o.data.data), t(11, U = new Array(O.length).fill(!1)), b == "true" && be()), o.data.type == "GoToHomepage" && O.forEach((u, C) => {
|
|
526
524
|
u.path.endsWith("/casino") && (t(6, z = C), t(6, z));
|
|
527
525
|
});
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
},
|
|
526
|
+
}, ye = () => {
|
|
527
|
+
Ye(h);
|
|
528
|
+
}, ve = (o, u, C) => {
|
|
531
529
|
if (d == "secondaryMenu" && a && i && h && o.id) {
|
|
532
530
|
let E = new URL(`${a}/v1/casino/groups/${i}/${o.id}/subGroups?language=${h}`);
|
|
533
531
|
fetch(E.href).then((A) => A.json()).then((A) => {
|
|
@@ -541,8 +539,8 @@ function Ze(n, e, t) {
|
|
|
541
539
|
window.location.href
|
|
542
540
|
);
|
|
543
541
|
const R = [];
|
|
544
|
-
q.map((
|
|
545
|
-
R.find((
|
|
542
|
+
q.map((Ee) => (Ee.items.forEach((re) => {
|
|
543
|
+
R.find((Re) => re.id == Re) || R.push(re.id);
|
|
546
544
|
}), R.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: R }, window.location.href);
|
|
547
545
|
}).then(() => {
|
|
548
546
|
j.querySelectorAll(".DropDown") && Y();
|
|
@@ -555,15 +553,15 @@ function Ze(n, e, t) {
|
|
|
555
553
|
for (let u = 0; u < o.length; u++)
|
|
556
554
|
o[u].style.transform = "translateX(-" + L.scrollLeft + "px)";
|
|
557
555
|
L.classList.remove("isScrolling");
|
|
558
|
-
},
|
|
556
|
+
}, be = () => {
|
|
559
557
|
O.forEach((o, u) => {
|
|
560
558
|
var C;
|
|
561
|
-
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, U[u] = !0, U),
|
|
559
|
+
((C = o == null ? void 0 : o.subGroups) == null ? void 0 : C.count) > 0 && (t(11, U[u] = !0, U), ve(o, u));
|
|
562
560
|
});
|
|
563
|
-
},
|
|
561
|
+
}, _e = () => {
|
|
564
562
|
let o = document.createElement("style");
|
|
565
563
|
o.innerHTML = F, H.appendChild(o);
|
|
566
|
-
},
|
|
564
|
+
}, ke = () => {
|
|
567
565
|
let o = document.createElement("style"), u = new URL(w);
|
|
568
566
|
fetch(u.href).then((C) => C.text()).then((C) => {
|
|
569
567
|
o.innerHTML = C, setTimeout(
|
|
@@ -573,11 +571,11 @@ function Ze(n, e, t) {
|
|
|
573
571
|
1
|
|
574
572
|
);
|
|
575
573
|
});
|
|
576
|
-
},
|
|
574
|
+
}, Fe = (o) => {
|
|
577
575
|
let u = "";
|
|
578
576
|
return o.id === "LOBBY" ? u = _ : o.id === "MYGAMES" && (u = T), o.icon || u;
|
|
579
577
|
};
|
|
580
|
-
|
|
578
|
+
xe(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
581
579
|
() => {
|
|
582
580
|
L.addEventListener("scroll", Y);
|
|
583
581
|
},
|
|
@@ -585,23 +583,23 @@ function Ze(n, e, t) {
|
|
|
585
583
|
), () => {
|
|
586
584
|
window.removeEventListener("message", te), j.removeEventListener("scroll", Y);
|
|
587
585
|
}));
|
|
588
|
-
const
|
|
586
|
+
const Ie = () => $(), Me = (o, u, C, E, A) => {
|
|
589
587
|
X(o, u, C, E, "secondary"), A.stopPropagation();
|
|
590
|
-
},
|
|
588
|
+
}, De = (o, u, C) => {
|
|
591
589
|
X(o, u, null, null, "main"), C.preventDefault();
|
|
592
590
|
};
|
|
593
|
-
function
|
|
591
|
+
function Se(o) {
|
|
594
592
|
J[o ? "unshift" : "push"](() => {
|
|
595
593
|
j = o, t(5, j);
|
|
596
594
|
});
|
|
597
595
|
}
|
|
598
|
-
function
|
|
596
|
+
function Le(o) {
|
|
599
597
|
J[o ? "unshift" : "push"](() => {
|
|
600
598
|
L = o, t(12, L);
|
|
601
599
|
});
|
|
602
600
|
}
|
|
603
|
-
const
|
|
604
|
-
function
|
|
601
|
+
const Ae = () => ee();
|
|
602
|
+
function He(o) {
|
|
605
603
|
J[o ? "unshift" : "push"](() => {
|
|
606
604
|
H = o, t(4, H);
|
|
607
605
|
});
|
|
@@ -612,9 +610,9 @@ function Ze(n, e, t) {
|
|
|
612
610
|
n.$$.dirty[0] & /*activeindex*/
|
|
613
611
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
614
612
|
33554432 && v && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
615
|
-
4194320 && F && H &&
|
|
616
|
-
8388624 && w && H &&
|
|
617
|
-
268435456 && h &&
|
|
613
|
+
4194320 && F && H && _e(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
614
|
+
8388624 && w && H && ke(), n.$$.dirty[0] & /*lang*/
|
|
615
|
+
268435456 && h && ye();
|
|
618
616
|
}, [
|
|
619
617
|
d,
|
|
620
618
|
c,
|
|
@@ -632,7 +630,7 @@ function Ze(n, e, t) {
|
|
|
632
630
|
X,
|
|
633
631
|
$,
|
|
634
632
|
ee,
|
|
635
|
-
|
|
633
|
+
Fe,
|
|
636
634
|
a,
|
|
637
635
|
i,
|
|
638
636
|
l,
|
|
@@ -647,23 +645,23 @@ function Ze(n, e, t) {
|
|
|
647
645
|
h,
|
|
648
646
|
_,
|
|
649
647
|
T,
|
|
648
|
+
Ie,
|
|
650
649
|
Me,
|
|
651
650
|
De,
|
|
652
651
|
Se,
|
|
653
652
|
Le,
|
|
654
653
|
Ae,
|
|
655
|
-
He
|
|
656
|
-
Ee
|
|
654
|
+
He
|
|
657
655
|
];
|
|
658
656
|
}
|
|
659
|
-
class
|
|
657
|
+
class Ve extends je {
|
|
660
658
|
constructor(e) {
|
|
661
|
-
super(),
|
|
659
|
+
super(), We(
|
|
662
660
|
this,
|
|
663
661
|
e,
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
662
|
+
Qe,
|
|
663
|
+
Je,
|
|
664
|
+
Be,
|
|
667
665
|
{
|
|
668
666
|
endpoint: 17,
|
|
669
667
|
datasource: 18,
|
|
@@ -684,7 +682,7 @@ class $e extends We {
|
|
|
684
682
|
lobbyiconimage: 29,
|
|
685
683
|
mygamesiconimage: 30
|
|
686
684
|
},
|
|
687
|
-
|
|
685
|
+
Pe,
|
|
688
686
|
[-1, -1]
|
|
689
687
|
);
|
|
690
688
|
}
|
|
@@ -797,7 +795,7 @@ class $e extends We {
|
|
|
797
795
|
this.$$set({ mygamesiconimage: e }), y();
|
|
798
796
|
}
|
|
799
797
|
}
|
|
800
|
-
|
|
798
|
+
ze(Ve, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
801
799
|
export {
|
|
802
|
-
|
|
800
|
+
Ve as default
|
|
803
801
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function we({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function P(i,e){t.addMessages(i,e)}function be(i){t.$locale.set(i)}const U={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function ve(i){t.append_styles(i,"svelte-h8mrzf",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function Y(i,e,r){const o=i.slice();return o[50]=e[r],o[52]=r,o}function K(i,e,r){const o=i.slice();return o[53]=e[r],o}function X(i,e,r){const o=i.slice();return o[56]=e[r],o[58]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[50].id;for(let n=0;n<l.length;n+=1){let c=Y(i,l,n),f=s(c);r.set(f,e[n]=te(f,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let f=0;f<e.length;f+=1)e[f]&&e[f].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,Y))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function _e(i){let e,r=i[50].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[50].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function ke(i){let e,r=i[50].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[50].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[50].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[50].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var C;let e,r,o=((C=i[56])==null?void 0:C.name)+"",l,s,n,c,f;function v(...h){return i[32](i[50],i[52],i[56],i[58],...h)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[52]==i[6]&&(i[7]==i[58]||i[8]==i[58])?"active":""))},m(h,y){t.insert(h,e,y),t.append(e,r),t.append(r,l),t.append(e,n),c||(f=t.listen(e,"click",v),c=!0)},p(h,y){var _;i=h,y[0]&1024&&o!==(o=((_=i[56])==null?void 0:_.name)+"")&&t.set_data(l,o),y[0]&1984&&s!==(s="SubDropDown "+(i[52]==i[6]&&(i[7]==i[58]||i[8]==i[58])?"active":""))&&t.attr(r,"class",s)},d(h){h&&t.detach(e),c=!1,f()}}}function $(i,e){let r,o,l=e[52]==e[53].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[52]==e[53].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[53].items);const s=n=>n[56].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),f=s(c);r.set(f,e[n]=$(f,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let f=0;f<e.length;f+=1)e[f]&&e[f].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[53].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,f,v,C,h,y;function _(m,b){return m[0]==="headerMain"?ke:_e}let k=_(e),g=k(e),u=e[11][e[52]]==!0&&Q(e);function w(...m){return e[33](e[50],e[52],...m)}return{key:i,first:null,c(){var m,b;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),f=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[50]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",C="CarouselItem "+(((m=e[1])==null?void 0:m.toString().indexOf("$"))>-1?((b=e[1])==null?void 0:b.split("$").pop())==e[50].id.split("$").pop()?"active":"":e[1]==e[50].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),t.attr(r,"part","CarouselItem"),this.first=r},m(m,b){t.insert(m,r,b),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,f),u&&u.m(r,null),t.append(r,v),h||(y=t.listen(r,"click",w),h=!0)},p(m,b){var L,R;e=m,b[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),b[0]&512&&!t.src_url_equal(l.src,n=e[16](e[50]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,b):(g.d(1),g=k(e),g&&(g.c(),g.m(r,f))),e[11][e[52]]==!0?u?u.p(e,b):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),b[0]&515&&C!==(C="CarouselItem "+(((L=e[1])==null?void 0:L.toString().indexOf("$"))>-1?((R=e[1])==null?void 0:R.split("$").pop())==e[50].id.split("$").pop()?"active":"":e[1]==e[50].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",C)},d(m){m&&t.detach(r),g.d(),u&&u.d(),h=!1,y()}}}function Fe(i){let e,r,o,l,s,n,c,f,v,C,h,y,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',f=t.space(),u&&u.c(),v=t.space(),C=t.element("div"),C.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(C,"class","CarouselRightArrow"),t.attr(r,"class",h=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",y=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(w,m){t.insert(w,e,m),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,f),u&&u.m(n,null),i[34](n),i[35](s),t.append(r,v),t.append(r,C),i[37](e),k||(g=[t.listen(o,"click",i[31]),t.listen(C,"click",i[36])],k=!0)},p(w,m){w[9].length>0?u?u.p(w,m):(u=J(w),u.c(),u.m(n,null)):u&&(u.d(1),u=null),m[0]&1&&h!==(h=`CarouselContainer CarouselContainerMobile ${w[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",h),m[0]&1&&y!==(y=w[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",y),m[0]&1&&_!==(_="CarouselWrapper "+(w[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(w){w&&t.detach(e),u&&u.d(),i[34](null),i[35](null),i[37](null),k=!1,t.run_all(g)}}}function Me(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:f=""}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{identity:h=""}=e,{translationurl:y=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:w="false"}=e,{categoriesicon:m="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:L=""}=e;we({withLocale:"en",translations:{}});const R=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{P(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(U).forEach(a=>{P(a,U[a])});let ne=window.navigator.userAgent;t.getDevice(ne);let A,H,E,W,I,N=[],T=[],j=[],F,z=(a,d,p,D,M)=>{var S;if(!(a.subGroups&&D===null)){if(O(),r(6,H=d),r(6,H),M!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:d,item:a,path:a.path,externalLink:a.externalLink||!1,target:((S=a.attrs)==null?void 0:S.target)||null},window.location.href),r(7,E=null),r(8,W=null);return}r(7,E=D),r(7,E),r(8,W=E),window.postMessage({type:n,itemId:p.id,subIndex:D,subItem:p},window.location.href)}},B=()=>{F.scrollBy({left:-250,behavior:"smooth"})},G=()=>{F.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==h&&(r(9,N=a.data.data),r(11,j=new Array(N.length).fill(!1)),w=="true"&&ie()),a.data.type=="GoToHomepage"&&N.forEach((d,p)=>{d.path.endsWith("/casino")&&(r(6,H=p),r(6,H))})},ae=()=>{be(g)},oe=(a,d,p)=>{if(f=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(M=>M.json()).then(M=>{M.index=d,r(10,T=T.concat(M)),w=="false"&&window.postMessage({type:n,itemId:a.id,index:d,item:a},window.location.href);const S=[];T.map(Ce=>(Ce.items.forEach(q=>{S.find(ye=>q.id==ye)||S.push(q.id)}),S.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:S},window.location.href)}).then(()=>{A.querySelectorAll(".DropDown")&&O()})}f=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=A.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let d=0;d<a.length;d++)a[d].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},ie=()=>{N.forEach((a,d)=>{var p;((p=a==null?void 0:a.subGroups)==null?void 0:p.count)>0&&(r(11,j[d]=!0,j),oe(a,d))})},le=()=>{let a=document.createElement("style");a.innerHTML=v,I.appendChild(a)},se=()=>{let a=document.createElement("style"),d=new URL(C);fetch(d.href).then(p=>p.text()).then(p=>{a.innerHTML=p,setTimeout(()=>{I.appendChild(a)},1)})},ce=a=>{let d="";return a.id==="LOBBY"?d=b:a.id==="MYGAMES"&&(d=L),a.icon||d};t.onMount(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",x,!1),setTimeout(()=>{F.addEventListener("scroll",O)},500),()=>{window.removeEventListener("message",x),A.removeEventListener("scroll",O)}));const ue=()=>B(),de=(a,d,p,D,M)=>{z(a,d,p,D,"secondary"),M.stopPropagation()},fe=(a,d,p)=>{z(a,d,null,null,"main"),p.preventDefault()};function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{A=a,r(5,A)})}function he(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(12,F)})}const ge=()=>G();function pe(a){t.binding_callbacks[a?"unshift":"push"](()=>{I=a,r(4,I)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,f=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,C=a.clientstylingurl),"identity"in a&&r(24,h=a.identity),"translationurl"in a&&r(25,y=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,w=a.showsubgroups),"categoriesicon"in a&&r(3,m=a.categoriesicon),"lobbyiconimage"in a&&r(29,b=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,L=a.mygamesiconimage)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&y&&R(),i.$$.dirty[0]&4194320&&v&&I&&le(),i.$$.dirty[0]&8388624&&C&&I&&se(),i.$$.dirty[0]&268435456&&g&&ae()},[f,u,w,m,I,A,H,E,W,N,T,j,F,z,B,G,ce,o,l,s,n,c,v,C,h,y,_,k,g,b,L,ue,de,fe,me,he,ge,pe]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Me,Fe,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},ve,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=re;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function ye({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function U(i,e){t.addMessages(i,e)}function we(i){t.$locale.set(i)}const Y={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function be(i){t.append_styles(i,"svelte-h8mrzf",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function P(i,e,r){const o=i.slice();return o[49]=e[r],o[51]=r,o}function K(i,e,r){const o=i.slice();return o[52]=e[r],o}function X(i,e,r){const o=i.slice();return o[55]=e[r],o[57]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[49].id;for(let n=0;n<l.length;n+=1){let c=P(i,l,n),f=s(c);r.set(f,e[n]=te(f,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let f=0;f<e.length;f+=1)e[f]&&e[f].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,P))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function ve(i){let e,r=i[49].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[49].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function _e(i){let e,r=i[49].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[49].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[49].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[49].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var C;let e,r,o=((C=i[55])==null?void 0:C.name)+"",l,s,n,c,f;function v(...h){return i[32](i[49],i[51],i[55],i[57],...h)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))},m(h,y){t.insert(h,e,y),t.append(e,r),t.append(r,l),t.append(e,n),c||(f=t.listen(e,"click",v),c=!0)},p(h,y){var _;i=h,y[0]&1024&&o!==(o=((_=i[55])==null?void 0:_.name)+"")&&t.set_data(l,o),y[0]&1984&&s!==(s="SubDropDown "+(i[51]==i[6]&&(i[7]==i[57]||i[8]==i[57])?"active":""))&&t.attr(r,"class",s)},d(h){h&&t.detach(e),c=!1,f()}}}function $(i,e){let r,o,l=e[51]==e[52].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[51]==e[52].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[52].items);const s=n=>n[55].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),f=s(c);r.set(f,e[n]=$(f,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let f=0;f<e.length;f+=1)e[f]&&e[f].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[52].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,f,v,C,h,y;function _(m,b){return m[0]==="headerMain"?_e:ve}let k=_(e),g=k(e),u=e[11][e[51]]==!0&&Q(e);function w(...m){return e[33](e[49],e[51],...m)}return{key:i,first:null,c(){var m,b;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),f=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[49]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",C="CarouselItem "+(((m=e[1])==null?void 0:m.toString().indexOf("$"))>-1?((b=e[1])==null?void 0:b.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),t.attr(r,"part","CarouselItem"),this.first=r},m(m,b){t.insert(m,r,b),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,f),u&&u.m(r,null),t.append(r,v),h||(y=t.listen(r,"click",w),h=!0)},p(m,b){var L,R;e=m,b[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),b[0]&512&&!t.src_url_equal(l.src,n=e[16](e[49]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,b):(g.d(1),g=k(e),g&&(g.c(),g.m(r,f))),e[11][e[51]]==!0?u?u.p(e,b):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),b[0]&515&&C!==(C="CarouselItem "+(((L=e[1])==null?void 0:L.toString().indexOf("$"))>-1?((R=e[1])==null?void 0:R.split("$").pop())==e[49].id.split("$").pop()?"active":"":e[1]==e[49].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",C)},d(m){m&&t.detach(r),g.d(),u&&u.d(),h=!1,y()}}}function ke(i){let e,r,o,l,s,n,c,f,v,C,h,y,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',f=t.space(),u&&u.c(),v=t.space(),C=t.element("div"),C.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(C,"class","CarouselRightArrow"),t.attr(r,"class",h=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",y=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(w,m){t.insert(w,e,m),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,f),u&&u.m(n,null),i[34](n),i[35](s),t.append(r,v),t.append(r,C),i[37](e),k||(g=[t.listen(o,"click",i[31]),t.listen(C,"click",i[36])],k=!0)},p(w,m){w[9].length>0?u?u.p(w,m):(u=J(w),u.c(),u.m(n,null)):u&&(u.d(1),u=null),m[0]&1&&h!==(h=`CarouselContainer CarouselContainerMobile ${w[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",h),m[0]&1&&y!==(y=w[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",y),m[0]&1&&_!==(_="CarouselWrapper "+(w[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(w){w&&t.detach(e),u&&u.d(),i[34](null),i[35](null),i[37](null),k=!1,t.run_all(g)}}}function Fe(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:f=""}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{identity:h=""}=e,{translationurl:y=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:w="false"}=e,{categoriesicon:m="false"}=e,{lobbyiconimage:b=""}=e,{mygamesiconimage:L=""}=e;ye({withLocale:"en",translations:{}});const R=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{U(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(Y).forEach(a=>{U(a,Y[a])});let H,A,E,W,I,N=[],T=[],j=[],F,z=(a,d,p,D,M)=>{var S;if(!(a.subGroups&&D===null)){if(O(),r(6,A=d),r(6,A),M!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:d,item:a,path:a.path,externalLink:a.externalLink||!1,target:((S=a.attrs)==null?void 0:S.target)||null},window.location.href),r(7,E=null),r(8,W=null);return}r(7,E=D),r(7,E),r(8,W=E),window.postMessage({type:n,itemId:p.id,subIndex:D,subItem:p},window.location.href)}},B=()=>{F.scrollBy({left:-250,behavior:"smooth"})},G=()=>{F.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==h&&(r(9,N=a.data.data),r(11,j=new Array(N.length).fill(!1)),w=="true"&&oe()),a.data.type=="GoToHomepage"&&N.forEach((d,p)=>{d.path.endsWith("/casino")&&(r(6,A=p),r(6,A))})},ne=()=>{we(g)},ae=(a,d,p)=>{if(f=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(M=>M.json()).then(M=>{M.index=d,r(10,T=T.concat(M)),w=="false"&&window.postMessage({type:n,itemId:a.id,index:d,item:a},window.location.href);const S=[];T.map(pe=>(pe.items.forEach(q=>{S.find(Ce=>q.id==Ce)||S.push(q.id)}),S.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:S},window.location.href)}).then(()=>{H.querySelectorAll(".DropDown")&&O()})}f=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=H.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let d=0;d<a.length;d++)a[d].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},oe=()=>{N.forEach((a,d)=>{var p;((p=a==null?void 0:a.subGroups)==null?void 0:p.count)>0&&(r(11,j[d]=!0,j),ae(a,d))})},ie=()=>{let a=document.createElement("style");a.innerHTML=v,I.appendChild(a)},le=()=>{let a=document.createElement("style"),d=new URL(C);fetch(d.href).then(p=>p.text()).then(p=>{a.innerHTML=p,setTimeout(()=>{I.appendChild(a)},1)})},se=a=>{let d="";return a.id==="LOBBY"?d=b:a.id==="MYGAMES"&&(d=L),a.icon||d};t.onMount(()=>(window.addEventListener("message",x,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{F.addEventListener("scroll",O)},500),()=>{window.removeEventListener("message",x),H.removeEventListener("scroll",O)}));const ce=()=>B(),ue=(a,d,p,D,M)=>{z(a,d,p,D,"secondary"),M.stopPropagation()},de=(a,d,p)=>{z(a,d,null,null,"main"),p.preventDefault()};function fe(a){t.binding_callbacks[a?"unshift":"push"](()=>{H=a,r(5,H)})}function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(12,F)})}const he=()=>G();function ge(a){t.binding_callbacks[a?"unshift":"push"](()=>{I=a,r(4,I)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,f=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,C=a.clientstylingurl),"identity"in a&&r(24,h=a.identity),"translationurl"in a&&r(25,y=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,w=a.showsubgroups),"categoriesicon"in a&&r(3,m=a.categoriesicon),"lobbyiconimage"in a&&r(29,b=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,L=a.mygamesiconimage)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&y&&R(),i.$$.dirty[0]&4194320&&v&&I&&ie(),i.$$.dirty[0]&8388624&&C&&I&&le(),i.$$.dirty[0]&268435456&&g&&ne()},[f,u,w,m,I,H,A,E,W,N,T,j,F,z,B,G,se,o,l,s,n,c,v,C,h,y,_,k,g,b,L,ce,ue,de,fe,me,he,ge]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Fe,ke,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},be,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=re;
|
package/es2015/casino-lobby.cjs
CHANGED
|
@@ -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/CasinoLobby-
|
|
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/CasinoLobby-DvdEygsY.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
|
package/es2015/casino-lobby.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoLobby-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoLobby-DC3C5QPm.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|