@everymatrix/casino-lobby 1.52.3 → 1.52.4

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.
Files changed (27) hide show
  1. package/components/{CasinoFavoritesSection-B9gBh0NZ.js → CasinoFavoritesSection-BBB31zDY.js} +1 -1
  2. package/components/{CasinoFavoritesSection-ChFh3su6.cjs → CasinoFavoritesSection-BHrmxWuN.cjs} +1 -1
  3. package/components/{CasinoFilter-D4w5681f.js → CasinoFilter-CxB9D2A4.js} +26 -26
  4. package/components/CasinoFilter-DdhssY81.cjs +1 -0
  5. package/components/{CasinoGamesCategorySection-BMrvvE60.js → CasinoGamesCategorySection-C_kk0DKd.js} +1 -1
  6. package/components/{CasinoGamesCategorySection-B4Qu6J6Z.cjs → CasinoGamesCategorySection-DRTO5RGa.cjs} +1 -1
  7. package/components/{CasinoLastPlayedSection-dSLftjtV.js → CasinoLastPlayedSection-CLnhsvP9.js} +1 -1
  8. package/components/{CasinoLastPlayedSection-DffnfNRE.cjs → CasinoLastPlayedSection-CXT1cjKT.cjs} +1 -1
  9. package/components/{CasinoLobby-oK0DUqXw.cjs → CasinoLobby-DSzDWiIw.cjs} +1 -1
  10. package/components/{CasinoLobby-D0fx3faE.js → CasinoLobby-pjumhRDZ.js} +1 -1
  11. package/components/{CasinoMostPlayedSection-CVtfFNhO.js → CasinoMostPlayedSection-5-RVoCb-.js} +1 -1
  12. package/components/{CasinoMostPlayedSection-DZGaHB3O.cjs → CasinoMostPlayedSection-Bl6GtlIg.cjs} +1 -1
  13. package/components/{CasinoMyGames-ByIkK-pB.js → CasinoMyGames-6DZcdRjD.js} +3 -3
  14. package/components/{CasinoMyGames-jDm4pm63.cjs → CasinoMyGames-Dk_pu9Qu.cjs} +1 -1
  15. package/components/CasinoPage-2oHimQvG.cjs +1 -0
  16. package/components/{CasinoPage-Bd9QG8fM.js → CasinoPage-C4py41GG.js} +15 -4
  17. package/components/{CasinoSearch-Dd4amKB_.cjs → CasinoSearch-BzNr7mJS.cjs} +1 -1
  18. package/components/{CasinoSearch-Y5NcDcXt.js → CasinoSearch-D5Ytqppn.js} +1 -1
  19. package/components/CasinoWinners-B4eUo0-6.cjs +1 -0
  20. package/components/CasinoWinners-BZNLRgvw.js +971 -0
  21. package/es2015/casino-lobby.cjs +1 -1
  22. package/es2015/casino-lobby.js +1 -1
  23. package/package.json +1 -1
  24. package/components/CasinoFilter-BRH4KgQb.cjs +0 -1
  25. package/components/CasinoPage-WPmHsvYH.cjs +0 -1
  26. package/components/CasinoWinners-CUORt5E8.cjs +0 -1
  27. package/components/CasinoWinners-CwPF3r2V.js +0 -908
@@ -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-oK0DUqXw.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-DSzDWiIw.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-D0fx3faE.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-pjumhRDZ.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.52.3",
3
+ "version": "1.52.4",
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 Y({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function $(i){e.append_styles(i,"svelte-ub9f39",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function K(i,t,l){const a=i.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function ee(i){let t,l,a,n,s,f,b,y,h=i[11]("filterby")+"",u,v,F,S,w=i[11]("providers")+"",P,_,c,m,g,I,A,C,W,L,T,H,x,E=i[11]("clear")+"",N,D,j,M,z,J;function q(o,p){return o[7]?re:le}let B=q(i),k=B(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),u=e.text(h),v=e.space(),F=e.element("div"),S=e.element("span"),P=e.text(w),_=e.space(),k.c(),c=e.space(),m=e.element("span"),g=e.svg_element("svg"),I=e.svg_element("path"),W=e.space(),L=e.element("div"),T=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),x=e.element("button"),N=e.text(E),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","14"),e.attr(g,"height","6.835"),e.attr(g,"viewBox","0 0 14 6.835"),e.attr(m,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",C="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(x,"class","ClearFilters"),x.disabled=D=i[7]&&i[6].length!=i[5].length,e.attr(L,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,p){e.insert(o,t,p),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,u),e.append(b,v),e.append(b,F),e.append(F,S),e.append(S,P),e.append(F,_),k.m(F,null),e.append(l,c),e.append(l,m),e.append(m,g),e.append(g,I),e.append(t,W),e.append(t,L),e.append(L,T);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(T,null);e.append(L,H),e.append(L,x),e.append(x,N),z||(J=[e.listen(l,"click",i[22]),e.listen(x,"click",i[25])],z=!0)},p(o,p){if(p[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(u,h),p[0]&2048&&w!==(w=o[11]("providers")+"")&&e.set_data(P,w),B===(B=q(o))&&k?k.p(o,p):(k.d(1),k=B(o),k&&(k.c(),k.m(F,null))),p[0]&16&&A!==(A="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(m,"class",A),p[0]&16&&C!==(C="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",C),p[0]&8228){O=e.ensure_array_like(o[5]);let d;for(d=0;d<O.length;d+=1){const V=K(o,O,d);r[d]?r[d].p(V,p):(r[d]=Q(V),r[d].c(),r[d].m(T,null))}for(;d<r.length;d+=1)r[d].d(1);r.length=O.length}p[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(N,E),p[0]&224&&D!==(D=o[7]&&o[6].length!=o[5].length)&&(x.disabled=D),p[0]&16&&j!==(j="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(L,"class",j),p[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),k.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function te(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function le(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function re(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ie(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[36].logo)||e.attr(t,"src",l),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ae(i){let t,l,a=i[36].name+"",n,s,f,b,y=i[36].games.count+"",h,u;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),u=e.text(")"),e.attr(t,"class","FilterItemLabel")},m(v,F){e.insert(v,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,u)},p(v,F){F[0]&32&&a!==(a=v[36].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=v[36].games.count+"")&&e.set_data(h,y)},d(v){v&&e.detach(t)}}}function Q(i){let t,l,a,n,s,f,b,y,h,u,v,F;function S(){i[23].call(a,i[37],i[38])}function w(){return i[24](i[36])}function P(m,g){if(m[2]==="false")return ae;if(m[2]==="true")return ie}let _=P(i),c=_&&_(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),c&&c.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[36].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=u=i[36].name},m(m,g){e.insert(m,t,g),e.append(t,l),e.append(l,a),a.checked=i[36].isFilterSelected,e.append(l,s),e.append(l,f),e.append(l,b),c&&c.m(l,null),e.append(t,y),v||(F=[e.listen(a,"change",S),e.listen(a,"click",w)],v=!0)},p(m,g){i=m,g[0]&32&&n!==(n=i[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),g[0]&32&&(a.checked=i[36].isFilterSelected),_===(_=P(i))&&c?c.p(i,g):(c&&c.d(1),c=_&&_(i),c&&(c.c(),c.m(l,null))),g[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),g[0]&32&&u!==(u=i[36].name)&&(t.value=u)},d(m){m&&e.detach(t),c&&c.d(),v=!1,e.run_all(F)}}}function ne(i){let t;function l(s,f){if(s[10])return te;if(!s[9])return ee}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[26](t)},p(s,f){a===(a=l(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[26](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:u=""}=t,{addfilterselector:v="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:S="false"}=t,w=!1,P=window.navigator.userAgent,_=[],c=[],m={},g=!1,I=0,A=!0,C,W=!1;Y({withLocale:"en",translations:{}});const L=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(p=>{Z(p,o[p])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])});const T=()=>{let r=document.createElement("style");r.innerHTML=y,C.appendChild(r)},H=()=>{let r=document.createElement("style");fetch(new URL(h)).then(o=>o.text()).then(o=>{r.innerHTML=o,setTimeout(()=>{C.appendChild(r)},1)})};m[u]&&(m={[u]:[]});const x=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,A=!0),new Promise((o,p)=>{fetch(r).then(d=>d.json()).then(d=>{d=d.items,o(d.items),l(6,c=[]);let V=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));d.forEach(R=>{var U;V||(V={currentCategoryId:[]}),((U=V[u])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,c.push(R)):R.isFilterSelected=!1}),l(5,_=d),D()}).catch(d=>{console.error(d),l(10,W=!0),p(d)}).finally(()=>{l(9,A=!1)})})),N=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!c.length||c.filter(p=>p.name===r.name).length==0?c.push(r):l(6,c=c.filter(p=>p.name!==r.name)),o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(p=>p.id)})):(o=JSON.parse(o),o[u]=c.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),D()},D=()=>{l(7,g=c.length===_.length||c.length==0),l(8,I=c.length)},j=()=>{const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",f),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(P)),(u.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${u})`),r.searchParams.append("subVendors",`games(subGroups=${u})`)):r.searchParams.append("filter",`games(groups=${u})`),E(r)},M=()=>{l(6,c=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(r=>r.id)})),_.forEach(r=>r.isFilterSelected=!1),l(5,_),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,g=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const J=()=>x();function q(r,o){r[o].isFilterSelected=this.checked,l(5,_)}const B=r=>N(r),k=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{C=r,l(3,C)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,f=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,u=r.categoryid),"addfilterselector"in r&&l(0,v=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,S=r.filterbylogo)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&u&&S&&j(),i.$$.dirty[0]&524296&&y&&C&&T(),i.$$.dirty[0]&1048584&&h&&C&&H(),i.$$.dirty[0]&262144&&b&&L()},[v,F,S,C,w,_,c,g,I,A,W,a,x,N,M,n,s,f,b,y,h,u,J,q,B,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ne,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},$,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{}},[],[],!0);exports.default=X;
@@ -1 +0,0 @@
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-jDm4pm63.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 +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,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;