@everymatrix/casino-page-nd 1.87.25 → 1.87.27
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-4gqh3tjm.js +544 -0
- package/components/CasinoCalendar-D-jt46wW.js +542 -0
- package/components/CasinoCalendar-ynlHjTfj.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-B9Svmn08.js → CasinoCalendarDailyDetails-BgcvH9nK.js} +91 -91
- package/components/{CasinoCalendarDailyDetails-BzANjMYK.js → CasinoCalendarDailyDetails-Cbe8pC7J.js} +104 -104
- package/components/CasinoCalendarDailyDetails-DuVZISBD.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-Ddwevbwg.js → CasinoCalendarDailyItem-COIhg8yV.js} +118 -118
- package/components/CasinoCalendarDailyItem-XIp0Lg7p.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-Csh2ZNEb.js → CasinoCalendarDailyItem-fVTVyUL4.js} +115 -115
- package/components/{CasinoCollectionsProviders-Bz4Qwgcy.js → CasinoCollectionsProviders-BEPYwCWn.js} +99 -99
- package/components/{CasinoCollectionsProviders-B-rxzUHS.js → CasinoCollectionsProviders-DhMmNofL.js} +89 -89
- package/components/CasinoCollectionsProviders-re4bKhyh.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-BYye_OqX.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-OgOa7MBa.js → CasinoFavoritesSectionNd-DIChCUWH.js} +43 -43
- package/components/{CasinoFavoritesSectionNd-Doh425U1.js → CasinoFavoritesSectionNd-DehWpE4C.js} +29 -29
- package/components/{CasinoFilter-F9z7t5pe.js → CasinoFilter-BBPXUROy.js} +248 -247
- package/components/CasinoFilter-hJQjaIWk.cjs +1 -0
- package/components/{CasinoFilter-BOPSPGn4.js → CasinoFilter-vZxw-pSX.js} +226 -227
- package/components/CasinoGameThumbnailNd-BrnCxDF0.js +1841 -0
- package/components/CasinoGameThumbnailNd-BvM0R6oS.cjs +30 -0
- package/components/CasinoGameThumbnailNd-CBW5XULX.js +1825 -0
- package/components/CasinoGamesCategorySectionNd-CZEde4tc.js +4569 -0
- package/components/CasinoGamesCategorySectionNd-DBlWbwZr.cjs +1 -0
- package/components/CasinoGamesCategorySectionNd-Dzj5UiL6.js +4602 -0
- package/components/{CasinoJackpotBanner-Djh5d5I0.js → CasinoJackpotBanner-CMoIV2Qg.js} +148 -148
- package/components/{CasinoJackpotBanner-D-liS_Me.js → CasinoJackpotBanner-D0X5L0Fz.js} +148 -148
- package/components/CasinoJackpotBanner-D48QAlyM.cjs +1 -0
- package/components/CasinoLastPlayedSectionNd-Dbai7XXg.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-CDt_OWWF.js → CasinoLastPlayedSectionNd-Hz1MGr2w.js} +67 -68
- package/components/{CasinoLastPlayedSectionNd-DNewZ65k.js → CasinoLastPlayedSectionNd-Nm8QJSvi.js} +68 -69
- package/components/{CasinoMostPlayedSectionNd-CqVf2pf-.js → CasinoMostPlayedSectionNd-C2TOAcIX.js} +81 -82
- package/components/{CasinoMostPlayedSectionNd-BPJRi-mx.js → CasinoMostPlayedSectionNd-D78ro-LI.js} +90 -91
- package/components/CasinoMostPlayedSectionNd-DIPIP9gt.cjs +1 -0
- package/components/CasinoMyGamesNd-B1sfMK3_.cjs +1 -0
- package/components/{CasinoMyGamesNd-PlQpeD0V.js → CasinoMyGamesNd-Bb9JdqMU.js} +186 -187
- package/components/{CasinoMyGamesNd-4iJsQUyK.js → CasinoMyGamesNd-CZlSlxbH.js} +187 -188
- package/components/CasinoPageNd-CcSCHl8E.js +8898 -0
- package/components/CasinoPageNd-DF8VWpzm.cjs +18 -0
- package/components/CasinoPageNd-V8GTyc-d.js +8943 -0
- package/components/{CasinoRandomGame-BqY01xC4.js → CasinoRandomGame-Bu7BMO6x.js} +119 -119
- package/components/{CasinoRandomGame-OSVl6dyi.js → CasinoRandomGame-DNDiY5mi.js} +118 -118
- package/components/CasinoRandomGame-r6IDCjxz.cjs +2 -0
- package/components/{CasinoSearchNd-CxPW28Eu.js → CasinoSearchNd--A3r1bol.js} +137 -137
- package/components/{CasinoSearchNd-2oH02fm7.js → CasinoSearchNd-C-c2kfaz.js} +116 -116
- package/components/CasinoSearchNd-tkeQa-4D.cjs +1 -0
- package/components/{CasinoSort-gHx_6Htf.js → CasinoSort-BsnJnnBd.js} +105 -104
- package/components/CasinoSort-C5B5VrQK.cjs +1 -0
- package/components/{CasinoSort-ChNfSlPO.js → CasinoSort-DTg6GMDm.js} +106 -107
- package/components/{CasinoWinners-CQd0AWVY.js → CasinoWinners-9UUZl0zW.js} +88 -89
- package/components/{CasinoWinners-CJLTqoB5.js → CasinoWinners-HHekahwS.js} +86 -87
- package/components/CasinoWinners-l7SjMLq0.cjs +1 -0
- package/components/{GeneralAnimationLoading-khf0HKjf.js → GeneralAnimationLoading-BpIMzIUb.js} +23 -23
- package/components/GeneralAnimationLoading-BrpKZCf6.cjs +1 -0
- package/components/{GeneralAnimationLoading-DrJIjWen.js → GeneralAnimationLoading-DoHKm0vp.js} +22 -22
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +7 -7
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/casino-calendar-BQRTF7DC.js +16 -0
- package/lazy/casino-calendar-DB45ET5Y.js +16 -0
- package/lazy/{casino-calendar-daily-details-Bs78gyMV.js → casino-calendar-daily-details-B3jG_5mi.js} +1 -1
- package/lazy/{casino-calendar-daily-details-DgAlT_Jk.cjs → casino-calendar-daily-details-CKXIPC61.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-DbdU0n9_.js → casino-calendar-daily-details-fOo4pKjF.js} +1 -1
- package/lazy/{casino-calendar-daily-item-UAvUvm5x.cjs → casino-calendar-daily-item-B8FmTb3F.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-BZGfz8IW.js → casino-calendar-daily-item-DmJBggBQ.js} +1 -1
- package/lazy/{casino-calendar-daily-item-BzQVDuqP.js → casino-calendar-daily-item-yhApzywX.js} +1 -1
- package/lazy/casino-calendar-rFYhy_Rl.cjs +1 -0
- package/lazy/{casino-collections-providers-__jGk8Bi.js → casino-collections-providers-BlhsWNQs.js} +1 -1
- package/lazy/{casino-collections-providers-DEpXDWUW.cjs → casino-collections-providers-CQ-LhgQh.cjs} +1 -1
- package/lazy/{casino-collections-providers-DHPnDwqI.js → casino-collections-providers-Dzem7JVX.js} +1 -1
- package/lazy/{casino-favorites-section-nd-DTHR_WoG.js → casino-favorites-section-nd-DDvn91GT.js} +1 -1
- package/lazy/{casino-favorites-section-nd-C6rFw4hJ.js → casino-favorites-section-nd-DoV8dzTW.js} +1 -1
- package/lazy/{casino-favorites-section-nd--WmlZh9C.cjs → casino-favorites-section-nd-HqHu0HXh.cjs} +1 -1
- package/lazy/{casino-filter-D_OJZ711.cjs → casino-filter-Bg9zWxnh.cjs} +1 -1
- package/lazy/{casino-filter-sujGI1Sw.js → casino-filter-DWdpcqGK.js} +1 -1
- package/lazy/{casino-filter-947plBW0.js → casino-filter-DZSIuJ8Z.js} +1 -1
- package/lazy/casino-game-thumbnail-nd-B4bWjPVs.js +16 -0
- package/lazy/casino-game-thumbnail-nd-BKZQlZH2.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CLvJa_O7.js +16 -0
- package/lazy/{casino-calendar-W25gPujL.js → casino-games-category-section-nd-Chv9dRqL.js} +2 -2
- package/lazy/{casino-calendar-BQ3kWu0l.js → casino-games-category-section-nd-DTurm4m5.js} +2 -2
- package/lazy/{casino-calendar-C-GiLu3p.cjs → casino-games-category-section-nd-avQYtfSL.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-C6PN_r6L.js → casino-jackpot-banner-DK2dZVQ4.js} +1 -1
- package/lazy/{casino-jackpot-banner-aWzFMQtT.cjs → casino-jackpot-banner-Dgw_f8Kx.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-CUQV4cSc.js → casino-jackpot-banner-sjsSpjbL.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BPs_q57i.js → casino-last-played-section-nd-B8RCGi5D.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Z1Eqkg-W.js → casino-last-played-section-nd-BzPSdKqZ.js} +1 -1
- package/lazy/{casino-last-played-section-nd-DrB-yi_x.cjs → casino-last-played-section-nd-DMzSMctM.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-vNEsmYNv.js → casino-most-played-section-nd-BW_W-IY8.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CsO2-tH-.cjs → casino-most-played-section-nd-DxVaDgWi.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-UW_M18NT.js → casino-most-played-section-nd-MVRS6dcI.js} +1 -1
- package/lazy/{casino-my-games-nd-wnfXxA4K.js → casino-my-games-nd-BOMVCSi5.js} +1 -1
- package/lazy/{casino-my-games-nd-BgkBJ625.cjs → casino-my-games-nd-G5Q2qOzF.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DsN_8Hh5.js → casino-my-games-nd-_lXUBvel.js} +1 -1
- package/lazy/{casino-play-random-game-DtfZNoGc.js → casino-play-random-game-BWZurtgT.js} +1 -1
- package/lazy/{casino-play-random-game-BwP_PyGn.js → casino-play-random-game-CFCxse5b.js} +1 -1
- package/lazy/{casino-play-random-game-B_ZqJC9O.cjs → casino-play-random-game-pwqgQVLV.cjs} +1 -1
- package/lazy/{casino-random-game-C8MfHXaa.js → casino-random-game-BEz7yTkT.js} +1 -1
- package/lazy/{casino-random-game-DFRc-OVf.js → casino-random-game-BcGWBzT2.js} +1 -1
- package/lazy/{casino-random-game-eOSEDGdT.cjs → casino-random-game-hBRg0fFp.cjs} +1 -1
- package/lazy/{casino-search-nd-DK7NClj7.js → casino-search-nd-BREKygXT.js} +1 -1
- package/lazy/{casino-search-nd-0h3RFpG5.js → casino-search-nd-W95Lk6BP.js} +1 -1
- package/lazy/{casino-search-nd-B4IMeGRL.cjs → casino-search-nd-a6cCkhdf.cjs} +1 -1
- package/lazy/{casino-sort-DnvZL0xh.cjs → casino-sort-CIdKBJtJ.cjs} +1 -1
- package/lazy/{casino-sort-DHWqDjlb.js → casino-sort-Co9nWF48.js} +1 -1
- package/lazy/{casino-sort-DCo8rI3E.js → casino-sort-DRc59Y-x.js} +1 -1
- package/lazy/{casino-winners-CNIy3lxn.js → casino-winners-Bs8a8MNm.js} +1 -1
- package/lazy/{casino-winners-D-kl8Pt9.cjs → casino-winners-DCjacxAF.cjs} +1 -1
- package/lazy/{casino-winners-wudr0jE1.js → casino-winners-DuIhnL7J.js} +1 -1
- package/lazy/{general-animation-loading-BEnsNW2g.js → general-animation-loading-BCRRr9R1.js} +1 -1
- package/lazy/{general-animation-loading-D03DfjDc.cjs → general-animation-loading-BN__VtW2.cjs} +1 -1
- package/lazy/{general-animation-loading-B3lvSOkP.js → general-animation-loading-BsaF5Ej3.js} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-lwEwVdAM.js → casino-play-random-game-BOPRTiwD.js} +2 -2
- package/stencil/{casino-play-random-game-DyQoGWi6.cjs → casino-play-random-game-CoPqwq78.cjs} +1 -1
- package/stencil/{casino-play-random-game-ViBhO659.js → casino-play-random-game-yO-x2QjR.js} +2 -2
- package/stencil/{casino-play-random-game_2-CDiEK5Rt.js → casino-play-random-game_2-BxaCgNIB.js} +92 -64
- package/stencil/{casino-play-random-game_2-C4f-74R0.js → casino-play-random-game_2-CIEKYYQF.js} +91 -64
- package/stencil/{casino-play-random-game_2-C64foLSL.cjs → casino-play-random-game_2-DXgBuAeq.cjs} +3 -3
- package/components/CasinoCalendar-BELrT2lA.js +0 -5071
- package/components/CasinoCalendar-BpwU4Nrb.js +0 -5110
- package/components/CasinoCalendar-DrrajltR.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-lmz3Ug1c.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DmRnSMf5.cjs +0 -1
- package/components/CasinoCollectionsProviders-C5rH3HrT.cjs +0 -1
- package/components/CasinoFavoritesSectionNd-BELSdOTJ.cjs +0 -1
- package/components/CasinoFilter-BkWQ4KgW.cjs +0 -1
- package/components/CasinoGameThumbnailNd-BR1mn9ZI.js +0 -3121
- package/components/CasinoGameThumbnailNd-CuVwgwvD.js +0 -3105
- package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BdsjIQ7s.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-K7o3qVk7.js +0 -3292
- package/components/CasinoGamesCategorySectionNd-hFAHZgTC.js +0 -3325
- package/components/CasinoJackpotBanner-DKGuifD8.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-BnKRy68b.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-6Hm3k1kM.cjs +0 -1
- package/components/CasinoMyGamesNd-y1vPuFt-.cjs +0 -1
- package/components/CasinoPageNd-BBi0HzpA.js +0 -4364
- package/components/CasinoPageNd-D5mGix6W.cjs +0 -1
- package/components/CasinoPageNd-DSKsK40E.js +0 -4345
- package/components/CasinoRandomGame-BqszKIRI.cjs +0 -2
- package/components/CasinoSearchNd-BONwYpjU.cjs +0 -1
- package/components/CasinoSort-D9yqS_K_.cjs +0 -1
- package/components/CasinoWinners-BNaYIdgc.cjs +0 -1
- package/components/GeneralAnimationLoading-dlrAfGeC.cjs +0 -1
- package/lazy/casino-game-thumbnail-nd-C6m6nRiR.js +0 -16
- package/lazy/casino-game-thumbnail-nd-C_3atSCn.cjs +0 -1
- package/lazy/casino-game-thumbnail-nd-TwbY9jp9.js +0 -16
- package/lazy/casino-games-category-section-nd-B5EKRtdm.cjs +0 -1
- package/lazy/casino-games-category-section-nd-CS53a63I.js +0 -16
- package/lazy/casino-games-category-section-nd-Dcf6QgfF.js +0 -16
|
@@ -5,26 +5,26 @@ var H = (a, e, t) => new Promise((n, l) => {
|
|
|
5
5
|
} catch (f) {
|
|
6
6
|
l(f);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, c = (g) => {
|
|
9
9
|
try {
|
|
10
10
|
p(t.throw(g));
|
|
11
11
|
} catch (f) {
|
|
12
12
|
l(f);
|
|
13
13
|
}
|
|
14
|
-
}, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r,
|
|
14
|
+
}, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, c);
|
|
15
15
|
p((t = t.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as
|
|
17
|
+
import { $ as E, K as _e, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, L as O, M as P, N as Me, O as Fe, c as k, q as h, D as J, e as w, r as C, g as u, h as Ce, j as Le, P as Se, Q as Te, R as We, T as je, u as Ne, l as Y, n as Be, E as K, v as L, w as S, U as Ie, x as Q, B as ze, C as X, V as Pe, F as Je, G as Ae, H as De, I as He, J as Ee } from "./CasinoPageNd-V8GTyc-d.js";
|
|
18
18
|
function Oe({ withLocale: a, translations: e }) {
|
|
19
|
-
|
|
20
|
-
t == null && (
|
|
19
|
+
E.subscribe((t) => {
|
|
20
|
+
t == null && (_e.set(e), E.set(a));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function Z(a, e) {
|
|
24
|
+
Ge(a, e);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function Ue(a) {
|
|
27
|
+
E.set(a);
|
|
28
28
|
}
|
|
29
29
|
const $ = {
|
|
30
30
|
en: {
|
|
@@ -100,78 +100,78 @@ const $ = {
|
|
|
100
100
|
noGames: "There are no random games to play"
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
-
function
|
|
104
|
-
|
|
103
|
+
function Ve(a) {
|
|
104
|
+
ve(a, "svelte-kfgfhx", "*,*::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}.CasinoPlayRandomGameWrapper{min-height:0}.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, #22B04E));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{margin:5px 0;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, #22B04E));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, #22B04E));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}");
|
|
105
105
|
}
|
|
106
106
|
function ee(a, e, t) {
|
|
107
107
|
const n = a.slice();
|
|
108
108
|
return n[41] = e[t], n;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const qe = (a) => ({}), te = (a) => ({});
|
|
111
111
|
function ae(a) {
|
|
112
|
-
let e, t, n, l, r,
|
|
112
|
+
let e, t, n, l, r, c, p;
|
|
113
113
|
const g = (
|
|
114
114
|
/*#slots*/
|
|
115
115
|
a[23].close
|
|
116
|
-
), f =
|
|
116
|
+
), f = Se(
|
|
117
117
|
g,
|
|
118
118
|
a,
|
|
119
119
|
/*$$scope*/
|
|
120
120
|
a[22],
|
|
121
121
|
te
|
|
122
|
-
), o = f ||
|
|
122
|
+
), o = f || Ye();
|
|
123
123
|
function _(s, b) {
|
|
124
124
|
return (
|
|
125
125
|
/*hasRandomGames*/
|
|
126
|
-
s[7] ?
|
|
126
|
+
s[7] ? Qe : Ke
|
|
127
127
|
);
|
|
128
128
|
}
|
|
129
|
-
let m = _(a),
|
|
129
|
+
let m = _(a), d = m(a);
|
|
130
130
|
return {
|
|
131
131
|
c() {
|
|
132
|
-
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(),
|
|
132
|
+
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
133
133
|
},
|
|
134
134
|
m(s, b) {
|
|
135
|
-
k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l),
|
|
135
|
+
k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), r = !0, c || (p = J(
|
|
136
136
|
n,
|
|
137
137
|
"click",
|
|
138
138
|
/*closeModal*/
|
|
139
139
|
a[12]
|
|
140
|
-
),
|
|
140
|
+
), c = !0);
|
|
141
141
|
},
|
|
142
142
|
p(s, b) {
|
|
143
143
|
f && f.p && (!r || b[0] & /*$$scope*/
|
|
144
|
-
4194304) &&
|
|
144
|
+
4194304) && Te(
|
|
145
145
|
f,
|
|
146
146
|
g,
|
|
147
147
|
s,
|
|
148
148
|
/*$$scope*/
|
|
149
149
|
s[22],
|
|
150
|
-
r ?
|
|
150
|
+
r ? je(
|
|
151
151
|
g,
|
|
152
152
|
/*$$scope*/
|
|
153
153
|
s[22],
|
|
154
154
|
b,
|
|
155
|
-
|
|
155
|
+
qe
|
|
156
156
|
) : We(
|
|
157
157
|
/*$$scope*/
|
|
158
158
|
s[22]
|
|
159
159
|
),
|
|
160
160
|
te
|
|
161
|
-
), m === (m = _(s)) &&
|
|
161
|
+
), m === (m = _(s)) && d ? d.p(s, b) : (d.d(1), d = m(s), d && (d.c(), d.m(t, null)));
|
|
162
162
|
},
|
|
163
163
|
i(s) {
|
|
164
164
|
r || (P(o, s), r = !0);
|
|
165
165
|
},
|
|
166
166
|
o(s) {
|
|
167
|
-
|
|
167
|
+
O(o, s), r = !1;
|
|
168
168
|
},
|
|
169
169
|
d(s) {
|
|
170
|
-
s && x(e), o && o.d(s),
|
|
170
|
+
s && x(e), o && o.d(s), d.d(), c = !1, p();
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ye(a) {
|
|
175
175
|
let e, t;
|
|
176
176
|
return {
|
|
177
177
|
c() {
|
|
@@ -180,13 +180,13 @@ function qe(a) {
|
|
|
180
180
|
m(n, l) {
|
|
181
181
|
k(n, e, l), h(e, t);
|
|
182
182
|
},
|
|
183
|
-
p:
|
|
183
|
+
p: Be,
|
|
184
184
|
d(n) {
|
|
185
185
|
n && x(e);
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ke(a) {
|
|
190
190
|
let e, t = (
|
|
191
191
|
/*$_*/
|
|
192
192
|
a[9]("noGames") + ""
|
|
@@ -208,13 +208,13 @@ function Ye(a) {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
function
|
|
212
|
-
let e, t, n, l, r =
|
|
211
|
+
function Qe(a) {
|
|
212
|
+
let e, t, n, l, r = Q(
|
|
213
213
|
/*gamesToShow*/
|
|
214
214
|
a[4]
|
|
215
|
-
),
|
|
215
|
+
), c = [];
|
|
216
216
|
for (let o = 0; o < r.length; o += 1)
|
|
217
|
-
|
|
217
|
+
c[o] = ne(ee(a, r, o));
|
|
218
218
|
function p(o, _) {
|
|
219
219
|
return (
|
|
220
220
|
/*animationDone*/
|
|
@@ -225,54 +225,54 @@ function Ke(a) {
|
|
|
225
225
|
return {
|
|
226
226
|
c() {
|
|
227
227
|
e = w("div"), t = w("main"), n = w("div");
|
|
228
|
-
for (let o = 0; o <
|
|
229
|
-
|
|
228
|
+
for (let o = 0; o < c.length; o += 1)
|
|
229
|
+
c[o].c();
|
|
230
230
|
l = C(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
231
231
|
},
|
|
232
232
|
m(o, _) {
|
|
233
233
|
k(o, e, _), h(e, t), h(t, n);
|
|
234
|
-
for (let m = 0; m <
|
|
235
|
-
|
|
234
|
+
for (let m = 0; m < c.length; m += 1)
|
|
235
|
+
c[m] && c[m].m(n, null);
|
|
236
236
|
a[24](n), h(e, l), f.m(e, null);
|
|
237
237
|
},
|
|
238
238
|
p(o, _) {
|
|
239
239
|
if (_[0] & /*gamesToShow*/
|
|
240
240
|
16) {
|
|
241
|
-
r =
|
|
241
|
+
r = Q(
|
|
242
242
|
/*gamesToShow*/
|
|
243
243
|
o[4]
|
|
244
244
|
);
|
|
245
245
|
let m;
|
|
246
246
|
for (m = 0; m < r.length; m += 1) {
|
|
247
|
-
const
|
|
248
|
-
|
|
247
|
+
const d = ee(o, r, m);
|
|
248
|
+
c[m] ? c[m].p(d, _) : (c[m] = ne(d), c[m].c(), c[m].m(n, null));
|
|
249
249
|
}
|
|
250
|
-
for (; m <
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
for (; m < c.length; m += 1)
|
|
251
|
+
c[m].d(1);
|
|
252
|
+
c.length = r.length;
|
|
253
253
|
}
|
|
254
254
|
g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
|
|
255
255
|
},
|
|
256
256
|
d(o) {
|
|
257
|
-
o && x(e), ze(
|
|
257
|
+
o && x(e), ze(c, o), a[24](null), f.d();
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
function ne(a) {
|
|
262
|
-
let e, t, n, l, r,
|
|
262
|
+
let e, t, n, l, r, c;
|
|
263
263
|
return {
|
|
264
264
|
c() {
|
|
265
|
-
e = w("div"), t = w("img"),
|
|
265
|
+
e = w("div"), t = w("img"), c = C(), u(t, "class", "RandomGameImage"), X(t.src, n = /*game*/
|
|
266
266
|
a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
|
|
267
267
|
a[41].name), u(t, "title", r = /*game*/
|
|
268
268
|
a[41].name), u(e, "class", "item");
|
|
269
269
|
},
|
|
270
270
|
m(p, g) {
|
|
271
|
-
k(p, e, g), h(e, t), h(e,
|
|
271
|
+
k(p, e, g), h(e, t), h(e, c);
|
|
272
272
|
},
|
|
273
273
|
p(p, g) {
|
|
274
274
|
g[0] & /*gamesToShow*/
|
|
275
|
-
16 && !
|
|
275
|
+
16 && !X(t.src, n = /*game*/
|
|
276
276
|
p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
|
|
277
277
|
16 && l !== (l = /*game*/
|
|
278
278
|
p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
|
|
@@ -310,20 +310,20 @@ function Ze(a) {
|
|
|
310
310
|
let e, t, n, l, r = (
|
|
311
311
|
/*randomGame*/
|
|
312
312
|
a[3].name + ""
|
|
313
|
-
),
|
|
313
|
+
), c, p, g, f = (
|
|
314
314
|
/*randomGame*/
|
|
315
315
|
a[3].vendor.name + ""
|
|
316
|
-
), o, _, m,
|
|
316
|
+
), o, _, m, d = (
|
|
317
317
|
/*$_*/
|
|
318
318
|
a[9]("playNowRandomGame") + ""
|
|
319
|
-
), s, b,
|
|
319
|
+
), s, b, T;
|
|
320
320
|
return {
|
|
321
321
|
c() {
|
|
322
322
|
e = w("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));}
|
|
323
|
-
</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 = w("div"), l = w("p"),
|
|
323
|
+
</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 = w("div"), l = w("p"), c = S(r), p = C(), g = w("p"), o = S(f), _ = C(), m = w("button"), s = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
324
324
|
},
|
|
325
325
|
m(R, G) {
|
|
326
|
-
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l,
|
|
326
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, p), h(n, g), h(g, o), h(n, _), h(n, m), h(m, s), b || (T = [
|
|
327
327
|
J(
|
|
328
328
|
e,
|
|
329
329
|
"click",
|
|
@@ -341,18 +341,18 @@ function Ze(a) {
|
|
|
341
341
|
p(R, G) {
|
|
342
342
|
G[0] & /*randomGame*/
|
|
343
343
|
8 && r !== (r = /*randomGame*/
|
|
344
|
-
R[3].name + "") && L(
|
|
344
|
+
R[3].name + "") && L(c, r), G[0] & /*randomGame*/
|
|
345
345
|
8 && f !== (f = /*randomGame*/
|
|
346
346
|
R[3].vendor.name + "") && L(o, f), G[0] & /*$_*/
|
|
347
|
-
512 &&
|
|
348
|
-
R[9]("playNowRandomGame") + "") && L(s,
|
|
347
|
+
512 && d !== (d = /*$_*/
|
|
348
|
+
R[9]("playNowRandomGame") + "") && L(s, d);
|
|
349
349
|
},
|
|
350
350
|
d(R) {
|
|
351
|
-
R && (x(e), x(t), x(n)), b = !1,
|
|
351
|
+
R && (x(e), x(t), x(n)), b = !1, Pe(T);
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function $e(a) {
|
|
356
356
|
let e, t = (
|
|
357
357
|
/*$_*/
|
|
358
358
|
a[9]("playRandomGame") + ""
|
|
@@ -374,7 +374,7 @@ function Qe(a) {
|
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function et(a) {
|
|
378
378
|
let e, t;
|
|
379
379
|
return {
|
|
380
380
|
c() {
|
|
@@ -399,8 +399,8 @@ function $e(a) {
|
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
let e, t, n, l, r,
|
|
402
|
+
function tt(a) {
|
|
403
|
+
let e, t, n, l, r, c, p, g, f, o = (
|
|
404
404
|
/*show*/
|
|
405
405
|
a[5] && ae(a)
|
|
406
406
|
);
|
|
@@ -409,18 +409,18 @@ function et(a) {
|
|
|
409
409
|
/*buttontext*/
|
|
410
410
|
s[1]
|
|
411
411
|
)
|
|
412
|
-
return
|
|
412
|
+
return et;
|
|
413
413
|
if (!/*buttontext*/
|
|
414
414
|
s[1])
|
|
415
|
-
return
|
|
415
|
+
return $e;
|
|
416
416
|
}
|
|
417
|
-
let m = _(a),
|
|
417
|
+
let m = _(a), d = m && m(a);
|
|
418
418
|
return {
|
|
419
419
|
c() {
|
|
420
|
-
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"),
|
|
420
|
+
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"), d && d.c(), r = C(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
421
421
|
},
|
|
422
422
|
m(s, b) {
|
|
423
|
-
k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l),
|
|
423
|
+
k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, r), h(l, c), c.innerHTML = /*randombuttonicon*/
|
|
424
424
|
a[0], a[28](e), p = !0, g || (f = J(
|
|
425
425
|
l,
|
|
426
426
|
"click",
|
|
@@ -431,69 +431,69 @@ function et(a) {
|
|
|
431
431
|
p(s, b) {
|
|
432
432
|
/*show*/
|
|
433
433
|
s[5] ? o ? (o.p(s, b), b[0] & /*show*/
|
|
434
|
-
32 && P(o, 1)) : (o = ae(s), o.c(), P(o, 1), o.m(e, t)) : o && (
|
|
434
|
+
32 && P(o, 1)) : (o = ae(s), o.c(), P(o, 1), o.m(e, t)) : o && (Me(), O(o, 1, 1, () => {
|
|
435
435
|
o = null;
|
|
436
|
-
}),
|
|
437
|
-
1) && (
|
|
436
|
+
}), Fe()), m === (m = _(s)) && d ? d.p(s, b) : (d && d.d(1), d = m && m(s), d && (d.c(), d.m(l, r))), (!p || b[0] & /*randombuttonicon*/
|
|
437
|
+
1) && (c.innerHTML = /*randombuttonicon*/
|
|
438
438
|
s[0]);
|
|
439
439
|
},
|
|
440
440
|
i(s) {
|
|
441
441
|
p || (P(o), p = !0);
|
|
442
442
|
},
|
|
443
443
|
o(s) {
|
|
444
|
-
|
|
444
|
+
O(o), p = !1;
|
|
445
445
|
},
|
|
446
446
|
d(s) {
|
|
447
|
-
s && x(e), o && o.d(),
|
|
447
|
+
s && x(e), o && o.d(), d && d.d(), a[28](null), g = !1, f();
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function at(a, e, t) {
|
|
452
452
|
let n;
|
|
453
|
-
|
|
454
|
-
let { $$slots: l = {}, $$scope: r } = e, { endpoint:
|
|
453
|
+
Ce(a, Ee, (i) => t(9, n = i));
|
|
454
|
+
let { $$slots: l = {}, $$scope: r } = e, { endpoint: c = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: T } = e, R = [], G = "", W, N = !1, A = !1, I = !1, oe = window.navigator.userAgent, M, j, U, z, le, V = null;
|
|
455
455
|
Oe({ withLocale: "en", translations: {} });
|
|
456
|
-
const
|
|
456
|
+
const ie = () => {
|
|
457
457
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
458
458
|
Object.keys(y).forEach((F) => {
|
|
459
|
-
|
|
459
|
+
Z(F, y[F]);
|
|
460
460
|
});
|
|
461
461
|
}).catch((y) => {
|
|
462
462
|
console.log(y);
|
|
463
463
|
});
|
|
464
464
|
};
|
|
465
465
|
Object.keys($).forEach((i) => {
|
|
466
|
-
|
|
466
|
+
Z(i, $[i]);
|
|
467
467
|
});
|
|
468
|
-
const
|
|
469
|
-
let i = new URL(`${
|
|
470
|
-
i.searchParams.append("platform",
|
|
471
|
-
R = y.items, R.length ? (t(4,
|
|
468
|
+
const re = () => {
|
|
469
|
+
let i = new URL(`${c}/v1/casino/games`);
|
|
470
|
+
i.searchParams.append("platform", Ne(oe)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
|
|
471
|
+
R = y.items, R.length ? (t(4, W = se(R.slice(0, 19))), t(7, I = !0)) : (t(4, W = []), t(7, I = !1));
|
|
472
472
|
}).catch((y) => {
|
|
473
|
-
console.log(y), t(7,
|
|
473
|
+
console.log(y), t(7, I = !1);
|
|
474
474
|
});
|
|
475
|
-
},
|
|
476
|
-
const y =
|
|
475
|
+
}, se = (i) => {
|
|
476
|
+
const y = ce(i);
|
|
477
477
|
return y.concat(y);
|
|
478
|
-
},
|
|
479
|
-
yield
|
|
478
|
+
}, me = () => H(this, null, function* () {
|
|
479
|
+
yield Ie(), z = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[z]), U = j.children[z];
|
|
480
480
|
}), D = () => H(this, null, function* () {
|
|
481
|
-
t(6, A = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield
|
|
482
|
-
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (U.offsetHeight + y) *
|
|
481
|
+
t(6, A = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield me();
|
|
482
|
+
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (U.offsetHeight + y) * z, be = [
|
|
483
483
|
{ transform: "translateX(0px)" },
|
|
484
484
|
{ filter: "blur(5px)" },
|
|
485
485
|
{
|
|
486
486
|
transform: `translateY(-${B}px)`
|
|
487
487
|
}
|
|
488
|
-
],
|
|
488
|
+
], we = {
|
|
489
489
|
duration: 2e3,
|
|
490
490
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
491
491
|
fill: "forwards"
|
|
492
492
|
};
|
|
493
|
-
V = j.animate(
|
|
493
|
+
V = j.animate(be, we), V.onfinish = () => {
|
|
494
494
|
t(6, A = !0);
|
|
495
495
|
};
|
|
496
|
-
}),
|
|
496
|
+
}), ce = (i) => {
|
|
497
497
|
const y = structuredClone(i);
|
|
498
498
|
let F = y.length, B;
|
|
499
499
|
for (; F != 0; )
|
|
@@ -512,72 +512,72 @@ function tt(a, e, t) {
|
|
|
512
512
|
});
|
|
513
513
|
}, de = () => {
|
|
514
514
|
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
515
|
-
},
|
|
516
|
-
|
|
515
|
+
}, ue = () => {
|
|
516
|
+
Ue(f);
|
|
517
517
|
};
|
|
518
|
-
|
|
518
|
+
Le(() => () => {
|
|
519
519
|
});
|
|
520
|
-
function
|
|
520
|
+
function ge(i) {
|
|
521
521
|
Y[i ? "unshift" : "push"](() => {
|
|
522
522
|
j = i, t(8, j);
|
|
523
523
|
});
|
|
524
524
|
}
|
|
525
|
-
const
|
|
526
|
-
function
|
|
525
|
+
const fe = () => D(), pe = () => q(), he = () => D();
|
|
526
|
+
function ye(i) {
|
|
527
527
|
Y[i ? "unshift" : "push"](() => {
|
|
528
528
|
M = i, t(2, M);
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
531
|
return a.$$set = (i) => {
|
|
532
|
-
"endpoint" in i && t(13,
|
|
532
|
+
"endpoint" in i && t(13, c = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, d = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, T = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
|
|
533
533
|
}, a.$$.update = () => {
|
|
534
534
|
a.$$.dirty[0] & /*lang*/
|
|
535
|
-
65536 && f &&
|
|
536
|
-
131072 && m &&
|
|
537
|
-
24576 &&
|
|
538
|
-
262148 &&
|
|
539
|
-
524292 && s && M &&
|
|
540
|
-
2097156 && M &&
|
|
535
|
+
65536 && f && ue(), a.$$.dirty[0] & /*translationurl*/
|
|
536
|
+
131072 && m && ie(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
537
|
+
24576 && c && p && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
538
|
+
262148 && d && M && Je(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
539
|
+
524292 && s && M && Ae(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
540
|
+
2097156 && M && De(M, `${T}.Style`, le);
|
|
541
541
|
}, [
|
|
542
542
|
o,
|
|
543
543
|
_,
|
|
544
544
|
M,
|
|
545
545
|
G,
|
|
546
|
-
|
|
546
|
+
W,
|
|
547
547
|
N,
|
|
548
548
|
A,
|
|
549
|
-
|
|
549
|
+
I,
|
|
550
550
|
j,
|
|
551
551
|
n,
|
|
552
552
|
D,
|
|
553
553
|
q,
|
|
554
554
|
de,
|
|
555
|
-
|
|
555
|
+
c,
|
|
556
556
|
p,
|
|
557
557
|
g,
|
|
558
558
|
f,
|
|
559
559
|
m,
|
|
560
|
-
|
|
560
|
+
d,
|
|
561
561
|
s,
|
|
562
562
|
b,
|
|
563
|
-
|
|
563
|
+
T,
|
|
564
564
|
r,
|
|
565
565
|
l,
|
|
566
|
-
ue,
|
|
567
566
|
ge,
|
|
568
567
|
fe,
|
|
569
568
|
pe,
|
|
570
|
-
he
|
|
569
|
+
he,
|
|
570
|
+
ye
|
|
571
571
|
];
|
|
572
572
|
}
|
|
573
|
-
class
|
|
573
|
+
class nt extends Re {
|
|
574
574
|
constructor(e) {
|
|
575
|
-
super(),
|
|
575
|
+
super(), xe(
|
|
576
576
|
this,
|
|
577
577
|
e,
|
|
578
|
+
at,
|
|
578
579
|
tt,
|
|
579
|
-
|
|
580
|
-
xe,
|
|
580
|
+
ke,
|
|
581
581
|
{
|
|
582
582
|
endpoint: 13,
|
|
583
583
|
datasource: 14,
|
|
@@ -591,7 +591,7 @@ class at extends Ge {
|
|
|
591
591
|
filteredrandomgamecategories: 20,
|
|
592
592
|
mbsource: 21
|
|
593
593
|
},
|
|
594
|
-
|
|
594
|
+
Ve,
|
|
595
595
|
[-1, -1]
|
|
596
596
|
);
|
|
597
597
|
}
|
|
@@ -662,7 +662,7 @@ class at extends Ge {
|
|
|
662
662
|
this.$$set({ mbsource: e }), v();
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
|
|
665
|
+
He(nt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
666
666
|
export {
|
|
667
|
-
|
|
667
|
+
nt as default
|
|
668
668
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var W=(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("./CasinoPageNd-DF8VWpzm.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 I={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-kfgfhx","*,*::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}.CasinoPlayRandomGameWrapper{min-height:0}.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, #22B04E));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{margin:5px 0;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, #22B04E));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, #22B04E));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 P(n,t,a){const o=n.slice();return o[41]=t[a],o}const se=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),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]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,se):e.get_all_dirty_from_scope(d[22]),J),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(P(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[24](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=P(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[24](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(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),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[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(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]&&A(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")},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[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=A(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[28](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,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,C=!1,O=window.navigator.userAgent,G,v,j,L,E,N=null;le({withLocale:"en",translations:{}});const q=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const U=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),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=>{w=h.items,w.length?(a(4,k=V(w.slice(0,19))),a(7,C=!0)):(a(4,k=[]),a(7,C=!1))}).catch(h=>{console.log(h),a(7,C=!1)})},V=i=>{const h=X(i);return h.concat(h)},Y=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield Y();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,F=(j.offsetHeight+h)*L,ne=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${F}px)`}],oe={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ne,oe),N.onfinish=()=>{a(6,S=!0)}}),X=i=>{const h=structuredClone(i);let x=h.length,F;for(;x!=0;)F=Math.floor(Math.random()*x),x--,[h[x],h[F]]=[h[F],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},Z=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},K=()=>{re(g)};e.onMount(()=>()=>{});function Q(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const $=()=>T(),ee=()=>B(),te=()=>T();function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}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),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&K(),n.$$.dirty[0]&131072&&m&&q(),n.$$.dirty[0]&24576&&c&&f&&U(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`,E)},[l,_,G,b,k,M,S,C,v,o,T,B,Z,c,f,p,g,m,u,d,y,R,s,r,Q,$,ee,te,ae]}class H 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,mbsource:21},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()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
|