@mjhls/mjh-framework 1.0.1082 → 1.0.1083

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 (178) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-2530b9b0.js} +1 -1
  8. package/dist/cjs/ADSkyscraper.js +1 -1
  9. package/dist/cjs/ADSponsoredResources.js +1 -1
  10. package/dist/cjs/ADWebcast.js +1 -1
  11. package/dist/cjs/ADWelcome.js +1 -1
  12. package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-df49ed95.js} +1 -1
  13. package/dist/cjs/AdSlot.js +1 -1
  14. package/dist/cjs/AdSlotsProvider.js +1 -1
  15. package/dist/cjs/AlgoliaSearch.js +532 -248
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleProgramLandingPage.js +4 -4
  18. package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
  19. package/dist/cjs/ArticleSeriesListing.js +2 -2
  20. package/dist/cjs/AuthWrapper.js +266 -642
  21. package/dist/cjs/CEDeckSupabase.js +2 -6
  22. package/dist/cjs/CMEDeck.js +2 -6
  23. package/dist/cjs/Column3.js +1 -1
  24. package/dist/cjs/ConferenceArticleCard.js +1 -1
  25. package/dist/cjs/ContentCardPaginated.js +3 -3
  26. package/dist/cjs/DeckContent.js +3 -3
  27. package/dist/cjs/DeckQueue.js +2 -2
  28. package/dist/cjs/DeckQueuePaginated.js +2 -2
  29. package/dist/cjs/EventsDeck.js +3 -3
  30. package/dist/cjs/ExternalResources.js +5 -5
  31. package/dist/cjs/Feature.js +1 -1
  32. package/dist/cjs/ForbesHero.js +1 -1
  33. package/dist/cjs/GridContent.js +4 -4
  34. package/dist/cjs/GridContentPaginated.js +4 -4
  35. package/dist/cjs/GridHero.js +1 -1
  36. package/dist/cjs/HamMagazine.js +2 -2
  37. package/dist/cjs/HighlightenVideo.js +1 -1
  38. package/dist/cjs/HorizontalArticleListing.js +4 -4
  39. package/dist/cjs/HorizontalHero.js +1 -1
  40. package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
  41. package/dist/cjs/IssueContentDeck.js +1 -1
  42. package/dist/cjs/IssueLanding.js +6 -6
  43. package/dist/cjs/LeftNav.js +1 -1
  44. package/dist/cjs/MasterDeck.js +4 -4
  45. package/dist/cjs/MasterDeckPaginated.js +3 -3
  46. package/dist/cjs/MediaSeriesCard.js +4 -4
  47. package/dist/cjs/MediaSeriesLanding.js +9 -9
  48. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
  49. package/dist/cjs/NavMagazine.js +2 -2
  50. package/dist/cjs/NavNative.js +1 -1
  51. package/dist/cjs/OncliveHero.js +1 -1
  52. package/dist/cjs/OncliveLargeHero.js +1 -1
  53. package/dist/cjs/PartnerDetailListing.js +7 -8
  54. package/dist/cjs/PartnerDetailListingPaginated.js +7 -8
  55. package/dist/cjs/PodcastsLanding.js +7 -7
  56. package/dist/cjs/PtceDeck.js +1 -1
  57. package/dist/cjs/PubSection.js +4 -4
  58. package/dist/cjs/QueueDeckExpanded.js +4 -4
  59. package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
  60. package/dist/cjs/RelatedContent.js +1 -1
  61. package/dist/cjs/SeriesListingDeck.js +2 -2
  62. package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a8b51591.js} +1 -1
  63. package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-9d272141.js} +1 -1
  64. package/dist/cjs/TaxonomyDescription.js +4 -4
  65. package/dist/cjs/TemplateNormal.js +2 -2
  66. package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-66c1a867.js} +159 -85
  67. package/dist/cjs/Ustream.js +1 -1
  68. package/dist/cjs/VerticalHero.js +1 -1
  69. package/dist/cjs/VideoProgramLandingPage.js +4 -4
  70. package/dist/cjs/VideoSeriesCard.js +1 -1
  71. package/dist/cjs/VideoSeriesLandingPage.js +4 -4
  72. package/dist/cjs/VideoSeriesListing.js +2 -2
  73. package/dist/cjs/View.js +30 -16
  74. package/dist/cjs/YahooHero.js +1 -1
  75. package/dist/cjs/YoutubeGroup.js +1 -1
  76. package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-35faab67.js} +3 -3
  77. package/dist/cjs/getRelatedArticle.js +33 -15
  78. package/dist/cjs/getSerializers.js +4 -4
  79. package/dist/cjs/{index-4fdedd6a.js → index-1d905301.js} +234 -15
  80. package/dist/cjs/index-4d21663c.js +1573 -0
  81. package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
  82. package/dist/cjs/index.js +11 -13
  83. package/dist/cjs/{main-ae8472f3.js → main-812888f1.js} +1 -1
  84. package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
  85. package/dist/cjs/timeDifferenceCalc.js +1 -1
  86. package/dist/esm/AD300x250.js +1 -1
  87. package/dist/esm/AD300x250x600.js +1 -1
  88. package/dist/esm/AD728x90.js +1 -1
  89. package/dist/esm/ADFloatingFooter.js +1 -1
  90. package/dist/esm/ADGutter.js +1 -1
  91. package/dist/esm/{ADInfeed-41bba2c6.js → ADInfeed-92953c60.js} +1 -1
  92. package/dist/esm/ADSkyscraper.js +1 -1
  93. package/dist/esm/ADSponsoredResources.js +1 -1
  94. package/dist/esm/ADWebcast.js +1 -1
  95. package/dist/esm/ADWelcome.js +1 -1
  96. package/dist/esm/{ADlgInfeed-3c717ece.js → ADlgInfeed-338ff48c.js} +1 -1
  97. package/dist/esm/AdSlot.js +1 -1
  98. package/dist/esm/AdSlotsProvider.js +1 -1
  99. package/dist/esm/AlgoliaSearch.js +531 -247
  100. package/dist/esm/ArticleCarousel.js +1 -1
  101. package/dist/esm/ArticleProgramLandingPage.js +4 -4
  102. package/dist/esm/ArticleSeriesLandingPage.js +4 -4
  103. package/dist/esm/ArticleSeriesListing.js +2 -2
  104. package/dist/esm/AuthWrapper.js +263 -639
  105. package/dist/esm/CEDeckSupabase.js +2 -6
  106. package/dist/esm/CMEDeck.js +2 -6
  107. package/dist/esm/Column3.js +1 -1
  108. package/dist/esm/ConferenceArticleCard.js +1 -1
  109. package/dist/esm/ContentCardPaginated.js +3 -3
  110. package/dist/esm/DeckContent.js +3 -3
  111. package/dist/esm/DeckQueue.js +2 -2
  112. package/dist/esm/DeckQueuePaginated.js +2 -2
  113. package/dist/esm/EventsDeck.js +3 -3
  114. package/dist/esm/ExternalResources.js +5 -5
  115. package/dist/esm/Feature.js +1 -1
  116. package/dist/esm/ForbesHero.js +1 -1
  117. package/dist/esm/GridContent.js +4 -4
  118. package/dist/esm/GridContentPaginated.js +4 -4
  119. package/dist/esm/GridHero.js +1 -1
  120. package/dist/esm/HamMagazine.js +2 -2
  121. package/dist/esm/HighlightenVideo.js +1 -1
  122. package/dist/esm/HorizontalArticleListing.js +4 -4
  123. package/dist/esm/HorizontalHero.js +1 -1
  124. package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-801685f8.js} +157 -117
  125. package/dist/esm/IssueContentDeck.js +1 -1
  126. package/dist/esm/IssueLanding.js +6 -6
  127. package/dist/esm/LeftNav.js +1 -1
  128. package/dist/esm/MasterDeck.js +4 -4
  129. package/dist/esm/MasterDeckPaginated.js +3 -3
  130. package/dist/esm/MediaSeriesCard.js +4 -4
  131. package/dist/esm/MediaSeriesLanding.js +9 -9
  132. package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
  133. package/dist/esm/NavMagazine.js +2 -2
  134. package/dist/esm/NavNative.js +1 -1
  135. package/dist/esm/OncliveHero.js +1 -1
  136. package/dist/esm/OncliveLargeHero.js +1 -1
  137. package/dist/esm/Pagination-9fe9f61d.js +1 -1
  138. package/dist/esm/PartnerDetailListing.js +7 -8
  139. package/dist/esm/PartnerDetailListingPaginated.js +7 -8
  140. package/dist/esm/PodcastsLanding.js +7 -7
  141. package/dist/esm/PtceDeck.js +1 -1
  142. package/dist/esm/PubSection.js +4 -4
  143. package/dist/esm/QueueDeckExpanded.js +4 -4
  144. package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
  145. package/dist/esm/RelatedContent.js +1 -1
  146. package/dist/esm/SeriesListingDeck.js +2 -2
  147. package/dist/esm/{SeriesSlider-acbdf4c9.js → SeriesSlider-5757414b.js} +1 -1
  148. package/dist/esm/{SocialSearchComponent-9e65c8d6.js → SocialSearchComponent-98bfc990.js} +1 -1
  149. package/dist/esm/TaxonomyDescription.js +4 -4
  150. package/dist/esm/TemplateNormal.js +2 -2
  151. package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-0b3b4558.js} +318 -244
  152. package/dist/esm/Ustream.js +1 -1
  153. package/dist/esm/VerticalHero.js +1 -1
  154. package/dist/esm/VideoProgramLandingPage.js +4 -4
  155. package/dist/esm/VideoSeriesCard.js +1 -1
  156. package/dist/esm/VideoSeriesLandingPage.js +4 -4
  157. package/dist/esm/VideoSeriesListing.js +2 -2
  158. package/dist/esm/View.js +30 -16
  159. package/dist/esm/YahooHero.js +1 -1
  160. package/dist/esm/YoutubeGroup.js +1 -1
  161. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
  162. package/dist/esm/getRelatedArticle.js +34 -16
  163. package/dist/esm/getSerializers.js +4 -4
  164. package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
  165. package/dist/esm/{index-de2bb37c.js → index-517a7573.js} +234 -15
  166. package/dist/esm/index-887c1f5e.js +1571 -0
  167. package/dist/esm/index.js +11 -13
  168. package/dist/esm/{main-754d4992.js → main-dde1592e.js} +1 -1
  169. package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
  170. package/dist/esm/timeDifferenceCalc.js +1 -1
  171. package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
  172. package/package.json +1 -1
  173. package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
  174. package/dist/cjs/index-96c331fd.js +0 -1572
  175. package/dist/cjs/typeof-1358762e.js +0 -33
  176. package/dist/esm/defineProperty-23a8f8cd.js +0 -68
  177. package/dist/esm/index-30a6257d.js +0 -1570
  178. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1eb
