@everymatrix/casino-lobby 1.60.2 → 1.61.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 (118) hide show
  1. package/components/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-CR3NqEmo.cjs} +1 -1
  2. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-DoAbSivX.js} +12 -12
  3. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-m598e8c0.js} +12 -12
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-BqUXbvm-.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DE0uzQfF.js} +7 -7
  12. package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DW81y1el.js} +7 -7
  13. package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-CkxoIQMQ.js} +187 -186
  14. package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-FTsSIZe7.js} +174 -173
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-CKWkFYb4.js} +14 -14
  17. package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-MnxoGd6P.js} +14 -14
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-Cs9ZMDdP.js} +96 -94
  21. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-D80YfaXW.js} +50 -50
  22. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-B8-ifO-z.js} +1320 -1319
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-CLMVY2d0.js} +1364 -1363
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-B_kw0cnt.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-CIfBLzjC.js} +5 -5
  30. package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-o-CZJ4iD.js} +5 -5
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BPD5poPp.js} +9 -9
  36. package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-Dxbzb-4o.js} +9 -9
  37. package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-6kkVRa0v.js} +32 -32
  38. package/components/{CasinoLobby-Da8EvOPn.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-Bntp7e5i.js} +32 -32
  40. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-QtSV_GhN.js} +8 -8
  42. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-bTxbu9d4.js} +8 -8
  43. package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-B9_yeLMk.js} +14 -14
  44. package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-D-VpqDyh.js} +14 -14
  45. package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-BEUz5puH.js} +17 -17
  47. package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-BQtk1EEq.js} +16 -16
  48. package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-86frPbmB.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-vykaQto-.js → CasinoPage-CiONVvV8.js} +11 -11
  51. package/components/{CasinoPage-B_ulErY-.js → CasinoPage-DOSD686t.js} +11 -11
  52. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-DQXmOLue.js} +155 -154
  55. package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-CTxffz7Z.js} +27 -27
  56. package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-DTglx2jN.js} +27 -27
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-CGpDul3G.js} +224 -223
  60. package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-pPfml1-U.js} +155 -154
  61. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-BSaxbC32.js} +1 -1
  62. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DGdM4QXv.js} +1 -1
  64. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-BwwKfUuN.js} +99 -98
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-i5RqXY4N.js} +102 -101
  67. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-BszAoL3H.js} +6 -6
  68. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-Xq-D41Fg.js} +6 -6
  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/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  77. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  78. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  80. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  81. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  82. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  83. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  84. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
  101. package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
  102. package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
  103. package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
  106. package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
  107. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  108. package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
  109. package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
  110. package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
  111. package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
  112. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
  113. package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
  114. package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
  115. package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
  116. package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
  117. package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
  118. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -1,697 +0,0 @@
1
- import { a as Te, $ as xe, S as We, i as Ae, s as Ie, f as _, b as Je, n as ve, d as q, h as F, j as c, o as Ve, a1 as Ee, C as ze, r, G as be, D as J, p as n, A as Ue, B as O, l as Ne, v as we, w as Re, F as Be, m as W, q as A, I as Oe, J as De, K as Me, L as Pe } from "./CasinoCalendar-CI-C6zUY.js";
2
- function Ce(a, e) {
3
- Te(a, e);
4
- }
5
- function qe(a) {
6
- xe.set(a);
7
- }
8
- const Le = {
9
- en: {
10
- loadingText: "Loading, please wait..."
11
- },
12
- "zh-hk": {
13
- loadingText: "加载请稍候 ..."
14
- },
15
- fr: {
16
- loadingText: "Chargement, veuillez patienter..."
17
- },
18
- ro: {
19
- loadingText: "Se incarca, va rugam asteptati..."
20
- },
21
- es: {
22
- loadingText: "Cargando"
23
- },
24
- pt: {
25
- loadingText: "Carregando, por favor espere..."
26
- },
27
- de: {
28
- loadingText: "Laden, bitte warten..."
29
- },
30
- hr: {
31
- loadingText: "Učitavanje"
32
- },
33
- "pt-br": {
34
- CarregandoText: "Carregando"
35
- },
36
- "es-mx": {
37
- CargandoText: "Cargando, por favor espere…"
38
- },
39
- tr: {
40
- loadingText: "Yükleniyor, lütfen bekleyin..."
41
- },
42
- "en-us": {
43
- loadingText: "Loading, please wait..."
44
- }
45
- };
46
- function Fe(a) {
47
- Je(a, "svelte-5y37b4", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
- }
49
- function je(a, e, i) {
50
- const l = a.slice();
51
- return l[53] = e[i], l[55] = i, l;
52
- }
53
- function He(a) {
54
- let e, i, l, s, u, o, w, k, h, C, y, x, I;
55
- function b(d, m) {
56
- return (
57
- /*tabletView*/
58
- d[6] ? Ye : Qe
59
- );
60
- }
61
- let j = b(a), g = j(a);
62
- return {
63
- c() {
64
- e = c("div"), i = c("div"), l = c("div"), s = c("div"), u = O(), o = c("div"), g.c(), w = O(), k = c("div"), h = c("img"), r(s, "class", "vendorLogo"), be(s, "background-image", "url(" + /*vendorIcon*/
65
- a[7] + ")"), r(o, "class", "displayContainer"), J(h.src, C = /*titleLogoImg*/
66
- a[12]) || r(h, "src", C), r(h, "alt", ""), r(k, "class", "title"), r(l, "class", y = "mainWrapper " + /*visualstructure*/
67
- a[0] + " " + /*mobileView*/
68
- (a[5] && !/*tabletView*/
69
- a[6] ? "mobile" : (
70
- /*tabletView*/
71
- a[6] ? "tablet" : ""
72
- ))), be(l, "background", "url(" + /*backgroundImg*/
73
- a[11] + ")"), r(i, "class", "jackpotBanner"), r(e, "class", "");
74
- },
75
- m(d, m) {
76
- F(d, e, m), n(e, i), n(i, l), n(l, s), n(l, u), n(l, o), g.m(o, null), n(l, w), n(l, k), n(k, h), x || (I = Ue(
77
- i,
78
- "click",
79
- /*click_handler*/
80
- a[33]
81
- ), x = !0);
82
- },
83
- p(d, m) {
84
- m[0] & /*vendorIcon*/
85
- 128 && be(s, "background-image", "url(" + /*vendorIcon*/
86
- d[7] + ")"), j === (j = b(d)) && g ? g.p(d, m) : (g.d(1), g = j(d), g && (g.c(), g.m(o, null))), m[0] & /*titleLogoImg*/
87
- 4096 && !J(h.src, C = /*titleLogoImg*/
88
- d[12]) && r(h, "src", C), m[0] & /*visualstructure, mobileView, tabletView*/
89
- 97 && y !== (y = "mainWrapper " + /*visualstructure*/
90
- d[0] + " " + /*mobileView*/
91
- (d[5] && !/*tabletView*/
92
- d[6] ? "mobile" : (
93
- /*tabletView*/
94
- d[6] ? "tablet" : ""
95
- ))) && r(l, "class", y), m[0] & /*backgroundImg*/
96
- 2048 && be(l, "background", "url(" + /*backgroundImg*/
97
- d[11] + ")");
98
- },
99
- d(d) {
100
- d && q(e), g.d(), x = !1, I();
101
- }
102
- };
103
- }
104
- function Ge(a) {
105
- let e;
106
- return {
107
- c() {
108
- e = c("div"), r(e, "class", "LoadingSpinner");
109
- },
110
- m(i, l) {
111
- F(i, e, l);
112
- },
113
- p: ve,
114
- d(i) {
115
- i && q(e);
116
- }
117
- };
118
- }
119
- function Ke(a) {
120
- let e;
121
- return {
122
- c() {
123
- e = c("p"), e.textContent = "500 Server error";
124
- },
125
- m(i, l) {
126
- F(i, e, l);
127
- },
128
- p: ve,
129
- d(i) {
130
- i && q(e);
131
- }
132
- };
133
- }
134
- function Ye(a) {
135
- let e, i, l, s, u, o, w = (
136
- /*formattedLabels*/
137
- a[9][0] + ""
138
- ), k, h, C, y = (
139
- /*realtimeupdate*/
140
- (a[2] === "true" ? (
141
- /*updatedJackpotValues*/
142
- a[14][0]
143
- ) : (
144
- /*formattedJackpotValues*/
145
- a[8][0]
146
- )) + ""
147
- ), x, I, b, j, g, d, m, S, D, M, te = (
148
- /*formattedLabels*/
149
- a[9][1] + ""
150
- ), Q, z, X, H = (
151
- /*realtimeupdate*/
152
- (a[2] === "true" ? (
153
- /*updatedJackpotValues*/
154
- a[14][1]
155
- ) : (
156
- /*formattedJackpotValues*/
157
- a[8][1]
158
- )) + ""
159
- ), G, de, Z, ae, ie, U, T, N, V, K, E, P = (
160
- /*formattedLabels*/
161
- a[9][2] + ""
162
- ), ue, R, ne, le = (
163
- /*realtimeupdate*/
164
- (a[2] === "true" ? (
165
- /*updatedJackpotValues*/
166
- a[14][2]
167
- ) : (
168
- /*formattedJackpotValues*/
169
- a[8][2]
170
- )) + ""
171
- ), ge, me, re, se, he, $, Y, B, ee, ce, oe = (
172
- /*formattedLabels*/
173
- a[9][3] + ""
174
- ), pe, t, p, L = (
175
- /*realtimeupdate*/
176
- (a[2] === "true" ? (
177
- /*updatedJackpotValues*/
178
- a[14][3]
179
- ) : (
180
- /*formattedJackpotValues*/
181
- a[8][3]
182
- )) + ""
183
- ), fe, _e, ye, ke;
184
- return {
185
- c() {
186
- e = c("div"), i = c("div"), l = c("div"), s = c("img"), o = c("span"), k = A(w), h = c("span"), C = c("span"), x = A(y), I = O(), b = c("span"), j = A(
187
- /*currency*/
188
- a[1]
189
- ), g = O(), d = c("div"), m = c("div"), S = c("img"), M = c("span"), Q = A(te), z = c("span"), X = c("span"), G = A(H), de = O(), Z = c("span"), ae = A(
190
- /*currency*/
191
- a[1]
192
- ), ie = O(), U = c("div"), T = c("div"), N = c("div"), V = c("img"), E = c("span"), ue = A(P), R = c("span"), ne = c("span"), ge = A(le), me = O(), re = c("span"), se = A(
193
- /*currency*/
194
- a[1]
195
- ), he = O(), $ = c("div"), Y = c("div"), B = c("img"), ce = c("span"), pe = A(oe), t = c("span"), p = c("span"), fe = A(L), _e = O(), ye = c("span"), ke = A(
196
- /*currency*/
197
- a[1]
198
- ), r(s, "class", "displayCardIcon"), J(s.src, u = /*caticons*/
199
- a[10][0]) || r(s, "src", u), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(C, "class", "jackpotValue"), r(b, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(i, "class", "displayCard"), r(S, "class", "displayCardIcon"), J(S.src, D = /*caticons*/
200
- a[10][1]) || r(S, "src", D), r(S, "alt", ""), r(M, "class", "cardLabel"), r(m, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(z, "class", "cardTextWrapper"), r(d, "class", "displayCard"), r(e, "class", "pairWrapper"), r(V, "class", "displayCardIcon"), J(V.src, K = /*caticons*/
201
- a[10][2]) || r(V, "src", K), r(V, "alt", ""), r(E, "class", "cardLabel"), r(N, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r(re, "class", "jackpot-currency"), r(R, "class", "cardTextWrapper"), r(T, "class", "displayCard"), r(B, "class", "displayCardIcon"), J(B.src, ee = /*caticons*/
202
- a[10][3]) || r(B, "src", ee), r(B, "alt", ""), r(ce, "class", "cardLabel"), r(Y, "class", "iconWrapper"), r(p, "class", "jackpotValue"), r(ye, "class", "jackpot-currency"), r(t, "class", "cardTextWrapper"), r($, "class", "displayCard"), r(U, "class", "pairWrapper");
203
- },
204
- m(f, v) {
205
- F(f, e, v), n(e, i), n(i, l), n(l, s), n(l, o), n(o, k), n(i, h), n(h, C), n(C, x), n(h, I), n(h, b), n(b, j), n(e, g), n(e, d), n(d, m), n(m, S), n(m, M), n(M, Q), n(d, z), n(z, X), n(X, G), n(z, de), n(z, Z), n(Z, ae), F(f, ie, v), F(f, U, v), n(U, T), n(T, N), n(N, V), n(N, E), n(E, ue), n(T, R), n(R, ne), n(ne, ge), n(R, me), n(R, re), n(re, se), n(U, he), n(U, $), n($, Y), n(Y, B), n(Y, ce), n(ce, pe), n($, t), n(t, p), n(p, fe), n(t, _e), n(t, ye), n(ye, ke);
206
- },
207
- p(f, v) {
208
- v[0] & /*caticons*/
209
- 1024 && !J(s.src, u = /*caticons*/
210
- f[10][0]) && r(s, "src", u), v[0] & /*formattedLabels*/
211
- 512 && w !== (w = /*formattedLabels*/
212
- f[9][0] + "") && W(k, w), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
213
- 16644 && y !== (y = /*realtimeupdate*/
214
- (f[2] === "true" ? (
215
- /*updatedJackpotValues*/
216
- f[14][0]
217
- ) : (
218
- /*formattedJackpotValues*/
219
- f[8][0]
220
- )) + "") && W(x, y), v[0] & /*currency*/
221
- 2 && W(
222
- j,
223
- /*currency*/
224
- f[1]
225
- ), v[0] & /*caticons*/
226
- 1024 && !J(S.src, D = /*caticons*/
227
- f[10][1]) && r(S, "src", D), v[0] & /*formattedLabels*/
228
- 512 && te !== (te = /*formattedLabels*/
229
- f[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
- 16644 && H !== (H = /*realtimeupdate*/
231
- (f[2] === "true" ? (
232
- /*updatedJackpotValues*/
233
- f[14][1]
234
- ) : (
235
- /*formattedJackpotValues*/
236
- f[8][1]
237
- )) + "") && W(G, H), v[0] & /*currency*/
238
- 2 && W(
239
- ae,
240
- /*currency*/
241
- f[1]
242
- ), v[0] & /*caticons*/
243
- 1024 && !J(V.src, K = /*caticons*/
244
- f[10][2]) && r(V, "src", K), v[0] & /*formattedLabels*/
245
- 512 && P !== (P = /*formattedLabels*/
246
- f[9][2] + "") && W(ue, P), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
247
- 16644 && le !== (le = /*realtimeupdate*/
248
- (f[2] === "true" ? (
249
- /*updatedJackpotValues*/
250
- f[14][2]
251
- ) : (
252
- /*formattedJackpotValues*/
253
- f[8][2]
254
- )) + "") && W(ge, le), v[0] & /*currency*/
255
- 2 && W(
256
- se,
257
- /*currency*/
258
- f[1]
259
- ), v[0] & /*caticons*/
260
- 1024 && !J(B.src, ee = /*caticons*/
261
- f[10][3]) && r(B, "src", ee), v[0] & /*formattedLabels*/
262
- 512 && oe !== (oe = /*formattedLabels*/
263
- f[9][3] + "") && W(pe, oe), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
264
- 16644 && L !== (L = /*realtimeupdate*/
265
- (f[2] === "true" ? (
266
- /*updatedJackpotValues*/
267
- f[14][3]
268
- ) : (
269
- /*formattedJackpotValues*/
270
- f[8][3]
271
- )) + "") && W(fe, L), v[0] & /*currency*/
272
- 2 && W(
273
- ke,
274
- /*currency*/
275
- f[1]
276
- );
277
- },
278
- d(f) {
279
- f && (q(e), q(ie), q(U));
280
- }
281
- };
282
- }
283
- function Qe(a) {
284
- let e, i = we(Array(4)), l = [];
285
- for (let s = 0; s < i.length; s += 1)
286
- l[s] = Se(je(a, i, s));
287
- return {
288
- c() {
289
- for (let s = 0; s < l.length; s += 1)
290
- l[s].c();
291
- e = Be();
292
- },
293
- m(s, u) {
294
- for (let o = 0; o < l.length; o += 1)
295
- l[o] && l[o].m(s, u);
296
- F(s, e, u);
297
- },
298
- p(s, u) {
299
- if (u[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
300
- 18182) {
301
- i = we(Array(4));
302
- let o;
303
- for (o = 0; o < i.length; o += 1) {
304
- const w = je(s, i, o);
305
- l[o] ? l[o].p(w, u) : (l[o] = Se(w), l[o].c(), l[o].m(e.parentNode, e));
306
- }
307
- for (; o < l.length; o += 1)
308
- l[o].d(1);
309
- l.length = i.length;
310
- }
311
- },
312
- d(s) {
313
- s && q(e), Re(l, s);
314
- }
315
- };
316
- }
317
- function Se(a) {
318
- var j;
319
- let e, i, l, s, u, o = (
320
- /*formattedLabels*/
321
- a[9][
322
- /*i*/
323
- a[55]
324
- ] + ""
325
- ), w, k, h, C = (
326
- /*realtimeupdate*/
327
- (a[2] === "true" ? (
328
- /*updatedJackpotValues*/
329
- a[14][
330
- /*i*/
331
- a[55]
332
- ]
333
- ) : (
334
- /*formattedJackpotValues*/
335
- (j = a[8][
336
- /*i*/
337
- a[55]
338
- ]) != null ? j : ""
339
- )) + ""
340
- ), y, x, I, b;
341
- return {
342
- c() {
343
- e = c("div"), i = c("div"), l = c("img"), u = c("span"), w = A(o), k = c("span"), h = c("span"), y = A(C), x = O(), I = c("span"), b = A(
344
- /*currency*/
345
- a[1]
346
- ), r(l, "class", "displayCardIcon"), J(l.src, s = /*caticons*/
347
- a[10][
348
- /*i*/
349
- a[55]
350
- ]) || r(l, "src", s), r(l, "alt", ""), r(u, "class", "cardLabel"), r(i, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(k, "class", "cardTextWrapper"), r(e, "class", "displayCard");
351
- },
352
- m(g, d) {
353
- F(g, e, d), n(e, i), n(i, l), n(i, u), n(u, w), n(e, k), n(k, h), n(h, y), n(k, x), n(k, I), n(I, b);
354
- },
355
- p(g, d) {
356
- var m;
357
- d[0] & /*caticons*/
358
- 1024 && !J(l.src, s = /*caticons*/
359
- g[10][
360
- /*i*/
361
- g[55]
362
- ]) && r(l, "src", s), d[0] & /*formattedLabels*/
363
- 512 && o !== (o = /*formattedLabels*/
364
- g[9][
365
- /*i*/
366
- g[55]
367
- ] + "") && W(w, o), d[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
368
- 16644 && C !== (C = /*realtimeupdate*/
369
- (g[2] === "true" ? (
370
- /*updatedJackpotValues*/
371
- g[14][
372
- /*i*/
373
- g[55]
374
- ]
375
- ) : (
376
- /*formattedJackpotValues*/
377
- (m = g[8][
378
- /*i*/
379
- g[55]
380
- ]) != null ? m : ""
381
- )) + "") && W(y, C), d[0] & /*currency*/
382
- 2 && W(
383
- b,
384
- /*currency*/
385
- g[1]
386
- );
387
- },
388
- d(g) {
389
- g && q(e);
390
- }
391
- };
392
- }
393
- function Xe(a) {
394
- let e;
395
- function i(u, o) {
396
- return (
397
- /*hasErrors*/
398
- u[13] ? Ke : (
399
- /*isLoading*/
400
- u[4] ? Ge : He
401
- )
402
- );
403
- }
404
- let l = i(a), s = l(a);
405
- return {
406
- c() {
407
- e = c("div"), s.c();
408
- },
409
- m(u, o) {
410
- F(u, e, o), s.m(e, null), a[34](e);
411
- },
412
- p(u, o) {
413
- l === (l = i(u)) && s ? s.p(u, o) : (s.d(1), s = l(u), s && (s.c(), s.m(e, null)));
414
- },
415
- i: ve,
416
- o: ve,
417
- d(u) {
418
- u && q(e), s.d(), a[34](null);
419
- }
420
- };
421
- }
422
- function Ze(a, e, i) {
423
- let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: C = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: x = "" } = e, { titlelogopath: I = "" } = e, { lang: b = "en" } = e, { clientstyling: j = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: S = "" } = e, { mbsource: D } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, z = !1, X = "", H = [], G = [], de = [], Z = [], ae = [], ie = "", U = "", T, N = !0, V = !1, K, E = null, P = [];
424
- const ue = () => {
425
- fetch(d).then((p) => p.json()).then((p) => {
426
- Object.keys(p).forEach((L) => {
427
- Ce(L, p[L]);
428
- });
429
- }).catch((p) => {
430
- console.log(p);
431
- });
432
- };
433
- Object.keys(Le).forEach((t) => {
434
- Ce(t, Le[t]);
435
- });
436
- const R = ["typeSpread", "typeLeft"], ne = (t) => {
437
- var L;
438
- const p = (L = t == null ? void 0 : t.items[0]) == null ? void 0 : L.additionalData;
439
- p && Object.values(p).forEach((fe) => H.push(+fe));
440
- }, le = (t) => {
441
- var p;
442
- i(7, X = ((p = t == null ? void 0 : t.items[0]) == null ? void 0 : p.vendorLogo) || "");
443
- }, ge = () => {
444
- if (m && b && y) {
445
- let t = new URL(`${m}/v1/casino/jackpots`);
446
- t.searchParams.append("filter", `id=${S}`), t.searchParams.append("language", b), t.searchParams.append("additionalDataCurrency", y), fetch(t.href).then((p) => p.json().then((L) => {
447
- i(4, N = !1), K = L, G.includes(S) && (ne(K), le(K));
448
- }).catch((L) => {
449
- i(13, V = !0), i(4, N = !1), console.error(L);
450
- }).finally(() => {
451
- me();
452
- }));
453
- }
454
- }, me = () => {
455
- const t = T.getRootNode().host;
456
- t.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: t } }));
457
- }, re = () => {
458
- let t = new URL(`${m}/v1/casino/jackpots/config`);
459
- fetch(t.href).then((p) => p.json()).then((p) => {
460
- i(32, G = p.egtJackpotIds.map((L) => L));
461
- });
462
- }, se = () => {
463
- i(5, Q = Ne(te) && window.innerHeight / window.innerWidth > 1), i(6, z = $()), H.length !== 0 && i(8, de = he(H)), i(9, Z = h ? h.split(",").map((t) => t.trim().toUpperCase()) : new Array(4).fill("")), R.includes(l.trim()) ? i(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), i(0, l = R[0])), i(11, ie = x && Q && !z ? x : C), i(12, U = I), i(10, ae = [u, o, w, k]);
464
- }, he = (t) => t.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), $ = () => {
465
- const t = window.innerHeight / window.innerWidth;
466
- return 0.75 < t && t < 1.6;
467
- }, Y = () => {
468
- window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
469
- context: "JackpotBanner",
470
- gameId: `${S}`
471
- });
472
- }, B = () => {
473
- qe(b);
474
- }, ee = (t) => {
475
- const p = JSON.parse(t.data);
476
- if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === S) {
477
- const L = Number(p.data.jackpotAlias.split("_")[1]) - 1;
478
- i(14, P[L] = p.data.data[`${y}`].balance.toString(), P);
479
- }
480
- }, ce = () => {
481
- M === "true" && (se(), i(14, P = ["", "", "", ""]), E = new EventSource(`${m}/v1/encoder/jackpot/*/update`), E.addEventListener("message", ee));
482
- };
483
- Ve(() => () => {
484
- }), Ee(() => {
485
- E && (E.removeEventListener("message", ee), E.close(), E = null);
486
- });
487
- const oe = () => Y();
488
- function pe(t) {
489
- ze[t ? "unshift" : "push"](() => {
490
- T = t, i(3, T);
491
- });
492
- }
493
- return a.$$set = (t) => {
494
- "visualstructure" in t && i(0, l = t.visualstructure), "title" in t && i(16, s = t.title), "caticon0" in t && i(17, u = t.caticon0), "caticon1" in t && i(18, o = t.caticon1), "caticon2" in t && i(19, w = t.caticon2), "caticon3" in t && i(20, k = t.caticon3), "iconlabels" in t && i(21, h = t.iconlabels), "backgroundsrc" in t && i(22, C = t.backgroundsrc), "currency" in t && i(1, y = t.currency), "backgroundsrcmobile" in t && i(23, x = t.backgroundsrcmobile), "titlelogopath" in t && i(24, I = t.titlelogopath), "lang" in t && i(25, b = t.lang), "clientstyling" in t && i(26, j = t.clientstyling), "clientstylingurl" in t && i(27, g = t.clientstylingurl), "translationurl" in t && i(28, d = t.translationurl), "endpoint" in t && i(29, m = t.endpoint), "gameid" in t && i(30, S = t.gameid), "mbsource" in t && i(31, D = t.mbsource), "realtimeupdate" in t && i(2, M = t.realtimeupdate);
495
- }, a.$$.update = () => {
496
- a.$$.dirty[0] & /*endpoint*/
497
- 536870912 && m && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
498
- 67108872 && j && T && Oe(T, j), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
499
- 134217736 && g && T && De(T, g), a.$$.dirty[0] & /*customStylingContainer*/
500
- 8 | a.$$.dirty[1] & /*mbsource*/
501
- 1 && D && T && Me(T, `${D}.Style`), a.$$.dirty[0] & /*endpoint, lang, currency*/
502
- 570425346 | a.$$.dirty[1] & /*validGameIds*/
503
- 2 && m && b && y && G.length > 0 && ge(), a.$$.dirty[0] & /*currency, lang, isLoading*/
504
- 33554450 && y && b && !N && se(), a.$$.dirty[0] & /*lang*/
505
- 33554432 && b && B(), a.$$.dirty[0] & /*translationurl*/
506
- 268435456 && d && ue(), a.$$.dirty[0] & /*realtimeupdate*/
507
- 4 && M && ce();
508
- }, [
509
- l,
510
- y,
511
- M,
512
- T,
513
- N,
514
- Q,
515
- z,
516
- X,
517
- de,
518
- Z,
519
- ae,
520
- ie,
521
- U,
522
- V,
523
- P,
524
- Y,
525
- s,
526
- u,
527
- o,
528
- w,
529
- k,
530
- h,
531
- C,
532
- x,
533
- I,
534
- b,
535
- j,
536
- g,
537
- d,
538
- m,
539
- S,
540
- D,
541
- G,
542
- oe,
543
- pe
544
- ];
545
- }
546
- class $e extends We {
547
- constructor(e) {
548
- super(), Ae(
549
- this,
550
- e,
551
- Ze,
552
- Xe,
553
- Ie,
554
- {
555
- visualstructure: 0,
556
- title: 16,
557
- caticon0: 17,
558
- caticon1: 18,
559
- caticon2: 19,
560
- caticon3: 20,
561
- iconlabels: 21,
562
- backgroundsrc: 22,
563
- currency: 1,
564
- backgroundsrcmobile: 23,
565
- titlelogopath: 24,
566
- lang: 25,
567
- clientstyling: 26,
568
- clientstylingurl: 27,
569
- translationurl: 28,
570
- endpoint: 29,
571
- gameid: 30,
572
- mbsource: 31,
573
- realtimeupdate: 2
574
- },
575
- Fe,
576
- [-1, -1]
577
- );
578
- }
579
- get visualstructure() {
580
- return this.$$.ctx[0];
581
- }
582
- set visualstructure(e) {
583
- this.$$set({ visualstructure: e }), _();
584
- }
585
- get title() {
586
- return this.$$.ctx[16];
587
- }
588
- set title(e) {
589
- this.$$set({ title: e }), _();
590
- }
591
- get caticon0() {
592
- return this.$$.ctx[17];
593
- }
594
- set caticon0(e) {
595
- this.$$set({ caticon0: e }), _();
596
- }
597
- get caticon1() {
598
- return this.$$.ctx[18];
599
- }
600
- set caticon1(e) {
601
- this.$$set({ caticon1: e }), _();
602
- }
603
- get caticon2() {
604
- return this.$$.ctx[19];
605
- }
606
- set caticon2(e) {
607
- this.$$set({ caticon2: e }), _();
608
- }
609
- get caticon3() {
610
- return this.$$.ctx[20];
611
- }
612
- set caticon3(e) {
613
- this.$$set({ caticon3: e }), _();
614
- }
615
- get iconlabels() {
616
- return this.$$.ctx[21];
617
- }
618
- set iconlabels(e) {
619
- this.$$set({ iconlabels: e }), _();
620
- }
621
- get backgroundsrc() {
622
- return this.$$.ctx[22];
623
- }
624
- set backgroundsrc(e) {
625
- this.$$set({ backgroundsrc: e }), _();
626
- }
627
- get currency() {
628
- return this.$$.ctx[1];
629
- }
630
- set currency(e) {
631
- this.$$set({ currency: e }), _();
632
- }
633
- get backgroundsrcmobile() {
634
- return this.$$.ctx[23];
635
- }
636
- set backgroundsrcmobile(e) {
637
- this.$$set({ backgroundsrcmobile: e }), _();
638
- }
639
- get titlelogopath() {
640
- return this.$$.ctx[24];
641
- }
642
- set titlelogopath(e) {
643
- this.$$set({ titlelogopath: e }), _();
644
- }
645
- get lang() {
646
- return this.$$.ctx[25];
647
- }
648
- set lang(e) {
649
- this.$$set({ lang: e }), _();
650
- }
651
- get clientstyling() {
652
- return this.$$.ctx[26];
653
- }
654
- set clientstyling(e) {
655
- this.$$set({ clientstyling: e }), _();
656
- }
657
- get clientstylingurl() {
658
- return this.$$.ctx[27];
659
- }
660
- set clientstylingurl(e) {
661
- this.$$set({ clientstylingurl: e }), _();
662
- }
663
- get translationurl() {
664
- return this.$$.ctx[28];
665
- }
666
- set translationurl(e) {
667
- this.$$set({ translationurl: e }), _();
668
- }
669
- get endpoint() {
670
- return this.$$.ctx[29];
671
- }
672
- set endpoint(e) {
673
- this.$$set({ endpoint: e }), _();
674
- }
675
- get gameid() {
676
- return this.$$.ctx[30];
677
- }
678
- set gameid(e) {
679
- this.$$set({ gameid: e }), _();
680
- }
681
- get mbsource() {
682
- return this.$$.ctx[31];
683
- }
684
- set mbsource(e) {
685
- this.$$set({ mbsource: e }), _();
686
- }
687
- get realtimeupdate() {
688
- return this.$$.ctx[2];
689
- }
690
- set realtimeupdate(e) {
691
- this.$$set({ realtimeupdate: e }), _();
692
- }
693
- }
694
- Pe($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
695
- export {
696
- $e as default
697
- };