@everymatrix/player-challenges 0.1.28 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{ArrowLeftIcon-DEPBZBRM.js → ArrowLeftIcon-3qrKAvdj.js} +1 -1
- package/components/{ArrowLeftIcon-BE-UTNx8.cjs → ArrowLeftIcon-DfIi_ild.cjs} +1 -1
- package/components/{Badge-BHsDsF1a.cjs → Badge-DFveO0N2.cjs} +2 -2
- package/components/{Badge-CVIWOeMs.js → Badge-UAilzVOG.js} +53 -55
- package/components/{Button-BuvNO4_4.js → Button-CzKbnOcC.js} +18 -18
- package/components/{Button-uyqixgQp.cjs → Button-DYIKg1bw.cjs} +2 -2
- package/components/{ChallengeBanner-DaStj94I.cjs → ChallengeBanner-CLOInO3g.cjs} +2 -2
- package/components/{ChallengeBanner-CJq-rT4a.js → ChallengeBanner-IgIai24t.js} +39 -39
- package/components/{ChallengeBreadcrumbs-ChatLS_r.cjs → ChallengeBreadcrumbs-BTbBzzQ7.cjs} +1 -1
- package/components/{ChallengeBreadcrumbs-CI8weFPB.js → ChallengeBreadcrumbs-CJtVYxk1.js} +2 -2
- package/components/ChallengeCard-Bgbcplkq.cjs +6 -0
- package/components/{ChallengeCard-ChvTO3u-.js → ChallengeCard-eycA-QQR.js} +199 -207
- package/components/{ChallengeClaimCode-QzWtGl3d.js → ChallengeClaimCode-7_t0VrV1.js} +68 -70
- package/components/{ChallengeClaimCode-CNDcRf40.cjs → ChallengeClaimCode-_w823IPm.cjs} +2 -2
- package/components/ChallengeDetails-DG09x6Eu.cjs +5 -0
- package/components/{ChallengeDetails-BMhe6TJQ.js → ChallengeDetails-DIlswoao.js} +171 -161
- package/components/{ChallengeDetailsSkeleton-DvaG5Vtl.cjs → ChallengeDetailsSkeleton--laE6pYH.cjs} +2 -2
- package/components/{ChallengeDetailsSkeleton-C3lUpHQI.js → ChallengeDetailsSkeleton-M5rC4gwT.js} +53 -53
- package/components/ChallengeEvents-B3Bzqtoo.js +35 -0
- package/components/{ChallengeEvents-Ccs-2sVC.cjs → ChallengeEvents-eIpuL6Yk.cjs} +1 -1
- package/components/ChallengeGames-B8Vm2L5G.cjs +14 -0
- package/components/ChallengeGames-L5TQ1wVu.js +164 -0
- package/components/{ChallengeHistory-CwTWuI_m.cjs → ChallengeHistory-CfySyCJf.cjs} +3 -3
- package/components/{ChallengeHistory-Br6nJHSY.js → ChallengeHistory-Cpr3ZtU1.js} +177 -185
- package/components/{ChallengeLevels-DEJpd5Ea.js → ChallengeLevels-BcKvLTo3.js} +77 -79
- package/components/ChallengeLevels-h_sq1iMg.cjs +8 -0
- package/components/{ChallengeList-DNS2FzUI.cjs → ChallengeList-BdM811gO.cjs} +2 -2
- package/components/{ChallengeList-C252FlUp.js → ChallengeList-DynA4UU9.js} +88 -88
- package/components/{ChallengeProgress-CryVLDRB.cjs → ChallengeProgress-Dg6HSNMv.cjs} +1 -1
- package/components/{ChallengeProgress-DdQh9kmS.js → ChallengeProgress-NWAKjOv2.js} +14 -14
- package/components/ChallengeProgressItem-Cxzfd65S.cjs +69 -0
- package/components/{ChallengeProgressItem-BKmopRoi.js → ChallengeProgressItem-D44UERwx.js} +232 -242
- package/components/ChallengeRules-CoSSDWCX.cjs +1 -0
- package/components/ChallengeRules-CyKZ9sRh.js +162 -0
- package/components/ChallengeSummary-B4Vp1cu8.cjs +1 -0
- package/components/ChallengeSummary-BoDIsHBs.js +248 -0
- package/components/{ChallengeTabContent-DZOkUEj2.js → ChallengeTabContent-DjqSySNS.js} +11 -11
- package/components/{ChallengeTabContent-CkUU95je.cjs → ChallengeTabContent-qwpLkxSQ.cjs} +1 -1
- package/components/{ChallengeTabPanel-DTPlF4YU.js → ChallengeTabPanel-DFXF6VqV.js} +54 -44
- package/components/ChallengeTabPanel-DYPhrVRz.cjs +1 -0
- package/components/ChallengeTabs-B5g-SF2b.cjs +16 -0
- package/components/{ChallengeTabs-DRKSY-vH.js → ChallengeTabs-_vjQrF0A.js} +3563 -3357
- package/components/{CheckIcon-CEazWbva.cjs → CheckIcon-0LtHk7fE.cjs} +1 -1
- package/components/{CheckIcon-DpKfE1MH.js → CheckIcon-BfH-d7h_.js} +1 -1
- package/components/{ChevronIcon-C-xOQWRM.cjs → ChevronIcon-BfZDLe6C.cjs} +1 -1
- package/components/{ChevronIcon-B0XO_sUW.js → ChevronIcon-D-mzPrXJ.js} +1 -1
- package/components/{ChipIcon-CU8BiGM5.js → ChipIcon-BAasRRs4.js} +1 -1
- package/components/{ChipIcon-B5wdN3J7.cjs → ChipIcon-ChCUc7Ro.cjs} +1 -1
- package/components/{ChipShineIcon-B242dy7k.cjs → ChipShineIcon-BiuHUnXR.cjs} +1 -1
- package/components/{ChipShineIcon-CT4MiKNr.js → ChipShineIcon-CoeUovBC.js} +16 -16
- package/components/{ExistIcon-BQc3oxU_.cjs → ExistIcon-CfsNk2my.cjs} +1 -1
- package/components/{ExistIcon-19wwQ4Pq.js → ExistIcon-Dv8paf_U.js} +1 -1
- package/components/{GiftIcon-BWI2iEW8.cjs → GiftIcon-BH735MXR.cjs} +1 -1
- package/components/{GiftIcon-BsPdSFbS.js → GiftIcon-Mnb_Nxbd.js} +14 -14
- package/components/{LinkIcon-CaI0ly4O.js → LinkIcon-DiVYY9ci.js} +1 -1
- package/components/{LinkIcon-BpW-XAWm.cjs → LinkIcon-Du4_pcZZ.cjs} +1 -1
- package/components/{LockIcon-Df1B037b.js → LockIcon-KP_pUGJo.js} +1 -1
- package/components/{LockIcon-CteP5M0h.cjs → LockIcon-QA92rEFW.cjs} +1 -1
- package/components/Pagination-DQklVx0w.js +113 -0
- package/components/{Pagination-95wNrpqw.cjs → Pagination-DfqNdchM.cjs} +2 -2
- package/components/PlayerChallenges-BVshv0hR.cjs +1 -0
- package/components/{PlayerChallenges-CchBlHVQ.js → PlayerChallenges-Cj6-v75C.js} +178 -165
- package/components/{StarIcon-DAgfGbDi.js → StarIcon-DTSu1OOQ.js} +1 -1
- package/components/{StarIcon-BRqeO8o_.cjs → StarIcon-DturCxI3.cjs} +1 -1
- package/components/{TargetIcon-BAPh5-Az.cjs → TargetIcon-BlVaf2Xr.cjs} +1 -1
- package/components/{TargetIcon-CNt_y-Aw.js → TargetIcon-CJJKDeVK.js} +14 -14
- package/components/helpers-B2y_AV0y.js +71 -0
- package/components/helpers-BmTQLAcy.cjs +1 -0
- package/esnext/player-challenges.cjs +1 -1
- package/esnext/player-challenges.js +2 -2
- package/package.json +1 -1
- package/components/ArrowLeftIcon-BU8o_waD.cjs +0 -1
- package/components/ArrowLeftIcon-Dbj_5vYn.js +0 -26
- package/components/Badge-DDYnNLoY.js +0 -125
- package/components/Badge-ridfl0PP.cjs +0 -6
- package/components/Button-Cj8wu5Md.cjs +0 -3
- package/components/Button-Dz4pnWKK.js +0 -67
- package/components/ChallengeBanner-Ba31Rq9f.cjs +0 -5
- package/components/ChallengeBanner-DXWb4w7k.js +0 -93
- package/components/ChallengeBreadcrumbs-2v9qUqv3.js +0 -41
- package/components/ChallengeBreadcrumbs-BEi8Lx4a.cjs +0 -1
- package/components/ChallengeCard-BYU6ox2N.cjs +0 -1
- package/components/ChallengeCard-CGvvBTal.js +0 -144
- package/components/ChallengeCard-H34qbqNf.cjs +0 -6
- package/components/ChallengeClaimCode-CtYh4Ozl.cjs +0 -1
- package/components/ChallengeClaimCode-DPcQv49Q.js +0 -75
- package/components/ChallengeDetails-Bwmo2LpG.js +0 -117
- package/components/ChallengeDetails-Cki5CFXf.cjs +0 -1
- package/components/ChallengeDetails-DRg9YZq-.cjs +0 -5
- package/components/ChallengeDetailsSkeleton-CNSrDvGk.cjs +0 -20
- package/components/ChallengeDetailsSkeleton-qBJgVZ5l.js +0 -138
- package/components/ChallengeEvents-AYaCm7Ce.js +0 -34
- package/components/ChallengeEvents-BQ4LQqmr.cjs +0 -1
- package/components/ChallengeEvents-oiDWNAEQ.js +0 -35
- package/components/ChallengeGames-CPR-dFtl.js +0 -155
- package/components/ChallengeGames-DrWOhsw3.js +0 -156
- package/components/ChallengeGames-M7zbeynl.cjs +0 -14
- package/components/ChallengeGames-k_-7nQQv.cjs +0 -14
- package/components/ChallengeHistory-EhVWOyML.cjs +0 -1
- package/components/ChallengeHistory-KLxNtWrW.js +0 -106
- package/components/ChallengeLevels-B3mcA42d.cjs +0 -8
- package/components/ChallengeLevels-DKyb_yzN.cjs +0 -8
- package/components/ChallengeLevels-HZHAF0YW.js +0 -317
- package/components/ChallengeList-B27KTsS-.cjs +0 -21
- package/components/ChallengeList-D7VynPhn.js +0 -1339
- package/components/ChallengeProgress-IiqaT5Em.js +0 -95
- package/components/ChallengeProgress-x-i7Uk-N.cjs +0 -1
- package/components/ChallengeProgressItem-BpLvYFMi.js +0 -443
- package/components/ChallengeProgressItem-DPqFHoj1.cjs +0 -69
- package/components/ChallengeProgressItem-DXcUKs_2.cjs +0 -69
- package/components/ChallengeRules-Bo71x-dY.cjs +0 -1
- package/components/ChallengeRules-BsBkXth2.js +0 -174
- package/components/ChallengeRules-CwpK2Xkv.js +0 -173
- package/components/ChallengeRules-SITJ01zy.cjs +0 -1
- package/components/ChallengeSummary-Ced7xEuQ.js +0 -254
- package/components/ChallengeSummary-DUBk5FGa.cjs +0 -1
- package/components/ChallengeSummary-Dgk8SI6H.js +0 -254
- package/components/ChallengeSummary-zwkbvHT6.cjs +0 -1
- package/components/ChallengeTabContent-D_RL7M0X.js +0 -793
- package/components/ChallengeTabContent-muOLaUSq.cjs +0 -16
- package/components/ChallengeTabPanel-BVBxw6tU.cjs +0 -1
- package/components/ChallengeTabPanel-BWmMHkmf.cjs +0 -1
- package/components/ChallengeTabPanel-Dg5mInmF.js +0 -150
- package/components/ChallengeTabs-BPweSLWX.cjs +0 -16
- package/components/ChallengeTabs-By40DWWg.cjs +0 -14
- package/components/ChallengeTabs-CXIPdZOg.js +0 -8713
- package/components/CheckIcon-BCx9LxqP.js +0 -26
- package/components/CheckIcon-CBLEKwsu.cjs +0 -1
- package/components/ChevronIcon-B_AytxK9.cjs +0 -1
- package/components/ChevronIcon-eCnBnm2z.js +0 -26
- package/components/ChipIcon-C-8el2zw.cjs +0 -1
- package/components/ChipIcon-CkGZN2GT.js +0 -26
- package/components/ChipShineIcon-BX9N9Mpi.cjs +0 -1
- package/components/ChipShineIcon-DWo1fBoj.js +0 -28
- package/components/ExistIcon-CjAJ5-z2.cjs +0 -1
- package/components/ExistIcon-DEnZyv5q.js +0 -32
- package/components/GiftIcon-Bj8xI_6c.cjs +0 -1
- package/components/GiftIcon-DXI72ybm.js +0 -26
- package/components/LinkIcon-PygPJuza.cjs +0 -1
- package/components/LinkIcon-msfckwlK.js +0 -26
- package/components/LockIcon-ZP9fS6Md.js +0 -26
- package/components/LockIcon-r0QOgTzt.cjs +0 -1
- package/components/Pagination-CacSm8FD.js +0 -115
- package/components/Pagination-DXS6FT0T.js +0 -115
- package/components/Pagination-M6DDVzpt.cjs +0 -4
- package/components/PlayerChallenges-B-2JO8O3.cjs +0 -1
- package/components/PlayerChallenges-Cql01JjT.cjs +0 -1
- package/components/PlayerChallenges-D745-4Zy.js +0 -457
- package/components/StarIcon-BEbIdRDu.js +0 -32
- package/components/StarIcon-CGd046oW.cjs +0 -1
- package/components/TargetIcon-CAhk8AIu.cjs +0 -1
- package/components/TargetIcon-Dj7y_no3.js +0 -26
- package/components/helpers-C-XoHPgR.js +0 -64
- package/components/helpers-CmamnXjp.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as E, d as x, h as G, p as s, A as P, a as _, b as L, k as y, e as a, n as k, r as D } from "./ChallengeTabs-_vjQrF0A.js";
|
|
2
2
|
import { C as u } from "./types-C1hrKH4R.js";
|
|
3
|
-
import { C as
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
6
|
-
import { C as
|
|
3
|
+
import { C as H } from "./ChallengeLevels-BcKvLTo3.js";
|
|
4
|
+
import { C as M } from "./ChallengeGames-L5TQ1wVu.js";
|
|
5
|
+
import { C as R } from "./ChallengeEvents-B3Bzqtoo.js";
|
|
6
|
+
import { C as w } from "./ChallengeRules-CyKZ9sRh.js";
|
|
7
7
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
8
8
|
}, globalThis.customElements = { define() {
|
|
9
9
|
}, get() {
|
|
10
10
|
}, whenDefined() {
|
|
11
11
|
} });
|
|
12
|
-
var
|
|
13
|
-
const
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
const n = s(t, "challengeItem", 7),
|
|
17
|
-
var
|
|
12
|
+
var A = y('<div class="challenge-details__tab-panel"><!></div>');
|
|
13
|
+
const j = { hash: "svelte-iphot3", code: "" };
|
|
14
|
+
function q(v, t) {
|
|
15
|
+
x(t, !0), G(v, j);
|
|
16
|
+
const n = s(t, "challengeItem", 7), i = s(t, "activeTab", 15), r = s(t, "endpoint", 7), g = s(t, "domainId", 7), l = s(t, "userSession", 7), d = s(t, "userId", 7), o = s(t, "initialGames", 7), m = s(t, "isPaused", 7, !1), h = s(t, "isExpired", 7, !1), c = s(t, "onStatusChange", 7);
|
|
17
|
+
var I = {
|
|
18
18
|
get challengeItem() {
|
|
19
19
|
return n();
|
|
20
20
|
},
|
|
@@ -22,22 +22,22 @@ function j(f, t) {
|
|
|
22
22
|
n(e), a();
|
|
23
23
|
},
|
|
24
24
|
get activeTab() {
|
|
25
|
-
return
|
|
25
|
+
return i();
|
|
26
26
|
},
|
|
27
27
|
set activeTab(e) {
|
|
28
|
-
|
|
28
|
+
i(e), a();
|
|
29
29
|
},
|
|
30
30
|
get endpoint() {
|
|
31
|
-
return
|
|
31
|
+
return r();
|
|
32
32
|
},
|
|
33
33
|
set endpoint(e) {
|
|
34
|
-
|
|
34
|
+
r(e), a();
|
|
35
35
|
},
|
|
36
36
|
get domainId() {
|
|
37
|
-
return
|
|
37
|
+
return g();
|
|
38
38
|
},
|
|
39
39
|
set domainId(e) {
|
|
40
|
-
|
|
40
|
+
g(e), a();
|
|
41
41
|
},
|
|
42
42
|
get userSession() {
|
|
43
43
|
return l();
|
|
@@ -51,66 +51,75 @@ function j(f, t) {
|
|
|
51
51
|
set userId(e) {
|
|
52
52
|
d(e), a();
|
|
53
53
|
},
|
|
54
|
+
get initialGames() {
|
|
55
|
+
return o();
|
|
56
|
+
},
|
|
57
|
+
set initialGames(e) {
|
|
58
|
+
o(e), a();
|
|
59
|
+
},
|
|
54
60
|
get isPaused() {
|
|
55
|
-
return
|
|
61
|
+
return m();
|
|
56
62
|
},
|
|
57
63
|
set isPaused(e = !1) {
|
|
58
|
-
|
|
64
|
+
m(e), a();
|
|
59
65
|
},
|
|
60
66
|
get isExpired() {
|
|
61
|
-
return
|
|
67
|
+
return h();
|
|
62
68
|
},
|
|
63
69
|
set isExpired(e = !1) {
|
|
64
|
-
|
|
70
|
+
h(e), a();
|
|
65
71
|
},
|
|
66
72
|
get onStatusChange() {
|
|
67
|
-
return
|
|
73
|
+
return c();
|
|
68
74
|
},
|
|
69
75
|
set onStatusChange(e) {
|
|
70
|
-
|
|
76
|
+
c(e), a();
|
|
71
77
|
}
|
|
72
|
-
},
|
|
78
|
+
}, f = A(), C = k(f);
|
|
73
79
|
{
|
|
74
|
-
var
|
|
75
|
-
|
|
80
|
+
var p = (e) => {
|
|
81
|
+
H(e, {
|
|
76
82
|
get challengeItem() {
|
|
77
83
|
return n();
|
|
78
84
|
},
|
|
79
85
|
get isPaused() {
|
|
80
|
-
return
|
|
86
|
+
return m();
|
|
81
87
|
}
|
|
82
88
|
});
|
|
83
|
-
},
|
|
84
|
-
|
|
89
|
+
}, S = (e) => {
|
|
90
|
+
M(e, {
|
|
85
91
|
get challengeItem() {
|
|
86
92
|
return n();
|
|
87
93
|
},
|
|
88
94
|
get endpoint() {
|
|
89
|
-
return
|
|
95
|
+
return r();
|
|
90
96
|
},
|
|
91
97
|
get userSession() {
|
|
92
98
|
return l();
|
|
93
99
|
},
|
|
94
100
|
get isExpired() {
|
|
95
|
-
return
|
|
101
|
+
return h();
|
|
102
|
+
},
|
|
103
|
+
get initialGames() {
|
|
104
|
+
return o();
|
|
96
105
|
}
|
|
97
106
|
});
|
|
98
|
-
},
|
|
99
|
-
|
|
107
|
+
}, b = (e) => {
|
|
108
|
+
R(e, {
|
|
100
109
|
get challengeItem() {
|
|
101
110
|
return n();
|
|
102
111
|
}
|
|
103
112
|
});
|
|
104
|
-
},
|
|
105
|
-
|
|
113
|
+
}, T = (e) => {
|
|
114
|
+
w(e, {
|
|
106
115
|
get challengeItem() {
|
|
107
116
|
return n();
|
|
108
117
|
},
|
|
109
118
|
get endpoint() {
|
|
110
|
-
return
|
|
119
|
+
return r();
|
|
111
120
|
},
|
|
112
121
|
get domainId() {
|
|
113
|
-
return
|
|
122
|
+
return g();
|
|
114
123
|
},
|
|
115
124
|
get userSession() {
|
|
116
125
|
return l();
|
|
@@ -119,18 +128,18 @@ function j(f, t) {
|
|
|
119
128
|
return d();
|
|
120
129
|
},
|
|
121
130
|
get onStatusChange() {
|
|
122
|
-
return
|
|
131
|
+
return c();
|
|
123
132
|
}
|
|
124
133
|
});
|
|
125
134
|
};
|
|
126
|
-
P(
|
|
127
|
-
|
|
135
|
+
P(C, (e) => {
|
|
136
|
+
i() === u.Levels ? e(p) : i() === u.Games ? e(S, 1) : i() === u.Events ? e(b, 2) : i() === u.Rules && e(T, 3);
|
|
128
137
|
});
|
|
129
138
|
}
|
|
130
|
-
return D(
|
|
139
|
+
return D(f), _(v, f), L(I);
|
|
131
140
|
}
|
|
132
|
-
|
|
133
|
-
|
|
141
|
+
E(
|
|
142
|
+
q,
|
|
134
143
|
{
|
|
135
144
|
challengeItem: {},
|
|
136
145
|
activeTab: {},
|
|
@@ -138,6 +147,7 @@ T(
|
|
|
138
147
|
domainId: {},
|
|
139
148
|
userSession: {},
|
|
140
149
|
userId: {},
|
|
150
|
+
initialGames: {},
|
|
141
151
|
isPaused: {},
|
|
142
152
|
isExpired: {},
|
|
143
153
|
onStatusChange: {}
|
|
@@ -147,5 +157,5 @@ T(
|
|
|
147
157
|
{ mode: "open" }
|
|
148
158
|
);
|
|
149
159
|
export {
|
|
150
|
-
|
|
160
|
+
q as C
|
|
151
161
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const n=require("./ChallengeTabs-B5g-SF2b.cjs"),r=require("./types-BS-x0LbR.cjs"),y=require("./ChallengeLevels-h_sq1iMg.cjs"),_=require("./ChallengeGames-B8Vm2L5G.cjs"),E=require("./ChallengeEvents-eIpuL6Yk.cjs"),G=require("./ChallengeRules-CoSSDWCX.cjs");var P=n.from_html('<div class="challenge-details__tab-panel"><!></div>');const x={hash:"svelte-iphot3",code:""};function f(p,t){n.push(t,!0),n.append_styles(p,x);const s=n.prop(t,"challengeItem",7),a=n.prop(t,"activeTab",15),l=n.prop(t,"endpoint",7),u=n.prop(t,"domainId",7),i=n.prop(t,"userSession",7),o=n.prop(t,"userId",7),g=n.prop(t,"initialGames",7),h=n.prop(t,"isPaused",7,!1),c=n.prop(t,"isExpired",7,!1),d=n.prop(t,"onStatusChange",7);var v={get challengeItem(){return s()},set challengeItem(e){s(e),n.flushSync()},get activeTab(){return a()},set activeTab(e){a(e),n.flushSync()},get endpoint(){return l()},set endpoint(e){l(e),n.flushSync()},get domainId(){return u()},set domainId(e){u(e),n.flushSync()},get userSession(){return i()},set userSession(e){i(e),n.flushSync()},get userId(){return o()},set userId(e){o(e),n.flushSync()},get initialGames(){return g()},set initialGames(e){g(e),n.flushSync()},get isPaused(){return h()},set isPaused(e=!1){h(e),n.flushSync()},get isExpired(){return c()},set isExpired(e=!1){c(e),n.flushSync()},get onStatusChange(){return d()},set onStatusChange(e){d(e),n.flushSync()}},m=P(),S=n.child(m);{var C=e=>{y.ChallengeLevels(e,{get challengeItem(){return s()},get isPaused(){return h()}})},I=e=>{_.ChallengeGames(e,{get challengeItem(){return s()},get endpoint(){return l()},get userSession(){return i()},get isExpired(){return c()},get initialGames(){return g()}})},b=e=>{E.ChallengeEvents(e,{get challengeItem(){return s()}})},T=e=>{G.ChallengeRules(e,{get challengeItem(){return s()},get endpoint(){return l()},get domainId(){return u()},get userSession(){return i()},get userId(){return o()},get onStatusChange(){return d()}})};n.if_block(S,e=>{a()===r.ChallengeDetailsTab.Levels?e(C):a()===r.ChallengeDetailsTab.Games?e(I,1):a()===r.ChallengeDetailsTab.Events?e(b,2):a()===r.ChallengeDetailsTab.Rules&&e(T,3)})}return n.reset(m),n.append(p,m),n.pop(v)}n.create_custom_element(f,{challengeItem:{},activeTab:{},endpoint:{},domainId:{},userSession:{},userId:{},initialGames:{},isPaused:{},isExpired:{},onStatusChange:{}},[],[],{mode:"open"});exports.ChallengeTabPanel=f;
|