@everymatrix/casino-lobby-nd 1.91.0 → 1.91.2
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-BwneImQ1.js → CasinoCalendar-BPcMFgNd.js} +3 -3
- package/components/{CasinoCalendar-CPc_nGFU.cjs → CasinoCalendar-CZ6SqVud.cjs} +1 -1
- package/components/{CasinoCalendar-pFR1UiyW.js → CasinoCalendar-CqO4AIsB.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-Dl2lCHc6.js → CasinoCalendarDailyDetails-42lNyJrs.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-UkrKgqvW.js → CasinoCalendarDailyDetails-D8kLpNMV.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-DohJWzpS.cjs → CasinoCalendarDailyDetails-DhfYVv2D.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-ByGqz6lG.js → CasinoCalendarDailyItem-CB1JuK9H.js} +1 -1
- package/components/{CasinoCalendarDailyItem-csUg0xk3.cjs → CasinoCalendarDailyItem-DfgXeMcF.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DkAOp2kO.js → CasinoCalendarDailyItem-uenjc0DK.js} +1 -1
- package/components/CasinoCategoriesSliderNd-BjKlZ7yV.js +667 -0
- package/components/CasinoCategoriesSliderNd-Dsph6Hxw.cjs +1 -0
- package/components/{CasinoCategoriesSliderNd-L-fJRvBT.js → CasinoCategoriesSliderNd-v73jZ75J.js} +175 -150
- package/components/{CasinoCollectionsProviders-olNTznO8.js → CasinoCollectionsProviders-BkucxKca.js} +1 -1
- package/components/{CasinoCollectionsProviders-CEdwngKT.cjs → CasinoCollectionsProviders-dk7p2ttr.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-DFr7fT4X.js → CasinoCollectionsProviders-j40pwO7K.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-DKwDsLRo.cjs → CasinoFavoritesSectionNd-BEbCn4QR.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-D0BE5ylC.js → CasinoFavoritesSectionNd-CbtIdUHT.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CPLGK1h8.js → CasinoFavoritesSectionNd-loMpT_s2.js} +2 -2
- package/components/{CasinoFilter-SxxgItLU.js → CasinoFilter-BSYfKnfu.js} +1 -1
- package/components/{CasinoFilter-6tLD_n0v.cjs → CasinoFilter-BwW9UM-g.cjs} +1 -1
- package/components/{CasinoFilter-Br5RRO7T.js → CasinoFilter-CClun-th.js} +1 -1
- package/components/{CasinoGameThumbnailNd-CWwE6yTn.cjs → CasinoGameThumbnailNd-5fAr7awv.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-DVXyq_bj.js → CasinoGameThumbnailNd-CaW65T18.js} +3 -3
- package/components/{CasinoGameThumbnailNd-D4ztOQVz.js → CasinoGameThumbnailNd-Vwi3_peb.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-CQSUwBfm.js → CasinoGamesCategorySectionNd-BHd3EAum.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-BYwf0ZzC.js → CasinoGamesCategorySectionNd-CQ_uM3H6.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-CznZuil1.cjs → CasinoGamesCategorySectionNd-DzrIbaWO.cjs} +1 -1
- package/components/{CasinoJackpotBanner-BREbIw3K.cjs → CasinoJackpotBanner-BpASYMlO.cjs} +1 -1
- package/components/{CasinoJackpotBanner-aYEy4Kyl.js → CasinoJackpotBanner-CZX0DIgG.js} +1 -1
- package/components/{CasinoJackpotBanner-mAt4lKU-.js → CasinoJackpotBanner-rA9YRxri.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-BRD4bqwg.js → CasinoLastPlayedSectionNd-7Y4PA8oA.js} +3 -3
- package/components/{CasinoLastPlayedSectionNd-Dh-uKa19.cjs → CasinoLastPlayedSectionNd-B4QZN568.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-ClujrUqA.js → CasinoLastPlayedSectionNd-CTYNtNPX.js} +3 -3
- package/components/{CasinoLobbyNd-DxldwI_g.js → CasinoLobbyNd-8wmWQuuM.js} +2 -2
- package/components/{CasinoLobbyNd-C_9G9_g5.cjs → CasinoLobbyNd-ByfltJlD.cjs} +1 -1
- package/components/{CasinoLobbyNd-bbR93r1z.js → CasinoLobbyNd-XZW290tF.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-CEoHKdml.js → CasinoMostPlayedSectionNd-B-1vTpOO.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-CxyY4Lf6.js → CasinoMostPlayedSectionNd-D0Q9cdUl.js} +3 -3
- package/components/{CasinoMostPlayedSectionNd-CCZDqJ-V.cjs → CasinoMostPlayedSectionNd-qX46o9qu.cjs} +1 -1
- package/components/{CasinoMyGamesNd-BJ95nvHG.cjs → CasinoMyGamesNd-BnQztCVN.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Ccb7r6z9.js → CasinoMyGamesNd-CzvJgQD9.js} +5 -5
- package/components/{CasinoMyGamesNd-B2oh92d3.js → CasinoMyGamesNd-DtOi0CM8.js} +5 -5
- package/components/{CasinoPageNd-Bhy-0sYf.js → CasinoPageNd-DcffI7-B.js} +381 -378
- package/components/{CasinoPageNd-DC68SkdX.js → CasinoPageNd-_q4-sNdL.js} +366 -363
- package/components/{CasinoPageNd-B_P13DSW.cjs → CasinoPageNd-ihFBeiP3.cjs} +1 -1
- package/components/{CasinoRandomGame-CH-eukMA.js → CasinoRandomGame-B_CduD9L.js} +1 -1
- package/components/{CasinoRandomGame-VtthH6fZ.cjs → CasinoRandomGame-CizKh9L_.cjs} +1 -1
- package/components/{CasinoRandomGame-xS7vlZYb.js → CasinoRandomGame-xOlt8fJf.js} +1 -1
- package/components/{CasinoSearchNd-DfBSL_NV.cjs → CasinoSearchNd-CJfURNmQ.cjs} +1 -1
- package/components/{CasinoSearchNd-av9rdeoE.js → CasinoSearchNd-CmGHZRNS.js} +4 -4
- package/components/{CasinoSearchNd-CY-xf4b7.js → CasinoSearchNd-NUQEWJ3V.js} +4 -4
- package/components/CasinoSliderNd-DCRB6r1D.cjs +1 -0
- package/components/CasinoSliderNd-Y8zK0g8N.js +1251 -0
- package/components/CasinoSliderNd-ittiGYeQ.js +1285 -0
- package/components/{CasinoSort-B0_2kCnL.cjs → CasinoSort-DHfTc4o2.cjs} +1 -1
- package/components/{CasinoSort-CLnj8P9G.js → CasinoSort-DSS6l9wT.js} +1 -1
- package/components/{CasinoSort-C1X1akxl.js → CasinoSort-VrXH8BFj.js} +1 -1
- package/components/{CasinoWinners-C1u2KsQJ.js → CasinoWinners-BnE4z2W-.js} +3 -3
- package/components/{CasinoWinners-DJQLnW-d.js → CasinoWinners-D9j1Xnpc.js} +3 -3
- package/components/{CasinoWinners-DsC_LMLf.cjs → CasinoWinners-qLK9YUoI.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BBEJjc5H.js → GeneralAnimationLoading-CA-H6SgS.js} +1 -1
- package/components/{GeneralAnimationLoading-Ct_wY7ZB.cjs → GeneralAnimationLoading-DKQF2gOQ.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CQp4jtm8.js → GeneralAnimationLoading-lvt_3Hec.js} +1 -1
- package/es2015/casino-lobby-nd.cjs +1 -1
- package/es2015/casino-lobby-nd.js +1 -1
- package/esnext/casino-lobby-nd.js +1 -1
- package/lazy/{casino-calendar-CYFgtit5.js → casino-calendar-Cd5zyNax.js} +1 -1
- package/lazy/{casino-calendar-Bd0aUcnv.cjs → casino-calendar-Om4TEXwY.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-ChbVeHo8.cjs → casino-calendar-daily-details-BmbriwCq.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-MGEm6LI6.js → casino-calendar-daily-details-BmoaC8uF.js} +1 -1
- package/lazy/{casino-calendar-daily-details-BOY0JVdX.js → casino-calendar-daily-details-CMS4cbCl.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CisuEzga.cjs → casino-calendar-daily-item-8ldGaO65.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-S0mPBhPv.js → casino-calendar-daily-item-BDoY6vMQ.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DHG1BwW2.js → casino-calendar-daily-item-BaopCnFD.js} +1 -1
- package/lazy/{casino-calendar-Cwn_6u7d.js → casino-calendar-lvx4QAud.js} +1 -1
- package/lazy/{casino-categories-slider-nd-Bve57ebZ.js → casino-categories-slider-nd-CGgejOwS.js} +1 -1
- package/lazy/{casino-categories-slider-nd-D2OP9T4q.js → casino-categories-slider-nd-DzdUH17J.js} +1 -1
- package/lazy/{casino-categories-slider-nd-C1NxkCyw.cjs → casino-categories-slider-nd-UkxUJxsa.cjs} +1 -1
- package/lazy/{casino-collections-providers-Dm3pbO8O.js → casino-collections-providers-CgqFcebj.js} +1 -1
- package/lazy/{casino-collections-providers-B69TwWUd.js → casino-collections-providers-PSYMINnA.js} +1 -1
- package/lazy/{casino-collections-providers-C7wJns3B.cjs → casino-collections-providers-SFPT-wjH.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-DFdZuP0B.js → casino-favorites-section-nd-B1zsSvdo.js} +1 -1
- package/lazy/{casino-favorites-section-nd-FnYsmsja.js → casino-favorites-section-nd-BTMU_7cg.js} +1 -1
- package/lazy/{casino-favorites-section-nd-BMTqWiP6.cjs → casino-favorites-section-nd-CMqPG8sI.cjs} +1 -1
- package/lazy/{casino-filter-fvQuljTB.cjs → casino-filter-BaeANekd.cjs} +1 -1
- package/lazy/{casino-filter-CxKYjz8d.js → casino-filter-BewvnsvO.js} +1 -1
- package/lazy/{casino-filter-CAcBvtFH.js → casino-filter-D9IyVCPI.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DZjv9Ur1.js → casino-game-thumbnail-nd-Biqcos9Z.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-Bk97vWXT.cjs → casino-game-thumbnail-nd-CaI17XbG.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DGUYSZL5.js → casino-game-thumbnail-nd-CfejtZN7.js} +1 -1
- package/lazy/{casino-games-category-section-nd-CtSKk9pk.cjs → casino-games-category-section-nd-Bfp3mOj_.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-f9EkLQe8.js → casino-games-category-section-nd-CHBK_XW1.js} +1 -1
- package/lazy/{casino-games-category-section-nd-AoBtBdFG.js → casino-games-category-section-nd-Debx7Z32.js} +1 -1
- package/lazy/{casino-jackpot-banner-DmTqMIqr.js → casino-jackpot-banner-2JuJ9x3T.js} +1 -1
- package/lazy/{casino-jackpot-banner-BaZzUj4y.js → casino-jackpot-banner-Cc8O_qbp.js} +1 -1
- package/lazy/{casino-jackpot-banner-C46y-l3p.cjs → casino-jackpot-banner-DGTsgO7k.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-PyOsinBF.cjs → casino-last-played-section-nd-D6DQTEAn.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-CNXE869m.js → casino-last-played-section-nd-DRfmKdzq.js} +1 -1
- package/lazy/{casino-last-played-section-nd-D0CwP5on.js → casino-last-played-section-nd-vrzSlc45.js} +1 -1
- package/lazy/{casino-most-played-section-nd-qAn5qtFJ.js → casino-most-played-section-nd-BkPE8FVS.js} +1 -1
- package/lazy/{casino-most-played-section-nd-m8oWcvAX.js → casino-most-played-section-nd-C4gjKxri.js} +1 -1
- package/lazy/{casino-most-played-section-nd-DAe_Aop7.cjs → casino-most-played-section-nd-D_NnW1VJ.cjs} +1 -1
- package/lazy/{casino-my-games-nd-Rud_7CaP.cjs → casino-my-games-nd-8M8JnazH.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DtG96vEH.js → casino-my-games-nd-BWOGwd4Y.js} +1 -1
- package/lazy/{casino-my-games-nd-JlXF7Yqj.js → casino-my-games-nd-CoSnUh5P.js} +1 -1
- package/lazy/{casino-page-nd-BLD1yykk.js → casino-page-nd-C6lgTU4j.js} +1 -1
- package/lazy/{casino-page-nd-D_3V2g9k.cjs → casino-page-nd-CzQMoUsW.cjs} +1 -1
- package/lazy/{casino-page-nd-B0UeOHdZ.js → casino-page-nd-DgOGPr7B.js} +1 -1
- package/lazy/{casino-random-game-D0t_lWsf.cjs → casino-random-game-C4cBxYFF.cjs} +1 -1
- package/lazy/{casino-random-game-Di_1JYAA.js → casino-random-game-CTc1dtR9.js} +1 -1
- package/lazy/{casino-random-game-DEUBCvfL.js → casino-random-game-CilaaT6o.js} +1 -1
- package/lazy/{casino-search-nd-aINujef6.cjs → casino-search-nd-BxRPu318.cjs} +1 -1
- package/lazy/{casino-search-nd-4ETz-9KT.js → casino-search-nd-CeWW8s23.js} +1 -1
- package/lazy/{casino-search-nd-CZeOfvJM.js → casino-search-nd-IJkshl1_.js} +1 -1
- package/lazy/{casino-slider-nd-DR9YVN6H.cjs → casino-slider-nd--A3HsaGh.cjs} +1 -1
- package/lazy/{casino-slider-nd-CG2E0B6P.js → casino-slider-nd-4WmDb_Lv.js} +1 -1
- package/lazy/{casino-slider-nd-B2XkQQZX.js → casino-slider-nd-D-2v2VvS.js} +1 -1
- package/lazy/{casino-sort-zvE8Kmt7.cjs → casino-sort-Dls_qYMV.cjs} +1 -1
- package/lazy/{casino-sort-BbRWquG9.js → casino-sort-dwbN73ru.js} +1 -1
- package/lazy/{casino-sort-DL9cNYB9.js → casino-sort-lHt0tT7R.js} +1 -1
- package/lazy/{casino-winners-DaW2OCUA.cjs → casino-winners-BbwiVhmT.cjs} +1 -1
- package/lazy/{casino-winners-8jD44L9m.js → casino-winners-DET-WDs0.js} +1 -1
- package/lazy/{casino-winners-CRNp9Lln.js → casino-winners-Di2HfkLT.js} +1 -1
- package/lazy/{general-animation-loading-JrvTTH8W.js → general-animation-loading-BZ3KRZMG.js} +1 -1
- package/lazy/{general-animation-loading-VpVgJjyZ.cjs → general-animation-loading-Bcy_MaDJ.cjs} +1 -1
- package/lazy/{general-animation-loading-XRTnl_1h.js → general-animation-loading-CIF0GqX1.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSliderNd-CZnT_tZ8.cjs +0 -1
- package/components/CasinoCategoriesSliderNd-saQRkCiz.js +0 -613
- package/components/CasinoSliderNd-C4HgSY3d.js +0 -1101
- package/components/CasinoSliderNd-Cl9HlK-D.js +0 -1082
- package/components/CasinoSliderNd-OVONYmzK.cjs +0 -1
|
@@ -0,0 +1,667 @@
|
|
|
1
|
+
var Te = Object.defineProperty, Ae = Object.defineProperties;
|
|
2
|
+
var qe = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ue = Object.getOwnPropertySymbols;
|
|
4
|
+
var je = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ge = (i, e, t) => e in i ? Te(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, S = (i, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
je.call(e, t) && ge(i, t, e[t]);
|
|
8
|
+
if (ue)
|
|
9
|
+
for (var t of ue(e))
|
|
10
|
+
Fe.call(e, t) && ge(i, t, e[t]);
|
|
11
|
+
return i;
|
|
12
|
+
}, C = (i, e) => Ae(i, qe(e));
|
|
13
|
+
import { a as Pe, S as ze, i as Ee, s as Oe, f as l, b as Be, n as D, d as R, c as U, e as T, g as I, h as De, o as Re, j as Ue, k as Ie, l as o, m as He, p as Ye, q as xe, r as We, t as Je, u as Ke, $ as Qe } from "./CasinoLobbyNd-8wmWQuuM.js";
|
|
14
|
+
import "../lazy/casino-slider-nd-D-2v2VvS.js";
|
|
15
|
+
function Ve(i, e) {
|
|
16
|
+
Pe(i, e);
|
|
17
|
+
}
|
|
18
|
+
const Xe = {
|
|
19
|
+
en: {
|
|
20
|
+
lobbyName: "Lobby",
|
|
21
|
+
myGamesName: "My games"
|
|
22
|
+
},
|
|
23
|
+
de: {
|
|
24
|
+
lobbyName: "Lobby",
|
|
25
|
+
myGamesName: "My games"
|
|
26
|
+
},
|
|
27
|
+
es: {
|
|
28
|
+
lobbyName: "Sala",
|
|
29
|
+
myGamesName: "Mis juegos"
|
|
30
|
+
},
|
|
31
|
+
"zh-hk": {
|
|
32
|
+
lobbyName: "Lobby",
|
|
33
|
+
myGamesName: "My games"
|
|
34
|
+
},
|
|
35
|
+
it: {
|
|
36
|
+
lobbyName: "Lobby",
|
|
37
|
+
myGamesName: "My games"
|
|
38
|
+
},
|
|
39
|
+
fr: {
|
|
40
|
+
lobbyName: "Lobby",
|
|
41
|
+
myGamesName: "My games"
|
|
42
|
+
},
|
|
43
|
+
tr: {
|
|
44
|
+
lobbyName: "Lobi",
|
|
45
|
+
myGamesName: "Oyunlarım"
|
|
46
|
+
},
|
|
47
|
+
ru: {
|
|
48
|
+
lobbyName: "Lobby",
|
|
49
|
+
myGamesName: "My games"
|
|
50
|
+
},
|
|
51
|
+
ro: {
|
|
52
|
+
lobbyName: "Lobby",
|
|
53
|
+
myGamesName: "My games"
|
|
54
|
+
},
|
|
55
|
+
hr: {
|
|
56
|
+
lobbyName: "Lobby",
|
|
57
|
+
myGamesName: "Moje igre"
|
|
58
|
+
},
|
|
59
|
+
hu: {
|
|
60
|
+
lobbyName: "Lobby",
|
|
61
|
+
myGamesName: "My games"
|
|
62
|
+
},
|
|
63
|
+
pl: {
|
|
64
|
+
lobbyName: "Lobby",
|
|
65
|
+
myGamesName: "My games"
|
|
66
|
+
},
|
|
67
|
+
pt: {
|
|
68
|
+
lobbyName: "Lobby",
|
|
69
|
+
myGamesName: "My games"
|
|
70
|
+
},
|
|
71
|
+
sl: {
|
|
72
|
+
lobbyName: "Lobby",
|
|
73
|
+
myGamesName: "My games"
|
|
74
|
+
},
|
|
75
|
+
sr: {
|
|
76
|
+
lobbyName: "Lobby",
|
|
77
|
+
myGamesName: "My games"
|
|
78
|
+
},
|
|
79
|
+
"pt-br": {
|
|
80
|
+
lobbyName: "Lobby",
|
|
81
|
+
myGamesName: "Meus jogos"
|
|
82
|
+
},
|
|
83
|
+
"es-mx": {
|
|
84
|
+
lobbyName: "Lobby",
|
|
85
|
+
myGamesName: "Mis juegos"
|
|
86
|
+
},
|
|
87
|
+
"en-us": {
|
|
88
|
+
lobbyName: "Lobby",
|
|
89
|
+
myGamesName: "My games"
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
function Ze(i, e, t) {
|
|
93
|
+
return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
|
|
94
|
+
}
|
|
95
|
+
function pe(i) {
|
|
96
|
+
Be(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
97
|
+
}
|
|
98
|
+
function $e(i) {
|
|
99
|
+
let e, t;
|
|
100
|
+
return {
|
|
101
|
+
c() {
|
|
102
|
+
e = T("div"), t = T("casino-slider-nd"), o(
|
|
103
|
+
t,
|
|
104
|
+
"lang",
|
|
105
|
+
/*lang*/
|
|
106
|
+
i[3]
|
|
107
|
+
), o(
|
|
108
|
+
t,
|
|
109
|
+
"datasource",
|
|
110
|
+
/*datasource*/
|
|
111
|
+
i[2]
|
|
112
|
+
), o(
|
|
113
|
+
t,
|
|
114
|
+
"endpoint",
|
|
115
|
+
/*endpoint*/
|
|
116
|
+
i[1]
|
|
117
|
+
), o(t, "identity", K), o(
|
|
118
|
+
t,
|
|
119
|
+
"favoritesnumber",
|
|
120
|
+
/*numberOfFavoredGames*/
|
|
121
|
+
i[16]
|
|
122
|
+
), o(
|
|
123
|
+
t,
|
|
124
|
+
"showsubgroups",
|
|
125
|
+
/*showsubgroups*/
|
|
126
|
+
i[9]
|
|
127
|
+
), o(
|
|
128
|
+
t,
|
|
129
|
+
"clientstyling",
|
|
130
|
+
/*clientstyling*/
|
|
131
|
+
i[5]
|
|
132
|
+
), o(
|
|
133
|
+
t,
|
|
134
|
+
"clientstylingurl",
|
|
135
|
+
/*clientstylingurl*/
|
|
136
|
+
i[6]
|
|
137
|
+
), o(
|
|
138
|
+
t,
|
|
139
|
+
"initialactivecategory",
|
|
140
|
+
/*initialactivecategory*/
|
|
141
|
+
i[17]
|
|
142
|
+
), o(
|
|
143
|
+
t,
|
|
144
|
+
"activeindex",
|
|
145
|
+
/*activecategory*/
|
|
146
|
+
i[0]
|
|
147
|
+
), o(
|
|
148
|
+
t,
|
|
149
|
+
"actionevent",
|
|
150
|
+
/*actionevent*/
|
|
151
|
+
i[7]
|
|
152
|
+
), o(
|
|
153
|
+
t,
|
|
154
|
+
"location",
|
|
155
|
+
/*location*/
|
|
156
|
+
i[8]
|
|
157
|
+
), o(
|
|
158
|
+
t,
|
|
159
|
+
"categoriesicon",
|
|
160
|
+
/*categoriesicon*/
|
|
161
|
+
i[10]
|
|
162
|
+
), o(
|
|
163
|
+
t,
|
|
164
|
+
"lobbyiconimage",
|
|
165
|
+
/*lobbyiconimage*/
|
|
166
|
+
i[11]
|
|
167
|
+
), o(
|
|
168
|
+
t,
|
|
169
|
+
"mygamesiconimage",
|
|
170
|
+
/*mygamesiconimage*/
|
|
171
|
+
i[12]
|
|
172
|
+
), o(
|
|
173
|
+
t,
|
|
174
|
+
"mbsource",
|
|
175
|
+
/*mbsource*/
|
|
176
|
+
i[4]
|
|
177
|
+
), o(t, "class", "svelte-ciaihq"), I(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
178
|
+
},
|
|
179
|
+
m(n, a) {
|
|
180
|
+
U(n, e, a), He(e, t);
|
|
181
|
+
},
|
|
182
|
+
p(n, a) {
|
|
183
|
+
a[0] & /*lang*/
|
|
184
|
+
8 && o(
|
|
185
|
+
t,
|
|
186
|
+
"lang",
|
|
187
|
+
/*lang*/
|
|
188
|
+
n[3]
|
|
189
|
+
), a[0] & /*datasource*/
|
|
190
|
+
4 && o(
|
|
191
|
+
t,
|
|
192
|
+
"datasource",
|
|
193
|
+
/*datasource*/
|
|
194
|
+
n[2]
|
|
195
|
+
), a[0] & /*endpoint*/
|
|
196
|
+
2 && o(
|
|
197
|
+
t,
|
|
198
|
+
"endpoint",
|
|
199
|
+
/*endpoint*/
|
|
200
|
+
n[1]
|
|
201
|
+
), a[0] & /*numberOfFavoredGames*/
|
|
202
|
+
65536 && o(
|
|
203
|
+
t,
|
|
204
|
+
"favoritesnumber",
|
|
205
|
+
/*numberOfFavoredGames*/
|
|
206
|
+
n[16]
|
|
207
|
+
), a[0] & /*showsubgroups*/
|
|
208
|
+
512 && o(
|
|
209
|
+
t,
|
|
210
|
+
"showsubgroups",
|
|
211
|
+
/*showsubgroups*/
|
|
212
|
+
n[9]
|
|
213
|
+
), a[0] & /*clientstyling*/
|
|
214
|
+
32 && o(
|
|
215
|
+
t,
|
|
216
|
+
"clientstyling",
|
|
217
|
+
/*clientstyling*/
|
|
218
|
+
n[5]
|
|
219
|
+
), a[0] & /*clientstylingurl*/
|
|
220
|
+
64 && o(
|
|
221
|
+
t,
|
|
222
|
+
"clientstylingurl",
|
|
223
|
+
/*clientstylingurl*/
|
|
224
|
+
n[6]
|
|
225
|
+
), a[0] & /*activecategory*/
|
|
226
|
+
1 && o(
|
|
227
|
+
t,
|
|
228
|
+
"activeindex",
|
|
229
|
+
/*activecategory*/
|
|
230
|
+
n[0]
|
|
231
|
+
), a[0] & /*actionevent*/
|
|
232
|
+
128 && o(
|
|
233
|
+
t,
|
|
234
|
+
"actionevent",
|
|
235
|
+
/*actionevent*/
|
|
236
|
+
n[7]
|
|
237
|
+
), a[0] & /*location*/
|
|
238
|
+
256 && o(
|
|
239
|
+
t,
|
|
240
|
+
"location",
|
|
241
|
+
/*location*/
|
|
242
|
+
n[8]
|
|
243
|
+
), a[0] & /*categoriesicon*/
|
|
244
|
+
1024 && o(
|
|
245
|
+
t,
|
|
246
|
+
"categoriesicon",
|
|
247
|
+
/*categoriesicon*/
|
|
248
|
+
n[10]
|
|
249
|
+
), a[0] & /*lobbyiconimage*/
|
|
250
|
+
2048 && o(
|
|
251
|
+
t,
|
|
252
|
+
"lobbyiconimage",
|
|
253
|
+
/*lobbyiconimage*/
|
|
254
|
+
n[11]
|
|
255
|
+
), a[0] & /*mygamesiconimage*/
|
|
256
|
+
4096 && o(
|
|
257
|
+
t,
|
|
258
|
+
"mygamesiconimage",
|
|
259
|
+
/*mygamesiconimage*/
|
|
260
|
+
n[12]
|
|
261
|
+
), a[0] & /*mbsource*/
|
|
262
|
+
16 && o(
|
|
263
|
+
t,
|
|
264
|
+
"mbsource",
|
|
265
|
+
/*mbsource*/
|
|
266
|
+
n[4]
|
|
267
|
+
);
|
|
268
|
+
},
|
|
269
|
+
d(n) {
|
|
270
|
+
n && R(e);
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
function et(i) {
|
|
275
|
+
let e;
|
|
276
|
+
return {
|
|
277
|
+
c() {
|
|
278
|
+
e = T("p"), e.textContent = "500 Error - Internal Server Error.", I(e, "class", "SearchLoading svelte-ciaihq");
|
|
279
|
+
},
|
|
280
|
+
m(t, n) {
|
|
281
|
+
U(t, e, n);
|
|
282
|
+
},
|
|
283
|
+
p: D,
|
|
284
|
+
d(t) {
|
|
285
|
+
t && R(e);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
function tt(i) {
|
|
290
|
+
let e;
|
|
291
|
+
return {
|
|
292
|
+
c() {
|
|
293
|
+
e = T("div"), I(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
|
|
294
|
+
},
|
|
295
|
+
m(t, n) {
|
|
296
|
+
U(t, e, n);
|
|
297
|
+
},
|
|
298
|
+
p: D,
|
|
299
|
+
d(t) {
|
|
300
|
+
t && R(e);
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
function st(i) {
|
|
305
|
+
let e;
|
|
306
|
+
function t(m, g) {
|
|
307
|
+
return (
|
|
308
|
+
/*isLoading*/
|
|
309
|
+
m[13] || it || at ? tt : (
|
|
310
|
+
/*hasErrors*/
|
|
311
|
+
m[15] ? et : $e
|
|
312
|
+
)
|
|
313
|
+
);
|
|
314
|
+
}
|
|
315
|
+
let n = t(i), a = n(i);
|
|
316
|
+
return {
|
|
317
|
+
c() {
|
|
318
|
+
e = T("div"), a.c(), I(e, "class", "svelte-ciaihq");
|
|
319
|
+
},
|
|
320
|
+
m(m, g) {
|
|
321
|
+
U(m, e, g), a.m(e, null), i[28](e);
|
|
322
|
+
},
|
|
323
|
+
p(m, g) {
|
|
324
|
+
n === (n = t(m)) && a ? a.p(m, g) : (a.d(1), a = n(m), a && (a.c(), a.m(e, null)));
|
|
325
|
+
},
|
|
326
|
+
i: D,
|
|
327
|
+
o: D,
|
|
328
|
+
d(m) {
|
|
329
|
+
m && R(e), a.d(), i[28](null);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
let K = "CasinoSliderData", it = !1, at = !1;
|
|
334
|
+
function nt(i, e, t) {
|
|
335
|
+
let n;
|
|
336
|
+
De(i, Qe, (s) => t(34, n = s));
|
|
337
|
+
let { endpoint: a = "" } = e, { datasource: m = "" } = e, { lang: g = "" } = e, { userid: Q = "" } = e, { session: A = "" } = e, { mostplayed: q = "" } = e, { lastplayed: j = "false" } = e, { favorites: F = "" } = e, { mbsource: _ } = e, { clientstyling: P = "" } = e, { clientstylingurl: z = "" } = e, { activecategory: b = "" } = e, { actionevent: V = "" } = e, { sessioncheck: X = "" } = e, { location: Z = "secondaryMenu" } = e, { showsubgroups: H = "false" } = e, { filteredcategories: E = "" } = e, { translationurl: k = "" } = e, { categoriesicon: p = "" } = e, { lobbyiconimage: $ = "" } = e, { mygamesiconimage: ee = "" } = e, { customizecategoryicon: Y = "false" } = e, te, se, h = !0, L, v = [], d = !1, be = window.navigator.userAgent, y, fe, he, ie, ae = !1, x = !1, de = b;
|
|
338
|
+
const W = (s) => {
|
|
339
|
+
Object.keys(s).forEach((c) => {
|
|
340
|
+
Ve(c, s[c]);
|
|
341
|
+
});
|
|
342
|
+
}, Ne = () => {
|
|
343
|
+
fetch(k).then((c) => c.json()).then((c) => {
|
|
344
|
+
W(c);
|
|
345
|
+
}).catch((c) => {
|
|
346
|
+
console.log(c);
|
|
347
|
+
});
|
|
348
|
+
};
|
|
349
|
+
W(Xe);
|
|
350
|
+
const Ge = () => {
|
|
351
|
+
ae == !1 && (F == "true" || q == "true" || j == "true") && v.splice(1, 0, {
|
|
352
|
+
// @ts-ignore
|
|
353
|
+
id: "MYGAMES",
|
|
354
|
+
name: te,
|
|
355
|
+
href: "",
|
|
356
|
+
games: []
|
|
357
|
+
}), Ke(), ae = !0, t(27, x = !0), J();
|
|
358
|
+
}, _e = () => (a || (L = "Endpoint is missing! Please provide a valid endpointURL.", t(15, d = !0), t(13, h = !1), console.error(L)), m || (L = "Datasource is missing! Please provide a valid datasource.", t(15, d = !0), t(13, h = !1), console.error(L)), (!g || g.length < 2) && (L = "Language is missing! Please provide a valid language (alpha2code)", t(15, d = !0), t(13, h = !1), console.error(L)), d), Le = (s) => {
|
|
359
|
+
var c;
|
|
360
|
+
return ((c = s == null ? void 0 : s.gamesTotal) != null ? c : 0) > 0;
|
|
361
|
+
}, ve = (s) => {
|
|
362
|
+
var c;
|
|
363
|
+
return Array.isArray((c = s == null ? void 0 : s.subGroups) == null ? void 0 : c.items) && s.subGroups.items.some((u) => {
|
|
364
|
+
var N;
|
|
365
|
+
return ((N = u == null ? void 0 : u.gamesTotal) != null ? N : 0) > 0;
|
|
366
|
+
});
|
|
367
|
+
}, Me = (s) => Le(s) || ve(s), Se = (s) => {
|
|
368
|
+
var N, O;
|
|
369
|
+
const c = (O = (N = s == null ? void 0 : s.subGroups) == null ? void 0 : N.items) != null ? O : null;
|
|
370
|
+
if (!Array.isArray(c))
|
|
371
|
+
return s;
|
|
372
|
+
const u = c.filter((w) => {
|
|
373
|
+
var f;
|
|
374
|
+
return ((f = w == null ? void 0 : w.gamesTotal) != null ? f : 0) > 0;
|
|
375
|
+
});
|
|
376
|
+
return u.length === c.length ? s : C(S({}, s), {
|
|
377
|
+
subGroups: C(S({}, s.subGroups), {
|
|
378
|
+
items: u,
|
|
379
|
+
count: u.length,
|
|
380
|
+
total: u.length
|
|
381
|
+
})
|
|
382
|
+
});
|
|
383
|
+
}, Ce = () => {
|
|
384
|
+
if (te = n("myGamesName"), se = n("lobbyName"), !_e()) {
|
|
385
|
+
let s = new URL(`${a}/v2/casino/groups/${m}`);
|
|
386
|
+
s.searchParams.append("language", g), s.searchParams.append("platform", Ue(be));
|
|
387
|
+
let c = "id,name,games(href),flags";
|
|
388
|
+
Y === "true" && (c += ",icon"), s.searchParams.append("fields", c), fetch(s).then((u) => u.json()).then(
|
|
389
|
+
(u) => {
|
|
390
|
+
const N = new Set(E ? E.split(",").map((r) => r.trim()).filter(Boolean) : []), O = (r) => r ? Array.isArray(r) ? r : [r] : [], w = (r) => !O(r.flags).some((B) => N.has(B));
|
|
391
|
+
let f = u.items.filter(w).map((r) => {
|
|
392
|
+
var M, B, oe, re;
|
|
393
|
+
return C(S({}, r), {
|
|
394
|
+
gamesTotal: (oe = (B = (M = r == null ? void 0 : r.games) == null ? void 0 : M.total) != null ? B : r == null ? void 0 : r.gamesTotal) != null ? oe : 0,
|
|
395
|
+
subGroups: r != null && r.subGroups ? C(S({}, r.subGroups), {
|
|
396
|
+
items: ((re = r.subGroups.items) != null ? re : []).map((G) => {
|
|
397
|
+
var le, ce, me;
|
|
398
|
+
return C(S({}, G), {
|
|
399
|
+
gamesTotal: (me = (ce = (le = G == null ? void 0 : G.games) == null ? void 0 : le.total) != null ? ce : G == null ? void 0 : G.gamesTotal) != null ? me : 0
|
|
400
|
+
});
|
|
401
|
+
})
|
|
402
|
+
}) : void 0
|
|
403
|
+
});
|
|
404
|
+
});
|
|
405
|
+
H === "true" ? f = f.map(Se).filter(Me) : f = f.filter((r) => {
|
|
406
|
+
var M;
|
|
407
|
+
return ((M = r == null ? void 0 : r.gamesTotal) != null ? M : 0) > 0;
|
|
408
|
+
}), v = [], v = v.concat(f), v.unshift({
|
|
409
|
+
// @ts-ignore
|
|
410
|
+
id: "LOBBY",
|
|
411
|
+
name: se,
|
|
412
|
+
href: "",
|
|
413
|
+
games: []
|
|
414
|
+
}), J(), t(13, h = !1);
|
|
415
|
+
},
|
|
416
|
+
(u) => {
|
|
417
|
+
t(15, d = !0), console.error("There was an error while fetching the categories", u);
|
|
418
|
+
}
|
|
419
|
+
).catch((u) => {
|
|
420
|
+
t(15, d = !0), console.error("There was an error while fetching the categories", u);
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}, ke = () => {
|
|
424
|
+
let s = b.split("$");
|
|
425
|
+
t(0, b = s.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
426
|
+
}, J = () => {
|
|
427
|
+
window.postMessage(
|
|
428
|
+
{
|
|
429
|
+
type: "SliderData",
|
|
430
|
+
identity: K,
|
|
431
|
+
data: v
|
|
432
|
+
},
|
|
433
|
+
window.location.href
|
|
434
|
+
);
|
|
435
|
+
}, ne = (s) => {
|
|
436
|
+
s.data && s.data.type == "SliderMounted" && s.data.identity == K && J();
|
|
437
|
+
};
|
|
438
|
+
Re(() => (window.addEventListener("message", ne), () => {
|
|
439
|
+
window.removeEventListener("message", ne);
|
|
440
|
+
}));
|
|
441
|
+
function we(s) {
|
|
442
|
+
Ie[s ? "unshift" : "push"](() => {
|
|
443
|
+
y = s, t(14, y);
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
return i.$$set = (s) => {
|
|
447
|
+
"endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, m = s.datasource), "lang" in s && t(3, g = s.lang), "userid" in s && t(18, Q = s.userid), "session" in s && t(19, A = s.session), "mostplayed" in s && t(20, q = s.mostplayed), "lastplayed" in s && t(21, j = s.lastplayed), "favorites" in s && t(22, F = s.favorites), "mbsource" in s && t(4, _ = s.mbsource), "clientstyling" in s && t(5, P = s.clientstyling), "clientstylingurl" in s && t(6, z = s.clientstylingurl), "activecategory" in s && t(0, b = s.activecategory), "actionevent" in s && t(7, V = s.actionevent), "sessioncheck" in s && t(23, X = s.sessioncheck), "location" in s && t(8, Z = s.location), "showsubgroups" in s && t(9, H = s.showsubgroups), "filteredcategories" in s && t(24, E = s.filteredcategories), "translationurl" in s && t(25, k = s.translationurl), "categoriesicon" in s && t(10, p = s.categoriesicon), "lobbyiconimage" in s && t(11, $ = s.lobbyiconimage), "mygamesiconimage" in s && t(12, ee = s.mygamesiconimage), "customizecategoryicon" in s && t(26, Y = s.customizecategoryicon);
|
|
448
|
+
}, i.$$.update = () => {
|
|
449
|
+
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
450
|
+
14 && a && m && g && Ce(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
451
|
+
7872514 && a && A && (q || j || F) && !h && Ge(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
452
|
+
134750209 && !h && b && (!A || x) && ke(), i.$$.dirty[0] & /*translationurl*/
|
|
453
|
+
33554432 && k && Ne(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
454
|
+
16416 && P && y && Ye(y, P), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
455
|
+
16448 && z && y && xe(y, z), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
456
|
+
16400 && _ && y && We(y, `${_}.Style`, fe), i.$$.dirty[0] & /*mbsource, translationurl*/
|
|
457
|
+
33554448 && _ && !k && Ze(`${_}.Translation`, he, W);
|
|
458
|
+
}, t(16, ie = 0), [
|
|
459
|
+
b,
|
|
460
|
+
a,
|
|
461
|
+
m,
|
|
462
|
+
g,
|
|
463
|
+
_,
|
|
464
|
+
P,
|
|
465
|
+
z,
|
|
466
|
+
V,
|
|
467
|
+
Z,
|
|
468
|
+
H,
|
|
469
|
+
p,
|
|
470
|
+
$,
|
|
471
|
+
ee,
|
|
472
|
+
h,
|
|
473
|
+
y,
|
|
474
|
+
d,
|
|
475
|
+
ie,
|
|
476
|
+
de,
|
|
477
|
+
Q,
|
|
478
|
+
A,
|
|
479
|
+
q,
|
|
480
|
+
j,
|
|
481
|
+
F,
|
|
482
|
+
X,
|
|
483
|
+
E,
|
|
484
|
+
k,
|
|
485
|
+
Y,
|
|
486
|
+
x,
|
|
487
|
+
we
|
|
488
|
+
];
|
|
489
|
+
}
|
|
490
|
+
class ye extends ze {
|
|
491
|
+
constructor(e) {
|
|
492
|
+
super(), Ee(
|
|
493
|
+
this,
|
|
494
|
+
e,
|
|
495
|
+
nt,
|
|
496
|
+
st,
|
|
497
|
+
Oe,
|
|
498
|
+
{
|
|
499
|
+
endpoint: 1,
|
|
500
|
+
datasource: 2,
|
|
501
|
+
lang: 3,
|
|
502
|
+
userid: 18,
|
|
503
|
+
session: 19,
|
|
504
|
+
mostplayed: 20,
|
|
505
|
+
lastplayed: 21,
|
|
506
|
+
favorites: 22,
|
|
507
|
+
mbsource: 4,
|
|
508
|
+
clientstyling: 5,
|
|
509
|
+
clientstylingurl: 6,
|
|
510
|
+
activecategory: 0,
|
|
511
|
+
actionevent: 7,
|
|
512
|
+
sessioncheck: 23,
|
|
513
|
+
location: 8,
|
|
514
|
+
showsubgroups: 9,
|
|
515
|
+
filteredcategories: 24,
|
|
516
|
+
translationurl: 25,
|
|
517
|
+
categoriesicon: 10,
|
|
518
|
+
lobbyiconimage: 11,
|
|
519
|
+
mygamesiconimage: 12,
|
|
520
|
+
customizecategoryicon: 26
|
|
521
|
+
},
|
|
522
|
+
pe,
|
|
523
|
+
[-1, -1]
|
|
524
|
+
);
|
|
525
|
+
}
|
|
526
|
+
get endpoint() {
|
|
527
|
+
return this.$$.ctx[1];
|
|
528
|
+
}
|
|
529
|
+
set endpoint(e) {
|
|
530
|
+
this.$$set({ endpoint: e }), l();
|
|
531
|
+
}
|
|
532
|
+
get datasource() {
|
|
533
|
+
return this.$$.ctx[2];
|
|
534
|
+
}
|
|
535
|
+
set datasource(e) {
|
|
536
|
+
this.$$set({ datasource: e }), l();
|
|
537
|
+
}
|
|
538
|
+
get lang() {
|
|
539
|
+
return this.$$.ctx[3];
|
|
540
|
+
}
|
|
541
|
+
set lang(e) {
|
|
542
|
+
this.$$set({ lang: e }), l();
|
|
543
|
+
}
|
|
544
|
+
get userid() {
|
|
545
|
+
return this.$$.ctx[18];
|
|
546
|
+
}
|
|
547
|
+
set userid(e) {
|
|
548
|
+
this.$$set({ userid: e }), l();
|
|
549
|
+
}
|
|
550
|
+
get session() {
|
|
551
|
+
return this.$$.ctx[19];
|
|
552
|
+
}
|
|
553
|
+
set session(e) {
|
|
554
|
+
this.$$set({ session: e }), l();
|
|
555
|
+
}
|
|
556
|
+
get mostplayed() {
|
|
557
|
+
return this.$$.ctx[20];
|
|
558
|
+
}
|
|
559
|
+
set mostplayed(e) {
|
|
560
|
+
this.$$set({ mostplayed: e }), l();
|
|
561
|
+
}
|
|
562
|
+
get lastplayed() {
|
|
563
|
+
return this.$$.ctx[21];
|
|
564
|
+
}
|
|
565
|
+
set lastplayed(e) {
|
|
566
|
+
this.$$set({ lastplayed: e }), l();
|
|
567
|
+
}
|
|
568
|
+
get favorites() {
|
|
569
|
+
return this.$$.ctx[22];
|
|
570
|
+
}
|
|
571
|
+
set favorites(e) {
|
|
572
|
+
this.$$set({ favorites: e }), l();
|
|
573
|
+
}
|
|
574
|
+
get mbsource() {
|
|
575
|
+
return this.$$.ctx[4];
|
|
576
|
+
}
|
|
577
|
+
set mbsource(e) {
|
|
578
|
+
this.$$set({ mbsource: e }), l();
|
|
579
|
+
}
|
|
580
|
+
get clientstyling() {
|
|
581
|
+
return this.$$.ctx[5];
|
|
582
|
+
}
|
|
583
|
+
set clientstyling(e) {
|
|
584
|
+
this.$$set({ clientstyling: e }), l();
|
|
585
|
+
}
|
|
586
|
+
get clientstylingurl() {
|
|
587
|
+
return this.$$.ctx[6];
|
|
588
|
+
}
|
|
589
|
+
set clientstylingurl(e) {
|
|
590
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
591
|
+
}
|
|
592
|
+
get activecategory() {
|
|
593
|
+
return this.$$.ctx[0];
|
|
594
|
+
}
|
|
595
|
+
set activecategory(e) {
|
|
596
|
+
this.$$set({ activecategory: e }), l();
|
|
597
|
+
}
|
|
598
|
+
get actionevent() {
|
|
599
|
+
return this.$$.ctx[7];
|
|
600
|
+
}
|
|
601
|
+
set actionevent(e) {
|
|
602
|
+
this.$$set({ actionevent: e }), l();
|
|
603
|
+
}
|
|
604
|
+
get sessioncheck() {
|
|
605
|
+
return this.$$.ctx[23];
|
|
606
|
+
}
|
|
607
|
+
set sessioncheck(e) {
|
|
608
|
+
this.$$set({ sessioncheck: e }), l();
|
|
609
|
+
}
|
|
610
|
+
get location() {
|
|
611
|
+
return this.$$.ctx[8];
|
|
612
|
+
}
|
|
613
|
+
set location(e) {
|
|
614
|
+
this.$$set({ location: e }), l();
|
|
615
|
+
}
|
|
616
|
+
get showsubgroups() {
|
|
617
|
+
return this.$$.ctx[9];
|
|
618
|
+
}
|
|
619
|
+
set showsubgroups(e) {
|
|
620
|
+
this.$$set({ showsubgroups: e }), l();
|
|
621
|
+
}
|
|
622
|
+
get filteredcategories() {
|
|
623
|
+
return this.$$.ctx[24];
|
|
624
|
+
}
|
|
625
|
+
set filteredcategories(e) {
|
|
626
|
+
this.$$set({ filteredcategories: e }), l();
|
|
627
|
+
}
|
|
628
|
+
get translationurl() {
|
|
629
|
+
return this.$$.ctx[25];
|
|
630
|
+
}
|
|
631
|
+
set translationurl(e) {
|
|
632
|
+
this.$$set({ translationurl: e }), l();
|
|
633
|
+
}
|
|
634
|
+
get categoriesicon() {
|
|
635
|
+
return this.$$.ctx[10];
|
|
636
|
+
}
|
|
637
|
+
set categoriesicon(e) {
|
|
638
|
+
this.$$set({ categoriesicon: e }), l();
|
|
639
|
+
}
|
|
640
|
+
get lobbyiconimage() {
|
|
641
|
+
return this.$$.ctx[11];
|
|
642
|
+
}
|
|
643
|
+
set lobbyiconimage(e) {
|
|
644
|
+
this.$$set({ lobbyiconimage: e }), l();
|
|
645
|
+
}
|
|
646
|
+
get mygamesiconimage() {
|
|
647
|
+
return this.$$.ctx[12];
|
|
648
|
+
}
|
|
649
|
+
set mygamesiconimage(e) {
|
|
650
|
+
this.$$set({ mygamesiconimage: e }), l();
|
|
651
|
+
}
|
|
652
|
+
get customizecategoryicon() {
|
|
653
|
+
return this.$$.ctx[26];
|
|
654
|
+
}
|
|
655
|
+
set customizecategoryicon(e) {
|
|
656
|
+
this.$$set({ customizecategoryicon: e }), l();
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
Je(ye, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
|
|
660
|
+
const ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
661
|
+
__proto__: null,
|
|
662
|
+
default: ye
|
|
663
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
664
|
+
export {
|
|
665
|
+
ct as C,
|
|
666
|
+
Ze as g
|
|
667
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ve=Object.defineProperty,Me=Object.defineProperties;var Ce=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var oe=(a,e,t)=>e in a?ve(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,v=(a,e)=>{for(var t in e||(e={}))ke.call(e,t)&&oe(a,t,e[t]);if(ne)for(var t of ne(e))we.call(e,t)&&oe(a,t,e[t]);return a},M=(a,e)=>Me(a,Ce(e));const s=require("./CasinoLobbyNd-ByfltJlD.cjs");require("../lazy/casino-slider-nd--A3HsaGh.cjs");function Te(a,e){s.addMessages(a,e)}const Ae={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};function le(a,e,t){return window.emMessageBus&&(e=window.emMessageBus.subscribe(a,t)),e}function qe(a){s.append_styles(a,"svelte-ciaihq",".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}")}function Fe(a){let e,t;return{c(){e=s.element("div"),t=s.element("casino-slider-nd"),s.set_custom_element_data(t,"lang",a[3]),s.set_custom_element_data(t,"datasource",a[2]),s.set_custom_element_data(t,"endpoint",a[1]),s.set_custom_element_data(t,"identity",I),s.set_custom_element_data(t,"favoritesnumber",a[16]),s.set_custom_element_data(t,"showsubgroups",a[9]),s.set_custom_element_data(t,"clientstyling",a[5]),s.set_custom_element_data(t,"clientstylingurl",a[6]),s.set_custom_element_data(t,"initialactivecategory",a[17]),s.set_custom_element_data(t,"activeindex",a[0]),s.set_custom_element_data(t,"actionevent",a[7]),s.set_custom_element_data(t,"location",a[8]),s.set_custom_element_data(t,"categoriesicon",a[10]),s.set_custom_element_data(t,"lobbyiconimage",a[11]),s.set_custom_element_data(t,"mygamesiconimage",a[12]),s.set_custom_element_data(t,"mbsource",a[4]),s.set_custom_element_data(t,"class","svelte-ciaihq"),s.attr(e,"class","CasinoCategoriesContainer svelte-ciaihq")},m(o,n){s.insert(o,e,n),s.append(e,t)},p(o,n){n[0]&8&&s.set_custom_element_data(t,"lang",o[3]),n[0]&4&&s.set_custom_element_data(t,"datasource",o[2]),n[0]&2&&s.set_custom_element_data(t,"endpoint",o[1]),n[0]&65536&&s.set_custom_element_data(t,"favoritesnumber",o[16]),n[0]&512&&s.set_custom_element_data(t,"showsubgroups",o[9]),n[0]&32&&s.set_custom_element_data(t,"clientstyling",o[5]),n[0]&64&&s.set_custom_element_data(t,"clientstylingurl",o[6]),n[0]&1&&s.set_custom_element_data(t,"activeindex",o[0]),n[0]&128&&s.set_custom_element_data(t,"actionevent",o[7]),n[0]&256&&s.set_custom_element_data(t,"location",o[8]),n[0]&1024&&s.set_custom_element_data(t,"categoriesicon",o[10]),n[0]&2048&&s.set_custom_element_data(t,"lobbyiconimage",o[11]),n[0]&4096&&s.set_custom_element_data(t,"mygamesiconimage",o[12]),n[0]&16&&s.set_custom_element_data(t,"mbsource",o[4])},d(o){o&&s.detach(e)}}}function je(a){let e;return{c(){e=s.element("p"),e.textContent="500 Error - Internal Server Error.",s.attr(e,"class","SearchLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function Pe(a){let e;return{c(){e=s.element("div"),s.attr(e,"class","CasinoCategoriesLoading svelte-ciaihq")},m(t,o){s.insert(t,e,o)},p:s.noop,d(t){t&&s.detach(e)}}}function ze(a){let e;function t(m,u){return m[13]||Ee||Oe?Pe:m[15]?je:Fe}let o=t(a),n=o(a);return{c(){e=s.element("div"),n.c(),s.attr(e,"class","svelte-ciaihq")},m(m,u){s.insert(m,e,u),n.m(e,null),a[28](e)},p(m,u){o===(o=t(m))&&n?n.p(m,u):(n.d(1),n=o(m),n&&(n.c(),n.m(e,null)))},i:s.noop,o:s.noop,d(m){m&&s.detach(e),n.d(),a[28](null)}}}let I="CasinoSliderData",Ee=!1,Oe=!1;function Be(a,e,t){let o;s.component_subscribe(a,s.$format,i=>t(34,o=i));let{endpoint:n=""}=e,{datasource:m=""}=e,{lang:u=""}=e,{userid:H=""}=e,{session:w=""}=e,{mostplayed:T=""}=e,{lastplayed:A="false"}=e,{favorites:q=""}=e,{mbsource:N}=e,{clientstyling:F=""}=e,{clientstylingurl:j=""}=e,{activecategory:y=""}=e,{actionevent:Y=""}=e,{sessioncheck:W=""}=e,{location:x="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:P=""}=e,{translationurl:C=""}=e,{categoriesicon:J=""}=e,{lobbyiconimage:K=""}=e,{mygamesiconimage:Q=""}=e,{customizecategoryicon:B="false"}=e,V,X,f=!0,G,L=[],h=!1,me=window.navigator.userAgent,g,ce,ue,Z,p=!1,D=!1,ge=y;const R=i=>{Object.keys(i).forEach(r=>{Te(r,i[r])})},ye=()=>{fetch(C).then(r=>r.json()).then(r=>{R(r)}).catch(r=>{console.log(r)})};R(Ae);const de=()=>{p==!1&&(q=="true"||T=="true"||A=="true")&&L.splice(1,0,{id:"MYGAMES",name:V,href:"",games:[]}),s.tick(),p=!0,t(27,D=!0),U()},fe=()=>(n||(G="Endpoint is missing! Please provide a valid endpointURL.",t(15,h=!0),t(13,f=!1),console.error(G)),m||(G="Datasource is missing! Please provide a valid datasource.",t(15,h=!0),t(13,f=!1),console.error(G)),(!u||u.length<2)&&(G="Language is missing! Please provide a valid language (alpha2code)",t(15,h=!0),t(13,f=!1),console.error(G)),h),he=i=>{var r;return((r=i==null?void 0:i.gamesTotal)!=null?r:0)>0},be=i=>{var r;return Array.isArray((r=i==null?void 0:i.subGroups)==null?void 0:r.items)&&i.subGroups.items.some(c=>{var b;return((b=c==null?void 0:c.gamesTotal)!=null?b:0)>0})},_e=i=>he(i)||be(i),Ne=i=>{var b,z;const r=(z=(b=i==null?void 0:i.subGroups)==null?void 0:b.items)!=null?z:null;if(!Array.isArray(r))return i;const c=r.filter(k=>{var d;return((d=k==null?void 0:k.gamesTotal)!=null?d:0)>0});return c.length===r.length?i:M(v({},i),{subGroups:M(v({},i.subGroups),{items:c,count:c.length,total:c.length})})},Ge=()=>{if(V=o("myGamesName"),X=o("lobbyName"),!fe()){let i=new URL(`${n}/v2/casino/groups/${m}`);i.searchParams.append("language",u),i.searchParams.append("platform",s.getDevice(me));let r="id,name,games(href),flags";B==="true"&&(r+=",icon"),i.searchParams.append("fields",r),fetch(i).then(c=>c.json()).then(c=>{const b=new Set(P?P.split(",").map(l=>l.trim()).filter(Boolean):[]),z=l=>l?Array.isArray(l)?l:[l]:[],k=l=>!z(l.flags).some(E=>b.has(E));let d=c.items.filter(k).map(l=>{var S,E,ee,te;return M(v({},l),{gamesTotal:(ee=(E=(S=l==null?void 0:l.games)==null?void 0:S.total)!=null?E:l==null?void 0:l.gamesTotal)!=null?ee:0,subGroups:l!=null&&l.subGroups?M(v({},l.subGroups),{items:((te=l.subGroups.items)!=null?te:[]).map(_=>{var se,ie,ae;return M(v({},_),{gamesTotal:(ae=(ie=(se=_==null?void 0:_.games)==null?void 0:se.total)!=null?ie:_==null?void 0:_.gamesTotal)!=null?ae:0})})}):void 0})});O==="true"?d=d.map(Ne).filter(_e):d=d.filter(l=>{var S;return((S=l==null?void 0:l.gamesTotal)!=null?S:0)>0}),L=[],L=L.concat(d),L.unshift({id:"LOBBY",name:X,href:"",games:[]}),U(),t(13,f=!1)},c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{t(15,h=!0),console.error("There was an error while fetching the categories",c)})}},Le=()=>{let i=y.split("$");t(0,y=i.length>2?y.split("$").slice(0,2).join("$"):y)},U=()=>{window.postMessage({type:"SliderData",identity:I,data:L},window.location.href)},$=i=>{i.data&&i.data.type=="SliderMounted"&&i.data.identity==I&&U()};s.onMount(()=>(window.addEventListener("message",$),()=>{window.removeEventListener("message",$)}));function Se(i){s.binding_callbacks[i?"unshift":"push"](()=>{g=i,t(14,g)})}return a.$$set=i=>{"endpoint"in i&&t(1,n=i.endpoint),"datasource"in i&&t(2,m=i.datasource),"lang"in i&&t(3,u=i.lang),"userid"in i&&t(18,H=i.userid),"session"in i&&t(19,w=i.session),"mostplayed"in i&&t(20,T=i.mostplayed),"lastplayed"in i&&t(21,A=i.lastplayed),"favorites"in i&&t(22,q=i.favorites),"mbsource"in i&&t(4,N=i.mbsource),"clientstyling"in i&&t(5,F=i.clientstyling),"clientstylingurl"in i&&t(6,j=i.clientstylingurl),"activecategory"in i&&t(0,y=i.activecategory),"actionevent"in i&&t(7,Y=i.actionevent),"sessioncheck"in i&&t(23,W=i.sessioncheck),"location"in i&&t(8,x=i.location),"showsubgroups"in i&&t(9,O=i.showsubgroups),"filteredcategories"in i&&t(24,P=i.filteredcategories),"translationurl"in i&&t(25,C=i.translationurl),"categoriesicon"in i&&t(10,J=i.categoriesicon),"lobbyiconimage"in i&&t(11,K=i.lobbyiconimage),"mygamesiconimage"in i&&t(12,Q=i.mygamesiconimage),"customizecategoryicon"in i&&t(26,B=i.customizecategoryicon)},a.$$.update=()=>{a.$$.dirty[0]&14&&n&&m&&u&&Ge(),a.$$.dirty[0]&7872514&&n&&w&&(T||A||q)&&!f&&de(),a.$$.dirty[0]&134750209&&!f&&y&&(!w||D)&&Le(),a.$$.dirty[0]&33554432&&C&&ye(),a.$$.dirty[0]&16416&&F&&g&&s.setClientStyling(g,F),a.$$.dirty[0]&16448&&j&&g&&s.setClientStylingURL(g,j),a.$$.dirty[0]&16400&&N&&g&&s.setStreamStyling(g,`${N}.Style`,ce),a.$$.dirty[0]&33554448&&N&&!C&&le(`${N}.Translation`,ue,R)},t(16,Z=0),[y,n,m,u,N,F,j,Y,x,O,J,K,Q,f,g,h,Z,ge,H,w,T,A,q,W,P,C,B,D,Se]}class re extends s.SvelteComponent{constructor(e){super(),s.init(this,e,Be,ze,s.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,mbsource:4,clientstyling:5,clientstylingurl:6,activecategory:0,actionevent:7,sessioncheck:23,location:8,showsubgroups:9,filteredcategories:24,translationurl:25,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12,customizecategoryicon:26},qe,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),s.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),s.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),s.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),s.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),s.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),s.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),s.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),s.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(e){this.$$set({mbsource:e}),s.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),s.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),s.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),s.flush()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),s.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),s.flush()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),s.flush()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),s.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),s.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),s.flush()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),s.flush()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),s.flush()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),s.flush()}get customizecategoryicon(){return this.$$.ctx[26]}set customizecategoryicon(e){this.$$set({customizecategoryicon:e}),s.flush()}}s.create_custom_element(re,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},customizecategoryicon:{}},[],[],!0);const De=Object.freeze(Object.defineProperty({__proto__:null,default:re},Symbol.toStringTag,{value:"Module"}));exports.CasinoCategoriesSliderNd_ce=De;exports.getStreamTranslations=le;
|