@mjhls/mjh-framework 1.0.691-beta.8 → 1.0.691
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/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 +5 -8
- package/dist/cjs/{ADInfeed-1b449a61.js → ADInfeed-3410ab3c.js} +3 -6
- package/dist/cjs/ADSkyscraper.js +5 -8
- package/dist/cjs/ADSponsoredResources.js +5 -8
- package/dist/cjs/ADWebcast.js +5 -8
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/{ADlgInfeed-7dc86b35.js → ADlgInfeed-845aac15.js} +3 -6
- package/dist/cjs/AdSlot.js +3 -4
- package/dist/cjs/AdSlotsProvider.js +2 -23
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +306 -455
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-88f69acd.js} +1 -1
- package/dist/cjs/BrowseVideosListing.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 +8 -10
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-390337bf.js → Dfp-b2bc3b97.js} +1 -1
- package/dist/cjs/EventsDeck.js +4 -4
- 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 +13 -17
- 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 +8 -8
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +10 -14
- package/dist/cjs/NavMagazine.js +4 -4
- package/dist/cjs/NavNative.js +4 -4
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +10 -10
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +12 -16
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +2 -2
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-6b5e5b47.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 +2 -2
- 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 +20 -22
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getRelatedArticle.js +416 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
- package/dist/cjs/{index-9ced0453.js → index-44c25825.js} +14 -14
- 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-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +15 -15
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-03ffa84c.js → main-b6c96c8d.js} +67 -37
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.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 +5 -8
- package/dist/esm/{ADInfeed-5a2f924b.js → ADInfeed-205cb7a9.js} +3 -6
- package/dist/esm/ADSkyscraper.js +5 -8
- package/dist/esm/ADSponsoredResources.js +5 -8
- package/dist/esm/ADWebcast.js +5 -8
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/{ADlgInfeed-c0a01f39.js → ADlgInfeed-e538f17a.js} +3 -6
- package/dist/esm/AdSlot.js +3 -4
- package/dist/esm/AdSlotsProvider.js +3 -24
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +4 -4
- package/dist/esm/Auth.js +301 -450
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-a614acdf.js} +1 -1
- package/dist/esm/BrowseVideosListing.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 +8 -10
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-741c01be.js → Dfp-8a8fca18.js} +1 -1
- package/dist/esm/EventsDeck.js +4 -4
- 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 +13 -17
- 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 +8 -8
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +10 -14
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +4 -4
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +10 -10
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/QueueDeckExpanded.js +12 -16
- package/dist/esm/RecentNews.js +2 -2
- package/dist/esm/RelatedContent.js +2 -2
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-7f14e0f3.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 +2 -2
- 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 +20 -22
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getRelatedArticle.js +416 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-3be21153.js → index-8a757d91.js} +14 -14
- package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +14 -14
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-35ff7b4f.js → main-0465b2a0.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/package.json +3 -3
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -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
|
|
11
|
+
import { a as main_40 } from './main-0465b2a0.js';
|
|
12
12
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
13
13
|
import './asyncToGenerator-7c654f36.js';
|
|
14
14
|
import './_set-species-cede29f8.js';
|
|
@@ -26,7 +26,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
|
26
26
|
import { S as SocialNavFooter } from './index.esm-fd746768.js';
|
|
27
27
|
import './SocialIcons.js';
|
|
28
28
|
import 'react-bootstrap/FormControl';
|
|
29
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
29
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-7f14e0f3.js';
|
|
30
30
|
|
|
31
31
|
var NavMagazine = function NavMagazine(props) {
|
|
32
32
|
/*
|
|
@@ -316,7 +316,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
316
316
|
{
|
|
317
317
|
id: 'navbar-ham',
|
|
318
318
|
style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
|
|
319
|
-
className:
|
|
319
|
+
className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
|
|
320
320
|
variant: 'dark',
|
|
321
321
|
expand: 'xl',
|
|
322
322
|
bg: 'primary',
|
|
@@ -332,7 +332,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
332
332
|
'aria-controls': 'basic-navbar-nav',
|
|
333
333
|
onClick: function onClick() {
|
|
334
334
|
// Set overflow fix for iPhones safari browsers
|
|
335
|
-
if (
|
|
335
|
+
if (main_40) {
|
|
336
336
|
var mainNav = document.querySelector('#navbar-ham');
|
|
337
337
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
338
338
|
}
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -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
|
|
11
|
+
import { a as main_40 } from './main-0465b2a0.js';
|
|
12
12
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
13
13
|
import './asyncToGenerator-7c654f36.js';
|
|
14
14
|
import './_set-species-cede29f8.js';
|
|
@@ -258,7 +258,7 @@ var NavNative = function NavNative(props) {
|
|
|
258
258
|
React__default.createElement(
|
|
259
259
|
'style',
|
|
260
260
|
{ jsx: 'true' },
|
|
261
|
-
'\n #social-tab-desktops {\n position: relative;\n display: flex;\n left: 0px;\n }\n #social-tab-desktops svg {\n height: 25px !important;\n width: 25px !important;\n }\n @media screen and (max-width: 1191px) {\n #search-content-desktop {\n display: none !important;\n }\n }\n @media screen and (min-width: 1199px) {\n .mobile-nav {\n width: 100% !important;\n }\n }\n #search-content-desktop {\n display: flex;\n padding-top: 2px;\n height: 35px;\n position: fixed;\n right: 5%;\n top: 12px;\n }\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n height: 35px;\n width: 35px;\n margin: -3px 0px 0px 0px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position:
|
|
261
|
+
'\n #social-tab-desktops {\n position: relative;\n display: flex;\n left: 0px;\n }\n #social-tab-desktops svg {\n height: 25px !important;\n width: 25px !important;\n }\n @media screen and (max-width: 1191px) {\n #search-content-desktop {\n display: none !important;\n }\n }\n @media screen and (min-width: 1199px) {\n .mobile-nav {\n width: 100% !important;\n }\n }\n #search-content-desktop {\n display: flex;\n padding-top: 2px;\n height: 35px;\n position: fixed;\n right: 5%;\n top: 12px;\n }\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n height: 35px;\n width: 35px;\n margin: -3px 0px 0px 0px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: relative;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n top: 50px;\n }\n #search-content-desktop #search-bar-desktop .form-inline {\n padding: 5px;\n }\n #search-content-desktop #search-bar-desktop .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n }\n #search-content-desktop #search-bar-desktop .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n padding: 7px;\n margin-left: 5px;\n }\n .show {\n display: block !important;\n }\n .active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n margin-right: 1px !important;\n }\n #basic-navbar-nav {\n margin-right: 20%;\n }\n '
|
|
262
262
|
)
|
|
263
263
|
);
|
|
264
264
|
}
|
|
@@ -270,13 +270,13 @@ var NavNative = function NavNative(props) {
|
|
|
270
270
|
React__default.createElement(
|
|
271
271
|
Navbar,
|
|
272
272
|
{
|
|
273
|
-
className:
|
|
273
|
+
className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
274
274
|
variant: 'dark',
|
|
275
275
|
expand: 'lg',
|
|
276
276
|
bg: 'primary',
|
|
277
277
|
sticky: 'top',
|
|
278
278
|
ref: navRef,
|
|
279
|
-
style: { minHeight: '65px', overflow: '' + (
|
|
279
|
+
style: { minHeight: '65px', overflow: '' + (main_40 ? 'auto' : '') } },
|
|
280
280
|
React__default.createElement(
|
|
281
281
|
Container,
|
|
282
282
|
{ style: { maxHeight: '80vh' }, className: 'mobile-nav' },
|
package/dist/esm/OncliveHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
3
|
+
import { m as moment } from './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.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-
|
|
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-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-
|
|
17
|
+
import './index-93ec3c59.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-
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './isSymbol-807e927e.js';
|
|
25
25
|
import './debounce-1a993acf.js';
|
|
26
|
-
import './index.es-
|
|
26
|
+
import './index.es-938a3a58.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import { i as imageUrlBuilder } from './index-
|
|
29
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
30
30
|
import './index-5f9f807a.js';
|
|
31
|
-
import './main-
|
|
31
|
+
import './main-0465b2a0.js';
|
|
32
32
|
import './entities-7cc3bf45.js';
|
|
33
33
|
import './stringify-008c8802.js';
|
|
34
34
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -37,19 +37,19 @@ import './_set-species-cede29f8.js';
|
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './Beam.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import './ADInfeed-
|
|
41
|
-
import './lodash-
|
|
42
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADInfeed-205cb7a9.js';
|
|
41
|
+
import './lodash-17fdfebb.js';
|
|
42
|
+
import './ADlgInfeed-e538f17a.js';
|
|
43
43
|
import './getContentCategory-15dcc413.js';
|
|
44
44
|
import './AuthorComponent-00f13201.js';
|
|
45
|
-
import { B as BlockContent } from './BlockContent-
|
|
45
|
+
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
46
46
|
import { s as smoothscroll } from './smoothscroll-4b699764.js';
|
|
47
47
|
import './GroupDeck.js';
|
|
48
48
|
import 'react-bootstrap';
|
|
49
49
|
import './timeDifferenceCalc.js';
|
|
50
50
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
51
51
|
import 'react-bootstrap/Button';
|
|
52
|
-
import { g as getSerializers } from './index-
|
|
52
|
+
import { g as getSerializers } from './index-8a757d91.js';
|
|
53
53
|
import './util-7700fc59.js';
|
|
54
54
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
55
55
|
import 'react-bootstrap/Pagination';
|
|
@@ -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-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-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
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-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-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-
|
|
34
|
-
import { l as lodash } from './lodash-
|
|
35
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
33
|
+
import { A as ADInfeed } from './ADInfeed-205cb7a9.js';
|
|
34
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
35
|
+
import { A as ADlgInfeed } from './ADlgInfeed-e538f17a.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,9 +180,7 @@ 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
|
-
}
|
|
184
|
-
/* Passing refresh flag */
|
|
185
|
-
refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
|
|
183
|
+
}
|
|
186
184
|
};
|
|
187
185
|
|
|
188
186
|
var chunks = lodash.chunk(data, 6).map(function (chunk) {
|
|
@@ -221,9 +219,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
221
219
|
content_placement: brandInsightAd.targeting.content_placement,
|
|
222
220
|
document_url: brandInsightAd.targeting.document_url
|
|
223
221
|
},
|
|
224
|
-
_type: 'brandInsightAd'
|
|
225
|
-
/* Passing refresh flag */
|
|
226
|
-
refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
|
|
222
|
+
_type: 'brandInsightAd'
|
|
227
223
|
};
|
|
228
224
|
|
|
229
225
|
data = insertBrandInsightAd(data, pos, inFeedAd);
|
|
@@ -761,7 +757,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
761
757
|
React__default.createElement(
|
|
762
758
|
'div',
|
|
763
759
|
null,
|
|
764
|
-
|
|
760
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
765
761
|
)
|
|
766
762
|
)
|
|
767
763
|
);
|
|
@@ -1267,7 +1263,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1267
1263
|
React__default.createElement(
|
|
1268
1264
|
'div',
|
|
1269
1265
|
null,
|
|
1270
|
-
|
|
1266
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1271
1267
|
)
|
|
1272
1268
|
)
|
|
1273
1269
|
);
|
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-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-
|
|
4
|
+
import { m as moment } from './moment-12415288.js';
|
|
5
5
|
import 'react-dom';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
6
|
+
import { i as imageUrlBuilder } from './index-51a80699.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 {
|
|
2
|
+
import { d as main_31, a as main_40 } from './main-0465b2a0.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_31) 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_40 || window.innerWidth < 1200 && main_31) {
|
|
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_40 || window.innerWidth < 1200 && main_31) {
|
|
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_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 '
|
|
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-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,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-93ec3c59.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-0465b2a0.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-
|
|
54
|
+
import './SocialSearchComponent-7f14e0f3.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-
|
|
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-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_39 } from './main-0465b2a0.js';
|
|
8
8
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
9
9
|
import './iconBase-602d52fe.js';
|
|
10
10
|
import { c as IoIosOpen } from './index.esm-85cb09e6.js';
|
|
@@ -65,7 +65,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
65
65
|
} catch (err) {}
|
|
66
66
|
}, []);
|
|
67
67
|
//return nothing if mobile
|
|
68
|
-
if (
|
|
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-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-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-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-93ec3c59.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-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-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, useRef, 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
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-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-008c8802.js';
|
|
32
32
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -35,7 +35,7 @@ import './_set-species-cede29f8.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './Beam.js';
|
|
37
37
|
import DFPAdSlot from './AdSlot.js';
|
|
38
|
-
import { B as BlockContent } from './BlockContent-
|
|
38
|
+
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
39
39
|
import './smoothscroll-4b699764.js';
|
|
40
40
|
import './GroupDeck.js';
|
|
41
41
|
import 'react-bootstrap';
|
|
@@ -43,7 +43,7 @@ import './iconBase-602d52fe.js';
|
|
|
43
43
|
import Button from 'react-bootstrap/Button';
|
|
44
44
|
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
45
45
|
import Form from 'react-bootstrap/Form';
|
|
46
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
46
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-8a757d91.js';
|
|
47
47
|
import './util-7700fc59.js';
|
|
48
48
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
49
49
|
import 'react-bootstrap/Pagination';
|
|
@@ -55,9 +55,9 @@ import { _ as _Object$keys } from './keys-fc2d4c34.js';
|
|
|
55
55
|
import 'react-bootstrap/Dropdown';
|
|
56
56
|
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
57
57
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
58
|
-
import '
|
|
59
|
-
import getQuery from './getQuery.js';
|
|
58
|
+
import './index-db3bb315.js';
|
|
60
59
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
60
|
+
import getQuery from './getQuery.js';
|
|
61
61
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2acdec91.js';
|
|
62
62
|
import getKeywords from './getKeywords.js';
|
|
63
63
|
import urlFor from './urlFor.js';
|
|
@@ -138,9 +138,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
138
138
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
139
139
|
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
140
140
|
!thumbnailUrl && React__default.createElement('p', {
|
|
141
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
141
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
|
|
142
142
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
143
|
-
|
|
143
|
+
main_39 && !thumbnailUrl && React__default.createElement(
|
|
144
144
|
'style',
|
|
145
145
|
{ jsx: 'true' },
|
|
146
146
|
'\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
|
|
@@ -389,9 +389,7 @@ var Article = function Article(props) {
|
|
|
389
389
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
390
390
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
391
391
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
392
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
393
|
-
_props$refreshFlag = props.refreshFlag,
|
|
394
|
-
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag;
|
|
392
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
395
393
|
|
|
396
394
|
var targeting = getTargeting(props);
|
|
397
395
|
var onChangeArticle = props.onChangeArticle;
|
|
@@ -639,13 +637,13 @@ var Article = function Article(props) {
|
|
|
639
637
|
React__default.createElement(
|
|
640
638
|
'div',
|
|
641
639
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
642
|
-
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag:
|
|
640
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag: false, checkIsAdFound: previewAd ? null : checkIsAdFound }))
|
|
643
641
|
),
|
|
644
642
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
645
643
|
React__default.createElement(
|
|
646
644
|
'div',
|
|
647
645
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
648
|
-
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag:
|
|
646
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: false, checkIsAdFound: checkIsVideoAdFound }))
|
|
649
647
|
),
|
|
650
648
|
React__default.createElement(BlockContent, _extends({
|
|
651
649
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
@@ -711,7 +709,7 @@ var Article = function Article(props) {
|
|
|
711
709
|
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React__default.createElement(
|
|
712
710
|
'div',
|
|
713
711
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
714
|
-
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag:
|
|
712
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, { refreshFlag: false, checkIsAdFound: previewAd ? null : _checkIsAdFound }))
|
|
715
713
|
),
|
|
716
714
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
717
715
|
React__default.createElement(BlockContent, _extends({
|
|
@@ -754,7 +752,7 @@ var Article = function Article(props) {
|
|
|
754
752
|
React__default.createElement(
|
|
755
753
|
'div',
|
|
756
754
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
757
|
-
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag:
|
|
755
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: false, checkIsAdFound: _checkIsAdFound2 }))
|
|
758
756
|
),
|
|
759
757
|
React__default.createElement(BlockContent, _extends({
|
|
760
758
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
@@ -949,7 +947,7 @@ var Article = function Article(props) {
|
|
|
949
947
|
React__default.createElement(
|
|
950
948
|
'div',
|
|
951
949
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
952
|
-
|
|
950
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
953
951
|
if (index === 0) {
|
|
954
952
|
return React__default.createElement(
|
|
955
953
|
'div',
|
|
@@ -1028,7 +1026,7 @@ var Article = function Article(props) {
|
|
|
1028
1026
|
})
|
|
1029
1027
|
)
|
|
1030
1028
|
),
|
|
1031
|
-
|
|
1029
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1032
1030
|
if (index > 0) {
|
|
1033
1031
|
return React__default.createElement(
|
|
1034
1032
|
'div',
|
|
@@ -1101,7 +1099,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1101
1099
|
});
|
|
1102
1100
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1103
1101
|
|
|
1104
|
-
if (!
|
|
1102
|
+
if (!main_39) {
|
|
1105
1103
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1106
1104
|
if (window.googletag && googletag.pubadsReady) {
|
|
1107
1105
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1119,7 +1117,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1119
1117
|
});
|
|
1120
1118
|
}
|
|
1121
1119
|
//Refresh leaderboard ad on mobile
|
|
1122
|
-
if (
|
|
1120
|
+
if (main_39) {
|
|
1123
1121
|
var leaderboardSlotId = '';
|
|
1124
1122
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1125
1123
|
if (window.googletag && googletag.pubadsReady) {
|
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-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-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-51a80699.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';
|