@platform-x/hcltechx-mfe-wrapper 1.0.16 → 1.0.17

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 (31) hide show
  1. package/{ArticleVodListComponent-DKUN3thC.mjs → ArticleVodListComponent-Cmh3dbqz.mjs} +2 -2
  2. package/{ChallengeDetailComponent-C6lsSLpA.mjs → ChallengeDetailComponent-DEVyf4Wz.mjs} +3 -3
  3. package/{ChallengeSliderComponent-CeD1p3L6.mjs → ChallengeSliderComponent-CJWZYazj.mjs} +3 -3
  4. package/{CommonContentComponent-DPPrx3bD.mjs → CommonContentComponent-C2CQPSUv.mjs} +3 -3
  5. package/{DailyMotion-fLexJPDN.mjs → DailyMotion-Dn0Wefyy.mjs} +2 -2
  6. package/{EngagementHomeComponent-BNU8QZsQ.mjs → EngagementHomeComponent-C1TlhquE.mjs} +5 -4
  7. package/{EventDetailComponent-Dbdse5St.mjs → EventDetailComponent-C6rPM84x.mjs} +3 -3
  8. package/{EventList-BYF03nEh.mjs → EventList-lwNYrStD.mjs} +91 -73
  9. package/{EventListComponent-BJ3sTQ_I.mjs → EventListComponent-DYXFA5v_.mjs} +3 -3
  10. package/{Facebook-B5dHT-pV.mjs → Facebook-CHDKmwQ2.mjs} +2 -2
  11. package/{FilePlayer-DvM19mlx.mjs → FilePlayer-DYPozp9B.mjs} +2 -2
  12. package/{IndividualChallengeComponent-CS58zTFF.mjs → IndividualChallengeComponent-Cr9-cwdB.mjs} +3 -3
  13. package/{Kaltura-D6RVtBip.mjs → Kaltura-CF9gfNmQ.mjs} +2 -2
  14. package/{Mixcloud-CAXby0Wn.mjs → Mixcloud-Rcvs2th1.mjs} +2 -2
  15. package/{Mux-mczERHRU.mjs → Mux-DHN7l3BG.mjs} +2 -2
  16. package/{Preview-DovVCnK6.mjs → Preview-CVDdi0j6.mjs} +1 -1
  17. package/{RecentCarousel-C_fm1uG1.mjs → RecentCarousel-B-ELyI30.mjs} +2 -2
  18. package/{Share-CuYAlNkA.mjs → Share-uXoUDHk4.mjs} +2 -2
  19. package/{SoundCloud-YLqZjHKm.mjs → SoundCloud-Cjg4ImMg.mjs} +2 -2
  20. package/{Streamable-BGnFDdbJ.mjs → Streamable-CCYu2EKx.mjs} +2 -2
  21. package/{Twitch-FDSz8d9g.mjs → Twitch-cmyUqhkG.mjs} +2 -2
  22. package/{Vidyard-DoM-iNK7.mjs → Vidyard-B8-nr_Fv.mjs} +2 -2
  23. package/{Vimeo-BAZx0mgo.mjs → Vimeo-B63IG5aC.mjs} +2 -2
  24. package/{Wistia-D0CtAbcg.mjs → Wistia-DfkI_SbS.mjs} +2 -2
  25. package/{YouTube-AKeQPHRd.mjs → YouTube-CU68ZQl6.mjs} +2 -2
  26. package/{index-BW7MAuY_.mjs → index-CgIBu_Si.mjs} +1242 -1265
  27. package/{index-B0kXOAse.mjs → index-Dbzb3b-0.mjs} +2 -2
  28. package/index.mjs +1 -1
  29. package/lib/utils/constants.d.ts +2 -0
  30. package/{mutateApi-UtIkY8_8.mjs → mutateApi-PiJF8MYO.mjs} +1 -1
  31. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { b as p } from "./EventList-BYF03nEh.mjs";
2
+ import { b as p } from "./EventList-lwNYrStD.mjs";
3
3
  import "react";
4
- import "./index-BW7MAuY_.mjs";
4
+ import "./index-CgIBu_Si.mjs";
5
5
  import "react-dom";
