@everymatrix/casino-lobby 1.62.0 → 1.62.1
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-C8B0eACb.cjs +22 -0
- package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-izYyDxua.js} +873 -852
- package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-lTuMef5g.js} +1099 -1078
- package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-BO_acJjS.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +33 -33
- package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-CearDjmk.js} +33 -33
- package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-CbZRQLJS.js} +71 -71
- package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-CtsT7oWX.js} +70 -70
- package/components/CasinoCategoriesSlider-DtDec725.cjs +1 -0
- package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BsANDUWq.js} +77 -77
- package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-C6vH48GA.js} +58 -58
- package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-6WkSSin3.js} +23 -23
- package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-Binip-ga.js} +23 -23
- package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
- package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
- package/components/CasinoFilter-N8qvxcNm.js +645 -0
- package/components/CasinoFilter-xLSNxOV2.js +644 -0
- package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-AxIvVXWI.js} +746 -746
- package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-DJFhafR6.js} +783 -783
- package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-DQL-yFsp.cjs} +6 -6
- package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
- package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
- package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
- package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-BUxtHhON.js} +249 -249
- package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-C0zpuZl3.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-pmibtuJd.js} +332 -332
- package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-CdjXlJzV.js} +131 -131
- package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-DcU4dn5c.js} +163 -163
- package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-BP5rPSQ_.js} +46 -46
- package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-vlivUYOC.js} +46 -46
- package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-CPaRNRtp.js} +74 -74
- package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-CyDr4hqy.js} +73 -73
- package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-Ds5HlH8Y.cjs} +1 -1
- package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
- package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-D9IpMDiG.js} +43 -43
- package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-Dk3TnqEW.js} +43 -43
- package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-20MO7enx.js} +44 -44
- package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-CbfiaETY.js} +44 -44
- package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
- package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
- package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-CFxQ8X8x.js} +47 -47
- package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-CadZECEx.js} +51 -51
- package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-CqUxa6JX.cjs} +1 -1
- package/components/{CasinoPage-BfG57-mo.js → CasinoPage-DFLtQdP3.js} +77 -77
- package/components/{CasinoPage-DlenCL5e.js → CasinoPage-jKeNqwgL.js} +77 -77
- package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-CMMdb6MX.js} +201 -202
- package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
- package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-Dfk5ExSm.js} +165 -166
- package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B-DNLDkb.js} +69 -69
- package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
- package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-ulzQNNP2.js} +69 -69
- package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
- package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DCODvBVc.js} +177 -178
- package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-M-ePf6YF.js} +228 -229
- package/components/{CasinoSort-Big21575.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
- package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-Cz8W-yKd.js} +110 -111
- package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-DJlRNRiq.js} +104 -103
- package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-B11A2z1V.js} +138 -138
- package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-B44zvyCP.js} +151 -151
- package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-N8PSBBga.js} +18 -18
- package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
- package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-yZge1VnD.js} +18 -18
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
- package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
- package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
- package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
- package/stencil/index-b2193545-60VR4wV3.js +519 -0
- package/stencil/index-b2193545-LYFajSbf.js +503 -0
- package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CUjXE1FQ.js +25 -0
- package/stencil/ui-image-DO4by88q.js +7 -0
- package/stencil/ui-image-DgVuZYOM.cjs +1 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
- package/stencil/ui-image_2-CIsvIZfV.js +154 -0
- package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
- package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
- package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
- package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
- package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
- package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
- package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
- package/components/CasinoFilter-CAtpk4a4.js +0 -645
- package/components/CasinoFilter-CtjgbEie.js +0 -646
- package/components/CasinoFilter-dn8i37bN.cjs +0 -1
- package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
- package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
- package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
- package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
- package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
- package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
- package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
- package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
- package/stencil/index-ab3202d6-D5caeC50.js +0 -559
- package/stencil/index-b2193545-CJX9lIo2.js +0 -519
- package/stencil/index-b2193545-CbB5TWd2.js +0 -503
- package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
- package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
- package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
- package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
- package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
- package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
- package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
- package/stencil/ui-image-CzWACXX6.js +0 -11
- package/stencil/ui-image-c5YAxRRi.cjs +0 -1
- package/stencil/ui-image-shmNN3yX.js +0 -29
package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-CearDjmk.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I as F, h as X, p as r, A as Y, j as c, B as D, q as W, k as Z, o as $, l as ee, C as N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-lTuMef5g.js";
|
|
2
|
+
import "../stencil/ui-image-DO4by88q.js";
|
|
3
|
+
function P(a, t) {
|
|
4
|
+
H(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const q = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,7 +75,7 @@ const H = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
G(a, "svelte-g8pzdd", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
81
|
let t, n, w, s, f, _, i, g, l, x, C, b, h = (
|
|
@@ -85,18 +85,18 @@ function se(a) {
|
|
|
85
85
|
), p, m, o, M, S, v, T, I, k, E, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
t =
|
|
88
|
+
t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), p = W(h), m = D(), o = c("div"), M = D(), S = c("div"), v = c("button"), T = W(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
),
|
|
92
|
-
a[1]) ||
|
|
91
|
+
), u(f, "class", "CalendarBar"), A(l.src, x = /*dailyicon*/
|
|
92
|
+
a[1]) || B(l, "src", x), B(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
96
96
|
a[1]
|
|
97
|
-
),
|
|
97
|
+
), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(v, "class", "MoreInfoButton"), u(S, "class", "CasinoCalendarDailyItemButton"), u(i, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
98
98
|
a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
|
|
99
|
-
a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"),
|
|
99
|
+
a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), u(s, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(n, "class", k = "Container " + /*mobileView*/
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
@@ -110,8 +110,8 @@ function se(a) {
|
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
112
|
2 && !A(l.src, x = /*dailyicon*/
|
|
113
|
-
d[1]) &&
|
|
114
|
-
2 &&
|
|
113
|
+
d[1]) && B(l, "src", x), e & /*dailyicon*/
|
|
114
|
+
2 && B(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
117
117
|
/*dailyicon*/
|
|
@@ -126,35 +126,35 @@ function se(a) {
|
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
128
128
|
16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
129
|
-
d[4] == "OpenCalendarModal" ? "Tear" : "")) &&
|
|
129
|
+
d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(i, "class", I), e & /*dailybackground*/
|
|
130
130
|
1 && F(i, "background-image", "url('" + /*dailybackground*/
|
|
131
131
|
d[0] + "')"), e & /*mobileView*/
|
|
132
132
|
128 && k !== (k = "Container " + /*mobileView*/
|
|
133
|
-
(d[7] ? "Mobile" : "")) &&
|
|
133
|
+
(d[7] ? "Mobile" : "")) && u(n, "class", k);
|
|
134
134
|
},
|
|
135
|
-
i:
|
|
136
|
-
o:
|
|
135
|
+
i: R,
|
|
136
|
+
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d &&
|
|
138
|
+
d && Q(t), a[16](null), a[18](null), E = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function le(a, t, n) {
|
|
143
143
|
let w;
|
|
144
|
-
|
|
144
|
+
Z(a, re, (e) => n(8, w = e));
|
|
145
145
|
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: p = "" } = t, m, o, M = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(q).forEach((e) => {
|
|
150
|
+
P(e, q[e]);
|
|
151
151
|
});
|
|
152
152
|
const T = () => {
|
|
153
153
|
let e = p;
|
|
154
154
|
if (e)
|
|
155
155
|
return fetch(e).then((z) => z.json()).then((z) => {
|
|
156
|
-
Object.keys(z).forEach((
|
|
157
|
-
|
|
156
|
+
Object.keys(z).forEach((j) => {
|
|
157
|
+
P(j, z[j]);
|
|
158
158
|
});
|
|
159
159
|
}).catch((z) => {
|
|
160
160
|
console.log(z);
|
|
@@ -165,16 +165,16 @@ function le(a, t, n) {
|
|
|
165
165
|
}, k = () => {
|
|
166
166
|
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
|
|
168
|
+
$(() => (ee(S) && n(7, M = !0), () => {
|
|
169
169
|
}));
|
|
170
170
|
function E(e) {
|
|
171
|
-
|
|
171
|
+
N[e ? "unshift" : "push"](() => {
|
|
172
172
|
m = e, n(6, m);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
N[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -185,9 +185,9 @@ function le(a, t, n) {
|
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
186
|
33792 && s && p && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
|
-
8224 && b && o &&
|
|
189
|
-
16416 && h && o &&
|
|
190
|
-
4128 && C && o &&
|
|
188
|
+
8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
|
+
16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
190
|
+
4128 && C && o && ie(o, `${C}.Style`);
|
|
191
191
|
}, [
|
|
192
192
|
f,
|
|
193
193
|
_,
|
|
@@ -210,14 +210,14 @@ function le(a, t, n) {
|
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends J {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), K(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
V,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
|
@@ -301,7 +301,7 @@ class ue extends G {
|
|
|
301
301
|
this.$$set({ translationurl: t }), y();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
ue as default
|
|
307
307
|
};
|
package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-mfnJr7FR.cjs");require("../stencil/ui-image-c5YAxRRi.cjs");function M(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-g8pzdd",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("ui-image"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),F=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",_="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),e.append(i,F),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C8B0eACb.cjs");require("../stencil/ui-image-DgVuZYOM.cjs");function M(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-g8pzdd",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("ui-image"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=e.element("div"),F=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",_="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),e.append(i,F),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
|
package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-CbZRQLJS.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, O as fe, C as de, r as T, E as n, p as be, P as he, J as Ne, K as we, L as Le, M as Me, Q as _e, N as ve } from "./CasinoCalendar-izYyDxua.js";
|
|
2
|
+
function Z(i, e) {
|
|
3
|
+
re(i, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const x = {
|
|
6
6
|
en: {
|
|
7
7
|
lobbyName: "Lobby",
|
|
8
8
|
myGamesName: "My games"
|
|
@@ -88,14 +88,14 @@ if (typeof window != "undefined") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-M-ePf6YF.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
|
|
95
|
+
function Ce(i) {
|
|
96
|
+
ge(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ge(i) {
|
|
99
99
|
let e, t, r, c;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
@@ -172,7 +172,7 @@ function ke(i) {
|
|
|
172
172
|
), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
|
173
173
|
},
|
|
174
174
|
m(a, o) {
|
|
175
|
-
|
|
175
|
+
j(a, e, o), be(e, t), r || (c = he(
|
|
176
176
|
/*sendSliderData*/
|
|
177
177
|
i[17].call(null, t)
|
|
178
178
|
), r = !0);
|
|
@@ -265,48 +265,48 @@ function ke(i) {
|
|
|
265
265
|
);
|
|
266
266
|
},
|
|
267
267
|
d(a) {
|
|
268
|
-
a &&
|
|
268
|
+
a && E(e), r = !1, c();
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function ke(i) {
|
|
273
273
|
let e;
|
|
274
274
|
return {
|
|
275
275
|
c() {
|
|
276
276
|
e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
|
|
277
277
|
},
|
|
278
278
|
m(t, r) {
|
|
279
|
-
|
|
279
|
+
j(t, e, r);
|
|
280
280
|
},
|
|
281
281
|
p: S,
|
|
282
282
|
d(t) {
|
|
283
|
-
t &&
|
|
283
|
+
t && E(e);
|
|
284
284
|
}
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Se(i) {
|
|
288
288
|
let e;
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
291
|
e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
292
292
|
},
|
|
293
293
|
m(t, r) {
|
|
294
|
-
|
|
294
|
+
j(t, e, r);
|
|
295
295
|
},
|
|
296
296
|
p: S,
|
|
297
297
|
d(t) {
|
|
298
|
-
t &&
|
|
298
|
+
t && E(e);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function Ee(i) {
|
|
303
303
|
let e;
|
|
304
304
|
function t(a, o) {
|
|
305
305
|
return (
|
|
306
306
|
/*isLoading*/
|
|
307
|
-
a[13] ||
|
|
307
|
+
a[13] || je || Pe ? Se : (
|
|
308
308
|
/*hasErrors*/
|
|
309
|
-
a[15] ?
|
|
309
|
+
a[15] ? ke : Ge
|
|
310
310
|
)
|
|
311
311
|
);
|
|
312
312
|
}
|
|
@@ -316,7 +316,7 @@ function je(i) {
|
|
|
316
316
|
e = h("div"), c.c();
|
|
317
317
|
},
|
|
318
318
|
m(a, o) {
|
|
319
|
-
|
|
319
|
+
j(a, e, o), c.m(e, null), i[27](e);
|
|
320
320
|
},
|
|
321
321
|
p(a, o) {
|
|
322
322
|
r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
|
|
@@ -324,48 +324,48 @@ function je(i) {
|
|
|
324
324
|
i: S,
|
|
325
325
|
o: S,
|
|
326
326
|
d(a) {
|
|
327
|
-
a &&
|
|
327
|
+
a && E(e), c.d(), i[27](null);
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
let O = "CasinoSliderData",
|
|
332
|
-
function
|
|
331
|
+
let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
332
|
+
function Fe(i, e, t) {
|
|
333
333
|
let r;
|
|
334
|
-
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session:
|
|
336
|
-
const
|
|
334
|
+
ue(i, ve, (s) => t(33, r = s));
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, d, b = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
|
|
336
|
+
const $ = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
339
|
-
|
|
339
|
+
Z(k, m[k]);
|
|
340
340
|
});
|
|
341
341
|
}).catch((m) => {
|
|
342
342
|
console.log(m);
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
-
Object.keys(
|
|
346
|
-
|
|
345
|
+
Object.keys(x).forEach((s) => {
|
|
346
|
+
Z(s, x[s]);
|
|
347
347
|
});
|
|
348
|
-
const
|
|
349
|
-
|
|
348
|
+
const ee = () => {
|
|
349
|
+
V == !1 && (M == "true" || w == "true" || L == "true") && b.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
|
-
name:
|
|
352
|
+
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
357
|
-
if (
|
|
355
|
+
}), _e(), V = !0, t(26, F = !0), A();
|
|
356
|
+
}, te = () => (c || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(d)), (!o || o.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(d)), f), se = () => {
|
|
357
|
+
if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
|
|
358
358
|
let s = new URL(`${c}/v2/casino/groups/${a}`);
|
|
359
|
-
s.searchParams.append("language", o), s.searchParams.append("platform",
|
|
359
|
+
s.searchParams.append("language", o), s.searchParams.append("platform", fe(p)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
|
-
let k = C.split(","),
|
|
361
|
+
let k = C.split(","), ne = m.items.filter((X) => {
|
|
362
362
|
let D = !1;
|
|
363
|
-
if (
|
|
364
|
-
for (let
|
|
365
|
-
|
|
363
|
+
if (X.games.total > 0 && (D = !0, C))
|
|
364
|
+
for (let oe of k)
|
|
365
|
+
X.flags == oe && (D = !1);
|
|
366
366
|
return D;
|
|
367
367
|
});
|
|
368
|
-
|
|
368
|
+
b = [], b = b.concat(ne), b.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
371
|
name: K,
|
|
@@ -380,7 +380,7 @@ function Ae(i, e, t) {
|
|
|
380
380
|
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
},
|
|
383
|
+
}, ie = () => {
|
|
384
384
|
let s = u.split("$");
|
|
385
385
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
386
386
|
}, A = () => {
|
|
@@ -388,33 +388,33 @@ function Ae(i, e, t) {
|
|
|
388
388
|
{
|
|
389
389
|
type: "SliderData",
|
|
390
390
|
identity: O,
|
|
391
|
-
data:
|
|
391
|
+
data: b
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
395
|
-
},
|
|
395
|
+
}, W = (s) => {
|
|
396
396
|
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
|
|
397
397
|
};
|
|
398
|
-
|
|
399
|
-
window.
|
|
398
|
+
ye(() => (window.addEventListener("message", W, !1), () => {
|
|
399
|
+
window.removeEventListener("message", W);
|
|
400
400
|
}));
|
|
401
|
-
function
|
|
402
|
-
|
|
401
|
+
function ae(s) {
|
|
402
|
+
de[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
return i.$$set = (s) => {
|
|
407
|
-
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19,
|
|
407
|
+
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, I = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
408
408
|
}, i.$$.update = () => {
|
|
409
409
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
410
|
-
14 && c && a && o &&
|
|
411
|
-
7872514 && c &&
|
|
412
|
-
67641345 && !y && u && (!
|
|
413
|
-
33554432 && G &&
|
|
414
|
-
16400 && _ && g &&
|
|
415
|
-
16416 && v && g &&
|
|
416
|
-
20480 && g &&
|
|
417
|
-
}, t(16,
|
|
410
|
+
14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
411
|
+
7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
412
|
+
67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
413
|
+
33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
414
|
+
16400 && _ && g && Ne(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
415
|
+
16416 && v && g && we(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
416
|
+
20480 && g && Le(g, `${P}.Style`);
|
|
417
|
+
}, t(16, Q = 0), [
|
|
418
418
|
u,
|
|
419
419
|
c,
|
|
420
420
|
a,
|
|
@@ -422,37 +422,37 @@ function Ae(i, e, t) {
|
|
|
422
422
|
_,
|
|
423
423
|
v,
|
|
424
424
|
U,
|
|
425
|
-
|
|
425
|
+
B,
|
|
426
|
+
Y,
|
|
426
427
|
q,
|
|
427
428
|
z,
|
|
428
429
|
H,
|
|
429
|
-
Y,
|
|
430
430
|
P,
|
|
431
431
|
y,
|
|
432
432
|
g,
|
|
433
433
|
f,
|
|
434
|
-
|
|
434
|
+
Q,
|
|
435
435
|
A,
|
|
436
436
|
R,
|
|
437
|
-
w,
|
|
438
437
|
N,
|
|
438
|
+
w,
|
|
439
439
|
L,
|
|
440
440
|
M,
|
|
441
|
-
|
|
441
|
+
I,
|
|
442
442
|
C,
|
|
443
443
|
G,
|
|
444
444
|
F,
|
|
445
|
-
|
|
445
|
+
ae
|
|
446
446
|
];
|
|
447
447
|
}
|
|
448
|
-
class
|
|
448
|
+
class Ae extends le {
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(),
|
|
450
|
+
super(), ce(
|
|
451
451
|
this,
|
|
452
452
|
e,
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
Fe,
|
|
454
|
+
Ee,
|
|
455
|
+
me,
|
|
456
456
|
{
|
|
457
457
|
endpoint: 1,
|
|
458
458
|
datasource: 2,
|
|
@@ -476,7 +476,7 @@ class De extends ce {
|
|
|
476
476
|
mygamesiconimage: 11,
|
|
477
477
|
mbsource: 12
|
|
478
478
|
},
|
|
479
|
-
|
|
479
|
+
Ce,
|
|
480
480
|
[-1, -1]
|
|
481
481
|
);
|
|
482
482
|
}
|
|
@@ -607,7 +607,7 @@ class De extends ce {
|
|
|
607
607
|
this.$$set({ mbsource: e }), l();
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
|
|
610
|
+
Me(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
611
611
|
export {
|
|
612
|
-
|
|
612
|
+
Ae as default
|
|
613
613
|
};
|