@everymatrix/casino-page 1.63.3 → 1.64.0
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-nljhPH7y.cjs → CasinoCalendar-B7HDzCMK.cjs} +4 -4
- package/components/{CasinoCalendar-BeZncquz.js → CasinoCalendar-Vkb-R-ZX.js} +114 -114
- package/components/{CasinoCalendar-CXqShP9K.js → CasinoCalendar-gzR0syWU.js} +200 -200
- package/components/CasinoCalendarDailyDetails-BSQbzcGH.js +567 -0
- package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Cf_NBcOX.js +567 -0
- package/components/{CasinoCalendarDailyItem-CxNvFRRJ.js → CasinoCalendarDailyItem-CQSuNZtl.js} +45 -45
- package/components/CasinoCalendarDailyItem-DcM708OO.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-1co5UCOc.js → CasinoCalendarDailyItem-Dn5Go7LC.js} +45 -45
- package/components/CasinoCollectionsProviders-58EKJRFt.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Ddznc9st.js → CasinoCollectionsProviders-C2HckLP0.js} +106 -106
- package/components/{CasinoCollectionsProviders-DQ-lUWZN.js → CasinoCollectionsProviders-CQOBEpAZ.js} +113 -113
- package/components/{CasinoFavoritesSection-BhVw9fTI.js → CasinoFavoritesSection-CcsvkrzG.js} +23 -23
- package/components/{CasinoFavoritesSection-BskhwCG2.js → CasinoFavoritesSection-DfGJNbB8.js} +23 -23
- package/components/{CasinoFavoritesSection-B5JU_G95.cjs → CasinoFavoritesSection-W3TMRpsu.cjs} +1 -1
- package/components/{CasinoFilter-DffsJWQu.js → CasinoFilter-Bgdgnv7e.js} +115 -115
- package/components/{CasinoFilter-BZvjOUNz.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
- package/components/{CasinoFilter-Bhzt3ud6.js → CasinoFilter-DcGO-ipH.js} +112 -112
- package/components/{CasinoGameThumbnail-CETsOO6r.cjs → CasinoGameThumbnail-COIE0fub.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CE_8NKFQ.js → CasinoGameThumbnail-DXQLodRv.js} +3 -3
- package/components/{CasinoGameThumbnail-nQ4bxAne.js → CasinoGameThumbnail-DiLl5Mrw.js} +3 -3
- package/components/CasinoGamesCategorySection-BG3iYeKb.js +3170 -0
- package/components/CasinoGamesCategorySection-D-NYfWaO.cjs +1 -0
- package/components/CasinoGamesCategorySection-DqEYl0Es.js +3202 -0
- package/components/{CasinoJackpotBanner-CqOh2dMq.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CLIfQAnS.js → CasinoJackpotBanner-CzYBUhxU.js} +91 -91
- package/components/{CasinoJackpotBanner-QiQ-hf00.js → CasinoJackpotBanner-emlytO5A.js} +98 -98
- package/components/{CasinoLastPlayedSection-DVsj0ERs.js → CasinoLastPlayedSection-DlkamFRO.js} +11 -11
- package/components/{CasinoLastPlayedSection-_PDk9mvl.cjs → CasinoLastPlayedSection-ESrwXqVH.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BGX5xL0g.js → CasinoLastPlayedSection-HNf5v3xk.js} +11 -11
- package/components/{CasinoMostPlayedSection-DK66ryn0.js → CasinoMostPlayedSection-Bj52NLlc.js} +19 -19
- package/components/{CasinoMostPlayedSection-C4jaxrRR.cjs → CasinoMostPlayedSection-DnCmD7jr.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-_JLs4XMs.js → CasinoMostPlayedSection-ZxeqcEG3.js} +19 -19
- package/components/{CasinoMyGames-Bt6ErgXD.js → CasinoMyGames-B3n4oh-A.js} +54 -54
- package/components/{CasinoMyGames-Cdc-1_0d.cjs → CasinoMyGames-Ds1zAHP9.cjs} +1 -1
- package/components/{CasinoMyGames-CflxhNav.js → CasinoMyGames-vFSJZHR-.js} +50 -50
- package/components/{CasinoPage-DuqMGBRI.js → CasinoPage-ClUmsk8r.js} +175 -175
- package/components/{CasinoPage-DjqRL5f8.cjs → CasinoPage-Cy-fE9bq.cjs} +1 -1
- package/components/{CasinoPage-DAN37M6o.js → CasinoPage-DXlelFXN.js} +181 -181
- package/components/{CasinoRandomGame-DmhidQ0r.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
- package/components/{CasinoRandomGame-BmbrklCB.js → CasinoRandomGame-DCljkb0K.js} +70 -70
- package/components/{CasinoRandomGame-Bk1JbUlj.js → CasinoRandomGame-SWOJ-rEc.js} +70 -70
- package/components/{CasinoSearch-BKt2MLZ5.js → CasinoSearch-B1cDx372.js} +73 -73
- package/components/{CasinoSearch-BUb1cHOF.cjs → CasinoSearch-CPSvAdm9.cjs} +1 -1
- package/components/{CasinoSearch-K-yv43no.js → CasinoSearch-JYJ0TOYC.js} +75 -75
- package/components/{CasinoSort-JdpRMlFB.js → CasinoSort-CFb0U8jb.js} +32 -32
- package/components/{CasinoSort-Dd8ZEIdO.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
- package/components/{CasinoSort-BwF_FapK.js → CasinoSort-DfH2maWJ.js} +32 -32
- package/components/CasinoWinners-C9tJh4_L.cjs +1 -0
- package/components/{CasinoWinners-DndMyplw.js → CasinoWinners-D02DDUiQ.js} +131 -131
- package/components/{CasinoWinners-BQNqPkDs.js → CasinoWinners-DB-fwvGm.js} +132 -132
- package/components/{GeneralAnimationLoading-C8QANCXC.js → GeneralAnimationLoading-B2emFg0o.js} +6 -6
- package/components/{GeneralAnimationLoading-Cw3xHMcW.js → GeneralAnimationLoading-DCyTdaug.js} +6 -6
- package/components/{GeneralAnimationLoading-D60kNPCe.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-D8MUjPhD.js +0 -694
- package/components/CasinoCalendarDailyDetails-DciPEtlc.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-DjHQLxKC.js +0 -694
- package/components/CasinoCalendarDailyItem-8n79Y5xW.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwF-EeBd.cjs +0 -1
- package/components/CasinoGamesCategorySection-BQ1WL6iu.js +0 -3170
- package/components/CasinoGamesCategorySection-CbwlnTaF.js +0 -3139
- package/components/CasinoGamesCategorySection-qOt4yV-4.cjs +0 -1
- package/components/CasinoWinners-jQ69UTS2.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
package/components/{CasinoCalendarDailyItem-CxNvFRRJ.js → CasinoCalendarDailyItem-CQSuNZtl.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as R, d as Q, D as A, E as B, m as O, r as u, G 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 P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-Vkb-R-ZX.js";
|
|
2
|
+
import "../stencil/ui-image-YGEFo8L0.js";
|
|
3
|
+
function q(a, t) {
|
|
4
|
+
N(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,21 +75,21 @@ const q = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
V(a, "svelte-1mw336g", '*,*::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:10px;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:var(--emw--border-radius-medium, 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:10px;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:var(--emw--border-radius-medium, 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, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
|
-
let t, n, w, s, f, _, i, g, l,
|
|
81
|
+
let t, n, w, s, f, _, i, g, l, m, C, b, h = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
),
|
|
85
|
+
), x, p, o, z, S, v, E, I, k, M, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
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"),
|
|
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"), x = W(h), p = D(), o = c("div"), z = D(), S = c("div"), v = c("button"), E = W(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(f, "class", "CalendarBar"), A(l.src,
|
|
92
|
-
a[1]) || B(l, "src",
|
|
91
|
+
), u(f, "class", "CalendarBar"), A(l.src, m = /*dailyicon*/
|
|
92
|
+
a[1]) || B(l, "src", m), B(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
@@ -100,17 +100,17 @@ function se(a) {
|
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
103
|
-
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b,
|
|
103
|
+
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, x), r(i, p), r(i, o), a[16](o), r(i, z), r(i, S), r(S, v), r(v, E), a[18](t), M || (L = Y(
|
|
104
104
|
v,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), M = !0);
|
|
109
109
|
},
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
|
-
2 && !A(l.src,
|
|
113
|
-
d[1]) && B(l, "src",
|
|
112
|
+
2 && !A(l.src, m = /*dailyicon*/
|
|
113
|
+
d[1]) && B(l, "src", m), e & /*dailyicon*/
|
|
114
114
|
2 && B(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
@@ -119,9 +119,9 @@ function se(a) {
|
|
|
119
119
|
), e & /*$_, dailyday*/
|
|
120
120
|
260 && h !== (h = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") && O(
|
|
122
|
+
d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
|
|
123
123
|
8 && O(
|
|
124
|
-
|
|
124
|
+
E,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
@@ -135,55 +135,55 @@ function se(a) {
|
|
|
135
135
|
i: R,
|
|
136
136
|
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d && Q(t), a[16](null), a[18](null),
|
|
138
|
+
d && Q(t), a[16](null), a[18](null), M = !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
|
-
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index:
|
|
145
|
+
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: m = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, z = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(H).forEach((e) => {
|
|
150
|
+
q(e, H[e]);
|
|
151
151
|
});
|
|
152
|
-
const
|
|
153
|
-
let e =
|
|
152
|
+
const E = () => {
|
|
153
|
+
let e = x;
|
|
154
154
|
if (e)
|
|
155
|
-
return fetch(e).then((
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
155
|
+
return fetch(e).then((T) => T.json()).then((T) => {
|
|
156
|
+
Object.keys(T).forEach((j) => {
|
|
157
|
+
q(j, T[j]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((T) => {
|
|
160
|
+
console.log(T);
|
|
161
161
|
});
|
|
162
162
|
}, I = () => {
|
|
163
163
|
let e = document.createElement("div");
|
|
164
|
-
e.innerHTML = g,
|
|
164
|
+
e.innerHTML = g, p && p.append(e);
|
|
165
165
|
}, k = () => {
|
|
166
|
-
window.postMessage({ type: "OpenCalendar", index:
|
|
166
|
+
window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
$(() => (ee(S) && n(7,
|
|
168
|
+
$(() => (ee(S) && n(7, z = !0), () => {
|
|
169
169
|
}));
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
function M(e) {
|
|
171
|
+
P[e ? "unshift" : "push"](() => {
|
|
172
|
+
p = e, n(6, p);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
P[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
return a.$$set = (e) => {
|
|
182
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4,
|
|
182
|
+
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, m = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, x = e.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
|
-
33792 && s &&
|
|
186
|
+
33792 && s && x && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
188
|
8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
189
|
16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
@@ -193,10 +193,10 @@ function le(a, t, n) {
|
|
|
193
193
|
_,
|
|
194
194
|
i,
|
|
195
195
|
l,
|
|
196
|
-
x,
|
|
197
|
-
o,
|
|
198
196
|
m,
|
|
199
|
-
|
|
197
|
+
o,
|
|
198
|
+
p,
|
|
199
|
+
z,
|
|
200
200
|
w,
|
|
201
201
|
k,
|
|
202
202
|
s,
|
|
@@ -204,20 +204,20 @@ function le(a, t, n) {
|
|
|
204
204
|
C,
|
|
205
205
|
b,
|
|
206
206
|
h,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
x,
|
|
208
|
+
M,
|
|
209
209
|
L,
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends G {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), J(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B7HDzCMK.cjs");require("../stencil/ui-image-DLXwOzO2.cjs");function z(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-1mw336g",'*,*::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:10px;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:var(--emw--border-radius-medium, 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:10px;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:var(--emw--border-radius-medium, 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, 10px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,f,l,g,C,i,u,s,p,b,c,y=n[8](`${n[2]}`)+"",m,h,d,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),f=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"),b=e.space(),c=e.element("div"),m=e.text(y),h=e.space(),d=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(d,"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(f,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(o,t){e.insert(o,a,t),e.append(a,r),e.append(r,f),e.append(f,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,b),e.append(i,c),e.append(c,m),e.append(i,h),e.append(i,d),n[16](d),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(o,[t]){t&2&&!e.src_url_equal(s.src,p=o[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",o[1]),t&260&&y!==(y=o[8](`${o[2]}`)+"")&&e.set_data(m,y),t&8&&e.set_data(S,o[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(o[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+o[0]+"')"),t&128&&w!==(w="Container "+(o[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(o){o&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let f;e.component_subscribe(n,e.$format,t=>r(8,f=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:b}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:m=""}=a,h,d,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=m;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(M=>{z(M,k[M])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,h&&h.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"](()=>{h=t,r(6,h)})}const T=()=>w();function o(t){e.binding_callbacks[t?"unshift":"push"](()=>{d=t,r(5,d)})}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,b=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,m=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&m&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&d&&e.setClientStyling(d,c),n.$$.dirty&16416&&y&&d&&e.setClientStylingURL(d,y),n.$$.dirty&4128&&b&&d&&e.setStreamStyling(d,`${b}.Style`)},[g,C,i,s,p,d,h,F,f,w,l,u,b,c,y,m,I,T,o]}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/{CasinoCalendarDailyItem-1co5UCOc.js → CasinoCalendarDailyItem-Dn5Go7LC.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as R, d as Q, D as A, E as B, m as O, r as u, G 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 P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-gzR0syWU.js";
|
|
2
|
+
import "../stencil/ui-image-w38Eao2h.js";
|
|
3
|
+
function q(a, t) {
|
|
4
|
+
N(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,21 +75,21 @@ const q = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
V(a, "svelte-1mw336g", '*,*::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:10px;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:var(--emw--border-radius-medium, 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:10px;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:var(--emw--border-radius-medium, 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, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
|
-
let t, n, w, s, f, _, i, g, l,
|
|
81
|
+
let t, n, w, s, f, _, i, g, l, m, C, b, h = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
),
|
|
85
|
+
), x, p, o, z, S, v, E, I, k, M, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
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"),
|
|
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"), x = W(h), p = D(), o = c("div"), z = D(), S = c("div"), v = c("button"), E = W(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(f, "class", "CalendarBar"), A(l.src,
|
|
92
|
-
a[1]) || B(l, "src",
|
|
91
|
+
), u(f, "class", "CalendarBar"), A(l.src, m = /*dailyicon*/
|
|
92
|
+
a[1]) || B(l, "src", m), B(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
@@ -100,17 +100,17 @@ function se(a) {
|
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
103
|
-
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b,
|
|
103
|
+
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, x), r(i, p), r(i, o), a[16](o), r(i, z), r(i, S), r(S, v), r(v, E), a[18](t), M || (L = Y(
|
|
104
104
|
v,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), M = !0);
|
|
109
109
|
},
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
|
-
2 && !A(l.src,
|
|
113
|
-
d[1]) && B(l, "src",
|
|
112
|
+
2 && !A(l.src, m = /*dailyicon*/
|
|
113
|
+
d[1]) && B(l, "src", m), e & /*dailyicon*/
|
|
114
114
|
2 && B(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
@@ -119,9 +119,9 @@ function se(a) {
|
|
|
119
119
|
), e & /*$_, dailyday*/
|
|
120
120
|
260 && h !== (h = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") && O(
|
|
122
|
+
d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
|
|
123
123
|
8 && O(
|
|
124
|
-
|
|
124
|
+
E,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
@@ -135,55 +135,55 @@ function se(a) {
|
|
|
135
135
|
i: R,
|
|
136
136
|
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d && Q(t), a[16](null), a[18](null),
|
|
138
|
+
d && Q(t), a[16](null), a[18](null), M = !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
|
-
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index:
|
|
145
|
+
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: m = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, z = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(H).forEach((e) => {
|
|
150
|
+
q(e, H[e]);
|
|
151
151
|
});
|
|
152
|
-
const
|
|
153
|
-
let e =
|
|
152
|
+
const E = () => {
|
|
153
|
+
let e = x;
|
|
154
154
|
if (e)
|
|
155
|
-
return fetch(e).then((
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
155
|
+
return fetch(e).then((T) => T.json()).then((T) => {
|
|
156
|
+
Object.keys(T).forEach((j) => {
|
|
157
|
+
q(j, T[j]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((T) => {
|
|
160
|
+
console.log(T);
|
|
161
161
|
});
|
|
162
162
|
}, I = () => {
|
|
163
163
|
let e = document.createElement("div");
|
|
164
|
-
e.innerHTML = g,
|
|
164
|
+
e.innerHTML = g, p && p.append(e);
|
|
165
165
|
}, k = () => {
|
|
166
|
-
window.postMessage({ type: "OpenCalendar", index:
|
|
166
|
+
window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
$(() => (ee(S) && n(7,
|
|
168
|
+
$(() => (ee(S) && n(7, z = !0), () => {
|
|
169
169
|
}));
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
function M(e) {
|
|
171
|
+
P[e ? "unshift" : "push"](() => {
|
|
172
|
+
p = e, n(6, p);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
P[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
return a.$$set = (e) => {
|
|
182
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4,
|
|
182
|
+
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, m = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, x = e.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
|
-
33792 && s &&
|
|
186
|
+
33792 && s && x && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
188
|
8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
189
|
16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
@@ -193,10 +193,10 @@ function le(a, t, n) {
|
|
|
193
193
|
_,
|
|
194
194
|
i,
|
|
195
195
|
l,
|
|
196
|
-
x,
|
|
197
|
-
o,
|
|
198
196
|
m,
|
|
199
|
-
|
|
197
|
+
o,
|
|
198
|
+
p,
|
|
199
|
+
z,
|
|
200
200
|
w,
|
|
201
201
|
k,
|
|
202
202
|
s,
|
|
@@ -204,20 +204,20 @@ function le(a, t, n) {
|
|
|
204
204
|
C,
|
|
205
205
|
b,
|
|
206
206
|
h,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
x,
|
|
208
|
+
M,
|
|
209
209
|
L,
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends G {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), J(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B7HDzCMK.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
|