@scrippsproduct/networks-ui-library 1.0.23 → 1.1.0-alpha.1

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 (126) hide show
  1. package/dist/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
  2. package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
  3. package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
  4. package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
  5. package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
  6. package/dist/assets/ActionButton.css +1 -1
  7. package/dist/assets/AdBlock.css +1 -1
  8. package/dist/assets/CarouselSlide.css +1 -1
  9. package/dist/assets/ChannelSearch.css +1 -1
  10. package/dist/assets/DateNavigation.css +1 -1
  11. package/dist/assets/DatePicker.css +1 -1
  12. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  13. package/dist/assets/EqualSizeFlexRow.css +1 -1
  14. package/dist/assets/EqualSizeGrid.css +1 -1
  15. package/dist/assets/FeaturedList.css +1 -1
  16. package/dist/assets/Figure.css +1 -1
  17. package/dist/assets/FindUs.css +1 -1
  18. package/dist/assets/Form.css +1 -1
  19. package/dist/assets/GridList.css +1 -1
  20. package/dist/assets/IONShowHero.css +1 -1
  21. package/dist/assets/ImageCard.css +1 -1
  22. package/dist/assets/LogoListItem.css +1 -1
  23. package/dist/assets/ModalContainer.css +1 -1
  24. package/dist/assets/PageHero.css +1 -1
  25. package/dist/assets/ProgramAirdate.css +1 -1
  26. package/dist/assets/PromotionBlock.css +1 -1
  27. package/dist/assets/ResultsTable.css +1 -1
  28. package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
  29. package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
  30. package/dist/components/ActionButton/ActionButton.d.ts +20 -1
  31. package/dist/components/ActionButton/ActionButton.js +36 -36
  32. package/dist/components/ActionButton/index.d.ts +2 -1
  33. package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
  34. package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
  35. package/dist/components/Carousel/Carousel.d.ts +7 -24
  36. package/dist/components/Carousel/Carousel.js +109 -109
  37. package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
  38. package/dist/components/Carousel/CarouselUtils.class.js +85 -55
  39. package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
  40. package/dist/components/CarouselSlide/CarouselSlide.js +90 -26
  41. package/dist/components/CarouselSlide/index.d.ts +2 -1
  42. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
  43. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
  44. package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
  45. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
  46. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
  47. package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
  48. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
  49. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +9 -10
  50. package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
  51. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
  52. package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
  53. package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
  54. package/dist/components/Concat/Concat.js +1 -1
  55. package/dist/components/CtaBlock/CtaBlock.js +2 -2
  56. package/dist/components/CustomDataList/CustomDataList.js +44 -47
  57. package/dist/components/CustomSelect/CustomSelect.js +5 -5
  58. package/dist/components/DateNavigation/DateNavigation.js +7 -8
  59. package/dist/components/DatePicker/DatePicker.js +2527 -2452
  60. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
  61. package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
  62. package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
  63. package/dist/components/FeaturedList/FeaturedList.js +7 -7
  64. package/dist/components/Figure/Figure.js +1 -1
  65. package/dist/components/FindUs/FindUs.js +6 -6
  66. package/dist/components/GenericList/GenericList.js +1 -1
  67. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
  68. package/dist/components/ImageCard/ImageCard.js +6 -6
  69. package/dist/components/ImageCard/ImageCardCore.js +1 -1
  70. package/dist/components/InfoPanel/InfoPanel.js +15 -16
  71. package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
  72. package/dist/components/Input/Input.js +1 -1
  73. package/dist/components/InstructionsList/InstructionsList.js +1 -1
  74. package/dist/components/Loading/Loading.js +5 -8
  75. package/dist/components/ModalContainer/ModalContainer.js +41 -44
  76. package/dist/components/Overlay/Overlay.js +17 -20
  77. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
  78. package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
  79. package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
  80. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
  81. package/dist/components/ResultsTable/ResultsTable.js +7 -7
  82. package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
  83. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
  84. package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
  85. package/dist/components/ScheduleList/ScheduleList.js +17 -17
  86. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
  87. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
  88. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
  89. package/dist/components/SectionedContent/SectionedContent.js +13 -16
  90. package/dist/components/Select/Select.js +1 -1
  91. package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
  92. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
  93. package/dist/components/SocialLinks/SocialLinks.js +3 -3
  94. package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
  95. package/dist/components/StringList/StringList.js +1 -1
  96. package/dist/components/TabContent/TabContent.js +1 -1
  97. package/dist/components/TextArea/TextArea.js +1 -1
  98. package/dist/components/UpcomingList/UpcomingList.js +8 -8
  99. package/dist/containers/NowPlayingContainer.js +10 -10
  100. package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
  101. package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
  102. package/dist/hooks/useGetSchedule.js +3 -3
  103. package/dist/hooks/useGetUpcoming.js +2 -2
  104. package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
  105. package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
  106. package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
  107. package/dist/index-VjANCDXC.mjs +1873 -0
  108. package/dist/settings.d.ts +4 -3
  109. package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
  110. package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
  111. package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
  112. package/dist/types.d.js +27 -0
  113. package/dist/utils/analytics.js +434 -423
  114. package/dist/utils/date-helpers.js +4 -4
  115. package/dist/utils/getFeaturedList.js +3 -3
  116. package/dist/utils/getOnNowProgram.js +3 -3
  117. package/dist/utils/getUpcomingPrograms.js +2 -2
  118. package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
  119. package/package.json +27 -24
  120. package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
  121. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
  122. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
  123. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
  124. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
  125. package/dist/index-B0ARwqly.mjs +0 -1818
  126. /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
@@ -1,40 +1,37 @@
1
- import { jsx as c, Fragment as l } from "react/jsx-runtime";
2
- import { useEffect as n } from "react";
3
- import { r as i } from "../../index-DC7FmJPK.mjs";
4
- import '../../assets/Overlay.css';const d = "_overlay_itsaf_1", v = "_fade_itsaf_1", m = "_reveal_itsaf_1", u = "_hide_itsaf_1", y = {
5
- overlay: d,
6
- fade: v,
7
- reveal: m,
8
- hide: u
1
+ import { jsx as l, Fragment as n } from "react/jsx-runtime";
2
+ import { useEffect as s } from "react";
3
+ import { r as i } from "../../index-C-kn9Zhn.mjs";
4
+ import '../../assets/Overlay.css';const v = "_overlay_itsaf_1", d = {
5
+ overlay: v
9
6
  };
10
- function h({ appendToElement: r, state: a = "entering" }) {
7
+ function p({ appendToElement: r, state: o = "entering" }) {
11
8
  (() => {
12
9
  if (!document.querySelector("#overlay")) {
13
10
  const t = document.createElement("div");
14
- t.setAttribute("id", "overlay"), t.setAttribute("class", `${y.overlay} overlay`), t.setAttribute("data-state", "entering"), r !== null ? r.append(t) : document.body.appendChild(t);
11
+ t.setAttribute("id", "overlay"), t.setAttribute("class", `${d.overlay} overlay`), t.setAttribute("data-state", "entering"), r !== null ? r.append(t) : document.body.appendChild(t);
15
12
  }
16
13
  })();
17
- const o = setInterval(() => {
14
+ const a = setInterval(() => {
18
15
  const e = document.querySelector("#overlay");
19
16
  if (e) {
20
17
  const t = () => {
21
- const s = new CustomEvent("scripps:overlay:closed");
22
- document.dispatchEvent(s), e.setAttribute("data-state", "exiting"), setTimeout(() => {
18
+ const c = new CustomEvent("scripps:overlay:closed");
19
+ document.dispatchEvent(c), e.setAttribute("data-state", "exiting"), setTimeout(() => {
23
20
  e.remove();
24
21
  }, 200);
25
22
  };
26
- clearInterval(o), e.addEventListener("click", t);
23
+ clearInterval(a), e.addEventListener("click", t);
27
24
  }
28
25
  });
29
- return n(() => {
26
+ return s(() => {
30
27
  var e;
31
- (e = document.querySelector("#overlay")) == null || e.setAttribute("data-state", a);
32
- }, [a]), i.createPortal(
33
- /* @__PURE__ */ c(l, {}),
28
+ (e = document.querySelector("#overlay")) == null || e.setAttribute("data-state", o);
29
+ }, [o]), i.createPortal(
30
+ /* @__PURE__ */ l(n, {}),
34
31
  document.getElementById("overlay")
35
32
  );
36
33
  }
37
34
  export {
38
- h as Overlay,
39
- h as default
35
+ p as Overlay,
36
+ p as default
40
37
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as r, Fragment as u } from "react/jsx-runtime";
2
2
  import "react";
3
- import { p as y } from "../../../../index-B0ARwqly.mjs";
3
+ import { p as y } from "../../../../index-VjANCDXC.mjs";
4
4
  import { AirDateFormatter as h } from "../../../AirDateFormatter/AirDateFormatter.js";
5
5
  import { GetAirdateWrapper as x } from "../../../GetAirdateWrapper/GetAirdateWrapper.js";
6
6
  import { StringList as I } from "../../../StringList/StringList.js";
@@ -1,12 +1,12 @@
1
1
  import { jsxs as n, jsx as o } from "react/jsx-runtime";
2
2
  import "react";
3
+ import { p as Q } from "../../index-VjANCDXC.mjs";
4
+ import { classes as d } from "../../utils/helpers.js";
3
5
  import { Concat as V } from "../Concat/Concat.js";
4
- import { CtaBlock as Q } from "../CtaBlock/CtaBlock.js";
6
+ import { CtaBlock as R } from "../CtaBlock/CtaBlock.js";
5
7
  import { StringList as X } from "../StringList/StringList.js";
6
- import { p as R } from "../../index-B0ARwqly.mjs";
7
- import { classes as d } from "../../utils/helpers.js";
8
- import { s as Y } from "../../sub-CkNH5u-l.mjs";
9
- import { f as _ } from "../../format-plq8pBNY.mjs";
8
+ import { s as Y } from "../../sub-CoUmnfhv.mjs";
9
+ import { f as _ } from "../../format-YhWt2D8M.mjs";
10
10
  import '../../assets/ProgramAirdate.css';const i = {
11
11
  "program-airdate": "_program-airdate_et1s5_1",
12
12
  "program-airdate__descriptor": "_program-airdate__descriptor_et1s5_5",
@@ -62,7 +62,7 @@ function re({
62
62
  WebkitMaskImage: (B = (x = (M = e.episode.series) == null ? void 0 : M.logo) == null ? void 0 : x.black) != null && B.url && s === "gradient" && l ? `url('${(T = (P = (I = e.episode.series) == null ? void 0 : I.logo) == null ? void 0 : P.black) == null ? void 0 : T.url}')` : null
63
63
  },
64
64
  children: [
65
- (D = (A = (j = e.episode.series) == null ? void 0 : j.logo) == null ? void 0 : A.black) != null && D.url && l ? /* @__PURE__ */ o("span", { className: "sr-only", children: e.episode.series.name.replace(/<br\s*\/?>/i, " ") }) : /* @__PURE__ */ o("span", { children: R(e.episode.series.name) }),
65
+ (D = (A = (j = e.episode.series) == null ? void 0 : j.logo) == null ? void 0 : A.black) != null && D.url && l ? /* @__PURE__ */ o("span", { className: "sr-only", children: e.episode.series.name.replace(/<br\s*\/?>/i, " ") }) : /* @__PURE__ */ o("span", { children: Q(e.episode.series.name) }),
66
66
  s !== "gradient" && ((z = (q = (W = e.episode.series) == null ? void 0 : W.logo) == null ? void 0 : q.black) == null ? void 0 : z.url) && l && /* @__PURE__ */ o(
67
67
  "img",
68
68
  {
@@ -75,7 +75,7 @@ function re({
75
75
  }
76
76
  ),
77
77
  /* @__PURE__ */ o(
78
- Q,
78
+ R,
79
79
  {
80
80
  content: /* @__PURE__ */ o(V, { list: [
81
81
  `<strong>${h}</strong><br/>`,
@@ -118,11 +118,11 @@ function re({
118
118
  i["program-airdate--missing-logo"]
119
119
  ]),
120
120
  "data-style": s,
121
- children: /* @__PURE__ */ o("span", { children: R(e.name) })
121
+ children: /* @__PURE__ */ o("span", { children: Q(e.name) })
122
122
  }
123
123
  ),
124
124
  /* @__PURE__ */ o(
125
- Q,
125
+ R,
126
126
  {
127
127
  content: `<strong>${h}</strong>`,
128
128
  type: "internal-link",
@@ -1,38 +1,36 @@
1
- import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { useRef as _, useEffect as s } from "react";
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
+ import { useRef as m, useEffect as l } from "react";
3
3
  import '../../assets/PromotionBlock.css';const o = {
4
4
  "promo-image": "_promo-image_1nlw7_12",
5
5
  "promo-image__text": "_promo-image__text_1nlw7_33",
6
6
  "promo-copy": "_promo-copy_1nlw7_38",
7
7
  "promo-image--animate": "_promo-image--animate_1nlw7_44",
8
- "promo-slide-in-left": "_promo-slide-in-left_1nlw7_1",
9
8
  "promo-copy--animate": "_promo-copy--animate_1nlw7_51",
10
- "promo-slide-in-right": "_promo-slide-in-right_1nlw7_1",
11
9
  "promo-copy__header": "_promo-copy__header_1nlw7_59",
12
10
  "promo-copy__description": "_promo-copy__description_1nlw7_64",
13
11
  "promo-copy__link": "_promo-copy__link_1nlw7_65"
14
12
  };
15
- function f({ image: t, promo: r }) {
16
- const a = _(), n = _(), c = (i, p) => {
17
- i.forEach((l) => {
18
- l.isIntersecting && (a.current.classList.add(`${o["promo-copy--animate"]}`), n.current.classList.add(`${o["promo-image--animate"]}`), p.unobserve(n.current));
13
+ function f({ image: a, promo: r }) {
14
+ const i = m(), n = m(), p = (t, _) => {
15
+ t.forEach((s) => {
16
+ s.isIntersecting && (i.current.classList.add(`${o["promo-copy--animate"]}`), n.current.classList.add(`${o["promo-image--animate"]}`), _.unobserve(n.current));
19
17
  });
20
18
  };
21
- return s(() => {
22
- const i = new IntersectionObserver(c, {
19
+ return l(() => {
20
+ const t = new IntersectionObserver(p, {
23
21
  root: null,
24
22
  rootMargin: "0px",
25
23
  threshold: 0.1
26
24
  });
27
- return i.observe(n.current), () => {
28
- i.disconnect();
25
+ return t.observe(n.current), () => {
26
+ t.disconnect();
29
27
  };
30
- }, []), /* @__PURE__ */ m("promotion-block", { children: [
31
- /* @__PURE__ */ m("div", { className: o["promo-image"], ref: n, children: [
32
- /* @__PURE__ */ e("span", { className: o["promo-image__text"], children: t.text }),
33
- /* @__PURE__ */ e("promo-image", { children: /* @__PURE__ */ e("a", { href: r.href, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e("img", { src: t.url, alt: t.altText }) }) })
28
+ }, []), /* @__PURE__ */ c("promotion-block", { children: [
29
+ /* @__PURE__ */ c("div", { className: o["promo-image"], ref: n, children: [
30
+ /* @__PURE__ */ e("span", { className: o["promo-image__text"], children: a.text }),
31
+ /* @__PURE__ */ e("promo-image", { children: /* @__PURE__ */ e("a", { href: r.href, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e("img", { src: a.url, alt: a.altText }) }) })
34
32
  ] }),
35
- /* @__PURE__ */ m("div", { className: o["promo-copy"], ref: a, children: [
33
+ /* @__PURE__ */ c("div", { className: o["promo-copy"], ref: i, children: [
36
34
  /* @__PURE__ */ e("h4", { className: o["promo-copy__header"], children: r.header }),
37
35
  /* @__PURE__ */ e("p", { className: o["promo-copy__description"], children: r.description }),
38
36
  /* @__PURE__ */ e("a", { className: o["promo-copy__link"], href: r.href, target: "_blank", rel: "noreferrer", children: r.linkText })
@@ -1,10 +1,10 @@
1
1
  import { jsxs as h, jsx as a, Fragment as S } from "react/jsx-runtime";
2
2
  import { useState as R, useEffect as x } from "react";
3
- import { PromotionsRowBlock as I } from "../PromotionsRowBlock/PromotionsRowBlock.js";
4
- import { ImageCard as b } from "../ImageCard/ImageCard.js";
5
- import { Carousel as B } from "../Carousel/Carousel.js";
3
+ import { classes as I } from "../../utils/helpers.js";
4
+ import { PromotionsRowBlock as b } from "../PromotionsRowBlock/PromotionsRowBlock.js";
5
+ import { ImageCard as B } from "../ImageCard/ImageCard.js";
6
+ import { Carousel as G } from "../Carousel/Carousel.js";
6
7
  import { CtaBlock as v } from "../CtaBlock/CtaBlock.js";
7
- import { classes as G } from "../../utils/helpers.js";
8
8
  import '../../assets/PromotionsRowModule.css';const P = {
9
9
  paginationType: "dots",
10
10
  showControls: !0,
@@ -63,11 +63,11 @@ function T({ title: d = "", promos: n = [], handleClicks: o = null }) {
63
63
  n.length > 4 && t(n);
64
64
  }, [n, o]), n.length <= 4)
65
65
  return /* @__PURE__ */ h("section", { className: "promotions-row", children: [
66
- /* @__PURE__ */ a("h2", { className: G(["h2", "promotions-row__header"]), children: d }),
67
- /* @__PURE__ */ a(I, { gap: "2rem", children: n.map((t) => {
66
+ /* @__PURE__ */ a("h2", { className: I(["h2", "promotions-row__header"]), children: d }),
67
+ /* @__PURE__ */ a(b, { gap: "2rem", children: n.map((t) => {
68
68
  var r, c, e, l, i, s, C, f, g;
69
69
  return /* @__PURE__ */ a(
70
- b,
70
+ B,
71
71
  {
72
72
  classname: t == null ? void 0 : t.classname,
73
73
  image: t.image,
@@ -97,7 +97,7 @@ function T({ title: d = "", promos: n = [], handleClicks: o = null }) {
97
97
  if (n.length > 4 && u.length) return /* @__PURE__ */ h(S, { children: [
98
98
  /* @__PURE__ */ a("h1", { className: ["h3", "promotions-row__header"].join(" "), children: d }),
99
99
  /* @__PURE__ */ a(
100
- B,
100
+ G,
101
101
  {
102
102
  title: !0,
103
103
  slides: u,
@@ -1,23 +1,23 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import "react";
3
- import { ResultsTableBody as m } from "../ResultsTableBody/ResultsTableBody.js";
4
- import { ResultsTableHeader as i } from "../ResultsTableHeader/ResultsTableHeader.js";
5
- import { classes as p } from "../../utils/helpers.js";
6
- import { s as e } from "../../ResultsTable.module-nTlGw9Lh.mjs";
3
+ import { classes as m } from "../../utils/helpers.js";
4
+ import { ResultsTableBody as i } from "../ResultsTableBody/ResultsTableBody.js";
5
+ import { ResultsTableHeader as p } from "../ResultsTableHeader/ResultsTableHeader.js";
6
+ import { s as e } from "../../ResultsTable.module-B7M9y7hd.mjs";
7
7
  function x({
8
8
  columns: s = [],
9
9
  results: l = [],
10
10
  noResultsMsg: a = "No results were returned",
11
11
  compactLayout: r = !1
12
12
  }) {
13
- return /* @__PURE__ */ o("div", { className: p([
13
+ return /* @__PURE__ */ o("div", { className: m([
14
14
  e["results-table"],
15
15
  e["fade-in__wrapper"],
16
16
  r ? e["results-table--compact"] : "",
17
17
  r ? "results-table--compact" : ""
18
18
  ]), children: [
19
- /* @__PURE__ */ t(i, { columns: s }),
20
- /* @__PURE__ */ t(m, { columns: s, results: l, noResultsMsg: a })
19
+ /* @__PURE__ */ t(p, { columns: s }),
20
+ /* @__PURE__ */ t(i, { columns: s, results: l, noResultsMsg: a })
21
21
  ] });
22
22
  }
23
23
  export {
@@ -1,7 +1,7 @@
1
1
  import { jsx as l, jsxs as _ } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { classes as t } from "../../utils/helpers.js";
4
- import { s as e } from "../../ResultsTable.module-nTlGw9Lh.mjs";
4
+ import { s as e } from "../../ResultsTable.module-B7M9y7hd.mjs";
5
5
  function c({ results: r = [], columns: u = [], noResultsMsg: b = "No results were returned" }) {
6
6
  return r.length > 0 ? r.map((a, i) => /* @__PURE__ */ l(
7
7
  "div",
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import "react";
3
- import { s as r } from "../../ResultsTable.module-nTlGw9Lh.mjs";
3
+ import { s as r } from "../../ResultsTable.module-B7M9y7hd.mjs";
4
4
  function o({ columns: s = [] }) {
5
5
  return /* @__PURE__ */ t("div", { className: [r["results-table__row"], r["results-table__header-row"], "results-table__header-row"].join(" "), children: s.map((e) => /* @__PURE__ */ t(
6
6
  "div",
@@ -3,8 +3,8 @@ import { useState as a, useEffect as f } from "react";
3
3
  import { DateNavigation as x } from "../DateNavigation/DateNavigation.js";
4
4
  import { ScheduleList as w } from "../ScheduleList/ScheduleList.js";
5
5
  import { chunkArray as L, create2WeeksList as S } from "../../utils/date-helpers.js";
6
- import { f as u } from "../../format-plq8pBNY.mjs";
7
- import { s as b } from "../../sub-CkNH5u-l.mjs";
6
+ import { f as u } from "../../format-YhWt2D8M.mjs";
7
+ import { s as b } from "../../sub-CoUmnfhv.mjs";
8
8
  function F({ schedule: o = [], handleScheduleClicks: e = () => !0, handleDateChanged: c = () => !0 }) {
9
9
  const l = (/* @__PURE__ */ new Date()).toLocaleString("en-US", { timeZone: "America/New_York" }), t = new Date(l), [r, d] = a(Number.parseInt(u(t, "H"), 10) < 6 ? b(t, { days: 1 }) : t), g = L(S(), 7), [p, n] = a(!1), [D, i] = a(!1), h = (m) => {
10
10
  i(!0), setTimeout(() => {
@@ -1,9 +1,9 @@
1
1
  import { jsx as _ } from "react/jsx-runtime";
2
2
  import "react";
3
- import { SportsItem as j } from "./schedule-list-items/SportsItem.js";
4
- import { SeriesItem as w } from "./schedule-list-items/SeriesItem.js";
5
- import { MovieItem as $ } from "./schedule-list-items/MovieItem.js";
6
- import { getMinutesFromStr as k } from "../../utils/helpers.js";
3
+ import { getMinutesFromStr as j } from "../../utils/helpers.js";
4
+ import { SportsItem as w } from "./schedule-list-items/SportsItem.js";
5
+ import { SeriesItem as $ } from "./schedule-list-items/SeriesItem.js";
6
+ import { MovieItem as k } from "./schedule-list-items/MovieItem.js";
7
7
  import '../../assets/ScheduleList.css';const g = {
8
8
  "schedule-list__item": "_schedule-list__item_10j6g_1",
9
9
  "schedule-list__airdate": "_schedule-list__airdate_10j6g_12",
@@ -60,35 +60,35 @@ function A({
60
60
  exiting: p = !1
61
61
  }) {
62
62
  return /* @__PURE__ */ _("ul", { className: `${g["schedule-list"]} schedule-list`, "data-state": p ? "exiting" : "idle", children: r.length !== 0 && r.map((i) => {
63
- const a = k(i.element_length), n = f(i).type === "" ? [a, i.rating] : [a, i.rating, "&nbsp;"];
63
+ const a = j(i.element_length), n = f(i).type === "" ? [a, i.rating] : [a, i.rating, "&nbsp;"];
64
64
  return i.program_class === "Episode" ? /* @__PURE__ */ _(
65
- w,
65
+ $,
66
66
  {
67
+ determineCTA: f,
68
+ handleClicks: o,
67
69
  scheduleItem: i,
68
- styles: g,
69
70
  strListArr: n,
70
- handleClicks: o,
71
- determineCTA: f
71
+ styles: g
72
72
  },
73
73
  `schedule-list-${i.id}`
74
74
  ) : i.program_class === "Film" || i.program_class === "Movie" || i.program_class === "Special" ? /* @__PURE__ */ _(
75
- $,
75
+ k,
76
76
  {
77
+ determineCTA: f,
78
+ handleClicks: o,
77
79
  scheduleItem: i,
78
- styles: g,
79
80
  strListArr: n,
80
- handleClicks: o,
81
- determineCTA: f
81
+ styles: g
82
82
  },
83
83
  `schedule-list-${i.id}`
84
84
  ) : i.program_class === "Sports" ? /* @__PURE__ */ _(
85
- j,
85
+ w,
86
86
  {
87
+ determineCTA: f,
88
+ handleClicks: o,
87
89
  scheduleItem: i,
88
- styles: g,
89
90
  strListArr: n,
90
- handleClicks: o,
91
- determineCTA: f
91
+ styles: g
92
92
  },
93
93
  `schedule-list-${i.id}`
94
94
  ) : null;
@@ -1,20 +1,20 @@
1
1
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
2
  import "react";
3
- import { AirDateSegment as f } from "./AirDateSegment.js";
4
- import { ImageCard as l } from "../../ImageCard/ImageCard.js";
5
- import { StringList as e } from "../../StringList/StringList.js";
6
- import { Concat as g } from "../../Concat/Concat.js";
7
- import { classes as C } from "../../../utils/helpers.js";
3
+ import { classes as f } from "../../../utils/helpers.js";
4
+ import { StringList as l } from "../../StringList/StringList.js";
5
+ import { Concat as e } from "../../Concat/Concat.js";
6
+ import { AirDateSegment as g } from "./AirDateSegment.js";
7
+ import { ImageCard as C } from "../../ImageCard/ImageCard.js";
8
8
  function j({ scheduleItem: i, styles: r, handleClicks: a, strListArr: n, determineCTA: p }) {
9
9
  var o;
10
10
  const m = [
11
11
  `<div>${i.program_synopsis}</div>`,
12
- /* @__PURE__ */ t(e, { list: n, separatorType: "pipe" })
12
+ /* @__PURE__ */ t(l, { list: n, separatorType: "pipe" })
13
13
  ];
14
- return /* @__PURE__ */ s("li", { className: C([r["schedule-list__item"], "schedule-list__item"]), children: [
15
- /* @__PURE__ */ t(f, { scheduleItem: i, styles: r }),
14
+ return /* @__PURE__ */ s("li", { className: f([r["schedule-list__item"], "schedule-list__item"]), children: [
15
+ /* @__PURE__ */ t(g, { scheduleItem: i, styles: r }),
16
16
  /* @__PURE__ */ t(
17
- l,
17
+ C,
18
18
  {
19
19
  id: i.id,
20
20
  image: {
@@ -23,7 +23,7 @@ function j({ scheduleItem: i, styles: r, handleClicks: a, strListArr: n, determi
23
23
  aspectRatio: 543 / 305
24
24
  },
25
25
  title: i.program,
26
- content: /* @__PURE__ */ t(g, { list: m }),
26
+ content: /* @__PURE__ */ t(e, { list: m }),
27
27
  cta: p(i),
28
28
  clampContentLines: !0,
29
29
  numberOfLinesToClamp: 5,
@@ -1,22 +1,22 @@
1
1
  import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { classes as l } from "../../../utils/helpers.js";
4
- import { StringList as C } from "../../StringList/StringList.js";
5
- import { AirDateSegment as e } from "./AirDateSegment.js";
6
- import { ImageCard as y } from "../../ImageCard/ImageCard.js";
7
- import { Concat as $ } from "../../Concat/Concat.js";
8
4
  import { determineProgramTitle as n } from "../../../utils/program-helpers.js";
5
+ import { Concat as C } from "../../Concat/Concat.js";
6
+ import { StringList as e } from "../../StringList/StringList.js";
7
+ import { AirDateSegment as y } from "./AirDateSegment.js";
8
+ import { ImageCard as $ } from "../../ImageCard/ImageCard.js";
9
9
  function N({ scheduleItem: i, styles: o, strListArr: a, handleClicks: p, determineCTA: m }) {
10
10
  var t;
11
11
  const s = i.episode_number ? `${i.episode_number}:` : "", g = i.program_synopsis !== null ? i.program_synopsis : "", _ = [
12
12
  i.title_name.trim() !== n(i).trim() ? `<div>${s} ${i.title_name}</div>` : "",
13
13
  i.program_synopsis !== null ? `<div>${g}</div>` : "",
14
- /* @__PURE__ */ r(C, { list: a, separatorType: "pipe" })
14
+ /* @__PURE__ */ r(e, { list: a, separatorType: "pipe" })
15
15
  ];
16
16
  return /* @__PURE__ */ f("li", { className: l([o["schedule-list__item"], "schedule-list__item"]), children: [
17
- /* @__PURE__ */ r(e, { scheduleItem: i, styles: o }),
17
+ /* @__PURE__ */ r(y, { scheduleItem: i, styles: o }),
18
18
  /* @__PURE__ */ r(
19
- y,
19
+ $,
20
20
  {
21
21
  id: i.id,
22
22
  image: {
@@ -25,7 +25,7 @@ function N({ scheduleItem: i, styles: o, strListArr: a, handleClicks: p, determi
25
25
  aspectRatio: 543 / 305
26
26
  },
27
27
  title: n(i),
28
- content: /* @__PURE__ */ r($, { list: _ }),
28
+ content: /* @__PURE__ */ r(C, { list: _ }),
29
29
  cta: m(i),
30
30
  clampContentLines: !0,
31
31
  numberOfLinesToClamp: 5,
@@ -1,20 +1,20 @@
1
1
  import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { classes as l } from "../../../utils/helpers.js";
4
- import { StringList as e } from "../../StringList/StringList.js";
5
- import { AirDateSegment as f } from "./AirDateSegment.js";
6
- import { ImageCard as g } from "../../ImageCard/ImageCard.js";
7
- import { Concat as C } from "../../Concat/Concat.js";
4
+ import { Concat as e } from "../../Concat/Concat.js";
5
+ import { StringList as f } from "../../StringList/StringList.js";
6
+ import { AirDateSegment as g } from "./AirDateSegment.js";
7
+ import { ImageCard as C } from "../../ImageCard/ImageCard.js";
8
8
  function j({ scheduleItem: i, styles: r, strListArr: a, handleClicks: n, determineCTA: p }) {
9
9
  var o;
10
10
  const m = [
11
11
  `<div>${i.title_name}</div>`,
12
- /* @__PURE__ */ t(e, { list: a, separatorType: "pipe" })
12
+ /* @__PURE__ */ t(f, { list: a, separatorType: "pipe" })
13
13
  ];
14
14
  return /* @__PURE__ */ s("li", { className: l([r["schedule-list__item"], "schedule-list__item"]), children: [
15
- /* @__PURE__ */ t(f, { scheduleItem: i, styles: r }),
15
+ /* @__PURE__ */ t(g, { scheduleItem: i, styles: r }),
16
16
  /* @__PURE__ */ t(
17
- g,
17
+ C,
18
18
  {
19
19
  id: i.id,
20
20
  image: {
@@ -23,7 +23,7 @@ function j({ scheduleItem: i, styles: r, strListArr: a, handleClicks: n, determi
23
23
  aspectRatio: 543 / 305
24
24
  },
25
25
  title: i.program,
26
- content: /* @__PURE__ */ t(C, { list: m }),
26
+ content: /* @__PURE__ */ t(e, { list: m }),
27
27
  cta: p(i),
28
28
  clampContentLines: !0,
29
29
  numberOfLinesToClamp: 5,
@@ -1,17 +1,14 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
- import s from "react";
3
- import { p as _ } from "../../index-B0ARwqly.mjs";
1
+ import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
+ import a from "react";
3
+ import { p as h } from "../../index-VjANCDXC.mjs";
4
4
  import { classes as n } from "../../utils/helpers.js";
5
- import '../../assets/SectionedContent.css';const i = "_h2_16wib_6", l = "_h3_16wib_6", p = "_h4_16wib_6", d = "_h5_16wib_6", m = "_h6_16wib_6", o = {
5
+ import '../../assets/SectionedContent.css';const i = "_h2_16wib_6", l = "_h3_16wib_6", o = {
6
6
  "sectioned-content__content": "_sectioned-content__content_16wib_1",
7
7
  h2: i,
8
- h3: l,
9
- h4: p,
10
- h5: d,
11
- h6: m
8
+ h3: l
12
9
  };
13
- function g({ sections: c = [] }) {
14
- const h = /* @__PURE__ */ new Map([
10
+ function u({ sections: c = [] }) {
11
+ const r = /* @__PURE__ */ new Map([
15
12
  ["primary", {
16
13
  open: `<h1 class="${n(["h2", o.h2])}">`,
17
14
  close: "</h1>"
@@ -21,12 +18,12 @@ function g({ sections: c = [] }) {
21
18
  close: "</h2>"
22
19
  }]
23
20
  ]);
24
- return /* @__PURE__ */ t("sectioned-content", { children: c.length && c.map((e, r) => e.content !== "" ? /* @__PURE__ */ a(s.Fragment, { children: [
25
- _(h.get(e.header.type).open + e.header.title + h.get(e.header.type).close),
26
- /* @__PURE__ */ t("div", { className: n([o["sectioned-content__content"], "sectioned-content__content"]), children: typeof e.content == "string" ? _(e.content) : e.content })
27
- ] }, `section-${e.title}-${r}`) : /* @__PURE__ */ t(s.Fragment, {}, `section--${r}`)) });
21
+ return /* @__PURE__ */ t("sectioned-content", { children: c.length && c.map((e, s) => e.content !== "" ? /* @__PURE__ */ _(a.Fragment, { children: [
22
+ h(r.get(e.header.type).open + e.header.title + r.get(e.header.type).close),
23
+ /* @__PURE__ */ t("div", { className: n([o["sectioned-content__content"], "sectioned-content__content"]), children: typeof e.content == "string" ? h(e.content) : e.content })
24
+ ] }, `section-${e.title}-${s}`) : /* @__PURE__ */ t(a.Fragment, {}, `section--${s}`)) });
28
25
  }
29
26
  export {
30
- g as SectionedContent,
31
- g as default
27
+ u as SectionedContent,
28
+ u as default
32
29
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as c, useRef as j } from "react";
3
- import { s as e, C as k, A as x } from "../../Form.module-DbpB9u1l.mjs";
3
+ import { s as e, C as k, A as x } from "../../Form.module-Cd8qH2rj.mjs";
4
4
  function B({
5
5
  name: i,
6
6
  label: _,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, Fragment as d, jsx as n } from "react/jsx-runtime";
2
2
  import "react";
3
- import { p as i } from "../../index-B0ARwqly.mjs";
3
+ import { p as i } from "../../index-VjANCDXC.mjs";
4
4
  import { classes as s } from "../../utils/helpers.js";
5
5
  import { SectionedContent as p } from "../SectionedContent/SectionedContent.js";
6
6
  import { GenericList as m } from "../GenericList/GenericList.js";
@@ -1,61 +1,60 @@
1
- import { jsx as a, Fragment as s, jsxs as k } from "react/jsx-runtime";
1
+ import { jsx as a, Fragment as s, jsxs as y } from "react/jsx-runtime";
2
2
  import "react";
3
- import { ImageCard as y } from "../ImageCard/ImageCard.js";
4
- import { AdjustableTwoColumnGrid as T } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
5
- import { Concat as u } from "../Concat/Concat.js";
3
+ import { getHoursMinsStr as k, classes as u } from "../../utils/helpers.js";
4
+ import { Concat as c } from "../Concat/Concat.js";
6
5
  import { StringList as o } from "../StringList/StringList.js";
7
- import { ShowAboutContent as h } from "../ShowAboutContent/ShowAboutContent.js";
8
- import { getHoursMinsStr as x, classes as c } from "../../utils/helpers.js";
6
+ import { ImageCard as T } from "../ImageCard/ImageCard.js";
7
+ import { AdjustableTwoColumnGrid as h } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
8
+ import { ShowAboutContent as x } from "../ShowAboutContent/ShowAboutContent.js";
9
9
  import '../../assets/ShowAboutLayout.css';const i = {
10
- "series-about-tab": "_series-about-tab_cekq9_1",
11
- "slide-up": "_slide-up_cekq9_1"
10
+ "series-about-tab": "_series-about-tab_cekq9_1"
12
11
  };
13
- function q({
12
+ function F({
14
13
  series: t,
15
- type: e = "series",
14
+ type: n = "series",
16
15
  showUpcoming: p = !1,
17
16
  nextAirdates: g = [],
18
17
  firstColumnWidth: b = "33%",
19
- socialShare: n = {
18
+ socialShare: e = {
20
19
  enabled: !1,
21
20
  url: "",
22
21
  text: "",
23
22
  longtext: ""
24
23
  }
25
24
  }) {
26
- var l, m;
27
- const d = t.cast.map((f) => f.real_name).join(", "), _ = t != null && t.run_time ? x(t.run_time) : "", r = e === "series" ? ["TV Series", t.rating] : [t != null && t.year_released ? t == null ? void 0 : t.year_released : "Film", t.rating, _];
28
- return console.log("social share in ShowAboutLayout: ", n), /* @__PURE__ */ a(s, { children: /* @__PURE__ */ k(T, { classname: c([i["series-about-tab"], "series-about-tab"]), firstColumnWidth: b, children: [
29
- t.detailImage === null ? /* @__PURE__ */ a(u, { list: [
25
+ var m, l;
26
+ const d = t.cast.map((_) => _.real_name).join(", "), f = t != null && t.run_time ? k(t.run_time) : "", r = n === "series" ? ["TV Series", t.rating] : [t != null && t.year_released ? t == null ? void 0 : t.year_released : "Film", t.rating, f];
27
+ return console.log("social share in ShowAboutLayout: ", e), /* @__PURE__ */ a(s, { children: /* @__PURE__ */ y(h, { classname: u([i["series-about-tab"], "series-about-tab"]), firstColumnWidth: b, children: [
28
+ t.detailImage === null ? /* @__PURE__ */ a(c, { list: [
30
29
  typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(o, { list: t.genres, separatorType: "comma", makeBlock: !0 }),
31
30
  /* @__PURE__ */ a(o, { list: r, separatorType: "pipe", makeBlock: !0 })
32
31
  ] }) : /* @__PURE__ */ a(
33
- y,
32
+ T,
34
33
  {
35
34
  image: {
36
- url: (l = t.detailImage) == null ? void 0 : l.url,
37
- aspectRatio: (m = t.detailImage) == null ? void 0 : m.aspectRatio
35
+ url: (m = t.detailImage) == null ? void 0 : m.url,
36
+ aspectRatio: (l = t.detailImage) == null ? void 0 : l.aspectRatio
38
37
  },
39
- content: /* @__PURE__ */ a(u, { list: [
38
+ content: /* @__PURE__ */ a(c, { list: [
40
39
  typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(o, { list: t.genres, separatorType: "comma", makeBlock: !0 }),
41
40
  /* @__PURE__ */ a(o, { list: r, separatorType: "pipe", makeBlock: !0 })
42
41
  ] })
43
42
  }
44
43
  ),
45
- /* @__PURE__ */ a("div", { className: c([i["series-about-tab__content"], "series-about-tab__content"]), children: /* @__PURE__ */ a(
46
- h,
44
+ /* @__PURE__ */ a("div", { className: u([i["series-about-tab__content"], "series-about-tab__content"]), children: /* @__PURE__ */ a(
45
+ x,
47
46
  {
48
47
  series: t,
49
48
  showUpcoming: p,
50
49
  castStr: d,
51
- type: e,
50
+ type: n,
52
51
  nextAirDates: g,
53
- socialShare: n
52
+ socialShare: e
54
53
  }
55
54
  ) })
56
55
  ] }) });
57
56
  }
58
57
  export {
59
- q as ShowAboutLayout,
60
- q as default
58
+ F as ShowAboutLayout,
59
+ F as default
61
60
  };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as b, jsx as p } from "react/jsx-runtime";
2
2
  import l, { forwardRef as v } from "react";
3
+ import { classes as f } from "../../utils/helpers.js";
3
4
  import _ from "../../icons/Tiktok.js";
4
5
  import j from "../../icons/Twitter.js";
5
- import { classes as f } from "../../utils/helpers.js";
6
6
  import { ImageReplacementAnchor as x } from "../ImageReplacementAnchor/ImageReplacementAnchor.js";
7
- import { F as z } from "../../facebook-osmzgL7R.mjs";
8
- import { P as a } from "../../index-CZzwT3Oj.mjs";
7
+ import { F as z } from "../../facebook-HCcA1M1m.mjs";
8
+ import { P as a } from "../../index-DC2JJV3a.mjs";
9
9
  import '../../assets/SocialLinks.css';function m() {
10
10
  return m = Object.assign || function(e) {
11
11
  for (var i = 1; i < arguments.length; i++) {