@mjhls/mjh-framework 1.0.768 → 1.0.769-pagination-test
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 +20 -17
- 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 +20 -17
- 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 +112 -38
- package/dist/cjs/{SeriesSlider-8b500128.js → SeriesSlider-3fdabc5e.js} +13 -13
- 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 +16 -16
- package/dist/cjs/View.js +60 -54
- package/dist/cjs/YahooHero.js +7 -7
- package/dist/cjs/YoutubeGroup.js +19 -19
- 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-b367bc0c.js} +85 -85
- 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 +20 -17
- 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 +20 -17
- 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 +112 -38
- package/dist/esm/{SeriesSlider-00ad2992.js → SeriesSlider-bc3cfd8f.js} +13 -13
- 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 +16 -16
- package/dist/esm/View.js +60 -54
- package/dist/esm/YahooHero.js +7 -7
- package/dist/esm/YoutubeGroup.js +19 -19
- 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-cc931a8f.js} +85 -85
- 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,37 +1,37 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-cc931a8f.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import './es6.string.iterator-
|
|
12
|
-
import './_to-object-
|
|
13
|
-
import './web.dom.iterable-
|
|
11
|
+
import './es6.string.iterator-bc33758b.js';
|
|
12
|
+
import './_to-object-b50e61c3.js';
|
|
13
|
+
import './web.dom.iterable-4109ff68.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
|
-
import './core.get-iterator-method-
|
|
16
|
-
import './_set-species-
|
|
17
|
-
import './_iter-detect-
|
|
18
|
-
import './_object-pie-
|
|
15
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
16
|
+
import './_set-species-807b5286.js';
|
|
17
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
18
|
+
import './_object-pie-133f504a.js';
|
|
19
19
|
import 'prop-types';
|
|
20
|
-
import './index-
|
|
21
|
-
import './slicedToArray-
|
|
20
|
+
import './index-0dbff1d1.js';
|
|
21
|
+
import './slicedToArray-be2f7a22.js';
|
|
22
22
|
import 'react-bootstrap';
|
|
23
23
|
import './index-888f9253.js';
|
|
24
24
|
import 'next/router';
|
|
25
25
|
import './index-c7e2ac95.js';
|
|
26
26
|
import './util-3ab476bf.js';
|
|
27
27
|
import './Beam.js';
|
|
28
|
-
import './stringify-
|
|
28
|
+
import './stringify-59c8f690.js';
|
|
29
29
|
import './Segment.js';
|
|
30
|
-
import './main-
|
|
30
|
+
import './main-b5c5aac1.js';
|
|
31
31
|
import './index-752d1dae.js';
|
|
32
32
|
import 'react-dom';
|
|
33
|
-
import './typeof-
|
|
34
|
-
import './_is-array-
|
|
33
|
+
import './typeof-a286cf0c.js';
|
|
34
|
+
import './_is-array-3e99e06e.js';
|
|
35
35
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
36
36
|
import './GroupDeck.js';
|
|
37
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
@@ -39,17 +39,17 @@ import './moment-bc12cb97.js';
|
|
|
39
39
|
import './SocialShare.js';
|
|
40
40
|
import 'next/head';
|
|
41
41
|
import 'react-share';
|
|
42
|
-
import './_object-to-array-
|
|
43
|
-
import './toConsumableArray-
|
|
42
|
+
import './_object-to-array-0f197f89.js';
|
|
43
|
+
import './toConsumableArray-6d9a4616.js';
|
|
44
44
|
import 'react-bootstrap/Pagination';
|
|
45
45
|
import './entities-932b50cf.js';
|
|
46
46
|
import './AdSlot.js';
|
|
47
|
-
import './debounce-
|
|
48
|
-
import './isSymbol-
|
|
47
|
+
import './debounce-d47ed3d5.js';
|
|
48
|
+
import './isSymbol-a8e45de6.js';
|
|
49
49
|
import 'react-bootstrap/Row';
|
|
50
|
-
import './inherits-
|
|
51
|
-
import './_object-sap-
|
|
52
|
-
import './define-property-
|
|
50
|
+
import './inherits-f71787cf.js';
|
|
51
|
+
import './_object-sap-f353c2a9.js';
|
|
52
|
+
import './define-property-fe54dc9f.js';
|
|
53
53
|
import './index.esm-3fdda599.js';
|
|
54
54
|
import './iconBase-602d52fe.js';
|
|
55
55
|
import 'react-bootstrap/Figure';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-
|
|
1
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './es6.string.iterator-
|
|
10
|
-
import './_to-object-
|
|
11
|
-
import './web.dom.iterable-
|
|
12
|
-
import './_is-array-
|
|
13
|
-
import './_object-pie-
|
|
9
|
+
import './es6.string.iterator-bc33758b.js';
|
|
10
|
+
import './_to-object-b50e61c3.js';
|
|
11
|
+
import './web.dom.iterable-4109ff68.js';
|
|
12
|
+
import './_is-array-3e99e06e.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
|
|
17
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\
|
|
17
|
+
var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
|
|
18
18
|
var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
|
|
19
19
|
styleInject(css);
|
|
20
20
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { withRouter } from 'next/router';
|
|
5
5
|
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './es6.string.iterator-
|
|
8
|
-
import './_to-object-
|
|
9
|
-
import './web.dom.iterable-
|
|
7
|
+
import './es6.string.iterator-bc33758b.js';
|
|
8
|
+
import './_to-object-b50e61c3.js';
|
|
9
|
+
import './web.dom.iterable-4109ff68.js';
|
|
10
10
|
import './_library-528f1934.js';
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './_set-species-
|
|
13
|
-
import './_iter-detect-
|
|
11
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './_set-species-807b5286.js';
|
|
13
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
14
14
|
|
|
15
15
|
var _this = undefined;
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _typeof } from './typeof-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { m as moment } from './moment-bc12cb97.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
@@ -7,22 +7,22 @@ import Breadcrumbs from './Breadcrumbs.js';
|
|
|
7
7
|
import MasterDeck from './MasterDeck.js';
|
|
8
8
|
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './es6.string.iterator-
|
|
11
|
-
import './_to-object-
|
|
12
|
-
import './web.dom.iterable-
|
|
10
|
+
import './es6.string.iterator-bc33758b.js';
|
|
11
|
+
import './_to-object-b50e61c3.js';
|
|
12
|
+
import './web.dom.iterable-4109ff68.js';
|
|
13
13
|
import './_library-528f1934.js';
|
|
14
|
-
import './core.get-iterator-method-
|
|
15
|
-
import './_set-species-
|
|
16
|
-
import './_iter-detect-
|
|
17
|
-
import './_is-array-
|
|
18
|
-
import './_object-pie-
|
|
19
|
-
import './slicedToArray-
|
|
14
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
15
|
+
import './_set-species-807b5286.js';
|
|
16
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
17
|
+
import './_is-array-3e99e06e.js';
|
|
18
|
+
import './_object-pie-133f504a.js';
|
|
19
|
+
import './slicedToArray-be2f7a22.js';
|
|
20
20
|
import 'react-bootstrap/Breadcrumb';
|
|
21
|
-
import './toConsumableArray-
|
|
22
|
-
import './extends-
|
|
23
|
-
import './inherits-
|
|
24
|
-
import './_object-sap-
|
|
25
|
-
import './define-property-
|
|
21
|
+
import './toConsumableArray-6d9a4616.js';
|
|
22
|
+
import './extends-f076879e.js';
|
|
23
|
+
import './inherits-f71787cf.js';
|
|
24
|
+
import './_object-sap-f353c2a9.js';
|
|
25
|
+
import './define-property-fe54dc9f.js';
|
|
26
26
|
import './index-888f9253.js';
|
|
27
27
|
import 'prop-types';
|
|
28
28
|
import 'react-bootstrap/Container';
|
|
@@ -30,20 +30,20 @@ import 'react-bootstrap/Row';
|
|
|
30
30
|
import 'react-bootstrap/Col';
|
|
31
31
|
import 'react-bootstrap/Card';
|
|
32
32
|
import 'next/router';
|
|
33
|
-
import './lodash-
|
|
34
|
-
import './debounce-
|
|
35
|
-
import './isSymbol-
|
|
33
|
+
import './lodash-f97fd99a.js';
|
|
34
|
+
import './debounce-d47ed3d5.js';
|
|
35
|
+
import './isSymbol-a8e45de6.js';
|
|
36
36
|
import './index.es-c6222053.js';
|
|
37
37
|
import './visibility-sensor-082c757b.js';
|
|
38
38
|
import 'react-dom';
|
|
39
|
-
import './index-
|
|
40
|
-
import './ADlgInfeed-
|
|
39
|
+
import './index-0dbff1d1.js';
|
|
40
|
+
import './ADlgInfeed-af87d4d0.js';
|
|
41
41
|
import './AdSlot.js';
|
|
42
42
|
import './Beam.js';
|
|
43
|
-
import './stringify-
|
|
43
|
+
import './stringify-59c8f690.js';
|
|
44
44
|
import './Segment.js';
|
|
45
|
-
import './main-
|
|
46
|
-
import './ADInfeed-
|
|
45
|
+
import './main-b5c5aac1.js';
|
|
46
|
+
import './ADInfeed-c85750f6.js';
|
|
47
47
|
import './index-752d1dae.js';
|
|
48
48
|
import './style-inject.es-1f59c1d0.js';
|
|
49
49
|
|
|
@@ -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);
|
package/dist/esm/View.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
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-
|
|
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
4
|
import React, { useState, useRef, useEffect } 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 { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
16
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-cc931a8f.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
19
|
+
import { S as SeriesSlider } from './SeriesSlider-bc3cfd8f.js';
|
|
20
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9e21a02f.js';
|
|
21
21
|
import getKeywords from './getKeywords.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { _ as _typeof } from './typeof-
|
|
23
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
24
24
|
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
25
25
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
26
26
|
import './index-752d1dae.js';
|
|
27
27
|
import { DiscussionEmbed } from 'disqus-react';
|
|
28
|
-
import { _ as _Object$keys } from './keys-
|
|
28
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
29
29
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
30
|
import { l as lib_3 } from './index-888f9253.js';
|
|
31
31
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
32
32
|
import getQuery from './getQuery.js';
|
|
33
33
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
34
34
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
35
|
-
import './es6.string.iterator-
|
|
36
|
-
import './_to-object-
|
|
37
|
-
import './web.dom.iterable-
|
|
35
|
+
import './es6.string.iterator-bc33758b.js';
|
|
36
|
+
import './_to-object-b50e61c3.js';
|
|
37
|
+
import './web.dom.iterable-4109ff68.js';
|
|
38
38
|
import './_library-528f1934.js';
|
|
39
|
-
import './core.get-iterator-method-
|
|
40
|
-
import './_set-species-
|
|
41
|
-
import './_iter-detect-
|
|
42
|
-
import './_object-pie-
|
|
39
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
40
|
+
import './_set-species-807b5286.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
43
43
|
import 'prop-types';
|
|
44
|
-
import './index-
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
45
45
|
import 'react-bootstrap';
|
|
46
46
|
import './index-c7e2ac95.js';
|
|
47
47
|
import './util-3ab476bf.js';
|
|
@@ -50,21 +50,21 @@ import './Segment.js';
|
|
|
50
50
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
51
|
import './GroupDeck.js';
|
|
52
52
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
-
import './_is-array-
|
|
54
|
-
import './_object-to-array-
|
|
53
|
+
import './_is-array-3e99e06e.js';
|
|
54
|
+
import './_object-to-array-0f197f89.js';
|
|
55
55
|
import 'react-bootstrap/Pagination';
|
|
56
56
|
import './entities-932b50cf.js';
|
|
57
57
|
import 'react-bootstrap/Row';
|
|
58
58
|
import 'react-bootstrap/Col';
|
|
59
|
-
import './inherits-
|
|
60
|
-
import './_object-sap-
|
|
61
|
-
import './define-property-
|
|
59
|
+
import './inherits-f71787cf.js';
|
|
60
|
+
import './_object-sap-f353c2a9.js';
|
|
61
|
+
import './define-property-fe54dc9f.js';
|
|
62
62
|
import './index.esm-3fdda599.js';
|
|
63
63
|
import './iconBase-602d52fe.js';
|
|
64
64
|
import 'react-bootstrap/Figure';
|
|
65
65
|
import 'react-share';
|
|
66
|
-
import './debounce-
|
|
67
|
-
import './isSymbol-
|
|
66
|
+
import './debounce-d47ed3d5.js';
|
|
67
|
+
import './isSymbol-a8e45de6.js';
|
|
68
68
|
import 'react-dom';
|
|
69
69
|
import './index-db3bb315.js';
|
|
70
70
|
|
|
@@ -143,9 +143,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
143
143
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
144
144
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
145
145
|
!thumbnailUrl && React.createElement('p', {
|
|
146
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
146
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
147
147
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
148
|
-
|
|
148
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
149
149
|
'style',
|
|
150
150
|
{ jsx: 'true' },
|
|
151
151
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -324,7 +324,7 @@ var ISI = function ISI(props) {
|
|
|
324
324
|
);
|
|
325
325
|
};
|
|
326
326
|
|
|
327
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
327
|
+
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
328
|
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
329
|
styleInject(css);
|
|
330
330
|
|
|
@@ -706,9 +706,9 @@ var Article = function Article(props) {
|
|
|
706
706
|
slotId: (payload.contextualVideoAD.slotId || 'in-context_video') + '-' + payload._id
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
|
-
var
|
|
709
|
+
var selectedIndex = indexes[1] + 1;
|
|
710
710
|
if (seriesInfo.hasVideo) {
|
|
711
|
-
|
|
711
|
+
selectedIndex = seriesInfo.videoIndex;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
714
|
var checkIsVideoAdFound = function checkIsVideoAdFound(isFound) {
|
|
@@ -727,7 +727,7 @@ var Article = function Article(props) {
|
|
|
727
727
|
null,
|
|
728
728
|
React.createElement(BlockContent, _extends({
|
|
729
729
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
730
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(0,
|
|
730
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
731
731
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
732
732
|
}, client.config())),
|
|
733
733
|
React.createElement('span', { className: 'clearfix' }),
|
|
@@ -748,7 +748,7 @@ var Article = function Article(props) {
|
|
|
748
748
|
),
|
|
749
749
|
React.createElement(BlockContent, _extends({
|
|
750
750
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
751
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(
|
|
751
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
752
752
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
753
753
|
}, client.config()))
|
|
754
754
|
);
|
|
@@ -767,9 +767,9 @@ var Article = function Article(props) {
|
|
|
767
767
|
}, { viewport: [0, 0], sizes: ['fluid', [300, 100]] }] : { viewport: [0, 0], sizes: ['fluid', [300, 100]] }
|
|
768
768
|
})
|
|
769
769
|
});
|
|
770
|
-
var
|
|
770
|
+
var _selectedIndex = indexes[1] + 1;
|
|
771
771
|
if (seriesInfo.hasVideo) {
|
|
772
|
-
|
|
772
|
+
_selectedIndex = seriesInfo.videoIndex;
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
return React.createElement(
|
|
@@ -777,7 +777,7 @@ var Article = function Article(props) {
|
|
|
777
777
|
null,
|
|
778
778
|
React.createElement(BlockContent, _extends({
|
|
779
779
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
780
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(0,
|
|
780
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
781
781
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
782
782
|
}, client.config())),
|
|
783
783
|
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
@@ -793,7 +793,7 @@ var Article = function Article(props) {
|
|
|
793
793
|
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
794
794
|
React.createElement(BlockContent, _extends({
|
|
795
795
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
796
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(
|
|
796
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
797
797
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
798
798
|
}, client.config()))
|
|
799
799
|
);
|
|
@@ -803,9 +803,9 @@ var Article = function Article(props) {
|
|
|
803
803
|
slotId: (payload.contextualVideoAD.slotId || 'in-context_video') + '-' + payload._id
|
|
804
804
|
})
|
|
805
805
|
});
|
|
806
|
-
var
|
|
806
|
+
var _selectedIndex2 = indexes[1] + 1;
|
|
807
807
|
if (seriesInfo.hasVideo) {
|
|
808
|
-
|
|
808
|
+
_selectedIndex2 = seriesInfo.videoIndex;
|
|
809
809
|
}
|
|
810
810
|
var _checkIsAdFound2 = function _checkIsAdFound2(isFound) {
|
|
811
811
|
if (!isFound) {
|
|
@@ -826,7 +826,7 @@ var Article = function Article(props) {
|
|
|
826
826
|
null,
|
|
827
827
|
React.createElement(BlockContent, _extends({
|
|
828
828
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
829
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(0,
|
|
829
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
830
830
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
831
831
|
}, client.config())),
|
|
832
832
|
React.createElement('span', { className: 'clearfix' }),
|
|
@@ -838,23 +838,29 @@ var Article = function Article(props) {
|
|
|
838
838
|
),
|
|
839
839
|
React.createElement(BlockContent, _extends({
|
|
840
840
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
841
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(
|
|
841
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
842
842
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
843
843
|
}, client.config()))
|
|
844
844
|
);
|
|
845
845
|
} else {
|
|
846
|
+
|
|
847
|
+
var _selectedIndex3 = indexes[1] + 1;
|
|
848
|
+
if (seriesInfo.hasVideo) {
|
|
849
|
+
_selectedIndex3 = seriesInfo.videoIndex;
|
|
850
|
+
}
|
|
851
|
+
|
|
846
852
|
return React.createElement(
|
|
847
853
|
'div',
|
|
848
854
|
null,
|
|
849
855
|
React.createElement(BlockContent, _extends({
|
|
850
856
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
851
|
-
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(
|
|
857
|
+
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
852
858
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
853
859
|
}, client.config())),
|
|
854
860
|
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
855
861
|
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
856
862
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
857
|
-
blocks: [].concat(_toConsumableArray(articleBody.slice(
|
|
863
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
858
864
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
859
865
|
}, client.config()))
|
|
860
866
|
);
|
|
@@ -926,7 +932,7 @@ var Article = function Article(props) {
|
|
|
926
932
|
var episode = null;
|
|
927
933
|
sliderData.forEach(function (seriesArticle, index) {
|
|
928
934
|
if (seriesArticle.title === article.title) {
|
|
929
|
-
episode =
|
|
935
|
+
episode = index + 1;
|
|
930
936
|
}
|
|
931
937
|
});
|
|
932
938
|
return episode;
|
|
@@ -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',
|
|
@@ -1184,7 +1190,7 @@ var Article = function Article(props) {
|
|
|
1184
1190
|
})
|
|
1185
1191
|
)
|
|
1186
1192
|
),
|
|
1187
|
-
|
|
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',
|
|
@@ -1222,7 +1228,7 @@ var Article = function Article(props) {
|
|
|
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,
|
|
@@ -1257,7 +1263,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1257
1263
|
});
|
|
1258
1264
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1259
1265
|
|
|
1260
|
-
if (!
|
|
1266
|
+
if (!main_43) {
|
|
1261
1267
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1262
1268
|
if (window.googletag && googletag.pubadsReady) {
|
|
1263
1269
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1275,7 +1281,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1275
1281
|
});
|
|
1276
1282
|
}
|
|
1277
1283
|
//Refresh leaderboard ad on mobile
|
|
1278
|
-
if (
|
|
1284
|
+
if (main_43) {
|
|
1279
1285
|
var leaderboardSlotId = '';
|
|
1280
1286
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1281
1287
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1400,7 +1406,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1400
1406
|
return _context.stop();
|
|
1401
1407
|
}
|
|
1402
1408
|
}
|
|
1403
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1409
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1404
1410
|
}));
|
|
1405
1411
|
|
|
1406
1412
|
return function loadmore() {
|
|
@@ -1478,7 +1484,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1478
1484
|
);
|
|
1479
1485
|
};
|
|
1480
1486
|
|
|
1481
|
-
var _this
|
|
1487
|
+
var _this = undefined;
|
|
1482
1488
|
|
|
1483
1489
|
var View = function View(props) {
|
|
1484
1490
|
var router = useRouter();
|
|
@@ -1706,7 +1712,7 @@ View.returnGetInitialProps = function () {
|
|
|
1706
1712
|
}
|
|
1707
1713
|
|
|
1708
1714
|
_context.next = 11;
|
|
1709
|
-
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published
|
|
1715
|
+
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && passwordLock != true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
|
|
1710
1716
|
|
|
1711
1717
|
case 11:
|
|
1712
1718
|
sliderArticles = _context.sent;
|
|
@@ -1799,7 +1805,7 @@ View.returnGetInitialProps = function () {
|
|
|
1799
1805
|
return _context.stop();
|
|
1800
1806
|
}
|
|
1801
1807
|
}
|
|
1802
|
-
}, _callee, _this
|
|
1808
|
+
}, _callee, _this);
|
|
1803
1809
|
}));
|
|
1804
1810
|
|
|
1805
1811
|
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
|
|