6
6
  const f = ({
7
7
  data: t,
@@ -1,8 +1,8 @@
1
1
  import { jsx as H } from "react/jsx-runtime";
2
- import { C as J } from "./EventList-BYF03nEh.mjs";
2
+ import { C as J } from "./EventList-lwNYrStD.mjs";
3
3
  import { useState as m, useEffect as k } from "react";
4
- import { s as d, f as A, a as p } from "./index-BW7MAuY_.mjs";
5
- import { m as q } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { s as d, f as A, a as p } from "./index-CgIBu_Si.mjs";
5
+ import { m as q } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const Q = (C) => {
8
8
  const {
@@ -1,8 +1,8 @@
1
1
  import { jsx as z } from "react/jsx-runtime";
2
- import { f as D, c as F } from "./EventList-BYF03nEh.mjs";
2
+ import { f as D, c as F } from "./EventList-lwNYrStD.mjs";
3
3
  import { useState as d, useEffect as J } from "react";
4
- import { f as p, s as a, a as K } from "./index-BW7MAuY_.mjs";
5
- import { m as N } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { f as p, s as a, a as K } from "./index-CgIBu_Si.mjs";
5
+ import { m as N } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const Z = (I) => {
8
8
  var S, P, A;
@@ -1,7 +1,7 @@
1
1
  import { jsx as O } from "react/jsx-runtime";
2
2
  import j, { memo as x, useState as g, useEffect as z } from "react";
3
- import { F as J, f as N, s as w } from "./index-BW7MAuY_.mjs";
4
- import { m as $ } from "./mutateApi-UtIkY8_8.mjs";
3
+ import { F as J, f as N, s as w } from "./index-CgIBu_Si.mjs";
4
+ import { m as $ } from "./mutateApi-PiJF8MYO.mjs";
5
5
  import "react-dom";
6
6
  const A = {
7
7
  Article: "Article",
@@ -11,7 +11,7 @@ const A = {
11
11
  Vod: "Vod"
12
12
  }, c = {};
13
13
  Object.keys(A).forEach((l) => (c[l] = j.lazy(
14
- () => import("./index-B0kXOAse.mjs").then((t) => ({
14
+ () => import("./index-Dbzb3b-0.mjs").then((t) => ({
15
15
  default: t[A[l]]
16
16
  }))
17
17
  ), c));
@@ -1,6 +1,6 @@
1
- import { g as P } from "./index-BW7MAuY_.mjs";
1
+ import { g as P } from "./index-CgIBu_Si.mjs";
2
2
  import v from "react";
3
- import { u as D, p as O } from "./EventList-BYF03nEh.mjs";
3
+ import { u as D, p as O } from "./EventList-lwNYrStD.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 z } from "react/jsx-runtime";
2
- import { f as F, d as J } from "./EventList-BYF03nEh.mjs";
2
+ import { f as F, d as J } from "./EventList-lwNYrStD.mjs";
3
3
  import { useState as l, useEffect as K } from "react";
4
- import { f as E, s, a as N } from "./index-BW7MAuY_.mjs";
5
- import { m as O } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { f as E, s, a as N } from "./index-CgIBu_Si.mjs";
5
+ import { m as O } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const v = async (w, g, y, D = "", t = "wellnessevent") => {
8
8
  var f, d, o, r;
@@ -90,7 +90,8 @@ const v = async (w, g, y, D = "", t = "wellnessevent") => {
90
90
  eventData: x,
91
91
  articleVodData: d,
92
92
  filters: a,
93
- relativePath: f
93
+ relativePath: f,
94
+ userId: t
94
95
  }
95
96
  );
96
97
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as U } from "react/jsx-runtime";
2
- import { E as V } from "./EventList-BYF03nEh.mjs";
2
+ import { E as V } from "./EventList-lwNYrStD.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-BW7MAuY_.mjs";
5
- import { m as z } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { f as q, s as d, a as I } from "./index-CgIBu_Si.mjs";
5
+ import { m as z } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const Z = (h) => {
8
8
  const {
@@ -1,7 +1,7 @@
1
1
  import require$$2$2, { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import * as React from "react";
3
3
  import React__default, { Children, isValidElement, cloneElement, createContext as createContext$1, useState, lazy as lazy$2, useRef, useEffect, Fragment as Fragment$1, Suspense, Component, useContext as useContext$2, useMemo, useCallback } from "react";
4
- import { k as chainPropTypes, P as PropTypes, p as Global, q as styled$1, r as styleFunctionSx, t as useTheme, v as extendSxProp, _ as _objectWithoutPropertiesLoose$1, i as _extends$3, j as clsx, w as createStyled, x as createTheme, y as capitalize, z as useThemeProps, l as composeClasses, d as generateUtilityClass, A as exactProp, c as generateUtilityClasses, e as styled$2, n as alpha, h as useThemeProps$1, u as useTheme$1, C as ClassNameGenerator, B as requirePropFactory, D as duration, E as reactIsExports$1, m as keyframes, H as useTheme$2, I as defaultTheme$2, J as formatMuiErrorMessage, K as createTheme$1, L as rootShouldForwardProp, M as resolveProps, N as deepmerge$1, O as getThemeProps, o as css$1, Q as lighten, R as darken, S as getPath, T as slotShouldForwardProp, U as handleBreakpoints, V as resolveBreakpointValues, W as createUnarySpacing, X as getValue, Y as getAugmentedNamespace, Z as nested, $ as getDisplayName, a0 as useTheme$3, G as Grid, a1 as commonjsGlobal$2, g as getDefaultExportFromCjs, a2 as hoistStatics, a3 as CircularProgress, a4 as propTypesExports, a5 as toast, a6 as green } from "./index-BW7MAuY_.mjs";
4
+ import { k as chainPropTypes, P as PropTypes, p as Global, q as styled$1, r as styleFunctionSx, t as useTheme, v as extendSxProp, _ as _objectWithoutPropertiesLoose$1, i as _extends$3, j as clsx, w as createStyled, x as createTheme, y as capitalize, z as useThemeProps, l as composeClasses, d as generateUtilityClass, A as exactProp, c as generateUtilityClasses, e as styled$2, n as alpha, h as useThemeProps$1, u as useTheme$1, C as ClassNameGenerator, B as requirePropFactory, D as duration, E as reactIsExports$1, m as keyframes, H as useTheme$2, I as defaultTheme$2, J as formatMuiErrorMessage, K as createTheme$1, L as rootShouldForwardProp, M as resolveProps, N as deepmerge$1, O as getThemeProps, o as css$1, Q as lighten, R as darken, S as getPath, T as slotShouldForwardProp, U as handleBreakpoints, V as resolveBreakpointValues, W as createUnarySpacing, X as getValue, Y as getAugmentedNamespace, Z as nested, $ as getDisplayName, a0 as useTheme$3, G as Grid, a1 as commonjsGlobal$2, g as getDefaultExportFromCjs, a2 as hoistStatics, a3 as CircularProgress, a4 as propTypesExports, a5 as toast, a6 as green } from "./index-CgIBu_Si.mjs";
5
5
  import * as ReactDOM from "react-dom";
6
6
  import ReactDOM__default, { flushSync } from "react-dom";
7
7
  function isClassComponent$1(i) {
@@ -16871,11 +16871,11 @@ const breakpoints = [
16871
16871
  eventList: "eventlist",
16872
16872
  challenge: "challenges",
16873
16873
  wellnessevent: "wellnessevent",
16874
- gcpUrl: "https://storage.googleapis.com",
16875
- bucketName: "cropped_image_public",
16874
+ gcpUrl: "https://s3.ap-south-1.amazonaws.com",
16875
+ bucketName: "cropped-image-public",
16876
16876
  engagementHome: "engagementhome",
16877
- host: "mavericks.hcl-x.com",
16878
- graphqlEndpoint: "https://marvericks.api-publish.hcl-x.com/platform-x-publish/v1/publish/gateway"
16877
+ host: "healthcare.hc-qa.hcl-x.com",
16878
+ graphqlEndpoint: "https://hc-qa.api-publish.hcl-x.com/platform-x-publish/v1/publish/gateway"
16879
16879
  };
16880
16880
  function _typeof$5(i) {
16881
16881
  "@babel/helpers - typeof";
@@ -18241,7 +18241,7 @@ const fallBackImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAE7BAM
18241
18241
  var s;
18242
18242
  const n = (/* @__PURE__ */ new Date()).toISOString(), r = (i == null ? void 0 : i.start_date) || (i == null ? void 0 : i.start_date_time), a = (i == null ? void 0 : i.end_date) || (i == null ? void 0 : i.end_date_time);
18243
18243
  let A = "";
18244
- return n > a && (A = "Expired"), n < r && (A = "Upcoming"), n > r && n < a && (A = "Ongoing"), (s = i == null ? void 0 : i.event_subtype) != null && s.includes("Pre-Recorded Webinar") && (A = "Recorded"), A;
18244
+ return n > a && (A = "Expired"), n < r && (A = "Upcoming"), n > r && n < a && (A = "Ongoing"), ((s = i == null ? void 0 : i.event_subtype[0]) == null ? void 0 : s.label) === "Pre-Recorded Webinar" && (A = "Recorded"), A;
18245
18245
  }, replaceWithWebp = (i) => {
18246
18246
  const n = i == null ? void 0 : i.lastIndexOf(".");
18247
18247
  return n === -1 ? i : (i == null ? void 0 : i.substring(0, n)) + ".webp";
@@ -20329,7 +20329,7 @@ const useCustomStyle$w = makeStyles(() => {
20329
20329
  }
20330
20330
  }
20331
20331
  };
20332
- }), Share$4 = lazy$2(() => import("./Share-CuYAlNkA.mjs")), RecentCarousel$1 = lazy$2(() => import("./RecentCarousel-C_fm1uG1.mjs")), Article = ({
20332
+ }), Share$4 = lazy$2(() => import("./Share-uXoUDHk4.mjs")), RecentCarousel$1 = lazy$2(() => import("./RecentCarousel-B-ELyI30.mjs")), Article = ({
20333
20333
  content: i = {},
20334
20334
  analytics: n,
20335
20335
  authoringHelper: r,
@@ -206110,7 +206110,7 @@ const BrightcovePlayer$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
206110
206110
  }
206111
206111
  };
206112
206112
  }), XCard7 = ({ content: i, onCardClick: n, secondaryArgs: r = {} }) => {
206113
- var l, p, h, f, m;
206113
+ var l, p, h, f, m, u;
206114
206114
  const a = useCustomStyle$s(), A = (/* @__PURE__ */ new Date()).toISOString(), s = ((l = i == null ? void 0 : i.tags) == null ? void 0 : l.length) > 0 && i != null && i.tags.includes("Popular") ? "Popular Event" : "", g = ((h = (p = i == null ? void 0 : i.event_type) == null ? void 0 : p[0]) == null ? void 0 : h.label) === "Virtual Event" ? "Virtual" : "Offline", o = `${Number(i == null ? void 0 : i.participants) > 999 ? `${(Number(i == null ? void 0 : i.participants) / 1e3).toFixed(0)}${Number(i == null ? void 0 : i.participants) % 1e3 === 0 ? "K" : "K+"}` : Number(i == null ? void 0 : i.participants)}`;
206115
206115
  return /* @__PURE__ */ jsxs(
206116
206116
  Box,
@@ -206163,7 +206163,7 @@ const BrightcovePlayer$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
206163
206163
  /* @__PURE__ */ jsx(Typography, { variant: "p4regular", className: "publish", children: StartEndDateStartTimeFormat(i == null ? void 0 : i.start_date, i == null ? void 0 : i.end_date) })
206164
206164
  ] }),
206165
206165
  /* @__PURE__ */ jsxs(Box, { className: "lastContent", children: [
206166
- A >= (i == null ? void 0 : i.registration_start_date_time) ? /* @__PURE__ */ jsxs(Box, { className: "LeftWp", children: [
206166
+ A >= (i == null ? void 0 : i.registration_start_date_time) && ((u = i == null ? void 0 : i.event_subtype[0]) == null ? void 0 : u.label) !== "Pre-Recorded Webinar" ? /* @__PURE__ */ jsxs(Box, { className: "LeftWp", children: [
206167
206167
  /* @__PURE__ */ jsxs("ul", { children: [
206168
206168
  /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("img", { src: ParticipantsIcon1, alt: "" }) }),
206169
206169
  /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("img", { src: ParticipantsIcon2, alt: "" }) }),
@@ -206557,7 +206557,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206557
206557
  canPlay: import_patterns.canPlay.youtube,
206558
206558
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206559
206559
  /* webpackChunkName: 'reactPlayerYouTube' */
206560
- "./YouTube-AKeQPHRd.mjs"
206560
+ "./YouTube-CU68ZQl6.mjs"
206561
206561
  ).then((i) => i.Y))
206562
206562
  },
206563
206563
  {
@@ -206566,7 +206566,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206566
206566
  canPlay: import_patterns.canPlay.soundcloud,
206567
206567
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206568
206568
  /* webpackChunkName: 'reactPlayerSoundCloud' */
206569
- "./SoundCloud-YLqZjHKm.mjs"
206569
+ "./SoundCloud-Cjg4ImMg.mjs"
206570
206570
  ).then((i) => i.S))
206571
206571
  },
206572
206572
  {
@@ -206575,7 +206575,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206575
206575
  canPlay: import_patterns.canPlay.vimeo,
206576
206576
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206577
206577
  /* webpackChunkName: 'reactPlayerVimeo' */
206578
- "./Vimeo-BAZx0mgo.mjs"
206578
+ "./Vimeo-B63IG5aC.mjs"
206579
206579
  ).then((i) => i.V))
206580
206580
  },
206581
206581
  {
@@ -206584,7 +206584,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206584
206584
  canPlay: import_patterns.canPlay.mux,
206585
206585
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206586
206586
  /* webpackChunkName: 'reactPlayerMux' */
206587
- "./Mux-mczERHRU.mjs"
206587
+ "./Mux-DHN7l3BG.mjs"
206588
206588
  ).then((i) => i.M))
206589
206589
  },
206590
206590
  {
@@ -206593,7 +206593,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206593
206593
  canPlay: import_patterns.canPlay.facebook,
206594
206594
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206595
206595
  /* webpackChunkName: 'reactPlayerFacebook' */
206596
- "./Facebook-B5dHT-pV.mjs"
206596
+ "./Facebook-CHDKmwQ2.mjs"
206597
206597
  ).then((i) => i.F))
206598
206598
  },
206599
206599
  {
@@ -206602,7 +206602,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206602
206602
  canPlay: import_patterns.canPlay.streamable,
206603
206603
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206604
206604
  /* webpackChunkName: 'reactPlayerStreamable' */
206605
- "./Streamable-BGnFDdbJ.mjs"
206605
+ "./Streamable-CCYu2EKx.mjs"
206606
206606
  ).then((i) => i.S))
206607
206607
  },
206608
206608
  {
@@ -206611,7 +206611,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206611
206611
  canPlay: import_patterns.canPlay.wistia,
206612
206612
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206613
206613
  /* webpackChunkName: 'reactPlayerWistia' */
206614
- "./Wistia-D0CtAbcg.mjs"
206614
+ "./Wistia-DfkI_SbS.mjs"
206615
206615
  ).then((i) => i.W))
206616
206616
  },
