@mjhls/mjh-framework 1.0.697 → 1.0.699-beta.0

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 (150) 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 +8 -5
  8. package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-3aa2f5dd.js} +6 -3
  9. package/dist/cjs/ADSkyscraper.js +8 -5
  10. package/dist/cjs/ADSponsoredResources.js +8 -5
  11. package/dist/cjs/ADWebcast.js +8 -5
  12. package/dist/cjs/ADWelcome.js +2 -2
  13. package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-86daec1c.js} +6 -3
  14. package/dist/cjs/AdSlot.js +3 -3
  15. package/dist/cjs/AdSlotsProvider.js +23 -2
  16. package/dist/cjs/ArticleCarousel.js +1 -1
  17. package/dist/cjs/ArticleSeriesListing.js +4 -4
  18. package/dist/cjs/Auth.js +250 -301
  19. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-091a991f.js} +1 -1
  20. package/dist/cjs/BrowseVideosListing.js +1 -1
  21. package/dist/cjs/CMEDeck.js +5 -5
  22. package/dist/cjs/Column3.js +4 -4
  23. package/dist/cjs/ConferenceArticleCard.js +2 -2
  24. package/dist/cjs/DeckContent.js +10 -8
  25. package/dist/cjs/DeckQueue.js +6 -6
  26. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-f6a18ed2.js} +1 -1
  27. package/dist/cjs/EventsDeck.js +4 -4
  28. package/dist/cjs/ExternalResources.js +7 -7
  29. package/dist/cjs/Feature.js +3 -3
  30. package/dist/cjs/ForbesHero.js +2 -2
  31. package/dist/cjs/GridContent.js +16 -12
  32. package/dist/cjs/GridHero.js +2 -2
  33. package/dist/cjs/GroupDeck.js +1 -1
  34. package/dist/cjs/HamMagazine.js +4 -4
  35. package/dist/cjs/Hero.js +1 -1
  36. package/dist/cjs/HorizontalHero.js +2 -2
  37. package/dist/cjs/IssueContentDeck.js +2 -2
  38. package/dist/cjs/IssueDeck.js +2 -2
  39. package/dist/cjs/IssueLanding.js +7 -7
  40. package/dist/cjs/LeftNav.js +3 -3
  41. package/dist/cjs/MasterDeck.js +13 -9
  42. package/dist/cjs/NavMagazine.js +4 -4
  43. package/dist/cjs/NavNative.js +27 -7
  44. package/dist/cjs/OncliveHero.js +2 -2
  45. package/dist/cjs/OncliveLargeHero.js +2 -2
  46. package/dist/cjs/PartnerDetailListing.js +16 -16
  47. package/dist/cjs/PublicationDeck.js +1 -1
  48. package/dist/cjs/QueueDeckExpanded.js +15 -11
  49. package/dist/cjs/RecentNews.js +2 -2
  50. package/dist/cjs/RelatedContent.js +2 -2
  51. package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-56d49a1a.js} +5 -5
  52. package/dist/cjs/TaxonomyCard.js +2 -2
  53. package/dist/cjs/TemplateNormal.js +3 -3
  54. package/dist/cjs/ThumbnailCard.js +1 -1
  55. package/dist/cjs/Ustream.js +2 -2
  56. package/dist/cjs/VerticalHero.js +2 -2
  57. package/dist/cjs/VideoSeriesCard.js +2 -2
  58. package/dist/cjs/VideoSeriesListing.js +24 -22
  59. package/dist/cjs/View.js +181 -214
  60. package/dist/cjs/YahooHero.js +2 -2
  61. package/dist/cjs/YoutubeGroup.js +2 -2
  62. package/dist/cjs/getQuery.js +2 -2
  63. package/dist/cjs/getRelatedArticle.js +122 -155
  64. package/dist/cjs/getSerializers.js +6 -6
  65. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-9af0ef69.js} +2 -2
  66. package/dist/cjs/getTargeting.js +1 -1
  67. package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
  68. package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
  69. package/dist/cjs/{index-a9422f8a.js → index-e05857f8.js} +563 -519
  70. package/dist/cjs/{index-2d0a4911.js → index-fa8ed292.js} +27 -34
  71. package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
  72. package/dist/cjs/index.js +12 -12
  73. package/dist/cjs/{main-b6c96c8d.js → main-03ffa84c.js} +37 -67
  74. package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
  75. package/dist/cjs/timeDifferenceCalc.js +1 -1
  76. package/dist/cjs/urlFor.js +1 -1
  77. package/dist/esm/AD.js +1 -1
  78. package/dist/esm/AD300x250.js +3 -3
  79. package/dist/esm/AD300x250x600.js +3 -3
  80. package/dist/esm/AD728x90.js +4 -4
  81. package/dist/esm/ADFloatingFooter.js +2 -2
  82. package/dist/esm/ADGutter.js +8 -5
  83. package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-cc79bcc2.js} +6 -3
  84. package/dist/esm/ADSkyscraper.js +8 -5
  85. package/dist/esm/ADSponsoredResources.js +8 -5
  86. package/dist/esm/ADWebcast.js +8 -5
  87. package/dist/esm/ADWelcome.js +2 -2
  88. package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-501cbfca.js} +6 -3
  89. package/dist/esm/AdSlot.js +3 -3
  90. package/dist/esm/AdSlotsProvider.js +24 -3
  91. package/dist/esm/ArticleCarousel.js +1 -1
  92. package/dist/esm/ArticleSeriesListing.js +4 -4
  93. package/dist/esm/Auth.js +247 -298
  94. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
  95. package/dist/esm/BrowseVideosListing.js +1 -1
  96. package/dist/esm/CMEDeck.js +5 -5
  97. package/dist/esm/Column3.js +4 -4
  98. package/dist/esm/ConferenceArticleCard.js +2 -2
  99. package/dist/esm/DeckContent.js +10 -8
  100. package/dist/esm/DeckQueue.js +6 -6
  101. package/dist/esm/{Dfp-8a8fca18.js → Dfp-96b49def.js} +1 -1
  102. package/dist/esm/EventsDeck.js +4 -4
  103. package/dist/esm/ExternalResources.js +7 -7
  104. package/dist/esm/Feature.js +3 -3
  105. package/dist/esm/ForbesHero.js +2 -2
  106. package/dist/esm/GridContent.js +16 -12
  107. package/dist/esm/GridHero.js +2 -2
  108. package/dist/esm/GroupDeck.js +1 -1
  109. package/dist/esm/HamMagazine.js +4 -4
  110. package/dist/esm/Hero.js +1 -1
  111. package/dist/esm/HorizontalHero.js +2 -2
  112. package/dist/esm/IssueContentDeck.js +2 -2
  113. package/dist/esm/IssueDeck.js +2 -2
  114. package/dist/esm/IssueLanding.js +7 -7
  115. package/dist/esm/LeftNav.js +3 -3
  116. package/dist/esm/MasterDeck.js +13 -9
  117. package/dist/esm/NavMagazine.js +4 -4
  118. package/dist/esm/NavNative.js +27 -7
  119. package/dist/esm/OncliveHero.js +2 -2
  120. package/dist/esm/OncliveLargeHero.js +2 -2
  121. package/dist/esm/PartnerDetailListing.js +14 -14
  122. package/dist/esm/PublicationDeck.js +1 -1
  123. package/dist/esm/QueueDeckExpanded.js +15 -11
  124. package/dist/esm/RecentNews.js +2 -2
  125. package/dist/esm/RelatedContent.js +2 -2
  126. package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-677ed3bd.js} +5 -5
  127. package/dist/esm/TaxonomyCard.js +2 -2
  128. package/dist/esm/TemplateNormal.js +3 -3
  129. package/dist/esm/ThumbnailCard.js +1 -1
  130. package/dist/esm/Ustream.js +2 -2
  131. package/dist/esm/VerticalHero.js +2 -2
  132. package/dist/esm/VideoSeriesCard.js +2 -2
  133. package/dist/esm/VideoSeriesListing.js +24 -22
  134. package/dist/esm/View.js +160 -193
  135. package/dist/esm/YahooHero.js +2 -2
  136. package/dist/esm/YoutubeGroup.js +2 -2
  137. package/dist/esm/getQuery.js +2 -2
  138. package/dist/esm/getRelatedArticle.js +122 -155
  139. package/dist/esm/getSerializers.js +6 -6
  140. package/dist/esm/{index-93ec3c59.js → index-0e45a0b2.js} +27 -34
  141. package/dist/esm/{index-ea6b6891.js → index-13927b74.js} +563 -519
  142. package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
  143. package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
  144. package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
  145. package/dist/esm/index.js +11 -11
  146. package/dist/esm/{main-0465b2a0.js → main-35ff7b4f.js} +34 -65
  147. package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
  148. package/dist/esm/timeDifferenceCalc.js +1 -1
  149. package/dist/esm/urlFor.js +1 -1
  150. package/package.json +1 -1
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_40 } from './main-0465b2a0.js';
11
+ import { a as main_37 } from './main-35ff7b4f.js';
12
12
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
13
13
  import './asyncToGenerator-7c654f36.js';
