@mjhls/mjh-framework 1.0.656 → 1.0.658-masterdeck-loadmore

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 (144) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +4 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/ArticleSeriesListing.js +4 -4
  15. package/dist/cjs/Auth.js +256 -507
  16. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-091a991f.js} +1 -1
  17. package/dist/cjs/CMEDeck.js +5 -5
  18. package/dist/cjs/Column3.js +4 -4
  19. package/dist/cjs/ConferenceArticleCard.js +2 -2
  20. package/dist/cjs/DeckContent.js +7 -7
  21. package/dist/cjs/DeckQueue.js +6 -6
  22. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-f6a18ed2.js} +1 -1
  23. package/dist/cjs/EventsDeck.js +73 -38
  24. package/dist/cjs/ExternalResources.js +7 -7
  25. package/dist/cjs/Feature.js +3 -3
  26. package/dist/cjs/ForbesHero.js +2 -2
  27. package/dist/cjs/GridContent.js +10 -10
  28. package/dist/cjs/GridHero.js +2 -2
  29. package/dist/cjs/GroupDeck.js +1 -1
  30. package/dist/cjs/HamMagazine.js +4 -4
  31. package/dist/cjs/Hero.js +1 -1
  32. package/dist/cjs/HorizontalHero.js +2 -2
  33. package/dist/cjs/IssueContentDeck.js +2 -2
  34. package/dist/cjs/IssueDeck.js +2 -2
  35. package/dist/cjs/IssueLanding.js +7 -7
  36. package/dist/cjs/LeftNav.js +2 -2
  37. package/dist/cjs/MasterDeck.js +73 -41
  38. package/dist/cjs/NavMagazine.js +4 -4
  39. package/dist/cjs/NavNative.js +2 -2
  40. package/dist/cjs/OncliveHero.js +2 -2
  41. package/dist/cjs/OncliveLargeHero.js +2 -2
  42. package/dist/cjs/PartnerDetailListing.js +1212 -15
  43. package/dist/cjs/PublicationDeck.js +1 -1
  44. package/dist/cjs/QueueDeckExpanded.js +9 -9
  45. package/dist/cjs/RecentNews.js +2 -2
  46. package/dist/cjs/RelatedContent.js +2 -2
  47. package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
  48. package/dist/cjs/TaxonomyCard.js +2 -2
  49. package/dist/cjs/TemplateNormal.js +3 -3
  50. package/dist/cjs/ThumbnailCard.js +1 -1
  51. package/dist/cjs/Ustream.js +2 -2
  52. package/dist/cjs/VerticalHero.js +2 -2
  53. package/dist/cjs/VideoSeriesCard.js +2 -2
  54. package/dist/cjs/VideoSeriesListing.js +3 -3
  55. package/dist/cjs/View.js +72 -55
  56. package/dist/cjs/YahooHero.js +2 -2
  57. package/dist/cjs/YoutubeGroup.js +1 -1
  58. package/dist/cjs/getRelatedArticle.js +354 -5
  59. package/dist/cjs/getSerializers.js +6 -6
  60. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-9af0ef69.js} +2 -2
  61. package/dist/cjs/getTargeting.js +1 -1
  62. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  63. package/dist/cjs/index-bd6c9f56.js +211 -0
  64. package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
  65. package/dist/cjs/{index-47e709f6.js → index-c66ea549.js} +450 -462
  66. package/dist/cjs/{index-2d0a4911.js → index-fa8ed292.js} +27 -34
  67. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  68. package/dist/cjs/index.js +15 -16
  69. package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
  70. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  71. package/dist/cjs/urlFor.js +1 -1
  72. package/dist/esm/AD.js +1 -1
  73. package/dist/esm/AD300x250.js +3 -3
  74. package/dist/esm/AD300x250x600.js +3 -3
  75. package/dist/esm/AD728x90.js +4 -4
  76. package/dist/esm/ADFloatingFooter.js +2 -2
  77. package/dist/esm/ADGutter.js +2 -2
  78. package/dist/esm/ADSkyscraper.js +2 -2
  79. package/dist/esm/ADSponsoredResources.js +2 -2
  80. package/dist/esm/ADWebcast.js +2 -2
  81. package/dist/esm/ADWelcome.js +2 -2
  82. package/dist/esm/AdSlot.js +2 -2
  83. package/dist/esm/AdSlotsProvider.js +1 -1
  84. package/dist/esm/ArticleSeriesListing.js +4 -4
  85. package/dist/esm/Auth.js +248 -499
  86. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
  87. package/dist/esm/CMEDeck.js +5 -5
  88. package/dist/esm/Column3.js +4 -4
  89. package/dist/esm/ConferenceArticleCard.js +2 -2
  90. package/dist/esm/DeckContent.js +7 -7
  91. package/dist/esm/DeckQueue.js +6 -6
  92. package/dist/esm/{Dfp-8a8fca18.js → Dfp-96b49def.js} +1 -1
  93. package/dist/esm/EventsDeck.js +73 -38
  94. package/dist/esm/ExternalResources.js +7 -7
  95. package/dist/esm/Feature.js +3 -3
  96. package/dist/esm/ForbesHero.js +2 -2
  97. package/dist/esm/GridContent.js +10 -10
  98. package/dist/esm/GridHero.js +2 -2
  99. package/dist/esm/GroupDeck.js +1 -1
  100. package/dist/esm/HamMagazine.js +4 -4
  101. package/dist/esm/Hero.js +1 -1
  102. package/dist/esm/HorizontalHero.js +2 -2
  103. package/dist/esm/IssueContentDeck.js +2 -2
  104. package/dist/esm/IssueDeck.js +2 -2
  105. package/dist/esm/IssueLanding.js +7 -7
  106. package/dist/esm/LeftNav.js +2 -2
  107. package/dist/esm/MasterDeck.js +73 -41
  108. package/dist/esm/NavMagazine.js +4 -4
  109. package/dist/esm/NavNative.js +2 -2
  110. package/dist/esm/OncliveHero.js +2 -2
  111. package/dist/esm/OncliveLargeHero.js +2 -2
  112. package/dist/esm/PartnerDetailListing.js +1209 -13
  113. package/dist/esm/PublicationDeck.js +1 -1
  114. package/dist/esm/QueueDeckExpanded.js +9 -9
  115. package/dist/esm/RecentNews.js +2 -2
  116. package/dist/esm/RelatedContent.js +2 -2
  117. package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
  118. package/dist/esm/TaxonomyCard.js +2 -2
  119. package/dist/esm/TemplateNormal.js +3 -3
  120. package/dist/esm/ThumbnailCard.js +1 -1
  121. package/dist/esm/Ustream.js +2 -2
  122. package/dist/esm/VerticalHero.js +2 -2
  123. package/dist/esm/VideoSeriesCard.js +2 -2
  124. package/dist/esm/VideoSeriesListing.js +3 -3
  125. package/dist/esm/View.js +45 -28
  126. package/dist/esm/YahooHero.js +2 -2
  127. package/dist/esm/YoutubeGroup.js +1 -1
  128. package/dist/esm/getRelatedArticle.js +354 -5
  129. package/dist/esm/getSerializers.js +6 -6
  130. package/dist/esm/{index-93ec3c59.js → index-0e45a0b2.js} +27 -34
  131. package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
  132. package/dist/esm/{index-ed279e5e.js → index-af4d4efb.js} +450 -462
  133. package/dist/esm/index-db3bb315.js +207 -0
  134. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  135. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  136. package/dist/esm/index.js +13 -14
  137. package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
  138. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  139. package/dist/esm/urlFor.js +1 -1
  140. package/package.json +1 -1
  141. /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-15a7d07f.js} +0 -0
  142. /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-da05bb23.js} +0 -0
  143. /package/dist/esm/{ADInfeed-c27997a3.js → ADInfeed-e10d10a6.js} +0 -0
  144. /package/dist/esm/{ADlgInfeed-41c3909c.js → ADlgInfeed-c5dc4827.js} +0 -0
