@everymatrix/casino-lobby 1.71.1 → 1.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/components/CasinoCalendar-CqIFh2Q5.cjs +19 -0
  2. package/components/{CasinoCalendar-BsOWkLVp.js → CasinoCalendar-D8285A_4.js} +858 -837
  3. package/components/{CasinoCalendar-RmQ6YNrd.js → CasinoCalendar-DaqInWFB.js} +1031 -1010
  4. package/components/{CasinoCalendarDailyDetails-CIDfmzEU.cjs → CasinoCalendarDailyDetails-B_q2ojzj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CZvv-VEw.js → CasinoCalendarDailyDetails-Bawf2lVh.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-CgySlNqk.js → CasinoCalendarDailyDetails-D17fJmHk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-Bqhwdp9N.js → CasinoCalendarDailyItem-C-jXPiMc.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-6fstg8rl.js → CasinoCalendarDailyItem-CNU2dbWb.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-Dn8aZPDI.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BrMd9akG.js → CasinoCategoriesSlider-CeLXgUCx.js} +73 -73
  11. package/components/{CasinoCategoriesSlider-rcQ6H4dN.js → CasinoCategoriesSlider-DH7-Jx22.js} +72 -72
  12. package/components/CasinoCategoriesSlider-Xyi6Epkq.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-RmY6DCmf.js → CasinoCollectionsProviders-BMYO5_oZ.js} +77 -77
  14. package/components/{CasinoCollectionsProviders-X_gMs4dQ.js → CasinoCollectionsProviders-BvTs6B-x.js} +64 -64
  15. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-DYgLBp3O.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-b-j22ATa.js → CasinoFavoritesSection-BKqd6QPI.js} +17 -17
  17. package/components/{CasinoFavoritesSection-D1C6HI9v.js → CasinoFavoritesSection-C70AjovE.js} +17 -17
  18. package/components/{CasinoFavoritesSection-Db99Uv7P.cjs → CasinoFavoritesSection-XYINNBSA.cjs} +1 -1
  19. package/components/CasinoFilter-BcJ-9hhc.js +645 -0
  20. package/components/CasinoFilter-DENEZ_Ic.cjs +1 -0
  21. package/components/CasinoFilter-dnkB-x_S.js +644 -0
  22. package/components/CasinoGameThumbnail-DhG_1DP9.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-MrOCBFNA.js → CasinoGameThumbnail-DoFtJNVa.js} +1253 -1269
  24. package/components/{CasinoGameThumbnail-CeT997Kx.js → CasinoGameThumbnail-fh7soJLK.js} +778 -762
  25. package/components/{CasinoGamesCategorySection-CxiyhVqf.js → CasinoGamesCategorySection-BUme-Htd.js} +246 -246
  26. package/components/{CasinoGamesCategorySection-C8xeG4sY.cjs → CasinoGamesCategorySection-CR3TsCIr.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-Dk6YpheO.js → CasinoGamesCategorySection-DvtiqWF7.js} +249 -249
  28. package/components/{CasinoJackpotBanner-g0X8UAFW.js → CasinoJackpotBanner-Afzkq4td.js} +119 -119
  29. package/components/{CasinoJackpotBanner-CpGio5N4.cjs → CasinoJackpotBanner-SH08_0Ad.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-CUP2An9A.js → CasinoJackpotBanner-THaCe8Q8.js} +113 -113
  31. package/components/{CasinoLastPlayedSection-lO1pohBq.cjs → CasinoLastPlayedSection-1yhfRFjo.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-B668qxot.js → CasinoLastPlayedSection-Rb4msFL_.js} +37 -37
  33. package/components/{CasinoLastPlayedSection-D_0OBhSj.js → CasinoLastPlayedSection-oGkfGBwG.js} +37 -37
  34. package/components/{CasinoLobby-DwdNm6xo.js → CasinoLobby-CQ3V0-l_.js} +57 -57
  35. package/components/{CasinoLobby-BaQGWp9s.js → CasinoLobby-DnWoXtXL.js} +56 -56
  36. package/components/{CasinoLobby-lkQTAmN7.cjs → CasinoLobby-aB9f0zFp.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-C5gy3zyh.js → CasinoMostPlayedSection-BVvh0OQ0.js} +46 -46
  38. package/components/{CasinoMostPlayedSection-87nEdbm3.cjs → CasinoMostPlayedSection-CZOxOZVF.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-CGXfghDB.js → CasinoMostPlayedSection-CckjcAvV.js} +46 -46
  40. package/components/{CasinoMyGames-BC98Tqse.js → CasinoMyGames-BUX8JdRW.js} +39 -39
  41. package/components/{CasinoMyGames-BkWFi0SD.js → CasinoMyGames-DBk0qpL0.js} +42 -42
  42. package/components/{CasinoMyGames-B4eUiwD2.cjs → CasinoMyGames-DMeOP0Ir.cjs} +1 -1
  43. package/components/{CasinoPage-mW7N_X4p.js → CasinoPage-963K0qkA.js} +881 -881
  44. package/components/{CasinoPage-DCj9ufQS.js → CasinoPage-CTQ4pjz5.js} +203 -203
  45. package/components/CasinoPage-DBbBQIRX.cjs +1 -0
  46. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-BtYuGyAc.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BOlMftfW.js → CasinoRandomGame-DR9ShIKc.js} +56 -56
  48. package/components/{CasinoRandomGame-BPoQwGvz.js → CasinoRandomGame-DdY0LMqV.js} +57 -57
  49. package/components/{CasinoSearch-CxY1btEF.js → CasinoSearch-BFj2WAB3.js} +95 -95
  50. package/components/{CasinoSearch-_PkKs4Jp.cjs → CasinoSearch-D41XnJOo.cjs} +1 -1
  51. package/components/{CasinoSearch-DYeI3pnX.js → CasinoSearch-O8BFfuMh.js} +98 -98
  52. package/components/{CasinoSlider-CKrkEFp2.cjs → CasinoSlider-BxMmHxNN.cjs} +1 -1
  53. package/components/{CasinoSlider-mFk7hXGi.js → CasinoSlider-DxPhvmx5.js} +95 -95
  54. package/components/{CasinoSlider-D5pUgU6y.js → CasinoSlider-zDcdSGZI.js} +68 -68
  55. package/components/{CasinoSort-Bu7GAVyk.js → CasinoSort-BqIqZPtn.js} +103 -102
  56. package/components/{CasinoSort-CR3_Z1HP.js → CasinoSort-Bv9Xm47a.js} +111 -112
  57. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-CU7Sv-_a.cjs} +1 -1
  58. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-BJ15FnbR.cjs} +1 -1
  59. package/components/{CasinoWinners-BTigQx6l.js → CasinoWinners-C9LGaZlh.js} +145 -145
  60. package/components/{CasinoWinners-BHsWULT4.js → CasinoWinners-CkNCqfiv.js} +152 -152
  61. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-3ff4R40K.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-BYX0Qvf2.js → GeneralAnimationLoading-Dnw96YoY.js} +16 -16
  63. package/components/{GeneralAnimationLoading-DkDspmaZ.js → GeneralAnimationLoading-oBd_asJT.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-BMX5GkhL.cjs} +2 -2
  69. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-Ct3VSPhq.js} +2 -2
  70. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-DyfvRpYv.js} +2 -2
  71. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  72. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  73. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  74. package/stencil/index-ab3202d6-BXlsno-y.js +559 -0
  75. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +1 -0
  76. package/stencil/index-ab3202d6-ncf4oQhs.js +575 -0
  77. package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
  78. package/stencil/index-b2193545-Dxw-xjac.js +503 -0
  79. package/stencil/index-b2193545-TbRClz6K.js +519 -0
  80. package/stencil/{ui-image-BAqS-hS6.js → ui-image-2_i-_1cj.js} +1 -1
  81. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  82. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  84. package/stencil/{ui-image-I_uR7pAI.js → ui-image-bN_3pDWc.js} +1 -1
  85. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-eY8BEG3a.cjs} +1 -1
  86. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  87. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  88. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  89. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CSMUbPcJ.js} +2 -2
  90. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-CiszU04_.js} +2 -2
  91. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
  92. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
  95. package/components/CasinoCalendar-wYGJExu0.cjs +0 -19
  96. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +0 -1
  97. package/components/CasinoFilter-BG-xQ7Z9.js +0 -645
  98. package/components/CasinoFilter-Czto4aq6.js +0 -644
  99. package/components/CasinoFilter-DSxqwRvu.cjs +0 -1
  100. package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +0 -47
  101. package/components/CasinoPage-CJXFGWAG.cjs +0 -1
  102. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  103. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  104. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  105. package/stencil/index-ab3202d6-CSUArOSv.js +0 -559
  106. package/stencil/index-ab3202d6-CoRS04SH.js +0 -575
  107. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  108. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
  109. package/stencil/index-b2193545-D_cUvAA-.js +0 -519
  110. package/stencil/index-b2193545-kN0z2MLt.js +0 -503
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-wYGJExu0.cjs");require("./CasinoFavoritesSection-Db99Uv7P.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-CqIFh2Q5.cjs");require("./CasinoFavoritesSection-XYINNBSA.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,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-RmQ6YNrd.js";
2
- import "./CasinoFavoritesSection-D1C6HI9v.js";
3
- function V(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-D8285A_4.js";
2
+ import "./CasinoFavoritesSection-BKqd6QPI.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const Z = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const Z = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "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))}");
36
+ ne(s, "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))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = L("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -286,40 +286,40 @@ function ke(s) {
286
286
  e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
293
  },
294
- i: I,
295
- o: I,
294
+ i: H,
295
+ o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
- let H = !0;
322
- return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
321
+ let J = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
323
323
  }), a(c), window.postMessage(
324
324
  {
325
325
  type: "AddNewCategory",
@@ -343,26 +343,26 @@ function Le(s, e, t) {
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- ce[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, F = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
361
  2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
362
+ 262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
@@ -373,9 +373,9 @@ function Le(s, e, t) {
373
373
  b,
374
374
  v,
375
375
  _,
376
+ F,
376
377
  N,
377
378
  z,
378
- F,
379
379
  O,
380
380
  P,
381
381
  T,
@@ -386,11 +386,11 @@ function Le(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
396
  class Pe extends ae {
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
572
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
572
+ he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
573
573
  export {
574
574
  Pe as default
575
575
  };
@@ -1,12 +1,12 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-BsOWkLVp.js";
2
- import "./CasinoFavoritesSection-b-j22ATa.js";
3
- function V(s, e) {
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DaqInWFB.js";
2
+ import "./CasinoFavoritesSection-C70AjovE.js";
3
+ function K(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
7
7
  te.set(s);
8
8
  }
9
- const Z = {
9
+ const V = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -33,7 +33,7 @@ const Z = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "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))}");
36
+ ne(s, "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))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -132,7 +132,7 @@ function we(s) {
132
132
  );
133
133
  },
134
134
  m(t, n) {
135
- M(t, e, n);
135
+ D(t, e, n);
136
136
  },
137
137
  p(t, n) {
138
138
  n[0] & /*session*/
@@ -246,7 +246,7 @@ function we(s) {
246
246
  );
247
247
  },
248
248
  d(t) {
249
- t && D(e);
249
+ t && M(e);
250
250
  }
251
251
  };
252
252
  }
@@ -257,18 +257,18 @@ function _e(s) {
257
257
  ), n;
258
258
  return {
259
259
  c() {
260
- e = L("p"), n = de(t), A(e, "class", "SearchLoading");
260
+ e = L("p"), n = ce(t), A(e, "class", "SearchLoading");
261
261
  },
262
262
  m(o, r) {
263
- M(o, e, r), B(e, n);
263
+ D(o, e, r), Z(e, n);
264
264
  },
265
265
  p(o, r) {
266
266
  r[0] & /*$_*/
267
267
  1048576 && t !== (t = /*$_*/
268
- o[20]("noRecentGames") + "") && fe(n, t);
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
269
  },
270
270
  d(o) {
271
- o && D(e);
271
+ o && M(e);
272
272
  }
273
273
  };
274
274
  }
@@ -286,40 +286,40 @@ function ke(s) {
286
286
  e = L("div"), t = L("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
287
  },
288
288
  m(m, d) {
289
- M(m, e, d), B(e, t), r.m(t, null), s[26](e);
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
290
  },
291
291
  p(m, d) {
292
292
  o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
293
  },
294
- i: I,
295
- o: I,
294
+ i: H,
295
+ o: H,
296
296
  d(m) {
297
- m && D(e), r.d(), s[26](null);
297
+ m && M(e), r.d(), s[26](null);
298
298
  }
299
299
  };
300
300
  }
301
301
  function Le(s, e, t) {
302
302
  let n;
303
- re(s, he, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
308
- V(u, g[u]);
308
+ K(u, g[u]);
309
309
  });
310
310
  }).catch((g) => {
311
311
  console.log(g);
312
312
  });
313
313
  };
