@everymatrix/casino-lobby 1.51.0 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.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-C6tCM7PI.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-R2WJDwPP.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-BYPHyNGp.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-D-wyPyQN.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-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--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(--emw--casino-typography, var(--emw--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&&lt(),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-aMUXtMPt.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-C6tCM7PI.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-BmEQljJI.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-BYPHyNGp.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-D-wyPyQN.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-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--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(--emw--casino-typography, var(--emw--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&&lt(),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;
@@ -35,7 +35,7 @@ if (typeof window != "undefined") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-CSCTMi60.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-Bl_V6Pl7.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -266,7 +266,7 @@ if (typeof window != "undefined") {
266
266
  }
267
267
  };
268
268
  };
269
- customElements.define = a(customElements.define), import("./CasinoWinners-DggB-TUh.js").then(({ default: e }) => {
269
+ customElements.define = a(customElements.define), import("./CasinoWinners-CwPF3r2V.js").then(({ default: e }) => {
270
270
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
271
271
  });
272
272
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");require("./CasinoFavoritesSection-ChFh3su6.cjs");require("../stencil/casino-play-random-game-CQe5iDJ8.cjs");function qt({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function lt(a,t){e.addMessages(a,t)}function Rt(a){e.$locale.set(a)}const rt={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"},"en-us":{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"}};if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoRandomGame-BpdxwlFB.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoWinners-Ckyk_WaU.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoJackpotBanner-BlShS5Vc.cjs")).then(({default:t})=>{!customElements.get("casino-jackpot-banner")&&customElements.define("casino-jackpot-banner",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCollectionsProviders-BrLC6Grn.cjs")).then(({default:t})=>{!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMyGames-CfS6qq0G.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-Dd4amKB_.cjs")).then(({default:t})=>{!customElements.get("casino-search")&&customElements.define("casino-search",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCalendar-aMUXtMPt.cjs")).then(t=>t.CasinoCalendar_ce).then(({default:t})=>{!customElements.get("casino-calendar")&&customElements.define("casino-calendar",t.element)})}function zt(a){e.append_styles(a,"svelte-9rd7rv","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}")}function mt(a,t,s){const n=a.slice();return n[127]=t[s],n[129]=s,n}const Nt=a=>({}),ct=a=>({class:e.isMobile(a[86])?"":"JackpotsContainer"});function At(a){let t,s,n,l,r,o,d,c,h,m=a[21]=="true"&&Q==!1&&!a[83]&&ut(a),p=a[22]=="true"&&Q==!1&&!a[83]&&_t(a);const S=[Ht,Yt],g=[];function L(_,b){return _[77]?0:_[83]?-1:1}~(o=L(a))&&(d=g[o]=S[o](a));let w=a[79]&&a[16]=="true"&&bt(a);return{c(){t=e.element("section"),s=e.element("casino-search"),n=e.space(),m&&m.c(),l=e.space(),p&&p.c(),r=e.space(),d&&d.c(),c=e.space(),w&&w.c(),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"datasource",a[3]),e.set_custom_element_data(s,"showgamename",a[19]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"integratedgameframedesktop",a[31]),e.set_custom_element_data(s,"integratedgameframemobile",a[32]),e.set_custom_element_data(s,"translationurl",a[11]),e.set_custom_element_data(s,"showfavorites",a[15]),e.attr(t,"class","CategoriesLobby")},m(_,b){e.insert(_,t,b),e.append(t,s),e.append(t,n),m&&m.m(t,null),e.append(t,l),p&&p.m(t,null),e.append(t,r),~o&&g[o].m(t,null),e.append(t,c),w&&w.m(t,null),h=!0},p(_,b){(!h||b[0]&2)&&e.set_custom_element_data(s,"endpoint",_[1]),(!h||b[0]&8)&&e.set_custom_element_data(s,"datasource",_[3]),(!h||b[0]&524288)&&e.set_custom_element_data(s,"showgamename",_[19]),(!h||b[0]&32)&&e.set_custom_element_data(s,"lang",_[5]),(!h||b[0]&256)&&e.set_custom_element_data(s,"clientstyling",_[8]),(!h||b[0]&1024)&&e.set_custom_element_data(s,"clientstylingurl",_[10]),(!h||b[1]&1)&&e.set_custom_element_data(s,"integratedgameframedesktop",_[31]),(!h||b[1]&2)&&e.set_custom_element_data(s,"integratedgameframemobile",_[32]),(!h||b[0]&2048)&&e.set_custom_element_data(s,"translationurl",_[11]),(!h||b[0]&32768)&&e.set_custom_element_data(s,"showfavorites",_[15]),_[21]=="true"&&Q==!1&&!_[83]?m?m.p(_,b):(m=ut(_),m.c(),m.m(t,l)):m&&(m.d(1),m=null),_[22]=="true"&&Q==!1&&!_[83]?p?p.p(_,b):(p=_t(_),p.c(),p.m(t,r)):p&&(p.d(1),p=null);let k=o;o=L(_),o===k?~o&&g[o].p(_,b):(d&&(e.group_outros(),e.transition_out(g[k],1,1,()=>{g[k]=null}),e.check_outros()),~o?(d=g[o],d?d.p(_,b):(d=g[o]=S[o](_),d.c()),e.transition_in(d,1),d.m(t,c)):d=null),_[79]&&_[16]=="true"?w?w.p(_,b):(w=bt(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null)},i(_){h||(e.transition_in(d),h=!0)},o(_){e.transition_out(d),h=!1},d(_){_&&e.detach(t),m&&m.d(),p&&p.d(),~o&&g[o].d(),w&&w.d()}}}function Ut(a){let t,s=a[85]("500")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("500")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function ut(a){let t;return{c(){t=e.element("casino-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"filteredrandomgamecategories",a[23]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"gameevent",a[76]),e.set_custom_element_data(t,"randombuttonicon",a[72]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&8388608&&e.set_custom_element_data(t,"filteredrandomgamecategories",s[23]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[2]&16384&&e.set_custom_element_data(t,"gameevent",s[76]),n[2]&1024&&e.set_custom_element_data(t,"randombuttonicon",s[72]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function _t(a){let t;return{c(){t=e.element("casino-play-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"language",a[5]),e.set_custom_element_data(t,"specific-category",a[68]),e.set_custom_element_data(t,"icon-visible",a[70]),e.set_custom_element_data(t,"icon-visible-on-anim",a[71]),e.set_custom_element_data(t,"launch-by-game-card",a[69]),e.set_custom_element_data(t,"client-styling",a[8]),e.set_custom_element_data(t,"client-styling-url",a[10]),e.set_custom_element_data(t,"translation-url",a[11])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"language",s[5]),n[2]&64&&e.set_custom_element_data(t,"specific-category",s[68]),n[2]&256&&e.set_custom_element_data(t,"icon-visible",s[70]),n[2]&512&&e.set_custom_element_data(t,"icon-visible-on-anim",s[71]),n[2]&128&&e.set_custom_element_data(t,"launch-by-game-card",s[69]),n[0]&256&&e.set_custom_element_data(t,"client-styling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"client-styling-url",s[10]),n[0]&2048&&e.set_custom_element_data(t,"translation-url",s[11])},d(s){s&&e.detach(t)}}}function Yt(a){let t,s,n,l;const r=[Jt,Wt,Vt],o=[];function d(c,h){return c[82]?0:c[81]?1:2}return t=d(a),s=o[t]=r[t](a),{c(){s.c(),n=e.empty()},m(c,h){o[t].m(c,h),e.insert(c,n,h),l=!0},p(c,h){let m=t;t=d(c),t===m?o[t].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),s=o[t],s?s.p(c,h):(s=o[t]=r[t](c),s.c()),e.transition_in(s,1),s.m(n.parentNode,n))},i(c){l||(e.transition_in(s),l=!0)},o(c){e.transition_out(s),l=!1},d(c){c&&e.detach(n),o[t].d(c)}}}function Ht(a){let t,s=a[85]("loading")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("loading")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Vt(a){let t;return{c(){t=e.element("casino-games-category-section"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"categoryid",a[74]),e.set_custom_element_data(t,"categorygames","9"),e.set_custom_element_data(t,"fetchviaevent",a[66]),e.set_custom_element_data(t,"class","CategoryContainer"),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"filterbylogo",a[55]),e.set_custom_element_data(t,"addfilterselector",a[53]),e.set_custom_element_data(t,"addsortingselector",a[54]),e.set_custom_element_data(t,"casinogamesgridslider",a[25])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[2]&4096&&e.set_custom_element_data(t,"categoryid",s[74]),n[2]&16&&e.set_custom_element_data(t,"fetchviaevent",s[66]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&16777216&&e.set_custom_element_data(t,"filterbylogo",s[55]),n[1]&4194304&&e.set_custom_element_data(t,"addfilterselector",s[53]),n[1]&8388608&&e.set_custom_element_data(t,"addsortingselector",s[54]),n[0]&33554432&&e.set_custom_element_data(t,"casinogamesgridslider",s[25])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Wt(a){let t;return{c(){t=e.element("casino-my-games"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"mostplayed",a[57]),e.set_custom_element_data(t,"lastplayed",a[58]),e.set_custom_element_data(t,"filteredcategories",a[17]),e.set_custom_element_data(t,"activecategory",a[18]),e.set_custom_element_data(t,"lastplayedunique",a[63]),e.set_custom_element_data(t,"categoryindex","0"),e.set_custom_element_data(t,"categoryid","MYGAMES"),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"lastplayedperiod",a[59]),e.set_custom_element_data(t,"mostplayedperiod",a[60]),e.set_custom_element_data(t,"lastplayedorder",a[61]),e.set_custom_element_data(t,"lastplayedlimit",a[62]),e.set_custom_element_data(t,"mostplayedrounds",a[64])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[1]&67108864&&e.set_custom_element_data(t,"mostplayed",s[57]),n[1]&134217728&&e.set_custom_element_data(t,"lastplayed",s[58]),n[0]&131072&&e.set_custom_element_data(t,"filteredcategories",s[17]),n[0]&262144&&e.set_custom_element_data(t,"activecategory",s[18]),n[2]&2&&e.set_custom_element_data(t,"lastplayedunique",s[63]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&268435456&&e.set_custom_element_data(t,"lastplayedperiod",s[59]),n[1]&536870912&&e.set_custom_element_data(t,"mostplayedperiod",s[60]),n[1]&1073741824&&e.set_custom_element_data(t,"lastplayedorder",s[61]),n[2]&1&&e.set_custom_element_data(t,"lastplayedlimit",s[62]),n[2]&4&&e.set_custom_element_data(t,"mostplayedrounds",s[64])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Jt(a){let t,s,n=e.ensure_array_like(a[84]),l=[];for(let o=0;o<n.length;o+=1)l[o]=ht(mt(a,n,o));const r=o=>e.transition_out(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o<l.length;o+=1)l[o].c();t=e.empty()},m(o,d){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(o,d);e.insert(o,t,d),s=!0},p(o,d){if(d[0]&2132344831|d[1]&67108863|d[2]&289407032){n=e.ensure_array_like(o[84]);let c;for(c=0;c<n.length;c+=1){const h=mt(o,n,c);l[c]?(l[c].p(h,d),e.transition_in(l[c],1)):(l[c]=ht(h),l[c].c(),e.transition_in(l[c],1),l[c].m(t.parentNode,t))}for(e.group_outros(),c=n.length;c<l.length;c+=1)r(c);e.check_outros()}},i(o){if(!s){for(let d=0;d<n.length;d+=1)e.transition_in(l[d]);s=!0}},o(o){l=l.filter(Boolean);for(let d=0;d<l.length;d+=1)e.transition_out(l[d]);s=!1},d(o){o&&e.detach(t),e.destroy_each(l,o)}}}function dt(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-winners"),e.set_custom_element_data(s,"session",a[6]),e.set_custom_element_data(s,"userid",a[7]),e.set_custom_element_data(s,"periodrecent",a[33]),e.set_custom_element_data(s,"periodtop",a[34]),e.set_custom_element_data(s,"numberusersrecent",a[35]),e.set_custom_element_data(s,"numberuserstop",a[36]),e.set_custom_element_data(s,"amountlimit",a[37]),e.set_custom_element_data(s,"isrecentavailable",a[30]),e.set_custom_element_data(s,"istopavailable",a[29]),e.set_custom_element_data(s,"defaultcurrency",a[38]),e.set_custom_element_data(s,"usercurrency",a[4]),e.set_custom_element_data(s,"enableautoscroll",a[28]),e.set_custom_element_data(s,"tabsorder",a[27]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"winnersdatasources",a[65]),e.attr(t,"class","CasinoWinners")},m(n,l){e.insert(n,t,l),e.append(t,s)},p(n,l){l[0]&64&&e.set_custom_element_data(s,"session",n[6]),l[0]&128&&e.set_custom_element_data(s,"userid",n[7]),l[1]&4&&e.set_custom_element_data(s,"periodrecent",n[33]),l[1]&8&&e.set_custom_element_data(s,"periodtop",n[34]),l[1]&16&&e.set_custom_element_data(s,"numberusersrecent",n[35]),l[1]&32&&e.set_custom_element_data(s,"numberuserstop",n[36]),l[1]&64&&e.set_custom_element_data(s,"amountlimit",n[37]),l[0]&1073741824&&e.set_custom_element_data(s,"isrecentavailable",n[30]),l[0]&536870912&&e.set_custom_element_data(s,"istopavailable",n[29]),l[1]&128&&e.set_custom_element_data(s,"defaultcurrency",n[38]),l[0]&16&&e.set_custom_element_data(s,"usercurrency",n[4]),l[0]&268435456&&e.set_custom_element_data(s,"enableautoscroll",n[28]),l[0]&134217728&&e.set_custom_element_data(s,"tabsorder",n[27]),l[0]&32&&e.set_custom_element_data(s,"lang",n[5]),l[0]&256&&e.set_custom_element_data(s,"clientstyling",n[8]),l[0]&1024&&e.set_custom_element_data(s,"clientstylingurl",n[10]),l[0]&2&&e.set_custom_element_data(s,"endpoint",n[1]),l[2]&8&&e.set_custom_element_data(s,"winnersdatasources",n[65])},d(n){n&&e.detach(t)}}}function ft(a){let t,s,n;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-calendar"),e.set_custom_element_data(n,"userroles",a[9]),e.set_custom_element_data(n,"cmsendpoint",a[12]),e.set_custom_element_data(n,"env",a[2]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(l,r){e.insert(l,t,r),e.insert(l,s,r),e.insert(l,n,r)},p(l,r){r[0]&512&&e.set_custom_element_data(n,"userroles",l[9]),r[0]&4096&&e.set_custom_element_data(n,"cmsendpoint",l[12]),r[0]&4&&e.set_custom_element_data(n,"env",l[2]),r[0]&32&&e.set_custom_element_data(n,"lang",l[5]),r[0]&256&&e.set_custom_element_data(n,"clientstyling",l[8]),r[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",l[10])},d(l){l&&(e.detach(t),e.detach(s),e.detach(n))}}}function gt(a){let t,s,n;const l=a[91]["je-jackpots-widget"],r=e.create_slot(l,a,a[90],ct);return{c(){t=e.element("br"),s=e.space(),r&&r.c()},m(o,d){e.insert(o,t,d),e.insert(o,s,d),r&&r.m(o,d),n=!0},p(o,d){r&&r.p&&(!n||d[2]&268435456)&&e.update_slot_base(r,l,o,o[90],n?e.get_slot_changes(l,o[90],d,Nt):e.get_all_dirty_from_scope(o[90]),ct)},i(o){n||(e.transition_in(r,o),n=!0)},o(o){e.transition_out(r,o),n=!1},d(o){o&&(e.detach(t),e.detach(s)),r&&r.d(o)}}}function Kt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Jackpot Cards"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","999"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc","/assets/background0.jpg"),e.set_custom_element_data(n,"backgroundsrcmobile","/assets/background0.jpg"),e.set_custom_element_data(n,"titlelogopath","/assets/jackpots_logo.svg"),e.set_custom_element_data(n,"caticon0","/assets/icon3.svg"),e.set_custom_element_data(n,"caticon1","/assets/icon2.svg"),e.set_custom_element_data(n,"caticon2","/assets/icon1.svg"),e.set_custom_element_data(n,"caticon3","/assets/icon0.svg"),e.set_custom_element_data(n,"visualstructure","typeSpread"),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Qt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Egypt Quest"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","998"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc",a[44]),e.set_custom_element_data(n,"backgroundsrcmobile",a[45]),e.set_custom_element_data(n,"titlelogopath",a[46]),e.set_custom_element_data(n,"caticon0",a[40]),e.set_custom_element_data(n,"caticon1",a[41]),e.set_custom_element_data(n,"caticon2",a[42]),e.set_custom_element_data(n,"caticon3",a[43]),e.set_custom_element_data(n,"iconlabels",a[47]),e.set_custom_element_data(n,"visualstructure",a[48]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[1]&8192&&e.set_custom_element_data(n,"backgroundsrc",r[44]),o[1]&16384&&e.set_custom_element_data(n,"backgroundsrcmobile",r[45]),o[1]&32768&&e.set_custom_element_data(n,"titlelogopath",r[46]),o[1]&512&&e.set_custom_element_data(n,"caticon0",r[40]),o[1]&1024&&e.set_custom_element_data(n,"caticon1",r[41]),o[1]&2048&&e.set_custom_element_data(n,"caticon2",r[42]),o[1]&4096&&e.set_custom_element_data(n,"caticon3",r[43]),o[1]&65536&&e.set_custom_element_data(n,"iconlabels",r[47]),o[1]&131072&&e.set_custom_element_data(n,"visualstructure",r[48]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Zt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type","vendor"),e.set_custom_element_data(t,"titletype","logo"),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function Xt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type",a[50]),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"titletype",a[51]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&524288&&e.set_custom_element_data(t,"type",s[50]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[1]&1048576&&e.set_custom_element_data(t,"titletype",s[51]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function ht(a){let t,s,n,l,r,o,d,c,h,m,p,S,g,L,w,_=a[26]&&a[129]==+a[26]&&dt(a),b=a[56]&&a[129]==+a[56]&&ft(a),k=a[67]&&a[129]==+a[67]&&gt(a);function q(f,u){if(u[1]&256|u[2]&4194304&&(l=null),u[1]&256|u[2]&4194304&&(r=null),l==null&&(l=!!(f[39]&&f[129]==(f[39].split(",")[0]==""?f[84].length:+f[39].split(",")[0]))),l)return Qt;if(r==null&&(r=!!(f[39]&&f[129]==(f[39].split(",")[1]==""?f[84].length:+f[39].split(",")[1]))),r)return Kt}let G=q(a,[-1,-1,-1,-1,-1]),E=G&&G(a);function D(f,u){if(u[1]&262144|u[2]&4194304&&(d=null),u[1]&262144|u[2]&4194304&&(c=null),d==null&&(d=!!(f[49]&&f[129]==(f[49].split(",")[0]==""?f[84].length:+f[49].split(",")[0]))),d)return Xt;if(c==null&&(c=!!(f[49]&&f[129]==(f[49].split(",")[1]==""?f[84].length:+f[49].split(",")[1]))),c)return Zt}let M=D(a,[-1,-1,-1,-1,-1]),C=M&&M(a);return{c(){_&&_.c(),t=e.space(),b&&b.c(),s=e.space(),k&&k.c(),n=e.space(),E&&E.c(),o=e.space(),C&&C.c(),h=e.space(),m=e.element("casino-games-category-section"),e.set_custom_element_data(m,"session",a[6]),e.set_custom_element_data(m,"userid",a[7]),e.set_custom_element_data(m,"endpoint",a[1]),e.set_custom_element_data(m,"datasource",a[3]),e.set_custom_element_data(m,"lang",a[5]),e.set_custom_element_data(m,"currency",a[4]),e.set_custom_element_data(m,"categoryid",p=a[127]),e.set_custom_element_data(m,"categoryindex",a[129]),e.set_custom_element_data(m,"categorygames","9"),e.set_custom_element_data(m,"fetchviaevent",a[66]),e.set_custom_element_data(m,"favorites",a[15]),e.set_custom_element_data(m,"showgamename",a[19]),e.set_custom_element_data(m,"translationurl",a[11]),e.set_custom_element_data(m,"class","CategoryContainer"),e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),e.set_custom_element_data(m,"clientstyling",a[8]),e.set_custom_element_data(m,"clientstylingurl",a[10]),e.set_custom_element_data(m,"livecasino",a[20]),e.set_custom_element_data(m,"visiblegames",a[14]),e.set_custom_element_data(m,"gamepagemodalurl",a[24]),e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),e.set_custom_element_data(m,"integratedgameframemobile",a[32]),e.set_custom_element_data(m,"casinomygames",a[0]),e.set_custom_element_data(m,"filterbylogo",a[55]),e.set_custom_element_data(m,"addfilterselector",a[53]),e.set_custom_element_data(m,"addsortingselector",a[54]),e.set_custom_element_data(m,"casinogamesgridslider",a[25])},m(f,u){_&&_.m(f,u),e.insert(f,t,u),b&&b.m(f,u),e.insert(f,s,u),k&&k.m(f,u),e.insert(f,n,u),E&&E.m(f,u),e.insert(f,o,u),C&&C.m(f,u),e.insert(f,h,u),e.insert(f,m,u),g=!0,L||(w=e.action_destroyer(S=a[87].call(null,m,a[127])),L=!0)},p(f,u){a=f,a[26]&&a[129]==+a[26]?_?_.p(a,u):(_=dt(a),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),a[56]&&a[129]==+a[56]?b?b.p(a,u):(b=ft(a),b.c(),b.m(s.parentNode,s)):b&&(b.d(1),b=null),a[67]&&a[129]==+a[67]?k?(k.p(a,u),u[2]&32&&e.transition_in(k,1)):(k=gt(a),k.c(),e.transition_in(k,1),k.m(n.parentNode,n)):k&&(e.group_outros(),e.transition_out(k,1,1,()=>{k=null}),e.check_outros()),G===(G=q(a,u))&&E?E.p(a,u):(E&&E.d(1),E=G&&G(a),E&&(E.c(),E.m(o.parentNode,o))),M===(M=D(a,u))&&C?C.p(a,u):(C&&C.d(1),C=M&&M(a),C&&(C.c(),C.m(h.parentNode,h))),(!g||u[0]&64)&&e.set_custom_element_data(m,"session",a[6]),(!g||u[0]&128)&&e.set_custom_element_data(m,"userid",a[7]),(!g||u[0]&2)&&e.set_custom_element_data(m,"endpoint",a[1]),(!g||u[0]&8)&&e.set_custom_element_data(m,"datasource",a[3]),(!g||u[0]&32)&&e.set_custom_element_data(m,"lang",a[5]),(!g||u[0]&16)&&e.set_custom_element_data(m,"currency",a[4]),(!g||u[2]&4194304&&p!==(p=a[127]))&&e.set_custom_element_data(m,"categoryid",p),(!g||u[2]&16)&&e.set_custom_element_data(m,"fetchviaevent",a[66]),(!g||u[0]&32768)&&e.set_custom_element_data(m,"favorites",a[15]),(!g||u[0]&524288)&&e.set_custom_element_data(m,"showgamename",a[19]),(!g||u[0]&2048)&&e.set_custom_element_data(m,"translationurl",a[11]),(!g||u[0]&8192)&&e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),(!g||u[0]&256)&&e.set_custom_element_data(m,"clientstyling",a[8]),(!g||u[0]&1024)&&e.set_custom_element_data(m,"clientstylingurl",a[10]),(!g||u[0]&1048576)&&e.set_custom_element_data(m,"livecasino",a[20]),(!g||u[0]&16384)&&e.set_custom_element_data(m,"visiblegames",a[14]),(!g||u[0]&16777216)&&e.set_custom_element_data(m,"gamepagemodalurl",a[24]),(!g||u[1]&1)&&e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),(!g||u[1]&2)&&e.set_custom_element_data(m,"integratedgameframemobile",a[32]),(!g||u[0]&1)&&e.set_custom_element_data(m,"casinomygames",a[0]),(!g||u[1]&16777216)&&e.set_custom_element_data(m,"filterbylogo",a[55]),(!g||u[1]&4194304)&&e.set_custom_element_data(m,"addfilterselector",a[53]),(!g||u[1]&8388608)&&e.set_custom_element_data(m,"addsortingselector",a[54]),(!g||u[0]&33554432)&&e.set_custom_element_data(m,"casinogamesgridslider",a[25]),S&&e.is_function(S.update)&&u[2]&4194304&&S.update.call(null,a[127])},i(f){g||(e.transition_in(k),g=!0)},o(f){e.transition_out(k),g=!1},d(f){f&&(e.detach(t),e.detach(s),e.detach(n),e.detach(o),e.detach(h),e.detach(m)),_&&_.d(f),b&&b.d(f),k&&k.d(f),E&&E.d(f),C&&C.d(f),L=!1,w()}}}function bt(a){let t,s,n=a[85]("breakButton")+"",l;return{c(){t=e.element("div"),s=e.element("button"),l=e.text(n),e.attr(s,"class","PanicButton "+(e.getDevice(a[86])!=="PC"?"PanicButtonMobile ":"")),e.toggle_class(s,"PanicButtonAnimation",a[80]),e.attr(t,"class","PanicSection "+(e.getDevice(a[86])!=="PC"?"PanicSectionMobile":""))},m(r,o){e.insert(r,t,o),e.append(t,s),e.append(s,l),a[92](s)},p(r,o){o[2]&8388608&&n!==(n=r[85]("breakButton")+"")&&e.set_data(l,n),o[2]&262144&&e.toggle_class(s,"PanicButtonAnimation",r[80])},d(r){r&&e.detach(t),a[92](null)}}}function xt(a){let t,s,n,l;const r=[Ut,At],o=[];function d(c,h){return c[78]?0:1}return s=d(a),n=o[s]=r[s](a),{c(){t=e.element("div"),n.c()},m(c,h){e.insert(c,t,h),o[s].m(t,null),a[93](t),l=!0},p(c,h){let m=s;s=d(c),s===m?o[s].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),n=o[s],n?n.p(c,h):(n=o[s]=r[s](c),n.c()),e.transition_in(n,1),n.m(t,null))},i(c){l||(e.transition_in(n),l=!0)},o(c){e.transition_out(n),l=!1},d(c){c&&e.detach(t),o[s].d(),a[93](null)}}}let Q=!1;function $t(a,t,s){let n;e.component_subscribe(a,e.$format,i=>s(85,n=i));let{$$slots:l={},$$scope:r}=t,{endpoint:o=""}=t,{env:d=""}=t,{datasource:c=""}=t,{currency:h=""}=t,{lang:m=""}=t,{session:p=""}=t,{userid:S=""}=t,{clientstyling:g=""}=t,{userroles:L=""}=t,{clientstylingurl:w=""}=t,{translationurl:_=""}=t,{cmsendpoint:b=""}=t,{categorybackground:k=""}=t,{visiblegames:q}=t,{favorites:G=""}=t,{haspanicbutton:E="false"}=t,{filteredcategories:D=""}=t,{activecategory:M=""}=t,{showgamename:C=""}=t,{livecasino:f="false"}=t,{playrandomgame:u="false"}=t,{randomgameslider:ie="false"}=t,{filteredrandomgamecategories:oe=""}=t,{gamepagemodalurl:le="false"}=t,{casinogamesgridslider:re="false"}=t,{positionwinnerswidget:me=""}=t,{tabsorder:ce=""}=t,{enableautoscroll:ue=""}=t,{istopavailable:_e=""}=t,{isrecentavailable:de=""}=t,{integratedgameframedesktop:fe="false"}=t,{integratedgameframemobile:ge="false"}=t,{periodrecent:he=""}=t,{periodtop:be=""}=t,{numberusersrecent:ye=""}=t,{numberuserstop:ke=""}=t,{amountlimit:pe=""}=t,{defaultcurrency:we=""}=t,{showsubgroups:Z=""}=t,{positionjackpotbanners:ve=""}=t,{caticon0:Ee=""}=t,{caticon1:Ce=""}=t,{caticon2:je=""}=t,{caticon3:Pe=""}=t,{backgroundsrc:Se=""}=t,{backgroundsrcmobile:Me=""}=t,{titlelogopath:Le=""}=t,{iconlabels:Ge=""}=t,{visualstructure:Fe=""}=t,{positioncollections:De=""}=t,{type:Ie=""}=t,{titletype:Te=""}=t,{collectionprovidersgamenames:Be=""}=t,{addfilterselector:Oe="false"}=t,{addsortingselector:qe="false"}=t,{filterbylogo:Re=""}=t,{positioncasinocalendar:ze=""}=t,{casinomygames:Y="false"}=t,{mostplayed:X=""}=t,{lastplayed:x=""}=t,{lastplayedperiod:Ne="Last30Days"}=t,{mostplayedperiod:Ae="Last30Days"}=t,{lastplayedorder:Ue=""}=t,{lastplayedlimit:Ye=""}=t,{lastplayedunique:He="true"}=t,{mostplayedrounds:Ve=""}=t,{winnersdatasources:We=""}=t,{fetchviaevent:Je="true"}=t,{positionjelobbywidget:Ke=""}=t,{specificcategory:Qe=""}=t,{launchbygamecard:Ze=""}=t,{iconvisible:Xe=""}=t,{iconvisibleonanim:xe=""}=t,{randombuttonicon:$e=""}=t,$=window.navigator.userAgent,ee;e.isMobile($)?ee="OpenGameFrame":ee="ShowGameModal";let F=!1,R=!1,et=!1,z="",y,H=!1,V=0,te,I=!1,T=!0,se=!1,tt=[],P,B=[],kt,U,W,st=!1,at,pt,ae="",O,nt=!1;qt({withLocale:"en",translations:{}});const wt=()=>{let i=new URL(_);fetch(i.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(N=>{lt(N,v[N])})}).catch(v=>{console.log(v)})};Object.keys(rt).forEach(i=>{lt(i,rt[i])});const ne=i=>{switch(st=!0,s(0,Y="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:st},window.location.href)}),i.data.itemId){case"LOBBY":s(82,T=!0),s(81,I=!1),s(74,P="");break;case"MYGAMES":s(0,Y="true"),s(82,T=!1),s(81,I=!0),s(74,P="");break;case"FAVORITES":s(82,T=!1),s(81,I=!0),s(74,P="");break;case"MOSTPLAYED":X=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;case"LASTPLAYED":x=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;default:s(82,T=!1),s(81,I=!1),s(74,P=i.data.itemId);break}},it=i=>{if(i.data)switch(i.data.type){case"CategoryChange":ne(i);break;case"UserSessionID":i.data.session,i.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:ae,origin:i.data.origin},window.location.href);break;case"CategoryVendors":ae=i.data.categoryid;break;case"searchCancelled":s(83,se=!1),P&&ne({data:{itemId:P}});break;case"searchActive":s(83,se=!0);break;case"ModalClosed":break;case"SubgroupsIds":B.some(v=>i.data.subGroupsIds.includes(v))||B.push(...i.data.subGroupsIds);break}},vt=i=>new Promise((v,N)=>{s(77,F=!0),fetch(i).then(j=>j.json()).then(j=>{s(77,F=!1),v(j)}).catch(j=>{s(78,R=!0),s(77,F=!1),console.error(j),N(j)})}),Et=(i,v)=>{ae=v,window.postMessage({type:`CategoryData_${v}`,categoryId:v,visiblegames:q,receivedFavoriteResults:pt},window.location.href)},ot=()=>{U&&(W=U.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>W||W>130},Ct=()=>(o||(z="Endpoint is missing! Please provide a valid endpointURL.",s(78,R=!0),s(77,F=!1),console.error(z)),c||(z="Datasource is missing! Please provide a valid datasource.",s(78,R=!0),s(77,F=!1),console.error(z)),(!m||m.length<2)&&(z="Language is missing! Please provide a valid language (alpha2code)",s(78,R=!0),s(77,F=!1),console.error(z)),R),jt=()=>{nt&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:P},window.location.href)},500),nt=!1},Pt=()=>{if(!Ct()){s(77,F=!0),Rt(m);let i=new URL(`${o}/v1/casino/groups/${c}`);i.searchParams.append("language",m),i.searchParams.append("platform",e.getDevice($)),vt(i).then(v=>{let N=D.split(",");v&&(at=v.items.filter(j=>{let A;if(j.games.total>0&&(A=!0,D))for(let Ot of N)j.flags==Ot&&(A=!1);return A}),s(84,tt=at.filter(j=>{var A;return!(((A=j==null?void 0:j.subGroups)==null?void 0:A.count)>0&&Z=="true")}).map(j=>j.id)),s(89,B=v.items.map(j=>j.id.toString())),s(77,F=!1))}),U=kt,U&&(W=U.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}},St=()=>{s(74,P=M),ne({data:{itemId:P}})},Mt=()=>{B&&!B.includes(decodeURI(P))&&P!=""&&window.postMessage({type:"NonExistentCategory"},window.location.href)},Lt=()=>{s(79,et=!0)},J=i=>{V=0,te=setInterval(()=>{V+=1,s(80,H=!0),V>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(te))},1e3)},K=i=>{V<3&&s(80,H=!1),clearInterval(te)},Gt=()=>{y==null||y.addEventListener("mousedown",J,!1),y==null||y.addEventListener("touchstart",J,!1),y==null||y.addEventListener("mouseup",K,!1),y==null||y.addEventListener("touchend",K,!1)},Ft=()=>{s(80,H=!1),y==null||y.removeEventListener("mousedown",J),y==null||y.removeEventListener("touchstart",J),y==null||y.removeEventListener("mouseup",K),y==null||y.removeEventListener("touchend",K)},Dt=()=>{let i=document.createElement("style");i.innerHTML=g,O.appendChild(i)},It=()=>{let i=document.createElement("style");fetch(new URL(w)).then(v=>v.text()).then(v=>{i.innerHTML=v,setTimeout(()=>{O.appendChild(i)},1)})};e.onMount(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",it,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",it),Ft()}));function Tt(i){e.binding_callbacks[i?"unshift":"push"](()=>{y=i,s(73,y)})}function Bt(i){e.binding_callbacks[i?"unshift":"push"](()=>{O=i,s(75,O)})}return a.$$set=i=>{"endpoint"in i&&s(1,o=i.endpoint),"env"in i&&s(2,d=i.env),"datasource"in i&&s(3,c=i.datasource),"currency"in i&&s(4,h=i.currency),"lang"in i&&s(5,m=i.lang),"session"in i&&s(6,p=i.session),"userid"in i&&s(7,S=i.userid),"clientstyling"in i&&s(8,g=i.clientstyling),"userroles"in i&&s(9,L=i.userroles),"clientstylingurl"in i&&s(10,w=i.clientstylingurl),"translationurl"in i&&s(11,_=i.translationurl),"cmsendpoint"in i&&s(12,b=i.cmsendpoint),"categorybackground"in i&&s(13,k=i.categorybackground),"visiblegames"in i&&s(14,q=i.visiblegames),"favorites"in i&&s(15,G=i.favorites),"haspanicbutton"in i&&s(16,E=i.haspanicbutton),"filteredcategories"in i&&s(17,D=i.filteredcategories),"activecategory"in i&&s(18,M=i.activecategory),"showgamename"in i&&s(19,C=i.showgamename),"livecasino"in i&&s(20,f=i.livecasino),"playrandomgame"in i&&s(21,u=i.playrandomgame),"randomgameslider"in i&&s(22,ie=i.randomgameslider),"filteredrandomgamecategories"in i&&s(23,oe=i.filteredrandomgamecategories),"gamepagemodalurl"in i&&s(24,le=i.gamepagemodalurl),"casinogamesgridslider"in i&&s(25,re=i.casinogamesgridslider),"positionwinnerswidget"in i&&s(26,me=i.positionwinnerswidget),"tabsorder"in i&&s(27,ce=i.tabsorder),"enableautoscroll"in i&&s(28,ue=i.enableautoscroll),"istopavailable"in i&&s(29,_e=i.istopavailable),"isrecentavailable"in i&&s(30,de=i.isrecentavailable),"integratedgameframedesktop"in i&&s(31,fe=i.integratedgameframedesktop),"integratedgameframemobile"in i&&s(32,ge=i.integratedgameframemobile),"periodrecent"in i&&s(33,he=i.periodrecent),"periodtop"in i&&s(34,be=i.periodtop),"numberusersrecent"in i&&s(35,ye=i.numberusersrecent),"numberuserstop"in i&&s(36,ke=i.numberuserstop),"amountlimit"in i&&s(37,pe=i.amountlimit),"defaultcurrency"in i&&s(38,we=i.defaultcurrency),"showsubgroups"in i&&s(88,Z=i.showsubgroups),"positionjackpotbanners"in i&&s(39,ve=i.positionjackpotbanners),"caticon0"in i&&s(40,Ee=i.caticon0),"caticon1"in i&&s(41,Ce=i.caticon1),"caticon2"in i&&s(42,je=i.caticon2),"caticon3"in i&&s(43,Pe=i.caticon3),"backgroundsrc"in i&&s(44,Se=i.backgroundsrc),"backgroundsrcmobile"in i&&s(45,Me=i.backgroundsrcmobile),"titlelogopath"in i&&s(46,Le=i.titlelogopath),"iconlabels"in i&&s(47,Ge=i.iconlabels),"visualstructure"in i&&s(48,Fe=i.visualstructure),"positioncollections"in i&&s(49,De=i.positioncollections),"type"in i&&s(50,Ie=i.type),"titletype"in i&&s(51,Te=i.titletype),"collectionprovidersgamenames"in i&&s(52,Be=i.collectionprovidersgamenames),"addfilterselector"in i&&s(53,Oe=i.addfilterselector),"addsortingselector"in i&&s(54,qe=i.addsortingselector),"filterbylogo"in i&&s(55,Re=i.filterbylogo),"positioncasinocalendar"in i&&s(56,ze=i.positioncasinocalendar),"casinomygames"in i&&s(0,Y=i.casinomygames),"mostplayed"in i&&s(57,X=i.mostplayed),"lastplayed"in i&&s(58,x=i.lastplayed),"lastplayedperiod"in i&&s(59,Ne=i.lastplayedperiod),"mostplayedperiod"in i&&s(60,Ae=i.mostplayedperiod),"lastplayedorder"in i&&s(61,Ue=i.lastplayedorder),"lastplayedlimit"in i&&s(62,Ye=i.lastplayedlimit),"lastplayedunique"in i&&s(63,He=i.lastplayedunique),"mostplayedrounds"in i&&s(64,Ve=i.mostplayedrounds),"winnersdatasources"in i&&s(65,We=i.winnersdatasources),"fetchviaevent"in i&&s(66,Je=i.fetchviaevent),"positionjelobbywidget"in i&&s(67,Ke=i.positionjelobbywidget),"specificcategory"in i&&s(68,Qe=i.specificcategory),"launchbygamecard"in i&&s(69,Ze=i.launchbygamecard),"iconvisible"in i&&s(70,Xe=i.iconvisible),"iconvisibleonanim"in i&&s(71,xe=i.iconvisibleonanim),"randombuttonicon"in i&&s(72,$e=i.randombuttonicon),"$$scope"in i&&s(90,r=i.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&262176&&m&&M&&St(),a.$$.dirty[0]&194&&p&&S&&o&&Lt(),a.$$.dirty[2]&134221824&&P&&B&&Mt(),a.$$.dirty[0]&42&&o&&c&&m&&Pt(),a.$$.dirty[0]&32&&m&&jt(),a.$$.dirty[0]&2048&&_&&wt(),a.$$.dirty[0]&256|a.$$.dirty[2]&8192&&g&&O&&Dt(),a.$$.dirty[0]&1024|a.$$.dirty[2]&8192&&w&&O&&It(),a.$$.dirty[2]&2048&&y&&Gt()},[Y,o,d,c,h,m,p,S,g,L,w,_,b,k,q,G,E,D,M,C,f,u,ie,oe,le,re,me,ce,ue,_e,de,fe,ge,he,be,ye,ke,pe,we,ve,Ee,Ce,je,Pe,Se,Me,Le,Ge,Fe,De,Ie,Te,Be,Oe,qe,Re,ze,X,x,Ne,Ae,Ue,Ye,He,Ve,We,Je,Ke,Qe,Ze,Xe,xe,$e,y,P,O,ee,F,R,et,H,I,T,se,tt,n,$,Et,Z,B,r,l,Tt,Bt]}class yt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$t,xt,e.safe_not_equal,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},zt,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get env(){return this.$$.ctx[2]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get userroles(){return this.$$.ctx[9]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(t){this.$$set({categorybackground:t}),e.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get activecategory(){return this.$$.ctx[18]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get showgamename(){return this.$$.ctx[19]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[20]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[34]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[40]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[41]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[42]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[43]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[50]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[51]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(t){this.$$set({lastplayed: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 mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}}e.create_custom_element(yt,{endpoint:{},env:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},userroles:{},clientstylingurl:{},translationurl:{},cmsendpoint:{},categorybackground:{},visiblegames:{},favorites:{},haspanicbutton:{},filteredcategories:{},activecategory:{},showgamename:{},livecasino:{},playrandomgame:{},randomgameslider:{},filteredrandomgamecategories:{},gamepagemodalurl:{},casinogamesgridslider:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},integratedgameframedesktop:{},integratedgameframemobile:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},showsubgroups:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},visualstructure:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},positioncasinocalendar:{},casinomygames:{},mostplayed:{},lastplayed:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},winnersdatasources:{},fetchviaevent:{},positionjelobbywidget:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},randombuttonicon:{}},["je-jackpots-widget"],[],!0);exports.default=yt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");require("./CasinoFavoritesSection-ChFh3su6.cjs");require("../stencil/casino-play-random-game-CQe5iDJ8.cjs");function qt({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function lt(a,t){e.addMessages(a,t)}function Rt(a){e.$locale.set(a)}const rt={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar"},"en-us":{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear"}};if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoRandomGame-BpdxwlFB.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoWinners-CUORt5E8.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoJackpotBanner-BlShS5Vc.cjs")).then(({default:t})=>{!customElements.get("casino-jackpot-banner")&&customElements.define("casino-jackpot-banner",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCollectionsProviders-BrLC6Grn.cjs")).then(({default:t})=>{!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoMyGames-CfS6qq0G.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSearch-Dd4amKB_.cjs")).then(({default:t})=>{!customElements.get("casino-search")&&customElements.define("casino-search",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoCalendar-aMUXtMPt.cjs")).then(t=>t.CasinoCalendar_ce).then(({default:t})=>{!customElements.get("casino-calendar")&&customElements.define("casino-calendar",t.element)})}function zt(a){e.append_styles(a,"svelte-9rd7rv","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}")}function mt(a,t,s){const n=a.slice();return n[127]=t[s],n[129]=s,n}const Nt=a=>({}),ct=a=>({class:e.isMobile(a[86])?"":"JackpotsContainer"});function At(a){let t,s,n,l,r,o,d,c,h,m=a[21]=="true"&&Q==!1&&!a[83]&&ut(a),p=a[22]=="true"&&Q==!1&&!a[83]&&_t(a);const S=[Ht,Yt],g=[];function L(_,b){return _[77]?0:_[83]?-1:1}~(o=L(a))&&(d=g[o]=S[o](a));let w=a[79]&&a[16]=="true"&&bt(a);return{c(){t=e.element("section"),s=e.element("casino-search"),n=e.space(),m&&m.c(),l=e.space(),p&&p.c(),r=e.space(),d&&d.c(),c=e.space(),w&&w.c(),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"datasource",a[3]),e.set_custom_element_data(s,"showgamename",a[19]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"integratedgameframedesktop",a[31]),e.set_custom_element_data(s,"integratedgameframemobile",a[32]),e.set_custom_element_data(s,"translationurl",a[11]),e.set_custom_element_data(s,"showfavorites",a[15]),e.attr(t,"class","CategoriesLobby")},m(_,b){e.insert(_,t,b),e.append(t,s),e.append(t,n),m&&m.m(t,null),e.append(t,l),p&&p.m(t,null),e.append(t,r),~o&&g[o].m(t,null),e.append(t,c),w&&w.m(t,null),h=!0},p(_,b){(!h||b[0]&2)&&e.set_custom_element_data(s,"endpoint",_[1]),(!h||b[0]&8)&&e.set_custom_element_data(s,"datasource",_[3]),(!h||b[0]&524288)&&e.set_custom_element_data(s,"showgamename",_[19]),(!h||b[0]&32)&&e.set_custom_element_data(s,"lang",_[5]),(!h||b[0]&256)&&e.set_custom_element_data(s,"clientstyling",_[8]),(!h||b[0]&1024)&&e.set_custom_element_data(s,"clientstylingurl",_[10]),(!h||b[1]&1)&&e.set_custom_element_data(s,"integratedgameframedesktop",_[31]),(!h||b[1]&2)&&e.set_custom_element_data(s,"integratedgameframemobile",_[32]),(!h||b[0]&2048)&&e.set_custom_element_data(s,"translationurl",_[11]),(!h||b[0]&32768)&&e.set_custom_element_data(s,"showfavorites",_[15]),_[21]=="true"&&Q==!1&&!_[83]?m?m.p(_,b):(m=ut(_),m.c(),m.m(t,l)):m&&(m.d(1),m=null),_[22]=="true"&&Q==!1&&!_[83]?p?p.p(_,b):(p=_t(_),p.c(),p.m(t,r)):p&&(p.d(1),p=null);let k=o;o=L(_),o===k?~o&&g[o].p(_,b):(d&&(e.group_outros(),e.transition_out(g[k],1,1,()=>{g[k]=null}),e.check_outros()),~o?(d=g[o],d?d.p(_,b):(d=g[o]=S[o](_),d.c()),e.transition_in(d,1),d.m(t,c)):d=null),_[79]&&_[16]=="true"?w?w.p(_,b):(w=bt(_),w.c(),w.m(t,null)):w&&(w.d(1),w=null)},i(_){h||(e.transition_in(d),h=!0)},o(_){e.transition_out(d),h=!1},d(_){_&&e.detach(t),m&&m.d(),p&&p.d(),~o&&g[o].d(),w&&w.d()}}}function Ut(a){let t,s=a[85]("500")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("500")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function ut(a){let t;return{c(){t=e.element("casino-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"filteredrandomgamecategories",a[23]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"gameevent",a[76]),e.set_custom_element_data(t,"randombuttonicon",a[72]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&8388608&&e.set_custom_element_data(t,"filteredrandomgamecategories",s[23]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[2]&16384&&e.set_custom_element_data(t,"gameevent",s[76]),n[2]&1024&&e.set_custom_element_data(t,"randombuttonicon",s[72]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function _t(a){let t;return{c(){t=e.element("casino-play-random-game"),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"language",a[5]),e.set_custom_element_data(t,"specific-category",a[68]),e.set_custom_element_data(t,"icon-visible",a[70]),e.set_custom_element_data(t,"icon-visible-on-anim",a[71]),e.set_custom_element_data(t,"launch-by-game-card",a[69]),e.set_custom_element_data(t,"client-styling",a[8]),e.set_custom_element_data(t,"client-styling-url",a[10]),e.set_custom_element_data(t,"translation-url",a[11])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&32&&e.set_custom_element_data(t,"language",s[5]),n[2]&64&&e.set_custom_element_data(t,"specific-category",s[68]),n[2]&256&&e.set_custom_element_data(t,"icon-visible",s[70]),n[2]&512&&e.set_custom_element_data(t,"icon-visible-on-anim",s[71]),n[2]&128&&e.set_custom_element_data(t,"launch-by-game-card",s[69]),n[0]&256&&e.set_custom_element_data(t,"client-styling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"client-styling-url",s[10]),n[0]&2048&&e.set_custom_element_data(t,"translation-url",s[11])},d(s){s&&e.detach(t)}}}function Yt(a){let t,s,n,l;const r=[Jt,Wt,Vt],o=[];function d(c,h){return c[82]?0:c[81]?1:2}return t=d(a),s=o[t]=r[t](a),{c(){s.c(),n=e.empty()},m(c,h){o[t].m(c,h),e.insert(c,n,h),l=!0},p(c,h){let m=t;t=d(c),t===m?o[t].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),s=o[t],s?s.p(c,h):(s=o[t]=r[t](c),s.c()),e.transition_in(s,1),s.m(n.parentNode,n))},i(c){l||(e.transition_in(s),l=!0)},o(c){e.transition_out(s),l=!1},d(c){c&&e.detach(n),o[t].d(c)}}}function Ht(a){let t,s=a[85]("loading")+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","SearchLoading")},m(l,r){e.insert(l,t,r),e.append(t,n)},p(l,r){r[2]&8388608&&s!==(s=l[85]("loading")+"")&&e.set_data(n,s)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Vt(a){let t;return{c(){t=e.element("casino-games-category-section"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"categoryid",a[74]),e.set_custom_element_data(t,"categorygames","9"),e.set_custom_element_data(t,"fetchviaevent",a[66]),e.set_custom_element_data(t,"class","CategoryContainer"),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"filterbylogo",a[55]),e.set_custom_element_data(t,"addfilterselector",a[53]),e.set_custom_element_data(t,"addsortingselector",a[54]),e.set_custom_element_data(t,"casinogamesgridslider",a[25])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[2]&4096&&e.set_custom_element_data(t,"categoryid",s[74]),n[2]&16&&e.set_custom_element_data(t,"fetchviaevent",s[66]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&16777216&&e.set_custom_element_data(t,"filterbylogo",s[55]),n[1]&4194304&&e.set_custom_element_data(t,"addfilterselector",s[53]),n[1]&8388608&&e.set_custom_element_data(t,"addsortingselector",s[54]),n[0]&33554432&&e.set_custom_element_data(t,"casinogamesgridslider",s[25])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Wt(a){let t;return{c(){t=e.element("casino-my-games"),e.set_custom_element_data(t,"userid",a[7]),e.set_custom_element_data(t,"session",a[6]),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"currency",a[4]),e.set_custom_element_data(t,"favorites",a[15]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10]),e.set_custom_element_data(t,"livecasino",a[20]),e.set_custom_element_data(t,"visiblegames",a[14]),e.set_custom_element_data(t,"gamepagemodalurl",a[24]),e.set_custom_element_data(t,"showgamename",a[19]),e.set_custom_element_data(t,"integratedgameframedesktop",a[31]),e.set_custom_element_data(t,"integratedgameframemobile",a[32]),e.set_custom_element_data(t,"translationurl",a[11]),e.set_custom_element_data(t,"mostplayed",a[57]),e.set_custom_element_data(t,"lastplayed",a[58]),e.set_custom_element_data(t,"filteredcategories",a[17]),e.set_custom_element_data(t,"activecategory",a[18]),e.set_custom_element_data(t,"lastplayedunique",a[63]),e.set_custom_element_data(t,"categoryindex","0"),e.set_custom_element_data(t,"categoryid","MYGAMES"),e.set_custom_element_data(t,"casinomygames",a[0]),e.set_custom_element_data(t,"lastplayedperiod",a[59]),e.set_custom_element_data(t,"mostplayedperiod",a[60]),e.set_custom_element_data(t,"lastplayedorder",a[61]),e.set_custom_element_data(t,"lastplayedlimit",a[62]),e.set_custom_element_data(t,"mostplayedrounds",a[64])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&128&&e.set_custom_element_data(t,"userid",s[7]),n[0]&64&&e.set_custom_element_data(t,"session",s[6]),n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[0]&16&&e.set_custom_element_data(t,"currency",s[4]),n[0]&32768&&e.set_custom_element_data(t,"favorites",s[15]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),n[0]&1048576&&e.set_custom_element_data(t,"livecasino",s[20]),n[0]&16384&&e.set_custom_element_data(t,"visiblegames",s[14]),n[0]&16777216&&e.set_custom_element_data(t,"gamepagemodalurl",s[24]),n[0]&524288&&e.set_custom_element_data(t,"showgamename",s[19]),n[1]&1&&e.set_custom_element_data(t,"integratedgameframedesktop",s[31]),n[1]&2&&e.set_custom_element_data(t,"integratedgameframemobile",s[32]),n[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),n[1]&67108864&&e.set_custom_element_data(t,"mostplayed",s[57]),n[1]&134217728&&e.set_custom_element_data(t,"lastplayed",s[58]),n[0]&131072&&e.set_custom_element_data(t,"filteredcategories",s[17]),n[0]&262144&&e.set_custom_element_data(t,"activecategory",s[18]),n[2]&2&&e.set_custom_element_data(t,"lastplayedunique",s[63]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",s[0]),n[1]&268435456&&e.set_custom_element_data(t,"lastplayedperiod",s[59]),n[1]&536870912&&e.set_custom_element_data(t,"mostplayedperiod",s[60]),n[1]&1073741824&&e.set_custom_element_data(t,"lastplayedorder",s[61]),n[2]&1&&e.set_custom_element_data(t,"lastplayedlimit",s[62]),n[2]&4&&e.set_custom_element_data(t,"mostplayedrounds",s[64])},i:e.noop,o:e.noop,d(s){s&&e.detach(t)}}}function Jt(a){let t,s,n=e.ensure_array_like(a[84]),l=[];for(let o=0;o<n.length;o+=1)l[o]=ht(mt(a,n,o));const r=o=>e.transition_out(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o<l.length;o+=1)l[o].c();t=e.empty()},m(o,d){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(o,d);e.insert(o,t,d),s=!0},p(o,d){if(d[0]&2132344831|d[1]&67108863|d[2]&289407032){n=e.ensure_array_like(o[84]);let c;for(c=0;c<n.length;c+=1){const h=mt(o,n,c);l[c]?(l[c].p(h,d),e.transition_in(l[c],1)):(l[c]=ht(h),l[c].c(),e.transition_in(l[c],1),l[c].m(t.parentNode,t))}for(e.group_outros(),c=n.length;c<l.length;c+=1)r(c);e.check_outros()}},i(o){if(!s){for(let d=0;d<n.length;d+=1)e.transition_in(l[d]);s=!0}},o(o){l=l.filter(Boolean);for(let d=0;d<l.length;d+=1)e.transition_out(l[d]);s=!1},d(o){o&&e.detach(t),e.destroy_each(l,o)}}}function dt(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-winners"),e.set_custom_element_data(s,"session",a[6]),e.set_custom_element_data(s,"userid",a[7]),e.set_custom_element_data(s,"periodrecent",a[33]),e.set_custom_element_data(s,"periodtop",a[34]),e.set_custom_element_data(s,"numberusersrecent",a[35]),e.set_custom_element_data(s,"numberuserstop",a[36]),e.set_custom_element_data(s,"amountlimit",a[37]),e.set_custom_element_data(s,"isrecentavailable",a[30]),e.set_custom_element_data(s,"istopavailable",a[29]),e.set_custom_element_data(s,"defaultcurrency",a[38]),e.set_custom_element_data(s,"usercurrency",a[4]),e.set_custom_element_data(s,"enableautoscroll",a[28]),e.set_custom_element_data(s,"tabsorder",a[27]),e.set_custom_element_data(s,"lang",a[5]),e.set_custom_element_data(s,"clientstyling",a[8]),e.set_custom_element_data(s,"clientstylingurl",a[10]),e.set_custom_element_data(s,"endpoint",a[1]),e.set_custom_element_data(s,"winnersdatasources",a[65]),e.attr(t,"class","CasinoWinners")},m(n,l){e.insert(n,t,l),e.append(t,s)},p(n,l){l[0]&64&&e.set_custom_element_data(s,"session",n[6]),l[0]&128&&e.set_custom_element_data(s,"userid",n[7]),l[1]&4&&e.set_custom_element_data(s,"periodrecent",n[33]),l[1]&8&&e.set_custom_element_data(s,"periodtop",n[34]),l[1]&16&&e.set_custom_element_data(s,"numberusersrecent",n[35]),l[1]&32&&e.set_custom_element_data(s,"numberuserstop",n[36]),l[1]&64&&e.set_custom_element_data(s,"amountlimit",n[37]),l[0]&1073741824&&e.set_custom_element_data(s,"isrecentavailable",n[30]),l[0]&536870912&&e.set_custom_element_data(s,"istopavailable",n[29]),l[1]&128&&e.set_custom_element_data(s,"defaultcurrency",n[38]),l[0]&16&&e.set_custom_element_data(s,"usercurrency",n[4]),l[0]&268435456&&e.set_custom_element_data(s,"enableautoscroll",n[28]),l[0]&134217728&&e.set_custom_element_data(s,"tabsorder",n[27]),l[0]&32&&e.set_custom_element_data(s,"lang",n[5]),l[0]&256&&e.set_custom_element_data(s,"clientstyling",n[8]),l[0]&1024&&e.set_custom_element_data(s,"clientstylingurl",n[10]),l[0]&2&&e.set_custom_element_data(s,"endpoint",n[1]),l[2]&8&&e.set_custom_element_data(s,"winnersdatasources",n[65])},d(n){n&&e.detach(t)}}}function ft(a){let t,s,n;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-calendar"),e.set_custom_element_data(n,"userroles",a[9]),e.set_custom_element_data(n,"cmsendpoint",a[12]),e.set_custom_element_data(n,"env",a[2]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(l,r){e.insert(l,t,r),e.insert(l,s,r),e.insert(l,n,r)},p(l,r){r[0]&512&&e.set_custom_element_data(n,"userroles",l[9]),r[0]&4096&&e.set_custom_element_data(n,"cmsendpoint",l[12]),r[0]&4&&e.set_custom_element_data(n,"env",l[2]),r[0]&32&&e.set_custom_element_data(n,"lang",l[5]),r[0]&256&&e.set_custom_element_data(n,"clientstyling",l[8]),r[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",l[10])},d(l){l&&(e.detach(t),e.detach(s),e.detach(n))}}}function gt(a){let t,s,n;const l=a[91]["je-jackpots-widget"],r=e.create_slot(l,a,a[90],ct);return{c(){t=e.element("br"),s=e.space(),r&&r.c()},m(o,d){e.insert(o,t,d),e.insert(o,s,d),r&&r.m(o,d),n=!0},p(o,d){r&&r.p&&(!n||d[2]&268435456)&&e.update_slot_base(r,l,o,o[90],n?e.get_slot_changes(l,o[90],d,Nt):e.get_all_dirty_from_scope(o[90]),ct)},i(o){n||(e.transition_in(r,o),n=!0)},o(o){e.transition_out(r,o),n=!1},d(o){o&&(e.detach(t),e.detach(s)),r&&r.d(o)}}}function Kt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Jackpot Cards"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","999"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc","/assets/background0.jpg"),e.set_custom_element_data(n,"backgroundsrcmobile","/assets/background0.jpg"),e.set_custom_element_data(n,"titlelogopath","/assets/jackpots_logo.svg"),e.set_custom_element_data(n,"caticon0","/assets/icon3.svg"),e.set_custom_element_data(n,"caticon1","/assets/icon2.svg"),e.set_custom_element_data(n,"caticon2","/assets/icon1.svg"),e.set_custom_element_data(n,"caticon3","/assets/icon0.svg"),e.set_custom_element_data(n,"visualstructure","typeSpread"),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Qt(a){let t,s,n,l;return{c(){t=e.element("br"),s=e.space(),n=e.element("casino-jackpot-banner"),e.set_custom_element_data(n,"title","Egypt Quest"),e.set_custom_element_data(n,"currency",l=a[4]||"RON"),e.set_custom_element_data(n,"gameid","998"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"lang",a[5]),e.set_custom_element_data(n,"backgroundsrc",a[44]),e.set_custom_element_data(n,"backgroundsrcmobile",a[45]),e.set_custom_element_data(n,"titlelogopath",a[46]),e.set_custom_element_data(n,"caticon0",a[40]),e.set_custom_element_data(n,"caticon1",a[41]),e.set_custom_element_data(n,"caticon2",a[42]),e.set_custom_element_data(n,"caticon3",a[43]),e.set_custom_element_data(n,"iconlabels",a[47]),e.set_custom_element_data(n,"visualstructure",a[48]),e.set_custom_element_data(n,"clientstyling",a[8]),e.set_custom_element_data(n,"clientstylingurl",a[10])},m(r,o){e.insert(r,t,o),e.insert(r,s,o),e.insert(r,n,o)},p(r,o){o[0]&16&&l!==(l=r[4]||"RON")&&e.set_custom_element_data(n,"currency",l),o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&32&&e.set_custom_element_data(n,"lang",r[5]),o[1]&8192&&e.set_custom_element_data(n,"backgroundsrc",r[44]),o[1]&16384&&e.set_custom_element_data(n,"backgroundsrcmobile",r[45]),o[1]&32768&&e.set_custom_element_data(n,"titlelogopath",r[46]),o[1]&512&&e.set_custom_element_data(n,"caticon0",r[40]),o[1]&1024&&e.set_custom_element_data(n,"caticon1",r[41]),o[1]&2048&&e.set_custom_element_data(n,"caticon2",r[42]),o[1]&4096&&e.set_custom_element_data(n,"caticon3",r[43]),o[1]&65536&&e.set_custom_element_data(n,"iconlabels",r[47]),o[1]&131072&&e.set_custom_element_data(n,"visualstructure",r[48]),o[0]&256&&e.set_custom_element_data(n,"clientstyling",r[8]),o[0]&1024&&e.set_custom_element_data(n,"clientstylingurl",r[10])},d(r){r&&(e.detach(t),e.detach(s),e.detach(n))}}}function Zt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type","vendor"),e.set_custom_element_data(t,"titletype","logo"),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function Xt(a){let t;return{c(){t=e.element("casino-collections-providers"),e.set_custom_element_data(t,"endpoint",a[1]),e.set_custom_element_data(t,"datasource",a[3]),e.set_custom_element_data(t,"lang",a[5]),e.set_custom_element_data(t,"type",a[50]),e.set_custom_element_data(t,"collectionprovidersgamenames",a[52]),e.set_custom_element_data(t,"titletype",a[51]),e.set_custom_element_data(t,"clientstyling",a[8]),e.set_custom_element_data(t,"clientstylingurl",a[10])},m(s,n){e.insert(s,t,n)},p(s,n){n[0]&2&&e.set_custom_element_data(t,"endpoint",s[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",s[3]),n[0]&32&&e.set_custom_element_data(t,"lang",s[5]),n[1]&524288&&e.set_custom_element_data(t,"type",s[50]),n[1]&2097152&&e.set_custom_element_data(t,"collectionprovidersgamenames",s[52]),n[1]&1048576&&e.set_custom_element_data(t,"titletype",s[51]),n[0]&256&&e.set_custom_element_data(t,"clientstyling",s[8]),n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10])},d(s){s&&e.detach(t)}}}function ht(a){let t,s,n,l,r,o,d,c,h,m,p,S,g,L,w,_=a[26]&&a[129]==+a[26]&&dt(a),b=a[56]&&a[129]==+a[56]&&ft(a),k=a[67]&&a[129]==+a[67]&&gt(a);function q(f,u){if(u[1]&256|u[2]&4194304&&(l=null),u[1]&256|u[2]&4194304&&(r=null),l==null&&(l=!!(f[39]&&f[129]==(f[39].split(",")[0]==""?f[84].length:+f[39].split(",")[0]))),l)return Qt;if(r==null&&(r=!!(f[39]&&f[129]==(f[39].split(",")[1]==""?f[84].length:+f[39].split(",")[1]))),r)return Kt}let G=q(a,[-1,-1,-1,-1,-1]),E=G&&G(a);function D(f,u){if(u[1]&262144|u[2]&4194304&&(d=null),u[1]&262144|u[2]&4194304&&(c=null),d==null&&(d=!!(f[49]&&f[129]==(f[49].split(",")[0]==""?f[84].length:+f[49].split(",")[0]))),d)return Xt;if(c==null&&(c=!!(f[49]&&f[129]==(f[49].split(",")[1]==""?f[84].length:+f[49].split(",")[1]))),c)return Zt}let M=D(a,[-1,-1,-1,-1,-1]),C=M&&M(a);return{c(){_&&_.c(),t=e.space(),b&&b.c(),s=e.space(),k&&k.c(),n=e.space(),E&&E.c(),o=e.space(),C&&C.c(),h=e.space(),m=e.element("casino-games-category-section"),e.set_custom_element_data(m,"session",a[6]),e.set_custom_element_data(m,"userid",a[7]),e.set_custom_element_data(m,"endpoint",a[1]),e.set_custom_element_data(m,"datasource",a[3]),e.set_custom_element_data(m,"lang",a[5]),e.set_custom_element_data(m,"currency",a[4]),e.set_custom_element_data(m,"categoryid",p=a[127]),e.set_custom_element_data(m,"categoryindex",a[129]),e.set_custom_element_data(m,"categorygames","9"),e.set_custom_element_data(m,"fetchviaevent",a[66]),e.set_custom_element_data(m,"favorites",a[15]),e.set_custom_element_data(m,"showgamename",a[19]),e.set_custom_element_data(m,"translationurl",a[11]),e.set_custom_element_data(m,"class","CategoryContainer"),e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),e.set_custom_element_data(m,"clientstyling",a[8]),e.set_custom_element_data(m,"clientstylingurl",a[10]),e.set_custom_element_data(m,"livecasino",a[20]),e.set_custom_element_data(m,"visiblegames",a[14]),e.set_custom_element_data(m,"gamepagemodalurl",a[24]),e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),e.set_custom_element_data(m,"integratedgameframemobile",a[32]),e.set_custom_element_data(m,"casinomygames",a[0]),e.set_custom_element_data(m,"filterbylogo",a[55]),e.set_custom_element_data(m,"addfilterselector",a[53]),e.set_custom_element_data(m,"addsortingselector",a[54]),e.set_custom_element_data(m,"casinogamesgridslider",a[25])},m(f,u){_&&_.m(f,u),e.insert(f,t,u),b&&b.m(f,u),e.insert(f,s,u),k&&k.m(f,u),e.insert(f,n,u),E&&E.m(f,u),e.insert(f,o,u),C&&C.m(f,u),e.insert(f,h,u),e.insert(f,m,u),g=!0,L||(w=e.action_destroyer(S=a[87].call(null,m,a[127])),L=!0)},p(f,u){a=f,a[26]&&a[129]==+a[26]?_?_.p(a,u):(_=dt(a),_.c(),_.m(t.parentNode,t)):_&&(_.d(1),_=null),a[56]&&a[129]==+a[56]?b?b.p(a,u):(b=ft(a),b.c(),b.m(s.parentNode,s)):b&&(b.d(1),b=null),a[67]&&a[129]==+a[67]?k?(k.p(a,u),u[2]&32&&e.transition_in(k,1)):(k=gt(a),k.c(),e.transition_in(k,1),k.m(n.parentNode,n)):k&&(e.group_outros(),e.transition_out(k,1,1,()=>{k=null}),e.check_outros()),G===(G=q(a,u))&&E?E.p(a,u):(E&&E.d(1),E=G&&G(a),E&&(E.c(),E.m(o.parentNode,o))),M===(M=D(a,u))&&C?C.p(a,u):(C&&C.d(1),C=M&&M(a),C&&(C.c(),C.m(h.parentNode,h))),(!g||u[0]&64)&&e.set_custom_element_data(m,"session",a[6]),(!g||u[0]&128)&&e.set_custom_element_data(m,"userid",a[7]),(!g||u[0]&2)&&e.set_custom_element_data(m,"endpoint",a[1]),(!g||u[0]&8)&&e.set_custom_element_data(m,"datasource",a[3]),(!g||u[0]&32)&&e.set_custom_element_data(m,"lang",a[5]),(!g||u[0]&16)&&e.set_custom_element_data(m,"currency",a[4]),(!g||u[2]&4194304&&p!==(p=a[127]))&&e.set_custom_element_data(m,"categoryid",p),(!g||u[2]&16)&&e.set_custom_element_data(m,"fetchviaevent",a[66]),(!g||u[0]&32768)&&e.set_custom_element_data(m,"favorites",a[15]),(!g||u[0]&524288)&&e.set_custom_element_data(m,"showgamename",a[19]),(!g||u[0]&2048)&&e.set_custom_element_data(m,"translationurl",a[11]),(!g||u[0]&8192)&&e.set_style(m,"background-color",a[129]%2!==0?a[13]:"transparent"),(!g||u[0]&256)&&e.set_custom_element_data(m,"clientstyling",a[8]),(!g||u[0]&1024)&&e.set_custom_element_data(m,"clientstylingurl",a[10]),(!g||u[0]&1048576)&&e.set_custom_element_data(m,"livecasino",a[20]),(!g||u[0]&16384)&&e.set_custom_element_data(m,"visiblegames",a[14]),(!g||u[0]&16777216)&&e.set_custom_element_data(m,"gamepagemodalurl",a[24]),(!g||u[1]&1)&&e.set_custom_element_data(m,"integratedgameframedesktop",a[31]),(!g||u[1]&2)&&e.set_custom_element_data(m,"integratedgameframemobile",a[32]),(!g||u[0]&1)&&e.set_custom_element_data(m,"casinomygames",a[0]),(!g||u[1]&16777216)&&e.set_custom_element_data(m,"filterbylogo",a[55]),(!g||u[1]&4194304)&&e.set_custom_element_data(m,"addfilterselector",a[53]),(!g||u[1]&8388608)&&e.set_custom_element_data(m,"addsortingselector",a[54]),(!g||u[0]&33554432)&&e.set_custom_element_data(m,"casinogamesgridslider",a[25]),S&&e.is_function(S.update)&&u[2]&4194304&&S.update.call(null,a[127])},i(f){g||(e.transition_in(k),g=!0)},o(f){e.transition_out(k),g=!1},d(f){f&&(e.detach(t),e.detach(s),e.detach(n),e.detach(o),e.detach(h),e.detach(m)),_&&_.d(f),b&&b.d(f),k&&k.d(f),E&&E.d(f),C&&C.d(f),L=!1,w()}}}function bt(a){let t,s,n=a[85]("breakButton")+"",l;return{c(){t=e.element("div"),s=e.element("button"),l=e.text(n),e.attr(s,"class","PanicButton "+(e.getDevice(a[86])!=="PC"?"PanicButtonMobile ":"")),e.toggle_class(s,"PanicButtonAnimation",a[80]),e.attr(t,"class","PanicSection "+(e.getDevice(a[86])!=="PC"?"PanicSectionMobile":""))},m(r,o){e.insert(r,t,o),e.append(t,s),e.append(s,l),a[92](s)},p(r,o){o[2]&8388608&&n!==(n=r[85]("breakButton")+"")&&e.set_data(l,n),o[2]&262144&&e.toggle_class(s,"PanicButtonAnimation",r[80])},d(r){r&&e.detach(t),a[92](null)}}}function xt(a){let t,s,n,l;const r=[Ut,At],o=[];function d(c,h){return c[78]?0:1}return s=d(a),n=o[s]=r[s](a),{c(){t=e.element("div"),n.c()},m(c,h){e.insert(c,t,h),o[s].m(t,null),a[93](t),l=!0},p(c,h){let m=s;s=d(c),s===m?o[s].p(c,h):(e.group_outros(),e.transition_out(o[m],1,1,()=>{o[m]=null}),e.check_outros(),n=o[s],n?n.p(c,h):(n=o[s]=r[s](c),n.c()),e.transition_in(n,1),n.m(t,null))},i(c){l||(e.transition_in(n),l=!0)},o(c){e.transition_out(n),l=!1},d(c){c&&e.detach(t),o[s].d(),a[93](null)}}}let Q=!1;function $t(a,t,s){let n;e.component_subscribe(a,e.$format,i=>s(85,n=i));let{$$slots:l={},$$scope:r}=t,{endpoint:o=""}=t,{env:d=""}=t,{datasource:c=""}=t,{currency:h=""}=t,{lang:m=""}=t,{session:p=""}=t,{userid:S=""}=t,{clientstyling:g=""}=t,{userroles:L=""}=t,{clientstylingurl:w=""}=t,{translationurl:_=""}=t,{cmsendpoint:b=""}=t,{categorybackground:k=""}=t,{visiblegames:q}=t,{favorites:G=""}=t,{haspanicbutton:E="false"}=t,{filteredcategories:D=""}=t,{activecategory:M=""}=t,{showgamename:C=""}=t,{livecasino:f="false"}=t,{playrandomgame:u="false"}=t,{randomgameslider:ie="false"}=t,{filteredrandomgamecategories:oe=""}=t,{gamepagemodalurl:le="false"}=t,{casinogamesgridslider:re="false"}=t,{positionwinnerswidget:me=""}=t,{tabsorder:ce=""}=t,{enableautoscroll:ue=""}=t,{istopavailable:_e=""}=t,{isrecentavailable:de=""}=t,{integratedgameframedesktop:fe="false"}=t,{integratedgameframemobile:ge="false"}=t,{periodrecent:he=""}=t,{periodtop:be=""}=t,{numberusersrecent:ye=""}=t,{numberuserstop:ke=""}=t,{amountlimit:pe=""}=t,{defaultcurrency:we=""}=t,{showsubgroups:Z=""}=t,{positionjackpotbanners:ve=""}=t,{caticon0:Ee=""}=t,{caticon1:Ce=""}=t,{caticon2:je=""}=t,{caticon3:Pe=""}=t,{backgroundsrc:Se=""}=t,{backgroundsrcmobile:Me=""}=t,{titlelogopath:Le=""}=t,{iconlabels:Ge=""}=t,{visualstructure:Fe=""}=t,{positioncollections:De=""}=t,{type:Ie=""}=t,{titletype:Te=""}=t,{collectionprovidersgamenames:Be=""}=t,{addfilterselector:Oe="false"}=t,{addsortingselector:qe="false"}=t,{filterbylogo:Re=""}=t,{positioncasinocalendar:ze=""}=t,{casinomygames:Y="false"}=t,{mostplayed:X=""}=t,{lastplayed:x=""}=t,{lastplayedperiod:Ne="Last30Days"}=t,{mostplayedperiod:Ae="Last30Days"}=t,{lastplayedorder:Ue=""}=t,{lastplayedlimit:Ye=""}=t,{lastplayedunique:He="true"}=t,{mostplayedrounds:Ve=""}=t,{winnersdatasources:We=""}=t,{fetchviaevent:Je="true"}=t,{positionjelobbywidget:Ke=""}=t,{specificcategory:Qe=""}=t,{launchbygamecard:Ze=""}=t,{iconvisible:Xe=""}=t,{iconvisibleonanim:xe=""}=t,{randombuttonicon:$e=""}=t,$=window.navigator.userAgent,ee;e.isMobile($)?ee="OpenGameFrame":ee="ShowGameModal";let F=!1,R=!1,et=!1,z="",y,H=!1,V=0,te,I=!1,T=!0,se=!1,tt=[],P,B=[],kt,U,W,st=!1,at,pt,ae="",O,nt=!1;qt({withLocale:"en",translations:{}});const wt=()=>{let i=new URL(_);fetch(i.href).then(v=>v.json()).then(v=>{Object.keys(v).forEach(N=>{lt(N,v[N])})}).catch(v=>{console.log(v)})};Object.keys(rt).forEach(i=>{lt(i,rt[i])});const ne=i=>{switch(st=!0,s(0,Y="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:st},window.location.href)}),i.data.itemId){case"LOBBY":s(82,T=!0),s(81,I=!1),s(74,P="");break;case"MYGAMES":s(0,Y="true"),s(82,T=!1),s(81,I=!0),s(74,P="");break;case"FAVORITES":s(82,T=!1),s(81,I=!0),s(74,P="");break;case"MOSTPLAYED":X=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;case"LASTPLAYED":x=="true"&&(s(74,P=""),s(82,T=!1),s(81,I=!0));break;default:s(82,T=!1),s(81,I=!1),s(74,P=i.data.itemId);break}},it=i=>{if(i.data)switch(i.data.type){case"CategoryChange":ne(i);break;case"UserSessionID":i.data.session,i.data.userID;break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:ae,origin:i.data.origin},window.location.href);break;case"CategoryVendors":ae=i.data.categoryid;break;case"searchCancelled":s(83,se=!1),P&&ne({data:{itemId:P}});break;case"searchActive":s(83,se=!0);break;case"ModalClosed":break;case"SubgroupsIds":B.some(v=>i.data.subGroupsIds.includes(v))||B.push(...i.data.subGroupsIds);break}},vt=i=>new Promise((v,N)=>{s(77,F=!0),fetch(i).then(j=>j.json()).then(j=>{s(77,F=!1),v(j)}).catch(j=>{s(78,R=!0),s(77,F=!1),console.error(j),N(j)})}),Et=(i,v)=>{ae=v,window.postMessage({type:`CategoryData_${v}`,categoryId:v,visiblegames:q,receivedFavoriteResults:pt},window.location.href)},ot=()=>{U&&(W=U.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>W||W>130},Ct=()=>(o||(z="Endpoint is missing! Please provide a valid endpointURL.",s(78,R=!0),s(77,F=!1),console.error(z)),c||(z="Datasource is missing! Please provide a valid datasource.",s(78,R=!0),s(77,F=!1),console.error(z)),(!m||m.length<2)&&(z="Language is missing! Please provide a valid language (alpha2code)",s(78,R=!0),s(77,F=!1),console.error(z)),R),jt=()=>{nt&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:P},window.location.href)},500),nt=!1},Pt=()=>{if(!Ct()){s(77,F=!0),Rt(m);let i=new URL(`${o}/v1/casino/groups/${c}`);i.searchParams.append("language",m),i.searchParams.append("platform",e.getDevice($)),vt(i).then(v=>{let N=D.split(",");v&&(at=v.items.filter(j=>{let A;if(j.games.total>0&&(A=!0,D))for(let Ot of N)j.flags==Ot&&(A=!1);return A}),s(84,tt=at.filter(j=>{var A;return!(((A=j==null?void 0:j.subGroups)==null?void 0:A.count)>0&&Z=="true")}).map(j=>j.id)),s(89,B=v.items.map(j=>j.id.toString())),s(77,F=!1))}),U=kt,U&&(W=U.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}},St=()=>{s(74,P=M),ne({data:{itemId:P}})},Mt=()=>{B&&!B.includes(decodeURI(P))&&P!=""&&window.postMessage({type:"NonExistentCategory"},window.location.href)},Lt=()=>{s(79,et=!0)},J=i=>{V=0,te=setInterval(()=>{V+=1,s(80,H=!0),V>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(te))},1e3)},K=i=>{V<3&&s(80,H=!1),clearInterval(te)},Gt=()=>{y==null||y.addEventListener("mousedown",J,!1),y==null||y.addEventListener("touchstart",J,!1),y==null||y.addEventListener("mouseup",K,!1),y==null||y.addEventListener("touchend",K,!1)},Ft=()=>{s(80,H=!1),y==null||y.removeEventListener("mousedown",J),y==null||y.removeEventListener("touchstart",J),y==null||y.removeEventListener("mouseup",K),y==null||y.removeEventListener("touchend",K)},Dt=()=>{let i=document.createElement("style");i.innerHTML=g,O.appendChild(i)},It=()=>{let i=document.createElement("style");fetch(new URL(w)).then(v=>v.text()).then(v=>{i.innerHTML=v,setTimeout(()=>{O.appendChild(i)},1)})};e.onMount(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",it,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",it),Ft()}));function Tt(i){e.binding_callbacks[i?"unshift":"push"](()=>{y=i,s(73,y)})}function Bt(i){e.binding_callbacks[i?"unshift":"push"](()=>{O=i,s(75,O)})}return a.$$set=i=>{"endpoint"in i&&s(1,o=i.endpoint),"env"in i&&s(2,d=i.env),"datasource"in i&&s(3,c=i.datasource),"currency"in i&&s(4,h=i.currency),"lang"in i&&s(5,m=i.lang),"session"in i&&s(6,p=i.session),"userid"in i&&s(7,S=i.userid),"clientstyling"in i&&s(8,g=i.clientstyling),"userroles"in i&&s(9,L=i.userroles),"clientstylingurl"in i&&s(10,w=i.clientstylingurl),"translationurl"in i&&s(11,_=i.translationurl),"cmsendpoint"in i&&s(12,b=i.cmsendpoint),"categorybackground"in i&&s(13,k=i.categorybackground),"visiblegames"in i&&s(14,q=i.visiblegames),"favorites"in i&&s(15,G=i.favorites),"haspanicbutton"in i&&s(16,E=i.haspanicbutton),"filteredcategories"in i&&s(17,D=i.filteredcategories),"activecategory"in i&&s(18,M=i.activecategory),"showgamename"in i&&s(19,C=i.showgamename),"livecasino"in i&&s(20,f=i.livecasino),"playrandomgame"in i&&s(21,u=i.playrandomgame),"randomgameslider"in i&&s(22,ie=i.randomgameslider),"filteredrandomgamecategories"in i&&s(23,oe=i.filteredrandomgamecategories),"gamepagemodalurl"in i&&s(24,le=i.gamepagemodalurl),"casinogamesgridslider"in i&&s(25,re=i.casinogamesgridslider),"positionwinnerswidget"in i&&s(26,me=i.positionwinnerswidget),"tabsorder"in i&&s(27,ce=i.tabsorder),"enableautoscroll"in i&&s(28,ue=i.enableautoscroll),"istopavailable"in i&&s(29,_e=i.istopavailable),"isrecentavailable"in i&&s(30,de=i.isrecentavailable),"integratedgameframedesktop"in i&&s(31,fe=i.integratedgameframedesktop),"integratedgameframemobile"in i&&s(32,ge=i.integratedgameframemobile),"periodrecent"in i&&s(33,he=i.periodrecent),"periodtop"in i&&s(34,be=i.periodtop),"numberusersrecent"in i&&s(35,ye=i.numberusersrecent),"numberuserstop"in i&&s(36,ke=i.numberuserstop),"amountlimit"in i&&s(37,pe=i.amountlimit),"defaultcurrency"in i&&s(38,we=i.defaultcurrency),"showsubgroups"in i&&s(88,Z=i.showsubgroups),"positionjackpotbanners"in i&&s(39,ve=i.positionjackpotbanners),"caticon0"in i&&s(40,Ee=i.caticon0),"caticon1"in i&&s(41,Ce=i.caticon1),"caticon2"in i&&s(42,je=i.caticon2),"caticon3"in i&&s(43,Pe=i.caticon3),"backgroundsrc"in i&&s(44,Se=i.backgroundsrc),"backgroundsrcmobile"in i&&s(45,Me=i.backgroundsrcmobile),"titlelogopath"in i&&s(46,Le=i.titlelogopath),"iconlabels"in i&&s(47,Ge=i.iconlabels),"visualstructure"in i&&s(48,Fe=i.visualstructure),"positioncollections"in i&&s(49,De=i.positioncollections),"type"in i&&s(50,Ie=i.type),"titletype"in i&&s(51,Te=i.titletype),"collectionprovidersgamenames"in i&&s(52,Be=i.collectionprovidersgamenames),"addfilterselector"in i&&s(53,Oe=i.addfilterselector),"addsortingselector"in i&&s(54,qe=i.addsortingselector),"filterbylogo"in i&&s(55,Re=i.filterbylogo),"positioncasinocalendar"in i&&s(56,ze=i.positioncasinocalendar),"casinomygames"in i&&s(0,Y=i.casinomygames),"mostplayed"in i&&s(57,X=i.mostplayed),"lastplayed"in i&&s(58,x=i.lastplayed),"lastplayedperiod"in i&&s(59,Ne=i.lastplayedperiod),"mostplayedperiod"in i&&s(60,Ae=i.mostplayedperiod),"lastplayedorder"in i&&s(61,Ue=i.lastplayedorder),"lastplayedlimit"in i&&s(62,Ye=i.lastplayedlimit),"lastplayedunique"in i&&s(63,He=i.lastplayedunique),"mostplayedrounds"in i&&s(64,Ve=i.mostplayedrounds),"winnersdatasources"in i&&s(65,We=i.winnersdatasources),"fetchviaevent"in i&&s(66,Je=i.fetchviaevent),"positionjelobbywidget"in i&&s(67,Ke=i.positionjelobbywidget),"specificcategory"in i&&s(68,Qe=i.specificcategory),"launchbygamecard"in i&&s(69,Ze=i.launchbygamecard),"iconvisible"in i&&s(70,Xe=i.iconvisible),"iconvisibleonanim"in i&&s(71,xe=i.iconvisibleonanim),"randombuttonicon"in i&&s(72,$e=i.randombuttonicon),"$$scope"in i&&s(90,r=i.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&262176&&m&&M&&St(),a.$$.dirty[0]&194&&p&&S&&o&&Lt(),a.$$.dirty[2]&134221824&&P&&B&&Mt(),a.$$.dirty[0]&42&&o&&c&&m&&Pt(),a.$$.dirty[0]&32&&m&&jt(),a.$$.dirty[0]&2048&&_&&wt(),a.$$.dirty[0]&256|a.$$.dirty[2]&8192&&g&&O&&Dt(),a.$$.dirty[0]&1024|a.$$.dirty[2]&8192&&w&&O&&It(),a.$$.dirty[2]&2048&&y&&Gt()},[Y,o,d,c,h,m,p,S,g,L,w,_,b,k,q,G,E,D,M,C,f,u,ie,oe,le,re,me,ce,ue,_e,de,fe,ge,he,be,ye,ke,pe,we,ve,Ee,Ce,je,Pe,Se,Me,Le,Ge,Fe,De,Ie,Te,Be,Oe,qe,Re,ze,X,x,Ne,Ae,Ue,Ye,He,Ve,We,Je,Ke,Qe,Ze,Xe,xe,$e,y,P,O,ee,F,R,et,H,I,T,se,tt,n,$,Et,Z,B,r,l,Tt,Bt]}class yt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$t,xt,e.safe_not_equal,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,haspanicbutton:16,filteredcategories:17,activecategory:18,showgamename:19,livecasino:20,playrandomgame:21,randomgameslider:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:88,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,fetchviaevent:66,positionjelobbywidget:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,randombuttonicon:72},zt,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get env(){return this.$$.ctx[2]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get userroles(){return this.$$.ctx[9]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(t){this.$$set({categorybackground:t}),e.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[15]}set favorites(t){this.$$set({favorites:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[16]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get filteredcategories(){return this.$$.ctx[17]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get activecategory(){return this.$$.ctx[18]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get showgamename(){return this.$$.ctx[19]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[20]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playrandomgame(){return this.$$.ctx[21]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[22]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[34]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get showsubgroups(){return this.$$.ctx[88]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[40]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[41]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[42]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[43]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[50]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[51]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(t){this.$$set({lastplayed: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 mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[66]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[67]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}}e.create_custom_element(yt,{endpoint:{},env:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},userroles:{},clientstylingurl:{},translationurl:{},cmsendpoint:{},categorybackground:{},visiblegames:{},favorites:{},haspanicbutton:{},filteredcategories:{},activecategory:{},showgamename:{},livecasino:{},playrandomgame:{},randomgameslider:{},filteredrandomgamecategories:{},gamepagemodalurl:{},casinogamesgridslider:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},integratedgameframedesktop:{},integratedgameframemobile:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},showsubgroups:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},visualstructure:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},positioncasinocalendar:{},casinomygames:{},mostplayed:{},lastplayed:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},winnersdatasources:{},fetchviaevent:{},positionjelobbywidget:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},randombuttonicon:{}},["je-jackpots-widget"],[],!0);exports.default=yt;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function se(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CtmRY9AI.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function ze(r){e.append_styles(r,"svelte-157tecu","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const s=r.slice();return s[70]=t[n],s}function oe(r,t,n){const s=r.slice();return s[73]=t[n],s}function Ee(r){let t,n,s,l,a,o,d,u,w,E,M,y,b,L,F,A,S,B,k,v=e.ensure_array_like(r[17]),m=[];for(let c=0;c<v.length;c+=1)m[c]=fe(oe(r,v,c));function N(c,g){return c[18]?Re:Oe}let T=N(r),_=T(r);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),u=e.svg_element("path"),E=e.space(),M=e.element("button"),y=e.svg_element("svg"),b=e.svg_element("path"),A=e.space(),_.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(u,"style",w=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(u,"id","Path_36"),e.attr(u,"data-name","Path 36"),e.attr(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(u,"transform","translate(14.656 0) rotate(90)"),e.attr(u,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(b,"style",L=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(y,"id","Component_46_2"),e.attr(y,"data-name","Component 46 – 2"),e.attr(y,"xmlns","http://www.w3.org/2000/svg"),e.attr(y,"width","15"),e.attr(y,"height","15"),e.attr(y,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(a,"class",F="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[13]?"Mobile":""))},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,s);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(s,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,u),e.append(a,E),e.append(a,M),e.append(M,y),e.append(y,b),e.append(t,A),_.m(t,null),B||(k=[e.listen(o,"click",r[43]),e.listen(M,"click",r[44])],B=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let f;for(f=0;f<v.length;f+=1){const p=oe(c,v,f);m[f]?m[f].p(p,g):(m[f]=fe(p),m[f].c(),m[f].m(s,null))}for(;f<m.length;f+=1)m[f].d(1);m.length=v.length}g[0]&6144&&w!==(w=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(u,"style",w),g[0]&6144&&L!==(L=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",L),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",F),T===(T=N(c))&&_?_.p(c,g):(_.d(1),_=T(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":""))&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(k)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[0]==="true"&&ue(r);return{c(){n&&n.c(),t=e.empty()},m(s,l){n&&n.m(s,l),e.insert(s,t,l)},p(s,l){s[0]==="true"?n?n.p(s,l):(n=ue(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function ue(r){let t,n=r[20]("recentWinners")+"",s,l,a,o;return{c(){t=e.element("button"),s=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[10]=="recent"?"Active":""))},m(d,u){e.insert(d,t,u),e.append(t,s),a||(o=e.listen(t,"click",r[41]),a=!0)},p(d,u){u[0]&1048576&&n!==(n=d[20]("recentWinners")+"")&&e.set_data(s,n),u[0]&1024&&l!==(l="WinnersButton "+(d[10]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(d){d&&e.detach(t),a=!1,o()}}}function de(r){let t,n=r[20]("topWinners")+"",s,l,a,o,d;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(u,w){e.insert(u,t,w),e.append(t,s),e.append(t,l),o||(d=e.listen(t,"click",r[42]),o=!0)},p(u,w){w[0]&1048576&&n!==(n=u[20]("topWinners")+"")&&e.set_data(s,n),w[0]&1026&&a!==(a="WinnersButton "+(u[10]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(u){u&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,s=r[73]=="recent"&&ce(r),l=r[73]=="top"&&de(r);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){s&&s.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?s?s.p(a,o):(s=ce(a),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),a[73]=="top"?l?l.p(a,o):(l=de(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),s&&s.d(a),l&&l.d(a)}}}function Oe(r){let t,n=e.ensure_array_like(r[11]),s=[];for(let l=0;l<n.length;l+=1)s[l]=me(ae(r,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","WinnersSlider")},m(l,a){e.insert(l,t,a);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);r[47](t)},p(l,a){if(a[0]&14223500){n=e.ensure_array_like(l[11]);let o;for(o=0;o<n.length;o+=1){const d=ae(l,n,o);s[o]?s[o].p(d,a):(s[o]=me(d),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),r[47](null)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function me(r){let t,n,s,l,a,o,d,u=r[70].gameName+"",w,E,M,y=r[22](r[70].username)+"",b,L,F,A=r[20]("won")+"",S,B,k,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,N,T,_=(r[7]?r[3]:r[2])+"",c,g,f,p,C;function q(){return r[45](r[70])}return{c(){var z,W,O,x;t=e.element("div"),n=e.element("div"),s=e.element("img"),o=e.space(),d=e.element("p"),w=e.text(u),E=e.space(),M=e.element("p"),b=e.text(y),L=e.space(),F=e.element("p"),S=e.text(A),B=e.space(),k=e.element("p"),m=e.text(v),N=e.space(),T=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(s.src,l=(W=(z=r[70])==null?void 0:z.gameModel)==null?void 0:W.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",a=(x=(O=r[70])==null?void 0:O.gameModel)==null?void 0:x.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(F,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(z,W){e.insert(z,t,W),e.append(t,n),e.append(n,s),e.append(n,o),e.append(n,d),e.append(d,w),e.append(n,E),e.append(n,M),e.append(M,b),e.append(n,L),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,k),e.append(k,m),e.append(k,N),e.append(k,T),e.append(T,c),e.append(t,g),r[46](t),p||(C=e.listen(s,"click",q),p=!0)},p(z,W){var O,x,R,P;r=z,W[0]&2048&&!e.src_url_equal(s.src,l=(x=(O=r[70])==null?void 0:O.gameModel)==null?void 0:x.thumbnail)&&e.attr(s,"src",l),W[0]&2048&&a!==(a=(P=(R=r[70])==null?void 0:R.gameModel)==null?void 0:P.thumbnail)&&e.attr(s,"alt",a),W[0]&2048&&u!==(u=r[70].gameName+"")&&e.set_data(w,u),W[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(b,y),W[0]&1048576&&A!==(A=r[20]("won")+"")&&e.set_data(S,A),W[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),W[0]&140&&_!==(_=(r[7]?r[3]:r[2])+"")&&e.set_data(c,_),W[0]&65536&&f!==(f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",f)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(a,o){return a[14]||a[15]?Ne:Ee}let s=n(r),l=s(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){s===(s=n(a))&&l?l.p(a,o):(l.d(1),l=s(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[48](null)}}}function De(r,t,n){let s;e.component_subscribe(r,e.$format,i=>n(20,s=i));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:w="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:y="All"}=t,{lang:b="en"}=t,{isrecentavailable:L="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:A=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:N=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:_="false"}=t,c,g,f=[],p=0,C=0,q=window.navigator.userAgent,z,W,O,x,R=!0,P=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const he=()=>{let i=new URL(N);fetch(i.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(j=>{se(j,h[j])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(i=>{se(i,le[i])});const $=()=>{J=T.split(",").map(function(h){return h.trim()});const i=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),i.searchParams.append("limit",g=="recent"?w:E),i.searchParams.append("specifiedCurrency",G),i.searchParams.append("period",g=="recent"?d:u),i.searchParams.append("language",b),i.searchParams.append("amountLimit",M),i.searchParams.append("vendorCategory",y),J.forEach(h=>{i.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(i.href).then(h=>h.json()).then(h=>{n(11,f=[]),n(11,f=h.items.map(j=>j)),n(18,V=!1),setTimeout(()=>{_e(),te(),v=="true"&&(clearInterval(D),be()),n(14,R=!1)},5)})},1e3)},K=i=>{g!==i&&(n(11,f=[]),n(10,g=i),$())},ge=i=>i.slice(0,2)+i.slice(2,-2).replace(/./g,"*")+i.slice(-2),ee=(i,h,j,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:i,launchUrl:h,gameName:j,subVendor:U},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${i}`,userId:`${O||"Not logged in"}`})},te=i=>{const h=[...c.children];Y=h.length,h.forEach((j,U)=>{j.style.transform=`translateX(${100*(i?U-i:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},be=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},_e=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=f.length)return;const i=f.length;p===0?p=i-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=f.length)return;const i=f.length;v=="true"&&(p===i-C?p=0:p++),v=="false"&&(p===i-C?p=0:i-C<p+C?p=i-C:p+=C),ne()},ye=()=>{Le(b)},we=()=>{n(7,W=!0),O=o},ie=()=>{n(40,G=W?S:A)},We=()=>{let i=document.createElement("style");i.innerHTML=B,x.appendChild(i)},ve=()=>{let i=new URL(k),h=document.createElement("style");fetch(i.href).then(j=>j.text()).then(j=>{h.innerHTML=j,setTimeout(()=>{x.appendChild(h)},1),setTimeout(()=>{},500),n(15,P=!1)})},Ce=()=>{_==="true"&&(!B&&!k&&x&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(15,P=!0))},ke=()=>{n(17,H=m.split(",")),n(10,g=H[0]),ie(),n(14,R=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const Me=()=>K("recent"),xe=()=>K("top"),Fe=()=>re(),Se=()=>Z(),Be=i=>ee(i.gameId,i.gameModel.launchUrl,i.gameModel.name,i.gameModel.subVendor);function Te(i){e.binding_callbacks[i?"unshift":"push"](()=>{I=i,n(19,I)})}function Ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(9,c)})}function je(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,n(8,x)})}return r.$$set=i=>{"endpoint"in i&&n(26,l=i.endpoint),"session"in i&&n(27,a=i.session),"userid"in i&&n(28,o=i.userid),"periodrecent"in i&&n(29,d=i.periodrecent),"periodtop"in i&&n(30,u=i.periodtop),"numberusersrecent"in i&&n(31,w=i.numberusersrecent),"numberuserstop"in i&&n(32,E=i.numberuserstop),"amountlimit"in i&&n(33,M=i.amountlimit),"vendorCategory"in i&&n(34,y=i.vendorCategory),"lang"in i&&n(35,b=i.lang),"isrecentavailable"in i&&n(0,L=i.isrecentavailable),"istopavailable"in i&&n(1,F=i.istopavailable),"defaultcurrency"in i&&n(2,A=i.defaultcurrency),"usercurrency"in i&&n(3,S=i.usercurrency),"clientstyling"in i&&n(4,B=i.clientstyling),"clientstylingurl"in i&&n(5,k=i.clientstylingurl),"enableautoscroll"in i&&n(6,v=i.enableautoscroll),"tabsorder"in i&&n(36,m=i.tabsorder),"translationurl"in i&&n(37,N=i.translationurl),"winnersdatasources"in i&&n(38,T=i.winnersdatasources),"hascustomstyling"in i&&n(39,_=i.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1610612739|r.$$.dirty[1]&63&&L&&F&&d&&u&&w&&E&&M&&y&&b&&m&&ke(),r.$$.dirty[0]&134217728&&a&&we(),r.$$.dirty[0]&140&&W&&(S||A)&&ie(),r.$$.dirty[0]&67108864|r.$$.dirty[1]&640&&l&&T&&G&&$(),r.$$.dirty[1]&16&&b&&ye(),r.$$.dirty[1]&64&&N&&he(),r.$$.dirty[1]&256&&_&&Ce(),r.$$.dirty[0]&272&&B&&x&&We(),r.$$.dirty[0]&288&&k&&x&&ve()},[L,F,A,S,B,k,v,W,x,c,g,f,C,z,R,P,X,H,V,I,s,K,ge,ee,re,Z,l,a,o,d,u,w,E,M,y,b,m,N,T,_,G,Me,xe,Fe,Se,Be,Te,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,De,Pe,e.safe_not_equal,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},ze,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=pe;
@@ -1,5 +1,5 @@
1
- import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as Z, D as we } from "./CasinoCalendar-0AyYaYr6.js";
2
- function _e(n, e) {
1
+ import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as q, D as _e } from "./CasinoCalendar-0AyYaYr6.js";
2
+ function we(n, e) {
3
3
  Je(n, e);
4
4
  }
5
5
  function ot(n) {
@@ -130,37 +130,37 @@ function Ce(n, e, t) {
130
130
  return r[73] = e[t], r;
131
131
  }
132
132
  function ct(n) {
133
- let e, t, r, s, l, o, f, m, C, I, S, v, w, N, T, E, A, j, x, M = te(
133
+ let e, t, r, s, l, o, f, d, C, I, x, v, _, N, T, E, A, j, S, M = te(
134
134
  /*tabs*/
135
135
  n[17]
136
136
  ), g = [];
137
137
  for (let c = 0; c < M.length; c += 1)
138
- g[c] = xe(Ce(n, M, c));
138
+ g[c] = Se(Ce(n, M, c));
139
139
  function P(c, b) {
140
140
  return (
141
141
  /*isLoadingDelayed*/
142
142
  c[18] ? ft : dt
143
143
  );
144
144
  }
145
- let L = P(n), _ = L(n);
145
+ let L = P(n), w = L(n);
146
146
  return {
147
147
  c() {
148
148
  e = W("div"), t = W("div"), r = W("div");
149
149
  for (let c = 0; c < g.length; c += 1)
150
150
  g[c].c();
151
- s = O(), l = W("div"), o = W("button"), f = ee("svg"), m = ee("path"), I = O(), S = W("button"), v = ee("svg"), w = ee("path"), E = O(), _.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
151
+ s = O(), l = W("div"), o = W("button"), f = ee("svg"), d = ee("path"), I = O(), x = W("button"), v = ee("svg"), _ = ee("path"), E = O(), w.c(), a(r, "class", "WinnerButtonsContainer"), a(d, "style", C = /*numberOfVisibleSlides*/
152
152
  n[12] >= /*winners*/
153
- n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(w, "style", N = /*numberOfVisibleSlides*/
153
+ n[11].length ? "fill:#F6F6F62E" : ""), a(d, "id", "Path_36"), a(d, "data-name", "Path 36"), a(d, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(d, "transform", "translate(14.656 0) rotate(90)"), a(d, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(_, "style", N = /*numberOfVisibleSlides*/
154
154
  n[12] >= /*winners*/
155
- n[11].length ? "fill:#F6F6F62E" : ""), a(w, "id", "Path_36"), a(w, "data-name", "Path 36"), a(w, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(w, "transform", "translate(0 24.656) rotate(-90)"), a(w, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
155
+ n[11].length ? "fill:#F6F6F62E" : ""), a(_, "id", "Path_36"), a(_, "data-name", "Path 36"), a(_, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(_, "transform", "translate(0 24.656) rotate(-90)"), a(_, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(x, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
156
156
  (n[6] == "true" ? "ButtonsContainerNone" : "")), a(t, "class", "WinnersHeader"), a(e, "class", A = "CasinoWinners " + /*mobile*/
157
157
  (n[13] ? "Mobile" : ""));
158
158
  },
159
159
  m(c, b) {
160
160
  D(c, e, b), u(e, t), u(t, r);
161
- for (let d = 0; d < g.length; d += 1)
162
- g[d] && g[d].m(r, null);
163
- u(t, s), u(t, l), u(l, o), u(o, f), u(f, m), u(l, I), u(l, S), u(S, v), u(v, w), u(e, E), _.m(e, null), j || (x = [
161
+ for (let m = 0; m < g.length; m += 1)
162
+ g[m] && g[m].m(r, null);
163
+ u(t, s), u(t, l), u(l, o), u(o, f), u(f, d), u(l, I), u(l, x), u(x, v), u(v, _), u(e, E), w.m(e, null), j || (S = [
164
164
  J(
165
165
  o,
166
166
  "click",
@@ -168,7 +168,7 @@ function ct(n) {
168
168
  n[43]
169
169
  ),
170
170
  J(
171
- S,
171
+ x,
172
172
  "click",
173
173
  /*click_handler_3*/
174
174
  n[44]
@@ -182,29 +182,29 @@ function ct(n) {
182
182
  /*tabs*/
183
183
  c[17]
184
184
  );
185
- let d;
186
- for (d = 0; d < M.length; d += 1) {
187
- const h = Ce(c, M, d);
188
- g[d] ? g[d].p(h, b) : (g[d] = xe(h), g[d].c(), g[d].m(r, null));
185
+ let m;
186
+ for (m = 0; m < M.length; m += 1) {
187
+ const h = Ce(c, M, m);
188
+ g[m] ? g[m].p(h, b) : (g[m] = Se(h), g[m].c(), g[m].m(r, null));
189
189
  }
190
- for (; d < g.length; d += 1)
191
- g[d].d(1);
190
+ for (; m < g.length; m += 1)
191
+ g[m].d(1);
192
192
  g.length = M.length;
193
193
  }
194
194
  b[0] & /*numberOfVisibleSlides, winners*/
195
195
  6144 && C !== (C = /*numberOfVisibleSlides*/
196
196
  c[12] >= /*winners*/
197
- c[11].length ? "fill:#F6F6F62E" : "") && a(m, "style", C), b[0] & /*numberOfVisibleSlides, winners*/
197
+ c[11].length ? "fill:#F6F6F62E" : "") && a(d, "style", C), b[0] & /*numberOfVisibleSlides, winners*/
198
198
  6144 && N !== (N = /*numberOfVisibleSlides*/
199
199
  c[12] >= /*winners*/
200
- c[11].length ? "fill:#F6F6F62E" : "") && a(w, "style", N), b[0] & /*enableautoscroll*/
200
+ c[11].length ? "fill:#F6F6F62E" : "") && a(_, "style", N), b[0] & /*enableautoscroll*/
201
201
  64 && T !== (T = "ButtonsContainer " + /*enableautoscroll*/
202
- (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), L === (L = P(c)) && _ ? _.p(c, b) : (_.d(1), _ = L(c), _ && (_.c(), _.m(e, null))), b[0] & /*mobile*/
202
+ (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), L === (L = P(c)) && w ? w.p(c, b) : (w.d(1), w = L(c), w && (w.c(), w.m(e, null))), b[0] & /*mobile*/
203
203
  8192 && A !== (A = "CasinoWinners " + /*mobile*/
204
204
  (c[13] ? "Mobile" : "")) && a(e, "class", A);
205
205
  },
206
206
  d(c) {
207
- c && G(e), Be(g, c), _.d(), j = !1, st(x);
207
+ c && G(e), Be(g, c), w.d(), j = !1, st(S);
208
208
  }
209
209
  };
210
210
  }
@@ -269,27 +269,32 @@ function ke(n) {
269
269
  };
270
270
  }
271
271
  function Me(n) {
272
- let e, t, r, s, l;
272
+ let e, t = (
273
+ /*$_*/
274
+ n[20]("recentWinners") + ""
275
+ ), r, s, l, o;
273
276
  return {
274
277
  c() {
275
- e = W("button"), t = V("Recent Winners"), a(e, "class", r = "WinnersButton " + /*winnersType*/
278
+ e = W("button"), r = V(t), a(e, "class", s = "WinnersButton " + /*winnersType*/
276
279
  (n[10] == "recent" ? "Active" : ""));
277
280
  },
278
- m(o, f) {
279
- D(o, e, f), u(e, t), s || (l = J(
281
+ m(f, d) {
282
+ D(f, e, d), u(e, r), l || (o = J(
280
283
  e,
281
284
  "click",
282
285
  /*click_handler*/
283
286
  n[41]
284
- ), s = !0);
287
+ ), l = !0);
285
288
  },
286
- p(o, f) {
287
- f[0] & /*winnersType*/
288
- 1024 && r !== (r = "WinnersButton " + /*winnersType*/
289
- (o[10] == "recent" ? "Active" : "")) && a(e, "class", r);
289
+ p(f, d) {
290
+ d[0] & /*$_*/
291
+ 1048576 && t !== (t = /*$_*/
292
+ f[20]("recentWinners") + "") && q(r, t), d[0] & /*winnersType*/
293
+ 1024 && s !== (s = "WinnersButton " + /*winnersType*/
294
+ (f[10] == "recent" ? "Active" : "")) && a(e, "class", s);
290
295
  },
291
- d(o) {
292
- o && G(e), s = !1, l();
296
+ d(f) {
297
+ f && G(e), l = !1, o();
293
298
  }
294
299
  };
295
300
  }
@@ -304,28 +309,28 @@ function Fe(n) {
304
309
  (n[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
305
310
  (n[1] == "false" ? "Off" : ""));
306
311
  },
307
- m(m, C) {
308
- D(m, e, C), u(e, r), u(e, s), o || (f = J(
312
+ m(d, C) {
313
+ D(d, e, C), u(e, r), u(e, s), o || (f = J(
309
314
  e,
310
315
  "click",
311
316
  /*click_handler_1*/
312
317
  n[42]
313
318
  ), o = !0);
314
319
  },
315
- p(m, C) {
320
+ p(d, C) {
316
321
  C[0] & /*$_*/
317
322
  1048576 && t !== (t = /*$_*/
318
- m[20]("topWinners") + "") && Z(r, t), C[0] & /*winnersType, istopavailable*/
323
+ d[20]("topWinners") + "") && q(r, t), C[0] & /*winnersType, istopavailable*/
319
324
  1026 && l !== (l = "WinnersButton " + /*winnersType*/
320
- (m[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
321
- (m[1] == "false" ? "Off" : "")) && a(e, "class", l);
325
+ (d[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
326
+ (d[1] == "false" ? "Off" : "")) && a(e, "class", l);
322
327
  },
323
- d(m) {
324
- m && G(e), o = !1, f();
328
+ d(d) {
329
+ d && G(e), o = !1, f();
325
330
  }
326
331
  };
327
332
  }
328
- function xe(n) {
333
+ function Se(n) {
329
334
  let e, t, r = (
330
335
  /*tab*/
331
336
  n[73] == "recent" && ke(n)
@@ -356,7 +361,7 @@ function dt(n) {
356
361
  n[11]
357
362
  ), r = [];
358
363
  for (let s = 0; s < t.length; s += 1)
359
- r[s] = Se(ve(n, t, s));
364
+ r[s] = xe(ve(n, t, s));
360
365
  return {
361
366
  c() {
362
367
  e = W("div");
@@ -380,7 +385,7 @@ function dt(n) {
380
385
  let o;
381
386
  for (o = 0; o < t.length; o += 1) {
382
387
  const f = ve(s, t, o);
383
- r[o] ? r[o].p(f, l) : (r[o] = Se(f), r[o].c(), r[o].m(e, null));
388
+ r[o] ? r[o].p(f, l) : (r[o] = xe(f), r[o].c(), r[o].m(e, null));
384
389
  }
385
390
  for (; o < r.length; o += 1)
386
391
  r[o].d(1);
@@ -431,23 +436,23 @@ function ft(n) {
431
436
  }
432
437
  };
433
438
  }
434
- function Se(n) {
435
- let e, t, r, s, l, o, f, m = (
439
+ function xe(n) {
440
+ let e, t, r, s, l, o, f, d = (
436
441
  /*winner*/
437
442
  n[70].gameName + ""
438
- ), C, I, S, v = (
443
+ ), C, I, x, v = (
439
444
  /*maskUsername*/
440
445
  n[22](
441
446
  /*winner*/
442
447
  n[70].username
443
448
  ) + ""
444
- ), w, N, T, E = (
449
+ ), _, N, T, E = (
445
450
  /*$_*/
446
451
  n[20]("won") + ""
447
- ), A, j, x, M = (
452
+ ), A, j, S, M = (
448
453
  /*winner*/
449
454
  n[70].specifiedCurrencyAmount.toFixed(2) + ""
450
- ), g, P, L, _ = (
455
+ ), g, P, L, w = (
451
456
  /*isLoggedIn*/
452
457
  (n[7] ? (
453
458
  /*usercurrency*/
@@ -456,7 +461,7 @@ function Se(n) {
456
461
  /*defaultcurrency*/
457
462
  n[2]
458
463
  )) + ""
459
- ), c, b, d, h, F;
464
+ ), c, b, m, h, F;
460
465
  function ne() {
461
466
  return (
462
467
  /*click_handler_4*/
@@ -469,42 +474,42 @@ function Se(n) {
469
474
  return {
470
475
  c() {
471
476
  var R, k, U, B;
472
- e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(m), I = O(), S = W("p"), w = V(v), N = O(), T = W("p"), A = V(E), j = O(), x = W("p"), g = V(M), P = O(), L = W("span"), c = V(_), b = O(), we(r.src, s = /*winner*/
477
+ e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(d), I = O(), x = W("p"), _ = V(v), N = O(), T = W("p"), A = V(E), j = O(), S = W("p"), g = V(M), P = O(), L = W("span"), c = V(w), b = O(), _e(r.src, s = /*winner*/
473
478
  (k = (R = n[70]) == null ? void 0 : R.gameModel) == null ? void 0 : k.thumbnail) || a(r, "src", s), a(r, "alt", l = /*winner*/
474
- (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", d = "CardWrapper " + /*addAnimation*/
479
+ (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", m = "CardWrapper " + /*addAnimation*/
475
480
  (n[16] ? "CardWrapperAnimation" : ""));
476
481
  },
477
482
  m(R, k) {
478
- D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, I), u(t, S), u(S, w), u(t, N), u(t, T), u(T, A), u(t, j), u(t, x), u(x, g), u(x, P), u(x, L), u(L, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
483
+ D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, I), u(t, x), u(x, _), u(t, N), u(t, T), u(T, A), u(t, j), u(t, S), u(S, g), u(S, P), u(S, L), u(L, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
479
484
  },
480
485
  p(R, k) {
481
- var U, B, q, K;
486
+ var U, B, K, Z;
482
487
  n = R, k[0] & /*winners*/
483
- 2048 && !we(r.src, s = /*winner*/
488
+ 2048 && !_e(r.src, s = /*winner*/
484
489
  (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail) && a(r, "src", s), k[0] & /*winners*/
485
490
  2048 && l !== (l = /*winner*/
486
- (K = (q = n[70]) == null ? void 0 : q.gameModel) == null ? void 0 : K.thumbnail) && a(r, "alt", l), k[0] & /*winners*/
487
- 2048 && m !== (m = /*winner*/
488
- n[70].gameName + "") && Z(C, m), k[0] & /*winners*/
491
+ (Z = (K = n[70]) == null ? void 0 : K.gameModel) == null ? void 0 : Z.thumbnail) && a(r, "alt", l), k[0] & /*winners*/
492
+ 2048 && d !== (d = /*winner*/
493
+ n[70].gameName + "") && q(C, d), k[0] & /*winners*/
489
494
  2048 && v !== (v = /*maskUsername*/
490
495
  n[22](
491
496
  /*winner*/
492
497
  n[70].username
493
- ) + "") && Z(w, v), k[0] & /*$_*/
498
+ ) + "") && q(_, v), k[0] & /*$_*/
494
499
  1048576 && E !== (E = /*$_*/
495
- n[20]("won") + "") && Z(A, E), k[0] & /*winners*/
500
+ n[20]("won") + "") && q(A, E), k[0] & /*winners*/
496
501
  2048 && M !== (M = /*winner*/
497
- n[70].specifiedCurrencyAmount.toFixed(2) + "") && Z(g, M), k[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
498
- 140 && _ !== (_ = /*isLoggedIn*/
502
+ n[70].specifiedCurrencyAmount.toFixed(2) + "") && q(g, M), k[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
503
+ 140 && w !== (w = /*isLoggedIn*/
499
504
  (n[7] ? (
500
505
  /*usercurrency*/
501
506
  n[3]
502
507
  ) : (
503
508
  /*defaultcurrency*/
504
509
  n[2]
505
- )) + "") && Z(c, _), k[0] & /*addAnimation*/
506
- 65536 && d !== (d = "CardWrapper " + /*addAnimation*/
507
- (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", d);
510
+ )) + "") && q(c, w), k[0] & /*addAnimation*/
511
+ 65536 && m !== (m = "CardWrapper " + /*addAnimation*/
512
+ (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", m);
508
513
  },
509
514
  d(R) {
510
515
  R && G(e), n[46](null), h = !1, F();
@@ -541,33 +546,33 @@ function mt(n) {
541
546
  function gt(n, e, t) {
542
547
  let r;
543
548
  nt(n, lt, (i) => t(20, r = i));
544
- let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: w = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: L = "" } = e, { hascustomstyling: _ = "false" } = e, c, b, d = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
549
+ let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: d = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: x = "1" } = e, { vendorCategory: v = "All" } = e, { lang: _ = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: S = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: L = "" } = e, { hascustomstyling: w = "false" } = e, c, b, m = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, K = !0, Z = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
545
550
  const Ae = () => {
546
551
  let i = new URL(P);
547
552
  fetch(i.href).then((p) => p.json()).then((p) => {
548
553
  Object.keys(p).forEach((z) => {
549
- _e(z, p[z]);
554
+ we(z, p[z]);
550
555
  });
551
556
  }).catch((p) => {
552
557
  console.log(p);
553
558
  });
554
559
  };
555
560
  Object.keys(We).forEach((i) => {
556
- _e(i, We[i]);
561
+ we(i, We[i]);
557
562
  });
558
563
  const fe = () => {
559
564
  ue = L.split(",").map(function(p) {
560
565
  return p.trim();
561
566
  });
562
567
  const i = new URL(`${s}/v1/casino/${b}-winners`);
563
- t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : m), i.searchParams.append("language", w), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
568
+ t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : d), i.searchParams.append("language", _), i.searchParams.append("amountLimit", x), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
564
569
  i.searchParams.append("dataSource", p);
565
570
  }), setTimeout(
566
571
  () => {
567
572
  fetch(i.href).then((p) => p.json()).then((p) => {
568
- t(11, d = []), t(11, d = p.items.map((z) => z)), t(18, re = !1), setTimeout(
573
+ t(11, m = []), t(11, m = p.items.map((z) => z)), t(18, re = !1), setTimeout(
569
574
  () => {
570
- Ee(), ge(), M == "true" && (clearInterval(X), Le()), t(14, q = !1);
575
+ Ee(), ge(), M == "true" && (clearInterval(X), Le()), t(14, K = !1);
571
576
  },
572
577
  5
573
578
  );
@@ -576,7 +581,7 @@ function gt(n, e, t) {
576
581
  1e3
577
582
  );
578
583
  }, se = (i) => {
579
- b !== i && (t(11, d = []), t(10, b = i), fe());
584
+ b !== i && (t(11, m = []), t(10, b = i), fe());
580
585
  }, je = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), me = (i, p, z, $) => {
581
586
  window.postMessage(
582
587
  {
@@ -614,15 +619,15 @@ function gt(n, e, t) {
614
619
  }, Ee = () => {
615
620
  de = Q.offsetWidth, t(12, F = Math.round(c.offsetWidth / de));
616
621
  }, pe = () => {
617
- if (F >= d.length) return;
618
- const i = d.length;
622
+ if (F >= m.length) return;
623
+ const i = m.length;
619
624
  h === 0 ? h = i - F : h - F < 0 ? h = 0 : h = h - F, he();
620
625
  }, le = () => {
621
- if (F >= d.length) return;
622
- const i = d.length;
626
+ if (F >= m.length) return;
627
+ const i = m.length;
623
628
  M == "true" && (h === i - F ? h = 0 : h++), M == "false" && (h === i - F ? h = 0 : i - F < h + F ? h = i - F : h += F), he();
624
629
  }, ze = () => {
625
- ot(w);
630
+ ot(_);
626
631
  }, Ne = () => {
627
632
  t(7, k = !0), U = o;
628
633
  }, be = () => {
@@ -631,7 +636,7 @@ function gt(n, e, t) {
631
636
  let i = document.createElement("style");
632
637
  i.innerHTML = j, B.appendChild(i);
633
638
  }, Oe = () => {
634
- let i = new URL(x), p = document.createElement("style");
639
+ let i = new URL(S), p = document.createElement("style");
635
640
  fetch(i.href).then((z) => z.text()).then((z) => {
636
641
  p.innerHTML = z, setTimeout(
637
642
  () => {
@@ -642,12 +647,12 @@ function gt(n, e, t) {
642
647
  () => {
643
648
  },
644
649
  500
645
- ), t(15, K = !1);
650
+ ), t(15, Z = !1);
646
651
  });
647
652
  }, De = () => {
648
- _ === "true" && (!j && !x && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !j && x && t(15, K = !0));
653
+ w === "true" && (!j && !S && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !j && S && t(15, Z = !0));
649
654
  }, Ge = () => {
650
- t(17, ie = g.split(",")), t(10, b = ie[0]), be(), t(14, q = !1);
655
+ t(17, ie = g.split(",")), t(10, b = ie[0]), be(), t(14, K = !1);
651
656
  };
652
657
  it(() => (t(13, R = rt(ne)), () => {
653
658
  clearInterval(X);
@@ -669,37 +674,37 @@ function gt(n, e, t) {
669
674
  });
670
675
  }
671
676
  return n.$$set = (i) => {
672
- "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, w = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, j = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, L = i.winnersdatasources), "hascustomstyling" in i && t(39, _ = i.hascustomstyling);
677
+ "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, d = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, x = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, _ = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, j = i.clientstyling), "clientstylingurl" in i && t(5, S = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, L = i.winnersdatasources), "hascustomstyling" in i && t(39, w = i.hascustomstyling);
673
678
  }, n.$$.update = () => {
674
679
  n.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
675
680
  1610612739 | n.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
676
- 63 && N && T && f && m && C && I && S && v && w && g && Ge(), n.$$.dirty[0] & /*session*/
681
+ 63 && N && T && f && d && C && I && x && v && _ && g && Ge(), n.$$.dirty[0] & /*session*/
677
682
  134217728 && l && Ne(), n.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
678
683
  140 && k && (A || E) && be(), n.$$.dirty[0] & /*endpoint*/
679
684
  67108864 | n.$$.dirty[1] & /*winnersdatasources, currency*/
680
685
  640 && s && L && Y && fe(), n.$$.dirty[1] & /*lang*/
681
- 16 && w && ze(), n.$$.dirty[1] & /*translationurl*/
686
+ 16 && _ && ze(), n.$$.dirty[1] & /*translationurl*/
682
687
  64 && P && Ae(), n.$$.dirty[1] & /*hascustomstyling*/
683
- 256 && _ && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
688
+ 256 && w && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
684
689
  272 && j && B && Re(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
685
- 288 && x && B && Oe();
690
+ 288 && S && B && Oe();
686
691
  }, [
687
692
  N,
688
693
  T,
689
694
  E,
690
695
  A,
691
696
  j,
692
- x,
697
+ S,
693
698
  M,
694
699
  k,
695
700
  B,
696
701
  c,
697
702
  b,
698
- d,
703
+ m,
699
704
  F,
700
705
  R,
701
- q,
702
706
  K,
707
+ Z,
703
708
  ae,
704
709
  ie,
705
710
  re,
@@ -714,16 +719,16 @@ function gt(n, e, t) {
714
719
  l,
715
720
  o,
716
721
  f,
717
- m,
722
+ d,
718
723
  C,
719
724
  I,
720
- S,
725
+ x,
721
726
  v,
722
- w,
727
+ _,
723
728
  g,
724
729
  P,
725
730
  L,
726
- _,
731
+ w,
727
732
  Y,
728
733
  Ie,
729
734
  Pe,
@@ -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-CvUPzodV.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
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-Dz801OXj.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLobby-DqaaWA3b.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-Th0vuI9M.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.51.0",
3
+ "version": "1.52.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-lobby.cjs",
6
6
  "module": "es2015/casino-lobby.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function se(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CtmRY9AI.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function ze(r){e.append_styles(r,"svelte-157tecu","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const s=r.slice();return s[70]=t[n],s}function oe(r,t,n){const s=r.slice();return s[73]=t[n],s}function Ee(r){let t,n,s,l,a,o,d,f,w,E,x,y,b,L,F,A,S,B,k,v=e.ensure_array_like(r[17]),m=[];for(let c=0;c<v.length;c+=1)m[c]=fe(oe(r,v,c));function N(c,g){return c[18]?Oe:Re}let T=N(r),_=T(r);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),f=e.svg_element("path"),E=e.space(),x=e.element("button"),y=e.svg_element("svg"),b=e.svg_element("path"),A=e.space(),_.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(f,"style",w=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(f,"id","Path_36"),e.attr(f,"data-name","Path 36"),e.attr(f,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(f,"transform","translate(14.656 0) rotate(90)"),e.attr(f,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(b,"style",L=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(y,"id","Component_46_2"),e.attr(y,"data-name","Component 46 – 2"),e.attr(y,"xmlns","http://www.w3.org/2000/svg"),e.attr(y,"width","15"),e.attr(y,"height","15"),e.attr(y,"viewBox","0 0 16 24.656"),e.attr(x,"class","SliderButton"),e.attr(a,"class",F="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[13]?"Mobile":""))},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,s);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(s,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,f),e.append(a,E),e.append(a,x),e.append(x,y),e.append(y,b),e.append(t,A),_.m(t,null),B||(k=[e.listen(o,"click",r[43]),e.listen(x,"click",r[44])],B=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let u;for(u=0;u<v.length;u+=1){const p=oe(c,v,u);m[u]?m[u].p(p,g):(m[u]=fe(p),m[u].c(),m[u].m(s,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=v.length}g[0]&6144&&w!==(w=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(f,"style",w),g[0]&6144&&L!==(L=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",L),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",F),T===(T=N(c))&&_?_.p(c,g):(_.d(1),_=T(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":""))&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(k)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[0]==="true"&&ue(r);return{c(){n&&n.c(),t=e.empty()},m(s,l){n&&n.m(s,l),e.insert(s,t,l)},p(s,l){s[0]==="true"?n?n.p(s,l):(n=ue(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function ue(r){let t,n,s,l,a;return{c(){t=e.element("button"),n=e.text("Recent Winners"),e.attr(t,"class",s="WinnersButton "+(r[10]=="recent"?"Active":""))},m(o,d){e.insert(o,t,d),e.append(t,n),l||(a=e.listen(t,"click",r[41]),l=!0)},p(o,d){d[0]&1024&&s!==(s="WinnersButton "+(o[10]=="recent"?"Active":""))&&e.attr(t,"class",s)},d(o){o&&e.detach(t),l=!1,a()}}}function de(r){let t,n=r[20]("topWinners")+"",s,l,a,o,d;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(f,w){e.insert(f,t,w),e.append(t,s),e.append(t,l),o||(d=e.listen(t,"click",r[42]),o=!0)},p(f,w){w[0]&1048576&&n!==(n=f[20]("topWinners")+"")&&e.set_data(s,n),w[0]&1026&&a!==(a="WinnersButton "+(f[10]=="top"?"Active":"")+" "+(f[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(f){f&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,s=r[73]=="recent"&&ce(r),l=r[73]=="top"&&de(r);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){s&&s.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?s?s.p(a,o):(s=ce(a),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),a[73]=="top"?l?l.p(a,o):(l=de(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),s&&s.d(a),l&&l.d(a)}}}function Re(r){let t,n=e.ensure_array_like(r[11]),s=[];for(let l=0;l<n.length;l+=1)s[l]=me(ae(r,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","WinnersSlider")},m(l,a){e.insert(l,t,a);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);r[47](t)},p(l,a){if(a[0]&14223500){n=e.ensure_array_like(l[11]);let o;for(o=0;o<n.length;o+=1){const d=ae(l,n,o);s[o]?s[o].p(d,a):(s[o]=me(d),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),r[47](null)}}}function Oe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function me(r){let t,n,s,l,a,o,d,f=r[70].gameName+"",w,E,x,y=r[22](r[70].username)+"",b,L,F,A=r[20]("won")+"",S,B,k,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,N,T,_=(r[7]?r[3]:r[2])+"",c,g,u,p,C;function q(){return r[45](r[70])}return{c(){var z,W,R,M;t=e.element("div"),n=e.element("div"),s=e.element("img"),o=e.space(),d=e.element("p"),w=e.text(f),E=e.space(),x=e.element("p"),b=e.text(y),L=e.space(),F=e.element("p"),S=e.text(A),B=e.space(),k=e.element("p"),m=e.text(v),N=e.space(),T=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(s.src,l=(W=(z=r[70])==null?void 0:z.gameModel)==null?void 0:W.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",a=(M=(R=r[70])==null?void 0:R.gameModel)==null?void 0:M.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(F,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(z,W){e.insert(z,t,W),e.append(t,n),e.append(n,s),e.append(n,o),e.append(n,d),e.append(d,w),e.append(n,E),e.append(n,x),e.append(x,b),e.append(n,L),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,k),e.append(k,m),e.append(k,N),e.append(k,T),e.append(T,c),e.append(t,g),r[46](t),p||(C=e.listen(s,"click",q),p=!0)},p(z,W){var R,M,O,P;r=z,W[0]&2048&&!e.src_url_equal(s.src,l=(M=(R=r[70])==null?void 0:R.gameModel)==null?void 0:M.thumbnail)&&e.attr(s,"src",l),W[0]&2048&&a!==(a=(P=(O=r[70])==null?void 0:O.gameModel)==null?void 0:P.thumbnail)&&e.attr(s,"alt",a),W[0]&2048&&f!==(f=r[70].gameName+"")&&e.set_data(w,f),W[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(b,y),W[0]&1048576&&A!==(A=r[20]("won")+"")&&e.set_data(S,A),W[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),W[0]&140&&_!==(_=(r[7]?r[3]:r[2])+"")&&e.set_data(c,_),W[0]&65536&&u!==(u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",u)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(a,o){return a[14]||a[15]?Ne:Ee}let s=n(r),l=s(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){s===(s=n(a))&&l?l.p(a,o):(l.d(1),l=s(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[48](null)}}}function De(r,t,n){let s;e.component_subscribe(r,e.$format,i=>n(20,s=i));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:f="Last7Days"}=t,{numberusersrecent:w="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:x="1"}=t,{vendorCategory:y="All"}=t,{lang:b="en"}=t,{isrecentavailable:L="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:A=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:N=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:_="false"}=t,c,g,u=[],p=0,C=0,q=window.navigator.userAgent,z,W,R,M,O=!0,P=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const he=()=>{let i=new URL(N);fetch(i.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(j=>{se(j,h[j])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(i=>{se(i,le[i])});const $=()=>{J=T.split(",").map(function(h){return h.trim()});const i=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),i.searchParams.append("limit",g=="recent"?w:E),i.searchParams.append("specifiedCurrency",G),i.searchParams.append("period",g=="recent"?d:f),i.searchParams.append("language",b),i.searchParams.append("amountLimit",x),i.searchParams.append("vendorCategory",y),J.forEach(h=>{i.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(i.href).then(h=>h.json()).then(h=>{n(11,u=[]),n(11,u=h.items.map(j=>j)),n(18,V=!1),setTimeout(()=>{_e(),te(),v=="true"&&(clearInterval(D),be()),n(14,O=!1)},5)})},1e3)},K=i=>{g!==i&&(n(11,u=[]),n(10,g=i),$())},ge=i=>i.slice(0,2)+i.slice(2,-2).replace(/./g,"*")+i.slice(-2),ee=(i,h,j,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:i,launchUrl:h,gameName:j,subVendor:U},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${i}`,userId:`${R||"Not logged in"}`})},te=i=>{const h=[...c.children];Y=h.length,h.forEach((j,U)=>{j.style.transform=`translateX(${100*(i?U-i:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},be=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},_e=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=u.length)return;const i=u.length;p===0?p=i-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=u.length)return;const i=u.length;v=="true"&&(p===i-C?p=0:p++),v=="false"&&(p===i-C?p=0:i-C<p+C?p=i-C:p+=C),ne()},ye=()=>{Le(b)},we=()=>{n(7,W=!0),R=o},ie=()=>{n(40,G=W?S:A)},We=()=>{let i=document.createElement("style");i.innerHTML=B,M.appendChild(i)},ve=()=>{let i=new URL(k),h=document.createElement("style");fetch(i.href).then(j=>j.text()).then(j=>{h.innerHTML=j,setTimeout(()=>{M.appendChild(h)},1),setTimeout(()=>{},500),n(15,P=!1)})},Ce=()=>{_==="true"&&(!B&&!k&&M&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(15,P=!0))},ke=()=>{n(17,H=m.split(",")),n(10,g=H[0]),ie(),n(14,O=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const xe=()=>K("recent"),Me=()=>K("top"),Fe=()=>re(),Se=()=>Z(),Be=i=>ee(i.gameId,i.gameModel.launchUrl,i.gameModel.name,i.gameModel.subVendor);function Te(i){e.binding_callbacks[i?"unshift":"push"](()=>{I=i,n(19,I)})}function Ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(9,c)})}function je(i){e.binding_callbacks[i?"unshift":"push"](()=>{M=i,n(8,M)})}return r.$$set=i=>{"endpoint"in i&&n(26,l=i.endpoint),"session"in i&&n(27,a=i.session),"userid"in i&&n(28,o=i.userid),"periodrecent"in i&&n(29,d=i.periodrecent),"periodtop"in i&&n(30,f=i.periodtop),"numberusersrecent"in i&&n(31,w=i.numberusersrecent),"numberuserstop"in i&&n(32,E=i.numberuserstop),"amountlimit"in i&&n(33,x=i.amountlimit),"vendorCategory"in i&&n(34,y=i.vendorCategory),"lang"in i&&n(35,b=i.lang),"isrecentavailable"in i&&n(0,L=i.isrecentavailable),"istopavailable"in i&&n(1,F=i.istopavailable),"defaultcurrency"in i&&n(2,A=i.defaultcurrency),"usercurrency"in i&&n(3,S=i.usercurrency),"clientstyling"in i&&n(4,B=i.clientstyling),"clientstylingurl"in i&&n(5,k=i.clientstylingurl),"enableautoscroll"in i&&n(6,v=i.enableautoscroll),"tabsorder"in i&&n(36,m=i.tabsorder),"translationurl"in i&&n(37,N=i.translationurl),"winnersdatasources"in i&&n(38,T=i.winnersdatasources),"hascustomstyling"in i&&n(39,_=i.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1610612739|r.$$.dirty[1]&63&&L&&F&&d&&f&&w&&E&&x&&y&&b&&m&&ke(),r.$$.dirty[0]&134217728&&a&&we(),r.$$.dirty[0]&140&&W&&(S||A)&&ie(),r.$$.dirty[0]&67108864|r.$$.dirty[1]&640&&l&&T&&G&&$(),r.$$.dirty[1]&16&&b&&ye(),r.$$.dirty[1]&64&&N&&he(),r.$$.dirty[1]&256&&_&&Ce(),r.$$.dirty[0]&272&&B&&M&&We(),r.$$.dirty[0]&288&&k&&M&&ve()},[L,F,A,S,B,k,v,W,M,c,g,u,C,z,O,P,X,H,V,I,s,K,ge,ee,re,Z,l,a,o,d,f,w,E,x,y,b,m,N,T,_,G,xe,Me,Fe,Se,Be,Te,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,De,Pe,e.safe_not_equal,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},ze,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=pe;