@everymatrix/casino-lobby 1.59.0 → 1.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/components/{CasinoCalendar-BWZKTjt3.js → CasinoCalendar-BYTytQgJ.js} +836 -833
  2. package/components/{CasinoCalendar-CEPKCmvL.js → CasinoCalendar-CI-C6zUY.js} +850 -847
  3. package/components/{CasinoCalendar-YzaZrGBf.cjs → CasinoCalendar-DqS7aKva.cjs} +6 -6
  4. package/components/{CasinoCalendarDailyDetails-C4rdfT96.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CneP-8H4.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-BZxw5rrd.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-yxm1jout.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-B3mEEjHA.js → CasinoCalendarDailyItem-CjRZKnnD.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DAH0pKrw.js → CasinoCalendarDailyItem-DC91__VM.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-t9Ea10Xr.js → CasinoCategoriesSlider-BeqGvJrA.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-Dd33-jys.js → CasinoCategoriesSlider-Cvb-krxJ.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-DozoHOzF.cjs → CasinoCategoriesSlider-DZpvR9sw.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-bmfbt1iI.js → CasinoCollectionsProviders-BMyAx20Y.js} +111 -108
  14. package/components/{CasinoCollectionsProviders-DAgGlzwM.js → CasinoCollectionsProviders-B_4F6cIK.js} +106 -103
  15. package/components/{CasinoCollectionsProviders-CBiEhbus.cjs → CasinoCollectionsProviders-FGrPURo4.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-B9pa_5wC.js → CasinoFavoritesSection-BZmf5I3g.js} +2 -2
  17. package/components/{CasinoFavoritesSection-n_i25VDL.cjs → CasinoFavoritesSection-CBb3Eo8J.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-Dm0Ylorq.js → CasinoFavoritesSection-Dmko0_Ik.js} +2 -2
  19. package/components/{CasinoFilter-BaCM2CFg.js → CasinoFilter-BHLJqOwW.js} +3 -3
  20. package/components/{CasinoFilter-B7H_n_MD.cjs → CasinoFilter-Bg-VilMd.cjs} +1 -1
  21. package/components/{CasinoFilter-BTP1X8zp.js → CasinoFilter-Dt8GhenI.js} +3 -3
  22. package/components/{CasinoGamePage-jh3dkrf4.js → CasinoGamePage-5moXxd0d.js} +1 -1
  23. package/components/{CasinoGamePage-CIvFWln2.cjs → CasinoGamePage-BmgERtPr.cjs} +1 -1
  24. package/components/{CasinoGamePage-DSk7OmI2.js → CasinoGamePage-D_TzJsC-.js} +1 -1
  25. package/components/CasinoGameThumbnail-DSjNVacg.js +1850 -0
  26. package/components/CasinoGameThumbnail-DqBpfUwf.js +1866 -0
  27. package/components/CasinoGameThumbnail-OrvrYv4V.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-dyyrntic.js → CasinoGamesCategorySection-Ce43OSOZ.js} +296 -291
  29. package/components/{CasinoGamesCategorySection-BBfNK7Mo.cjs → CasinoGamesCategorySection-DEh7yuGp.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-BU3JMFcx.js → CasinoGamesCategorySection-d8QOFywW.js} +402 -397
  31. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +1 -0
  32. package/components/{CasinoJackpotBanner-BvW5shKI.js → CasinoJackpotBanner-Dxq2Y_-S.js} +186 -181
  33. package/components/{CasinoJackpotBanner-7unbFH4I.js → CasinoJackpotBanner-UQaC63Zv.js} +157 -152
  34. package/components/{CasinoLastPlayedSection-BtSsd68j.js → CasinoLastPlayedSection-BVANPPTi.js} +2 -2
  35. package/components/{CasinoLastPlayedSection--cJ8dS0F.js → CasinoLastPlayedSection-Bmr8n1pA.js} +2 -2
  36. package/components/{CasinoLastPlayedSection-YmqYIIYS.cjs → CasinoLastPlayedSection-CyL83M3y.cjs} +1 -1
  37. package/components/{CasinoLobby--nSc5THC.js → CasinoLobby-CWzN0imw.js} +5 -5
  38. package/components/{CasinoLobby-DngFRvmY.js → CasinoLobby-DUI1Ki3q.js} +5 -5
  39. package/components/{CasinoLobby-BUcjKu4u.cjs → CasinoLobby-os94WdnE.cjs} +1 -1
  40. package/components/{CasinoModal-88yfZulM.js → CasinoModal-BaV1FE12.js} +1 -1
  41. package/components/{CasinoModal-D9_hs2c9.js → CasinoModal-Bn6r73ff.js} +1 -1
  42. package/components/{CasinoModal-Ce5Pthg0.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-BldCqqK1.js → CasinoMostPlayedSection-B4SHGVp4.js} +2 -2
  44. package/components/{CasinoMostPlayedSection-CvX-e31F.js → CasinoMostPlayedSection-CD00UC6r.js} +2 -2
  45. package/components/{CasinoMostPlayedSection-DI5TANog.cjs → CasinoMostPlayedSection-y-GWnOes.cjs} +1 -1
  46. package/components/{CasinoMyGames-CJm9ApZ8.js → CasinoMyGames-BBsq56wQ.js} +4 -4
  47. package/components/{CasinoMyGames-DQEE59aC.cjs → CasinoMyGames-DKu8rYmc.cjs} +1 -1
  48. package/components/{CasinoMyGames-CNSxKFTG.js → CasinoMyGames-DRCL87dq.js} +4 -4
  49. package/components/CasinoPage-BJ2hLXJb.js +3755 -0
  50. package/components/CasinoPage-CXAKd3oS.cjs +1 -0
  51. package/components/{CasinoPage-Renb8OYu.js → CasinoPage-DXP80Vgm.js} +1494 -1448
  52. package/components/{CasinoRandomGame-CjLDPmJh.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CaLII6na.js → CasinoRandomGame-CsA5xgwc.js} +1 -1
  54. package/components/{CasinoRandomGame-8kMXdgrA.js → CasinoRandomGame-DLzqJj4x.js} +1 -1
  55. package/components/{CasinoSearch-Cf4ivtxM.cjs → CasinoSearch-CxFbGTdy.cjs} +1 -1
  56. package/components/{CasinoSearch-eN8ZAKdn.js → CasinoSearch-CzUqsTgU.js} +3 -3
  57. package/components/{CasinoSearch-ISBqoS_l.js → CasinoSearch-atJ6AGYa.js} +3 -3
  58. package/components/{CasinoSlider-BqOuFEE1.cjs → CasinoSlider-CgiDJzPs.cjs} +1 -1
  59. package/components/{CasinoSlider-DLY4ZBJR.js → CasinoSlider-DjqwMakd.js} +1 -1
  60. package/components/{CasinoSlider-DTLHID6G.js → CasinoSlider-zHVThApL.js} +1 -1
  61. package/components/{CasinoSort-BpUmCYRy.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
  62. package/components/{CasinoSort-BNFUwAYT.js → CasinoSort-B3A_Ar_A.js} +1 -1
  63. package/components/{CasinoSort-DKL_qMEQ.js → CasinoSort-DtUIrmuZ.js} +1 -1
  64. package/components/{CasinoWinners-BoSyqMDy.js → CasinoWinners-CF_PptIS.js} +117 -114
  65. package/components/{CasinoWinners-Czg0Gq3N.js → CasinoWinners-Gb2w2dXe.js} +118 -115
  66. package/components/{CasinoWinners-DRdsN9K_.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-DL8bFxE7.js → GeneralAnimationLoading-8TvNjXay.js} +1 -1
  68. package/components/{GeneralAnimationLoading-CVr2zyUi.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-swHQRr7H.js → GeneralAnimationLoading-Bbxdne1m.js} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +3 -2
  74. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  75. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  76. package/stencil/{casino-play-random-game-NcJEjFWA.js → casino-play-random-game-CLSQBVzD.js} +19 -17
  77. package/stencil/{casino-play-random-game-DjdZ0XM0.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  78. package/stencil/{casino-play-random-game-BOnTgUqC.js → casino-play-random-game-Dm8A9dTR.js} +20 -18
  79. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  80. package/stencil/{index-510a6ba4-1RrL4Z6e.js → index-ab3202d6-OPh7hJp9.js} +120 -109
  81. package/stencil/{index-510a6ba4-CNr-xCZE.js → index-ab3202d6-hGs51skN.js} +121 -110
  82. package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
  83. package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
  84. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
  85. package/stencil/ui-skeleton-Bz6cw7xJ.js +11 -0
  86. package/stencil/ui-skeleton-D9k-xWaS.cjs +1 -0
  87. package/stencil/ui-skeleton-DDYD_XHU.js +29 -0
  88. package/stencil/ui-skeleton-a642cced-Bg6oYmhk.js +122 -0
  89. package/stencil/ui-skeleton-a642cced-CVw8zpGJ.cjs +1 -0
  90. package/stencil/ui-skeleton-a642cced-MvzXi5-c.js +122 -0
  91. package/components/CasinoGameThumbnail-BXCu7VY7.js +0 -1834
  92. package/components/CasinoGameThumbnail-Mnpd_s_M.js +0 -1850
  93. package/components/CasinoGameThumbnail-uCJn0tBq.cjs +0 -38
  94. package/components/CasinoJackpotBanner-RjyciaDJ.cjs +0 -1
  95. package/components/CasinoPage-DeZ_xrWS.js +0 -3709
  96. package/components/CasinoPage-_d_6nEdh.cjs +0 -1
  97. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  98. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  99. package/stencil/index-510a6ba4-eEczisTR.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-YzaZrGBf.cjs");require("./CasinoFavoritesSection-n_i25VDL.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}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 translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl: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 gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-CBb3Eo8J.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}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 translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl: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 gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
