@everymatrix/casino-page-nd 1.52.6 → 1.53.10

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.
Files changed (48) hide show
  1. package/components/{CasinoCalendar-DOhm0UH1.js → CasinoCalendar-pVz7jYqi.js} +1458 -1427
  2. package/components/CasinoCalendarDailyDetails-D7GkfhmR.js +701 -0
  3. package/components/CasinoCalendarDailyItem-CU9qMJji.js +315 -0
  4. package/components/{CasinoCollectionsProviders--fiR9zGC.js → CasinoCollectionsProviders-DxgdPTXN.js} +237 -242
  5. package/components/{CasinoFavoritesSectionNd-NavJ5G0E.js → CasinoFavoritesSectionNd-B8EIXq01.js} +20 -20
  6. package/components/{CasinoFilter-mbUMCElM.js → CasinoFilter-C67EHGOs.js} +83 -84
  7. package/components/{CasinoGameThumbnailNd-OcelQvI7.js → CasinoGameThumbnailNd-Dj9aITsK.js} +856 -872
  8. package/components/{CasinoGamesCategorySectionNd-DbFgMvAQ.js → CasinoGamesCategorySectionNd-OZ2HaGrH.js} +611 -642
  9. package/components/{CasinoJackpotBanner-DWGfhATO.js → CasinoJackpotBanner-BRQqqpK8.js} +174 -178
  10. package/components/{CasinoLastPlayedSectionNd-CsnvGVxc.js → CasinoLastPlayedSectionNd--_9buYZx.js} +82 -82
  11. package/components/{CasinoMostPlayedSectionNd-B9YKl4yB.js → CasinoMostPlayedSectionNd-umJpV9lP.js} +23 -23
  12. package/components/{CasinoMyGamesNd-ChtvJLWX.js → CasinoMyGamesNd-Bosn4XLW.js} +74 -75
  13. package/components/{CasinoPageNd-DhFHO5Eo.js → CasinoPageNd-C2EI24cS.js} +362 -365
  14. package/components/{CasinoRandomGame-Dual7qoW.js → CasinoRandomGame-BpYrX4Cp.js} +226 -242
  15. package/components/{CasinoSearchNd-CjLT8glO.js → CasinoSearchNd-CmTarxBK.js} +222 -224
  16. package/components/{CasinoSort-Nb_NdM0g.js → CasinoSort-bFOcp6J4.js} +19 -20
  17. package/components/{CasinoWinners-ClikijEr.js → CasinoWinners-BUoqMo1a.js} +150 -152
  18. package/components/{GeneralAnimationLoading-VIiE9eDg.js → GeneralAnimationLoading-CC5IRZHm.js} +3 -3
  19. package/esnext/casino-page-nd.js +14 -0
  20. package/package.json +8 -20
  21. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
  22. package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
  23. package/components/CasinoCalendar-B-gPVc8F.cjs +0 -6
  24. package/components/CasinoCalendarDailyDetails-BlwMMM8a.js +0 -605
  25. package/components/CasinoCalendarDailyDetails-DHDvQM0N.cjs +0 -1
  26. package/components/CasinoCalendarDailyItem-CMQfWntR.js +0 -220
  27. package/components/CasinoCalendarDailyItem-CgIKXg2j.cjs +0 -1
  28. package/components/CasinoCollectionsProviders-Cg6Drvjc.cjs +0 -1
  29. package/components/CasinoFavoritesSectionNd-DQqjc8Wd.cjs +0 -1
  30. package/components/CasinoFilter-DJqRaz4Q.cjs +0 -1
  31. package/components/CasinoGameThumbnailNd-CvUlQLWz.cjs +0 -39
  32. package/components/CasinoGamesCategorySectionNd-BUaP-R8q.cjs +0 -1
  33. package/components/CasinoJackpotBanner-DxmBYDQZ.cjs +0 -1
  34. package/components/CasinoLastPlayedSectionNd-Dzzp6Q5U.cjs +0 -1
  35. package/components/CasinoMostPlayedSectionNd-DQVuxXZU.cjs +0 -1
  36. package/components/CasinoMyGamesNd-D4fElK7C.cjs +0 -1
  37. package/components/CasinoPageNd-D6w-jb2t.cjs +0 -1
  38. package/components/CasinoRandomGame-D6B_2z33.cjs +0 -2
  39. package/components/CasinoSearchNd-TLqLQzZi.cjs +0 -1
  40. package/components/CasinoSort-E-_378b4.cjs +0 -1
  41. package/components/CasinoWinners-DXdWQq1j.cjs +0 -1
  42. package/components/GeneralAnimationLoading-qrGVwLbv.cjs +0 -1
  43. package/es2015/casino-page-nd.cjs +0 -1
  44. package/es2015/casino-page-nd.js +0 -16
  45. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  46. package/stencil/casino-play-random-game-CQe5iDJ8.cjs +0 -371
  47. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  48. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -0,0 +1,315 @@
