@everymatrix/casino-lobby 1.68.0 → 1.69.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.
Files changed (70) hide show
  1. package/components/{CasinoCalendar-BF8mewVC.js → CasinoCalendar-B6uiocPT.js} +2 -2
  2. package/components/{CasinoCalendar-DglR4hXB.cjs → CasinoCalendar-DopuyFlO.cjs} +1 -1
  3. package/components/{CasinoCalendar-D4LpPl-1.js → CasinoCalendar-YTX3d_xR.js} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-CYbfeCHU.js → CasinoCalendarDailyDetails-BBk7ltH0.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Ch6e1NT3.js → CasinoCalendarDailyDetails-BUfFLbLi.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-MqRoHEO5.cjs → CasinoCalendarDailyDetails-YEnViudD.cjs} +1 -1
  7. package/components/CasinoCalendarDailyItem-02T11Hoc.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-CmyuLjLN.js +307 -0
  9. package/components/CasinoCalendarDailyItem-CoS5mSdC.js +307 -0
  10. package/components/{CasinoCategoriesSlider--HeFAg7z.cjs → CasinoCategoriesSlider-B3XVkoHt.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-4PyZgVN4.js → CasinoCategoriesSlider-CODS6otl.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-pZ0RE09Y.js → CasinoCategoriesSlider-Pe0_bkzG.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-CxSXiBRw.js → CasinoCollectionsProviders-Cp2-ybfy.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-BiELxvLs.js → CasinoCollectionsProviders-DIb0EgZX.js} +1 -1
  15. package/components/{CasinoCollectionsProviders-B_huGyx5.cjs → CasinoCollectionsProviders-Dmoc_iWB.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-BEoTami0.cjs → CasinoFavoritesSection-AbDiuIbR.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-BaVNNZew.js → CasinoFavoritesSection-D62F6LkA.js} +2 -2
  18. package/components/{CasinoFavoritesSection-xEBEuwu9.js → CasinoFavoritesSection-v5Nzok_w.js} +2 -2
  19. package/components/{CasinoFilter-wmIw9PNN.js → CasinoFilter-BnS5pRno.js} +1 -1
  20. package/components/{CasinoFilter-B59lvHq7.js → CasinoFilter-C7tklnuL.js} +1 -1
  21. package/components/{CasinoFilter-1GsfPr4q.cjs → CasinoFilter-IiM3HeFb.cjs} +1 -1
  22. package/components/{CasinoGameThumbnail-CXkY0QzT.js → CasinoGameThumbnail-BTP_aUWZ.js} +1 -1
  23. package/components/{CasinoGameThumbnail-DOvhLlXz.js → CasinoGameThumbnail-CGn0oGiJ.js} +1 -1
  24. package/components/{CasinoGameThumbnail-BvOIlOOi.cjs → CasinoGameThumbnail-DatKA9w3.cjs} +1 -1
  25. package/components/{CasinoGamesCategorySection-CiWt3K1k.cjs → CasinoGamesCategorySection-BPKGXDin.cjs} +1 -1
  26. package/components/{CasinoGamesCategorySection-l1-Tc_-i.js → CasinoGamesCategorySection-B_hC0xh8.js} +5 -5
  27. package/components/{CasinoGamesCategorySection-BF8Wwdcu.js → CasinoGamesCategorySection-CulWG5wp.js} +5 -5
  28. package/components/{CasinoJackpotBanner-DhRXbZof.cjs → CasinoJackpotBanner-CEbk68FA.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-C24srJSt.js → CasinoJackpotBanner-D6YKp4Tx.js} +1 -1
  30. package/components/{CasinoJackpotBanner-dNXFQJTj.js → CasinoJackpotBanner-wFZ1ASTd.js} +1 -1
  31. package/components/{CasinoLastPlayedSection-DIhS-Cjn.cjs → CasinoLastPlayedSection-C8iC5pfH.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-WK_DiQLi.js → CasinoLastPlayedSection-C_lqu4Wt.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-kSHxnEQm.js → CasinoLastPlayedSection-CxzPWXWp.js} +2 -2
  34. package/components/{CasinoLobby-BKn_UcVG.js → CasinoLobby-D9_of6Id.js} +3 -3
  35. package/components/{CasinoLobby-B_xX2cTN.js → CasinoLobby-DNDWujJj.js} +3 -3
  36. package/components/{CasinoLobby-BTsbf1Dp.cjs → CasinoLobby-DOsDfgLg.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-CpQ8alGr.js → CasinoMostPlayedSection-B0q8loO7.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-NG0SQWPF.cjs → CasinoMostPlayedSection-BQ1LAnE7.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-Iga_FArc.js → CasinoMostPlayedSection-BVF4uJ7K.js} +2 -2
  40. package/components/{CasinoMyGames-D2q-Jphv.js → CasinoMyGames-C2Nk9R9W.js} +4 -4
  41. package/components/{CasinoMyGames-CWLpbuHo.js → CasinoMyGames-Cb9-clIx.js} +4 -4
  42. package/components/{CasinoMyGames-YcHVOFTG.cjs → CasinoMyGames-De4Ckz-L.cjs} +1 -1
  43. package/components/{CasinoPage-BH2iiSOV.cjs → CasinoPage-BHd65y7Q.cjs} +1 -1
  44. package/components/{CasinoPage-BgLrhEfj.js → CasinoPage-KygmO0jD.js} +10 -10
  45. package/components/{CasinoPage-CoARs37R.js → CasinoPage-aHOqPZuY.js} +10 -10
  46. package/components/{CasinoRandomGame-BXlhl8EV.js → CasinoRandomGame-BtfzVdwA.js} +1 -1
  47. package/components/{CasinoRandomGame-mZ24kU0C.cjs → CasinoRandomGame-DHN-OaVS.cjs} +1 -1
  48. package/components/{CasinoRandomGame-B1u3odwX.js → CasinoRandomGame-Dry-RK41.js} +1 -1
  49. package/components/{CasinoSearch-6Po84NwU.js → CasinoSearch-C5AF1XD-.js} +3 -3
  50. package/components/{CasinoSearch-Dzb1-CXX.cjs → CasinoSearch-DoPVMjDl.cjs} +1 -1
  51. package/components/{CasinoSearch-BQQlLOjg.js → CasinoSearch-Dt8C7J32.js} +3 -3
  52. package/components/{CasinoSlider-e9OjOUTr.cjs → CasinoSlider-Bc1BSPzf.cjs} +1 -1
  53. package/components/{CasinoSlider-D7t8_zfr.js → CasinoSlider-DJY7zkan.js} +1 -1
  54. package/components/{CasinoSlider-DKBg_L_0.js → CasinoSlider-y7n91-8S.js} +1 -1
  55. package/components/{CasinoSort-BPTDI9TW.js → CasinoSort-CVAsNHcz.js} +1 -1
  56. package/components/{CasinoSort-CWyjQZ3C.cjs → CasinoSort-IoRU5VHT.cjs} +1 -1
  57. package/components/{CasinoSort-D50Gqwov.js → CasinoSort-UUmo-IzI.js} +1 -1
  58. package/components/{CasinoWinners-DgXBOTeI.cjs → CasinoWinners-ChkkpF6l.cjs} +1 -1
  59. package/components/{CasinoWinners-d939bnNo.js → CasinoWinners-Ci2ibhP2.js} +2 -2
  60. package/components/{CasinoWinners-LbQOS6Ei.js → CasinoWinners-TNnIEh1H.js} +2 -2
  61. package/components/{GeneralAnimationLoading-BOE-CFcO.js → GeneralAnimationLoading-COhtogq_.js} +1 -1
  62. package/components/{GeneralAnimationLoading-Bgob1QKM.cjs → GeneralAnimationLoading-D9DHpL0u.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-DtX9qyd8.js → GeneralAnimationLoading-aT7wz_tJ.js} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/components/CasinoCalendarDailyItem-C_Ebrn-V.js +0 -307
  69. package/components/CasinoCalendarDailyItem-Cc3LUybT.js +0 -307
  70. package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +0 -1
@@ -0,0 +1,307 @@
1
+ import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as j, d as Q, D as R, E as L, m as A, r as u, G as O, h as X, p as r, A as Y, j as c, B, 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-YTX3d_xR.js";
2
+ import "../stencil/ui-image-w38Eao2h.js";
3
+ function q(a, t) {
4
+ N(a, t);
5
+ }
6
+ function oe(a) {
7
+ U.set(a);
8
+ }
9
+ const H = {
10
+ en: {
11
+ error: "500 Error - Internal Server Error",
12
+ loading: "Loading ...",
13
+ monday: "Monday",
14
+ tuesday: "Tuesday",
15
+ wednesday: "Wednesday",
16
+ thursday: "Thursday",
17
+ friday: "Friday",
18
+ saturday: "Saturday",
19
+ sunday: "Sunday"
20
+ },
21
+ hr: {
22
+ error: "500 Error - Internal Server Error",
23
+ loading: "Loading ...",
24
+ monday: "ponedjeljak",
25
+ tuesday: "utorak",
26
+ wednesday: "srijeda",
27
+ thursday: "četvrtak",
28
+ friday: "petak",
29
+ saturday: "subota",
30
+ sunday: "nedjelja"
31
+ },
32
+ "pt-br": {
33
+ error: "500 Error - Internal Server Error",
34
+ loading: "Loading ...",
35
+ monday: "Monday",
36
+ tuesday: "Tuesday",
37
+ wednesday: "Wednesday",
38
+ thursday: "Thursday",
39
+ friday: "Friday",
40
+ saturday: "Saturday",
41
+ sunday: "Sunday"
42
+ },
43
+ "es-mx": {
44
+ error: "500 Error - Internal Server Error",
45
+ loading: "Loading ...",
46
+ monday: "Monday",
47
+ tuesday: "Tuesday",
48
+ wednesday: "Wednesday",
49
+ thursday: "Thursday",
50
+ friday: "Friday",
51
+ saturday: "Saturday",
52
+ sunday: "Sunday"
53
+ },
54
+ tr: {
55
+ error: "500 Error - Internal Server Error",
56
+ loading: "Loading ...",
57
+ monday: "Monday",
58
+ tuesday: "Tuesday",
59
+ wednesday: "Wednesday",
60
+ thursday: "Thursday",
61
+ friday: "Friday",
62
+ saturday: "Saturday",
63
+ sunday: "Sunday"
64
+ },
65
+ "en-us": {
66
+ error: "500 Error - Internal Server Error",
67
+ loading: "Loading ...",
68
+ monday: "Monday",
69
+ tuesday: "Tuesday",
70
+ wednesday: "Wednesday",
71
+ thursday: "Thursday",
72
+ friday: "Friday",
73
+ saturday: "Saturday",
74
+ sunday: "Sunday"
75
+ }
76
+ };
77
+ function de(a) {
78
+ V(a, "svelte-l9b1y7", '*,*::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-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;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
+ }
80
+ function le(a) {
81
+ let t, i, w, l, f, F, n, g, s, m, v, b, h = (
82
+ /*$_*/
83
+ a[8](`${/*dailyday*/
84
+ a[2]}`) + ""
85
+ ), x, p, o, T, _, C, z, S, k, E, M;
86
+ return {
87
+ c() {
88
+ t = c("div"), i = c("div"), w = c("div"), l = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', F = B(), n = c("div"), g = c("div"), s = c("ui-image"), v = B(), b = c("div"), x = W(h), p = B(), o = c("div"), T = B(), _ = c("div"), C = c("button"), z = W(
89
+ /*dailybuttontitle*/
90
+ a[3]
91
+ ), u(f, "class", "CalendarBar"), R(s.src, m = /*dailyicon*/
92
+ a[1]) || L(s, "src", m), L(
93
+ s,
94
+ "alt",
95
+ /*dailyicon*/
96
+ a[1]
97
+ ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(C, "class", "MoreInfoButton"), u(_, "class", "CasinoCalendarDailyItemButton"), u(n, "class", S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), O(n, "--background-image-url", "url('" + /*dailybackground*/
99
+ a[0] + "')"), u(l, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(i, "class", k = "Container " + /*mobileView*/
100
+ (a[7] ? "Mobile" : ""));
101
+ },
102
+ m(d, e) {
103
+ X(d, t, e), r(t, i), r(i, w), r(w, l), r(l, f), r(l, F), r(l, n), r(n, g), r(g, s), r(n, v), r(n, b), r(b, x), r(n, p), r(n, o), a[16](o), r(n, T), r(n, _), r(_, C), r(C, z), a[18](t), E || (M = Y(
104
+ C,
105
+ "click",
106
+ /*click_handler*/
107
+ a[17]
108
+ ), E = !0);
109
+ },
110
+ p(d, [e]) {
111
+ e & /*dailyicon*/
112
+ 2 && !R(s.src, m = /*dailyicon*/
113
+ d[1]) && L(s, "src", m), e & /*dailyicon*/
114
+ 2 && L(
115
+ s,
116
+ "alt",
117
+ /*dailyicon*/
118
+ d[1]
119
+ ), e & /*$_, dailyday*/
120
+ 260 && h !== (h = /*$_*/
121
+ d[8](`${/*dailyday*/
122
+ d[2]}`) + "") && A(x, h), e & /*dailybuttontitle*/
123
+ 8 && A(
124
+ z,
125
+ /*dailybuttontitle*/
126
+ d[3]
127
+ ), e & /*index*/
128
+ 16 && S !== (S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S), e & /*dailybackground*/
130
+ 1 && O(n, "--background-image-url", "url('" + /*dailybackground*/
131
+ d[0] + "')"), e & /*mobileView*/
132
+ 128 && k !== (k = "Container " + /*mobileView*/
133
+ (d[7] ? "Mobile" : "")) && u(i, "class", k);
134
+ },
135
+ i: j,
136
+ o: j,
137
+ d(d) {
138
+ d && Q(t), a[16](null), a[18](null), E = !1, M();
139
+ }
140
+ };
141
+ }
142
+ function se(a, t, i) {
143
+ let w;
144
+ Z(a, re, (e) => i(8, w = e));
145
+ let { lang: l = "" } = t, { dailybackground: f = "" } = t, { dailyicon: F = "" } = t, { dailyday: n = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: s = "" } = t, { index: m = "0" } = t, { mbsource: v } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, T = !1, _ = window.navigator.userAgent;
146
+ const C = () => {
147
+ oe(l);
148
+ };
149
+ Object.keys(H).forEach((e) => {
150
+ q(e, H[e]);
151
+ });
152
+ const z = () => {
153
+ let e = x;
154
+ if (e)
155
+ return fetch(e).then((I) => I.json()).then((I) => {
156
+ Object.keys(I).forEach((D) => {
157
+ q(D, I[D]);
158
+ });
159
+ }).catch((I) => {
160
+ console.log(I);
161
+ });
162
+ }, S = () => {
163
+ let e = document.createElement("div");
164
+ e.innerHTML = g, p && p.append(e);
165
+ }, k = () => {
166
+ window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
+ };
168
+ $(() => (ee(_) && i(7, T = !0), () => {
169
+ }));
170
+ function E(e) {
171
+ P[e ? "unshift" : "push"](() => {
172
+ p = e, i(6, p);
173
+ });
174
+ }
175
+ const M = () => k();
176
+ function d(e) {
177
+ P[e ? "unshift" : "push"](() => {
178
+ o = e, i(5, o);
179
+ });
180
+ }
181
+ return a.$$set = (e) => {
182
+ "lang" in e && i(10, l = e.lang), "dailybackground" in e && i(0, f = e.dailybackground), "dailyicon" in e && i(1, F = e.dailyicon), "dailyday" in e && i(2, n = e.dailyday), "dailydescription" in e && i(11, g = e.dailydescription), "dailybuttontitle" in e && i(3, s = e.dailybuttontitle), "index" in e && i(4, m = e.index), "mbsource" in e && i(12, v = e.mbsource), "clientstyling" in e && i(13, b = e.clientstyling), "clientstylingurl" in e && i(14, h = e.clientstylingurl), "translationurl" in e && i(15, x = e.translationurl);
183
+ }, a.$$.update = () => {
184
+ a.$$.dirty & /*lang*/
185
+ 1024 && l && C(), a.$$.dirty & /*lang, translationurl*/
186
+ 33792 && l && x && z(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
+ 2063 && F && n && g && s && f && S(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
+ 8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && v && o && ie(o, `${v}.Style`);
191
+ }, [
192
+ f,
193
+ F,
194
+ n,
195
+ s,
196
+ m,
197
+ o,
198
+ p,
199
+ T,
200
+ w,
201
+ k,
202
+ l,
203
+ g,
204
+ v,
205
+ b,
206
+ h,
207
+ x,
208
+ E,
209
+ M,
210
+ d
211
+ ];
212
+ }
213
+ class ue extends G {
214
+ constructor(t) {
215
+ super(), J(
216
+ this,
217
+ t,
218
+ se,
219
+ le,
220
+ K,
221
+ {
222
+ lang: 10,
223
+ dailybackground: 0,
224
+ dailyicon: 1,
225
+ dailyday: 2,
226
+ dailydescription: 11,
227
+ dailybuttontitle: 3,
228
+ index: 4,
229
+ mbsource: 12,
230
+ clientstyling: 13,
231
+ clientstylingurl: 14,
232
+ translationurl: 15
233
+ },
234
+ de
235
+ );
236
+ }
237
+ get lang() {
238
+ return this.$$.ctx[10];
239
+ }
240
+ set lang(t) {
241
+ this.$$set({ lang: t }), y();
242
+ }
243
+ get dailybackground() {
244
+ return this.$$.ctx[0];
245
+ }
246
+ set dailybackground(t) {
247
+ this.$$set({ dailybackground: t }), y();
248
+ }
249
+ get dailyicon() {
250
+ return this.$$.ctx[1];
251
+ }
252
+ set dailyicon(t) {
253
+ this.$$set({ dailyicon: t }), y();
254
+ }
255
+ get dailyday() {
256
+ return this.$$.ctx[2];
257
+ }
258
+ set dailyday(t) {
259
+ this.$$set({ dailyday: t }), y();
260
+ }
261
+ get dailydescription() {
262
+ return this.$$.ctx[11];
263
+ }
264
+ set dailydescription(t) {
265
+ this.$$set({ dailydescription: t }), y();
266
+ }
267
+ get dailybuttontitle() {
268
+ return this.$$.ctx[3];
269
+ }
270
+ set dailybuttontitle(t) {
271
+ this.$$set({ dailybuttontitle: t }), y();
272
+ }
273
+ get index() {
274
+ return this.$$.ctx[4];
275
+ }
276
+ set index(t) {
277
+ this.$$set({ index: t }), y();
278
+ }
279
+ get mbsource() {
280
+ return this.$$.ctx[12];
281
+ }
282
+ set mbsource(t) {
283
+ this.$$set({ mbsource: t }), y();
284
+ }
285
+ get clientstyling() {
286
+ return this.$$.ctx[13];
287
+ }
288
+ set clientstyling(t) {
289
+ this.$$set({ clientstyling: t }), y();
290
+ }
291
+ get clientstylingurl() {
292
+ return this.$$.ctx[14];
293
+ }
294
+ set clientstylingurl(t) {
295
+ this.$$set({ clientstylingurl: t }), y();
296
+ }
297
+ get translationurl() {
298
+ return this.$$.ctx[15];
299
+ }
300
+ set translationurl(t) {
301
+ this.$$set({ translationurl: t }), y();
302
+ }
303
+ }
304
+ ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
+ export {
306
+ ue as default
307
+ };
@@ -0,0 +1,307 @@
1
+ import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as j, d as Q, D as R, E as L, m as A, r as u, G as O, h as X, p as r, A as Y, j as c, B, 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-B6uiocPT.js";
2
+ import "../stencil/ui-image-YGEFo8L0.js";
3
+ function q(a, t) {
4
+ N(a, t);
5
+ }
6
+ function oe(a) {
7
+ U.set(a);
8
+ }
9
+ const H = {
10
+ en: {
11
+ error: "500 Error - Internal Server Error",
12
+ loading: "Loading ...",
13
+ monday: "Monday",
14
+ tuesday: "Tuesday",
15
+ wednesday: "Wednesday",
16
+ thursday: "Thursday",
17
+ friday: "Friday",
18
+ saturday: "Saturday",
19
+ sunday: "Sunday"
20
+ },
21
+ hr: {
22
+ error: "500 Error - Internal Server Error",
23
+ loading: "Loading ...",
24
+ monday: "ponedjeljak",
25
+ tuesday: "utorak",
26
+ wednesday: "srijeda",
27
+ thursday: "četvrtak",
28
+ friday: "petak",
29
+ saturday: "subota",
30
+ sunday: "nedjelja"
31
+ },
32
+ "pt-br": {
33
+ error: "500 Error - Internal Server Error",
34
+ loading: "Loading ...",
35
+ monday: "Monday",
36
+ tuesday: "Tuesday",
37
+ wednesday: "Wednesday",
38
+ thursday: "Thursday",
39
+ friday: "Friday",
40
+ saturday: "Saturday",
41
+ sunday: "Sunday"
42
+ },
43
+ "es-mx": {
44
+ error: "500 Error - Internal Server Error",
45
+ loading: "Loading ...",
46
+ monday: "Monday",
47
+ tuesday: "Tuesday",
48
+ wednesday: "Wednesday",
49
+ thursday: "Thursday",
50
+ friday: "Friday",
51
+ saturday: "Saturday",
52
+ sunday: "Sunday"
53
+ },
54
+ tr: {
55
+ error: "500 Error - Internal Server Error",
56
+ loading: "Loading ...",
57
+ monday: "Monday",
58
+ tuesday: "Tuesday",
59
+ wednesday: "Wednesday",
60
+ thursday: "Thursday",
61
+ friday: "Friday",
62
+ saturday: "Saturday",
63
+ sunday: "Sunday"
64
+ },
65
+ "en-us": {
66
+ error: "500 Error - Internal Server Error",
67
+ loading: "Loading ...",
68
+ monday: "Monday",
69
+ tuesday: "Tuesday",
70
+ wednesday: "Wednesday",
71
+ thursday: "Thursday",
72
+ friday: "Friday",
73
+ saturday: "Saturday",
74
+ sunday: "Sunday"
75
+ }
76
+ };
77
+ function de(a) {
78
+ V(a, "svelte-l9b1y7", '*,*::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-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;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
+ }
80
+ function le(a) {
81
+ let t, i, w, l, f, F, n, g, s, m, v, b, h = (
82
+ /*$_*/
83
+ a[8](`${/*dailyday*/
84
+ a[2]}`) + ""
85
+ ), x, p, o, T, _, C, z, S, k, E, M;
86
+ return {
87
+ c() {
88
+ t = c("div"), i = c("div"), w = c("div"), l = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', F = B(), n = c("div"), g = c("div"), s = c("ui-image"), v = B(), b = c("div"), x = W(h), p = B(), o = c("div"), T = B(), _ = c("div"), C = c("button"), z = W(
89
+ /*dailybuttontitle*/
90
+ a[3]
91
+ ), u(f, "class", "CalendarBar"), R(s.src, m = /*dailyicon*/
92
+ a[1]) || L(s, "src", m), L(
93
+ s,
94
+ "alt",
95
+ /*dailyicon*/
96
+ a[1]
97
+ ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(C, "class", "MoreInfoButton"), u(_, "class", "CasinoCalendarDailyItemButton"), u(n, "class", S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), O(n, "--background-image-url", "url('" + /*dailybackground*/
99
+ a[0] + "')"), u(l, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(i, "class", k = "Container " + /*mobileView*/
100
+ (a[7] ? "Mobile" : ""));
101
+ },
102
+ m(d, e) {
103
+ X(d, t, e), r(t, i), r(i, w), r(w, l), r(l, f), r(l, F), r(l, n), r(n, g), r(g, s), r(n, v), r(n, b), r(b, x), r(n, p), r(n, o), a[16](o), r(n, T), r(n, _), r(_, C), r(C, z), a[18](t), E || (M = Y(
104
+ C,
105
+ "click",
106
+ /*click_handler*/
107
+ a[17]
108
+ ), E = !0);
109
+ },
110
+ p(d, [e]) {
111
+ e & /*dailyicon*/
112
+ 2 && !R(s.src, m = /*dailyicon*/
113
+ d[1]) && L(s, "src", m), e & /*dailyicon*/
114
+ 2 && L(
115
+ s,
116
+ "alt",
117
+ /*dailyicon*/
118
+ d[1]
119
+ ), e & /*$_, dailyday*/
120
+ 260 && h !== (h = /*$_*/
121
+ d[8](`${/*dailyday*/
122
+ d[2]}`) + "") && A(x, h), e & /*dailybuttontitle*/
123
+ 8 && A(
124
+ z,
125
+ /*dailybuttontitle*/
126
+ d[3]
127
+ ), e & /*index*/
128
+ 16 && S !== (S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S), e & /*dailybackground*/
130
+ 1 && O(n, "--background-image-url", "url('" + /*dailybackground*/
131
+ d[0] + "')"), e & /*mobileView*/
132
+ 128 && k !== (k = "Container " + /*mobileView*/
133
+ (d[7] ? "Mobile" : "")) && u(i, "class", k);
134
+ },
135
+ i: j,
136
+ o: j,
137
+ d(d) {
138
+ d && Q(t), a[16](null), a[18](null), E = !1, M();
139
+ }
140
+ };
141
+ }
142
+ function se(a, t, i) {
143
+ let w;
144
+ Z(a, re, (e) => i(8, w = e));
145
+ let { lang: l = "" } = t, { dailybackground: f = "" } = t, { dailyicon: F = "" } = t, { dailyday: n = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: s = "" } = t, { index: m = "0" } = t, { mbsource: v } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, T = !1, _ = window.navigator.userAgent;
146
+ const C = () => {
147
+ oe(l);
148
+ };
149
+ Object.keys(H).forEach((e) => {
150
+ q(e, H[e]);
151
+ });
152
+ const z = () => {
153
+ let e = x;
154
+ if (e)
155
+ return fetch(e).then((I) => I.json()).then((I) => {
156
+ Object.keys(I).forEach((D) => {
157
+ q(D, I[D]);
158
+ });
159
+ }).catch((I) => {
160
+ console.log(I);
161
+ });
162
+ }, S = () => {
163
+ let e = document.createElement("div");
164
+ e.innerHTML = g, p && p.append(e);
165
+ }, k = () => {
166
+ window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
+ };
168
+ $(() => (ee(_) && i(7, T = !0), () => {
169
+ }));
170
+ function E(e) {
171
+ P[e ? "unshift" : "push"](() => {
172
+ p = e, i(6, p);
173
+ });
174
+ }
175
+ const M = () => k();
176
+ function d(e) {
177
+ P[e ? "unshift" : "push"](() => {
178
+ o = e, i(5, o);
179
+ });
180
+ }
181
+ return a.$$set = (e) => {
182
+ "lang" in e && i(10, l = e.lang), "dailybackground" in e && i(0, f = e.dailybackground), "dailyicon" in e && i(1, F = e.dailyicon), "dailyday" in e && i(2, n = e.dailyday), "dailydescription" in e && i(11, g = e.dailydescription), "dailybuttontitle" in e && i(3, s = e.dailybuttontitle), "index" in e && i(4, m = e.index), "mbsource" in e && i(12, v = e.mbsource), "clientstyling" in e && i(13, b = e.clientstyling), "clientstylingurl" in e && i(14, h = e.clientstylingurl), "translationurl" in e && i(15, x = e.translationurl);
183
+ }, a.$$.update = () => {
184
+ a.$$.dirty & /*lang*/
185
+ 1024 && l && C(), a.$$.dirty & /*lang, translationurl*/
186
+ 33792 && l && x && z(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
+ 2063 && F && n && g && s && f && S(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
+ 8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && v && o && ie(o, `${v}.Style`);
191
+ }, [
192
+ f,
193
+ F,
194
+ n,
195
+ s,
196
+ m,
197
+ o,
198
+ p,
199
+ T,
200
+ w,
201
+ k,
202
+ l,
203
+ g,
204
+ v,
205
+ b,
206
+ h,
207
+ x,
208
+ E,
209
+ M,
210
+ d
211
+ ];
212
+ }
213
+ class ue extends G {
214
+ constructor(t) {
215
+ super(), J(
216
+ this,
217
+ t,
218
+ se,
219
+ le,
220
+ K,
221
+ {
222
+ lang: 10,
223
+ dailybackground: 0,
224
+ dailyicon: 1,
225
+ dailyday: 2,
226
+ dailydescription: 11,
227
+ dailybuttontitle: 3,
228
+ index: 4,
229
+ mbsource: 12,
230
+ clientstyling: 13,
231
+ clientstylingurl: 14,
232
+ translationurl: 15
233
+ },
234
+ de
235
+ );
236
+ }
237
+ get lang() {
238
+ return this.$$.ctx[10];
239
+ }
240
+ set lang(t) {
241
+ this.$$set({ lang: t }), y();
242
+ }
243
+ get dailybackground() {
244
+ return this.$$.ctx[0];
245
+ }
246
+ set dailybackground(t) {
247
+ this.$$set({ dailybackground: t }), y();
248
+ }
249
+ get dailyicon() {
250
+ return this.$$.ctx[1];
251
+ }
252
+ set dailyicon(t) {
253
+ this.$$set({ dailyicon: t }), y();
254
+ }
255
+ get dailyday() {
256
+ return this.$$.ctx[2];
257
+ }
258
+ set dailyday(t) {
259
+ this.$$set({ dailyday: t }), y();
260
+ }
261
+ get dailydescription() {
262
+ return this.$$.ctx[11];
263
+ }
264
+ set dailydescription(t) {
265
+ this.$$set({ dailydescription: t }), y();
266
+ }
267
+ get dailybuttontitle() {
268
+ return this.$$.ctx[3];
269
+ }
270
+ set dailybuttontitle(t) {
271
+ this.$$set({ dailybuttontitle: t }), y();
272
+ }
273
+ get index() {
274
+ return this.$$.ctx[4];
275
+ }
276
+ set index(t) {
277
+ this.$$set({ index: t }), y();
278
+ }
279
+ get mbsource() {
280
+ return this.$$.ctx[12];
281
+ }
282
+ set mbsource(t) {
283
+ this.$$set({ mbsource: t }), y();
284
+ }
285
+ get clientstyling() {
286
+ return this.$$.ctx[13];
287
+ }
288
+ set clientstyling(t) {
289
+ this.$$set({ clientstyling: t }), y();
290
+ }
291
+ get clientstylingurl() {
292
+ return this.$$.ctx[14];
293
+ }
294
+ set clientstylingurl(t) {
295
+ this.$$set({ clientstylingurl: t }), y();
296
+ }
297
+ get translationurl() {
298
+ return this.$$.ctx[15];
299
+ }
300
+ set translationurl(t) {
301
+ this.$$set({ translationurl: t }), y();
302
+ }
303
+ }
304
+ ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
+ export {
306
+ ue as default
307
+ };