@everymatrix/casino-page-nd 1.54.6 → 1.54.8

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 (66) hide show
  1. package/components/CasinoCalendar-C6a9eFaO.cjs +6 -0
  2. package/components/CasinoCalendar-DDVrqLgy.js +5038 -0
  3. package/components/{CasinoCalendar-pVz7jYqi.js → CasinoCalendar-bbQ7XQxy.js} +472 -480
  4. package/components/{CasinoCalendarDailyDetails-D7GkfhmR.js → CasinoCalendarDailyDetails-CHDDIjz6.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-CjEpB1kl.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-qtzYJYlV.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-CU9qMJji.js → CasinoCalendarDailyItem-Cp39gR0b.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-DT6c5ba5.js +315 -0
  9. package/components/CasinoCalendarDailyItem-DbAPROfK.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-Bat7vjFP.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-DxgdPTXN.js → CasinoCollectionsProviders-D0OxJ4mu.js} +54 -54
  12. package/components/CasinoCollectionsProviders-DFS4nF-f.js +664 -0
  13. package/components/CasinoFavoritesSectionNd-C-mlwUPF.js +439 -0
  14. package/components/CasinoFavoritesSectionNd-CAzeF_7i.cjs +1 -0
  15. package/components/{CasinoFavoritesSectionNd-B4ykl07q.js → CasinoFavoritesSectionNd-JRM9DmH3.js} +16 -16
  16. package/components/CasinoFilter-CcnQf7Ao.js +634 -0
  17. package/components/CasinoFilter-DzZ9jegE.cjs +1 -0
  18. package/components/{CasinoFilter-C67EHGOs.js → CasinoFilter-eRlmpVPT.js} +55 -55
  19. package/components/CasinoGameThumbnailNd-C-oDcBm6.js +4411 -0
  20. package/components/{CasinoGameThumbnailNd-DHZn2Osv.js → CasinoGameThumbnailNd-DkpEv-Ct.js} +62 -62
  21. package/components/CasinoGameThumbnailNd-PO04kmzB.cjs +39 -0
  22. package/components/CasinoGamesCategorySectionNd-BeEANQ42.js +3030 -0
  23. package/components/CasinoGamesCategorySectionNd-CgmxjdqR.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-CJ7h1ry6.js → CasinoGamesCategorySectionNd-DZM4fSnF.js} +164 -172
  25. package/components/{CasinoJackpotBanner-BRQqqpK8.js → CasinoJackpotBanner-BW3UHeqB.js} +68 -68
  26. package/components/CasinoJackpotBanner-DyviT8PE.cjs +1 -0
  27. package/components/CasinoJackpotBanner-PNsV-XdJ.js +618 -0
  28. package/components/CasinoLastPlayedSectionNd-Bii3bkmh.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-D81dvYjX.js → CasinoLastPlayedSectionNd-Bu825sC-.js} +26 -26
  30. package/components/CasinoLastPlayedSectionNd-_a-9_9CB.js +566 -0
  31. package/components/{CasinoMostPlayedSectionNd-GSWFIazO.js → CasinoMostPlayedSectionNd-Bc1CtL3u.js} +32 -32
  32. package/components/CasinoMostPlayedSectionNd-BeyWzGzL.cjs +1 -0
  33. package/components/CasinoMostPlayedSectionNd-XrqY9Z0s.js +583 -0
  34. package/components/{CasinoMyGamesNd-D90aAPbm.js → CasinoMyGamesNd-5Lcn0-GF.js} +42 -42
  35. package/components/CasinoMyGamesNd-Bu5gXn9P.js +1317 -0
  36. package/components/CasinoMyGamesNd-DjSqNSVm.cjs +1 -0
  37. package/components/CasinoPageNd-BMjB-SDR.js +3548 -0
  38. package/components/CasinoPageNd-BYE3mgQK.cjs +1 -0
  39. package/components/{CasinoPageNd-m88rCj8H.js → CasinoPageNd-Cif8W7r5.js} +124 -124
  40. package/components/CasinoRandomGame-CJ-AjCzR.cjs +2 -0
  41. package/components/{CasinoRandomGame-BpYrX4Cp.js → CasinoRandomGame-kyYvcZEe.js} +56 -56
  42. package/components/CasinoRandomGame-pjgjdiS0.js +668 -0
  43. package/components/CasinoSearchNd-CjA2LSbG.js +1072 -0
  44. package/components/{CasinoSearchNd-BZW8IoJy.js → CasinoSearchNd-DZxa74P3.js} +69 -69
  45. package/components/CasinoSearchNd-KpuwtpF8.cjs +1 -0
  46. package/components/CasinoSort-1r13Ud33.cjs +1 -0
  47. package/components/CasinoSort-CnCgPeXg.js +432 -0
  48. package/components/{CasinoSort-bFOcp6J4.js → CasinoSort-cgSZzSk9.js} +16 -16
  49. package/components/CasinoWinners-C__0hS-V.cjs +1 -0
  50. package/components/{CasinoWinners-BUoqMo1a.js → CasinoWinners-D5G-uBAw.js} +75 -75
  51. package/components/CasinoWinners-DrSn3Xk6.js +971 -0
  52. package/components/GeneralAnimationLoading-CLCqZfpz.cjs +1 -0
  53. package/components/{GeneralAnimationLoading-CC5IRZHm.js → GeneralAnimationLoading-DZ8DpeOD.js} +8 -8
  54. package/components/GeneralAnimationLoading-Oq6jfcwG.js +75 -0
  55. package/es2015/casino-page-nd.cjs +1 -0
  56. package/es2015/casino-page-nd.js +16 -0
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  60. package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
  61. package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
  62. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
  63. package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
  64. package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
  65. package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
  66. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -0,0 +1,2 @@
