@mjhls/mjh-framework 1.0.768 → 1.0.769-inf-scroll-test-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 +169 -169
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +15 -15
- package/dist/cjs/AD300x250x600.js +15 -15
- package/dist/cjs/AD728x90.js +16 -16
- package/dist/cjs/ADFloatingFooter.js +14 -14
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +14 -14
- package/dist/cjs/{ADInfeed-32dc37f4.js → ADInfeed-292b6640.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +14 -14
- package/dist/cjs/ADSponsoredResources.js +14 -14
- package/dist/cjs/ADWebcast.js +14 -14
- package/dist/cjs/ADWelcome.js +14 -14
- package/dist/cjs/{ADlgInfeed-a8dc2b08.js → ADlgInfeed-5ab6ab43.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -5
- package/dist/cjs/AdSlot.js +16 -16
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +11 -11
- package/dist/cjs/ArticleProgramLandingPage.js +24 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +24 -24
- package/dist/cjs/ArticleSeriesListing.js +16 -16
- package/dist/cjs/Auth.js +207 -469
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/CMEDeck.js +14 -14
- package/dist/cjs/Column2.js +11 -11
- package/dist/cjs/Column3.js +19 -19
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +31 -31
- package/dist/cjs/DeckQueue.js +19 -19
- package/dist/cjs/{Dfp-80146e98.js → Dfp-9adb8ae7.js} +7 -7
- package/dist/cjs/EventsDeck.js +36 -36
- package/dist/cjs/ExternalResources.js +25 -25
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +7 -7
- package/dist/cjs/GridContent.js +29 -29
- package/dist/cjs/GridHero.js +7 -7
- package/dist/cjs/GroupDeck.js +9 -9
- package/dist/cjs/HamMagazine.js +22 -22
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +24 -24
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +7 -7
- package/dist/cjs/IssueDeck.js +10 -10
- package/dist/cjs/IssueLanding.js +49 -49
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +14 -14
- package/dist/cjs/MasterDeck.js +32 -32
- package/dist/cjs/MediaSeriesLanding.js +15 -15
- package/dist/cjs/NavDvm.js +8 -8
- package/dist/cjs/NavMagazine.js +22 -22
- package/dist/cjs/NavNative.js +20 -20
- package/dist/cjs/NavNormal.js +8 -8
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +7 -7
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +28 -28
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PubSection.js +20 -20
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/PublicationLanding.js +51 -51
- package/dist/cjs/QueueDeckExpanded.js +22 -22
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +12 -12
- package/dist/cjs/{SeriesSlider-8b500128.js → SeriesSlider-7dbeaa51.js} +12 -12
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-31afe61f.js} +6 -6
- package/dist/cjs/TaxonomyCard.js +5 -5
- package/dist/cjs/TaxonomyDescription.js +24 -24
- package/dist/cjs/TemplateNormal.js +18 -18
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +7 -7
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +24 -24
- package/dist/cjs/VideoSeriesCard.js +8 -8
- package/dist/cjs/VideoSeriesFilter.js +8 -8
- package/dist/cjs/VideoSeriesLandingPage.js +24 -24
- package/dist/cjs/VideoSeriesListing.js +18 -18
- package/dist/cjs/View.js +127 -130
- package/dist/cjs/YahooHero.js +7 -7
- package/dist/cjs/YoutubeGroup.js +23 -23
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-6128bd56.js} +1 -1
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-9f96b3af.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-6de10e57.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-6d1a113d.js} +27 -27
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-eb287781.js → debounce-a93fa7fb.js} +40 -5
- package/dist/cjs/{define-property-aff11f8a.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-c2573ffd.js} +5 -5
- package/dist/cjs/{extends-1e24fc8d.js → extends-9d158713.js} +7 -7
- package/dist/cjs/{get-68c52cb1.js → get-f2a2369b.js} +20 -20
- package/dist/cjs/getRelatedArticle.js +12 -10
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +24 -24
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-3cdc6e1d.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-33d0daca.js → index-50f1b226.js} +85 -86
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- package/dist/cjs/{index-4d74ffd6.js → index-f86bb269.js} +4 -4
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/{inherits-2eb23889.js → inherits-3ff1b657.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-f0783643.js} +57 -9
- package/dist/cjs/{main-dc082238.js → main-025fdc78.js} +184 -109
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{typeof-97065d40.js → typeof-88a668c5.js} +34 -34
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-46657b5c.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +15 -15
- package/dist/esm/AD300x250x600.js +15 -15
- package/dist/esm/AD728x90.js +16 -16
- package/dist/esm/ADFloatingFooter.js +14 -14
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +14 -14
- package/dist/esm/{ADInfeed-6315ccfc.js → ADInfeed-c85750f6.js} +1 -1
- package/dist/esm/ADSkyscraper.js +14 -14
- package/dist/esm/ADSponsoredResources.js +14 -14
- package/dist/esm/ADWebcast.js +14 -14
- package/dist/esm/ADWelcome.js +14 -14
- package/dist/esm/{ADlgInfeed-4e05a45c.js → ADlgInfeed-af87d4d0.js} +1 -1
- package/dist/esm/AccordionPanel.js +5 -5
- package/dist/esm/AdSlot.js +16 -16
- package/dist/esm/AdSlotsProvider.js +11 -11
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +24 -24
- package/dist/esm/ArticleSeriesLandingPage.js +24 -24
- package/dist/esm/ArticleSeriesListing.js +16 -16
- package/dist/esm/Auth.js +208 -470
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-5ae7409f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-52cf21c5.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +14 -14
- package/dist/esm/Column2.js +11 -11
- package/dist/esm/Column3.js +19 -19
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +31 -31
- package/dist/esm/DeckQueue.js +19 -19
- package/dist/esm/{Dfp-8bfbd310.js → Dfp-16d5afd7.js} +7 -7
- package/dist/esm/EventsDeck.js +36 -36
- package/dist/esm/ExternalResources.js +25 -25
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +7 -7
- package/dist/esm/GridContent.js +29 -29
- package/dist/esm/GridHero.js +7 -7
- package/dist/esm/GroupDeck.js +9 -9
- package/dist/esm/HamMagazine.js +22 -22
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +24 -24
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +7 -7
- package/dist/esm/IssueDeck.js +10 -10
- package/dist/esm/IssueLanding.js +49 -49
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +14 -14
- package/dist/esm/MasterDeck.js +32 -32
- package/dist/esm/MediaSeriesLanding.js +15 -15
- package/dist/esm/NavDvm.js +8 -8
- package/dist/esm/NavMagazine.js +22 -22
- package/dist/esm/NavNative.js +20 -20
- package/dist/esm/NavNormal.js +8 -8
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +7 -7
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +28 -28
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PubSection.js +20 -20
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/PublicationLanding.js +51 -51
- package/dist/esm/QueueDeckExpanded.js +22 -22
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +12 -12
- package/dist/esm/{SeriesSlider-00ad2992.js → SeriesSlider-c324917a.js} +12 -12
- package/dist/esm/SideFooter.js +13 -13
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-116b1d5d.js} +6 -6
- package/dist/esm/TaxonomyCard.js +5 -5
- package/dist/esm/TaxonomyDescription.js +24 -24
- package/dist/esm/TemplateNormal.js +18 -18
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +7 -7
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +24 -24
- package/dist/esm/VideoSeriesCard.js +8 -8
- package/dist/esm/VideoSeriesFilter.js +8 -8
- package/dist/esm/VideoSeriesLandingPage.js +24 -24
- package/dist/esm/VideoSeriesListing.js +18 -18
- package/dist/esm/View.js +128 -131
- package/dist/esm/YahooHero.js +7 -7
- package/dist/esm/YoutubeGroup.js +23 -23
- package/dist/esm/{_is-array-674f71ec.js → _is-array-3e99e06e.js} +1 -1
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_set-species-494ed292.js → _set-species-807b5286.js} +4 -4
- package/dist/esm/{_to-object-97770c52.js → _to-object-b50e61c3.js} +4 -4
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-207adf34.js} +27 -27
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-1a993acf.js → debounce-d47ed3d5.js} +40 -5
- package/dist/esm/{define-property-ec6d528d.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-bc33758b.js} +5 -5
- package/dist/esm/{extends-31d65aba.js → extends-f076879e.js} +7 -7
- package/dist/esm/{get-5ee14cda.js → get-6bdcd759.js} +20 -20
- package/dist/esm/getRelatedArticle.js +12 -10
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +24 -24
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-9e21a02f.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-ccb770c7.js → index-79cfd25c.js} +4 -4
- package/dist/esm/{index-47730283.js → index-821c8b90.js} +86 -86
- package/dist/esm/index.js +35 -35
- package/dist/esm/{inherits-5906fbea.js → inherits-f71787cf.js} +19 -19
- package/dist/esm/{isSymbol-807e927e.js → isSymbol-a8e45de6.js} +15 -15
- package/dist/esm/{keys-a0b0c7a4.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ad27652f.js → lodash-f97fd99a.js} +57 -9
- package/dist/esm/{main-1450d277.js → main-b5c5aac1.js} +178 -103
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{typeof-e9cea9e8.js → typeof-a286cf0c.js} +34 -34
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4109ff68.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/keys-95c064c9.js +0 -25
- package/dist/cjs/stringify-01cf47f7.js +0 -17
- package/dist/esm/stringify-d4839bab.js +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
1
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-f71787cf.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { l as lib_3 } from './index-888f9253.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
@@ -8,29 +8,29 @@ import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
|
-
import { d as debounce_1 } from './debounce-
|
|
11
|
+
import { d as debounce_1 } from './debounce-d47ed3d5.js';
|
|
12
12
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './_to-object-
|
|
15
|
-
import './_object-pie-
|
|
16
|
-
import './es6.string.iterator-
|
|
17
|
-
import './_object-sap-
|
|
18
|
-
import './define-property-
|
|
19
|
-
import './typeof-
|
|
20
|
-
import './web.dom.iterable-
|
|
21
|
-
import './_is-array-
|
|
14
|
+
import './_to-object-b50e61c3.js';
|
|
15
|
+
import './_object-pie-133f504a.js';
|
|
16
|
+
import './es6.string.iterator-bc33758b.js';
|
|
17
|
+
import './_object-sap-f353c2a9.js';
|
|
18
|
+
import './define-property-fe54dc9f.js';
|
|
19
|
+
import './typeof-a286cf0c.js';
|
|
20
|
+
import './web.dom.iterable-4109ff68.js';
|
|
21
|
+
import './_is-array-3e99e06e.js';
|
|
22
22
|
import './_library-528f1934.js';
|
|
23
23
|
import 'prop-types';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
import './iconBase-602d52fe.js';
|
|
26
|
-
import './slicedToArray-
|
|
27
|
-
import './core.get-iterator-method-
|
|
26
|
+
import './slicedToArray-be2f7a22.js';
|
|
27
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
28
28
|
import './index-c7e2ac95.js';
|
|
29
29
|
import './index-752d1dae.js';
|
|
30
30
|
import './smoothscroll-fa4e3f8c.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './main-
|
|
33
|
-
import './isSymbol-
|
|
31
|
+
import './index-0dbff1d1.js';
|
|
32
|
+
import './main-b5c5aac1.js';
|
|
33
|
+
import './isSymbol-a8e45de6.js';
|
|
34
34
|
|
|
35
35
|
var VideoSeriesListing = function (_React$Component) {
|
|
36
36
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -222,10 +222,10 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
222
222
|
|
|
223
223
|
return React.createElement(
|
|
224
224
|
'div',
|
|
225
|
-
{ key: index, counter: itemCounter++ },
|
|
225
|
+
{ key: index, style: { marginBottom: '2rem' }, counter: itemCounter++ },
|
|
226
226
|
React.createElement(
|
|
227
227
|
'div',
|
|
228
|
-
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.
|
|
228
|
+
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.25rem', borderBottom: '1px solid #d4a64d' } },
|
|
229
229
|
React.createElement(
|
|
230
230
|
'a',
|
|
231
231
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
package/dist/esm/View.js
CHANGED
|
@@ -1,47 +1,50 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
4
|
-
import React, { useState, useRef, useEffect } from 'react';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-f076879e.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-
|
|
11
|
-
import { m as
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import {
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-821c8b90.js';
|
|
18
19
|
import DFPAdSlot from './AdSlot.js';
|
|
19
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-c324917a.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9e21a02f.js';
|
|
21
22
|
import getKeywords from './getKeywords.js';
|
|
22
23
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { _ as _typeof } from './typeof-
|
|
24
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
24
25
|
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
25
26
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
26
27
|
import './index-752d1dae.js';
|
|
27
28
|
import { DiscussionEmbed } from 'disqus-react';
|
|
28
|
-
import { _ as _Object$keys } from './keys-
|
|
29
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
29
30
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
31
|
import { l as lib_3 } from './index-888f9253.js';
|
|
31
32
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
32
33
|
import getQuery from './getQuery.js';
|
|
33
34
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
34
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
35
|
-
import './es6.string.iterator-
|
|
36
|
-
import './_to-object-
|
|
37
|
-
import './web.dom.iterable-
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
38
39
|
import './_library-528f1934.js';
|
|
39
|
-
import './core.get-iterator-method-
|
|
40
|
-
import './_set-species-
|
|
41
|
-
import './_iter-detect-
|
|
42
|
-
import './_object-pie-
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_set-species-807b5286.js';
|
|
42
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
43
|
+
import './_object-pie-133f504a.js';
|
|
43
44
|
import 'prop-types';
|
|
44
|
-
import './index-
|
|
45
|
+
import './index-0dbff1d1.js';
|
|
46
|
+
import 'react-dom';
|
|
47
|
+
import 'react-share';
|
|
45
48
|
import 'react-bootstrap';
|
|
46
49
|
import './index-c7e2ac95.js';
|
|
47
50
|
import './util-3ab476bf.js';
|
|
@@ -50,22 +53,20 @@ import './Segment.js';
|
|
|
50
53
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
54
|
import './GroupDeck.js';
|
|
52
55
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
-
import './_is-array-
|
|
54
|
-
import './_object-to-array-
|
|
56
|
+
import './_is-array-3e99e06e.js';
|
|
57
|
+
import './_object-to-array-0f197f89.js';
|
|
55
58
|
import 'react-bootstrap/Pagination';
|
|
56
59
|
import './entities-932b50cf.js';
|
|
57
60
|
import 'react-bootstrap/Row';
|
|
58
61
|
import 'react-bootstrap/Col';
|
|
59
|
-
import './inherits-
|
|
60
|
-
import './_object-sap-
|
|
61
|
-
import './define-property-
|
|
62
|
+
import './inherits-f71787cf.js';
|
|
63
|
+
import './_object-sap-f353c2a9.js';
|
|
64
|
+
import './define-property-fe54dc9f.js';
|
|
62
65
|
import './index.esm-3fdda599.js';
|
|
63
66
|
import './iconBase-602d52fe.js';
|
|
64
67
|
import 'react-bootstrap/Figure';
|
|
65
|
-
import '
|
|
66
|
-
import './
|
|
67
|
-
import './isSymbol-807e927e.js';
|
|
68
|
-
import 'react-dom';
|
|
68
|
+
import './debounce-d47ed3d5.js';
|
|
69
|
+
import './isSymbol-a8e45de6.js';
|
|
69
70
|
import './index-db3bb315.js';
|
|
70
71
|
|
|
71
72
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -143,9 +144,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
143
144
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
144
145
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
145
146
|
!thumbnailUrl && React.createElement('p', {
|
|
146
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
147
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
147
148
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
148
|
-
|
|
149
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
149
150
|
'style',
|
|
150
151
|
{ jsx: 'true' },
|
|
151
152
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -324,7 +325,7 @@ var ISI = function ISI(props) {
|
|
|
324
325
|
);
|
|
325
326
|
};
|
|
326
327
|
|
|
327
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
328
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
328
329
|
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" };
|
|
329
330
|
styleInject(css);
|
|
330
331
|
|
|
@@ -376,7 +377,7 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
376
377
|
);
|
|
377
378
|
};
|
|
378
379
|
|
|
379
|
-
var Article = function
|
|
380
|
+
var Article = forwardRef(function (props, ref) {
|
|
380
381
|
var onVote = function () {
|
|
381
382
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(nodeKey, selectedChoice) {
|
|
382
383
|
var response, result;
|
|
@@ -476,11 +477,14 @@ var Article = function Article(props) {
|
|
|
476
477
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
477
478
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
478
479
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
479
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
480
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
481
|
+
props.active;
|
|
482
|
+
var containerHeight = props.containerHeight,
|
|
480
483
|
_props$refreshFlag = props.refreshFlag,
|
|
481
484
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
482
485
|
disqusConfig = props.disqusConfig;
|
|
483
486
|
|
|
487
|
+
|
|
484
488
|
var targeting = getTargeting(props);
|
|
485
489
|
var onChangeArticle = props.onChangeArticle;
|
|
486
490
|
|
|
@@ -932,29 +936,31 @@ var Article = function Article(props) {
|
|
|
932
936
|
return episode;
|
|
933
937
|
};
|
|
934
938
|
|
|
935
|
-
|
|
939
|
+
// pixels from bottom of window to change trigger visibility change
|
|
940
|
+
var triggerOffset = 10;
|
|
936
941
|
var isVideoSeries = checkIfVideoSeries(article);
|
|
942
|
+
var episodeNumber = fetchCurrentEpisode(props.sliderData, props.article);
|
|
937
943
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
938
944
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
939
945
|
return React.createElement(
|
|
940
946
|
React.Fragment,
|
|
941
947
|
null,
|
|
942
948
|
React.createElement(
|
|
943
|
-
|
|
949
|
+
VisibilitySensor,
|
|
944
950
|
{
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
partialVisibility: true,
|
|
952
|
+
offset: { bottom: triggerOffset, top: containerHeight - triggerOffset },
|
|
953
|
+
onChange: function onChange(isVisible) {
|
|
954
|
+
if (isVisible && queueData && queueData.length > 1) {
|
|
955
|
+
onChangeArticle(url, meta);
|
|
956
|
+
setVisibleFlag(function () {
|
|
957
|
+
return true;
|
|
958
|
+
});
|
|
953
959
|
}
|
|
954
960
|
} },
|
|
955
961
|
React.createElement(
|
|
956
962
|
'div',
|
|
957
|
-
{ id: 'article__block' },
|
|
963
|
+
{ id: 'article__block', ref: ref },
|
|
958
964
|
React.createElement(
|
|
959
965
|
'div',
|
|
960
966
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
@@ -1106,7 +1112,7 @@ var Article = function Article(props) {
|
|
|
1106
1112
|
React.createElement(
|
|
1107
1113
|
'div',
|
|
1108
1114
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1109
|
-
|
|
1115
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1110
1116
|
if (index === 0) {
|
|
1111
1117
|
return React.createElement(
|
|
1112
1118
|
'div',
|
|
@@ -1174,17 +1180,17 @@ var Article = function Article(props) {
|
|
|
1174
1180
|
)
|
|
1175
1181
|
),
|
|
1176
1182
|
renderIsiContent(props.article)
|
|
1177
|
-
),
|
|
1178
|
-
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1179
|
-
ISI,
|
|
1180
|
-
null,
|
|
1181
|
-
React.createElement(BlockContent, {
|
|
1182
|
-
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1183
|
-
blocks: isi
|
|
1184
|
-
})
|
|
1185
1183
|
)
|
|
1186
1184
|
),
|
|
1187
|
-
|
|
1185
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1186
|
+
ISI,
|
|
1187
|
+
null,
|
|
1188
|
+
React.createElement(BlockContent, {
|
|
1189
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1190
|
+
blocks: isi
|
|
1191
|
+
})
|
|
1192
|
+
),
|
|
1193
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1188
1194
|
if (index > 0) {
|
|
1189
1195
|
return React.createElement(
|
|
1190
1196
|
'div',
|
|
@@ -1220,9 +1226,9 @@ var Article = function Article(props) {
|
|
|
1220
1226
|
} else {
|
|
1221
1227
|
return detail();
|
|
1222
1228
|
}
|
|
1223
|
-
};
|
|
1229
|
+
});
|
|
1224
1230
|
|
|
1225
|
-
var _this = undefined;
|
|
1231
|
+
var _this$1 = undefined;
|
|
1226
1232
|
|
|
1227
1233
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1228
1234
|
var _props$prevUrl = props.prevUrl,
|
|
@@ -1238,6 +1244,25 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1238
1244
|
showRelatedArticles = props.showRelatedArticles,
|
|
1239
1245
|
canonicalTag = props.canonicalTag;
|
|
1240
1246
|
|
|
1247
|
+
var _useState = useState(0),
|
|
1248
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
1249
|
+
containerHeight = _useState2[0],
|
|
1250
|
+
setContainerHeight = _useState2[1];
|
|
1251
|
+
|
|
1252
|
+
useEffect(function () {
|
|
1253
|
+
setContainerHeight(function () {
|
|
1254
|
+
return window.innerHeight;
|
|
1255
|
+
});
|
|
1256
|
+
var handleResize = function handleResize() {
|
|
1257
|
+
return setContainerHeight(function () {
|
|
1258
|
+
return window.innerHeight;
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
window.addEventListener('resize', handleResize);
|
|
1262
|
+
return function () {
|
|
1263
|
+
return window.removeEventListener('resize', handleResize);
|
|
1264
|
+
};
|
|
1265
|
+
}, []);
|
|
1241
1266
|
|
|
1242
1267
|
var firstArticle = function firstArticle() {
|
|
1243
1268
|
var article = _Object$assign({}, props.article);
|
|
@@ -1246,24 +1271,27 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1246
1271
|
return article;
|
|
1247
1272
|
};
|
|
1248
1273
|
|
|
1249
|
-
var
|
|
1250
|
-
|
|
1251
|
-
queueData =
|
|
1252
|
-
setQueueData =
|
|
1274
|
+
var _useState3 = useState([firstArticle()]),
|
|
1275
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
1276
|
+
queueData = _useState4[0],
|
|
1277
|
+
setQueueData = _useState4[1];
|
|
1278
|
+
|
|
1279
|
+
var _useState5 = useState(queueData[0]._id),
|
|
1280
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
1281
|
+
active = _useState6[0],
|
|
1282
|
+
setActive = _useState6[1];
|
|
1253
1283
|
|
|
1254
1284
|
var refreshAD = function refreshAD(path) {
|
|
1255
1285
|
var activeArticle = queueData.find(function (item) {
|
|
1256
1286
|
return item.url.current === path;
|
|
1257
1287
|
});
|
|
1258
1288
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1259
|
-
|
|
1260
|
-
if (!main_40) {
|
|
1289
|
+
if (!main_43) {
|
|
1261
1290
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1262
1291
|
if (window.googletag && googletag.pubadsReady) {
|
|
1263
1292
|
var slots = googletag.pubads().getSlots();
|
|
1264
1293
|
slots.forEach(function (slot) {
|
|
1265
1294
|
var pos = slot.getTargeting('pos');
|
|
1266
|
-
|
|
1267
1295
|
slot.clearTargeting();
|
|
1268
1296
|
_Object$keys(targeting).forEach(function (key) {
|
|
1269
1297
|
slot.setTargeting(key, targeting[key]);
|
|
@@ -1275,7 +1303,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1275
1303
|
});
|
|
1276
1304
|
}
|
|
1277
1305
|
//Refresh leaderboard ad on mobile
|
|
1278
|
-
if (
|
|
1306
|
+
if (main_43) {
|
|
1279
1307
|
var leaderboardSlotId = '';
|
|
1280
1308
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1281
1309
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1298,27 +1326,6 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1298
1326
|
}
|
|
1299
1327
|
};
|
|
1300
1328
|
|
|
1301
|
-
var preVscroll = 0;
|
|
1302
|
-
var isScrollDown = true;
|
|
1303
|
-
|
|
1304
|
-
var scrollDirectionDetect = function scrollDirectionDetect(e) {
|
|
1305
|
-
var window = e.currentTarget;
|
|
1306
|
-
|
|
1307
|
-
if (preVscroll > window.scrollY) {
|
|
1308
|
-
isScrollDown = false;
|
|
1309
|
-
} else if (preVscroll < window.scrollY) {
|
|
1310
|
-
isScrollDown = true;
|
|
1311
|
-
}
|
|
1312
|
-
preVscroll = window.scrollY;
|
|
1313
|
-
};
|
|
1314
|
-
|
|
1315
|
-
useEffect(function () {
|
|
1316
|
-
window.addEventListener('scroll', scrollDirectionDetect);
|
|
1317
|
-
return function () {
|
|
1318
|
-
return window.removeEventListener('scroll', scrollDirectionDetect);
|
|
1319
|
-
};
|
|
1320
|
-
});
|
|
1321
|
-
|
|
1322
1329
|
var hasVerticalScroll = function hasVerticalScroll() {
|
|
1323
1330
|
if (window.innerHeight) {
|
|
1324
1331
|
return document.body.offsetHeight > window.innerHeight;
|
|
@@ -1400,7 +1407,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1400
1407
|
return _context.stop();
|
|
1401
1408
|
}
|
|
1402
1409
|
}
|
|
1403
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1410
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1404
1411
|
}));
|
|
1405
1412
|
|
|
1406
1413
|
return function loadmore() {
|
|
@@ -1425,60 +1432,50 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1425
1432
|
}
|
|
1426
1433
|
};
|
|
1427
1434
|
|
|
1428
|
-
var onChangeArticle = function onChangeArticle(path,
|
|
1429
|
-
var currentPath = window && window.location && window.location.pathname ? window.location.pathname.replace('/view/', '') : '';
|
|
1435
|
+
var onChangeArticle = function onChangeArticle(path, meta) {
|
|
1430
1436
|
var newPath = '/view/' + path;
|
|
1431
|
-
|
|
1437
|
+
var activeArticle = queueData.find(function (item) {
|
|
1438
|
+
return item.url.current === path;
|
|
1439
|
+
});
|
|
1440
|
+
setActive(function () {
|
|
1441
|
+
return activeArticle._id;
|
|
1442
|
+
});
|
|
1432
1443
|
// Change URL and do other changes
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
var activeArticle = queueData.find(function (item) {
|
|
1438
|
-
return item.url.current === path;
|
|
1439
|
-
});
|
|
1440
|
-
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1441
|
-
}
|
|
1442
|
-
if (props.pageview) props.pageview(newPath);
|
|
1443
|
-
refreshAD(path);
|
|
1444
|
-
};
|
|
1445
|
-
|
|
1446
|
-
if (currentPath !== path) {
|
|
1447
|
-
if (isScrollDown) {
|
|
1448
|
-
if (visibility === 'top') {
|
|
1449
|
-
doChanges();
|
|
1450
|
-
}
|
|
1451
|
-
} else {
|
|
1452
|
-
if (visibility === 'bottom') {
|
|
1453
|
-
doChanges();
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
if (visibility === 'small-top') {
|
|
1457
|
-
doChanges();
|
|
1458
|
-
}
|
|
1444
|
+
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
1445
|
+
changeMeta(meta);
|
|
1446
|
+
if (props.setCustomDimensions) {
|
|
1447
|
+
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1459
1448
|
}
|
|
1449
|
+
if (props.pageview) props.pageview(newPath);
|
|
1450
|
+
refreshAD(path);
|
|
1460
1451
|
};
|
|
1461
1452
|
|
|
1462
1453
|
return React.createElement(
|
|
1463
1454
|
InfiniteScroll,
|
|
1464
|
-
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '
|
|
1455
|
+
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1465
1456
|
queueData.map(function (article, index) {
|
|
1466
|
-
return React.createElement(
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1457
|
+
return React.createElement(
|
|
1458
|
+
React.Fragment,
|
|
1459
|
+
null,
|
|
1460
|
+
React.createElement(Article, _extends({
|
|
1461
|
+
key: index
|
|
1462
|
+
}, props, {
|
|
1463
|
+
containerHeight: containerHeight,
|
|
1464
|
+
onChangeArticle: onChangeArticle,
|
|
1465
|
+
authorPrfix: authorPrefix,
|
|
1466
|
+
article: article,
|
|
1467
|
+
cpModificationRequired: cpModificationRequired,
|
|
1468
|
+
active: active === article._id
|
|
1469
|
+
// Passing queueData to check for single article
|
|
1470
|
+
, queueData: queueData,
|
|
1471
|
+
showRelatedArticles: showRelatedArticles
|
|
1472
|
+
}))
|
|
1473
|
+
);
|
|
1477
1474
|
})
|
|
1478
1475
|
);
|
|
1479
1476
|
};
|
|
1480
1477
|
|
|
1481
|
-
var _this
|
|
1478
|
+
var _this = undefined;
|
|
1482
1479
|
|
|
1483
1480
|
var View = function View(props) {
|
|
1484
1481
|
var router = useRouter();
|
|
@@ -1799,7 +1796,7 @@ View.returnGetInitialProps = function () {
|
|
|
1799
1796
|
return _context.stop();
|
|
1800
1797
|
}
|
|
1801
1798
|
}
|
|
1802
|
-
}, _callee, _this
|
|
1799
|
+
}, _callee, _this);
|
|
1803
1800
|
}));
|
|
1804
1801
|
|
|
1805
1802
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
5
|
+
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
6
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './slicedToArray-
|
|
9
|
-
import './web.dom.iterable-
|
|
10
|
-
import './es6.string.iterator-
|
|
11
|
-
import './_to-object-
|
|
12
|
-
import './core.get-iterator-method-
|
|
8
|
+
import './slicedToArray-be2f7a22.js';
|
|
9
|
+
import './web.dom.iterable-4109ff68.js';
|
|
10
|
+
import './es6.string.iterator-bc33758b.js';
|
|
11
|
+
import './_to-object-b50e61c3.js';
|
|
12
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
|