206617
206617
  {
@@ -206620,7 +206620,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206620
206620
  canPlay: import_patterns.canPlay.twitch,
206621
206621
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206622
206622
  /* webpackChunkName: 'reactPlayerTwitch' */
206623
- "./Twitch-FDSz8d9g.mjs"
206623
+ "./Twitch-cmyUqhkG.mjs"
206624
206624
  ).then((i) => i.T))
206625
206625
  },
206626
206626
  {
@@ -206629,7 +206629,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206629
206629
  canPlay: import_patterns.canPlay.dailymotion,
206630
206630
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206631
206631
  /* webpackChunkName: 'reactPlayerDailyMotion' */
206632
- "./DailyMotion-fLexJPDN.mjs"
206632
+ "./DailyMotion-Dn0Wefyy.mjs"
206633
206633
  ).then((i) => i.D))
206634
206634
  },
206635
206635
  {
@@ -206638,7 +206638,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206638
206638
  canPlay: import_patterns.canPlay.mixcloud,
206639
206639
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206640
206640
  /* webpackChunkName: 'reactPlayerMixcloud' */
206641
- "./Mixcloud-CAXby0Wn.mjs"
206641
+ "./Mixcloud-Rcvs2th1.mjs"
206642
206642
  ).then((i) => i.M))