1
+ "use strict";var S=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C6a9eFaO.cjs");function le({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function re(n){e.$locale.set(n)}const B={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function ie(n){e.append_styles(n,"svelte-fd0a5p","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function I(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),P=n=>({});function J(n){let t,a,o,r,s,c,f;const p=n[22].close,g=e.create_slot(p,n,n[21],P),l=g||de();function _(d,y){return d[7]?ce:me}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&2097152)&&e.update_slot_base(g,p,d,d[21],s?e.get_slot_changes(p,d[21],y,se):e.get_all_dirty_from_scope(d[21]),P),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function de(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"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,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function me(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ce(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(I(n,s,l));function f(l,_){return l[6]?pe:ue}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[23](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=I(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[23](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ue(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function pe(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
2
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(b,w){e.insert(b,t,w),e.insert(b,a,w),e.insert(b,o,w),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[24]),e.listen(m,"click",n[25])],y=!0)},p(b,w){w[0]&8&&s!==(s=b[3].name+"")&&e.set_data(c,s),w[0]&8&&g!==(g=b[3].vendor.name+"")&&e.set_data(l,g),w[0]&512&&u!==(u=b[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(b){b&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function ge(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function fe(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function he(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&J(n);function _(d,y){if(d[1])return fe;if(!d[1])return ge}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper"),e.attr(t,"part","CustomStylingContainer")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[27](t),f=!0,p||(g=e.listen(r,"click",n[26]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=J(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[27](null),p=!1,g()}}}function ye(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,R=[],b="",w,v=!1,L=!1,C=!1,H=window.navigator.userAgent,x,k,W,F,j=null;le({withLocale:"en",translations:{}});const O=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(G=>{z(G,h[G])})}).catch(h=>{console.log(h)})};Object.keys(B).forEach(i=>{z(i,B[i])});const E=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(H)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{R=h.items,R.length?(a(4,w=U(R.slice(0,19))),a(7,C=!0)):(a(4,w=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},U=i=>{const h=V(i);return h.concat(h)},q=()=>S(this,null,function*(){yield e.tick(),F=Math.floor(Math.random()*(w.length/2))+w.length/2,a(3,b=w[F]),W=k.children[F]}),T=()=>S(this,null,function*(){a(6,L=!1),a(5,v=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield q();const i=window.getComputedStyle(k).getPropertyValue("gap"),h=parseInt(i,10)||0,M=(W.offsetHeight+h)*F,ne=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${M}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};j=k.animate(ne,oe),j.onfinish=()=>{a(6,L=!0)}}),V=i=>{const h=structuredClone(i);let G=h.length,M;for(;G!=0;)M=Math.floor(Math.random()*G),G--,[h[G],h[M]]=[h[M],h[G]];return h},N=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Y=()=>{a(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},X=()=>{re(g)},Z=()=>{let i=document.createElement("style");i.innerHTML=u,x.appendChild(i)},K=()=>{let i=new URL(d),h=document.createElement("style");fetch(i.href).then(G=>G.text()).then(G=>{h.innerHTML=G,setTimeout(()=>{x.appendChild(h)},1)})};function Q(i){e.binding_callbacks[i?"unshift":"push"](()=>{k=i,a(8,k)})}const $=()=>T(),ee=()=>N(),te=()=>T();function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(2,x)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"$$scope"in i&&a(21,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&X(),n.$$.dirty[0]&131072&&m&&O(),n.$$.dirty[0]&24576&&c&&f&&E(),n.$$.dirty[0]&262148&&u&&x&&Z(),n.$$.dirty[0]&524292&&d&&x&&K()},[l,_,x,b,w,v,L,C,k,o,T,N,Y,c,f,p,g,m,u,d,y,s,r,Q,$,ee,te,ae]}class A extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ye,he,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20},ie,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}}e.create_custom_element(A,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{}},["close"],[],!0);exports.default=A;
@@ -1,5 +1,5 @@
1
- import { $ as A, O as be, a as _e, S as Ge, i as Re, f as M, c as xe, s as ke, b as ve, e as b, r as C, v as u, d as k, w as y, x as D, h as I, t as H, g as Me, j as v, k as Ce, p as Fe, y as Le, z as Te, A as Se, l as We, Q as je, n as q, G as V, D as Ne, u as L, B as T, q as Y, C as ze, E as Q, F as Be, U as Ie, M as De } from "./CasinoCalendar-pVz7jYqi.js";
2
- function Je({ withLocale: a, translations: e }) {
1
+ import { $ as A, O as be, a as _e, S as Ge, i as Re, s as xe, f as M, b as ke, d as k, t as H, c as I, e as ve, h as v, p as y, A as J, j as b, B as C, r as u, k as Me, u as Ce, x as Fe, y as Le, z as Te, Q as Se, C as q, n as We, E as V, m as L, q as T, U as je, v as Y, w as Ne, D as Q, M as ze, g as Be, I as Ie, J as Je } from "./CasinoCalendar-bbQ7XQxy.js";
2
+ function De({ withLocale: a, translations: e }) {
3
3
  A.subscribe((t) => {
4
4
  t == null && (be.set(e), A.set(a));
5
5
  });
@@ -85,7 +85,7 @@ const Z = {
85
85
  }
86
86
  };
87
87
  function Ae(a) {
88
- ve(a, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
88
+ ke(a, "svelte-fd0a5p", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
89
89
  }
90
90
  function K(a, e, t) {
91
91
  const n = a.slice();
@@ -97,7 +97,7 @@ function ee(a) {
97
97
  const f = (
98
98
  /*#slots*/
99
99
  a[22].close
100
- ), g = Fe(
100
+ ), g = Ce(
101
101
  f,
102
102
  a,
103
103
  /*$$scope*/
@@ -113,10 +113,10 @@ function ee(a) {
113
113
  let m = _(a), d = m(a);
114
114
  return {
115
115
  c() {
116
- e = b("div"), t = b("div"), n = b("span"), o.c(), i = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
116
+ e = b("div"), t = b("div"), n = b("span"), o && o.c(), i = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
117
117
  },
118
118
  m(r, w) {
119
- k(r, e, w), y(e, t), y(t, n), o.m(n, null), y(t, i), d.m(t, null), s = !0, c || (p = D(
119
+ v(r, e, w), y(e, t), y(t, n), o && o.m(n, null), y(t, i), d.m(t, null), s = !0, c || (p = J(
120
120
  n,
121
121
  "click",
122
122
  /*closeModal*/
@@ -125,19 +125,19 @@ function ee(a) {
125
125
  },
126
126
  p(r, w) {
127
127
  g && g.p && (!s || w[0] & /*$$scope*/
128
- 2097152) && Le(
128
+ 2097152) && Fe(
129
129
  g,
130
130
  f,
131
131
  r,
132
132
  /*$$scope*/
133
133
  r[21],
134
- s ? Se(
134
+ s ? Te(
135
135
  f,
136
136
  /*$$scope*/
137
137
  r[21],
138
138
  w,
139
139
  He
140
- ) : Te(
140
+ ) : Le(
141
141
  /*$$scope*/
142
142
  r[21]
143
143
  ),
@@ -151,7 +151,7 @@ function ee(a) {
151
151
  H(o, r), s = !1;
152
152
  },
153
153
  d(r) {
154
- r && v(e), o.d(r), d.d(), c = !1, p();
154
+ r && k(e), o && o.d(r), d.d(), c = !1, p();
155
155
  }
156
156
  };
157
157
  }
@@ -162,11 +162,11 @@ function Oe(a) {
162
162
  e = V("svg"), t = V("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
163
163
  },
164
164
  m(n, i) {
165
- k(n, e, i), y(e, t);
165
+ v(n, e, i), y(e, t);
166
166
  },
167
- p: Ne,
167
+ p: We,
168
168
  d(n) {
169
- n && v(e);
169
+ n && k(e);
170
170
  }
171
171
  };
172
172
  }
@@ -177,18 +177,18 @@ function Ee(a) {
177
177
  ), n;
178
178
  return {
179
179
  c() {
180
- e = b("p"), n = L(t), u(e, "class", "RandomGameLoading");
180
+ e = b("p"), n = T(t), u(e, "class", "RandomGameLoading");
181
181
  },
182
182
  m(i, s) {
183
- k(i, e, s), y(e, n);
183
+ v(i, e, s), y(e, n);
184
184
  },
185
185
  p(i, s) {
186
186
  s[0] & /*$_*/
187
187
  512 && t !== (t = /*$_*/
188
- i[9]("noGames") + "") && T(n, t);
188
+ i[9]("noGames") + "") && L(n, t);
189
189
  },
190
190
  d(i) {
191
- i && v(e);
191
+ i && k(e);
192
192
  }
193
193
  };
194
194
  }
@@ -214,7 +214,7 @@ function Ue(a) {
214
214
  i = C(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
215
215
  },
216
216
  m(o, _) {
217
- k(o, e, _), y(e, t), y(t, n);
217
+ v(o, e, _), y(e, t), y(t, n);
218
218
  for (let m = 0; m < c.length; m += 1)
219
219
  c[m] && c[m].m(n, null);
220
220
  a[23](n), y(e, i), g.m(e, null);
@@ -238,7 +238,7 @@ function Ue(a) {
238
238
  f === (f = p(o)) && g ? g.p(o, _) : (g.d(1), g = f(o), g && (g.c(), g.m(e, null)));
239
239
  },
240
240
  d(o) {
241
- o && v(e), ze(c, o), a[23](null), g.d();
241
+ o && k(e), Ne(c, o), a[23](null), g.d();
242
242
  }
243
243
  };
244
244
  }
@@ -252,7 +252,7 @@ function te(a) {
252
252
  a[41].name), u(e, "class", "item");
253
253
  },
254
254
  m(p, f) {
255
- k(p, e, f), y(e, t), y(e, c);
255
+ v(p, e, f), y(e, t), y(e, c);
256
256
  },
257
257
  p(p, f) {
258
258
  f[0] & /*gamesToShow*/
@@ -264,7 +264,7 @@ function te(a) {
264
264
  p[41].name) && u(t, "title", s);
265
265
  },
266
266
  d(p) {
267
- p && v(e);
267
+ p && k(e);
268
268
  }
269
269
  };
270
270
  }
@@ -275,18 +275,18 @@ function qe(a) {
275
275
  ), n;
276
276
  return {
277
277
  c() {
278
- e = b("p"), n = L(t), u(e, "class", "RandomGameLoading");
278
+ e = b("p"), n = T(t), u(e, "class", "RandomGameLoading");
279
279
  },
280
280
  m(i, s) {
281
- k(i, e, s), y(e, n);
281
+ v(i, e, s), y(e, n);
282
282
  },
283
283
  p(i, s) {
284
284
  s[0] & /*$_*/
285
285
  512 && t !== (t = /*$_*/
286
- i[9]("randomGameLoading") + "") && T(n, t);
286
+ i[9]("randomGameLoading") + "") && L(n, t);
287
287
  },
288
288
  d(i) {
289
- i && v(e);
289
+ i && k(e);
290
290
  }
291
291
  };
292
292
  }
@@ -304,17 +304,17 @@ function Ve(a) {
304
304
  return {
305
305
  c() {
306
306
  e = b("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
307
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = b("div"), i = b("p"), c = L(s), p = C(), f = b("p"), o = L(g), _ = C(), m = b("button"), r = L(d), u(e, "class", "RandomTryAgain"), u(i, "class", "RandomGameTitle"), u(f, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
307
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = b("div"), i = b("p"), c = T(s), p = C(), f = b("p"), o = T(g), _ = C(), m = b("button"), r = T(d), u(e, "class", "RandomTryAgain"), u(i, "class", "RandomGameTitle"), u(f, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
308
308
  },
309
309
  m(G, R) {
310
- k(G, e, R), k(G, t, R), k(G, n, R), y(n, i), y(i, c), y(n, p), y(n, f), y(f, o), y(n, _), y(n, m), y(m, r), w || (S = [
311
- D(
310
+ v(G, e, R), v(G, t, R), v(G, n, R), y(n, i), y(i, c), y(n, p), y(n, f), y(f, o), y(n, _), y(n, m), y(m, r), w || (S = [
311
+ J(
312
312
  e,
313
313
  "click",
314
314
  /*click_handler*/
315
315
  a[24]
316
316
  ),
317
- D(
317
+ J(
318
318
  m,
319
319
  "click",
320
320
  /*click_handler_1*/
@@ -325,14 +325,14 @@ function Ve(a) {
325
325
  p(G, R) {
326
326
  R[0] & /*randomGame*/
327
327
  8 && s !== (s = /*randomGame*/
328
- G[3].name + "") && T(c, s), R[0] & /*randomGame*/
328
+ G[3].name + "") && L(c, s), R[0] & /*randomGame*/
329
329
  8 && g !== (g = /*randomGame*/
330
- G[3].vendor.name + "") && T(o, g), R[0] & /*$_*/
330
+ G[3].vendor.name + "") && L(o, g), R[0] & /*$_*/
331
331
  512 && d !== (d = /*$_*/
332
- G[9]("playNowRandomGame") + "") && T(r, d);
332
+ G[9]("playNowRandomGame") + "") && L(r, d);
333
333
  },
334
334
  d(G) {
335
- G && (v(e), v(t), v(n)), w = !1, De(S);
335
+ G && (k(e), k(t), k(n)), w = !1, ze(S);
336
336
  }
337
337
  };
338
338
  }
@@ -343,18 +343,18 @@ function Ye(a) {
343
343
  ), n;
344
344
  return {
345
345
  c() {
346
- e = b("span"), n = L(t), u(e, "class", "RandomButtonText");
346
+ e = b("span"), n = T(t), u(e, "class", "RandomButtonText");
347
347
  },
348
348
  m(i, s) {
349
- k(i, e, s), y(e, n);
349
+ v(i, e, s), y(e, n);
350
350
  },
351
351
  p(i, s) {
352
352
  s[0] & /*$_*/
353
353
  512 && t !== (t = /*$_*/
354
- i[9]("playRandomGame") + "") && T(n, t);
354
+ i[9]("playRandomGame") + "") && L(n, t);
355
355
  },
356
356
  d(i) {
357
- i && v(e);
357
+ i && k(e);
358
358
  }
359
359
  };
360
360
  }
@@ -362,24 +362,24 @@ function Qe(a) {
362
362
  let e, t;
363
363
  return {
364
364
  c() {
365
- e = b("span"), t = L(
365
+ e = b("span"), t = T(
366
366
  /*buttontext*/
367
367
  a[1]
368
368
  ), u(e, "class", "RandomButtonText");
369
369
  },
370
370
  m(n, i) {
371
- k(n, e, i), y(e, t);
371
+ v(n, e, i), y(e, t);
372
372
  },
373
373
  p(n, i) {
374
374
  i[0] & /*buttontext*/
375
- 2 && T(
375
+ 2 && L(
376
376
  t,
377
377
  /*buttontext*/
378
378
  n[1]
379
379
  );
380
380
  },
381
381
  d(n) {
382
- n && v(e);
382
+ n && k(e);
383
383
  }
384
384
  };
385
385
  }
@@ -402,8 +402,8 @@ function Xe(a) {
402
402
  e = b("div"), o && o.c(), t = C(), n = b("div"), i = b("button"), d && d.c(), s = C(), c = b("span"), u(c, "class", "RandomButtonIcon"), u(i, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper"), u(e, "part", "CustomStylingContainer");
403
403
  },
404
404
  m(r, w) {
405
- k(r, e, w), o && o.m(e, null), y(e, t), y(e, n), y(n, i), d && d.m(i, null), y(i, s), y(i, c), c.innerHTML = /*randombuttonicon*/
406
- a[0], a[27](e), p = !0, f || (g = D(
405
+ v(r, e, w), o && o.m(e, null), y(e, t), y(e, n), y(n, i), d && d.m(i, null), y(i, s), y(i, c), c.innerHTML = /*randombuttonicon*/
406
+ a[0], a[27](e), p = !0, f || (g = J(
407
407
  i,
408
408
  "click",
409
409
  /*click_handler_2*/
@@ -413,9 +413,9 @@ function Xe(a) {
413
413
  p(r, w) {
414
414
  /*show*/
415
415
  r[5] ? o ? (o.p(r, w), w[0] & /*show*/
416
- 32 && I(o, 1)) : (o = ee(r), o.c(), I(o, 1), o.m(e, t)) : o && (We(), H(o, 1, 1, () => {
416
+ 32 && I(o, 1)) : (o = ee(r), o.c(), I(o, 1), o.m(e, t)) : o && (Be(), H(o, 1, 1, () => {
417
417
  o = null;
418
- }), Me()), m === (m = _(r)) && d ? d.p(r, w) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(i, s))), (!p || w[0] & /*randombuttonicon*/
418
+ }), ve()), m === (m = _(r)) && d ? d.p(r, w) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(i, s))), (!p || w[0] & /*randombuttonicon*/
419
419
  1) && (c.innerHTML = /*randombuttonicon*/
420
420
  r[0]);
421
421
  },
@@ -426,15 +426,15 @@ function Xe(a) {
426
426
  H(o), p = !1;
427
427
  },
428
428
  d(r) {
429
- r && v(e), o && o.d(), d && d.d(), a[27](null), f = !1, g();
429
+ r && k(e), o && o.d(), d && d.d(), a[27](null), f = !1, g();
430
430
  }
431
431
  };
432
432
  }
433
433
  function Ze(a, e, t) {
434
434
  let n;
435
- Ce(a, Be, (l) => t(9, n = l));
436
- let { $$slots: i = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: p = "" } = e, { gameevent: f = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: w = "" } = e, S = [], G = "", R, j = !1, J = !1, z = !1, ae = window.navigator.userAgent, F, W, O, B, E = null;
437
- Je({ withLocale: "en", translations: {} });
435
+ Me(a, Je, (l) => t(9, n = l));
436
+ let { $$slots: i = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: p = "" } = e, { gameevent: f = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: w = "" } = e, S = [], G = "", R, j = !1, D = !1, z = !1, ae = window.navigator.userAgent, F, W, O, B, E = null;
437
+ De({ withLocale: "en", translations: {} });
438
438
  const ne = () => {
439
439
  fetch(m).then((h) => h.json()).then((h) => {
440
440
  Object.keys(h).forEach((x) => {
@@ -449,7 +449,7 @@ function Ze(a, e, t) {
449
449
  });
450
450
  const oe = () => {
451
451
  let l = new URL(`${c}/v1/casino/games`);
452
- l.searchParams.append("platform", je(ae)), l.searchParams.append("datasource", p), l.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), w && l.searchParams.append("filter", `groups=${w}`), l.searchParams.append("expand", "categories,vendor"), l.searchParams.append("pagination", "offset=0,limit=1000"), fetch(l.href).then((h) => h.json()).then((h) => {
452
+ l.searchParams.append("platform", Se(ae)), l.searchParams.append("datasource", p), l.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), w && l.searchParams.append("filter", `groups=${w}`), l.searchParams.append("expand", "categories,vendor"), l.searchParams.append("pagination", "offset=0,limit=1000"), fetch(l.href).then((h) => h.json()).then((h) => {
453
453
  S = h.items, S.length ? (t(4, R = le(S.slice(0, 19))), t(7, z = !0)) : (t(4, R = []), t(7, z = !1));
454
454
  }).catch((h) => {
455
455
  console.log(h), t(7, z = !1);
@@ -458,9 +458,9 @@ function Ze(a, e, t) {
458
458
  const h = re(l);
459
459
  return h.concat(h);
460
460
  }, ie = async () => {
461
- await Ie(), B = Math.floor(Math.random() * (R.length / 2)) + R.length / 2, t(3, G = R[B]), O = W.children[B];
461
+ await je(), B = Math.floor(Math.random() * (R.length / 2)) + R.length / 2, t(3, G = R[B]), O = W.children[B];
462
462
  }, P = async () => {
463
- t(6, J = !1), t(5, j = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await ie();
463
+ t(6, D = !1), t(5, j = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await ie();
464
464
  const l = window.getComputedStyle(W).getPropertyValue("gap"), h = parseInt(l, 10) || 0, N = (O.offsetHeight + h) * B, ye = [
465
465
  { transform: "translateX(0px)" },
466
466
  { filter: "blur(5px)" },
@@ -473,7 +473,7 @@ function Ze(a, e, t) {
473
473
  fill: "forwards"
474
474
  };
475
475
  E = W.animate(ye, we), E.onfinish = () => {
476
- t(6, J = !0);
476
+ t(6, D = !0);
477
477
  };
478
478
  }, re = (l) => {
479
479
  const h = structuredClone(l);
@@ -537,7 +537,7 @@ function Ze(a, e, t) {
537
537
  G,
538
538
  R,
539
539
  j,
540
- J,
540
+ D,
541
541
  z,
542
542
  W,
543
543
  n,
@@ -568,7 +568,7 @@ class Ke extends Ge {
568
568
  e,
569
569
  Ze,
570
570
  Xe,
571
- ke,
571
+ xe,
572
572
  {
573
573
  endpoint: 13,
574
574
  datasource: 14,
@@ -646,7 +646,7 @@ class Ke extends Ge {
646
646
  this.$$set({ filteredrandomgamecategories: e }), M();
647
647
  }
648
648
  }
649
- xe(Ke, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
649
+ Ie(Ke, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {} }, ["close"], [], !0);
650
650
  export {
651
651
  Ke as default
652
652
  };