@mjhls/mjh-framework 1.0.642-iOS-mobile-fix → 1.0.642-multi-doc-group-v2
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.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +4 -4
- package/dist/cjs/ADGutter.js +4 -4
- package/dist/cjs/ADSkyscraper.js +4 -4
- package/dist/cjs/ADSponsoredResources.js +4 -4
- package/dist/cjs/ADWebcast.js +4 -4
- package/dist/cjs/ADWelcome.js +4 -4
- package/dist/cjs/AdSlot.js +4 -4
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +6 -6
- package/dist/cjs/Auth.js +506 -255
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-88f69acd.js} +1 -1
- package/dist/cjs/CMEDeck.js +7 -7
- package/dist/cjs/Column2.js +2 -3
- package/dist/cjs/Column3.js +7 -8
- package/dist/cjs/ConferenceArticleCard.js +13 -29
- package/dist/cjs/DeckContent.js +9 -9
- package/dist/cjs/DeckQueue.js +9 -10
- package/dist/cjs/{Dfp-7a66946e.js → Dfp-b2bc3b97.js} +3 -3
- package/dist/cjs/EventsDeck.js +5 -5
- package/dist/cjs/ExternalResources.js +9 -9
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +14 -15
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +4 -4
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +10 -10
- package/dist/cjs/LeftNav.js +4 -4
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/NavMagazine.js +5 -5
- package/dist/cjs/NavNative.js +2 -2
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +16 -1213
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +12 -12
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +2 -32
- package/dist/cjs/SideFooter.js +2 -3
- package/dist/cjs/{SocialSearchComponent-b52e39a7.js → SocialSearchComponent-bf750093.js} +5 -5
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +6 -7
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesListing.js +5 -5
- package/dist/cjs/View.js +67 -40
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{debounce-32e57002.js → debounce-eb287781.js} +1 -2
- package/dist/cjs/{get-5dfcdc33.js → get-68c52cb1.js} +90 -7
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +5 -354
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/cjs/{index-40bd0e4f.js → index-04c709c4.js} +14 -14
- package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +21 -23
- package/dist/cjs/{isSymbol-488934a7.js → isSymbol-04666465.js} +0 -2
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-a4cb15bb.js → main-b6c96c8d.js} +67 -36
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +6 -6
- package/dist/esm/ADFloatingFooter.js +4 -4
- package/dist/esm/ADGutter.js +4 -4
- package/dist/esm/ADSkyscraper.js +4 -4
- package/dist/esm/ADSponsoredResources.js +4 -4
- package/dist/esm/ADWebcast.js +4 -4
- package/dist/esm/ADWelcome.js +4 -4
- package/dist/esm/AdSlot.js +4 -4
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +6 -6
- package/dist/esm/Auth.js +501 -250
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-a614acdf.js} +1 -1
- package/dist/esm/CMEDeck.js +7 -7
- package/dist/esm/Column2.js +2 -3
- package/dist/esm/Column3.js +7 -8
- package/dist/esm/ConferenceArticleCard.js +13 -29
- package/dist/esm/DeckContent.js +9 -9
- package/dist/esm/DeckQueue.js +9 -10
- package/dist/esm/{Dfp-64ed29cf.js → Dfp-43d61e01.js} +3 -3
- package/dist/esm/EventsDeck.js +5 -5
- package/dist/esm/ExternalResources.js +9 -9
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +14 -15
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +4 -4
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalHero.js +2 -2
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +10 -10
- package/dist/esm/LeftNav.js +4 -4
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/NavMagazine.js +5 -5
- package/dist/esm/NavNative.js +2 -2
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +16 -1212
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +12 -12
- package/dist/esm/RecentNews.js +2 -2
- package/dist/esm/RelatedContent.js +2 -32
- package/dist/esm/SideFooter.js +2 -3
- package/dist/esm/{SocialSearchComponent-a45b3379.js → SocialSearchComponent-6d144699.js} +5 -5
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +6 -7
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesListing.js +5 -5
- package/dist/esm/View.js +64 -37
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{debounce-a0d9abca.js → debounce-1a993acf.js} +2 -2
- package/dist/esm/{get-58d2f7cc.js → get-5ee14cda.js} +85 -2
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +5 -354
- package/dist/esm/getSerializers.js +8 -8
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
- package/dist/esm/{index-c017d31a.js → index-c3ffdcd7.js} +14 -14
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +19 -20
- package/dist/esm/{isSymbol-47f5ff3b.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-5d1e4bd3.js → main-0465b2a0.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/ArticleQueue.js +0 -1689
- package/dist/cjs/_arrayMap-3b4a0f75.js +0 -91
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/ArticleQueue.js +0 -1684
- package/dist/esm/_arrayMap-818441dd.js +0 -87
- package/dist/esm/index-db3bb315.js +0 -207
- /package/dist/cjs/{ADInfeed-bdb4dc62.js → ADInfeed-eaa6c661.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-56376f48.js → ADlgInfeed-f25eb4f7.js} +0 -0
- /package/dist/esm/{ADInfeed-34a87706.js → ADInfeed-3c4773f8.js} +0 -0
- /package/dist/esm/{ADlgInfeed-2a864f1d.js → ADlgInfeed-5a52301f.js} +0 -0
|
@@ -5,9 +5,9 @@ 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-
|
|
8
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
9
9
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
10
|
-
import { l as lodash } from './lodash-
|
|
10
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
|
13
13
|
var PublicationDeck = function PublicationDeck(props) {
|
|
@@ -9,19 +9,19 @@ import './_object-pie-33c40e79.js';
|
|
|
9
9
|
import { _ as _extends } from './extends-229166d5.js';
|
|
10
10
|
import './web.dom.iterable-03c5ba1c.js';
|
|
11
11
|
import React__default, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import { l as lib_3 } from './index-
|
|
12
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import { m as moment } from './moment-
|
|
15
|
+
import { m as moment } from './moment-12415288.js';
|
|
16
16
|
import { useRouter } from 'next/router';
|
|
17
|
-
import './isSymbol-
|
|
18
|
-
import './debounce-
|
|
19
|
-
import { I as InfiniteScroll } from './index.es-
|
|
17
|
+
import './isSymbol-807e927e.js';
|
|
18
|
+
import './debounce-1a993acf.js';
|
|
19
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import { i as imageUrlBuilder } from './index-
|
|
22
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
23
23
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
24
|
-
import { m as
|
|
24
|
+
import { m as main_39 } from './main-0465b2a0.js';
|
|
25
25
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
26
|
import './stringify-feadff37.js';
|
|
27
27
|
import { _ as _slicedToArray } from './slicedToArray-5fb01661.js';
|
|
@@ -29,9 +29,9 @@ import './asyncToGenerator-271a52f3.js';
|
|
|
29
29
|
import './_set-species-41cbf140.js';
|
|
30
30
|
import './beam-c4d8f8f6.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
33
|
-
import { l as lodash } from './lodash-
|
|
34
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-3c4773f8.js';
|
|
33
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-5a52301f.js';
|
|
35
35
|
import { A as AuthorComponent } from './AuthorComponent-1ea27faa.js';
|
|
36
36
|
import { Container, Media } from 'react-bootstrap';
|
|
37
37
|
|
|
@@ -632,7 +632,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
632
632
|
React__default.createElement(
|
|
633
633
|
'div',
|
|
634
634
|
null,
|
|
635
|
-
|
|
635
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
636
636
|
)
|
|
637
637
|
)
|
|
638
638
|
);
|
|
@@ -1027,7 +1027,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1027
1027
|
React__default.createElement(
|
|
1028
1028
|
'div',
|
|
1029
1029
|
null,
|
|
1030
|
-
|
|
1030
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1031
1031
|
)
|
|
1032
1032
|
)
|
|
1033
1033
|
);
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
6
|
import { a as FaLongArrowAltRight } from './index.esm-9a4c8813.js';
|
|
7
7
|
|
|
@@ -1,38 +1,8 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
-
import 'react-bootstrap/Media';
|
|
3
|
+
import { m as moment } from './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
6
5
|
|
|
7
|
-
/*
|
|
8
|
-
Sample query
|
|
9
|
-
let references = ''
|
|
10
|
-
if(article.taxonomyMapping.length > 0){
|
|
11
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
12
|
-
references = references + `references('${ref._ref}') `
|
|
13
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
14
|
-
references = references + ` && `
|
|
15
|
-
}
|
|
16
|
-
})
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
20
|
-
...,
|
|
21
|
-
title,
|
|
22
|
-
summary,
|
|
23
|
-
thumbnail,
|
|
24
|
-
url,
|
|
25
|
-
published,
|
|
26
|
-
authorMapping[]->,
|
|
27
|
-
contentCategory->
|
|
28
|
-
}`
|
|
29
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
30
|
-
|
|
31
|
-
Sample usage
|
|
32
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
6
|
var RelatedContent = function RelatedContent(props) {
|
|
37
7
|
var client = props.client,
|
|
38
8
|
dataRecord = props.dataRecord,
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -8,13 +8,12 @@ import './define-property-99e9c0ad.js';
|
|
|
8
8
|
import './web.dom.iterable-03c5ba1c.js';
|
|
9
9
|
import React__default, { useRef, useEffect } from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './isSymbol-
|
|
11
|
+
import './isSymbol-807e927e.js';
|
|
12
12
|
import './stringify-feadff37.js';
|
|
13
13
|
import './asyncToGenerator-271a52f3.js';
|
|
14
14
|
import './_set-species-41cbf140.js';
|
|
15
15
|
import { S as Segment } from './beam-c4d8f8f6.js';
|
|
16
|
-
import './
|
|
17
|
-
import { g as get_1 } from './get-58d2f7cc.js';
|
|
16
|
+
import { g as get_1 } from './get-5ee14cda.js';
|
|
18
17
|
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
19
18
|
import { _ as _defineProperty } from './defineProperty-fa14766d.js';
|
|
20
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { d as
|
|
2
|
+
import { d as main_31, a as main_40 } from './main-0465b2a0.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-5fb01661.js';
|
|
4
4
|
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
5
5
|
import Button from 'react-bootstrap/Button';
|
|
@@ -39,7 +39,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
39
39
|
var navWrapper = document.getElementById(navID);
|
|
40
40
|
var mastNav = document.querySelector('.nav-brands');
|
|
41
41
|
var topOffset = 0;
|
|
42
|
-
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight
|
|
42
|
+
if (window && window.innerWidth < 1200 && mastNav && mastNav.offsetHeight) topOffset = topOffset + mastNav.offsetHeight;
|
|
43
43
|
if (navWrapper && navWrapper.offsetHeight) topOffset = topOffset + navWrapper.offsetHeight;
|
|
44
44
|
setTopOffset(topOffset + 2);
|
|
45
45
|
|
|
@@ -67,14 +67,14 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
67
67
|
var searchBtn = document.getElementsByClassName(selector)[0];
|
|
68
68
|
if (searchBtn && searchBtn.classList && searchBtn.classList.contains(addOn)) {
|
|
69
69
|
// Set overflow fix for iPhones safari browsers
|
|
70
|
-
if (
|
|
70
|
+
if (main_40 || window.innerWidth < 1200 && main_31) {
|
|
71
71
|
var mainNav = document.querySelector('#navbar-ham');
|
|
72
72
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
73
73
|
}
|
|
74
74
|
searchBtn.classList.remove(addOn);
|
|
75
75
|
} else if (searchBtn && searchBtn.classList) {
|
|
76
76
|
// Set overflow fix for iPhones safari browsers
|
|
77
|
-
if (
|
|
77
|
+
if (main_40 || window.innerWidth < 1200 && main_31) {
|
|
78
78
|
var _mainNav = document.querySelector('#navbar-ham');
|
|
79
79
|
if (_mainNav && _mainNav.style) _mainNav.style.overflow = 'visible';
|
|
80
80
|
}
|
|
@@ -176,7 +176,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
176
176
|
React__default.createElement(
|
|
177
177
|
'style',
|
|
178
178
|
{ jsx: 'true' },
|
|
179
|
-
'\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: ' + (
|
|
179
|
+
'\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
180
|
)
|
|
181
181
|
);
|
|
182
182
|
};
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -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-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
13
13
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
|
-
import { B as BlockContent } from './BlockContent-
|
|
14
|
+
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
15
15
|
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
16
16
|
|
|
17
17
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
@@ -7,23 +7,22 @@ import './core.get-iterator-method-e41daf74.js';
|
|
|
7
7
|
import './define-property-99e9c0ad.js';
|
|
8
8
|
import './web.dom.iterable-03c5ba1c.js';
|
|
9
9
|
import React__default, { useState, useEffect } from 'react';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-93ec3c59.js';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import Container from 'react-bootstrap/Container';
|
|
13
13
|
import 'react-bootstrap/Row';
|
|
14
14
|
import 'react-bootstrap/Col';
|
|
15
15
|
import { useRouter } from 'next/router';
|
|
16
|
-
import './isSymbol-
|
|
17
|
-
import './debounce-
|
|
18
|
-
import './main-
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
17
|
+
import './debounce-1a993acf.js';
|
|
18
|
+
import './main-0465b2a0.js';
|
|
19
19
|
import './stringify-feadff37.js';
|
|
20
20
|
import { _ as _slicedToArray } from './slicedToArray-5fb01661.js';
|
|
21
21
|
import './asyncToGenerator-271a52f3.js';
|
|
22
22
|
import './_set-species-41cbf140.js';
|
|
23
23
|
import './beam-c4d8f8f6.js';
|
|
24
24
|
import './AdSlot.js';
|
|
25
|
-
import './
|
|
26
|
-
import './get-58d2f7cc.js';
|
|
25
|
+
import './get-5ee14cda.js';
|
|
27
26
|
import './react-social-icons-a7d5c5c7.js';
|
|
28
27
|
import 'react-bootstrap';
|
|
29
28
|
import './iconBase-602d52fe.js';
|
|
@@ -51,7 +50,7 @@ import './index.esm-73e847d2.js';
|
|
|
51
50
|
import './SocialIcons.js';
|
|
52
51
|
import 'react-bootstrap/Form';
|
|
53
52
|
import 'react-bootstrap/FormControl';
|
|
54
|
-
import './SocialSearchComponent-
|
|
53
|
+
import './SocialSearchComponent-6d144699.js';
|
|
55
54
|
import MagazineNav from './NavMagazine.js';
|
|
56
55
|
import { NavNative } from './NavNative.js';
|
|
57
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-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-51a80699.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';
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -4,7 +4,7 @@ import './es6.string.iterator-c199c9ba.js';
|
|
|
4
4
|
import './core.get-iterator-method-e41daf74.js';
|
|
5
5
|
import './web.dom.iterable-03c5ba1c.js';
|
|
6
6
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
7
|
-
import { m as
|
|
7
|
+
import { m as main_39 } from './main-0465b2a0.js';
|
|
8
8
|
import { _ as _slicedToArray } from './slicedToArray-5fb01661.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 (
|
|
68
|
+
if (main_39) {
|
|
69
69
|
return null;
|
|
70
70
|
}
|
|
71
71
|
return React__default.createElement(
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.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-fea75829.js';
|
|
|
8
8
|
import './_is-array-ced12663.js';
|
|
9
9
|
import React__default from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import { m as moment } from './moment-
|
|
11
|
+
import { m as moment } from './moment-12415288.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-51a80699.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-03c5ba1c.js';
|
|
|
12
12
|
import './typeof-fea75829.js';
|
|
13
13
|
import './_is-array-ced12663.js';
|
|
14
14
|
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
18
|
import { withRouter } from 'next/router';
|
|
19
|
-
import './isSymbol-
|
|
20
|
-
import { d as debounce_1 } from './debounce-
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-
|
|
19
|
+
import './isSymbol-807e927e.js';
|
|
20
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
21
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-51a80699.js';
|
|
25
25
|
import './index-5f9f807a.js';
|
|
26
26
|
import './slicedToArray-5fb01661.js';
|
|
27
27
|
import './smoothscroll-4b699764.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -14,19 +14,19 @@ import './web.dom.iterable-03c5ba1c.js';
|
|
|
14
14
|
import { _ as _typeof } from './typeof-fea75829.js';
|
|
15
15
|
import './_is-array-ced12663.js';
|
|
16
16
|
import React__default, { useState, useEffect } from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-93ec3c59.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-
|
|
21
|
+
import { m as moment } from './moment-12415288.js';
|
|
22
22
|
import { useRouter } from 'next/router';
|
|
23
|
-
import './isSymbol-
|
|
24
|
-
import './debounce-
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
23
|
+
import './isSymbol-807e927e.js';
|
|
24
|
+
import './debounce-1a993acf.js';
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
26
26
|
import 'react-dom';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-51a80699.js';
|
|
28
28
|
import './index-5f9f807a.js';
|
|
29
|
-
import { m as
|
|
29
|
+
import { m as main_39 } from './main-0465b2a0.js';
|
|
30
30
|
import './entities-7cc3bf45.js';
|
|
31
31
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
32
32
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-5fb01661.js';
|
|
@@ -34,12 +34,12 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-271
|
|
|
34
34
|
import './_set-species-41cbf140.js';
|
|
35
35
|
import './beam-c4d8f8f6.js';
|
|
36
36
|
import DFPAdSlot from './AdSlot.js';
|
|
37
|
-
import { B as BlockContent } from './BlockContent-
|
|
37
|
+
import { B as BlockContent } from './BlockContent-a614acdf.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
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
42
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-c3ffdcd7.js';
|
|
43
43
|
import './util-7700fc59.js';
|
|
44
44
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
45
45
|
import 'react-bootstrap/Pagination';
|
|
@@ -51,12 +51,12 @@ import Form from 'react-bootstrap/Form';
|
|
|
51
51
|
import FormControl from 'react-bootstrap/FormControl';
|
|
52
52
|
import { _ as _Object$keys } from './keys-941eccc4.js';
|
|
53
53
|
import 'react-bootstrap/Dropdown';
|
|
54
|
-
import getKeywords from './getKeywords.js';
|
|
55
54
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
56
|
-
import '
|
|
57
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
55
|
+
import 'nookies';
|
|
58
56
|
import getQuery from './getQuery.js';
|
|
57
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
59
58
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-3cc3f97d.js';
|
|
59
|
+
import getKeywords from './getKeywords.js';
|
|
60
60
|
import urlFor from './urlFor.js';
|
|
61
61
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
62
62
|
|
|
@@ -134,9 +134,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
134
134
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
135
135
|
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
136
136
|
!thumbnailUrl && React__default.createElement('p', {
|
|
137
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
137
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
|
|
138
138
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
139
|
-
|
|
139
|
+
main_39 && !thumbnailUrl && React__default.createElement(
|
|
140
140
|
'style',
|
|
141
141
|
{ jsx: 'true' },
|
|
142
142
|
'\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
|
|
@@ -309,6 +309,7 @@ var Article = function Article(props) {
|
|
|
309
309
|
issue = _props$article.issue,
|
|
310
310
|
source = _props$article.source,
|
|
311
311
|
documentGroup = _props$article.documentGroup,
|
|
312
|
+
documentGroupMapping = _props$article.documentGroupMapping,
|
|
312
313
|
regionalPages = props.regionalPages,
|
|
313
314
|
nationalPage = props.nationalPage,
|
|
314
315
|
ISIContent = props.ISIContent,
|
|
@@ -398,8 +399,26 @@ var Article = function Article(props) {
|
|
|
398
399
|
return null;
|
|
399
400
|
};
|
|
400
401
|
|
|
402
|
+
var getDocGroupUrl = function getDocGroupUrl(docGroup) {
|
|
403
|
+
if (!docGroup || !docGroup.path) {
|
|
404
|
+
return null;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
var url = docGroup.path;
|
|
408
|
+
if (url.includes('/') || !docGroup.parent) {
|
|
409
|
+
return '/' + url;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
var parent_url = docGroup.parent && docGroup.parent.identifier && docGroup.parent.identifier.current;
|
|
413
|
+
if (!parent_url) {
|
|
414
|
+
return '/' + url;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
return '/' + parent_url + '/' + url;
|
|
418
|
+
};
|
|
419
|
+
|
|
401
420
|
var RelevantTopics = function RelevantTopics() {
|
|
402
|
-
if (content_placement && content_placement.length > 0 ||
|
|
421
|
+
if (content_placement && content_placement.length > 0 || documentGroupMapping) {
|
|
403
422
|
return React__default.createElement(
|
|
404
423
|
'div',
|
|
405
424
|
{ style: { color: '#262626' } },
|
|
@@ -412,23 +431,29 @@ var Article = function Article(props) {
|
|
|
412
431
|
'Related Content:'
|
|
413
432
|
)
|
|
414
433
|
),
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
React__default.createElement(
|
|
419
|
-
|
|
420
|
-
|
|
434
|
+
documentGroupMapping && documentGroupMapping.length > 0 && documentGroupMapping.map(function (map, map_index) {
|
|
435
|
+
var map_href = getDocGroupUrl(map);
|
|
436
|
+
console.log('map_index:', map_index);
|
|
437
|
+
return React__default.createElement(
|
|
438
|
+
React__default.Fragment,
|
|
439
|
+
null,
|
|
421
440
|
React__default.createElement(
|
|
422
|
-
'
|
|
423
|
-
{
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
441
|
+
'span',
|
|
442
|
+
{ className: '', key: map_index },
|
|
443
|
+
React__default.createElement(
|
|
444
|
+
'a',
|
|
445
|
+
{
|
|
446
|
+
className: 'related-links',
|
|
447
|
+
style: { color: 'blue' },
|
|
448
|
+
href: map_href
|
|
449
|
+
},
|
|
450
|
+
map.name
|
|
451
|
+
)
|
|
452
|
+
),
|
|
453
|
+
map_index + 1 < documentGroupMapping.length && ' | '
|
|
454
|
+
);
|
|
455
|
+
}),
|
|
456
|
+
documentGroupMapping && documentGroupMapping.length > 0 && content_placement && content_placement.length > 0 && ' | ',
|
|
432
457
|
content_placement && content_placement.length > 0 ? content_placement.map(function (cp, index) {
|
|
433
458
|
var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.path;
|
|
434
459
|
var href = '/' + cp_url;
|
|
@@ -857,7 +882,7 @@ var Article = function Article(props) {
|
|
|
857
882
|
React__default.createElement(
|
|
858
883
|
'div',
|
|
859
884
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
860
|
-
|
|
885
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
861
886
|
if (index === 0) {
|
|
862
887
|
return React__default.createElement(
|
|
863
888
|
'div',
|
|
@@ -924,7 +949,7 @@ var Article = function Article(props) {
|
|
|
924
949
|
renderIsiContent(props.article)
|
|
925
950
|
)
|
|
926
951
|
),
|
|
927
|
-
|
|
952
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
928
953
|
if (index > 0) {
|
|
929
954
|
return React__default.createElement(
|
|
930
955
|
'div',
|
|
@@ -997,7 +1022,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
997
1022
|
});
|
|
998
1023
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
999
1024
|
|
|
1000
|
-
if (!
|
|
1025
|
+
if (!main_39) {
|
|
1001
1026
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1002
1027
|
if (window.googletag && googletag.pubadsReady) {
|
|
1003
1028
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1015,7 +1040,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1015
1040
|
});
|
|
1016
1041
|
}
|
|
1017
1042
|
//Refresh leaderboard ad on mobile
|
|
1018
|
-
if (
|
|
1043
|
+
if (main_39) {
|
|
1019
1044
|
var leaderboardSlotId = '';
|
|
1020
1045
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1021
1046
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1276,7 +1301,9 @@ var View = function View(props) {
|
|
|
1276
1301
|
_props$showRelatedArt = props.showRelatedArticles,
|
|
1277
1302
|
showRelatedArticles = _props$showRelatedArt === undefined ? false : _props$showRelatedArt,
|
|
1278
1303
|
_props$canonicalTag = props.canonicalTag,
|
|
1279
|
-
canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag
|
|
1304
|
+
canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
|
|
1305
|
+
_props$disableInfinit = props.disableInfiniteScroll,
|
|
1306
|
+
disableInfiniteScroll = _props$disableInfinit === undefined ? false : _props$disableInfinit;
|
|
1280
1307
|
var _props$article = props.article,
|
|
1281
1308
|
_props$article$passwo = _props$article.passwordLock,
|
|
1282
1309
|
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo,
|
|
@@ -1334,7 +1361,7 @@ var View = function View(props) {
|
|
|
1334
1361
|
|
|
1335
1362
|
var isVideoSeries = checkVideoSeries(props.article);
|
|
1336
1363
|
var isArticleSeries = checkArticleSeries(props.article);
|
|
1337
|
-
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag;
|
|
1364
|
+
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && !disableInfiniteScroll;
|
|
1338
1365
|
|
|
1339
1366
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1340
1367
|
description = null;
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -5,9 +5,9 @@ import './core.get-iterator-method-e41daf74.js';
|
|
|
5
5
|
import './web.dom.iterable-03c5ba1c.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-12415288.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.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-5fb01661.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -10,7 +10,7 @@ import './_is-array-ced12663.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-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
14
14
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-5fb01661.js';
|
|
16
16
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _root, i as isSymbol_1, a as isObject_1 } from './isSymbol-807e927e.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
@@ -274,4 +274,4 @@ function debounce(func, wait, options) {
|
|
|
274
274
|
|
|
275
275
|
var debounce_1 = debounce;
|
|
276
276
|
|
|
277
|
-
export { debounce_1 as d
|
|
277
|
+
export { debounce_1 as d };
|