206643
206643
  },
206644
206644
  {
@@ -206647,7 +206647,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206647
206647
  canPlay: import_patterns.canPlay.vidyard,
206648
206648
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206649
206649
  /* webpackChunkName: 'reactPlayerVidyard' */
206650
- "./Vidyard-DoM-iNK7.mjs"
206650
+ "./Vidyard-B8-nr_Fv.mjs"
206651
206651
  ).then((i) => i.V))
206652
206652
  },
206653
206653
  {
@@ -206656,7 +206656,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206656
206656
  canPlay: import_patterns.canPlay.kaltura,
206657
206657
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206658
206658
  /* webpackChunkName: 'reactPlayerKaltura' */
206659
- "./Kaltura-D6RVtBip.mjs"
206659
+ "./Kaltura-CF9gfNmQ.mjs"
206660
206660
  ).then((i) => i.K))
206661
206661
  },
206662
206662
  {
@@ -206666,7 +206666,7 @@ var players = __toCommonJS$4(players_exports), import_utils$2 = utils, import_pa
206666
206666
  canEnablePIP: (i) => import_patterns.canPlay.file(i) && (document.pictureInPictureEnabled || (0, import_utils$2.supportsWebKitPresentationMode)()) && !import_patterns.AUDIO_EXTENSIONS.test(i),
206667
206667
  lazyPlayer: (0, import_utils$2.lazy)(() => import(
206668
206668
  /* webpackChunkName: 'reactPlayerFilePlayer' */
206669
- "./FilePlayer-DvM19mlx.mjs"
206669
+ "./FilePlayer-DYPozp9B.mjs"
206670
206670
  ).then((i) => i.F))
206671
206671
  }
206672
206672
  ], safeIsNaN = Number.isNaN || function i(n) {
@@ -207162,7 +207162,7 @@ __export$1(ReactPlayer_exports, {
207162
207162
  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, import_Player = __toESM$1(Player_1);
207163
207163
  const Preview = (0, import_utils.lazy)(() => import(
207164
207164
  /* webpackChunkName: 'reactPlayerPreview' */
207165
- "./Preview-DovVCnK6.mjs"
207165
+ "./Preview-CVDdi0j6.mjs"
207166
207166
  ).then((i) => i.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 = (i, n) => {
207167
207167
  var r;
207168
207168
  return r = class extends import_react.Component {
@@ -212089,7 +212089,7 @@ const SingleQuestion$1 = ({ data: i = [], callBack: n }) => {
212089
212089
  }
212090
212090
  )
212091
212091
  ] });
212092
- }, Share$2 = lazy$2(() => import("./Share-CuYAlNkA.mjs")), Poll = ({
212092
+ }, Share$2 = lazy$2(() => import("./Share-uXoUDHk4.mjs")), Poll = ({
212093
212093
  content: i,
212094
212094
  onSubmit: n,
212095
212095
  results: r = [],
@@ -213764,7 +213764,7 @@ const ViewAnswers = ({
213764
213764
  }
213765
213765
  }
213766
213766
  };
213767
- }), Share$1 = lazy$2(() => import("./Share-CuYAlNkA.mjs")), Quiz = ({
213767
+ }), Share$1 = lazy$2(() => import("./Share-uXoUDHk4.mjs")), Quiz = ({
213768
213768
  content: i,
213769
213769
  analytics: n,
213770
213770
  authoringHelper: r,
@@ -214842,7 +214842,7 @@ const useCustomStyle$h = makeStyles(() => {
214842
214842
  }
214843
214843
  }
214844
214844
  };
214845
- }), Share = lazy$2(() => import("./Share-CuYAlNkA.mjs")), RecentCarousel = lazy$2(() => import("./RecentCarousel-C_fm1uG1.mjs")), BrightcovePlayer = React__default.lazy(
214845
+ }), Share = lazy$2(() => import("./Share-uXoUDHk4.mjs")), RecentCarousel = lazy$2(() => import("./RecentCarousel-B-ELyI30.mjs")), BrightcovePlayer = React__default.lazy(
214846
214846
  () => Promise.resolve().then(() => BrightcovePlayer$2)
214847
214847
  ), latestVODs = [
214848
214848
  {
@@ -217494,7 +217494,7 @@ const useCustomStyle$9 = makeStyles(() => {
217494
217494
  ] }),
217495
217495
  /* @__PURE__ */ jsxs(Box, { className: "Px-DateHeader", children: [
217496
217496
  /* @__PURE__ */ jsx(Box, { className: "arrowCta", onClick: h, children: /* @__PURE__ */ jsx(KeyboardArrowLeft, {}) }),
217497
- /* @__PURE__ */ jsx(Typography, { variant: "h3bold", children: format(a, "MMM Y") }),
217497
+ /* @__PURE__ */ jsx(Typography, { variant: "h3bold", children: format(a, "MMM") }),
217498
217498
  /* @__PURE__ */ jsx(
217499
217499
  Box,
217500
217500
  {
@@ -218846,53 +218846,71 @@ const EngagementHome = ({
218846
218846
  deviceInfo: l,
218847
218847
  filters: p,
218848
218848
  relativePath: h,
218849
- eventData: f,
218850
- articleVodData: m,
218851
- individualChallengeInfo: u,
218852
- commonInfo: C
218849
+ userId: f,
218850
+ eventData: m,
218851
+ articleVodData: u,
218852
+ individualChallengeInfo: C,
218853
+ commonInfo: E
218853
218854
  }) => {
218854
- const E = localStorage.getItem("userId");
218855
+ const B = f || localStorage.getItem("userId");
218855
218856
  usePrelemImpression(n, i, a);
218856
- const B = useCustomStyle$4(), {
218857
- device_permission_status: L = !1,
218858
- device_last_sync: O = "",
218859
- device_platform: q = ""
218860
- } = l || {}, { fetchPersonalData: _e } = A, X = q === "android" ? "Health Connect" : "Apple Health", [_n, K] = useState(format(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), U = (aa) => {
218861
- K(aa);
218862
- }, na = (aa) => {
218863
- var _f, e0;
218864
- const ga = (aa == null ? void 0 : aa.CurrentPageURL) || aa.current_page_url, ba = (aa == null ? void 0 : aa.ContentType) || aa.content_type, _A = ba.toLowerCase() === "vod" ? "video" : ba.toLowerCase();
218865
- typeof window < "u" && (p != null && p.onCardClick ? p == null || p.onCardClick({ id: ga, type: _A }) : (_f = a == null ? void 0 : a.prelemBaseEndpoint) != null && _f.language ? window.open(`/${(e0 = a == null ? void 0 : a.prelemBaseEndpoint) == null ? void 0 : e0.language}/${_A}${ga}`) : window.open(`/${_A}${ga}`));
218866
- }, _o = (aa) => {
218867
- p != null && p.onViewAllClick && (p == null || p.onViewAllClick(aa));
218857
+ const L = useCustomStyle$4(), {
218858
+ device_permission_status: O = !1,
218859
+ device_last_sync: q = "",
218860
+ device_platform: _e = ""
218861
+ } = l || {}, { fetchPersonalData: X } = A, _n = _e === "android" ? "Health Connect" : "Apple Health", [K, U] = useState(format(/* @__PURE__ */ new Date(), "yyyy-MM-dd")), na = (e0) => {
218862
+ U(e0);
218863
+ }, _o = (e0) => {
218864
+ var d0, p0;
218865
+ const a0 = (e0 == null ? void 0 : e0.CurrentPageURL) || e0.current_page_url, s0 = (e0 == null ? void 0 : e0.ContentType) || e0.content_type, l0 = s0.toLowerCase() === "vod" ? "video" : s0.toLowerCase();
218866
+ typeof window < "u" && (p != null && p.onCardClick ? p == null || p.onCardClick({ id: a0, type: l0 }) : (d0 = a == null ? void 0 : a.prelemBaseEndpoint) != null && d0.language ? window.open(`/${(p0 = a == null ? void 0 : a.prelemBaseEndpoint) == null ? void 0 : p0.language}/${l0}${a0}`) : window.open(`/${l0}${a0}`));
218867
+ }, aa = () => {
218868
+ console.log("Sync triggered"), p != null && p.onDeviceSync ? p == null || p.onDeviceSync(B, ga) : console.log("No onDeviceSync function found in filters");
218869
+ }, ga = (e0) => {
218870
+ console.log("Sync - Data received from Angular:", e0);
218871
+ }, ba = () => {
218872
+ console.log("Refresh triggered");
218873
+ const e0 = q;
218874
+ p != null && p.onDeviceRefresh ? p == null || p.onDeviceRefresh(B, e0, _A) : console.log("No onDeviceRefresh function found in filters");
218875
+ }, _A = (e0) => {
218876
+ console.log("Refresh - Data received from Angular:", e0);
218877
+ }, _f = (e0) => {
218878
+ p != null && p.onViewAllClick && (p == null || p.onViewAllClick(e0));
218868
218879
  };
218869
218880
  return /* @__PURE__ */ jsx(
218870
218881
  "div",
218871
218882
  {
218872
218883
  ref: r == null ? void 0 : r.innerRef,
218873
- className: `${B.EngagementHomeWrapper} PX-EngagementHomeBox`,
218884
+ className: `${L.EngagementHomeWrapper} PX-EngagementHomeBox`,
218874
218885
  children: /* @__PURE__ */ jsxs(Container, { className: "grid_container prelem-py", children: [
218875
218886
  /* @__PURE__ */ jsx(
218876
218887
  CalendarFullView,
218877
218888
  {
218878
- fetchPersonalData: _e,
218889
+ fetchPersonalData: X,
218879
218890
  streaksCount: g,
218880
- callBack: U
218891
+ callBack: na
218881
218892
  }
218882
218893
  ),
218883
218894
  /* @__PURE__ */ jsxs(Box, { className: "PX-googleSyncWp", children: [
218884
218895
  /* @__PURE__ */ jsxs(Box, { className: "PX-leftCol", children: [
218885
- /* @__PURE__ */ jsx(Box, { className: "PX-heartIcon", children: /* @__PURE__ */ jsx("img", { src: q === "android" ? HeartIcon : AppleHeart, alt: "Icon" }) }),
218896
+ /* @__PURE__ */ jsx(Box, { className: "PX-heartIcon", children: /* @__PURE__ */ jsx("img", { src: _e === "android" ? HeartIcon : AppleHeart, alt: "Icon" }) }),
218886
218897
  /* @__PURE__ */ jsxs(Box, { className: "PX-content", children: [
218887
- /* @__PURE__ */ jsx(Typography, { variant: "h5regular", children: L ? `Connected to ${X}` : `Connect to ${X}` }),
218888
- L && O && /* @__PURE__ */ jsxs(Typography, { variant: "p4regular", children: [
218898
+ /* @__PURE__ */ jsx(Typography, { variant: "h5regular", children: O ? `Connected to ${_n}` : `Connect to ${_n}` }),
218899
+ O && q && /* @__PURE__ */ jsxs(Typography, { variant: "p4regular", children: [
218889
218900
  /* @__PURE__ */ jsx(default_1, { sx: { fontSize: "16px", marginRight: "5px" } }),
218890
218901
  " Last sync :",
218891
- format(new Date(O), "MMMM dd, yyyy, h:m a")
218902
+ format(new Date(q), "MMMM dd, yyyy, h:m a")
218892
218903
  ] })
218893
218904
  ] })
218894
218905
  ] }),
218895
- /* @__PURE__ */ jsx(Box, { className: "PX-rightCol", children: /* @__PURE__ */ jsx(Button, { variant: "secondaryButton2", children: L && O ? "Refresh" : "Sync" }) })
218906
+ /* @__PURE__ */ jsx(Box, { className: "PX-rightCol", children: /* @__PURE__ */ jsx(
218907
+ Button,
218908
+ {
218909
+ variant: "secondaryButton2",
218910
+ onClick: O && q ? ba : aa,
218911
+ children: O && q ? "Refresh" : "Sync"
218912
+ }
218913
+ ) })
218896
218914
  ] }),
218897
218915
  /* @__PURE__ */ jsxs(Box, { className: "PX-challengeWrapper prelem-py", children: [
218898
218916
  /* @__PURE__ */ jsxs(Box, { className: "PX-headerWrapper", children: [
@@ -218902,28 +218920,28 @@ const EngagementHome = ({
218902
218920
  {
218903
218921
  variant: "secondaryButton3",
218904
218922
  className: "viewAllCta",
218905
- onClick: () => _o("eventList"),
218923
+ onClick: () => _f("eventList"),
218906
218924
  children: "View All"
218907
218925
  }
218908
218926
  )
218909
218927
  ] }),
218910
218928
  /* @__PURE__ */ jsxs(Slider, { ...SETTINGSCARD2, className: "PX-arrowDotSlider", children: [
218911
- u && Object.keys(u).length > 0 ? /* @__PURE__ */ jsx(
218929
+ C && Object.keys(C).length > 0 ? /* @__PURE__ */ jsx(
218912
218930
  TrackerCard,
218913
218931
  {
218914
- individualChallengeInfo: u,
218915
- commonInfo: C,
218916
- currentUserId: E
218932
+ individualChallengeInfo: C,
218933
+ commonInfo: E,
218934
+ currentUserId: B
218917
218935
  }
218918
- ) : /* @__PURE__ */ jsx(XCard10, { stepsDetails: s, selectedDate: _n }),
218919
- o == null ? void 0 : o.map((aa) => /* @__PURE__ */ jsx(
218936
+ ) : /* @__PURE__ */ jsx(XCard10, { stepsDetails: s, selectedDate: K }),
218937
+ o == null ? void 0 : o.map((e0) => /* @__PURE__ */ jsx(
218920
218938
  XCard11,
218921
218939
  {
218922
- content: aa,
218940
+ content: e0,
218923
218941
  secondaryArgs: a,
218924
- onCardClick: na
218942
+ onCardClick: _o
218925
218943
  },
218926
- aa
218944
+ e0
218927
218945
  )),
218928
218946
  /* @__PURE__ */ jsx(ComingSoonBanner1, {})
218929
218947
  ] })
@@ -218936,19 +218954,19 @@ const EngagementHome = ({
218936
218954
  {
218937
218955
  variant: "secondaryButton3",
218938
218956
  className: "viewAllCta",
218939
- onClick: () => _o("eventList"),
218957
+ onClick: () => _f("eventList"),
218940
218958
  children: "View All"
218941
218959
  }
218942
218960
  )
218943
218961
  ] }),
218944
- /* @__PURE__ */ jsx(Slider, { ...SETTINGSCARD4, className: "PX-arrowDotSlider", children: f == null ? void 0 : f.map((aa) => /* @__PURE__ */ jsx(
218962
+ /* @__PURE__ */ jsx(Slider, { ...SETTINGSCARD4, className: "PX-arrowDotSlider", children: m == null ? void 0 : m.map((e0) => /* @__PURE__ */ jsx(
218945
218963
  XCard15,
218946
218964
  {
218947
- content: aa,
218965
+ content: e0,
218948
218966
  secondaryArgs: a,
218949
- onCardClick: na
218967
+ onCardClick: _o
218950
218968
  },
218951
- aa
218969
+ e0
218952
218970
  )) })
218953
218971
  ] }),
218954
218972
  /* @__PURE__ */ jsx(
@@ -218958,7 +218976,7 @@ const EngagementHome = ({
218958
218976
  authoringHelper: r,
218959
218977
  secondaryArgs: a,
218960
218978
  waterIntakeDetails: A,
218961
- selectedDate: _n
218979
+ selectedDate: K
218962
218980
  }
218963
218981
  ),
218964
218982
  /* @__PURE__ */ jsxs(Box, { className: "PX-challengeWrapper prelem-py", children: [
@@ -218969,19 +218987,19 @@ const EngagementHome = ({
218969
218987
  {
218970
218988
  variant: "secondaryButton3",
218971
218989
  className: "viewAllCta",
218972
- onClick: () => _o("articlevodlist"),
218990
+ onClick: () => _f("articlevodlist"),
218973
218991
  children: "View All"
218974
218992
  }
218975
218993
  )
218976
218994
  ] }),
218977
- /* @__PURE__ */ jsx(Slider, { ...SETTINGSCARD3, className: "PX-arrowDotSlider", children: m == null ? void 0 : m.map((aa) => /* @__PURE__ */ jsx(
218995
+ /* @__PURE__ */ jsx(Slider, { ...SETTINGSCARD3, className: "PX-arrowDotSlider", children: u == null ? void 0 : u.map((e0) => /* @__PURE__ */ jsx(
218978
218996
  XCard16,
218979
218997
  {
218980
- content: aa,
218998
+ content: e0,
218981
218999
  secondaryArgs: a,
218982
- handleClick: na
219000
+ handleClick: _o
218983
219001
  },
218984
- aa
219002
+ e0
218985
219003
  )) })
218986
219004
  ] })
218987
219005
  ] })
@@ -1,8 +1,8 @@
1
1
  import { jsx as _ } from "react/jsx-runtime";
2
- import { e as v } from "./EventList-BYF03nEh.mjs";
2
+ import { e as v } from "./EventList-lwNYrStD.mjs";
3
3
  import { useState as g, useEffect as A } from "react";
4
- import { s as r, f as k, a as L } from "./index-BW7MAuY_.mjs";
5
- import { m as b } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { s as r, f as k, a as L } from "./index-CgIBu_Si.mjs";
5
+ import { m as b } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const q = ({
8
8
  data: h,
@@ -1,6 +1,6 @@
1
- import { g as _ } from "./index-BW7MAuY_.mjs";
1
+ import { g as _ } from "./index-CgIBu_Si.mjs";
2
2
  import g from "react";
3
- import { u as P, p as m } from "./EventList-BYF03nEh.mjs";
3
+ import { u as P, p as m } from "./EventList-lwNYrStD.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 { g as b } from "./index-BW7MAuY_.mjs";
1
+ import { g as b } from "./index-CgIBu_Si.mjs";
2
2
  import _ from "react";
3
- import { u as O, p as A } from "./EventList-BYF03nEh.mjs";
3
+ import { u as O, p as A } from "./EventList-lwNYrStD.mjs";
4
4
  function R(s, e) {
5
5
  for (var t = 0; t < e.length; t++) {
6
6
  const i = e[t];
@@ -1,8 +1,8 @@
1
1
  import { jsx as W } from "react/jsx-runtime";
2
- import { I as X } from "./EventList-BYF03nEh.mjs";
2
+ import { I as X } from "./EventList-lwNYrStD.mjs";
3
3
  import { useState as m, useEffect as Y } from "react";
4
- import { f as y, s as g, a as S } from "./index-BW7MAuY_.mjs";
5
- import { m as C } from "./mutateApi-UtIkY8_8.mjs";
4
+ import { f as y, s as g, a as S } from "./index-CgIBu_Si.mjs";
5
+ import { m as C } from "./mutateApi-PiJF8MYO.mjs";
6
6
  import "react-dom";
7
7
  const te = (q) => {
8
8
  const {
@@ -1,6 +1,6 @@
1
- import { g as f } from "./index-BW7MAuY_.mjs";
1
+ import { g as f } from "./index-CgIBu_Si.mjs";
2
2
  import y from "react";
3
- import { u as _, p as m } from "./EventList-BYF03nEh.mjs";
3
+ import { u as _, p as m } from "./EventList-lwNYrStD.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 { g as f } from "./index-BW7MAuY_.mjs";
1
+ import { g as f } from "./index-CgIBu_Si.mjs";
2
2
  import y from "react";
3
- import { u as m, p as g } from "./EventList-BYF03nEh.mjs";
3
+ import { u as m, p as g } from "./EventList-lwNYrStD.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 { g as P } from "./index-BW7MAuY_.mjs";
1
+ import { g as P } from "./index-CgIBu_Si.mjs";
2
2
  import g from "react";
3
- import { p as E } from "./EventList-BYF03nEh.mjs";
3
+ import { p as E } from "./EventList-lwNYrStD.mjs";
4
4
  function b(r, e) {
5
5
  for (var t = 0; t < e.length; t++) {
6
6
  const i = e[t];
@@ -1,4 +1,4 @@
1
- import { g as y } from "./index-BW7MAuY_.mjs";
1
+ import { g as y } from "./index-CgIBu_Si.mjs";
2
2
  import v from "react";
3
3
  function w(r, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
- import { m as y, B as i, T as x, g as B, r as z, h as T, i as H, j as M, k as U, l as j, L as F, n as V, o as q, q as W, s as O } from "./EventList-BYF03nEh.mjs";
2
+ import { m as y, B as i, T as x, g as B, r as z, h as T, i as H, j as M, k as U, l as j, L as F, n as V, o as q, q as W, s as O } from "./EventList-lwNYrStD.mjs";
3
3
  import Y, { useState as G, useEffect as J } from "react";
4
- import { u as K } from "./index-BW7MAuY_.mjs";
4
+ import { u as K } from "./index-CgIBu_Si.mjs";
5
5
  import "react-dom";
6
6
  const Q = y(() => {
7
7
  const r = K();
@@ -1,8 +1,8 @@
1
1
  import Ne, { jsx as s, jsxs as k, Fragment as Te } from "react/jsx-runtime";
2
2
  import * as z from "react";
3
3
  import je, { forwardRef as Oe, useState as $, useEffect as me, useRef as Ee, useCallback as Re } from "react";
4
- import { t as Pe, v as be, w as Be, x as De, m as Me, y as We, B as b, i as He, T as N, l as $e, z as se, D as Ue, F as Ve, G as ze, H as le } from "./EventList-BYF03nEh.mjs";
5
- import { c as F, d as K, e as G, h as X, _ as q, i as C, j as Q, P as r, k as Fe, l as Y, m as ve, n as Ke, o as de, g as Ge, G as E, u as Xe } from "./index-BW7MAuY_.mjs";
4
+ import { t as Pe, v as be, w as Be, x as De, m as Me, y as We, B as b, i as He, T as N, l as $e, z as se, D as Ue, F as Ve, G as ze, H as le } from "./EventList-lwNYrStD.mjs";
5
+ import { c as F, d as K, e as G, h as X, _ as q, i as C, j as Q, P as r, k as Fe, l as Y, m as ve, n as Ke, o as de, g as Ge, G as E, u as Xe } from "./index-CgIBu_Si.mjs";
6
6
  import "react-dom";
7
7
  function qe(e) {
8
8
  return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";