@everymatrix/casino-lobby 1.54.12 → 1.56.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 (120) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CSMUhfCr.js} +1066 -1022
  3. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-_T8fa3tA.js} +1215 -1171
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-B7jmX0uM.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-DkmZ6uE9.js} +203 -196
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-CFJKyip5.js +654 -0
  14. package/components/CasinoCollectionsProviders-XHUKRCjH.js +659 -0
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-BJKuORXc.js} +138 -131
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-ui8ebJSk.js} +138 -131
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-Cj6Ya1tA.js} +237 -244
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-t6_A4K9e.js} +232 -237
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DH-mxVYx.js} +1012 -1018
  24. package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-DQ1Yd_-1.js} +1004 -1010
  25. package/components/CasinoGameThumbnail-B15M2LaO.js +1829 -0
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/CasinoGameThumbnail-CmtUwom1.js +1845 -0
  28. package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-D9nxbG-c.js} +945 -919
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-lpoHUMLN.js} +855 -829
  31. package/components/CasinoJackpotBanner-COZRcenh.js +692 -0
  32. package/components/CasinoJackpotBanner-DcwCa-Hp.js +688 -0
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-IZ9mars2.js} +143 -134
  36. package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-yetII3tl.js} +143 -134
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-CoCRB4M8.js} +706 -657
  39. package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DOvk4Q1L.js} +706 -657
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/CasinoModal-DDDhdR0c.js +368 -0
  42. package/components/CasinoModal-Dzu3FQyi.js +368 -0
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CGqU9ZQv.js} +171 -162
  45. package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-D0w6a_z2.js} +171 -162
  46. package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-BKqlNnO1.js} +382 -352
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-Dy3IMfzN.js} +389 -359
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-BnrghJel.js} +1207 -1046
  51. package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-DYcUhqdZ.js} +833 -678
  52. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-Cup5oHY3.js} +247 -249
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-Dq7oLh0O.js} +229 -231
  55. package/components/CasinoSearch-B1D8nnr0.cjs +1 -0
  56. package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-DlUwO5L4.js} +385 -378
  57. package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-jV0H_1Yg.js} +442 -435
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/CasinoSlider-ChnKJ8kH.js +797 -0
  60. package/components/CasinoSlider-Ot2uFDD8.js +803 -0
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-BkJBCXPe.js} +354 -351
  65. package/components/CasinoWinners-Bs7Oh-m-.cjs +1 -0
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CBgbYBfP.js} +343 -340
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  75. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  76. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  79. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B7hChP4v.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +0 -1
  83. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +0 -701
  84. package/components/CasinoCalendarDailyItem-1iPwEmjb.js +0 -315
  85. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +0 -315
  86. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +0 -1
  87. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-BQPjVzK8.js +0 -659
  89. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  90. package/components/CasinoCollectionsProviders-CVDFBiI0.js +0 -664
  91. package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
  92. package/components/CasinoFilter-C10Tgn3c.cjs +0 -1
  93. package/components/CasinoGamePage-DOzefHFS.cjs +0 -18
  94. package/components/CasinoGameThumbnail-CWQWsl_s.cjs +0 -38
  95. package/components/CasinoGameThumbnail-D08-4naW.js +0 -1834
  96. package/components/CasinoGameThumbnail-nmpLDgoF.js +0 -1850
  97. package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
  98. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  99. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  100. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  101. package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
  102. package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
  103. package/components/CasinoModal-C1oW3YF4.js +0 -372
  104. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  105. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  106. package/components/CasinoMostPlayedSection-DQ_xJPuX.cjs +0 -1
  107. package/components/CasinoMyGames-B0pWVqCz.cjs +0 -1
  108. package/components/CasinoPage-CoSWrE10.cjs +0 -1
  109. package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
  110. package/components/CasinoSlider-BDjskQjI.cjs +0 -1
  111. package/components/CasinoSlider-BWEc4YT5.js +0 -800
  112. package/components/CasinoSlider-BjpV4pLV.js +0 -806
  113. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  114. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  115. package/components/CasinoSort-DFljh5Sg.js +0 -431
  116. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  117. package/components/GeneralAnimationLoading-BG_QynCK.cjs +0 -1
  118. package/components/GeneralAnimationLoading-CX9baArf.js +0 -75
  119. package/components/GeneralAnimationLoading-DVLCsjn0.js +0 -75
  120. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,315 +0,0 @@
