@everymatrix/casino-lobby 1.53.11 → 1.54.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 (55) hide show
  1. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar--_TG0VEV.js} +1078 -1039
  2. package/components/CasinoCalendar-Bzrlnxmc.cjs +9 -0
  3. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-BXGq5a2T.js} +1 -1
  4. package/components/CasinoCalendarDailyDetails-H5yaxv9P.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-BvYs7mGd.cjs +1 -0
  6. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-D2aX3lqV.js} +1 -1
  7. package/components/CasinoCategoriesSlider-Dj810VWn.cjs +1 -0
  8. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-J5nWaz3g.js} +3 -3
  9. package/components/CasinoCollectionsProviders-CGAhYp6h.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-CuCFosXw.js} +242 -237
  11. package/components/CasinoFavoritesSection-DSMFNuL7.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-C1XEW6Z6.js → CasinoFavoritesSection-y1wno4sj.js} +3 -3
  13. package/components/CasinoFilter-DSWjEuYT.cjs +1 -0
  14. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Dzg88RIE.js} +54 -53
  15. package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-D6-QXHCi.js} +1301 -1280
  16. package/components/CasinoGamePage-DR56fBWR.cjs +18 -0
  17. package/components/{CasinoGameThumbnail-zLPpnkNm.js → CasinoGameThumbnail-D0H15Csw.js} +321 -305
  18. package/components/CasinoGameThumbnail-Dtr9U58k.cjs +38 -0
  19. package/components/CasinoGamesCategorySection-BhY8_Szi.cjs +1 -0
  20. package/components/{CasinoGamesCategorySection-DMGyKJ-j.js → CasinoGamesCategorySection-Cl_p9So4.js} +1135 -1104
  21. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-BD8WK4Rz.js} +157 -153
  22. package/components/CasinoJackpotBanner-CNAYdfAP.cjs +1 -0
  23. package/components/CasinoLastPlayedSection-D4Y31NgL.cjs +1 -0
  24. package/components/{CasinoLastPlayedSection-Cm6BF1pV.js → CasinoLastPlayedSection-ctqze_4r.js} +2 -2
  25. package/components/{CasinoLobby-DPo1HzH2.js → CasinoLobby-CXaWKeNB.js} +13 -13
  26. package/components/CasinoLobby-DJkqmh-Q.cjs +1 -0
  27. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-BBqGUhwr.js} +1 -1
  28. package/components/CasinoModal-DqY-wVQ9.cjs +1 -0
  29. package/components/{CasinoMostPlayedSection-CA67PY54.js → CasinoMostPlayedSection-BeiZTG1A.js} +2 -2
  30. package/components/CasinoMostPlayedSection-Dj0QI5j_.cjs +1 -0
  31. package/components/CasinoMyGames-CHpklmlj.cjs +1 -0
  32. package/components/{CasinoMyGames-DvJ46R6O.js → CasinoMyGames-D_Eo_aAx.js} +72 -71
  33. package/components/{CasinoPage-CfEe4r2D.js → CasinoPage-DcCY3qwb.js} +795 -792
  34. package/components/CasinoPage-SM6shSGz.cjs +1 -0
  35. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-Cv4OhwGN.js} +247 -231
  36. package/components/CasinoRandomGame-Dldt___P.cjs +2 -0
  37. package/components/CasinoSearch-B4flIPra.cjs +1 -0
  38. package/components/{CasinoSearch-CZ5ggDbP.js → CasinoSearch-BXhg9VMw.js} +194 -192
  39. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-CWFiUGzM.js} +215 -209
  40. package/components/CasinoSlider-UZ_dMYzs.cjs +1 -0
  41. package/components/CasinoSort-Cg-ANbV3.cjs +1 -0
  42. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-PDbvW-vI.js} +3 -2
  43. package/components/CasinoWinners-CSBr561I.cjs +1 -0
  44. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-D-uK3YLU.js} +148 -146
  45. package/components/GeneralAnimationLoading-CzSDAjam.cjs +1 -0
  46. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-oX4fYtDr.js} +1 -1
  47. package/es2015/casino-lobby.cjs +1 -0
  48. package/es2015/casino-lobby.js +16 -0
  49. package/package.json +14 -12
  50. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  51. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CdK9RTmU.js} +62 -44
  52. package/stencil/casino-play-random-game-D5-NhS5J.cjs +371 -0
  53. package/stencil/{index-47910d1c-CWwDm8i3.js → index-47910d1c-BJIxkb-p.js} +238 -222
  54. package/stencil/index-47910d1c-CDXxJ6XN.cjs +1 -0
  55. package/esnext/casino-lobby.js +0 -14
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-Bzrlnxmc.cjs");if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BhY8_Szi.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function M({withLocale:i,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function O(i){t.append_styles(i,"svelte-1rh2qpg",".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function S(i){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",i[4]),t.set_custom_element_data(e,"userid",i[5]),t.set_custom_element_data(e,"endpoint",i[0]),t.set_custom_element_data(e,"datasource",i[1]),t.set_custom_element_data(e,"lang",i[3]),t.set_custom_element_data(e,"currency",i[2]),t.set_custom_element_data(e,"favorites",i[14]),t.set_custom_element_data(e,"fetchviaevent",i[16]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",i[11]),t.set_custom_element_data(e,"clientstyling",i[6]),t.set_custom_element_data(e,"clientstylingurl",i[7]),t.set_custom_element_data(e,"livecasino",i[8]),t.set_custom_element_data(e,"visiblegames",i[13]),t.set_custom_element_data(e,"gamepagemodalurl",i[12]),t.set_custom_element_data(e,"integratedgameframedesktop",i[10]),t.set_custom_element_data(e,"integratedgameframemobile",i[9]),t.set_custom_element_data(e,"casinomygames",i[15])},m(s,a){t.insert(s,e,a)},p(s,a){a&16&&t.set_custom_element_data(e,"session",s[4]),a&32&&t.set_custom_element_data(e,"userid",s[5]),a&1&&t.set_custom_element_data(e,"endpoint",s[0]),a&2&&t.set_custom_element_data(e,"datasource",s[1]),a&8&&t.set_custom_element_data(e,"lang",s[3]),a&4&&t.set_custom_element_data(e,"currency",s[2]),a&16384&&t.set_custom_element_data(e,"favorites",s[14]),a&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),a&2048&&t.set_custom_element_data(e,"showgamename",s[11]),a&64&&t.set_custom_element_data(e,"clientstyling",s[6]),a&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),a&256&&t.set_custom_element_data(e,"livecasino",s[8]),a&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),a&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),a&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),a&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),a&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function R(i){let e,s=i[4]&&S(i);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(a,m){t.insert(a,e,m),s&&s.m(e,null),i[18](e)},p(a,[m]){a[4]?s?s.p(a,m):(s=S(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s&&s.d(),i[18](null)}}}function A(i,e,s){let{endpoint:a=""}=e,{datasource:m=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:c=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:w=""}=e,{favorites:C=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;M({withLocale:"en",translations:{}});const L=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},T=()=>{let n=document.createElement("style");fetch(new URL(c)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return i.$$set=n=>{"endpoint"in n&&s(0,a=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,c=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},i.$$.update=()=>{i.$$.dirty&131136&&o&&l&&L(),i.$$.dirty&131200&&c&&l&&T()},[a,m,g,r,f,_,o,c,d,h,y,v,b,w,C,k,F,l,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,R,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},O)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
@@ -1,5 +1,5 @@
1
- import { $ as E, T as I, S as O, i as U, f as l, c as j, s as V, b as z, e as D, v as B, d as M, D as L, j as R, L as n, n as G } from "./CasinoCalendar-Ic3lq1UY.js";
2
- if (typeof window < "u") {
1
+ import { $ as E, T as I, S as O, i as U, f as l, c as j, s as V, b as z, e as D, v as B, d as M, D as L, j as R, L as n, n as G } from "./CasinoCalendar--_TG0VEV.js";
2
+ if (typeof window != "undefined") {
3
3
  let a = function(e) {
4
4
  return function(...t) {
5
5
  try {
@@ -11,7 +11,7 @@ if (typeof window < "u") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-DMGyKJ-j.js").then(({ default: e }) => {
14
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-Cl_p9So4.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Bzrlnxmc.cjs");function Y({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function $(i){e.append_styles(i,"svelte-1v7rv6n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function K(i,t,l){const a=i.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function ee(i){let t,l,a,n,s,u,b,y,h=i[11]("filterby")+"",f,v,F,S,w=i[11]("providers")+"",P,_,c,m,g,L,A,C,W,I,T,H,k,E=i[11]("clear")+"",N,D,j,M,z,J;function q(o,p){return o[7]?re:le}let B=q(i),x=B(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),u=e.space(),b=e.element("div"),y=e.element("span"),f=e.text(h),v=e.space(),F=e.element("div"),S=e.element("span"),P=e.text(w),_=e.space(),x.c(),c=e.space(),m=e.element("span"),g=e.svg_element("svg"),L=e.svg_element("path"),W=e.space(),I=e.element("div"),T=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),k=e.element("button"),N=e.text(E),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(L,"id","arrow"),e.attr(L,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(L,"transform","translate(-274.511 -441.088)"),e.attr(L,"fill","#d1d1d1"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","14"),e.attr(g,"height","6.835"),e.attr(g,"viewBox","0 0 14 6.835"),e.attr(m,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",C="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(k,"class","ClearFilters"),k.disabled=D=i[7]&&i[6].length!=i[5].length,e.attr(I,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,p){e.insert(o,t,p),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,u),e.append(a,b),e.append(b,y),e.append(y,f),e.append(b,v),e.append(b,F),e.append(F,S),e.append(S,P),e.append(F,_),x.m(F,null),e.append(l,c),e.append(l,m),e.append(m,g),e.append(g,L),e.append(t,W),e.append(t,I),e.append(I,T);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(T,null);e.append(I,H),e.append(I,k),e.append(k,N),z||(J=[e.listen(l,"click",i[22]),e.listen(k,"click",i[25])],z=!0)},p(o,p){if(p[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(f,h),p[0]&2048&&w!==(w=o[11]("providers")+"")&&e.set_data(P,w),B===(B=q(o))&&x?x.p(o,p):(x.d(1),x=B(o),x&&(x.c(),x.m(F,null))),p[0]&16&&A!==(A="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(m,"class",A),p[0]&16&&C!==(C="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",C),p[0]&8228){O=e.ensure_array_like(o[5]);let d;for(d=0;d<O.length;d+=1){const V=K(o,O,d);r[d]?r[d].p(V,p):(r[d]=Q(V),r[d].c(),r[d].m(T,null))}for(;d<r.length;d+=1)r[d].d(1);r.length=O.length}p[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(N,E),p[0]&224&&D!==(D=o[7]&&o[6].length!=o[5].length)&&(k.disabled=D),p[0]&16&&j!==(j="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(I,"class",j),p[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),x.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function te(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function le(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function re(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ie(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[36].logo)||e.attr(t,"src",l),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ae(i){let t,l,a=i[36].name+"",n,s,u,b,y=i[36].games.count+"",h,f;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),u=e.element("span"),b=e.text("("),h=e.text(y),f=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(v,F){e.insert(v,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,u),e.append(u,b),e.append(u,h),e.append(u,f)},p(v,F){F[0]&32&&a!==(a=v[36].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=v[36].games.count+"")&&e.set_data(h,y)},d(v){v&&e.detach(t)}}}function Q(i){let t,l,a,n,s,u,b,y,h,f,v,F;function S(){i[23].call(a,i[37],i[38])}function w(){return i[24](i[36])}function P(m,g){if(m[2]==="false")return ae;if(m[2]==="true")return ie}let _=P(i),c=_&&_(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),u=e.element("span"),b=e.space(),c&&c.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[36].name,e.set_input_value(a,a.__value),e.attr(u,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=f=i[36].name},m(m,g){e.insert(m,t,g),e.append(t,l),e.append(l,a),a.checked=i[36].isFilterSelected,e.append(l,s),e.append(l,u),e.append(l,b),c&&c.m(l,null),e.append(t,y),v||(F=[e.listen(a,"change",S),e.listen(a,"click",w)],v=!0)},p(m,g){i=m,g[0]&32&&n!==(n=i[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),g[0]&32&&(a.checked=i[36].isFilterSelected),_===(_=P(i))&&c?c.p(i,g):(c&&c.d(1),c=_&&_(i),c&&(c.c(),c.m(l,null))),g[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),g[0]&32&&f!==(f=i[36].name)&&(t.value=f)},d(m){m&&e.detach(t),c&&c.d(),v=!1,e.run_all(F)}}}function ne(i){let t;function l(s,u){if(s[10])return te;if(!s[9])return ee}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,u){e.insert(s,t,u),n&&n.m(t,null),i[26](t)},p(s,u){a===(a=l(s))&&n?n.p(s,u):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[26](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:u=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:f=""}=t,{addfilterselector:v="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:S="false"}=t,w=!1,P=window.navigator.userAgent,_=[],c=[],m={},g=!1,L=0,A=!0,C,W=!1;Y({withLocale:"en",translations:{}});const I=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(p=>{Z(p,o[p])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])});const T=()=>{let r=document.createElement("style");r.innerHTML=y,C.appendChild(r)},H=()=>{let r=document.createElement("style");fetch(new URL(h)).then(o=>o.text()).then(o=>{r.innerHTML=o,setTimeout(()=>{C.appendChild(r)},1)})};m[f]&&(m={[f]:[]});const k=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,A=!0),new Promise((o,p)=>{fetch(r).then(d=>d.json()).then(d=>{d=d.items,o(d.items),l(6,c=[]);let V=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));d.forEach(R=>{var U;V||(V={currentCategoryId:[]}),((U=V[f])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,c.push(R)):R.isFilterSelected=!1}),l(5,_=d),D()}).catch(d=>{console.error(d),l(10,W=!0),p(d)}).finally(()=>{l(9,A=!1)})})),N=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!c.length||c.filter(p=>p.name===r.name).length==0?c.push(r):l(6,c=c.filter(p=>p.name!==r.name)),o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[f]:c.map(p=>p.id)})):(o=JSON.parse(o),o[f]=c.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),D()},D=()=>{l(7,g=c.length===_.length||c.length==0),l(8,L=c.length)},j=()=>{const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",u),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(P)),(f.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${f})`),r.searchParams.append("subVendors",`games(subGroups=${f})`)):r.searchParams.append("filter",`games(groups=${f})`),E(r)},M=()=>{l(6,c=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[f]:c.map(r=>r.id)})),_.forEach(r=>r.isFilterSelected=!1),l(5,_),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,g=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const J=()=>k();function q(r,o){r[o].isFilterSelected=this.checked,l(5,_)}const B=r=>N(r),x=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{C=r,l(3,C)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,u=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,f=r.categoryid),"addfilterselector"in r&&l(0,v=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,S=r.filterbylogo)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&f&&S&&j(),i.$$.dirty[0]&524296&&y&&C&&T(),i.$$.dirty[0]&1048584&&h&&C&&H(),i.$$.dirty[0]&262144&&b&&I()},[v,F,S,C,w,_,c,g,L,A,W,a,k,N,M,n,s,u,b,y,h,f,J,q,B,x,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ne,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},$,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{}},[],[],!0);exports.default=X;
@@ -1,13 +1,13 @@
1
- import { $ as le, T as fe, a as ge, S as ue, i as me, f as I, c as he, s as Fe, b as be, e as u, d as z, D as re, j as B, k as ye, o as ve, K as we, n as _e, q as ie, G as ee, r as P, u as A, v as o, w as s, x as te, B as j, C as Ce, Q as pe, U as ae, F as ke, E as ne } from "./CasinoCalendar-Ic3lq1UY.js";
2
- function xe({ withLocale: r, translations: e }) {
3
- le.subscribe((t) => {
4
- t == null && (fe.set(e), le.set(r));
1
+ import { $ as re, T as ge, a as ue, S as me, i as he, f as I, c as Fe, s as be, b as ye, e as u, d as z, D as ie, j as B, k as ve, o as we, K as _e, n as Ce, q as ae, G as ee, r as P, u as A, v as o, w as s, x as te, B as j, C as ke, Q as fe, U as ne, F as xe, E as oe } from "./CasinoCalendar--_TG0VEV.js";
2
+ function Se({ withLocale: r, translations: e }) {
3
+ re.subscribe((t) => {
4
+ t == null && (ge.set(e), re.set(r));
5
5
  });
6
6
  }
7
- function oe(r, e) {
8
- ge(r, e);
7
+ function se(r, e) {
8
+ ue(r, e);
9
9
  }
10
- const se = {
10
+ const ce = {
11
11
  en: {
12
12
  providers: "Providers:",
13
13
  filterby: "Filter by:",
@@ -117,14 +117,14 @@ const se = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Se(r) {
121
- be(r, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
120
+ function Le(r) {
121
+ ye(r, "svelte-1v7rv6n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
122
  }
123
- function ce(r, e, t) {
123
+ function de(r, e, t) {
124
124
  const i = r.slice();
125
125
  return i[36] = e[t], i[37] = e, i[38] = t, i;
126
126
  }
127
- function Le(r) {
127
+ function Ie(r) {
128
128
  let e, t, i, a, c, m, v, w, b = (
129
129
  /*$_*/
130
130
  r[11]("filterby") + ""
@@ -138,15 +138,15 @@ function Le(r) {
138
138
  function Y(n, f) {
139
139
  return (
140
140
  /*fullSelection*/
141
- n[7] ? Ae : Pe
141
+ n[7] ? Te : Ae
142
142
  );
143
143
  }
144
- let G = Y(r), S = G(r), N = ie(
144
+ let G = Y(r), S = G(r), N = ae(
145
145
  /*vendorArray*/
146
146
  r[5]
147
147
  ), l = [];
148
148
  for (let n = 0; n < N.length; n += 1)
149
- l[n] = de(ce(r, N, n));
149
+ l[n] = pe(de(r, N, n));
150
150
  return {
151
151
  c() {
152
152
  e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), c = ee("path"), m = P(), v = u("div"), w = u("span"), g = A(b), _ = P(), y = u("div"), T = u("span"), E = A(k), C = P(), S.c(), d = P(), F = u("span"), h = ee("svg"), D = ee("path"), K = P(), O = u("div"), V = u("ul");
@@ -192,14 +192,14 @@ function Le(r) {
192
192
  16 && x !== (x = "FilterSelector " + /*isFilterActive*/
193
193
  (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
194
  8228) {
195
- N = ie(
195
+ N = ae(
196
196
  /*vendorArray*/
197
197
  n[5]
198
198
  );
199
199
  let p;
200
200
  for (p = 0; p < N.length; p += 1) {
201
- const Z = ce(n, N, p);
202
- l[p] ? l[p].p(Z, f) : (l[p] = de(Z), l[p].c(), l[p].m(V, null));
201
+ const Z = de(n, N, p);
202
+ l[p] ? l[p].p(Z, f) : (l[p] = pe(Z), l[p].c(), l[p].m(V, null));
203
203
  }
204
204
  for (; p < l.length; p += 1)
205
205
  l[p].d(1);
@@ -219,11 +219,11 @@ function Le(r) {
219
219
  n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
220
  },
221
221
  d(n) {
222
- n && B(e), S.d(), Ce(l, n), q = !1, pe(X);
222
+ n && B(e), S.d(), ke(l, n), q = !1, fe(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Ie(r) {
226
+ function Pe(r) {
227
227
  let e, t = (
228
228
  /*$_*/
229
229
  r[11]("500") + ""
@@ -245,7 +245,7 @@ function Ie(r) {
245
245
  }
246
246
  };
247
247
  }
248
- function Pe(r) {
248
+ function Ae(r) {
249
249
  let e, t;
250
250
  return {
251
251
  c() {
@@ -270,7 +270,7 @@ function Pe(r) {
270
270
  }
271
271
  };
272
272
  }
273
- function Ae(r) {
273
+ function Te(r) {
274
274
  let e, t = (
275
275
  /*$_*/
276
276
  r[11]("all") + ""
@@ -292,11 +292,11 @@ function Ae(r) {
292
292
  }
293
293
  };
294
294
  }
295
- function Te(r) {
295
+ function De(r) {
296
296
  let e, t;
297
297
  return {
298
298
  c() {
299
- e = u("img"), ne(e.src, t = /*vendor*/
299
+ e = u("img"), oe(e.src, t = /*vendor*/
300
300
  r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
301
  },
302
302
  m(i, a) {
@@ -304,7 +304,7 @@ function Te(r) {
304
304
  },
305
305
  p(i, a) {
306
306
  a[0] & /*vendorArray*/
307
- 32 && !ne(e.src, t = /*vendor*/
307
+ 32 && !oe(e.src, t = /*vendor*/
308
308
  i[36].logo) && o(e, "src", t);
309
309
  },
310
310
  d(i) {
@@ -312,7 +312,7 @@ function Te(r) {
312
312
  }
313
313
  };
314
314
  }
315
- function De(r) {
315
+ function Oe(r) {
316
316
  let e, t, i = (
317
317
  /*vendor*/
318
318
  r[36].name + ""
@@ -339,7 +339,7 @@ function De(r) {
339
339
  }
340
340
  };
341
341
  }
342
- function de(r) {
342
+ function pe(r) {
343
343
  let e, t, i, a, c, m, v, w, b, g, _, y;
344
344
  function T() {
345
345
  r[23].call(
@@ -363,17 +363,17 @@ function de(r) {
363
363
  if (
364
364
  /*filterbylogo*/
365
365
  F[2] === "false"
366
- ) return De;
366
+ ) return Oe;
367
367
  if (
368
368
  /*filterbylogo*/
369
369
  F[2] === "true"
370
- ) return Te;
370
+ ) return De;
371
371
  }
372
372
  let C = E(r), d = C && C(r);
373
373
  return {
374
374
  c() {
375
375
  e = u("li"), t = u("label"), i = u("input"), c = P(), m = u("span"), v = P(), d && d.c(), w = P(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
376
- r[36].name, ae(i, i.__value), o(m, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
376
+ r[36].name, ne(i, i.__value), o(m, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
377
377
  (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
378
378
  r[36].name;
379
379
  },
@@ -387,7 +387,7 @@ function de(r) {
387
387
  p(F, h) {
388
388
  r = F, h[0] & /*vendorArray*/
389
389
  32 && a !== (a = /*vendor*/
390
- r[36].name) && (i.__value = a, ae(i, i.__value)), h[0] & /*vendorArray*/
390
+ r[36].name) && (i.__value = a, ne(i, i.__value)), h[0] & /*vendorArray*/
391
391
  32 && (i.checked = /*vendor*/
392
392
  r[36].isFilterSelected), C === (C = E(r)) && d ? d.p(r, h) : (d && d.d(1), d = C && C(r), d && (d.c(), d.m(t, null))), h[0] & /*filterbylogo*/
393
393
  4 && b !== (b = "FilterItem " + /*filterbylogo*/
@@ -396,19 +396,19 @@ function de(r) {
396
396
  r[36].name) && (e.value = g);
397
397
  },
398
398
  d(F) {
399
- F && B(e), d && d.d(), _ = !1, pe(y);
399
+ F && B(e), d && d.d(), _ = !1, fe(y);
400
400
  }
401
401
  };
402
402
  }
403
- function Oe(r) {
403
+ function Ee(r) {
404
404
  let e;
405
405
  function t(c, m) {
406
406
  if (
407
407
  /*hasErrors*/
408
408
  c[10]
409
- ) return Ie;
409
+ ) return Pe;
410
410
  if (!/*isLoading*/
411
- c[9]) return Le;
411
+ c[9]) return Ie;
412
412
  }
413
413
  let i = t(r), a = i && i(r);
414
414
  return {
@@ -421,29 +421,29 @@ function Oe(r) {
421
421
  p(c, m) {
422
422
  i === (i = t(c)) && a ? a.p(c, m) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
423
423
  },
424
- i: re,
425
- o: re,
424
+ i: ie,
425
+ o: ie,
426
426
  d(c) {
427
427
  c && B(e), a && a.d(), r[26](null);
428
428
  }
429
429
  };
430
430
  }
431
- function Ee(r, e, t) {
431
+ function Me(r, e, t) {
432
432
  let i;
433
- ye(r, ke, (l) => t(11, i = l));
433
+ ve(r, xe, (l) => t(11, i = l));
434
434
  let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, k = !1, E = window.navigator.userAgent, C = [], d = [], F = {}, h = !1, D = 0, M = !0, x, K = !1;
435
- xe({ withLocale: "en", translations: {} });
435
+ Se({ withLocale: "en", translations: {} });
436
436
  const O = () => {
437
437
  fetch(v).then((n) => n.json()).then((n) => {
438
438
  Object.keys(n).forEach((f) => {
439
- oe(f, n[f]);
439
+ se(f, n[f]);
440
440
  });
441
441
  }).catch((n) => {
442
442
  console.log(n);
443
443
  });
444
444
  };
445
- Object.keys(se).forEach((l) => {
446
- oe(l, se[l]);
445
+ Object.keys(ce).forEach((l) => {
446
+ se(l, ce[l]);
447
447
  });
448
448
  const V = () => {
449
449
  let l = document.createElement("style");
@@ -467,7 +467,8 @@ function Ee(r, e, t) {
467
467
  p = p.items, n(p.items), t(6, d = []);
468
468
  let Z = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
469
469
  p.forEach(($) => {
470
- Z || (Z = { currentCategoryId: [] }), Z[g]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
470
+ var le;
471
+ Z || (Z = { currentCategoryId: [] }), ((le = Z[g]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
471
472
  }), t(5, C = p), W();
472
473
  }).catch((p) => {
473
474
  console.error(p), t(10, K = !0), f(p);
@@ -483,7 +484,7 @@ function Ee(r, e, t) {
483
484
  t(7, h = d.length === C.length || d.length == 0), t(8, D = d.length);
484
485
  }, R = () => {
485
486
  const l = new URL(`${a}/v1/casino/vendors`);
486
- t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform", we(E)), (g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`), J(l);
487
+ t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform", _e(E)), (g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`), J(l);
487
488
  }, H = () => {
488
489
  t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
489
490
  [g]: d.map((l) => l.id)
@@ -491,7 +492,7 @@ function Ee(r, e, t) {
491
492
  }, q = (l) => {
492
493
  l.data.type == "SortingOpened" && t(4, k = !1);
493
494
  };
494
- ve(() => (window.addEventListener("message", q, !1), () => {
495
+ we(() => (window.addEventListener("message", q, !1), () => {
495
496
  window.removeEventListener("message", q);
496
497
  }));
497
498
  const X = () => L();
@@ -500,7 +501,7 @@ function Ee(r, e, t) {
500
501
  }
501
502
  const G = (l) => U(l), S = () => H();
502
503
  function N(l) {
503
- _e[l ? "unshift" : "push"](() => {
504
+ Ce[l ? "unshift" : "push"](() => {
504
505
  x = l, t(3, x);
505
506
  });
506
507
  }
@@ -542,14 +543,14 @@ function Ee(r, e, t) {
542
543
  N
543
544
  ];
544
545
  }
545
- class Me extends ue {
546
+ class Ne extends me {
546
547
  constructor(e) {
547
- super(), me(
548
+ super(), he(
548
549
  this,
549
550
  e,
551
+ Me,
550
552
  Ee,
551
- Oe,
552
- Fe,
553
+ be,
553
554
  {
554
555
  endpoint: 15,
555
556
  datasource: 16,
@@ -562,7 +563,7 @@ class Me extends ue {
562
563
  addsortingselector: 1,
563
564
  filterbylogo: 2
564
565
  },
565
- Se,
566
+ Le,
566
567
  [-1, -1]
567
568
  );
568
569
  }
@@ -627,7 +628,7 @@ class Me extends ue {
627
628
  this.$$set({ filterbylogo: e }), I();
628
629
  }
629
630
  }
630
- he(Me, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
631
+ Fe(Ne, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
631
632
  export {
632
- Me as default
633
+ Ne as default
633
634
  };