@everymatrix/casino-tournaments-thumbnail-controller 1.47.2 → 1.47.3
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.
- package/components/{CasinoTournamentsThumbnailController-CxRhmeo6.js → CasinoTournamentsThumbnailController-0f22AejG.js} +117 -113
- package/components/CasinoTournamentsThumbnailController-CdXalw_u.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailGamesSlider-DO9HhHYe.js → CasinoTournamentsThumbnailGamesSlider-DjflT-BJ.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-ZPScI4BE.cjs → CasinoTournamentsThumbnailGamesSlider-RLb1AvTA.cjs} +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailController-C4NKWsx7.cjs +0 -3
|
@@ -14,7 +14,7 @@ var fe = (r, t, e) => new Promise((n, i) => {
|
|
|
14
14
|
}, l = (f) => f.done ? n(f.value) : Promise.resolve(f.value).then(o, s);
|
|
15
15
|
l((e = e.apply(r, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { _ as he, a as me, b as pe, c as W, $ as
|
|
17
|
+
import { _ as he, a as me, b as pe, c as W, $ as ge, d as Ft, e as Et, S as Ct, i as jt, f as S, g as zt, s as Bt, h as Pt, j as E, k, n as be, l as T, m as Ot, o as Dt, p as It, q as B, r as u, t as h, u as _, v as xt, w as At, x as O, y as D, z as Mt, A as J, B as tt, C as Lt, D as x } from "./CasinoTournamentsThumbnail-Btf_54oJ.js";
|
|
18
18
|
function P(r) {
|
|
19
19
|
return typeof r == "function";
|
|
20
20
|
}
|
|
@@ -33,7 +33,7 @@ var ce = rt(function(r) {
|
|
|
33
33
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
34
34
|
};
|
|
35
35
|
});
|
|
36
|
-
function
|
|
36
|
+
function we(r, t) {
|
|
37
37
|
if (r) {
|
|
38
38
|
var e = r.indexOf(t);
|
|
39
39
|
0 <= e && r.splice(e, 1);
|
|
@@ -73,14 +73,14 @@ var te = function() {
|
|
|
73
73
|
} catch (g) {
|
|
74
74
|
o = g instanceof ce ? g.errors : [g];
|
|
75
75
|
}
|
|
76
|
-
var
|
|
77
|
-
if (
|
|
76
|
+
var y = this._finalizers;
|
|
77
|
+
if (y) {
|
|
78
78
|
this._finalizers = null;
|
|
79
79
|
try {
|
|
80
|
-
for (var F = he(
|
|
81
|
-
var
|
|
80
|
+
for (var F = he(y), v = F.next(); !v.done; v = F.next()) {
|
|
81
|
+
var b = v.value;
|
|
82
82
|
try {
|
|
83
|
-
Re(
|
|
83
|
+
Re(b);
|
|
84
84
|
} catch (g) {
|
|
85
85
|
o = o != null ? o : [], g instanceof ce ? o = me(me([], pe(o)), pe(g.errors)) : o.push(g);
|
|
86
86
|
}
|
|
@@ -89,7 +89,7 @@ var te = function() {
|
|
|
89
89
|
n = { error: g };
|
|
90
90
|
} finally {
|
|
91
91
|
try {
|
|
92
|
-
|
|
92
|
+
v && !v.done && (i = F.return) && i.call(F);
|
|
93
93
|
} finally {
|
|
94
94
|
if (n) throw n.error;
|
|
95
95
|
}
|
|
@@ -119,10 +119,10 @@ var te = function() {
|
|
|
119
119
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
120
120
|
}, r.prototype._removeParent = function(t) {
|
|
121
121
|
var e = this._parentage;
|
|
122
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
122
|
+
e === t ? this._parentage = null : Array.isArray(e) && we(e, t);
|
|
123
123
|
}, r.prototype.remove = function(t) {
|
|
124
124
|
var e = this._finalizers;
|
|
125
|
-
e &&
|
|
125
|
+
e && we(e, t), t instanceof r && t._removeParent(this);
|
|
126
126
|
}, r.EMPTY = function() {
|
|
127
127
|
var t = new r();
|
|
128
128
|
return t.closed = !0, t;
|
|
@@ -169,7 +169,7 @@ var at = function(r) {
|
|
|
169
169
|
return n.isStopped = !1, e ? (n.destination = e, it(e) && e.add(n)) : n.destination = Ht, n;
|
|
170
170
|
}
|
|
171
171
|
return t.create = function(e, n, i) {
|
|
172
|
-
return new
|
|
172
|
+
return new ye(e, n, i);
|
|
173
173
|
}, t.prototype.next = function(e) {
|
|
174
174
|
this.isStopped || this._next(e);
|
|
175
175
|
}, t.prototype.error = function(e) {
|
|
@@ -228,7 +228,7 @@ var Jt = function() {
|
|
|
228
228
|
$(e);
|
|
229
229
|
}
|
|
230
230
|
}, r;
|
|
231
|
-
}(),
|
|
231
|
+
}(), ye = function(r) {
|
|
232
232
|
W(t, r);
|
|
233
233
|
function t(e, n, i) {
|
|
234
234
|
var o = r.call(this) || this, s;
|
|
@@ -284,7 +284,7 @@ var Je = function() {
|
|
|
284
284
|
var e = new r();
|
|
285
285
|
return e.source = this, e.operator = t, e;
|
|
286
286
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
287
|
-
var i = this, o = Vt(t) ? t : new
|
|
287
|
+
var i = this, o = Vt(t) ? t : new ye(t, e, n);
|
|
288
288
|
return ee(function() {
|
|
289
289
|
var s = i, l = s.operator, f = s.source;
|
|
290
290
|
o.add(l ? l.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -298,7 +298,7 @@ var Je = function() {
|
|
|
298
298
|
}, r.prototype.forEach = function(t, e) {
|
|
299
299
|
var n = this;
|
|
300
300
|
return e = We(e), new e(function(i, o) {
|
|
301
|
-
var s = new
|
|
301
|
+
var s = new ye({
|
|
302
302
|
next: function(l) {
|
|
303
303
|
try {
|
|
304
304
|
t(l);
|
|
@@ -418,7 +418,7 @@ var Xt = rt(function(r) {
|
|
|
418
418
|
}, t.prototype._innerSubscribe = function(e) {
|
|
419
419
|
var n = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
|
|
420
420
|
return o || s ? nt : (this.currentObservers = null, l.push(e), new te(function() {
|
|
421
|
-
n.currentObservers = null,
|
|
421
|
+
n.currentObservers = null, we(l, e);
|
|
422
422
|
}));
|
|
423
423
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
424
424
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
@@ -487,13 +487,16 @@ const qe = [], Ge = {}, Zt = (r, t = 0) => {
|
|
|
487
487
|
window.emWidgets = { topic: Zt };
|
|
488
488
|
const Ye = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
489
489
|
function Qt({ withLocale: r, translations: t }) {
|
|
490
|
-
|
|
491
|
-
e == null && (Ft.set(t),
|
|
490
|
+
ge.subscribe((e) => {
|
|
491
|
+
e == null && (Ft.set(t), ge.set(r));
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
494
|
function Ke(r, t) {
|
|
495
495
|
Et(r, t);
|
|
496
496
|
}
|
|
497
|
+
function $t(r) {
|
|
498
|
+
ge.set(r);
|
|
499
|
+
}
|
|
497
500
|
const Ve = {
|
|
498
501
|
en: {
|
|
499
502
|
login: "Log in",
|
|
@@ -639,7 +642,7 @@ if (typeof window != "undefined") {
|
|
|
639
642
|
}
|
|
640
643
|
};
|
|
641
644
|
};
|
|
642
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
645
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-DjflT-BJ.js").then(
|
|
643
646
|
({ default: t }) => {
|
|
644
647
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
645
648
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -648,28 +651,28 @@ if (typeof window != "undefined") {
|
|
|
648
651
|
}
|
|
649
652
|
);
|
|
650
653
|
}
|
|
651
|
-
function
|
|
654
|
+
function er(r) {
|
|
652
655
|
Pt(r, "svelte-e8vjpc", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-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}');
|
|
653
656
|
}
|
|
654
|
-
function
|
|
657
|
+
function tr(r) {
|
|
655
658
|
let t, e, n, i, o, s, l, f, m, d = (
|
|
656
659
|
/*isLoggedIn*/
|
|
657
660
|
r[14] && Xe(r)
|
|
658
661
|
);
|
|
659
|
-
function
|
|
662
|
+
function y(c, p) {
|
|
660
663
|
if (!/*isLoggedIn*/
|
|
661
|
-
c[14]) return
|
|
664
|
+
c[14]) return or;
|
|
662
665
|
if (
|
|
663
666
|
/*status*/
|
|
664
667
|
c[23] != "Closed" && /*status*/
|
|
665
668
|
c[23] != "Closing"
|
|
666
|
-
) return
|
|
669
|
+
) return ir;
|
|
667
670
|
if (
|
|
668
671
|
/*showdetails*/
|
|
669
672
|
c[3] == "true"
|
|
670
|
-
) return
|
|
673
|
+
) return nr;
|
|
671
674
|
}
|
|
672
|
-
let F =
|
|
675
|
+
let F = y(r), v = F && F(r), b = (
|
|
673
676
|
/*errorJoin*/
|
|
674
677
|
(r[17] || /*errorJoinConcurrently*/
|
|
675
678
|
r[19]) && $e(r)
|
|
@@ -679,7 +682,7 @@ function er(r) {
|
|
|
679
682
|
);
|
|
680
683
|
return {
|
|
681
684
|
c() {
|
|
682
|
-
t = E("div"), e = E("casino-tournaments-thumbnail"), n = B(), d && d.c(), i = B(), o = E("div"),
|
|
685
|
+
t = E("div"), e = E("casino-tournaments-thumbnail"), n = B(), d && d.c(), i = B(), o = E("div"), v && v.c(), s = B(), b && b.c(), l = B(), g && g.c(), u(
|
|
683
686
|
e,
|
|
684
687
|
"session",
|
|
685
688
|
/*session*/
|
|
@@ -774,7 +777,7 @@ function er(r) {
|
|
|
774
777
|
(r[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
775
778
|
},
|
|
776
779
|
m(c, p) {
|
|
777
|
-
k(c, t, p), _(t, e), _(t, n), d && d.m(t, null), _(t, i), _(t, o),
|
|
780
|
+
k(c, t, p), _(t, e), _(t, n), d && d.m(t, null), _(t, i), _(t, o), v && v.m(o, null), _(t, s), b && b.m(t, null), _(t, l), g && g.m(t, null);
|
|
778
781
|
},
|
|
779
782
|
p(c, p) {
|
|
780
783
|
p[0] & /*session*/
|
|
@@ -880,9 +883,9 @@ function er(r) {
|
|
|
880
883
|
/*keepbrowsercontext*/
|
|
881
884
|
c[9]
|
|
882
885
|
), /*isLoggedIn*/
|
|
883
|
-
c[14] ? d ? d.p(c, p) : (d = Xe(c), d.c(), d.m(t, i)) : d && (d.d(1), d = null), F === (F =
|
|
886
|
+
c[14] ? d ? d.p(c, p) : (d = Xe(c), d.c(), d.m(t, i)) : d && (d.d(1), d = null), F === (F = y(c)) && v ? v.p(c, p) : (v && v.d(1), v = F && F(c), v && (v.c(), v.m(o, null))), /*errorJoin*/
|
|
884
887
|
c[17] || /*errorJoinConcurrently*/
|
|
885
|
-
c[19] ?
|
|
888
|
+
c[19] ? b ? b.p(c, p) : (b = $e(c), b.c(), b.m(t, l)) : b && (b.d(1), b = null), /*showslider*/
|
|
886
889
|
c[4] == "true" ? g ? g.p(c, p) : (g = et(c), g.c(), g.m(t, null)) : g && (g.d(1), g = null), p[0] & /*maxwidth, fullsize*/
|
|
887
890
|
192 | p[1] & /*isChanging*/
|
|
888
891
|
1 && f !== (f = "TournamentCard " + /*maxwidth*/
|
|
@@ -897,11 +900,11 @@ function er(r) {
|
|
|
897
900
|
(c[31] ? "elementToFadeOut" : "elementToFadeIn")) && h(t, "part", m);
|
|
898
901
|
},
|
|
899
902
|
d(c) {
|
|
900
|
-
c && T(t), d && d.d(),
|
|
903
|
+
c && T(t), d && d.d(), v && v.d(), b && b.d(), g && g.d();
|
|
901
904
|
}
|
|
902
905
|
};
|
|
903
906
|
}
|
|
904
|
-
function
|
|
907
|
+
function rr(r) {
|
|
905
908
|
let t, e, n, i;
|
|
906
909
|
return {
|
|
907
910
|
c() {
|
|
@@ -1106,7 +1109,7 @@ function Ne(r) {
|
|
|
1106
1109
|
}
|
|
1107
1110
|
};
|
|
1108
1111
|
}
|
|
1109
|
-
function
|
|
1112
|
+
function nr(r) {
|
|
1110
1113
|
let t, e = (
|
|
1111
1114
|
/*$_*/
|
|
1112
1115
|
r[32]("details") + ""
|
|
@@ -1133,7 +1136,7 @@ function rr(r) {
|
|
|
1133
1136
|
}
|
|
1134
1137
|
};
|
|
1135
1138
|
}
|
|
1136
|
-
function
|
|
1139
|
+
function ir(r) {
|
|
1137
1140
|
let t, e, n = (
|
|
1138
1141
|
/*showdetails*/
|
|
1139
1142
|
r[3] == "true" && Ze(r)
|
|
@@ -1141,7 +1144,7 @@ function nr(r) {
|
|
|
1141
1144
|
function i(l, f) {
|
|
1142
1145
|
return (
|
|
1143
1146
|
/*userenrolled*/
|
|
1144
|
-
l[26] ?
|
|
1147
|
+
l[26] ? ar : sr
|
|
1145
1148
|
);
|
|
1146
1149
|
}
|
|
1147
1150
|
let o = i(r), s = o(r);
|
|
@@ -1161,7 +1164,7 @@ function nr(r) {
|
|
|
1161
1164
|
}
|
|
1162
1165
|
};
|
|
1163
1166
|
}
|
|
1164
|
-
function
|
|
1167
|
+
function or(r) {
|
|
1165
1168
|
let t, e = (
|
|
1166
1169
|
/*$_*/
|
|
1167
1170
|
r[32]("login") + ""
|
|
@@ -1173,8 +1176,8 @@ function ir(r) {
|
|
|
1173
1176
|
c() {
|
|
1174
1177
|
t = E("button"), n = O(e), i = B(), o = E("button"), l = O(s), h(t, "class", "LoginButton"), h(t, "part", "LoginButton"), h(o, "class", "RegisterButton"), h(o, "part", "RegisterButton");
|
|
1175
1178
|
},
|
|
1176
|
-
m(d,
|
|
1177
|
-
k(d, t,
|
|
1179
|
+
m(d, y) {
|
|
1180
|
+
k(d, t, y), _(t, n), k(d, i, y), k(d, o, y), _(o, l), f || (m = [
|
|
1178
1181
|
J(
|
|
1179
1182
|
t,
|
|
1180
1183
|
"click",
|
|
@@ -1189,10 +1192,10 @@ function ir(r) {
|
|
|
1189
1192
|
)
|
|
1190
1193
|
], f = !0);
|
|
1191
1194
|
},
|
|
1192
|
-
p(d,
|
|
1193
|
-
|
|
1195
|
+
p(d, y) {
|
|
1196
|
+
y[1] & /*$_*/
|
|
1194
1197
|
2 && e !== (e = /*$_*/
|
|
1195
|
-
d[32]("login") + "") && D(n, e),
|
|
1198
|
+
d[32]("login") + "") && D(n, e), y[1] & /*$_*/
|
|
1196
1199
|
2 && s !== (s = /*$_*/
|
|
1197
1200
|
d[32]("register") + "") && D(l, s);
|
|
1198
1201
|
},
|
|
@@ -1228,12 +1231,12 @@ function Ze(r) {
|
|
|
1228
1231
|
}
|
|
1229
1232
|
};
|
|
1230
1233
|
}
|
|
1231
|
-
function
|
|
1234
|
+
function sr(r) {
|
|
1232
1235
|
let t, e, n, i, o;
|
|
1233
1236
|
function s(m, d) {
|
|
1234
1237
|
return (
|
|
1235
1238
|
/*joinButtonLoading*/
|
|
1236
|
-
m[16] == !0 ?
|
|
1239
|
+
m[16] == !0 ? ur : lr
|
|
1237
1240
|
);
|
|
1238
1241
|
}
|
|
1239
1242
|
let l = s(r), f = l(r);
|
|
@@ -1266,7 +1269,7 @@ function or(r) {
|
|
|
1266
1269
|
}
|
|
1267
1270
|
};
|
|
1268
1271
|
}
|
|
1269
|
-
function
|
|
1272
|
+
function ar(r) {
|
|
1270
1273
|
let t, e = (
|
|
1271
1274
|
/*showdetails*/
|
|
1272
1275
|
r[3] == "true" && Qe(r)
|
|
@@ -1287,7 +1290,7 @@ function sr(r) {
|
|
|
1287
1290
|
}
|
|
1288
1291
|
};
|
|
1289
1292
|
}
|
|
1290
|
-
function
|
|
1293
|
+
function lr(r) {
|
|
1291
1294
|
let t, e = (
|
|
1292
1295
|
/*$_*/
|
|
1293
1296
|
r[32]("join") + ""
|
|
@@ -1296,20 +1299,20 @@ function ar(r) {
|
|
|
1296
1299
|
c() {
|
|
1297
1300
|
t = E("span"), n = O(e), i = B(), o = x("svg"), s = x("defs"), l = x("style"), f = O(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"), m = x("g"), d = x("path"), h(t, "part", "JoinButtonSpan"), h(d, "class", "a"), h(d, "part", "a JoinButtonSvgA"), h(d, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), h(d, "transform", "translate(26 26) rotate(180)"), h(m, "transform", "translate(26 26) rotate(180)"), h(o, "part", "JoinButtonSvg"), h(o, "xmlns", "http://www.w3.org/2000/svg"), h(o, "width", "26"), h(o, "height", "26"), h(o, "viewBox", "0 0 26 26");
|
|
1298
1301
|
},
|
|
1299
|
-
m(
|
|
1300
|
-
k(
|
|
1302
|
+
m(y, F) {
|
|
1303
|
+
k(y, t, F), _(t, n), k(y, i, F), k(y, o, F), _(o, s), _(s, l), _(l, f), _(o, m), _(m, d);
|
|
1301
1304
|
},
|
|
1302
|
-
p(
|
|
1305
|
+
p(y, F) {
|
|
1303
1306
|
F[1] & /*$_*/
|
|
1304
1307
|
2 && e !== (e = /*$_*/
|
|
1305
|
-
|
|
1308
|
+
y[32]("join") + "") && D(n, e);
|
|
1306
1309
|
},
|
|
1307
|
-
d(
|
|
1308
|
-
|
|
1310
|
+
d(y) {
|
|
1311
|
+
y && (T(t), T(i), T(o));
|
|
1309
1312
|
}
|
|
1310
1313
|
};
|
|
1311
1314
|
}
|
|
1312
|
-
function
|
|
1315
|
+
function ur(r) {
|
|
1313
1316
|
let t, e;
|
|
1314
1317
|
return {
|
|
1315
1318
|
c() {
|
|
@@ -1318,7 +1321,7 @@ function lr(r) {
|
|
|
1318
1321
|
m(n, i) {
|
|
1319
1322
|
k(n, t, i), _(t, e);
|
|
1320
1323
|
},
|
|
1321
|
-
p:
|
|
1324
|
+
p: be,
|
|
1322
1325
|
d(n) {
|
|
1323
1326
|
n && T(t);
|
|
1324
1327
|
}
|
|
@@ -1448,17 +1451,17 @@ function et(r) {
|
|
|
1448
1451
|
}
|
|
1449
1452
|
};
|
|
1450
1453
|
}
|
|
1451
|
-
function
|
|
1454
|
+
function fr(r) {
|
|
1452
1455
|
let t;
|
|
1453
1456
|
function e(o, s) {
|
|
1454
1457
|
if (
|
|
1455
1458
|
/*isLoading*/
|
|
1456
1459
|
o[15]
|
|
1457
|
-
) return
|
|
1460
|
+
) return rr;
|
|
1458
1461
|
if (
|
|
1459
1462
|
/*title*/
|
|
1460
1463
|
o[20]
|
|
1461
|
-
) return
|
|
1464
|
+
) return tr;
|
|
1462
1465
|
}
|
|
1463
1466
|
let n = e(r), i = n && n(r);
|
|
1464
1467
|
return {
|
|
@@ -1471,44 +1474,44 @@ function ur(r) {
|
|
|
1471
1474
|
p(o, s) {
|
|
1472
1475
|
n === (n = e(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
|
1473
1476
|
},
|
|
1474
|
-
i:
|
|
1475
|
-
o:
|
|
1477
|
+
i: be,
|
|
1478
|
+
o: be,
|
|
1476
1479
|
d(o) {
|
|
1477
1480
|
o && T(t), i && i.d(), r[52](null);
|
|
1478
1481
|
}
|
|
1479
1482
|
};
|
|
1480
1483
|
}
|
|
1481
|
-
function
|
|
1484
|
+
function cr(r, t, e) {
|
|
1482
1485
|
let n;
|
|
1483
1486
|
Ot(r, Mt, (a) => e(32, n = a));
|
|
1484
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: f = "" } = t, { showdetails: m = "" } = t, { showslider: d = "" } = t, { showenrolled:
|
|
1487
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: f = "" } = t, { showdetails: m = "" } = t, { showslider: d = "" } = t, { showenrolled: y = "" } = t, { maxwidth: F = "" } = t, { fullsize: v = "" } = t, { lang: b = "" } = t, { loginevent: g = "" } = t, { registerevent: c = "" } = t, { loginurl: p = "" } = t, { registerurl: H = "" } = t, { currency: re = "" } = t, { keepbrowsercontext: ve = "false" } = t, { clientstyling: q = "" } = t, { clientstylingurl: G = "" } = t, { translationurl: Y = "" } = t, { tournamentinfo: K } = t, I, M = !1, V = "", L = !0, _e = window.navigator.userAgent, X = !1, N = !1, ke = "There was an error while trying to join the tournament", ne = !1, Te, Se, Fe, R, z, Ee, ie, Ce, je, ze = [], oe = [], Be = "#", se, Z = !1;
|
|
1485
1488
|
Qt({ withLocale: "en", translations: {} });
|
|
1486
1489
|
const ct = () => {
|
|
1487
|
-
fetch(Y).then((
|
|
1488
|
-
Object.keys(
|
|
1489
|
-
Ke(C,
|
|
1490
|
+
fetch(Y).then((w) => w.json()).then((w) => {
|
|
1491
|
+
Object.keys(w).forEach((C) => {
|
|
1492
|
+
Ke(C, w[C]);
|
|
1490
1493
|
});
|
|
1491
|
-
}).catch((
|
|
1492
|
-
console.log(
|
|
1494
|
+
}).catch((w) => {
|
|
1495
|
+
console.log(w);
|
|
1493
1496
|
});
|
|
1494
1497
|
};
|
|
1495
1498
|
Object.keys(Ve).forEach((a) => {
|
|
1496
1499
|
Ke(a, Ve[a]);
|
|
1497
1500
|
});
|
|
1498
|
-
const
|
|
1499
|
-
dt(a), le(a),
|
|
1500
|
-
},
|
|
1501
|
+
const Pe = (a) => {
|
|
1502
|
+
dt(a), le(a), Ae(this, z);
|
|
1503
|
+
}, Oe = (a) => {
|
|
1501
1504
|
if (a.data && a.data.type == "UserSessionID" && (e(14, M = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
|
|
1502
|
-
let
|
|
1503
|
-
if (z && z !=
|
|
1505
|
+
let w = a.data.tournamentData;
|
|
1506
|
+
if (z && z != w.id)
|
|
1504
1507
|
return;
|
|
1505
|
-
|
|
1508
|
+
Pe(w);
|
|
1506
1509
|
}
|
|
1507
1510
|
if (a.data && a.data.type == `UpdateSingleTournament_${l}`) {
|
|
1508
|
-
let
|
|
1511
|
+
let w = a.data.tournamentData, C = l < 4 ? l * 100 : Math.random() * 300 + 300;
|
|
1509
1512
|
e(31, Z = l == 1), setTimeout(
|
|
1510
1513
|
() => {
|
|
1511
|
-
e(31, Z = !0), e(24, z =
|
|
1514
|
+
e(31, Z = !0), e(24, z = w.id), Pe(w);
|
|
1512
1515
|
},
|
|
1513
1516
|
C
|
|
1514
1517
|
), setTimeout(
|
|
@@ -1526,11 +1529,11 @@ function fr(r, t, e) {
|
|
|
1526
1529
|
},
|
|
1527
1530
|
window.location.href
|
|
1528
1531
|
));
|
|
1529
|
-
},
|
|
1532
|
+
}, De = () => {
|
|
1530
1533
|
g && (window.postMessage({ type: g, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1531
1534
|
context: "TournamentsThumbnailController"
|
|
1532
1535
|
})), p && (window.location = p);
|
|
1533
|
-
},
|
|
1536
|
+
}, Ie = () => {
|
|
1534
1537
|
c && (window.postMessage(
|
|
1535
1538
|
{
|
|
1536
1539
|
type: c,
|
|
@@ -1549,8 +1552,8 @@ function fr(r, t, e) {
|
|
|
1549
1552
|
},
|
|
1550
1553
|
window.location.href
|
|
1551
1554
|
);
|
|
1552
|
-
},
|
|
1553
|
-
var
|
|
1555
|
+
}, xe = (a, w) => fe(this, null, function* () {
|
|
1556
|
+
var Le;
|
|
1554
1557
|
e(17, N = !1), e(19, ne = !1), window.postMessage(
|
|
1555
1558
|
{
|
|
1556
1559
|
type: "TournamentJoinRequest",
|
|
@@ -1559,9 +1562,9 @@ function fr(r, t, e) {
|
|
|
1559
1562
|
window.location.href
|
|
1560
1563
|
), e(16, X = !0);
|
|
1561
1564
|
let C = new URL(`${f}/v1/bonus/claim`), Q = new Headers(), A = {};
|
|
1562
|
-
C.searchParams.append("language",
|
|
1563
|
-
language:
|
|
1564
|
-
bonusCode:
|
|
1565
|
+
C.searchParams.append("language", b), C.searchParams.append("platform", Ye(_e)), Q.append("Content-Type", "application/json"), Q.append("X-SessionID", V), w && w.length >= 1 && (A = {
|
|
1566
|
+
language: b,
|
|
1567
|
+
bonusCode: w[0].code,
|
|
1565
1568
|
currency: re,
|
|
1566
1569
|
type: "tournament"
|
|
1567
1570
|
});
|
|
@@ -1570,41 +1573,41 @@ function fr(r, t, e) {
|
|
|
1570
1573
|
headers: Q,
|
|
1571
1574
|
body: JSON.stringify(A)
|
|
1572
1575
|
};
|
|
1573
|
-
const
|
|
1576
|
+
const Me = () => {
|
|
1574
1577
|
e(16, X = !1), e(26, ie = !0);
|
|
1575
1578
|
}, ue = (j) => {
|
|
1576
|
-
e(16, X = !1), j && e(18,
|
|
1579
|
+
e(16, X = !1), j && e(18, ke = j), e(17, N = !0);
|
|
1577
1580
|
}, U = yield fe(this, null, function* () {
|
|
1578
1581
|
let j;
|
|
1579
1582
|
try {
|
|
1580
1583
|
j = yield fetch(C, St), j = yield j.json();
|
|
1581
|
-
} catch (
|
|
1584
|
+
} catch (hr) {
|
|
1582
1585
|
ue();
|
|
1583
1586
|
}
|
|
1584
1587
|
return j;
|
|
1585
1588
|
});
|
|
1586
1589
|
if (U)
|
|
1587
1590
|
if (U.success == !0)
|
|
1588
|
-
|
|
1591
|
+
Me();
|
|
1589
1592
|
else if (U.errorMessage.match("VersionMismatchException")) {
|
|
1590
1593
|
let j;
|
|
1591
|
-
j = yield fetch(`${f}/tournaments/${z}`, { headers: { "X-SessionID": i } }), j = yield j.json(), (
|
|
1594
|
+
j = yield fetch(`${f}/tournaments/${z}`, { headers: { "X-SessionID": i } }), j = yield j.json(), (Le = j == null ? void 0 : j.item) != null && Le.playerEnrolled ? Me() : (ue(U.errorMessage), e(19, ne = !0), e(17, N = !1));
|
|
1592
1595
|
} else
|
|
1593
1596
|
ue(U.errorMessage);
|
|
1594
|
-
}),
|
|
1597
|
+
}), Ae = (a, w) => {
|
|
1595
1598
|
window.postMessage(
|
|
1596
1599
|
{
|
|
1597
|
-
type: `TournamentPrizes_${
|
|
1598
|
-
prizes:
|
|
1600
|
+
type: `TournamentPrizes_${w}`,
|
|
1601
|
+
prizes: ze
|
|
1599
1602
|
},
|
|
1600
1603
|
window.location.href
|
|
1601
1604
|
);
|
|
1602
1605
|
}, le = (a) => {
|
|
1603
|
-
a && (e(20,
|
|
1606
|
+
a && (e(20, Te = a.nameOrTitle || ""), e(21, Se = a.startTime), e(22, Fe = a.endTime), e(23, R = a.state), e(24, z = a.id), e(25, Ee = a.thumbnail), e(26, ie = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(27, Ce = a.scoreCriteria), e(28, je = a.minBetCount), ze = a.prizes, e(29, oe = a.wallets || []), e(30, Be = a.termsUrl || "#"));
|
|
1604
1607
|
}, ht = (a) => {
|
|
1605
1608
|
e(15, L = !0);
|
|
1606
|
-
let
|
|
1607
|
-
|
|
1609
|
+
let w = new URL(a), C = new Headers();
|
|
1610
|
+
w.searchParams.append("language", b), w.searchParams.append("platform", Ye(_e)), M && C.append("X-SessionID", V), fetch(w, { method: "GET", headers: C }).then((A) => A.json()).then((A) => {
|
|
1608
1611
|
e(15, L = !1), le(A.item);
|
|
1609
1612
|
});
|
|
1610
1613
|
}, mt = () => {
|
|
@@ -1619,11 +1622,11 @@ function fr(r, t, e) {
|
|
|
1619
1622
|
let a = document.createElement("style");
|
|
1620
1623
|
a.innerHTML = q, I.appendChild(a);
|
|
1621
1624
|
}, bt = () => {
|
|
1622
|
-
let a = new URL(G),
|
|
1625
|
+
let a = new URL(G), w = document.createElement("style");
|
|
1623
1626
|
fetch(a.href).then((C) => C.text()).then((C) => {
|
|
1624
|
-
|
|
1627
|
+
w.innerHTML = C, setTimeout(
|
|
1625
1628
|
() => {
|
|
1626
|
-
I.appendChild(
|
|
1629
|
+
I.appendChild(w);
|
|
1627
1630
|
},
|
|
1628
1631
|
1
|
|
1629
1632
|
), setTimeout(
|
|
@@ -1633,24 +1636,25 @@ function fr(r, t, e) {
|
|
|
1633
1636
|
);
|
|
1634
1637
|
});
|
|
1635
1638
|
};
|
|
1636
|
-
Dt(() => (e(15, L = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message",
|
|
1637
|
-
window.removeEventListener("message",
|
|
1639
|
+
Dt(() => (e(15, L = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Oe, !1), () => {
|
|
1640
|
+
window.removeEventListener("message", Oe);
|
|
1638
1641
|
}));
|
|
1639
|
-
const wt = () =>
|
|
1642
|
+
const wt = () => De(), yt = () => Ie(), vt = () => ae(z), _t = () => xe(z, oe), kt = () => ae(z);
|
|
1640
1643
|
function Tt(a) {
|
|
1641
1644
|
It[a ? "unshift" : "push"](() => {
|
|
1642
1645
|
I = a, e(13, I);
|
|
1643
1646
|
});
|
|
1644
1647
|
}
|
|
1645
1648
|
return r.$$set = (a) => {
|
|
1646
|
-
"session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39, f = a.endpoint), "showdetails" in a && e(3, m = a.showdetails), "showslider" in a && e(4, d = a.showslider), "showenrolled" in a && e(5,
|
|
1649
|
+
"session" in a && e(0, i = a.session), "userid" in a && e(1, o = a.userid), "tournamenturl" in a && e(2, s = a.tournamenturl), "touridx" in a && e(38, l = a.touridx), "endpoint" in a && e(39, f = a.endpoint), "showdetails" in a && e(3, m = a.showdetails), "showslider" in a && e(4, d = a.showslider), "showenrolled" in a && e(5, y = a.showenrolled), "maxwidth" in a && e(6, F = a.maxwidth), "fullsize" in a && e(7, v = a.fullsize), "lang" in a && e(8, b = a.lang), "loginevent" in a && e(40, g = a.loginevent), "registerevent" in a && e(41, c = a.registerevent), "loginurl" in a && e(42, p = a.loginurl), "registerurl" in a && e(43, H = a.registerurl), "currency" in a && e(44, re = a.currency), "keepbrowsercontext" in a && e(9, ve = a.keepbrowsercontext), "clientstyling" in a && e(10, q = a.clientstyling), "clientstylingurl" in a && e(11, G = a.clientstylingurl), "translationurl" in a && e(12, Y = a.translationurl), "tournamentinfo" in a && e(45, K = a.tournamentinfo);
|
|
1647
1650
|
}, r.$$.update = () => {
|
|
1648
|
-
r.$$.dirty[0] & /*
|
|
1651
|
+
r.$$.dirty[0] & /*lang*/
|
|
1652
|
+
256 && b && $t(b), r.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
1649
1653
|
9216 && I && q && gt(), r.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
1650
1654
|
10240 && I && G && bt(), r.$$.dirty[0] & /*translationurl*/
|
|
1651
1655
|
4096 && Y && ct(), r.$$.dirty[0] & /*session*/
|
|
1652
1656
|
1 && i && mt(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1653
|
-
260 && e(46, se = s &&
|
|
1657
|
+
260 && e(46, se = s && b), r.$$.dirty[1] & /*initialParameters*/
|
|
1654
1658
|
32768 && se && pt();
|
|
1655
1659
|
}, [
|
|
1656
1660
|
i,
|
|
@@ -1658,11 +1662,11 @@ function fr(r, t, e) {
|
|
|
1658
1662
|
s,
|
|
1659
1663
|
m,
|
|
1660
1664
|
d,
|
|
1661
|
-
w,
|
|
1662
|
-
F,
|
|
1663
1665
|
y,
|
|
1666
|
+
F,
|
|
1664
1667
|
v,
|
|
1665
|
-
|
|
1668
|
+
b,
|
|
1669
|
+
ve,
|
|
1666
1670
|
q,
|
|
1667
1671
|
G,
|
|
1668
1672
|
Y,
|
|
@@ -1671,26 +1675,26 @@ function fr(r, t, e) {
|
|
|
1671
1675
|
L,
|
|
1672
1676
|
X,
|
|
1673
1677
|
N,
|
|
1674
|
-
_e,
|
|
1675
|
-
ne,
|
|
1676
1678
|
ke,
|
|
1679
|
+
ne,
|
|
1677
1680
|
Te,
|
|
1678
1681
|
Se,
|
|
1682
|
+
Fe,
|
|
1679
1683
|
R,
|
|
1680
1684
|
z,
|
|
1681
|
-
Fe,
|
|
1682
|
-
ie,
|
|
1683
1685
|
Ee,
|
|
1686
|
+
ie,
|
|
1684
1687
|
Ce,
|
|
1688
|
+
je,
|
|
1685
1689
|
oe,
|
|
1686
|
-
|
|
1690
|
+
Be,
|
|
1687
1691
|
Z,
|
|
1688
1692
|
n,
|
|
1689
|
-
Oe,
|
|
1690
1693
|
De,
|
|
1691
|
-
ae,
|
|
1692
1694
|
Ie,
|
|
1695
|
+
ae,
|
|
1693
1696
|
xe,
|
|
1697
|
+
Ae,
|
|
1694
1698
|
l,
|
|
1695
1699
|
f,
|
|
1696
1700
|
g,
|
|
@@ -1713,8 +1717,8 @@ class ft extends Ct {
|
|
|
1713
1717
|
super(), jt(
|
|
1714
1718
|
this,
|
|
1715
1719
|
t,
|
|
1720
|
+
cr,
|
|
1716
1721
|
fr,
|
|
1717
|
-
ur,
|
|
1718
1722
|
Bt,
|
|
1719
1723
|
{
|
|
1720
1724
|
session: 0,
|
|
@@ -1739,7 +1743,7 @@ class ft extends Ct {
|
|
|
1739
1743
|
translationurl: 12,
|
|
1740
1744
|
tournamentinfo: 45
|
|
1741
1745
|
},
|
|
1742
|
-
|
|
1746
|
+
er,
|
|
1743
1747
|
[-1, -1, -1]
|
|
1744
1748
|
);
|
|
1745
1749
|
}
|
|
@@ -1871,11 +1875,11 @@ class ft extends Ct {
|
|
|
1871
1875
|
}
|
|
1872
1876
|
}
|
|
1873
1877
|
zt(ft, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
|
|
1874
|
-
const
|
|
1878
|
+
const gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1875
1879
|
__proto__: null,
|
|
1876
1880
|
default: ft
|
|
1877
1881
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1878
1882
|
export {
|
|
1879
|
-
|
|
1883
|
+
gr as C,
|
|
1880
1884
|
Ye as g
|
|
1881
1885
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";var Q=(r,t,e)=>new Promise((i,o)=>{var s=c=>{try{u(e.next(c))}catch(m){o(m)}},a=c=>{try{u(e.throw(c))}catch(m){o(m)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);u((e=e.apply(r,t)).next())});const n=require("./CasinoTournamentsThumbnail-BeiZbja8.cjs");function F(r){return typeof r=="function"}function Le(r){var t=function(i){Error.call(i),i.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var $=Le(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
|
+
`+e.map(function(i,o){return o+1+") "+i.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=e}});function te(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var H=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=n.__values(a),c=u.next();!c.done;c=u.next()){var m=c.value;m.remove(this)}}catch(p){t={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(F(d))try{d()}catch(p){s=p instanceof $?p.errors:[p]}var b=this._finalizers;if(b){this._finalizers=null;try{for(var v=n.__values(b),w=v.next();!w.done;w=v.next()){var _=w.value;try{Te(_)}catch(p){s=s!=null?s:[],p instanceof $?s=n.__spreadArray(n.__spreadArray([],n.__read(s)),n.__read(p.errors)):s.push(p)}}}catch(p){i={error:p}}finally{try{w&&!w.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}}if(s)throw new $(s)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&te(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&te(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),Re=H.EMPTY;function Ue(r){return r instanceof H||r&&"closed"in r&&F(r.remove)&&F(r.add)&&F(r.unsubscribe)}function Te(r){F(r)?r():r.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},We={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,n.__spreadArray([r,t],n.__read(e)))},clearTimeout:function(r){var t=We.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(r)},delegate:void 0};function at(r){We.setTimeout(function(){throw r})}function Fe(){}function W(r){r()}var He=function(r){n.__extends(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,Ue(e)&&e.add(i)):i.destination=ft,i}return t.create=function(e,i,o){return new ne(e,i,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(H),lt=Function.prototype.bind;function ee(r,t){return lt.call(r,t)}var ut=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){J(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){J(i)}else J(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){J(e)}},r}(),ne=function(r){n.__extends(t,r);function t(e,i,o){var s=r.call(this)||this,a;if(F(e)||!e)a={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0};else{var u;s&&Je.useDeprecatedNextContext?(u=Object.create(e),u.unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&ee(e.next,u),error:e.error&&ee(e.error,u),complete:e.complete&&ee(e.complete,u)}):a=e}return s.destination=new ut(a),s}return t}(He);function J(r){at(r)}function ct(r){throw r}var ft={closed:!0,next:Fe,error:ct,complete:Fe},dt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function mt(r){return r}function ht(r){return r.length===0?mt:r.length===1?r[0]:function(e){return r.reduce(function(i,o){return o(i)},e)}}var Se=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var o=this,s=_t(t)?t:new ne(t,e,i);return W(function(){var a=o,u=a.operator,c=a.source;s.add(u?u.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=Ee(e),new e(function(o,s){var a=new ne({next:function(u){try{t(u)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[dt]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ht(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Ee(t),new t(function(i,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(t){return new r(t)},r}();function Ee(r){var t;return(t=r!=null?r:Je.Promise)!==null&&t!==void 0?t:Promise}function pt(r){return r&&F(r.next)&&F(r.error)&&F(r.complete)}function _t(r){return r&&r instanceof He||pt(r)&&Ue(r)}var gt=Le(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=function(r){n.__extends(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Ce(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new gt},t.prototype.next=function(e){var i=this;W(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=n.__values(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(e)}}catch(m){o={error:m}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,o=this,s=o.hasError,a=o.isStopped,u=o.observers;return s||a?Re:(this.currentObservers=null,u.push(e),new H(function(){i.currentObservers=null,te(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new Se;return e.source=this,e},t.create=function(e,i){return new Ce(e,i)},t}(Se),Ce=function(r){n.__extends(t,r);function t(e,i){var o=r.call(this)||this;return o.destination=e,o.source=i,o}return t.prototype.next=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,e)},t.prototype.error=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&o!==void 0?o:Re},t}(qe),Ge={now:function(){return(Ge.delegate||Date).now()},delegate:void 0},bt=function(r){n.__extends(t,r);function t(e,i,o){e===void 0&&(e=1/0),i===void 0&&(i=1/0),o===void 0&&(o=Ge);var s=r.call(this)||this;return s._bufferSize=e,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,i),s}return t.prototype.next=function(e){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;o||(s.push(e),!a&&s.push(u.now()+c)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),c=0;c<u.length&&!e.closed;c+=s?1:2)e.next(u[c]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<s.length&&s.splice(0,s.length-u),!a){for(var c=o.now(),m=0,d=1;d<s.length&&s[d]<=c;d+=2)m=d;m&&s.splice(0,m+1)}},t}(qe);const je=[],ze={},wt=(r,t=0)=>{if(je.indexOf(r)==-1){const e=new bt(t);ze[r]=e,je.push(r)}return ze[r]};window.emWidgets={topic:wt};const re=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function vt({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function Pe(r,t){n.addMessages(r,t)}function yt(r){n.$locale.set(r)}const Be={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"}};if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-BeiZbja8.cjs")).then(t=>t.CasinoTournamentsThumbnail_ce).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-BirWQ4sr.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-OHSQvZTk.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-RLb1AvTA.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function kt(r){n.append_styles(r,"svelte-e8vjpc",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-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}')}function Tt(r){let t,e,i,o,s,a,u,c,m,d=r[14]&&xe(r);function b(f,h){if(!f[14])return Ct;if(f[23]!="Closed"&&f[23]!="Closing")return Et;if(f[3]=="true")return St}let v=b(r),w=v&&v(r),_=(r[17]||r[19])&&Ie(r),p=r[4]=="true"&&Me(r);return{c(){t=n.element("div"),e=n.element("casino-tournaments-thumbnail"),i=n.space(),d&&d.c(),o=n.space(),s=n.element("div"),w&&w.c(),a=n.space(),_&&_.c(),u=n.space(),p&&p.c(),n.set_custom_element_data(e,"session",r[0]),n.set_custom_element_data(e,"userid",r[1]),n.set_custom_element_data(e,"title",r[20]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"tourid",r[24]),n.set_custom_element_data(e,"scorecriteria",r[27]),n.set_custom_element_data(e,"minbetcount",r[28]),n.set_custom_element_data(e,"thumbnail",r[25]),n.set_custom_element_data(e,"showenrolled",r[5]),n.set_custom_element_data(e,"gameurl",r[30]),n.set_custom_element_data(e,"userenrolled",r[26]),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"keepbrowsercontext",r[9]),n.set_custom_element_data(e,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(s,"class","TournamentButtons"),n.attr(s,"part","TournamentButtons"),n.attr(t,"class",c="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",m="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(f,h){n.insert(f,t,h),n.append(t,e),n.append(t,i),d&&d.m(t,null),n.append(t,o),n.append(t,s),w&&w.m(s,null),n.append(t,a),_&&_.m(t,null),n.append(t,u),p&&p.m(t,null)},p(f,h){h[0]&1&&n.set_custom_element_data(e,"session",f[0]),h[0]&2&&n.set_custom_element_data(e,"userid",f[1]),h[0]&1048576&&n.set_custom_element_data(e,"title",f[20]),h[0]&8388608&&n.set_custom_element_data(e,"status",f[23]),h[0]&2097152&&n.set_custom_element_data(e,"startdate",f[21]),h[0]&16777216&&n.set_custom_element_data(e,"tourid",f[24]),h[0]&134217728&&n.set_custom_element_data(e,"scorecriteria",f[27]),h[0]&268435456&&n.set_custom_element_data(e,"minbetcount",f[28]),h[0]&33554432&&n.set_custom_element_data(e,"thumbnail",f[25]),h[0]&32&&n.set_custom_element_data(e,"showenrolled",f[5]),h[0]&1073741824&&n.set_custom_element_data(e,"gameurl",f[30]),h[0]&67108864&&n.set_custom_element_data(e,"userenrolled",f[26]),h[0]&1024&&n.set_custom_element_data(e,"clientstyling",f[10]),h[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",f[11]),h[0]&4096&&n.set_custom_element_data(e,"translationurl",f[12]),h[0]&256&&n.set_custom_element_data(e,"lang",f[8]),h[0]&512&&n.set_custom_element_data(e,"keepbrowsercontext",f[9]),f[14]?d?d.p(f,h):(d=xe(f),d.c(),d.m(t,o)):d&&(d.d(1),d=null),v===(v=b(f))&&w?w.p(f,h):(w&&w.d(1),w=v&&v(f),w&&(w.c(),w.m(s,null))),f[17]||f[19]?_?_.p(f,h):(_=Ie(f),_.c(),_.m(t,u)):_&&(_.d(1),_=null),f[4]=="true"?p?p.p(f,h):(p=Me(f),p.c(),p.m(t,null)):p&&(p.d(1),p=null),h[0]&192|h[1]&1&&c!==(c="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",c),h[0]&192|h[1]&1&&m!==(m="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",m)},d(f){f&&n.detach(t),d&&d.d(),w&&w.d(),_&&_.d(),p&&p.d()}}}function Ft(r){let t,e,i,o;return{c(){t=n.element("div"),e=n.element("div"),e.innerHTML='<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>',n.attr(e,"class","ph-item"),n.attr(e,"part","ph-item"),n.attr(t,"class",i="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",o="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(s,a){n.insert(s,t,a),n.append(t,e)},p(s,a){a[0]&192|a[1]&1&&i!==(i="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",i),a[0]&192|a[1]&1&&o!==(o="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",o)},d(s){s&&n.detach(t)}}}function xe(r){let t,e,i=r[24]&&Oe(r);return{c(){i&&i.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"enddate",r[22]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill")},m(o,s){i&&i.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[24]?i?i.p(o,s):(i=Oe(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&8388608&&n.set_custom_element_data(e,"status",o[23]),s[0]&2097152&&n.set_custom_element_data(e,"startdate",o[21]),s[0]&256&&n.set_custom_element_data(e,"lang",o[8]),s[0]&4194304&&n.set_custom_element_data(e,"enddate",o[22])},d(o){o&&(n.detach(t),n.detach(e)),i&&i.d(o)}}}function Oe(r){let t,e,i,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",r[24]),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),i||(o=n.action_destroyer(e=r[37].call(null,t,r[24])),i=!0)},p(s,a){a[0]&16777216&&n.set_custom_element_data(t,"tourid",s[24]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&16777216&&e.update.call(null,s[24])},d(s){s&&n.detach(t),i=!1,o()}}}function St(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[51]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Et(r){let t,e,i=r[3]=="true"&&De(r);function o(u,c){return u[26]?zt:jt}let s=o(r),a=s(r);return{c(){i&&i.c(),t=n.space(),a.c(),e=n.empty()},m(u,c){i&&i.m(u,c),n.insert(u,t,c),a.m(u,c),n.insert(u,e,c)},p(u,c){u[3]=="true"?i?i.p(u,c):(i=De(u),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s===(s=o(u))&&a?a.p(u,c):(a.d(1),a=s(u),a&&(a.c(),a.m(e.parentNode,e)))},d(u){u&&(n.detach(t),n.detach(e)),i&&i.d(u),a.d(u)}}}function Ct(r){let t,e=r[32]("login")+"",i,o,s,a=r[32]("register")+"",u,c,m;return{c(){t=n.element("button"),i=n.text(e),o=n.space(),s=n.element("button"),u=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(d,b){n.insert(d,t,b),n.append(t,i),n.insert(d,o,b),n.insert(d,s,b),n.append(s,u),c||(m=[n.listen(t,"click",r[47]),n.listen(s,"click",r[48])],c=!0)},p(d,b){b[1]&2&&e!==(e=d[32]("login")+"")&&n.set_data(i,e),b[1]&2&&a!==(a=d[32]("register")+"")&&n.set_data(u,a)},d(d){d&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(m)}}}function De(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[49]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function jt(r){let t,e,i,o,s;function a(m,d){return m[16]==!0?Bt:Pt}let u=a(r),c=u(r);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(r[7]?"JoinButtonFullSize":"")),n.attr(t,"part",i="JoinButton "+(r[7]?"JoinButtonFullSize":"")),t.disabled=r[17]},m(m,d){n.insert(m,t,d),c.m(t,null),o||(s=n.listen(t,"click",r[50]),o=!0)},p(m,d){u===(u=a(m))&&c?c.p(m,d):(c.d(1),c=u(m),c&&(c.c(),c.m(t,null))),d[0]&128&&e!==(e="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),d[0]&128&&i!==(i="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"part",i),d[0]&131072&&(t.disabled=m[17])},d(m){m&&n.detach(t),c.d(),o=!1,s()}}}function zt(r){let t,e=r[3]=="true"&&Ae(r);return{c(){e&&e.c(),t=n.empty()},m(i,o){e&&e.m(i,o),n.insert(i,t,o)},p(i,o){i[3]=="true"?e?e.p(i,o):(e=Ae(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(i){i&&n.detach(t),e&&e.d(i)}}}function Pt(r){let t,e=r[32]("join")+"",i,o,s,a,u,c,m,d;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),u=n.svg_element("style"),c=n.text(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),m=n.svg_element("g"),d=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(d,"class","a"),n.attr(d,"part","a JoinButtonSvgA"),n.attr(d,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(d,"transform","translate(26 26) rotate(180)"),n.attr(m,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(b,v){n.insert(b,t,v),n.append(t,i),n.insert(b,o,v),n.insert(b,s,v),n.append(s,a),n.append(a,u),n.append(u,c),n.append(s,m),n.append(m,d)},p(b,v){v[1]&2&&e!==(e=b[32]("join")+"")&&n.set_data(i,e)},d(b){b&&(n.detach(t),n.detach(o),n.detach(s))}}}function Bt(r){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(i,o){n.insert(i,t,o),n.append(t,e)},p:n.noop,d(i){i&&n.detach(t)}}}function Ae(r){let t,e=r[32]("enrolled")+"",i;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,i)},p(o,s){s[1]&2&&e!==(e=o[32]("enrolled")+"")&&n.set_data(i,e)},d(o){o&&n.detach(t)}}}function Ie(r){let t,e=r[32]("joinerror")+"",i,o,s;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.text(r[18]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,u){n.insert(a,t,u),n.append(t,i),n.append(t,o),n.append(t,s)},p(a,u){u[1]&2&&e!==(e=a[32]("joinerror")+"")&&n.set_data(i,e),u[0]&262144&&n.set_data(s,a[18])},d(a){a&&n.detach(t)}}}function Me(r){let t;return{c(){t=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"tournamenturl",r[2]),n.set_custom_element_data(t,"lang",r[8]),n.set_custom_element_data(t,"scrollby","2"),n.set_custom_element_data(t,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(e,i){n.insert(e,t,i)},p(e,i){i[0]&1024&&n.set_custom_element_data(t,"clientstyling",e[10]),i[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",e[11]),i[0]&4096&&n.set_custom_element_data(t,"translationurl",e[12]),i[0]&4&&n.set_custom_element_data(t,"tournamenturl",e[2]),i[0]&256&&n.set_custom_element_data(t,"lang",e[8])},d(e){e&&n.detach(t)}}}function xt(r){let t;function e(s,a){if(s[15])return Ft;if(s[20])return Tt}let i=e(r),o=i&&i(r);return{c(){t=n.element("div"),o&&o.c()},m(s,a){n.insert(s,t,a),o&&o.m(t,null),r[52](t)},p(s,a){i===(i=e(s))&&o?o.p(s,a):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(t,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(t),o&&o.d(),r[52](null)}}}function Ot(r,t,e){let i;n.component_subscribe(r,n.$format,l=>e(32,i=l));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:u}=t,{endpoint:c=""}=t,{showdetails:m=""}=t,{showslider:d=""}=t,{showenrolled:b=""}=t,{maxwidth:v=""}=t,{fullsize:w=""}=t,{lang:_=""}=t,{loginevent:p=""}=t,{registerevent:f=""}=t,{loginurl:h=""}=t,{registerurl:B=""}=t,{currency:q=""}=t,{keepbrowsercontext:ie="false"}=t,{clientstyling:x=""}=t,{clientstylingurl:O=""}=t,{translationurl:D=""}=t,{tournamentinfo:A}=t,S,C=!1,I="",j=!0,oe=window.navigator.userAgent,M=!1,L=!1,se="There was an error while trying to join the tournament",G=!1,ae,le,ue,z,T,ce,Y,fe,de,me=[],K=[],he="#",V,R=!1;vt({withLocale:"en",translations:{}});const Ke=()=>{fetch(D).then(g=>g.json()).then(g=>{Object.keys(g).forEach(y=>{Pe(y,g[y])})}).catch(g=>{console.log(g)})};Object.keys(Be).forEach(l=>{Pe(l,Be[l])});const pe=l=>{Ve(l),N(l),ve(this,T)},_e=l=>{if(l.data&&l.data.type=="UserSessionID"&&(e(14,C=!0),I=l.data.session),l.data.type=="UpdateTournamentView"){let g=l.data.tournamentData;if(T&&T!=g.id)return;pe(g)}if(l.data&&l.data.type==`UpdateSingleTournament_${u}`){let g=l.data.tournamentData,y=u<4?u*100:Math.random()*300+300;e(31,R=u==1),setTimeout(()=>{e(31,R=!0),e(24,T=g.id),pe(g)},y),setTimeout(()=>{e(31,R=!1)},y+200)}},Ve=l=>{l.state!=z&&(e(23,z=l.state),window.postMessage({type:`TournamentStatus_${T}`,status:z},window.location.href))},ge=()=>{p&&(window.postMessage({type:p,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),h&&(window.location=h)},be=()=>{f&&(window.postMessage({type:f,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},X=l=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:l,showLeaderboard:!0},window.location.href)},we=(l,g)=>Q(this,null,function*(){var ke;e(17,L=!1),e(19,G=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:l},window.location.href),e(16,M=!0);let y=new URL(`${c}/v1/bonus/claim`),U=new Headers,E={};y.searchParams.append("language",_),y.searchParams.append("platform",re(oe)),U.append("Content-Type","application/json"),U.append("X-SessionID",I),g&&g.length>=1&&(E={language:_,bonusCode:g[0].code,currency:q,type:"tournament"});let st={method:"PUT",headers:U,body:JSON.stringify(E)};const ye=()=>{e(16,M=!1),e(26,Y=!0)},Z=k=>{e(16,M=!1),k&&e(18,se=k),e(17,L=!0)},P=yield Q(this,null,function*(){let k;try{k=yield fetch(y,st),k=yield k.json()}catch(It){Z()}return k});if(P)if(P.success==!0)ye();else if(P.errorMessage.match("VersionMismatchException")){let k;k=yield fetch(`${c}/tournaments/${T}`,{headers:{"X-SessionID":o}}),k=yield k.json(),(ke=k==null?void 0:k.item)!=null&&ke.playerEnrolled?ye():(Z(P.errorMessage),e(19,G=!0),e(17,L=!1))}else Z(P.errorMessage)}),ve=(l,g)=>{window.postMessage({type:`TournamentPrizes_${g}`,prizes:me},window.location.href)},N=l=>{l&&(e(20,ae=l.nameOrTitle||""),e(21,le=l.startTime),e(22,ue=l.endTime),e(23,z=l.state),e(24,T=l.id),e(25,ce=l.thumbnail),e(26,Y=l.playerEnrolled==="true"||l.playerEnrolled==!0||!1),e(27,fe=l.scoreCriteria),e(28,de=l.minBetCount),me=l.prizes,e(29,K=l.wallets||[]),e(30,he=l.termsUrl||"#"))},Xe=l=>{e(15,j=!0);let g=new URL(l),y=new Headers;g.searchParams.append("language",_),g.searchParams.append("platform",re(oe)),C&&y.append("X-SessionID",I),fetch(g,{method:"GET",headers:y}).then(E=>E.json()).then(E=>{e(15,j=!1),N(E.item)})},Ne=()=>{o.length>0&&o!="false"?(I=o,e(14,C=!0)):e(14,C=!1)},Ze=()=>{if(A){N(A);return}e(15,j=!0),Xe(a)},Qe=()=>{let l=document.createElement("style");l.innerHTML=x,S.appendChild(l)},$e=()=>{let l=new URL(O),g=document.createElement("style");fetch(l.href).then(y=>y.text()).then(y=>{g.innerHTML=y,setTimeout(()=>{S.appendChild(g)},1),setTimeout(()=>{},500)})};n.onMount(()=>(e(15,j=!1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",_e,!1),()=>{window.removeEventListener("message",_e)}));const et=()=>ge(),tt=()=>be(),nt=()=>X(T),rt=()=>we(T,K),it=()=>X(T);function ot(l){n.binding_callbacks[l?"unshift":"push"](()=>{S=l,e(13,S)})}return r.$$set=l=>{"session"in l&&e(0,o=l.session),"userid"in l&&e(1,s=l.userid),"tournamenturl"in l&&e(2,a=l.tournamenturl),"touridx"in l&&e(38,u=l.touridx),"endpoint"in l&&e(39,c=l.endpoint),"showdetails"in l&&e(3,m=l.showdetails),"showslider"in l&&e(4,d=l.showslider),"showenrolled"in l&&e(5,b=l.showenrolled),"maxwidth"in l&&e(6,v=l.maxwidth),"fullsize"in l&&e(7,w=l.fullsize),"lang"in l&&e(8,_=l.lang),"loginevent"in l&&e(40,p=l.loginevent),"registerevent"in l&&e(41,f=l.registerevent),"loginurl"in l&&e(42,h=l.loginurl),"registerurl"in l&&e(43,B=l.registerurl),"currency"in l&&e(44,q=l.currency),"keepbrowsercontext"in l&&e(9,ie=l.keepbrowsercontext),"clientstyling"in l&&e(10,x=l.clientstyling),"clientstylingurl"in l&&e(11,O=l.clientstylingurl),"translationurl"in l&&e(12,D=l.translationurl),"tournamentinfo"in l&&e(45,A=l.tournamentinfo)},r.$$.update=()=>{r.$$.dirty[0]&256&&_&&yt(_),r.$$.dirty[0]&9216&&S&&x&&Qe(),r.$$.dirty[0]&10240&&S&&O&&$e(),r.$$.dirty[0]&4096&&D&&Ke(),r.$$.dirty[0]&1&&o&&Ne(),r.$$.dirty[0]&260&&e(46,V=a&&_),r.$$.dirty[1]&32768&&V&&Ze()},[o,s,a,m,d,b,v,w,_,ie,x,O,D,S,C,j,M,L,se,G,ae,le,ue,z,T,ce,Y,fe,de,K,he,R,i,ge,be,X,we,ve,u,c,p,f,h,B,q,A,V,et,tt,nt,rt,it,ot]}class Ye extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Ot,xt,n.safe_not_equal,{session:0,userid:1,tournamenturl:2,touridx:38,endpoint:39,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:40,registerevent:41,loginurl:42,registerurl:43,currency:44,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:45},kt,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[38]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[39]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[40]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[41]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[44]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[45]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}}n.create_custom_element(Ye,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{}},[],[],!0);const Dt=Object.freeze(Object.defineProperty({__proto__:null,default:Ye},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=Dt;exports.getDevice=re;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { e as be, S as ve, i as ke, f as M, g as Ne, s as Se, h as Te, j as S, k as D, n as X, l as G, m as Fe, o as Me, F as x, q as z, t as c, G as C, E as Y, H as Ee, u as v, I as Be, A as L, J as Pe, C as te, x as Le, K, y as He, p as I, z as je } from "./CasinoTournamentsThumbnail-Btf_54oJ.js";
|
|
2
|
-
import { g as Ce } from "./CasinoTournamentsThumbnailController-
|
|
2
|
+
import { g as Ce } from "./CasinoTournamentsThumbnailController-0f22AejG.js";
|
|
3
3
|
function Z(e, l) {
|
|
4
4
|
be(e, l);
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnail-BeiZbja8.cjs"),ie=require("./CasinoTournamentsThumbnailController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsThumbnail-BeiZbja8.cjs"),ie=require("./CasinoTournamentsThumbnailController-CdXalw_u.cjs");function U(t,r){e.addMessages(t,r)}const q={en:{playNow:"Play now"},hr:{playNow:"Započni sada"},"zh-hk":{playNow:"现在播放"},fr:{playNow:"Joue maintenant"},ro:{playNow:"Joaca acum"},tr:{playNow:"Şimdi oyna"},el:{playNow:"Παίξε τώρα"},es:{playNow:"Jugar Ya"},pt:{playNow:"Jogue agora"}};function oe(t){e.append_styles(t,"svelte-1pdib0y","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emfe-w-color-contrast, #07072A)}.SliderNavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emfe-w-color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emfe-w-color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emfe-w-color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}")}function D(t,r,n){const i=t.slice();return i[50]=r[n],i[52]=n,i}function I(t){let r,n,i,d,m,p,_,s,y,w,f=e.ensure_array_like(t[1]),c=[];for(let a=0;a<f.length;a+=1)c[a]=W(D(t,f,a));return{c(){r=e.element("div"),n=e.element("div"),n.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=e.space(),d=e.element("main"),m=e.element("div");for(let a=0;a<c.length;a+=1)c[a].c();_=e.space(),s=e.element("div"),s.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',e.attr(n,"class","SliderNavButton"),e.attr(n,"part","SliderNavButton"),e.toggle_class(n,"disabled",t[8]),e.attr(m,"class","items"),e.attr(m,"part","items"),e.set_style(m,"transform","translateX("+t[2]+"px)"),e.add_render_callback(()=>t[28].call(d)),e.attr(s,"class","SliderNavButton"),e.attr(s,"part","SliderNavButton"),e.toggle_class(s,"disabled",t[9]),e.attr(r,"class","TournamentsGamesSlider"),e.attr(r,"part","TournamentsGamesSlider")},m(a,b){e.insert(a,r,b),e.append(r,n),e.append(r,i),e.append(r,d),e.append(d,m);for(let o=0;o<c.length;o+=1)c[o]&&c[o].m(m,null);t[27](m),p=e.add_iframe_resize_listener(d,t[28].bind(d)),e.append(r,_),e.append(r,s),t[30](r),y||(w=[e.listen(n,"click",t[23]),e.listen(s,"click",t[29])],y=!0)},p(a,b){if(b[0]&256&&e.toggle_class(n,"disabled",a[8]),b[0]&23650){f=e.ensure_array_like(a[1]);let o;for(o=0;o<f.length;o+=1){const v=D(a,f,o);c[o]?c[o].p(v,b):(c[o]=W(v),c[o].c(),c[o].m(m,null))}for(;o<c.length;o+=1)c[o].d(1);c.length=f.length}b[0]&4&&e.set_style(m,"transform","translateX("+a[2]+"px)"),b[0]&512&&e.toggle_class(s,"disabled",a[9])},d(a){a&&e.detach(r),e.destroy_each(c,a),t[27](null),p(),t[30](null),y=!1,e.run_all(w)}}}function W(t){let r,n,i=t[10]("playNow")+"",d,m,p,_,s,y,w,f,c,a,b;function o(){return t[24](t[50])}function v(){return t[25](t[52])}return{c(){r=e.element("div"),n=e.element("span"),d=e.text(i),_=e.space(),s=e.element("img"),c=e.space(),e.attr(n,"class",m="PlayNowButton "+(t[5]&&t[6]==t[52]?"itemHover":"")),e.attr(n,"part",p="PlayNowButton "+(t[5]&&t[6]==t[52]?"itemHover":"")),e.src_url_equal(s.src,y=t[50].thumbnail)||e.attr(s,"src",y),e.attr(s,"width","132px"),e.attr(s,"height","100px"),e.attr(s,"alt",w=t[50].name),e.attr(s,"title",f=t[50].name),e.attr(r,"class","item"),e.attr(r,"part","item")},m(u,h){e.insert(u,r,h),e.append(r,n),e.append(n,d),e.append(r,_),e.append(r,s),e.append(r,c),a||(b=[e.listen(r,"click",o),e.listen(r,"mouseenter",v),e.listen(r,"mouseleave",t[26])],a=!0)},p(u,h){t=u,h[0]&1024&&i!==(i=t[10]("playNow")+"")&&e.set_data(d,i),h[0]&96&&m!==(m="PlayNowButton "+(t[5]&&t[6]==t[52]?"itemHover":""))&&e.attr(n,"class",m),h[0]&96&&p!==(p="PlayNowButton "+(t[5]&&t[6]==t[52]?"itemHover":""))&&e.attr(n,"part",p),h[0]&2&&!e.src_url_equal(s.src,y=t[50].thumbnail)&&e.attr(s,"src",y),h[0]&2&&w!==(w=t[50].name)&&e.attr(s,"alt",w),h[0]&2&&f!==(f=t[50].name)&&e.attr(s,"title",f)},d(u){u&&e.detach(r),a=!1,e.run_all(b)}}}function ce(t){let r,n=t[1]&&t[1].length>0&&I(t);return{c(){r=e.element("div"),n&&n.c()},m(i,d){e.insert(i,r,d),n&&n.m(r,null),t[31](r)},p(i,d){i[1]&&i[1].length>0?n?n.p(i,d):(n=I(i),n.c(),n.m(r,null)):n&&(n.d(1),n=null)},i:e.noop,o:e.noop,d(i){i&&e.detach(r),n&&n.d(),t[31](null)}}}let ue=30;function de(t,r,n){let i,d,m;e.component_subscribe(t,e.$format,l=>n(10,m=l));let{tournamenturl:p=""}=r,{scrollby:_="3"}=r,{pagfactor:s="175"}=r,{lang:y=""}=r,{translationurl:w=""}=r,{clientstyling:f=""}=r,{clientstylingurl:c=""}=r,a,b=window.navigator.userAgent,o,v=[],u=0,h,P=null,B=null,E=!1,C,S,M=0,N;const O=()=>{fetch(w).then(g=>g.json()).then(g=>{Object.keys(g).forEach(k=>{U(k,g[k])})}).catch(g=>{console.log(g)})};Object.keys(q).forEach(l=>{U(l,q[l])});const L=l=>{n(5,E=!0),n(6,C=l)},j=()=>{n(5,E=!1),n(6,C=-1)},R=l=>l.touches||l.originalEvent.touches,H=l=>{const g=R(l)[0];P=g.clientX,B=g.clientY},z=l=>{if(!P||!B)return;let g=l.touches[0].clientX,k=l.touches[0].clientY,T=P-g,se=B-k;Math.abs(T)>Math.abs(se)&&(T>0?F(1):F(-1)),P=null,B=null},F=l=>{l>0&&!d?(n(2,u-=o),n(2,u=u<M?M:u)):l<0&&!i&&(n(2,u+=o),n(2,u=u>0?0:u))},A=l=>{window.postMessage({type:"TournamentGameAction",gameId:l.id,name:l.name,launchUrl:l.launchUrl},window.location.href)},X=()=>{let l=new URL(p),g=new Headers;l.searchParams.append("expand","games"),l.searchParams.append("pagination",`games(limit=${ue},offset=${u})`),l.searchParams.append("fields","games(id,name,thumbnail,launchUrl)"),l.searchParams.append("language",y),l.searchParams.append("platform",ie.getDevice(b)),fetch(l,{method:"GET",headers:g}).then(T=>T.json()).then(T=>{n(1,v=T.item.games.items),T.item.games.total})},J=()=>{h.addEventListener("touchstart",H,{passive:!0}),h.addEventListener("touchmove",z,{passive:!0})},Y=()=>{setTimeout(()=>{n(22,M=(S.scrollWidth-S.clientWidth)*-1),n(16,s=new String(S.scrollWidth/v.length)),o=parseInt(_,10)*parseFloat(s,2).toFixed(2)},1e3)},x=()=>{let l=document.createElement("style");l.innerHTML=f,a.appendChild(l)},Z=()=>{let l=new URL(c),g=document.createElement("style");fetch(l.href).then(k=>k.text()).then(k=>{g.innerHTML=k,setTimeout(()=>{a.appendChild(g)},1),setTimeout(()=>{},500)})},K=()=>{N>0&&N<Math.floor((parseInt(_)+1)*s)&&n(15,_=Math.ceil(N/s).toString())};e.onMount(()=>(o=parseInt(_,10)*parseInt(s,10),()=>{h.removeEventListener("touchstart",H),h.removeEventListener("touchmove",z)}));const Q=()=>F(-1),V=l=>A(l),$=l=>L(l),ee=()=>j();function te(l){e.binding_callbacks[l?"unshift":"push"](()=>{S=l,n(7,S)})}function ne(){N=this.clientWidth,n(4,N)}const le=()=>F(1);function re(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,n(3,h)})}function ae(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(0,a)})}return t.$$set=l=>{"tournamenturl"in l&&n(17,p=l.tournamenturl),"scrollby"in l&&n(15,_=l.scrollby),"pagfactor"in l&&n(16,s=l.pagfactor),"lang"in l&&n(18,y=l.lang),"translationurl"in l&&n(19,w=l.translationurl),"clientstyling"in l&&n(20,f=l.clientstyling),"clientstylingurl"in l&&n(21,c=l.clientstylingurl)},t.$$.update=()=>{t.$$.dirty[0]&4&&n(8,i=u===0),t.$$.dirty[0]&4194308&&n(9,d=u<=M),t.$$.dirty[0]&16&&N&&K(),t.$$.dirty[0]&131072&&p&&X(),t.$$.dirty[0]&8&&h&&J(),t.$$.dirty[0]&524288&&w&&O(),t.$$.dirty[0]&2&&v.length&&Y(),t.$$.dirty[0]&1048577&&f&&a&&x(),t.$$.dirty[0]&2097153&&c&&a&&Z()},n(2,u=0),[a,v,u,h,N,E,C,S,i,d,m,L,j,F,A,_,s,p,y,w,f,c,M,Q,V,$,ee,te,ne,le,re,ae]}class G extends e.SvelteComponent{constructor(r){super(),e.init(this,r,de,ce,e.safe_not_equal,{tournamenturl:17,scrollby:15,pagfactor:16,lang:18,translationurl:19,clientstyling:20,clientstylingurl:21},oe,[-1,-1])}get tournamenturl(){return this.$$.ctx[17]}set tournamenturl(r){this.$$set({tournamenturl:r}),e.flush()}get scrollby(){return this.$$.ctx[15]}set scrollby(r){this.$$set({scrollby:r}),e.flush()}get pagfactor(){return this.$$.ctx[16]}set pagfactor(r){this.$$set({pagfactor:r}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(r){this.$$set({lang:r}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(r){this.$$set({translationurl:r}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(r){this.$$set({clientstyling:r}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),e.flush()}}e.create_custom_element(G,{tournamenturl:{},scrollby:{},pagfactor:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=G;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsThumbnailController-CdXalw_u.cjs")).then(e=>e.CasinoTournamentsThumbnailController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsThumbnailController-0f22AejG.js").then((e) => e.C).then(
|
|
14
14
|
({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
|
|
16
16
|
"casino-tournaments-thumbnail-controller",
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";var Q=(r,t,e)=>new Promise((i,o)=>{var s=c=>{try{u(e.next(c))}catch(m){o(m)}},a=c=>{try{u(e.throw(c))}catch(m){o(m)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);u((e=e.apply(r,t)).next())});const n=require("./CasinoTournamentsThumbnail-BeiZbja8.cjs");function F(r){return typeof r=="function"}function Le(r){var t=function(i){Error.call(i),i.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var $=Le(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
|
|
2
|
-
`+e.map(function(i,o){return o+1+") "+i.toString()}).join(`
|
|
3
|
-
`):"",this.name="UnsubscriptionError",this.errors=e}});function te(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var H=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=n.__values(a),c=u.next();!c.done;c=u.next()){var m=c.value;m.remove(this)}}catch(p){t={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(F(d))try{d()}catch(p){s=p instanceof $?p.errors:[p]}var g=this._finalizers;if(g){this._finalizers=null;try{for(var v=n.__values(g),b=v.next();!b.done;b=v.next()){var w=b.value;try{Te(w)}catch(p){s=s!=null?s:[],p instanceof $?s=n.__spreadArray(n.__spreadArray([],n.__read(s)),n.__read(p.errors)):s.push(p)}}}catch(p){i={error:p}}finally{try{b&&!b.done&&(o=v.return)&&o.call(v)}finally{if(i)throw i.error}}}if(s)throw new $(s)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Te(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&te(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&te(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),Re=H.EMPTY;function Ue(r){return r instanceof H||r&&"closed"in r&&F(r.remove)&&F(r.add)&&F(r.unsubscribe)}function Te(r){F(r)?r():r.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},We={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,n.__spreadArray([r,t],n.__read(e)))},clearTimeout:function(r){var t=We.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(r)},delegate:void 0};function at(r){We.setTimeout(function(){throw r})}function Fe(){}function W(r){r()}var He=function(r){n.__extends(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,Ue(e)&&e.add(i)):i.destination=ft,i}return t.create=function(e,i,o){return new ne(e,i,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(H),lt=Function.prototype.bind;function ee(r,t){return lt.call(r,t)}var ut=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){J(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){J(i)}else J(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){J(e)}},r}(),ne=function(r){n.__extends(t,r);function t(e,i,o){var s=r.call(this)||this,a;if(F(e)||!e)a={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0};else{var u;s&&Je.useDeprecatedNextContext?(u=Object.create(e),u.unsubscribe=function(){return s.unsubscribe()},a={next:e.next&&ee(e.next,u),error:e.error&&ee(e.error,u),complete:e.complete&&ee(e.complete,u)}):a=e}return s.destination=new ut(a),s}return t}(He);function J(r){at(r)}function ct(r){throw r}var ft={closed:!0,next:Fe,error:ct,complete:Fe},dt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function mt(r){return r}function ht(r){return r.length===0?mt:r.length===1?r[0]:function(e){return r.reduce(function(i,o){return o(i)},e)}}var Se=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var o=this,s=_t(t)?t:new ne(t,e,i);return W(function(){var a=o,u=a.operator,c=a.source;s.add(u?u.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=Ee(e),new e(function(o,s){var a=new ne({next:function(u){try{t(u)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[dt]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return ht(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Ee(t),new t(function(i,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(t){return new r(t)},r}();function Ee(r){var t;return(t=r!=null?r:Je.Promise)!==null&&t!==void 0?t:Promise}function pt(r){return r&&F(r.next)&&F(r.error)&&F(r.complete)}function _t(r){return r&&r instanceof He||pt(r)&&Ue(r)}var gt=Le(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=function(r){n.__extends(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Ce(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new gt},t.prototype.next=function(e){var i=this;W(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=n.__values(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(e)}}catch(m){o={error:m}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,o=this,s=o.hasError,a=o.isStopped,u=o.observers;return s||a?Re:(this.currentObservers=null,u.push(e),new H(function(){i.currentObservers=null,te(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new Se;return e.source=this,e},t.create=function(e,i){return new Ce(e,i)},t}(Se),Ce=function(r){n.__extends(t,r);function t(e,i){var o=r.call(this)||this;return o.destination=e,o.source=i,o}return t.prototype.next=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,e)},t.prototype.error=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&o!==void 0?o:Re},t}(qe),Ge={now:function(){return(Ge.delegate||Date).now()},delegate:void 0},bt=function(r){n.__extends(t,r);function t(e,i,o){e===void 0&&(e=1/0),i===void 0&&(i=1/0),o===void 0&&(o=Ge);var s=r.call(this)||this;return s._bufferSize=e,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,i),s}return t.prototype.next=function(e){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;o||(s.push(e),!a&&s.push(u.now()+c)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,u=a.slice(),c=0;c<u.length&&!e.closed;c+=s?1:2)e.next(u[c]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<s.length&&s.splice(0,s.length-u),!a){for(var c=o.now(),m=0,d=1;d<s.length&&s[d]<=c;d+=2)m=d;m&&s.splice(0,m+1)}},t}(qe);const je=[],ze={},wt=(r,t=0)=>{if(je.indexOf(r)==-1){const e=new bt(t);ze[r]=e,je.push(r)}return ze[r]};window.emWidgets={topic:wt};const re=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function vt({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function Pe(r,t){n.addMessages(r,t)}const Be={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"}};if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-BeiZbja8.cjs")).then(t=>t.CasinoTournamentsThumbnail_ce).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-BirWQ4sr.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-OHSQvZTk.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-ZPScI4BE.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function yt(r){n.append_styles(r,"svelte-e8vjpc",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-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(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-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}')}function kt(r){let t,e,i,o,s,a,u,c,m,d=r[14]&&xe(r);function g(f,h){if(!f[14])return Et;if(f[23]!="Closed"&&f[23]!="Closing")return St;if(f[3]=="true")return Ft}let v=g(r),b=v&&v(r),w=(r[17]||r[19])&&Ie(r),p=r[4]=="true"&&Me(r);return{c(){t=n.element("div"),e=n.element("casino-tournaments-thumbnail"),i=n.space(),d&&d.c(),o=n.space(),s=n.element("div"),b&&b.c(),a=n.space(),w&&w.c(),u=n.space(),p&&p.c(),n.set_custom_element_data(e,"session",r[0]),n.set_custom_element_data(e,"userid",r[1]),n.set_custom_element_data(e,"title",r[20]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"tourid",r[24]),n.set_custom_element_data(e,"scorecriteria",r[27]),n.set_custom_element_data(e,"minbetcount",r[28]),n.set_custom_element_data(e,"thumbnail",r[25]),n.set_custom_element_data(e,"showenrolled",r[5]),n.set_custom_element_data(e,"gameurl",r[30]),n.set_custom_element_data(e,"userenrolled",r[26]),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"keepbrowsercontext",r[9]),n.set_custom_element_data(e,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(s,"class","TournamentButtons"),n.attr(s,"part","TournamentButtons"),n.attr(t,"class",c="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",m="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(f,h){n.insert(f,t,h),n.append(t,e),n.append(t,i),d&&d.m(t,null),n.append(t,o),n.append(t,s),b&&b.m(s,null),n.append(t,a),w&&w.m(t,null),n.append(t,u),p&&p.m(t,null)},p(f,h){h[0]&1&&n.set_custom_element_data(e,"session",f[0]),h[0]&2&&n.set_custom_element_data(e,"userid",f[1]),h[0]&1048576&&n.set_custom_element_data(e,"title",f[20]),h[0]&8388608&&n.set_custom_element_data(e,"status",f[23]),h[0]&2097152&&n.set_custom_element_data(e,"startdate",f[21]),h[0]&16777216&&n.set_custom_element_data(e,"tourid",f[24]),h[0]&134217728&&n.set_custom_element_data(e,"scorecriteria",f[27]),h[0]&268435456&&n.set_custom_element_data(e,"minbetcount",f[28]),h[0]&33554432&&n.set_custom_element_data(e,"thumbnail",f[25]),h[0]&32&&n.set_custom_element_data(e,"showenrolled",f[5]),h[0]&1073741824&&n.set_custom_element_data(e,"gameurl",f[30]),h[0]&67108864&&n.set_custom_element_data(e,"userenrolled",f[26]),h[0]&1024&&n.set_custom_element_data(e,"clientstyling",f[10]),h[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",f[11]),h[0]&4096&&n.set_custom_element_data(e,"translationurl",f[12]),h[0]&256&&n.set_custom_element_data(e,"lang",f[8]),h[0]&512&&n.set_custom_element_data(e,"keepbrowsercontext",f[9]),f[14]?d?d.p(f,h):(d=xe(f),d.c(),d.m(t,o)):d&&(d.d(1),d=null),v===(v=g(f))&&b?b.p(f,h):(b&&b.d(1),b=v&&v(f),b&&(b.c(),b.m(s,null))),f[17]||f[19]?w?w.p(f,h):(w=Ie(f),w.c(),w.m(t,u)):w&&(w.d(1),w=null),f[4]=="true"?p?p.p(f,h):(p=Me(f),p.c(),p.m(t,null)):p&&(p.d(1),p=null),h[0]&192|h[1]&1&&c!==(c="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",c),h[0]&192|h[1]&1&&m!==(m="TournamentCard "+(f[6]?"CardMaxWidth":"")+(f[7]?"CardFullSize":"")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn")+" "+(f[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",m)},d(f){f&&n.detach(t),d&&d.d(),b&&b.d(),w&&w.d(),p&&p.d()}}}function Tt(r){let t,e,i,o;return{c(){t=n.element("div"),e=n.element("div"),e.innerHTML='<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>',n.attr(e,"class","ph-item"),n.attr(e,"part","ph-item"),n.attr(t,"class",i="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"part",o="TournamentCard "+(r[6]?"CardMaxWidth":"")+(r[7]?"CardFullSize":"")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn")+" "+(r[31]?"elementToFadeOut":"elementToFadeIn"))},m(s,a){n.insert(s,t,a),n.append(t,e)},p(s,a){a[0]&192|a[1]&1&&i!==(i="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"class",i),a[0]&192|a[1]&1&&o!==(o="TournamentCard "+(s[6]?"CardMaxWidth":"")+(s[7]?"CardFullSize":"")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn")+" "+(s[31]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(t,"part",o)},d(s){s&&n.detach(t)}}}function xe(r){let t,e,i=r[24]&&Oe(r);return{c(){i&&i.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"status",r[23]),n.set_custom_element_data(e,"startdate",r[21]),n.set_custom_element_data(e,"lang",r[8]),n.set_custom_element_data(e,"enddate",r[22]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill")},m(o,s){i&&i.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[24]?i?i.p(o,s):(i=Oe(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&8388608&&n.set_custom_element_data(e,"status",o[23]),s[0]&2097152&&n.set_custom_element_data(e,"startdate",o[21]),s[0]&256&&n.set_custom_element_data(e,"lang",o[8]),s[0]&4194304&&n.set_custom_element_data(e,"enddate",o[22])},d(o){o&&(n.detach(t),n.detach(e)),i&&i.d(o)}}}function Oe(r){let t,e,i,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",r[24]),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),i||(o=n.action_destroyer(e=r[37].call(null,t,r[24])),i=!0)},p(s,a){a[0]&16777216&&n.set_custom_element_data(t,"tourid",s[24]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&16777216&&e.update.call(null,s[24])},d(s){s&&n.detach(t),i=!1,o()}}}function Ft(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[51]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function St(r){let t,e,i=r[3]=="true"&&De(r);function o(u,c){return u[26]?jt:Ct}let s=o(r),a=s(r);return{c(){i&&i.c(),t=n.space(),a.c(),e=n.empty()},m(u,c){i&&i.m(u,c),n.insert(u,t,c),a.m(u,c),n.insert(u,e,c)},p(u,c){u[3]=="true"?i?i.p(u,c):(i=De(u),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s===(s=o(u))&&a?a.p(u,c):(a.d(1),a=s(u),a&&(a.c(),a.m(e.parentNode,e)))},d(u){u&&(n.detach(t),n.detach(e)),i&&i.d(u),a.d(u)}}}function Et(r){let t,e=r[32]("login")+"",i,o,s,a=r[32]("register")+"",u,c,m;return{c(){t=n.element("button"),i=n.text(e),o=n.space(),s=n.element("button"),u=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(d,g){n.insert(d,t,g),n.append(t,i),n.insert(d,o,g),n.insert(d,s,g),n.append(s,u),c||(m=[n.listen(t,"click",r[47]),n.listen(s,"click",r[48])],c=!0)},p(d,g){g[1]&2&&e!==(e=d[32]("login")+"")&&n.set_data(i,e),g[1]&2&&a!==(a=d[32]("register")+"")&&n.set_data(u,a)},d(d){d&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(m)}}}function De(r){let t,e=r[32]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,u){n.insert(a,t,u),n.append(t,i),o||(s=n.listen(t,"click",r[49]),o=!0)},p(a,u){u[1]&2&&e!==(e=a[32]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Ct(r){let t,e,i,o,s;function a(m,d){return m[16]==!0?Pt:zt}let u=a(r),c=u(r);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(r[7]?"JoinButtonFullSize":"")),n.attr(t,"part",i="JoinButton "+(r[7]?"JoinButtonFullSize":"")),t.disabled=r[17]},m(m,d){n.insert(m,t,d),c.m(t,null),o||(s=n.listen(t,"click",r[50]),o=!0)},p(m,d){u===(u=a(m))&&c?c.p(m,d):(c.d(1),c=u(m),c&&(c.c(),c.m(t,null))),d[0]&128&&e!==(e="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),d[0]&128&&i!==(i="JoinButton "+(m[7]?"JoinButtonFullSize":""))&&n.attr(t,"part",i),d[0]&131072&&(t.disabled=m[17])},d(m){m&&n.detach(t),c.d(),o=!1,s()}}}function jt(r){let t,e=r[3]=="true"&&Ae(r);return{c(){e&&e.c(),t=n.empty()},m(i,o){e&&e.m(i,o),n.insert(i,t,o)},p(i,o){i[3]=="true"?e?e.p(i,o):(e=Ae(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(i){i&&n.detach(t),e&&e.d(i)}}}function zt(r){let t,e=r[32]("join")+"",i,o,s,a,u,c,m,d;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),u=n.svg_element("style"),c=n.text(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),m=n.svg_element("g"),d=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(d,"class","a"),n.attr(d,"part","a JoinButtonSvgA"),n.attr(d,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(d,"transform","translate(26 26) rotate(180)"),n.attr(m,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(g,v){n.insert(g,t,v),n.append(t,i),n.insert(g,o,v),n.insert(g,s,v),n.append(s,a),n.append(a,u),n.append(u,c),n.append(s,m),n.append(m,d)},p(g,v){v[1]&2&&e!==(e=g[32]("join")+"")&&n.set_data(i,e)},d(g){g&&(n.detach(t),n.detach(o),n.detach(s))}}}function Pt(r){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(i,o){n.insert(i,t,o),n.append(t,e)},p:n.noop,d(i){i&&n.detach(t)}}}function Ae(r){let t,e=r[32]("enrolled")+"",i;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,i)},p(o,s){s[1]&2&&e!==(e=o[32]("enrolled")+"")&&n.set_data(i,e)},d(o){o&&n.detach(t)}}}function Ie(r){let t,e=r[32]("joinerror")+"",i,o,s;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.text(r[18]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,u){n.insert(a,t,u),n.append(t,i),n.append(t,o),n.append(t,s)},p(a,u){u[1]&2&&e!==(e=a[32]("joinerror")+"")&&n.set_data(i,e),u[0]&262144&&n.set_data(s,a[18])},d(a){a&&n.detach(t)}}}function Me(r){let t;return{c(){t=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"tournamenturl",r[2]),n.set_custom_element_data(t,"lang",r[8]),n.set_custom_element_data(t,"scrollby","2"),n.set_custom_element_data(t,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(e,i){n.insert(e,t,i)},p(e,i){i[0]&1024&&n.set_custom_element_data(t,"clientstyling",e[10]),i[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",e[11]),i[0]&4096&&n.set_custom_element_data(t,"translationurl",e[12]),i[0]&4&&n.set_custom_element_data(t,"tournamenturl",e[2]),i[0]&256&&n.set_custom_element_data(t,"lang",e[8])},d(e){e&&n.detach(t)}}}function Bt(r){let t;function e(s,a){if(s[15])return Tt;if(s[20])return kt}let i=e(r),o=i&&i(r);return{c(){t=n.element("div"),o&&o.c()},m(s,a){n.insert(s,t,a),o&&o.m(t,null),r[52](t)},p(s,a){i===(i=e(s))&&o?o.p(s,a):(o&&o.d(1),o=i&&i(s),o&&(o.c(),o.m(t,null)))},i:n.noop,o:n.noop,d(s){s&&n.detach(t),o&&o.d(),r[52](null)}}}function xt(r,t,e){let i;n.component_subscribe(r,n.$format,l=>e(32,i=l));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:u}=t,{endpoint:c=""}=t,{showdetails:m=""}=t,{showslider:d=""}=t,{showenrolled:g=""}=t,{maxwidth:v=""}=t,{fullsize:b=""}=t,{lang:w=""}=t,{loginevent:p=""}=t,{registerevent:f=""}=t,{loginurl:h=""}=t,{registerurl:B=""}=t,{currency:q=""}=t,{keepbrowsercontext:ie="false"}=t,{clientstyling:x=""}=t,{clientstylingurl:O=""}=t,{translationurl:D=""}=t,{tournamentinfo:A}=t,S,C=!1,I="",j=!0,oe=window.navigator.userAgent,M=!1,L=!1,se="There was an error while trying to join the tournament",G=!1,ae,le,ue,z,T,ce,Y,fe,de,me=[],K=[],he="#",V,R=!1;vt({withLocale:"en",translations:{}});const Ke=()=>{fetch(D).then(_=>_.json()).then(_=>{Object.keys(_).forEach(y=>{Pe(y,_[y])})}).catch(_=>{console.log(_)})};Object.keys(Be).forEach(l=>{Pe(l,Be[l])});const pe=l=>{Ve(l),N(l),ve(this,T)},_e=l=>{if(l.data&&l.data.type=="UserSessionID"&&(e(14,C=!0),I=l.data.session),l.data.type=="UpdateTournamentView"){let _=l.data.tournamentData;if(T&&T!=_.id)return;pe(_)}if(l.data&&l.data.type==`UpdateSingleTournament_${u}`){let _=l.data.tournamentData,y=u<4?u*100:Math.random()*300+300;e(31,R=u==1),setTimeout(()=>{e(31,R=!0),e(24,T=_.id),pe(_)},y),setTimeout(()=>{e(31,R=!1)},y+200)}},Ve=l=>{l.state!=z&&(e(23,z=l.state),window.postMessage({type:`TournamentStatus_${T}`,status:z},window.location.href))},ge=()=>{p&&(window.postMessage({type:p,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),h&&(window.location=h)},be=()=>{f&&(window.postMessage({type:f,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},X=l=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:l,showLeaderboard:!0},window.location.href)},we=(l,_)=>Q(this,null,function*(){var ke;e(17,L=!1),e(19,G=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:l},window.location.href),e(16,M=!0);let y=new URL(`${c}/v1/bonus/claim`),U=new Headers,E={};y.searchParams.append("language",w),y.searchParams.append("platform",re(oe)),U.append("Content-Type","application/json"),U.append("X-SessionID",I),_&&_.length>=1&&(E={language:w,bonusCode:_[0].code,currency:q,type:"tournament"});let st={method:"PUT",headers:U,body:JSON.stringify(E)};const ye=()=>{e(16,M=!1),e(26,Y=!0)},Z=k=>{e(16,M=!1),k&&e(18,se=k),e(17,L=!0)},P=yield Q(this,null,function*(){let k;try{k=yield fetch(y,st),k=yield k.json()}catch(At){Z()}return k});if(P)if(P.success==!0)ye();else if(P.errorMessage.match("VersionMismatchException")){let k;k=yield fetch(`${c}/tournaments/${T}`,{headers:{"X-SessionID":o}}),k=yield k.json(),(ke=k==null?void 0:k.item)!=null&&ke.playerEnrolled?ye():(Z(P.errorMessage),e(19,G=!0),e(17,L=!1))}else Z(P.errorMessage)}),ve=(l,_)=>{window.postMessage({type:`TournamentPrizes_${_}`,prizes:me},window.location.href)},N=l=>{l&&(e(20,ae=l.nameOrTitle||""),e(21,le=l.startTime),e(22,ue=l.endTime),e(23,z=l.state),e(24,T=l.id),e(25,ce=l.thumbnail),e(26,Y=l.playerEnrolled==="true"||l.playerEnrolled==!0||!1),e(27,fe=l.scoreCriteria),e(28,de=l.minBetCount),me=l.prizes,e(29,K=l.wallets||[]),e(30,he=l.termsUrl||"#"))},Xe=l=>{e(15,j=!0);let _=new URL(l),y=new Headers;_.searchParams.append("language",w),_.searchParams.append("platform",re(oe)),C&&y.append("X-SessionID",I),fetch(_,{method:"GET",headers:y}).then(E=>E.json()).then(E=>{e(15,j=!1),N(E.item)})},Ne=()=>{o.length>0&&o!="false"?(I=o,e(14,C=!0)):e(14,C=!1)},Ze=()=>{if(A){N(A);return}e(15,j=!0),Xe(a)},Qe=()=>{let l=document.createElement("style");l.innerHTML=x,S.appendChild(l)},$e=()=>{let l=new URL(O),_=document.createElement("style");fetch(l.href).then(y=>y.text()).then(y=>{_.innerHTML=y,setTimeout(()=>{S.appendChild(_)},1),setTimeout(()=>{},500)})};n.onMount(()=>(e(15,j=!1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",_e,!1),()=>{window.removeEventListener("message",_e)}));const et=()=>ge(),tt=()=>be(),nt=()=>X(T),rt=()=>we(T,K),it=()=>X(T);function ot(l){n.binding_callbacks[l?"unshift":"push"](()=>{S=l,e(13,S)})}return r.$$set=l=>{"session"in l&&e(0,o=l.session),"userid"in l&&e(1,s=l.userid),"tournamenturl"in l&&e(2,a=l.tournamenturl),"touridx"in l&&e(38,u=l.touridx),"endpoint"in l&&e(39,c=l.endpoint),"showdetails"in l&&e(3,m=l.showdetails),"showslider"in l&&e(4,d=l.showslider),"showenrolled"in l&&e(5,g=l.showenrolled),"maxwidth"in l&&e(6,v=l.maxwidth),"fullsize"in l&&e(7,b=l.fullsize),"lang"in l&&e(8,w=l.lang),"loginevent"in l&&e(40,p=l.loginevent),"registerevent"in l&&e(41,f=l.registerevent),"loginurl"in l&&e(42,h=l.loginurl),"registerurl"in l&&e(43,B=l.registerurl),"currency"in l&&e(44,q=l.currency),"keepbrowsercontext"in l&&e(9,ie=l.keepbrowsercontext),"clientstyling"in l&&e(10,x=l.clientstyling),"clientstylingurl"in l&&e(11,O=l.clientstylingurl),"translationurl"in l&&e(12,D=l.translationurl),"tournamentinfo"in l&&e(45,A=l.tournamentinfo)},r.$$.update=()=>{r.$$.dirty[0]&9216&&S&&x&&Qe(),r.$$.dirty[0]&10240&&S&&O&&$e(),r.$$.dirty[0]&4096&&D&&Ke(),r.$$.dirty[0]&1&&o&&Ne(),r.$$.dirty[0]&260&&e(46,V=a&&w),r.$$.dirty[1]&32768&&V&&Ze()},[o,s,a,m,d,g,v,b,w,ie,x,O,D,S,C,j,M,L,se,G,ae,le,ue,z,T,ce,Y,fe,de,K,he,R,i,ge,be,X,we,ve,u,c,p,f,h,B,q,A,V,et,tt,nt,rt,it,ot]}class Ye extends n.SvelteComponent{constructor(t){super(),n.init(this,t,xt,Bt,n.safe_not_equal,{session:0,userid:1,tournamenturl:2,touridx:38,endpoint:39,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:40,registerevent:41,loginurl:42,registerurl:43,currency:44,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:45},yt,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[38]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[39]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[40]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[41]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[44]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[45]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}}n.create_custom_element(Ye,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{}},[],[],!0);const Ot=Object.freeze(Object.defineProperty({__proto__:null,default:Ye},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=Ot;exports.getDevice=re;
|