@platform-x/hcltechx-mfe-wrapper 1.0.35 → 1.0.36
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/{ArticleVodListComponent-CMEie9a_.mjs → ArticleVodListComponent-B_mz4pFP.mjs} +2 -2
- package/{ChallengeDetailComponent-CuwjZMPf.mjs → ChallengeDetailComponent-m_-rAkRe.mjs} +31 -29
- package/{ChallengeSliderComponent-6JvFKito.mjs → ChallengeSliderComponent-C8MKL2L5.mjs} +3 -3
- package/{CommonContentComponent-DRJ5iDKk.mjs → CommonContentComponent-gvsZ0zd5.mjs} +3 -3
- package/{DailyMotion-D1Gzjs6b.mjs → DailyMotion-CBq2xTz9.mjs} +2 -2
- package/{EngagementHomeComponent-DXSsi6al.mjs → EngagementHomeComponent-CabF_yP8.mjs} +3 -3
- package/{EventDetailComponent-C7Gm4HK4.mjs → EventDetailComponent-CZWh2ZjM.mjs} +3 -3
- package/{EventListComponent-B2i90d0d.mjs → EventListComponent-BJI5TWNJ.mjs} +3 -3
- package/{ExperienceZone-BthN8l6e.mjs → ExperienceZone-Cmj1-VI0.mjs} +1 -1
- package/{ExperienceZoneComponent-B3XLXdgz.mjs → ExperienceZoneComponent-CzMEwhqx.mjs} +3 -3
- package/{Facebook-C2Q7fzor.mjs → Facebook-BYf_gxps.mjs} +2 -2
- package/{FilePlayer-DsljmHEG.mjs → FilePlayer-ian6BGpD.mjs} +2 -2
- package/{IndividualChallengeComponent-zcLcep5M.mjs → IndividualChallengeComponent-C4TFxQ0N.mjs} +40 -38
- package/{Kaltura-DOjmzCCF.mjs → Kaltura-DUO1W7a0.mjs} +2 -2
- package/{Mixcloud-B0VsdJHn.mjs → Mixcloud-uakOrNLg.mjs} +2 -2
- package/{Mux-Cfyj7TvM.mjs → Mux-UJtQyFbr.mjs} +2 -2
- package/{PageComponent-DALylcTo.mjs → PageComponent-zzYDMVvX.mjs} +2 -2
- package/{Preview-jio1mn2o.mjs → Preview-DTmDYR1D.mjs} +1 -1
- package/{RecentCarousel-Ch4RVb0P.mjs → RecentCarousel-DJm62vfr.mjs} +2 -2
- package/{Share-BDSlb37Z.mjs → Share-DromTIhS.mjs} +2 -2
- package/{SoundCloud-Cr9HgRwr.mjs → SoundCloud-BTkz3vz5.mjs} +2 -2
- package/{Streamable-BZnPiOgH.mjs → Streamable-oTp2FGh_.mjs} +2 -2
- package/{ToggleButton-gVhwVScB.mjs → ToggleButton-DS7KY5UV.mjs} +62230 -62116
- package/{Twitch-C50LModg.mjs → Twitch-DLBOe4Uj.mjs} +2 -2
- package/{Vidyard-BJhZeW5Y.mjs → Vidyard-C652HdPw.mjs} +2 -2
- package/{Vimeo-Bl0wDJTK.mjs → Vimeo-nICIqXzH.mjs} +2 -2
- package/{Wistia-BruGOWkp.mjs → Wistia-qVaR9Yqj.mjs} +2 -2
- package/{YouTube-BgK1Fcr9.mjs → YouTube-DFpxmU3O.mjs} +2 -2
- package/{index-DWVcGAGd.mjs → index-Cl3U6HlV.mjs} +579 -577
- package/{index-DzxRwN3t.mjs → index-CoFaefgY.mjs} +3 -3
- package/index.mjs +1 -1
- package/{mutateApi-DUkScX9H.mjs → mutateApi-Bl4Pr0CW.mjs} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { A as p } from "./ToggleButton-
|
|
2
|
+
import { A as p } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-Cl3U6HlV.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const f = ({
|
|
7
7
|
data: t,
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { b as
|
|
3
|
-
import { useState as c, useEffect as
|
|
4
|
-
import { s as f, f as u } from "./index-
|
|
5
|
-
import { m as
|
|
1
|
+
import { jsx as K } from "react/jsx-runtime";
|
|
2
|
+
import { b as M } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
|
+
import { useState as c, useEffect as N } from "react";
|
|
4
|
+
import { s as f, f as u } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as O } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const $ = (E) => {
|
|
8
8
|
const {
|
|
9
9
|
pageData: t = {},
|
|
10
10
|
secondaryArgs: P,
|
|
11
11
|
prelemAnalyticsProp: D,
|
|
12
12
|
prelemAuthoringHelper: C,
|
|
13
|
-
userId: y
|
|
13
|
+
userId: y,
|
|
14
|
+
filters: v
|
|
14
15
|
} = E || {}, {
|
|
15
16
|
prelemBaseEndpoint: { language: h, site_host: d }
|
|
16
|
-
} = P, [
|
|
17
|
+
} = P, [w, a] = c(!1), [B, I] = c(!1), [T, G] = c(0), [S, j] = c(0), [b, k] = c([]), [U, A] = c(!1), [x, H] = c({}), g = localStorage.getItem("userId") || y, J = async (i) => {
|
|
17
18
|
var n, s, l, o;
|
|
18
19
|
if (!g) {
|
|
19
20
|
f("User ID is not available. Please log in.");
|
|
@@ -26,7 +27,7 @@ const Z = (E) => {
|
|
|
26
27
|
...i,
|
|
27
28
|
userId: g
|
|
28
29
|
}
|
|
29
|
-
}, e = await
|
|
30
|
+
}, e = await O.joinChallenge(r, h, d);
|
|
30
31
|
((n = e == null ? void 0 : e.errors) == null ? void 0 : n.length) > 0 ? f((s = e == null ? void 0 : e.errors[0]) == null ? void 0 : s.message) : (o = (l = e == null ? void 0 : e.data) == null ? void 0 : l.community_joinChallenge) != null && o.id ? (I(!0), await L(), await _(), A(!0)) : console.error("Join Challenge API failed");
|
|
31
32
|
} catch (r) {
|
|
32
33
|
console.error("Error in Join Challenge API:", r);
|
|
@@ -51,9 +52,9 @@ const Z = (E) => {
|
|
|
51
52
|
const {
|
|
52
53
|
total_participant: e,
|
|
53
54
|
is_joined: m,
|
|
54
|
-
user_steps:
|
|
55
|
+
user_steps: F = 0
|
|
55
56
|
} = (l = r == null ? void 0 : r.data) == null ? void 0 : l.community_challengesDetail;
|
|
56
|
-
I(m),
|
|
57
|
+
I(m), G(e), j(F);
|
|
57
58
|
} else
|
|
58
59
|
console.error("GetEventDetails API failed");
|
|
59
60
|
} catch (o) {
|
|
@@ -73,7 +74,7 @@ const Z = (E) => {
|
|
|
73
74
|
f((n = e == null ? void 0 : e.errors[0]) == null ? void 0 : n.message);
|
|
74
75
|
else if ((l = (s = e == null ? void 0 : e.data) == null ? void 0 : s.community_getLeaderBoardList) != null && l.records) {
|
|
75
76
|
const { records: m } = (o = e == null ? void 0 : e.data) == null ? void 0 : o.community_getLeaderBoardList;
|
|
76
|
-
|
|
77
|
+
k(m);
|
|
77
78
|
} else
|
|
78
79
|
console.error("GetLeaderBoardList API failed");
|
|
79
80
|
} catch (r) {
|
|
@@ -81,7 +82,7 @@ const Z = (E) => {
|
|
|
81
82
|
} finally {
|
|
82
83
|
a(!1);
|
|
83
84
|
}
|
|
84
|
-
},
|
|
85
|
+
}, q = async (i = "") => {
|
|
85
86
|
var n, s, l, o;
|
|
86
87
|
try {
|
|
87
88
|
a(!0);
|
|
@@ -93,7 +94,7 @@ const Z = (E) => {
|
|
|
93
94
|
f((s = e == null ? void 0 : e.errors[0]) == null ? void 0 : s.message);
|
|
94
95
|
else if ((l = e == null ? void 0 : e.data) != null && l.community_fetchPersonalTracker) {
|
|
95
96
|
const { device_info: m } = (o = e == null ? void 0 : e.data) == null ? void 0 : o.community_fetchPersonalTracker;
|
|
96
|
-
|
|
97
|
+
H(m);
|
|
97
98
|
} else
|
|
98
99
|
console.error("GetPersonalData API failed"), f("GetPersonalData API failed");
|
|
99
100
|
} catch (r) {
|
|
@@ -101,30 +102,31 @@ const Z = (E) => {
|
|
|
101
102
|
} finally {
|
|
102
103
|
a(!1);
|
|
103
104
|
}
|
|
104
|
-
},
|
|
105
|
-
joinChallenge:
|
|
106
|
-
loading:
|
|
107
|
-
isEnrolled:
|
|
108
|
-
enrolledParticipants:
|
|
109
|
-
userAchieved:
|
|
110
|
-
leaderBoardList:
|
|
111
|
-
showPopup:
|
|
105
|
+
}, z = {
|
|
106
|
+
joinChallenge: J,
|
|
107
|
+
loading: w,
|
|
108
|
+
isEnrolled: B,
|
|
109
|
+
enrolledParticipants: T,
|
|
110
|
+
userAchieved: S,
|
|
111
|
+
leaderBoardList: b,
|
|
112
|
+
showPopup: U,
|
|
112
113
|
setShowPopup: A,
|
|
113
|
-
deviceInfo:
|
|
114
|
+
deviceInfo: x
|
|
114
115
|
};
|
|
115
|
-
return
|
|
116
|
-
t != null && t.page && (L(), _(),
|
|
117
|
-
}, [t]), /* @__PURE__ */
|
|
118
|
-
|
|
116
|
+
return N(() => {
|
|
117
|
+
t != null && t.page && (L(), _(), q());
|
|
118
|
+
}, [t]), /* @__PURE__ */ K(
|
|
119
|
+
M,
|
|
119
120
|
{
|
|
120
121
|
content: t,
|
|
121
122
|
analytics: D,
|
|
122
123
|
authoringHelper: C,
|
|
123
124
|
secondaryArgs: P,
|
|
124
|
-
challengeDetails:
|
|
125
|
+
challengeDetails: z,
|
|
126
|
+
filters: v
|
|
125
127
|
}
|
|
126
128
|
);
|
|
127
129
|
};
|
|
128
130
|
export {
|
|
129
|
-
|
|
131
|
+
$ as default
|
|
130
132
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as W } from "react/jsx-runtime";
|
|
2
|
-
import { f as X, C as Y } from "./ToggleButton-
|
|
2
|
+
import { f as X, C as Y } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import { useState as a, useEffect as Z } from "react";
|
|
4
|
-
import { f as A, s as c, a as $ } from "./index-
|
|
5
|
-
import { m as V } from "./mutateApi-
|
|
4
|
+
import { f as A, s as c, a as $ } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as V } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const re = (p) => {
|
|
8
8
|
var I, P, _;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import j, { memo as x, useState as g, useEffect as J } from "react";
|
|
3
|
-
import { F as M, f as N, s as w } from "./index-
|
|
4
|
-
import { m as $ } from "./mutateApi-
|
|
3
|
+
import { F as M, f as N, s as w } from "./index-Cl3U6HlV.mjs";
|
|
4
|
+
import { m as $ } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
5
5
|
import { M as T } from "./Mapping-jqmNMEpL.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const c = {};
|
|
8
8
|
Object.keys(T).forEach((l) => (c[l] = j.lazy(
|
|
9
|
-
() => import("./index-
|
|
9
|
+
() => import("./index-CoFaefgY.mjs").then((t) => ({
|
|
10
10
|
default: t[T[l]]
|
|
11
11
|
}))
|
|
12
12
|
), c));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as P } from "./index-
|
|
1
|
+
import { n as P } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import v from "react";
|
|
3
|
-
import { z as D, F as O } from "./ToggleButton-
|
|
3
|
+
import { z as D, F as O } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function b(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as ee } from "react/jsx-runtime";
|
|
2
|
-
import { f as te, a as oe } from "./ToggleButton-
|
|
2
|
+
import { f as te, a as oe } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import { useState as o, useEffect as ae } from "react";
|
|
4
|
-
import { f as A, s as i, a as ne } from "./index-
|
|
5
|
-
import { m as se } from "./mutateApi-
|
|
4
|
+
import { f as A, s as i, a as ne } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as se } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const k = async (D, d, I, u = "", t = "wellnessevent") => {
|
|
8
8
|
var g, h, n, s;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
|
-
import { c as V } from "./ToggleButton-
|
|
2
|
+
import { c as V } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import { useState as a, useEffect as p } from "react";
|
|
4
|
-
import { f as q, s as d, a as I } from "./index-
|
|
5
|
-
import { m as z } from "./mutateApi-
|
|
4
|
+
import { f as q, s as d, a as I } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as z } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Z = (h) => {
|
|
8
8
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { E as M, f as U } from "./ToggleButton-
|
|
2
|
+
import { E as M, f as U } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import { useState as c, useEffect as j } from "react";
|
|
4
|
-
import { s as r, f as B, a as H } from "./index-
|
|
5
|
-
import { m as q } from "./mutateApi-
|
|
4
|
+
import { s as r, f as B, a as H } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as q } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Q = ({
|
|
8
8
|
data: h,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { a7 as h, a8 as m, a9 as C, B as l, T as f, k as T, aa as k, ab as v, ac as x, v as b, ad as B } from "./ToggleButton-
|
|
2
|
+
import { a7 as h, a8 as m, a9 as C, B as l, T as f, k as T, aa as k, ab as v, ac as x, v as b, ad as B } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
const X = ({
|
|
4
4
|
content: r,
|
|
5
5
|
analytics: c,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as S } from "react/jsx-runtime";
|
|
2
|
-
import "./ToggleButton-
|
|
3
|
-
import { E as l } from "./ExperienceZone-
|
|
2
|
+
import "./ToggleButton-DS7KY5UV.mjs";
|
|
3
|
+
import { E as l } from "./ExperienceZone-Cmj1-VI0.mjs";
|
|
4
4
|
import { useState as T, useEffect as j } from "react";
|
|
5
|
-
import { f as k } from "./index-
|
|
5
|
+
import { f as k } from "./index-Cl3U6HlV.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const z = (h) => {
|
|
8
8
|
var t, c, r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as _ } from "./index-
|
|
1
|
+
import { n as _ } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import P from "react";
|
|
3
|
-
import { z as g, F as m } from "./ToggleButton-
|
|
3
|
+
import { z as g, F as m } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const o = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as b } from "./index-
|
|
1
|
+
import { n as b } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import _ from "react";
|
|
3
|
-
import { z as O, F as A } from "./ToggleButton-
|
|
3
|
+
import { z as O, F as A } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function R(s, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
package/{IndividualChallengeComponent-zcLcep5M.mjs → IndividualChallengeComponent-C4TFxQ0N.mjs}
RENAMED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { I as
|
|
3
|
-
import { useState as u, useEffect as
|
|
4
|
-
import { f as L, s as d, a as w } from "./index-
|
|
5
|
-
import { m as G } from "./mutateApi-
|
|
1
|
+
import { jsx as ne } from "react/jsx-runtime";
|
|
2
|
+
import { I as oe } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
|
+
import { useState as u, useEffect as le } from "react";
|
|
4
|
+
import { f as L, s as d, a as w } from "./index-Cl3U6HlV.mjs";
|
|
5
|
+
import { m as G } from "./mutateApi-Bl4Pr0CW.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const
|
|
7
|
+
const fe = (T) => {
|
|
8
8
|
const {
|
|
9
9
|
pageData: l = {},
|
|
10
10
|
secondaryArgs: _,
|
|
11
11
|
prelemAnalyticsProp: B,
|
|
12
12
|
prelemAuthoringHelper: j,
|
|
13
13
|
userId: P,
|
|
14
|
-
cugId: D
|
|
14
|
+
cugId: D,
|
|
15
|
+
filters: U
|
|
15
16
|
} = T || {}, {
|
|
16
17
|
prelemBaseEndpoint: { site_host: f, language: h }
|
|
17
|
-
} = _, m = localStorage.getItem("userId") || P, [
|
|
18
|
+
} = _, m = localStorage.getItem("userId") || P, [k, g] = u(!1), [b, v] = u(!1), [x, H] = u(0), [J, z] = u(0), [F, K] = u([]), [M, A] = u([]), [N, O] = u([]), [Q, C] = u({}), [V, W] = u({}), [X, Y] = u([]), [Z, I] = u(!1), [$, p] = u({}), R = async (a) => {
|
|
18
19
|
var i, c, o, n, t, e;
|
|
19
20
|
try {
|
|
20
21
|
g(!0);
|
|
@@ -48,7 +49,7 @@ const de = (T) => {
|
|
|
48
49
|
user_steps: r = 0,
|
|
49
50
|
derivedChallenges: y
|
|
50
51
|
} = (o = t == null ? void 0 : t.data) == null ? void 0 : o.community_challengesDetail;
|
|
51
|
-
v(s),
|
|
52
|
+
v(s), H(e), z(r), Y(y);
|
|
52
53
|
} else
|
|
53
54
|
console.error("GetChallengeDetails API failed");
|
|
54
55
|
} catch (n) {
|
|
@@ -68,7 +69,7 @@ const de = (T) => {
|
|
|
68
69
|
d((c = e == null ? void 0 : e.errors[0]) == null ? void 0 : c.message);
|
|
69
70
|
else if ((o = e == null ? void 0 : e.data) != null && o.community_fetchPersonalTracker) {
|
|
70
71
|
const { steps: s, device_info: r, individual_challenge_info: y } = (n = e == null ? void 0 : e.data) == null ? void 0 : n.community_fetchPersonalTracker;
|
|
71
|
-
C(s),
|
|
72
|
+
C(s), W(r), p(y);
|
|
72
73
|
} else
|
|
73
74
|
console.error("GetPersonalData API failed"), d("GetPersonalData API failed");
|
|
74
75
|
} catch (t) {
|
|
@@ -76,7 +77,7 @@ const de = (T) => {
|
|
|
76
77
|
} finally {
|
|
77
78
|
g(!1);
|
|
78
79
|
}
|
|
79
|
-
},
|
|
80
|
+
}, ee = async (a) => {
|
|
80
81
|
var i, c, o, n, t;
|
|
81
82
|
try {
|
|
82
83
|
g(!0);
|
|
@@ -90,7 +91,7 @@ const de = (T) => {
|
|
|
90
91
|
d((c = s == null ? void 0 : s.errors[0]) == null ? void 0 : c.message);
|
|
91
92
|
else if ((n = (o = s == null ? void 0 : s.data) == null ? void 0 : o.community_getLeaderBoardList) != null && n.records) {
|
|
92
93
|
const { records: r } = (t = s == null ? void 0 : s.data) == null ? void 0 : t.community_getLeaderBoardList;
|
|
93
|
-
|
|
94
|
+
K(r);
|
|
94
95
|
} else
|
|
95
96
|
console.error("GetLeaderBoardList API failed");
|
|
96
97
|
} catch (e) {
|
|
@@ -98,7 +99,7 @@ const de = (T) => {
|
|
|
98
99
|
} finally {
|
|
99
100
|
g(!1);
|
|
100
101
|
}
|
|
101
|
-
},
|
|
102
|
+
}, re = async (a) => {
|
|
102
103
|
var i, c;
|
|
103
104
|
try {
|
|
104
105
|
const o = {
|
|
@@ -108,7 +109,7 @@ const de = (T) => {
|
|
|
108
109
|
} catch (o) {
|
|
109
110
|
console.error("Error in update goal API:", o), d("Something went wrong, please try after sometime !");
|
|
110
111
|
}
|
|
111
|
-
},
|
|
112
|
+
}, te = async (a = "", i = !1) => {
|
|
112
113
|
var c, o, n, t, e;
|
|
113
114
|
try {
|
|
114
115
|
g(!0);
|
|
@@ -148,7 +149,7 @@ const de = (T) => {
|
|
|
148
149
|
d((i = e == null ? void 0 : e.errors[0]) == null ? void 0 : i.message);
|
|
149
150
|
else if ((o = (c = e == null ? void 0 : e.data) == null ? void 0 : c.community_receivedRequests) != null && o.records) {
|
|
150
151
|
const { records: s } = (n = e == null ? void 0 : e.data) == null ? void 0 : n.community_receivedRequests;
|
|
151
|
-
|
|
152
|
+
O(s);
|
|
152
153
|
} else
|
|
153
154
|
console.error("GetReceivedRequestList API failed");
|
|
154
155
|
} catch (t) {
|
|
@@ -156,41 +157,42 @@ const de = (T) => {
|
|
|
156
157
|
} finally {
|
|
157
158
|
g(!1);
|
|
158
159
|
}
|
|
159
|
-
},
|
|
160
|
-
joinChallenge:
|
|
161
|
-
loading:
|
|
162
|
-
isEnrolled:
|
|
163
|
-
enrolledParticipants:
|
|
164
|
-
userAchieved:
|
|
165
|
-
leaderBoardList:
|
|
166
|
-
stepsData:
|
|
167
|
-
setUpChallenge:
|
|
168
|
-
sentRequestList:
|
|
169
|
-
receivedRequestList:
|
|
170
|
-
getSentRequestList:
|
|
160
|
+
}, se = {
|
|
161
|
+
joinChallenge: R,
|
|
162
|
+
loading: k,
|
|
163
|
+
isEnrolled: b,
|
|
164
|
+
enrolledParticipants: x,
|
|
165
|
+
userAchieved: J,
|
|
166
|
+
leaderBoardList: F,
|
|
167
|
+
stepsData: Q,
|
|
168
|
+
setUpChallenge: re,
|
|
169
|
+
sentRequestList: M,
|
|
170
|
+
receivedRequestList: N,
|
|
171
|
+
getSentRequestList: te,
|
|
171
172
|
getReceivedRequestList: E,
|
|
172
|
-
derivedChallenge:
|
|
173
|
-
deviceInfo:
|
|
174
|
-
pageLoader:
|
|
173
|
+
derivedChallenge: X,
|
|
174
|
+
deviceInfo: V,
|
|
175
|
+
pageLoader: Z,
|
|
175
176
|
fetchPersonalData: q,
|
|
176
|
-
individualChallengeInfo:
|
|
177
|
-
getLeaderBoardList:
|
|
177
|
+
individualChallengeInfo: $,
|
|
178
|
+
getLeaderBoardList: ee
|
|
178
179
|
};
|
|
179
|
-
return
|
|
180
|
+
return le(() => {
|
|
180
181
|
l != null && l.page && (S(), q(), E());
|
|
181
|
-
}, [l]), /* @__PURE__ */
|
|
182
|
-
|
|
182
|
+
}, [l]), /* @__PURE__ */ ne(
|
|
183
|
+
oe,
|
|
183
184
|
{
|
|
184
185
|
content: l,
|
|
185
186
|
analytics: B,
|
|
186
187
|
authoringHelper: j,
|
|
187
188
|
secondaryArgs: _,
|
|
188
|
-
challengeDetails:
|
|
189
|
+
challengeDetails: se,
|
|
189
190
|
userId: P,
|
|
190
|
-
cugId: D
|
|
191
|
+
cugId: D,
|
|
192
|
+
filters: U
|
|
191
193
|
}
|
|
192
194
|
);
|
|
193
195
|
};
|
|
194
196
|
export {
|
|
195
|
-
|
|
197
|
+
fe as default
|
|
196
198
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as f } from "./index-
|
|
1
|
+
import { n as f } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { z as _, F as m } from "./ToggleButton-
|
|
3
|
+
import { z as _, F as m } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function P(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as f } from "./index-
|
|
1
|
+
import { n as f } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { z as m, F as g } from "./ToggleButton-
|
|
3
|
+
import { z as m, F as g } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as P } from "./index-
|
|
1
|
+
import { n as P } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { F as E } from "./ToggleButton-
|
|
3
|
+
import { F as E } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function b(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as s, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { c as S } from "./index-
|
|
2
|
+
import { c as S } from "./index-Cl3U6HlV.mjs";
|
|
3
3
|
import B from "react";
|
|
4
4
|
import { M as b } from "./Mapping-jqmNMEpL.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const P = {};
|
|
7
7
|
Object.keys(b).forEach((o) => (P[o] = B.lazy(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-CoFaefgY.mjs").then((n) => ({
|
|
9
9
|
default: n[b[o]]
|
|
10
10
|
}))
|
|
11
11
|
), P));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { m as D, B as o, T as c, o as w, p as V, q as T, g as z, t as F, V as H, P as M, u as U, v as j, w as $, x as P, y as q } from "./ToggleButton-
|
|
2
|
+
import { m as D, B as o, T as c, o as w, p as V, q as T, g as z, t as F, V as H, P as M, u as U, v as j, w as $, x as P, y as q } from "./ToggleButton-DS7KY5UV.mjs";
|
|
3
3
|
import O, { useState as Y, useEffect as G } from "react";
|
|
4
|
-
import { o as J } from "./index-
|
|
4
|
+
import { o as J } from "./index-Cl3U6HlV.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const K = D(() => {
|
|
7
7
|
const r = J();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Le, { jsx as a, jsxs as k, Fragment as je } from "react/jsx-runtime";
|
|
2
2
|
import * as le from "react";
|
|
3
3
|
import Te, { forwardRef as Ne, useState as $, useEffect as de, useRef as Oe, useCallback as Pe } from "react";
|
|
4
|
-
import { d as ce, r as Ee, i as Re, m as We, h as Be, e as ue, B as b, g as De, j as He, T as L, P as Me, k as I, D as $e, l as Ue, s as Ve, n as J } from "./ToggleButton-
|
|
5
|
-
import { g as he, d as pe, e as we, _ as j, u as fe, h as ge, i as me, P as p, j as be, k as ve, l as ze, m as ee, n as Fe, G as P, o as Ke } from "./index-
|
|
4
|
+
import { d as ce, r as Ee, i as Re, m as We, h as Be, e as ue, B as b, g as De, j as He, T as L, P as Me, k as I, D as $e, l as Ue, s as Ve, n as J } from "./ToggleButton-DS7KY5UV.mjs";
|
|
5
|
+
import { g as he, d as pe, e as we, _ as j, u as fe, h as ge, i as me, P as p, j as be, k as ve, l as ze, m as ee, n as Fe, G as P, o as Ke } from "./index-Cl3U6HlV.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
function Ge(e) {
|
|
8
8
|
return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as P } from "./index-
|
|
1
|
+
import { n as P } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { z as b, F as v } from "./ToggleButton-
|
|
3
|
+
import { z as b, F as v } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as m } from "./index-
|
|
1
|
+
import { n as m } from "./index-Cl3U6HlV.mjs";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { z as _, F as b } from "./ToggleButton-
|
|
3
|
+
import { z as _, F as b } from "./ToggleButton-DS7KY5UV.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|