@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.
Files changed (33) hide show
  1. package/{ArticleVodList-2p9HM32C.mjs → ArticleVodList-DeVbaN8_.mjs} +2 -2
  2. package/{ArticleVodListComponent-U9Tzjqdt.mjs → ArticleVodListComponent-CoHzkTS0.mjs} +3 -3
  3. package/{ChallengeDetailComponent-RUjU2x7h.mjs → ChallengeDetailComponent-RAkHgta0.mjs} +1 -1
  4. package/{CommonContentComponent-CElcpDdF.mjs → CommonContentComponent-DkBSffTx.mjs} +2 -2
  5. package/{DailyMotion-BFrKE1bl.mjs → DailyMotion-CgxYWB3g.mjs} +1 -1
  6. package/EngagementHomeComponent-DfT8n9Rs.mjs +151 -0
  7. package/{EventDetailComponent-B-ZHp13u.mjs → EventDetailComponent-CbF7O1-b.mjs} +1 -1
  8. package/{EventList-cAhSdBeC.mjs → EventList-C7RFvQjz.mjs} +9 -9
  9. package/{EventListComponent-CIc1I0oE.mjs → EventListComponent-CA50ctRf.mjs} +3 -3
  10. package/{Facebook-B8bFTrSC.mjs → Facebook-BJXzEbY5.mjs} +1 -1
  11. package/{FilePlayer-Wup3WRTq.mjs → FilePlayer-MtGoTGx2.mjs} +3 -3
  12. package/{FilterModal-CtZulUL1.mjs → FilterModal-4ZYVnZpH.mjs} +5 -5
  13. package/{IndividualChallengeComponent-BCNdBGBG.mjs → IndividualChallengeComponent-Db5zxjQ6.mjs} +1 -1
  14. package/{Kaltura-CqdE999v.mjs → Kaltura-DfCnhxul.mjs} +1 -1
  15. package/{Mixcloud-5wfOmsOj.mjs → Mixcloud-B4DG8KOl.mjs} +1 -1
  16. package/{Mux-BS0de87b.mjs → Mux-Bp-Juh0B.mjs} +1 -1
  17. package/{PageComponent-C-lP5AsI.mjs → PageComponent-CkdAHdST.mjs} +5 -5
  18. package/{Preview-BMvlx4Hl.mjs → Preview-Bw23KBkp.mjs} +1 -1
  19. package/{RecentCarousel-dQVzNlxx.mjs → RecentCarousel-tpaMLdQW.mjs} +12 -12
  20. package/{Share-TNrgFhyo.mjs → Share-hBPzRrcU.mjs} +1 -1
  21. package/{SoundCloud-CCQ9LeSQ.mjs → SoundCloud-CqhgvSWz.mjs} +1 -1
  22. package/{Streamable-9hOLp0Jw.mjs → Streamable-Lhkfbwfi.mjs} +1 -1
  23. package/{Twitch-BT_fVvXN.mjs → Twitch-GdYqvU_o.mjs} +1 -1
  24. package/{Vidyard-B7eSTnAc.mjs → Vidyard-CBIBiM6P.mjs} +1 -1
  25. package/{Vimeo-1UtR9DmP.mjs → Vimeo-kyKrg3EN.mjs} +1 -1
  26. package/{Wistia-CMbK2_qg.mjs → Wistia-BGf3xSFD.mjs} +1 -1
  27. package/{YouTube-jI_rjt1p.mjs → YouTube-DXWmLx9D.mjs} +15 -15
  28. package/{index-DjURWjrG.mjs → index-Bk70ORCz.mjs} +22 -22
  29. package/{index-A2Z50QJA.mjs → index-D1ATkp-E.mjs} +202 -189
  30. package/index.mjs +2 -2
  31. package/lib/utils/helper.d.ts +1 -0
  32. package/package.json +1 -1
  33. 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-TNrgFhyo.mjs")), RecentCarousel$1 = lazy$2(() => import("./RecentCarousel-dQVzNlxx.mjs")), Article = ({
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-jI_rjt1p.mjs"
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-CCQ9LeSQ.mjs"
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-1UtR9DmP.mjs"
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-BS0de87b.mjs"
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-B8bFTrSC.mjs"
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-9hOLp0Jw.mjs"
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-CMbK2_qg.mjs"
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-BT_fVvXN.mjs"
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-BFrKE1bl.mjs"
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-5wfOmsOj.mjs"
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-B7eSTnAc.mjs"
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-CqdE999v.mjs"
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-Wup3WRTq.mjs"
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-BMvlx4Hl.mjs"
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: !(_u > Number(a == null ? void 0 : a.target) / 1e3),
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-TNrgFhyo.mjs")), Poll = ({
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-TNrgFhyo.mjs")), Quiz = ({
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-TNrgFhyo.mjs")), RecentCarousel = lazy$2(() => import("./RecentCarousel-dQVzNlxx.mjs")), BrightcovePlayer = React__default.lazy(
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: E = "", device_source_count: d = 0, device_source: C = "" } = h, [w, T] = useState(!1), [_e, Y] = useState(E), [_r, ga] = useState(C), ya = () => {
243162
- T(!1);
243163
- }, _A = (_u) => {
243164
- var _c;
243165
- Y((_c = /* @__PURE__ */ new Date()) == null ? void 0 : _c.toISOString()), ga(_u == null ? void 0 : _u.label), T(!1), f(format(/* @__PURE__ */ new Date(), "yyyy-MM-dd"));
243166
- }, aa = () => {
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 _u = new Date(n);
243170
- return (/* @__PURE__ */ new Date() - _u) / (1e3 * 60 * 60) > 2;
243171
- }, _i = () => {
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 _u = new Date(n);
243175
- return (/* @__PURE__ */ new Date() - _u) / (1e3 * 60 * 60) <= 2;
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: T,
243193
- deviceSource: _r,
243194
- deviceSourceCount: d
243197
+ setShowDataSourceSelector: w,
243198
+ deviceSource: Y,
243199
+ deviceSourceCount: E
243195
243200
  }
