@everymatrix/casino-lobby 1.45.0 → 1.45.3
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.
- package/components/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
- package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
- package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
- package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
- package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
- package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
- package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
- package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
- package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
- package/components/CasinoFilter-BWEtfBml.js +628 -0
- package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
- package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
- package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
- package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
- package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
- package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
- package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
- package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
- package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
- package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
- package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
- package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
- package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
- package/components/CasinoModal-CZbdtmLm.js +372 -0
- package/components/CasinoModal-DqBbtAjA.cjs +1 -0
- package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
- package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
- package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
- package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
- package/components/CasinoPage-srXwB6ik.cjs +1 -0
- package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
- package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
- package/components/CasinoSearch-BsgUvsbs.js +1062 -0
- package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
- package/components/CasinoSlider-D5B-CjPM.js +803 -0
- package/components/CasinoSlider-kzZxK81G.cjs +1 -0
- package/components/CasinoSort-9pQqbHyF.cjs +1 -0
- package/components/CasinoSort-T6UQhFka.js +425 -0
- package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
- package/components/CasinoWinners-auSd-4D9.js +884 -0
- package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
- package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +2 -2
- package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
- package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
- package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
- package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
- package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
- package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
- package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
- package/components/CasinoFilter-D3p7c7qu.js +0 -628
- package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
- package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
- package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
- package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
- package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
- package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
- package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
- package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
- package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
- package/components/CasinoModal-BebrYWjS.cjs +0 -1
- package/components/CasinoModal-CSwMAX-g.js +0 -372
- package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
- package/components/CasinoMyGames-shcqTml8.cjs +0 -1
- package/components/CasinoPage-DZmE3VFL.cjs +0 -1
- package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
- package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
- package/components/CasinoSearch-CW-eesDy.cjs +0 -1
- package/components/CasinoSearch-DkEAmw-j.js +0 -1066
- package/components/CasinoSlider-CNWDP_I-.js +0 -803
- package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
- package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
- package/components/CasinoSort-CPcJqhWU.js +0 -425
- package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
- package/components/CasinoWinners-DSsJp1KQ.js +0 -884
- package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
- package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-egUFg4eK.cjs");function ye({withLocale:a,translations:e}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function P(a,e){t.addMessages(a,e)}function we(a){t.$locale.set(a)}const U={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"}};function be(a){t.append_styles(a,"svelte-1n5gh1",'.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::before,.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent}.CarouselContainer.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{padding:0}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{align-items:center}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::-webkit-scrollbar{display:none}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.active.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus,.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1:focus{z-index:105}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1:hover>ul.svelte-1n5gh1.svelte-1n5gh1{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1:focus-within>ul.svelte-1n5gh1.svelte-1n5gh1{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselItems ul ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li:hover ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li:focus-within ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer.svelte-1n5gh1 .CarouselLeftArrow svg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselRightArrow svg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{margin:0;padding:0;list-style:none}.CarouselContainer.svelte-1n5gh1 .CarouselNavWrap.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer.svelte-1n5gh1 .CarouselNavWrap.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::-webkit-scrollbar{display:none}.CarouselContainer.svelte-1n5gh1 .CarouselItems.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:table;width:100%;text-align:center}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:block}.CarouselContainer.svelte-1n5gh1 .CarouselItems button.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu li.svelte-1n5gh1:hover>a.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu li.svelte-1n5gh1:focus>a.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer.svelte-1n5gh1 .CarouselItems ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer.svelte-1n5gh1 .CarouselItems .TouchOnly.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:none;left:-10px}.CarouselContainer.svelte-1n5gh1 .touch-device .CarouselItems .TouchOnly.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:inline-block}.CarouselContainer.svelte-1n5gh1 .touch-device .CarouselItems .TouchOnly a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer.svelte-1n5gh1 .isScrolling .CarouselItems ul.DropDown.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{left:-999em;opacity:0}.CarouselContainer.svelte-1n5gh1 .SubDropDown.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 .SubDropDown.active.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:hover a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem.active a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:focus a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:focus-within a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItem a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems.svelte-1n5gh1 li a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child){padding-right:20px}.CarouselItems.svelte-1n5gh1 li a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems.svelte-1n5gh1 li:hover a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1 li:focus-within a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1:hover>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1:focus-within>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex}}.CategoryIconImg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{height:20px;margin:0 auto;display:block}.DisplayNone.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:none}')}function Y(a,e,n){const r=a.slice();return r[50]=e[n],r[52]=n,r}function K(a,e,n){const r=a.slice();return r[53]=e[n],r}function X(a,e,n){const r=a.slice();return r[56]=e[n],r[58]=n,r}function J(a){let e=[],n=new Map,r,o=t.ensure_array_like(a[9]);const i=l=>l[50].id;for(let l=0;l<o.length;l+=1){let h=Y(a,o,l),u=i(h);n.set(u,e[l]=te(u,h))}return{c(){for(let l=0;l<e.length;l+=1)e[l].c();r=t.empty()},m(l,h){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(l,h);t.insert(l,r,h)},p(l,h){h[0]&77775&&(o=t.ensure_array_like(l[9]),e=t.update_keyed_each(e,h,i,1,l,o,n,r.parentNode,t.destroy_block,te,r,Y))},d(l){l&&t.detach(r);for(let h=0;h<e.length;h+=1)e[h].d(l)}}}function _e(a){let e,n=a[50].name+"",r;return{c(){e=t.element("button"),r=t.text(n),t.attr(e,"class","CategoryButton svelte-1n5gh1")},m(o,i){t.insert(o,e,i),t.append(e,r)},p(o,i){i[0]&512&&n!==(n=o[50].name+"")&&t.set_data(r,n)},d(o){o&&t.detach(e)}}}function ke(a){let e,n=a[50].label+"",r,o;return{c(){e=t.element("a"),r=t.text(n),t.attr(e,"href",o=a[50].path),t.attr(e,"class","svelte-1n5gh1")},m(i,l){t.insert(i,e,l),t.append(e,r)},p(i,l){l[0]&512&&n!==(n=i[50].label+"")&&t.set_data(r,n),l[0]&512&&o!==(o=i[50].path)&&t.attr(e,"href",o)},d(i){i&&t.detach(e)}}}function Q(a){let e,n=a[10].length>0&&a[2]=="true"&&V(a);return{c(){n&&n.c(),e=t.empty()},m(r,o){n&&n.m(r,o),t.insert(r,e,o)},p(r,o){r[10].length>0&&r[2]=="true"?n?n.p(r,o):(n=V(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(r){r&&t.detach(e),n&&n.d(r)}}}function V(a){let e,n=t.ensure_array_like(a[10]),r=[];for(let o=0;o<n.length;o+=1)r[o]=ee(K(a,n,o));return{c(){e=t.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();t.attr(e,"class","DropDown svelte-1n5gh1")},m(o,i){t.insert(o,e,i);for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(e,null)},p(o,i){if(i[0]&10176){n=t.ensure_array_like(o[10]);let l;for(l=0;l<n.length;l+=1){const h=K(o,n,l);r[l]?r[l].p(h,i):(r[l]=ee(h),r[l].c(),r[l].m(e,null))}for(;l<r.length;l+=1)r[l].d(1);r.length=n.length}},d(o){o&&t.detach(e),t.destroy_each(r,o)}}}function Z(a){var p;let e,n,r=((p=a[56])==null?void 0:p.name)+"",o,i,l,h,u;function b(...d){return a[32](a[50],a[52],a[56],a[58],...d)}return{c(){e=t.element("li"),n=t.element("a"),o=t.text(r),l=t.space(),t.attr(n,"class",i="SubDropDown "+(a[52]==a[6]&&(a[7]==a[58]||a[8]==a[58])?"active":"")+" svelte-1n5gh1"),t.attr(e,"class","svelte-1n5gh1")},m(d,C){t.insert(d,e,C),t.append(e,n),t.append(n,o),t.append(e,l),h||(u=t.listen(e,"click",b),h=!0)},p(d,C){var _;a=d,C[0]&1024&&r!==(r=((_=a[56])==null?void 0:_.name)+"")&&t.set_data(o,r),C[0]&1984&&i!==(i="SubDropDown "+(a[52]==a[6]&&(a[7]==a[58]||a[8]==a[58])?"active":"")+" svelte-1n5gh1")&&t.attr(n,"class",i)},d(d){d&&t.detach(e),h=!1,u()}}}function $(a,e){let n,r,o=e[52]==e[53].index&&Z(e);return{key:a,first:null,c(){n=t.empty(),o&&o.c(),r=t.empty(),this.first=n},m(i,l){t.insert(i,n,l),o&&o.m(i,l),t.insert(i,r,l)},p(i,l){e=i,e[52]==e[53].index?o?o.p(e,l):(o=Z(e),o.c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null)},d(i){i&&(t.detach(n),t.detach(r)),o&&o.d(i)}}}function ee(a){let e=[],n=new Map,r,o=t.ensure_array_like(a[53].items);const i=l=>l[56].id;for(let l=0;l<o.length;l+=1){let h=X(a,o,l),u=i(h);n.set(u,e[l]=$(u,h))}return{c(){for(let l=0;l<e.length;l+=1)e[l].c();r=t.empty()},m(l,h){for(let u=0;u<e.length;u+=1)e[u]&&e[u].m(l,h);t.insert(l,r,h)},p(l,h){h[0]&10176&&(o=t.ensure_array_like(l[53].items),e=t.update_keyed_each(e,h,i,1,l,o,n,r.parentNode,t.destroy_block,$,r,X))},d(l){l&&t.detach(r);for(let h=0;h<e.length;h+=1)e[h].d(l)}}}function te(a,e){let n,r,o,i,l,h,u,b,p,d,C;function _(v,w){return v[0]==="headerMain"?ke:_e}let k=_(e),f=k(e),g=e[11][e[52]]==!0&&Q(e);function y(...v){return e[33](e[50],e[52],...v)}return{key:a,first:null,c(){var v,w;n=t.element("li"),r=t.element("div"),o=t.element("img"),h=t.space(),f.c(),u=t.space(),g&&g.c(),b=t.space(),t.attr(o,"class",i="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")+" svelte-1n5gh1"),t.src_url_equal(o.src,l=e[16](e[50]))||t.attr(o,"src",l),t.attr(r,"class","CategoryIcon svelte-1n5gh1"),t.attr(n,"class",p="CarouselItem "+(((v=e[1])==null?void 0:v.toString().indexOf("$"))>-1?((w=e[1])==null?void 0:w.split("$").pop())==e[50].id.split("$").pop()?"active":"":e[1]==e[50].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")+" svelte-1n5gh1"),t.attr(n,"part","CarouselItem"),this.first=n},m(v,w){t.insert(v,n,w),t.append(n,r),t.append(r,o),t.append(n,h),f.m(n,null),t.append(n,u),g&&g.m(n,null),t.append(n,b),d||(C=t.listen(n,"click",y),d=!0)},p(v,w){var L,R;e=v,w[0]&8&&i!==(i="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")+" svelte-1n5gh1")&&t.attr(o,"class",i),w[0]&512&&!t.src_url_equal(o.src,l=e[16](e[50]))&&t.attr(o,"src",l),k===(k=_(e))&&f?f.p(e,w):(f.d(1),f=k(e),f&&(f.c(),f.m(n,u))),e[11][e[52]]==!0?g?g.p(e,w):(g=Q(e),g.c(),g.m(n,b)):g&&(g.d(1),g=null),w[0]&515&&p!==(p="CarouselItem "+(((L=e[1])==null?void 0:L.toString().indexOf("$"))>-1?((R=e[1])==null?void 0:R.split("$").pop())==e[50].id.split("$").pop()?"active":"":e[1]==e[50].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")+" svelte-1n5gh1")&&t.attr(n,"class",p)},d(v){v&&t.detach(n),f.d(),g&&g.d(),d=!1,C()}}}function Fe(a){let e,n,r,o,i,l,h,u,b,p,d,C,_,k,f,g=a[9].length>0&&J(a);return{c(){e=t.element("div"),n=t.element("div"),r=t.element("div"),r.innerHTML='<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-1n5gh1"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" class="svelte-1n5gh1"></path></svg>',o=t.space(),i=t.element("div"),l=t.element("ul"),h=t.element("li"),h.innerHTML='<a href="#CarouselNav" class="svelte-1n5gh1">Close Subs</a>',u=t.space(),g&&g.c(),b=t.space(),p=t.element("div"),p.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-1n5gh1"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" class="svelte-1n5gh1"></path></svg>',t.attr(r,"class","CarouselLeftArrow svelte-1n5gh1"),t.attr(h,"class","TouchOnly svelte-1n5gh1"),t.attr(l,"id","CarouselNav"),t.attr(l,"class","CarouselItems svelte-1n5gh1"),t.attr(i,"class","CarouselNavWrap svelte-1n5gh1"),t.attr(p,"class","CarouselRightArrow svelte-1n5gh1"),t.attr(n,"class",d=t.null_to_empty(`CarouselContainer CarouselContainerMobile ${a[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)+" svelte-1n5gh1"),t.attr(n,"style",C=a[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(a[0]==="headerMain"?"CarouselWrapperHeaderMain":"")+" svelte-1n5gh1")},m(y,v){t.insert(y,e,v),t.append(e,n),t.append(n,r),t.append(n,o),t.append(n,i),t.append(i,l),t.append(l,h),t.append(l,u),g&&g.m(l,null),a[34](l),a[35](i),t.append(n,b),t.append(n,p),a[37](e),k||(f=[t.listen(r,"click",a[31]),t.listen(p,"click",a[36])],k=!0)},p(y,v){y[9].length>0?g?g.p(y,v):(g=J(y),g.c(),g.m(l,null)):g&&(g.d(1),g=null),v[0]&1&&d!==(d=t.null_to_empty(`CarouselContainer CarouselContainerMobile ${y[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)+" svelte-1n5gh1")&&t.attr(n,"class",d),v[0]&1&&C!==(C=y[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(n,"style",C),v[0]&1&&_!==(_="CarouselWrapper "+(y[0]==="headerMain"?"CarouselWrapperHeaderMain":"")+" svelte-1n5gh1")&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(y){y&&t.detach(e),g&&g.d(),a[34](null),a[35](null),a[37](null),k=!1,t.run_all(f)}}}function Me(a,e,n){let{endpoint:r=""}=e,{datasource:o=""}=e,{onclickeventname:i="defaultEvent"}=e,{actionevent:l="defaultEvent"}=e,{favoritesnumber:h="0"}=e,{location:u=""}=e,{clientstyling:b=""}=e,{clientstylingurl:p=""}=e,{identity:d=""}=e,{translationurl:C=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:f=""}=e,{activeindex:g="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:v="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:L=""}=e;ye({withLocale:"en",translations:{}});const R=()=>{fetch(C).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{P(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{P(s,U[s])});let le=window.navigator.userAgent;t.getDevice(le);let A,H,E,W,I,N=[],T=[],j=[],F,z=(s,c,m,D,M)=>{var S;if(!(s.subGroups&&D===null)){if(O(),n(6,H=c),n(6,H),M!="secondary"){window.postMessage({type:l=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:s.id,index:c,item:s,path:s.path,externalLink:s.externalLink||!1,target:((S=s.attrs)==null?void 0:S.target)||null},window.location.href),n(7,E=null),n(8,W=null);return}n(7,E=D),n(7,E),n(8,W=E),window.postMessage({type:l,itemId:m.id,subIndex:D,subItem:m},window.location.href)}},B=()=>{F.scrollBy({left:-250,behavior:"smooth"})},G=()=>{F.scrollBy({left:250,behavior:"smooth"})};const q=s=>{s.data.type=="SliderData"&&s.data.identity==d&&(n(9,N=s.data.data),n(11,j=new Array(N.length).fill(!1)),y=="true"&&ae()),s.data.type=="GoToHomepage"&&N.forEach((c,m)=>{c.path.endsWith("/casino")&&(n(6,H=m),n(6,H))})},se=()=>{we(f)},re=(s,c,m)=>{if(u=="secondaryMenu"&&r&&o&&f&&s.id){let D=new URL(`${r}/v1/casino/groups/${o}/${s.id}/subGroups?language=${f}`);fetch(D.href).then(M=>M.json()).then(M=>{M.index=c,n(10,T=T.concat(M)),y=="false"&&window.postMessage({type:l,itemId:s.id,index:c,item:s},window.location.href);const S=[];T.map(pe=>(pe.items.forEach(x=>{S.find(Ce=>x.id==Ce)||S.push(x.id)}),S.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:S},window.location.href)}).then(()=>{A.querySelectorAll(".DropDown")&&O()})}u=="headerMain"&&window.postMessage({type:l,item:s},window.location.href)},O=()=>{const s=A.querySelectorAll(".DropDown");document.activeElement.blur(),F.classList.add("isScrolling");for(let c=0;c<s.length;c++)s[c].style.transform="translateX(-"+F.scrollLeft+"px)";F.classList.remove("isScrolling")},ae=()=>{N.forEach((s,c)=>{var m;((m=s==null?void 0:s.subGroups)==null?void 0:m.count)>0&&(n(11,j[c]=!0,j),re(s,c))})},oe=()=>{let s=document.createElement("style");s.innerHTML=b,I.appendChild(s)},ie=()=>{let s=document.createElement("style"),c=new URL(p);fetch(c.href).then(m=>m.text()).then(m=>{s.innerHTML=m,setTimeout(()=>{I.appendChild(s)},1)})},he=s=>{let c="";return s.id==="LOBBY"?c=w:s.id==="MYGAMES"&&(c=L),s.icon||c};t.onMount(()=>("ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),window.addEventListener("message",q,!1),setTimeout(()=>{F.addEventListener("scroll",O)},500),()=>{window.removeEventListener("message",q),A.removeEventListener("scroll",O)}));const ge=()=>B(),ce=(s,c,m,D,M)=>{z(s,c,m,D,"secondary"),M.stopPropagation()},ue=(s,c,m)=>{z(s,c,null,null,"main"),m.preventDefault()};function ve(s){t.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(5,A)})}function de(s){t.binding_callbacks[s?"unshift":"push"](()=>{F=s,n(12,F)})}const fe=()=>G();function me(s){t.binding_callbacks[s?"unshift":"push"](()=>{I=s,n(4,I)})}return a.$$set=s=>{"endpoint"in s&&n(17,r=s.endpoint),"datasource"in s&&n(18,o=s.datasource),"onclickeventname"in s&&n(19,i=s.onclickeventname),"actionevent"in s&&n(20,l=s.actionevent),"favoritesnumber"in s&&n(21,h=s.favoritesnumber),"location"in s&&n(0,u=s.location),"clientstyling"in s&&n(22,b=s.clientstyling),"clientstylingurl"in s&&n(23,p=s.clientstylingurl),"identity"in s&&n(24,d=s.identity),"translationurl"in s&&n(25,C=s.translationurl),"isprimarymenu"in s&&n(26,_=s.isprimarymenu),"issecondarymenu"in s&&n(27,k=s.issecondarymenu),"lang"in s&&n(28,f=s.lang),"activeindex"in s&&n(1,g=s.activeindex),"showsubgroups"in s&&n(2,y=s.showsubgroups),"categoriesicon"in s&&n(3,v=s.categoriesicon),"lobbyiconimage"in s&&n(29,w=s.lobbyiconimage),"mygamesiconimage"in s&&n(30,L=s.mygamesiconimage)},a.$$.update=()=>{a.$$.dirty[0]&2,a.$$.dirty[0]&33554432&&C&&R(),a.$$.dirty[0]&4194320&&b&&I&&oe(),a.$$.dirty[0]&8388624&&p&&I&&ie(),a.$$.dirty[0]&268435456&&f&&se()},[u,g,y,v,I,A,H,E,W,N,T,j,F,z,B,G,he,r,o,i,l,h,b,p,d,C,_,k,f,w,L,ge,ce,ue,ve,de,fe,me]}class ne extends t.SvelteComponent{constructor(e){super(),t.init(this,e,Me,Fe,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30},be,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(ne,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=ne;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-egUFg4eK.cjs");function V({withLocale:t,translations:r}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(r),e.$locale.set(t))})}function j(t,r){e.addMessages(t,r)}const D={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};function J(t){e.append_styles(t,"svelte-1rm2543",'.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::before,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{border-radius:5px 5px 0 0}.SorterMainArea.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;align-items:center}.SorterMainArea.svelte-1rm2543 svg.svelte-1rm2543.svelte-1rm2543{margin-right:16px}.SorterName.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column}.SorterValueContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::-webkit-scrollbar{display:none}.SorterItem.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{position:relative}.SorterItem.svelte-1rm2543 label.svelte-1rm2543.svelte-1rm2543{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{cursor:pointer;margin-right:10px}.SorterItem.svelte-1rm2543 .SortersCheckmark.svelte-1rm2543.svelte-1rm2543{margin:0 15px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543.svelte-1rm2543{position:absolute;left:-9999px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543:checked+span.svelte-1rm2543:after{opacity:1;transform:scale(1)}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543:checked+span.svelte-1rm2543{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{max-width:initial;padding:7px 16px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;margin-bottom:20px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543.svelte-1rm2543{line-height:24px}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543>.svelte-1rm2543{pointer-events:none}}')}function E(t,r,l){const a=t.slice();return a[23]=r[l],a}function q(t){let r,l,a,n,o,m,g,c,f,d,b,y=t[4]("sortby")+"",u,k,_,z,N=(t[3]||t[4]("all"))+"",M,O,C,w,A,Z,F,s,i,S,H,L,T,I=e.ensure_array_like(Object.values(t[5])),h=[];for(let p=0;p<I.length;p+=1)h[p]=P(E(t,I,p));return{c(){r=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("g"),m=e.svg_element("path"),g=e.svg_element("path"),c=e.svg_element("path"),f=e.space(),d=e.element("div"),b=e.element("span"),u=e.text(y),k=e.space(),_=e.element("div"),z=e.element("span"),M=e.text(N),O=e.space(),C=e.element("span"),w=e.svg_element("svg"),A=e.svg_element("path"),s=e.space(),i=e.element("div"),S=e.element("ul");for(let p=0;p<h.length;p+=1)h[p].c();e.attr(m,"id","Path_5267"),e.attr(m,"data-name","Path 5267"),e.attr(m,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),e.attr(m,"transform","translate(-206.448 0)"),e.attr(m,"fill","#fff"),e.attr(m,"class","svelte-1rm2543"),e.attr(g,"id","Path_5268"),e.attr(g,"data-name","Path 5268"),e.attr(g,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),e.attr(g,"transform","translate(0 0)"),e.attr(g,"fill","#fff"),e.attr(g,"class","svelte-1rm2543"),e.attr(c,"id","Path_5269"),e.attr(c,"data-name","Path 5269"),e.attr(c,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),e.attr(c,"transform","translate(-412.896 0)"),e.attr(c,"fill","#fff"),e.attr(c,"class","svelte-1rm2543"),e.attr(o,"id","sortby"),e.attr(o,"transform","translate(-306 -342)"),e.attr(o,"class","svelte-1rm2543"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","20"),e.attr(n,"height","20"),e.attr(n,"viewBox","0 0 26.003 22.819"),e.attr(n,"class","svelte-1rm2543"),e.attr(b,"class","SorterName svelte-1rm2543"),e.attr(z,"class","svelte-1rm2543"),e.attr(_,"class","SorterValueContainer svelte-1rm2543"),e.attr(d,"class","SorterTextContainer svelte-1rm2543"),e.attr(a,"class","SorterMainArea svelte-1rm2543"),e.attr(A,"id","arrow"),e.attr(A,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(A,"transform","translate(-274.511 -441.088)"),e.attr(A,"fill","#d1d1d1"),e.attr(A,"class","svelte-1rm2543"),e.attr(w,"xmlns","http://www.w3.org/2000/svg"),e.attr(w,"width","14"),e.attr(w,"height","6.835"),e.attr(w,"viewBox","0 0 14 6.835"),e.attr(w,"class","svelte-1rm2543"),e.attr(C,"class",Z="TriangleInactive "+(t[1]?"TriangleActive":"")+" svelte-1rm2543"),e.attr(l,"class",F="SorterSelector "+(t[1]?"SorterSelectorOpen":"")+" svelte-1rm2543"),e.attr(S,"class","SorterDropdown svelte-1rm2543"),e.attr(i,"class",H="SorterDropdownContainer "+(t[1]?"SorterOpen":"")+" svelte-1rm2543"),e.attr(r,"class","SorterContainer svelte-1rm2543")},m(p,x){e.insert(p,r,x),e.append(r,l),e.append(l,a),e.append(a,n),e.append(n,o),e.append(o,m),e.append(o,g),e.append(o,c),e.append(a,f),e.append(a,d),e.append(d,b),e.append(b,u),e.append(d,k),e.append(d,_),e.append(_,z),e.append(z,M),e.append(l,O),e.append(l,C),e.append(C,w),e.append(w,A),e.append(r,s),e.append(r,i),e.append(i,S);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(S,null);L||(T=e.listen(l,"click",t[13]),L=!0)},p(p,x){if(x&16&&y!==(y=p[4]("sortby")+"")&&e.set_data(u,y),x&24&&N!==(N=(p[3]||p[4]("all"))+"")&&e.set_data(M,N),x&2&&Z!==(Z="TriangleInactive "+(p[1]?"TriangleActive":"")+" svelte-1rm2543")&&e.attr(C,"class",Z),x&2&&F!==(F="SorterSelector "+(p[1]?"SorterSelectorOpen":"")+" svelte-1rm2543")&&e.attr(l,"class",F),x&120){I=e.ensure_array_like(Object.values(p[5]));let v;for(v=0;v<I.length;v+=1){const B=E(p,I,v);h[v]?h[v].p(B,x):(h[v]=P(B),h[v].c(),h[v].m(S,null))}for(;v<h.length;v+=1)h[v].d(1);h.length=I.length}x&2&&H!==(H="SorterDropdownContainer "+(p[1]?"SorterOpen":"")+" svelte-1rm2543")&&e.attr(i,"class",H)},d(p){p&&e.detach(r),e.destroy_each(h,p),L=!1,T()}}}function P(t){let r,l,a,n,o,m,g,c,f,d,b;function y(){return t[14](t[23])}return{c(){r=e.element("li"),l=e.element("label"),a=e.element("input"),o=e.space(),m=e.element("span"),g=e.space(),c=e.element("span"),c.textContent=`${t[23]}`,f=e.space(),e.attr(a,"type","radio"),e.attr(a,"name","radio"),a.value=t[23],a.checked=n=t[3]==t[23]?!0:t[3]==null&&t[23]==t[4]("all"),e.attr(a,"class","svelte-1rm2543"),e.attr(m,"class","SortersCheckmark svelte-1rm2543"),e.attr(c,"class","svelte-1rm2543"),e.attr(l,"class","SorterLabel CustomRadioButton svelte-1rm2543"),e.attr(r,"class","SorterItem svelte-1rm2543"),r.value=t[23]},m(u,k){e.insert(u,r,k),e.append(r,l),e.append(l,a),e.append(l,o),e.append(l,m),e.append(l,g),e.append(l,c),e.append(r,f),d||(b=e.listen(a,"click",y),d=!0)},p(u,k){t=u,k&24&&n!==(n=t[3]==t[23]?!0:t[3]==null&&t[23]==t[4]("all"))&&(a.checked=n)},d(u){u&&e.detach(r),d=!1,b()}}}function U(t){let r;function l(o,m){if(!o[2])return q}let a=l(t),n=a&&a(t);return{c(){r=e.element("div"),n&&n.c(),e.attr(r,"class","svelte-1rm2543")},m(o,m){e.insert(o,r,m),n&&n.m(r,null),t[15](r)},p(o,[m]){a===(a=l(o))&&n?n.p(o,m):(n&&n.d(1),n=a&&a(o),n&&(n.c(),n.m(r,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(r),n&&n.d(),t[15](null)}}}function G(t,r,l){let a;e.component_subscribe(t,e.$format,s=>l(4,a=s));let{lang:n=""}=r,{translationurl:o=""}=r,{clientstyling:m=""}=r,{clientstylingurl:g=""}=r,{categoryid:c=""}=r,f,d=!1,b=!0,y="",u="All";V({withLocale:"en",translations:{}});const k=()=>{fetch(o).then(i=>i.json()).then(i=>{Object.keys(i).forEach(S=>{j(S,i[S])})}).catch(i=>{console.log(i)})};Object.keys(D).forEach(s=>{j(s,D[s])});const _={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},z=()=>{let s=document.createElement("style");s.innerHTML=m,f.appendChild(s)},N=()=>{let s=document.createElement("style");fetch(new URL(g)).then(i=>i.text()).then(i=>{s.innerHTML=i,setTimeout(()=>{f.appendChild(s)},1)})},M=()=>{var i;l(3,u="All"),l(2,b=!1),l(1,d=!1);let s=(i=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:i[c];s?l(3,u=s):l(3,u="All"),l(3,u=_[s])},O=s=>{l(3,u=s);let i=localStorage.getItem("vendorSortingBy");y=s;for(let S in _)if(_[S]===s){y=S;break}i==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:y})):(i=JSON.parse(i),i[c]=y,localStorage.setItem("vendorSortingBy",JSON.stringify(i))),window.postMessage({type:"ApplySorter",sortBy:y,itemId:c},window.location.href),l(1,d=!d)},C=()=>{l(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},w=s=>{s.data.type=="FilterOpened"&&l(1,d=!1)};e.onMount(()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}));const A=()=>C(),Z=s=>O(s);function F(s){e.binding_callbacks[s?"unshift":"push"](()=>{f=s,l(0,f)})}return t.$$set=s=>{"lang"in s&&l(8,n=s.lang),"translationurl"in s&&l(9,o=s.translationurl),"clientstyling"in s&&l(10,m=s.clientstyling),"clientstylingurl"in s&&l(11,g=s.clientstylingurl),"categoryid"in s&&l(12,c=s.categoryid)},t.$$.update=()=>{t.$$.dirty&4096&&c&&M(),t.$$.dirty&1025&&m&&f&&z(),t.$$.dirty&2049&&g&&f&&N(),t.$$.dirty&512&&o&&k()},[f,d,b,u,a,_,O,C,n,o,m,g,c,A,Z,F]}class R extends e.SvelteComponent{constructor(r){super(),e.init(this,r,G,U,e.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),e.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),e.flush()}}e.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{}},[],[],!0);exports.default=R;
|
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import { $ as q, a as te, I as re, S as le, i as se, f as D, c as oe, s as ne, b as ae, e as f, d as e, g as R, C as U, k as P, J as ie, o as me, n as ce, q as G, E as Z, r as I, u as K, v as a, w as ee, A as Q, B as ve, O as de } from "./CasinoCalendar-DEhfBjpm.js";
|
|
2
|
-
function pe({ withLocale: t, translations: r }) {
|
|
3
|
-
q.subscribe((l) => {
|
|
4
|
-
l == null && (te.set(r), q.set(t));
|
|
5
|
-
});
|
|
6
|
-
}
|
|
7
|
-
function W(t, r) {
|
|
8
|
-
re(t, r);
|
|
9
|
-
}
|
|
10
|
-
const X = {
|
|
11
|
-
en: {
|
|
12
|
-
sortby: "Sort by:",
|
|
13
|
-
all: "All",
|
|
14
|
-
az: "A-Z",
|
|
15
|
-
newest: "Newest",
|
|
16
|
-
hottest: "Hottest"
|
|
17
|
-
},
|
|
18
|
-
zh: {
|
|
19
|
-
sortby: "Sort by",
|
|
20
|
-
all: "All",
|
|
21
|
-
az: "A-Z",
|
|
22
|
-
newest: "Newest",
|
|
23
|
-
hottest: "Hottest"
|
|
24
|
-
},
|
|
25
|
-
de: {
|
|
26
|
-
sortby: "Sort by:",
|
|
27
|
-
all: "All",
|
|
28
|
-
az: "A-Z",
|
|
29
|
-
newest: "Newest",
|
|
30
|
-
hottest: "Hottest"
|
|
31
|
-
},
|
|
32
|
-
it: {
|
|
33
|
-
sortby: "Sort by:",
|
|
34
|
-
all: "All",
|
|
35
|
-
az: "A-Z",
|
|
36
|
-
newest: "Newest",
|
|
37
|
-
hottest: "Hottest"
|
|
38
|
-
},
|
|
39
|
-
fr: {
|
|
40
|
-
sortby: "Sort by:",
|
|
41
|
-
all: "All",
|
|
42
|
-
az: "A-Z",
|
|
43
|
-
newest: "Newest",
|
|
44
|
-
hottest: "Hottest"
|
|
45
|
-
},
|
|
46
|
-
es: {
|
|
47
|
-
sortby: "Sort by:",
|
|
48
|
-
all: "All",
|
|
49
|
-
az: "A-Z",
|
|
50
|
-
newest: "Newest",
|
|
51
|
-
hottest: "Hottest"
|
|
52
|
-
},
|
|
53
|
-
tr: {
|
|
54
|
-
sortby: "Sırala:",
|
|
55
|
-
all: "Hepsi",
|
|
56
|
-
az: "A-Z",
|
|
57
|
-
newest: "En yeni",
|
|
58
|
-
hottest: "Öne Çıkan"
|
|
59
|
-
},
|
|
60
|
-
ru: {
|
|
61
|
-
sortby: "Sort by:",
|
|
62
|
-
all: "All",
|
|
63
|
-
az: "A-Z",
|
|
64
|
-
newest: "Newest",
|
|
65
|
-
hottest: "Hottest"
|
|
66
|
-
},
|
|
67
|
-
ro: {
|
|
68
|
-
sortby: "Sort by:",
|
|
69
|
-
all: "All",
|
|
70
|
-
az: "A-Z",
|
|
71
|
-
newest: "Newest",
|
|
72
|
-
hottest: "Hottest"
|
|
73
|
-
},
|
|
74
|
-
hr: {
|
|
75
|
-
sortby: "Poredaj po:",
|
|
76
|
-
all: "Sve",
|
|
77
|
-
az: "A-Z",
|
|
78
|
-
newest: "Najnovije",
|
|
79
|
-
hottest: "Hot igre"
|
|
80
|
-
},
|
|
81
|
-
hu: {
|
|
82
|
-
sortby: "Sort by:",
|
|
83
|
-
all: "All",
|
|
84
|
-
az: "A-Z",
|
|
85
|
-
newest: "Newest",
|
|
86
|
-
hottest: "Hottest"
|
|
87
|
-
},
|
|
88
|
-
pl: {
|
|
89
|
-
sortby: "Sort by:",
|
|
90
|
-
all: "All",
|
|
91
|
-
az: "A-Z",
|
|
92
|
-
newest: "Newest",
|
|
93
|
-
hottest: "Hottest"
|
|
94
|
-
},
|
|
95
|
-
pt: {
|
|
96
|
-
sortby: "Sort by:",
|
|
97
|
-
all: "All",
|
|
98
|
-
az: "A-Z",
|
|
99
|
-
newest: "Newest",
|
|
100
|
-
hottest: "Hottest"
|
|
101
|
-
},
|
|
102
|
-
sl: {
|
|
103
|
-
sortby: "Sort by:",
|
|
104
|
-
all: "All",
|
|
105
|
-
az: "A-Z",
|
|
106
|
-
newest: "Newest",
|
|
107
|
-
hottest: "Hottest"
|
|
108
|
-
},
|
|
109
|
-
sr: {
|
|
110
|
-
sortby: "Sort by:",
|
|
111
|
-
all: "All",
|
|
112
|
-
az: "A-Z",
|
|
113
|
-
newest: "Newest",
|
|
114
|
-
hottest: "Hottest"
|
|
115
|
-
},
|
|
116
|
-
"pt-br": {
|
|
117
|
-
sortby: "Organizar por:",
|
|
118
|
-
all: "Todos",
|
|
119
|
-
az: "A-Z",
|
|
120
|
-
newest: "Mais recente",
|
|
121
|
-
hottest: "mais quente"
|
|
122
|
-
},
|
|
123
|
-
"es-mx": {
|
|
124
|
-
sortby: "Ordenar Por:",
|
|
125
|
-
all: "Todo",
|
|
126
|
-
az: "A-Z",
|
|
127
|
-
newest: "Más nuevos",
|
|
128
|
-
hottest: "Más calientes"
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
function ge(t) {
|
|
132
|
-
ae(t, "svelte-1rm2543", '.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::before,.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{border-radius:5px 5px 0 0}.SorterMainArea.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;align-items:center}.SorterMainArea.svelte-1rm2543 svg.svelte-1rm2543.svelte-1rm2543{margin-right:16px}.SorterName.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column}.SorterValueContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543::-webkit-scrollbar{display:none}.SorterItem.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{position:relative}.SorterItem.svelte-1rm2543 label.svelte-1rm2543.svelte-1rm2543{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{cursor:pointer;margin-right:10px}.SorterItem.svelte-1rm2543 .SortersCheckmark.svelte-1rm2543.svelte-1rm2543{margin:0 15px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543.svelte-1rm2543{position:absolute;left:-9999px}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543+span.svelte-1rm2543:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem.svelte-1rm2543 .CustomRadioButton input[type=radio].svelte-1rm2543:checked+span.svelte-1rm2543:after{opacity:1;transform:scale(1)}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543.svelte-1rm2543{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel.svelte-1rm2543 input.svelte-1rm2543:checked+span.svelte-1rm2543{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{max-width:initial;padding:7px 16px}.SorterDropdownContainer.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{width:100%;margin-bottom:20px}.SorterDropdown.svelte-1rm2543.svelte-1rm2543.svelte-1rm2543{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543.svelte-1rm2543{line-height:24px}.SorterDropdown.svelte-1rm2543 .SorterLabel.svelte-1rm2543>.svelte-1rm2543{pointer-events:none}}');
|
|
133
|
-
}
|
|
134
|
-
function Y(t, r, l) {
|
|
135
|
-
const o = t.slice();
|
|
136
|
-
return o[23] = r[l], o;
|
|
137
|
-
}
|
|
138
|
-
function ue(t) {
|
|
139
|
-
let r, l, o, n, i, c, u, d, w, p, A, S = (
|
|
140
|
-
/*$_*/
|
|
141
|
-
t[4]("sortby") + ""
|
|
142
|
-
), h, z, x, F, O = (
|
|
143
|
-
/*vendorSortingBy*/
|
|
144
|
-
(t[3] || /*$_*/
|
|
145
|
-
t[4]("all")) + ""
|
|
146
|
-
), L, T, N, b, k, M, B, s, m, _, j, E, V, H = G(Object.values(
|
|
147
|
-
/*vendorMap*/
|
|
148
|
-
t[5]
|
|
149
|
-
)), y = [];
|
|
150
|
-
for (let v = 0; v < H.length; v += 1)
|
|
151
|
-
y[v] = $(Y(t, H, v));
|
|
152
|
-
return {
|
|
153
|
-
c() {
|
|
154
|
-
r = f("div"), l = f("div"), o = f("div"), n = Z("svg"), i = Z("g"), c = Z("path"), u = Z("path"), d = Z("path"), w = I(), p = f("div"), A = f("span"), h = K(S), z = I(), x = f("div"), F = f("span"), L = K(O), T = I(), N = f("span"), b = Z("svg"), k = Z("path"), s = I(), m = f("div"), _ = f("ul");
|
|
155
|
-
for (let v = 0; v < y.length; v += 1)
|
|
156
|
-
y[v].c();
|
|
157
|
-
e(c, "id", "Path_5267"), e(c, "data-name", "Path 5267"), e(c, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), e(c, "transform", "translate(-206.448 0)"), e(c, "fill", "#fff"), e(c, "class", "svelte-1rm2543"), e(u, "id", "Path_5268"), e(u, "data-name", "Path 5268"), e(u, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), e(u, "transform", "translate(0 0)"), e(u, "fill", "#fff"), e(u, "class", "svelte-1rm2543"), e(d, "id", "Path_5269"), e(d, "data-name", "Path 5269"), e(d, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), e(d, "transform", "translate(-412.896 0)"), e(d, "fill", "#fff"), e(d, "class", "svelte-1rm2543"), e(i, "id", "sortby"), e(i, "transform", "translate(-306 -342)"), e(i, "class", "svelte-1rm2543"), e(n, "xmlns", "http://www.w3.org/2000/svg"), e(n, "width", "20"), e(n, "height", "20"), e(n, "viewBox", "0 0 26.003 22.819"), e(n, "class", "svelte-1rm2543"), e(A, "class", "SorterName svelte-1rm2543"), e(F, "class", "svelte-1rm2543"), e(x, "class", "SorterValueContainer svelte-1rm2543"), e(p, "class", "SorterTextContainer svelte-1rm2543"), e(o, "class", "SorterMainArea svelte-1rm2543"), e(k, "id", "arrow"), e(k, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), e(k, "transform", "translate(-274.511 -441.088)"), e(k, "fill", "#d1d1d1"), e(k, "class", "svelte-1rm2543"), e(b, "xmlns", "http://www.w3.org/2000/svg"), e(b, "width", "14"), e(b, "height", "6.835"), e(b, "viewBox", "0 0 14 6.835"), e(b, "class", "svelte-1rm2543"), e(N, "class", M = "TriangleInactive " + /*isSorterActive*/
|
|
158
|
-
(t[1] ? "TriangleActive" : "") + " svelte-1rm2543"), e(l, "class", B = "SorterSelector " + /*isSorterActive*/
|
|
159
|
-
(t[1] ? "SorterSelectorOpen" : "") + " svelte-1rm2543"), e(_, "class", "SorterDropdown svelte-1rm2543"), e(m, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
160
|
-
(t[1] ? "SorterOpen" : "") + " svelte-1rm2543"), e(r, "class", "SorterContainer svelte-1rm2543");
|
|
161
|
-
},
|
|
162
|
-
m(v, C) {
|
|
163
|
-
R(v, r, C), a(r, l), a(l, o), a(o, n), a(n, i), a(i, c), a(i, u), a(i, d), a(o, w), a(o, p), a(p, A), a(A, h), a(p, z), a(p, x), a(x, F), a(F, L), a(l, T), a(l, N), a(N, b), a(b, k), a(r, s), a(r, m), a(m, _);
|
|
164
|
-
for (let g = 0; g < y.length; g += 1)
|
|
165
|
-
y[g] && y[g].m(_, null);
|
|
166
|
-
E || (V = ee(
|
|
167
|
-
l,
|
|
168
|
-
"click",
|
|
169
|
-
/*click_handler*/
|
|
170
|
-
t[13]
|
|
171
|
-
), E = !0);
|
|
172
|
-
},
|
|
173
|
-
p(v, C) {
|
|
174
|
-
if (C & /*$_*/
|
|
175
|
-
16 && S !== (S = /*$_*/
|
|
176
|
-
v[4]("sortby") + "") && Q(h, S), C & /*vendorSortingBy, $_*/
|
|
177
|
-
24 && O !== (O = /*vendorSortingBy*/
|
|
178
|
-
(v[3] || /*$_*/
|
|
179
|
-
v[4]("all")) + "") && Q(L, O), C & /*isSorterActive*/
|
|
180
|
-
2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
|
|
181
|
-
(v[1] ? "TriangleActive" : "") + " svelte-1rm2543") && e(N, "class", M), C & /*isSorterActive*/
|
|
182
|
-
2 && B !== (B = "SorterSelector " + /*isSorterActive*/
|
|
183
|
-
(v[1] ? "SorterSelectorOpen" : "") + " svelte-1rm2543") && e(l, "class", B), C & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
|
184
|
-
120) {
|
|
185
|
-
H = G(Object.values(
|
|
186
|
-
/*vendorMap*/
|
|
187
|
-
v[5]
|
|
188
|
-
));
|
|
189
|
-
let g;
|
|
190
|
-
for (g = 0; g < H.length; g += 1) {
|
|
191
|
-
const J = Y(v, H, g);
|
|
192
|
-
y[g] ? y[g].p(J, C) : (y[g] = $(J), y[g].c(), y[g].m(_, null));
|
|
193
|
-
}
|
|
194
|
-
for (; g < y.length; g += 1)
|
|
195
|
-
y[g].d(1);
|
|
196
|
-
y.length = H.length;
|
|
197
|
-
}
|
|
198
|
-
C & /*isSorterActive*/
|
|
199
|
-
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
200
|
-
(v[1] ? "SorterOpen" : "") + " svelte-1rm2543") && e(m, "class", j);
|
|
201
|
-
},
|
|
202
|
-
d(v) {
|
|
203
|
-
v && P(r), ve(y, v), E = !1, V();
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
function $(t) {
|
|
208
|
-
let r, l, o, n, i, c, u, d, w, p, A;
|
|
209
|
-
function S() {
|
|
210
|
-
return (
|
|
211
|
-
/*click_handler_1*/
|
|
212
|
-
t[14](
|
|
213
|
-
/*sort*/
|
|
214
|
-
t[23]
|
|
215
|
-
)
|
|
216
|
-
);
|
|
217
|
-
}
|
|
218
|
-
return {
|
|
219
|
-
c() {
|
|
220
|
-
r = f("li"), l = f("label"), o = f("input"), i = I(), c = f("span"), u = I(), d = f("span"), d.textContent = `${/*sort*/
|
|
221
|
-
t[23]}`, w = I(), e(o, "type", "radio"), e(o, "name", "radio"), o.value = /*sort*/
|
|
222
|
-
t[23], o.checked = n = /*vendorSortingBy*/
|
|
223
|
-
t[3] == /*sort*/
|
|
224
|
-
t[23] ? !0 : (
|
|
225
|
-
/*vendorSortingBy*/
|
|
226
|
-
t[3] == null && /*sort*/
|
|
227
|
-
t[23] == /*$_*/
|
|
228
|
-
t[4]("all")
|
|
229
|
-
), e(o, "class", "svelte-1rm2543"), e(c, "class", "SortersCheckmark svelte-1rm2543"), e(d, "class", "svelte-1rm2543"), e(l, "class", "SorterLabel CustomRadioButton svelte-1rm2543"), e(r, "class", "SorterItem svelte-1rm2543"), r.value = /*sort*/
|
|
230
|
-
t[23];
|
|
231
|
-
},
|
|
232
|
-
m(h, z) {
|
|
233
|
-
R(h, r, z), a(r, l), a(l, o), a(l, i), a(l, c), a(l, u), a(l, d), a(r, w), p || (A = ee(o, "click", S), p = !0);
|
|
234
|
-
},
|
|
235
|
-
p(h, z) {
|
|
236
|
-
t = h, z & /*vendorSortingBy, $_*/
|
|
237
|
-
24 && n !== (n = /*vendorSortingBy*/
|
|
238
|
-
t[3] == /*sort*/
|
|
239
|
-
t[23] ? !0 : (
|
|
240
|
-
/*vendorSortingBy*/
|
|
241
|
-
t[3] == null && /*sort*/
|
|
242
|
-
t[23] == /*$_*/
|
|
243
|
-
t[4]("all")
|
|
244
|
-
)) && (o.checked = n);
|
|
245
|
-
},
|
|
246
|
-
d(h) {
|
|
247
|
-
h && P(r), p = !1, A();
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
}
|
|
251
|
-
function he(t) {
|
|
252
|
-
let r;
|
|
253
|
-
function l(i, c) {
|
|
254
|
-
if (!/*isLoading*/
|
|
255
|
-
i[2]) return ue;
|
|
256
|
-
}
|
|
257
|
-
let o = l(t), n = o && o(t);
|
|
258
|
-
return {
|
|
259
|
-
c() {
|
|
260
|
-
r = f("div"), n && n.c(), e(r, "class", "svelte-1rm2543");
|
|
261
|
-
},
|
|
262
|
-
m(i, c) {
|
|
263
|
-
R(i, r, c), n && n.m(r, null), t[15](r);
|
|
264
|
-
},
|
|
265
|
-
p(i, [c]) {
|
|
266
|
-
o === (o = l(i)) && n ? n.p(i, c) : (n && n.d(1), n = o && o(i), n && (n.c(), n.m(r, null)));
|
|
267
|
-
},
|
|
268
|
-
i: U,
|
|
269
|
-
o: U,
|
|
270
|
-
d(i) {
|
|
271
|
-
i && P(r), n && n.d(), t[15](null);
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
function fe(t, r, l) {
|
|
276
|
-
let o;
|
|
277
|
-
ie(t, de, (s) => l(4, o = s));
|
|
278
|
-
let { lang: n = "" } = r, { translationurl: i = "" } = r, { clientstyling: c = "" } = r, { clientstylingurl: u = "" } = r, { categoryid: d = "" } = r, w, p = !1, A = !0, S = "", h = "All";
|
|
279
|
-
pe({ withLocale: "en", translations: {} });
|
|
280
|
-
const z = () => {
|
|
281
|
-
fetch(i).then((m) => m.json()).then((m) => {
|
|
282
|
-
Object.keys(m).forEach((_) => {
|
|
283
|
-
W(_, m[_]);
|
|
284
|
-
});
|
|
285
|
-
}).catch((m) => {
|
|
286
|
-
console.log(m);
|
|
287
|
-
});
|
|
288
|
-
};
|
|
289
|
-
Object.keys(X).forEach((s) => {
|
|
290
|
-
W(s, X[s]);
|
|
291
|
-
});
|
|
292
|
-
const x = {
|
|
293
|
-
All: o("all"),
|
|
294
|
-
name: o("az"),
|
|
295
|
-
isNew: o("newest"),
|
|
296
|
-
"advancedTags(name(hot))": o("hottest")
|
|
297
|
-
}, F = () => {
|
|
298
|
-
let s = document.createElement("style");
|
|
299
|
-
s.innerHTML = c, w.appendChild(s);
|
|
300
|
-
}, O = () => {
|
|
301
|
-
let s = document.createElement("style");
|
|
302
|
-
fetch(new URL(u)).then((m) => m.text()).then((m) => {
|
|
303
|
-
s.innerHTML = m, setTimeout(
|
|
304
|
-
() => {
|
|
305
|
-
w.appendChild(s);
|
|
306
|
-
},
|
|
307
|
-
1
|
|
308
|
-
);
|
|
309
|
-
});
|
|
310
|
-
}, L = () => {
|
|
311
|
-
var m;
|
|
312
|
-
l(3, h = "All"), l(2, A = !1), l(1, p = !1);
|
|
313
|
-
let s = (m = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : m[d];
|
|
314
|
-
s ? l(3, h = s) : l(3, h = "All"), l(3, h = x[s]);
|
|
315
|
-
}, T = (s) => {
|
|
316
|
-
l(3, h = s);
|
|
317
|
-
let m = localStorage.getItem("vendorSortingBy");
|
|
318
|
-
S = s;
|
|
319
|
-
for (let _ in x)
|
|
320
|
-
if (x[_] === s) {
|
|
321
|
-
S = _;
|
|
322
|
-
break;
|
|
323
|
-
}
|
|
324
|
-
m == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [d]: S })) : (m = JSON.parse(m), m[d] = S, localStorage.setItem("vendorSortingBy", JSON.stringify(m))), window.postMessage(
|
|
325
|
-
{
|
|
326
|
-
type: "ApplySorter",
|
|
327
|
-
sortBy: S,
|
|
328
|
-
itemId: d
|
|
329
|
-
},
|
|
330
|
-
window.location.href
|
|
331
|
-
), l(1, p = !p);
|
|
332
|
-
}, N = () => {
|
|
333
|
-
l(1, p = !p), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
|
334
|
-
}, b = (s) => {
|
|
335
|
-
s.data.type == "FilterOpened" && l(1, p = !1);
|
|
336
|
-
};
|
|
337
|
-
me(() => (window.addEventListener("message", b, !1), () => {
|
|
338
|
-
window.removeEventListener("message", b);
|
|
339
|
-
}));
|
|
340
|
-
const k = () => N(), M = (s) => T(s);
|
|
341
|
-
function B(s) {
|
|
342
|
-
ce[s ? "unshift" : "push"](() => {
|
|
343
|
-
w = s, l(0, w);
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
return t.$$set = (s) => {
|
|
347
|
-
"lang" in s && l(8, n = s.lang), "translationurl" in s && l(9, i = s.translationurl), "clientstyling" in s && l(10, c = s.clientstyling), "clientstylingurl" in s && l(11, u = s.clientstylingurl), "categoryid" in s && l(12, d = s.categoryid);
|
|
348
|
-
}, t.$$.update = () => {
|
|
349
|
-
t.$$.dirty & /*categoryid*/
|
|
350
|
-
4096 && d && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
351
|
-
1025 && c && w && F(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
352
|
-
2049 && u && w && O(), t.$$.dirty & /*translationurl*/
|
|
353
|
-
512 && i && z();
|
|
354
|
-
}, [
|
|
355
|
-
w,
|
|
356
|
-
p,
|
|
357
|
-
A,
|
|
358
|
-
h,
|
|
359
|
-
o,
|
|
360
|
-
x,
|
|
361
|
-
T,
|
|
362
|
-
N,
|
|
363
|
-
n,
|
|
364
|
-
i,
|
|
365
|
-
c,
|
|
366
|
-
u,
|
|
367
|
-
d,
|
|
368
|
-
k,
|
|
369
|
-
M,
|
|
370
|
-
B
|
|
371
|
-
];
|
|
372
|
-
}
|
|
373
|
-
class ye extends le {
|
|
374
|
-
constructor(r) {
|
|
375
|
-
super(), se(
|
|
376
|
-
this,
|
|
377
|
-
r,
|
|
378
|
-
fe,
|
|
379
|
-
he,
|
|
380
|
-
ne,
|
|
381
|
-
{
|
|
382
|
-
lang: 8,
|
|
383
|
-
translationurl: 9,
|
|
384
|
-
clientstyling: 10,
|
|
385
|
-
clientstylingurl: 11,
|
|
386
|
-
categoryid: 12
|
|
387
|
-
},
|
|
388
|
-
ge
|
|
389
|
-
);
|
|
390
|
-
}
|
|
391
|
-
get lang() {
|
|
392
|
-
return this.$$.ctx[8];
|
|
393
|
-
}
|
|
394
|
-
set lang(r) {
|
|
395
|
-
this.$$set({ lang: r }), D();
|
|
396
|
-
}
|
|
397
|
-
get translationurl() {
|
|
398
|
-
return this.$$.ctx[9];
|
|
399
|
-
}
|
|
400
|
-
set translationurl(r) {
|
|
401
|
-
this.$$set({ translationurl: r }), D();
|
|
402
|
-
}
|
|
403
|
-
get clientstyling() {
|
|
404
|
-
return this.$$.ctx[10];
|
|
405
|
-
}
|
|
406
|
-
set clientstyling(r) {
|
|
407
|
-
this.$$set({ clientstyling: r }), D();
|
|
408
|
-
}
|
|
409
|
-
get clientstylingurl() {
|
|
410
|
-
return this.$$.ctx[11];
|
|
411
|
-
}
|
|
412
|
-
set clientstylingurl(r) {
|
|
413
|
-
this.$$set({ clientstylingurl: r }), D();
|
|
414
|
-
}
|
|
415
|
-
get categoryid() {
|
|
416
|
-
return this.$$.ctx[12];
|
|
417
|
-
}
|
|
418
|
-
set categoryid(r) {
|
|
419
|
-
this.$$set({ categoryid: r }), D();
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
oe(ye, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {} }, [], [], !0);
|
|
423
|
-
export {
|
|
424
|
-
ye as default
|
|
425
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-egUFg4eK.cjs");function le(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const ie={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CEAKVCu9.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function je(r){e.append_styles(r,"svelte-1c7r2o9",".svelte-1c7r2o9.svelte-1c7r2o9,.svelte-1c7r2o9.svelte-1c7r2o9::before,.svelte-1c7r2o9.svelte-1c7r2o9::after{margin:0;padding:0;box-sizing:border-box}.Off.svelte-1c7r2o9.svelte-1c7r2o9{display:none}.CasinoWinners.svelte-1c7r2o9.svelte-1c7r2o9{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile.svelte-1c7r2o9.svelte-1c7r2o9{padding:25px 10px;height:250px}.WinnersHeader.svelte-1c7r2o9.svelte-1c7r2o9{display:flex;justify-content:space-between}.SliderButton.svelte-1c7r2o9.svelte-1c7r2o9{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton.svelte-1c7r2o9.svelte-1c7r2o9:active{transform:translateY(1px)}.WinnerButtonsContainer.svelte-1c7r2o9.svelte-1c7r2o9{display:flex;margin-bottom:42px}.WinnersButton.svelte-1c7r2o9.svelte-1c7r2o9{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton.svelte-1c7r2o9.svelte-1c7r2o9:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.svelte-1c7r2o9.svelte-1c7r2o9:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active.svelte-1c7r2o9.svelte-1c7r2o9{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active.svelte-1c7r2o9.svelte-1c7r2o9{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone.svelte-1c7r2o9.svelte-1c7r2o9{display:none}.WinnersSlider.svelte-1c7r2o9.svelte-1c7r2o9{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider.svelte-1c7r2o9.svelte-1c7r2o9::-webkit-scrollbar{display:none}.CardWrapper.svelte-1c7r2o9.svelte-1c7r2o9{position:absolute;top:0;left:0}.CardWrapperAnimation.svelte-1c7r2o9.svelte-1c7r2o9{transition:transform 2s}.WinnerCard.svelte-1c7r2o9.svelte-1c7r2o9{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard.svelte-1c7r2o9 p.svelte-1c7r2o9:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard.svelte-1c7r2o9 p.svelte-1c7r2o9:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard.svelte-1c7r2o9 p.svelte-1c7r2o9:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard.svelte-1c7r2o9 p.svelte-1c7r2o9:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard.svelte-1c7r2o9.svelte-1c7r2o9:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage.svelte-1c7r2o9.svelte-1c7r2o9{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile.svelte-1c7r2o9 .WinnersHeader.svelte-1c7r2o9{justify-content:flex-start}.Mobile.svelte-1c7r2o9 .WinnersButton.svelte-1c7r2o9{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile.svelte-1c7r2o9 .WinnersButton.svelte-1c7r2o9:last-child{margin-right:0}.Mobile.svelte-1c7r2o9 .WinnersButton.Active.svelte-1c7r2o9{padding-bottom:4px}.Mobile.svelte-1c7r2o9 .WinnersSlider.svelte-1c7r2o9{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-1c7r2o9 .SliderButton.svelte-1c7r2o9{display:none}.Mobile.svelte-1c7r2o9 .WinnerCard.svelte-1c7r2o9{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile.svelte-1c7r2o9 .WinnerCard p.svelte-1c7r2o9:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile.svelte-1c7r2o9 .WinnerCard p.svelte-1c7r2o9:nth-child(3){font-size:10px}.Mobile.svelte-1c7r2o9 .WinnerCard p.svelte-1c7r2o9:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile.svelte-1c7r2o9 .WinnerCard p.svelte-1c7r2o9:last-of-type{font-size:11px}.Mobile.svelte-1c7r2o9 .WinnerButtonsContainer.svelte-1c7r2o9{margin-bottom:20px}")}function oe(r,t,n){const l=r.slice();return l[70]=t[n],l}function ae(r,t,n){const l=r.slice();return l[73]=t[n],l}function ze(r){let t,n,l,i,o,a,u,d,y,E,k,_,g,A,S,L,B,T,M,W=e.ensure_array_like(r[17]),m=[];for(let c=0;c<W.length;c+=1)m[c]=de(ae(r,W,c));function O(c,v){return c[18]?Ne:Oe}let x=O(r),b=x(r);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();i=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),d=e.svg_element("path"),E=e.space(),k=e.element("button"),_=e.svg_element("svg"),g=e.svg_element("path"),L=e.space(),b.c(),e.attr(l,"class","WinnerButtonsContainer svelte-1c7r2o9"),e.attr(d,"style",y=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(d,"id","Path_36"),e.attr(d,"data-name","Path 36"),e.attr(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(d,"transform","translate(14.656 0) rotate(90)"),e.attr(d,"fill","#fff"),e.attr(d,"class","svelte-1c7r2o9"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(u,"class","svelte-1c7r2o9"),e.attr(a,"class","SliderButton svelte-1c7r2o9"),e.attr(g,"style",A=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(g,"id","Path_36"),e.attr(g,"data-name","Path 36"),e.attr(g,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(g,"transform","translate(0 24.656) rotate(-90)"),e.attr(g,"fill","#fff"),e.attr(g,"class","svelte-1c7r2o9"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(_,"class","svelte-1c7r2o9"),e.attr(k,"class","SliderButton svelte-1c7r2o9"),e.attr(o,"class",S="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")+" svelte-1c7r2o9"),e.attr(n,"class","WinnersHeader svelte-1c7r2o9"),e.attr(t,"class",B="CasinoWinners "+(r[13]?"Mobile":"")+" svelte-1c7r2o9")},m(c,v){e.insert(c,t,v),e.append(t,n),e.append(n,l);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(l,null);e.append(n,i),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,d),e.append(o,E),e.append(o,k),e.append(k,_),e.append(_,g),e.append(t,L),b.m(t,null),T||(M=[e.listen(a,"click",r[43]),e.listen(k,"click",r[44])],T=!0)},p(c,v){if(v[0]&3277827){W=e.ensure_array_like(c[17]);let f;for(f=0;f<W.length;f+=1){const p=ae(c,W,f);m[f]?m[f].p(p,v):(m[f]=de(p),m[f].c(),m[f].m(l,null))}for(;f<m.length;f+=1)m[f].d(1);m.length=W.length}v[0]&6144&&y!==(y=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(d,"style",y),v[0]&6144&&A!==(A=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(g,"style",A),v[0]&64&&S!==(S="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":"")+" svelte-1c7r2o9")&&e.attr(o,"class",S),x===(x=O(c))&&b?b.p(c,v):(b.d(1),b=x(c),b&&(b.c(),b.m(t,null))),v[0]&8192&&B!==(B="CasinoWinners "+(c[13]?"Mobile":"")+" svelte-1c7r2o9")&&e.attr(t,"class",B)},d(c){c&&e.detach(t),e.destroy_each(m,c),b.d(),T=!1,e.run_all(M)}}}function Ee(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5]),e.set_custom_element_data(t,"class","svelte-1c7r2o9")},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[20]("recentWinners")+"",l,i,o,a;return{c(){t=e.element("button"),l=e.text(n),e.attr(t,"class",i="WinnersButton "+(r[10]=="recent"?"Active":"")+" "+(r[0]=="false"?"Off":"")+" svelte-1c7r2o9")},m(u,d){e.insert(u,t,d),e.append(t,l),o||(a=e.listen(t,"click",r[41]),o=!0)},p(u,d){d[0]&1048576&&n!==(n=u[20]("recentWinners")+"")&&e.set_data(l,n),d[0]&1025&&i!==(i="WinnersButton "+(u[10]=="recent"?"Active":"")+" "+(u[0]=="false"?"Off":"")+" svelte-1c7r2o9")&&e.attr(t,"class",i)},d(u){u&&e.detach(t),o=!1,a()}}}function ue(r){let t,n=r[20]("topWinners")+"",l,i,o,a,u;return{c(){t=e.element("button"),l=e.text(n),i=e.space(),e.attr(t,"class",o="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":"")+" svelte-1c7r2o9")},m(d,y){e.insert(d,t,y),e.append(t,l),e.append(t,i),a||(u=e.listen(t,"click",r[42]),a=!0)},p(d,y){y[0]&1048576&&n!==(n=d[20]("topWinners")+"")&&e.set_data(l,n),y[0]&1026&&o!==(o="WinnersButton "+(d[10]=="top"?"Active":"")+" "+(d[1]=="false"?"Off":"")+" svelte-1c7r2o9")&&e.attr(t,"class",o)},d(d){d&&e.detach(t),a=!1,u()}}}function de(r){let t,n,l=r[73]=="recent"&&ce(r),i=r[73]=="top"&&ue(r);return{c(){l&&l.c(),t=e.space(),i&&i.c(),n=e.empty()},m(o,a){l&&l.m(o,a),e.insert(o,t,a),i&&i.m(o,a),e.insert(o,n,a)},p(o,a){o[73]=="recent"?l?l.p(o,a):(l=ce(o),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null),o[73]=="top"?i?i.p(o,a):(i=ue(o),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(o){o&&(e.detach(t),e.detach(n)),l&&l.d(o),i&&i.d(o)}}}function Oe(r){let t,n=e.ensure_array_like(r[11]),l=[];for(let i=0;i<n.length;i+=1)l[i]=fe(oe(r,n,i));return{c(){t=e.element("div");for(let i=0;i<l.length;i+=1)l[i].c();e.attr(t,"class","WinnersSlider svelte-1c7r2o9")},m(i,o){e.insert(i,t,o);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null);r[47](t)},p(i,o){if(o[0]&14223500){n=e.ensure_array_like(i[11]);let a;for(a=0;a<n.length;a+=1){const u=oe(i,n,a);l[a]?l[a].p(u,o):(l[a]=fe(u),l[a].c(),l[a].m(t,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=n.length}},d(i){i&&e.detach(t),e.destroy_each(l,i),r[47](null)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5]),e.set_custom_element_data(t,"class","svelte-1c7r2o9")},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),l[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function fe(r){let t,n,l,i,o,a,u,d=r[70].gameName+"",y,E,k,_=r[22](r[70].username)+"",g,A,S,L=r[20]("won")+"",B,T,M,W=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,O,x,b=(r[7]?r[3]:r[2])+"",c,v,f,p,C;function q(){return r[45](r[70])}return{c(){var z,w,N,F;t=e.element("div"),n=e.element("div"),l=e.element("img"),a=e.space(),u=e.element("p"),y=e.text(d),E=e.space(),k=e.element("p"),g=e.text(_),A=e.space(),S=e.element("p"),B=e.text(L),T=e.space(),M=e.element("p"),m=e.text(W),O=e.space(),x=e.element("span"),c=e.text(b),v=e.space(),e.src_url_equal(l.src,i=(w=(z=r[70])==null?void 0:z.gameModel)==null?void 0:w.thumbnail)||e.attr(l,"src",i),e.attr(l,"alt",o=(F=(N=r[70])==null?void 0:N.gameModel)==null?void 0:F.thumbnail),e.attr(l,"class","WinnersImage svelte-1c7r2o9"),e.attr(u,"class","svelte-1c7r2o9"),e.attr(k,"class","svelte-1c7r2o9"),e.attr(S,"class","WinnerUsername svelte-1c7r2o9"),e.attr(x,"class","svelte-1c7r2o9"),e.attr(M,"class","svelte-1c7r2o9"),e.attr(n,"class","WinnerCard svelte-1c7r2o9"),e.attr(t,"class",f="CardWrapper "+(r[16]?"CardWrapperAnimation":"")+" svelte-1c7r2o9")},m(z,w){e.insert(z,t,w),e.append(t,n),e.append(n,l),e.append(n,a),e.append(n,u),e.append(u,y),e.append(n,E),e.append(n,k),e.append(k,g),e.append(n,A),e.append(n,S),e.append(S,B),e.append(n,T),e.append(n,M),e.append(M,m),e.append(M,O),e.append(M,x),e.append(x,c),e.append(t,v),r[46](t),p||(C=e.listen(l,"click",q),p=!0)},p(z,w){var N,F,P,R;r=z,w[0]&2048&&!e.src_url_equal(l.src,i=(F=(N=r[70])==null?void 0:N.gameModel)==null?void 0:F.thumbnail)&&e.attr(l,"src",i),w[0]&2048&&o!==(o=(R=(P=r[70])==null?void 0:P.gameModel)==null?void 0:R.thumbnail)&&e.attr(l,"alt",o),w[0]&2048&&d!==(d=r[70].gameName+"")&&e.set_data(y,d),w[0]&2048&&_!==(_=r[22](r[70].username)+"")&&e.set_data(g,_),w[0]&1048576&&L!==(L=r[20]("won")+"")&&e.set_data(B,L),w[0]&2048&&W!==(W=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,W),w[0]&140&&b!==(b=(r[7]?r[3]:r[2])+"")&&e.set_data(c,b),w[0]&65536&&f!==(f="CardWrapper "+(r[16]?"CardWrapperAnimation":"")+" svelte-1c7r2o9")&&e.attr(t,"class",f)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(o,a){return o[14]||o[15]?Ee:ze}let l=n(r),i=l(r);return{c(){t=e.element("div"),i.c(),e.attr(t,"class","svelte-1c7r2o9")},m(o,a){e.insert(o,t,a),i.m(t,null),r[48](t)},p(o,a){l===(l=n(o))&&i?i.p(o,a):(i.d(1),i=l(o),i&&(i.c(),i.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),i.d(),r[48](null)}}}function Re(r,t,n){let l;e.component_subscribe(r,e.$format,s=>n(20,l=s));let{endpoint:i=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:d="Last7Days"}=t,{numberusersrecent:y="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:k="1"}=t,{vendorCategory:_="All"}=t,{lang:g="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:L=""}=t,{usercurrency:B=""}=t,{clientstyling:T=""}=t,{clientstylingurl:M=""}=t,{enableautoscroll:W=""}=t,{tabsorder:m=""}=t,{translationurl:O=""}=t,{winnersdatasources:x=""}=t,{hascustomstyling:b="false"}=t,c,v,f=[],p=0,C=0,q=window.navigator.userAgent,z,w,N,F,P=!0,R=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const pe=()=>{let s=new URL(O);fetch(s.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(j=>{le(j,h[j])})}).catch(h=>{console.log(h)})};Object.keys(ie).forEach(s=>{le(s,ie[s])});const $=()=>{J=x.split(",").map(function(h){return h.trim()});const s=new URL(`${i}/v1/casino/${v}-winners`);n(18,V=!0),s.searchParams.append("limit",v=="recent"?y:E),s.searchParams.append("specifiedCurrency",G),s.searchParams.append("period",v=="recent"?u:d),s.searchParams.append("language",g),s.searchParams.append("amountLimit",k),s.searchParams.append("vendorCategory",_),J.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>{n(11,f=[]),n(11,f=h.items.map(j=>j)),n(18,V=!1),setTimeout(()=>{ve(),te(),W=="true"&&(clearInterval(D),ge()),n(14,P=!1)},5)})},1e3)},K=s=>{v!==s&&(n(11,f=[]),n(10,v=s),$())},he=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ee=(s,h,j,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:j,subVendor:U},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${N||"Not logged in"}`})},te=s=>{const h=[...c.children];Y=h.length,h.forEach((j,U)=>{j.style.transform=`translateX(${100*(s?U-s:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},ge=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},ve=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=f.length)return;const s=f.length;p===0?p=s-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=f.length)return;const s=f.length;W=="true"&&(p===s-C?p=0:p++),W=="false"&&(p===s-C?p=0:s-C<p+C?p=s-C:p+=C),ne()},_e=()=>{Le(g)},be=()=>{n(7,w=!0),N=a},se=()=>{n(40,G=w?B:L)},ye=()=>{let s=document.createElement("style");s.innerHTML=T,F.appendChild(s)},we=()=>{let s=new URL(M),h=document.createElement("style");fetch(s.href).then(j=>j.text()).then(j=>{h.innerHTML=j,setTimeout(()=>{F.appendChild(h)},1),setTimeout(()=>{},500),n(15,R=!1)})},We=()=>{b==="true"&&(!T&&!M&&F&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!T&&M&&n(15,R=!0))},Ce=()=>{n(17,H=m.split(",")),n(10,v=H[0]),A=="false"&&n(26,k=""),se(),n(14,P=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const ke=()=>K("recent"),Me=()=>K("top"),xe=()=>re(),Fe=()=>Z(),Se=s=>ee(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Be(s){e.binding_callbacks[s?"unshift":"push"](()=>{I=s,n(19,I)})}function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{c=s,n(9,c)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{F=s,n(8,F)})}return r.$$set=s=>{"endpoint"in s&&n(27,i=s.endpoint),"session"in s&&n(28,o=s.session),"userid"in s&&n(29,a=s.userid),"periodrecent"in s&&n(30,u=s.periodrecent),"periodtop"in s&&n(31,d=s.periodtop),"numberusersrecent"in s&&n(32,y=s.numberusersrecent),"numberuserstop"in s&&n(33,E=s.numberuserstop),"amountlimit"in s&&n(26,k=s.amountlimit),"vendorCategory"in s&&n(34,_=s.vendorCategory),"lang"in s&&n(35,g=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(2,L=s.defaultcurrency),"usercurrency"in s&&n(3,B=s.usercurrency),"clientstyling"in s&&n(4,T=s.clientstyling),"clientstylingurl"in s&&n(5,M=s.clientstylingurl),"enableautoscroll"in s&&n(6,W=s.enableautoscroll),"tabsorder"in s&&n(36,m=s.tabsorder),"translationurl"in s&&n(37,O=s.translationurl),"winnersdatasources"in s&&n(38,x=s.winnersdatasources),"hascustomstyling"in s&&n(39,b=s.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1140850691|r.$$.dirty[1]&63&&A&&S&&u&&d&&y&&E&&k&&_&&g&&m&&Ce(),r.$$.dirty[0]&268435456&&o&&be(),r.$$.dirty[0]&140&&w&&(B||L)&&se(),r.$$.dirty[0]&134217728|r.$$.dirty[1]&640&&i&&x&&G&&$(),r.$$.dirty[1]&16&&g&&_e(),r.$$.dirty[1]&64&&O&&pe(),r.$$.dirty[1]&256&&b&&We(),r.$$.dirty[0]&272&&T&&F&&ye(),r.$$.dirty[0]&288&&M&&F&&we()},[A,S,L,B,T,M,W,w,F,c,v,f,C,z,P,R,X,H,V,I,l,K,he,ee,re,Z,k,i,o,a,u,d,y,E,_,g,m,O,x,b,G,ke,Me,xe,Fe,Se,Be,Te,Ae]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Re,Pe,e.safe_not_equal,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:26,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[31]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[26]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(me,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=me;
|