@mjhls/mjh-framework 1.0.665 → 1.0.666-ad-update-v3
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 +3 -3
- package/dist/cjs/AD300x250x600.js +3 -3
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +2 -2
- package/dist/cjs/ADGutter.js +2 -2
- package/dist/cjs/ADSkyscraper.js +2 -2
- package/dist/cjs/ADSponsoredResources.js +2 -2
- package/dist/cjs/ADWebcast.js +2 -2
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/AdSlot.js +2 -2
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +255 -506
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-80b15fac.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +7 -7
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.js} +1 -1
- package/dist/cjs/EventsDeck.js +14 -6
- package/dist/cjs/ExternalResources.js +7 -7
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +11 -11
- 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 +3 -3
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +8 -8
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +15 -11
- package/dist/cjs/NavMagazine.js +4 -4
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +3 -3
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1211 -14
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +10 -10
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +2 -2
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +3 -3
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +3 -3
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +77 -18
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
- package/dist/cjs/{index-6f1ee5f0.js → index-0ba539e4.js} +14 -14
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-ff47db6f.js} +10 -0
- package/dist/cjs/index.js +16 -17
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -3
- package/dist/esm/AD300x250x600.js +3 -3
- package/dist/esm/AD728x90.js +4 -4
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +4 -4
- package/dist/esm/Auth.js +250 -501
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c409aca5.js} +1 -1
- package/dist/esm/CMEDeck.js +5 -5
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +7 -7
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-741c01be.js} +1 -1
- package/dist/esm/EventsDeck.js +14 -6
- package/dist/esm/ExternalResources.js +7 -7
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +11 -11
- 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 +3 -3
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +8 -8
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +15 -11
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +3 -3
- package/dist/esm/OncliveHero.js +3 -3
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1210 -14
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +10 -10
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +2 -2
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +3 -3
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +77 -18
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{index-3a33f7d6.js → index-26c19b64.js} +14 -14
- package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
- package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-cf08bf18.js} +9 -1
- package/dist/esm/index.js +15 -16
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
- /package/dist/cjs/{ADInfeed-9735aff2.js → ADInfeed-61658341.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-6bd11848.js → ADlgInfeed-61b2f7ae.js} +0 -0
- /package/dist/esm/{ADInfeed-9140aa7d.js → ADInfeed-034c433d.js} +0 -0
- /package/dist/esm/{ADlgInfeed-7656ecd1.js → ADlgInfeed-0fb12879.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-3849e3fe.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-ec8c6b48.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-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-
|
|
12
|
+
import { l as lib_3 } from './index-3f4dd6f2.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-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-
|
|
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-
|
|
22
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
23
23
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
24
|
-
import { m as
|
|
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-
|
|
33
|
-
import { l as lodash } from './lodash-
|
|
34
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-034c433d.js';
|
|
33
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-0fb12879.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
|
-
|
|
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
|
-
|
|
1031
|
+
main_36 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1032
1032
|
)
|
|
1033
1033
|
)
|
|
1034
1034
|
);
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
6
|
+
import { a as FaLongArrowAltRight } from './index.esm-cf08bf18.js';
|
|
7
7
|
|
|
8
8
|
var RecentNews = function RecentNews(_ref) {
|
|
9
9
|
var client = _ref.client,
|
|
@@ -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-
|
|
4
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
5
5
|
import 'react-dom';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
6
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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
|
|
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 && !
|
|
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 (
|
|
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 (
|
|
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: ' + (
|
|
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
|
};
|
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-3849e3fe.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-c409aca5.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-
|
|
10
|
+
import './index-3f4dd6f2.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-
|
|
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-
|
|
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-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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,11 +4,11 @@ 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
|
|
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';
|
|
11
|
-
import { F as FaRegWindowClose } from './index.esm-
|
|
11
|
+
import { F as FaRegWindowClose } from './index.esm-cf08bf18.js';
|
|
12
12
|
|
|
13
13
|
var Ustream = function Ustream(_ref) {
|
|
14
14
|
var _ref$width = _ref.width,
|
|
@@ -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_36) {
|
|
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-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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-
|
|
11
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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-
|
|
15
|
+
import { l as lib_3 } from './index-3f4dd6f2.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-
|
|
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-
|
|
24
|
+
import './index-3849e3fe.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-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.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-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-
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
26
26
|
import 'react-dom';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-3849e3fe.js';
|
|
28
28
|
import './index-5f9f807a.js';
|
|
29
|
-
import { m as
|
|
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,15 @@ 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-
|
|
37
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
38
38
|
import './smoothscroll-4b699764.js';
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import 'react-bootstrap';
|
|
41
|
+
import './iconBase-602d52fe.js';
|
|
41
42
|
import Button from 'react-bootstrap/Button';
|
|
42
43
|
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
43
44
|
import Form from 'react-bootstrap/Form';
|
|
44
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
45
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-26c19b64.js';
|
|
45
46
|
import './util-7700fc59.js';
|
|
46
47
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
47
48
|
import 'react-bootstrap/Pagination';
|
|
@@ -51,10 +52,11 @@ import SocialShare from './SocialShare.js';
|
|
|
51
52
|
import FormControl from 'react-bootstrap/FormControl';
|
|
52
53
|
import { _ as _Object$keys } from './keys-fc2d4c34.js';
|
|
53
54
|
import 'react-bootstrap/Dropdown';
|
|
55
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
54
56
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
55
|
-
import '
|
|
56
|
-
import getQuery from './getQuery.js';
|
|
57
|
+
import './index-db3bb315.js';
|
|
57
58
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
59
|
+
import getQuery from './getQuery.js';
|
|
58
60
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2acdec91.js';
|
|
59
61
|
import getKeywords from './getKeywords.js';
|
|
60
62
|
import urlFor from './urlFor.js';
|
|
@@ -135,9 +137,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
135
137
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
136
138
|
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
137
139
|
!thumbnailUrl && React__default.createElement('p', {
|
|
138
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
140
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
|
|
139
141
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
140
|
-
|
|
142
|
+
main_36 && !thumbnailUrl && React__default.createElement(
|
|
141
143
|
'style',
|
|
142
144
|
{ jsx: 'true' },
|
|
143
145
|
'\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
|
|
@@ -182,6 +184,53 @@ var findIndex = function findIndex(arr) {
|
|
|
182
184
|
return indexes;
|
|
183
185
|
};
|
|
184
186
|
|
|
187
|
+
var ISI = function ISI(props) {
|
|
188
|
+
var children = props.children;
|
|
189
|
+
|
|
190
|
+
var _useState = useState(false),
|
|
191
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
192
|
+
active = _useState2[0],
|
|
193
|
+
setActive = _useState2[1];
|
|
194
|
+
|
|
195
|
+
return React__default.createElement(
|
|
196
|
+
React__default.Fragment,
|
|
197
|
+
null,
|
|
198
|
+
React__default.createElement(
|
|
199
|
+
'div',
|
|
200
|
+
{ id: 'isi', className: active ? 'active' : '' },
|
|
201
|
+
React__default.createElement(
|
|
202
|
+
'div',
|
|
203
|
+
{ id: 'isiContent' },
|
|
204
|
+
React__default.createElement(
|
|
205
|
+
'div',
|
|
206
|
+
{ onClick: function onClick() {
|
|
207
|
+
return setActive(function (prev) {
|
|
208
|
+
return !prev;
|
|
209
|
+
});
|
|
210
|
+
}, id: 'isiToggle' },
|
|
211
|
+
active ? React__default.createElement(
|
|
212
|
+
'p',
|
|
213
|
+
null,
|
|
214
|
+
'Close ',
|
|
215
|
+
React__default.createElement(FaMinus, null)
|
|
216
|
+
) : React__default.createElement(
|
|
217
|
+
'p',
|
|
218
|
+
null,
|
|
219
|
+
'Click For More ',
|
|
220
|
+
React__default.createElement(FaPlus, null)
|
|
221
|
+
)
|
|
222
|
+
),
|
|
223
|
+
children
|
|
224
|
+
)
|
|
225
|
+
),
|
|
226
|
+
React__default.createElement(
|
|
227
|
+
'style',
|
|
228
|
+
{ jsx: true },
|
|
229
|
+
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 10rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n transition: max-height 0.2s;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n }\n #isi.active {\n max-height: calc(100% - 5rem) !important;\n overflow-y: scroll !important;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
230
|
+
)
|
|
231
|
+
);
|
|
232
|
+
};
|
|
233
|
+
|
|
185
234
|
var css = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n width: 100%;\r\n height: auto;\r\n\r\n max-height: 175px;\r\n object-fit: contain;\r\n margin-bottom: 1rem;\r\n }\r\n}\r\n";
|
|
186
235
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
187
236
|
styleInject(css);
|
|
@@ -310,6 +359,8 @@ var Article = function Article(props) {
|
|
|
310
359
|
issue = _props$article.issue,
|
|
311
360
|
source = _props$article.source,
|
|
312
361
|
documentGroupMapping = _props$article.documentGroupMapping,
|
|
362
|
+
showIsi = _props$article.showIsi,
|
|
363
|
+
isi = _props$article.isi,
|
|
313
364
|
regionalPages = props.regionalPages,
|
|
314
365
|
nationalPage = props.nationalPage,
|
|
315
366
|
ISIContent = props.ISIContent,
|
|
@@ -740,7 +791,7 @@ var Article = function Article(props) {
|
|
|
740
791
|
null,
|
|
741
792
|
React__default.createElement(
|
|
742
793
|
'div',
|
|
743
|
-
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) ? '
|
|
794
|
+
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
744
795
|
React__default.createElement(
|
|
745
796
|
'h1',
|
|
746
797
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
@@ -867,7 +918,7 @@ var Article = function Article(props) {
|
|
|
867
918
|
React__default.createElement(
|
|
868
919
|
'div',
|
|
869
920
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
870
|
-
|
|
921
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
871
922
|
if (index === 0) {
|
|
872
923
|
return React__default.createElement(
|
|
873
924
|
'div',
|
|
@@ -920,7 +971,7 @@ var Article = function Article(props) {
|
|
|
920
971
|
)
|
|
921
972
|
),
|
|
922
973
|
React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
923
|
-
showRelatedArticles && React__default.createElement(
|
|
974
|
+
showRelatedArticles && !showIsi && React__default.createElement(
|
|
924
975
|
React__default.Fragment,
|
|
925
976
|
null,
|
|
926
977
|
React__default.createElement(
|
|
@@ -936,9 +987,17 @@ var Article = function Article(props) {
|
|
|
936
987
|
)
|
|
937
988
|
),
|
|
938
989
|
renderIsiContent(props.article)
|
|
990
|
+
),
|
|
991
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React__default.createElement(
|
|
992
|
+
ISI,
|
|
993
|
+
null,
|
|
994
|
+
React__default.createElement(BlockContent, {
|
|
995
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
996
|
+
blocks: isi
|
|
997
|
+
})
|
|
939
998
|
)
|
|
940
999
|
),
|
|
941
|
-
|
|
1000
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
942
1001
|
if (index > 0) {
|
|
943
1002
|
return React__default.createElement(
|
|
944
1003
|
'div',
|
|
@@ -1011,7 +1070,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1011
1070
|
});
|
|
1012
1071
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1013
1072
|
|
|
1014
|
-
if (!
|
|
1073
|
+
if (!main_36) {
|
|
1015
1074
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1016
1075
|
if (window.googletag && googletag.pubadsReady) {
|
|
1017
1076
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1029,7 +1088,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1029
1088
|
});
|
|
1030
1089
|
}
|
|
1031
1090
|
//Refresh leaderboard ad on mobile
|
|
1032
|
-
if (
|
|
1091
|
+
if (main_36) {
|
|
1033
1092
|
var leaderboardSlotId = '';
|
|
1034
1093
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1035
1094
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1350,7 +1409,7 @@ var View = function View(props) {
|
|
|
1350
1409
|
|
|
1351
1410
|
var isVideoSeries = checkVideoSeries(props.article);
|
|
1352
1411
|
var isArticleSeries = checkArticleSeries(props.article);
|
|
1353
|
-
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag;
|
|
1412
|
+
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi;
|
|
1354
1413
|
|
|
1355
1414
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1356
1415
|
description = null;
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -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-
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -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-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.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';
|