14
14
  import './_set-species-cede29f8.js';
@@ -277,13 +277,13 @@ var NavNative = function NavNative(props) {
277
277
  React__default.createElement(
278
278
  Navbar,
279
279
  {
280
- className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
280
+ className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
281
281
  variant: 'dark',
282
282
  expand: 'lg',
283
283
  bg: 'primary',
284
284
  sticky: 'top',
285
285
  ref: navRef,
286
- style: { minHeight: '65px', overflow: '' + (main_40 ? 'auto' : '') } },
286
+ style: { minHeight: '65px', overflow: '' + (main_37 ? 'auto' : '') } },
287
287
  React__default.createElement(
288
288
  Container,
289
289
  { style: { maxHeight: '80vh' }, className: 'mobile-nav' },
@@ -373,7 +373,12 @@ var NavNative = function NavNative(props) {
373
373
  if (ddRow.url && ddRow.name) {
374
374
  return ddRow.url && ddRow.name ? React__default.createElement(
375
375
  'a',
376
- { key: subIndex, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
376
+ {
377
+ key: subIndex,
378
+ needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
379
+ href: ddRow.url,
380
+ target: ddRow.blank ? '_blank' : '_self',
381
+ className: 'dropdown-item' },
377
382
  ddRow.name
378
383
  ) : null;
379
384
  } else return null;
@@ -393,7 +398,12 @@ var NavNative = function NavNative(props) {
393
398
  if (ddRow.url && ddRow.name) {
394
399
  return ddRow.url && ddRow.name ? React__default.createElement(
395
400
  'a',
396
- { key: subIndex, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
401
+ {
402
+ key: subIndex,
403
+ needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
404
+ href: ddRow.url,
405
+ target: ddRow.blank ? '_blank' : '_self',
406
+ className: 'dropdown-item' },
397
407
  ddRow.name
398
408
  ) : null;
399
409
  } else return null;
@@ -435,7 +445,12 @@ var NavNative = function NavNative(props) {
435
445
  null,
436
446
  React__default.createElement(
437
447
  Nav.Link,
438
- { key: subIndex, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
448
+ {
449
+ key: subIndex,
450
+ needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
451
+ href: ddRow.url,
452
+ target: ddRow.blank ? '_blank' : '_self',
453
+ className: 'dropdown-item' },
439
454
  ddRow.name
440
455
  )
441
456
  ) : null;
@@ -454,7 +469,12 @@ var NavNative = function NavNative(props) {
454
469
  } else {
455
470
  return ddRow.url && ddRow.name ? React__default.createElement(
456
471
  'a',
457
- { key: subIndex, needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '', href: ddRow.url, target: ddRow.blank ? '_blank' : '_self', className: 'dropdown-item' },
472
+ {
473
+ key: subIndex,
474
+ needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
475
+ href: ddRow.url,
476
+ target: ddRow.blank ? '_blank' : '_self',
477
+ className: 'dropdown-item' },
458
478
  ddRow.name
459
479
  ) : null;
460
480
  }
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { m as moment } from './moment-12415288.js';
4
- import { i as imageUrlBuilder } from './index-51a80699.js';
3
+ import { m as moment } from './moment-e2f9b20c.js';
4
+ import { i as imageUrlBuilder } from './index-73819142.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import 'react-bootstrap/Badge';
7
7
  import './index.esm-cf08bf18.js';
@@ -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';
@@ -14,21 +14,21 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default, { Component, useRef, useState, useEffect } from 'react';
17
- import './index-93ec3c59.js';
17
+ import './index-0e45a0b2.js';
18
18
  import PropTypes from 'prop-types';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import 'react-bootstrap/Card';
22
- import { m as moment } from './moment-12415288.js';
22
+ import { m as moment } from './moment-e2f9b20c.js';
23
23
  import 'next/router';
24
24
  import './isSymbol-807e927e.js';
25
25
  import './debounce-1a993acf.js';
26
- import './index.es-938a3a58.js';
26
+ import './index.es-29c1cef5.js';
27
27
  import 'react-dom';
28
28
  import './visibility-sensor-0baa4eea.js';
29
- import { i as imageUrlBuilder } from './index-51a80699.js';
29
+ import { i as imageUrlBuilder } from './index-73819142.js';
30
30
  import './index-5f9f807a.js';
31
- import './main-0465b2a0.js';
31
+ import './main-35ff7b4f.js';
32
32
  import './entities-7cc3bf45.js';
33
33
  import './stringify-008c8802.js';
34
34
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
@@ -37,12 +37,12 @@ import './_set-species-cede29f8.js';
37
37
  import './Segment.js';
38
38
  import './Beam.js';
39
39
  import './AdSlot.js';
40
- import './ADInfeed-205cb7a9.js';
40
+ import './ADInfeed-cc79bcc2.js';
41
41
  import './lodash-17fdfebb.js';
42
- import './ADlgInfeed-e538f17a.js';
42
+ import './ADlgInfeed-501cbfca.js';
43
43
  import './getContentCategory-15dcc413.js';
44
44
  import './AuthorComponent-00f13201.js';
45
- import { B as BlockContent } from './BlockContent-a614acdf.js';
45
+ import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
46
46
  import { s as smoothscroll } from './smoothscroll-4b699764.js';
47
47
  import './GroupDeck.js';
48
48
  import 'react-bootstrap';
@@ -51,7 +51,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
51
51
  import './iconBase-602d52fe.js';
52
52
  import './index.esm-29e48d38.js';
53
53
  import 'react-bootstrap/Button';
54
- import { g as getSerializers } from './index-ea6b6891.js';
54
+ import { g as getSerializers } from './index-13927b74.js';
55
55
  import './util-7700fc59.js';
56
56
  import './brightcove-react-player-loader.es-83f53e4e.js';
57
57
  import 'react-bootstrap/Pagination';
@@ -85,16 +85,16 @@ function _createClass(Constructor, protoProps, staticProps) {
85
85
  return Constructor;
86
86
  }
87
87
 
88
- function _typeof(obj) {
89
- "@babel/helpers - typeof";
88
+ function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
90
89
 
91
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
90
+ function _typeof(obj) {
91
+ if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
92
92
  _typeof = function _typeof(obj) {
93
- return typeof obj;
93
+ return _typeof2(obj);
94
94
  };
95
95
  } else {
96
96
  _typeof = function _typeof(obj) {
97
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
97
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
98
98
  };
99
99
  }
100
100
 
@@ -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-35ff7b4f.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';
@@ -30,9 +30,9 @@ import './_set-species-cede29f8.js';
30
30
  import './Segment.js';
31
31
  import './Beam.js';
32
32
  import './AdSlot.js';
33
- import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
33
+ import { A as ADInfeed } from './ADInfeed-cc79bcc2.js';
34
34
  import { l as lodash } from './lodash-17fdfebb.js';
35
- import { A as ADlgInfeed } from './ADlgInfeed-e538f17a.js';
35
+ import { A as ADlgInfeed } from './ADlgInfeed-501cbfca.js';
36
36
  import { g as getContentCategory } from './getContentCategory-15dcc413.js';
37
37
  import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
38
38
  import { Container, Media } from 'react-bootstrap';
@@ -180,7 +180,9 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
180
180
  targeting: {
181
181
  content_placement: brandInsightAd.targeting.content_placement,
182
182
  document_url: brandInsightAd.targeting.document_url
183
- }
183
+ },
184
+ /* Passing refresh flag */
185
+ refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
184
186
  };
185
187
 
186
188
  var chunks = lodash.chunk(data, 6).map(function (chunk) {
@@ -219,7 +221,9 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
219
221
  content_placement: brandInsightAd.targeting.content_placement,
220
222
  document_url: brandInsightAd.targeting.document_url
221
223
  },
222
- _type: 'brandInsightAd'
224
+ _type: 'brandInsightAd',
225
+ /* Passing refresh flag */
226
+ refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
223
227
  };
224
228
 
225
229
  data = insertBrandInsightAd(data, pos, inFeedAd);
@@ -757,7 +761,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
757
761
  React__default.createElement(
758
762
  'div',
759
763
  null,
760
- main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
764
+ main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
761
765
  )
762
766
  )
763
767
  );
@@ -1263,7 +1267,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
1263
1267
  React__default.createElement(
1264
1268
  'div',
1265
1269
  null,
1266
- main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1270
+ main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
1267
1271
  )
1268
1272
  )
1269
1273
  );
@@ -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-cf08bf18.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 { e as main_30, a as main_37 } from './main-35ff7b4f.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-35ff7b4f.js';
19
19
  import './stringify-008c8802.js';
20
20
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
21
21
  import './asyncToGenerator-7c654f36.js';
@@ -51,7 +51,7 @@ import './NavFooter-e27bd93b.js';
51
51
  import './index.esm-fd746768.js';
52
52
  import './SocialIcons.js';
53
53
  import 'react-bootstrap/FormControl';
54
- import './SocialSearchComponent-7f14e0f3.js';
54
+ import './SocialSearchComponent-677ed3bd.js';
55
55
  import MagazineNav from './NavMagazine.js';
56
56
  import { NavNative } from './NavNative.js';
57
57
  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-35ff7b4f.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-29e48d38.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,17 +12,17 @@ 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
- import { m as moment } from './moment-12415288.js';
18
+ import { m as moment } from './moment-e2f9b20c.js';
19
19
  import { withRouter } from 'next/router';
20
20
  import './isSymbol-807e927e.js';
21
21
  import { d as debounce_1 } from './debounce-1a993acf.js';
22
- import { I as InfiniteScroll } from './index.es-938a3a58.js';
22
+ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
23
23
  import 'react-dom';
24
24
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
25
- import './index-51a80699.js';
25
+ import './index-73819142.js';
26
26
  import './index-5f9f807a.js';
27
27
  import './slicedToArray-7021e5df.js';
28
28
  import './smoothscroll-4b699764.js';
@@ -46,25 +46,27 @@ var VideoSeriesListing = function (_React$Component) {
46
46
 
47
47
  return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = VideoSeriesListing.__proto__ || _Object$getPrototypeOf(VideoSeriesListing)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.today = moment().utc().format(), _this.dataArr = [_this.data], _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
48
48
  data: _this.dataArr.map(function (item) {
49
- var tempObj = item;
50
- if (tempObj.body) {
51
- var filteredBody = tempObj.body.map(function (item) {
52
- if (item._type === 'articleSeries') {
53
- var innerObj = item;
54
- var filteredArticles = innerObj.articles.filter(function (article) {
55
- if ((article.is_visible === true || !article.hasOwnProperty('is_visible')) && (_this.today >= article.published || !article.hasOwnProperty('published'))) {
56
- return article;
57
- }
58
- });
59
- innerObj.body = filteredArticles;
60
- return innerObj;
61
- } else {
62
- return item;
63
- }
64
- });
49
+ var tempObj = item.map(function (arrItem) {
50
+ if (arrItem.body) {
51
+ var filteredBody = arrItem.body.map(function (item) {
52
+ if (item._type === 'youtubeGallery') {
53
+ var innerObj = item;
54
+ var filteredArticles = innerObj.videos.filter(function (video) {
55
+ if ((video.is_visible === true || !video.hasOwnProperty('is_visible')) && (_this.today >= video.published || !video.hasOwnProperty('published'))) {
56
+ return video;
57
+ }
58
+ });
59
+ innerObj.videos = filteredArticles;
60
+ return innerObj;
61
+ } else {
62
+ return item;
63
+ }
64
+ });
65
65
 
66
- tempObj.body = filteredBody;
67
- }
66
+ arrItem.body = filteredBody;
67
+ }
68
+ return arrItem;
69
+ });
68
70
  return tempObj;
69
71
  }),
70
72
  per: _this.params ? _this.params.to : 2,