@everymatrix/casino-page-nd 1.86.4 → 1.86.6
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-Bm4Lrrtm.js → CasinoCalendar-BELrT2lA.js} +839 -818
- package/components/{CasinoCalendar-ByWHfhRn.js → CasinoCalendar-BpwU4Nrb.js} +1008 -987
- package/components/CasinoCalendar-DrrajltR.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-n6jBlg2T.js → CasinoCalendarDailyDetails-B9Svmn08.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-BVfLOa4A.js → CasinoCalendarDailyDetails-BzANjMYK.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-BrGRzv2U.cjs → CasinoCalendarDailyDetails-lmz3Ug1c.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-qOEc-G6f.js → CasinoCalendarDailyItem-Csh2ZNEb.js} +39 -39
- package/components/{CasinoCalendarDailyItem-iUB7PzIf.js → CasinoCalendarDailyItem-Ddwevbwg.js} +36 -36
- package/components/{CasinoCalendarDailyItem-WjewL2ob.cjs → CasinoCalendarDailyItem-DmRnSMf5.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Dx4zCq2K.js → CasinoCollectionsProviders-B-rxzUHS.js} +65 -65
- package/components/{CasinoCollectionsProviders-DgcP1agN.js → CasinoCollectionsProviders-Bz4Qwgcy.js} +68 -68
- package/components/{CasinoCollectionsProviders-CE_OqghK.cjs → CasinoCollectionsProviders-C5rH3HrT.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-VVi6dhHR.js → CasinoFavoritesSectionNd-BG6pm2Zc.js} +34 -34
- package/components/{CasinoFavoritesSectionNd-CBwBAifE.cjs → CasinoFavoritesSectionNd-BLXqyURj.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BcrN5yYg.js → CasinoFavoritesSectionNd-BSBUjl98.js} +29 -29
- package/components/{CasinoFilter-GODsv8MA.js → CasinoFilter-BOPSPGn4.js} +236 -235
- package/components/CasinoFilter-BkWQ4KgW.cjs +1 -0
- package/components/{CasinoFilter-BPNzF2-9.js → CasinoFilter-F9z7t5pe.js} +253 -254
- package/components/{CasinoGameThumbnailNd-CDh3o3Px.js → CasinoGameThumbnailNd-BJOwb878.js} +85 -87
- package/components/{CasinoGameThumbnailNd-4EguqFH3.js → CasinoGameThumbnailNd-BhMXUEuY.js} +86 -88
- package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +30 -0
- package/components/{CasinoGamesCategorySectionNd-Bitnf3Pu.js → CasinoGamesCategorySectionNd-4Y9j2CTp.js} +195 -195
- package/components/{CasinoGamesCategorySectionNd-B4fdeIY9.js → CasinoGamesCategorySectionNd-CcIA7A2_.js} +148 -148
- package/components/{CasinoGamesCategorySectionNd-B3T9EqGO.cjs → CasinoGamesCategorySectionNd-DFjizJHZ.cjs} +1 -1
- package/components/{CasinoJackpotBanner-_CDv0aAO.js → CasinoJackpotBanner-D-liS_Me.js} +58 -58
- package/components/{CasinoJackpotBanner-CpY0RIAN.cjs → CasinoJackpotBanner-DKGuifD8.cjs} +1 -1
- package/components/{CasinoJackpotBanner-DxI1Soob.js → CasinoJackpotBanner-Djh5d5I0.js} +103 -103
- package/components/{CasinoLastPlayedSectionNd-ZjEf9Lub.js → CasinoLastPlayedSectionNd-B-qpM121.js} +41 -41
- package/components/{CasinoLastPlayedSectionNd-DILnGtUX.js → CasinoLastPlayedSectionNd-C2_p1XnX.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-D6WgYR0j.cjs → CasinoLastPlayedSectionNd-vCZFhZlA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-BFsRD6rg.js → CasinoMostPlayedSectionNd-BPgmDns2.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-DCkQETsB.js → CasinoMostPlayedSectionNd-CzImrQ3h.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-Dcah-s5J.cjs → CasinoMostPlayedSectionNd-uB4-C_na.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DakvkCd4.js → CasinoMyGamesNd-Bop6WAH3.js} +51 -51
- package/components/{CasinoMyGamesNd-Dr1esI6B.cjs → CasinoMyGamesNd-C-1cL3yu.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DVztrMUD.js → CasinoMyGamesNd-CKRn9fvF.js} +53 -53
- package/components/{CasinoPageNd-CtsRxoGA.cjs → CasinoPageNd-AVCfA1IM.cjs} +1 -1
- package/components/{CasinoPageNd-DIDp5-by.js → CasinoPageNd-C6N29yee.js} +114 -114
- package/components/{CasinoPageNd-CAmff4ks.js → CasinoPageNd-DwyUEhz5.js} +114 -114
- package/components/{CasinoRandomGame-DupyUmXZ.js → CasinoRandomGame-BqY01xC4.js} +49 -49
- package/components/{CasinoRandomGame-Cx-bJyHF.cjs → CasinoRandomGame-BqszKIRI.cjs} +1 -1
- package/components/{CasinoRandomGame-Ya0-kjW3.js → CasinoRandomGame-OSVl6dyi.js} +58 -58
- package/components/{CasinoSearchNd-_IxI7aTr.js → CasinoSearchNd-Bkbd55Uy.js} +93 -93
- package/components/{CasinoSearchNd-CzKi_y0F.js → CasinoSearchNd-KS2rbEcX.js} +68 -68
- package/components/{CasinoSearchNd-DBINiuQe.cjs → CasinoSearchNd-ik5X5b1Y.cjs} +1 -1
- package/components/{CasinoSort-Dz1RRrMf.js → CasinoSort-ChNfSlPO.js} +108 -107
- package/components/{CasinoSort-Caqiz1jb.cjs → CasinoSort-D9yqS_K_.cjs} +1 -1
- package/components/{CasinoSort-D4-79NkE.js → CasinoSort-gHx_6Htf.js} +116 -117
- package/components/{CasinoWinners-S62TcwVW.js → CasinoWinners--Sn5RpG3.js} +150 -150
- package/components/{CasinoWinners-Dj8YtrUs.js → CasinoWinners-BXqKa3QL.js} +159 -159
- package/components/{CasinoWinners-DSBGPuPN.cjs → CasinoWinners-DGEdj61G.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CtToe_XL.js → GeneralAnimationLoading-DrJIjWen.js} +10 -10
- package/components/{GeneralAnimationLoading-I-XkjtJ7.cjs → GeneralAnimationLoading-dlrAfGeC.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BKRrPWfZ.js → GeneralAnimationLoading-khf0HKjf.js} +8 -8
- 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-BVsUqaIU.js → casino-calendar-BQ3kWu0l.js} +1 -1
- package/lazy/{casino-calendar-BzvJgsBA.cjs → casino-calendar-C-GiLu3p.cjs} +1 -1
- package/lazy/{casino-calendar-CkOgn3Ly.js → casino-calendar-W25gPujL.js} +1 -1
- package/lazy/{casino-calendar-daily-details-C74_KqKf.js → casino-calendar-daily-details-Bs78gyMV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Cp4G0xrK.js → casino-calendar-daily-details-DbdU0n9_.js} +1 -1
- package/lazy/{casino-calendar-daily-details-C-yZwYqm.cjs → casino-calendar-daily-details-DgAlT_Jk.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-COsZF3LN.js → casino-calendar-daily-item-BZGfz8IW.js} +1 -1
- package/lazy/{casino-calendar-daily-item-De_8-g2U.js → casino-calendar-daily-item-BzQVDuqP.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CM76g2hB.cjs → casino-calendar-daily-item-UAvUvm5x.cjs} +1 -1
- package/lazy/{casino-collections-providers-_udE1nic.cjs → casino-collections-providers-DEpXDWUW.cjs} +1 -1
- package/lazy/{casino-collections-providers-C-oWXqvx.js → casino-collections-providers-DHPnDwqI.js} +1 -1
- package/lazy/{casino-collections-providers-GSAJHZfo.js → casino-collections-providers-__jGk8Bi.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CNAQsPSR.cjs → casino-favorites-section-nd-BhI8Zirm.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-Wut-nWn_.js → casino-favorites-section-nd-CA-sShLT.js} +1 -1
- package/lazy/{casino-favorites-section-nd-Bu97BsFO.js → casino-favorites-section-nd-DgsE3inV.js} +1 -1
- package/lazy/{casino-filter-p8s4Ev-q.js → casino-filter-947plBW0.js} +1 -1
- package/lazy/{casino-filter-Cu8mCz8z.cjs → casino-filter-D_OJZ711.cjs} +1 -1
- package/lazy/{casino-filter-BbM4e8Z-.js → casino-filter-sujGI1Sw.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-Hk8Brx71.js → casino-game-thumbnail-nd-BRX8CtFL.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CIBMBNg-.cjs → casino-game-thumbnail-nd-BxXa51lv.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-XQcgV7Rq.js → casino-game-thumbnail-nd-N5nWpTDy.js} +1 -1
- package/lazy/{casino-games-category-section-nd-6V6kudTB.cjs → casino-games-category-section-nd-BmDDmO6k.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-D7xpZr13.js → casino-games-category-section-nd-CbFAe4SQ.js} +1 -1
- package/lazy/{casino-games-category-section-nd-CS-rV9vA.js → casino-games-category-section-nd-CoFLpfgi.js} +1 -1
- package/lazy/{casino-jackpot-banner-CO3pGOGN.js → casino-jackpot-banner-C6PN_r6L.js} +1 -1
- package/lazy/{casino-jackpot-banner-qnL_8tIe.js → casino-jackpot-banner-CUQV4cSc.js} +1 -1
- package/lazy/{casino-jackpot-banner-BupiG5Nh.cjs → casino-jackpot-banner-aWzFMQtT.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-DFjTSSJn.js → casino-last-played-section-nd-C8Muv-kQ.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Dmkrm8ZK.js → casino-last-played-section-nd-DRDk-3RU.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CUScRJ-x.cjs → casino-last-played-section-nd-s6pPWeNP.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-Cp17yThr.cjs → casino-most-played-section-nd-B5XtMtEZ.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-hH18ouWZ.js → casino-most-played-section-nd-CDI47ytS.js} +1 -1
- package/lazy/{casino-most-played-section-nd-Ci70TBbw.js → casino-most-played-section-nd-CFFQjWF1.js} +1 -1
- package/lazy/{casino-my-games-nd-CzPnr9l7.cjs → casino-my-games-nd-2gWCduhh.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DRZweCta.js → casino-my-games-nd-C38wNBeh.js} +1 -1
- package/lazy/{casino-my-games-nd-hvX2eLRh.js → casino-my-games-nd-DA1cUHJd.js} +1 -1
- package/lazy/casino-play-random-game-BgvQt_9c.js +577 -0
- package/lazy/casino-play-random-game-BlG2E9dd.cjs +1 -0
- package/lazy/casino-play-random-game-CWiaE6SD.js +561 -0
- package/lazy/{casino-random-game-r-wQst_d.js → casino-random-game-C8MfHXaa.js} +1 -1
- package/lazy/{casino-random-game-CyBJhSH7.js → casino-random-game-DFRc-OVf.js} +1 -1
- package/lazy/{casino-random-game-BmMXqcbM.cjs → casino-random-game-eOSEDGdT.cjs} +1 -1
- package/lazy/{casino-search-nd-CNAcfg2r.js → casino-search-nd-1gebmJnT.js} +1 -1
- package/lazy/{casino-search-nd-gg0w4vux.js → casino-search-nd-D2pb2tim.js} +1 -1
- package/lazy/{casino-search-nd-DKaUj1i2.cjs → casino-search-nd-D8GPyMVJ.cjs} +1 -1
- package/lazy/{casino-sort-Bx2aQuUK.js → casino-sort-DCo8rI3E.js} +1 -1
- package/lazy/{casino-sort-BKklUPDo.js → casino-sort-DHWqDjlb.js} +1 -1
- package/lazy/{casino-sort-CCno3ipr.cjs → casino-sort-DnvZL0xh.cjs} +1 -1
- package/lazy/{casino-winners-B0n34FoS.js → casino-winners-CDoQxoRf.js} +1 -1
- package/lazy/{casino-winners-458Tv1RX.cjs → casino-winners-DwTj0vSa.cjs} +1 -1
- package/lazy/{casino-winners-CE-uhZFG.js → casino-winners-qCV1DXuS.js} +1 -1
- package/lazy/{general-animation-loading-D6M6KKYv.js → general-animation-loading-B3lvSOkP.js} +1 -1
- package/lazy/{general-animation-loading-Cwhkcowg.js → general-animation-loading-BEnsNW2g.js} +1 -1
- package/lazy/{general-animation-loading-Dy_gOrpe.cjs → general-animation-loading-D03DfjDc.cjs} +1 -1
- package/lazy/ui-image-B7I7ijf1.cjs +1 -0
- package/lazy/ui-image-CbDOUZoh.js +558 -0
- package/lazy/ui-image-Cg1Yec7y.js +542 -0
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BPHg-wwI.js → casino-play-random-game-BgPgrR13.js} +2 -2
- package/stencil/{casino-play-random-game-wpfDaw4g.js → casino-play-random-game-BiGMkSw_.js} +2 -2
- package/stencil/{casino-play-random-game-BcohHg_0.cjs → casino-play-random-game-Cy_f5K43.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-Dv6kzWTc.cjs → casino-play-random-game_2-BZDqAOHM.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-BUw70A1i.js → casino-play-random-game_2-D-e9crBu.js} +2 -2
- package/stencil/{casino-play-random-game_2-bikyjIaX.js → casino-play-random-game_2-NeDOlhPe.js} +2 -2
- package/stencil/{ui-image-CSuy5bpN.js → ui-image-CeUOY7QN.js} +1 -1
- package/stencil/{ui-image-CQWGNNGc.cjs → ui-image-D9jjPnnA.cjs} +1 -1
- package/stencil/{ui-image-Zbm_3sxB.js → ui-image-Da7NRAu7.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CywcOOGm.cjs → ui-image-b7b48fe5-BdId4SMU.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-Fgk1PZOw.js → ui-image-b7b48fe5-CMO5mvIM.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Ky03rONE.js → ui-image-b7b48fe5-ClSc4k9k.js} +1 -1
- package/stencil/{ui-image_2-CeB6oMH1.js → ui-image_2-Be-VuTP3.js} +2 -2
- package/stencil/{ui-image_2-C8RZBimL.cjs → ui-image_2-CgvJomOn.cjs} +1 -1
- package/stencil/{ui-image_2-CRHieNTj.js → ui-image_2-FUyfOVWg.js} +2 -2
- package/components/CasinoCalendar-QdrtgbVd.cjs +0 -19
- package/components/CasinoFilter-DS84IIIS.cjs +0 -1
- package/components/CasinoGameThumbnailNd--Aw1dM5B.cjs +0 -30
- package/lazy/casino-play-random-game-B946wSUG.cjs +0 -1
- package/lazy/casino-play-random-game-B9d_FNr8.js +0 -577
- package/lazy/casino-play-random-game-DZRO0wGO.js +0 -561
- package/lazy/ui-image-BF1pPO3W.cjs +0 -1
- package/lazy/ui-image-BccypVCC.js +0 -542
- package/lazy/ui-image-DKuCd_RQ.js +0 -558
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as je, d as z, h as N, j as s, o as Me, W as He, D as Pe, u as d, H as Le, E as F, F as h, q as r, B as qe, C as _, m as Ge, w as Te, x as Ke, T as Ye, p as E, r as J, I as Qe, J as Xe, K as Ze, L as $e } from "./CasinoCalendar-BELrT2lA.js";
|
|
2
|
+
import "../stencil/ui-image-Da7NRAu7.js";
|
|
3
3
|
function We(a, e) {
|
|
4
|
-
|
|
4
|
+
ze(a, e);
|
|
5
5
|
}
|
|
6
6
|
function et(a) {
|
|
7
7
|
Ne.set(a);
|
|
@@ -45,7 +45,7 @@ const Ae = {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
function tt(a) {
|
|
48
|
-
|
|
48
|
+
Oe(a, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
49
49
|
}
|
|
50
50
|
function Ie(a, e, t) {
|
|
51
51
|
const i = a.slice();
|
|
@@ -74,7 +74,7 @@ function at(a) {
|
|
|
74
74
|
a[13] + ")"), d(t, "class", "jackpotBanner"), d(e, "class", "");
|
|
75
75
|
},
|
|
76
76
|
m(c, m) {
|
|
77
|
-
|
|
77
|
+
N(c, e, m), r(e, t), r(t, i), r(i, n), r(i, g), r(i, o), f.m(o, null), r(i, C), r(i, T), r(T, S), y || (A = qe(
|
|
78
78
|
t,
|
|
79
79
|
"click",
|
|
80
80
|
/*click_handler*/
|
|
@@ -98,7 +98,7 @@ function at(a) {
|
|
|
98
98
|
c[13] + ")");
|
|
99
99
|
},
|
|
100
100
|
d(c) {
|
|
101
|
-
c &&
|
|
101
|
+
c && z(e), f.d(), y = !1, A();
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -109,11 +109,11 @@ function it(a) {
|
|
|
109
109
|
e = s("div"), d(e, "class", "LoadingSpinner");
|
|
110
110
|
},
|
|
111
111
|
m(t, i) {
|
|
112
|
-
|
|
112
|
+
N(t, e, i);
|
|
113
113
|
},
|
|
114
114
|
p: je,
|
|
115
115
|
d(t) {
|
|
116
|
-
t &&
|
|
116
|
+
t && z(e);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
}
|
|
@@ -124,11 +124,11 @@ function lt(a) {
|
|
|
124
124
|
e = s("p"), e.textContent = "500 Server error";
|
|
125
125
|
},
|
|
126
126
|
m(t, i) {
|
|
127
|
-
|
|
127
|
+
N(t, e, i);
|
|
128
128
|
},
|
|
129
129
|
p: je,
|
|
130
130
|
d(t) {
|
|
131
|
-
t &&
|
|
131
|
+
t && z(e);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -145,7 +145,7 @@ function nt(a) {
|
|
|
145
145
|
/*formattedJackpotValues*/
|
|
146
146
|
a[10][0]
|
|
147
147
|
)) + ""
|
|
148
|
-
), U, L, f, c, m, W, R, ne,
|
|
148
|
+
), U, L, f, c, m, W, R, ne, K, P = (
|
|
149
149
|
/*formattedLabels*/
|
|
150
150
|
a[11][1] + ""
|
|
151
151
|
), me, ce, O, re, ae = (
|
|
@@ -157,7 +157,7 @@ function nt(a) {
|
|
|
157
157
|
/*formattedJackpotValues*/
|
|
158
158
|
a[10][1]
|
|
159
159
|
)) + ""
|
|
160
|
-
), ie, oe, de, q,
|
|
160
|
+
), ie, oe, de, q, Y, Q, j, X, ye, le, M = (
|
|
161
161
|
/*formattedLabels*/
|
|
162
162
|
a[11][2] + ""
|
|
163
163
|
), Z, ke, H, ue, fe = (
|
|
@@ -182,20 +182,20 @@ function nt(a) {
|
|
|
182
182
|
a[10][3]
|
|
183
183
|
)) + ""
|
|
184
184
|
), I, Se, V = !/*currencylocale*/
|
|
185
|
-
a[3] &&
|
|
186
|
-
a[3] &&
|
|
185
|
+
a[3] && Ee(a), x = !/*currencylocale*/
|
|
186
|
+
a[3] && Je(a), D = !/*currencylocale*/
|
|
187
187
|
a[3] && Ve(a), B = !/*currencylocale*/
|
|
188
188
|
a[3] && xe(a);
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
191
|
-
e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), S = J(T), k = _(), b = s("span"), y = s("span"), U = J(A), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), W = s("ui-image"), ne = _(),
|
|
191
|
+
e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), S = J(T), k = _(), b = s("span"), y = s("span"), U = J(A), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), W = s("ui-image"), ne = _(), K = s("span"), me = J(P), ce = _(), O = s("span"), re = s("span"), ie = J(ae), oe = _(), x && x.c(), de = _(), q = s("div"), Y = s("div"), Q = s("div"), j = s("ui-image"), ye = _(), le = s("span"), Z = J(M), ke = _(), H = s("span"), ue = s("span"), he = J(fe), ve = _(), D && D.c(), we = _(), $ = s("div"), ee = s("div"), G = s("ui-image"), be = _(), ge = s("span"), _e = J(se), Ce = _(), te = s("span"), l = s("span"), I = J(p), Se = _(), B && B.c(), h(n, "class", "displayCardIcon"), F(n.src, g = /*caticons*/
|
|
192
192
|
a[12][0]) || h(n, "src", g), h(n, "alt", ""), d(C, "class", "cardLabel"), d(i, "class", "iconWrapper"), d(y, "class", "jackpotValue"), d(b, "class", "cardTextWrapper"), d(t, "class", "displayCard"), h(W, "class", "displayCardIcon"), F(W.src, R = /*caticons*/
|
|
193
|
-
a[12][1]) || h(W, "src", R), h(W, "alt", ""), d(
|
|
194
|
-
a[12][2]) || h(j, "src", X), h(j, "alt", ""), d(le, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(ue, "class", "jackpotValue"), d(H, "class", "cardTextWrapper"), d(
|
|
193
|
+
a[12][1]) || h(W, "src", R), h(W, "alt", ""), d(K, "class", "cardLabel"), d(m, "class", "iconWrapper"), d(re, "class", "jackpotValue"), d(O, "class", "cardTextWrapper"), d(c, "class", "displayCard"), d(e, "class", "pairWrapper"), h(j, "class", "displayCardIcon"), F(j.src, X = /*caticons*/
|
|
194
|
+
a[12][2]) || h(j, "src", X), h(j, "alt", ""), d(le, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(ue, "class", "jackpotValue"), d(H, "class", "cardTextWrapper"), d(Y, "class", "displayCard"), h(G, "class", "displayCardIcon"), F(G.src, pe = /*caticons*/
|
|
195
195
|
a[12][3]) || h(G, "src", pe), h(G, "alt", ""), d(ge, "class", "cardLabel"), d(ee, "class", "iconWrapper"), d(l, "class", "jackpotValue"), d(te, "class", "cardTextWrapper"), d($, "class", "displayCard"), d(q, "class", "pairWrapper");
|
|
196
196
|
},
|
|
197
197
|
m(u, v) {
|
|
198
|
-
|
|
198
|
+
N(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, S), r(t, k), r(t, b), r(b, y), r(y, U), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, W), r(m, ne), r(m, K), r(K, me), r(c, ce), r(c, O), r(O, re), r(re, ie), r(O, oe), x && x.m(O, null), N(u, de, v), N(u, q, v), r(q, Y), r(Y, Q), r(Q, j), r(Q, ye), r(Q, le), r(le, Z), r(Y, ke), r(Y, H), r(H, ue), r(ue, he), r(H, ve), D && D.m(H, null), r(q, we), r(q, $), r($, ee), r(ee, G), r(ee, be), r(ee, ge), r(ge, _e), r($, Ce), r($, te), r(te, l), r(l, I), r(te, Se), B && B.m(te, null);
|
|
199
199
|
},
|
|
200
200
|
p(u, v) {
|
|
201
201
|
v[0] & /*caticons*/
|
|
@@ -211,7 +211,7 @@ function nt(a) {
|
|
|
211
211
|
/*formattedJackpotValues*/
|
|
212
212
|
u[10][0]
|
|
213
213
|
)) + "") && E(U, A), /*currencylocale*/
|
|
214
|
-
u[3] ? V && (V.d(1), V = null) : V ? V.p(u, v) : (V =
|
|
214
|
+
u[3] ? V && (V.d(1), V = null) : V ? V.p(u, v) : (V = Ee(u), V.c(), V.m(b, null)), v[0] & /*caticons*/
|
|
215
215
|
4096 && !F(W.src, R = /*caticons*/
|
|
216
216
|
u[12][1]) && h(W, "src", R), v[0] & /*formattedLabels*/
|
|
217
217
|
2048 && P !== (P = /*formattedLabels*/
|
|
@@ -224,7 +224,7 @@ function nt(a) {
|
|
|
224
224
|
/*formattedJackpotValues*/
|
|
225
225
|
u[10][1]
|
|
226
226
|
)) + "") && E(ie, ae), /*currencylocale*/
|
|
227
|
-
u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x =
|
|
227
|
+
u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Je(u), x.c(), x.m(O, null)), v[0] & /*caticons*/
|
|
228
228
|
4096 && !F(j.src, X = /*caticons*/
|
|
229
229
|
u[12][2]) && h(j, "src", X), v[0] & /*formattedLabels*/
|
|
230
230
|
2048 && M !== (M = /*formattedLabels*/
|
|
@@ -237,7 +237,7 @@ function nt(a) {
|
|
|
237
237
|
/*formattedJackpotValues*/
|
|
238
238
|
u[10][2]
|
|
239
239
|
)) + "") && E(he, fe), /*currencylocale*/
|
|
240
|
-
u[3] ?
|
|
240
|
+
u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Ve(u), D.c(), D.m(H, null)), v[0] & /*caticons*/
|
|
241
241
|
4096 && !F(G.src, pe = /*caticons*/
|
|
242
242
|
u[12][3]) && h(G, "src", pe), v[0] & /*formattedLabels*/
|
|
243
243
|
2048 && se !== (se = /*formattedLabels*/
|
|
@@ -253,7 +253,7 @@ function nt(a) {
|
|
|
253
253
|
u[3] ? B && (B.d(1), B = null) : B ? B.p(u, v) : (B = xe(u), B.c(), B.m(te, null));
|
|
254
254
|
},
|
|
255
255
|
d(u) {
|
|
256
|
-
u && (
|
|
256
|
+
u && (z(e), z(de), z(q)), V && V.d(), x && x.d(), D && D.d(), B && B.d();
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
259
|
}
|
|
@@ -265,12 +265,12 @@ function rt(a) {
|
|
|
265
265
|
c() {
|
|
266
266
|
for (let n = 0; n < i.length; n += 1)
|
|
267
267
|
i[n].c();
|
|
268
|
-
e =
|
|
268
|
+
e = Ye();
|
|
269
269
|
},
|
|
270
270
|
m(n, g) {
|
|
271
271
|
for (let o = 0; o < i.length; o += 1)
|
|
272
272
|
i[o] && i[o].m(n, g);
|
|
273
|
-
|
|
273
|
+
N(n, e, g);
|
|
274
274
|
},
|
|
275
275
|
p(n, g) {
|
|
276
276
|
if (g[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
@@ -287,11 +287,11 @@ function rt(a) {
|
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
d(n) {
|
|
290
|
-
n &&
|
|
290
|
+
n && z(e), Ke(i, n);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Ee(a) {
|
|
295
295
|
let e, t;
|
|
296
296
|
return {
|
|
297
297
|
c() {
|
|
@@ -301,7 +301,7 @@ function Je(a) {
|
|
|
301
301
|
), d(e, "class", "jackpot-currency");
|
|
302
302
|
},
|
|
303
303
|
m(i, n) {
|
|
304
|
-
|
|
304
|
+
N(i, e, n), r(e, t);
|
|
305
305
|
},
|
|
306
306
|
p(i, n) {
|
|
307
307
|
n[0] & /*currency*/
|
|
@@ -312,11 +312,11 @@ function Je(a) {
|
|
|
312
312
|
);
|
|
313
313
|
},
|
|
314
314
|
d(i) {
|
|
315
|
-
i &&
|
|
315
|
+
i && z(e);
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function Je(a) {
|
|
320
320
|
let e, t;
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
@@ -326,7 +326,7 @@ function Ee(a) {
|
|
|
326
326
|
), d(e, "class", "jackpot-currency");
|
|
327
327
|
},
|
|
328
328
|
m(i, n) {
|
|
329
|
-
|
|
329
|
+
N(i, e, n), r(e, t);
|
|
330
330
|
},
|
|
331
331
|
p(i, n) {
|
|
332
332
|
n[0] & /*currency*/
|
|
@@ -337,7 +337,7 @@ function Ee(a) {
|
|
|
337
337
|
);
|
|
338
338
|
},
|
|
339
339
|
d(i) {
|
|
340
|
-
i &&
|
|
340
|
+
i && z(e);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
}
|
|
@@ -351,7 +351,7 @@ function Ve(a) {
|
|
|
351
351
|
), d(e, "class", "jackpot-currency");
|
|
352
352
|
},
|
|
353
353
|
m(i, n) {
|
|
354
|
-
|
|
354
|
+
N(i, e, n), r(e, t);
|
|
355
355
|
},
|
|
356
356
|
p(i, n) {
|
|
357
357
|
n[0] & /*currency*/
|
|
@@ -362,7 +362,7 @@ function Ve(a) {
|
|
|
362
362
|
);
|
|
363
363
|
},
|
|
364
364
|
d(i) {
|
|
365
|
-
i &&
|
|
365
|
+
i && z(e);
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
}
|
|
@@ -376,7 +376,7 @@ function xe(a) {
|
|
|
376
376
|
), d(e, "class", "jackpot-currency");
|
|
377
377
|
},
|
|
378
378
|
m(i, n) {
|
|
379
|
-
|
|
379
|
+
N(i, e, n), r(e, t);
|
|
380
380
|
},
|
|
381
381
|
p(i, n) {
|
|
382
382
|
n[0] & /*currency*/
|
|
@@ -387,11 +387,11 @@ function xe(a) {
|
|
|
387
387
|
);
|
|
388
388
|
},
|
|
389
389
|
d(i) {
|
|
390
|
-
i &&
|
|
390
|
+
i && z(e);
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function De(a) {
|
|
395
395
|
let e, t;
|
|
396
396
|
return {
|
|
397
397
|
c() {
|
|
@@ -401,7 +401,7 @@ function ze(a) {
|
|
|
401
401
|
), d(e, "class", "jackpot-currency");
|
|
402
402
|
},
|
|
403
403
|
m(i, n) {
|
|
404
|
-
|
|
404
|
+
N(i, e, n), r(e, t);
|
|
405
405
|
},
|
|
406
406
|
p(i, n) {
|
|
407
407
|
n[0] & /*currency*/
|
|
@@ -412,7 +412,7 @@ function ze(a) {
|
|
|
412
412
|
);
|
|
413
413
|
},
|
|
414
414
|
d(i) {
|
|
415
|
-
i &&
|
|
415
|
+
i && z(e);
|
|
416
416
|
}
|
|
417
417
|
};
|
|
418
418
|
}
|
|
@@ -439,7 +439,7 @@ function Be(a) {
|
|
|
439
439
|
] ?? ""
|
|
440
440
|
)) + ""
|
|
441
441
|
), A, U, L, f = !/*currencylocale*/
|
|
442
|
-
a[3] &&
|
|
442
|
+
a[3] && De(a);
|
|
443
443
|
return {
|
|
444
444
|
c() {
|
|
445
445
|
e = s("div"), t = s("div"), i = s("ui-image"), g = _(), o = s("span"), T = J(C), S = _(), k = s("span"), b = s("span"), A = J(y), U = _(), f && f.c(), L = _(), h(i, "class", "displayCardIcon"), F(i.src, n = /*caticons*/
|
|
@@ -449,7 +449,7 @@ function Be(a) {
|
|
|
449
449
|
]) || h(i, "src", n), h(i, "alt", ""), d(o, "class", "cardLabel"), d(t, "class", "iconWrapper"), d(b, "class", "jackpotValue"), d(k, "class", "cardTextWrapper"), d(e, "class", "displayCard");
|
|
450
450
|
},
|
|
451
451
|
m(c, m) {
|
|
452
|
-
|
|
452
|
+
N(c, e, m), r(e, t), r(t, i), r(t, g), r(t, o), r(o, T), r(e, S), r(e, k), r(k, b), r(b, A), r(k, U), f && f.m(k, null), r(e, L);
|
|
453
453
|
},
|
|
454
454
|
p(c, m) {
|
|
455
455
|
m[0] & /*caticons*/
|
|
@@ -477,10 +477,10 @@ function Be(a) {
|
|
|
477
477
|
c[58]
|
|
478
478
|
] ?? ""
|
|
479
479
|
)) + "") && E(A, y), /*currencylocale*/
|
|
480
|
-
c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f =
|
|
480
|
+
c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = De(c), f.c(), f.m(k, null));
|
|
481
481
|
},
|
|
482
482
|
d(c) {
|
|
483
|
-
c &&
|
|
483
|
+
c && z(e), f && f.d();
|
|
484
484
|
}
|
|
485
485
|
};
|
|
486
486
|
}
|
|
@@ -501,7 +501,7 @@ function st(a) {
|
|
|
501
501
|
e = s("div"), n.c();
|
|
502
502
|
},
|
|
503
503
|
m(g, o) {
|
|
504
|
-
|
|
504
|
+
N(g, e, o), n.m(e, null), a[36](e);
|
|
505
505
|
},
|
|
506
506
|
p(g, o) {
|
|
507
507
|
i === (i = t(g)) && n ? n.p(g, o) : (n.d(1), n = i(g), n && (n.c(), n.m(e, null)));
|
|
@@ -509,12 +509,12 @@ function st(a) {
|
|
|
509
509
|
i: je,
|
|
510
510
|
o: je,
|
|
511
511
|
d(g) {
|
|
512
|
-
g &&
|
|
512
|
+
g && z(e), n.d(), a[36](null);
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
function ct(a, e, t) {
|
|
517
|
-
let i, { visualstructure: n = "" } = e, { title: g = "" } = e, { caticon0: o = "" } = e, { caticon1: C = "" } = e, { caticon2: T = "" } = e, { caticon3: S = "" } = e, { iconlabels: k = "" } = e, { backgroundsrc: b = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: A = "" } = e, { titlelogopath: U = "" } = e, { lang: L = "en" } = e, { clientstyling: f = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { endpoint: W = "" } = e, { gameid: R = "" } = e, { mbsource: ne } = e, { realtimeupdate:
|
|
517
|
+
let i, { visualstructure: n = "" } = e, { title: g = "" } = e, { caticon0: o = "" } = e, { caticon1: C = "" } = e, { caticon2: T = "" } = e, { caticon3: S = "" } = e, { iconlabels: k = "" } = e, { backgroundsrc: b = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: A = "" } = e, { titlelogopath: U = "" } = e, { lang: L = "en" } = e, { clientstyling: f = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { endpoint: W = "" } = e, { gameid: R = "" } = e, { mbsource: ne } = e, { realtimeupdate: K = "false" } = e, { currencylocale: P = "" } = e, me = window.navigator.userAgent, ce = !1, O = !1, re = "", ae = [], ie = [], oe = [], de = [], q = [], Y = "", Q = "", j, X = !0, ye = !1, le, M = null, Z = [];
|
|
518
518
|
const ke = () => {
|
|
519
519
|
fetch(m).then((p) => p.json()).then((p) => {
|
|
520
520
|
Object.keys(p).forEach((I) => {
|
|
@@ -552,7 +552,7 @@ function ct(a, e, t) {
|
|
|
552
552
|
t(34, ie = p.egtJackpotIds.map((I) => I));
|
|
553
553
|
});
|
|
554
554
|
}, $ = () => {
|
|
555
|
-
t(7, ce =
|
|
555
|
+
t(7, ce = Ge(me) && window.innerHeight / window.innerWidth > 1), t(8, O = pe()), ae.length !== 0 && (t(10, oe = G(ae)), oe.reverse()), t(11, de = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), H.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${H[0]}"`), t(0, n = H[0])), t(13, Y = A && ce && !O ? A : b), t(14, Q = U), t(12, q = [o, C, T, S]);
|
|
556
556
|
}, ee = (l) => Intl.NumberFormat(P, {
|
|
557
557
|
minimumFractionDigits: 2,
|
|
558
558
|
maximumFractionDigits: 2,
|
|
@@ -579,38 +579,38 @@ function ct(a, e, t) {
|
|
|
579
579
|
);
|
|
580
580
|
}
|
|
581
581
|
}, _e = () => {
|
|
582
|
-
|
|
582
|
+
K === "true" && ($(), t(6, Z = ["", "", "", ""]), M = new EventSource(`${W}/v1/encoder/jackpot/*/update`), M.addEventListener("message", se));
|
|
583
583
|
};
|
|
584
|
-
|
|
585
|
-
}),
|
|
584
|
+
Me(() => () => {
|
|
585
|
+
}), He(() => {
|
|
586
586
|
M && (M.removeEventListener("message", se), M.close(), M = null);
|
|
587
587
|
});
|
|
588
588
|
const Ce = () => be();
|
|
589
589
|
function te(l) {
|
|
590
|
-
|
|
590
|
+
Pe[l ? "unshift" : "push"](() => {
|
|
591
591
|
j = l, t(4, j);
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
return a.$$set = (l) => {
|
|
595
|
-
"visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, g = l.title), "caticon0" in l && t(19, o = l.caticon0), "caticon1" in l && t(20, C = l.caticon1), "caticon2" in l && t(21, T = l.caticon2), "caticon3" in l && t(22, S = l.caticon3), "iconlabels" in l && t(23, k = l.iconlabels), "backgroundsrc" in l && t(24, b = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(25, A = l.backgroundsrcmobile), "titlelogopath" in l && t(26, U = l.titlelogopath), "lang" in l && t(27, L = l.lang), "clientstyling" in l && t(28, f = l.clientstyling), "clientstylingurl" in l && t(29, c = l.clientstylingurl), "translationurl" in l && t(30, m = l.translationurl), "endpoint" in l && t(31, W = l.endpoint), "gameid" in l && t(32, R = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2,
|
|
595
|
+
"visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, g = l.title), "caticon0" in l && t(19, o = l.caticon0), "caticon1" in l && t(20, C = l.caticon1), "caticon2" in l && t(21, T = l.caticon2), "caticon3" in l && t(22, S = l.caticon3), "iconlabels" in l && t(23, k = l.iconlabels), "backgroundsrc" in l && t(24, b = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(25, A = l.backgroundsrcmobile), "titlelogopath" in l && t(26, U = l.titlelogopath), "lang" in l && t(27, L = l.lang), "clientstyling" in l && t(28, f = l.clientstyling), "clientstylingurl" in l && t(29, c = l.clientstylingurl), "translationurl" in l && t(30, m = l.translationurl), "endpoint" in l && t(31, W = l.endpoint), "gameid" in l && t(32, R = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2, K = l.realtimeupdate), "currencylocale" in l && t(3, P = l.currencylocale);
|
|
596
596
|
}, a.$$.update = () => {
|
|
597
597
|
a.$$.dirty[1] & /*endpoint*/
|
|
598
598
|
1 && W && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
599
|
-
268435472 && f && j &&
|
|
600
|
-
536870928 && c && j &&
|
|
599
|
+
268435472 && f && j && Qe(j, f), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
600
|
+
536870928 && c && j && Xe(j, c), a.$$.dirty[0] & /*customStylingContainer*/
|
|
601
601
|
16 | a.$$.dirty[1] & /*mbsource*/
|
|
602
|
-
4 && ne && j &&
|
|
602
|
+
4 && ne && j && Ze(j, `${ne}.Style`), a.$$.dirty[0] & /*lang, currency*/
|
|
603
603
|
134217730 | a.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
604
604
|
9 && W && L && y && ie.length > 0 && he(), a.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
605
605
|
134217762 && y && L && !X && $(), a.$$.dirty[0] & /*lang*/
|
|
606
606
|
134217728 && L && ge(), a.$$.dirty[0] & /*translationurl*/
|
|
607
607
|
1073741824 && m && ke(), a.$$.dirty[0] & /*realtimeupdate*/
|
|
608
|
-
4 &&
|
|
608
|
+
4 && K && _e(), a.$$.dirty[0] & /*updatedJackpotValues*/
|
|
609
609
|
64 && t(16, i = [...Z].reverse());
|
|
610
610
|
}, [
|
|
611
611
|
n,
|
|
612
612
|
y,
|
|
613
|
-
|
|
613
|
+
K,
|
|
614
614
|
P,
|
|
615
615
|
j,
|
|
616
616
|
X,
|
|
@@ -621,7 +621,7 @@ function ct(a, e, t) {
|
|
|
621
621
|
oe,
|
|
622
622
|
de,
|
|
623
623
|
q,
|
|
624
|
-
|
|
624
|
+
Y,
|
|
625
625
|
Q,
|
|
626
626
|
ye,
|
|
627
627
|
i,
|
|
@@ -802,7 +802,7 @@ class ot extends Ue {
|
|
|
802
802
|
this.$$set({ currencylocale: e }), w();
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
|
|
805
|
+
$e(ot, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
806
806
|
export {
|
|
807
807
|
ot as default
|
|
808
808
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-QdrtgbVd.cjs");require("../stencil/ui-image-CQWGNNGc.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DrrajltR.cjs");require("../stencil/ui-image-D9jjPnnA.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
|