@everymatrix/casino-tournaments-controller 1.64.8 → 1.65.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 (56) hide show
  1. package/components/{CasinoTournamentsController-CUMRoST-.js → CasinoTournamentsController-B-3KvRFg.js} +1158 -1179
  2. package/components/{CasinoTournamentsController-WufarZ8q.js → CasinoTournamentsController-CWaYayO5.js} +1033 -1054
  3. package/components/CasinoTournamentsController-hMroYCVq.cjs +27 -0
  4. package/components/{CasinoTournamentsFilterController-D92H_sdr.cjs → CasinoTournamentsFilterController-CFZXXvdI.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-LT68fjHh.js → CasinoTournamentsFilterController-DAQ8lD4F.js} +20 -20
  6. package/components/{CasinoTournamentsFilterController-D8NP0ZIy.js → CasinoTournamentsFilterController-DoTBrefG.js} +22 -22
  7. package/components/{CasinoTournamentsListController-Dd8eFRxa.js → CasinoTournamentsListController-C_ssOmZ0.js} +21 -21
  8. package/components/{CasinoTournamentsListController-CwxI2YAB.cjs → CasinoTournamentsListController-CkLe4wOF.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-CGdBHJDM.js → CasinoTournamentsListController-DGb2Vxf4.js} +21 -21
  10. package/components/CasinoTournamentsThumbnail-BGjJFXJ4.cjs +4 -0
  11. package/components/{CasinoTournamentsThumbnail-BUZX068g.js → CasinoTournamentsThumbnail-D2kJPkRh.js} +308 -264
  12. package/components/{CasinoTournamentsThumbnail-Co9p08Wv.js → CasinoTournamentsThumbnail-rGM6du0q.js} +308 -264
  13. package/components/CasinoTournamentsThumbnailController-BNr36snI.js +1381 -0
  14. package/components/CasinoTournamentsThumbnailController-C8sZ89TB.js +1398 -0
  15. package/components/CasinoTournamentsThumbnailController-Dp0x8sF0.cjs +1 -0
  16. package/components/{CasinoTournamentsThumbnailDuration-DsNTjv3C.cjs → CasinoTournamentsThumbnailDuration-4Vc-Z6lV.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-Dqd8KbyC.js → CasinoTournamentsThumbnailDuration-CzVBGv1j.js} +42 -42
  18. package/components/{CasinoTournamentsThumbnailDuration-ChCBh4j9.js → CasinoTournamentsThumbnailDuration-PfDdm056.js} +48 -48
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-Bn4nh16L.js → CasinoTournamentsThumbnailGamesSlider-B0lgG4Gf.js} +37 -37
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-EO8q-zQo.js → CasinoTournamentsThumbnailGamesSlider-B6vtyr9U.js} +54 -54
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-C7R-Ibu_.cjs → CasinoTournamentsThumbnailGamesSlider-D_KQWVhW.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-qJYsc_jA.js → CasinoTournamentsThumbnailPrizes-Czh7jFho.js} +15 -15
  23. package/components/{CasinoTournamentsThumbnailPrizes-DdU80aCm.cjs → CasinoTournamentsThumbnailPrizes-Dv0zCdov.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-D3W0vYEA.js → CasinoTournamentsThumbnailPrizes-OfLWNQL9.js} +15 -15
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  30. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  31. package/stencil/index-97d17652-BzQXAkmg.js +558 -0
  32. package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
  33. package/stencil/index-97d17652-mbOyENH9.js +542 -0
  34. package/stencil/index-b2193545-C2pLoBGJ.js +503 -0
  35. package/stencil/index-b2193545-CoXVDra7.js +519 -0
  36. package/stencil/index-b2193545-CwpolrjE.cjs +1 -0
  37. package/stencil/ui-image-BdKD9mn4.js +25 -0
  38. package/stencil/ui-image-Brhx0VeQ.js +7 -0
  39. package/stencil/ui-image-DEQHOm9Q.cjs +1 -0
  40. package/stencil/ui-image-b7b48fe5-7wF4sIlr.js +39 -0
  41. package/stencil/ui-image-b7b48fe5-DQE3WxuL.cjs +1 -0
  42. package/stencil/ui-image-b7b48fe5-kIlLPkYB.js +39 -0
  43. package/stencil/ui-image_2-CJHJWEhi.cjs +73 -0
  44. package/stencil/ui-image_2-Db7N7hzA.js +154 -0
  45. package/stencil/ui-image_2-oohpKuRS.js +154 -0
  46. package/stencil/ui-skeleton-06DDwuG9.cjs +1 -0
  47. package/stencil/ui-skeleton-1cb75d00-CoUSUuCH.js +152 -0
  48. package/stencil/ui-skeleton-1cb75d00-DwCQPKmJ.js +152 -0
  49. package/stencil/ui-skeleton-1cb75d00-HdJyBz6W.cjs +73 -0
  50. package/stencil/ui-skeleton-BhWinivj.js +11 -0
  51. package/stencil/ui-skeleton-DdjXy3Vl.js +29 -0
  52. package/components/CasinoTournamentsController-oGL-nV5r.cjs +0 -27
  53. package/components/CasinoTournamentsThumbnail-CrJ40CSh.cjs +0 -4
  54. package/components/CasinoTournamentsThumbnailController-Cq6mNACM.cjs +0 -1
  55. package/components/CasinoTournamentsThumbnailController-Y3QRiL5v.js +0 -1422
  56. package/components/CasinoTournamentsThumbnailController-_3hlkXv6.js +0 -1405
@@ -0,0 +1,1398 @@
1
+ var le = (r, e, t) => new Promise((n, o) => {
2
+ var s = (d) => {
3
+ try {
4
+ a(t.next(d));
5
+ } catch (g) {
6
+ o(g);
7
+ }
8
+ }, u = (d) => {
9
+ try {
10
+ a(t.throw(d));
11
+ } catch (g) {
12
+ o(g);
13
+ }
14
+ }, a = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(s, u);
15
+ a((t = t.apply(r, e)).next());
16
+ });
17
+ import { z as ae, E as $e, a as et, S as tt, i as nt, f as T, c as rt, s as it, b as ot, e as S, m as P, y as l, d as c, h as k, o as b, n as ue, j as _, k as st, w as lt, A as at, B as ut, t as x, p as M, F as Ee, u as ft, r as G, x as Ie, C as ct, $ as dt, v as I } from "./CasinoTournamentsController-CWaYayO5.js";
18
+ function mt({ withLocale: r, translations: e }) {
19
+ ae.subscribe((t) => {
20
+ t == null && ($e.set(e), ae.set(r));
21
+ });
22
+ }
23
+ function Be(r, e) {
24
+ et(r, e);
25
+ }
26
+ function gt(r) {
27
+ ae.set(r);
28
+ }
29
+ const je = {
30
+ en: {
31
+ login: "Log in",
32
+ register: "Register",
33
+ details: "Details",
34
+ enrolled: "Enrolled",
35
+ join: "Join",
36
+ joinerror: "An error occurred while registering in the tournament, please try again."
37
+ },
38
+ hr: {
39
+ login: "Prijava",
40
+ register: "Registracija",
41
+ details: "Detalji",
42
+ enrolled: "Upisan",
43
+ join: "Pridruži se",
44
+ joinerror: "Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."
45
+ },
46
+ "zh-hk": {
47
+ login: "登錄",
48
+ register: "登記",
49
+ details: "細節",
50
+ enrolled: "已註冊",
51
+ join: "加入",
52
+ joinerror: "加入錦標賽時出錯,請重試"
53
+ },
54
+ fr: {
55
+ login: "Connexion",
56
+ register: "Enregistre",
57
+ details: "Détails",
58
+ enrolled: "Inscrits",
59
+ join: "Rejoignez",
60
+ joinerror: "Une erreur s'est produite lors de l'inscription au tournoi"
61
+ },
62
+ ro: {
63
+ login: "Autentificare",
64
+ register: "Înregistrare",
65
+ details: "Detalii",
66
+ enrolled: "Înscris",
67
+ join: "Participă",
68
+ joinerror: "A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."
69
+ },
70
+ tr: {
71
+ login: "Giriş yapmak",
72
+ register: "Kayıt olmak",
73
+ details: "Detaylar",
74
+ enrolled: "Katıldın",
75
+ join: "Katılmak",
76
+ joinerror: "Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."
77
+ },
78
+ el: {
79
+ login: "Είσοδος",
80
+ register: "Εγγραφή",
81
+ details: "Λεπτομέρειες",
82
+ enrolled: "Εγγεγραμμένος",
83
+ join: "Συμμετοχή",
84
+ joinerror: "Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."
85
+ },
86
+ es: {
87
+ login: "Iniciar sesión",
88
+ register: "Regístrate",
89
+ details: "Detalles",
90
+ enrolled: "Participando",
91
+ join: "Unirse",
92
+ joinerror: "Ha ocurrido un error mientras se registra en el Torneo"
93
+ },
94
+ hu: {
95
+ login: "Bejelentkezés",
96
+ register: "Regisztráció",
97
+ details: "Adatok",
98
+ enrolled: "Feliratkozott",
99
+ join: "Csatlakozás",
100
+ joinerror: "Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."
101
+ },
102
+ pt: {
103
+ login: "Entrar",
104
+ register: "Registro",
105
+ details: "Detalhes",
106
+ enrolled: "Inscrito",
107
+ join: "Junte-se",
108
+ joinerror: "Ocorreu um erro ao entrar no torneio"
109
+ },
110
+ "en-us": {
111
+ login: "Log in",
112
+ register: "Register",
113
+ details: "Details",
114
+ enrolled: "Enrolled",
115
+ join: "Join",
116
+ joinerror: "An error occurred while registering in the tournament, please try again."
117
+ }
118
+ };
119
+ if (typeof window != "undefined") {
120
+ let r = function(e) {
121
+ return function(...t) {
122
+ try {
123
+ return e.apply(this, t);
124
+ } catch (n) {
125
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
126
+ return !1;
127
+ throw n;
128
+ }
129
+ };
130
+ };
131
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-rGM6du0q.js").then(({ default: e }) => {
132
+ !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
133
+ });
134
+ }
135
+ if (typeof window != "undefined") {
136
+ let r = function(e) {
137
+ return function(...t) {
138
+ try {
139
+ return e.apply(this, t);
140
+ } catch (n) {
141
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
142
+ return !1;
143
+ throw n;
144
+ }
145
+ };
146
+ };
147
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-PfDdm056.js").then(({ default: e }) => {
148
+ !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
149
+ "casino-tournaments-thumbnail-duration",
150
+ e.element
151
+ );
152
+ });
153
+ }
154
+ if (typeof window != "undefined") {
155
+ let r = function(e) {
156
+ return function(...t) {
157
+ try {
158
+ return e.apply(this, t);
159
+ } catch (n) {
160
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
161
+ return !1;
162
+ throw n;
163
+ }
164
+ };
165
+ };
166
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-Czh7jFho.js").then(({ default: e }) => {
167
+ !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
168
+ });
169
+ }
170
+ if (typeof window != "undefined") {
171
+ let r = function(e) {
172
+ return function(...t) {
173
+ try {
174
+ return e.apply(this, t);
175
+ } catch (n) {
176
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
177
+ return !1;
178
+ throw n;
179
+ }
180
+ };
181
+ };
182
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-B0lgG4Gf.js").then(
183
+ ({ default: e }) => {
184
+ !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
185
+ "casino-tournaments-thumbnail-games-slider",
186
+ e.element
187
+ );
188
+ }
189
+ );
190
+ }
191
+ function ht(r) {
192
+ ot(r, "svelte-chi6uq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
193
+ }
194
+ function Ce(r) {
195
+ let e;
196
+ return {
197
+ c() {
198
+ e = S("div"), e.innerHTML = '<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>', c(e, "class", "TournamentPrizes"), c(e, "part", "TournamentPrizes");
199
+ },
200
+ m(t, n) {
201
+ k(t, e, n);
202
+ },
203
+ d(t) {
204
+ t && _(e);
205
+ }
206
+ };
207
+ }
208
+ function De(r) {
209
+ let e, t, n = (
210
+ /*tourid*/
211
+ r[24] && Le(r)
212
+ );
213
+ return {
214
+ c() {
215
+ n && n.c(), e = P(), t = S("casino-tournaments-thumbnail-duration"), l(
216
+ t,
217
+ "clientstyling",
218
+ /*clientstyling*/
219
+ r[10]
220
+ ), l(
221
+ t,
222
+ "clientstylingurl",
223
+ /*clientstylingurl*/
224
+ r[11]
225
+ ), l(
226
+ t,
227
+ "translationurl",
228
+ /*translationurl*/
229
+ r[12]
230
+ ), l(
231
+ t,
232
+ "status",
233
+ /*status*/
234
+ r[23]
235
+ ), l(
236
+ t,
237
+ "startdate",
238
+ /*startdate*/
239
+ r[21]
240
+ ), l(
241
+ t,
242
+ "lang",
243
+ /*lang*/
244
+ r[8]
245
+ ), l(
246
+ t,
247
+ "enddate",
248
+ /*enddate*/
249
+ r[22]
250
+ ), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
251
+ },
252
+ m(o, s) {
253
+ n && n.m(o, s), k(o, e, s), k(o, t, s);
254
+ },
255
+ p(o, s) {
256
+ /*tourid*/
257
+ o[24] ? n ? n.p(o, s) : (n = Le(o), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), s[0] & /*clientstyling*/
258
+ 1024 && l(
259
+ t,
260
+ "clientstyling",
261
+ /*clientstyling*/
262
+ o[10]
263
+ ), s[0] & /*clientstylingurl*/
264
+ 2048 && l(
265
+ t,
266
+ "clientstylingurl",
267
+ /*clientstylingurl*/
268
+ o[11]
269
+ ), s[0] & /*translationurl*/
270
+ 4096 && l(
271
+ t,
272
+ "translationurl",
273
+ /*translationurl*/
274
+ o[12]
275
+ ), s[0] & /*status*/
276
+ 8388608 && l(
277
+ t,
278
+ "status",
279
+ /*status*/
280
+ o[23]
281
+ ), s[0] & /*startdate*/
282
+ 2097152 && l(
283
+ t,
284
+ "startdate",
285
+ /*startdate*/
286
+ o[21]
287
+ ), s[0] & /*lang*/
288
+ 256 && l(
289
+ t,
290
+ "lang",
291
+ /*lang*/
292
+ o[8]
293
+ ), s[0] & /*enddate*/
294
+ 4194304 && l(
295
+ t,
296
+ "enddate",
297
+ /*enddate*/
298
+ o[22]
299
+ );
300
+ },
301
+ d(o) {
302
+ o && (_(e), _(t)), n && n.d(o);
303
+ }
304
+ };
305
+ }
306
+ function Le(r) {
307
+ let e, t, n, o;
308
+ return {
309
+ c() {
310
+ e = S("casino-tournaments-thumbnail-prizes"), l(
311
+ e,
312
+ "tourid",
313
+ /*tourid*/
314
+ r[24]
315
+ ), l(
316
+ e,
317
+ "clientstyling",
318
+ /*clientstyling*/
319
+ r[10]
320
+ ), l(
321
+ e,
322
+ "clientstylingurl",
323
+ /*clientstylingurl*/
324
+ r[11]
325
+ ), l(
326
+ e,
327
+ "translationurl",
328
+ /*translationurl*/
329
+ r[12]
330
+ ), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
331
+ },
332
+ m(s, u) {
333
+ k(s, e, u), n || (o = at(t = /*sendTournamentPrizes*/
334
+ r[37].call(
335
+ null,
336
+ e,
337
+ /*tourid*/
338
+ r[24]
339
+ )), n = !0);
340
+ },
341
+ p(s, u) {
342
+ u[0] & /*tourid*/
343
+ 16777216 && l(
344
+ e,
345
+ "tourid",
346
+ /*tourid*/
347
+ s[24]
348
+ ), u[0] & /*clientstyling*/
349
+ 1024 && l(
350
+ e,
351
+ "clientstyling",
352
+ /*clientstyling*/
353
+ s[10]
354
+ ), u[0] & /*clientstylingurl*/
355
+ 2048 && l(
356
+ e,
357
+ "clientstylingurl",
358
+ /*clientstylingurl*/
359
+ s[11]
360
+ ), u[0] & /*translationurl*/
361
+ 4096 && l(
362
+ e,
363
+ "translationurl",
364
+ /*translationurl*/
365
+ s[12]
366
+ ), t && ut(t.update) && u[0] & /*tourid*/
367
+ 16777216 && t.update.call(
368
+ null,
369
+ /*tourid*/
370
+ s[24]
371
+ );
372
+ },
373
+ d(s) {
374
+ s && _(e), n = !1, o();
375
+ }
376
+ };
377
+ }
378
+ function pt(r) {
379
+ let e, t = (
380
+ /*$_*/
381
+ r[32]("details") + ""
382
+ ), n, o, s;
383
+ return {
384
+ c() {
385
+ e = S("button"), n = x(t), c(e, "class", "DetailsLargeButton"), c(e, "part", "DetailsLargeButton");
386
+ },
387
+ m(u, a) {
388
+ k(u, e, a), b(e, n), o || (s = G(
389
+ e,
390
+ "click",
391
+ /*click_handler_4*/
392
+ r[51]
393
+ ), o = !0);
394
+ },
395
+ p(u, a) {
396
+ a[1] & /*$_*/
397
+ 2 && t !== (t = /*$_*/
398
+ u[32]("details") + "") && M(n, t);
399
+ },
400
+ d(u) {
401
+ u && _(e), o = !1, s();
402
+ }
403
+ };
404
+ }
405
+ function wt(r) {
406
+ let e, t, n = (
407
+ /*showdetails*/
408
+ r[3] == "true" && Pe(r)
409
+ );
410
+ function o(a, d) {
411
+ return (
412
+ /*userenrolled*/
413
+ a[26] ? _t : kt
414
+ );
415
+ }
416
+ let s = o(r), u = s(r);
417
+ return {
418
+ c() {
419
+ n && n.c(), e = P(), u.c(), t = Ie();
420
+ },
421
+ m(a, d) {
422
+ n && n.m(a, d), k(a, e, d), u.m(a, d), k(a, t, d);
423
+ },
424
+ p(a, d) {
425
+ /*showdetails*/
426
+ a[3] == "true" ? n ? n.p(a, d) : (n = Pe(a), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), s === (s = o(a)) && u ? u.p(a, d) : (u.d(1), u = s(a), u && (u.c(), u.m(t.parentNode, t)));
427
+ },
428
+ d(a) {
429
+ a && (_(e), _(t)), n && n.d(a), u.d(a);
430
+ }
431
+ };
432
+ }
433
+ function bt(r) {
434
+ let e, t = (
435
+ /*$_*/
436
+ r[32]("login") + ""
437
+ ), n, o, s, u = (
438
+ /*$_*/
439
+ r[32]("register") + ""
440
+ ), a, d, g;
441
+ return {
442
+ c() {
443
+ e = S("button"), n = x(t), o = P(), s = S("button"), a = x(u), c(e, "class", "LoginButton"), c(e, "part", "LoginButton"), c(s, "class", "RegisterButton"), c(s, "part", "RegisterButton");
444
+ },
445
+ m(h, y) {
446
+ k(h, e, y), b(e, n), k(h, o, y), k(h, s, y), b(s, a), d || (g = [
447
+ G(
448
+ e,
449
+ "click",
450
+ /*click_handler*/
451
+ r[47]
452
+ ),
453
+ G(
454
+ s,
455
+ "click",
456
+ /*click_handler_1*/
457
+ r[48]
458
+ )
459
+ ], d = !0);
460
+ },
461
+ p(h, y) {
462
+ y[1] & /*$_*/
463
+ 2 && t !== (t = /*$_*/
464
+ h[32]("login") + "") && M(n, t), y[1] & /*$_*/
465
+ 2 && u !== (u = /*$_*/
466
+ h[32]("register") + "") && M(a, u);
467
+ },
468
+ d(h) {
469
+ h && (_(e), _(o), _(s)), d = !1, ct(g);
470
+ }
471
+ };
472
+ }
473
+ function Pe(r) {
474
+ let e, t = (
475
+ /*$_*/
476
+ r[32]("details") + ""
477
+ ), n, o, s;
478
+ return {
479
+ c() {
480
+ e = S("button"), n = x(t), c(e, "class", "DetailsButton"), c(e, "part", "DetailsButton");
481
+ },
482
+ m(u, a) {
483
+ k(u, e, a), b(e, n), o || (s = G(
484
+ e,
485
+ "click",
486
+ /*click_handler_2*/
487
+ r[49]
488
+ ), o = !0);
489
+ },
490
+ p(u, a) {
491
+ a[1] & /*$_*/
492
+ 2 && t !== (t = /*$_*/
493
+ u[32]("details") + "") && M(n, t);
494
+ },
495
+ d(u) {
496
+ u && _(e), o = !1, s();
497
+ }
498
+ };
499
+ }
500
+ function kt(r) {
501
+ let e, t, n, o, s;
502
+ function u(g, h) {
503
+ return (
504
+ /*joinButtonLoading*/
505
+ g[16] == !0 ? Tt : yt
506
+ );
507
+ }
508
+ let a = u(r), d = a(r);
509
+ return {
510
+ c() {
511
+ e = S("button"), d.c(), c(e, "class", t = "JoinButton " + /*fullsize*/
512
+ (r[7] ? "JoinButtonFullSize" : "")), c(e, "part", n = "JoinButton " + /*fullsize*/
513
+ (r[7] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
514
+ r[17];
515
+ },
516
+ m(g, h) {
517
+ k(g, e, h), d.m(e, null), o || (s = G(
518
+ e,
519
+ "click",
520
+ /*click_handler_3*/
521
+ r[50]
522
+ ), o = !0);
523
+ },
524
+ p(g, h) {
525
+ a === (a = u(g)) && d ? d.p(g, h) : (d.d(1), d = a(g), d && (d.c(), d.m(e, null))), h[0] & /*fullsize*/
526
+ 128 && t !== (t = "JoinButton " + /*fullsize*/
527
+ (g[7] ? "JoinButtonFullSize" : "")) && c(e, "class", t), h[0] & /*fullsize*/
528
+ 128 && n !== (n = "JoinButton " + /*fullsize*/
529
+ (g[7] ? "JoinButtonFullSize" : "")) && c(e, "part", n), h[0] & /*errorJoin*/
530
+ 131072 && (e.disabled = /*errorJoin*/
531
+ g[17]);
532
+ },
533
+ d(g) {
534
+ g && _(e), d.d(), o = !1, s();
535
+ }
536
+ };
537
+ }
538
+ function _t(r) {
539
+ let e, t = (
540
+ /*showdetails*/
541
+ r[3] == "true" && xe(r)
542
+ );
543
+ return {
544
+ c() {
545
+ t && t.c(), e = Ie();
546
+ },
547
+ m(n, o) {
548
+ t && t.m(n, o), k(n, e, o);
549
+ },
550
+ p(n, o) {
551
+ /*showdetails*/
552
+ n[3] == "true" ? t ? t.p(n, o) : (t = xe(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
553
+ },
554
+ d(n) {
555
+ n && _(e), t && t.d(n);
556
+ }
557
+ };
558
+ }
559
+ function yt(r) {
560
+ let e, t = (
561
+ /*$_*/
562
+ r[32]("join") + ""
563
+ ), n, o, s, u, a, d, g, h;
564
+ return {
565
+ c() {
566
+ e = S("span"), n = x(t), o = P(), s = I("svg"), u = I("defs"), a = I("style"), d = x(".a{fill:var(--emw--color-white, #FFFFFF);}"), g = I("g"), h = I("path"), c(e, "part", "JoinButtonSpan"), c(h, "class", "a"), c(h, "part", "a JoinButtonSvgA"), c(h, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), c(h, "transform", "translate(26 26) rotate(180)"), c(g, "transform", "translate(26 26) rotate(180)"), c(s, "part", "JoinButtonSvg"), c(s, "xmlns", "http://www.w3.org/2000/svg"), c(s, "width", "26"), c(s, "height", "26"), c(s, "viewBox", "0 0 26 26");
567
+ },
568
+ m(y, C) {
569
+ k(y, e, C), b(e, n), k(y, o, C), k(y, s, C), b(s, u), b(u, a), b(a, d), b(s, g), b(g, h);
570
+ },
571
+ p(y, C) {
572
+ C[1] & /*$_*/
573
+ 2 && t !== (t = /*$_*/
574
+ y[32]("join") + "") && M(n, t);
575
+ },
576
+ d(y) {
577
+ y && (_(e), _(o), _(s));
578
+ }
579
+ };
580
+ }
581
+ function Tt(r) {
582
+ let e, t;
583
+ return {
584
+ c() {
585
+ e = I("svg"), t = I("circle"), c(t, "cx", "20"), c(t, "cy", "20"), c(t, "r", "18"), c(e, "class", "spinner"), c(e, "part", "spinner");
586
+ },
587
+ m(n, o) {
588
+ k(n, e, o), b(e, t);
589
+ },
590
+ p: ue,
591
+ d(n) {
592
+ n && _(e);
593
+ }
594
+ };
595
+ }
596
+ function xe(r) {
597
+ let e, t = (
598
+ /*$_*/
599
+ r[32]("enrolled") + ""
600
+ ), n;
601
+ return {
602
+ c() {
603
+ e = S("button"), n = x(t), c(e, "class", "EnrolledButton"), c(e, "part", "EnrolledButton"), e.disabled = !0;
604
+ },
605
+ m(o, s) {
606
+ k(o, e, s), b(e, n);
607
+ },
608
+ p(o, s) {
609
+ s[1] & /*$_*/
610
+ 2 && t !== (t = /*$_*/
611
+ o[32]("enrolled") + "") && M(n, t);
612
+ },
613
+ d(o) {
614
+ o && _(e);
615
+ }
616
+ };
617
+ }
618
+ function Me(r) {
619
+ let e, t = (
620
+ /*$_*/
621
+ r[32]("joinerror") + ""
622
+ ), n, o, s;
623
+ return {
624
+ c() {
625
+ e = S("span"), n = x(t), o = P(), s = x(
626
+ /*errorJoinText*/
627
+ r[18]
628
+ ), c(e, "class", "ErrorText"), c(e, "part", "ErrorText");
629
+ },
630
+ m(u, a) {
631
+ k(u, e, a), b(e, n), b(e, o), b(e, s);
632
+ },
633
+ p(u, a) {
634
+ a[1] & /*$_*/
635
+ 2 && t !== (t = /*$_*/
636
+ u[32]("joinerror") + "") && M(n, t), a[0] & /*errorJoinText*/
637
+ 262144 && M(
638
+ s,
639
+ /*errorJoinText*/
640
+ u[18]
641
+ );
642
+ },
643
+ d(u) {
644
+ u && _(e);
645
+ }
646
+ };
647
+ }
648
+ function Ae(r) {
649
+ let e, t, n = (
650
+ /*isLoading*/
651
+ r[15] && Re()
652
+ );
653
+ return {
654
+ c() {
655
+ n && n.c(), e = P(), t = S("casino-tournaments-thumbnail-games-slider"), l(
656
+ t,
657
+ "clientstyling",
658
+ /*clientstyling*/
659
+ r[10]
660
+ ), l(
661
+ t,
662
+ "clientstylingurl",
663
+ /*clientstylingurl*/
664
+ r[11]
665
+ ), l(
666
+ t,
667
+ "translationurl",
668
+ /*translationurl*/
669
+ r[12]
670
+ ), l(
671
+ t,
672
+ "tournamenturl",
673
+ /*tournamenturl*/
674
+ r[2]
675
+ ), l(
676
+ t,
677
+ "lang",
678
+ /*lang*/
679
+ r[8]
680
+ ), l(t, "scrollby", "2"), l(t, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
681
+ },
682
+ m(o, s) {
683
+ n && n.m(o, s), k(o, e, s), k(o, t, s);
684
+ },
685
+ p(o, s) {
686
+ /*isLoading*/
687
+ o[15] ? n || (n = Re(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), s[0] & /*clientstyling*/
688
+ 1024 && l(
689
+ t,
690
+ "clientstyling",
691
+ /*clientstyling*/
692
+ o[10]
693
+ ), s[0] & /*clientstylingurl*/
694
+ 2048 && l(
695
+ t,
696
+ "clientstylingurl",
697
+ /*clientstylingurl*/
698
+ o[11]
699
+ ), s[0] & /*translationurl*/
700
+ 4096 && l(
701
+ t,
702
+ "translationurl",
703
+ /*translationurl*/
704
+ o[12]
705
+ ), s[0] & /*tournamenturl*/
706
+ 4 && l(
707
+ t,
708
+ "tournamenturl",
709
+ /*tournamenturl*/
710
+ o[2]
711
+ ), s[0] & /*lang*/
712
+ 256 && l(
713
+ t,
714
+ "lang",
715
+ /*lang*/
716
+ o[8]
717
+ );
718
+ },
719
+ d(o) {
720
+ o && (_(e), _(t)), n && n.d(o);
721
+ }
722
+ };
723
+ }
724
+ function Re(r) {
725
+ let e;
726
+ return {
727
+ c() {
728
+ e = S("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>', c(e, "class", "TournamentsGamesSlider");
729
+ },
730
+ m(t, n) {
731
+ k(t, e, n);
732
+ },
733
+ d(t) {
734
+ t && _(e);
735
+ }
736
+ };
737
+ }
738
+ function Ft(r) {
739
+ let e, t, n, o, s, u, a, d, g, h, y, C, E = (
740
+ /*isLoading*/
741
+ r[15] && Ce()
742
+ ), w = (
743
+ /*isLoggedIn*/
744
+ r[14] && De(r)
745
+ );
746
+ function A(f, m) {
747
+ if (!/*isLoggedIn*/
748
+ f[14])
749
+ return bt;
750
+ if (
751
+ /*status*/
752
+ f[23] != "Closed" && /*status*/
753
+ f[23] != "Closing"
754
+ )
755
+ return wt;
756
+ if (
757
+ /*showdetails*/
758
+ f[3] == "true"
759
+ )
760
+ return pt;
761
+ }
762
+ let D = A(r), F = D && D(r), z = (
763
+ /*errorJoin*/
764
+ (r[17] || /*errorJoinConcurrently*/
765
+ r[19]) && Me(r)
766
+ ), v = (
767
+ /*showslider*/
768
+ r[4] == "true" && Ae(r)
769
+ );
770
+ return {
771
+ c() {
772
+ e = S("div"), t = S("div"), n = S("casino-tournaments-thumbnail"), o = P(), E && E.c(), s = P(), w && w.c(), u = P(), a = S("div"), F && F.c(), d = P(), z && z.c(), g = P(), v && v.c(), l(
773
+ n,
774
+ "session",
775
+ /*session*/
776
+ r[0]
777
+ ), l(
778
+ n,
779
+ "userid",
780
+ /*userid*/
781
+ r[1]
782
+ ), l(
783
+ n,
784
+ "title",
785
+ /*title*/
786
+ r[20]
787
+ ), l(
788
+ n,
789
+ "status",
790
+ /*status*/
791
+ r[23]
792
+ ), l(
793
+ n,
794
+ "startdate",
795
+ /*startdate*/
796
+ r[21]
797
+ ), l(
798
+ n,
799
+ "tourid",
800
+ /*tourid*/
801
+ r[24]
802
+ ), l(
803
+ n,
804
+ "scorecriteria",
805
+ /*scorecriteria*/
806
+ r[27]
807
+ ), l(
808
+ n,
809
+ "minbetcount",
810
+ /*minbetcount*/
811
+ r[28]
812
+ ), l(
813
+ n,
814
+ "thumbnail",
815
+ /*thumbnail*/
816
+ r[25]
817
+ ), l(
818
+ n,
819
+ "showenrolled",
820
+ /*showenrolled*/
821
+ r[5]
822
+ ), l(
823
+ n,
824
+ "gameurl",
825
+ /*gameurl*/
826
+ r[30]
827
+ ), l(
828
+ n,
829
+ "userenrolled",
830
+ /*userenrolled*/
831
+ r[26]
832
+ ), l(
833
+ n,
834
+ "clientstyling",
835
+ /*clientstyling*/
836
+ r[10]
837
+ ), l(
838
+ n,
839
+ "clientstylingurl",
840
+ /*clientstylingurl*/
841
+ r[11]
842
+ ), l(
843
+ n,
844
+ "translationurl",
845
+ /*translationurl*/
846
+ r[12]
847
+ ), l(
848
+ n,
849
+ "lang",
850
+ /*lang*/
851
+ r[8]
852
+ ), l(
853
+ n,
854
+ "keepbrowsercontext",
855
+ /*keepbrowsercontext*/
856
+ r[9]
857
+ ), l(n, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), c(a, "class", "TournamentButtons"), c(a, "part", "TournamentButtons"), c(t, "class", h = "TournamentCard " + /*maxwidth*/
858
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
859
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
860
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn")), c(t, "part", y = "TournamentCard " + /*maxwidth*/
861
+ (r[6] ? "CardMaxWidth" : "") + /*fullsize*/
862
+ (r[7] ? "CardFullSize" : "") + " " + /*isChanging*/
863
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
864
+ (r[31] ? "elementToFadeOut" : "elementToFadeIn")), c(e, "class", C = `${/*isLoading*/
865
+ r[15] ? "Loading" : ""}`);
866
+ },
867
+ m(f, m) {
868
+ k(f, e, m), b(e, t), b(t, n), b(t, o), E && E.m(t, null), b(t, s), w && w.m(t, null), b(t, u), b(t, a), F && F.m(a, null), b(t, d), z && z.m(t, null), b(t, g), v && v.m(t, null), r[52](e);
869
+ },
870
+ p(f, m) {
871
+ m[0] & /*session*/
872
+ 1 && l(
873
+ n,
874
+ "session",
875
+ /*session*/
876
+ f[0]
877
+ ), m[0] & /*userid*/
878
+ 2 && l(
879
+ n,
880
+ "userid",
881
+ /*userid*/
882
+ f[1]
883
+ ), m[0] & /*title*/
884
+ 1048576 && l(
885
+ n,
886
+ "title",
887
+ /*title*/
888
+ f[20]
889
+ ), m[0] & /*status*/
890
+ 8388608 && l(
891
+ n,
892
+ "status",
893
+ /*status*/
894
+ f[23]
895
+ ), m[0] & /*startdate*/
896
+ 2097152 && l(
897
+ n,
898
+ "startdate",
899
+ /*startdate*/
900
+ f[21]
901
+ ), m[0] & /*tourid*/
902
+ 16777216 && l(
903
+ n,
904
+ "tourid",
905
+ /*tourid*/
906
+ f[24]
907
+ ), m[0] & /*scorecriteria*/
908
+ 134217728 && l(
909
+ n,
910
+ "scorecriteria",
911
+ /*scorecriteria*/
912
+ f[27]
913
+ ), m[0] & /*minbetcount*/
914
+ 268435456 && l(
915
+ n,
916
+ "minbetcount",
917
+ /*minbetcount*/
918
+ f[28]
919
+ ), m[0] & /*thumbnail*/
920
+ 33554432 && l(
921
+ n,
922
+ "thumbnail",
923
+ /*thumbnail*/
924
+ f[25]
925
+ ), m[0] & /*showenrolled*/
926
+ 32 && l(
927
+ n,
928
+ "showenrolled",
929
+ /*showenrolled*/
930
+ f[5]
931
+ ), m[0] & /*gameurl*/
932
+ 1073741824 && l(
933
+ n,
934
+ "gameurl",
935
+ /*gameurl*/
936
+ f[30]
937
+ ), m[0] & /*userenrolled*/
938
+ 67108864 && l(
939
+ n,
940
+ "userenrolled",
941
+ /*userenrolled*/
942
+ f[26]
943
+ ), m[0] & /*clientstyling*/
944
+ 1024 && l(
945
+ n,
946
+ "clientstyling",
947
+ /*clientstyling*/
948
+ f[10]
949
+ ), m[0] & /*clientstylingurl*/
950
+ 2048 && l(
951
+ n,
952
+ "clientstylingurl",
953
+ /*clientstylingurl*/
954
+ f[11]
955
+ ), m[0] & /*translationurl*/
956
+ 4096 && l(
957
+ n,
958
+ "translationurl",
959
+ /*translationurl*/
960
+ f[12]
961
+ ), m[0] & /*lang*/
962
+ 256 && l(
963
+ n,
964
+ "lang",
965
+ /*lang*/
966
+ f[8]
967
+ ), m[0] & /*keepbrowsercontext*/
968
+ 512 && l(
969
+ n,
970
+ "keepbrowsercontext",
971
+ /*keepbrowsercontext*/
972
+ f[9]
973
+ ), /*isLoading*/
974
+ f[15] ? E || (E = Ce(), E.c(), E.m(t, s)) : E && (E.d(1), E = null), /*isLoggedIn*/
975
+ f[14] ? w ? w.p(f, m) : (w = De(f), w.c(), w.m(t, u)) : w && (w.d(1), w = null), D === (D = A(f)) && F ? F.p(f, m) : (F && F.d(1), F = D && D(f), F && (F.c(), F.m(a, null))), /*errorJoin*/
976
+ f[17] || /*errorJoinConcurrently*/
977
+ f[19] ? z ? z.p(f, m) : (z = Me(f), z.c(), z.m(t, g)) : z && (z.d(1), z = null), /*showslider*/
978
+ f[4] == "true" ? v ? v.p(f, m) : (v = Ae(f), v.c(), v.m(t, null)) : v && (v.d(1), v = null), m[0] & /*maxwidth, fullsize*/
979
+ 192 | m[1] & /*isChanging*/
980
+ 1 && h !== (h = "TournamentCard " + /*maxwidth*/
981
+ (f[6] ? "CardMaxWidth" : "") + /*fullsize*/
982
+ (f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
983
+ (f[31] ? "elementToFadeOut" : "elementToFadeIn")) && c(t, "class", h), m[0] & /*maxwidth, fullsize*/
984
+ 192 | m[1] & /*isChanging*/
985
+ 1 && y !== (y = "TournamentCard " + /*maxwidth*/
986
+ (f[6] ? "CardMaxWidth" : "") + /*fullsize*/
987
+ (f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
988
+ (f[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
989
+ (f[31] ? "elementToFadeOut" : "elementToFadeIn")) && c(t, "part", y), m[0] & /*isLoading*/
990
+ 32768 && C !== (C = `${/*isLoading*/
991
+ f[15] ? "Loading" : ""}`) && c(e, "class", C);
992
+ },
993
+ i: ue,
994
+ o: ue,
995
+ d(f) {
996
+ f && _(e), E && E.d(), w && w.d(), F && F.d(), z && z.d(), v && v.d(), r[52](null);
997
+ }
998
+ };
999
+ }
1000
+ function zt(r, e, t) {
1001
+ let n;
1002
+ st(r, dt, (i) => t(32, n = i));
1003
+ let { session: o = "" } = e, { userid: s = "" } = e, { tournamenturl: u = "" } = e, { touridx: a } = e, { endpoint: d = "" } = e, { showdetails: g = "" } = e, { showslider: h = "" } = e, { showenrolled: y = "" } = e, { maxwidth: C = "" } = e, { fullsize: E = "" } = e, { lang: w = "" } = e, { loginevent: A = "" } = e, { registerevent: D = "" } = e, { loginurl: F = "" } = e, { registerurl: z = "" } = e, { currency: v = "" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling: m = "" } = e, { clientstylingurl: q = "" } = e, { translationurl: W = "" } = e, { tournamentinfo: K } = e, R, J = !1, X = "", U = !0, fe = window.navigator.userAgent, V = !1, Z = !1, ce = "There was an error while trying to join the tournament", $ = !1, ee, de, me, H, L, ge, te, he, pe, we = [], ne = [], be = "#", re, Q = !1;
1004
+ mt({ withLocale: "en", translations: {} });
1005
+ const Oe = () => {
1006
+ fetch(W).then((p) => p.json()).then((p) => {
1007
+ Object.keys(p).forEach((B) => {
1008
+ Be(B, p[B]);
1009
+ });
1010
+ }).catch((p) => {
1011
+ console.log(p);
1012
+ });
1013
+ };
1014
+ Object.keys(je).forEach((i) => {
1015
+ Be(i, je[i]);
1016
+ });
1017
+ const ke = (i) => {
1018
+ Je(i), oe(i), ze(this, L);
1019
+ }, _e = (i) => {
1020
+ if (i.data && i.data.type == "UserSessionID" && (t(14, J = !0), X = i.data.session), i.data.type == "UpdateTournamentView") {
1021
+ let p = i.data.tournamentData;
1022
+ if (L && L != p.id)
1023
+ return;
1024
+ ke(p);
1025
+ }
1026
+ if (i.data && i.data.type == `UpdateSingleTournament_${a}`) {
1027
+ let p = i.data.tournamentData, B = a < 4 ? a * 100 : Math.random() * 300 + 300;
1028
+ t(31, Q = a == 1), setTimeout(
1029
+ () => {
1030
+ t(31, Q = !0), t(24, L = p.id), ke(p);
1031
+ },
1032
+ B
1033
+ ), setTimeout(
1034
+ () => {
1035
+ t(31, Q = !1);
1036
+ },
1037
+ B + 200
1038
+ );
1039
+ }
1040
+ }, Je = (i) => {
1041
+ i.state != H && (t(23, H = i.state), window.postMessage(
1042
+ {
1043
+ type: `TournamentStatus_${L}`,
1044
+ status: H
1045
+ },
1046
+ window.location.href
1047
+ ));
1048
+ }, ye = () => {
1049
+ A && (window.postMessage({ type: A, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1050
+ context: "TournamentsThumbnailController"
1051
+ })), F && (window.location = F);
1052
+ }, Te = () => {
1053
+ D && (window.postMessage(
1054
+ {
1055
+ type: D,
1056
+ transition: "Register"
1057
+ },
1058
+ window.location.href
1059
+ ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1060
+ context: "TournamentsThumbnailController"
1061
+ })), z && (window.location = z);
1062
+ }, ie = (i) => {
1063
+ window.postMessage(
1064
+ {
1065
+ type: "TournamentDetailsClicked",
1066
+ tournamentId: i,
1067
+ showLeaderboard: !0
1068
+ },
1069
+ window.location.href
1070
+ );
1071
+ }, Fe = (i, p) => le(this, null, function* () {
1072
+ var Se;
1073
+ t(17, Z = !1), t(19, $ = !1), window.postMessage(
1074
+ {
1075
+ type: "TournamentJoinRequest",
1076
+ tournamentId: i
1077
+ },
1078
+ window.location.href
1079
+ ), t(16, V = !0);
1080
+ let B = new URL(`${d}/v1/bonus/claim`), Y = new Headers(), O = {};
1081
+ B.searchParams.append("language", w), B.searchParams.append("platform", Ee(fe)), Y.append("Content-Type", "application/json"), Y.append("X-SessionID", X), p && p.length >= 1 && (O = {
1082
+ language: w,
1083
+ bonusCode: p[0].code,
1084
+ currency: v,
1085
+ type: "tournament"
1086
+ });
1087
+ let Ye = {
1088
+ method: "PUT",
1089
+ headers: Y,
1090
+ body: JSON.stringify(O)
1091
+ };
1092
+ const ve = () => {
1093
+ t(16, V = !1), t(26, te = !0);
1094
+ }, se = (j) => {
1095
+ t(16, V = !1), j && t(18, ce = j), t(17, Z = !0);
1096
+ }, N = yield le(this, null, function* () {
1097
+ let j;
1098
+ try {
1099
+ j = yield fetch(B, Ye), j = yield j.json();
1100
+ } catch (Et) {
1101
+ se();
1102
+ }
1103
+ return j;
1104
+ });
1105
+ if (N)
1106
+ if (N.success == !0)
1107
+ ve();
1108
+ else if (N.errorMessage.match("VersionMismatchException")) {
1109
+ let j;
1110
+ j = yield fetch(`${d}/tournaments/${L}`, { headers: { "X-SessionID": o } }), j = yield j.json(), (Se = j == null ? void 0 : j.item) != null && Se.playerEnrolled ? ve() : (se(N.errorMessage), t(19, $ = !0), t(17, Z = !1));
1111
+ } else
1112
+ se(N.errorMessage);
1113
+ }), ze = (i, p) => {
1114
+ window.postMessage(
1115
+ {
1116
+ type: `TournamentPrizes_${p}`,
1117
+ prizes: we
1118
+ },
1119
+ window.location.href
1120
+ );
1121
+ }, oe = (i) => {
1122
+ i && (t(20, ee = i.nameOrTitle || ""), t(21, de = i.startTime), t(22, me = i.endTime), t(23, H = i.state), t(24, L = i.id), t(25, ge = i.thumbnail), t(26, te = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(27, he = i.scoreCriteria), t(28, pe = i.minBetCount), we = i.prizes, t(29, ne = i.wallets || []), t(30, be = i.termsUrl || "#"));
1123
+ }, Ue = (i) => {
1124
+ t(15, U = !0);
1125
+ let p = new URL(i), B = new Headers();
1126
+ p.searchParams.append("language", w), p.searchParams.append("platform", Ee(fe)), J && B.append("X-SessionID", X), fetch(p, { method: "GET", headers: B }).then((O) => O.json()).then((O) => {
1127
+ oe(O.item);
1128
+ }).finally(() => {
1129
+ t(15, U = !1);
1130
+ });
1131
+ }, He = () => {
1132
+ o.length > 0 && o != "false" ? (X = o, t(14, J = !0)) : t(14, J = !1);
1133
+ }, Ne = () => {
1134
+ if (K) {
1135
+ oe(K);
1136
+ return;
1137
+ }
1138
+ t(15, U = !0), Ue(u);
1139
+ }, Ge = () => {
1140
+ let i = document.createElement("style");
1141
+ i.innerHTML = m, R.appendChild(i);
1142
+ }, qe = () => {
1143
+ let i = new URL(q), p = document.createElement("style");
1144
+ fetch(i.href).then((B) => B.text()).then((B) => {
1145
+ p.innerHTML = B, setTimeout(
1146
+ () => {
1147
+ R.appendChild(p);
1148
+ },
1149
+ 1
1150
+ ), setTimeout(
1151
+ () => {
1152
+ },
1153
+ 500
1154
+ );
1155
+ });
1156
+ };
1157
+ lt(() => (t(15, U = !ee), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", _e, !1), () => {
1158
+ window.removeEventListener("message", _e);
1159
+ }));
1160
+ const We = () => ye(), Ke = () => Te(), Xe = () => ie(L), Ve = () => Fe(L, ne), Ze = () => ie(L);
1161
+ function Qe(i) {
1162
+ ft[i ? "unshift" : "push"](() => {
1163
+ R = i, t(13, R);
1164
+ });
1165
+ }
1166
+ return r.$$set = (i) => {
1167
+ "session" in i && t(0, o = i.session), "userid" in i && t(1, s = i.userid), "tournamenturl" in i && t(2, u = i.tournamenturl), "touridx" in i && t(38, a = i.touridx), "endpoint" in i && t(39, d = i.endpoint), "showdetails" in i && t(3, g = i.showdetails), "showslider" in i && t(4, h = i.showslider), "showenrolled" in i && t(5, y = i.showenrolled), "maxwidth" in i && t(6, C = i.maxwidth), "fullsize" in i && t(7, E = i.fullsize), "lang" in i && t(8, w = i.lang), "loginevent" in i && t(40, A = i.loginevent), "registerevent" in i && t(41, D = i.registerevent), "loginurl" in i && t(42, F = i.loginurl), "registerurl" in i && t(43, z = i.registerurl), "currency" in i && t(44, v = i.currency), "keepbrowsercontext" in i && t(9, f = i.keepbrowsercontext), "clientstyling" in i && t(10, m = i.clientstyling), "clientstylingurl" in i && t(11, q = i.clientstylingurl), "translationurl" in i && t(12, W = i.translationurl), "tournamentinfo" in i && t(45, K = i.tournamentinfo);
1168
+ }, r.$$.update = () => {
1169
+ r.$$.dirty[0] & /*lang*/
1170
+ 256 && w && gt(w), r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
1171
+ 9216 && R && m && Ge(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
1172
+ 10240 && R && q && qe(), r.$$.dirty[0] & /*translationurl*/
1173
+ 4096 && W && Oe(), r.$$.dirty[0] & /*session*/
1174
+ 1 && o && He(), r.$$.dirty[0] & /*tournamenturl, lang*/
1175
+ 260 && t(46, re = u && w), r.$$.dirty[1] & /*initialParameters*/
1176
+ 32768 && re && Ne();
1177
+ }, [
1178
+ o,
1179
+ s,
1180
+ u,
1181
+ g,
1182
+ h,
1183
+ y,
1184
+ C,
1185
+ E,
1186
+ w,
1187
+ f,
1188
+ m,
1189
+ q,
1190
+ W,
1191
+ R,
1192
+ J,
1193
+ U,
1194
+ V,
1195
+ Z,
1196
+ ce,
1197
+ $,
1198
+ ee,
1199
+ de,
1200
+ me,
1201
+ H,
1202
+ L,
1203
+ ge,
1204
+ te,
1205
+ he,
1206
+ pe,
1207
+ ne,
1208
+ be,
1209
+ Q,
1210
+ n,
1211
+ ye,
1212
+ Te,
1213
+ ie,
1214
+ Fe,
1215
+ ze,
1216
+ a,
1217
+ d,
1218
+ A,
1219
+ D,
1220
+ F,
1221
+ z,
1222
+ v,
1223
+ K,
1224
+ re,
1225
+ We,
1226
+ Ke,
1227
+ Xe,
1228
+ Ve,
1229
+ Ze,
1230
+ Qe
1231
+ ];
1232
+ }
1233
+ class vt extends tt {
1234
+ constructor(e) {
1235
+ super(), nt(
1236
+ this,
1237
+ e,
1238
+ zt,
1239
+ Ft,
1240
+ it,
1241
+ {
1242
+ session: 0,
1243
+ userid: 1,
1244
+ tournamenturl: 2,
1245
+ touridx: 38,
1246
+ endpoint: 39,
1247
+ showdetails: 3,
1248
+ showslider: 4,
1249
+ showenrolled: 5,
1250
+ maxwidth: 6,
1251
+ fullsize: 7,
1252
+ lang: 8,
1253
+ loginevent: 40,
1254
+ registerevent: 41,
1255
+ loginurl: 42,
1256
+ registerurl: 43,
1257
+ currency: 44,
1258
+ keepbrowsercontext: 9,
1259
+ clientstyling: 10,
1260
+ clientstylingurl: 11,
1261
+ translationurl: 12,
1262
+ tournamentinfo: 45
1263
+ },
1264
+ ht,
1265
+ [-1, -1, -1]
1266
+ );
1267
+ }
1268
+ get session() {
1269
+ return this.$$.ctx[0];
1270
+ }
1271
+ set session(e) {
1272
+ this.$$set({ session: e }), T();
1273
+ }
1274
+ get userid() {
1275
+ return this.$$.ctx[1];
1276
+ }
1277
+ set userid(e) {
1278
+ this.$$set({ userid: e }), T();
1279
+ }
1280
+ get tournamenturl() {
1281
+ return this.$$.ctx[2];
1282
+ }
1283
+ set tournamenturl(e) {
1284
+ this.$$set({ tournamenturl: e }), T();
1285
+ }
1286
+ get touridx() {
1287
+ return this.$$.ctx[38];
1288
+ }
1289
+ set touridx(e) {
1290
+ this.$$set({ touridx: e }), T();
1291
+ }
1292
+ get endpoint() {
1293
+ return this.$$.ctx[39];
1294
+ }
1295
+ set endpoint(e) {
1296
+ this.$$set({ endpoint: e }), T();
1297
+ }
1298
+ get showdetails() {
1299
+ return this.$$.ctx[3];
1300
+ }
1301
+ set showdetails(e) {
1302
+ this.$$set({ showdetails: e }), T();
1303
+ }
1304
+ get showslider() {
1305
+ return this.$$.ctx[4];
1306
+ }
1307
+ set showslider(e) {
1308
+ this.$$set({ showslider: e }), T();
1309
+ }
1310
+ get showenrolled() {
1311
+ return this.$$.ctx[5];
1312
+ }
1313
+ set showenrolled(e) {
1314
+ this.$$set({ showenrolled: e }), T();
1315
+ }
1316
+ get maxwidth() {
1317
+ return this.$$.ctx[6];
1318
+ }
1319
+ set maxwidth(e) {
1320
+ this.$$set({ maxwidth: e }), T();
1321
+ }
1322
+ get fullsize() {
1323
+ return this.$$.ctx[7];
1324
+ }
1325
+ set fullsize(e) {
1326
+ this.$$set({ fullsize: e }), T();
1327
+ }
1328
+ get lang() {
1329
+ return this.$$.ctx[8];
1330
+ }
1331
+ set lang(e) {
1332
+ this.$$set({ lang: e }), T();
1333
+ }
1334
+ get loginevent() {
1335
+ return this.$$.ctx[40];
1336
+ }
1337
+ set loginevent(e) {
1338
+ this.$$set({ loginevent: e }), T();
1339
+ }
1340
+ get registerevent() {
1341
+ return this.$$.ctx[41];
1342
+ }
1343
+ set registerevent(e) {
1344
+ this.$$set({ registerevent: e }), T();
1345
+ }
1346
+ get loginurl() {
1347
+ return this.$$.ctx[42];
1348
+ }
1349
+ set loginurl(e) {
1350
+ this.$$set({ loginurl: e }), T();
1351
+ }
1352
+ get registerurl() {
1353
+ return this.$$.ctx[43];
1354
+ }
1355
+ set registerurl(e) {
1356
+ this.$$set({ registerurl: e }), T();
1357
+ }
1358
+ get currency() {
1359
+ return this.$$.ctx[44];
1360
+ }
1361
+ set currency(e) {
1362
+ this.$$set({ currency: e }), T();
1363
+ }
1364
+ get keepbrowsercontext() {
1365
+ return this.$$.ctx[9];
1366
+ }
1367
+ set keepbrowsercontext(e) {
1368
+ this.$$set({ keepbrowsercontext: e }), T();
1369
+ }
1370
+ get clientstyling() {
1371
+ return this.$$.ctx[10];
1372
+ }
1373
+ set clientstyling(e) {
1374
+ this.$$set({ clientstyling: e }), T();
1375
+ }
1376
+ get clientstylingurl() {
1377
+ return this.$$.ctx[11];
1378
+ }
1379
+ set clientstylingurl(e) {
1380
+ this.$$set({ clientstylingurl: e }), T();
1381
+ }
1382
+ get translationurl() {
1383
+ return this.$$.ctx[12];
1384
+ }
1385
+ set translationurl(e) {
1386
+ this.$$set({ translationurl: e }), T();
1387
+ }
1388
+ get tournamentinfo() {
1389
+ return this.$$.ctx[45];
1390
+ }
1391
+ set tournamentinfo(e) {
1392
+ this.$$set({ tournamentinfo: e }), T();
1393
+ }
1394
+ }
1395
+ rt(vt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
1396
+ export {
1397
+ vt as default
1398
+ };