@@ -1,4 +1,4 @@
1
- import { $ as W, U as _t, L as vt, S as Et, i as Ct, s as jt, f as c, b as Lt, d as F, t as H, c as N, g as St, e as Dt, h as P, j as _, r as S, o as It, N as ct, n as gt, m as qt, p as k, q as Mt, G as J, u as Ot, O as t, x as Ft, y as Pt, z as Ut, B as O, l as At, X as Tt, C as Gt, I as Rt, J as zt, K as Bt } from "./CasinoCalendar-BWZKTjt3.js";
1
+ import { $ as W, U as _t, L as vt, S as Et, i as Ct, s as jt, f as c, b as Lt, d as F, t as H, c as N, g as St, e as Dt, h as P, j as _, r as S, o as It, N as ct, n as gt, m as qt, p as k, q as Mt, G as J, u as Ot, O as t, x as Ft, y as Pt, z as Ut, B as O, l as At, X as Tt, C as Gt, I as Rt, J as zt, K as Bt } from "./CasinoCalendar-BYTytQgJ.js";
2
2
  function Wt({ withLocale: n, translations: e }) {
3
3
  W.subscribe((s) => {
4
4
  s == null && (_t.set(e), W.set(n));
@@ -19,7 +19,7 @@ if (typeof window < "u") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-Dd33-jys.js").then(({ default: e }) => {
22
+ customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-Cvb-krxJ.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window < "u") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = n(customElements.define), import("./CasinoPage-DeZ_xrWS.js").then(({ default: e }) => {
38
+ customElements.define = n(customElements.define), import("./CasinoPage-BJ2hLXJb.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -51,7 +51,7 @@ if (typeof window < "u") {
51
51
  }
52
52
  };
53
53
  };
54
- customElements.define = n(customElements.define), import("./CasinoModal-88yfZulM.js").then(({ default: e }) => {
54
+ customElements.define = n(customElements.define), import("./CasinoModal-Bn6r73ff.js").then(({ default: e }) => {
55
55
  !customElements.get("casino-modal") && customElements.define("casino-modal", e.element);
56
56
  });
57
57
  }
@@ -67,7 +67,7 @@ if (typeof window < "u") {
67
67
  }
68
68
  };
69
69
  };
70
- customElements.define = n(customElements.define), import("./CasinoGamePage-jh3dkrf4.js").then((e) => e.C).then(({ default: e }) => {
70
+ customElements.define = n(customElements.define), import("./CasinoGamePage-5moXxd0d.js").then((e) => e.C).then(({ default: e }) => {
71
71
  !customElements.get("casino-game-page") && customElements.define("casino-game-page", e.element);
72
72
  });
73
73
  }
@@ -1,4 +1,4 @@
1
- import { $ as W, U as _t, S as vt, i as Et, f as c, s as jt, L as Ct, b as Lt, d as F, t as H, c as N, g as St, e as Dt, h as P, j as _, r as S, o as It, N as ct, n as gt, m as qt, p as k, q as Mt, G as J, u as Ot, O as t, x as Ft, y as Pt, z as Ut, B as O, l as At, X as Tt, C as Gt, I as Rt, J as zt, K as Bt } from "./CasinoCalendar-CEPKCmvL.js";
1
+ import { $ as W, U as _t, S as vt, i as Et, f as c, s as jt, L as Ct, b as Lt, d as F, t as H, c as N, g as St, e as Dt, h as P, j as _, r as S, o as It, N as ct, n as gt, m as qt, p as k, q as Mt, G as J, u as Ot, O as t, x as Ft, y as Pt, z as Ut, B as O, l as At, X as Tt, C as Gt, I as Rt, J as zt, K as Bt } from "./CasinoCalendar-CI-C6zUY.js";
2
2
  function Wt({ withLocale: n, translations: e }) {
3
3
  W.subscribe((s) => {
4
4
  s == null && (_t.set(e), W.set(n));
@@ -19,7 +19,7 @@ if (typeof window != "undefined") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-t9Ea10Xr.js").then(({ default: e }) => {
22
+ customElements.define = n(customElements.define), import("./CasinoCategoriesSlider-BeqGvJrA.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window != "undefined") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = n(customElements.define), import("./CasinoPage-Renb8OYu.js").then(({ default: e }) => {
38
+ customElements.define = n(customElements.define), import("./CasinoPage-DXP80Vgm.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -51,7 +51,7 @@ if (typeof window != "undefined") {
51
51
  }
52
52
  };
53
53
  };
54
- customElements.define = n(customElements.define), import("./CasinoModal-D9_hs2c9.js").then(({ default: e }) => {
54
+ customElements.define = n(customElements.define), import("./CasinoModal-BaV1FE12.js").then(({ default: e }) => {
55
55
  !customElements.get("casino-modal") && customElements.define("casino-modal", e.element);
56
56
  });
57
57
  }
@@ -67,7 +67,7 @@ if (typeof window != "undefined") {
67
67
  }
68
68
  };
69
69
  };
70
- customElements.define = n(customElements.define), import("./CasinoGamePage-DSk7OmI2.js").then((e) => e.C).then(({ default: e }) => {
70
+ customElements.define = n(customElements.define), import("./CasinoGamePage-D_TzJsC-.js").then((e) => e.C).then(({ default: e }) => {
71
71
  !customElements.get("casino-game-page") && customElements.define("casino-game-page", e.element);
72
72
  });
73
73
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-YzaZrGBf.cjs");function mt({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function xe(n){e.$locale.set(n)}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-DozoHOzF.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-_d_6nEdh.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-Ce5Pthg0.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-CIvFWln2.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function ut(n){e.append_styles(n,"svelte-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const ct=n=>({}),$e=n=>({});function _t(n){let t,a,u,c,g,h,_,r,i,b,v,o;const w=n[96].content,f=e.create_slot(w,n,n[95],$e);let d=n[22]=="true"&&et(n);return{c(){t=e.element("div"),a=e.element("div"),u=e.element("div"),c=e.space(),g=e.element("div"),h=e.space(),_=e.element("casino-categories-slider"),r=e.space(),i=e.element("casino-page"),b=e.element("div"),f&&f.c(),v=e.space(),d&&d.c(),e.attr(u,"class","HeaderPlaceholder"),e.set_style(u,"height",n[87]+"px"),e.attr(g,"class","ScrollTop"),e.set_custom_element_data(_,"endpoint",n[81]),e.set_custom_element_data(_,"datasource",n[82]),e.set_custom_element_data(_,"lang",n[83]),e.set_custom_element_data(_,"session",n[86]),e.set_custom_element_data(_,"userid",n[4]),e.set_custom_element_data(_,"sessioncheck","false"),e.set_custom_element_data(_,"actionevent",n[18]),e.set_custom_element_data(_,"filteredcategories",n[9]),e.set_custom_element_data(_,"mostplayed",n[65]),e.set_custom_element_data(_,"lastplayed",n[67]),e.set_custom_element_data(_,"favorites",n[16]),e.set_custom_element_data(_,"activecategory",n[1]),e.set_custom_element_data(_,"translationurl",n[11]),e.set_custom_element_data(_,"clientstyling",n[5]),e.set_custom_element_data(_,"clientstylingurl",n[6]),e.set_custom_element_data(_,"location","secondaryMenu"),e.set_custom_element_data(_,"showsubgroups",n[53]),e.set_custom_element_data(_,"categoriesicon",n[30]),e.set_custom_element_data(_,"lobbyiconimage",n[31]),e.set_custom_element_data(_,"mygamesiconimage",n[32]),e.set_custom_element_data(_,"mbsource",n[79]),e.attr(b,"slot","je-jackpots-widget"),e.set_custom_element_data(i,"session",n[86]),e.set_custom_element_data(i,"userid",n[4]),e.set_custom_element_data(i,"endpoint",n[81]),e.set_custom_element_data(i,"datasource",n[82]),e.set_custom_element_data(i,"lang",n[83]),e.set_custom_element_data(i,"mbsource",n[79]),e.set_custom_element_data(i,"showgamename",n[21]),e.set_custom_element_data(i,"cmsendpoint",n[2]),e.set_custom_element_data(i,"env",n[3]),e.set_custom_element_data(i,"translationurl",n[11]),e.set_custom_element_data(i,"visiblegames",n[25]),e.set_custom_element_data(i,"playrandomgame",n[23]),e.set_custom_element_data(i,"randomgameslider",n[24]),e.set_custom_element_data(i,"specificcategory",n[68]),e.set_custom_element_data(i,"launchbygamecard",n[69]),e.set_custom_element_data(i,"iconvisible",n[70]),e.set_custom_element_data(i,"iconvisibleonanim",n[71]),e.set_custom_element_data(i,"activecategory",n[1]),e.set_custom_element_data(i,"favorites",n[16]),e.set_custom_element_data(i,"clientstyling",n[5]),e.set_custom_element_data(i,"clientstylingurl",n[6]),e.set_custom_element_data(i,"lobbyid",n[8]),e.set_custom_element_data(i,"haspanicbutton",n[17]),e.set_custom_element_data(i,"livecasino",n[19]),e.set_custom_element_data(i,"currency",n[0]),e.set_custom_element_data(i,"filteredcategories",n[9]),e.set_custom_element_data(i,"gamepagemodalurl",n[28]),e.set_custom_element_data(i,"randombuttonicon",n[73]),e.set_custom_element_data(i,"positioncasinocalendar",n[59]),e.set_custom_element_data(i,"filteredrandomgamecategories",n[74]),e.set_custom_element_data(i,"positionwinnerswidget",n[33]),e.set_custom_element_data(i,"periodrecent",n[38]),e.set_custom_element_data(i,"periodtop",n[39]),e.set_custom_element_data(i,"userroles",n[10]),e.set_custom_element_data(i,"numberusersrecent",n[40]),e.set_custom_element_data(i,"numberuserstop",n[41]),e.set_custom_element_data(i,"amountlimit",n[42]),e.set_custom_element_data(i,"isrecentavailable",n[37]),e.set_custom_element_data(i,"istopavailable",n[36]),e.set_custom_element_data(i,"integratedgameframedesktop",n[26]),e.set_custom_element_data(i,"integratedgameframemobile",n[27]),e.set_custom_element_data(i,"defaultcurrency",n[43]),e.set_custom_element_data(i,"enableautoscroll",n[35]),e.set_custom_element_data(i,"collectionprovidersgamenames",n[58]),e.set_custom_element_data(i,"tabsorder",n[34]),e.set_custom_element_data(i,"positionjackpotbanners",n[44]),e.set_custom_element_data(i,"backgroundsrc",n[49]),e.set_custom_element_data(i,"backgroundsrcmobile",n[50]),e.set_custom_element_data(i,"titlelogopath",n[51]),e.set_custom_element_data(i,"caticon0",n[45]),e.set_custom_element_data(i,"caticon1",n[46]),e.set_custom_element_data(i,"caticon2",n[47]),e.set_custom_element_data(i,"caticon3",n[48]),e.set_custom_element_data(i,"iconlabels",n[52]),e.set_custom_element_data(i,"positioncollections",n[55]),e.set_custom_element_data(i,"type",n[56]),e.set_custom_element_data(i,"titletype",n[57]),e.set_custom_element_data(i,"casinomygames",ft),e.set_custom_element_data(i,"filterbylogo",n[77]),e.set_custom_element_data(i,"addfilterselector",n[75]),e.set_custom_element_data(i,"addsortingselector",n[76]),e.set_custom_element_data(i,"lastplayedunique",n[64]),e.set_custom_element_data(i,"lastplayedlimit",n[63]),e.set_custom_element_data(i,"lastplayedorder",n[62]),e.set_custom_element_data(i,"mostplayedrounds",n[66]),e.set_custom_element_data(i,"mostplayed",n[65]),e.set_custom_element_data(i,"lastplayed",n[67]),e.set_custom_element_data(i,"lastplayedperiod",n[60]),e.set_custom_element_data(i,"mostplayedperiod",n[61]),e.set_custom_element_data(i,"showsubgroups",n[53]),e.set_custom_element_data(i,"winnersdatasources",n[78]),e.set_custom_element_data(i,"casinogamesgridslider",n[29]),e.set_custom_element_data(i,"positionjelobbywidget",n[72]),e.set_custom_element_data(i,"realtimeupdate",n[54]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,u),e.append(a,c),e.append(a,g),e.append(a,h),e.append(a,_),e.append(a,r),e.append(a,i),e.append(i,b),f&&f.m(b,null),e.append(a,v),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&33554432)&&e.set_style(u,"height",l[87]+"px"),(!o||m[2]&524288)&&e.set_custom_element_data(_,"endpoint",l[81]),(!o||m[2]&1048576)&&e.set_custom_element_data(_,"datasource",l[82]),(!o||m[2]&2097152)&&e.set_custom_element_data(_,"lang",l[83]),(!o||m[2]&16777216)&&e.set_custom_element_data(_,"session",l[86]),(!o||m[0]&16)&&e.set_custom_element_data(_,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(_,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(_,"filteredcategories",l[9]),(!o||m[2]&8)&&e.set_custom_element_data(_,"mostplayed",l[65]),(!o||m[2]&32)&&e.set_custom_element_data(_,"lastplayed",l[67]),(!o||m[0]&65536)&&e.set_custom_element_data(_,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(_,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(_,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(_,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(_,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(_,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(_,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(_,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(_,"mygamesiconimage",l[32]),(!o||m[2]&131072)&&e.set_custom_element_data(_,"mbsource",l[79]),f&&f.p&&(!o||m[3]&4)&&e.update_slot_base(f,w,l,l[95],o?e.get_slot_changes(w,l[95],m,ct):e.get_all_dirty_from_scope(l[95]),$e),(!o||m[2]&16777216)&&e.set_custom_element_data(i,"session",l[86]),(!o||m[0]&16)&&e.set_custom_element_data(i,"userid",l[4]),(!o||m[2]&524288)&&e.set_custom_element_data(i,"endpoint",l[81]),(!o||m[2]&1048576)&&e.set_custom_element_data(i,"datasource",l[82]),(!o||m[2]&2097152)&&e.set_custom_element_data(i,"lang",l[83]),(!o||m[2]&131072)&&e.set_custom_element_data(i,"mbsource",l[79]),(!o||m[0]&2097152)&&e.set_custom_element_data(i,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(i,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(i,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(i,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(i,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(i,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(i,"randomgameslider",l[24]),(!o||m[2]&64)&&e.set_custom_element_data(i,"specificcategory",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(i,"launchbygamecard",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(i,"iconvisible",l[70]),(!o||m[2]&512)&&e.set_custom_element_data(i,"iconvisibleonanim",l[71]),(!o||m[0]&2)&&e.set_custom_element_data(i,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(i,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(i,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(i,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(i,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(i,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(i,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(i,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(i,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(i,"gamepagemodalurl",l[28]),(!o||m[2]&2048)&&e.set_custom_element_data(i,"randombuttonicon",l[73]),(!o||m[1]&268435456)&&e.set_custom_element_data(i,"positioncasinocalendar",l[59]),(!o||m[2]&4096)&&e.set_custom_element_data(i,"filteredrandomgamecategories",l[74]),(!o||m[1]&4)&&e.set_custom_element_data(i,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(i,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(i,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(i,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(i,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(i,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(i,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(i,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(i,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(i,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(i,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(i,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(i,"enableautoscroll",l[35]),(!o||m[1]&134217728)&&e.set_custom_element_data(i,"collectionprovidersgamenames",l[58]),(!o||m[1]&8)&&e.set_custom_element_data(i,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(i,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(i,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(i,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(i,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(i,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(i,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(i,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(i,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(i,"iconlabels",l[52]),(!o||m[1]&16777216)&&e.set_custom_element_data(i,"positioncollections",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(i,"type",l[56]),(!o||m[1]&67108864)&&e.set_custom_element_data(i,"titletype",l[57]),(!o||m[2]&32768)&&e.set_custom_element_data(i,"filterbylogo",l[77]),(!o||m[2]&8192)&&e.set_custom_element_data(i,"addfilterselector",l[75]),(!o||m[2]&16384)&&e.set_custom_element_data(i,"addsortingselector",l[76]),(!o||m[2]&4)&&e.set_custom_element_data(i,"lastplayedunique",l[64]),(!o||m[2]&2)&&e.set_custom_element_data(i,"lastplayedlimit",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(i,"lastplayedorder",l[62]),(!o||m[2]&16)&&e.set_custom_element_data(i,"mostplayedrounds",l[66]),(!o||m[2]&8)&&e.set_custom_element_data(i,"mostplayed",l[65]),(!o||m[2]&32)&&e.set_custom_element_data(i,"lastplayed",l[67]),(!o||m[1]&536870912)&&e.set_custom_element_data(i,"lastplayedperiod",l[60]),(!o||m[1]&1073741824)&&e.set_custom_element_data(i,"mostplayedperiod",l[61]),(!o||m[1]&4194304)&&e.set_custom_element_data(i,"showsubgroups",l[53]),(!o||m[2]&65536)&&e.set_custom_element_data(i,"winnersdatasources",l[78]),(!o||m[0]&536870912)&&e.set_custom_element_data(i,"casinogamesgridslider",l[29]),(!o||m[2]&1024)&&e.set_custom_element_data(i,"positionjelobbywidget",l[72]),(!o||m[1]&8388608)&&e.set_custom_element_data(i,"realtimeupdate",l[54]),l[22]=="true"?d?d.p(l,m):(d=et(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(f,l),o=!0)},o(l){e.transition_out(f,l),o=!1},d(l){l&&e.detach(t),f&&f.d(l),d&&d.d()}}}function rt(n){let t,a;return{c(){t=e.element("p"),a=e.text(n[85]),e.set_style(t,"color","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))")},m(u,c){e.insert(u,t,c),e.append(t,a)},p(u,c){c[2]&8388608&&e.set_data(a,u[85])},i:e.noop,o:e.noop,d(u){u&&e.detach(t)}}}function et(n){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",n[86]),e.set_custom_element_data(a,"userid",n[4]),e.set_custom_element_data(a,"endpoint",n[81]),e.set_custom_element_data(a,"datasource",n[82]),e.set_custom_element_data(a,"lang",n[83]),e.set_custom_element_data(a,"loginevent",n[12]),e.set_custom_element_data(a,"registerevent",n[13]),e.set_custom_element_data(a,"depositevent",n[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"mbsource",n[79]),e.set_custom_element_data(a,"playforfun",n[20]),e.set_custom_element_data(a,"translationurl",n[11]),e.set_custom_element_data(a,"shortcashierenabled",n[15]),e.set_custom_element_data(a,"favorites",n[16]),e.set_custom_element_data(a,"clientstyling",n[5]),e.set_custom_element_data(a,"clientstylingurl",n[6]),e.set_custom_element_data(a,"clockformat",n[7]),e.set_custom_element_data(a,"haspanicbutton",n[17]),e.set_custom_element_data(a,"currency",n[0]),e.set_custom_element_data(a,"integratedgameframedesktop",n[26]),e.set_custom_element_data(a,"integratedgameframemobile",n[27]),e.set_custom_element_data(t,"session",n[86]),e.set_custom_element_data(t,"userid",n[4]),e.set_custom_element_data(t,"endpoint",n[81]),e.set_custom_element_data(t,"datasource",n[82]),e.set_custom_element_data(t,"lang",n[83]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",n[11]),e.set_custom_element_data(t,"clientstyling",n[5]),e.set_custom_element_data(t,"clientstylingurl",n[6]),e.set_custom_element_data(t,"mbsource",n[79]),e.set_custom_element_data(t,"gamepagemodalurl",n[28]),e.set_custom_element_data(t,"haspanicbutton",n[17]),e.set_custom_element_data(t,"integratedgameframedesktop",n[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(u,c){e.insert(u,t,c),e.append(t,a)},p(u,c){c[2]&16777216&&e.set_custom_element_data(a,"session",u[86]),c[0]&16&&e.set_custom_element_data(a,"userid",u[4]),c[2]&524288&&e.set_custom_element_data(a,"endpoint",u[81]),c[2]&1048576&&e.set_custom_element_data(a,"datasource",u[82]),c[2]&2097152&&e.set_custom_element_data(a,"lang",u[83]),c[0]&4096&&e.set_custom_element_data(a,"loginevent",u[12]),c[0]&8192&&e.set_custom_element_data(a,"registerevent",u[13]),c[0]&16384&&e.set_custom_element_data(a,"depositevent",u[14]),c[2]&131072&&e.set_custom_element_data(a,"mbsource",u[79]),c[0]&1048576&&e.set_custom_element_data(a,"playforfun",u[20]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",u[11]),c[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",u[15]),c[0]&65536&&e.set_custom_element_data(a,"favorites",u[16]),c[0]&32&&e.set_custom_element_data(a,"clientstyling",u[5]),c[0]&64&&e.set_custom_element_data(a,"clientstylingurl",u[6]),c[0]&128&&e.set_custom_element_data(a,"clockformat",u[7]),c[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",u[17]),c[0]&1&&e.set_custom_element_data(a,"currency",u[0]),c[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",u[26]),c[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",u[27]),c[2]&16777216&&e.set_custom_element_data(t,"session",u[86]),c[0]&16&&e.set_custom_element_data(t,"userid",u[4]),c[2]&524288&&e.set_custom_element_data(t,"endpoint",u[81]),c[2]&1048576&&e.set_custom_element_data(t,"datasource",u[82]),c[2]&2097152&&e.set_custom_element_data(t,"lang",u[83]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",u[11]),c[0]&32&&e.set_custom_element_data(t,"clientstyling",u[5]),c[0]&64&&e.set_custom_element_data(t,"clientstylingurl",u[6]),c[2]&131072&&e.set_custom_element_data(t,"mbsource",u[79]),c[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",u[28]),c[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",u[17]),c[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",u[26])},d(u){u&&e.detach(t)}}}function dt(n){let t,a,u,c;const g=[rt,_t],h=[];function _(r,i){return r[84]?0:1}return a=_(n),u=h[a]=g[a](n),{c(){t=e.element("div"),u.c(),e.attr(t,"class","")},m(r,i){e.insert(r,t,i),h[a].m(t,null),n[97](t),c=!0},p(r,i){let b=a;a=_(r),a===b?h[a].p(r,i):(e.group_outros(),e.transition_out(h[b],1,1,()=>{h[b]=null}),e.check_outros(),u=h[a],u?u.p(r,i):(u=h[a]=g[a](r),u.c()),e.transition_in(u,1),u.m(t,null))},i(r){c||(e.transition_in(u),c=!0)},o(r){e.transition_out(u),c=!1},d(r){r&&e.detach(t),h[a].d(),n[97](null)}}}let ft="false";function gt(n,t,a){let{$$slots:u={},$$scope:c}=t,{endpoint:g=""}=t,{cmsendpoint:h="https://wt1-stage.everymatrix.com/apijson"}=t,{env:_=""}=t,{datasource:r=""}=t,{lang:i=""}=t,{session:b=""}=t,{userid:v=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:f=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:T=""}=t,{userroles:A=""}=t,{translationurl:U=""}=t,{loginevent:G=""}=t,{registerevent:R=""}=t,{depositevent:W=""}=t,{shortcashierenabled:z=""}=t,{favorites:L=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:S="0"}=t,{haspanicbutton:B="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:H="CategoryChange"}=t,{livecasino:N="false"}=t,{playforfun:Y="true"}=t,{showgamename:J="false"}=t,{gamemodal:K="true"}=t,{playrandomgame:Q="false"}=t,{randomgameslider:V="false"}=t,{visiblegames:X="10"}=t,{integratedgameframedesktop:Z="false"}=t,{integratedgameframemobile:p="false"}=t,{gamepagemodalurl:x="false"}=t,{casinogamesgridslider:$="false"}=t,{categoriesicon:ee="false"}=t,{lobbyiconimage:te=""}=t,{mygamesiconimage:se=""}=t,{positionwinnerswidget:ae=""}=t,{tabsorder:ne=""}=t,{enableautoscroll:ie=""}=t,{istopavailable:le=""}=t,{isrecentavailable:oe=""}=t,{periodrecent:me=""}=t,{periodtop:ue=""}=t,{numberusersrecent:ce=""}=t,{numberuserstop:_e=""}=t,{amountlimit:re=""}=t,{defaultcurrency:de=""}=t,{positionjackpotbanners:fe=""}=t,{caticon0:ge=""}=t,{caticon1:he=""}=t,{caticon2:be=""}=t,{caticon3:ye=""}=t,{backgroundsrc:we=""}=t,{backgroundsrcmobile:ke=""}=t,{titlelogopath:ve=""}=t,{iconlabels:Ee=""}=t,{showsubgroups:Ce="false"}=t,{realtimeupdate:je="false"}=t,{positioncollections:Se=""}=t,{type:De=""}=t,{titletype:Le=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Pe=""}=t,{lastplayedperiod:Ie="Last30Days"}=t,{mostplayedperiod:Me="Last30Days"}=t,{lastplayedorder:Oe=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Te="true"}=t,{mostplayed:P=""}=t,{mostplayedrounds:Ae=""}=t,{lastplayed:I="false"}=t,{specificcategory:Ue=""}=t,{launchbygamecard:Ge=""}=t,{iconvisible:Re=""}=t,{iconvisibleonanim:We=""}=t,{positionjelobbywidget:ze=""}=t,{randombuttonicon:Be=""}=t,{filteredrandomgamecategories:He=""}=t,{addfilterselector:Ne="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,{mbsource:M}=t,Qe,Ve,Xe,E=!1,k="Loading, please wait ...",D="",O=window.navigator.userAgent,F=!1,C=0,Ze=!1,y;mt({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(87,C=e.getDevice(O)==="PC"?parseInt(j):parseInt(S)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(O),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(86,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},st=()=>(g||(a(85,k="Endpoint is missing! Please provide a valid endpointURL."),a(84,E=!0),console.error(k)),r||(a(85,k="Datasource is missing! Please provide a valid datasource."),a(84,E=!0),console.error(k)),(!i||i.length<2)&&(a(85,k="Language is missing! Please provide a valid language (alpha2code)"),a(84,E=!0),console.error(k)),E),at=()=>{xe(i)},nt=()=>{st(),xe(i),a(81,Qe=g),a(82,Ve=r),a(83,Xe=i),a(84,E=!1)},it=()=>{e.checkSession(g,b).then(s=>{a(86,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},lt=()=>{a(86,D=o)};e.onMount(()=>(window.addEventListener("message",pe,!1),a(87,C=e.getDevice(O)==="PC"?parseInt(j):parseInt(S)),()=>{window.removeEventListener("message",pe)}));function ot(s){e.binding_callbacks[s?"unshift":"push"](()=>{y=s,a(80,y)})}return n.$$set=s=>{"endpoint"in s&&a(88,g=s.endpoint),"cmsendpoint"in s&&a(2,h=s.cmsendpoint),"env"in s&&a(3,_=s.env),"datasource"in s&&a(89,r=s.datasource),"lang"in s&&a(90,i=s.lang),"session"in s&&a(91,b=s.session),"userid"in s&&a(4,v=s.userid),"opsession"in s&&a(92,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,f=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,T=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,U=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,R=s.registerevent),"depositevent"in s&&a(14,W=s.depositevent),"shortcashierenabled"in s&&a(15,z=s.shortcashierenabled),"favorites"in s&&a(16,L=s.favorites),"desktopoffset"in s&&a(93,j=s.desktopoffset),"mobileoffset"in s&&a(94,S=s.mobileoffset),"haspanicbutton"in s&&a(17,B=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,H=s.actionevent),"livecasino"in s&&a(19,N=s.livecasino),"playforfun"in s&&a(20,Y=s.playforfun),"showgamename"in s&&a(21,J=s.showgamename),"gamemodal"in s&&a(22,K=s.gamemodal),"playrandomgame"in s&&a(23,Q=s.playrandomgame),"randomgameslider"in s&&a(24,V=s.randomgameslider),"visiblegames"in s&&a(25,X=s.visiblegames),"integratedgameframedesktop"in s&&a(26,Z=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,p=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,x=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,$=s.casinogamesgridslider),"categoriesicon"in s&&a(30,ee=s.categoriesicon),"lobbyiconimage"in s&&a(31,te=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,se=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ae=s.positionwinnerswidget),"tabsorder"in s&&a(34,ne=s.tabsorder),"enableautoscroll"in s&&a(35,ie=s.enableautoscroll),"istopavailable"in s&&a(36,le=s.istopavailable),"isrecentavailable"in s&&a(37,oe=s.isrecentavailable),"periodrecent"in s&&a(38,me=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,ce=s.numberusersrecent),"numberuserstop"in s&&a(41,_e=s.numberuserstop),"amountlimit"in s&&a(42,re=s.amountlimit),"defaultcurrency"in s&&a(43,de=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,fe=s.positionjackpotbanners),"caticon0"in s&&a(45,ge=s.caticon0),"caticon1"in s&&a(46,he=s.caticon1),"caticon2"in s&&a(47,be=s.caticon2),"caticon3"in s&&a(48,ye=s.caticon3),"backgroundsrc"in s&&a(49,we=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ke=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,ve=s.titlelogopath),"iconlabels"in s&&a(52,Ee=s.iconlabels),"showsubgroups"in s&&a(53,Ce=s.showsubgroups),"realtimeupdate"in s&&a(54,je=s.realtimeupdate),"positioncollections"in s&&a(55,Se=s.positioncollections),"type"in s&&a(56,De=s.type),"titletype"in s&&a(57,Le=s.titletype),"collectionprovidersgamenames"in s&&a(58,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(59,Pe=s.positioncasinocalendar),"lastplayedperiod"in s&&a(60,Ie=s.lastplayedperiod),"mostplayedperiod"in s&&a(61,Me=s.mostplayedperiod),"lastplayedorder"in s&&a(62,Oe=s.lastplayedorder),"lastplayedlimit"in s&&a(63,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(64,Te=s.lastplayedunique),"mostplayed"in s&&a(65,P=s.mostplayed),"mostplayedrounds"in s&&a(66,Ae=s.mostplayedrounds),"lastplayed"in s&&a(67,I=s.lastplayed),"specificcategory"in s&&a(68,Ue=s.specificcategory),"launchbygamecard"in s&&a(69,Ge=s.launchbygamecard),"iconvisible"in s&&a(70,Re=s.iconvisible),"iconvisibleonanim"in s&&a(71,We=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(72,ze=s.positionjelobbywidget),"randombuttonicon"in s&&a(73,Be=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(74,He=s.filteredrandomgamecategories),"addfilterselector"in s&&a(75,Ne=s.addfilterselector),"addsortingselector"in s&&a(76,Ye=s.addsortingselector),"filterbylogo"in s&&a(77,Je=s.filterbylogo),"winnersdatasources"in s&&a(78,Ke=s.winnersdatasources),"mbsource"in s&&a(79,M=s.mbsource),"$$scope"in s&&a(95,c=s.$$scope)},n.$$.update=()=>{n.$$.dirty[2]&268435456&&i&&at(),n.$$.dirty[0]&16|n.$$.dirty[2]&603979776&&b&&v&&g&&it(),n.$$.dirty[0]&65536|n.$$.dirty[2]&469762088&&g&&r&&i&&P&&I&&L&&nt(),n.$$.dirty[2]&1073741824&&o&&lt(),n.$$.dirty[0]&32|n.$$.dirty[2]&262144&&w&&y&&e.setClientStyling(y,w),n.$$.dirty[0]&64|n.$$.dirty[2]&262144&&f&&y&&e.setClientStylingURL(y,f),n.$$.dirty[2]&393216&&y&&e.setStreamStyling(y,`${M}.Style`)},[m,q,h,_,v,w,f,d,l,T,A,U,G,R,W,z,L,B,H,N,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ue,ce,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Se,De,Le,qe,Pe,Ie,Me,Oe,Fe,Te,P,Ae,I,Ue,Ge,Re,We,ze,Be,He,Ne,Ye,Je,Ke,M,y,Qe,Ve,Xe,E,k,D,C,g,r,i,b,o,j,S,c,u,ot]}class tt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,gt,dt,e.safe_not_equal,{endpoint:88,cmsendpoint:2,env:3,datasource:89,lang:90,session:91,userid:4,opsession:92,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:93,mobileoffset:94,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,realtimeupdate:54,positioncollections:55,type:56,titletype:57,collectionprovidersgamenames:58,positioncasinocalendar:59,lastplayedperiod:60,mostplayedperiod:61,lastplayedorder:62,lastplayedlimit:63,lastplayedunique:64,mostplayed:65,mostplayedrounds:66,lastplayed:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,positionjelobbywidget:72,randombuttonicon:73,filteredrandomgamecategories:74,addfilterselector:75,addsortingselector:76,filterbylogo:77,winnersdatasources:78,mbsource:79},ut,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[88]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[89]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[90]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[91]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[92]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[93]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[94]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[54]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[55]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[56]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[57]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[58]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[59]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[60]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[61]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[62]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[63]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[64]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[65]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[66]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[67]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[72]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[73]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[74]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[75]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[76]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[77]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[78]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get mbsource(){return this.$$.ctx[79]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(tt,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{},mbsource:{}},["content"],[],!0);exports.default=tt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function mt({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function xe(n){e.$locale.set(n)}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-DZpvR9sw.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-CXAKd3oS.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-DWbCqr0p.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...a){try{return t.apply(this,a)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-BmgERtPr.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function ut(n){e.append_styles(n,"svelte-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const ct=n=>({}),$e=n=>({});function _t(n){let t,a,u,c,g,h,_,r,i,b,v,o;const w=n[96].content,f=e.create_slot(w,n,n[95],$e);let d=n[22]=="true"&&et(n);return{c(){t=e.element("div"),a=e.element("div"),u=e.element("div"),c=e.space(),g=e.element("div"),h=e.space(),_=e.element("casino-categories-slider"),r=e.space(),i=e.element("casino-page"),b=e.element("div"),f&&f.c(),v=e.space(),d&&d.c(),e.attr(u,"class","HeaderPlaceholder"),e.set_style(u,"height",n[87]+"px"),e.attr(g,"class","ScrollTop"),e.set_custom_element_data(_,"endpoint",n[81]),e.set_custom_element_data(_,"datasource",n[82]),e.set_custom_element_data(_,"lang",n[83]),e.set_custom_element_data(_,"session",n[86]),e.set_custom_element_data(_,"userid",n[4]),e.set_custom_element_data(_,"sessioncheck","false"),e.set_custom_element_data(_,"actionevent",n[18]),e.set_custom_element_data(_,"filteredcategories",n[9]),e.set_custom_element_data(_,"mostplayed",n[65]),e.set_custom_element_data(_,"lastplayed",n[67]),e.set_custom_element_data(_,"favorites",n[16]),e.set_custom_element_data(_,"activecategory",n[1]),e.set_custom_element_data(_,"translationurl",n[11]),e.set_custom_element_data(_,"clientstyling",n[5]),e.set_custom_element_data(_,"clientstylingurl",n[6]),e.set_custom_element_data(_,"location","secondaryMenu"),e.set_custom_element_data(_,"showsubgroups",n[53]),e.set_custom_element_data(_,"categoriesicon",n[30]),e.set_custom_element_data(_,"lobbyiconimage",n[31]),e.set_custom_element_data(_,"mygamesiconimage",n[32]),e.set_custom_element_data(_,"mbsource",n[79]),e.attr(b,"slot","je-jackpots-widget"),e.set_custom_element_data(i,"session",n[86]),e.set_custom_element_data(i,"userid",n[4]),e.set_custom_element_data(i,"endpoint",n[81]),e.set_custom_element_data(i,"datasource",n[82]),e.set_custom_element_data(i,"lang",n[83]),e.set_custom_element_data(i,"mbsource",n[79]),e.set_custom_element_data(i,"showgamename",n[21]),e.set_custom_element_data(i,"cmsendpoint",n[2]),e.set_custom_element_data(i,"env",n[3]),e.set_custom_element_data(i,"translationurl",n[11]),e.set_custom_element_data(i,"visiblegames",n[25]),e.set_custom_element_data(i,"playrandomgame",n[23]),e.set_custom_element_data(i,"randomgameslider",n[24]),e.set_custom_element_data(i,"specificcategory",n[68]),e.set_custom_element_data(i,"launchbygamecard",n[69]),e.set_custom_element_data(i,"iconvisible",n[70]),e.set_custom_element_data(i,"iconvisibleonanim",n[71]),e.set_custom_element_data(i,"activecategory",n[1]),e.set_custom_element_data(i,"favorites",n[16]),e.set_custom_element_data(i,"clientstyling",n[5]),e.set_custom_element_data(i,"clientstylingurl",n[6]),e.set_custom_element_data(i,"lobbyid",n[8]),e.set_custom_element_data(i,"haspanicbutton",n[17]),e.set_custom_element_data(i,"livecasino",n[19]),e.set_custom_element_data(i,"currency",n[0]),e.set_custom_element_data(i,"filteredcategories",n[9]),e.set_custom_element_data(i,"gamepagemodalurl",n[28]),e.set_custom_element_data(i,"randombuttonicon",n[73]),e.set_custom_element_data(i,"positioncasinocalendar",n[59]),e.set_custom_element_data(i,"filteredrandomgamecategories",n[74]),e.set_custom_element_data(i,"positionwinnerswidget",n[33]),e.set_custom_element_data(i,"periodrecent",n[38]),e.set_custom_element_data(i,"periodtop",n[39]),e.set_custom_element_data(i,"userroles",n[10]),e.set_custom_element_data(i,"numberusersrecent",n[40]),e.set_custom_element_data(i,"numberuserstop",n[41]),e.set_custom_element_data(i,"amountlimit",n[42]),e.set_custom_element_data(i,"isrecentavailable",n[37]),e.set_custom_element_data(i,"istopavailable",n[36]),e.set_custom_element_data(i,"integratedgameframedesktop",n[26]),e.set_custom_element_data(i,"integratedgameframemobile",n[27]),e.set_custom_element_data(i,"defaultcurrency",n[43]),e.set_custom_element_data(i,"enableautoscroll",n[35]),e.set_custom_element_data(i,"collectionprovidersgamenames",n[58]),e.set_custom_element_data(i,"tabsorder",n[34]),e.set_custom_element_data(i,"positionjackpotbanners",n[44]),e.set_custom_element_data(i,"backgroundsrc",n[49]),e.set_custom_element_data(i,"backgroundsrcmobile",n[50]),e.set_custom_element_data(i,"titlelogopath",n[51]),e.set_custom_element_data(i,"caticon0",n[45]),e.set_custom_element_data(i,"caticon1",n[46]),e.set_custom_element_data(i,"caticon2",n[47]),e.set_custom_element_data(i,"caticon3",n[48]),e.set_custom_element_data(i,"iconlabels",n[52]),e.set_custom_element_data(i,"positioncollections",n[55]),e.set_custom_element_data(i,"type",n[56]),e.set_custom_element_data(i,"titletype",n[57]),e.set_custom_element_data(i,"casinomygames",ft),e.set_custom_element_data(i,"filterbylogo",n[77]),e.set_custom_element_data(i,"addfilterselector",n[75]),e.set_custom_element_data(i,"addsortingselector",n[76]),e.set_custom_element_data(i,"lastplayedunique",n[64]),e.set_custom_element_data(i,"lastplayedlimit",n[63]),e.set_custom_element_data(i,"lastplayedorder",n[62]),e.set_custom_element_data(i,"mostplayedrounds",n[66]),e.set_custom_element_data(i,"mostplayed",n[65]),e.set_custom_element_data(i,"lastplayed",n[67]),e.set_custom_element_data(i,"lastplayedperiod",n[60]),e.set_custom_element_data(i,"mostplayedperiod",n[61]),e.set_custom_element_data(i,"showsubgroups",n[53]),e.set_custom_element_data(i,"winnersdatasources",n[78]),e.set_custom_element_data(i,"casinogamesgridslider",n[29]),e.set_custom_element_data(i,"positionjelobbywidget",n[72]),e.set_custom_element_data(i,"realtimeupdate",n[54]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,u),e.append(a,c),e.append(a,g),e.append(a,h),e.append(a,_),e.append(a,r),e.append(a,i),e.append(i,b),f&&f.m(b,null),e.append(a,v),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&33554432)&&e.set_style(u,"height",l[87]+"px"),(!o||m[2]&524288)&&e.set_custom_element_data(_,"endpoint",l[81]),(!o||m[2]&1048576)&&e.set_custom_element_data(_,"datasource",l[82]),(!o||m[2]&2097152)&&e.set_custom_element_data(_,"lang",l[83]),(!o||m[2]&16777216)&&e.set_custom_element_data(_,"session",l[86]),(!o||m[0]&16)&&e.set_custom_element_data(_,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(_,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(_,"filteredcategories",l[9]),(!o||m[2]&8)&&e.set_custom_element_data(_,"mostplayed",l[65]),(!o||m[2]&32)&&e.set_custom_element_data(_,"lastplayed",l[67]),(!o||m[0]&65536)&&e.set_custom_element_data(_,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(_,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(_,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(_,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(_,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(_,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(_,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(_,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(_,"mygamesiconimage",l[32]),(!o||m[2]&131072)&&e.set_custom_element_data(_,"mbsource",l[79]),f&&f.p&&(!o||m[3]&4)&&e.update_slot_base(f,w,l,l[95],o?e.get_slot_changes(w,l[95],m,ct):e.get_all_dirty_from_scope(l[95]),$e),(!o||m[2]&16777216)&&e.set_custom_element_data(i,"session",l[86]),(!o||m[0]&16)&&e.set_custom_element_data(i,"userid",l[4]),(!o||m[2]&524288)&&e.set_custom_element_data(i,"endpoint",l[81]),(!o||m[2]&1048576)&&e.set_custom_element_data(i,"datasource",l[82]),(!o||m[2]&2097152)&&e.set_custom_element_data(i,"lang",l[83]),(!o||m[2]&131072)&&e.set_custom_element_data(i,"mbsource",l[79]),(!o||m[0]&2097152)&&e.set_custom_element_data(i,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(i,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(i,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(i,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(i,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(i,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(i,"randomgameslider",l[24]),(!o||m[2]&64)&&e.set_custom_element_data(i,"specificcategory",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(i,"launchbygamecard",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(i,"iconvisible",l[70]),(!o||m[2]&512)&&e.set_custom_element_data(i,"iconvisibleonanim",l[71]),(!o||m[0]&2)&&e.set_custom_element_data(i,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(i,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(i,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(i,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(i,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(i,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(i,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(i,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(i,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(i,"gamepagemodalurl",l[28]),(!o||m[2]&2048)&&e.set_custom_element_data(i,"randombuttonicon",l[73]),(!o||m[1]&268435456)&&e.set_custom_element_data(i,"positioncasinocalendar",l[59]),(!o||m[2]&4096)&&e.set_custom_element_data(i,"filteredrandomgamecategories",l[74]),(!o||m[1]&4)&&e.set_custom_element_data(i,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(i,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(i,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(i,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(i,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(i,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(i,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(i,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(i,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(i,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(i,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(i,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(i,"enableautoscroll",l[35]),(!o||m[1]&134217728)&&e.set_custom_element_data(i,"collectionprovidersgamenames",l[58]),(!o||m[1]&8)&&e.set_custom_element_data(i,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(i,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(i,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(i,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(i,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(i,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(i,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(i,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(i,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(i,"iconlabels",l[52]),(!o||m[1]&16777216)&&e.set_custom_element_data(i,"positioncollections",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(i,"type",l[56]),(!o||m[1]&67108864)&&e.set_custom_element_data(i,"titletype",l[57]),(!o||m[2]&32768)&&e.set_custom_element_data(i,"filterbylogo",l[77]),(!o||m[2]&8192)&&e.set_custom_element_data(i,"addfilterselector",l[75]),(!o||m[2]&16384)&&e.set_custom_element_data(i,"addsortingselector",l[76]),(!o||m[2]&4)&&e.set_custom_element_data(i,"lastplayedunique",l[64]),(!o||m[2]&2)&&e.set_custom_element_data(i,"lastplayedlimit",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(i,"lastplayedorder",l[62]),(!o||m[2]&16)&&e.set_custom_element_data(i,"mostplayedrounds",l[66]),(!o||m[2]&8)&&e.set_custom_element_data(i,"mostplayed",l[65]),(!o||m[2]&32)&&e.set_custom_element_data(i,"lastplayed",l[67]),(!o||m[1]&536870912)&&e.set_custom_element_data(i,"lastplayedperiod",l[60]),(!o||m[1]&1073741824)&&e.set_custom_element_data(i,"mostplayedperiod",l[61]),(!o||m[1]&4194304)&&e.set_custom_element_data(i,"showsubgroups",l[53]),(!o||m[2]&65536)&&e.set_custom_element_data(i,"winnersdatasources",l[78]),(!o||m[0]&536870912)&&e.set_custom_element_data(i,"casinogamesgridslider",l[29]),(!o||m[2]&1024)&&e.set_custom_element_data(i,"positionjelobbywidget",l[72]),(!o||m[1]&8388608)&&e.set_custom_element_data(i,"realtimeupdate",l[54]),l[22]=="true"?d?d.p(l,m):(d=et(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(f,l),o=!0)},o(l){e.transition_out(f,l),o=!1},d(l){l&&e.detach(t),f&&f.d(l),d&&d.d()}}}function rt(n){let t,a;return{c(){t=e.element("p"),a=e.text(n[85]),e.set_style(t,"color","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))")},m(u,c){e.insert(u,t,c),e.append(t,a)},p(u,c){c[2]&8388608&&e.set_data(a,u[85])},i:e.noop,o:e.noop,d(u){u&&e.detach(t)}}}function et(n){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",n[86]),e.set_custom_element_data(a,"userid",n[4]),e.set_custom_element_data(a,"endpoint",n[81]),e.set_custom_element_data(a,"datasource",n[82]),e.set_custom_element_data(a,"lang",n[83]),e.set_custom_element_data(a,"loginevent",n[12]),e.set_custom_element_data(a,"registerevent",n[13]),e.set_custom_element_data(a,"depositevent",n[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"mbsource",n[79]),e.set_custom_element_data(a,"playforfun",n[20]),e.set_custom_element_data(a,"translationurl",n[11]),e.set_custom_element_data(a,"shortcashierenabled",n[15]),e.set_custom_element_data(a,"favorites",n[16]),e.set_custom_element_data(a,"clientstyling",n[5]),e.set_custom_element_data(a,"clientstylingurl",n[6]),e.set_custom_element_data(a,"clockformat",n[7]),e.set_custom_element_data(a,"haspanicbutton",n[17]),e.set_custom_element_data(a,"currency",n[0]),e.set_custom_element_data(a,"integratedgameframedesktop",n[26]),e.set_custom_element_data(a,"integratedgameframemobile",n[27]),e.set_custom_element_data(t,"session",n[86]),e.set_custom_element_data(t,"userid",n[4]),e.set_custom_element_data(t,"endpoint",n[81]),e.set_custom_element_data(t,"datasource",n[82]),e.set_custom_element_data(t,"lang",n[83]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",n[11]),e.set_custom_element_data(t,"clientstyling",n[5]),e.set_custom_element_data(t,"clientstylingurl",n[6]),e.set_custom_element_data(t,"mbsource",n[79]),e.set_custom_element_data(t,"gamepagemodalurl",n[28]),e.set_custom_element_data(t,"haspanicbutton",n[17]),e.set_custom_element_data(t,"integratedgameframedesktop",n[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(u,c){e.insert(u,t,c),e.append(t,a)},p(u,c){c[2]&16777216&&e.set_custom_element_data(a,"session",u[86]),c[0]&16&&e.set_custom_element_data(a,"userid",u[4]),c[2]&524288&&e.set_custom_element_data(a,"endpoint",u[81]),c[2]&1048576&&e.set_custom_element_data(a,"datasource",u[82]),c[2]&2097152&&e.set_custom_element_data(a,"lang",u[83]),c[0]&4096&&e.set_custom_element_data(a,"loginevent",u[12]),c[0]&8192&&e.set_custom_element_data(a,"registerevent",u[13]),c[0]&16384&&e.set_custom_element_data(a,"depositevent",u[14]),c[2]&131072&&e.set_custom_element_data(a,"mbsource",u[79]),c[0]&1048576&&e.set_custom_element_data(a,"playforfun",u[20]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",u[11]),c[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",u[15]),c[0]&65536&&e.set_custom_element_data(a,"favorites",u[16]),c[0]&32&&e.set_custom_element_data(a,"clientstyling",u[5]),c[0]&64&&e.set_custom_element_data(a,"clientstylingurl",u[6]),c[0]&128&&e.set_custom_element_data(a,"clockformat",u[7]),c[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",u[17]),c[0]&1&&e.set_custom_element_data(a,"currency",u[0]),c[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",u[26]),c[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",u[27]),c[2]&16777216&&e.set_custom_element_data(t,"session",u[86]),c[0]&16&&e.set_custom_element_data(t,"userid",u[4]),c[2]&524288&&e.set_custom_element_data(t,"endpoint",u[81]),c[2]&1048576&&e.set_custom_element_data(t,"datasource",u[82]),c[2]&2097152&&e.set_custom_element_data(t,"lang",u[83]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",u[11]),c[0]&32&&e.set_custom_element_data(t,"clientstyling",u[5]),c[0]&64&&e.set_custom_element_data(t,"clientstylingurl",u[6]),c[2]&131072&&e.set_custom_element_data(t,"mbsource",u[79]),c[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",u[28]),c[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",u[17]),c[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",u[26])},d(u){u&&e.detach(t)}}}function dt(n){let t,a,u,c;const g=[rt,_t],h=[];function _(r,i){return r[84]?0:1}return a=_(n),u=h[a]=g[a](n),{c(){t=e.element("div"),u.c(),e.attr(t,"class","")},m(r,i){e.insert(r,t,i),h[a].m(t,null),n[97](t),c=!0},p(r,i){let b=a;a=_(r),a===b?h[a].p(r,i):(e.group_outros(),e.transition_out(h[b],1,1,()=>{h[b]=null}),e.check_outros(),u=h[a],u?u.p(r,i):(u=h[a]=g[a](r),u.c()),e.transition_in(u,1),u.m(t,null))},i(r){c||(e.transition_in(u),c=!0)},o(r){e.transition_out(u),c=!1},d(r){r&&e.detach(t),h[a].d(),n[97](null)}}}let ft="false";function gt(n,t,a){let{$$slots:u={},$$scope:c}=t,{endpoint:g=""}=t,{cmsendpoint:h="https://wt1-stage.everymatrix.com/apijson"}=t,{env:_=""}=t,{datasource:r=""}=t,{lang:i=""}=t,{session:b=""}=t,{userid:v=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:f=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:T=""}=t,{userroles:A=""}=t,{translationurl:U=""}=t,{loginevent:G=""}=t,{registerevent:R=""}=t,{depositevent:W=""}=t,{shortcashierenabled:z=""}=t,{favorites:L=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:S="0"}=t,{haspanicbutton:B="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:H="CategoryChange"}=t,{livecasino:N="false"}=t,{playforfun:Y="true"}=t,{showgamename:J="false"}=t,{gamemodal:K="true"}=t,{playrandomgame:Q="false"}=t,{randomgameslider:V="false"}=t,{visiblegames:X="10"}=t,{integratedgameframedesktop:Z="false"}=t,{integratedgameframemobile:p="false"}=t,{gamepagemodalurl:x="false"}=t,{casinogamesgridslider:$="false"}=t,{categoriesicon:ee="false"}=t,{lobbyiconimage:te=""}=t,{mygamesiconimage:se=""}=t,{positionwinnerswidget:ae=""}=t,{tabsorder:ne=""}=t,{enableautoscroll:ie=""}=t,{istopavailable:le=""}=t,{isrecentavailable:oe=""}=t,{periodrecent:me=""}=t,{periodtop:ue=""}=t,{numberusersrecent:ce=""}=t,{numberuserstop:_e=""}=t,{amountlimit:re=""}=t,{defaultcurrency:de=""}=t,{positionjackpotbanners:fe=""}=t,{caticon0:ge=""}=t,{caticon1:he=""}=t,{caticon2:be=""}=t,{caticon3:ye=""}=t,{backgroundsrc:we=""}=t,{backgroundsrcmobile:ke=""}=t,{titlelogopath:ve=""}=t,{iconlabels:Ee=""}=t,{showsubgroups:Ce="false"}=t,{realtimeupdate:je="false"}=t,{positioncollections:Se=""}=t,{type:De=""}=t,{titletype:Le=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Pe=""}=t,{lastplayedperiod:Ie="Last30Days"}=t,{mostplayedperiod:Me="Last30Days"}=t,{lastplayedorder:Oe=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Te="true"}=t,{mostplayed:P=""}=t,{mostplayedrounds:Ae=""}=t,{lastplayed:I="false"}=t,{specificcategory:Ue=""}=t,{launchbygamecard:Ge=""}=t,{iconvisible:Re=""}=t,{iconvisibleonanim:We=""}=t,{positionjelobbywidget:ze=""}=t,{randombuttonicon:Be=""}=t,{filteredrandomgamecategories:He=""}=t,{addfilterselector:Ne="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,{mbsource:M}=t,Qe,Ve,Xe,E=!1,k="Loading, please wait ...",D="",O=window.navigator.userAgent,F=!1,C=0,Ze=!1,y;mt({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(87,C=e.getDevice(O)==="PC"?parseInt(j):parseInt(S)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(O),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(86,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},st=()=>(g||(a(85,k="Endpoint is missing! Please provide a valid endpointURL."),a(84,E=!0),console.error(k)),r||(a(85,k="Datasource is missing! Please provide a valid datasource."),a(84,E=!0),console.error(k)),(!i||i.length<2)&&(a(85,k="Language is missing! Please provide a valid language (alpha2code)"),a(84,E=!0),console.error(k)),E),at=()=>{xe(i)},nt=()=>{st(),xe(i),a(81,Qe=g),a(82,Ve=r),a(83,Xe=i),a(84,E=!1)},it=()=>{e.checkSession(g,b).then(s=>{a(86,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},lt=()=>{a(86,D=o)};e.onMount(()=>(window.addEventListener("message",pe,!1),a(87,C=e.getDevice(O)==="PC"?parseInt(j):parseInt(S)),()=>{window.removeEventListener("message",pe)}));function ot(s){e.binding_callbacks[s?"unshift":"push"](()=>{y=s,a(80,y)})}return n.$$set=s=>{"endpoint"in s&&a(88,g=s.endpoint),"cmsendpoint"in s&&a(2,h=s.cmsendpoint),"env"in s&&a(3,_=s.env),"datasource"in s&&a(89,r=s.datasource),"lang"in s&&a(90,i=s.lang),"session"in s&&a(91,b=s.session),"userid"in s&&a(4,v=s.userid),"opsession"in s&&a(92,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,f=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,T=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,U=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,R=s.registerevent),"depositevent"in s&&a(14,W=s.depositevent),"shortcashierenabled"in s&&a(15,z=s.shortcashierenabled),"favorites"in s&&a(16,L=s.favorites),"desktopoffset"in s&&a(93,j=s.desktopoffset),"mobileoffset"in s&&a(94,S=s.mobileoffset),"haspanicbutton"in s&&a(17,B=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,H=s.actionevent),"livecasino"in s&&a(19,N=s.livecasino),"playforfun"in s&&a(20,Y=s.playforfun),"showgamename"in s&&a(21,J=s.showgamename),"gamemodal"in s&&a(22,K=s.gamemodal),"playrandomgame"in s&&a(23,Q=s.playrandomgame),"randomgameslider"in s&&a(24,V=s.randomgameslider),"visiblegames"in s&&a(25,X=s.visiblegames),"integratedgameframedesktop"in s&&a(26,Z=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,p=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,x=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,$=s.casinogamesgridslider),"categoriesicon"in s&&a(30,ee=s.categoriesicon),"lobbyiconimage"in s&&a(31,te=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,se=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ae=s.positionwinnerswidget),"tabsorder"in s&&a(34,ne=s.tabsorder),"enableautoscroll"in s&&a(35,ie=s.enableautoscroll),"istopavailable"in s&&a(36,le=s.istopavailable),"isrecentavailable"in s&&a(37,oe=s.isrecentavailable),"periodrecent"in s&&a(38,me=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,ce=s.numberusersrecent),"numberuserstop"in s&&a(41,_e=s.numberuserstop),"amountlimit"in s&&a(42,re=s.amountlimit),"defaultcurrency"in s&&a(43,de=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,fe=s.positionjackpotbanners),"caticon0"in s&&a(45,ge=s.caticon0),"caticon1"in s&&a(46,he=s.caticon1),"caticon2"in s&&a(47,be=s.caticon2),"caticon3"in s&&a(48,ye=s.caticon3),"backgroundsrc"in s&&a(49,we=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ke=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,ve=s.titlelogopath),"iconlabels"in s&&a(52,Ee=s.iconlabels),"showsubgroups"in s&&a(53,Ce=s.showsubgroups),"realtimeupdate"in s&&a(54,je=s.realtimeupdate),"positioncollections"in s&&a(55,Se=s.positioncollections),"type"in s&&a(56,De=s.type),"titletype"in s&&a(57,Le=s.titletype),"collectionprovidersgamenames"in s&&a(58,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(59,Pe=s.positioncasinocalendar),"lastplayedperiod"in s&&a(60,Ie=s.lastplayedperiod),"mostplayedperiod"in s&&a(61,Me=s.mostplayedperiod),"lastplayedorder"in s&&a(62,Oe=s.lastplayedorder),"lastplayedlimit"in s&&a(63,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(64,Te=s.lastplayedunique),"mostplayed"in s&&a(65,P=s.mostplayed),"mostplayedrounds"in s&&a(66,Ae=s.mostplayedrounds),"lastplayed"in s&&a(67,I=s.lastplayed),"specificcategory"in s&&a(68,Ue=s.specificcategory),"launchbygamecard"in s&&a(69,Ge=s.launchbygamecard),"iconvisible"in s&&a(70,Re=s.iconvisible),"iconvisibleonanim"in s&&a(71,We=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(72,ze=s.positionjelobbywidget),"randombuttonicon"in s&&a(73,Be=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(74,He=s.filteredrandomgamecategories),"addfilterselector"in s&&a(75,Ne=s.addfilterselector),"addsortingselector"in s&&a(76,Ye=s.addsortingselector),"filterbylogo"in s&&a(77,Je=s.filterbylogo),"winnersdatasources"in s&&a(78,Ke=s.winnersdatasources),"mbsource"in s&&a(79,M=s.mbsource),"$$scope"in s&&a(95,c=s.$$scope)},n.$$.update=()=>{n.$$.dirty[2]&268435456&&i&&at(),n.$$.dirty[0]&16|n.$$.dirty[2]&603979776&&b&&v&&g&&it(),n.$$.dirty[0]&65536|n.$$.dirty[2]&469762088&&g&&r&&i&&P&&I&&L&&nt(),n.$$.dirty[2]&1073741824&&o&&lt(),n.$$.dirty[0]&32|n.$$.dirty[2]&262144&&w&&y&&e.setClientStyling(y,w),n.$$.dirty[0]&64|n.$$.dirty[2]&262144&&f&&y&&e.setClientStylingURL(y,f),n.$$.dirty[2]&393216&&y&&e.setStreamStyling(y,`${M}.Style`)},[m,q,h,_,v,w,f,d,l,T,A,U,G,R,W,z,L,B,H,N,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ue,ce,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Se,De,Le,qe,Pe,Ie,Me,Oe,Fe,Te,P,Ae,I,Ue,Ge,Re,We,ze,Be,He,Ne,Ye,Je,Ke,M,y,Qe,Ve,Xe,E,k,D,C,g,r,i,b,o,j,S,c,u,ot]}class tt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,gt,dt,e.safe_not_equal,{endpoint:88,cmsendpoint:2,env:3,datasource:89,lang:90,session:91,userid:4,opsession:92,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:93,mobileoffset:94,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,realtimeupdate:54,positioncollections:55,type:56,titletype:57,collectionprovidersgamenames:58,positioncasinocalendar:59,lastplayedperiod:60,mostplayedperiod:61,lastplayedorder:62,lastplayedlimit:63,lastplayedunique:64,mostplayed:65,mostplayedrounds:66,lastplayed:67,specificcategory:68,launchbygamecard:69,iconvisible:70,iconvisibleonanim:71,positionjelobbywidget:72,randombuttonicon:73,filteredrandomgamecategories:74,addfilterselector:75,addsortingselector:76,filterbylogo:77,winnersdatasources:78,mbsource:79},ut,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[88]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[89]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[90]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[91]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[92]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[93]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[94]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[54]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[55]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[56]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[57]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[58]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[59]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[60]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[61]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[62]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[63]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[64]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[65]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[66]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[67]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[68]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[69]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[70]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[71]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[72]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[73]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[74]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[75]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[76]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[77]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[78]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get mbsource(){return this.$$.ctx[79]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(tt,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{},mbsource:{}},["content"],[],!0);exports.default=tt;
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-BWZKTjt3.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-CI-C6zUY.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-CEPKCmvL.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-BYTytQgJ.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-YzaZrGBf.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-BWZKTjt3.js";
2
- import "./CasinoFavoritesSection-B9pa_5wC.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-CI-C6zUY.js";
2
+ import "./CasinoFavoritesSection-Dmko0_Ik.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-CEPKCmvL.js";
2
- import "./CasinoFavoritesSection-Dm0Ylorq.js";
1
+ import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as O, p as H, j as P, r as M, k as ie, o as oe, N as le, C as re, m as me, q as ge, O as n, I as ce, J as ue, K as de, L as fe, M as he } from "./CasinoCalendar-BYTytQgJ.js";
2
+ import "./CasinoFavoritesSection-BZmf5I3g.js";
3
3
  function Y(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-YzaZrGBf.cjs");require("./CasinoFavoritesSection-n_i25VDL.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-CBb3Eo8J.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,4 +1,4 @@
1
- import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, F as Fe, m as S, A as U, q as L, O as s, I as Le, J as Ce, K as Ge, L as Ee, M as Be } from "./CasinoCalendar-BWZKTjt3.js";
1
+ import { $ as T, U as ce, a as ge, S as he, i as be, s as ve, f as u, b as pe, n as $, d as _, h as P, j as p, k as _e, o as Pe, l as we, C as Me, v as ee, w as ke, r as w, p as v, B as O, F as Fe, m as S, A as U, q as L, O as s, I as Le, J as Ce, K as Ge, L as Ee, M as Be } from "./CasinoCalendar-BYTytQgJ.js";
2
2
  function Oe({ withLocale: a, translations: e }) {
3
3
  T.subscribe((t) => {
4
4
  t == null && (ce.set(e), T.set(a));
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSection-B9pa_5wC.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSection-BZmf5I3g.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSection--cJ8dS0F.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSection-Bmr8n1pA.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-BldCqqK1.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSection-CD00UC6r.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }