@everymatrix/player-challenges 0.1.18 → 0.1.20
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-f3IOpYNO.cjs → ArrowLeftIcon-DO6udG1s.cjs} +1 -1
- package/components/{ArrowLeftIcon-DorWQbN-.js → ArrowLeftIcon-Kaa3LG8f.js} +1 -1
- package/components/Badge-CRqhE-Hj.js +138 -0
- package/components/Badge-D0ZJbgp_.cjs +9 -0
- package/components/{Button-DgtpbC5z.js → Button--aG_lPro.js} +17 -17
- package/components/{Button-CUICdAqJ.cjs → Button-DAWII22_.cjs} +2 -2
- package/components/ChallengeBanner-BSZGA4qu.js +75 -0
- package/components/ChallengeBanner-Bs54x1Zc.cjs +4 -0
- package/components/ChallengeBreadcrumbs-D-k5g986.cjs +1 -0
- package/components/{ChallengeBreadcrumbs-DHNKXK43.js → ChallengeBreadcrumbs-DeCNSw4j.js} +7 -7
- package/components/{ChallengeCard-BuDYjnna.cjs → ChallengeCard-DV8NRsI8.cjs} +1 -1
- package/components/{ChallengeCard-SkQ_xfqo.js → ChallengeCard-DmJwt2y9.js} +5 -5
- package/components/{ChallengeClaimCode-zgBFr-2W.cjs → ChallengeClaimCode-C3wmimbK.cjs} +1 -1
- package/components/{ChallengeClaimCode-DiJqww5t.js → ChallengeClaimCode-lHWYRca3.js} +2 -2
- package/components/{ChallengeDetails-DMdkjCMC.js → ChallengeDetails-CfJ9IZJZ.js} +2 -2
- package/components/{ChallengeDetails-D1h6ITwb.cjs → ChallengeDetails-DhoUowNR.cjs} +1 -1
- package/components/ChallengeDetailsSkeleton-CQE9XygJ.js +138 -0
- package/components/ChallengeDetailsSkeleton-DUsj6Ex3.cjs +20 -0
- package/components/{ChallengeEvents-B6l3iUIf.js → ChallengeEvents-D94H9Krw.js} +16 -16
- package/components/{ChallengeEvents-D5kenBIc.cjs → ChallengeEvents-DbhIZhJN.cjs} +1 -1
- package/components/ChallengeGames-BzYJAg3r.cjs +14 -0
- package/components/ChallengeGames-CEbrL9fk.js +135 -0
- package/components/{ChallengeHistory-8LPDK1aA.js → ChallengeHistory-C37Ju-TF.js} +4 -4
- package/components/{ChallengeHistory-CHK2Q13H.cjs → ChallengeHistory-IrHNMx-f.cjs} +1 -1
- package/components/ChallengeLevels-C1Za1xaA.js +314 -0
- package/components/ChallengeLevels-C9PgTVw2.cjs +8 -0
- package/components/ChallengeList-DBHOCEpb.cjs +21 -0
- package/components/ChallengeList-DNBErKGO.js +1228 -0
- package/components/{ChallengeProgress-BFAihSd8.js → ChallengeProgress-BYIofXd9.js} +15 -15
- package/components/{ChallengeProgress-F4DvqxcC.cjs → ChallengeProgress-DD6NEO1V.cjs} +1 -1
- package/components/{ChallengeProgressItem-BHk-1FKU.js → ChallengeProgressItem-BPDACh1_.js} +241 -225
- package/components/ChallengeProgressItem-Cx1q3OK1.cjs +69 -0
- package/components/ChallengeRules-Cd4G_z7I.js +161 -0
- package/components/ChallengeRules-yhHxeXjC.cjs +1 -0
- package/components/ChallengeSummary-DUvVQjAb.js +230 -0
- package/components/ChallengeSummary-DYXjswnX.cjs +1 -0
- package/components/ChallengeTabContent-GaoM87MI.cjs +16 -0
- package/components/ChallengeTabContent-e78Z_mn_.js +782 -0
- package/components/ChallengeTabPanel-CSDQ_fby.cjs +1 -0
- package/components/{ChallengeTabPanel-CdcGT_LI.js → ChallengeTabPanel-swSmY8NR.js} +47 -44
- package/components/ChallengeTabs-C8XAfjLf.cjs +14 -0
- package/components/ChallengeTabs-DJMMrYac.js +8754 -0
- package/components/{CheckIcon-BqS1Tdfu.cjs → CheckIcon-BlrbsjpT.cjs} +1 -1
- package/components/{CheckIcon-B82NDFTL.js → CheckIcon-tK7V78N4.js} +1 -1
- package/components/{ChevronIcon-zvGKIAT7.cjs → ChevronIcon-BqhIe8-q.cjs} +1 -1
- package/components/{ChevronIcon-C0yjiiug.js → ChevronIcon-qaJ1Oj2y.js} +1 -1
- package/components/ChipIcon-BduX6dog.cjs +1 -0
- package/components/ChipIcon-Ujh-VOxq.js +26 -0
- package/components/ChipShineIcon-CeuttnnT.js +28 -0
- package/components/ChipShineIcon-Da9RxUg4.cjs +1 -0
- package/components/{ExistIcon-Y3lLvkAJ.js → ExistIcon-D4vwoDrn.js} +1 -1
- package/components/{ExistIcon-DifozqZH.cjs → ExistIcon-DRSBI9MS.cjs} +1 -1
- package/components/{GiftIcon-Bd4y8-Fm.cjs → GiftIcon-CamLbeF4.cjs} +1 -1
- package/components/{GiftIcon-CY_-XK0b.js → GiftIcon-OBRuiA-K.js} +14 -14
- package/components/{LinkIcon-CLHvOQ2s.js → LinkIcon-CgJEoIZw.js} +1 -1
- package/components/{LinkIcon-Bttg6ZAz.cjs → LinkIcon-Ddovd_62.cjs} +1 -1
- package/components/{LockIcon-gAFRYl52.js → LockIcon-DIQ-GJQk.js} +1 -1
- package/components/{LockIcon-BgDxb03o.cjs → LockIcon-a1RxQQaV.cjs} +1 -1
- package/components/Pagination-CP5YVa1Z.js +113 -0
- package/components/Pagination-o53D-u3a.cjs +4 -0
- package/components/PlayerChallenges-B8InccvG.cjs +1 -0
- package/components/{PlayerChallenges-CaUu7idr.js → PlayerChallenges-BvI4m2pX.js} +158 -135
- package/components/{StarIcon-DE0r6703.cjs → StarIcon-BObqgUDq.cjs} +1 -1
- package/components/{StarIcon-CbfuCfUA.js → StarIcon-DndEbyJY.js} +1 -1
- package/components/{TargetIcon-BVhRYDcS.js → TargetIcon-Bo2nEJYn.js} +14 -14
- package/components/{TargetIcon-DDclkkVP.cjs → TargetIcon-DI14gV_H.cjs} +1 -1
- package/esnext/player-challenges.cjs +1 -1
- package/esnext/player-challenges.js +2 -2
- package/package.json +1 -1
- package/components/Badge-BDyFx08l.cjs +0 -7
- package/components/Badge-t5ERZxvC.js +0 -130
- package/components/ChallengeBanner-DSarDh3k.js +0 -59
- package/components/ChallengeBanner-uzrRUAwa.cjs +0 -4
- package/components/ChallengeBreadcrumbs-DwyCD4n7.cjs +0 -1
- package/components/ChallengeGames-CZu1MzPA.cjs +0 -11
- package/components/ChallengeGames-CjLLzYVy.js +0 -134
- package/components/ChallengeLevels-CCZGLr9f.cjs +0 -8
- package/components/ChallengeLevels-s9abBMuq.js +0 -292
- package/components/ChallengeList-CK16hckg.cjs +0 -20
- package/components/ChallengeList-D6_LjVsa.js +0 -1203
- package/components/ChallengeProgressItem-DrMZEU3z.cjs +0 -68
- package/components/ChallengeRules-CIINsSVb.js +0 -173
- package/components/ChallengeRules-D5vuaTVl.cjs +0 -1
- package/components/ChallengeSummary-BhoNxD8d.cjs +0 -1
- package/components/ChallengeSummary-sGIfhmFq.js +0 -213
- package/components/ChallengeTabContent-CYsszYCj.js +0 -795
- package/components/ChallengeTabContent-CftvI5C6.cjs +0 -12
- package/components/ChallengeTabPanel-ChsZw13b.cjs +0 -1
- package/components/ChallengeTabSkeleton-CDYom40f.cjs +0 -15
- package/components/ChallengeTabSkeleton-CuRzH3G_.js +0 -92
- package/components/ChallengeTabs-Dcgam5G5.cjs +0 -14
- package/components/ChallengeTabs-TgwP2u9F.js +0 -8618
- package/components/Pagination-4P-rWszf.cjs +0 -12
- package/components/Pagination-CbvI_9SC.js +0 -123
- package/components/PlayerChallenges-CtnY-k5K.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { a as
|
|
3
|
-
import { C as
|
|
4
|
-
import { b as
|
|
1
|
+
import { c as W, d as X, h as ce, p as s, u as U, q as he, au as O, aA as G, v as z, E as V, w as N, x as q, aR as y, aW as H, F as _, A as t, aX as x, aY as be, aT as me, z as ve, a as B, b as Y, C as i, k as Z, e as r, aP as fe, n as Te, r as Ie, I as F, o as J, aZ as ye, a_ as Ce, a$ as De, aU as R, av as ke, aV as Se } from "./ChallengeTabs-DJMMrYac.js";
|
|
2
|
+
import { a as _e } from "./ChallengeList-DNBErKGO.js";
|
|
3
|
+
import { C as Me } from "./ChallengeBreadcrumbs-DeCNSw4j.js";
|
|
4
|
+
import { b as ze } from "./ChallengeTabContent-e78Z_mn_.js";
|
|
5
5
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
6
6
|
}, globalThis.customElements = { define() {
|
|
7
7
|
}, get() {
|
|
8
8
|
}, whenDefined() {
|
|
9
9
|
} });
|
|
10
|
-
const
|
|
10
|
+
const Le = {
|
|
11
11
|
en: {
|
|
12
12
|
noChallenges: "No challenges at the moment. Try exploring events or keep playing to unlock new ones.",
|
|
13
13
|
loadMore: "Load more",
|
|
@@ -44,142 +44,148 @@ const Me = {
|
|
|
44
44
|
challengesAnonymous: "Jelentkezzen be, hogy lássa a kihívásait és haladását."
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
var
|
|
48
|
-
const
|
|
47
|
+
var K = Z("<!> <!>", 1), we = Z('<div class="player-challenges svelte-1edjcz1"><!></div>');
|
|
48
|
+
const Pe = {
|
|
49
49
|
hash: "svelte-1edjcz1",
|
|
50
50
|
code: ".player-challenges.svelte-1edjcz1 {display:flex;flex-direction:column;gap:12px;width:100%;}"
|
|
51
51
|
};
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
const g = s(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}),
|
|
58
|
-
|
|
52
|
+
function Q(w, n) {
|
|
53
|
+
X(n, !0), ce(w, Pe);
|
|
54
|
+
const g = s(n, "endpoint", 7, ""), c = s(n, "userSession", 7, ""), h = s(n, "userId", 7, ""), b = s(n, "domainId", 7, ""), l = s(n, "locale", 7, "en"), m = s(n, "translationUrl", 7), d = s(n, "isMobile", 7, !0), T = s(n, "activeTab", 23, () => y.Promo), C = s(n, "activeChallengeId", 7), D = s(n, "activeDetailsTab", 7), k = s(n, "historyLimit", 7), S = s(n, "showTabDot", 7, !1);
|
|
55
|
+
U(() => he(l(), Le)), O(() => {
|
|
56
|
+
m() && G(m(), "challenge-card");
|
|
57
|
+
}), z(() => {
|
|
58
|
+
V(l() || "en");
|
|
59
59
|
});
|
|
60
|
-
let
|
|
61
|
-
|
|
62
|
-
const e =
|
|
63
|
-
e !== void 0 &&
|
|
60
|
+
let v = N(q(U(() => H(T())) ?? y.Promo));
|
|
61
|
+
z(() => {
|
|
62
|
+
const e = H(T());
|
|
63
|
+
e !== void 0 && _(v, e, !0);
|
|
64
64
|
});
|
|
65
|
-
const M =
|
|
66
|
-
let f =
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
const M = i(() => d() ? void 0 : C() || void 0);
|
|
66
|
+
let f = N(q(U(() => t(M))));
|
|
67
|
+
z(() => {
|
|
68
|
+
t(M) !== void 0 && (_(f, t(M), !0), x(!0, t(M)));
|
|
69
69
|
});
|
|
70
|
-
let
|
|
71
|
-
const
|
|
70
|
+
let L = N(void 0);
|
|
71
|
+
const A = i(() => !c() && !h()), u = be(() => ({
|
|
72
72
|
endpoint: g(),
|
|
73
73
|
domainId: b(),
|
|
74
74
|
userSession: c(),
|
|
75
75
|
userId: h(),
|
|
76
|
-
locale:
|
|
77
|
-
pageSize:
|
|
78
|
-
})),
|
|
76
|
+
locale: l(),
|
|
77
|
+
pageSize: fe(d())
|
|
78
|
+
})), P = i(() => u.findChallenge(t(f))), a = i(() => {
|
|
79
79
|
const e = [];
|
|
80
|
-
return
|
|
81
|
-
}),
|
|
82
|
-
e !==
|
|
83
|
-
},
|
|
84
|
-
|
|
80
|
+
return u.activeChallenges.some((o) => o.IsNew) && e.push(y.Active), u.awaitingChallenges.some((o) => o.IsNew) && e.push(y.Pending), e;
|
|
81
|
+
}), ee = (e) => {
|
|
82
|
+
e !== t(v) && (_(v, e, !0), Ce(De[e]));
|
|
83
|
+
}, te = (e, o) => {
|
|
84
|
+
_(f, e, !0), _(L, o, !0), d() || x(!0, e);
|
|
85
85
|
}, ne = () => {
|
|
86
|
-
|
|
86
|
+
d() || x(!1, t(f)), _(f, void 0), _(L, void 0);
|
|
87
87
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
const e =
|
|
88
|
+
O(() => {
|
|
89
|
+
m() && G(m(), "player-challenges");
|
|
90
|
+
}), z(() => {
|
|
91
|
+
V(l() || "en");
|
|
92
|
+
}), z(() => {
|
|
93
|
+
const e = t(v), o = {
|
|
94
94
|
endpoint: g(),
|
|
95
95
|
domainId: b(),
|
|
96
96
|
userSession: c(),
|
|
97
97
|
userId: h(),
|
|
98
|
-
locale:
|
|
99
|
-
}, I =
|
|
100
|
-
!o.endpoint || !I ||
|
|
101
|
-
}),
|
|
98
|
+
locale: l()
|
|
99
|
+
}, I = me[e];
|
|
100
|
+
!o.endpoint || !I || u.load(I, t(A));
|
|
101
|
+
}), z(() => {
|
|
102
102
|
if (g())
|
|
103
|
-
return
|
|
103
|
+
return u.connect(), () => u.disconnect();
|
|
104
104
|
});
|
|
105
|
-
var
|
|
105
|
+
var ae = {
|
|
106
106
|
get endpoint() {
|
|
107
107
|
return g();
|
|
108
108
|
},
|
|
109
109
|
set endpoint(e = "") {
|
|
110
|
-
g(e),
|
|
110
|
+
g(e), r();
|
|
111
111
|
},
|
|
112
112
|
get userSession() {
|
|
113
113
|
return c();
|
|
114
114
|
},
|
|
115
115
|
set userSession(e = "") {
|
|
116
|
-
c(e),
|
|
116
|
+
c(e), r();
|
|
117
117
|
},
|
|
118
118
|
get userId() {
|
|
119
119
|
return h();
|
|
120
120
|
},
|
|
121
121
|
set userId(e = "") {
|
|
122
|
-
h(e),
|
|
122
|
+
h(e), r();
|
|
123
123
|
},
|
|
124
124
|
get domainId() {
|
|
125
125
|
return b();
|
|
126
126
|
},
|
|
127
127
|
set domainId(e = "") {
|
|
128
|
-
b(e),
|
|
128
|
+
b(e), r();
|
|
129
129
|
},
|
|
130
130
|
get locale() {
|
|
131
|
-
return
|
|
131
|
+
return l();
|
|
132
132
|
},
|
|
133
133
|
set locale(e = "en") {
|
|
134
|
-
|
|
134
|
+
l(e), r();
|
|
135
135
|
},
|
|
136
136
|
get translationUrl() {
|
|
137
|
-
return
|
|
137
|
+
return m();
|
|
138
138
|
},
|
|
139
139
|
set translationUrl(e) {
|
|
140
|
-
|
|
140
|
+
m(e), r();
|
|
141
141
|
},
|
|
142
142
|
get isMobile() {
|
|
143
|
-
return
|
|
143
|
+
return d();
|
|
144
144
|
},
|
|
145
|
-
set isMobile(e) {
|
|
146
|
-
|
|
145
|
+
set isMobile(e = !0) {
|
|
146
|
+
d(e), r();
|
|
147
147
|
},
|
|
148
148
|
get activeTab() {
|
|
149
149
|
return T();
|
|
150
150
|
},
|
|
151
|
-
set activeTab(e =
|
|
152
|
-
T(e),
|
|
151
|
+
set activeTab(e = y.Promo) {
|
|
152
|
+
T(e), r();
|
|
153
153
|
},
|
|
154
154
|
get activeChallengeId() {
|
|
155
155
|
return C();
|
|
156
156
|
},
|
|
157
157
|
set activeChallengeId(e) {
|
|
158
|
-
C(e),
|
|
158
|
+
C(e), r();
|
|
159
159
|
},
|
|
160
160
|
get activeDetailsTab() {
|
|
161
|
-
return
|
|
161
|
+
return D();
|
|
162
162
|
},
|
|
163
163
|
set activeDetailsTab(e) {
|
|
164
|
-
|
|
164
|
+
D(e), r();
|
|
165
|
+
},
|
|
166
|
+
get historyLimit() {
|
|
167
|
+
return k();
|
|
168
|
+
},
|
|
169
|
+
set historyLimit(e) {
|
|
170
|
+
k(e), r();
|
|
165
171
|
},
|
|
166
172
|
get showTabDot() {
|
|
167
|
-
return
|
|
173
|
+
return S();
|
|
168
174
|
},
|
|
169
175
|
set showTabDot(e = !1) {
|
|
170
|
-
|
|
176
|
+
S(e), r();
|
|
171
177
|
}
|
|
172
|
-
},
|
|
178
|
+
}, p = we(), se = Te(p);
|
|
173
179
|
{
|
|
174
|
-
var
|
|
175
|
-
var o =
|
|
176
|
-
|
|
177
|
-
var
|
|
180
|
+
var re = (e) => {
|
|
181
|
+
var o = K(), I = F(o);
|
|
182
|
+
Me(I, { onBack: ne });
|
|
183
|
+
var j = J(I, 2);
|
|
178
184
|
{
|
|
179
|
-
let
|
|
180
|
-
|
|
185
|
+
let le = i(() => t(v) === y.Promo), oe = i(() => t(v) === y.Pending), de = i(() => !!t(P) && u.pausedChallengeIds.includes(t(P).ChallengeId)), ue = i(() => t(L) ?? D());
|
|
186
|
+
_e(j, {
|
|
181
187
|
get challengeId() {
|
|
182
|
-
return
|
|
188
|
+
return t(f);
|
|
183
189
|
},
|
|
184
190
|
get endpoint() {
|
|
185
191
|
return g();
|
|
@@ -194,41 +200,44 @@ function X(z, t) {
|
|
|
194
200
|
return b();
|
|
195
201
|
},
|
|
196
202
|
get locale() {
|
|
197
|
-
return
|
|
203
|
+
return l();
|
|
198
204
|
},
|
|
199
205
|
get isPromo() {
|
|
200
|
-
return
|
|
206
|
+
return t(le);
|
|
207
|
+
},
|
|
208
|
+
get isPending() {
|
|
209
|
+
return t(oe);
|
|
201
210
|
},
|
|
202
211
|
get isPaused() {
|
|
203
|
-
return
|
|
212
|
+
return t(de);
|
|
204
213
|
},
|
|
205
|
-
onStatusChange: (
|
|
206
|
-
onViewed: (
|
|
214
|
+
onStatusChange: (E, ge) => u.patchProgress(E, { Status: ge }),
|
|
215
|
+
onViewed: (E) => u.patchProgress(E, { IsNew: !1 }),
|
|
207
216
|
get activeTab() {
|
|
208
|
-
return
|
|
217
|
+
return t(ue);
|
|
209
218
|
},
|
|
210
219
|
get isMobile() {
|
|
211
|
-
return
|
|
220
|
+
return d();
|
|
212
221
|
}
|
|
213
222
|
});
|
|
214
223
|
}
|
|
215
|
-
|
|
216
|
-
},
|
|
217
|
-
var o =
|
|
218
|
-
|
|
224
|
+
B(e, o);
|
|
225
|
+
}, ie = (e) => {
|
|
226
|
+
var o = K(), I = F(o);
|
|
227
|
+
ye(I, {
|
|
219
228
|
get activeTab() {
|
|
220
|
-
return
|
|
229
|
+
return t(v);
|
|
221
230
|
},
|
|
222
|
-
onTabChange:
|
|
231
|
+
onTabChange: ee,
|
|
223
232
|
get notifyTabs() {
|
|
224
|
-
return
|
|
233
|
+
return t(a);
|
|
225
234
|
},
|
|
226
235
|
get showTabDot() {
|
|
227
|
-
return
|
|
236
|
+
return S();
|
|
228
237
|
}
|
|
229
238
|
});
|
|
230
|
-
var
|
|
231
|
-
|
|
239
|
+
var j = J(I, 2);
|
|
240
|
+
ze(j, {
|
|
232
241
|
get endpoint() {
|
|
233
242
|
return g();
|
|
234
243
|
},
|
|
@@ -242,28 +251,31 @@ function X(z, t) {
|
|
|
242
251
|
return b();
|
|
243
252
|
},
|
|
244
253
|
get locale() {
|
|
245
|
-
return
|
|
254
|
+
return l();
|
|
246
255
|
},
|
|
247
256
|
get challenges() {
|
|
248
|
-
return
|
|
257
|
+
return u;
|
|
249
258
|
},
|
|
250
|
-
onViewDetails:
|
|
259
|
+
onViewDetails: te,
|
|
251
260
|
get activeTab() {
|
|
252
|
-
return
|
|
261
|
+
return t(v);
|
|
253
262
|
},
|
|
254
263
|
get isMobile() {
|
|
255
|
-
return
|
|
264
|
+
return d();
|
|
265
|
+
},
|
|
266
|
+
get historyLimit() {
|
|
267
|
+
return k();
|
|
256
268
|
}
|
|
257
|
-
}),
|
|
269
|
+
}), B(e, o);
|
|
258
270
|
};
|
|
259
|
-
|
|
260
|
-
|
|
271
|
+
ve(se, (e) => {
|
|
272
|
+
t(f) ? e(re) : e(ie, -1);
|
|
261
273
|
});
|
|
262
274
|
}
|
|
263
|
-
return
|
|
275
|
+
return Ie(p), B(w, p), Y(ae);
|
|
264
276
|
}
|
|
265
|
-
|
|
266
|
-
|
|
277
|
+
W(
|
|
278
|
+
Q,
|
|
267
279
|
{
|
|
268
280
|
endpoint: {},
|
|
269
281
|
userSession: {},
|
|
@@ -275,85 +287,92 @@ V(
|
|
|
275
287
|
activeTab: {},
|
|
276
288
|
activeChallengeId: {},
|
|
277
289
|
activeDetailsTab: {},
|
|
290
|
+
historyLimit: {},
|
|
278
291
|
showTabDot: {}
|
|
279
292
|
},
|
|
280
293
|
[],
|
|
281
294
|
[],
|
|
282
295
|
{ mode: "open" }
|
|
283
296
|
);
|
|
284
|
-
function
|
|
285
|
-
|
|
286
|
-
let g = s(
|
|
287
|
-
const
|
|
288
|
-
var
|
|
297
|
+
function $(w, n) {
|
|
298
|
+
X(n, !0);
|
|
299
|
+
let g = s(n, "endpoint", 7, ""), c = s(n, "userSession", 7, ""), h = s(n, "userId", 7, ""), b = s(n, "domainId", 7, ""), l = s(n, "locale", 7, "en"), m = s(n, "translationUrl", 7, ""), d = s(n, "isMobile", 7), T = s(n, "activeTab", 7), C = s(n, "activeChallengeId", 7), D = s(n, "activeDetailsTab", 7), k = s(n, "historyLimit", 7), S = s(n, "showTabDot", 7);
|
|
300
|
+
const v = i(() => R(d(), !0)), M = i(() => H(T()) ?? y.Promo), f = i(() => C() || void 0), L = i(() => ke(D())), A = i(() => R(S())), u = i(() => Se(k(), 0) || void 0);
|
|
301
|
+
var P = {
|
|
289
302
|
get endpoint() {
|
|
290
303
|
return g();
|
|
291
304
|
},
|
|
292
305
|
set endpoint(a = "") {
|
|
293
|
-
g(a),
|
|
306
|
+
g(a), r();
|
|
294
307
|
},
|
|
295
308
|
get userSession() {
|
|
296
309
|
return c();
|
|
297
310
|
},
|
|
298
311
|
set userSession(a = "") {
|
|
299
|
-
c(a),
|
|
312
|
+
c(a), r();
|
|
300
313
|
},
|
|
301
314
|
get userId() {
|
|
302
315
|
return h();
|
|
303
316
|
},
|
|
304
317
|
set userId(a = "") {
|
|
305
|
-
h(a),
|
|
318
|
+
h(a), r();
|
|
306
319
|
},
|
|
307
320
|
get domainId() {
|
|
308
321
|
return b();
|
|
309
322
|
},
|
|
310
323
|
set domainId(a = "") {
|
|
311
|
-
b(a),
|
|
324
|
+
b(a), r();
|
|
312
325
|
},
|
|
313
326
|
get locale() {
|
|
314
|
-
return
|
|
327
|
+
return l();
|
|
315
328
|
},
|
|
316
329
|
set locale(a = "en") {
|
|
317
|
-
|
|
330
|
+
l(a), r();
|
|
318
331
|
},
|
|
319
332
|
get translationUrl() {
|
|
320
|
-
return
|
|
333
|
+
return m();
|
|
321
334
|
},
|
|
322
335
|
set translationUrl(a = "") {
|
|
323
|
-
|
|
336
|
+
m(a), r();
|
|
324
337
|
},
|
|
325
338
|
get isMobile() {
|
|
326
|
-
return
|
|
339
|
+
return d();
|
|
327
340
|
},
|
|
328
341
|
set isMobile(a) {
|
|
329
|
-
|
|
342
|
+
d(a), r();
|
|
330
343
|
},
|
|
331
344
|
get activeTab() {
|
|
332
345
|
return T();
|
|
333
346
|
},
|
|
334
347
|
set activeTab(a) {
|
|
335
|
-
T(a),
|
|
348
|
+
T(a), r();
|
|
336
349
|
},
|
|
337
350
|
get activeChallengeId() {
|
|
338
351
|
return C();
|
|
339
352
|
},
|
|
340
353
|
set activeChallengeId(a) {
|
|
341
|
-
C(a),
|
|
354
|
+
C(a), r();
|
|
342
355
|
},
|
|
343
356
|
get activeDetailsTab() {
|
|
344
|
-
return
|
|
357
|
+
return D();
|
|
345
358
|
},
|
|
346
359
|
set activeDetailsTab(a) {
|
|
347
|
-
|
|
360
|
+
D(a), r();
|
|
361
|
+
},
|
|
362
|
+
get historyLimit() {
|
|
363
|
+
return k();
|
|
364
|
+
},
|
|
365
|
+
set historyLimit(a) {
|
|
366
|
+
k(a), r();
|
|
348
367
|
},
|
|
349
368
|
get showTabDot() {
|
|
350
|
-
return
|
|
369
|
+
return S();
|
|
351
370
|
},
|
|
352
371
|
set showTabDot(a) {
|
|
353
|
-
|
|
372
|
+
S(a), r();
|
|
354
373
|
}
|
|
355
374
|
};
|
|
356
|
-
return
|
|
375
|
+
return Q(w, {
|
|
357
376
|
get endpoint() {
|
|
358
377
|
return g();
|
|
359
378
|
},
|
|
@@ -367,30 +386,33 @@ function Y(z, t) {
|
|
|
367
386
|
return b();
|
|
368
387
|
},
|
|
369
388
|
get locale() {
|
|
370
|
-
return
|
|
389
|
+
return l();
|
|
371
390
|
},
|
|
372
391
|
get translationUrl() {
|
|
373
|
-
return
|
|
392
|
+
return m();
|
|
374
393
|
},
|
|
375
394
|
get isMobile() {
|
|
376
|
-
return
|
|
395
|
+
return t(v);
|
|
377
396
|
},
|
|
378
397
|
get activeTab() {
|
|
379
|
-
return
|
|
398
|
+
return t(M);
|
|
380
399
|
},
|
|
381
400
|
get activeChallengeId() {
|
|
382
|
-
return
|
|
401
|
+
return t(f);
|
|
383
402
|
},
|
|
384
403
|
get activeDetailsTab() {
|
|
385
|
-
return
|
|
404
|
+
return t(L);
|
|
405
|
+
},
|
|
406
|
+
get historyLimit() {
|
|
407
|
+
return t(u);
|
|
386
408
|
},
|
|
387
409
|
get showTabDot() {
|
|
388
|
-
return
|
|
410
|
+
return t(A);
|
|
389
411
|
}
|
|
390
|
-
}),
|
|
412
|
+
}), Y(P);
|
|
391
413
|
}
|
|
392
|
-
customElements.define("player-challenges",
|
|
393
|
-
|
|
414
|
+
customElements.define("player-challenges", W(
|
|
415
|
+
$,
|
|
394
416
|
{
|
|
395
417
|
endpoint: {},
|
|
396
418
|
userSession: {},
|
|
@@ -402,16 +424,17 @@ customElements.define("player-challenges", V(
|
|
|
402
424
|
activeTab: {},
|
|
403
425
|
activeChallengeId: {},
|
|
404
426
|
activeDetailsTab: {},
|
|
427
|
+
historyLimit: {},
|
|
405
428
|
showTabDot: {}
|
|
406
429
|
},
|
|
407
430
|
[],
|
|
408
431
|
[]
|
|
409
432
|
));
|
|
410
|
-
const
|
|
433
|
+
const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
411
434
|
__proto__: null,
|
|
412
|
-
default:
|
|
435
|
+
default: $
|
|
413
436
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
414
437
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
438
|
+
Q as P,
|
|
439
|
+
Ue as a
|
|
417
440
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-C8XAfjLf.cjs");var a=e.from_svg('<svg viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M4.46289 0.26802C5.08176 -0.0893401 5.845 -0.0893401 6.46387 0.26802L9.92676 2.26802C10.5455 2.6253 10.9268 3.28596 10.9268 4.00044V8.00044C10.9268 8.71492 10.5455 9.37558 9.92676 9.73286L6.46387 11.7329C5.845 12.0902 5.08176 12.0902 4.46289 11.7329L1 9.73286C0.381267 9.37558 0 8.71492 0 8.00044V4.00044C0 3.28596 0.381267 2.6253 1 2.26802L4.46289 0.26802ZM4.36914 4.49263L1.86328 4.82954L3.69238 6.57466L3.23828 9.06197L5.46387 7.86177L7.68848 9.06197L7.23535 6.57466L9.06348 4.82954L6.55859 4.49263L5.46387 2.21333L4.36914 4.49263Z" fill="currentColor"></path></svg>');function s(o,t){e.push(t,!0);let h=e.prop(t,"width",7,11),i=e.prop(t,"height",7,12);var l={get width(){return h()},set width(r=11){h(r),e.flushSync()},get height(){return i()},set height(r=12){i(r),e.flushSync()}},n=a();return e.template_effect(()=>{e.set_attribute(n,"width",h()),e.set_attribute(n,"height",i())}),e.append(o,n),e.pop(l)}e.create_custom_element(s,{width:{},height:{}},[],[],{mode:"open"});exports.StarIcon=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as g, d, p as i, t as L, a as f, b as p, f as u, e as r, s as n } from "./ChallengeTabs-
|
|
1
|
+
import { c as g, d, p as i, t as L, a as f, b as p, f as u, e as r, s as n } from "./ChallengeTabs-DJMMrYac.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { c as h, d, p as f, o as g, n as
|
|
1
|
+
import { c as h, d, p as f, o as g, n as r, t as u, a as v, b as m, f as L, e as _, D as w, r as C, s } from "./ChallengeTabs-DJMMrYac.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
5
5
|
}, whenDefined() {
|
|
6
6
|
} });
|
|
7
|
-
var
|
|
8
|
-
function
|
|
9
|
-
d(
|
|
10
|
-
let e = f(
|
|
11
|
-
var
|
|
7
|
+
var T = L('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');
|
|
8
|
+
function b(o, l) {
|
|
9
|
+
d(l, !0);
|
|
10
|
+
let e = f(l, "size", 7, 12);
|
|
11
|
+
var n = {
|
|
12
12
|
get size() {
|
|
13
13
|
return e();
|
|
14
14
|
},
|
|
15
|
-
set size(
|
|
16
|
-
e(
|
|
15
|
+
set size(p = 12) {
|
|
16
|
+
e(p), _();
|
|
17
17
|
}
|
|
18
|
-
}, t =
|
|
19
|
-
return
|
|
20
|
-
s(t, "width", e()), s(t, "height", e()), s(
|
|
21
|
-
}), v(
|
|
18
|
+
}, t = T(), a = g(r(t)), c = r(a), i = w(c);
|
|
19
|
+
return C(a), C(t), u(() => {
|
|
20
|
+
s(t, "width", e()), s(t, "height", e()), s(i, "width", e()), s(i, "height", e());
|
|
21
|
+
}), v(o, t), m(n);
|
|
22
22
|
}
|
|
23
|
-
h(
|
|
23
|
+
h(b, { size: {} }, [], [], { mode: "open" });
|
|
24
24
|
export {
|
|
25
|
-
T
|
|
25
|
+
b as T
|
|
26
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-C8XAfjLf.cjs");var h=e.from_svg('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');function C(n,i){e.push(i,!0);let t=e.prop(i,"size",7,12);var o={get size(){return t()},set size(c=12){t(c),e.flushSync()}},l=h(),r=e.sibling(e.child(l)),a=e.child(r),s=e.only_child(a);return e.reset(r),e.reset(l),e.template_effect(()=>{e.set_attribute(l,"width",t()),e.set_attribute(l,"height",t()),e.set_attribute(s,"width",t()),e.set_attribute(s,"height",t())}),e.append(n,l),e.pop(o)}e.create_custom_element(C,{size:{}},[],[],{mode:"open"});exports.TargetIcon=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const l=require("../components/PlayerChallenges-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const l=require("../components/PlayerChallenges-B8InccvG.cjs");if(typeof window<"u"){let s=function(e){return function(...t){try{return e.apply(this,t)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n instanceof Error&&n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/PlayerChallenges-B8InccvG.cjs")).then(e=>e.PlayerChallenges_ce).then(e=>{const t=e.default||e;customElements.get("player-challenges")||customElements.define("player-challenges",t.element||t)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=l.PlayerChallenges;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as o } from "../components/PlayerChallenges-
|
|
1
|
+
import { P as o } from "../components/PlayerChallenges-BvI4m2pX.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -16,7 +16,7 @@ if (typeof window < "u") {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
customElements.define = s(customElements.define), import("../components/PlayerChallenges-
|
|
19
|
+
customElements.define = s(customElements.define), import("../components/PlayerChallenges-BvI4m2pX.js").then((e) => e.a).then((e) => {
|
|
20
20
|
const n = e.default || e;
|
|
21
21
|
customElements.get("player-challenges") || customElements.define("player-challenges", n.element || n);
|
|
22
22
|
}).catch((e) => {
|