243196
243201
  ),
243197
- a && aa() && !o && /* @__PURE__ */ jsx(
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: T,
243212
- deviceSource: _r,
243213
- deviceSourceCount: d
243216
+ setShowDataSourceSelector: w,
243217
+ deviceSource: Y,
243218
+ deviceSourceCount: E
243214
243219
  }
243215
243220
  ),
243216
- a && _i() && !o && /* @__PURE__ */ jsx(
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: T,
243231
- deviceSource: _r,
243232
- deviceSourceCount: d
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: T,
243250
- deviceSource: _r,
243251
- deviceSourceCount: d
243254
+ setShowDataSourceSelector: w,
243255
+ deviceSource: Y,
243256
+ deviceSourceCount: E
243252
243257
  }
243253
243258
  ),
243254
- w && /* @__PURE__ */ jsx(
243259
+ C && /* @__PURE__ */ jsx(
243255
243260
  DataSourceSelector,
243256
243261
  {
243257
- open: w,
243258
- onClose: ya,
243259
- onConfirmCallBack: _A,
243260
- sourceUpdatedAt: _e,
243262
+ open: C,
243263
+ onClose: ga,
243264
+ onConfirmCallBack: ya,
243265
+ sourceUpdatedAt: T,
243261
243266
  secondaryArgs: p,
243262
- deviceSourceCount: d
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 D0, q0, z0, O0;
248640
- const b0 = await fetchApi$1.getContentSchemaList(
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
- (q0 = (D0 = b0 == null ? void 0 : b0.data) == null ? void 0 : D0.publish_getContents) != null && q0.records ? v0((O0 = (z0 = b0 == null ? void 0 : b0.data) == null ? void 0 : z0.publish_getContents) == null ? void 0 : O0.records) : console.error("Something went wrong !");
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(aa, _A, E, "", "challenges");
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-CIc1I0oE.mjs")
248767
+ () => import("./EventListComponent-CA50ctRf.mjs")
248756
248768
  ), EngagementHomeComponent = React__default.lazy(
248757
- () => import("./EngagementHomeComponent-pOHOWdbH.mjs")
248769
+ () => import("./EngagementHomeComponent-DfT8n9Rs.mjs")
248758
248770
  ), ChallengeDetailComponent = React__default.lazy(
248759
- () => import("./ChallengeDetailComponent-RUjU2x7h.mjs")
248771
+ () => import("./ChallengeDetailComponent-RAkHgta0.mjs")
248760
248772
  ), EventDetailComponent = React__default.lazy(
248761
- () => import("./EventDetailComponent-B-ZHp13u.mjs")
248773
+ () => import("./EventDetailComponent-CbF7O1-b.mjs")
248762
248774
  ), CommonContentComponent = React__default.lazy(
248763
- () => import("./CommonContentComponent-CElcpDdF.mjs")
248775
+ () => import("./CommonContentComponent-DkBSffTx.mjs")
248764
248776
  ), ArticleVodListComponent = React__default.lazy(
248765
- () => import("./ArticleVodListComponent-U9Tzjqdt.mjs")
248777
+ () => import("./ArticleVodListComponent-CoHzkTS0.mjs")
248766
248778
  ), IndividualChallengeComponent = React__default.lazy(
248767
- () => import("./IndividualChallengeComponent-BCNdBGBG.mjs")
248768
- ), PageComponent = React__default.lazy(() => import("./PageComponent-C-lP5AsI.mjs")), Components = {
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
- patterns as $,
255906
- Button as A,
255917
+ utils$2 as $,
255918
+ PlatFormXDateTimeFormat$1 as A,
255907
255919
  Box as B,
255908
255920
  CONSTANTS as C,
255909
- Dialog as D,
255921
+ Button as D,
255910
255922
  EngagementHome as E,
255911
255923
  FallBackPage as F,
255912
255924
  Grid as G,
255913
- default_1$a as H,
255925
+ Dialog as H,
255914
255926
  IndividualChallenge as I,
255915
- useTheme as J,
255916
- showToastSuccess as K,
255917
- showToastError as L,
255918
- formRelativeURL as M,
255919
- replaceWithWebp as N,
255920
- formCroppedUrl$1 as O,
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
- breakpoints$1 as Q,
255923
- default_1$9 as R,
255934
+ formCroppedUrl$1 as Q,
255935
+ breakpoints$1 as R,
255924
255936
  Skeleton as S,
255925
255937
  Typography as T,
255926
- onClickCardFunc as U,
255938
+ default_1$9 as U,
255927
255939
  VideoPlayIcon as V,
255928
- createSliderArray as W,
255929
- fallBackImage$1 as X,
255930
- debounce$1 as Y,
255931
- utils$2 as Z,
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
- useMediaQuery as a$,
255935
- useCustomStyle$j as a0,
255936
- prelemTypes as a1,
255937
- useInView as a2,
255938
- usePrelemImpression as a3,
255939
- useContentData as a4,
255940
- Container$1 as a5,
255941
- Accordion$1 as a6,
255942
- AccordionSummary$1 as a7,
255943
- default_1$m as a8,
255944
- AccordionDetails$1 as a9,
255945
- FullWidthVideo as aA,
255946
- ImageCrousel1 as aB,
255947
- LeftAlignParagraphWithHeadline as aC,
255948
- ProductSummary3 as aD,
255949
- ProductSummaryViaVideo2 as aE,
255950
- ServiceCard2 as aF,
255951
- ServiceCardActivity as aG,
255952
- ServiceShowcase as aH,
255953
- ToggleButton as aI,
255954
- useCustomStyle$p as aJ,
255955
- ImageRender$1 as aK,
255956
- StartEndDateFormat as aL,
255957
- useCustomStyle$o as aM,
255958
- StarBegIcon as aN,
255959
- ImageRenderWithoutCrop$1 as aO,
255960
- Chip as aP,
255961
- VirtualIcon as aQ,
255962
- OfflineIcon as aR,
255963
- handleEventStatus as aS,
255964
- RecordedIcon as aT,
255965
- DateTimeDurationFormat as aU,
255966
- default_1$6 as aV,
255967
- useCustomStyle$n as aW,
255968
- useCustomStyle$m as aX,
255969
- usePrelemImpression$1 as aY,
255970
- useCustomStyle$l as aZ,
255971
- default_1$n as a_,
255972
- DOMPurify as aa,
255973
- SkeletonLoader as ab,
255974
- ContentReplace as ac,
255975
- useCustomStyle$i as ad,
255976
- useClickImpression as ae,
255977
- useCustomStyle$b as af,
255978
- Slider$1 as ag,
255979
- formCroppedUrlString as ah,
255980
- useCustomStyle$9 as ai,
255981
- useCustomStyle$8 as aj,
255982
- BasicButton as ak,
255983
- default_1$5 as al,
255984
- Article as am,
255985
- Poll as an,
255986
- Quiz as ao,
255987
- VideoLandingPage as ap,
255988
- AllEvent as aq,
255989
- Banner3 as ar,
255990
- Banner4 as as,
255991
- BlogTiles as at,
255992
- ChallengeSlider as au,
255993
- ConnectWithUs as av,
255994
- DynamicPrelem as aw,
255995
- DynamicVideo as ax,
255996
- ExperienceZone as ay,
255997
- FullWidthText as az,
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
- IconButton as b0,
256000
- Search as b1,
256001
- InputBase as b2,
256002
- Cancel$1 as b3,
256003
- TabContext as b4,
256004
- TabList as b5,
256005
- Tab as b6,
256006
- TabPanel as b7,
256007
- sortedData as b8,
256008
- XCard7 as b9,
256009
- TrackerCard as ba,
256010
- XCard11 as bb,
256011
- fetchApi as bc,
256012
- useCustomStyle$M as bd,
256013
- useCustomStyle$K as be,
256014
- FormControlLabel as bf,
256015
- Checkbox as bg,
256016
- useCustomStyle$L as bh,
256017
- DialogContent as bi,
256018
- default_1$h as bj,
256019
- ContentTypeWrapper as bk,
256020
- PrelemsWrapper as bl,
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
- secondaryPropsObj as e,
256036
+ getSecureLocalStorageData as e,
256024
256037
  format as f,
256025
- getSecureLocalStorageData as g,
256026
- generateUtilityClasses as h,
256027
- generateUtilityClass as i,
256028
- styled as j,
256029
- _objectWithoutPropertiesLoose$1 as k,
256030
- clsx$1 as l,
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
- composeClasses as n,
256033
- getDefaultExportFromCjs as o,
256034
- cx as p,
256035
- interopRequireDefaultExports as q,
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
- makeStyles as t,
256051
+ interopRequireDefaultExports as t,
256039
256052
  useThemeProps as u,
256040
- handleHtmlTags$1 as v,
256041
- Card$1 as w,
256042
- CardMedia as x,
256043
- CardContent as y,
256044
- PlatFormXDateTimeFormat$1 as z
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 { bk as m, bl as a } from "./index-A2Z50QJA.mjs";
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
- m as ContentTypeWrapper,
6
+ t as ContentTypeWrapper,
7
7
  a as PrelemsWrapper
8
8
  };
@@ -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;