@platform-x/hcltechx-mfe-wrapper 2.0.44 → 2.0.45
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/{ArticleVodList-2p9HM32C.mjs → ArticleVodList-DeVbaN8_.mjs} +2 -2
- package/{ArticleVodListComponent-U9Tzjqdt.mjs → ArticleVodListComponent-CoHzkTS0.mjs} +3 -3
- package/{ChallengeDetailComponent-RUjU2x7h.mjs → ChallengeDetailComponent-RAkHgta0.mjs} +1 -1
- package/{CommonContentComponent-CElcpDdF.mjs → CommonContentComponent-DkBSffTx.mjs} +2 -2
- package/{DailyMotion-BFrKE1bl.mjs → DailyMotion-CgxYWB3g.mjs} +1 -1
- package/EngagementHomeComponent-DfT8n9Rs.mjs +151 -0
- package/{EventDetailComponent-B-ZHp13u.mjs → EventDetailComponent-CbF7O1-b.mjs} +1 -1
- package/{EventList-cAhSdBeC.mjs → EventList-C7RFvQjz.mjs} +9 -9
- package/{EventListComponent-CIc1I0oE.mjs → EventListComponent-CA50ctRf.mjs} +3 -3
- package/{Facebook-B8bFTrSC.mjs → Facebook-BJXzEbY5.mjs} +1 -1
- package/{FilePlayer-Wup3WRTq.mjs → FilePlayer-MtGoTGx2.mjs} +3 -3
- package/{FilterModal-CtZulUL1.mjs → FilterModal-4ZYVnZpH.mjs} +5 -5
- package/{IndividualChallengeComponent-BCNdBGBG.mjs → IndividualChallengeComponent-Db5zxjQ6.mjs} +1 -1
- package/{Kaltura-CqdE999v.mjs → Kaltura-DfCnhxul.mjs} +1 -1
- package/{Mixcloud-5wfOmsOj.mjs → Mixcloud-B4DG8KOl.mjs} +1 -1
- package/{Mux-BS0de87b.mjs → Mux-Bp-Juh0B.mjs} +1 -1
- package/{PageComponent-C-lP5AsI.mjs → PageComponent-CkdAHdST.mjs} +5 -5
- package/{Preview-BMvlx4Hl.mjs → Preview-Bw23KBkp.mjs} +1 -1
- package/{RecentCarousel-dQVzNlxx.mjs → RecentCarousel-tpaMLdQW.mjs} +12 -12
- package/{Share-TNrgFhyo.mjs → Share-hBPzRrcU.mjs} +1 -1
- package/{SoundCloud-CCQ9LeSQ.mjs → SoundCloud-CqhgvSWz.mjs} +1 -1
- package/{Streamable-9hOLp0Jw.mjs → Streamable-Lhkfbwfi.mjs} +1 -1
- package/{Twitch-BT_fVvXN.mjs → Twitch-GdYqvU_o.mjs} +1 -1
- package/{Vidyard-B7eSTnAc.mjs → Vidyard-CBIBiM6P.mjs} +1 -1
- package/{Vimeo-1UtR9DmP.mjs → Vimeo-kyKrg3EN.mjs} +1 -1
- package/{Wistia-CMbK2_qg.mjs → Wistia-BGf3xSFD.mjs} +1 -1
- package/{YouTube-jI_rjt1p.mjs → YouTube-DXWmLx9D.mjs} +15 -15
- package/{index-DjURWjrG.mjs → index-Bk70ORCz.mjs} +22 -22
- package/{index-A2Z50QJA.mjs → index-D1ATkp-E.mjs} +202 -189
- package/index.mjs +2 -2
- package/lib/utils/helper.d.ts +1 -0
- package/package.json +1 -1
- package/EngagementHomeComponent-pOHOWdbH.mjs +0 -125
|
@@ -22318,6 +22318,12 @@ function getSecureLocalStorageData(o) {
|
|
|
22318
22318
|
return console.error("Error retrieving 'derived_challenge_id':", n), "";
|
|
22319
22319
|
}
|
|
22320
22320
|
}
|
|
22321
|
+
const getThreeDaysAgo = () => {
|
|
22322
|
+
const o = /* @__PURE__ */ new Date(), n = new Date(o);
|
|
22323
|
+
n.setUTCDate(o.getUTCDate() - 2), n.setUTCHours(0, 0, 0, 0);
|
|
22324
|
+
const i = n.getUTCFullYear(), a = String(n.getUTCMonth() + 1).padStart(2, "0"), A = String(n.getUTCDate()).padStart(2, "0");
|
|
22325
|
+
return `${i}-${a}-${A}T00:00:00Z`;
|
|
22326
|
+
};
|
|
22321
22327
|
let CONSTANTS = {};
|
|
22322
22328
|
const updateConst = (o) => {
|
|
22323
22329
|
CONSTANTS = {
|
|
@@ -26859,7 +26865,7 @@ const useCustomStyle$13 = makeStyles(() => ({
|
|
|
26859
26865
|
}
|
|
26860
26866
|
}
|
|
26861
26867
|
};
|
|
26862
|
-
}), Share$3 = lazy$2(() => import("./Share-
|
|
26868
|
+
}), Share$3 = lazy$2(() => import("./Share-hBPzRrcU.mjs")), RecentCarousel$1 = lazy$2(() => import("./RecentCarousel-tpaMLdQW.mjs")), Article = ({
|
|
26863
26869
|
content: o = {},
|
|
26864
26870
|
analytics: n,
|
|
26865
26871
|
authoringHelper: i,
|
|
@@ -212747,7 +212753,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212747
212753
|
canPlay: import_patterns.canPlay.youtube,
|
|
212748
212754
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212749
212755
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
212750
|
-
"./YouTube-
|
|
212756
|
+
"./YouTube-DXWmLx9D.mjs"
|
|
212751
212757
|
).then((o) => o.Y))
|
|
212752
212758
|
},
|
|
212753
212759
|
{
|
|
@@ -212756,7 +212762,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212756
212762
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
212757
212763
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212758
212764
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
212759
|
-
"./SoundCloud-
|
|
212765
|
+
"./SoundCloud-CqhgvSWz.mjs"
|
|
212760
212766
|
).then((o) => o.S))
|
|
212761
212767
|
},
|
|
212762
212768
|
{
|
|
@@ -212765,7 +212771,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212765
212771
|
canPlay: import_patterns.canPlay.vimeo,
|
|
212766
212772
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212767
212773
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
212768
|
-
"./Vimeo-
|
|
212774
|
+
"./Vimeo-kyKrg3EN.mjs"
|
|
212769
212775
|
).then((o) => o.V))
|
|
212770
212776
|
},
|
|
212771
212777
|
{
|
|
@@ -212774,7 +212780,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212774
212780
|
canPlay: import_patterns.canPlay.mux,
|
|
212775
212781
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212776
212782
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
212777
|
-
"./Mux-
|
|
212783
|
+
"./Mux-Bp-Juh0B.mjs"
|
|
212778
212784
|
).then((o) => o.M))
|
|
212779
212785
|
},
|
|
212780
212786
|
{
|
|
@@ -212783,7 +212789,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212783
212789
|
canPlay: import_patterns.canPlay.facebook,
|
|
212784
212790
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212785
212791
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
212786
|
-
"./Facebook-
|
|
212792
|
+
"./Facebook-BJXzEbY5.mjs"
|
|
212787
212793
|
).then((o) => o.F))
|
|
212788
212794
|
},
|
|
212789
212795
|
{
|
|
@@ -212792,7 +212798,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212792
212798
|
canPlay: import_patterns.canPlay.streamable,
|
|
212793
212799
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212794
212800
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
212795
|
-
"./Streamable-
|
|
212801
|
+
"./Streamable-Lhkfbwfi.mjs"
|
|
212796
212802
|
).then((o) => o.S))
|
|
212797
212803
|
},
|
|
212798
212804
|
{
|
|
@@ -212801,7 +212807,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212801
212807
|
canPlay: import_patterns.canPlay.wistia,
|
|
212802
212808
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212803
212809
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
212804
|
-
"./Wistia-
|
|
212810
|
+
"./Wistia-BGf3xSFD.mjs"
|
|
212805
212811
|
).then((o) => o.W))
|
|
212806
212812
|
},
|
|
212807
212813
|
{
|
|
@@ -212810,7 +212816,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212810
212816
|
canPlay: import_patterns.canPlay.twitch,
|
|
212811
212817
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212812
212818
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
212813
|
-
"./Twitch-
|
|
212819
|
+
"./Twitch-GdYqvU_o.mjs"
|
|
212814
212820
|
).then((o) => o.T))
|
|
212815
212821
|
},
|
|
212816
212822
|
{
|
|
@@ -212819,7 +212825,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212819
212825
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
212820
212826
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212821
212827
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
212822
|
-
"./DailyMotion-
|
|
212828
|
+
"./DailyMotion-CgxYWB3g.mjs"
|
|
212823
212829
|
).then((o) => o.D))
|
|
212824
212830
|
},
|
|
212825
212831
|
{
|
|
@@ -212828,7 +212834,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212828
212834
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
212829
212835
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212830
212836
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
212831
|
-
"./Mixcloud-
|
|
212837
|
+
"./Mixcloud-B4DG8KOl.mjs"
|
|
212832
212838
|
).then((o) => o.M))
|
|
212833
212839
|
},
|
|
212834
212840
|
{
|
|
@@ -212837,7 +212843,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212837
212843
|
canPlay: import_patterns.canPlay.vidyard,
|
|
212838
212844
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212839
212845
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
212840
|
-
"./Vidyard-
|
|
212846
|
+
"./Vidyard-CBIBiM6P.mjs"
|
|
212841
212847
|
).then((o) => o.V))
|
|
212842
212848
|
},
|
|
212843
212849
|
{
|
|
@@ -212846,7 +212852,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212846
212852
|
canPlay: import_patterns.canPlay.kaltura,
|
|
212847
212853
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212848
212854
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
212849
|
-
"./Kaltura-
|
|
212855
|
+
"./Kaltura-DfCnhxul.mjs"
|
|
212850
212856
|
).then((o) => o.K))
|
|
212851
212857
|
},
|
|
212852
212858
|
{
|
|
@@ -212856,7 +212862,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils$2, import_
|
|
|
212856
212862
|
canEnablePIP: (o) => import_patterns.canPlay.file(o) && (document.pictureInPictureEnabled || (0, import_utils$2.supportsWebKitPresentationMode)()) && !import_patterns.AUDIO_EXTENSIONS.test(o),
|
|
212857
212863
|
lazyPlayer: (0, import_utils$2.lazy)(() => import(
|
|
212858
212864
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
212859
|
-
"./FilePlayer-
|
|
212865
|
+
"./FilePlayer-MtGoTGx2.mjs"
|
|
212860
212866
|
).then((o) => o.F))
|
|
212861
212867
|
}
|
|
212862
212868
|
], safeIsNaN = Number.isNaN || function o(n) {
|
|
@@ -213352,7 +213358,7 @@ __export$1(ReactPlayer_exports, {
|
|
|
213352
213358
|
var ReactPlayer$1 = __toCommonJS$1(ReactPlayer_exports), import_react = __toESM$1(React__default), import_deepmerge = __toESM$1(cjs), import_memoize_one = __toESM$1(require$$2), import_react_fast_compare = __toESM$1(reactFastCompare), import_props = props, import_utils = utils$2, import_Player = __toESM$1(Player_1);
|
|
213353
213359
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
213354
213360
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
213355
|
-
"./Preview-
|
|
213361
|
+
"./Preview-Bw23KBkp.mjs"
|
|
213356
213362
|
).then((o) => o.P)), IS_BROWSER = typeof window < "u" && window.document && typeof document < "u", IS_GLOBAL = typeof commonjsGlobal$2 < "u" && commonjsGlobal$2.window && commonjsGlobal$2.window.document, SUPPORTED_PROPS = Object.keys(import_props.propTypes), UniversalSuspense = IS_BROWSER || IS_GLOBAL ? import_react.Suspense : () => null, customPlayers = [], createReactPlayer = (o, n) => {
|
|
213357
213363
|
var i;
|
|
213358
213364
|
return i = class extends import_react.Component {
|
|
@@ -215739,7 +215745,7 @@ function InviteColleagueModal({
|
|
|
215739
215745
|
{
|
|
215740
215746
|
edge: "start",
|
|
215741
215747
|
onClick: (n1) => X0(n1, "remove"),
|
|
215742
|
-
disabled:
|
|
215748
|
+
disabled: _u <= 0.5,
|
|
215743
215749
|
children: /* @__PURE__ */ jsx(default_1$j, {})
|
|
215744
215750
|
}
|
|
215745
215751
|
) })
|
|
@@ -219844,7 +219850,7 @@ const SingleQuestion$1 = ({ data: o = [], callBack: n }) => {
|
|
|
219844
219850
|
}
|
|
219845
219851
|
)
|
|
219846
219852
|
] });
|
|
219847
|
-
}, Share$2 = lazy$2(() => import("./Share-
|
|
219853
|
+
}, Share$2 = lazy$2(() => import("./Share-hBPzRrcU.mjs")), Poll = ({
|
|
219848
219854
|
content: o,
|
|
219849
219855
|
onSubmit: n,
|
|
219850
219856
|
results: i = [],
|
|
@@ -221520,7 +221526,7 @@ const ViewAnswers = ({
|
|
|
221520
221526
|
}
|
|
221521
221527
|
}
|
|
221522
221528
|
};
|
|
221523
|
-
}), Share$1 = lazy$2(() => import("./Share-
|
|
221529
|
+
}), Share$1 = lazy$2(() => import("./Share-hBPzRrcU.mjs")), Quiz = ({
|
|
221524
221530
|
content: o,
|
|
221525
221531
|
analytics: n,
|
|
221526
221532
|
authoringHelper: i,
|
|
@@ -222599,7 +222605,7 @@ const useCustomStyle$O = makeStyles(() => {
|
|
|
222599
222605
|
}
|
|
222600
222606
|
}
|
|
222601
222607
|
};
|
|
222602
|
-
}), Share = lazy$2(() => import("./Share-
|
|
222608
|
+
}), Share = lazy$2(() => import("./Share-hBPzRrcU.mjs")), RecentCarousel = lazy$2(() => import("./RecentCarousel-tpaMLdQW.mjs")), BrightcovePlayer = React__default.lazy(
|
|
222603
222609
|
() => Promise.resolve().then(() => BrightcovePlayer$2)
|
|
222604
222610
|
), latestVODs = [
|
|
222605
222611
|
{
|
|
@@ -243155,24 +243161,23 @@ const useStyles = makeStyles(() => ({
|
|
|
243155
243161
|
handleRefresh: s,
|
|
243156
243162
|
handleSync: u,
|
|
243157
243163
|
secondaryArgs: p,
|
|
243158
|
-
deviceInfo: h
|
|
243159
|
-
fetchPersonalData: f
|
|
243164
|
+
deviceInfo: h
|
|
243160
243165
|
}) => {
|
|
243161
|
-
const { device_source_updated_at:
|
|
243162
|
-
|
|
243163
|
-
},
|
|
243164
|
-
var
|
|
243165
|
-
|
|
243166
|
-
},
|
|
243166
|
+
const { device_source_updated_at: f = "", device_source_count: E = 0, device_source: d = "" } = h, [C, w] = useState(!1), [T, _e] = useState(f), [Y, _r] = useState(d), ga = () => {
|
|
243167
|
+
w(!1);
|
|
243168
|
+
}, ya = (_i) => {
|
|
243169
|
+
var _u;
|
|
243170
|
+
_e((_u = /* @__PURE__ */ new Date()) == null ? void 0 : _u.toISOString()), _r(_i == null ? void 0 : _i.label), w(!1), s();
|
|
243171
|
+
}, _A = () => {
|
|
243167
243172
|
if (!n)
|
|
243168
243173
|
return !0;
|
|
243169
|
-
const
|
|
243170
|
-
return (/* @__PURE__ */ new Date() -
|
|
243171
|
-
},
|
|
243174
|
+
const _i = new Date(n);
|
|
243175
|
+
return (/* @__PURE__ */ new Date() - _i) / (1e3 * 60 * 60) > 2;
|
|
243176
|
+
}, aa = () => {
|
|
243172
243177
|
if (!n)
|
|
243173
243178
|
return !1;
|
|
243174
|
-
const
|
|
243175
|
-
return (/* @__PURE__ */ new Date() -
|
|
243179
|
+
const _i = new Date(n);
|
|
243180
|
+
return (/* @__PURE__ */ new Date() - _i) / (1e3 * 60 * 60) <= 2;
|
|
243176
243181
|
};
|
|
243177
243182
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
243178
243183
|
o && /* @__PURE__ */ jsx(
|
|
@@ -243189,12 +243194,12 @@ const useStyles = makeStyles(() => ({
|
|
|
243189
243194
|
syncDescription: `Connect to ${i}`,
|
|
243190
243195
|
platformx_device_platform: l,
|
|
243191
243196
|
device_platform: A,
|
|
243192
|
-
setShowDataSourceSelector:
|
|
243193
|
-
deviceSource:
|
|
243194
|
-
deviceSourceCount:
|
|
243197
|
+
setShowDataSourceSelector: w,
|
|
243198
|
+
deviceSource: Y,
|
|
243199
|
+
deviceSourceCount: E
|
|
243195
243200
|
}
|
|
243196
243201
|
),
|
|
243197
|
-
a &&
|
|
243202
|
+
a && _A() && !o && /* @__PURE__ */ jsx(
|
|
243198
243203
|
Card,
|
|
243199
243204
|
{
|
|
243200
243205
|
backgroundColor: "#FEF1E7",
|
|
@@ -243208,12 +243213,12 @@ const useStyles = makeStyles(() => ({
|
|
|
243208
243213
|
syncDescription: `Fetching data from ${i}`,
|
|
243209
243214
|
platformx_device_platform: l,
|
|
243210
243215
|
device_platform: A,
|
|
243211
|
-
setShowDataSourceSelector:
|
|
243212
|
-
deviceSource:
|
|
243213
|
-
deviceSourceCount:
|
|
243216
|
+
setShowDataSourceSelector: w,
|
|
243217
|
+
deviceSource: Y,
|
|
243218
|
+
deviceSourceCount: E
|
|
243214
243219
|
}
|
|
243215
243220
|
),
|
|
243216
|
-
a &&
|
|
243221
|
+
a && aa() && !o && /* @__PURE__ */ jsx(
|
|
243217
243222
|
Card,
|
|
243218
243223
|
{
|
|
243219
243224
|
backgroundColor: "#f7f7fc",
|
|
@@ -243227,9 +243232,9 @@ const useStyles = makeStyles(() => ({
|
|
|
243227
243232
|
syncDescription: `Synced with ${i}`,
|
|
243228
243233
|
platformx_device_platform: l,
|
|
243229
243234
|
device_platform: A,
|
|
243230
|
-
setShowDataSourceSelector:
|
|
243231
|
-
deviceSource:
|
|
243232
|
-
deviceSourceCount:
|
|
243235
|
+
setShowDataSourceSelector: w,
|
|
243236
|
+
deviceSource: Y,
|
|
243237
|
+
deviceSourceCount: E
|
|
243233
243238
|
}
|
|
243234
243239
|
),
|
|
243235
243240
|
!a && !o && /* @__PURE__ */ jsx(
|
|
@@ -243246,20 +243251,20 @@ const useStyles = makeStyles(() => ({
|
|
|
243246
243251
|
syncDescription: `Connect to ${i}`,
|
|
243247
243252
|
platformx_device_platform: l,
|
|
243248
243253
|
device_platform: A,
|
|
243249
|
-
setShowDataSourceSelector:
|
|
243250
|
-
deviceSource:
|
|
243251
|
-
deviceSourceCount:
|
|
243254
|
+
setShowDataSourceSelector: w,
|
|
243255
|
+
deviceSource: Y,
|
|
243256
|
+
deviceSourceCount: E
|
|
243252
243257
|
}
|
|
243253
243258
|
),
|
|
243254
|
-
|
|
243259
|
+
C && /* @__PURE__ */ jsx(
|
|
243255
243260
|
DataSourceSelector,
|
|
243256
243261
|
{
|
|
243257
|
-
open:
|
|
243258
|
-
onClose:
|
|
243259
|
-
onConfirmCallBack:
|
|
243260
|
-
sourceUpdatedAt:
|
|
243262
|
+
open: C,
|
|
243263
|
+
onClose: ga,
|
|
243264
|
+
onConfirmCallBack: ya,
|
|
243265
|
+
sourceUpdatedAt: T,
|
|
243261
243266
|
secondaryArgs: p,
|
|
243262
|
-
deviceSourceCount:
|
|
243267
|
+
deviceSourceCount: E
|
|
243263
243268
|
}
|
|
243264
243269
|
)
|
|
243265
243270
|
] });
|
|
@@ -244104,8 +244109,7 @@ const EngagementHome = ({
|
|
|
244104
244109
|
handleRefresh: X0,
|
|
244105
244110
|
handleSync: O0,
|
|
244106
244111
|
secondaryArgs: a,
|
|
244107
|
-
deviceInfo: u
|
|
244108
|
-
fetchPersonalData: _i
|
|
244112
|
+
deviceInfo: u
|
|
244109
244113
|
}
|
|
244110
244114
|
),
|
|
244111
244115
|
/* @__PURE__ */ jsxs(Box, { className: "PX-challengeWrapper prelem-py", children: [
|
|
@@ -248635,17 +248639,18 @@ const JOIN_EVENT = `mutation ($input: community_userRegistrationInput) {
|
|
|
248635
248639
|
isAnalyticsEnabled: n == null ? void 0 : n.analytics_enable
|
|
248636
248640
|
}, _u = {
|
|
248637
248641
|
isAuthoring: !1
|
|
248638
|
-
}, _c = async (h0, I0, v0, C0 = "", E0 = "wellnessevent") => {
|
|
248639
|
-
var
|
|
248640
|
-
const
|
|
248642
|
+
}, _c = async (h0, I0, v0, C0 = "", E0 = "wellnessevent", b0 = "") => {
|
|
248643
|
+
var q0, z0, O0, R0;
|
|
248644
|
+
const D0 = await fetchApi$1.getContentSchemaList(
|
|
248641
248645
|
{
|
|
248642
248646
|
searchTerm: C0,
|
|
248643
|
-
filter: (E0 == null ? void 0 : E0.toLocaleLowerCase()) === "events" ? "wellnessevent" : E0 == null ? void 0 : E0.toLocaleLowerCase()
|
|
248647
|
+
filter: (E0 == null ? void 0 : E0.toLocaleLowerCase()) === "events" ? "wellnessevent" : E0 == null ? void 0 : E0.toLocaleLowerCase(),
|
|
248648
|
+
conditionString: b0
|
|
248644
248649
|
},
|
|
248645
248650
|
h0 || "en",
|
|
248646
248651
|
I0
|
|
248647
248652
|
);
|
|
248648
|
-
(
|
|
248653
|
+
(z0 = (q0 = D0 == null ? void 0 : D0.data) == null ? void 0 : q0.publish_getContents) != null && z0.records ? v0((R0 = (O0 = D0 == null ? void 0 : D0.data) == null ? void 0 : O0.publish_getContents) == null ? void 0 : R0.records) : console.error("Something went wrong !");
|
|
248649
248654
|
}, _d = async (h0, I0, v0) => {
|
|
248650
248655
|
var C0, E0;
|
|
248651
248656
|
try {
|
|
@@ -248692,7 +248697,14 @@ const JOIN_EVENT = `mutation ($input: community_userRegistrationInput) {
|
|
|
248692
248697
|
updateGoals: _d
|
|
248693
248698
|
};
|
|
248694
248699
|
return useEffect(() => {
|
|
248695
|
-
_l(format(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), _c(
|
|
248700
|
+
_l(format(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), _c(
|
|
248701
|
+
aa,
|
|
248702
|
+
_A,
|
|
248703
|
+
E,
|
|
248704
|
+
"",
|
|
248705
|
+
"challenges",
|
|
248706
|
+
`hclplatformx_end_date_time:[${getThreeDaysAgo()} TO *]`
|
|
248707
|
+
);
|
|
248696
248708
|
}, []), /* @__PURE__ */ jsx(
|
|
248697
248709
|
ChallengeSlider,
|
|
248698
248710
|
{
|
|
@@ -248731,7 +248743,7 @@ const JOIN_EVENT = `mutation ($input: community_userRegistrationInput) {
|
|
|
248731
248743
|
{
|
|
248732
248744
|
searchTerm: Y,
|
|
248733
248745
|
filter: (_r == null ? void 0 : _r.toLocaleLowerCase()) === "events" ? "wellnessevent" : _r == null ? void 0 : _r.toLocaleLowerCase(),
|
|
248734
|
-
conditionString: (_r == null ? void 0 : _r.toLocaleLowerCase()) === "wellnessevent" || (_r == null ? void 0 : _r.toLocaleLowerCase()) === "events" ? "hclplatformx_public_listing:true" : ""
|
|
248746
|
+
conditionString: (_r == null ? void 0 : _r.toLocaleLowerCase()) === "wellnessevent" || (_r == null ? void 0 : _r.toLocaleLowerCase()) === "events" ? "hclplatformx_public_listing:true AND ((*:* -hclplatformx_end_date_time: [* TO *]) OR hclplatformx_end_date_time: [NOW TO *])" : ""
|
|
248735
248747
|
},
|
|
248736
248748
|
T || "en",
|
|
248737
248749
|
u
|
|
@@ -248752,20 +248764,20 @@ const JOIN_EVENT = `mutation ($input: community_userRegistrationInput) {
|
|
|
248752
248764
|
}
|
|
248753
248765
|
);
|
|
248754
248766
|
}, EventListComponent = React__default.lazy(
|
|
248755
|
-
() => import("./EventListComponent-
|
|
248767
|
+
() => import("./EventListComponent-CA50ctRf.mjs")
|
|
248756
248768
|
), EngagementHomeComponent = React__default.lazy(
|
|
248757
|
-
() => import("./EngagementHomeComponent-
|
|
248769
|
+
() => import("./EngagementHomeComponent-DfT8n9Rs.mjs")
|
|
248758
248770
|
), ChallengeDetailComponent = React__default.lazy(
|
|
248759
|
-
() => import("./ChallengeDetailComponent-
|
|
248771
|
+
() => import("./ChallengeDetailComponent-RAkHgta0.mjs")
|
|
248760
248772
|
), EventDetailComponent = React__default.lazy(
|
|
248761
|
-
() => import("./EventDetailComponent-
|
|
248773
|
+
() => import("./EventDetailComponent-CbF7O1-b.mjs")
|
|
248762
248774
|
), CommonContentComponent = React__default.lazy(
|
|
248763
|
-
() => import("./CommonContentComponent-
|
|
248775
|
+
() => import("./CommonContentComponent-DkBSffTx.mjs")
|
|
248764
248776
|
), ArticleVodListComponent = React__default.lazy(
|
|
248765
|
-
() => import("./ArticleVodListComponent-
|
|
248777
|
+
() => import("./ArticleVodListComponent-CoHzkTS0.mjs")
|
|
248766
248778
|
), IndividualChallengeComponent = React__default.lazy(
|
|
248767
|
-
() => import("./IndividualChallengeComponent-
|
|
248768
|
-
), PageComponent = React__default.lazy(() => import("./PageComponent-
|
|
248779
|
+
() => import("./IndividualChallengeComponent-Db5zxjQ6.mjs")
|
|
248780
|
+
), PageComponent = React__default.lazy(() => import("./PageComponent-CkdAHdST.mjs")), Components = {
|
|
248769
248781
|
//prelems
|
|
248770
248782
|
eventList: EventListComponent,
|
|
248771
248783
|
engagementHome: EngagementHomeComponent,
|
|
@@ -255902,144 +255914,145 @@ function PrelemsWrapper(o) {
|
|
|
255902
255914
|
] }) });
|
|
255903
255915
|
}
|
|
255904
255916
|
export {
|
|
255905
|
-
|
|
255906
|
-
|
|
255917
|
+
utils$2 as $,
|
|
255918
|
+
PlatFormXDateTimeFormat$1 as A,
|
|
255907
255919
|
Box as B,
|
|
255908
255920
|
CONSTANTS as C,
|
|
255909
|
-
|
|
255921
|
+
Button as D,
|
|
255910
255922
|
EngagementHome as E,
|
|
255911
255923
|
FallBackPage as F,
|
|
255912
255924
|
Grid as G,
|
|
255913
|
-
|
|
255925
|
+
Dialog as H,
|
|
255914
255926
|
IndividualChallenge as I,
|
|
255915
|
-
|
|
255916
|
-
|
|
255917
|
-
|
|
255918
|
-
|
|
255919
|
-
|
|
255920
|
-
|
|
255927
|
+
default_1$a as J,
|
|
255928
|
+
useTheme as K,
|
|
255929
|
+
showToastSuccess as L,
|
|
255930
|
+
showToastError as M,
|
|
255931
|
+
formRelativeURL as N,
|
|
255932
|
+
replaceWithWebp as O,
|
|
255921
255933
|
PropTypes as P,
|
|
255922
|
-
|
|
255923
|
-
|
|
255934
|
+
formCroppedUrl$1 as Q,
|
|
255935
|
+
breakpoints$1 as R,
|
|
255924
255936
|
Skeleton as S,
|
|
255925
255937
|
Typography as T,
|
|
255926
|
-
|
|
255938
|
+
default_1$9 as U,
|
|
255927
255939
|
VideoPlayIcon as V,
|
|
255928
|
-
|
|
255929
|
-
|
|
255930
|
-
|
|
255931
|
-
|
|
255940
|
+
onClickCardFunc as W,
|
|
255941
|
+
createSliderArray as X,
|
|
255942
|
+
fallBackImage$1 as Y,
|
|
255943
|
+
debounce$1 as Z,
|
|
255932
255944
|
_extends$3 as _,
|
|
255933
255945
|
fetchApi$1 as a,
|
|
255934
|
-
|
|
255935
|
-
|
|
255936
|
-
|
|
255937
|
-
|
|
255938
|
-
|
|
255939
|
-
|
|
255940
|
-
|
|
255941
|
-
|
|
255942
|
-
|
|
255943
|
-
|
|
255944
|
-
|
|
255945
|
-
|
|
255946
|
-
|
|
255947
|
-
|
|
255948
|
-
|
|
255949
|
-
|
|
255950
|
-
|
|
255951
|
-
|
|
255952
|
-
|
|
255953
|
-
|
|
255954
|
-
|
|
255955
|
-
|
|
255956
|
-
|
|
255957
|
-
|
|
255958
|
-
|
|
255959
|
-
|
|
255960
|
-
|
|
255961
|
-
|
|
255962
|
-
|
|
255963
|
-
|
|
255964
|
-
|
|
255965
|
-
|
|
255966
|
-
|
|
255967
|
-
|
|
255968
|
-
useCustomStyle$
|
|
255969
|
-
|
|
255970
|
-
|
|
255971
|
-
|
|
255972
|
-
|
|
255973
|
-
|
|
255974
|
-
|
|
255975
|
-
|
|
255976
|
-
|
|
255977
|
-
|
|
255978
|
-
|
|
255979
|
-
|
|
255980
|
-
|
|
255981
|
-
useCustomStyle$
|
|
255982
|
-
|
|
255983
|
-
|
|
255984
|
-
|
|
255985
|
-
|
|
255986
|
-
|
|
255987
|
-
|
|
255988
|
-
|
|
255989
|
-
|
|
255990
|
-
|
|
255991
|
-
|
|
255992
|
-
|
|
255993
|
-
|
|
255994
|
-
|
|
255995
|
-
|
|
255996
|
-
|
|
255997
|
-
|
|
255946
|
+
default_1$n as a$,
|
|
255947
|
+
patterns as a0,
|
|
255948
|
+
useCustomStyle$j as a1,
|
|
255949
|
+
prelemTypes as a2,
|
|
255950
|
+
useInView as a3,
|
|
255951
|
+
usePrelemImpression as a4,
|
|
255952
|
+
useContentData as a5,
|
|
255953
|
+
Container$1 as a6,
|
|
255954
|
+
Accordion$1 as a7,
|
|
255955
|
+
AccordionSummary$1 as a8,
|
|
255956
|
+
default_1$m as a9,
|
|
255957
|
+
FullWidthText as aA,
|
|
255958
|
+
FullWidthVideo as aB,
|
|
255959
|
+
ImageCrousel1 as aC,
|
|
255960
|
+
LeftAlignParagraphWithHeadline as aD,
|
|
255961
|
+
ProductSummary3 as aE,
|
|
255962
|
+
ProductSummaryViaVideo2 as aF,
|
|
255963
|
+
ServiceCard2 as aG,
|
|
255964
|
+
ServiceCardActivity as aH,
|
|
255965
|
+
ServiceShowcase as aI,
|
|
255966
|
+
ToggleButton as aJ,
|
|
255967
|
+
useCustomStyle$p as aK,
|
|
255968
|
+
ImageRender$1 as aL,
|
|
255969
|
+
StartEndDateFormat as aM,
|
|
255970
|
+
useCustomStyle$o as aN,
|
|
255971
|
+
StarBegIcon as aO,
|
|
255972
|
+
ImageRenderWithoutCrop$1 as aP,
|
|
255973
|
+
Chip as aQ,
|
|
255974
|
+
VirtualIcon as aR,
|
|
255975
|
+
OfflineIcon as aS,
|
|
255976
|
+
handleEventStatus as aT,
|
|
255977
|
+
RecordedIcon as aU,
|
|
255978
|
+
DateTimeDurationFormat as aV,
|
|
255979
|
+
default_1$6 as aW,
|
|
255980
|
+
useCustomStyle$n as aX,
|
|
255981
|
+
useCustomStyle$m as aY,
|
|
255982
|
+
usePrelemImpression$1 as aZ,
|
|
255983
|
+
useCustomStyle$l as a_,
|
|
255984
|
+
AccordionDetails$1 as aa,
|
|
255985
|
+
DOMPurify as ab,
|
|
255986
|
+
SkeletonLoader as ac,
|
|
255987
|
+
ContentReplace as ad,
|
|
255988
|
+
useCustomStyle$i as ae,
|
|
255989
|
+
useClickImpression as af,
|
|
255990
|
+
useCustomStyle$b as ag,
|
|
255991
|
+
Slider$1 as ah,
|
|
255992
|
+
formCroppedUrlString as ai,
|
|
255993
|
+
useCustomStyle$9 as aj,
|
|
255994
|
+
useCustomStyle$8 as ak,
|
|
255995
|
+
BasicButton as al,
|
|
255996
|
+
default_1$5 as am,
|
|
255997
|
+
Article as an,
|
|
255998
|
+
Poll as ao,
|
|
255999
|
+
Quiz as ap,
|
|
256000
|
+
VideoLandingPage as aq,
|
|
256001
|
+
AllEvent as ar,
|
|
256002
|
+
Banner3 as as,
|
|
256003
|
+
Banner4 as at,
|
|
256004
|
+
BlogTiles as au,
|
|
256005
|
+
ChallengeSlider as av,
|
|
256006
|
+
ConnectWithUs as aw,
|
|
256007
|
+
DynamicPrelem as ax,
|
|
256008
|
+
DynamicVideo as ay,
|
|
256009
|
+
ExperienceZone as az,
|
|
255998
256010
|
showToastSuccess$1 as b,
|
|
255999
|
-
|
|
256000
|
-
|
|
256001
|
-
|
|
256002
|
-
|
|
256003
|
-
|
|
256004
|
-
|
|
256005
|
-
|
|
256006
|
-
|
|
256007
|
-
|
|
256008
|
-
|
|
256009
|
-
|
|
256010
|
-
|
|
256011
|
-
|
|
256012
|
-
|
|
256013
|
-
useCustomStyle$
|
|
256014
|
-
|
|
256015
|
-
|
|
256016
|
-
|
|
256017
|
-
|
|
256018
|
-
|
|
256019
|
-
|
|
256020
|
-
|
|
256011
|
+
useMediaQuery as b0,
|
|
256012
|
+
IconButton as b1,
|
|
256013
|
+
Search as b2,
|
|
256014
|
+
InputBase as b3,
|
|
256015
|
+
Cancel$1 as b4,
|
|
256016
|
+
TabContext as b5,
|
|
256017
|
+
TabList as b6,
|
|
256018
|
+
Tab as b7,
|
|
256019
|
+
TabPanel as b8,
|
|
256020
|
+
sortedData as b9,
|
|
256021
|
+
XCard7 as ba,
|
|
256022
|
+
TrackerCard as bb,
|
|
256023
|
+
XCard11 as bc,
|
|
256024
|
+
fetchApi as bd,
|
|
256025
|
+
useCustomStyle$M as be,
|
|
256026
|
+
useCustomStyle$K as bf,
|
|
256027
|
+
FormControlLabel as bg,
|
|
256028
|
+
Checkbox as bh,
|
|
256029
|
+
useCustomStyle$L as bi,
|
|
256030
|
+
DialogContent as bj,
|
|
256031
|
+
default_1$h as bk,
|
|
256032
|
+
ContentTypeWrapper as bl,
|
|
256033
|
+
PrelemsWrapper as bm,
|
|
256021
256034
|
ChallengeDetail as c,
|
|
256022
256035
|
EventDetail as d,
|
|
256023
|
-
|
|
256036
|
+
getSecureLocalStorageData as e,
|
|
256024
256037
|
format as f,
|
|
256025
|
-
|
|
256026
|
-
|
|
256027
|
-
|
|
256028
|
-
|
|
256029
|
-
|
|
256030
|
-
|
|
256038
|
+
getThreeDaysAgo as g,
|
|
256039
|
+
secondaryPropsObj as h,
|
|
256040
|
+
generateUtilityClasses as i,
|
|
256041
|
+
generateUtilityClass as j,
|
|
256042
|
+
styled as k,
|
|
256043
|
+
_objectWithoutPropertiesLoose$1 as l,
|
|
256031
256044
|
mutateApi as m,
|
|
256032
|
-
|
|
256033
|
-
|
|
256034
|
-
|
|
256035
|
-
|
|
256045
|
+
clsx$1 as n,
|
|
256046
|
+
composeClasses as o,
|
|
256047
|
+
getDefaultExportFromCjs as p,
|
|
256048
|
+
cx as q,
|
|
256036
256049
|
requireCreateSvgIcon as r,
|
|
256037
256050
|
showToastError$1 as s,
|
|
256038
|
-
|
|
256051
|
+
interopRequireDefaultExports as t,
|
|
256039
256052
|
useThemeProps as u,
|
|
256040
|
-
|
|
256041
|
-
|
|
256042
|
-
|
|
256043
|
-
|
|
256044
|
-
|
|
256053
|
+
makeStyles as v,
|
|
256054
|
+
handleHtmlTags$1 as w,
|
|
256055
|
+
Card$1 as x,
|
|
256056
|
+
CardMedia as y,
|
|
256057
|
+
CardContent as z
|
|
256045
256058
|
};
|
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bl as t, bm as a } from "./index-D1ATkp-E.mjs";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as ContentTypeWrapper,
|
|
7
7
|
a as PrelemsWrapper
|
|
8
8
|
};
|
package/lib/utils/helper.d.ts
CHANGED
|
@@ -35,3 +35,4 @@ export declare const secondaryPropsObj: (host: any) => {
|
|
|
35
35
|
export declare const getUserInfo: (key: any) => any;
|
|
36
36
|
export declare const apiConfig: (variables: any) => Promise<any>;
|
|
37
37
|
export declare function getSecureLocalStorageData(id: string): any;
|
|
38
|
+
export declare const getThreeDaysAgo: () => string;
|