@@ -5,7 +5,7 @@ import Row from 'react-bootstrap/Row';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Card from 'react-bootstrap/Card';
7
7
  import 'react-dom';
8
- import { i as imageUrlBuilder } from './index-51a80699.js';
8
+ import { i as imageUrlBuilder } from './index-73819142.js';
9
9
  import { L as LazyLoad } from './index-5f9f807a.js';
10
10
  import { l as lodash } from './lodash-17fdfebb.js';
11
11
  import Button from 'react-bootstrap/Button';
@@ -9,19 +9,19 @@ import './_object-pie-71ac75a4.js';
9
9
  import { _ as _extends } from './extends-cc5da797.js';
10
10
  import './web.dom.iterable-8956f9a5.js';
11
11
  import React__default, { useEffect, useState, useRef } from 'react';
12
- import { l as lib_3 } from './index-93ec3c59.js';
12
+ import { l as lib_3 } from './index-0e45a0b2.js';
13
13
  import 'prop-types';
14
14
  import 'react-bootstrap/Card';
15
- import { m as moment } from './moment-12415288.js';
15
+ import { m as moment } from './moment-e2f9b20c.js';
16
16
  import { useRouter } from 'next/router';
17
17
  import './isSymbol-807e927e.js';
18
18
  import './debounce-1a993acf.js';
19
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
19
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
20
20
  import 'react-dom';
21
21
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
22
- import { i as imageUrlBuilder } from './index-51a80699.js';
22
+ import { i as imageUrlBuilder } from './index-73819142.js';
23
23
  import { L as LazyLoad } from './index-5f9f807a.js';
24
- import { m as main_39 } from './main-0465b2a0.js';
24
+ import { m as main_36 } from './main-5d1e4bd3.js';
25
25
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
26
26
  import './stringify-008c8802.js';
27
27
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -29,9 +29,9 @@ import './asyncToGenerator-7c654f36.js';
29
29
  import './_set-species-cede29f8.js';
30
30
  import './beam-681a9749.js';
31
31
  import './AdSlot.js';
32
- import { A as ADInfeed } from './ADInfeed-c27997a3.js';
32
+ import { A as ADInfeed } from './ADInfeed-e10d10a6.js';
33
33
  import { l as lodash } from './lodash-17fdfebb.js';
34
- import { A as ADlgInfeed } from './ADlgInfeed-41c3909c.js';
34
+ import { A as ADlgInfeed } from './ADlgInfeed-c5dc4827.js';
35
35
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
36
36
  import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
37
37
  import { Container, Media } from 'react-bootstrap';
@@ -633,7 +633,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
633
633
  React__default.createElement(
634
634
  'div',
635
635
  null,
636
- main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
636
+ main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
637
637
  )
638
638
  )
639
639
  );
@@ -1028,7 +1028,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
1028
1028
  React__default.createElement(
1029
1029
  'div',
1030
1030
  null,
1031
- main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1031
+ main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1032
1032
  )
1033
1033
  )
1034
1034
  );
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-73819142.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import { a as FaLongArrowAltRight } from './index.esm-9a4c8813.js';
7
7
 
@@ -1,9 +1,9 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
3
  import 'prop-types';
4
- import { m as moment } from './moment-12415288.js';
4
+ import { m as moment } from './moment-e2f9b20c.js';
5
5
  import 'react-dom';
6
- import { i as imageUrlBuilder } from './index-51a80699.js';
6
+ import { i as imageUrlBuilder } from './index-73819142.js';
7
7
  import { L as LazyLoad } from './index-5f9f807a.js';
8
8
  import 'react-bootstrap/Media';
9
9
 
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
- import { d as main_31, a as main_40 } from './main-0465b2a0.js';
2
+ import { d as main_30, a as main_37 } from './main-5d1e4bd3.js';
3
3
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
4
4
  import { I as IconContext } from './iconBase-602d52fe.js';
5
5
  import Button from 'react-bootstrap/Button';
@@ -40,7 +40,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
40
40
  var mastNav = document.querySelector('.nav-brands');
41
41
  var topOffset = 0;
42
42
  // Checking for non-IOS devices before setting the offset position.
43
- if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_31) topOffset = topOffset + mastNav.offsetHeight;
43
+ if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight && !main_30) topOffset = topOffset + mastNav.offsetHeight;
44
44
  if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
45
45
  setTopOffset(topOffset + 2);
46
46
 
@@ -68,14 +68,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
68
68
  var searchBtn = document.getElementsByClassName(selector)[0];
69
69
  if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
70
70
  // Set overflow fix for iPhones safari browsers
71
- if (main_40 || window.innerWidth < 1200 && main_31) {
71
+ if (main_37 || window.innerWidth < 1200 && main_30) {
72
72
  var mainNav = document.querySelector('#navbar-ham');
73
73
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
74
74
  }
75
75
  searchBtn.classList.remove(addOn);
76
76
  } else if (searchBtn && searchBtn.classList) {
77
77
  // Set overflow fix for iPhones safari browsers
78
- if (main_40 || window.innerWidth < 1200 && main_31) {
78
+ if (main_37 || window.innerWidth < 1200 && main_30) {
79
79
  var _mainNav = document.querySelector('#navbar-ham');
80
80
  if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
81
81
  }
@@ -177,7 +177,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
177
177
  React__default.createElement(
178
178
  'style',
179
179
  { jsx: 'true' },
180
- '\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_31 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
180
+ '\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_30 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
181
181
  )
182
182
  );
183
183
  };
@@ -9,9 +9,9 @@ import Row from 'react-bootstrap/Row';
9
9
  import Col from 'react-bootstrap/Col';
10
10
  import Card from 'react-bootstrap/Card';
11
11
  import 'react-dom';
12
- import { i as imageUrlBuilder } from './index-51a80699.js';
12
+ import { i as imageUrlBuilder } from './index-73819142.js';
13
13
  import { L as LazyLoad } from './index-5f9f807a.js';
14
- import { B as BlockContent } from './BlockContent-a614acdf.js';
14
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
15
15
  import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
16
16
 
17
17
  var TaxonomyCard = function TaxonomyCard(props) {
@@ -7,7 +7,7 @@ import './core.get-iterator-method-54d2e411.js';
7
7
  import './define-property-de3fc946.js';
8
8
  import './web.dom.iterable-8956f9a5.js';
9
9
  import React__default, { useState, useEffect } from 'react';
10
- import './index-93ec3c59.js';
10
+ import './index-0e45a0b2.js';
11
11
  import 'prop-types';
12
12
  import Container from 'react-bootstrap/Container';
13
13
  import 'react-bootstrap/Row';
@@ -15,7 +15,7 @@ import 'react-bootstrap/Col';
15
15
  import { useRouter } from 'next/router';
16
16
  import './isSymbol-807e927e.js';
17
17
  import './debounce-1a993acf.js';
18
- import './main-0465b2a0.js';
18
+ import './main-5d1e4bd3.js';
19
19
  import './stringify-008c8802.js';
20
20
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
21
21
  import './asyncToGenerator-7c654f36.js';
@@ -50,7 +50,7 @@ import './NavFooter-e27bd93b.js';
50
50
  import './index.esm-73e847d2.js';
51
51
  import './SocialIcons.js';
52
52
  import 'react-bootstrap/FormControl';
53
- import './SocialSearchComponent-75527dfe.js';
53
+ import './SocialSearchComponent-55960ec4.js';
54
54
  import MagazineNav from './NavMagazine.js';
55
55
  import { NavNative } from './NavNative.js';
56
56
  import './Search.js';
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
3
  import 'prop-types';
4
4
  import 'react-dom';
5
- import { i as imageUrlBuilder } from './index-51a80699.js';
5
+ import { i as imageUrlBuilder } from './index-73819142.js';
6
6
  import { L as LazyLoad } from './index-5f9f807a.js';
7
7
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
8
8
  import Media from 'react-bootstrap/Media';
@@ -4,7 +4,7 @@ import './es6.string.iterator-9b2af4a5.js';
4
4
  import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default, { useState, useRef, useEffect } from 'react';
7
- import { m as main_39 } from './main-0465b2a0.js';
7
+ import { m as main_36 } from './main-5d1e4bd3.js';
8
8
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
9
9
  import './iconBase-602d52fe.js';
10
10
  import { c as IoIosOpen } from './index.esm-85cb09e6.js';
@@ -65,7 +65,7 @@ var Ustream = function Ustream(_ref) {
65
65
  } catch (err) {}
66
66
  }, []);
67
67
  //return nothing if mobile
68
- if (main_39) {
68
+ if (main_36) {
69
69
  return null;
70
70
  }
71
71
  return React__default.createElement(
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-73819142.js';
5
5
 
6
6
  var VerticalHero = function VerticalHero(props) {
7
7
  var client = props.client;
@@ -8,9 +8,9 @@ import { _ as _typeof } from './typeof-08f2c380.js';
8
8
  import './_is-array-49698029.js';
9
9
  import React__default from 'react';
10
10
  import 'prop-types';
11
- import { m as moment } from './moment-12415288.js';
11
+ import { m as moment } from './moment-e2f9b20c.js';
12
12
  import 'react-dom';
13
- import { i as imageUrlBuilder } from './index-51a80699.js';
13
+ import { i as imageUrlBuilder } from './index-73819142.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
15
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
16
16
 
@@ -12,16 +12,16 @@ import './web.dom.iterable-8956f9a5.js';
12
12
  import './typeof-08f2c380.js';
13
13
  import './_is-array-49698029.js';
14
14
  import React__default from 'react';
15
- import { l as lib_3 } from './index-93ec3c59.js';
15
+ import { l as lib_3 } from './index-0e45a0b2.js';
16
16
  import 'prop-types';
17
17
  import Container from 'react-bootstrap/Container';
18
18
  import { withRouter } from 'next/router';
19
19
  import './isSymbol-807e927e.js';
20
20
  import { d as debounce_1 } from './debounce-1a993acf.js';
21
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
21
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
22
22
  import 'react-dom';
23
23
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
24
- import './index-51a80699.js';
24
+ import './index-73819142.js';
25
25
  import './index-5f9f807a.js';
26
26
  import './slicedToArray-7021e5df.js';
27
27
  import './smoothscroll-4b699764.js';
package/dist/esm/View.js CHANGED
@@ -14,19 +14,19 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import { _ as _typeof } from './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default, { useState, useEffect } from 'react';
17
- import { l as lib_3 } from './index-93ec3c59.js';
17
+ import { l as lib_3 } from './index-0e45a0b2.js';
18
18
  import 'prop-types';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
- import { m as moment } from './moment-12415288.js';
21
+ import { m as moment } from './moment-e2f9b20c.js';
22
22
  import { useRouter } from 'next/router';
23
23
  import './isSymbol-807e927e.js';
24
24
  import './debounce-1a993acf.js';
25
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
25
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
26
26
  import 'react-dom';
27
- import './index-51a80699.js';
27
+ import './index-73819142.js';
28
28
  import './index-5f9f807a.js';
29
- import { m as main_39 } from './main-0465b2a0.js';
29
+ import { m as main_36 } from './main-5d1e4bd3.js';
30
30
  import './entities-7cc3bf45.js';
31
31
  import { _ as _JSON$stringify } from './stringify-008c8802.js';
32
32
  import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -34,14 +34,14 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c6
34
34
  import './_set-species-cede29f8.js';
35
35
  import './beam-681a9749.js';
36
36
  import DFPAdSlot from './AdSlot.js';
37
- import { B as BlockContent } from './BlockContent-a614acdf.js';
37
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
38
38
  import './smoothscroll-4b699764.js';
39
39
  import './GroupDeck.js';
40
40
  import 'react-bootstrap';
41
41
  import Button from 'react-bootstrap/Button';
42
42
  import { _ as _defineProperty } from './defineProperty-b798470d.js';
43
43
  import Form from 'react-bootstrap/Form';
44
- import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-ed279e5e.js';
44
+ import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-af4d4efb.js';
45
45
  import './util-7700fc59.js';
46
46
  import './brightcove-react-player-loader.es-83f53e4e.js';
47
47
  import 'react-bootstrap/Pagination';
@@ -52,9 +52,9 @@ import FormControl from 'react-bootstrap/FormControl';
52
52
  import { _ as _Object$keys } from './keys-fc2d4c34.js';
53
53
  import 'react-bootstrap/Dropdown';
54
54
  import getSeriesDetail from './getSeriesDetail.js';
55
- import 'nookies';
56
- import getQuery from './getQuery.js';
55
+ import './index-db3bb315.js';
57
56
  import getRelatedArticle from './getRelatedArticle.js';
57
+ import getQuery from './getQuery.js';
58
58
  import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2acdec91.js';
59
59
  import getKeywords from './getKeywords.js';
60
60
  import urlFor from './urlFor.js';
@@ -135,9 +135,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
135
135
  style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
136
136
  thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
137
137
  !thumbnailUrl && React__default.createElement('p', {
138
- style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
138
+ style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
139
139
  dangerouslySetInnerHTML: { __html: name } }),
140
- main_39 && !thumbnailUrl && React__default.createElement(
140
+ main_36 && !thumbnailUrl && React__default.createElement(
141
141
  'style',
142
142
  { jsx: 'true' },
143
143
  '\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
@@ -334,6 +334,9 @@ var Article = function Article(props) {
334
334
  article.contextualAD = false;
335
335
  showRelatedArticles = false;
336
336
  }
337
+ if (article.disableRelatedContent) {
338
+ showRelatedArticles = false;
339
+ }
337
340
  //This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
338
341
  if (!sponsoredFlag && Ads.getVideoContextualAD) {
339
342
  article.contextualVideoAD = Ads.getVideoContextualAD(getTargeting(props, 'in-context_video'));
@@ -864,7 +867,7 @@ var Article = function Article(props) {
864
867
  React__default.createElement(
865
868
  'div',
866
869
  { className: 'ad-box', style: { textAlign: 'center' } },
867
- main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
870
+ main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
868
871
  if (index === 0) {
869
872
  return React__default.createElement(
870
873
  'div',
@@ -917,21 +920,25 @@ var Article = function Article(props) {
917
920
  )
918
921
  ),
919
922
  React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
920
- React__default.createElement(
921
- 'div',
922
- null,
923
- React__default.createElement(RelevantTopics, null)
924
- ),
925
923
  showRelatedArticles && React__default.createElement(
926
- 'div',
927
- { className: 'pt-2' },
928
- React__default.createElement(RelatedArticle, { articles: article.relatedArticle, client: client })
924
+ React__default.Fragment,
925
+ null,
926
+ React__default.createElement(
927
+ 'div',
928
+ null,
929
+ React__default.createElement(RelevantTopics, null)
930
+ ),
931
+ React__default.createElement(
932
+ 'div',
933
+ { className: 'pt-2' },
934
+ React__default.createElement(RelatedArticle, { articles: article.relatedArticle, client: client })
935
+ )
929
936
  )
930
937
  ),
931
938
  renderIsiContent(props.article)
932
939
  )
933
940
  ),
934
- main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
941
+ main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
935
942
  if (index > 0) {
936
943
  return React__default.createElement(
937
944
  'div',
@@ -1004,7 +1011,7 @@ var ArticleQueue = function ArticleQueue(props) {
1004
1011
  });
1005
1012
  var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
1006
1013
 
1007
- if (!main_39) {
1014
+ if (!main_36) {
1008
1015
  lib_3.getGoogletag().then(function (googletag) {
1009
1016
  if (window.googletag && googletag.pubadsReady) {
1010
1017
  var slots = googletag.pubads().getSlots();
@@ -1022,7 +1029,7 @@ var ArticleQueue = function ArticleQueue(props) {
1022
1029
  });
1023
1030
  }
1024
1031
  //Refresh leaderboard ad on mobile
1025
- if (main_39) {
1032
+ if (main_36) {
1026
1033
  var leaderboardSlotId = '';
1027
1034
  lib_3.getGoogletag().then(function (googletag) {
1028
1035
  if (window.googletag && googletag.pubadsReady) {
@@ -1468,18 +1475,28 @@ View.returnGetInitialProps = function () {
1468
1475
  sponsoredFlag = true;
1469
1476
  }
1470
1477
 
1471
- if (!article) {
1478
+ if (!article.disableRelatedContent) {
1472
1479
  _context.next = 14;
1473
1480
  break;
1474
1481
  }
1475
1482
 
1476
- _context.next = 13;
1483
+ article.relatedArticle = null;
1484
+ _context.next = 18;
1485
+ break;
1486
+
1487
+ case 14:
1488
+ if (!article) {
1489
+ _context.next = 18;
1490
+ break;
1491
+ }
1492
+
1493
+ _context.next = 17;
1477
1494
  return getRelatedArticle(context, client, article, prevUrl, '0..2');
1478
1495
 
1479
- case 13:
1496
+ case 17:
1480
1497
  article.relatedArticle = _context.sent;
1481
1498
 
1482
- case 14:
1499
+ case 18:
1483
1500
  return _context.abrupt('return', {
1484
1501
  url: url,
1485
1502
  sao: sao,
@@ -1490,7 +1507,7 @@ View.returnGetInitialProps = function () {
1490
1507
  sponsoredFlag: sponsoredFlag
1491
1508
  });
1492
1509
 
1493
- case 15:
1510
+ case 19:
1494
1511
  case 'end':
1495
1512
  return _context.stop();
1496
1513
  }
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-12415288.js';
8
+ import { m as moment } from './moment-e2f9b20c.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-51a80699.js';
10
+ import { i as imageUrlBuilder } from './index-73819142.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
13
  import './slicedToArray-7021e5df.js';
@@ -10,7 +10,7 @@ import './_is-array-49698029.js';
10
10
  import React__default, { useRef, useState, useEffect } from 'react';
11
11
  import 'prop-types';
12
12
  import 'react-dom';
13
- import { i as imageUrlBuilder } from './index-51a80699.js';
13
+ import { i as imageUrlBuilder } from './index-73819142.js';
14
14
  import { L as LazyLoad } from './index-5f9f807a.js';
15
15
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
16
16
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';