@everymatrix/casino-lobby 1.50.1 → 1.51.0

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 (54) hide show
  1. package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +1 -0
  2. package/components/{CasinoCategoriesSlider-BnLGhDj2.js → CasinoCategoriesSlider-DZ3Xi2sD.js} +44 -40
  3. package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +1 -0
  4. package/components/{CasinoCollectionsProviders-O5eYWKqu.js → CasinoCollectionsProviders-CNZ2cCAe.js} +5 -0
  5. package/components/{CasinoFavoritesSection-CumUm71T.js → CasinoFavoritesSection-B9gBh0NZ.js} +1 -1
  6. package/components/{CasinoFavoritesSection-CSDBLW4w.cjs → CasinoFavoritesSection-ChFh3su6.cjs} +1 -1
  7. package/components/CasinoFilter-BRH4KgQb.cjs +1 -0
  8. package/components/{CasinoFilter-Ba4pyyzC.js → CasinoFilter-D4w5681f.js} +6 -0
  9. package/components/{CasinoGamePage-D-0bV9s0.js → CasinoGamePage-CDh-e6Wj.js} +102 -93
  10. package/components/{CasinoGamePage-CAEcKO2C.cjs → CasinoGamePage-D-wyPyQN.cjs} +1 -1
  11. package/components/CasinoGameThumbnail-Cy1VrIc2.cjs +38 -0
  12. package/components/{CasinoGameThumbnail-Br4gzW2I.js → CasinoGameThumbnail-E3DsUeGg.js} +89 -81
  13. package/components/CasinoGamesCategorySection-B4Qu6J6Z.cjs +1 -0
  14. package/components/{CasinoGamesCategorySection-IDIjeUsC.js → CasinoGamesCategorySection-BMrvvE60.js} +93 -80
  15. package/components/CasinoJackpotBanner-BlShS5Vc.cjs +1 -0
  16. package/components/{CasinoJackpotBanner-D-0bynYa.js → CasinoJackpotBanner-DPuhYIS9.js} +30 -27
  17. package/components/CasinoLastPlayedSection-DffnfNRE.cjs +1 -0
  18. package/components/{CasinoLastPlayedSection-BHZA2U-l.js → CasinoLastPlayedSection-dSLftjtV.js} +43 -40
  19. package/components/{CasinoLobby-DQGjTjXn.cjs → CasinoLobby-CvUPzodV.cjs} +1 -1
  20. package/components/{CasinoLobby-BSBqQiwz.js → CasinoLobby-DqaaWA3b.js} +3 -3
  21. package/components/{CasinoMostPlayedSection-B4cUve-8.js → CasinoMostPlayedSection-CVtfFNhO.js} +35 -32
  22. package/components/CasinoMostPlayedSection-DZGaHB3O.cjs +1 -0
  23. package/components/{CasinoMyGames-DG40cnqo.js → CasinoMyGames-BnnaietT.js} +40 -35
  24. package/components/CasinoMyGames-CfS6qq0G.cjs +1 -0
  25. package/components/{CasinoPage-DZofqKdq.js → CasinoPage-CSCTMi60.js} +600 -588
  26. package/components/CasinoPage-R2WJDwPP.cjs +1 -0
  27. package/components/CasinoRandomGame-BpdxwlFB.cjs +2 -0
  28. package/components/{CasinoRandomGame-ClDKDIUi.js → CasinoRandomGame-Cw331FLx.js} +75 -69
  29. package/components/CasinoSearch-Dd4amKB_.cjs +1 -0
  30. package/components/{CasinoSearch-nhPFLDr6.js → CasinoSearch-Y5NcDcXt.js} +60 -50
  31. package/components/CasinoSlider-GXmtset2.cjs +1 -0
  32. package/components/{CasinoSlider-DDJYl0_C.js → CasinoSlider-b2MX1hWZ.js} +164 -159
  33. package/components/CasinoSort-Bb3WIr_q.cjs +1 -0
  34. package/components/{CasinoSort-COqebE70.js → CasinoSort-ContI1pC.js} +24 -17
  35. package/components/CasinoWinners-Ckyk_WaU.cjs +1 -0
  36. package/components/{CasinoWinners-B-NBTMbI.js → CasinoWinners-DggB-TUh.js} +48 -43
  37. package/es2015/casino-lobby.cjs +1 -1
  38. package/es2015/casino-lobby.js +1 -1
  39. package/package.json +1 -1
  40. package/components/CasinoCategoriesSlider-MGSqtuSH.cjs +0 -1
  41. package/components/CasinoCollectionsProviders-7MJNy6vH.cjs +0 -1
  42. package/components/CasinoFilter-DPFQTDnp.cjs +0 -1
  43. package/components/CasinoGameThumbnail-q80EbGZc.cjs +0 -38
  44. package/components/CasinoGamesCategorySection-ChO8lRW6.cjs +0 -1
  45. package/components/CasinoJackpotBanner-DBLcL6wU.cjs +0 -1
  46. package/components/CasinoLastPlayedSection-Dn26Po-i.cjs +0 -1
  47. package/components/CasinoMostPlayedSection-DWj3eB25.cjs +0 -1
  48. package/components/CasinoMyGames-JPu4ITbh.cjs +0 -1
  49. package/components/CasinoPage-CUgnyFdX.cjs +0 -1
  50. package/components/CasinoRandomGame-BopxEXk6.cjs +0 -2
  51. package/components/CasinoSearch-BHqi_Ojn.cjs +0 -1
  52. package/components/CasinoSlider-DzlnKD97.cjs +0 -1
  53. package/components/CasinoSort-DqAXg8IN.cjs +0 -1
  54. package/components/CasinoWinners-GJyWRA8u.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-aMUXtMPt.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function D(e,r){t.addMessages(e,r)}const E={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-kh3a1g",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));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}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function j(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,d,m,c,y,g,S,w=e[4]("sortby")+"",h,A,_,I,z=(e[3]||e[4]("all"))+"",M,O,k,v,C,F,N,a,i,b,H,L,T,Z=t.ensure_array_like(Object.values(e[5])),f=[];for(let p=0;p<Z.length;p+=1)f[p]=P(j(e,Z,p));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),d=t.svg_element("path"),m=t.svg_element("path"),c=t.svg_element("path"),y=t.space(),g=t.element("div"),S=t.element("span"),h=t.text(w),A=t.space(),_=t.element("div"),I=t.element("span"),M=t.text(z),O=t.space(),k=t.element("span"),v=t.svg_element("svg"),C=t.svg_element("path"),a=t.space(),i=t.element("div"),b=t.element("ul");for(let p=0;p<f.length;p+=1)f[p].c();t.attr(d,"id","Path_5267"),t.attr(d,"data-name","Path 5267"),t.attr(d,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(d,"transform","translate(-206.448 0)"),t.attr(d,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(c,"id","Path_5269"),t.attr(c,"data-name","Path 5269"),t.attr(c,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(c,"transform","translate(-412.896 0)"),t.attr(c,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(S,"class","SorterName"),t.attr(_,"class","SorterValueContainer"),t.attr(g,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"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"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(v,"xmlns","http://www.w3.org/2000/svg"),t.attr(v,"width","14"),t.attr(v,"height","6.835"),t.attr(v,"viewBox","0 0 14 6.835"),t.attr(k,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(b,"class","SorterDropdown"),t.attr(i,"class",H="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(p,x){t.insert(p,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,d),t.append(s,m),t.append(s,c),t.append(o,y),t.append(o,g),t.append(g,S),t.append(S,h),t.append(g,A),t.append(g,_),t.append(_,I),t.append(I,M),t.append(n,O),t.append(n,k),t.append(k,v),t.append(v,C),t.append(r,a),t.append(r,i),t.append(i,b);for(let u=0;u<f.length;u+=1)f[u]&&f[u].m(b,null);L||(T=t.listen(n,"click",e[13]),L=!0)},p(p,x){if(x&16&&w!==(w=p[4]("sortby")+"")&&t.set_data(h,w),x&24&&z!==(z=(p[3]||p[4]("all"))+"")&&t.set_data(M,z),x&2&&F!==(F="TriangleInactive "+(p[1]?"TriangleActive":""))&&t.attr(k,"class",F),x&2&&N!==(N="SorterSelector "+(p[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),x&120){Z=t.ensure_array_like(Object.values(p[5]));let u;for(u=0;u<Z.length;u+=1){const B=j(p,Z,u);f[u]?f[u].p(B,x):(f[u]=P(B),f[u].c(),f[u].m(b,null))}for(;u<f.length;u+=1)f[u].d(1);f.length=Z.length}x&2&&H!==(H="SorterDropdownContainer "+(p[1]?"SorterOpen":""))&&t.attr(i,"class",H)},d(p){p&&t.detach(r),t.destroy_each(f,p),L=!1,T()}}}function P(e){let r,n,o,l,s,d,m,c,y,g,S;function w(){return e[14](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),d=t.element("span"),m=t.space(),c=t.element("span"),c.textContent=`${e[23]}`,y=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(d,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(h,A){t.insert(h,r,A),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,d),t.append(n,m),t.append(n,c),t.append(r,y),g||(S=t.listen(o,"click",w),g=!0)},p(h,A){e=h,A&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(h){h&&t.detach(r),g=!1,S()}}}function U(e){let r;function n(s,d){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,d){t.insert(s,r,d),l&&l.m(r,null),e[15](r)},p(s,[d]){o===(o=n(s))&&l?l.p(s,d):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[15](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:d=""}=r,{clientstylingurl:m=""}=r,{categoryid:c=""}=r,y,g=!1,S=!0,w="",h="All";V({withLocale:"en",translations:{}});const A=()=>{fetch(s).then(i=>i.json()).then(i=>{Object.keys(i).forEach(b=>{D(b,i[b])})}).catch(i=>{console.log(i)})};Object.keys(E).forEach(a=>{D(a,E[a])});const _={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},I=()=>{let a=document.createElement("style");a.innerHTML=d,y.appendChild(a)},z=()=>{let a=document.createElement("style");fetch(new URL(m)).then(i=>i.text()).then(i=>{a.innerHTML=i,setTimeout(()=>{y.appendChild(a)},1)})},M=()=>{var i;n(3,h="All"),n(2,S=!1),n(1,g=!1);let a=(i=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:i[c];a?n(3,h=a):n(3,h="All"),n(3,h=_[a])},O=a=>{n(3,h=a);let i=localStorage.getItem("vendorSortingBy");w=a;for(let b in _)if(_[b]===a){w=b;break}i==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:w})):(i=JSON.parse(i),i[c]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(i))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:c},window.location.href),n(1,g=!g)},k=()=>{n(1,g=!g),window.postMessage({type:"SortingOpened"},window.location.href)},v=a=>{a.data.type=="FilterOpened"&&n(1,g=!1)};t.onMount(()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}));const C=()=>k(),F=a=>O(a);function N(a){t.binding_callbacks[a?"unshift":"push"](()=>{y=a,n(0,y)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,d=a.clientstyling),"clientstylingurl"in a&&n(11,m=a.clientstylingurl),"categoryid"in a&&n(12,c=a.categoryid)},e.$$.update=()=>{e.$$.dirty&4096&&c&&M(),e.$$.dirty&1025&&d&&y&&I(),e.$$.dirty&2049&&m&&y&&z(),e.$$.dirty&512&&s&&A()},[y,g,S,h,o,_,O,k,l,s,d,m,c,C,F,N]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{}},[],[],!0);exports.default=R;
@@ -126,6 +126,13 @@ const X = {
126
126
  az: "A-Z",
127
127
  newest: "Más nuevos",
128
128
  hottest: "Más calientes"
129
+ },
130
+ "en-us": {
131
+ sortby: "Sort by:",
132
+ all: "All",
133
+ az: "A-Z",
134
+ newest: "Newest",
135
+ hottest: "Hottest"
129
136
  }
130
137
  };
131
138
  function he(e) {
@@ -139,28 +146,28 @@ function me(e) {
139
146
  let t, o, a, l, i, p, y, g, b, u, x, S = (
140
147
  /*$_*/
141
148
  e[4]("sortby") + ""
142
- ), m, C, A, H, I = (
149
+ ), m, C, A, B, I = (
143
150
  /*vendorSortingBy*/
144
151
  (e[3] || /*$_*/
145
152
  e[4]("all")) + ""
146
- ), L, T, z, _, F, O, M, n, c, v, E, j, V, B = G(Object.values(
153
+ ), L, T, z, _, F, O, H, n, c, v, E, j, V, M = G(Object.values(
147
154
  /*vendorMap*/
148
155
  e[5]
149
156
  )), w = [];
150
- for (let d = 0; d < B.length; d += 1)
151
- w[d] = $(Y(e, B, d));
157
+ for (let d = 0; d < M.length; d += 1)
158
+ w[d] = $(Y(e, M, d));
152
159
  return {
153
160
  c() {
154
- t = f("div"), o = f("div"), a = f("div"), l = N("svg"), i = N("g"), p = N("path"), y = N("path"), g = N("path"), b = Z(), u = f("div"), x = f("span"), m = K(S), C = Z(), A = f("div"), H = f("span"), L = K(I), T = Z(), z = f("span"), _ = N("svg"), F = N("path"), n = Z(), c = f("div"), v = f("ul");
161
+ t = f("div"), o = f("div"), a = f("div"), l = N("svg"), i = N("g"), p = N("path"), y = N("path"), g = N("path"), b = Z(), u = f("div"), x = f("span"), m = K(S), C = Z(), A = f("div"), B = f("span"), L = K(I), T = Z(), z = f("span"), _ = N("svg"), F = N("path"), n = Z(), c = f("div"), v = f("ul");
155
162
  for (let d = 0; d < w.length; d += 1)
156
163
  w[d].c();
157
164
  r(p, "id", "Path_5267"), r(p, "data-name", "Path 5267"), r(p, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(p, "transform", "translate(-206.448 0)"), r(p, "fill", "#fff"), r(y, "id", "Path_5268"), r(y, "data-name", "Path 5268"), r(y, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(y, "transform", "translate(0 0)"), r(y, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(x, "class", "SorterName"), r(A, "class", "SorterValueContainer"), r(u, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(_, "xmlns", "http://www.w3.org/2000/svg"), r(_, "width", "14"), r(_, "height", "6.835"), r(_, "viewBox", "0 0 14 6.835"), r(z, "class", O = "TriangleInactive " + /*isSorterActive*/
158
- (e[1] ? "TriangleActive" : "")), r(o, "class", M = "SorterSelector " + /*isSorterActive*/
165
+ (e[1] ? "TriangleActive" : "")), r(o, "class", H = "SorterSelector " + /*isSorterActive*/
159
166
  (e[1] ? "SorterSelectorOpen" : "")), r(v, "class", "SorterDropdown"), r(c, "class", E = "SorterDropdownContainer " + /*isSorterActive*/
160
167
  (e[1] ? "SorterOpen" : "")), r(t, "class", "SorterContainer");
161
168
  },
162
169
  m(d, k) {
163
- R(d, t, k), s(t, o), s(o, a), s(a, l), s(l, i), s(i, p), s(i, y), s(i, g), s(a, b), s(a, u), s(u, x), s(x, m), s(u, C), s(u, A), s(A, H), s(H, L), s(o, T), s(o, z), s(z, _), s(_, F), s(t, n), s(t, c), s(c, v);
170
+ R(d, t, k), s(t, o), s(o, a), s(a, l), s(l, i), s(i, p), s(i, y), s(i, g), s(a, b), s(a, u), s(u, x), s(x, m), s(u, C), s(u, A), s(A, B), s(B, L), s(o, T), s(o, z), s(z, _), s(_, F), s(t, n), s(t, c), s(c, v);
164
171
  for (let h = 0; h < w.length; h += 1)
165
172
  w[h] && w[h].m(v, null);
166
173
  j || (V = ee(
@@ -179,21 +186,21 @@ function me(e) {
179
186
  d[4]("all")) + "") && Q(L, I), k & /*isSorterActive*/
180
187
  2 && O !== (O = "TriangleInactive " + /*isSorterActive*/
181
188
  (d[1] ? "TriangleActive" : "")) && r(z, "class", O), k & /*isSorterActive*/
182
- 2 && M !== (M = "SorterSelector " + /*isSorterActive*/
183
- (d[1] ? "SorterSelectorOpen" : "")) && r(o, "class", M), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
189
+ 2 && H !== (H = "SorterSelector " + /*isSorterActive*/
190
+ (d[1] ? "SorterSelectorOpen" : "")) && r(o, "class", H), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
184
191
  120) {
185
- B = G(Object.values(
192
+ M = G(Object.values(
186
193
  /*vendorMap*/
187
194
  d[5]
188
195
  ));
189
196
  let h;
190
- for (h = 0; h < B.length; h += 1) {
191
- const J = Y(d, B, h);
197
+ for (h = 0; h < M.length; h += 1) {
198
+ const J = Y(d, M, h);
192
199
  w[h] ? w[h].p(J, k) : (w[h] = $(J), w[h].c(), w[h].m(v, null));
193
200
  }
194
201
  for (; h < w.length; h += 1)
195
202
  w[h].d(1);
196
- w.length = B.length;
203
+ w.length = M.length;
197
204
  }
198
205
  k & /*isSorterActive*/
199
206
  2 && E !== (E = "SorterDropdownContainer " + /*isSorterActive*/
@@ -294,7 +301,7 @@ function ye(e, t, o) {
294
301
  name: a("az"),
295
302
  isNew: a("newest"),
296
303
  "advancedTags(name(hot))": a("hottest")
297
- }, H = () => {
304
+ }, B = () => {
298
305
  let n = document.createElement("style");
299
306
  n.innerHTML = p, b.appendChild(n);
300
307
  }, I = () => {
@@ -338,7 +345,7 @@ function ye(e, t, o) {
338
345
  window.removeEventListener("message", _);
339
346
  }));
340
347
  const F = () => z(), O = (n) => T(n);
341
- function M(n) {
348
+ function H(n) {
342
349
  de[n ? "unshift" : "push"](() => {
343
350
  b = n, o(0, b);
344
351
  });
@@ -348,7 +355,7 @@ function ye(e, t, o) {
348
355
  }, e.$$.update = () => {
349
356
  e.$$.dirty & /*categoryid*/
350
357
  4096 && g && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
351
- 1025 && p && b && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
358
+ 1025 && p && b && B(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
352
359
  2049 && y && b && I(), e.$$.dirty & /*translationurl*/
353
360
  512 && i && C();
354
361
  }, [
@@ -367,7 +374,7 @@ function ye(e, t, o) {
367
374
  g,
368
375
  F,
369
376
  O,
370
- M
377
+ H
371
378
  ];
372
379
  }
373
380
  class we extends oe {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function se(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CtmRY9AI.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function ze(r){e.append_styles(r,"svelte-157tecu","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const s=r.slice();return s[70]=t[n],s}function oe(r,t,n){const s=r.slice();return s[73]=t[n],s}function Ee(r){let t,n,s,l,a,o,d,f,w,E,x,y,b,L,F,A,S,B,k,v=e.ensure_array_like(r[17]),m=[];for(let c=0;c<v.length;c+=1)m[c]=fe(oe(r,v,c));function N(c,g){return c[18]?Oe:Re}let T=N(r),_=T(r);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),d=e.svg_element("svg"),f=e.svg_element("path"),E=e.space(),x=e.element("button"),y=e.svg_element("svg"),b=e.svg_element("path"),A=e.space(),_.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(f,"style",w=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(f,"id","Path_36"),e.attr(f,"data-name","Path 36"),e.attr(f,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(f,"transform","translate(14.656 0) rotate(90)"),e.attr(f,"fill","#fff"),e.attr(d,"id","Component_46_2"),e.attr(d,"data-name","Component 46 – 2"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","15"),e.attr(d,"height","15"),e.attr(d,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(b,"style",L=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(y,"id","Component_46_2"),e.attr(y,"data-name","Component 46 – 2"),e.attr(y,"xmlns","http://www.w3.org/2000/svg"),e.attr(y,"width","15"),e.attr(y,"height","15"),e.attr(y,"viewBox","0 0 16 24.656"),e.attr(x,"class","SliderButton"),e.attr(a,"class",F="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[13]?"Mobile":""))},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,s);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(s,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,d),e.append(d,f),e.append(a,E),e.append(a,x),e.append(x,y),e.append(y,b),e.append(t,A),_.m(t,null),B||(k=[e.listen(o,"click",r[43]),e.listen(x,"click",r[44])],B=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let u;for(u=0;u<v.length;u+=1){const p=oe(c,v,u);m[u]?m[u].p(p,g):(m[u]=fe(p),m[u].c(),m[u].m(s,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=v.length}g[0]&6144&&w!==(w=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(f,"style",w),g[0]&6144&&L!==(L=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",L),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",F),T===(T=N(c))&&_?_.p(c,g):(_.d(1),_=T(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":""))&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(k)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[0]==="true"&&ue(r);return{c(){n&&n.c(),t=e.empty()},m(s,l){n&&n.m(s,l),e.insert(s,t,l)},p(s,l){s[0]==="true"?n?n.p(s,l):(n=ue(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function ue(r){let t,n,s,l,a;return{c(){t=e.element("button"),n=e.text("Recent Winners"),e.attr(t,"class",s="WinnersButton "+(r[10]=="recent"?"Active":""))},m(o,d){e.insert(o,t,d),e.append(t,n),l||(a=e.listen(t,"click",r[41]),l=!0)},p(o,d){d[0]&1024&&s!==(s="WinnersButton "+(o[10]=="recent"?"Active":""))&&e.attr(t,"class",s)},d(o){o&&e.detach(t),l=!1,a()}}}function de(r){let t,n=r[20]("topWinners")+"",s,l,a,o,d;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(f,w){e.insert(f,t,w),e.append(t,s),e.append(t,l),o||(d=e.listen(t,"click",r[42]),o=!0)},p(f,w){w[0]&1048576&&n!==(n=f[20]("topWinners")+"")&&e.set_data(s,n),w[0]&1026&&a!==(a="WinnersButton "+(f[10]=="top"?"Active":"")+" "+(f[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(f){f&&e.detach(t),o=!1,d()}}}function fe(r){let t,n,s=r[73]=="recent"&&ce(r),l=r[73]=="top"&&de(r);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){s&&s.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?s?s.p(a,o):(s=ce(a),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),a[73]=="top"?l?l.p(a,o):(l=de(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),s&&s.d(a),l&&l.d(a)}}}function Re(r){let t,n=e.ensure_array_like(r[11]),s=[];for(let l=0;l<n.length;l+=1)s[l]=me(ae(r,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","WinnersSlider")},m(l,a){e.insert(l,t,a);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);r[47](t)},p(l,a){if(a[0]&14223500){n=e.ensure_array_like(l[11]);let o;for(o=0;o<n.length;o+=1){const d=ae(l,n,o);s[o]?s[o].p(d,a):(s[o]=me(d),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),r[47](null)}}}function Oe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function me(r){let t,n,s,l,a,o,d,f=r[70].gameName+"",w,E,x,y=r[22](r[70].username)+"",b,L,F,A=r[20]("won")+"",S,B,k,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,N,T,_=(r[7]?r[3]:r[2])+"",c,g,u,p,C;function q(){return r[45](r[70])}return{c(){var z,W,R,M;t=e.element("div"),n=e.element("div"),s=e.element("img"),o=e.space(),d=e.element("p"),w=e.text(f),E=e.space(),x=e.element("p"),b=e.text(y),L=e.space(),F=e.element("p"),S=e.text(A),B=e.space(),k=e.element("p"),m=e.text(v),N=e.space(),T=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(s.src,l=(W=(z=r[70])==null?void 0:z.gameModel)==null?void 0:W.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",a=(M=(R=r[70])==null?void 0:R.gameModel)==null?void 0:M.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(F,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(z,W){e.insert(z,t,W),e.append(t,n),e.append(n,s),e.append(n,o),e.append(n,d),e.append(d,w),e.append(n,E),e.append(n,x),e.append(x,b),e.append(n,L),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,k),e.append(k,m),e.append(k,N),e.append(k,T),e.append(T,c),e.append(t,g),r[46](t),p||(C=e.listen(s,"click",q),p=!0)},p(z,W){var R,M,O,P;r=z,W[0]&2048&&!e.src_url_equal(s.src,l=(M=(R=r[70])==null?void 0:R.gameModel)==null?void 0:M.thumbnail)&&e.attr(s,"src",l),W[0]&2048&&a!==(a=(P=(O=r[70])==null?void 0:O.gameModel)==null?void 0:P.thumbnail)&&e.attr(s,"alt",a),W[0]&2048&&f!==(f=r[70].gameName+"")&&e.set_data(w,f),W[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(b,y),W[0]&1048576&&A!==(A=r[20]("won")+"")&&e.set_data(S,A),W[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),W[0]&140&&_!==(_=(r[7]?r[3]:r[2])+"")&&e.set_data(c,_),W[0]&65536&&u!==(u="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",u)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(a,o){return a[14]||a[15]?Ne:Ee}let s=n(r),l=s(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){s===(s=n(a))&&l?l.p(a,o):(l.d(1),l=s(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[48](null)}}}function De(r,t,n){let s;e.component_subscribe(r,e.$format,i=>n(20,s=i));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:d="Today"}=t,{periodtop:f="Last7Days"}=t,{numberusersrecent:w="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:x="1"}=t,{vendorCategory:y="All"}=t,{lang:b="en"}=t,{isrecentavailable:L="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:A=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:k=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:N=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:_="false"}=t,c,g,u=[],p=0,C=0,q=window.navigator.userAgent,z,W,R,M,O=!0,P=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const he=()=>{let i=new URL(N);fetch(i.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(j=>{se(j,h[j])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(i=>{se(i,le[i])});const $=()=>{J=T.split(",").map(function(h){return h.trim()});const i=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),i.searchParams.append("limit",g=="recent"?w:E),i.searchParams.append("specifiedCurrency",G),i.searchParams.append("period",g=="recent"?d:f),i.searchParams.append("language",b),i.searchParams.append("amountLimit",x),i.searchParams.append("vendorCategory",y),J.forEach(h=>{i.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(i.href).then(h=>h.json()).then(h=>{n(11,u=[]),n(11,u=h.items.map(j=>j)),n(18,V=!1),setTimeout(()=>{_e(),te(),v=="true"&&(clearInterval(D),be()),n(14,O=!1)},5)})},1e3)},K=i=>{g!==i&&(n(11,u=[]),n(10,g=i),$())},ge=i=>i.slice(0,2)+i.slice(2,-2).replace(/./g,"*")+i.slice(-2),ee=(i,h,j,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:i,launchUrl:h,gameName:j,subVendor:U},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${i}`,userId:`${R||"Not logged in"}`})},te=i=>{const h=[...c.children];Y=h.length,h.forEach((j,U)=>{j.style.transform=`translateX(${100*(i?U-i:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},be=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},_e=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=u.length)return;const i=u.length;p===0?p=i-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=u.length)return;const i=u.length;v=="true"&&(p===i-C?p=0:p++),v=="false"&&(p===i-C?p=0:i-C<p+C?p=i-C:p+=C),ne()},ye=()=>{Le(b)},we=()=>{n(7,W=!0),R=o},ie=()=>{n(40,G=W?S:A)},We=()=>{let i=document.createElement("style");i.innerHTML=B,M.appendChild(i)},ve=()=>{let i=new URL(k),h=document.createElement("style");fetch(i.href).then(j=>j.text()).then(j=>{h.innerHTML=j,setTimeout(()=>{M.appendChild(h)},1),setTimeout(()=>{},500),n(15,P=!1)})},Ce=()=>{_==="true"&&(!B&&!k&&M&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&k&&n(15,P=!0))},ke=()=>{n(17,H=m.split(",")),n(10,g=H[0]),ie(),n(14,O=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const xe=()=>K("recent"),Me=()=>K("top"),Fe=()=>re(),Se=()=>Z(),Be=i=>ee(i.gameId,i.gameModel.launchUrl,i.gameModel.name,i.gameModel.subVendor);function Te(i){e.binding_callbacks[i?"unshift":"push"](()=>{I=i,n(19,I)})}function Ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(9,c)})}function je(i){e.binding_callbacks[i?"unshift":"push"](()=>{M=i,n(8,M)})}return r.$$set=i=>{"endpoint"in i&&n(26,l=i.endpoint),"session"in i&&n(27,a=i.session),"userid"in i&&n(28,o=i.userid),"periodrecent"in i&&n(29,d=i.periodrecent),"periodtop"in i&&n(30,f=i.periodtop),"numberusersrecent"in i&&n(31,w=i.numberusersrecent),"numberuserstop"in i&&n(32,E=i.numberuserstop),"amountlimit"in i&&n(33,x=i.amountlimit),"vendorCategory"in i&&n(34,y=i.vendorCategory),"lang"in i&&n(35,b=i.lang),"isrecentavailable"in i&&n(0,L=i.isrecentavailable),"istopavailable"in i&&n(1,F=i.istopavailable),"defaultcurrency"in i&&n(2,A=i.defaultcurrency),"usercurrency"in i&&n(3,S=i.usercurrency),"clientstyling"in i&&n(4,B=i.clientstyling),"clientstylingurl"in i&&n(5,k=i.clientstylingurl),"enableautoscroll"in i&&n(6,v=i.enableautoscroll),"tabsorder"in i&&n(36,m=i.tabsorder),"translationurl"in i&&n(37,N=i.translationurl),"winnersdatasources"in i&&n(38,T=i.winnersdatasources),"hascustomstyling"in i&&n(39,_=i.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1610612739|r.$$.dirty[1]&63&&L&&F&&d&&f&&w&&E&&x&&y&&b&&m&&ke(),r.$$.dirty[0]&134217728&&a&&we(),r.$$.dirty[0]&140&&W&&(S||A)&&ie(),r.$$.dirty[0]&67108864|r.$$.dirty[1]&640&&l&&T&&G&&$(),r.$$.dirty[1]&16&&b&&ye(),r.$$.dirty[1]&64&&N&&he(),r.$$.dirty[1]&256&&_&&Ce(),r.$$.dirty[0]&272&&B&&M&&We(),r.$$.dirty[0]&288&&k&&M&&ve()},[L,F,A,S,B,k,v,W,M,c,g,u,C,z,O,P,X,H,V,I,s,K,ge,ee,re,Z,l,a,o,d,f,w,E,x,y,b,m,N,T,_,G,xe,Me,Fe,Se,Be,Te,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,De,Pe,e.safe_not_equal,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},ze,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=pe;
@@ -1,5 +1,5 @@
1
- import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as Z, D as _e } from "./CasinoCalendar-0AyYaYr6.js";
2
- function we(n, e) {
1
+ import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as G, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, R as st, M as H, F as Te, O as lt, r as V, A as Z, D as we } from "./CasinoCalendar-0AyYaYr6.js";
2
+ function _e(n, e) {
3
3
  Je(n, e);
4
4
  }
5
5
  function ot(n) {
@@ -95,6 +95,11 @@ const We = {
95
95
  recentWinners: "Ganadores recientes",
96
96
  topWinners: "Mejores Ganadores",
97
97
  won: "recién gano"
98
+ },
99
+ "en-us": {
100
+ recentWinners: "Recent Winners",
101
+ topWinners: "Top Winners",
102
+ won: "just won"
98
103
  }
99
104
  };
100
105
  if (typeof window != "undefined") {
@@ -125,7 +130,7 @@ function Ce(n, e, t) {
125
130
  return r[73] = e[t], r;
126
131
  }
127
132
  function ct(n) {
128
- let e, t, r, s, l, o, f, m, C, I, S, v, _, N, T, E, A, L, x, M = te(
133
+ let e, t, r, s, l, o, f, m, C, I, S, v, w, N, T, E, A, j, x, M = te(
129
134
  /*tabs*/
130
135
  n[17]
131
136
  ), g = [];
@@ -137,17 +142,17 @@ function ct(n) {
137
142
  c[18] ? ft : dt
138
143
  );
139
144
  }
140
- let j = P(n), w = j(n);
145
+ let L = P(n), _ = L(n);
141
146
  return {
142
147
  c() {
143
148
  e = W("div"), t = W("div"), r = W("div");
144
149
  for (let c = 0; c < g.length; c += 1)
145
150
  g[c].c();
146
- s = O(), l = W("div"), o = W("button"), f = ee("svg"), m = ee("path"), I = O(), S = W("button"), v = ee("svg"), _ = ee("path"), E = O(), w.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
151
+ s = O(), l = W("div"), o = W("button"), f = ee("svg"), m = ee("path"), I = O(), S = W("button"), v = ee("svg"), w = ee("path"), E = O(), _.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
147
152
  n[12] >= /*winners*/
148
- n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(_, "style", N = /*numberOfVisibleSlides*/
153
+ n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(w, "style", N = /*numberOfVisibleSlides*/
149
154
  n[12] >= /*winners*/
150
- n[11].length ? "fill:#F6F6F62E" : ""), a(_, "id", "Path_36"), a(_, "data-name", "Path 36"), a(_, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(_, "transform", "translate(0 24.656) rotate(-90)"), a(_, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
155
+ n[11].length ? "fill:#F6F6F62E" : ""), a(w, "id", "Path_36"), a(w, "data-name", "Path 36"), a(w, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(w, "transform", "translate(0 24.656) rotate(-90)"), a(w, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
151
156
  (n[6] == "true" ? "ButtonsContainerNone" : "")), a(t, "class", "WinnersHeader"), a(e, "class", A = "CasinoWinners " + /*mobile*/
152
157
  (n[13] ? "Mobile" : ""));
153
158
  },
@@ -155,7 +160,7 @@ function ct(n) {
155
160
  D(c, e, b), u(e, t), u(t, r);
156
161
  for (let d = 0; d < g.length; d += 1)
157
162
  g[d] && g[d].m(r, null);
158
- u(t, s), u(t, l), u(l, o), u(o, f), u(f, m), u(l, I), u(l, S), u(S, v), u(v, _), u(e, E), w.m(e, null), L || (x = [
163
+ u(t, s), u(t, l), u(l, o), u(o, f), u(f, m), u(l, I), u(l, S), u(S, v), u(v, w), u(e, E), _.m(e, null), j || (x = [
159
164
  J(
160
165
  o,
161
166
  "click",
@@ -168,7 +173,7 @@ function ct(n) {
168
173
  /*click_handler_3*/
169
174
  n[44]
170
175
  )
171
- ], L = !0);
176
+ ], j = !0);
172
177
  },
173
178
  p(c, b) {
174
179
  if (b[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
@@ -192,14 +197,14 @@ function ct(n) {
192
197
  c[11].length ? "fill:#F6F6F62E" : "") && a(m, "style", C), b[0] & /*numberOfVisibleSlides, winners*/
193
198
  6144 && N !== (N = /*numberOfVisibleSlides*/
194
199
  c[12] >= /*winners*/
195
- c[11].length ? "fill:#F6F6F62E" : "") && a(_, "style", N), b[0] & /*enableautoscroll*/
200
+ c[11].length ? "fill:#F6F6F62E" : "") && a(w, "style", N), b[0] & /*enableautoscroll*/
196
201
  64 && T !== (T = "ButtonsContainer " + /*enableautoscroll*/
197
- (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), j === (j = P(c)) && w ? w.p(c, b) : (w.d(1), w = j(c), w && (w.c(), w.m(e, null))), b[0] & /*mobile*/
202
+ (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), L === (L = P(c)) && _ ? _.p(c, b) : (_.d(1), _ = L(c), _ && (_.c(), _.m(e, null))), b[0] & /*mobile*/
198
203
  8192 && A !== (A = "CasinoWinners " + /*mobile*/
199
204
  (c[13] ? "Mobile" : "")) && a(e, "class", A);
200
205
  },
201
206
  d(c) {
202
- c && G(e), Be(g, c), w.d(), L = !1, st(x);
207
+ c && G(e), Be(g, c), _.d(), j = !1, st(x);
203
208
  }
204
209
  };
205
210
  }
@@ -436,13 +441,13 @@ function Se(n) {
436
441
  /*winner*/
437
442
  n[70].username
438
443
  ) + ""
439
- ), _, N, T, E = (
444
+ ), w, N, T, E = (
440
445
  /*$_*/
441
446
  n[20]("won") + ""
442
- ), A, L, x, M = (
447
+ ), A, j, x, M = (
443
448
  /*winner*/
444
449
  n[70].specifiedCurrencyAmount.toFixed(2) + ""
445
- ), g, P, j, w = (
450
+ ), g, P, L, _ = (
446
451
  /*isLoggedIn*/
447
452
  (n[7] ? (
448
453
  /*usercurrency*/
@@ -464,18 +469,18 @@ function Se(n) {
464
469
  return {
465
470
  c() {
466
471
  var R, k, U, B;
467
- e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(m), I = O(), S = W("p"), _ = V(v), N = O(), T = W("p"), A = V(E), L = O(), x = W("p"), g = V(M), P = O(), j = W("span"), c = V(w), b = O(), _e(r.src, s = /*winner*/
472
+ e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(m), I = O(), S = W("p"), w = V(v), N = O(), T = W("p"), A = V(E), j = O(), x = W("p"), g = V(M), P = O(), L = W("span"), c = V(_), b = O(), we(r.src, s = /*winner*/
468
473
  (k = (R = n[70]) == null ? void 0 : R.gameModel) == null ? void 0 : k.thumbnail) || a(r, "src", s), a(r, "alt", l = /*winner*/
469
474
  (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", d = "CardWrapper " + /*addAnimation*/
470
475
  (n[16] ? "CardWrapperAnimation" : ""));
471
476
  },
472
477
  m(R, k) {
473
- D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, I), u(t, S), u(S, _), u(t, N), u(t, T), u(T, A), u(t, L), u(t, x), u(x, g), u(x, P), u(x, j), u(j, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
478
+ D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, I), u(t, S), u(S, w), u(t, N), u(t, T), u(T, A), u(t, j), u(t, x), u(x, g), u(x, P), u(x, L), u(L, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
474
479
  },
475
480
  p(R, k) {
476
481
  var U, B, q, K;
477
482
  n = R, k[0] & /*winners*/
478
- 2048 && !_e(r.src, s = /*winner*/
483
+ 2048 && !we(r.src, s = /*winner*/
479
484
  (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail) && a(r, "src", s), k[0] & /*winners*/
480
485
  2048 && l !== (l = /*winner*/
481
486
  (K = (q = n[70]) == null ? void 0 : q.gameModel) == null ? void 0 : K.thumbnail) && a(r, "alt", l), k[0] & /*winners*/
@@ -485,19 +490,19 @@ function Se(n) {
485
490
  n[22](
486
491
  /*winner*/
487
492
  n[70].username
488
- ) + "") && Z(_, v), k[0] & /*$_*/
493
+ ) + "") && Z(w, v), k[0] & /*$_*/
489
494
  1048576 && E !== (E = /*$_*/
490
495
  n[20]("won") + "") && Z(A, E), k[0] & /*winners*/
491
496
  2048 && M !== (M = /*winner*/
492
497
  n[70].specifiedCurrencyAmount.toFixed(2) + "") && Z(g, M), k[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
493
- 140 && w !== (w = /*isLoggedIn*/
498
+ 140 && _ !== (_ = /*isLoggedIn*/
494
499
  (n[7] ? (
495
500
  /*usercurrency*/
496
501
  n[3]
497
502
  ) : (
498
503
  /*defaultcurrency*/
499
504
  n[2]
500
- )) + "") && Z(c, w), k[0] & /*addAnimation*/
505
+ )) + "") && Z(c, _), k[0] & /*addAnimation*/
501
506
  65536 && d !== (d = "CardWrapper " + /*addAnimation*/
502
507
  (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", d);
503
508
  },
@@ -536,33 +541,33 @@ function mt(n) {
536
541
  function gt(n, e, t) {
537
542
  let r;
538
543
  nt(n, lt, (i) => t(20, r = i));
539
- let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: _ = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: L = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: j = "" } = e, { hascustomstyling: w = "false" } = e, c, b, d = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
544
+ let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: I = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: w = "en" } = e, { isrecentavailable: N = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: P = "" } = e, { winnersdatasources: L = "" } = e, { hascustomstyling: _ = "false" } = e, c, b, d = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
540
545
  const Ae = () => {
541
546
  let i = new URL(P);
542
547
  fetch(i.href).then((p) => p.json()).then((p) => {
543
548
  Object.keys(p).forEach((z) => {
544
- we(z, p[z]);
549
+ _e(z, p[z]);
545
550
  });
546
551
  }).catch((p) => {
547
552
  console.log(p);
548
553
  });
549
554
  };
550
555
  Object.keys(We).forEach((i) => {
551
- we(i, We[i]);
556
+ _e(i, We[i]);
552
557
  });
553
558
  const fe = () => {
554
- ue = j.split(",").map(function(p) {
559
+ ue = L.split(",").map(function(p) {
555
560
  return p.trim();
556
561
  });
557
562
  const i = new URL(`${s}/v1/casino/${b}-winners`);
558
- t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : m), i.searchParams.append("language", _), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
563
+ t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : I), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : m), i.searchParams.append("language", w), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
559
564
  i.searchParams.append("dataSource", p);
560
565
  }), setTimeout(
561
566
  () => {
562
567
  fetch(i.href).then((p) => p.json()).then((p) => {
563
568
  t(11, d = []), t(11, d = p.items.map((z) => z)), t(18, re = !1), setTimeout(
564
569
  () => {
565
- Ee(), ge(), M == "true" && (clearInterval(X), je()), t(14, q = !1);
570
+ Ee(), ge(), M == "true" && (clearInterval(X), Le()), t(14, q = !1);
566
571
  },
567
572
  5
568
573
  );
@@ -572,7 +577,7 @@ function gt(n, e, t) {
572
577
  );
573
578
  }, se = (i) => {
574
579
  b !== i && (t(11, d = []), t(10, b = i), fe());
575
- }, Le = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), me = (i, p, z, $) => {
580
+ }, je = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), me = (i, p, z, $) => {
576
581
  window.postMessage(
577
582
  {
578
583
  type: "OpenCasinoWinnersGame",
@@ -597,7 +602,7 @@ function gt(n, e, t) {
597
602
  },
598
603
  10
599
604
  );
600
- }, je = () => {
605
+ }, Le = () => {
601
606
  h = 0, F < ce ? X = setInterval(
602
607
  () => {
603
608
  le();
@@ -617,14 +622,14 @@ function gt(n, e, t) {
617
622
  const i = d.length;
618
623
  M == "true" && (h === i - F ? h = 0 : h++), M == "false" && (h === i - F ? h = 0 : i - F < h + F ? h = i - F : h += F), he();
619
624
  }, ze = () => {
620
- ot(_);
625
+ ot(w);
621
626
  }, Ne = () => {
622
627
  t(7, k = !0), U = o;
623
628
  }, be = () => {
624
629
  t(40, Y = k ? A : E);
625
630
  }, Re = () => {
626
631
  let i = document.createElement("style");
627
- i.innerHTML = L, B.appendChild(i);
632
+ i.innerHTML = j, B.appendChild(i);
628
633
  }, Oe = () => {
629
634
  let i = new URL(x), p = document.createElement("style");
630
635
  fetch(i.href).then((z) => z.text()).then((z) => {
@@ -640,7 +645,7 @@ function gt(n, e, t) {
640
645
  ), t(15, K = !1);
641
646
  });
642
647
  }, De = () => {
643
- w === "true" && (!L && !x && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !L && x && t(15, K = !0));
648
+ _ === "true" && (!j && !x && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !j && x && t(15, K = !0));
644
649
  }, Ge = () => {
645
650
  t(17, ie = g.split(",")), t(10, b = ie[0]), be(), t(14, q = !1);
646
651
  };
@@ -664,26 +669,26 @@ function gt(n, e, t) {
664
669
  });
665
670
  }
666
671
  return n.$$set = (i) => {
667
- "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, _ = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, L = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, j = i.winnersdatasources), "hascustomstyling" in i && t(39, w = i.hascustomstyling);
672
+ "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, I = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, w = i.lang), "isrecentavailable" in i && t(0, N = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, j = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, P = i.translationurl), "winnersdatasources" in i && t(38, L = i.winnersdatasources), "hascustomstyling" in i && t(39, _ = i.hascustomstyling);
668
673
  }, n.$$.update = () => {
669
674
  n.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
670
675
  1610612739 | n.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
671
- 63 && N && T && f && m && C && I && S && v && _ && g && Ge(), n.$$.dirty[0] & /*session*/
676
+ 63 && N && T && f && m && C && I && S && v && w && g && Ge(), n.$$.dirty[0] & /*session*/
672
677
  134217728 && l && Ne(), n.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
673
678
  140 && k && (A || E) && be(), n.$$.dirty[0] & /*endpoint*/
674
679
  67108864 | n.$$.dirty[1] & /*winnersdatasources, currency*/
675
- 640 && s && j && Y && fe(), n.$$.dirty[1] & /*lang*/
676
- 16 && _ && ze(), n.$$.dirty[1] & /*translationurl*/
680
+ 640 && s && L && Y && fe(), n.$$.dirty[1] & /*lang*/
681
+ 16 && w && ze(), n.$$.dirty[1] & /*translationurl*/
677
682
  64 && P && Ae(), n.$$.dirty[1] & /*hascustomstyling*/
678
- 256 && w && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
679
- 272 && L && B && Re(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
683
+ 256 && _ && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
684
+ 272 && j && B && Re(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
680
685
  288 && x && B && Oe();
681
686
  }, [
682
687
  N,
683
688
  T,
684
689
  E,
685
690
  A,
686
- L,
691
+ j,
687
692
  x,
688
693
  M,
689
694
  k,
@@ -701,7 +706,7 @@ function gt(n, e, t) {
701
706
  Q,
702
707
  r,
703
708
  se,
704
- Le,
709
+ je,
705
710
  me,
706
711
  pe,
707
712
  le,
@@ -714,11 +719,11 @@ function gt(n, e, t) {
714
719
  I,
715
720
  S,
716
721
  v,
717
- _,
722
+ w,
718
723
  g,
719
724
  P,
720
- j,
721
- w,
725
+ L,
726
+ _,
722
727
  Y,
723
728
  Ie,
724
729
  Pe,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-DQGjTjXn.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-CvUPzodV.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-BSBqQiwz.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-DqaaWA3b.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.50.1",
3
+ "version": "1.51.0",
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 t=require("./CasinoCalendar-aMUXtMPt.cjs");function z(n,e){t.addMessages(n,e)}const x={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-DzlnKD97.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(n){t.append_styles(n,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ne(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",E),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ie(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(n){let e;function s(i,o){return i[12]||re||ce?oe:i[14]?ie:ne}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let E="CasinoSliderData",re=!1,ce=!1;function me(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:j=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:w="false"}=e,{favorites:N=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:P=""}=e,{sessioncheck:T=""}=e,{location:F="secondaryMenu"}=e,{showsubgroups:A="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:D=""}=e,{lobbyiconimage:O=""}=e,{mygamesiconimage:R=""}=e,U,q,g=!0,y,h=[],d=!1,K=window.navigator.userAgent,f,H,I=!1,G=!1;const Q=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(x).forEach(a=>{z(a,x[a])});const V=()=>{I==!1&&(N=="true"||_=="true"||w=="true")&&h.splice(1,0,{id:"MYGAMES",name:U,href:"",games:[]}),t.tick(),I=!0,s(25,G=!0),k()},W=()=>(r||(y="Endpoint is missing! Please provide a valid endpointURL.",s(14,d=!0),s(12,g=!1),console.error(y)),i||(y="Datasource is missing! Please provide a valid datasource.",s(14,d=!0),s(12,g=!1),console.error(y)),(!o||o.length<2)&&(y="Language is missing! Please provide a valid language (alpha2code)",s(14,d=!0),s(12,g=!1),console.error(y)),d),X=()=>{if(U=l("myGamesName"),q=l("lobbyName"),!W()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(K)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),te=c.items.filter(Y=>{let S=!1;if(Y.games.total>0&&(S=!0,M))for(let se of m)Y.flags==se&&(S=!1);return S});h=[],h=h.concat(te),h.unshift({id:"LOBBY",name:q,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,d=!0),console.error("There was an error while fetching the categories",c)})}},Z=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},p=()=>{let a=document.createElement("style");a.innerHTML=L,f.appendChild(a)},$=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{f.appendChild(a)},1)})},k=()=>{window.postMessage({type:"SliderData",identity:E,data:h},window.location.href)},B=a=>{a.data&&a.data.type=="SliderLoaded"&&E==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(13,f)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,j=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,w=a.lastplayed),"favorites"in a&&s(21,N=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,P=a.actionevent),"sessioncheck"in a&&s(22,T=a.sessioncheck),"location"in a&&s(7,F=a.location),"showsubgroups"in a&&s(8,A=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,D=a.categoriesicon),"lobbyiconimage"in a&&s(10,O=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,R=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&X(),n.$$.dirty[0]&3936258&&r&&b&&(_||w||N)&&!g&&V(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&Z(),n.$$.dirty[0]&8208&&L&&f&&p(),n.$$.dirty[0]&16777216&&v&&Q(),n.$$.dirty[0]&8224&&C&&f&&$()},s(15,H=0),[u,r,i,o,L,C,P,F,A,D,O,R,g,f,d,H,k,j,b,_,w,N,T,M,v,G,ee]}class J extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(J,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=J;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-aMUXtMPt.cjs");function N(i,t){e.addMessages(i,t)}function se(i){e.$locale.set(i)}const q={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function de(i){e.append_styles(i,"svelte-1myc38z",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function R(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function ce(i){let t,l,r,o=(i[0]=="vendor"?i[11]("providers"):i[11]("collections"))+"",a,g,v,f,k,u,c=i[8]>i[9]&&E(i),p=e.ensure_array_like(i[3]),m=[];for(let d=0;d<p.length;d+=1)m[d]=V(R(i,p,d));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),c&&c.c(),v=e.space(),f=e.element("div");for(let d=0;d<m.length;d+=1)m[d].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(f,"class","CategoriesSlider"),e.add_render_callback(()=>i[27].call(f)),e.attr(t,"class",u="CasinoCollectionsProviders "+(i[10]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(d,y){e.insert(d,t,y),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),c&&c.m(l,null),e.append(t,v),e.append(t,f);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(f,null);i[26](f),k=e.add_iframe_resize_listener(f,i[27].bind(f))},p(d,y){if(y[0]&2049&&o!==(o=(d[0]=="vendor"?d[11]("providers"):d[11]("collections"))+"")&&e.set_data(a,o),d[8]>d[9]?c?c.p(d,y):(c=E(d),c.c(),c.m(l,null)):c&&(c.d(1),c=null),y[0]&49166){p=e.ensure_array_like(d[3]);let s;for(s=0;s<p.length;s+=1){const h=R(d,p,s);m[s]?m[s].p(h,y):(m[s]=V(h),m[s].c(),m[s].m(f,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=p.length}y[0]&1025&&u!==(u="CasinoCollectionsProviders "+(d[10]?"Mobile":"")+" "+(d[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",u)},d(d){d&&e.detach(t),c&&c.d(),e.destroy_each(m,d),i[26](null),k()}}}function ge(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function E(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(v,f){e.insert(v,t,f),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[22]),e.listen(o,"click",i[23])],a=!0)},p:e.noop,d(v){v&&e.detach(t),a=!1,e.run_all(g)}}}function pe(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function I(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function W(i){let t,l,r,o,a,g,v,f;function k(){return i[24](i[44])}let u=i[2]=="true"&&I(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),u&&u.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(c,p){e.insert(c,t,p),e.append(t,l),e.append(t,a),u&&u.m(t,null),e.append(t,g),v||(f=e.listen(l,"click",e.stop_propagation(k)),v=!0)},p(c,p){i=c,p[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),p[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?u?u.p(i,p):(u=I(i),u.c(),u.m(t,g)):u&&(u.d(1),u=null)},d(c){c&&e.detach(t),u&&u.d(),v=!1,f()}}}function V(i){let t,l,r,o,a,g,v,f,k;function u(s,h){if(s[1]=="logo")return ue;if(s[1]=="title")return pe}let c=u(i),p=c&&c(i),m=e.ensure_array_like(i[41].games),d=[];for(let s=0;s<m.length;s+=1)d[s]=W(U(i,m,s));function y(){return i[25](i[41])}return{c(){var s,h;t=e.element("div"),l=e.element("div"),r=e.element("div"),p&&p.c(),o=e.space(),a=e.element("div");for(let _=0;_<d.length;_+=1)d[_].c();v=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((s=i[41])==null?void 0:s.flag[0])=="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((h=i[41])==null?void 0:h.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(s,h){e.insert(s,t,h),e.append(t,l),e.append(l,r),p&&p.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<d.length;_+=1)d[_]&&d[_].m(a,null);e.append(t,v),f||(k=e.listen(l,"click",y),f=!0)},p(s,h){var _,P;if(i=s,c===(c=u(i))&&p?p.p(i,h):(p&&p.d(1),p=c&&c(i),p&&(p.c(),p.m(r,null))),h[0]&16396){m=e.ensure_array_like(i[41].games);let b;for(b=0;b<m.length;b+=1){const G=U(i,m,b);d[b]?d[b].p(G,h):(d[b]=W(G),d[b].c(),d[b].m(a,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=m.length}h[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])=="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),h[0]&8&&e.set_style(l,"background-image","url("+((P=i[41])==null?void 0:P.background)+")")},d(s){s&&e.detach(t),p&&p.d(),e.destroy_each(d,s),f=!1,k()}}}function me(i){let t;function l(a,g){return a[7]?ge:ce}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[28](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[28](null)}}}function fe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(11,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:v=""}=t,{titletype:f=""}=t,{clientstyling:k=""}=t,{clientstylingurl:u=""}=t,{translationurl:c=""}=t,{collectionprovidersgamenames:p=""}=t,m=[],d=!0,y,s=0,h=0,_=0,P,b,G,K=window.navigator.userAgent,M,L=0;const Z=()=>{fetch(c).then(C=>C.json()).then(C=>{Object.keys(C).forEach(w=>{N(w,C[w])})}).catch(C=>{console.log(C)})};Object.keys(q).forEach(n=>{N(n,q[n])});const J=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),fetch(n.href).then(C=>C.json()).then(C=>{l(7,d=!1);let w=C.items.filter(S=>S.flags==v);l(3,m=w.map(S=>{var O,B,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(B=(O=S.vendors)==null?void 0:O.items[0])==null?void 0:B.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}})),l(8,h=m.length)})},j=n=>{b=[...y.children],b.forEach((C,w)=>{C.style.transform=`translateX(${100*(n?w-n:w)}%)`}),P=b[0].getBoundingClientRect().width,X()},X=()=>{l(9,_=Math.floor(L/P))},T=()=>{j(s)},x=()=>{s===0?s=h-_:s-_<-1?s=0:s--,T()},F=()=>{s===h-_?s=0:h-_<s+1?s=h-_:s++,T()},z=(n,C,w,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:w,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${w}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},Y=()=>{se(g)},Q=()=>{let n=document.createElement("style");n.innerHTML=k,G.appendChild(n)},$=()=>{let n=new URL(u),C=document.createElement("style");fetch(n.href).then(w=>w.text()).then(w=>{C.innerHTML=w,setTimeout(()=>{G.appendChild(C)},1)})};e.onMount(()=>{l(10,M=e.isMobile(K))});const ee=()=>x(),te=()=>F(),ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{y=n,l(4,y)})}function oe(){L=this.clientWidth,l(6,L)}function re(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(16,o=n.endpoint),"datasource"in n&&l(17,a=n.datasource),"lang"in n&&l(18,g=n.lang),"type"in n&&l(0,v=n.type),"titletype"in n&&l(1,f=n.titletype),"clientstyling"in n&&l(19,k=n.clientstyling),"clientstylingurl"in n&&l(20,u=n.clientstylingurl),"translationurl"in n&&l(21,c=n.translationurl),"collectionprovidersgamenames"in n&&l(2,p=n.collectionprovidersgamenames)},i.$$.update=()=>{i.$$.dirty[0]&458752&&o&&a&&g&&J(),i.$$.dirty[0]&88&&L&&m&&y&&j(),i.$$.dirty[0]&262144&&g&&Y(),i.$$.dirty[0]&524320&&k&&G&&Q(),i.$$.dirty[0]&1048608&&u&&G&&$(),i.$$.dirty[0]&2097152&&c&&Z()},[v,f,p,m,y,G,L,d,h,_,M,r,x,F,z,H,o,a,g,k,u,c,ee,te,ie,le,ne,oe,re]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,me,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2},de,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype: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 translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{}},[],[],!0);exports.default=D;