@platform-x/hcltechx-mfe-wrapper 2.0.23 → 2.0.25
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-C04ffFjy.mjs → ArticleVodListComponent-CcOG897w.mjs} +2 -2
- package/{ChallengeDetailComponent-CgTAIiMR.mjs → ChallengeDetailComponent-C47aLFFT.mjs} +3 -3
- package/{ChallengeSliderComponent-CMNUevMF.mjs → ChallengeSliderComponent-DF1u4Nng.mjs} +24 -24
- package/{CommonContentComponent-BVqouw4l.mjs → CommonContentComponent-CioTPoV-.mjs} +3 -3
- package/{DailyMotion-BI0Q1JDk.mjs → DailyMotion-CuJbJ57X.mjs} +2 -2
- package/{EngagementHomeComponent-C4W_v4bE.mjs → EngagementHomeComponent-C4kpEtQ-.mjs} +3 -3
- package/{EventDetailComponent-B49SEDbl.mjs → EventDetailComponent-CNpsWEK_.mjs} +3 -3
- package/{EventListComponent-C7405GB0.mjs → EventListComponent-CZZ4sHGi.mjs} +3 -3
- package/ExperienceZone-DOnREA3B.mjs +151 -0
- package/{ExperienceZoneComponent-BHhV629N.mjs → ExperienceZoneComponent-CAhg-HP_.mjs} +25 -24
- package/{Facebook-BOHbFpTs.mjs → Facebook-LZzQQBwB.mjs} +2 -2
- package/{FilePlayer-D9Q031Jl.mjs → FilePlayer-PSjdtDS2.mjs} +2 -2
- package/{IndividualChallengeComponent-DdR85DT3.mjs → IndividualChallengeComponent-CKknZrM-.mjs} +3 -3
- package/{Kaltura-DmUX1aRX.mjs → Kaltura-VYeCOVrq.mjs} +2 -2
- package/{Mixcloud-C-ms2Qy6.mjs → Mixcloud-Dx6nltY4.mjs} +2 -2
- package/{Mux-nYFXX_8l.mjs → Mux-DSf8-Tk4.mjs} +2 -2
- package/{PageComponent-XDLFtG6U.mjs → PageComponent-At1hcA2N.mjs} +2 -2
- package/{Preview-BgBqYwWi.mjs → Preview-Dz7WFqwK.mjs} +1 -1
- package/{RecentCarousel-CeCl9JAG.mjs → RecentCarousel-DKsUX4Ie.mjs} +2 -2
- package/{Share-DnnClcsc.mjs → Share-B7M0YRGF.mjs} +2 -2
- package/{SoundCloud-DGITjaJh.mjs → SoundCloud-NszztQrZ.mjs} +2 -2
- package/{Streamable-CLvoSLj_.mjs → Streamable-CfvzfJlj.mjs} +2 -2
- package/{ToggleButton-Z1BpHIt1.mjs → ToggleButton-CWZQywKU.mjs} +57 -27
- package/{Twitch-D8vjeAHw.mjs → Twitch-DSHakBLK.mjs} +2 -2
- package/{Vidyard-DUmKvYHe.mjs → Vidyard-Dgqt_3_q.mjs} +2 -2
- package/{Vimeo-adVCK2BQ.mjs → Vimeo-CFOJzWk4.mjs} +2 -2
- package/{Wistia-COdBdZj9.mjs → Wistia-Ca2t-R17.mjs} +2 -2
- package/{YouTube-CJjtUx7W.mjs → YouTube-Bxi1pwEc.mjs} +2 -2
- package/{index-Dbk0Rr5R.mjs → index-BtvW_l5Z.mjs} +449 -449
- package/{index-9EdR-U0c.mjs → index-DcJjqQjm.mjs} +4 -4
- package/index.mjs +1 -1
- package/{mutateApi-CB5SjsIj.mjs → mutateApi-Yg7CgHvo.mjs} +1 -1
- package/package.json +1 -1
- package/ExperienceZone-DixEAEn4.mjs +0 -86
|
@@ -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-CWZQywKU.mjs";
|
|
3
3
|
import "react";
|
|
4
|
-
import "./index-
|
|
4
|
+
import "./index-BtvW_l5Z.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const f = ({
|
|
7
7
|
data: t,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as Z } from "react/jsx-runtime";
|
|
2
|
-
import { b as $ } from "./ToggleButton-
|
|
2
|
+
import { b as $ } from "./ToggleButton-CWZQywKU.mjs";
|
|
3
3
|
import { useState as a, useEffect as R } from "react";
|
|
4
|
-
import { s as f, f as C } from "./index-
|
|
5
|
-
import { m as ee } from "./mutateApi-
|
|
4
|
+
import { s as f, f as C } from "./index-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as ee } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const ie = (T) => {
|
|
8
8
|
var B;
|
|
@@ -1,26 +1,26 @@
|
|
|
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-CWZQywKU.mjs";
|
|
3
3
|
import { useState as a, useEffect as Z } from "react";
|
|
4
|
-
import { C as $, f as _, s as c, a as V } from "./index-
|
|
5
|
-
import { m as R } from "./mutateApi-
|
|
4
|
+
import { C as $, f as _, s as c, a as V } from "./index-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as R } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const ae = (T) => {
|
|
8
8
|
var I, P, A;
|
|
9
|
-
const { pageData:
|
|
10
|
-
prelemBaseEndpoint: { site_host: h, language:
|
|
11
|
-
} =
|
|
12
|
-
pageId:
|
|
13
|
-
pageTitle:
|
|
14
|
-
pageDesc:
|
|
15
|
-
pageTags: (P = (I =
|
|
9
|
+
const { pageData: o = {}, secondaryArgs: f, userId: y, filters: p } = T || {}, [v, C] = a(!0), [k, S] = a({}), [E, G] = a(0), [b, L] = a([]), [x, j] = a({}), [D, H] = a({}), [M, N] = a({}), w = localStorage.getItem("userId") || y, {
|
|
10
|
+
prelemBaseEndpoint: { site_host: h, language: u }
|
|
11
|
+
} = f, B = {
|
|
12
|
+
pageId: o == null ? void 0 : o.page,
|
|
13
|
+
pageTitle: o == null ? void 0 : o.title,
|
|
14
|
+
pageDesc: o == null ? void 0 : o.description,
|
|
15
|
+
pageTags: (P = (I = o == null ? void 0 : o.settings) == null ? void 0 : I.keywords) == null ? void 0 : P.join(", "),
|
|
16
16
|
isAuthoring: !1,
|
|
17
|
-
isSeoEnabled: (A =
|
|
18
|
-
isAnalyticsEnabled:
|
|
17
|
+
isSeoEnabled: (A = o == null ? void 0 : o.settings) == null ? void 0 : A.seo_blockIndexing,
|
|
18
|
+
isAnalyticsEnabled: o == null ? void 0 : o.analytics_enable
|
|
19
19
|
}, O = {
|
|
20
20
|
isAuthoring: !1
|
|
21
21
|
}, q = async (i, n, l, r = "", t = "wellnessevent") => {
|
|
22
22
|
var e, d, m, g;
|
|
23
|
-
const
|
|
23
|
+
const s = await _.getContentSchemaList(
|
|
24
24
|
{
|
|
25
25
|
searchTerm: r,
|
|
26
26
|
filter: (t == null ? void 0 : t.toLocaleLowerCase()) === "events" ? "wellnessevent" : t == null ? void 0 : t.toLocaleLowerCase()
|
|
@@ -28,26 +28,26 @@ const ae = (T) => {
|
|
|
28
28
|
i || "en",
|
|
29
29
|
n
|
|
30
30
|
);
|
|
31
|
-
(d = (e =
|
|
31
|
+
(d = (e = s == null ? void 0 : s.data) == null ? void 0 : e.publish_getContents) != null && d.records ? l((g = (m = s == null ? void 0 : s.data) == null ? void 0 : m.publish_getContents) == null ? void 0 : g.records) : console.error("Something went wrong !");
|
|
32
32
|
}, z = async (i, n, l) => {
|
|
33
33
|
var r, t;
|
|
34
34
|
try {
|
|
35
|
-
const
|
|
35
|
+
const s = {
|
|
36
36
|
input: { activity_type: l, target: i.toString(), action: n },
|
|
37
37
|
user_id: w
|
|
38
|
-
}, e = await R.setPersonalGoal(
|
|
38
|
+
}, e = await R.setPersonalGoal(s, u, h);
|
|
39
39
|
((t = (r = e == null ? void 0 : e.data) == null ? void 0 : r.community_setPersonalGoal) == null ? void 0 : t.message) === "Created Successfully!!!" && n === "goal" ? V("Goal updated successfully!") : n !== "entry" && console.error("Something went wrong !");
|
|
40
|
-
} catch (
|
|
41
|
-
console.error("Error in update goal API:",
|
|
40
|
+
} catch (s) {
|
|
41
|
+
console.error("Error in update goal API:", s), c("Something went wrong, please try after sometime !");
|
|
42
42
|
}
|
|
43
43
|
}, F = async (i = "") => {
|
|
44
44
|
var n, l, r, t;
|
|
45
45
|
try {
|
|
46
46
|
C(!0);
|
|
47
|
-
const
|
|
47
|
+
const s = {
|
|
48
48
|
date: i,
|
|
49
49
|
user_id: w
|
|
50
|
-
}, e = await _.fetchPersonalTracker(
|
|
50
|
+
}, e = await _.fetchPersonalTracker(s, u, h);
|
|
51
51
|
if (((n = e == null ? void 0 : e.errors) == null ? void 0 : n.length) > 0)
|
|
52
52
|
c((l = e == null ? void 0 : e.errors[0]) == null ? void 0 : l.message);
|
|
53
53
|
else if ((r = e == null ? void 0 : e.data) != null && r.community_fetchPersonalTracker) {
|
|
@@ -62,8 +62,8 @@ const ae = (T) => {
|
|
|
62
62
|
S(d), G(m), j({ calories: g, distance: K }), H(Q), N(U);
|
|
63
63
|
} else
|
|
64
64
|
console.error("GetPersonalData API failed"), c("GetPersonalData API failed");
|
|
65
|
-
} catch (
|
|
66
|
-
c("Something went wrong !"), console.error("Error in GetPersonalData API:",
|
|
65
|
+
} catch (s) {
|
|
66
|
+
c("Something went wrong !"), console.error("Error in GetPersonalData API:", s), c("Error in GetPersonalData API"), S({});
|
|
67
67
|
} finally {
|
|
68
68
|
C(!1);
|
|
69
69
|
}
|
|
@@ -73,13 +73,13 @@ const ae = (T) => {
|
|
|
73
73
|
updateGoals: z
|
|
74
74
|
};
|
|
75
75
|
return Z(() => {
|
|
76
|
-
F(X(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), q(
|
|
76
|
+
F(X(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), q(u, h, L, "", "challenges");
|
|
77
77
|
}, []), /* @__PURE__ */ W(
|
|
78
78
|
Y,
|
|
79
79
|
{
|
|
80
80
|
analytics: B,
|
|
81
81
|
authoringHelper: O,
|
|
82
|
-
secondaryArgs:
|
|
82
|
+
secondaryArgs: f,
|
|
83
83
|
stepsDetails: J,
|
|
84
84
|
streaksCount: E,
|
|
85
85
|
data: b,
|
|
@@ -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-BtvW_l5Z.mjs";
|
|
4
|
+
import { m as $ } from "./mutateApi-Yg7CgHvo.mjs";
|
|
5
5
|
import { M as T } from "./Mapping-DicSeRn3.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-DcJjqQjm.mjs").then((t) => ({
|
|
10
10
|
default: t[T[l]]
|
|
11
11
|
}))
|
|
12
12
|
), c));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as P } from "./index-
|
|
1
|
+
import { l as P } from "./index-BtvW_l5Z.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-CWZQywKU.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-CWZQywKU.mjs";
|
|
3
3
|
import { useState as o, useEffect as ae } from "react";
|
|
4
|
-
import { C as ne, f as k, s as i, a as se } from "./index-
|
|
5
|
-
import { m as re } from "./mutateApi-
|
|
4
|
+
import { C as ne, f as k, s as i, a as se } from "./index-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as re } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const A = 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-CWZQywKU.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-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as z } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Z = (h) => {
|
|
8
8
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as U } from "react/jsx-runtime";
|
|
2
|
-
import { E as j, f as B } from "./ToggleButton-
|
|
2
|
+
import { E as j, f as B } from "./ToggleButton-CWZQywKU.mjs";
|
|
3
3
|
import { useState as n, useEffect as H } from "react";
|
|
4
|
-
import { C as O, s as r, f as q, a as z } from "./index-
|
|
5
|
-
import { m as F } from "./mutateApi-
|
|
4
|
+
import { C as O, s as r, f as q, a as z } from "./index-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as F } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Y = ({
|
|
8
8
|
data: h,
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { aq as k, ar as b, M as S, B as d, T as w, k as v, $ as T, S as r, as as C, at as P, v as y, au as B } from "./ToggleButton-CWZQywKU.mjs";
|
|
3
|
+
const R = ({
|
|
4
|
+
content: l,
|
|
5
|
+
analytics: c,
|
|
6
|
+
authoringHelper: n,
|
|
7
|
+
secondaryArgs: a,
|
|
8
|
+
filters: o,
|
|
9
|
+
eventData: m,
|
|
10
|
+
isLoading: p
|
|
11
|
+
}) => {
|
|
12
|
+
var t;
|
|
13
|
+
k(c, l, a);
|
|
14
|
+
const u = b(), h = (i) => {
|
|
15
|
+
y(i, o, a);
|
|
16
|
+
}, g = (i) => {
|
|
17
|
+
B(o, i, a);
|
|
18
|
+
}, x = { ...{
|
|
19
|
+
slidesToShow: 4,
|
|
20
|
+
slidesToScroll: 4,
|
|
21
|
+
autoPlay: !0,
|
|
22
|
+
dots: !1,
|
|
23
|
+
arrow: !0,
|
|
24
|
+
infinite: !1,
|
|
25
|
+
touchMove: !1,
|
|
26
|
+
responsive: [
|
|
27
|
+
{
|
|
28
|
+
breakpoint: 1024,
|
|
29
|
+
settings: {
|
|
30
|
+
slidesToShow: 3,
|
|
31
|
+
slidesToScroll: 3
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
breakpoint: 900,
|
|
36
|
+
settings: {
|
|
37
|
+
slidesToShow: 3,
|
|
38
|
+
slidesToScroll: 3
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
breakpoint: 600,
|
|
43
|
+
settings: {
|
|
44
|
+
slidesToShow: 2,
|
|
45
|
+
slidesToScroll: 2,
|
|
46
|
+
infinite: !0,
|
|
47
|
+
dots: !0,
|
|
48
|
+
arrow: !1,
|
|
49
|
+
touchMove: !0
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
} };
|
|
54
|
+
return /* @__PURE__ */ e(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
ref: n == null ? void 0 : n.innerRef,
|
|
58
|
+
className: `${u.ExperienceZoneWrapper} PX-ExperienceZoneBox`,
|
|
59
|
+
children: /* @__PURE__ */ e(S, { className: "prelem-py", children: /* @__PURE__ */ s(d, { children: [
|
|
60
|
+
/* @__PURE__ */ s(d, { className: "PX-headerWrapper", children: [
|
|
61
|
+
/* @__PURE__ */ e(w, { variant: "h3bold", children: "The Zen Zone" }),
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
|
+
v,
|
|
64
|
+
{
|
|
65
|
+
variant: "secondaryButton3",
|
|
66
|
+
className: "viewAllCta",
|
|
67
|
+
onClick: () => g("eventList"),
|
|
68
|
+
children: "View All"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] }),
|
|
72
|
+
/* @__PURE__ */ e(T, { ...x, className: "PX-arrowDotSlider", children: p ? [...Array(4)].map((i, f) => /* @__PURE__ */ s("div", { children: [
|
|
73
|
+
/* @__PURE__ */ e(
|
|
74
|
+
r,
|
|
75
|
+
{
|
|
76
|
+
variant: "rectangular",
|
|
77
|
+
sx: {
|
|
78
|
+
height: {
|
|
79
|
+
xs: "164px",
|
|
80
|
+
sm: "308px",
|
|
81
|
+
md: "398px",
|
|
82
|
+
em: "260px",
|
|
83
|
+
lg: "275px",
|
|
84
|
+
xl: "340px"
|
|
85
|
+
},
|
|
86
|
+
width: "100%",
|
|
87
|
+
borderRadius: "10px",
|
|
88
|
+
background: "linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%)",
|
|
89
|
+
backgroundSize: "200% 100%",
|
|
90
|
+
animation: "shimmer 1.5s infinite",
|
|
91
|
+
"@keyframes shimmer": {
|
|
92
|
+
"0%": { backgroundPosition: "-200% 0" },
|
|
93
|
+
"100%": { backgroundPosition: "200% 0" }
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
r,
|
|
100
|
+
{
|
|
101
|
+
variant: "rectangular",
|
|
102
|
+
sx: {
|
|
103
|
+
height: "20px",
|
|
104
|
+
width: "100%",
|
|
105
|
+
borderRadius: "10px",
|
|
106
|
+
marginTop: "10px",
|
|
107
|
+
background: "linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%)",
|
|
108
|
+
backgroundSize: "200% 100%",
|
|
109
|
+
animation: "shimmer 1.5s infinite",
|
|
110
|
+
"@keyframes shimmer": {
|
|
111
|
+
"0%": { backgroundPosition: "-200% 0" },
|
|
112
|
+
"100%": { backgroundPosition: "200% 0" }
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
/* @__PURE__ */ e(
|
|
118
|
+
r,
|
|
119
|
+
{
|
|
120
|
+
variant: "rectangular",
|
|
121
|
+
sx: {
|
|
122
|
+
height: "10px",
|
|
123
|
+
width: "70%",
|
|
124
|
+
borderRadius: "10px",
|
|
125
|
+
marginTop: "10px",
|
|
126
|
+
background: "linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%)",
|
|
127
|
+
backgroundSize: "200% 100%",
|
|
128
|
+
animation: "shimmer 1.5s infinite",
|
|
129
|
+
"@keyframes shimmer": {
|
|
130
|
+
"0%": { backgroundPosition: "-200% 0" },
|
|
131
|
+
"100%": { backgroundPosition: "200% 0" }
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] }, f)) : (t = C(m, "start_date", "end_date", !1)) == null ? void 0 : t.map((i) => /* @__PURE__ */ e(
|
|
137
|
+
P,
|
|
138
|
+
{
|
|
139
|
+
content: i,
|
|
140
|
+
secondaryArgs: a,
|
|
141
|
+
onCardClick: h
|
|
142
|
+
},
|
|
143
|
+
i
|
|
144
|
+
)) })
|
|
145
|
+
] }) })
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
};
|
|
149
|
+
export {
|
|
150
|
+
R as E
|
|
151
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "./ToggleButton-
|
|
3
|
-
import { E as
|
|
4
|
-
import { useState as
|
|
5
|
-
import { f as
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import "./ToggleButton-CWZQywKU.mjs";
|
|
3
|
+
import { E as T } from "./ExperienceZone-DOnREA3B.mjs";
|
|
4
|
+
import { useState as j, useEffect as k } from "react";
|
|
5
|
+
import { f as H } from "./index-BtvW_l5Z.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
|
-
const z = (
|
|
7
|
+
const z = (g) => {
|
|
8
8
|
var t, c, r;
|
|
9
|
-
const { pageData: s = {}, secondaryArgs: e, filters:
|
|
10
|
-
prelemBaseEndpoint: { site_host:
|
|
11
|
-
} = e,
|
|
9
|
+
const { pageData: s = {}, secondaryArgs: e, filters: h, isLoading: w } = g || {}, [L, C] = j([]), {
|
|
10
|
+
prelemBaseEndpoint: { site_host: v, language: E }
|
|
11
|
+
} = e, b = {
|
|
12
12
|
pageId: s == null ? void 0 : s.page,
|
|
13
13
|
pageTitle: s == null ? void 0 : s.title,
|
|
14
14
|
pageDesc: s == null ? void 0 : s.description,
|
|
@@ -16,31 +16,32 @@ const z = (h) => {
|
|
|
16
16
|
isAuthoring: !1,
|
|
17
17
|
isSeoEnabled: (r = s == null ? void 0 : s.settings) == null ? void 0 : r.seo_blockIndexing,
|
|
18
18
|
isAnalyticsEnabled: s == null ? void 0 : s.analytics_enable
|
|
19
|
-
},
|
|
19
|
+
}, y = {
|
|
20
20
|
isAuthoring: !1
|
|
21
|
-
},
|
|
21
|
+
}, A = async (_, x, S = "", n = "wellnessevent") => {
|
|
22
22
|
var i, m, d, p;
|
|
23
|
-
const o = await
|
|
23
|
+
const o = await H.getContentSchemaList(
|
|
24
24
|
{
|
|
25
|
-
searchTerm:
|
|
25
|
+
searchTerm: S,
|
|
26
26
|
filter: (n == null ? void 0 : n.toLocaleLowerCase()) === "events" ? "wellnessevent" : n == null ? void 0 : n.toLocaleLowerCase(),
|
|
27
27
|
conditionString: (n == null ? void 0 : n.toLocaleLowerCase()) === "wellnessevent" || (n == null ? void 0 : n.toLocaleLowerCase()) === "events" ? "hclplatformx_public_listing:true" : ""
|
|
28
28
|
},
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
_ || "en",
|
|
30
|
+
v
|
|
31
31
|
);
|
|
32
|
-
(m = (i = o == null ? void 0 : o.data) == null ? void 0 : i.publish_getContents) != null && m.records ?
|
|
32
|
+
(m = (i = o == null ? void 0 : o.data) == null ? void 0 : i.publish_getContents) != null && m.records ? x((p = (d = o == null ? void 0 : o.data) == null ? void 0 : d.publish_getContents) == null ? void 0 : p.records) : console.error("Something went wrong !");
|
|
33
33
|
};
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
}, []), /* @__PURE__ */
|
|
37
|
-
|
|
34
|
+
return k(() => {
|
|
35
|
+
A(E, C, "", "wellnessevent");
|
|
36
|
+
}, []), /* @__PURE__ */ l(
|
|
37
|
+
T,
|
|
38
38
|
{
|
|
39
|
-
analytics:
|
|
40
|
-
authoringHelper:
|
|
39
|
+
analytics: b,
|
|
40
|
+
authoringHelper: y,
|
|
41
41
|
secondaryArgs: e,
|
|
42
|
-
eventData:
|
|
43
|
-
filters:
|
|
42
|
+
eventData: L,
|
|
43
|
+
filters: h,
|
|
44
|
+
isLoading: w
|
|
44
45
|
}
|
|
45
46
|
);
|
|
46
47
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as _ } from "./index-
|
|
1
|
+
import { l as _ } from "./index-BtvW_l5Z.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-CWZQywKU.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 { l as b } from "./index-
|
|
1
|
+
import { l as b } from "./index-BtvW_l5Z.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-CWZQywKU.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-DdR85DT3.mjs → IndividualChallengeComponent-CKknZrM-.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as de } from "react/jsx-runtime";
|
|
2
|
-
import { I as ge } from "./ToggleButton-
|
|
2
|
+
import { I as ge } from "./ToggleButton-CWZQywKU.mjs";
|
|
3
3
|
import { useState as d, useEffect as fe } from "react";
|
|
4
|
-
import { C as he, g as me, f as _, s as f, a as ye } from "./index-
|
|
5
|
-
import { m as j } from "./mutateApi-
|
|
4
|
+
import { C as he, g as me, f as _, s as f, a as ye } from "./index-BtvW_l5Z.mjs";
|
|
5
|
+
import { m as j } from "./mutateApi-Yg7CgHvo.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
const Ae = (D) => {
|
|
8
8
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as f } from "./index-
|
|
1
|
+
import { l as f } from "./index-BtvW_l5Z.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-CWZQywKU.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 { l as f } from "./index-
|
|
1
|
+
import { l as f } from "./index-BtvW_l5Z.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-CWZQywKU.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 { l as P } from "./index-
|
|
1
|
+
import { l as P } from "./index-BtvW_l5Z.mjs";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { F as E } from "./ToggleButton-
|
|
3
|
+
import { F as E } from "./ToggleButton-CWZQywKU.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-BtvW_l5Z.mjs";
|
|
3
3
|
import B from "react";
|
|
4
4
|
import { M as b } from "./Mapping-DicSeRn3.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-DcJjqQjm.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-CWZQywKU.mjs";
|
|
3
3
|
import O, { useState as Y, useEffect as G } from "react";
|
|
4
|
-
import { m as J } from "./index-
|
|
4
|
+
import { m as J } from "./index-BtvW_l5Z.mjs";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const K = D(() => {
|
|
7
7
|
const r = J();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import he, { jsx as a, jsxs as k, Fragment as we } from "react/jsx-runtime";
|
|
2
2
|
import * as pe from "react";
|
|
3
3
|
import fe, { forwardRef as ge, useState as M, useEffect as ne, useRef as me, useCallback as be } from "react";
|
|
4
|
-
import { d as ie, r as ve, i as xe, m as ye, h as ke, e as re, B as m, g as Ce, j as Se, T as _, P as Ae, S as R, k as Z, D as Le, l as _e, s as je, n as I } from "./ToggleButton-
|
|
5
|
-
import { d as Pe, e as Ee, h as Te, _ as z, u as Ne, i as We, j as Be, P as x, k as De, l as Oe, G as T, m as Re } from "./index-
|
|
4
|
+
import { d as ie, r as ve, i as xe, m as ye, h as ke, e as re, B as m, g as Ce, j as Se, T as _, P as Ae, S as R, k as Z, D as Le, l as _e, s as je, n as I } from "./ToggleButton-CWZQywKU.mjs";
|
|
5
|
+
import { d as Pe, e as Ee, h as Te, _ as z, u as Ne, i as We, j as Be, P as x, k as De, l as Oe, G as T, m as Re } from "./index-BtvW_l5Z.mjs";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
function He(e) {
|
|
8
8
|
return Ee("MuiCardActions", e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as P } from "./index-
|
|
1
|
+
import { l as P } from "./index-BtvW_l5Z.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-CWZQywKU.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 { l as m } from "./index-
|
|
1
|
+
import { l as m } from "./index-BtvW_l5Z.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-CWZQywKU.mjs";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|