314
- Object.keys(Z).forEach((a) => {
315
- V(a, Z[a]);
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[a]);
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
- let H = !0;
322
- return $.gameCode == "OddsMatrix2" && (c.count--, H = !1), H;
321
+ let J = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
323
323
  }), a(c), window.postMessage(
324
324
  {
325
325
  type: "AddNewCategory",
@@ -343,26 +343,26 @@ function Le(s, e, t) {
343
343
  } else
344
344
  t(19, Y = !0);
345
345
  });
346
- }, x = () => {
346
+ }, p = () => {
347
347
  be(d);
348
348
  };
349
- oe(() => () => {
349
+ re(() => () => {
350
350
  });
351
- function p(a) {
352
- ce[a ? "unshift" : "push"](() => {
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
353
  f = a, t(18, f);
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, F = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
361
  2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 262208 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
- 393216 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
- 8 && d && x();
362
+ 262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262272 && v && f && de(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && fe(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
366
366
  }, [
367
367
  o,
368
368
  r,
@@ -373,9 +373,9 @@ function Le(s, e, t) {
373
373
  b,
374
374
  v,
375
375
  _,
376
+ F,
376
377
  N,
377
378
  z,
378
- F,
379
379
  O,
380
380
  P,
381
381
  T,
@@ -386,11 +386,11 @@ function Le(s, e, t) {
386
386
  Y,
387
387
  n,
388
388
  w,
389
- S,
390
389
  C,
390
+ S,
391
391
  j,
392
392
  R,
393
- p
393
+ x
394
394
  ];
395
395
  }
396
396
  class Pe extends ae {
@@ -400,7 +400,7 @@ class Pe extends ae {
400
400
  e,
401
401
  Le,
402
402
  ke,
403
- ne,
403
+ ie,
404
404
  {
405
405
  endpoint: 0,
406
406
  datasource: 1,
@@ -569,7 +569,7 @@ class Pe extends ae {
569
569
  this.$$set({ mbsource: e }), l();
570
570
  }
571
571
  }
572
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
572
+ he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
573
573
  export {
574
574
  Pe as default
575
575
  };