@everymatrix/casino-tournaments-thumbnail-controller 1.87.11 → 1.87.12
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-C3mGVEjO.js → CasinoTournamentsThumbnailController-BDXLt3ay.js} +76 -76
- package/components/{CasinoTournamentsThumbnailController-Bv0vfuZs.js → CasinoTournamentsThumbnailController-BXm4HvlY.js} +80 -80
- package/components/{CasinoTournamentsThumbnailController-BZsJiObE.cjs → CasinoTournamentsThumbnailController-DlT-P3vm.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-99PdtvAe.js → CasinoTournamentsThumbnailGamesSlider-Cgv7W0xp.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-C10LMUeR.js → CasinoTournamentsThumbnailGamesSlider-G4EQgT1w.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-C9WUM4GA.cjs → CasinoTournamentsThumbnailGamesSlider-GhBBqjNv.cjs} +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
- package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
- package/package.json +1 -1
|
@@ -71,13 +71,13 @@ function we(n, t, e) {
|
|
|
71
71
|
function B(n) {
|
|
72
72
|
return typeof n == "function";
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function nt(n) {
|
|
75
75
|
var t = function(r) {
|
|
76
76
|
Error.call(r), r.stack = new Error().stack;
|
|
77
77
|
}, e = n(t);
|
|
78
78
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
79
79
|
}
|
|
80
|
-
var me =
|
|
80
|
+
var me = nt(function(n) {
|
|
81
81
|
return function(e) {
|
|
82
82
|
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
83
83
|
` + e.map(function(r, i) {
|
|
@@ -134,7 +134,7 @@ var re = function() {
|
|
|
134
134
|
for (var d = ge(c), _ = d.next(); !_.done; _ = d.next()) {
|
|
135
135
|
var m = _.value;
|
|
136
136
|
try {
|
|
137
|
-
|
|
137
|
+
Ue(m);
|
|
138
138
|
} catch (g) {
|
|
139
139
|
o = o ?? [], g instanceof me ? o = we(we([], be(o)), be(g.errors)) : o.push(g);
|
|
140
140
|
}
|
|
@@ -157,7 +157,7 @@ var re = function() {
|
|
|
157
157
|
var e;
|
|
158
158
|
if (t && t !== this)
|
|
159
159
|
if (this.closed)
|
|
160
|
-
|
|
160
|
+
Ue(t);
|
|
161
161
|
else {
|
|
162
162
|
if (t instanceof n) {
|
|
163
163
|
if (t.closed || t._hasParent(this))
|
|
@@ -182,11 +182,11 @@ var re = function() {
|
|
|
182
182
|
var t = new n();
|
|
183
183
|
return t.closed = !0, t;
|
|
184
184
|
}(), n;
|
|
185
|
-
}(),
|
|
186
|
-
function
|
|
185
|
+
}(), rt = re.EMPTY;
|
|
186
|
+
function it(n) {
|
|
187
187
|
return n instanceof re || n && "closed" in n && B(n.remove) && B(n.add) && B(n.unsubscribe);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Ue(n) {
|
|
190
190
|
B(n) ? n() : n.unsubscribe();
|
|
191
191
|
}
|
|
192
192
|
var xt = {
|
|
@@ -207,16 +207,16 @@ function Dt(n) {
|
|
|
207
207
|
throw n;
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Je() {
|
|
211
211
|
}
|
|
212
212
|
function te(n) {
|
|
213
213
|
n();
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var ot = function(n) {
|
|
216
216
|
J(t, n);
|
|
217
217
|
function t(e) {
|
|
218
218
|
var r = n.call(this) || this;
|
|
219
|
-
return r.isStopped = !1, e ? (r.destination = e,
|
|
219
|
+
return r.isStopped = !1, e ? (r.destination = e, it(e) && e.add(r)) : r.destination = Mt, r;
|
|
220
220
|
}
|
|
221
221
|
return t.create = function(e, r, i) {
|
|
222
222
|
return new ve(e, r, i);
|
|
@@ -285,7 +285,7 @@ var it = function(n) {
|
|
|
285
285
|
} : s = e, o.destination = new Lt(s), o;
|
|
286
286
|
}
|
|
287
287
|
return t;
|
|
288
|
-
}(
|
|
288
|
+
}(ot);
|
|
289
289
|
function ee(n) {
|
|
290
290
|
Dt(n);
|
|
291
291
|
}
|
|
@@ -294,9 +294,9 @@ function It(n) {
|
|
|
294
294
|
}
|
|
295
295
|
var Mt = {
|
|
296
296
|
closed: !0,
|
|
297
|
-
next:
|
|
297
|
+
next: Je,
|
|
298
298
|
error: It,
|
|
299
|
-
complete:
|
|
299
|
+
complete: Je
|
|
300
300
|
}, Rt = function() {
|
|
301
301
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
302
302
|
}();
|
|
@@ -310,7 +310,7 @@ function Jt(n) {
|
|
|
310
310
|
}, e);
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var We = function() {
|
|
314
314
|
function n(t) {
|
|
315
315
|
t && (this._subscribe = t);
|
|
316
316
|
}
|
|
@@ -331,7 +331,7 @@ var Je = function() {
|
|
|
331
331
|
}
|
|
332
332
|
}, n.prototype.forEach = function(t, e) {
|
|
333
333
|
var r = this;
|
|
334
|
-
return e =
|
|
334
|
+
return e = He(e), new e(function(i, o) {
|
|
335
335
|
var s = new ve({
|
|
336
336
|
next: function(l) {
|
|
337
337
|
try {
|
|
@@ -356,7 +356,7 @@ var Je = function() {
|
|
|
356
356
|
return Jt(t)(this);
|
|
357
357
|
}, n.prototype.toPromise = function(t) {
|
|
358
358
|
var e = this;
|
|
359
|
-
return t =
|
|
359
|
+
return t = He(t), new t(function(r, i) {
|
|
360
360
|
var o;
|
|
361
361
|
e.subscribe(function(s) {
|
|
362
362
|
return o = s;
|
|
@@ -370,7 +370,7 @@ var Je = function() {
|
|
|
370
370
|
return new n(t);
|
|
371
371
|
}, n;
|
|
372
372
|
}();
|
|
373
|
-
function
|
|
373
|
+
function He(n) {
|
|
374
374
|
var t;
|
|
375
375
|
return (t = n ?? xt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
376
376
|
}
|
|
@@ -378,20 +378,20 @@ function Wt(n) {
|
|
|
378
378
|
return n && B(n.next) && B(n.error) && B(n.complete);
|
|
379
379
|
}
|
|
380
380
|
function Ht(n) {
|
|
381
|
-
return n && n instanceof
|
|
381
|
+
return n && n instanceof ot || Wt(n) && it(n);
|
|
382
382
|
}
|
|
383
|
-
var Gt =
|
|
383
|
+
var Gt = nt(function(n) {
|
|
384
384
|
return function() {
|
|
385
385
|
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
386
386
|
};
|
|
387
|
-
}),
|
|
387
|
+
}), st = function(n) {
|
|
388
388
|
J(t, n);
|
|
389
389
|
function t() {
|
|
390
390
|
var e = n.call(this) || this;
|
|
391
391
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
392
392
|
}
|
|
393
393
|
return t.prototype.lift = function(e) {
|
|
394
|
-
var r = new
|
|
394
|
+
var r = new Ge(this, this);
|
|
395
395
|
return r.operator = e, r;
|
|
396
396
|
}, t.prototype._throwIfClosed = function() {
|
|
397
397
|
if (this.closed)
|
|
@@ -452,19 +452,19 @@ var Gt = tt(function(n) {
|
|
|
452
452
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
453
453
|
}, t.prototype._innerSubscribe = function(e) {
|
|
454
454
|
var r = this, i = this, o = i.hasError, s = i.isStopped, l = i.observers;
|
|
455
|
-
return o || s ?
|
|
455
|
+
return o || s ? rt : (this.currentObservers = null, l.push(e), new re(function() {
|
|
456
456
|
r.currentObservers = null, ye(l, e);
|
|
457
457
|
}));
|
|
458
458
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
459
459
|
var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
|
|
460
460
|
i ? e.error(o) : s && e.complete();
|
|
461
461
|
}, t.prototype.asObservable = function() {
|
|
462
|
-
var e = new
|
|
462
|
+
var e = new We();
|
|
463
463
|
return e.source = this, e;
|
|
464
464
|
}, t.create = function(e, r) {
|
|
465
|
-
return new
|
|
465
|
+
return new Ge(e, r);
|
|
466
466
|
}, t;
|
|
467
|
-
}(
|
|
467
|
+
}(We), Ge = function(n) {
|
|
468
468
|
J(t, n);
|
|
469
469
|
function t(e, r) {
|
|
470
470
|
var i = n.call(this) || this;
|
|
@@ -481,17 +481,17 @@ var Gt = tt(function(n) {
|
|
|
481
481
|
(r = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || r === void 0 || r.call(e);
|
|
482
482
|
}, t.prototype._subscribe = function(e) {
|
|
483
483
|
var r, i;
|
|
484
|
-
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && i !== void 0 ? i :
|
|
484
|
+
return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e)) !== null && i !== void 0 ? i : rt;
|
|
485
485
|
}, t;
|
|
486
|
-
}(
|
|
486
|
+
}(st), at = {
|
|
487
487
|
now: function() {
|
|
488
|
-
return (
|
|
488
|
+
return (at.delegate || Date).now();
|
|
489
489
|
},
|
|
490
490
|
delegate: void 0
|
|
491
491
|
}, Nt = function(n) {
|
|
492
492
|
J(t, n);
|
|
493
493
|
function t(e, r, i) {
|
|
494
|
-
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i =
|
|
494
|
+
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = at);
|
|
495
495
|
var o = n.call(this) || this;
|
|
496
496
|
return o._bufferSize = e, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, r), o;
|
|
497
497
|
}
|
|
@@ -511,29 +511,29 @@ var Gt = tt(function(n) {
|
|
|
511
511
|
b && o.splice(0, b + 1);
|
|
512
512
|
}
|
|
513
513
|
}, t;
|
|
514
|
-
}(
|
|
515
|
-
const
|
|
516
|
-
if (
|
|
514
|
+
}(st);
|
|
515
|
+
const Ne = [], qe = {}, qt = (n, t = 0) => {
|
|
516
|
+
if (Ne.indexOf(n) == -1) {
|
|
517
517
|
const e = new Nt(t);
|
|
518
|
-
|
|
518
|
+
qe[n] = e, Ne.push(n);
|
|
519
519
|
}
|
|
520
|
-
return
|
|
520
|
+
return qe[n];
|
|
521
521
|
};
|
|
522
522
|
window.emWidgets = { topic: qt };
|
|
523
|
-
const
|
|
523
|
+
const Xe = (n) => n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
524
524
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
525
525
|
function Xt({ withLocale: n, translations: t }) {
|
|
526
526
|
he.subscribe((e) => {
|
|
527
527
|
e == null && (bt.set(t), he.set(n));
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ye(n, t) {
|
|
531
531
|
wt(n, t);
|
|
532
532
|
}
|
|
533
533
|
function Yt(n) {
|
|
534
534
|
he.set(n);
|
|
535
535
|
}
|
|
536
|
-
const
|
|
536
|
+
const Ke = {
|
|
537
537
|
en: {
|
|
538
538
|
login: "Log in",
|
|
539
539
|
register: "Register",
|
|
@@ -686,7 +686,7 @@ if (typeof window < "u") {
|
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
689
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-G4EQgT1w.js").then(
|
|
690
690
|
({ default: t }) => {
|
|
691
691
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
692
692
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -701,7 +701,7 @@ function Kt(n) {
|
|
|
701
701
|
function Vt(n) {
|
|
702
702
|
let t, e, r, i, o, s, l, f = (
|
|
703
703
|
/*tourid*/
|
|
704
|
-
n[25] &&
|
|
704
|
+
n[25] && Ve(n)
|
|
705
705
|
);
|
|
706
706
|
function b(m, g) {
|
|
707
707
|
if (!/*isLoggedIn*/
|
|
@@ -722,10 +722,10 @@ function Vt(n) {
|
|
|
722
722
|
let h = b(n), c = h && h(n), d = (
|
|
723
723
|
/*errorJoin*/
|
|
724
724
|
(n[18] || /*errorJoinConcurrently*/
|
|
725
|
-
n[20]) &&
|
|
725
|
+
n[20]) && $e(n)
|
|
726
726
|
), _ = (
|
|
727
727
|
/*showslider*/
|
|
728
|
-
n[3] == "true" &&
|
|
728
|
+
n[3] == "true" && et(n)
|
|
729
729
|
);
|
|
730
730
|
return {
|
|
731
731
|
c() {
|
|
@@ -776,7 +776,7 @@ function Vt(n) {
|
|
|
776
776
|
},
|
|
777
777
|
p(m, g) {
|
|
778
778
|
/*tourid*/
|
|
779
|
-
m[25] ? f ? f.p(m, g) : (f =
|
|
779
|
+
m[25] ? f ? f.p(m, g) : (f = Ve(m), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), g[0] & /*clientstyling*/
|
|
780
780
|
1024 && u(
|
|
781
781
|
e,
|
|
782
782
|
"clientstyling",
|
|
@@ -826,8 +826,8 @@ function Vt(n) {
|
|
|
826
826
|
m[23]
|
|
827
827
|
), h === (h = b(m)) && c ? c.p(m, g) : (c && c.d(1), c = h && h(m), c && (c.c(), c.m(i, null))), /*errorJoin*/
|
|
828
828
|
m[18] || /*errorJoinConcurrently*/
|
|
829
|
-
m[20] ? d ? d.p(m, g) : (d =
|
|
830
|
-
m[3] == "true" ? _ ? _.p(m, g) : (_ =
|
|
829
|
+
m[20] ? d ? d.p(m, g) : (d = $e(m), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null), /*showslider*/
|
|
830
|
+
m[3] == "true" ? _ ? _.p(m, g) : (_ = et(m), _.c(), _.m(l.parentNode, l)) : _ && (_.d(1), _ = null);
|
|
831
831
|
},
|
|
832
832
|
d(m) {
|
|
833
833
|
m && (w(t), w(e), w(r), w(i), w(o), w(s), w(l)), f && f.d(m), c && c.d(), d && d.d(m), _ && _.d(m);
|
|
@@ -849,7 +849,7 @@ function Zt(n) {
|
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Ve(n) {
|
|
853
853
|
let t, e, r, i;
|
|
854
854
|
return {
|
|
855
855
|
c() {
|
|
@@ -970,7 +970,7 @@ function Qt(n) {
|
|
|
970
970
|
function $t(n) {
|
|
971
971
|
let t, e, r = (
|
|
972
972
|
/*showdetails*/
|
|
973
|
-
n[2] == "true" &&
|
|
973
|
+
n[2] == "true" && Ze(n)
|
|
974
974
|
);
|
|
975
975
|
function i(l, f) {
|
|
976
976
|
return (
|
|
@@ -988,7 +988,7 @@ function $t(n) {
|
|
|
988
988
|
},
|
|
989
989
|
p(l, f) {
|
|
990
990
|
/*showdetails*/
|
|
991
|
-
l[2] == "true" ? r ? r.p(l, f) : (r =
|
|
991
|
+
l[2] == "true" ? r ? r.p(l, f) : (r = Ze(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o === (o = i(l)) && s ? s.p(l, f) : (s.d(1), s = o(l), s && (s.c(), s.m(e.parentNode, e)));
|
|
992
992
|
},
|
|
993
993
|
d(l) {
|
|
994
994
|
l && (w(t), w(e)), r && r.d(l), s.d(l);
|
|
@@ -1035,7 +1035,7 @@ function en(n) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function Ze(n) {
|
|
1039
1039
|
let t, e = (
|
|
1040
1040
|
/*$_*/
|
|
1041
1041
|
n[33]("details") + ""
|
|
@@ -1111,7 +1111,7 @@ function tn(n) {
|
|
|
1111
1111
|
function nn(n) {
|
|
1112
1112
|
let t, e = (
|
|
1113
1113
|
/*showdetails*/
|
|
1114
|
-
n[2] == "true" &&
|
|
1114
|
+
n[2] == "true" && Qe(n)
|
|
1115
1115
|
);
|
|
1116
1116
|
return {
|
|
1117
1117
|
c() {
|
|
@@ -1122,7 +1122,7 @@ function nn(n) {
|
|
|
1122
1122
|
},
|
|
1123
1123
|
p(r, i) {
|
|
1124
1124
|
/*showdetails*/
|
|
1125
|
-
r[2] == "true" ? e ? e.p(r, i) : (e =
|
|
1125
|
+
r[2] == "true" ? e ? e.p(r, i) : (e = Qe(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
1126
1126
|
},
|
|
1127
1127
|
d(r) {
|
|
1128
1128
|
r && w(t), e && e.d(r);
|
|
@@ -1166,7 +1166,7 @@ function on(n) {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function Qe(n) {
|
|
1170
1170
|
let t, e = (
|
|
1171
1171
|
/*$_*/
|
|
1172
1172
|
n[33]("enrolled") + ""
|
|
@@ -1188,7 +1188,7 @@ function Ze(n) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
};
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function $e(n) {
|
|
1192
1192
|
let t, e = (
|
|
1193
1193
|
/*$_*/
|
|
1194
1194
|
n[33]("joinerror") + ""
|
|
@@ -1218,10 +1218,10 @@ function Qe(n) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
};
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function et(n) {
|
|
1222
1222
|
let t, e, r = (
|
|
1223
1223
|
/*isLoading*/
|
|
1224
|
-
n[16] &&
|
|
1224
|
+
n[16] && tt()
|
|
1225
1225
|
);
|
|
1226
1226
|
return {
|
|
1227
1227
|
c() {
|
|
@@ -1262,7 +1262,7 @@ function $e(n) {
|
|
|
1262
1262
|
},
|
|
1263
1263
|
p(i, o) {
|
|
1264
1264
|
/*isLoading*/
|
|
1265
|
-
i[16] ? r || (r =
|
|
1265
|
+
i[16] ? r || (r = tt(), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o[0] & /*clientstyling*/
|
|
1266
1266
|
1024 && u(
|
|
1267
1267
|
e,
|
|
1268
1268
|
"clientstyling",
|
|
@@ -1305,7 +1305,7 @@ function $e(n) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function tt(n) {
|
|
1309
1309
|
let t;
|
|
1310
1310
|
return {
|
|
1311
1311
|
c() {
|
|
@@ -1569,22 +1569,22 @@ function an(n, t, e) {
|
|
|
1569
1569
|
Tt(n, Pt, (a) => e(33, r = a));
|
|
1570
1570
|
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: l } = t, { endpoint: f = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: c = "" } = t, { maxwidth: d = "" } = t, { fullsize: _ = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: W = "" } = t, { detailsevent: Se = "" } = t, { loginurl: H = "" } = t, { registerurl: G = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: Te = "false" } = t, { clientstyling: N = "" } = t, { clientstylingurl: q = "" } = t, { translationurl: X = "" } = t, { tournamentinfo: Y } = t, { mbsource: K } = t, { tournamentid: oe } = t, z, D = !1, V = "", L = !0, Fe = window.navigator.userAgent, Z = !1, Q = !1, Ee = "There was an error while trying to join the tournament", se = !1, ae, je, ze, I, P, Pe, le, Be, Ce, Oe = [], ue = [], xe = "#", $ = !1;
|
|
1571
1571
|
Xt({ withLocale: "en", translations: {} });
|
|
1572
|
-
const
|
|
1572
|
+
const lt = () => {
|
|
1573
1573
|
fetch(X).then((k) => k.json()).then((k) => {
|
|
1574
1574
|
Object.keys(k).forEach((F) => {
|
|
1575
|
-
|
|
1575
|
+
Ye(F, k[F]);
|
|
1576
1576
|
});
|
|
1577
1577
|
}).catch((k) => {
|
|
1578
1578
|
console.log(k);
|
|
1579
1579
|
});
|
|
1580
1580
|
};
|
|
1581
|
-
Object.keys(
|
|
1582
|
-
|
|
1581
|
+
Object.keys(Ke).forEach((a) => {
|
|
1582
|
+
Ye(a, Ke[a]);
|
|
1583
1583
|
});
|
|
1584
1584
|
const Ae = (a) => {
|
|
1585
|
-
|
|
1585
|
+
ut(a), fe(a), Ie(this, P);
|
|
1586
1586
|
}, De = (a) => {
|
|
1587
|
-
if (a.data && a.data.type == "UserSessionID" && (e(15, D = !0), V = a.data.session), a.data.type == "UpdateTournamentView") {
|
|
1587
|
+
if (a.data && a.data.type == "UserSessionID" && (e(15, D = !0), V = a.data.session, Me(f)), a.data.type == "UpdateTournamentView") {
|
|
1588
1588
|
let k = a.data.tournamentData;
|
|
1589
1589
|
if (P && P != k.id)
|
|
1590
1590
|
return;
|
|
@@ -1604,7 +1604,7 @@ function an(n, t, e) {
|
|
|
1604
1604
|
F + 200
|
|
1605
1605
|
);
|
|
1606
1606
|
}
|
|
1607
|
-
},
|
|
1607
|
+
}, ut = (a) => {
|
|
1608
1608
|
a.state != I && (e(24, I = a.state), window.postMessage(
|
|
1609
1609
|
{
|
|
1610
1610
|
type: `TournamentStatus_${P}`,
|
|
@@ -1612,11 +1612,11 @@ function an(n, t, e) {
|
|
|
1612
1612
|
},
|
|
1613
1613
|
window.location.href
|
|
1614
1614
|
));
|
|
1615
|
-
},
|
|
1615
|
+
}, ft = () => {
|
|
1616
1616
|
g && (window.postMessage({ type: g, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1617
1617
|
context: "TournamentsThumbnailController"
|
|
1618
1618
|
})), H && (window.location = H);
|
|
1619
|
-
},
|
|
1619
|
+
}, ct = () => {
|
|
1620
1620
|
W && (window.postMessage(
|
|
1621
1621
|
{
|
|
1622
1622
|
type: W,
|
|
@@ -1626,7 +1626,7 @@ function an(n, t, e) {
|
|
|
1626
1626
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1627
1627
|
context: "TournamentsThumbnailController"
|
|
1628
1628
|
})), G && (window.location = G);
|
|
1629
|
-
},
|
|
1629
|
+
}, dt = (a) => {
|
|
1630
1630
|
window.postMessage(
|
|
1631
1631
|
{
|
|
1632
1632
|
type: "TournamentDetailsClicked",
|
|
@@ -1644,7 +1644,7 @@ function an(n, t, e) {
|
|
|
1644
1644
|
window.location.href
|
|
1645
1645
|
), e(17, Z = !0);
|
|
1646
1646
|
let F = new URL(`${f}/v1/bonus/claim`), A = new Headers(), ce = {};
|
|
1647
|
-
F.searchParams.append("language", m), F.searchParams.append("platform",
|
|
1647
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Xe(Fe)), A.append("Content-Type", "application/json"), A.append("X-SessionID", V), k && k.length >= 1 && (ce = {
|
|
1648
1648
|
language: m,
|
|
1649
1649
|
bonusCode: k[0].code,
|
|
1650
1650
|
currency: ie,
|
|
@@ -1655,7 +1655,7 @@ function an(n, t, e) {
|
|
|
1655
1655
|
headers: A,
|
|
1656
1656
|
body: JSON.stringify(ce)
|
|
1657
1657
|
};
|
|
1658
|
-
const
|
|
1658
|
+
const Re = () => {
|
|
1659
1659
|
e(17, Z = !1), e(27, le = !0);
|
|
1660
1660
|
}, de = (E) => {
|
|
1661
1661
|
e(17, Z = !1), E && e(19, Ee = E), e(18, Q = !0);
|
|
@@ -1670,10 +1670,10 @@ function an(n, t, e) {
|
|
|
1670
1670
|
})();
|
|
1671
1671
|
if (R)
|
|
1672
1672
|
if (R.success == !0)
|
|
1673
|
-
|
|
1673
|
+
Re();
|
|
1674
1674
|
else if (R.errorMessage.match("VersionMismatchException")) {
|
|
1675
1675
|
let E;
|
|
1676
|
-
E = await fetch(`${f}/tournaments/${P}`, { headers: { "X-SessionID": i } }), E = await E.json(), E?.item?.playerEnrolled ?
|
|
1676
|
+
E = await fetch(`${f}/tournaments/${P}`, { headers: { "X-SessionID": i } }), E = await E.json(), E?.item?.playerEnrolled ? Re() : (de(R.errorMessage), e(20, se = !0), e(18, Q = !1));
|
|
1677
1677
|
} else
|
|
1678
1678
|
de(R.errorMessage);
|
|
1679
1679
|
}, Ie = (a, k) => {
|
|
@@ -1686,10 +1686,10 @@ function an(n, t, e) {
|
|
|
1686
1686
|
);
|
|
1687
1687
|
}, fe = (a) => {
|
|
1688
1688
|
a && (e(21, ae = a.nameOrTitle || ""), e(22, je = a.startTime), e(23, ze = a.endTime), e(24, I = a.state), e(25, P = a.id), e(26, Pe = a.thumbnail), e(27, le = a.playerEnrolled === "true" || a.playerEnrolled == !0 || !1), e(28, Be = a.scoreCriteria), e(29, Ce = a.minBetCount), Oe = a.prizes, e(30, ue = a.wallets || []), e(31, xe = a.termsUrl || "#"));
|
|
1689
|
-
},
|
|
1689
|
+
}, Me = (a) => {
|
|
1690
1690
|
e(16, L = !0);
|
|
1691
1691
|
const k = a ? `${a}/v1/tournaments/${oe}` : s, F = new URL(k), A = new Headers();
|
|
1692
|
-
F.searchParams.append("language", m), F.searchParams.append("platform",
|
|
1692
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Xe(Fe)), D && A.append("X-SessionID", V), fetch(F, { method: "GET", headers: A }).then((M) => M.json()).then((M) => {
|
|
1693
1693
|
fe(M.item);
|
|
1694
1694
|
}).finally(() => {
|
|
1695
1695
|
e(16, L = !1);
|
|
@@ -1701,7 +1701,7 @@ function an(n, t, e) {
|
|
|
1701
1701
|
fe(Y);
|
|
1702
1702
|
return;
|
|
1703
1703
|
}
|
|
1704
|
-
e(16, L = !0),
|
|
1704
|
+
e(16, L = !0), Me(f);
|
|
1705
1705
|
};
|
|
1706
1706
|
Ft(() => (e(16, L = !ae), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", De, !1), () => {
|
|
1707
1707
|
window.removeEventListener("message", De);
|
|
@@ -1717,7 +1717,7 @@ function an(n, t, e) {
|
|
|
1717
1717
|
}, n.$$.update = () => {
|
|
1718
1718
|
n.$$.dirty[0] & /*lang*/
|
|
1719
1719
|
128 && m && Yt(m), n.$$.dirty[0] & /*translationurl*/
|
|
1720
|
-
4096 && X &&
|
|
1720
|
+
4096 && X && lt(), n.$$.dirty[1] & /*session*/
|
|
1721
1721
|
256 && i && mt(), n.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1722
1722
|
130 && s && m && ht(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1723
1723
|
17408 && N && z && Bt(z, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -1758,9 +1758,9 @@ function an(n, t, e) {
|
|
|
1758
1758
|
xe,
|
|
1759
1759
|
$,
|
|
1760
1760
|
r,
|
|
1761
|
-
ut,
|
|
1762
1761
|
ft,
|
|
1763
1762
|
ct,
|
|
1763
|
+
dt,
|
|
1764
1764
|
Le,
|
|
1765
1765
|
Ie,
|
|
1766
1766
|
i,
|
|
@@ -1963,5 +1963,5 @@ class ln extends vt {
|
|
|
1963
1963
|
yt(ln, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, detailsevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {}, tournamentid: {} }, [], [], !0);
|
|
1964
1964
|
export {
|
|
1965
1965
|
ln as C,
|
|
1966
|
-
|
|
1966
|
+
Xe as g
|
|
1967
1967
|
};
|