@everymatrix/casino-page-nd 1.88.6 → 1.88.7
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-2v8KmLtG.js → CasinoCalendar-BhT9AGhd.js} +3 -3
- package/components/{CasinoCalendar-D6mSP0wJ.cjs → CasinoCalendar-DVOou2pd.cjs} +1 -1
- package/components/{CasinoCalendar-CqlNd02f.js → CasinoCalendar-OK6OnjCX.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-DfLgjOnE.js → CasinoCalendarDailyDetails-BOB-3g2h.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-DrrMa8G-.cjs → CasinoCalendarDailyDetails-BbY8FRe2.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DqZ1EB8U.js → CasinoCalendarDailyDetails-DiYGzXJD.js} +1 -1
- package/components/{CasinoCalendarDailyItem-DmTah2Ox.js → CasinoCalendarDailyItem-BKqP_iiW.js} +1 -1
- package/components/{CasinoCalendarDailyItem-D8ayBNeo.cjs → CasinoCalendarDailyItem-D71RqRoV.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CLmYBy5V.js → CasinoCalendarDailyItem-DLy4bpDS.js} +1 -1
- package/components/{CasinoCollectionsProviders-CsPgOec7.js → CasinoCollectionsProviders-DcpzdP1I.js} +1 -1
- package/components/{CasinoCollectionsProviders-CorJFiDe.js → CasinoCollectionsProviders-nbdI8oNb.js} +1 -1
- package/components/{CasinoCollectionsProviders-Gi43RX3s.cjs → CasinoCollectionsProviders-up5420n0.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-D-OzpP1D.js → CasinoFavoritesSectionNd-AOg6usAH.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CUs4uHvm.cjs → CasinoFavoritesSectionNd-Bd9HnrqO.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-B8p1vike.js → CasinoFavoritesSectionNd-zM6oZIvk.js} +2 -2
- package/components/{CasinoFilter-8KdY9wF9.cjs → CasinoFilter-BCB6zpWh.cjs} +1 -1
- package/components/{CasinoFilter-DLJXOfpY.js → CasinoFilter-BUBJVQ6w.js} +1 -1
- package/components/{CasinoFilter-DDepo-i_.js → CasinoFilter-BeVA3-oD.js} +1 -1
- package/components/{CasinoGameThumbnailNd-DEcdS_Ap.js → CasinoGameThumbnailNd-BFxSwFNl.js} +2 -2
- package/components/{CasinoGameThumbnailNd-BwGwKMIj.cjs → CasinoGameThumbnailNd-BhKjyOge.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-B138gbNc.js → CasinoGameThumbnailNd-CGD5ragc.js} +2 -2
- package/components/{CasinoGamesCategorySectionNd-Ce-N9ECY.js → CasinoGamesCategorySectionNd-BB012KCY.js} +4 -4
- package/components/{CasinoGamesCategorySectionNd-Q_0eGBpu.cjs → CasinoGamesCategorySectionNd-CUQIMY65.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-7Q-QnDWT.js → CasinoGamesCategorySectionNd-Dom9UP7v.js} +4 -4
- package/components/{CasinoJackpotBanner-D9PObgDw.cjs → CasinoJackpotBanner-CCm0ilAc.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CYt6KWDz.js → CasinoJackpotBanner-CbntCVdh.js} +1 -1
- package/components/{CasinoJackpotBanner-CX2xIXsB.js → CasinoJackpotBanner-DsKzAAzv.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DPLSrjc-.cjs → CasinoLastPlayedSectionNd-BlP4rFvV.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DNdVwKwY.js → CasinoLastPlayedSectionNd-PT0j00_1.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-BpKpVPAr.js → CasinoLastPlayedSectionNd-oQUT4yP6.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-C0EpI2-9.js → CasinoMostPlayedSectionNd-BPos1TA2.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-LwVUX5eL.js → CasinoMostPlayedSectionNd-C_m6k4zu.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-Dkjf16fh.cjs → CasinoMostPlayedSectionNd-DN0RWo2H.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DQkXyjn1.js → CasinoMyGamesNd-DdafUHu6.js} +4 -4
- package/components/{CasinoMyGamesNd-D37uyGzg.js → CasinoMyGamesNd-Do_VjZEK.js} +4 -4
- package/components/{CasinoMyGamesNd-CLmjlE6H.cjs → CasinoMyGamesNd-sXcHvT8y.cjs} +1 -1
- package/components/{CasinoPageNd-sBqrOtht.cjs → CasinoPageNd-60irniKe.cjs} +1 -1
- package/components/{CasinoPageNd-C3I90qgz.js → CasinoPageNd-BPcO6DbV.js} +11 -11
- package/components/{CasinoPageNd-DecZz0bA.js → CasinoPageNd-DjYQD-vm.js} +11 -12
- package/components/{CasinoRandomGame-TX3_oKyQ.js → CasinoRandomGame-BJt4A0WP.js} +1 -1
- package/components/{CasinoRandomGame-D8noKlPx.cjs → CasinoRandomGame-Bw-bCZoD.cjs} +1 -1
- package/components/{CasinoRandomGame-Bj6hLVg7.js → CasinoRandomGame-Cd4HlWKT.js} +1 -1
- package/components/{CasinoSearchNd-DzmdB6wz.cjs → CasinoSearchNd-CipZ985K.cjs} +1 -1
- package/components/{CasinoSearchNd-dKgX0PeS.js → CasinoSearchNd-DqZxchmi.js} +3 -3
- package/components/{CasinoSearchNd-DfmzrMbD.js → CasinoSearchNd-mAAMZy1i.js} +3 -3
- package/components/{CasinoSort-qyHfdFy3.cjs → CasinoSort-5xGRJYv5.cjs} +1 -1
- package/components/{CasinoSort-C0Jjqmrf.js → CasinoSort-DcEoxcKT.js} +1 -1
- package/components/{CasinoSort-BvIhZgZN.js → CasinoSort-DjLn_-Nf.js} +1 -1
- package/components/{CasinoWinners-CS1za1iW.js → CasinoWinners-C68-6Ao2.js} +2 -2
- package/components/{CasinoWinners-BDDBeDxe.js → CasinoWinners-CAc4kztR.js} +2 -2
- package/components/{CasinoWinners-DAhoht2U.cjs → CasinoWinners-PJQN5O5M.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CVT4i-Ba.js → GeneralAnimationLoading-BzcffGW-.js} +1 -1
- package/components/{GeneralAnimationLoading-B4Miia6j.js → GeneralAnimationLoading-DKDBi5S3.js} +1 -1
- package/components/{GeneralAnimationLoading-C5fu_cQV.cjs → GeneralAnimationLoading-DLkYQncX.cjs} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-GXRgvQkq.js → casino-calendar-C4qZzbse.js} +1 -1
- package/lazy/{casino-calendar-CRfqGFJh.js → casino-calendar-CX3ANAkz.js} +1 -1
- package/lazy/{casino-calendar-Cv9hPqFs.cjs → casino-calendar-CagP_RyE.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-Dq6rsDPF.js → casino-calendar-daily-details-BuqHAp6g.js} +1 -1
- package/lazy/{casino-calendar-daily-details-YNzZvEql.js → casino-calendar-daily-details-CIgsL0jA.js} +1 -1
- package/lazy/{casino-calendar-daily-details-DxBxsnKv.cjs → casino-calendar-daily-details-yhilTbnn.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-xmH8-W-7.cjs → casino-calendar-daily-item-BiCt9V8W.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-BZA3jMsA.js → casino-calendar-daily-item-D_wX3i_P.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DHiuQHhX.js → casino-calendar-daily-item-DnhVVDnb.js} +1 -1
- package/lazy/{casino-collections-providers-CnBa3_xG.js → casino-collections-providers-BPD-h4tl.js} +1 -1
- package/lazy/{casino-collections-providers-CjD90HQf.cjs → casino-collections-providers-CPEbDHIR.cjs} +1 -1
- package/lazy/{casino-collections-providers-BofsQfPr.js → casino-collections-providers-DeScu1Oq.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CrLNMvhU.js → casino-favorites-section-nd-CXKEercB.js} +1 -1
- package/lazy/{casino-favorites-section-nd-D3u9bZzR.cjs → casino-favorites-section-nd-DI4xM9Fe.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-Dpot-5KU.js → casino-favorites-section-nd-DU1PA7eo.js} +1 -1
- package/lazy/{casino-filter-DFLWJ_gB.js → casino-filter-330QS-Cx.js} +1 -1
- package/lazy/{casino-filter-BEk5FFr6.cjs → casino-filter-BwZbvT32.cjs} +1 -1
- package/lazy/{casino-filter-DWBDsS3s.js → casino-filter-DTFQU7Ia.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DpmtVDy7.js → casino-game-thumbnail-nd-1knG5YPk.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-NVfnlxo5.cjs → casino-game-thumbnail-nd-BVyei1Ib.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CLjYTZIW.js → casino-game-thumbnail-nd-CLtT0WLq.js} +1 -1
- package/lazy/{casino-games-category-section-nd-DogtXnT6.js → casino-games-category-section-nd-Bf3V3dYD.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Dkzor4Tq.cjs → casino-games-category-section-nd-C_CuRwkT.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-4g1T-MPF.js → casino-games-category-section-nd-Dv11ZbnV.js} +1 -1
- package/lazy/{casino-jackpot-banner-RYF2rRW8.js → casino-jackpot-banner-B8YI7vj5.js} +1 -1
- package/lazy/{casino-jackpot-banner-C9WcmG5E.cjs → casino-jackpot-banner-D-RVSOGS.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-DLVaIc33.js → casino-jackpot-banner-DeOVJEAV.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CJ7aai7v.cjs → casino-last-played-section-nd-72KINq3E.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-PgjgjfkF.js → casino-last-played-section-nd-Bu57dISH.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CWnGpMSh.js → casino-last-played-section-nd-DlsZKhiF.js} +1 -1
- package/lazy/{casino-most-played-section-nd-BxmUiyAs.js → casino-most-played-section-nd-BMXrCMAu.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CbBQNkBC.js → casino-most-played-section-nd-CF7JDINC.js} +1 -1
- package/lazy/{casino-most-played-section-nd-ChDueNja.cjs → casino-most-played-section-nd-QBs8vNOU.cjs} +1 -1
- package/lazy/{casino-my-games-nd-BVaHQL-w.js → casino-my-games-nd-D1DZGxAf.js} +1 -1
- package/lazy/{casino-my-games-nd-Cy-LfWrR.cjs → casino-my-games-nd-DXnzmXgr.cjs} +1 -1
- package/lazy/{casino-my-games-nd-CKLSYuy7.js → casino-my-games-nd-OQlaGKgo.js} +1 -1
- package/lazy/{casino-play-random-game-DVsDGezc.js → casino-play-random-game-7n61vetD.js} +1 -1
- package/lazy/{casino-play-random-game-CeZZ7mhN.cjs → casino-play-random-game-BZ2Qc5Rb.cjs} +1 -1
- package/lazy/{casino-play-random-game-CoQ9xSZ4.js → casino-play-random-game-V1jcVVCT.js} +1 -1
- package/lazy/{casino-random-game-B-Dbfi_Z.js → casino-random-game-DLJPLHrt.js} +1 -1
- package/lazy/{casino-random-game-Dqpy-ahE.js → casino-random-game-e3u6AQsk.js} +1 -1
- package/lazy/{casino-random-game-EeYGt0i9.cjs → casino-random-game-n8iusdEl.cjs} +1 -1
- package/lazy/{casino-search-nd-VzzQfjQ3.cjs → casino-search-nd-CtRmPjS3.cjs} +1 -1
- package/lazy/{casino-search-nd-DG_9lIKs.js → casino-search-nd-DLxbcpii.js} +1 -1
- package/lazy/{casino-search-nd-Dr2QdUSS.js → casino-search-nd-DNrlk341.js} +1 -1
- package/lazy/{casino-sort-CoLP_8T8.js → casino-sort-3IXtVOEX.js} +1 -1
- package/lazy/{casino-sort-DZ2AaMDF.js → casino-sort-BgdFU5I9.js} +1 -1
- package/lazy/{casino-sort-BGxScqHd.cjs → casino-sort-CIuAzElV.cjs} +1 -1
- package/lazy/{casino-winners-4rTwzY8_.js → casino-winners-CAWyFQHi.js} +1 -1
- package/lazy/{casino-winners-DZ6LyVKE.js → casino-winners-ConBC8t-.js} +1 -1
- package/lazy/{casino-winners-B_FPafju.cjs → casino-winners-n3iWoc2g.cjs} +1 -1
- package/lazy/{general-animation-loading-DLw3WzsN.js → general-animation-loading-BkqHZgx7.js} +1 -1
- package/lazy/{general-animation-loading-UvZ6ywmy.cjs → general-animation-loading-CHelUiBQ.cjs} +1 -1
- package/lazy/{general-animation-loading-MZxx7I-B.js → general-animation-loading-CmjHo_BG.js} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CwsXmdAL.js → casino-play-random-game-BFV4GNfV.js} +2 -2
- package/stencil/{casino-play-random-game-RYjDd-MV.js → casino-play-random-game-BhoyX-C1.js} +2 -2
- package/stencil/{casino-play-random-game-DAeG0zQv.cjs → casino-play-random-game-C4vBXpwt.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-Dv13xRoJ.js → casino-play-random-game_2-CaDWoiDD.js} +15 -16
- package/stencil/{casino-play-random-game_2-BMJfVset.js → casino-play-random-game_2-CrgpqvbB.js} +2 -2
- package/stencil/{casino-play-random-game_2-a_1h1MOl.cjs → casino-play-random-game_2-D3YPoW8a.cjs} +2 -2
|
@@ -4498,7 +4498,7 @@ function Xa(t, e) {
|
|
|
4498
4498
|
if (!t)
|
|
4499
4499
|
return;
|
|
4500
4500
|
const n = t.getRootNode(), i = window[Be];
|
|
4501
|
-
let s = i[e]
|
|
4501
|
+
let s = i[e] && i[e].sheet;
|
|
4502
4502
|
s ? i[e].refCount = i[e].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[e] = {
|
|
4503
4503
|
sheet: s,
|
|
4504
4504
|
refCount: 1
|
|
@@ -7884,43 +7884,43 @@ function cl(t, e, r) {
|
|
|
7884
7884
|
const a = {
|
|
7885
7885
|
"casino-games-category-section-nd": {
|
|
7886
7886
|
loaded: !1,
|
|
7887
|
-
load: () => import("../lazy/casino-games-category-section-nd-
|
|
7887
|
+
load: () => import("../lazy/casino-games-category-section-nd-Bf3V3dYD.js")
|
|
7888
7888
|
},
|
|
7889
7889
|
"casino-random-game": {
|
|
7890
7890
|
loaded: !1,
|
|
7891
|
-
load: () => import("../lazy/casino-random-game-
|
|
7891
|
+
load: () => import("../lazy/casino-random-game-DLJPLHrt.js")
|
|
7892
7892
|
},
|
|
7893
7893
|
"casino-winners": {
|
|
7894
7894
|
loaded: !1,
|
|
7895
|
-
load: () => import("../lazy/casino-winners-
|
|
7895
|
+
load: () => import("../lazy/casino-winners-ConBC8t-.js")
|
|
7896
7896
|
},
|
|
7897
7897
|
"casino-jackpot-banner": {
|
|
7898
7898
|
loaded: !1,
|
|
7899
|
-
load: () => import("../lazy/casino-jackpot-banner-
|
|
7899
|
+
load: () => import("../lazy/casino-jackpot-banner-DeOVJEAV.js")
|
|
7900
7900
|
},
|
|
7901
7901
|
"casino-collections-providers": {
|
|
7902
7902
|
loaded: !1,
|
|
7903
|
-
load: () => import("../lazy/casino-collections-providers-
|
|
7903
|
+
load: () => import("../lazy/casino-collections-providers-DeScu1Oq.js")
|
|
7904
7904
|
},
|
|
7905
7905
|
"casino-my-games-nd": {
|
|
7906
7906
|
loaded: !1,
|
|
7907
|
-
load: () => import("../lazy/casino-my-games-nd-
|
|
7907
|
+
load: () => import("../lazy/casino-my-games-nd-D1DZGxAf.js")
|
|
7908
7908
|
},
|
|
7909
7909
|
"casino-search-nd": {
|
|
7910
7910
|
loaded: !1,
|
|
7911
|
-
load: () => import("../lazy/casino-search-nd-
|
|
7911
|
+
load: () => import("../lazy/casino-search-nd-DLxbcpii.js")
|
|
7912
7912
|
},
|
|
7913
7913
|
"casino-calendar": {
|
|
7914
7914
|
loaded: !1,
|
|
7915
|
-
load: () => import("../lazy/casino-calendar-
|
|
7915
|
+
load: () => import("../lazy/casino-calendar-CX3ANAkz.js")
|
|
7916
7916
|
},
|
|
7917
7917
|
"casino-play-random-game": {
|
|
7918
7918
|
loaded: !1,
|
|
7919
|
-
load: () => import("../stencil/casino-play-random-game-
|
|
7919
|
+
load: () => import("../stencil/casino-play-random-game-BFV4GNfV.js")
|
|
7920
7920
|
},
|
|
7921
7921
|
"casino-filter": {
|
|
7922
7922
|
loaded: !1,
|
|
7923
|
-
load: () => import("../lazy/casino-filter-
|
|
7923
|
+
load: () => import("../lazy/casino-filter-330QS-Cx.js")
|
|
7924
7924
|
}
|
|
7925
7925
|
};
|
|
7926
7926
|
let { endpoint: u = "" } = e, { env: f = "" } = e, { datasource: c = "" } = e, { currency: h = "" } = e, { lang: m = "" } = e, { session: b = "" } = e, { userid: _ = "" } = e, { userroles: d = "" } = e, { mbsource: E } = e, { clientstyling: A = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: B = "" } = e, { cmsendpoint: g = "" } = e, { usesinglevendorfilter: S = "false" } = e, { currencylocale: F = "" } = e, { requiredicon: N = "false" } = e, { categorybackground: T = "" } = e, { visiblegames: M } = e, { customizesectionicon: O = "true" } = e, { favorites: $ = "" } = e, { haspanicbutton: re = "false" } = e, { filteredcategories: U = "" } = e, { activecategory: ge = "" } = e, { showgamename: ne = "" } = e, { livecasino: W = "false" } = e, { playrandomgame: be = "false" } = e, { randomgameslider: le = "false" } = e, { filteredrandomgamecategories: v = "" } = e, { gamepagemodalurl: y = "false" } = e, { casinogamesgridslider: vr = "false" } = e, { positionwinnerswidget: Qe = "" } = e, { tabsorder: Er = "" } = e, { enableautoscroll: wr = "" } = e, { istopavailable: Sr = "" } = e, { isrecentavailable: Tr = "" } = e, { integratedgameframedesktop: Pr = "false" } = e, { integratedgameframemobile: Cr = "false" } = e, { periodrecent: Br = "" } = e, { periodtop: kr = "" } = e, { numberusersrecent: Lr = "" } = e, { numberuserstop: Hr = "" } = e, { amountlimit: Ar = "" } = e, { defaultcurrency: Or = "" } = e, { showsubgroups: Ht = "" } = e, { positionjackpotbanners: Ke = "" } = e, { caticon0: Mr = "" } = e, { caticon1: Nr = "" } = e, { caticon2: Ir = "" } = e, { caticon3: Rr = "" } = e, { backgroundsrc: Gr = "" } = e, { backgroundsrcmobile: jr = "" } = e, { titlelogopath: Fr = "" } = e, { iconlabels: Ur = "" } = e, { visualstructure: Dr = "" } = e, { realtimeupdate: Vr = "false" } = e, { positioncollections: $e = "" } = e, { type: Wr = "" } = e, { titletype: zr = "" } = e, { collectionprovidersgamenames: xr = "" } = e, { addfilterselector: Xr = "false" } = e, { addsortingselector: qr = "false" } = e, { filterbylogo: Yr = "" } = e, { positioncasinocalendar: et = "" } = e, { casinomygames: tt = "false" } = e, { mostplayed: At = "" } = e, { lastplayed: Ot = "" } = e, { lastplayedperiod: Zr = "Last30Days" } = e, { mostplayedperiod: Jr = "Last30Days" } = e, { lastplayedorder: Qr = "" } = e, { lastplayedlimit: Kr = "" } = e, { lastplayedunique: $r = "true" } = e, { mostplayedrounds: en = "" } = e, { winnersdatasources: tn = "" } = e, { fetchviaevent: rn = "true" } = e, { positionjelobbywidget: nn = "" } = e, { specificcategory: on = "" } = e, { launchbygamecard: sn = "" } = e, { iconvisible: an = "" } = e, { iconvisibleonanim: ln = "" } = e, { randombuttonicon: un = "" } = e, { positionlobbyrandomplaywidget: cn = "0" } = e, { showmoresections: rt = "false" } = e, { categorieslimit: Z = "4" } = e, { allowsingleclickgameentry: fn = "false" } = e, Mt = !0, Nt, nt = window.navigator.userAgent, It;
|
|
@@ -4532,11 +4532,10 @@ function nl(t, e) {
|
|
|
4532
4532
|
}
|
|
4533
4533
|
function il(t, e) {
|
|
4534
4534
|
return window.emMessageBus.subscribe(e, (r) => {
|
|
4535
|
-
var u;
|
|
4536
4535
|
if (!t)
|
|
4537
4536
|
return;
|
|
4538
4537
|
const n = t.getRootNode(), i = window[He];
|
|
4539
|
-
let s =
|
|
4538
|
+
let s = i[e] && i[e].sheet;
|
|
4540
4539
|
s ? i[e].refCount = i[e].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[e] = {
|
|
4541
4540
|
sheet: s,
|
|
4542
4541
|
refCount: 1
|
|
@@ -7922,43 +7921,43 @@ function wl(t, e, r) {
|
|
|
7922
7921
|
const a = {
|
|
7923
7922
|
"casino-games-category-section-nd": {
|
|
7924
7923
|
loaded: !1,
|
|
7925
|
-
load: () => import("../lazy/casino-games-category-section-nd-
|
|
7924
|
+
load: () => import("../lazy/casino-games-category-section-nd-Dv11ZbnV.js")
|
|
7926
7925
|
},
|
|
7927
7926
|
"casino-random-game": {
|
|
7928
7927
|
loaded: !1,
|
|
7929
|
-
load: () => import("../lazy/casino-random-game-
|
|
7928
|
+
load: () => import("../lazy/casino-random-game-e3u6AQsk.js")
|
|
7930
7929
|
},
|
|
7931
7930
|
"casino-winners": {
|
|
7932
7931
|
loaded: !1,
|
|
7933
|
-
load: () => import("../lazy/casino-winners-
|
|
7932
|
+
load: () => import("../lazy/casino-winners-CAWyFQHi.js")
|
|
7934
7933
|
},
|
|
7935
7934
|
"casino-jackpot-banner": {
|
|
7936
7935
|
loaded: !1,
|
|
7937
|
-
load: () => import("../lazy/casino-jackpot-banner-
|
|
7936
|
+
load: () => import("../lazy/casino-jackpot-banner-B8YI7vj5.js")
|
|
7938
7937
|
},
|
|
7939
7938
|
"casino-collections-providers": {
|
|
7940
7939
|
loaded: !1,
|
|
7941
|
-
load: () => import("../lazy/casino-collections-providers-
|
|
7940
|
+
load: () => import("../lazy/casino-collections-providers-BPD-h4tl.js")
|
|
7942
7941
|
},
|
|
7943
7942
|
"casino-my-games-nd": {
|
|
7944
7943
|
loaded: !1,
|
|
7945
|
-
load: () => import("../lazy/casino-my-games-nd-
|
|
7944
|
+
load: () => import("../lazy/casino-my-games-nd-OQlaGKgo.js")
|
|
7946
7945
|
},
|
|
7947
7946
|
"casino-search-nd": {
|
|
7948
7947
|
loaded: !1,
|
|
7949
|
-
load: () => import("../lazy/casino-search-nd-
|
|
7948
|
+
load: () => import("../lazy/casino-search-nd-DNrlk341.js")
|
|
7950
7949
|
},
|
|
7951
7950
|
"casino-calendar": {
|
|
7952
7951
|
loaded: !1,
|
|
7953
|
-
load: () => import("../lazy/casino-calendar-
|
|
7952
|
+
load: () => import("../lazy/casino-calendar-C4qZzbse.js")
|
|
7954
7953
|
},
|
|
7955
7954
|
"casino-play-random-game": {
|
|
7956
7955
|
loaded: !1,
|
|
7957
|
-
load: () => import("../stencil/casino-play-random-game-
|
|
7956
|
+
load: () => import("../stencil/casino-play-random-game-BhoyX-C1.js")
|
|
7958
7957
|
},
|
|
7959
7958
|
"casino-filter": {
|
|
7960
7959
|
loaded: !1,
|
|
7961
|
-
load: () => import("../lazy/casino-filter-
|
|
7960
|
+
load: () => import("../lazy/casino-filter-DTFQU7Ia.js")
|
|
7962
7961
|
}
|
|
7963
7962
|
};
|
|
7964
7963
|
let { endpoint: u = "" } = e, { env: c = "" } = e, { datasource: f = "" } = e, { currency: h = "" } = e, { lang: m = "" } = e, { session: b = "" } = e, { userid: _ = "" } = e, { userroles: d = "" } = e, { mbsource: w } = e, { clientstyling: A = "" } = e, { clientstylingurl: j = "" } = e, { translationurl: k = "" } = e, { cmsendpoint: g = "" } = e, { usesinglevendorfilter: S = "false" } = e, { currencylocale: U = "" } = e, { requiredicon: I = "false" } = e, { categorybackground: T = "" } = e, { visiblegames: M } = e, { customizesectionicon: O = "true" } = e, { favorites: re = "" } = e, { haspanicbutton: ie = "false" } = e, { filteredcategories: D = "" } = e, { activecategory: pe = "" } = e, { showgamename: oe = "" } = e, { livecasino: z = "false" } = e, { playrandomgame: ye = "false" } = e, { randomgameslider: ce = "false" } = e, { filteredrandomgamecategories: v = "" } = e, { gamepagemodalurl: y = "false" } = e, { casinogamesgridslider: Sr = "false" } = e, { positionwinnerswidget: $e = "" } = e, { tabsorder: Tr = "" } = e, { enableautoscroll: Pr = "" } = e, { istopavailable: Cr = "" } = e, { isrecentavailable: kr = "" } = e, { integratedgameframedesktop: Lr = "false" } = e, { integratedgameframemobile: Br = "false" } = e, { periodrecent: Hr = "" } = e, { periodtop: Ar = "" } = e, { numberusersrecent: Or = "" } = e, { numberuserstop: Mr = "" } = e, { amountlimit: Nr = "" } = e, { defaultcurrency: Ir = "" } = e, { showsubgroups: Ot = "" } = e, { positionjackpotbanners: et = "" } = e, { caticon0: Rr = "" } = e, { caticon1: Gr = "" } = e, { caticon2: jr = "" } = e, { caticon3: Fr = "" } = e, { backgroundsrc: Ur = "" } = e, { backgroundsrcmobile: Dr = "" } = e, { titlelogopath: Vr = "" } = e, { iconlabels: Wr = "" } = e, { visualstructure: zr = "" } = e, { realtimeupdate: xr = "false" } = e, { positioncollections: tt = "" } = e, { type: Xr = "" } = e, { titletype: qr = "" } = e, { collectionprovidersgamenames: Yr = "" } = e, { addfilterselector: Zr = "false" } = e, { addsortingselector: Jr = "false" } = e, { filterbylogo: Qr = "" } = e, { positioncasinocalendar: rt = "" } = e, { casinomygames: nt = "false" } = e, { mostplayed: Mt = "" } = e, { lastplayed: Nt = "" } = e, { lastplayedperiod: Kr = "Last30Days" } = e, { mostplayedperiod: $r = "Last30Days" } = e, { lastplayedorder: en = "" } = e, { lastplayedlimit: tn = "" } = e, { lastplayedunique: rn = "true" } = e, { mostplayedrounds: nn = "" } = e, { winnersdatasources: on = "" } = e, { fetchviaevent: sn = "true" } = e, { positionjelobbywidget: an = "" } = e, { specificcategory: ln = "" } = e, { launchbygamecard: un = "" } = e, { iconvisible: cn = "" } = e, { iconvisibleonanim: fn = "" } = e, { randombuttonicon: hn = "" } = e, { positionlobbyrandomplaywidget: dn = "0" } = e, { showmoresections: it = "false" } = e, { categorieslimit: Q = "4" } = e, { allowsingleclickgameentry: mn = "false" } = e, It = !0, Rt, ot = window.navigator.userAgent, Gt;
|
|
@@ -14,7 +14,7 @@ var H = (a, e, t) => new Promise((n, l) => {
|
|
|
14
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 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, e as h, D as J, g as w, h as C, j as u, k as Ce, o as Le, P as Se, Q as Te, R as We, T as je, u as Ne, q as Y, v as L, w as S, U as Be, x as K, B as Ie, n as ze, E as Q, C as X, V as Pe, F as Je, G as Ae, H as De, I as He, J as Ee } from "./CasinoPageNd-
|
|
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, e as h, D as J, g as w, h as C, j as u, k as Ce, o as Le, P as Se, Q as Te, R as We, T as je, u as Ne, q as Y, v as L, w as S, U as Be, x as K, B as Ie, n as ze, E as Q, C as X, V as Pe, F as Je, G as Ae, H as De, I as He, J as Ee } from "./CasinoPageNd-DjYQD-vm.js";
|
|
18
18
|
function Oe({ withLocale: a, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
20
|
t == null && (_e.set(e), E.set(a));
|
|
@@ -1,2 +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-
|
|
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-60irniKe.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
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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as H, L as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, M as E, N as P, O as ve, P as Me, c as k, e as h, F as J, g as w, h as L, j as u, k as Fe, l as Le, o as Ce, Q as Se, R as We, T as Te, U as je, v as Ne, r as Y, w as C, x as S, V as Be, y as q, D as Ie, n as ze, G as K, E as Q, W as Pe, H as Je, I as Ae, J as De, K as He } from "./CasinoPageNd-
|
|
1
|
+
import { $ as H, L as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, M as E, N as P, O as ve, P as Me, c as k, e as h, F as J, g as w, h as L, j as u, k as Fe, l as Le, o as Ce, Q as Se, R as We, T as Te, U as je, v as Ne, r as Y, w as C, x as S, V as Be, y as q, D as Ie, n as ze, G as K, E as Q, W as Pe, H as Je, I as Ae, J as De, K as He } from "./CasinoPageNd-BPcO6DbV.js";
|
|
2
2
|
function Ee({ withLocale: a, translations: e }) {
|
|
3
3
|
H.subscribe((t) => {
|
|
4
4
|
t == null && (we.set(e), H.set(a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var He=Object.defineProperty;var ie=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var ce=(r,t,a)=>t in r?He(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a,ue=(r,t)=>{for(var a in t||(t={}))We.call(t,a)&&ce(r,a,t[a]);if(ie)for(var a of ie(t))Ue.call(t,a)&&ce(r,a,t[a]);return r};var de=(r,t,a)=>new Promise((s,o)=>{var u=c=>{try{i(a.next(c))}catch(d){o(d)}},l=c=>{try{i(a.throw(c))}catch(d){o(d)}},i=c=>c.done?s(c.value):Promise.resolve(c.value).then(u,l);i((a=a.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-sBqrOtht.cjs"),U=require("./CasinoGamesCategorySectionNd-Q_0eGBpu.cjs");require("../lazy/casino-game-thumbnail-nd-NVfnlxo5.cjs");function Ve(r,t){e.addMessages(r,t)}function Je(r){e.$locale.set(r)}const Ze={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Ye(r){e.append_styles(r,"svelte-1vt65d9","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function he(r,t,a){const s=r.slice();return s[68]=t[a],s}function me(r){let t,a=r[22]("cancel")+"",s,o,u,l;return{c(){t=e.element("small"),s=e.text(a),e.attr(t,"class",o="SearchCancelButton "+(r[17]?"NotVisible":""))},m(i,c){e.insert(i,t,c),e.append(t,s),u||(l=e.listen(t,"click",r[43]),u=!0)},p(i,c){c[0]&4194304&&a!==(a=i[22]("cancel")+"")&&e.set_data(s,a),c[0]&131072&&o!==(o="SearchCancelButton "+(i[17]?"NotVisible":""))&&e.attr(t,"class",o)},d(i){i&&e.detach(t),u=!1,l()}}}function Ke(r){let t,a,s,o;function u(h,g){if(h[18]==!0&&h[15].length<2)return $e;if(h[14].length!=0)return Xe}let l=u(r),i=l&&l(r),c=r[17]===!1&&_e(r),d=r[15].length>=2&&r[14].length==0&&we(r);return{c(){i&&i.c(),t=e.space(),a=e.element("div"),c&&c.c(),s=e.space(),d&&d.c(),e.attr(a,"class",o="SearchResultsContainer "+(r[18]==!0?"":"NotVisible"))},m(h,g){i&&i.m(h,g),e.insert(h,t,g),e.insert(h,a,g),c&&c.m(a,null),e.append(a,s),d&&d.m(a,null)},p(h,g){l===(l=u(h))&&i?i.p(h,g):(i&&i.d(1),i=l&&l(h),i&&(i.c(),i.m(t.parentNode,t))),h[17]===!1?c?c.p(h,g):(c=_e(h),c.c(),c.m(a,s)):c&&(c.d(1),c=null),h[15].length>=2&&h[14].length==0?d?d.p(h,g):(d=we(h),d.c(),d.m(a,null)):d&&(d.d(1),d=null),g[0]&262144&&o!==(o="SearchResultsContainer "+(h[18]==!0?"":"NotVisible"))&&e.attr(a,"class",o)},d(h){h&&(e.detach(t),e.detach(a)),i&&i.d(h),c&&c.d(),d&&d.d()}}}function Qe(r){let t,a=r[22]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","LoadingContent")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("loading")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function Xe(r){let t,a=r[22]("searchResult")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("searchResult")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function $e(r){let t,a,s=r[14].length!==0&&ge(r),o=r[14].length==0&&fe(r);return{c(){s&&s.c(),t=e.space(),o&&o.c(),a=e.empty()},m(u,l){s&&s.m(u,l),e.insert(u,t,l),o&&o.m(u,l),e.insert(u,a,l)},p(u,l){u[14].length!==0?s?s.p(u,l):(s=ge(u),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),u[14].length==0?o?o.p(u,l):(o=fe(u),o.c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(u){u&&(e.detach(t),e.detach(a)),s&&s.d(u),o&&o.d(u)}}}function ge(r){let t,a=r[22]("recentSearch")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("recentSearch")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function fe(r){let t,a,s,o=r[22]("noRecentSearches")+"",u,l,i=r[11]==="true"&&pe();return{c(){t=e.element("div"),i&&i.c(),a=e.space(),s=e.element("p"),u=e.text(o),e.attr(s,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(c,d){e.insert(c,t,d),i&&i.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u)},p(c,d){c[11]==="true"?i||(i=pe(),i.c(),i.m(t,a)):i&&(i.d(1),i=null),d[0]&4194304&&o!==(o=c[22]("noRecentSearches")+"")&&e.set_data(u,o),d[0]&2048&&l!==(l="ResultsContainerError "+(c[11]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(c){c&&e.detach(t),i&&i.d()}}}function pe(r){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function _e(r){let t=[],a=new Map,s,o=e.ensure_array_like(r[14]);const u=l=>l[68].id;for(let l=0;l<o.length;l+=1){let i=he(r,o,l),c=u(i);a.set(c,t[l]=Se(c,i))}return{c(){for(let l=0;l<t.length;l+=1)t[l].c();s=e.empty()},m(l,i){for(let c=0;c<t.length;c+=1)t[c]&&t[c].m(l,i);e.insert(l,s,i)},p(l,i){i[0]&154162175&&(o=e.ensure_array_like(l[14]),t=e.update_keyed_each(t,i,u,1,l,o,a,s.parentNode,e.destroy_block,Se,s,he))},d(l){l&&e.detach(s);for(let i=0;i<t.length;i+=1)t[i].d(l)}}}function Se(r,t){let a,s,o,u,l,i,c,d,h,g,w,k,F;return{key:r,first:null,c(){var R,m;a=e.element("casino-game-thumbnail-nd"),e.set_custom_element_data(a,"endpoint",t[0]),e.set_custom_element_data(a,"session",t[20]),e.set_custom_element_data(a,"userid",t[21]),e.set_custom_element_data(a,"favorites",t[9]),e.set_custom_element_data(a,"lang",t[1]),e.set_custom_element_data(a,"gamethumbnail",s=t[68].thumbnail),e.set_custom_element_data(a,"icon",o=t[24]((R=t[68])==null?void 0:R.icons)),e.set_custom_element_data(a,"gamename",u=t[68].name),e.set_custom_element_data(a,"gamevendor",l=t[68].vendor.name),e.set_custom_element_data(a,"gameLaunchUrl",i=t[68].launchUrl),e.set_custom_element_data(a,"gameisnew",c=t[68].isNew),e.set_custom_element_data(a,"gametag",d=((m=t[68].advancedTags)==null?void 0:m.length)>0&&t[27](t[68].advancedTags)),e.set_custom_element_data(a,"gamecellsize",h=t[68].cellSize),e.set_custom_element_data(a,"gameid",g=t[68].id),e.set_custom_element_data(a,"showgamename",t[7]),e.set_custom_element_data(a,"gamefunmode",w=t[68].hasFunMode),e.set_custom_element_data(a,"gamefavorite",k=t[68].isFavorite),e.set_custom_element_data(a,"livelobbyendpoint",F=t[68].details?t[68].launchUrl:""),e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),e.set_custom_element_data(a,"integratedgameframemobile",t[6]),e.set_custom_element_data(a,"clientstyling",t[3]),e.set_custom_element_data(a,"clientstylingurl",t[4]),e.set_custom_element_data(a,"gamepagemodalurl",t[8]),e.set_custom_element_data(a,"mbsource",t[2]),e.set_custom_element_data(a,"allowsingleclickgameentry",t[12]),this.first=a},m(R,m){e.insert(R,a,m)},p(R,m){var T,G;t=R,m[0]&1&&e.set_custom_element_data(a,"endpoint",t[0]),m[0]&1048576&&e.set_custom_element_data(a,"session",t[20]),m[0]&2097152&&e.set_custom_element_data(a,"userid",t[21]),m[0]&512&&e.set_custom_element_data(a,"favorites",t[9]),m[0]&2&&e.set_custom_element_data(a,"lang",t[1]),m[0]&16384&&s!==(s=t[68].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",s),m[0]&16384&&o!==(o=t[24]((T=t[68])==null?void 0:T.icons))&&e.set_custom_element_data(a,"icon",o),m[0]&16384&&u!==(u=t[68].name)&&e.set_custom_element_data(a,"gamename",u),m[0]&16384&&l!==(l=t[68].vendor.name)&&e.set_custom_element_data(a,"gamevendor",l),m[0]&16384&&i!==(i=t[68].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",i),m[0]&16384&&c!==(c=t[68].isNew)&&e.set_custom_element_data(a,"gameisnew",c),m[0]&16384&&d!==(d=((G=t[68].advancedTags)==null?void 0:G.length)>0&&t[27](t[68].advancedTags))&&e.set_custom_element_data(a,"gametag",d),m[0]&16384&&h!==(h=t[68].cellSize)&&e.set_custom_element_data(a,"gamecellsize",h),m[0]&16384&&g!==(g=t[68].id)&&e.set_custom_element_data(a,"gameid",g),m[0]&128&&e.set_custom_element_data(a,"showgamename",t[7]),m[0]&16384&&w!==(w=t[68].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",w),m[0]&16384&&k!==(k=t[68].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",k),m[0]&16384&&F!==(F=t[68].details?t[68].launchUrl:"")&&e.set_custom_element_data(a,"livelobbyendpoint",F),m[0]&32&&e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),m[0]&64&&e.set_custom_element_data(a,"integratedgameframemobile",t[6]),m[0]&8&&e.set_custom_element_data(a,"clientstyling",t[3]),m[0]&16&&e.set_custom_element_data(a,"clientstylingurl",t[4]),m[0]&256&&e.set_custom_element_data(a,"gamepagemodalurl",t[8]),m[0]&4&&e.set_custom_element_data(a,"mbsource",t[2]),m[0]&4096&&e.set_custom_element_data(a,"allowsingleclickgameentry",t[12])},d(R){R&&e.detach(a)}}}function we(r){let t,a,s,o=r[22]("notFound")+"",u,l,i,c=r[22]("notFoundText")+"",d,h,g=r[11]==="true"&&be();return{c(){t=e.element("div"),g&&g.c(),a=e.space(),s=e.element("p"),u=e.text(o),l=e.space(),i=e.element("p"),d=e.text(c),e.attr(s,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(w,k){e.insert(w,t,k),g&&g.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,l),e.append(t,i),e.append(i,d)},p(w,k){w[11]==="true"?g||(g=be(),g.c(),g.m(t,a)):g&&(g.d(1),g=null),k[0]&4194304&&o!==(o=w[22]("notFound")+"")&&e.set_data(u,o),k[0]&4194304&&c!==(c=w[22]("notFoundText")+"")&&e.set_data(d,c),k[0]&2048&&h!==(h="ResultsContainerError "+(w[11]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(w){w&&e.detach(t),g&&g.d()}}}function be(r){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function et(r){let t,a,s,o,u,l,i,c,d,h,g,w,k,F,R,m,T,G,A,P,v=r[10]==="true"&&me(r);function B(p,y){return p[19]?Qe:Ke}let D=B(r),L=D(r);return{c(){t=e.element("div"),a=e.element("div"),s=e.element("div"),o=e.element("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',u=e.space(),l=e.element("input"),c=e.space(),d=e.element("span"),h=e.svg_element("svg"),g=e.svg_element("path"),k=e.space(),v&&v.c(),R=e.space(),m=e.element("div"),G=e.space(),L.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",i=r[22]("placeHolderSearchGames")),e.attr(l,"maxlength",ve),e.attr(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(g,"stroke","#717171"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"stroke-linejoin","round"),e.attr(h,"width","11"),e.attr(h,"height","11"),e.attr(h,"fill","none"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"class",w="SearchClearButton "+(r[10]!="true"?"WithoutCancel":"")+" "+(r[15].length!=0?"":"NotVisible")),e.attr(s,"class",F="Search "+(r[17]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(m,"class",T=r[10]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(r[23])!=="PC"?"":"Desktop")+" CasinoSearch")},m(p,y){e.insert(p,t,y),e.append(t,a),e.append(a,s),e.append(s,o),e.append(s,u),e.append(s,l),e.set_input_value(l,r[15]),r[41](l),e.append(s,c),e.append(s,d),e.append(d,h),e.append(h,g),e.append(s,k),v&&v.m(s,null),e.append(t,R),e.append(t,m),e.append(t,G),L.m(t,null),r[44](t),A||(P=[e.listen(l,"input",r[40]),e.listen(l,"focus",r[25]),e.listen(l,"input",r[30]),e.listen(d,"click",r[42]),e.listen(m,"click",r[26])],A=!0)},p(p,y){y[0]&4194304&&i!==(i=p[22]("placeHolderSearchGames"))&&e.attr(l,"placeholder",i),y[0]&32768&&l.value!==p[15]&&e.set_input_value(l,p[15]),y[0]&33792&&w!==(w="SearchClearButton "+(p[10]!="true"?"WithoutCancel":"")+" "+(p[15].length!=0?"":"NotVisible"))&&e.attr(d,"class",w),p[10]==="true"?v?v.p(p,y):(v=me(p),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&131072&&F!==(F="Search "+(p[17]?"":"SearchAnimation"))&&e.attr(s,"class",F),y[0]&1024&&T!==(T=p[10]!="true"?"OverlayCancel":"")&&e.attr(m,"class",T),D===(D=B(p))&&L?L.p(p,y):(L.d(1),L=D(p),L&&(L.c(),L.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),r[41](null),v&&v.d(),L.d(),r[44](null),A=!1,e.run_all(P)}}}let ve=50;function tt(r,t,a){let s;e.component_subscribe(r,e.$format,n=>a(22,s=n));let{endpoint:o=""}=t,{datasource:u=""}=t,{session:l=""}=t,{userid:i=""}=t,{lang:c="en"}=t,{mbsource:d}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:w="false"}=t,{integratedgameframemobile:k="false"}=t,{showgamename:F=""}=t,{gamepagemodalurl:R="true"}=t,{translationurl:m=""}=t,{showfavorites:T=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:A="false"}=t,{controlchannel:P="casino-search"}=t,{allowedorigins:v=window.location.origin}=t,{requiredicon:B="false"}=t,{allowsingleclickgameentry:D="false"}=t;const L=()=>(v||"").split(",").map(n=>n.trim()).filter(Boolean);let p=window.navigator.userAgent,y=[],N=[],K={},j="",M,V=!0,z=!1,I=!1,E,x,ke,J=!1,Z,Y,te=[];const Q=n=>{Object.keys(n).forEach(f=>{Ve(f,n[f])})},Re=()=>{fetch(m).then(f=>f.json()).then(f=>{Q(f)}).catch(f=>{console.log(f)})};Q(Ze);const ae=n=>{var f;n.data&&n.data.type=="SearchedItemClicked"&&Ne(n.data.gameId),n.data.type=="UserSessionID"&&(a(20,Z=n.data.session),a(21,Y=n.data.userid),a(39,J=!0)),n.data.type=="CategoryChange"&&W();try{const _=n.origin===window.location.origin,S=L();if(!(_||S.length>0&&S.includes(n.origin))||!n.data||n.data.channel!==P)return;switch(n.data.type){case"OpenSearch":$();break;case"CloseSearch":ne();break;case"ToggleSearch":Fe();break;case"SetSearchQuery":Le(String((f=n.data.value)!=null?f:""));break}}catch(_){}},Ce=n=>B!=="true"?void 0:Object.values(n!=null?n:{}).pop(),X=()=>{if(a(17,V=!1),a(18,z=!0),o&&u&&c&&j.length<2){a(14,y=[]);let n=localStorage.getItem("searchedGamesWds_casino"),f=[];n&&(f=n.split(","));let _=[],S=0,b=f.length;if(b>0){for(S=0;S<b;S++){let C=new URL(`${o}/v1/casino/games/${f[S]}`);C.searchParams.append("language",c),C.searchParams.append("datasource",u),C.searchParams.append("platform",e.getDevice(p)),_.push(Ge(C,f[S]))}Promise.all(_).then(C=>{C=C.filter(function(q){return!!q}),a(14,y=C.map(q=>(q.isFavorite=re(q.id),q))),y.length?H("searchSuccess","SearchWidget"):H("searchFail","SearchWidget")}).catch(C=>{H("searchError","SearchWidget")})}}oe(z),H("searchAttempt","SearchWidget"),H("SearchInitialized","SearchWidget")};function $(){z||(X(),requestAnimationFrame(()=>M==null?void 0:M.focus()),O({type:"SearchOpen"}))}function ne(){z&&(W(),O({type:"SearchClose"}))}function Fe(){z?ne():$()}function Le(n){a(15,j=(n!=null?n:"").slice(0,ve)),z||$(),le()}const H=(n,f)=>{typeof gtag=="function"&>ag("event",n,{context:f})},Te=()=>{G!="true"&&W()},Ie=n=>new Promise((f,_)=>{a(19,I=!0),fetch(n.href).then(S=>S.json()).then(S=>{a(19,I=!1),f(S)}).catch(S=>{a(19,I=!1),console.error(S);try{O({type:"SearchError",message:String(S)})}catch(b){}_(S)})}),Ge=(n,f)=>new Promise((_,S)=>{a(19,I=!0),f&&Object.keys(K).indexOf(f)>=0?(a(19,I=!1),_(K[f])):fetch(n).then(b=>b.json()).then(b=>{a(19,I=!1),b.error||(K[b[0].gameId]=b[0]),_(b[0])}).catch(b=>{a(19,I=!1),console.error(b);try{O({type:"SearchError",message:String(b)})}catch(C){}S(b)})}),je=()=>{const n=new URL(`${o}/v1/player/${Y}/favorites/`);a(19,I=!0);let f={method:"GET",headers:{"X-SessionID":Z}};fetch(n.href,f).then(_=>_.json()).then(_=>{a(19,I=!1),te=_.items.map(S=>S.id)})},ze=()=>{a(39,J=!0),a(20,Z=l),a(21,Y=i)},re=n=>te.findIndex(f=>f==n)!==-1,Ee=n=>{if((n==null?void 0:n.length)===0)return"";let f,_=99999999999,S;const b=new Date(Date.now());return n.forEach((C,q)=>{const xe=new Date(C.schedules[0].startTime),ee=new Date(C.schedules[0].endTime);U.differenceInMilliseconds(new Date(ee),new Date(b))<_&&(_=U.differenceInMilliseconds(new Date(ee),new Date(b)),S=q),U.isAfter(new Date(b),new Date(xe))&&U.isBefore(new Date(b),new Date(ee))&&(f=n[S].name)}),f},Ne=n=>{if(N=localStorage.getItem("searchedGamesWds_casino"),N?N=N.split(","):N=[],N.indexOf(n)===-1){let f;N.unshift(n),f=N.join(","),localStorage.setItem("searchedGamesWds_casino",f)}},W=()=>{a(15,j=""),a(17,V=!0),a(19,I=!1),a(14,y=[]),a(18,z=!1),oe(z)},se=()=>{a(15,j=""),M.focus()},oe=n=>{window.postMessage({type:n===!0?"searchActive":"searchCancelled",searchStatus:n},window.location.href),O({type:n?"SearchOpen":"SearchClose"})};function O(n){try{const f=ue({channel:P},n);window.postMessage(f,window.location.href)}catch(f){}}const Pe=()=>{Je(c)},le=()=>de(this,null,function*(){if(j.length>=2){const n=new URL(`${o}/v1/casino/games`);n.searchParams.append("datasource",u),n.searchParams.append("expand","vendor"),n.searchParams.append("platform",e.getDevice(p)),n.searchParams.append("language",c),n.searchParams.append("pagination","offset=0,limit=30"),n.searchParams.append("filter",`name=${j}`),Ie(n).then(f=>{a(14,y=f.items.map(_=>(_.isFavorite=re(_.id),_)));try{O({type:"SearchResults",count:y.length})}catch(_){}})}else V||X()}),De=U.debounce(le,500);e.onMount(()=>(window.addEventListener("message",ae,!1),()=>{x&&x.unsubscribe(),window.removeEventListener("message",ae)}));function Me(){j=this.value,a(15,j)}function qe(n){e.binding_callbacks[n?"unshift":"push"](()=>{M=n,a(16,M)})}const Ae=()=>se(),Be=()=>W();function Oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{E=n,a(13,E)})}return r.$$set=n=>{"endpoint"in n&&a(0,o=n.endpoint),"datasource"in n&&a(31,u=n.datasource),"session"in n&&a(32,l=n.session),"userid"in n&&a(33,i=n.userid),"lang"in n&&a(1,c=n.lang),"mbsource"in n&&a(2,d=n.mbsource),"clientstyling"in n&&a(3,h=n.clientstyling),"clientstylingurl"in n&&a(4,g=n.clientstylingurl),"integratedgameframedesktop"in n&&a(5,w=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(6,k=n.integratedgameframemobile),"showgamename"in n&&a(7,F=n.showgamename),"gamepagemodalurl"in n&&a(8,R=n.gamepagemodalurl),"translationurl"in n&&a(34,m=n.translationurl),"showfavorites"in n&&a(9,T=n.showfavorites),"cancelbutton"in n&&a(10,G=n.cancelbutton),"notfoundicon"in n&&a(11,A=n.notfoundicon),"controlchannel"in n&&a(35,P=n.controlchannel),"allowedorigins"in n&&a(36,v=n.allowedorigins),"requiredicon"in n&&a(37,B=n.requiredicon),"allowsingleclickgameentry"in n&&a(12,D=n.allowsingleclickgameentry)},r.$$.update=()=>{r.$$.dirty[0]&2&&c&&Pe(),r.$$.dirty[1]&8&&m&&Re(),r.$$.dirty[1]&6&&l&&i&&ze(),r.$$.dirty[0]&512|r.$$.dirty[1]&256&&T&&J&&je(),r.$$.dirty[0]&8200&&h&&E&&e.setClientStyling(E,h),r.$$.dirty[0]&8208&&g&&E&&e.setClientStylingURL(E,g),r.$$.dirty[0]&8196|r.$$.dirty[1]&128&&d&&E&&a(38,x=e.setStreamStyling(E,`${d}.Style`,x,!0)),r.$$.dirty[0]&4|r.$$.dirty[1]&8&&d&&!m&&e.getStreamTranslations(`${d}.Translation`,ke,Q)},[o,c,d,h,g,w,k,F,R,T,G,A,D,E,y,j,M,V,z,I,Z,Y,s,p,Ce,X,Te,Ee,W,se,De,u,l,i,m,P,v,B,x,J,Me,qe,Ae,Be,Oe]}class ye extends e.SvelteComponent{constructor(t){super(),e.init(this,t,tt,et,e.safe_not_equal,{endpoint:0,datasource:31,session:32,userid:33,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:34,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:35,allowedorigins:36,requiredicon:37,allowsingleclickgameentry:12},Ye,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[31]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[32]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[33]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[34]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get controlchannel(){return this.$$.ctx[35]}set controlchannel(t){this.$$set({controlchannel:t}),e.flush()}get allowedorigins(){return this.$$.ctx[36]}set allowedorigins(t){this.$$set({allowedorigins:t}),e.flush()}get requiredicon(){return this.$$.ctx[37]}set requiredicon(t){this.$$set({requiredicon:t}),e.flush()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),e.flush()}}e.create_custom_element(ye,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{}},[],[],!0);exports.default=ye;
|
|
1
|
+
"use strict";var He=Object.defineProperty;var ie=Object.getOwnPropertySymbols;var We=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable;var ce=(r,t,a)=>t in r?He(r,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[t]=a,ue=(r,t)=>{for(var a in t||(t={}))We.call(t,a)&&ce(r,a,t[a]);if(ie)for(var a of ie(t))Ue.call(t,a)&&ce(r,a,t[a]);return r};var de=(r,t,a)=>new Promise((s,o)=>{var u=c=>{try{i(a.next(c))}catch(d){o(d)}},l=c=>{try{i(a.throw(c))}catch(d){o(d)}},i=c=>c.done?s(c.value):Promise.resolve(c.value).then(u,l);i((a=a.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-60irniKe.cjs"),U=require("./CasinoGamesCategorySectionNd-CUQIMY65.cjs");require("../lazy/casino-game-thumbnail-nd-BVyei1Ib.cjs");function Ve(r,t){e.addMessages(r,t)}function Je(r){e.$locale.set(r)}const Ze={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Ye(r){e.append_styles(r,"svelte-1vt65d9","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function he(r,t,a){const s=r.slice();return s[68]=t[a],s}function me(r){let t,a=r[22]("cancel")+"",s,o,u,l;return{c(){t=e.element("small"),s=e.text(a),e.attr(t,"class",o="SearchCancelButton "+(r[17]?"NotVisible":""))},m(i,c){e.insert(i,t,c),e.append(t,s),u||(l=e.listen(t,"click",r[43]),u=!0)},p(i,c){c[0]&4194304&&a!==(a=i[22]("cancel")+"")&&e.set_data(s,a),c[0]&131072&&o!==(o="SearchCancelButton "+(i[17]?"NotVisible":""))&&e.attr(t,"class",o)},d(i){i&&e.detach(t),u=!1,l()}}}function Ke(r){let t,a,s,o;function u(h,g){if(h[18]==!0&&h[15].length<2)return $e;if(h[14].length!=0)return Xe}let l=u(r),i=l&&l(r),c=r[17]===!1&&_e(r),d=r[15].length>=2&&r[14].length==0&&we(r);return{c(){i&&i.c(),t=e.space(),a=e.element("div"),c&&c.c(),s=e.space(),d&&d.c(),e.attr(a,"class",o="SearchResultsContainer "+(r[18]==!0?"":"NotVisible"))},m(h,g){i&&i.m(h,g),e.insert(h,t,g),e.insert(h,a,g),c&&c.m(a,null),e.append(a,s),d&&d.m(a,null)},p(h,g){l===(l=u(h))&&i?i.p(h,g):(i&&i.d(1),i=l&&l(h),i&&(i.c(),i.m(t.parentNode,t))),h[17]===!1?c?c.p(h,g):(c=_e(h),c.c(),c.m(a,s)):c&&(c.d(1),c=null),h[15].length>=2&&h[14].length==0?d?d.p(h,g):(d=we(h),d.c(),d.m(a,null)):d&&(d.d(1),d=null),g[0]&262144&&o!==(o="SearchResultsContainer "+(h[18]==!0?"":"NotVisible"))&&e.attr(a,"class",o)},d(h){h&&(e.detach(t),e.detach(a)),i&&i.d(h),c&&c.d(),d&&d.d()}}}function Qe(r){let t,a=r[22]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","LoadingContent")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("loading")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function Xe(r){let t,a=r[22]("searchResult")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("searchResult")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function $e(r){let t,a,s=r[14].length!==0&&ge(r),o=r[14].length==0&&fe(r);return{c(){s&&s.c(),t=e.space(),o&&o.c(),a=e.empty()},m(u,l){s&&s.m(u,l),e.insert(u,t,l),o&&o.m(u,l),e.insert(u,a,l)},p(u,l){u[14].length!==0?s?s.p(u,l):(s=ge(u),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),u[14].length==0?o?o.p(u,l):(o=fe(u),o.c(),o.m(a.parentNode,a)):o&&(o.d(1),o=null)},d(u){u&&(e.detach(t),e.detach(a)),s&&s.d(u),o&&o.d(u)}}}function ge(r){let t,a=r[22]("recentSearch")+"",s;return{c(){t=e.element("p"),s=e.text(a),e.attr(t,"class","SearchMessage")},m(o,u){e.insert(o,t,u),e.append(t,s)},p(o,u){u[0]&4194304&&a!==(a=o[22]("recentSearch")+"")&&e.set_data(s,a)},d(o){o&&e.detach(t)}}}function fe(r){let t,a,s,o=r[22]("noRecentSearches")+"",u,l,i=r[11]==="true"&&pe();return{c(){t=e.element("div"),i&&i.c(),a=e.space(),s=e.element("p"),u=e.text(o),e.attr(s,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(c,d){e.insert(c,t,d),i&&i.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u)},p(c,d){c[11]==="true"?i||(i=pe(),i.c(),i.m(t,a)):i&&(i.d(1),i=null),d[0]&4194304&&o!==(o=c[22]("noRecentSearches")+"")&&e.set_data(u,o),d[0]&2048&&l!==(l="ResultsContainerError "+(c[11]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(c){c&&e.detach(t),i&&i.d()}}}function pe(r){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function _e(r){let t=[],a=new Map,s,o=e.ensure_array_like(r[14]);const u=l=>l[68].id;for(let l=0;l<o.length;l+=1){let i=he(r,o,l),c=u(i);a.set(c,t[l]=Se(c,i))}return{c(){for(let l=0;l<t.length;l+=1)t[l].c();s=e.empty()},m(l,i){for(let c=0;c<t.length;c+=1)t[c]&&t[c].m(l,i);e.insert(l,s,i)},p(l,i){i[0]&154162175&&(o=e.ensure_array_like(l[14]),t=e.update_keyed_each(t,i,u,1,l,o,a,s.parentNode,e.destroy_block,Se,s,he))},d(l){l&&e.detach(s);for(let i=0;i<t.length;i+=1)t[i].d(l)}}}function Se(r,t){let a,s,o,u,l,i,c,d,h,g,w,k,F;return{key:r,first:null,c(){var R,m;a=e.element("casino-game-thumbnail-nd"),e.set_custom_element_data(a,"endpoint",t[0]),e.set_custom_element_data(a,"session",t[20]),e.set_custom_element_data(a,"userid",t[21]),e.set_custom_element_data(a,"favorites",t[9]),e.set_custom_element_data(a,"lang",t[1]),e.set_custom_element_data(a,"gamethumbnail",s=t[68].thumbnail),e.set_custom_element_data(a,"icon",o=t[24]((R=t[68])==null?void 0:R.icons)),e.set_custom_element_data(a,"gamename",u=t[68].name),e.set_custom_element_data(a,"gamevendor",l=t[68].vendor.name),e.set_custom_element_data(a,"gameLaunchUrl",i=t[68].launchUrl),e.set_custom_element_data(a,"gameisnew",c=t[68].isNew),e.set_custom_element_data(a,"gametag",d=((m=t[68].advancedTags)==null?void 0:m.length)>0&&t[27](t[68].advancedTags)),e.set_custom_element_data(a,"gamecellsize",h=t[68].cellSize),e.set_custom_element_data(a,"gameid",g=t[68].id),e.set_custom_element_data(a,"showgamename",t[7]),e.set_custom_element_data(a,"gamefunmode",w=t[68].hasFunMode),e.set_custom_element_data(a,"gamefavorite",k=t[68].isFavorite),e.set_custom_element_data(a,"livelobbyendpoint",F=t[68].details?t[68].launchUrl:""),e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),e.set_custom_element_data(a,"integratedgameframemobile",t[6]),e.set_custom_element_data(a,"clientstyling",t[3]),e.set_custom_element_data(a,"clientstylingurl",t[4]),e.set_custom_element_data(a,"gamepagemodalurl",t[8]),e.set_custom_element_data(a,"mbsource",t[2]),e.set_custom_element_data(a,"allowsingleclickgameentry",t[12]),this.first=a},m(R,m){e.insert(R,a,m)},p(R,m){var T,G;t=R,m[0]&1&&e.set_custom_element_data(a,"endpoint",t[0]),m[0]&1048576&&e.set_custom_element_data(a,"session",t[20]),m[0]&2097152&&e.set_custom_element_data(a,"userid",t[21]),m[0]&512&&e.set_custom_element_data(a,"favorites",t[9]),m[0]&2&&e.set_custom_element_data(a,"lang",t[1]),m[0]&16384&&s!==(s=t[68].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",s),m[0]&16384&&o!==(o=t[24]((T=t[68])==null?void 0:T.icons))&&e.set_custom_element_data(a,"icon",o),m[0]&16384&&u!==(u=t[68].name)&&e.set_custom_element_data(a,"gamename",u),m[0]&16384&&l!==(l=t[68].vendor.name)&&e.set_custom_element_data(a,"gamevendor",l),m[0]&16384&&i!==(i=t[68].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",i),m[0]&16384&&c!==(c=t[68].isNew)&&e.set_custom_element_data(a,"gameisnew",c),m[0]&16384&&d!==(d=((G=t[68].advancedTags)==null?void 0:G.length)>0&&t[27](t[68].advancedTags))&&e.set_custom_element_data(a,"gametag",d),m[0]&16384&&h!==(h=t[68].cellSize)&&e.set_custom_element_data(a,"gamecellsize",h),m[0]&16384&&g!==(g=t[68].id)&&e.set_custom_element_data(a,"gameid",g),m[0]&128&&e.set_custom_element_data(a,"showgamename",t[7]),m[0]&16384&&w!==(w=t[68].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",w),m[0]&16384&&k!==(k=t[68].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",k),m[0]&16384&&F!==(F=t[68].details?t[68].launchUrl:"")&&e.set_custom_element_data(a,"livelobbyendpoint",F),m[0]&32&&e.set_custom_element_data(a,"integratedgameframedesktop",t[5]),m[0]&64&&e.set_custom_element_data(a,"integratedgameframemobile",t[6]),m[0]&8&&e.set_custom_element_data(a,"clientstyling",t[3]),m[0]&16&&e.set_custom_element_data(a,"clientstylingurl",t[4]),m[0]&256&&e.set_custom_element_data(a,"gamepagemodalurl",t[8]),m[0]&4&&e.set_custom_element_data(a,"mbsource",t[2]),m[0]&4096&&e.set_custom_element_data(a,"allowsingleclickgameentry",t[12])},d(R){R&&e.detach(a)}}}function we(r){let t,a,s,o=r[22]("notFound")+"",u,l,i,c=r[22]("notFoundText")+"",d,h,g=r[11]==="true"&&be();return{c(){t=e.element("div"),g&&g.c(),a=e.space(),s=e.element("p"),u=e.text(o),l=e.space(),i=e.element("p"),d=e.text(c),e.attr(s,"class","SearchMessage"),e.attr(t,"class",h="ResultsContainerError "+(r[11]=="true"?"WithIcon":""))},m(w,k){e.insert(w,t,k),g&&g.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,l),e.append(t,i),e.append(i,d)},p(w,k){w[11]==="true"?g||(g=be(),g.c(),g.m(t,a)):g&&(g.d(1),g=null),k[0]&4194304&&o!==(o=w[22]("notFound")+"")&&e.set_data(u,o),k[0]&4194304&&c!==(c=w[22]("notFoundText")+"")&&e.set_data(d,c),k[0]&2048&&h!==(h="ResultsContainerError "+(w[11]=="true"?"WithIcon":""))&&e.attr(t,"class",h)},d(w){w&&e.detach(t),g&&g.d()}}}function be(r){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,s){e.insert(a,t,s)},d(a){a&&e.detach(t)}}}function et(r){let t,a,s,o,u,l,i,c,d,h,g,w,k,F,R,m,T,G,A,P,v=r[10]==="true"&&me(r);function B(p,y){return p[19]?Qe:Ke}let D=B(r),L=D(r);return{c(){t=e.element("div"),a=e.element("div"),s=e.element("div"),o=e.element("div"),o.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',u=e.space(),l=e.element("input"),c=e.space(),d=e.element("span"),h=e.svg_element("svg"),g=e.svg_element("path"),k=e.space(),v&&v.c(),R=e.space(),m=e.element("div"),G=e.space(),L.c(),e.attr(o,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",i=r[22]("placeHolderSearchGames")),e.attr(l,"maxlength",ve),e.attr(g,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(g,"stroke","#717171"),e.attr(g,"stroke-width","2"),e.attr(g,"stroke-linecap","round"),e.attr(g,"stroke-linejoin","round"),e.attr(h,"width","11"),e.attr(h,"height","11"),e.attr(h,"fill","none"),e.attr(h,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"class",w="SearchClearButton "+(r[10]!="true"?"WithoutCancel":"")+" "+(r[15].length!=0?"":"NotVisible")),e.attr(s,"class",F="Search "+(r[17]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(m,"class",T=r[10]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(r[23])!=="PC"?"":"Desktop")+" CasinoSearch")},m(p,y){e.insert(p,t,y),e.append(t,a),e.append(a,s),e.append(s,o),e.append(s,u),e.append(s,l),e.set_input_value(l,r[15]),r[41](l),e.append(s,c),e.append(s,d),e.append(d,h),e.append(h,g),e.append(s,k),v&&v.m(s,null),e.append(t,R),e.append(t,m),e.append(t,G),L.m(t,null),r[44](t),A||(P=[e.listen(l,"input",r[40]),e.listen(l,"focus",r[25]),e.listen(l,"input",r[30]),e.listen(d,"click",r[42]),e.listen(m,"click",r[26])],A=!0)},p(p,y){y[0]&4194304&&i!==(i=p[22]("placeHolderSearchGames"))&&e.attr(l,"placeholder",i),y[0]&32768&&l.value!==p[15]&&e.set_input_value(l,p[15]),y[0]&33792&&w!==(w="SearchClearButton "+(p[10]!="true"?"WithoutCancel":"")+" "+(p[15].length!=0?"":"NotVisible"))&&e.attr(d,"class",w),p[10]==="true"?v?v.p(p,y):(v=me(p),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&131072&&F!==(F="Search "+(p[17]?"":"SearchAnimation"))&&e.attr(s,"class",F),y[0]&1024&&T!==(T=p[10]!="true"?"OverlayCancel":"")&&e.attr(m,"class",T),D===(D=B(p))&&L?L.p(p,y):(L.d(1),L=D(p),L&&(L.c(),L.m(t,null)))},i:e.noop,o:e.noop,d(p){p&&e.detach(t),r[41](null),v&&v.d(),L.d(),r[44](null),A=!1,e.run_all(P)}}}let ve=50;function tt(r,t,a){let s;e.component_subscribe(r,e.$format,n=>a(22,s=n));let{endpoint:o=""}=t,{datasource:u=""}=t,{session:l=""}=t,{userid:i=""}=t,{lang:c="en"}=t,{mbsource:d}=t,{clientstyling:h=""}=t,{clientstylingurl:g=""}=t,{integratedgameframedesktop:w="false"}=t,{integratedgameframemobile:k="false"}=t,{showgamename:F=""}=t,{gamepagemodalurl:R="true"}=t,{translationurl:m=""}=t,{showfavorites:T=""}=t,{cancelbutton:G="true"}=t,{notfoundicon:A="false"}=t,{controlchannel:P="casino-search"}=t,{allowedorigins:v=window.location.origin}=t,{requiredicon:B="false"}=t,{allowsingleclickgameentry:D="false"}=t;const L=()=>(v||"").split(",").map(n=>n.trim()).filter(Boolean);let p=window.navigator.userAgent,y=[],N=[],K={},j="",M,V=!0,z=!1,I=!1,E,x,ke,J=!1,Z,Y,te=[];const Q=n=>{Object.keys(n).forEach(f=>{Ve(f,n[f])})},Re=()=>{fetch(m).then(f=>f.json()).then(f=>{Q(f)}).catch(f=>{console.log(f)})};Q(Ze);const ae=n=>{var f;n.data&&n.data.type=="SearchedItemClicked"&&Ne(n.data.gameId),n.data.type=="UserSessionID"&&(a(20,Z=n.data.session),a(21,Y=n.data.userid),a(39,J=!0)),n.data.type=="CategoryChange"&&W();try{const _=n.origin===window.location.origin,S=L();if(!(_||S.length>0&&S.includes(n.origin))||!n.data||n.data.channel!==P)return;switch(n.data.type){case"OpenSearch":$();break;case"CloseSearch":ne();break;case"ToggleSearch":Fe();break;case"SetSearchQuery":Le(String((f=n.data.value)!=null?f:""));break}}catch(_){}},Ce=n=>B!=="true"?void 0:Object.values(n!=null?n:{}).pop(),X=()=>{if(a(17,V=!1),a(18,z=!0),o&&u&&c&&j.length<2){a(14,y=[]);let n=localStorage.getItem("searchedGamesWds_casino"),f=[];n&&(f=n.split(","));let _=[],S=0,b=f.length;if(b>0){for(S=0;S<b;S++){let C=new URL(`${o}/v1/casino/games/${f[S]}`);C.searchParams.append("language",c),C.searchParams.append("datasource",u),C.searchParams.append("platform",e.getDevice(p)),_.push(Ge(C,f[S]))}Promise.all(_).then(C=>{C=C.filter(function(q){return!!q}),a(14,y=C.map(q=>(q.isFavorite=re(q.id),q))),y.length?H("searchSuccess","SearchWidget"):H("searchFail","SearchWidget")}).catch(C=>{H("searchError","SearchWidget")})}}oe(z),H("searchAttempt","SearchWidget"),H("SearchInitialized","SearchWidget")};function $(){z||(X(),requestAnimationFrame(()=>M==null?void 0:M.focus()),O({type:"SearchOpen"}))}function ne(){z&&(W(),O({type:"SearchClose"}))}function Fe(){z?ne():$()}function Le(n){a(15,j=(n!=null?n:"").slice(0,ve)),z||$(),le()}const H=(n,f)=>{typeof gtag=="function"&>ag("event",n,{context:f})},Te=()=>{G!="true"&&W()},Ie=n=>new Promise((f,_)=>{a(19,I=!0),fetch(n.href).then(S=>S.json()).then(S=>{a(19,I=!1),f(S)}).catch(S=>{a(19,I=!1),console.error(S);try{O({type:"SearchError",message:String(S)})}catch(b){}_(S)})}),Ge=(n,f)=>new Promise((_,S)=>{a(19,I=!0),f&&Object.keys(K).indexOf(f)>=0?(a(19,I=!1),_(K[f])):fetch(n).then(b=>b.json()).then(b=>{a(19,I=!1),b.error||(K[b[0].gameId]=b[0]),_(b[0])}).catch(b=>{a(19,I=!1),console.error(b);try{O({type:"SearchError",message:String(b)})}catch(C){}S(b)})}),je=()=>{const n=new URL(`${o}/v1/player/${Y}/favorites/`);a(19,I=!0);let f={method:"GET",headers:{"X-SessionID":Z}};fetch(n.href,f).then(_=>_.json()).then(_=>{a(19,I=!1),te=_.items.map(S=>S.id)})},ze=()=>{a(39,J=!0),a(20,Z=l),a(21,Y=i)},re=n=>te.findIndex(f=>f==n)!==-1,Ee=n=>{if((n==null?void 0:n.length)===0)return"";let f,_=99999999999,S;const b=new Date(Date.now());return n.forEach((C,q)=>{const xe=new Date(C.schedules[0].startTime),ee=new Date(C.schedules[0].endTime);U.differenceInMilliseconds(new Date(ee),new Date(b))<_&&(_=U.differenceInMilliseconds(new Date(ee),new Date(b)),S=q),U.isAfter(new Date(b),new Date(xe))&&U.isBefore(new Date(b),new Date(ee))&&(f=n[S].name)}),f},Ne=n=>{if(N=localStorage.getItem("searchedGamesWds_casino"),N?N=N.split(","):N=[],N.indexOf(n)===-1){let f;N.unshift(n),f=N.join(","),localStorage.setItem("searchedGamesWds_casino",f)}},W=()=>{a(15,j=""),a(17,V=!0),a(19,I=!1),a(14,y=[]),a(18,z=!1),oe(z)},se=()=>{a(15,j=""),M.focus()},oe=n=>{window.postMessage({type:n===!0?"searchActive":"searchCancelled",searchStatus:n},window.location.href),O({type:n?"SearchOpen":"SearchClose"})};function O(n){try{const f=ue({channel:P},n);window.postMessage(f,window.location.href)}catch(f){}}const Pe=()=>{Je(c)},le=()=>de(this,null,function*(){if(j.length>=2){const n=new URL(`${o}/v1/casino/games`);n.searchParams.append("datasource",u),n.searchParams.append("expand","vendor"),n.searchParams.append("platform",e.getDevice(p)),n.searchParams.append("language",c),n.searchParams.append("pagination","offset=0,limit=30"),n.searchParams.append("filter",`name=${j}`),Ie(n).then(f=>{a(14,y=f.items.map(_=>(_.isFavorite=re(_.id),_)));try{O({type:"SearchResults",count:y.length})}catch(_){}})}else V||X()}),De=U.debounce(le,500);e.onMount(()=>(window.addEventListener("message",ae,!1),()=>{x&&x.unsubscribe(),window.removeEventListener("message",ae)}));function Me(){j=this.value,a(15,j)}function qe(n){e.binding_callbacks[n?"unshift":"push"](()=>{M=n,a(16,M)})}const Ae=()=>se(),Be=()=>W();function Oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{E=n,a(13,E)})}return r.$$set=n=>{"endpoint"in n&&a(0,o=n.endpoint),"datasource"in n&&a(31,u=n.datasource),"session"in n&&a(32,l=n.session),"userid"in n&&a(33,i=n.userid),"lang"in n&&a(1,c=n.lang),"mbsource"in n&&a(2,d=n.mbsource),"clientstyling"in n&&a(3,h=n.clientstyling),"clientstylingurl"in n&&a(4,g=n.clientstylingurl),"integratedgameframedesktop"in n&&a(5,w=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(6,k=n.integratedgameframemobile),"showgamename"in n&&a(7,F=n.showgamename),"gamepagemodalurl"in n&&a(8,R=n.gamepagemodalurl),"translationurl"in n&&a(34,m=n.translationurl),"showfavorites"in n&&a(9,T=n.showfavorites),"cancelbutton"in n&&a(10,G=n.cancelbutton),"notfoundicon"in n&&a(11,A=n.notfoundicon),"controlchannel"in n&&a(35,P=n.controlchannel),"allowedorigins"in n&&a(36,v=n.allowedorigins),"requiredicon"in n&&a(37,B=n.requiredicon),"allowsingleclickgameentry"in n&&a(12,D=n.allowsingleclickgameentry)},r.$$.update=()=>{r.$$.dirty[0]&2&&c&&Pe(),r.$$.dirty[1]&8&&m&&Re(),r.$$.dirty[1]&6&&l&&i&&ze(),r.$$.dirty[0]&512|r.$$.dirty[1]&256&&T&&J&&je(),r.$$.dirty[0]&8200&&h&&E&&e.setClientStyling(E,h),r.$$.dirty[0]&8208&&g&&E&&e.setClientStylingURL(E,g),r.$$.dirty[0]&8196|r.$$.dirty[1]&128&&d&&E&&a(38,x=e.setStreamStyling(E,`${d}.Style`,x,!0)),r.$$.dirty[0]&4|r.$$.dirty[1]&8&&d&&!m&&e.getStreamTranslations(`${d}.Translation`,ke,Q)},[o,c,d,h,g,w,k,F,R,T,G,A,D,E,y,j,M,V,z,I,Z,Y,s,p,Ce,X,Te,Ee,W,se,De,u,l,i,m,P,v,B,x,J,Me,qe,Ae,Be,Oe]}class ye extends e.SvelteComponent{constructor(t){super(),e.init(this,t,tt,et,e.safe_not_equal,{endpoint:0,datasource:31,session:32,userid:33,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:34,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:35,allowedorigins:36,requiredicon:37,allowsingleclickgameentry:12},Ye,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[31]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[32]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[33]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[34]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}get controlchannel(){return this.$$.ctx[35]}set controlchannel(t){this.$$set({controlchannel:t}),e.flush()}get allowedorigins(){return this.$$.ctx[36]}set allowedorigins(t){this.$$set({allowedorigins:t}),e.flush()}get requiredicon(){return this.$$.ctx[37]}set requiredicon(t){this.$$set({requiredicon:t}),e.flush()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),e.flush()}}e.create_custom_element(ye,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{}},[],[],!0);exports.default=ye;
|
|
@@ -25,9 +25,9 @@ var ve = (n, e, t) => new Promise((r, o) => {
|
|
|
25
25
|
}, l = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(c, s);
|
|
26
26
|
l((t = t.apply(n, e)).next());
|
|
27
27
|
});
|
|
28
|
-
import { a as it, $ as ct, S as ut, i as ht, s as dt, f as y, b as gt, n as ke, d as T, V as mt, j as p, Z as ye, c as I, e as S, D as Q, g as R, h as D, E as Re, u as ue, k as ft, o as pt, m as St, v as V, w as J, q as Ce, x as Fe, y as _t, z as wt, r as Me, A as u, F as bt, G as vt, H as kt, I as yt, J as Rt } from "./CasinoPageNd-
|
|
29
|
-
import { d as Le, i as Ct, a as Ft, b as Lt } from "./CasinoGamesCategorySectionNd-
|
|
30
|
-
import "../lazy/casino-game-thumbnail-nd-
|
|
28
|
+
import { a as it, $ as ct, S as ut, i as ht, s as dt, f as y, b as gt, n as ke, d as T, V as mt, j as p, Z as ye, c as I, e as S, D as Q, g as R, h as D, E as Re, u as ue, k as ft, o as pt, m as St, v as V, w as J, q as Ce, x as Fe, y as _t, z as wt, r as Me, A as u, F as bt, G as vt, H as kt, I as yt, J as Rt } from "./CasinoPageNd-DjYQD-vm.js";
|
|
29
|
+
import { d as Le, i as Ct, a as Ft, b as Lt } from "./CasinoGamesCategorySectionNd-BB012KCY.js";
|
|
30
|
+
import "../lazy/casino-game-thumbnail-nd-1knG5YPk.js";
|
|
31
31
|
function Tt(n, e) {
|
|
32
32
|
it(n, e);
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as tt, $ as at, S as nt, i as rt, s as ot, f as k, b as st, n as _e, d as T, W as lt, j as p, _ as we, c as I, e as S, F as K, g as y, h as P, G as be, v as ue, k as it, l as ct, o as ut, p as ht, w as x, x as U, r as ve, y as ke, z as dt, A as gt, t as ze, B as u, H as mt, I as ft, J as pt, K as St } from "./CasinoPageNd-
|
|
2
|
-
import { d as ye, i as _t, a as wt, b as bt } from "./CasinoGamesCategorySectionNd-
|
|
3
|
-
import "../lazy/casino-game-thumbnail-nd-
|
|
1
|
+
import { a as tt, $ as at, S as nt, i as rt, s as ot, f as k, b as st, n as _e, d as T, W as lt, j as p, _ as we, c as I, e as S, F as K, g as y, h as P, G as be, v as ue, k as it, l as ct, o as ut, p as ht, w as x, x as U, r as ve, y as ke, z as dt, A as gt, t as ze, B as u, H as mt, I as ft, J as pt, K as St } from "./CasinoPageNd-BPcO6DbV.js";
|
|
2
|
+
import { d as ye, i as _t, a as wt, b as bt } from "./CasinoGamesCategorySectionNd-Dom9UP7v.js";
|
|
3
|
+
import "../lazy/casino-game-thumbnail-nd-CLtT0WLq.js";
|
|
4
4
|
function vt(n, e) {
|
|
5
5
|
tt(n, e);
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-sBqrOtht.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,N,F,a,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),m=[];for(let i=0;i<Z.length;i+=1)m[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),a=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<m.length;i+=1)m[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",N="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",F="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,x),t.append(o,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,a),t.append(r,c),t.append(c,v);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&N!==(N="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",N),k&2&&F!==(F="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",F),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);m[u]?m[u].p(T,k):(m[u]=P(T),m[u].c(),m[u].m(v,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(m,i),H=!1,L()}}}function P(e){let r,n,o,l,s,p,h,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,x),y||(g=t.listen(o,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(a=>{E(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let a=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];a?n(3,S=a):n(3,S="All"),n(3,S=A[a])},O=a=>{n(3,S=a);let c=localStorage.getItem("vendorSortingBy");w=a;for(let v in A)if(A[v]===a){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=a=>{a.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),N=a=>O(a);function F(a){t.binding_callbacks[a?"unshift":"push"](()=>{g=a,n(0,g)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,x=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&h&&g&&t.setClientStylingURL(g,h),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,o,A,O,C,l,s,p,h,d,x,z,N,F]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-60irniKe.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,N,F,a,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),m=[];for(let i=0;i<Z.length;i+=1)m[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),a=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<m.length;i+=1)m[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",N="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",F="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,x),t.append(o,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,a),t.append(r,c),t.append(c,v);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&N!==(N="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",N),k&2&&F!==(F="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",F),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);m[u]?m[u].p(T,k):(m[u]=P(T),m[u].c(),m[u].m(v,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(m,i),H=!1,L()}}}function P(e){let r,n,o,l,s,p,h,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,x),y||(g=t.listen(o,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(a=>{E(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let a=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];a?n(3,S=a):n(3,S="All"),n(3,S=A[a])},O=a=>{n(3,S=a);let c=localStorage.getItem("vendorSortingBy");w=a;for(let v in A)if(A[v]===a){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=a=>{a.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),N=a=>O(a);function F(a){t.binding_callbacks[a?"unshift":"push"](()=>{g=a,n(0,g)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,x=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&h&&g&&t.setClientStylingURL(g,h),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,o,A,O,C,l,s,p,h,d,x,z,N,F]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, K as et, a as rt, S as ot, i as nt, s as at, f as M, b as st, n as U, d as P, c as R, g as m, k as lt, o as it, q as ct, x as G, B as dt, v as K, j as r, e as l, D as tt, E as Z, h as B, w as Q, F as pt, G as gt, H as ut, I as ht, J as mt } from "./CasinoPageNd-
|
|
1
|
+
import { $ as q, K as et, a as rt, S as ot, i as nt, s as at, f as M, b as st, n as U, d as P, c as R, g as m, k as lt, o as it, q as ct, x as G, B as dt, v as K, j as r, e as l, D as tt, E as Z, h as B, w as Q, F as pt, G as gt, H as ut, I as ht, J as mt } from "./CasinoPageNd-DjYQD-vm.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, c as R, g as m, k as st, l as it, o as ct, r as dt, y as G, D as pt, w as K, j as r, e as s, F as tt, G as Z, h as I, x as Q, H as gt, I as ut, J as ht, K as mt } from "./CasinoPageNd-
|
|
1
|
+
import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, c as R, g as m, k as st, l as it, o as ct, r as dt, y as G, D as pt, w as K, j as r, e as s, F as tt, G as Z, h as I, x as Q, H as gt, I as ut, J as ht, K as mt } from "./CasinoPageNd-BPcO6DbV.js";
|
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
|
3
3
|
q.subscribe((o) => {
|
|
4
4
|
o == null && (et.set(e), q.set(t));
|
|
@@ -14,8 +14,8 @@ var ae = (t, e, n) => new Promise((i, s) => {
|
|
|
14
14
|
}, u = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(o, l);
|
|
15
15
|
u((n = n.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as en, $ as nn, S as tn, i as rn, s as sn, f as b, b as on, n as ve, d as z, c as E, g as _, k as ln, o as an, t as cn, m as un, U as Ce, q as ce, A as D, x as $, B as Ne, V as dn, j as a, e as f, D as X, h as H, E as Q, r as ue, v as q, w as K, C as ke, F as mn, G as fn, H as gn, I as hn, J as bn } from "./CasinoPageNd-
|
|
18
|
-
import "../lazy/general-animation-loading-
|
|
17
|
+
import { a as en, $ as nn, S as tn, i as rn, s as sn, f as b, b as on, n as ve, d as z, c as E, g as _, k as ln, o as an, t as cn, m as un, U as Ce, q as ce, A as D, x as $, B as Ne, V as dn, j as a, e as f, D as X, h as H, E as Q, r as ue, v as q, w as K, C as ke, F as mn, G as fn, H as gn, I as hn, J as bn } from "./CasinoPageNd-DjYQD-vm.js";
|
|
18
|
+
import "../lazy/general-animation-loading-BkqHZgx7.js";
|
|
19
19
|
function pn(t, e) {
|
|
20
20
|
en(t, e);
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $e, $ as en, S as nn, i as tn, s as rn, f as h, b as sn, n as we, d as A, c as z, g as W, k as on, l as ln, o as an, u as cn, p as un, V as ve, r as ae, B as G, y as $, D as Ne, W as dn, j as a, e as f, F as X, h as O, G as Q, t as ce, w as V, x as K, E as ke, H as mn, I as fn, J as gn, K as hn } from "./CasinoPageNd-
|
|
2
|
-
import "../lazy/general-animation-loading-
|
|
1
|
+
import { a as $e, $ as en, S as nn, i as tn, s as rn, f as h, b as sn, n as we, d as A, c as z, g as W, k as on, l as ln, o as an, u as cn, p as un, V as ve, r as ae, B as G, y as $, D as Ne, W as dn, j as a, e as f, F as X, h as O, G as Q, t as ce, w as V, x as K, E as ke, H as mn, I as fn, J as gn, K as hn } from "./CasinoPageNd-BPcO6DbV.js";
|
|
2
|
+
import "../lazy/general-animation-loading-CmjHo_BG.js";
|
|
3
3
|
function bn(r, e) {
|
|
4
4
|
$e(r, e);
|
|
5
5
|
}
|