2
2
  import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
3
3
  import React__default, { useState, useRef, useEffect } from 'react';
4
4
  import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
5
- import { m as main_43 } from './main-754d4992.js';
5
+ import { m as main_43 } from './main-dde1592e.js';
6
6
  import './_commonjsHelpers-0c4b6f40.js';
7
7
  import './core.get-iterator-method-95db387d.js';
8
8
  import './web.dom.iterable-3fffc027.js';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import './moment-bc12cb97.js';
2
+ import './moment-48faeb9c.js';
3
3
  import urlFor from './urlFor.js';
4
4
  import './_commonjsHelpers-0c4b6f40.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Form from 'react-bootstrap/Form';
7
7
  import Button from 'react-bootstrap/Button';
8
- import { g as getSerializers } from './index-de2bb37c.js';
8
+ import { g as getSerializers } from './index-517a7573.js';
9
9
  import VideoSeriesListing from './VideoSeriesListing.js';
10
10
  import './_commonjsHelpers-0c4b6f40.js';
11
11
  import './core.get-iterator-method-95db387d.js';
@@ -24,13 +24,13 @@ import './index-c7e2ac95.js';
24
24
  import './Beam.js';
25
25
  import './stringify-1e2a5946.js';
26
26
  import './Segment.js';
27
- import './main-754d4992.js';
27
+ import './main-dde1592e.js';
28
28
  import './urlForFile-2e523b67.js';
29
29
  import './index-755f2cc2.js';
30
30
  import 'react-dom';
31
31
  import './typeof-3ab7d3b6.js';
32
32
  import './_is-array-68c79b29.js';
33
- import './brightcove-react-player-loader.es-57a70a56.js';
33
+ import './brightcove-react-player-loader.es-a2422c4b.js';
34
34
  import './_object-to-array-9dfdfb29.js';
35
35
  import './keys-185288f4.js';
36
36
  import './_object-sap-14bd8e96.js';
@@ -38,7 +38,7 @@ import 'react-bootstrap/Modal';
38
38
  import 'react-ga';
39
39
  import './GroupDeck.js';
40
40
  import './smoothscroll-fa4e3f8c.js';
41
- import './moment-bc12cb97.js';
41
+ import './moment-48faeb9c.js';
42
42
  import './SocialShare.js';
43
43
  import 'next/head';
44
44
  import 'react-share';
@@ -2,7 +2,7 @@ import { _ as _typeof } from './typeof-3ab7d3b6.js';
2
2
  import React__default from 'react';
3
3
  import { L as LazyLoad } from './index-755f2cc2.js';
4
4
  import urlFor from './urlFor.js';
5
- import { m as moment } from './moment-bc12cb97.js';
5
+ import { m as moment } from './moment-48faeb9c.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import 'prop-types';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
@@ -1,7 +1,7 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
2
  import { _ as _typeof } from './typeof-3ab7d3b6.js';
3
3
  import React__default from 'react';
4
- import { m as moment } from './moment-bc12cb97.js';
4
+ import { m as moment } from './moment-48faeb9c.js';
5
5
  import { g as getYoutubeId } from './index-c7e2ac95.js';
6
6
  import Breadcrumbs from './Breadcrumbs.js';
7
7
  import MasterDeck from './MasterDeck.js';
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
35
35
  import './visibility-sensor-72fd8f8b.js';
36
36
  import 'react-dom';
37
37
  import './index-3f5c03b2.js';
38
- import './ADlgInfeed-3c717ece.js';
38
+ import './ADlgInfeed-338ff48c.js';
39
39
  import './AdSlot.js';
40
40
  import './Beam.js';
41
41
  import './stringify-1e2a5946.js';
42
42
  import './Segment.js';
43
- import './main-754d4992.js';
44
- import './ADInfeed-41bba2c6.js';
43
+ import './main-dde1592e.js';
44
+ import './ADInfeed-92953c60.js';
45
45
  import './index-755f2cc2.js';
46
46
  import './urlFor.js';
47
47
  import './style-inject.es-1f59c1d0.js';
@@ -5,7 +5,7 @@ import { l as lib_3 } from './index-5cc7b406.js';
5
5
  import Container from 'react-bootstrap/Container';
6
6
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
7
7
  import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
8
- import { m as moment } from './moment-bc12cb97.js';
8
+ import { m as moment } from './moment-48faeb9c.js';
9
9
  import { withRouter } from 'next/router';
10
10
  import YoutubeGroup from './YoutubeGroup.js';
11
11
  import { d as debounce_1 } from './debounce-533d9748.js';
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
27
27
  import './smoothscroll-fa4e3f8c.js';
28
28
  import './urlFor.js';
29
29
  import './index-3f5c03b2.js';
30
- import './main-754d4992.js';
30
+ import './main-dde1592e.js';
31
31
  import './isSymbol-a7e9aafe.js';
32
32
  import './toNumber-5aeba6e7.js';
33
33
 
package/dist/esm/View.js CHANGED
@@ -6,18 +6,18 @@ import Head from 'next/head';
6
6
  import { useRouter } from 'next/router';
7
7
  import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
8
8
  import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
9
- import { m as moment } from './moment-bc12cb97.js';
9
+ import { m as moment } from './moment-48faeb9c.js';
10
10
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
11
- import { m as main_43 } from './main-754d4992.js';
11
+ import { m as main_43 } from './main-dde1592e.js';
12
12
  import 'react-bootstrap/Dropdown';
13
13
  import Form from 'react-bootstrap/Form';
14
14
  import FormControl from 'react-bootstrap/FormControl';
15
15
  import Button from 'react-bootstrap/Button';
16
16
  import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
17
17
  import SocialShare from './SocialShare.js';
18
- import { r as renderAuthor, g as getSerializers } from './index-de2bb37c.js';
18
+ import { r as renderAuthor, g as getSerializers } from './index-517a7573.js';
19
19
  import DFPAdSlot from './AdSlot.js';
20
- import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
20
+ import { S as SeriesSlider } from './SeriesSlider-5757414b.js';
21
21
  import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
22
22
  import getKeywords from './getKeywords.js';
23
23
  import urlFor from './urlFor.js';
@@ -49,7 +49,7 @@ import 'react-bootstrap';
49
49
  import './index-c7e2ac95.js';
50
50
  import './Beam.js';
51
51
  import './Segment.js';
52
- import './brightcove-react-player-loader.es-57a70a56.js';
52
+ import './brightcove-react-player-loader.es-a2422c4b.js';
53
53
  import './_object-to-array-9dfdfb29.js';
54
54
  import 'react-bootstrap/Modal';
55
55
  import 'react-ga';
@@ -114,7 +114,8 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
114
114
  if (typeof url !== 'undefined') {
115
115
  url = url + '/' + docGroup.path;
116
116
  } else {
117
- url = '/' + docGroup.path;
117
+ // url = '/' + docGroup.path
118
+ return null;
118
119
  }
119
120
 
120
121
  return url;
@@ -137,7 +138,8 @@ var getDocumentGroupName = function getDocumentGroupName(docGroup) {
137
138
  if (typeof name !== 'undefined') {
138
139
  name = name + ' | <b>' + docGroup.name + '</b>';
139
140
  } else {
140
- name = '<b>' + docGroup.name + '</b>';
141
+ // name = '<b>' + docGroup.name + '</b>'
142
+ return null;
141
143
  }
142
144
 
143
145
  return name && typeof name != 'undefined' ? name : null;
@@ -187,7 +189,7 @@ var DocumentGroup = function DocumentGroup(_ref) {
187
189
  { style: { textAlign: 'center', fontWeight: 600 } },
188
190
  article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].parent && article.documentGroupMapping[0].parent.parent && article.documentGroupMapping[0].parent.parent.contextText ? article.documentGroupMapping[0].parent.parent.contextText : article.documentGroup && article.documentGroup.parent && article.documentGroup.parent.parent && article.documentGroup.parent.parent.contextText ? article.documentGroup.parent.parent.contextText : null
189
191
  ),
190
- React__default.createElement(
192
+ url && name && React__default.createElement(
191
193
  'a',
192
194
  {
193
195
  href: url,
@@ -1261,12 +1263,23 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1261
1263
  if (documentGroup.isShow === false || documentGroup.excludeRelatedContents) {
1262
1264
  return null;
1263
1265
  }
1264
- if (documentGroup.parent) {
1265
- relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{
1266
- label: documentGroup.name,
1267
- href: cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.parent.identifier && documentGroup.parent.identifier.current && !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path
1268
- }]);
1269
- }
1266
+
1267
+ var doc_url = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.ancestor + '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path : '/' + documentGroup.path;
1268
+ var href = '' + doc_url;
1269
+ relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
1270
+ // if (documentGroup.parent) {
1271
+ // relatedLinks = [
1272
+ // ...relatedLinks,
1273
+ // {
1274
+ // label: documentGroup.name,
1275
+ // href: cpModificationRequired
1276
+ // ? getDocumentGroupUrl(documentGroup)
1277
+ // : documentGroup.parent.identifier && documentGroup.parent.identifier.current && !documentGroup.path.includes('/')
1278
+ // ? `/${documentGroup.parent.identifier.current}/${documentGroup.path}`
1279
+ // : `/${documentGroup.path}`
1280
+ // }
1281
+ // ]
1282
+ // }
1270
1283
  });
1271
1284
  }
1272
1285
  if (content_placement && content_placement.length > 0) {
@@ -1276,7 +1289,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1276
1289
  if (cp.excludeRelatedContents) {
1277
1290
  return null;
1278
1291
  }
1279
- var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.path;
1292
+
1293
+ var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
1280
1294
  var href = '/' + cp_url;
1281
1295
  relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
1282
1296
  });
@@ -1298,7 +1312,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
1298
1312
  { key: index, className: 'related-link' },
1299
1313
  React__default.createElement(
1300
1314
  'a',
1301
- { className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
1315
+ { className: 'related-links article', style: { color: 'blue' }, href: relatedLink.href },
1302
1316
  relatedLink.label
1303
1317
  ),
1304
1318
  React__default.createElement(
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { m as moment } from './moment-bc12cb97.js';
2
+ import { m as moment } from './moment-48faeb9c.js';
3
3
  import urlFor from './urlFor.js';
4
4
  import { c as clean_html_1 } from './entities-6d9154b4.js';
5
5
  import { A as AuthorComponent } from './AuthorComponent-d9653ae5.js';
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
5
5
  import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
- import { m as main_43, a as main_49, b as main_42 } from './main-754d4992.js';
7
+ import { m as main_43, a as main_49, b as main_42 } from './main-dde1592e.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './web.dom.iterable-3fffc027.js';
10
10
  import './core.get-iterator-method-95db387d.js';
@@ -564,7 +564,7 @@ proto.createDocumentFragment = function createDocumentFragment() {
564
564
  };
565
565
 
566
566
  proto.createEvent = function createEvent(family) {
567
- return new event(family)
567
+ return new event()
568
568
  };
569
569
 
570
570
  proto.createComment = function createComment(data) {
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
625
625
 
626
626
  var window_1 = win;
627
627
 
628
- /*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
628
+ /*! @name @brightcove/react-player-loader @version 1.4.2 @license Apache-2.0 */
629
629
 
630
630
  function _extends() {
631
631
  _extends = Object.assign || function (target) {
@@ -2073,7 +2073,7 @@ function (_React$Component) {
2073
2073
 
2074
2074
  _proto.updatePlayer = function updatePlayer(changes) {
2075
2075
  // No player exists, player is disposed, or not using the catalog
2076
- if (!this.player || !this.player.el()) {
2076
+ if (!this.player || !this.player.el || !this.player.el()) {
2077
2077
  return;
2078
2078
  } // If the player is using the catalog plugin, we _may_ populate this
2079
2079
  // variable with an object.
@@ -1,5 +1,5 @@
1
1
  import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
2
- import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
3
3
  import getQuery from './getQuery.js';
4
4
  import './core.get-iterator-method-95db387d.js';
5
5
  import './web.dom.iterable-3fffc027.js';
@@ -29,7 +29,6 @@ var serialize_1 = serialize;
29
29
 
30
30
  var decode = decodeURIComponent;
31
31
  var encode = encodeURIComponent;
32
- var pairSplitRegExp = /; */;
33
32
 
34
33
  /**
35
34
  * RegExp to match field-content in RFC 7230 sec 3.2
@@ -60,28 +59,29 @@ function parse$1(str, options) {
60
59
 
61
60
  var obj = {};
62
61
  var opt = options || {};
63
- var pairs = str.split(pairSplitRegExp);
62
+ var pairs = str.split(';');
64
63
  var dec = opt.decode || decode;
65
64
 
66
65
  for (var i = 0; i < pairs.length; i++) {
67
66
  var pair = pairs[i];
68
- var eq_idx = pair.indexOf('=');
67
+ var index = pair.indexOf('=');
69
68
 
70
69
  // skip things that don't look like key=value
71
- if (eq_idx < 0) {
70
+ if (index < 0) {
72
71
  continue;
73
72
  }
74
73
 
75
- var key = pair.substr(0, eq_idx).trim();
76
- var val = pair.substr(++eq_idx, pair.length).trim();
77
-
78
- // quoted values
79
- if ('"' == val[0]) {
80
- val = val.slice(1, -1);
81
- }
74
+ var key = pair.substring(0, index).trim();
82
75
 
83
76
  // only assign once
84
77
  if (undefined == obj[key]) {
78
+ var val = pair.substring(index + 1, pair.length).trim();
79
+
80
+ // quoted values
81
+ if (val[0] === '"') {
82
+ val = val.slice(1, -1);
83
+ }
84
+
85
85
  obj[key] = tryDecode(val, dec);
86
86
  }
87
87
  }
@@ -225,9 +225,11 @@ function isNonEmptyString(str) {
225
225
 
226
226
  function parseString(setCookieValue, options) {
227
227
  var parts = setCookieValue.split(";").filter(isNonEmptyString);
228
- var nameValue = parts.shift().split("=");
229
- var name = nameValue.shift();
230
- var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
228
+
229
+ var nameValuePairStr = parts.shift();
230
+ var parsed = parseNameValuePair(nameValuePairStr);
231
+ var name = parsed.name;
232
+ var value = parsed.value;
231
233
 
232
234
  options = options
233
235
  ? Object.assign({}, defaultParseOptions, options)
@@ -245,7 +247,7 @@ function parseString(setCookieValue, options) {
245
247
  }
246
248
 
247
249
  var cookie = {
248
- name: name, // grab everything before the first =
250
+ name: name,
249
251
  value: value,
250
252
  };
251
253
 
@@ -271,6 +273,22 @@ function parseString(setCookieValue, options) {
271
273
  return cookie;
272
274
  }
273
275
 
276
+ function parseNameValuePair(nameValuePairStr) {
277
+ // Parses name-value-pair according to rfc6265bis draft
278
+
279
+ var name = "";
280
+ var value = "";
281
+ var nameValueArr = nameValuePairStr.split("=");
282
+ if (nameValueArr.length > 1) {
283
+ name = nameValueArr.shift();
284
+ value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
285
+ } else {
286
+ value = nameValuePairStr;
287
+ }
288
+
289
+ return { name: name, value: value };
290
+ }
291
+
274
292
  function parse(input, options) {
275
293
  options = options
276
294
  ? Object.assign({}, defaultParseOptions, options)
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { g as default } from './index-de2bb37c.js';
2
+ export { g as default } from './index-517a7573.js';
3
3
  import './BlockContent-1e73bd2c.js';
4
4
  import './entities-6d9154b4.js';
5
5
  import './slicedToArray-72ed566b.js';
@@ -21,13 +21,13 @@ import './_library-528f1934.js';
21
21
  import './_set-species-7d3317b7.js';
22
22
  import './_iter-detect-2f89237f.js';
23
23
  import './Segment.js';
24
- import './main-754d4992.js';
24
+ import './main-dde1592e.js';
25
25
  import './urlForFile-2e523b67.js';
26
26
  import './index-755f2cc2.js';
27
27
  import 'react-dom';
28
28
  import './typeof-3ab7d3b6.js';
29
29
  import './_is-array-68c79b29.js';
30
- import './brightcove-react-player-loader.es-57a70a56.js';
30
+ import './brightcove-react-player-loader.es-a2422c4b.js';
31
31
  import './_object-to-array-9dfdfb29.js';
32
32
  import './keys-185288f4.js';
33
33
  import './_object-sap-14bd8e96.js';
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
37
37
  import 'react-ga';
38
38
  import './GroupDeck.js';
39
39
  import './smoothscroll-fa4e3f8c.js';
40
- import './moment-bc12cb97.js';
40
+ import './moment-48faeb9c.js';
41
41
  import './SocialShare.js';
42
42
  import 'next/head';
43
43
  import 'react-share';
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
33
33
  return target;
34
34
  }
35
35
 
36
- function _setPrototypeOf(o, p) {
37
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
38
- o.__proto__ = p;
39
- return o;
40
- };
41
-
42
- return _setPrototypeOf(o, p);
43
- }
44
-
45
36
  var classnames = createCommonjsModule(function (module) {
46
37
  /*!
47
- Copyright (c) 2018 Jed Watson.
38
+ Copyright (c) 2017 Jed Watson.
48
39
  Licensed under the MIT License (MIT), see
49
40
  http://jedwatson.github.io/classnames
50
41
  */
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
54
45
 
55
46
  var hasOwn = {}.hasOwnProperty;
56
47
 
57
- function classNames() {
48
+ function classNames () {
58
49
  var classes = [];
59
50
 
60
51
  for (var i = 0; i < arguments.length; i++) {
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
65
56
 
66
57
  if (argType === 'string' || argType === 'number') {
67
58
  classes.push(arg);
68
- } else if (Array.isArray(arg)) {
69
- if (arg.length) {
70
- var inner = classNames.apply(null, arg);
71
- if (inner) {
72
- classes.push(inner);
73
- }
59
+ } else if (Array.isArray(arg) && arg.length) {
60
+ var inner = classNames.apply(null, arg);
61
+ if (inner) {
62
+ classes.push(inner);
74
63
  }
75
64
  } else if (argType === 'object') {
76
- if (arg.toString === Object.prototype.toString) {
77
- for (var key in arg) {
78
- if (hasOwn.call(arg, key) && arg[key]) {
79
- classes.push(key);
80
- }
65
+ for (var key in arg) {
66
+ if (hasOwn.call(arg, key) && arg[key]) {
67
+ classes.push(key);
81
68
  }
82
- } else {
83
- classes.push(arg.toString());
84
69
  }
85
70
  }
86
71
  }
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
97
82
  }());
98
83
  });
99
84
 
100
- export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
85
+ export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };