@everymatrix/player-challenges 0.1.23 → 0.1.24
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-CFsh9aDe.js → ArrowLeftIcon-D86vs78s.js} +1 -1
- package/components/{ArrowLeftIcon-BiMYdT8t.cjs → ArrowLeftIcon-D_QqA-ZO.cjs} +1 -1
- package/components/{Badge-UWC8kYCn.js → Badge-CXJG_vN1.js} +3 -3
- package/components/{Badge-YgwgSxde.cjs → Badge-kg6usFra.cjs} +3 -3
- package/components/{Button-CCETVbzA.cjs → Button-RFy-aYh8.cjs} +1 -1
- package/components/{Button-DzLb4jjA.js → Button-U_cddLTC.js} +1 -1
- package/components/{ChallengeBanner-Cn0WwkaW.js → ChallengeBanner-6WCFNWps.js} +2 -2
- package/components/{ChallengeBanner-CeyN9Cdj.cjs → ChallengeBanner-Dr3mgQsi.cjs} +1 -1
- package/components/{ChallengeBreadcrumbs-BScNcbLU.js → ChallengeBreadcrumbs-BM2-SmQ2.js} +2 -2
- package/components/{ChallengeBreadcrumbs-BxHagpnm.cjs → ChallengeBreadcrumbs-bZUqhA2Y.cjs} +1 -1
- package/components/{ChallengeCard-DTlBBbKV.js → ChallengeCard-BWUSgT8c.js} +2 -2
- package/components/{ChallengeCard-BODxt6Hg.cjs → ChallengeCard-Dc6oO6Hu.cjs} +1 -1
- package/components/{ChallengeClaimCode-Bm5AAoUe.js → ChallengeClaimCode-BckVenEb.js} +2 -2
- package/components/{ChallengeClaimCode-BfGglGz0.cjs → ChallengeClaimCode-UeKLbcBn.cjs} +1 -1
- package/components/{ChallengeDetails-COHx1pGv.cjs → ChallengeDetails-DBNeU95r.cjs} +1 -1
- package/components/{ChallengeDetails-C6ntkKsx.js → ChallengeDetails-VxVmVji0.js} +2 -2
- package/components/{ChallengeDetailsSkeleton-DOHrvBEi.js → ChallengeDetailsSkeleton-nPeOAYMD.js} +2 -2
- package/components/{ChallengeDetailsSkeleton-kfl1T5z7.cjs → ChallengeDetailsSkeleton-qscBM724.cjs} +1 -1
- package/components/{ChallengeEvents-CqAADkDD.cjs → ChallengeEvents-CiiEljP9.cjs} +1 -1
- package/components/{ChallengeEvents-DCfqf6tP.js → ChallengeEvents-LQ9bUJBS.js} +1 -1
- package/components/{ChallengeGames-DrMRO47n.js → ChallengeGames-BfHgXGYJ.js} +1 -1
- package/components/{ChallengeGames-B-v1bhzZ.cjs → ChallengeGames-rnDTMZvk.cjs} +1 -1
- package/components/{ChallengeHistory-CBRy7MwM.cjs → ChallengeHistory-3xoElrZn.cjs} +1 -1
- package/components/{ChallengeHistory-wUOSqTsh.js → ChallengeHistory-4p58K7iK.js} +2 -2
- package/components/{ChallengeLevels-Bd3eZ0ZG.cjs → ChallengeLevels-C4Ep4W2W.cjs} +1 -1
- package/components/{ChallengeLevels-Bg4e1hlt.js → ChallengeLevels-DKK9y5Vu.js} +8 -8
- package/components/{ChallengeList-d5GgkNR8.js → ChallengeList-D5BsmDmy.js} +277 -277
- package/components/{ChallengeList-BsBRQM05.cjs → ChallengeList-DmY48gPg.cjs} +3 -3
- package/components/{ChallengeProgress-UbZOpGIM.js → ChallengeProgress-D8ndp54J.js} +3 -3
- package/components/{ChallengeProgress-DEDzxP-j.cjs → ChallengeProgress-DEAG-WXd.cjs} +1 -1
- package/components/{ChallengeProgressItem-BCFaRcE0.cjs → ChallengeProgressItem-DxVGG1lv.cjs} +1 -1
- package/components/{ChallengeProgressItem-BQ_b5lCw.js → ChallengeProgressItem-nQ_f9Ywn.js} +4 -4
- package/components/{ChallengeRules-BSaFEII2.cjs → ChallengeRules-BLkYERwc.cjs} +1 -1
- package/components/{ChallengeRules-C-um3eWg.js → ChallengeRules-C9YFgjx3.js} +2 -2
- package/components/{ChallengeSummary-0xqZ2rqb.js → ChallengeSummary-CDGeQpWC.js} +6 -6
- package/components/{ChallengeSummary-CR7VCdpN.cjs → ChallengeSummary-CbmdrJsZ.cjs} +1 -1
- package/components/{ChallengeTabContent-C5ssNPHs.js → ChallengeTabContent-CuYweQrX.js} +252 -247
- package/components/ChallengeTabContent-CzFRBjBN.cjs +16 -0
- package/components/{ChallengeTabPanel-DJLN3EuW.cjs → ChallengeTabPanel-Ci1AWOLX.cjs} +1 -1
- package/components/{ChallengeTabPanel-C7RO1Mnj.js → ChallengeTabPanel-DqZ61QzP.js} +5 -5
- package/components/{ChallengeTabs-CLpDSk-K.js → ChallengeTabs-BVz0BICw.js} +1266 -1233
- package/components/{ChallengeTabs-CKQzoa1j.cjs → ChallengeTabs-CnvWXu20.cjs} +8 -8
- package/components/{CheckIcon-DWMKu1VU.js → CheckIcon-BRoJZtNJ.js} +1 -1
- package/components/{CheckIcon-JnGsrsng.cjs → CheckIcon-UgWNR5g2.cjs} +1 -1
- package/components/{ChevronIcon-CpH5_CVS.js → ChevronIcon-CHngWdtF.js} +1 -1
- package/components/{ChevronIcon-wZ1NJT-j.cjs → ChevronIcon-Cozp0jjn.cjs} +1 -1
- package/components/{ChipIcon-EFvoKeJk.js → ChipIcon-C1o-891l.js} +1 -1
- package/components/{ChipIcon-C-nwcY8G.cjs → ChipIcon-CWkFgpRq.cjs} +1 -1
- package/components/{ChipShineIcon-qSU0zyiq.cjs → ChipShineIcon-6Pk-I8xG.cjs} +1 -1
- package/components/{ChipShineIcon-DGMTQqxH.js → ChipShineIcon-XSQ8nxrc.js} +1 -1
- package/components/{ExistIcon-CXA8Fxkn.cjs → ExistIcon-7ofAaT-n.cjs} +1 -1
- package/components/{ExistIcon-DhizbcjA.js → ExistIcon-CR6sPJoP.js} +1 -1
- package/components/{GiftIcon-D74WUZjl.cjs → GiftIcon-T3qswSQ8.cjs} +1 -1
- package/components/{GiftIcon-dodsz2Ve.js → GiftIcon-lrpxe0iW.js} +1 -1
- package/components/{LinkIcon-tnazlF5P.js → LinkIcon-DAHUD9kZ.js} +1 -1
- package/components/{LinkIcon-BwcQ66zD.cjs → LinkIcon-DX8VeYrQ.cjs} +1 -1
- package/components/{LockIcon-CGQ-oxNq.js → LockIcon-BT6TGzYp.js} +1 -1
- package/components/{LockIcon-CJoeKZ4m.cjs → LockIcon-kHOzNXwf.cjs} +1 -1
- package/components/{Pagination-BrIIsxTO.js → Pagination-Be1w6UWB.js} +1 -1
- package/components/{Pagination-6kte82b9.cjs → Pagination-HK2BA4rj.cjs} +1 -1
- package/components/{PlayerChallenges-DeaPIt6-.cjs → PlayerChallenges-Bz7zByDl.cjs} +1 -1
- package/components/{PlayerChallenges-CQ6IaLc3.js → PlayerChallenges-CFnpsQnx.js} +4 -4
- package/components/{StarIcon-B3Zg9FJp.js → StarIcon-Bce-4apk.js} +1 -1
- package/components/{StarIcon-B2vJGruF.cjs → StarIcon-BnrqkLo-.cjs} +1 -1
- package/components/{TargetIcon-B9a1Kr62.cjs → TargetIcon-BzQ_fmMF.cjs} +1 -1
- package/components/{TargetIcon-BdZR3qGS.js → TargetIcon-C-ph98ti.js} +1 -1
- package/esnext/player-challenges.cjs +1 -1
- package/esnext/player-challenges.js +2 -2
- package/package.json +1 -1
- package/components/ChallengeTabContent-DcI1bmvz.cjs +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as i, p as n, t as f, a as p, b as d, f as u, d as h, e as g, s as a } from "./ChallengeTabs-
|
|
1
|
+
import { c as i, p as n, t as f, a as p, b as d, f as u, d as h, e as g, s as a } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -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-CnvWXu20.cjs");var a=e.from_svg('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 11H7.83l4.88-4.88a1 1 0 10-1.42-1.42l-6.59 6.59a1 1 0 000 1.42l6.59 6.59a1 1 0 001.42-1.42L7.83 13H19a1 1 0 000-2z" fill="currentColor"></path></svg>');function r(s,n){e.push(n,!0);let t=e.prop(n,"size",7,24);var o={get size(){return t()},set size(i=24){t(i),e.flushSync()}},l=a();return e.template_effect(()=>{e.set_attribute(l,"width",t()),e.set_attribute(l,"height",t())}),e.append(s,l),e.pop(o)}e.create_custom_element(r,{size:{}},[],[],{mode:"open"});exports.ArrowLeftIcon=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Z, d as ee, h as ae, p as i, u as te, q as se, v as re, w as ne, x as j, t as q, y as e, s as G, z as le, i as v, a as h, b as oe, k as x, l as ie, $ as de, A as y, n as T, B as f, e as d, m as ce, C as pe, D as ue, E as ge, o as c, r as C, F as be, G as ve } from "./ChallengeTabs-
|
|
1
|
+
import { c as Z, d as ee, h as ae, p as i, u as te, q as se, v as re, w as ne, x as j, t as q, y as e, s as G, z as le, i as v, a as h, b as oe, k as x, l as ie, $ as de, A as y, n as T, B as f, e as d, m as ce, C as pe, D as ue, E as ge, o as c, r as C, F as be, G as ve } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -11,7 +11,7 @@ const we = {
|
|
|
11
11
|
&[data-status='ongoing'],
|
|
12
12
|
&[data-status='paused'] {background-color:var(--alpha-white-10, rgba(251, 251, 251, 0.1));}.status-pill:where(.svelte-tfkqbj) {box-sizing:border-box;display:flex;align-items:center;gap:4px;padding:2px 8px 2px 6px;border-radius:20px;border:0.8px solid var(--alpha-white-25, rgba(251, 251, 251, 0.2));box-shadow:0px 0.83px 1.66px 0px rgba(16, 24, 40, 0.05);background-color:var(--alpha-black-20, rgba(0, 0, 0, 0.2));height:21px;.dot-status:where(.svelte-tfkqbj) {width:5px;height:5px;border-radius:50%;flex-shrink:0;transition:background 0.2s ease,
|
|
13
13
|
box-shadow 0.2s ease;&.new,
|
|
14
|
-
&.completed {background:var(--semantic-success-400, rgba(45, 223, 0, 1));}&.scheduled {background:var(--semantic-info-400, rgba(0, 156, 245, 1));}&.paused {background:var(--bg-primary-level-1, rgba(2, 38, 82, 1));}&.expired {background:var(--secondary-300, rgba(78, 103, 134, 1));}&.rejected {background:var(--semantic-error-500, rgba(235, 0, 0, 1));}&.ongoing {background:var(--border-alert, rgba(255, 205, 5, 1));}}.status-label:where(.svelte-tfkqbj) {font-weight:500;font-size:11px;line-height:13px;
|
|
14
|
+
&.completed {background:var(--semantic-success-400, rgba(45, 223, 0, 1));}&.scheduled {background:var(--semantic-info-400, rgba(0, 156, 245, 1));}&.paused {background:var(--bg-primary-level-1, rgba(2, 38, 82, 1));}&.expired {background:var(--secondary-300, rgba(78, 103, 134, 1));}&.rejected {background:var(--semantic-error-500, rgba(235, 0, 0, 1));}&.ongoing {background:var(--border-alert, rgba(255, 205, 5, 1));}}.status-label:where(.svelte-tfkqbj) {font-weight:500;font-size:11px;line-height:13px;color:var(--secondary-50, rgba(223, 227, 232, 1));}}.timer:where(.svelte-tfkqbj) {display:flex;align-items:center;gap:6px;color:var(--secondary-50, rgba(223, 227, 232, 1));font-size:10px;line-height:1;white-space:nowrap;.timer-label:where(.svelte-tfkqbj),
|
|
15
15
|
.timer-date:where(.svelte-tfkqbj) {font-weight:400;}.timer-dash:where(.svelte-tfkqbj) {font-weight:500;opacity:0.7;}}}`
|
|
16
16
|
};
|
|
17
17
|
function ke(E, r) {
|
|
@@ -26,7 +26,7 @@ function ke(E, r) {
|
|
|
26
26
|
ongoing: "onGoing",
|
|
27
27
|
paused: "paused",
|
|
28
28
|
completed: "completed",
|
|
29
|
-
expired: "
|
|
29
|
+
expired: "ended",
|
|
30
30
|
rejected: "rejected"
|
|
31
31
|
}, P = y(() => ge(m(), p(), N.now)), n = y(() => be(e(P), p(), N.now, l())), t = y(() => ue(e(P), w(), k()));
|
|
32
32
|
var A = {
|
|
@@ -1,6 +1,6 @@
|
|
|
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-CnvWXu20.cjs");var A=e.from_html('<span class="timer-date svelte-tfkqbj"> </span>'),F=e.from_html('<span class="timer-label svelte-tfkqbj"> </span> <span class="timer-dash svelte-tfkqbj"></span> <span class="timer-countdown"> </span>',1),J=e.from_html('<div class="timer svelte-tfkqbj"><!> <!></div>'),K=e.from_html('<div class="challenge-badge svelte-tfkqbj"><div class="status-pill svelte-tfkqbj"><span></span> <span class="status-label svelte-tfkqbj"> </span></div> <!></div>');const O={hash:"svelte-tfkqbj",code:`.challenge-badge.svelte-tfkqbj {box-sizing:border-box;display:flex;flex-direction:row;align-items:center;padding:2px 8px 2px 2px;gap:6px;position:relative;background-color:var(--alpha-white-10, rgba(0, 0, 0, 0.3));border:1px solid var(--alpha-white-25, rgba(251, 251, 251, 0.2));backdrop-filter:blur(10px);border-radius:100px;width:fit-content;height:25px;&[data-status='scheduled'],
|
|
2
2
|
&[data-status='ongoing'],
|
|
3
3
|
&[data-status='paused'] {background-color:var(--alpha-white-10, rgba(251, 251, 251, 0.1));}.status-pill:where(.svelte-tfkqbj) {box-sizing:border-box;display:flex;align-items:center;gap:4px;padding:2px 8px 2px 6px;border-radius:20px;border:0.8px solid var(--alpha-white-25, rgba(251, 251, 251, 0.2));box-shadow:0px 0.83px 1.66px 0px rgba(16, 24, 40, 0.05);background-color:var(--alpha-black-20, rgba(0, 0, 0, 0.2));height:21px;.dot-status:where(.svelte-tfkqbj) {width:5px;height:5px;border-radius:50%;flex-shrink:0;transition:background 0.2s ease,
|
|
4
4
|
box-shadow 0.2s ease;&.new,
|
|
5
|
-
&.completed {background:var(--semantic-success-400, rgba(45, 223, 0, 1));}&.scheduled {background:var(--semantic-info-400, rgba(0, 156, 245, 1));}&.paused {background:var(--bg-primary-level-1, rgba(2, 38, 82, 1));}&.expired {background:var(--secondary-300, rgba(78, 103, 134, 1));}&.rejected {background:var(--semantic-error-500, rgba(235, 0, 0, 1));}&.ongoing {background:var(--border-alert, rgba(255, 205, 5, 1));}}.status-label:where(.svelte-tfkqbj) {font-weight:500;font-size:11px;line-height:13px;
|
|
6
|
-
.timer-date:where(.svelte-tfkqbj) {font-weight:400;}.timer-dash:where(.svelte-tfkqbj) {font-weight:500;opacity:0.7;}}}`};function y(h,r){e.push(r,!0),e.append_styles(h,O);const f=()=>e.store_get(e.$format,"$_",q),[q,S]=e.setup_stores(),g=e.prop(r,"status",7),o=e.prop(r,"time",7),n=e.prop(r,"locale",7,""),u=e.prop(r,"isNew",7,!1),b=e.prop(r,"isPaused",7,!1);e.untrack(()=>e.initI18n(n())),e.user_effect(()=>{e.setLocale(n()??"en")});const x=e.useExpiryClock(),T={new:"new",scheduled:"scheduled",ongoing:"onGoing",paused:"paused",completed:"completed",expired:"
|
|
5
|
+
&.completed {background:var(--semantic-success-400, rgba(45, 223, 0, 1));}&.scheduled {background:var(--semantic-info-400, rgba(0, 156, 245, 1));}&.paused {background:var(--bg-primary-level-1, rgba(2, 38, 82, 1));}&.expired {background:var(--secondary-300, rgba(78, 103, 134, 1));}&.rejected {background:var(--semantic-error-500, rgba(235, 0, 0, 1));}&.ongoing {background:var(--border-alert, rgba(255, 205, 5, 1));}}.status-label:where(.svelte-tfkqbj) {font-weight:500;font-size:11px;line-height:13px;color:var(--secondary-50, rgba(223, 227, 232, 1));}}.timer:where(.svelte-tfkqbj) {display:flex;align-items:center;gap:6px;color:var(--secondary-50, rgba(223, 227, 232, 1));font-size:10px;line-height:1;white-space:nowrap;.timer-label:where(.svelte-tfkqbj),
|
|
6
|
+
.timer-date:where(.svelte-tfkqbj) {font-weight:400;}.timer-dash:where(.svelte-tfkqbj) {font-weight:500;opacity:0.7;}}}`};function y(h,r){e.push(r,!0),e.append_styles(h,O);const f=()=>e.store_get(e.$format,"$_",q),[q,S]=e.setup_stores(),g=e.prop(r,"status",7),o=e.prop(r,"time",7),n=e.prop(r,"locale",7,""),u=e.prop(r,"isNew",7,!1),b=e.prop(r,"isPaused",7,!1);e.untrack(()=>e.initI18n(n())),e.user_effect(()=>{e.setLocale(n()??"en")});const x=e.useExpiryClock(),T={new:"new",scheduled:"scheduled",ongoing:"onGoing",paused:"paused",completed:"completed",expired:"ended",rejected:"rejected"},m=e.user_derived(()=>e.resolveExpiredStatus(g(),o(),x.now)),l=e.user_derived(()=>e.getBadgeContent(e.get(m),o(),x.now,n())),a=e.user_derived(()=>e.mapChallengeStatus(e.get(m),u(),b()));var C={get status(){return g()},set status(t){g(t),e.flushSync()},get time(){return o()},set time(t){o(t),e.flushSync()},get locale(){return n()},set locale(t=""){n(t),e.flushSync()},get isNew(){return u()},set isNew(t=!1){u(t),e.flushSync()},get isPaused(){return b()},set isPaused(t=!1){b(t),e.flushSync()}},d=K(),c=e.child(d),_=e.child(c);let w;var E=e.sibling(_,2),N=e.only_child(E,!0);e.reset(c);var P=e.sibling(c,2);{var z=t=>{var v=J(),k=e.child(v);{var B=s=>{var i=A(),p=e.only_child(i,!0);e.template_effect(()=>e.set_text(p,e.get(l).date)),e.append(s,i)};e.if_block(k,s=>{e.get(l).date&&s(B)})}var H=e.sibling(k,2);{var M=s=>{var i=F(),p=e.first_child(i),D=e.only_child(p,!0),j=e.sibling(p,2);j.textContent="-";var G=e.sibling(j,2),I=e.only_child(G,!0);e.template_effect($=>{e.set_text(D,$),e.set_text(I,e.get(l).countdownTime)},[()=>f()(e.get(l).label)]),e.append(s,i)};e.if_block(H,s=>{e.get(l).countdownTime&&s(M)})}e.reset(v),e.append(t,v)};e.if_block(P,t=>{e.get(l)&&t(z)})}e.reset(d),e.template_effect(t=>{e.set_attribute(d,"data-status",e.get(a)),e.set_attribute(c,"data-status",e.get(a)),w=e.set_class(_,1,"dot dot-status svelte-tfkqbj",null,w,{new:e.get(a)==="new",scheduled:e.get(a)==="scheduled",ongoing:e.get(a)==="ongoing",paused:e.get(a)==="paused",completed:e.get(a)==="completed",expired:e.get(a)==="expired",rejected:e.get(a)==="rejected"}),e.set_text(N,t)},[()=>f()(T[e.get(a)])]),e.append(h,d);var L=e.pop(C);return S(),L}e.create_custom_element(y,{status:{},time:{},locale:{},isNew:{},isPaused:{}},[],[],{mode:"open"});exports.Badge=y;
|
|
@@ -1,3 +1,3 @@
|
|
|
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-CnvWXu20.cjs");var x=e.from_html('<button class="challenge-button svelte-166ic7y"> </button>');const v={hash:"svelte-166ic7y",code:`.challenge-button.svelte-166ic7y {box-sizing:border-box;&:disabled {opacity:0.5;cursor:default;}display:flex;flex-direction:row;justify-content:center;align-items:center;padding:8px 16px;gap:10px;width:80px;height:37px;border-radius:6px;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:background 0.15s ease,
|
|
2
2
|
border-color 0.15s ease,
|
|
3
3
|
opacity 0.15s ease;flex:none;order:1;flex-grow:0;&:hover {opacity:0.9;}&:active {opacity:0.8;}&:disabled {opacity:0.4;cursor:not-allowed;}&[data-variant='primary'] {background:var(--button-primary-bg-default, #ffcc00);border:none;color:var(--button-primary-text-default, rgba(38, 29, 0, 1));}&[data-variant='secondary'] {background:var(--button-secondary-bg-default, rgba(251, 251, 251, 0.1));border:1px solid var(--button-secondary-border-default, rgba(251, 251, 251, 0.05));backdrop-filter:blur(16.15px);color:var(--button-secondary-text-default, rgba(255, 255, 255, 1));align-self:stretch;}&[data-variant='accent'] {background:var(--button-primary-icon-disabled, rgba(251, 251, 251, 0.15));border:1px solid var(--button-primary-bg-default, #ffcc00);backdrop-filter:blur(16.15px);color:var(--button-secondary-text-default, rgba(255, 255, 255, 1));}}`};function d(s,a){e.push(a,!0),e.append_styles(s,v);const u=()=>e.store_get(e.$format,"$_",b),[b,p]=e.setup_stores(),n=e.prop(a,"variant",7,"primary"),l=e.prop(a,"text",7),o=e.prop(a,"locale",7,""),c=e.prop(a,"disabled",7,!1),i=e.prop(a,"onclick",7);e.untrack(()=>e.initI18n(o())),e.user_effect(()=>{e.setLocale(o()||"en")});var f={get variant(){return n()},set variant(t="primary"){n(t),e.flushSync()},get text(){return l()},set text(t){l(t),e.flushSync()},get locale(){return o()},set locale(t=""){o(t),e.flushSync()},get disabled(){return c()},set disabled(t=!1){c(t),e.flushSync()},get onclick(){return i()},set onclick(t){i(t),e.flushSync()}},r=x(),g=e.only_child(r,!0);e.template_effect(t=>{e.set_attribute(r,"data-variant",n()),r.disabled=c(),e.set_text(g,t)},[()=>u()(l())]),e.delegated("click",r,function(...t){i()?.apply(this,t)}),e.append(s,r);var y=e.pop(f);return p(),y}e.delegate(["click"]);e.create_custom_element(d,{variant:{},text:{},locale:{},disabled:{},onclick:{}},[],[],{mode:"open"});exports.Button=d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as v, c as y, d as m, h, p as r, u as k, q as _, v as w, C as T, t as B, s as E, i as L, j, a as z, b as H, k as M, l as $, $ as q, B as C, e as o, m as D } from "./ChallengeTabs-
|
|
1
|
+
import { g as v, c as y, d as m, h, p as r, u as k, q as _, v as w, C as T, t as B, s as E, i as L, j, a as z, b as H, k as M, l as $, $ as q, B as C, e as o, m as D } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as J, d as K, h as O, p as u, H as q, u as G, y as e, x as H, t as L, I as Q, a as _, b as R, k as f, A as t, J as W, K as X, n as M, e as p, r as T, o as b, z as Y, s as m, L as $, M as ee, N as ae, D as te, B as se, O as le } from "./ChallengeTabs-
|
|
2
|
-
import { B as ne } from "./Badge-
|
|
1
|
+
import { c as J, d as K, h as O, p as u, H as q, u as G, y as e, x as H, t as L, I as Q, a as _, b as R, k as f, A as t, J as W, K as X, n as M, e as p, r as T, o as b, z as Y, s as m, L as $, M as ee, N as ae, D as te, B as se, O as le } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { B as ne } from "./Badge-CXJG_vN1.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
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-CnvWXu20.cjs"),N=require("./Badge-kg6usFra.cjs"),V="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='800px'%20height='800px'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3crect%20width='120'%20height='120'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M33.2503%2038.4816C33.2603%2037.0472%2034.4199%2035.8864%2035.8543%2035.875H83.1463C84.5848%2035.875%2085.7503%2037.0431%2085.7503%2038.4816V80.5184C85.7403%2081.9528%2084.5807%2083.1136%2083.1463%2083.125H35.8543C34.4158%2083.1236%2033.2503%2081.957%2033.2503%2080.5184V38.4816ZM80.5006%2041.1251H38.5006V77.8751L62.8921%2053.4783C63.9172%2052.4536%2065.5788%2052.4536%2066.6039%2053.4783L80.5006%2067.4013V41.1251ZM43.75%2051.6249C43.75%2054.5244%2046.1005%2056.8749%2049%2056.8749C51.8995%2056.8749%2054.25%2054.5244%2054.25%2051.6249C54.25%2048.7254%2051.8995%2046.3749%2049%2046.3749C46.1005%2046.3749%2043.75%2048.7254%2043.75%2051.6249Z'%20fill='%23687787'/%3e%3c/svg%3e";var E=e.from_html('<div class="challenge-details__banner--scrim svelte-1rs963e" aria-hidden="true"></div>'),U=e.from_html('<div class="challenge-details__banner--new-icon svelte-1rs963e"><img alt="" aria-hidden="true" class="svelte-1rs963e"/></div>'),Z=e.from_html('<div class="challenge-details__banner svelte-1rs963e"><div class="challenge-details__banner--overlay svelte-1rs963e"><!></div> <!> <!> <img/></div>');const j={hash:"svelte-1rs963e",code:`.challenge-details__banner.svelte-1rs963e {position:relative;width:100%;border-radius:12px;overflow:hidden;.challenge-details__banner--overlay:where(.svelte-1rs963e) {position:absolute;top:12px;left:12px;z-index:1;}.challenge-details__banner--image:where(.svelte-1rs963e) {display:block;width:100%;height:340px;}.challenge-details__banner--inactive:where(.svelte-1rs963e) {filter:grayscale(1) brightness(0.45);}.challenge-details__banner--scrim:where(.svelte-1rs963e) {position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg, rgba(10, 12, 24, 0) 50%, #0a0c18 100%),
|
|
2
2
|
linear-gradient(0deg, rgba(10, 12, 24, 0.6), rgba(10, 12, 24, 0.6));backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);}.challenge-details__banner--placeholder:where(.svelte-1rs963e) {object-fit:contain;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));}
|
|
3
3
|
|
|
4
4
|
@media (max-width: 767px) {.challenge-details__banner--image:where(.svelte-1rs963e) {height:140px;}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as v, c as m, d as _, h as k, p as x, t as y, s as $, i as w, j as B, a as T, b as C, k as z, l as E, e as L, m as j, $ as A, n as l, r as n, o as H } from "./ChallengeTabs-
|
|
2
|
-
import { A as M } from "./ArrowLeftIcon-
|
|
1
|
+
import { g as v, c as m, d as _, h as k, p as x, t as y, s as $, i as w, j as B, a as T, b as C, k as z, l as E, e as L, m as j, $ as A, n as l, r as n, o as H } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { A as M } from "./ArrowLeftIcon-D86vs78s.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -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-CnvWXu20.cjs"),v=require("./ArrowLeftIcon-D_QqA-ZO.cjs");var m=e.from_html('<nav class="player-challenges__breadcrumbs svelte-ca3bk6"><button type="button" class="player-challenges__breadcrumb-back svelte-ca3bk6"><span class="player-challenges__breadcrumb-back-icon svelte-ca3bk6" aria-hidden="true"><!></span> </button></nav>');const _={hash:"svelte-ca3bk6",code:".player-challenges__breadcrumbs.svelte-ca3bk6 {display:flex;align-items:center;gap:13px;font-size:12px;min-width:0;padding:8px 12px;border-radius:6px;background:var(--app-container-default, rgba(2, 38, 82, 1));}.player-challenges__breadcrumb-back.svelte-ca3bk6 {display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:var(--text-default, rgba(255, 255, 255, 1));font-size:14px;font-weight:500;cursor:pointer;&:hover {color:var(--text-default, rgba(223, 227, 232, 1));}&:focus-visible {outline:2px solid var(--border-info, rgba(110, 181, 255, 1));outline-offset:2px;}}.player-challenges__breadcrumb-back-icon.svelte-ca3bk6 {display:flex;border-radius:100%;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.15));width:24px;height:24px;align-items:center;justify-content:center;color:var(--icon-default, rgba(255, 255, 255, 1));font-weight:500;}"};function i(s,c){e.push(c,!0),e.append_styles(s,_);const o=()=>e.store_get(e.$format,"$_",b),[b,p]=e.setup_stores(),r=e.prop(c,"onBack",7);var d={get onBack(){return r()},set onBack(a){r(a),e.flushSync()}},t=m(),l=e.child(t),n=e.child(l),u=e.child(n);v.ArrowLeftIcon(u,{size:16}),e.reset(n);var g=e.sibling(n);e.reset(l),e.reset(t),e.template_effect((a,f)=>{e.set_attribute(t,"aria-label",a),e.set_text(g,` ${f??""}`)},[()=>o()("allChallenges"),()=>o()("allChallenges")]),e.delegated("click",l,function(...a){r()?.apply(this,a)}),e.append(s,t);var h=e.pop(d);return p(),h}e.delegate(["click"]);e.create_custom_element(i,{onBack:{}},[],[],{mode:"open"});exports.ChallengeBreadcrumbs=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as E, p as n, a2 as x, G as y, x as H, a as L, b as k, e as s, c as A, y as o, A as a, b0 as i } from "./ChallengeTabs-
|
|
2
|
-
import { b as B } from "./ChallengeList-
|
|
1
|
+
import { d as E, p as n, a2 as x, G as y, x as H, a as L, b as k, e as s, c as A, y as o, A as a, b0 as i } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { b as B } from "./ChallengeList-D5BsmDmy.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-CnvWXu20.cjs"),M=require("./ChallengeList-DmY48gPg.cjs");function S(f,t){e.push(t,!0);let r=e.prop(t,"challenge",7),o=e.prop(t,"endpoint",7,""),s=e.prop(t,"domainId",7,""),l=e.prop(t,"userSession",7,""),i=e.prop(t,"userId",7,""),u=e.prop(t,"locale",7,"en"),a=e.prop(t,"isPromo",7),d=e.prop(t,"isPaused",7),c=e.prop(t,"isShowIcon",7),g=e.prop(t,"isMobile",7),h=e.prop(t,"translationUrl",7,"");const I=e.user_derived(()=>e.toBoolean(a())),p=e.user_derived(()=>e.toBoolean(d())),b=e.user_derived(()=>e.toBoolean(c())),y=e.user_derived(()=>e.toBoolean(g(),!0));var P={get challenge(){return r()},set challenge(n){r(n),e.flushSync()},get endpoint(){return o()},set endpoint(n=""){o(n),e.flushSync()},get domainId(){return s()},set domainId(n=""){s(n),e.flushSync()},get userSession(){return l()},set userSession(n=""){l(n),e.flushSync()},get userId(){return i()},set userId(n=""){i(n),e.flushSync()},get locale(){return u()},set locale(n="en"){u(n),e.flushSync()},get isPromo(){return a()},set isPromo(n){a(n),e.flushSync()},get isPaused(){return d()},set isPaused(n){d(n),e.flushSync()},get isShowIcon(){return c()},set isShowIcon(n){c(n),e.flushSync()},get isMobile(){return g()},set isMobile(n){g(n),e.flushSync()},get translationUrl(){return h()},set translationUrl(n=""){h(n),e.flushSync()}},m=e.comment(),_=e.first_child(m);{var v=n=>{M.ChallengeCard(n,{get challenge(){return r()},get endpoint(){return o()},get domainId(){return s()},get userSession(){return l()},get userId(){return i()},get locale(){return u()},get isPromo(){return e.get(I)},get isPaused(){return e.get(p)},get isShowIcon(){return e.get(b)},get isMobile(){return e.get(y)},get translationUrl(){return h()}})};e.if_block(_,n=>{r()&&n(v)})}return e.append(f,m),e.pop(P)}customElements.define("challenge-card",e.create_custom_element(S,{challenge:{},endpoint:{},domainId:{},userSession:{},userId:{},locale:{},isPromo:{},isPaused:{},isShowIcon:{},isMobile:{},translationUrl:{}},[],[]));exports.default=S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as m, p as t, b as c, e as l, c as g } from "./ChallengeTabs-
|
|
2
|
-
import { C as f } from "./ChallengeTabContent-
|
|
1
|
+
import { d as m, p as t, b as c, e as l, c as g } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { C as f } from "./ChallengeTabContent-CuYweQrX.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-CnvWXu20.cjs"),c=require("./ChallengeTabContent-CzFRBjBN.cjs");function i(u,t){e.push(t,!0);let l=e.prop(t,"endpoint",7,""),o=e.prop(t,"userSession",7,""),r=e.prop(t,"locale",7,"en"),s=e.prop(t,"translationUrl",7,""),a=e.prop(t,"domainId",7,"");var d={get endpoint(){return l()},set endpoint(n=""){l(n),e.flushSync()},get userSession(){return o()},set userSession(n=""){o(n),e.flushSync()},get locale(){return r()},set locale(n="en"){r(n),e.flushSync()},get translationUrl(){return s()},set translationUrl(n=""){s(n),e.flushSync()},get domainId(){return a()},set domainId(n=""){a(n),e.flushSync()}};return c.ChallengeClaimCode(u,{get endpoint(){return l()},get userSession(){return o()},get locale(){return r()},get translationUrl(){return s()},get domainId(){return a()}}),e.pop(d)}customElements.define("challenge-claim-code",e.create_custom_element(i,{endpoint:{},userSession:{},locale:{},translationUrl:{},domainId:{}},[],[]));exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-CnvWXu20.cjs"),I=require("./ChallengeList-DmY48gPg.cjs");function g(h,n){e.push(n,!0);let l=e.prop(n,"challengeId",7,""),r=e.prop(n,"endpoint",7,""),s=e.prop(n,"userSession",7,""),a=e.prop(n,"userId",7,""),i=e.prop(n,"domainId",7,""),o=e.prop(n,"locale",7,"en"),u=e.prop(n,"isMobile",7),d=e.prop(n,"activeTab",7),c=e.prop(n,"translationUrl",7,"");const b=e.user_derived(()=>e.toBoolean(u(),!0)),f=e.user_derived(()=>e.toChallengeDetailsTab(d()));var m={get challengeId(){return l()},set challengeId(t=""){l(t),e.flushSync()},get endpoint(){return r()},set endpoint(t=""){r(t),e.flushSync()},get userSession(){return s()},set userSession(t=""){s(t),e.flushSync()},get userId(){return a()},set userId(t=""){a(t),e.flushSync()},get domainId(){return i()},set domainId(t=""){i(t),e.flushSync()},get locale(){return o()},set locale(t="en"){o(t),e.flushSync()},get isMobile(){return u()},set isMobile(t){u(t),e.flushSync()},get activeTab(){return d()},set activeTab(t){d(t),e.flushSync()},get translationUrl(){return c()},set translationUrl(t=""){c(t),e.flushSync()}};return I.ChallengeDetails(h,{get challengeId(){return l()},get endpoint(){return r()},get userSession(){return s()},get userId(){return a()},get domainId(){return i()},get locale(){return o()},get isMobile(){return e.get(b)},get activeTab(){return e.get(f)},get translationUrl(){return c()},liveUpdates:!0}),e.pop(m)}customElements.define("challenge-details",e.create_custom_element(g,{challengeId:{},endpoint:{},userSession:{},userId:{},domainId:{},locale:{},isMobile:{},activeTab:{},translationUrl:{}},[],[]));exports.default=g;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as v, p as n, y as b, b as M, A as m, b0 as S, az as U, e as a, c as D } from "./ChallengeTabs-
|
|
2
|
-
import { a as E } from "./ChallengeList-
|
|
1
|
+
import { d as v, p as n, y as b, b as M, A as m, b0 as S, az as U, e as a, c as D } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { a as E } from "./ChallengeList-D5BsmDmy.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
package/components/{ChallengeDetailsSkeleton-DOHrvBEi.js → ChallengeDetailsSkeleton-nPeOAYMD.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as $, d as ee, h as le, p as E, a2 as se, G as I, x as S, a as l, b as ae, e as A, o as g, n as b, a9 as d, ad as _, r as i, av as te, au as R, k as a, z as ne, a4 as N } from "./ChallengeTabs-
|
|
2
|
-
import { G as ie } from "./ChallengeGames-
|
|
1
|
+
import { c as $, d as ee, h as le, p as E, a2 as se, G as I, x as S, a as l, b as ae, e as A, o as g, n as b, a9 as d, ad as _, r as i, av as te, au as R, k as a, z as ne, a4 as N } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { G as ie } from "./ChallengeGames-BfHgXGYJ.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
package/components/{ChallengeDetailsSkeleton-kfl1T5z7.cjs → ChallengeDetailsSkeleton-qscBM724.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
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-CnvWXu20.cjs"),q=require("./ChallengeGames-rnDTMZvk.cjs");var F=e.from_html('<div class="challenge-details__skeleton--banner svelte-1fesa2z" aria-busy="true" aria-live="polite"></div>'),H=e.from_html('<li class="challenge-details__skeleton--summary-row svelte-1fesa2z"><span class="challenge-details__skeleton--box challenge-details__skeleton--summary-icon svelte-1fesa2z"></span> <span class="challenge-details__skeleton--box challenge-details__skeleton--summary-label svelte-1fesa2z"></span> <span class="challenge-details__skeleton--box svelte-1fesa2z"></span></li>'),w=e.from_html('<span class="challenge-details__skeleton--box svelte-1fesa2z"></span>'),P=e.from_html('<div class="challenge-details__skeleton--summary svelte-1fesa2z" aria-busy="true" aria-live="polite"><span class="challenge-details__skeleton--box challenge-details__skeleton--summary-title svelte-1fesa2z"></span> <ul class="challenge-details__skeleton--summary-info svelte-1fesa2z"></ul> <p class="challenge-details__skeleton--summary-terms svelte-1fesa2z"></p> <div class="challenge-details__skeleton--summary-action svelte-1fesa2z"><span class="challenge-details__skeleton--box challenge-details__skeleton--summary-button svelte-1fesa2z"></span></div></div>'),Y=e.from_html('<span class="challenge-details__skeleton--tab svelte-1fesa2z"><span class="challenge-details__skeleton--box svelte-1fesa2z"></span></span>'),B=e.from_html('<div class="challenge-details__skeleton--tabs svelte-1fesa2z"></div>'),Z=e.from_html('<span class="challenge-details__skeleton--box challenge-details__skeleton--game svelte-1fesa2z"></span>'),J=e.from_html('<div class="challenge-details__skeleton--games svelte-1fesa2z"></div>'),K=e.from_html('<p class="challenge-details__skeleton--event svelte-1fesa2z"><span class="challenge-details__skeleton--box svelte-1fesa2z"></span></p>'),Q=e.from_html('<div class="challenge-details__skeleton--events svelte-1fesa2z"></div>'),X=e.from_html('<div class="challenge-details__skeleton--rules-item svelte-1fesa2z"><span class="challenge-details__skeleton--box short svelte-1fesa2z"></span> <span class="challenge-details__skeleton--box svelte-1fesa2z"></span></div>'),$=e.from_html('<div class="challenge-details__skeleton--rules svelte-1fesa2z"><div class="challenge-details__skeleton--paragraph svelte-1fesa2z"></div> <span class="challenge-details__skeleton--rules-link svelte-1fesa2z"><span class="challenge-details__skeleton--box svelte-1fesa2z"></span></span> <div class="challenge-details__skeleton--opt-out svelte-1fesa2z"><span class="challenge-details__skeleton--box svelte-1fesa2z"></span> <span class="challenge-details__skeleton--rules-button svelte-1fesa2z"><span class="challenge-details__skeleton--box svelte-1fesa2z"></span></span></div> <div class="challenge-details__skeleton--rules-details svelte-1fesa2z"></div></div>'),ee=e.from_html('<li class="challenge-details__skeleton--level-row svelte-1fesa2z"><span class="challenge-details__skeleton--box challenge-details__skeleton--level-icon svelte-1fesa2z"></span> <span class="challenge-details__skeleton--box svelte-1fesa2z"></span></li>'),le=e.from_html('<span></span> <div class="challenge-details__skeleton--level svelte-1fesa2z"><span class="challenge-details__skeleton--box challenge-details__skeleton--level-name svelte-1fesa2z"></span> <ul class="challenge-details__skeleton--level-info svelte-1fesa2z"></ul></div>',1),se=e.from_html('<div class="challenge-details__skeleton--levels svelte-1fesa2z"></div>'),ae=e.from_html('<div class="challenge-details__skeleton--panel svelte-1fesa2z" aria-busy="true" aria-live="polite"><!> <!></div>');const te={hash:"svelte-1fesa2z",code:`.challenge-details__skeleton--banner.svelte-1fesa2z,
|
|
2
2
|
.challenge-details__skeleton--box.svelte-1fesa2z,
|
|
3
3
|
.challenge-details__skeleton--node.svelte-1fesa2z {border-radius:6px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));
|
|
4
4
|
animation: svelte-1fesa2z-challenge-details-skeleton-pulse 1.2s ease-in-out infinite;}.challenge-details__skeleton--box.svelte-1fesa2z,
|
|
@@ -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-CnvWXu20.cjs");var b=e.from_html('<p class="challenge-details__events--rule svelte-6oc451"><span class="challenge-details__events--rule-name svelte-6oc451"> </span></p>'),x=e.from_html('<div class="challenge-details__tab-panel challenge-details__events svelte-6oc451"></div>');const $={hash:"svelte-6oc451",code:".challenge-details__events.svelte-6oc451 {display:flex;flex-direction:column;gap:22px;padding:12px 0;color:var(--text-subtle, rgba(255, 255, 255, 1));font-weight:400;font-size:12px;line-height:18px;.challenge-details__events--rule:where(.svelte-6oc451) {margin:0;display:flex;flex-wrap:wrap;gap:4px;justify-content:space-between;align-items:baseline;}.challenge-details__events--rule-name:where(.svelte-6oc451) {min-width:0;word-break:break-word;}}"};function i(r,o){e.push(o,!0),e.append_styles(r,$);const c=()=>e.store_get(e.$format,"$_",p),[p,g]=e.setup_stores(),l=e.prop(o,"challengeItem",7),d=e.user_derived(()=>e.sortEventRules(l().SportSettings?.EventRules));var h={get challengeItem(){return l()},set challengeItem(t){l(t),e.flushSync()}},s=x();e.each(s,21,()=>e.get(d),t=>t.OrderNumber,(t,n)=>{const _=e.user_derived(()=>e.get(n).OrderNumber===0?c()("allEvents"):e.getEventRuleName(e.get(n)));var a=b(),m=e.child(a),u=e.only_child(m);e.reset(a),e.template_effect(f=>e.set_text(u,`${e.get(_)??""} - ${e.get(n).ContributionPercent??""}% ${f??""}`),[()=>c()("contribution")]),e.append(t,a)}),e.reset(s),e.append(r,s);var v=e.pop(h);return g(),v}e.create_custom_element(i,{challengeItem:{}},[],[],{mode:"open"});exports.ChallengeEvents=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as w, d as y, h as E, p as I, a9 as T, y as t, a as i, b as k, k as h, A as p, ah as C, e as N, m as R, n as S, B as H, r as d, t as L, i as M, ai as O, l as j, $ as z } from "./ChallengeTabs-
|
|
1
|
+
import { c as w, d as y, h as E, p as I, a9 as T, y as t, a as i, b as k, k as h, A as p, ah as C, e as N, m as R, n as S, B as H, r as d, t as L, i as M, ai as O, l as j, $ as z } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as te, c as se, d as le, h as ne, p as k, N as G, P as ie, v as H, y as a, L as i, ac as re, x as R, a as r, b as oe, A as I, k as m, e as C, m as de, n as B, r as D, a2 as ge, G as L, a9 as P, ad as Z, B as ce, o as $, t as he, s as z, i as pe, j as me, l as ve, $ as _e, ae as ue, af as fe, ag as be, a3 as xe } from "./ChallengeTabs-
|
|
1
|
+
import { g as te, c as se, d as le, h as ne, p as k, N as G, P as ie, v as H, y as a, L as i, ac as re, x as R, a as r, b as oe, A as I, k as m, e as C, m as de, n as B, r as D, a2 as ge, G as L, a9 as P, ad as Z, B as ce, o as $, t as he, s as z, i as pe, j as me, l as ve, $ as _e, ae as ue, af as fe, ag as be, a3 as xe } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
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-CnvWXu20.cjs"),i=15,j="150px 0px";var w=e.from_html('<div class="challenge-details__games--skeleton svelte-3o8ht5"></div>'),q=e.from_html('<button type="button" class="challenge-details__games--card svelte-3o8ht5"><span class="challenge-details__games--ctb svelte-3o8ht5"> </span> <img class="challenge-details__games--image svelte-3o8ht5" loading="lazy"/></button>'),D=e.from_html('<div class="challenge-details__games--sentinel svelte-3o8ht5"></div> <!>',1),B=e.from_html("<!> <!>",1),F=e.from_html('<div class="challenge-details__games svelte-3o8ht5"><!></div>');const J={hash:"svelte-3o8ht5",code:`.challenge-details__games.svelte-3o8ht5 {display:grid;grid-template-columns:repeat(5, 1fr);gap:12px;
|
|
2
2
|
|
|
3
3
|
@media (max-width: 767px) {grid-template-columns:repeat(3, 1fr);gap:6px;
|
|
4
4
|
}}.challenge-details__games--skeleton.svelte-3o8ht5 {width:100%;aspect-ratio:1 / 1;border-radius:6px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChallengeTabs-CnvWXu20.cjs"),f=require("./ChallengeTabContent-CzFRBjBN.cjs");function c(m,n){e.push(n,!0);let r=e.prop(n,"endpoint",7,""),l=e.prop(n,"userSession",7,""),i=e.prop(n,"userId",7,""),s=e.prop(n,"domainId",7,""),o=e.prop(n,"locale",7,"en"),u=e.prop(n,"limit",7),a=e.prop(n,"isMobile",7),d=e.prop(n,"translationUrl",7,"");const g=e.user_derived(()=>e.toBoolean(a(),!0)),h=e.user_derived(()=>e.toNumber(u(),e.getPageSize(e.get(g))));var S={get endpoint(){return r()},set endpoint(t=""){r(t),e.flushSync()},get userSession(){return l()},set userSession(t=""){l(t),e.flushSync()},get userId(){return i()},set userId(t=""){i(t),e.flushSync()},get domainId(){return s()},set domainId(t=""){s(t),e.flushSync()},get locale(){return o()},set locale(t="en"){o(t),e.flushSync()},get limit(){return u()},set limit(t){u(t),e.flushSync()},get isMobile(){return a()},set isMobile(t){a(t),e.flushSync()},get translationUrl(){return d()},set translationUrl(t=""){d(t),e.flushSync()}};return f.ChallengeHistory(m,{get endpoint(){return r()},get userSession(){return l()},get userId(){return i()},get domainId(){return s()},get locale(){return o()},get limit(){return e.get(h)},get isMobile(){return e.get(g)},get translationUrl(){return d()}}),e.pop(S)}customElements.define("challenge-history",e.create_custom_element(c,{endpoint:{},userSession:{},userId:{},domainId:{},locale:{},limit:{},isMobile:{},translationUrl:{}},[],[]));exports.default=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as S, p as n, y as m, b as M, A as b, b0 as y, b1 as U, aX as T, e as r, c as E } from "./ChallengeTabs-
|
|
2
|
-
import { a as H } from "./ChallengeTabContent-
|
|
1
|
+
import { d as S, p as n, y as m, b as M, A as b, b0 as y, b1 as U, aX as T, e as r, c as E } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { a as H } from "./ChallengeTabContent-CuYweQrX.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
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-CnvWXu20.cjs"),ge=require("./LockIcon-kHOzNXwf.cjs"),de=require("./GiftIcon-T3qswSQ8.cjs"),ce=require("./TargetIcon-BzQ_fmMF.cjs"),ve=require("./CheckIcon-UgWNR5g2.cjs"),ue=require("./ChevronIcon-Cozp0jjn.cjs"),k=require("./ChallengeProgressItem-DxVGG1lv.cjs");var he=e.from_html("<div></div>");const pe={hash:"svelte-1gkzvh",code:".challenge-progress.svelte-1gkzvh {display:flex;align-items:flex-start;width:100%;}.challenge-progress.horizontal.svelte-1gkzvh {position:relative;flex-direction:row;align-items:center;width:100%;min-width:0;overflow:hidden;flex:1;overflow-x:auto;padding-top:18px;padding-left:5px;}.challenge-progress.vertical.svelte-1gkzvh {flex-direction:column;width:fit-content;}.challenge-progress.synced.svelte-1gkzvh {display:contents;}"};function B(w,n){e.push(n,!0),e.append_styles(w,pe);const i=e.prop(n,"challenge",7),a=e.prop(n,"orientation",23,()=>k.ORIENTATION.vertical),P=e.prop(n,"isExpired",7,!1),d=e.prop(n,"isPaused",7,!1),v=e.prop(n,"syncRows",7,!1),L=e.prop(n,"rowGap",7,0),T=e.prop(n,"isAnonymous",7),p=e.user_derived(()=>i().LevelProgresses??[]),A=e.user_derived(()=>i().Status),q=e.user_derived(()=>!T()&&e.isOptedIn(i())),N=e.user_derived(()=>e.get(p).length>0),_=e.user_derived(()=>a()===k.ORIENTATION.horizontal&&e.get(p).length>=5),f=e.user_derived(()=>{if(a()!==k.ORIENTATION.horizontal||!e.get(p).length)return-1;let t=-1,x=-1;return e.get(p).forEach((o,y)=>{const S=e.getLevelDisplayStatus(o,e.get(A));S==="completed"&&(t=y),S==="current"&&(x=y)}),t>=0?t:x>=0?x:0});let m=e.state(void 0),b=e.state(e.proxy([]));e.user_effect(()=>{if(!e.get(m)||e.get(f)<0)return;if(e.get(f)===0){e.get(m).scrollLeft=0;return}const t=e.get(b)[e.get(f)];t&&(e.get(m).scrollLeft=t.offsetLeft)});var G={get challenge(){return i()},set challenge(t){i(t),e.flushSync()},get orientation(){return a()},set orientation(t=k.ORIENTATION.vertical){a(t),e.flushSync()},get isExpired(){return P()},set isExpired(t=!1){P(t),e.flushSync()},get isPaused(){return d()},set isPaused(t=!1){d(t),e.flushSync()},get syncRows(){return v()},set syncRows(t=!1){v(t),e.flushSync()},get rowGap(){return L()},set rowGap(t=0){L(t),e.flushSync()},get isAnonymous(){return T()},set isAnonymous(t){T(t),e.flushSync()}},u=he();let C;return e.each(u,23,()=>e.get(p),t=>t.LevelId,(t,x,o)=>{{let y=e.user_derived(()=>e.get(o)===e.get(p).length-1),S=e.user_derived(()=>v()?e.get(o)+1:void 0),D=e.user_derived(()=>e.get(N)&&e.get(o)===0);k.ChallengeProgressItem(t,{get level(){return e.get(x)},get nextLevel(){return e.get(p)[e.get(o)+1]},get challengeStatus(){return e.get(A)},get isExpired(){return P()},get isPaused(){return d()},get isLast(){return e.get(y)},get orientation(){return a()},get gridRow(){return e.get(S)},get showStart(){return e.get(D)},get optedIn(){return e.get(q)},get itemEl(){return e.get(b)[e.get(o)]},set itemEl(l){e.get(b)[e.get(o)]=l}})}}),e.reset(u),e.bind_this(u,t=>e.set(m,t),()=>e.get(m)),e.template_effect(()=>{C=e.set_class(u,1,"challenge-progress svelte-1gkzvh",null,C,{horizontal:a()===k.ORIENTATION.horizontal,vertical:a()===k.ORIENTATION.vertical,dense:e.get(_),synced:v()}),e.set_attribute(u,"data-orientation",a()),e.set_attribute(u,"data-dense",e.get(_)),e.set_attribute(u,"data-synced",v()),e.set_style(u,v()?`--progress-row-gap: ${L()}px;`:void 0)}),e.append(w,u),e.pop(G)}e.create_custom_element(B,{challenge:{},orientation:{},isExpired:{},isPaused:{},syncRows:{},rowGap:{},isAnonymous:{}},[],[],{mode:"open"});if(typeof window<"u"){let w=function(n){return function(...i){try{return n.apply(this,i)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a instanceof Error&&a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=w(customElements.define),Promise.resolve().then(()=>require("./ChallengeProgress-DEAG-WXd.cjs")).then(n=>{const i=n.default||n;customElements.get("challenge-progress")||customElements.define("challenge-progress",i.element||i)}).catch(n=>{console.error("BOOT ERROR:",n)})}var _e=e.from_html('<span class="challenge-details__level-item--icon-completed svelte-g28wmr"><!></span>'),fe=e.from_html('<span class="challenge-details__level-item--icon svelte-g28wmr"><!></span>'),X=e.from_html('<li class="challenge-details__level--info-row svelte-g28wmr"><span class="challenge-details__level--info-icon svelte-g28wmr"><!></span> <span class="challenge-details__level--info-value svelte-g28wmr"> </span></li>'),me=e.from_html('<button type="button"><!></button>'),we=e.from_html('<div><div class="challenge-details__level-item--header svelte-g28wmr"><span class="challenge-details__level-item--name svelte-g28wmr"> </span> <!></div> <ul class="challenge-details__level--info-list svelte-g28wmr"><!> <!></ul> <!></div>'),be=e.from_html('<div class="challenge-details__levels svelte-g28wmr"><!> <!></div>');const xe={hash:"svelte-g28wmr",code:`.challenge-details__levels.svelte-g28wmr {display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:var(--challenge-levels-row-gap, 16px);align-items:stretch;.challenge-details__level--details-item:where(.svelte-g28wmr) {background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));border:1px solid var(--border-default, rgba(251, 251, 251, 0.15));box-sizing:border-box;flex-direction:column;padding:10px;border-radius:6px;gap:16px;display:flex;min-width:0;}.challenge-details__level--details-item.current:where(.svelte-g28wmr) {background:linear-gradient(
|
|
2
2
|
90deg,
|
|
3
3
|
color-mix(in srgb, var(--button-primary-bg-default, rgba(255, 204, 0, 0.5)) 50%, transparent) 10%,
|
|
4
4
|
color-mix(in srgb, var(--alpha-primary-50, rgba(255, 204, 0, 0.25)) 50%, transparent) 100%
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as fe, d as we, h as _e, p as y, N as H, P as re, v as xe, y as e, a9 as be, a3 as ne, t as B, a as I, b as ye, A as r, a7 as Ee, k as T, e as E, r as u, L as Q, z as ie, s as Y, a4 as oe, T as Ge, g as We, o as R, aa as De, ab as Ne, n as m, m as $e, B as se, x as K, i as ae, W as Me, Y as je, j as Be, l as He, $ as Ye, a5 as pe } from "./ChallengeTabs-
|
|
2
|
-
import { L as qe } from "./LockIcon-
|
|
3
|
-
import { G as Fe } from "./GiftIcon-
|
|
4
|
-
import { T as Je } from "./TargetIcon-
|
|
5
|
-
import { C as Ke } from "./CheckIcon-
|
|
6
|
-
import { C as Qe } from "./ChevronIcon-
|
|
7
|
-
import { O as G, C as Ue } from "./ChallengeProgressItem-
|
|
1
|
+
import { c as fe, d as we, h as _e, p as y, N as H, P as re, v as xe, y as e, a9 as be, a3 as ne, t as B, a as I, b as ye, A as r, a7 as Ee, k as T, e as E, r as u, L as Q, z as ie, s as Y, a4 as oe, T as Ge, g as We, o as R, aa as De, ab as Ne, n as m, m as $e, B as se, x as K, i as ae, W as Me, Y as je, j as Be, l as He, $ as Ye, a5 as pe } from "./ChallengeTabs-BVz0BICw.js";
|
|
2
|
+
import { L as qe } from "./LockIcon-BT6TGzYp.js";
|
|
3
|
+
import { G as Fe } from "./GiftIcon-lrpxe0iW.js";
|
|
4
|
+
import { T as Je } from "./TargetIcon-C-ph98ti.js";
|
|
5
|
+
import { C as Ke } from "./CheckIcon-BRoJZtNJ.js";
|
|
6
|
+
import { C as Qe } from "./ChevronIcon-CHngWdtF.js";
|
|
7
|
+
import { O as G, C as Ue } from "./ChallengeProgressItem-nQ_f9Ywn.js";
|
|
8
8
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
9
9
|
}, globalThis.customElements = { define() {
|
|
10
10
|
}, get() {
|
|
@@ -158,7 +158,7 @@ if (typeof window < "u") {
|
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
|
-
customElements.define = L(customElements.define), import("./ChallengeProgress-
|
|
161
|
+
customElements.define = L(customElements.define), import("./ChallengeProgress-D8ndp54J.js").then((n) => {
|
|
162
162
|
const o = n.default || n;
|
|
163
163
|
customElements.get("challenge-progress") || customElements.define("challenge-progress", o.element || o);
|
|
164
164
|
}).catch((n) => {
|