1
+ import { a as U, $ as q, S as V, i as G, f as g, c as J, s as K, b as Q, e as c, r as D, u as R, v as o, E as O, I as _, d as X, w as r, x as Y, B as W, D as A, j as Z, k as $, o as ee, m as te, n as H, F as ae } from "./CasinoCalendar-pVz7jYqi.js";
2
+ function P(a, t) {
3
+ U(a, t);
4
+ }
5
+ function ne(a) {
6
+ q.set(a);
7
+ }
8
+ const N = {
9
+ en: {
10
+ error: "500 Error - Internal Server Error",
11
+ loading: "Loading ...",
12
+ monday: "Monday",
13
+ tuesday: "Tuesday",
14
+ wednesday: "Wednesday",
15
+ thursday: "Thursday",
16
+ friday: "Friday",
17
+ saturday: "Saturday",
18
+ sunday: "Sunday"
19
+ },
20
+ hr: {
21
+ error: "500 Error - Internal Server Error",
22
+ loading: "Loading ...",
23
+ monday: "ponedjeljak",
24
+ tuesday: "utorak",
25
+ wednesday: "srijeda",
26
+ thursday: "četvrtak",
27
+ friday: "petak",
28
+ saturday: "subota",
29
+ sunday: "nedjelja"
30
+ },
31
+ "pt-br": {
32
+ error: "500 Error - Internal Server Error",
33
+ loading: "Loading ...",
34
+ monday: "Monday",
35
+ tuesday: "Tuesday",
36
+ wednesday: "Wednesday",
37
+ thursday: "Thursday",
38
+ friday: "Friday",
39
+ saturday: "Saturday",
40
+ sunday: "Sunday"
41
+ },
42
+ "es-mx": {
43
+ error: "500 Error - Internal Server Error",
44
+ loading: "Loading ...",
45
+ monday: "Monday",
46
+ tuesday: "Tuesday",
47
+ wednesday: "Wednesday",
48
+ thursday: "Thursday",
49
+ friday: "Friday",
50
+ saturday: "Saturday",
51
+ sunday: "Sunday"
52
+ },
53
+ tr: {
54
+ error: "500 Error - Internal Server Error",
55
+ loading: "Loading ...",
56
+ monday: "Monday",
57
+ tuesday: "Tuesday",
58
+ wednesday: "Wednesday",
59
+ thursday: "Thursday",
60
+ friday: "Friday",
61
+ saturday: "Saturday",
62
+ sunday: "Sunday"
63
+ },
64
+ "en-us": {
65
+ error: "500 Error - Internal Server Error",
66
+ loading: "Loading ...",
67
+ monday: "Monday",
68
+ tuesday: "Tuesday",
69
+ wednesday: "Wednesday",
70
+ thursday: "Thursday",
71
+ friday: "Friday",
72
+ saturday: "Saturday",
73
+ sunday: "Sunday"
74
+ }
75
+ };
76
+ function ie(a) {
77
+ Q(a, "svelte-1jtwzs1", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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 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}');
78
+ }
79
+ function re(a) {
80
+ let t, i, C, l, m, T, n, h, s, w, v, f, p = (
81
+ /*$_*/
82
+ a[8](`${/*dailyday*/
83
+ a[2]}`) + ""
84
+ ), b, y, k, B, S, F, z, I, E, L, j;
85
+ return {
86
+ c() {
87
+ t = c("div"), i = c("div"), C = c("div"), l = c("div"), m = c("div"), m.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', T = D(), n = c("div"), h = c("div"), s = c("img"), v = D(), f = c("div"), b = R(p), y = D(), k = c("div"), B = D(), S = c("div"), F = c("button"), z = R(
88
+ /*dailybuttontitle*/
89
+ a[3]
90
+ ), o(m, "class", "CalendarBar"), O(s.src, w = /*dailyicon*/
91
+ a[1]) || o(s, "src", w), o(
92
+ s,
93
+ "alt",
94
+ /*dailyicon*/
95
+ a[1]
96
+ ), o(h, "class", "CasinoCalendarDailyIcon"), o(f, "class", "CasinoCalendarDailyTitle"), o(k, "class", "CasinoCalendarDailyItemDescription"), o(F, "class", "MoreInfoButton"), o(S, "class", "CasinoCalendarDailyItemButton"), o(n, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
97
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), _(n, "background-image", "url('" + /*dailybackground*/
98
+ a[0] + "')"), _(n, "background-size", "cover"), _(n, "background-position", "center"), _(n, "-webkit-background-size", "cover"), _(n, "-moz-background-size", "cover"), _(n, "-o-background-size", "cover"), o(l, "class", "CalendarCard"), o(C, "class", "CasinoCalendarItems"), o(i, "class", E = "Container " + /*mobileView*/
99
+ (a[7] ? "Mobile" : ""));
100
+ },
101
+ m(d, u) {
102
+ X(d, t, u), r(t, i), r(i, C), r(C, l), r(l, m), r(l, T), r(l, n), r(n, h), r(h, s), r(n, v), r(n, f), r(f, b), r(n, y), r(n, k), a[15](k), r(n, B), r(n, S), r(S, F), r(F, z), a[17](t), L || (j = Y(
103
+ F,
104
+ "click",
105
+ /*click_handler*/
106
+ a[16]
107
+ ), L = !0);
108
+ },
109
+ p(d, [u]) {
110
+ u & /*dailyicon*/
111
+ 2 && !O(s.src, w = /*dailyicon*/
112
+ d[1]) && o(s, "src", w), u & /*dailyicon*/
113
+ 2 && o(
114
+ s,
115
+ "alt",
116
+ /*dailyicon*/
117
+ d[1]
118
+ ), u & /*$_, dailyday*/
119
+ 260 && p !== (p = /*$_*/
120
+ d[8](`${/*dailyday*/
121
+ d[2]}`) + "") && W(b, p), u & /*dailybuttontitle*/
122
+ 8 && W(
123
+ z,
124
+ /*dailybuttontitle*/
125
+ d[3]
126
+ ), u & /*index*/
127
+ 16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
128
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && o(n, "class", I), u & /*dailybackground*/
129
+ 1 && _(n, "background-image", "url('" + /*dailybackground*/
130
+ d[0] + "')"), u & /*mobileView*/
131
+ 128 && E !== (E = "Container " + /*mobileView*/
132
+ (d[7] ? "Mobile" : "")) && o(i, "class", E);
133
+ },
134
+ i: A,
135
+ o: A,
136
+ d(d) {
137
+ d && Z(t), a[15](null), a[17](null), L = !1, j();
138
+ }
139
+ };
140
+ }
141
+ function oe(a, t, i) {
142
+ let C;
143
+ $(a, ae, (e) => i(8, C = e));
144
+ let { lang: l = "" } = t, { dailybackground: m = "" } = t, { dailyicon: T = "" } = t, { dailyday: n = "" } = t, { dailydescription: h = "<p></p>" } = t, { dailybuttontitle: s = "" } = t, { index: w = "0" } = t, { clientstyling: v = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, b, y, k = !1, B = window.navigator.userAgent;
145
+ const S = () => {
146
+ ne(l);
147
+ };
148
+ Object.keys(N).forEach((e) => {
149
+ P(e, N[e]);
150
+ });
151
+ const F = () => {
152
+ let e = p;
153
+ if (e)
154
+ return fetch(e).then((x) => x.json()).then((x) => {
155
+ Object.keys(x).forEach((M) => {
156
+ P(M, x[M]);
157
+ });
158
+ }).catch((x) => {
159
+ console.log(x);
160
+ });
161
+ }, z = () => {
162
+ let e = document.createElement("div");
163
+ e.innerHTML = h, b && b.append(e);
164
+ }, I = () => {
165
+ window.postMessage({ type: "OpenCalendar", index: w }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
166
+ }, E = () => {
167
+ let e = document.createElement("style");
168
+ e.innerHTML = v, y.appendChild(e);
169
+ }, L = () => {
170
+ let e = new URL(f), x = document.createElement("style");
171
+ fetch(e.href).then((M) => M.text()).then((M) => {
172
+ x.innerHTML = M, setTimeout(
173
+ () => {
174
+ y.appendChild(x);
175
+ },
176
+ 1
177
+ ), setTimeout(
178
+ () => {
179
+ },
180
+ 500
181
+ );
182
+ });
183
+ };
184
+ ee(() => {
185
+ te(B) && i(7, k = !0);
186
+ });
187
+ function j(e) {
188
+ H[e ? "unshift" : "push"](() => {
189
+ b = e, i(6, b);
190
+ });
191
+ }
192
+ const d = () => I();
193
+ function u(e) {
194
+ H[e ? "unshift" : "push"](() => {
195
+ y = e, i(5, y);
196
+ });
197
+ }
198
+ return a.$$set = (e) => {
199
+ "lang" in e && i(10, l = e.lang), "dailybackground" in e && i(0, m = e.dailybackground), "dailyicon" in e && i(1, T = e.dailyicon), "dailyday" in e && i(2, n = e.dailyday), "dailydescription" in e && i(11, h = e.dailydescription), "dailybuttontitle" in e && i(3, s = e.dailybuttontitle), "index" in e && i(4, w = e.index), "clientstyling" in e && i(12, v = e.clientstyling), "clientstylingurl" in e && i(13, f = e.clientstylingurl), "translationurl" in e && i(14, p = e.translationurl);
200
+ }, a.$$.update = () => {
201
+ a.$$.dirty & /*lang*/
202
+ 1024 && l && S(), a.$$.dirty & /*lang, translationurl*/
203
+ 17408 && l && p && F(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
204
+ 2063 && T && n && h && s && m && z(), a.$$.dirty & /*clientstyling, customStylingContainer*/
205
+ 4128 && v && y && E(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
206
+ 8224 && f && y && L();
207
+ }, [
208
+ m,
209
+ T,
210
+ n,
211
+ s,
212
+ w,
213
+ y,
214
+ b,
215
+ k,
216
+ C,
217
+ I,
218
+ l,
219
+ h,
220
+ v,
221
+ f,
222
+ p,
223
+ j,
224
+ d,
225
+ u
226
+ ];
227
+ }
228
+ class de extends V {
229
+ constructor(t) {
230
+ super(), G(
231
+ this,
232
+ t,
233
+ oe,
234
+ re,
235
+ K,
236
+ {
237
+ lang: 10,
238
+ dailybackground: 0,
239
+ dailyicon: 1,
240
+ dailyday: 2,
241
+ dailydescription: 11,
242
+ dailybuttontitle: 3,
243
+ index: 4,
244
+ clientstyling: 12,
245
+ clientstylingurl: 13,
246
+ translationurl: 14
247
+ },
248
+ ie
249
+ );
250
+ }
251
+ get lang() {
252
+ return this.$$.ctx[10];
253
+ }
254
+ set lang(t) {
255
+ this.$$set({ lang: t }), g();
256
+ }
257
+ get dailybackground() {
258
+ return this.$$.ctx[0];
259
+ }
260
+ set dailybackground(t) {
261
+ this.$$set({ dailybackground: t }), g();
262
+ }
263
+ get dailyicon() {
264
+ return this.$$.ctx[1];
265
+ }
266
+ set dailyicon(t) {
267
+ this.$$set({ dailyicon: t }), g();
268
+ }
269
+ get dailyday() {
270
+ return this.$$.ctx[2];
271
+ }
272
+ set dailyday(t) {
273
+ this.$$set({ dailyday: t }), g();
274
+ }
275
+ get dailydescription() {
276
+ return this.$$.ctx[11];
277
+ }
278
+ set dailydescription(t) {
279
+ this.$$set({ dailydescription: t }), g();
280
+ }
281
+ get dailybuttontitle() {
282
+ return this.$$.ctx[3];
283
+ }
284
+ set dailybuttontitle(t) {
285
+ this.$$set({ dailybuttontitle: t }), g();
286
+ }
287
+ get index() {
288
+ return this.$$.ctx[4];
289
+ }
290
+ set index(t) {
291
+ this.$$set({ index: t }), g();
292
+ }
293
+ get clientstyling() {
294
+ return this.$$.ctx[12];
295
+ }
296
+ set clientstyling(t) {
297
+ this.$$set({ clientstyling: t }), g();
298
+ }
299
+ get clientstylingurl() {
300
+ return this.$$.ctx[13];
301
+ }
302
+ set clientstylingurl(t) {
303
+ this.$$set({ clientstylingurl: t }), g();
304
+ }
305
+ get translationurl() {
306
+ return this.$$.ctx[14];
307
+ }
308
+ set translationurl(t) {
309
+ this.$$set({ translationurl: t }), g();
310
+ }
311
+ }
312
+ J(de, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
+ export {
314
+ de as default
315
+ };