@everymatrix/casino-tournaments-thumbnail-controller 1.85.17 → 1.85.19
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/{CasinoTournamentsThumbnail-D0bhSl27.js → CasinoTournamentsThumbnail-Cm8ygS_j.js} +2 -0
- package/components/{CasinoTournamentsThumbnail-CM0KZ_qz.cjs → CasinoTournamentsThumbnail-DgXXegVa.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-9Gq7MC6d.js → CasinoTournamentsThumbnail-J7Of-3j4.js} +2 -0
- package/components/CasinoTournamentsThumbnailController-DD3a1bpc.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailController-DOjilyoZ.js → CasinoTournamentsThumbnailController-DGTv-6Vg.js} +71 -70
- package/components/{CasinoTournamentsThumbnailController-JwnjQ2RC.js → CasinoTournamentsThumbnailController-yXv_8aa_.js} +56 -55
- package/components/{CasinoTournamentsThumbnailDuration-CtmrF1Bt.js → CasinoTournamentsThumbnailDuration-DMSfakAi.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-z4SPG9J0.cjs → CasinoTournamentsThumbnailDuration-IvKEkgj7.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-D8wqEI1t.js → CasinoTournamentsThumbnailDuration-ShCMXlPG.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-QWcaIVMB.js → CasinoTournamentsThumbnailGamesSlider-C9n0GZT3.js} +2 -2
- package/components/{CasinoTournamentsThumbnailGamesSlider-CdslU7P8.cjs → CasinoTournamentsThumbnailGamesSlider-HEUEl0MK.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-D8vWKDUH.js → CasinoTournamentsThumbnailGamesSlider-l7mPDvzQ.js} +2 -2
- package/components/{CasinoTournamentsThumbnailPrizes-xWpi7CTf.cjs → CasinoTournamentsThumbnailPrizes-BRbgsA4Y.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Ch-II_fr.js → CasinoTournamentsThumbnailPrizes-CEvbFf9m.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DW1RprQk.js → CasinoTournamentsThumbnailPrizes-Ctx2j7e2.js} +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
- package/components/CasinoTournamentsThumbnailController-D_bV_R7A.cjs +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as de, a as gt, b as bt, c as wt, S as yt, i as vt, s as _t, f as _, d as kt, n as ne, e as w, g as u, h as p, j as y, k as S, l as T, m as j, o as St, p as Tt, q as Ft, r as ye, t as Et, u as O, v as C, w as jt, x as R, y as ve, z as x, A as zt, B as Pt, C as Bt, D as Ct } from "./CasinoTournamentsThumbnail-
|
|
1
|
+
import { $ as de, a as gt, b as bt, c as wt, S as yt, i as vt, s as _t, f as _, d as kt, n as ne, e as w, g as u, h as p, j as y, k as S, l as T, m as j, o as St, p as Tt, q as Ft, r as ye, t as Et, u as O, v as C, w as jt, x as R, y as ve, z as x, A as zt, B as Pt, C as Bt, D as Ct } from "./CasinoTournamentsThumbnail-J7Of-3j4.js";
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -202,7 +202,7 @@ var Ot = {
|
|
|
202
202
|
},
|
|
203
203
|
delegate: void 0
|
|
204
204
|
};
|
|
205
|
-
function
|
|
205
|
+
function At(n) {
|
|
206
206
|
xt.setTimeout(function() {
|
|
207
207
|
throw n;
|
|
208
208
|
});
|
|
@@ -243,7 +243,7 @@ var nt = function(n) {
|
|
|
243
243
|
this.unsubscribe();
|
|
244
244
|
}
|
|
245
245
|
}, t;
|
|
246
|
-
}(re),
|
|
246
|
+
}(re), Dt = function() {
|
|
247
247
|
function n(t) {
|
|
248
248
|
this.partialObserver = t;
|
|
249
249
|
}
|
|
@@ -282,12 +282,12 @@ var nt = function(n) {
|
|
|
282
282
|
next: e ?? void 0,
|
|
283
283
|
error: r ?? void 0,
|
|
284
284
|
complete: i ?? void 0
|
|
285
|
-
} : s = e, o.destination = new
|
|
285
|
+
} : s = e, o.destination = new Dt(s), o;
|
|
286
286
|
}
|
|
287
287
|
return t;
|
|
288
288
|
}(nt);
|
|
289
289
|
function ee(n) {
|
|
290
|
-
|
|
290
|
+
At(n);
|
|
291
291
|
}
|
|
292
292
|
function Lt(n) {
|
|
293
293
|
throw n;
|
|
@@ -488,7 +488,7 @@ var Ht = $e(function(n) {
|
|
|
488
488
|
return (it.delegate || Date).now();
|
|
489
489
|
},
|
|
490
490
|
delegate: void 0
|
|
491
|
-
},
|
|
491
|
+
}, Gt = function(n) {
|
|
492
492
|
U(t, n);
|
|
493
493
|
function t(e, r, i) {
|
|
494
494
|
e === void 0 && (e = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = it);
|
|
@@ -512,27 +512,28 @@ var Ht = $e(function(n) {
|
|
|
512
512
|
}
|
|
513
513
|
}, t;
|
|
514
514
|
}(rt);
|
|
515
|
-
const We = [], He = {},
|
|
515
|
+
const We = [], He = {}, Nt = (n, t = 0) => {
|
|
516
516
|
if (We.indexOf(n) == -1) {
|
|
517
|
-
const e = new
|
|
517
|
+
const e = new Gt(t);
|
|
518
518
|
He[n] = e, We.push(n);
|
|
519
519
|
}
|
|
520
520
|
return He[n];
|
|
521
521
|
};
|
|
522
|
-
window.emWidgets = { topic:
|
|
523
|
-
const
|
|
524
|
-
|
|
522
|
+
window.emWidgets = { topic: Nt };
|
|
523
|
+
const Ge = (n) => n.toLowerCase().match(/android/i) ? "Android" : n.toLowerCase().match(/iphone/i) ? "iPhone" : n.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
524
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
525
|
+
function qt({ withLocale: n, translations: t }) {
|
|
525
526
|
de.subscribe((e) => {
|
|
526
527
|
e == null && (gt.set(t), de.set(n));
|
|
527
528
|
});
|
|
528
529
|
}
|
|
529
|
-
function
|
|
530
|
+
function Ne(n, t) {
|
|
530
531
|
bt(n, t);
|
|
531
532
|
}
|
|
532
|
-
function
|
|
533
|
+
function Xt(n) {
|
|
533
534
|
de.set(n);
|
|
534
535
|
}
|
|
535
|
-
const
|
|
536
|
+
const qe = {
|
|
536
537
|
en: {
|
|
537
538
|
login: "Log in",
|
|
538
539
|
register: "Register",
|
|
@@ -634,7 +635,7 @@ if (typeof window < "u") {
|
|
|
634
635
|
}
|
|
635
636
|
};
|
|
636
637
|
};
|
|
637
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
638
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-J7Of-3j4.js").then((t) => t.L).then(({ default: t }) => {
|
|
638
639
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", t.element);
|
|
639
640
|
});
|
|
640
641
|
}
|
|
@@ -650,7 +651,7 @@ if (typeof window < "u") {
|
|
|
650
651
|
}
|
|
651
652
|
};
|
|
652
653
|
};
|
|
653
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
654
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-ShCMXlPG.js").then(({ default: t }) => {
|
|
654
655
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
655
656
|
"casino-tournaments-thumbnail-duration",
|
|
656
657
|
t.element
|
|
@@ -669,7 +670,7 @@ if (typeof window < "u") {
|
|
|
669
670
|
}
|
|
670
671
|
};
|
|
671
672
|
};
|
|
672
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
673
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CEvbFf9m.js").then(({ default: t }) => {
|
|
673
674
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", t.element);
|
|
674
675
|
});
|
|
675
676
|
}
|
|
@@ -685,7 +686,7 @@ if (typeof window < "u") {
|
|
|
685
686
|
}
|
|
686
687
|
};
|
|
687
688
|
};
|
|
688
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
689
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-C9n0GZT3.js").then(
|
|
689
690
|
({ default: t }) => {
|
|
690
691
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
691
692
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -694,13 +695,13 @@ if (typeof window < "u") {
|
|
|
694
695
|
}
|
|
695
696
|
);
|
|
696
697
|
}
|
|
697
|
-
function
|
|
698
|
+
function Yt(n) {
|
|
698
699
|
kt(n, "svelte-1oqyfnf", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .SkeletonRectangle.Skeleton,.Loading .TournamentPrizes .SkeletonRectangle.Skeleton,.Loading .TournamentsGamesSlider .SkeletonRectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
|
|
699
700
|
}
|
|
700
|
-
function
|
|
701
|
+
function Kt(n) {
|
|
701
702
|
let t, e, r, i, o, s, a, c = (
|
|
702
703
|
/*tourid*/
|
|
703
|
-
n[25] &&
|
|
704
|
+
n[25] && Xe(n)
|
|
704
705
|
);
|
|
705
706
|
function b(m, g) {
|
|
706
707
|
if (!/*isLoggedIn*/
|
|
@@ -721,7 +722,7 @@ function Vt(n) {
|
|
|
721
722
|
let h = b(n), f = h && h(n), d = (
|
|
722
723
|
/*errorJoin*/
|
|
723
724
|
(n[18] || /*errorJoinConcurrently*/
|
|
724
|
-
n[20]) &&
|
|
725
|
+
n[20]) && Ve(n)
|
|
725
726
|
), v = (
|
|
726
727
|
/*showslider*/
|
|
727
728
|
n[3] == "true" && Ze(n)
|
|
@@ -775,7 +776,7 @@ function Vt(n) {
|
|
|
775
776
|
},
|
|
776
777
|
p(m, g) {
|
|
777
778
|
/*tourid*/
|
|
778
|
-
m[25] ? c ? c.p(m, g) : (c =
|
|
779
|
+
m[25] ? c ? c.p(m, g) : (c = Xe(m), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null), g[0] & /*clientstyling*/
|
|
779
780
|
1024 && u(
|
|
780
781
|
e,
|
|
781
782
|
"clientstyling",
|
|
@@ -825,7 +826,7 @@ function Vt(n) {
|
|
|
825
826
|
m[23]
|
|
826
827
|
), h === (h = b(m)) && f ? f.p(m, g) : (f && f.d(1), f = h && h(m), f && (f.c(), f.m(i, null))), /*errorJoin*/
|
|
827
828
|
m[18] || /*errorJoinConcurrently*/
|
|
828
|
-
m[20] ? d ? d.p(m, g) : (d =
|
|
829
|
+
m[20] ? d ? d.p(m, g) : (d = Ve(m), d.c(), d.m(s.parentNode, s)) : d && (d.d(1), d = null), /*showslider*/
|
|
829
830
|
m[3] == "true" ? v ? v.p(m, g) : (v = Ze(m), v.c(), v.m(a.parentNode, a)) : v && (v.d(1), v = null);
|
|
830
831
|
},
|
|
831
832
|
d(m) {
|
|
@@ -833,7 +834,7 @@ function Vt(n) {
|
|
|
833
834
|
}
|
|
834
835
|
};
|
|
835
836
|
}
|
|
836
|
-
function
|
|
837
|
+
function Vt(n) {
|
|
837
838
|
let t, e, r;
|
|
838
839
|
return {
|
|
839
840
|
c() {
|
|
@@ -848,7 +849,7 @@ function Xt(n) {
|
|
|
848
849
|
}
|
|
849
850
|
};
|
|
850
851
|
}
|
|
851
|
-
function
|
|
852
|
+
function Xe(n) {
|
|
852
853
|
let t, e, r, i;
|
|
853
854
|
return {
|
|
854
855
|
c() {
|
|
@@ -969,7 +970,7 @@ function Zt(n) {
|
|
|
969
970
|
function Qt(n) {
|
|
970
971
|
let t, e, r = (
|
|
971
972
|
/*showdetails*/
|
|
972
|
-
n[2] == "true" &&
|
|
973
|
+
n[2] == "true" && Ye(n)
|
|
973
974
|
);
|
|
974
975
|
function i(a, c) {
|
|
975
976
|
return (
|
|
@@ -987,7 +988,7 @@ function Qt(n) {
|
|
|
987
988
|
},
|
|
988
989
|
p(a, c) {
|
|
989
990
|
/*showdetails*/
|
|
990
|
-
a[2] == "true" ? r ? r.p(a, c) : (r =
|
|
991
|
+
a[2] == "true" ? r ? r.p(a, c) : (r = Ye(a), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null), o === (o = i(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(e.parentNode, e)));
|
|
991
992
|
},
|
|
992
993
|
d(a) {
|
|
993
994
|
a && (w(t), w(e)), r && r.d(a), s.d(a);
|
|
@@ -1034,7 +1035,7 @@ function $t(n) {
|
|
|
1034
1035
|
}
|
|
1035
1036
|
};
|
|
1036
1037
|
}
|
|
1037
|
-
function
|
|
1038
|
+
function Ye(n) {
|
|
1038
1039
|
let t, e = (
|
|
1039
1040
|
/*$_*/
|
|
1040
1041
|
n[33]("details") + ""
|
|
@@ -1110,7 +1111,7 @@ function en(n) {
|
|
|
1110
1111
|
function tn(n) {
|
|
1111
1112
|
let t, e = (
|
|
1112
1113
|
/*showdetails*/
|
|
1113
|
-
n[2] == "true" &&
|
|
1114
|
+
n[2] == "true" && Ke(n)
|
|
1114
1115
|
);
|
|
1115
1116
|
return {
|
|
1116
1117
|
c() {
|
|
@@ -1121,7 +1122,7 @@ function tn(n) {
|
|
|
1121
1122
|
},
|
|
1122
1123
|
p(r, i) {
|
|
1123
1124
|
/*showdetails*/
|
|
1124
|
-
r[2] == "true" ? e ? e.p(r, i) : (e =
|
|
1125
|
+
r[2] == "true" ? e ? e.p(r, i) : (e = Ke(r), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
1125
1126
|
},
|
|
1126
1127
|
d(r) {
|
|
1127
1128
|
r && w(t), e && e.d(r);
|
|
@@ -1165,7 +1166,7 @@ function rn(n) {
|
|
|
1165
1166
|
}
|
|
1166
1167
|
};
|
|
1167
1168
|
}
|
|
1168
|
-
function
|
|
1169
|
+
function Ke(n) {
|
|
1169
1170
|
let t, e = (
|
|
1170
1171
|
/*$_*/
|
|
1171
1172
|
n[33]("enrolled") + ""
|
|
@@ -1187,7 +1188,7 @@ function Ve(n) {
|
|
|
1187
1188
|
}
|
|
1188
1189
|
};
|
|
1189
1190
|
}
|
|
1190
|
-
function
|
|
1191
|
+
function Ve(n) {
|
|
1191
1192
|
let t, e = (
|
|
1192
1193
|
/*$_*/
|
|
1193
1194
|
n[33]("joinerror") + ""
|
|
@@ -1323,7 +1324,7 @@ function on(n) {
|
|
|
1323
1324
|
function c(f, d) {
|
|
1324
1325
|
return (
|
|
1325
1326
|
/*isLoading*/
|
|
1326
|
-
f[16] ?
|
|
1327
|
+
f[16] ? Vt : Kt
|
|
1327
1328
|
);
|
|
1328
1329
|
}
|
|
1329
1330
|
let b = c(n), h = b(n);
|
|
@@ -1566,24 +1567,24 @@ function on(n) {
|
|
|
1566
1567
|
function sn(n, t, e) {
|
|
1567
1568
|
let r;
|
|
1568
1569
|
St(n, zt, (l) => e(33, r = l));
|
|
1569
|
-
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = t, { endpoint: c = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: f = "" } = t, { maxwidth: d = "" } = t, { fullsize: v = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: J = "" } = t, { detailsevent: _e = "" } = t, { loginurl: W = "" } = t, { registerurl: H = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: ke = "false" } = t, { clientstyling:
|
|
1570
|
-
|
|
1570
|
+
let { session: i = "" } = t, { userid: o = "" } = t, { tournamenturl: s = "" } = t, { touridx: a } = t, { endpoint: c = "" } = t, { showdetails: b = "" } = t, { showslider: h = "" } = t, { showenrolled: f = "" } = t, { maxwidth: d = "" } = t, { fullsize: v = "" } = t, { lang: m = "" } = t, { loginevent: g = "" } = t, { registerevent: J = "" } = t, { detailsevent: _e = "" } = t, { loginurl: W = "" } = t, { registerurl: H = "" } = t, { currency: ie = "" } = t, { keepbrowsercontext: ke = "false" } = t, { clientstyling: G = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: q = "" } = t, { tournamentinfo: X } = t, { mbsource: Y } = t, z, D = !1, K = "", L = !0, Se = window.navigator.userAgent, V = !1, Z = !1, Te = "There was an error while trying to join the tournament", oe = !1, se, Fe, Ee, I, P, je, le, ze, Pe, Be = [], ae = [], Ce = "#", Q = !1;
|
|
1571
|
+
qt({ withLocale: "en", translations: {} });
|
|
1571
1572
|
const ot = () => {
|
|
1572
|
-
fetch(
|
|
1573
|
+
fetch(q).then((k) => k.json()).then((k) => {
|
|
1573
1574
|
Object.keys(k).forEach((F) => {
|
|
1574
|
-
|
|
1575
|
+
Ne(F, k[F]);
|
|
1575
1576
|
});
|
|
1576
1577
|
}).catch((k) => {
|
|
1577
1578
|
console.log(k);
|
|
1578
1579
|
});
|
|
1579
1580
|
};
|
|
1580
|
-
Object.keys(
|
|
1581
|
-
|
|
1581
|
+
Object.keys(qe).forEach((l) => {
|
|
1582
|
+
Ne(l, qe[l]);
|
|
1582
1583
|
});
|
|
1583
1584
|
const Oe = (l) => {
|
|
1584
|
-
st(l), ue(l),
|
|
1585
|
+
st(l), ue(l), De(this, P);
|
|
1585
1586
|
}, xe = (l) => {
|
|
1586
|
-
if (l.data && l.data.type == "UserSessionID" && (e(15,
|
|
1587
|
+
if (l.data && l.data.type == "UserSessionID" && (e(15, D = !0), K = l.data.session), l.data.type == "UpdateTournamentView") {
|
|
1587
1588
|
let k = l.data.tournamentData;
|
|
1588
1589
|
if (P && P != k.id)
|
|
1589
1590
|
return;
|
|
@@ -1634,16 +1635,16 @@ function sn(n, t, e) {
|
|
|
1634
1635
|
},
|
|
1635
1636
|
window.location.href
|
|
1636
1637
|
);
|
|
1637
|
-
},
|
|
1638
|
+
}, Ae = async (l, k) => {
|
|
1638
1639
|
e(18, Z = !1), e(20, oe = !1), window.postMessage(
|
|
1639
1640
|
{
|
|
1640
1641
|
type: "TournamentJoinRequest",
|
|
1641
1642
|
tournamentId: l
|
|
1642
1643
|
},
|
|
1643
1644
|
window.location.href
|
|
1644
|
-
), e(17,
|
|
1645
|
-
let F = new URL(`${c}/v1/bonus/claim`), $ = new Headers(),
|
|
1646
|
-
F.searchParams.append("language", m), F.searchParams.append("platform",
|
|
1645
|
+
), e(17, V = !0);
|
|
1646
|
+
let F = new URL(`${c}/v1/bonus/claim`), $ = new Headers(), A = {};
|
|
1647
|
+
F.searchParams.append("language", m), F.searchParams.append("platform", Ge(Se)), $.append("Content-Type", "application/json"), $.append("X-SessionID", K), k && k.length >= 1 && (A = {
|
|
1647
1648
|
language: m,
|
|
1648
1649
|
bonusCode: k[0].code,
|
|
1649
1650
|
currency: ie,
|
|
@@ -1652,12 +1653,12 @@ function sn(n, t, e) {
|
|
|
1652
1653
|
let pt = {
|
|
1653
1654
|
method: "PUT",
|
|
1654
1655
|
headers: $,
|
|
1655
|
-
body: JSON.stringify(
|
|
1656
|
+
body: JSON.stringify(A)
|
|
1656
1657
|
};
|
|
1657
1658
|
const Le = () => {
|
|
1658
|
-
e(17,
|
|
1659
|
+
e(17, V = !1), e(27, le = !0);
|
|
1659
1660
|
}, fe = (E) => {
|
|
1660
|
-
e(17,
|
|
1661
|
+
e(17, V = !1), E && e(19, Te = E), e(18, Z = !0);
|
|
1661
1662
|
}, M = await (async () => {
|
|
1662
1663
|
let E;
|
|
1663
1664
|
try {
|
|
@@ -1675,7 +1676,7 @@ function sn(n, t, e) {
|
|
|
1675
1676
|
E = await fetch(`${c}/tournaments/${P}`, { headers: { "X-SessionID": i } }), E = await E.json(), E?.item?.playerEnrolled ? Le() : (fe(M.errorMessage), e(20, oe = !0), e(18, Z = !1));
|
|
1676
1677
|
} else
|
|
1677
1678
|
fe(M.errorMessage);
|
|
1678
|
-
},
|
|
1679
|
+
}, De = (l, k) => {
|
|
1679
1680
|
window.postMessage(
|
|
1680
1681
|
{
|
|
1681
1682
|
type: `TournamentPrizes_${k}`,
|
|
@@ -1688,16 +1689,16 @@ function sn(n, t, e) {
|
|
|
1688
1689
|
}, ft = (l) => {
|
|
1689
1690
|
e(16, L = !0);
|
|
1690
1691
|
let k = new URL(l), F = new Headers();
|
|
1691
|
-
k.searchParams.append("language", m), k.searchParams.append("platform",
|
|
1692
|
-
ue(
|
|
1692
|
+
k.searchParams.append("language", m), k.searchParams.append("platform", Ge(Se)), D && F.append("X-SessionID", K), fetch(k, { method: "GET", headers: F }).then((A) => A.json()).then((A) => {
|
|
1693
|
+
ue(A.item);
|
|
1693
1694
|
}).finally(() => {
|
|
1694
1695
|
e(16, L = !1);
|
|
1695
1696
|
});
|
|
1696
1697
|
}, ct = () => {
|
|
1697
|
-
e(15,
|
|
1698
|
+
e(15, D = i?.length > 10), D && (K = i);
|
|
1698
1699
|
}, dt = () => {
|
|
1699
|
-
if (
|
|
1700
|
-
ue(
|
|
1700
|
+
if (X) {
|
|
1701
|
+
ue(X);
|
|
1701
1702
|
return;
|
|
1702
1703
|
}
|
|
1703
1704
|
e(16, L = !0), ft(s);
|
|
@@ -1705,23 +1706,23 @@ function sn(n, t, e) {
|
|
|
1705
1706
|
Tt(() => (e(16, L = !se), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", xe, !1), () => {
|
|
1706
1707
|
window.removeEventListener("message", xe);
|
|
1707
1708
|
}));
|
|
1708
|
-
const mt = () =>
|
|
1709
|
+
const mt = () => Ae(P, ae);
|
|
1709
1710
|
function ht(l) {
|
|
1710
1711
|
Ft[l ? "unshift" : "push"](() => {
|
|
1711
1712
|
z = l, e(14, z);
|
|
1712
1713
|
});
|
|
1713
1714
|
}
|
|
1714
1715
|
return n.$$set = (l) => {
|
|
1715
|
-
"session" in l && e(39, i = l.session), "userid" in l && e(0, o = l.userid), "tournamenturl" in l && e(1, s = l.tournamenturl), "touridx" in l && e(40, a = l.touridx), "endpoint" in l && e(41, c = l.endpoint), "showdetails" in l && e(2, b = l.showdetails), "showslider" in l && e(3, h = l.showslider), "showenrolled" in l && e(4, f = l.showenrolled), "maxwidth" in l && e(5, d = l.maxwidth), "fullsize" in l && e(6, v = l.fullsize), "lang" in l && e(7, m = l.lang), "loginevent" in l && e(42, g = l.loginevent), "registerevent" in l && e(43, J = l.registerevent), "detailsevent" in l && e(8, _e = l.detailsevent), "loginurl" in l && e(44, W = l.loginurl), "registerurl" in l && e(45, H = l.registerurl), "currency" in l && e(46, ie = l.currency), "keepbrowsercontext" in l && e(9, ke = l.keepbrowsercontext), "clientstyling" in l && e(10,
|
|
1716
|
+
"session" in l && e(39, i = l.session), "userid" in l && e(0, o = l.userid), "tournamenturl" in l && e(1, s = l.tournamenturl), "touridx" in l && e(40, a = l.touridx), "endpoint" in l && e(41, c = l.endpoint), "showdetails" in l && e(2, b = l.showdetails), "showslider" in l && e(3, h = l.showslider), "showenrolled" in l && e(4, f = l.showenrolled), "maxwidth" in l && e(5, d = l.maxwidth), "fullsize" in l && e(6, v = l.fullsize), "lang" in l && e(7, m = l.lang), "loginevent" in l && e(42, g = l.loginevent), "registerevent" in l && e(43, J = l.registerevent), "detailsevent" in l && e(8, _e = l.detailsevent), "loginurl" in l && e(44, W = l.loginurl), "registerurl" in l && e(45, H = l.registerurl), "currency" in l && e(46, ie = l.currency), "keepbrowsercontext" in l && e(9, ke = l.keepbrowsercontext), "clientstyling" in l && e(10, G = l.clientstyling), "clientstylingurl" in l && e(11, N = l.clientstylingurl), "translationurl" in l && e(12, q = l.translationurl), "tournamentinfo" in l && e(47, X = l.tournamentinfo), "mbsource" in l && e(13, Y = l.mbsource);
|
|
1716
1717
|
}, n.$$.update = () => {
|
|
1717
1718
|
n.$$.dirty[0] & /*lang*/
|
|
1718
|
-
128 && m &&
|
|
1719
|
-
4096 &&
|
|
1719
|
+
128 && m && Xt(m), n.$$.dirty[0] & /*translationurl*/
|
|
1720
|
+
4096 && q && ot(), n.$$.dirty[1] & /*session*/
|
|
1720
1721
|
256 && i && ct(), n.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1721
1722
|
130 && s && m && dt(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1722
|
-
17408 &&
|
|
1723
|
-
18432 &&
|
|
1724
|
-
24576 &&
|
|
1723
|
+
17408 && G && z && Pt(z, G), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1724
|
+
18432 && N && z && Bt(z, N), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1725
|
+
24576 && Y && z && Ct(z, `${Y}.Style`);
|
|
1725
1726
|
}, [
|
|
1726
1727
|
o,
|
|
1727
1728
|
s,
|
|
@@ -1733,14 +1734,14 @@ function sn(n, t, e) {
|
|
|
1733
1734
|
m,
|
|
1734
1735
|
_e,
|
|
1735
1736
|
ke,
|
|
1736
|
-
q,
|
|
1737
1737
|
G,
|
|
1738
1738
|
N,
|
|
1739
|
-
|
|
1739
|
+
q,
|
|
1740
|
+
Y,
|
|
1740
1741
|
z,
|
|
1741
|
-
|
|
1742
|
+
D,
|
|
1742
1743
|
L,
|
|
1743
|
-
|
|
1744
|
+
V,
|
|
1744
1745
|
Z,
|
|
1745
1746
|
Te,
|
|
1746
1747
|
oe,
|
|
@@ -1760,8 +1761,8 @@ function sn(n, t, e) {
|
|
|
1760
1761
|
lt,
|
|
1761
1762
|
at,
|
|
1762
1763
|
ut,
|
|
1763
|
-
De,
|
|
1764
1764
|
Ae,
|
|
1765
|
+
De,
|
|
1765
1766
|
i,
|
|
1766
1767
|
a,
|
|
1767
1768
|
c,
|
|
@@ -1770,7 +1771,7 @@ function sn(n, t, e) {
|
|
|
1770
1771
|
W,
|
|
1771
1772
|
H,
|
|
1772
1773
|
ie,
|
|
1773
|
-
|
|
1774
|
+
X,
|
|
1774
1775
|
mt,
|
|
1775
1776
|
ht
|
|
1776
1777
|
];
|
|
@@ -1808,7 +1809,7 @@ class ln extends yt {
|
|
|
1808
1809
|
tournamentinfo: 47,
|
|
1809
1810
|
mbsource: 13
|
|
1810
1811
|
},
|
|
1811
|
-
|
|
1812
|
+
Yt,
|
|
1812
1813
|
[-1, -1, -1]
|
|
1813
1814
|
);
|
|
1814
1815
|
}
|
|
@@ -1954,5 +1955,5 @@ class ln extends yt {
|
|
|
1954
1955
|
wt(ln, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, detailsevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {} }, [], [], !0);
|
|
1955
1956
|
export {
|
|
1956
1957
|
ln as C,
|
|
1957
|
-
|
|
1958
|
+
Ge as g
|
|
1958
1959
|
};
|