1
- import { a as N, $ as U, S as G, i as J, s as V, f as g, b as K, n as R, d as Q, D as A, r as o, m as O, G as _, 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 H, I as te, J as ae } from "./CasinoCalendar-D3cTwZsW.js";
2
- function P(a, t) {
3
- N(a, t);
4
- }
5
- function ne(a) {
6
- U.set(a);
7
- }
8
- const q = {
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
- K(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, p, f = (
81
- /*$_*/
82
- a[8](`${/*dailyday*/
83
- a[2]}`) + ""
84
- ), b, y, k, B, S, F, E, I, M, 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(), p = c("div"), b = W(f), y = D(), k = c("div"), B = D(), S = c("div"), F = c("button"), E = W(
88
- /*dailybuttontitle*/
89
- a[3]
90
- ), o(m, "class", "CalendarBar"), A(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(p, "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", M = "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, p), r(p, b), r(n, y), r(n, k), a[15](k), r(n, B), r(n, S), r(S, F), r(F, E), 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 && !A(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 && f !== (f = /*$_*/
120
- d[8](`${/*dailyday*/
121
- d[2]}`) + "") && O(b, f), u & /*dailybuttontitle*/
122
- 8 && O(
123
- E,
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 && M !== (M = "Container " + /*mobileView*/
132
- (d[7] ? "Mobile" : "")) && o(i, "class", M);
133
- },
134
- i: R,
135
- o: R,
136
- d(d) {
137
- d && Q(t), a[15](null), a[17](null), L = !1, j();
138
- }
139
- };
140
- }
141
- function oe(a, t, i) {
142
- let C;
143
- Z(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: p = "" } = t, { translationurl: f = "" } = t, b, y, k = !1, B = window.navigator.userAgent;
145
- const S = () => {
146
- ne(l);
147
- };
148
- Object.keys(q).forEach((e) => {
149
- P(e, q[e]);
150
- });
151
- const F = () => {
152
- let e = f;
153
- if (e)
154
- return fetch(e).then((x) => x.json()).then((x) => {
155
- Object.keys(x).forEach((z) => {
156
- P(z, x[z]);
157
- });
158
- }).catch((x) => {
159
- console.log(x);
160
- });
161
- }, E = () => {
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
- }, M = () => {
167
- let e = document.createElement("style");
168
- e.innerHTML = v, y.appendChild(e);
169
- }, L = () => {
170
- let e = new URL(p), x = document.createElement("style");
171
- fetch(e.href).then((z) => z.text()).then((z) => {
172
- x.innerHTML = z, setTimeout(
173
- () => {
174
- y.appendChild(x);
175
- },
176
- 1
177
- ), setTimeout(
178
- () => {
179
- },
180
- 500
181
- );
182
- });
183
- };
184
- $(() => {
185
- ee(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, p = e.clientstylingurl), "translationurl" in e && i(14, f = e.translationurl);
200
- }, a.$$.update = () => {
201
- a.$$.dirty & /*lang*/
202
- 1024 && l && S(), a.$$.dirty & /*lang, translationurl*/
203
- 17408 && l && f && F(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
204
- 2063 && T && n && h && s && m && E(), a.$$.dirty & /*clientstyling, customStylingContainer*/
205
- 4128 && v && y && M(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
206
- 8224 && p && 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
- p,
222
- f,
223
- j,
224
- d,
225
- u
226
- ];
227
- }
228
- class de extends G {
229
- constructor(t) {
230
- super(), J(
231
- this,
232
- t,
233
- oe,
234
- re,
235
- V,
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
- te(de, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
- export {
314
- de as default
315
- };
@@ -1,315 +0,0 @@
1
- import { a as N, $ as U, S as G, i as J, s as V, f as g, b as K, n as R, d as Q, D as A, r as o, m as O, G as _, 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 H, I as te, J as ae } from "./CasinoCalendar-CKCvu8d9.js";
2
- function P(a, t) {
3
- N(a, t);
4
- }
5
- function ne(a) {
6
- U.set(a);
7
- }
8
- const q = {
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
- K(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, p, f = (
81
- /*$_*/
82
- a[8](`${/*dailyday*/
83
- a[2]}`) + ""
84
- ), b, y, k, B, S, F, E, I, M, 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(), p = c("div"), b = W(f), y = D(), k = c("div"), B = D(), S = c("div"), F = c("button"), E = W(
88
- /*dailybuttontitle*/
89
- a[3]
90
- ), o(m, "class", "CalendarBar"), A(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(p, "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", M = "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, p), r(p, b), r(n, y), r(n, k), a[15](k), r(n, B), r(n, S), r(S, F), r(F, E), 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 && !A(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 && f !== (f = /*$_*/
120
- d[8](`${/*dailyday*/
121
- d[2]}`) + "") && O(b, f), u & /*dailybuttontitle*/
122
- 8 && O(
123
- E,
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 && M !== (M = "Container " + /*mobileView*/
132
- (d[7] ? "Mobile" : "")) && o(i, "class", M);
133
- },
134
- i: R,
135
- o: R,
136
- d(d) {
137
- d && Q(t), a[15](null), a[17](null), L = !1, j();
138
- }
139
- };
140
- }
141
- function oe(a, t, i) {
142
- let C;
143
- Z(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: p = "" } = t, { translationurl: f = "" } = t, b, y, k = !1, B = window.navigator.userAgent;
145
- const S = () => {
146
- ne(l);
147
- };
148
- Object.keys(q).forEach((e) => {
149
- P(e, q[e]);
150
- });
151
- const F = () => {
152
- let e = f;
153
- if (e)
154
- return fetch(e).then((x) => x.json()).then((x) => {
155
- Object.keys(x).forEach((z) => {
156
- P(z, x[z]);
157
- });
158
- }).catch((x) => {
159
- console.log(x);
160
- });
161
- }, E = () => {
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
- }, M = () => {
167
- let e = document.createElement("style");
168
- e.innerHTML = v, y.appendChild(e);
169
- }, L = () => {
170
- let e = new URL(p), x = document.createElement("style");
171
- fetch(e.href).then((z) => z.text()).then((z) => {
172
- x.innerHTML = z, setTimeout(
173
- () => {
174
- y.appendChild(x);
175
- },
176
- 1
177
- ), setTimeout(
178
- () => {
179
- },
180
- 500
181
- );
182
- });
183
- };
184
- $(() => {
185
- ee(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, p = e.clientstylingurl), "translationurl" in e && i(14, f = e.translationurl);
200
- }, a.$$.update = () => {
201
- a.$$.dirty & /*lang*/
202
- 1024 && l && S(), a.$$.dirty & /*lang, translationurl*/
203
- 17408 && l && f && F(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
204
- 2063 && T && n && h && s && m && E(), a.$$.dirty & /*clientstyling, customStylingContainer*/
205
- 4128 && v && y && M(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
206
- 8224 && p && 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
- p,
222
- f,
223
- j,
224
- d,
225
- u
226
- ];
227
- }
228
- class de extends G {
229
- constructor(t) {
230
- super(), J(
231
- this,
232
- t,
233
- oe,
234
- re,
235
- V,
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
- te(de, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
- export {
314
- de as default
315
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BlfnJwZ-.cjs");function E(n,a){e.addMessages(n,a)}function j(n){e.$locale.set(n)}const L={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 D(n){e.append_styles(n,"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}')}function R(n){let a,r,x,o,f,k,i,c,l,b,m,y,g=n[8](`${n[2]}`)+"",p,u,w,M,F,C,I,v,_,S,z;return{c(){a=e.element("div"),r=e.element("div"),x=e.element("div"),o=e.element("div"),f=e.element("div"),f.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',k=e.space(),i=e.element("div"),c=e.element("div"),l=e.element("img"),m=e.space(),y=e.element("div"),p=e.text(g),u=e.space(),w=e.element("div"),M=e.space(),F=e.element("div"),C=e.element("button"),I=e.text(n[3]),e.attr(f,"class","CalendarBar"),e.src_url_equal(l.src,b=n[1])||e.attr(l,"src",b),e.attr(l,"alt",n[1]),e.attr(c,"class","CasinoCalendarDailyIcon"),e.attr(y,"class","CasinoCalendarDailyTitle"),e.attr(w,"class","CasinoCalendarDailyItemDescription"),e.attr(C,"class","MoreInfoButton"),e.attr(F,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",v="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(o,"class","CalendarCard"),e.attr(x,"class","CasinoCalendarItems"),e.attr(r,"class",_="Container "+(n[7]?"Mobile":""))},m(d,s){e.insert(d,a,s),e.append(a,r),e.append(r,x),e.append(x,o),e.append(o,f),e.append(o,k),e.append(o,i),e.append(i,c),e.append(c,l),e.append(i,m),e.append(i,y),e.append(y,p),e.append(i,u),e.append(i,w),n[15](w),e.append(i,M),e.append(i,F),e.append(F,C),e.append(C,I),n[17](a),S||(z=e.listen(C,"click",n[16]),S=!0)},p(d,[s]){s&2&&!e.src_url_equal(l.src,b=d[1])&&e.attr(l,"src",b),s&2&&e.attr(l,"alt",d[1]),s&260&&g!==(g=d[8](`${d[2]}`)+"")&&e.set_data(p,g),s&8&&e.set_data(I,d[3]),s&16&&v!==(v="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",v),s&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),s&128&&_!==(_="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",_)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[15](null),n[17](null),S=!1,z()}}}function O(n,a,r){let x;e.component_subscribe(n,e.$format,t=>r(8,x=t));let{lang:o=""}=a,{dailybackground:f=""}=a,{dailyicon:k=""}=a,{dailyday:i=""}=a,{dailydescription:c="<p></p>"}=a,{dailybuttontitle:l=""}=a,{index:b="0"}=a,{clientstyling:m=""}=a,{clientstylingurl:y=""}=a,{translationurl:g=""}=a,p,u,w=!1,M=window.navigator.userAgent;const F=()=>{j(o)};Object.keys(L).forEach(t=>{E(t,L[t])});const C=()=>{let t=g;if(t)return fetch(t).then(h=>h.json()).then(h=>{Object.keys(h).forEach(T=>{E(T,h[T])})}).catch(h=>{console.log(h)})},I=()=>{let t=document.createElement("div");t.innerHTML=c,p&&p.append(t)},v=()=>{window.postMessage({type:"OpenCalendar",index:b},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})},_=()=>{let t=document.createElement("style");t.innerHTML=m,u.appendChild(t)},S=()=>{let t=new URL(y),h=document.createElement("style");fetch(t.href).then(T=>T.text()).then(T=>{h.innerHTML=T,setTimeout(()=>{u.appendChild(h)},1),setTimeout(()=>{},500)})};e.onMount(()=>{e.isMobile(M)&&r(7,w=!0)});function z(t){e.binding_callbacks[t?"unshift":"push"](()=>{p=t,r(6,p)})}const d=()=>v();function s(t){e.binding_callbacks[t?"unshift":"push"](()=>{u=t,r(5,u)})}return n.$$set=t=>{"lang"in t&&r(10,o=t.lang),"dailybackground"in t&&r(0,f=t.dailybackground),"dailyicon"in t&&r(1,k=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,c=t.dailydescription),"dailybuttontitle"in t&&r(3,l=t.dailybuttontitle),"index"in t&&r(4,b=t.index),"clientstyling"in t&&r(12,m=t.clientstyling),"clientstylingurl"in t&&r(13,y=t.clientstylingurl),"translationurl"in t&&r(14,g=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&o&&F(),n.$$.dirty&17408&&o&&g&&C(),n.$$.dirty&2063&&k&&i&&c&&l&&f&&I(),n.$$.dirty&4128&&m&&u&&_(),n.$$.dirty&8224&&y&&u&&S()},[f,k,i,l,b,u,p,w,x,v,o,c,m,y,g,z,d,s]}class B extends e.SvelteComponent{constructor(a){super(),e.init(this,a,O,R,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13,translationurl:14},D)}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 clientstyling(){return this.$$.ctx[12]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(B,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=B;