@mjhls/mjh-framework 1.0.775-beta.0 → 1.0.775
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 +10 -9
- package/dist/cjs/AD300x250.js +28 -27
- package/dist/cjs/AD300x250x600.js +28 -27
- package/dist/cjs/AD728x90.js +31 -30
- package/dist/cjs/ADFloatingFooter.js +30 -29
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +30 -29
- package/dist/cjs/{ADInfeed-89761278.js → ADInfeed-d1eceaf2.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +30 -29
- package/dist/cjs/ADSponsoredResources.js +30 -29
- package/dist/cjs/ADWebcast.js +30 -29
- package/dist/cjs/ADWelcome.js +31 -30
- package/dist/cjs/{ADlgInfeed-853ddc3d.js → ADlgInfeed-24c693d8.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +33 -32
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +57 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +820 -334
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +24 -23
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +91 -87
- package/dist/cjs/{Dfp-b807d8fa.js → Dfp-a17e00fa.js} +32 -31
- package/dist/cjs/EventsDeck.js +138 -131
- package/dist/cjs/ExternalResources.js +79 -78
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +182 -178
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +136 -131
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +71 -70
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +71 -70
- package/dist/cjs/MediaSeriesLanding.js +41 -39
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +135 -127
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +107 -106
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +40 -39
- package/dist/cjs/PubToc.js +17 -16
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +80 -76
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +37 -37
- package/dist/cjs/{SeriesSlider-f662f1f5.js → SeriesSlider-193a2958.js} +38 -37
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +74 -73
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +76 -72
- package/dist/cjs/VideoSeriesCard.js +32 -31
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +47 -46
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +254 -251
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +138 -76
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +44 -44
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-497b581d.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-87c74c59.js → index-654bd07a.js} +927 -904
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +164 -161
- package/dist/cjs/{inherits-c9f99d47.js → inherits-2eb23889.js} +5 -5
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-4ef21f0f.js} +72 -23
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-1e0d374f.js → ADInfeed-c12cd1ce.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-c089deab.js → ADlgInfeed-246a8787.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +53 -53
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +799 -317
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +65 -65
- package/dist/esm/{Dfp-ebc4b22f.js → Dfp-988dbcaa.js} +21 -21
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +140 -140
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +105 -105
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +67 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +64 -64
- package/dist/esm/MediaSeriesLanding.js +32 -32
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +100 -100
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +102 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +36 -36
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +51 -51
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +31 -31
- package/dist/esm/{SeriesSlider-9245785f.js → SeriesSlider-6a1081ff.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +67 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +62 -62
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +39 -39
- package/dist/esm/VideoSeriesListing.js +71 -71
- package/dist/esm/View.js +234 -235
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
- package/dist/esm/{_set-species-3f8319f5.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
- package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-2bd4099a.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
- package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +133 -71
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +44 -44
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-b07fdf8a.js → index-928f03b5.js} +862 -846
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +130 -130
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ad27652f.js} +72 -23
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/View.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-31d65aba.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
4
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
5
|
+
import Head from 'next/head';
|
|
6
|
+
import { useRouter } from 'next/router';
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
11
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
12
|
+
import 'react-bootstrap/Dropdown';
|
|
13
|
+
import Form from 'react-bootstrap/Form';
|
|
14
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
+
import Button from 'react-bootstrap/Button';
|
|
16
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-928f03b5.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import DFPAdSlot from './AdSlot.js';
|
|
19
|
+
import { S as SeriesSlider } from './SeriesSlider-6a1081ff.js';
|
|
20
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2d402d66.js';
|
|
21
|
+
import getKeywords from './getKeywords.js';
|
|
22
|
+
import urlFor from './urlFor.js';
|
|
23
|
+
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
24
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
25
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
26
|
+
import './index-752d1dae.js';
|
|
27
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
28
|
+
import { _ as _Object$keys } from './keys-a0b0c7a4.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
|
+
import { l as lib_3 } from './index-888f9253.js';
|
|
31
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
32
|
+
import getQuery from './getQuery.js';
|
|
33
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
1
34
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
35
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
36
|
+
import './_to-object-97770c52.js';
|
|
37
|
+
import './web.dom.iterable-035980f3.js';
|
|
4
38
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
39
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
40
|
+
import './_set-species-494ed292.js';
|
|
41
|
+
import './_iter-detect-48516cd3.js';
|
|
8
42
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-fb9b6e8f.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
|
-
import React__default, { useState, useRef, useEffect } from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
18
43
|
import 'prop-types';
|
|
44
|
+
import './index-3f5c03b2.js';
|
|
45
|
+
import 'react-bootstrap';
|
|
46
|
+
import './index-c7e2ac95.js';
|
|
47
|
+
import './util-3ab476bf.js';
|
|
48
|
+
import './Beam.js';
|
|
49
|
+
import './Segment.js';
|
|
50
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
|
+
import './GroupDeck.js';
|
|
52
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
+
import './_is-array-674f71ec.js';
|
|
54
|
+
import './_object-to-array-8f409e54.js';
|
|
55
|
+
import 'react-bootstrap/Pagination';
|
|
56
|
+
import './entities-932b50cf.js';
|
|
19
57
|
import 'react-bootstrap/Row';
|
|
20
58
|
import 'react-bootstrap/Col';
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import './
|
|
59
|
+
import './inherits-5906fbea.js';
|
|
60
|
+
import './_object-sap-fd3054d0.js';
|
|
61
|
+
import './define-property-ec6d528d.js';
|
|
62
|
+
import './index.esm-3fdda599.js';
|
|
63
|
+
import './iconBase-602d52fe.js';
|
|
64
|
+
import 'react-bootstrap/Figure';
|
|
65
|
+
import 'react-share';
|
|
24
66
|
import './debounce-9207d8ee.js';
|
|
67
|
+
import './isSymbol-1981418f.js';
|
|
25
68
|
import './toNumber-2f7a84cd.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
27
69
|
import 'react-dom';
|
|
28
|
-
import './index-73819142.js';
|
|
29
|
-
import './index-5f9f807a.js';
|
|
30
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
31
|
-
import './entities-7cc3bf45.js';
|
|
32
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
33
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
34
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-502f13b4.js';
|
|
35
|
-
import './_set-species-3f8319f5.js';
|
|
36
|
-
import './Segment.js';
|
|
37
|
-
import './Beam.js';
|
|
38
|
-
import DFPAdSlot from './AdSlot.js';
|
|
39
|
-
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
40
|
-
import './index-c7e2ac95.js';
|
|
41
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
42
|
-
import './GroupDeck.js';
|
|
43
|
-
import 'react-bootstrap';
|
|
44
|
-
import './iconBase-602d52fe.js';
|
|
45
|
-
import './index.esm-29e48d38.js';
|
|
46
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-b07fdf8a.js';
|
|
47
|
-
import './util-7700fc59.js';
|
|
48
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
49
|
-
import Head from 'next/head';
|
|
50
|
-
import 'react-share';
|
|
51
|
-
import SocialShare from './SocialShare.js';
|
|
52
|
-
import './_object-to-array-7e804fce.js';
|
|
53
|
-
import 'react-bootstrap/Pagination';
|
|
54
|
-
import Button from 'react-bootstrap/Button';
|
|
55
|
-
import 'react-bootstrap/Figure';
|
|
56
|
-
import Form from 'react-bootstrap/Form';
|
|
57
|
-
import FormControl from 'react-bootstrap/FormControl';
|
|
58
|
-
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
59
|
-
import 'react-bootstrap/Dropdown';
|
|
60
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
61
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
62
70
|
import './index-db3bb315.js';
|
|
63
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
64
|
-
import getQuery from './getQuery.js';
|
|
65
|
-
import { S as SeriesSlider } from './SeriesSlider-9245785f.js';
|
|
66
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-7211f12c.js';
|
|
67
|
-
import getKeywords from './getKeywords.js';
|
|
68
|
-
import urlFor from './urlFor.js';
|
|
69
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
70
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
71
71
|
|
|
72
72
|
var getArticleSummary = function getArticleSummary(article) {
|
|
73
73
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -145,17 +145,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
145
145
|
thumbnailUrl = urlFor(client, article.documentGroup.thumbnail).url();
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
return
|
|
148
|
+
return React.createElement(
|
|
149
149
|
'a',
|
|
150
150
|
{
|
|
151
151
|
href: url,
|
|
152
152
|
className: 'doc-group',
|
|
153
153
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
154
|
-
thumbnailUrl &&
|
|
155
|
-
!thumbnailUrl &&
|
|
156
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
154
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
155
|
+
!thumbnailUrl && React.createElement('p', {
|
|
156
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
157
157
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
158
|
-
|
|
158
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
159
159
|
'style',
|
|
160
160
|
{ jsx: 'true' },
|
|
161
161
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -295,38 +295,38 @@ var ISI = function ISI(props) {
|
|
|
295
295
|
}, 300);
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
|
-
return
|
|
299
|
-
|
|
298
|
+
return React.createElement(
|
|
299
|
+
React.Fragment,
|
|
300
300
|
null,
|
|
301
|
-
|
|
301
|
+
React.createElement(
|
|
302
302
|
'div',
|
|
303
303
|
{ id: 'isi', ref: isi },
|
|
304
|
-
|
|
304
|
+
React.createElement(
|
|
305
305
|
'div',
|
|
306
306
|
{ id: 'isiContent' },
|
|
307
|
-
|
|
307
|
+
React.createElement(
|
|
308
308
|
'div',
|
|
309
309
|
{ onClick: function onClick() {
|
|
310
310
|
return setActive(function (prev) {
|
|
311
311
|
return !prev;
|
|
312
312
|
});
|
|
313
313
|
}, id: 'isiToggle' },
|
|
314
|
-
active ?
|
|
314
|
+
active ? React.createElement(
|
|
315
315
|
'p',
|
|
316
316
|
null,
|
|
317
317
|
'Close ',
|
|
318
|
-
|
|
319
|
-
) :
|
|
318
|
+
React.createElement(FaMinus, null)
|
|
319
|
+
) : React.createElement(
|
|
320
320
|
'p',
|
|
321
321
|
null,
|
|
322
322
|
'See More ',
|
|
323
|
-
|
|
323
|
+
React.createElement(FaPlus, null)
|
|
324
324
|
)
|
|
325
325
|
),
|
|
326
326
|
children
|
|
327
327
|
)
|
|
328
328
|
),
|
|
329
|
-
|
|
329
|
+
React.createElement(
|
|
330
330
|
'style',
|
|
331
331
|
{ jsx: true },
|
|
332
332
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -348,33 +348,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
348
348
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
349
349
|
return null;
|
|
350
350
|
}
|
|
351
|
-
return
|
|
351
|
+
return React.createElement(
|
|
352
352
|
'div',
|
|
353
353
|
{ className: styles.mediaContainer },
|
|
354
354
|
articles.map(function (article, index) {
|
|
355
|
-
return
|
|
355
|
+
return React.createElement(
|
|
356
356
|
'div',
|
|
357
357
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
358
|
-
|
|
358
|
+
React.createElement(
|
|
359
359
|
'a',
|
|
360
360
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
361
|
-
article.thumbnail ?
|
|
361
|
+
article.thumbnail ? React.createElement('img', {
|
|
362
362
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
363
363
|
src: article.thumbnail && urlFor(client, article.thumbnail.asset).width(250).url(),
|
|
364
364
|
alt: article.title
|
|
365
|
-
}) :
|
|
366
|
-
|
|
365
|
+
}) : React.createElement(
|
|
366
|
+
React.Fragment,
|
|
367
367
|
null,
|
|
368
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
368
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
369
369
|
)
|
|
370
370
|
),
|
|
371
|
-
|
|
371
|
+
React.createElement(
|
|
372
372
|
'div',
|
|
373
373
|
{ className: styles.mediaBody },
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
377
|
-
|
|
377
|
+
React.createElement(
|
|
378
378
|
'div',
|
|
379
379
|
{ className: styles.cardTitle },
|
|
380
380
|
article.title
|
|
@@ -542,9 +542,9 @@ var Article = function Article(props) {
|
|
|
542
542
|
setArticleBody = _useState10[1];
|
|
543
543
|
|
|
544
544
|
var _useState11 = useState(true),
|
|
545
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
546
|
-
|
|
547
|
-
setPreviewAd = _useState12[1];
|
|
545
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
546
|
+
_useState12[0];
|
|
547
|
+
var setPreviewAd = _useState12[1];
|
|
548
548
|
|
|
549
549
|
useEffect(function () {
|
|
550
550
|
var path = window && window.location && window.location.search;
|
|
@@ -565,7 +565,7 @@ var Article = function Article(props) {
|
|
|
565
565
|
};
|
|
566
566
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
567
567
|
if (biography) {
|
|
568
|
-
return
|
|
568
|
+
return React.createElement(BlockContent, _extends({
|
|
569
569
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
570
570
|
blocks: [biography]
|
|
571
571
|
}, client.config()));
|
|
@@ -575,9 +575,9 @@ var Article = function Article(props) {
|
|
|
575
575
|
var url = article.url.current;
|
|
576
576
|
|
|
577
577
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
578
|
-
return
|
|
578
|
+
return React.createElement(ISIContent, null);
|
|
579
579
|
} else if (nationalPage === url && ISIContent) {
|
|
580
|
-
return
|
|
580
|
+
return React.createElement(ISIContent, { national: true });
|
|
581
581
|
}
|
|
582
582
|
return null;
|
|
583
583
|
};
|
|
@@ -608,19 +608,19 @@ var Article = function Article(props) {
|
|
|
608
608
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
609
609
|
}
|
|
610
610
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
611
|
-
return
|
|
611
|
+
return React.createElement(
|
|
612
612
|
'div',
|
|
613
613
|
null,
|
|
614
614
|
relatedLinks.map(function (relatedLink, index) {
|
|
615
|
-
return
|
|
615
|
+
return React.createElement(
|
|
616
616
|
'span',
|
|
617
617
|
{ key: index, className: 'related-link' },
|
|
618
|
-
|
|
618
|
+
React.createElement(
|
|
619
619
|
'a',
|
|
620
620
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
621
621
|
relatedLink.label
|
|
622
622
|
),
|
|
623
|
-
|
|
623
|
+
React.createElement(
|
|
624
624
|
'style',
|
|
625
625
|
{ jsx: 'true' },
|
|
626
626
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -635,23 +635,23 @@ var Article = function Article(props) {
|
|
|
635
635
|
};
|
|
636
636
|
|
|
637
637
|
var RelatedContent = function RelatedContent() {
|
|
638
|
-
return
|
|
638
|
+
return React.createElement(
|
|
639
639
|
'section',
|
|
640
640
|
{ id: 'related-content-section', className: 'my-1' },
|
|
641
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
641
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
642
642
|
'p',
|
|
643
643
|
{ className: 'mb-0' },
|
|
644
|
-
|
|
644
|
+
React.createElement(
|
|
645
645
|
'b',
|
|
646
646
|
null,
|
|
647
647
|
'Related Content:'
|
|
648
648
|
)
|
|
649
649
|
),
|
|
650
|
-
|
|
651
|
-
|
|
650
|
+
React.createElement(RelevantTopics, null),
|
|
651
|
+
React.createElement(
|
|
652
652
|
'div',
|
|
653
653
|
{ className: 'pt-2' },
|
|
654
|
-
|
|
654
|
+
React.createElement(RelatedArticle, {
|
|
655
655
|
articles: article.relatedArticle,
|
|
656
656
|
client: client,
|
|
657
657
|
fallbackImage: props.Settings.logo,
|
|
@@ -662,28 +662,28 @@ var Article = function Article(props) {
|
|
|
662
662
|
};
|
|
663
663
|
|
|
664
664
|
var form = function form() {
|
|
665
|
-
return
|
|
666
|
-
|
|
665
|
+
return React.createElement(
|
|
666
|
+
React.Fragment,
|
|
667
667
|
null,
|
|
668
|
-
|
|
668
|
+
React.createElement(
|
|
669
669
|
Head,
|
|
670
670
|
null,
|
|
671
|
-
|
|
671
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
672
672
|
),
|
|
673
|
-
|
|
673
|
+
React.createElement(
|
|
674
674
|
'div',
|
|
675
675
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
676
|
-
|
|
676
|
+
React.createElement(
|
|
677
677
|
Form,
|
|
678
678
|
{
|
|
679
679
|
inline: true,
|
|
680
680
|
onSubmit: function onSubmit(e) {
|
|
681
681
|
e.preventDefault();
|
|
682
682
|
} },
|
|
683
|
-
|
|
683
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
684
684
|
return setPasswordKey(e.target.value);
|
|
685
685
|
}, placeholder: 'Password' }),
|
|
686
|
-
|
|
686
|
+
React.createElement(
|
|
687
687
|
Button,
|
|
688
688
|
{
|
|
689
689
|
variant: 'primary',
|
|
@@ -732,31 +732,31 @@ var Article = function Article(props) {
|
|
|
732
732
|
setContextualADFlag(true);
|
|
733
733
|
}
|
|
734
734
|
};
|
|
735
|
-
return
|
|
736
|
-
|
|
735
|
+
return React.createElement(
|
|
736
|
+
React.Fragment,
|
|
737
737
|
null,
|
|
738
|
-
|
|
738
|
+
React.createElement(BlockContent, _extends({
|
|
739
739
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
740
740
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
741
741
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
742
742
|
}, client.config())),
|
|
743
|
-
|
|
744
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
745
|
-
|
|
743
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
744
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
745
|
+
React.createElement(
|
|
746
746
|
'div',
|
|
747
747
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
748
|
-
|
|
748
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
749
749
|
refreshFlag: refreshFlag
|
|
750
750
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
751
751
|
}))
|
|
752
752
|
),
|
|
753
|
-
|
|
754
|
-
|
|
753
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
754
|
+
React.createElement(
|
|
755
755
|
'div',
|
|
756
756
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
757
|
-
|
|
757
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
758
758
|
),
|
|
759
|
-
|
|
759
|
+
React.createElement(BlockContent, _extends({
|
|
760
760
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
761
761
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
762
762
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -782,26 +782,26 @@ var Article = function Article(props) {
|
|
|
782
782
|
_selectedIndex = seriesInfo.videoIndex;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
return
|
|
786
|
-
|
|
785
|
+
return React.createElement(
|
|
786
|
+
React.Fragment,
|
|
787
787
|
null,
|
|
788
|
-
|
|
788
|
+
React.createElement(BlockContent, _extends({
|
|
789
789
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
790
790
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
791
791
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
792
792
|
}, client.config())),
|
|
793
|
-
contextualADFlag &&
|
|
794
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
795
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
793
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
794
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
795
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
796
796
|
'div',
|
|
797
797
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
798
|
-
|
|
798
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
799
799
|
refreshFlag: refreshFlag
|
|
800
800
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
801
801
|
}))
|
|
802
802
|
),
|
|
803
|
-
contextualADFlag &&
|
|
804
|
-
|
|
803
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
804
|
+
React.createElement(BlockContent, _extends({
|
|
805
805
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
806
806
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
807
807
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -831,22 +831,22 @@ var Article = function Article(props) {
|
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
833
|
|
|
834
|
-
return
|
|
835
|
-
|
|
834
|
+
return React.createElement(
|
|
835
|
+
React.Fragment,
|
|
836
836
|
null,
|
|
837
|
-
|
|
837
|
+
React.createElement(BlockContent, _extends({
|
|
838
838
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
839
839
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
840
840
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
841
841
|
}, client.config())),
|
|
842
|
-
|
|
843
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
844
|
-
|
|
842
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
843
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
844
|
+
React.createElement(
|
|
845
845
|
'div',
|
|
846
846
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
847
|
-
|
|
847
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
848
848
|
),
|
|
849
|
-
|
|
849
|
+
React.createElement(BlockContent, _extends({
|
|
850
850
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
851
851
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
852
852
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -859,16 +859,16 @@ var Article = function Article(props) {
|
|
|
859
859
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
return
|
|
862
|
+
return React.createElement(
|
|
863
863
|
'div',
|
|
864
864
|
null,
|
|
865
|
-
|
|
865
|
+
React.createElement(BlockContent, _extends({
|
|
866
866
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
867
867
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
868
868
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
869
869
|
}, client.config())),
|
|
870
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
871
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
870
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
871
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
872
872
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
873
873
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
874
874
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -913,8 +913,8 @@ var Article = function Article(props) {
|
|
|
913
913
|
shareSubject = shareOptions.shareSubject,
|
|
914
914
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
915
915
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
916
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
917
|
-
|
|
916
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
917
|
+
shareOptions.shareSiteTitle;
|
|
918
918
|
|
|
919
919
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
920
920
|
var shareTitle = article.title;
|
|
@@ -952,10 +952,10 @@ var Article = function Article(props) {
|
|
|
952
952
|
var isVideoSeries = checkIfVideoSeries(article);
|
|
953
953
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
954
954
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
955
|
-
return
|
|
956
|
-
|
|
955
|
+
return React.createElement(
|
|
956
|
+
React.Fragment,
|
|
957
957
|
null,
|
|
958
|
-
|
|
958
|
+
React.createElement(
|
|
959
959
|
InscreenSensor,
|
|
960
960
|
{
|
|
961
961
|
offSetTop: 120,
|
|
@@ -968,61 +968,61 @@ var Article = function Article(props) {
|
|
|
968
968
|
setVisibleFlag(true);
|
|
969
969
|
}
|
|
970
970
|
} },
|
|
971
|
-
|
|
971
|
+
React.createElement(
|
|
972
972
|
'div',
|
|
973
973
|
{ id: 'article__block' },
|
|
974
|
-
|
|
974
|
+
React.createElement(
|
|
975
975
|
'div',
|
|
976
976
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
977
977
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
978
|
-
!isVideoSeries &&
|
|
978
|
+
!isVideoSeries && React.createElement(
|
|
979
979
|
'div',
|
|
980
980
|
null,
|
|
981
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
981
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
982
982
|
'p',
|
|
983
983
|
{ style: { fontSize: '14px' } },
|
|
984
984
|
article.documentGroup.name,
|
|
985
985
|
' - Episode ',
|
|
986
986
|
episodeNumber
|
|
987
987
|
),
|
|
988
|
-
|
|
988
|
+
React.createElement(
|
|
989
989
|
'h1',
|
|
990
990
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
991
991
|
title
|
|
992
992
|
)
|
|
993
993
|
),
|
|
994
|
-
|
|
994
|
+
React.createElement(
|
|
995
995
|
'div',
|
|
996
996
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
997
|
-
|
|
997
|
+
React.createElement(
|
|
998
998
|
'style',
|
|
999
999
|
{ jsx: 'true' },
|
|
1000
1000
|
'\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n '
|
|
1001
1001
|
),
|
|
1002
|
-
|
|
1002
|
+
React.createElement(
|
|
1003
1003
|
'div',
|
|
1004
1004
|
{ className: 'left-wrap' },
|
|
1005
|
-
!isVideoSeries && showPublished &&
|
|
1005
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1006
1006
|
'div',
|
|
1007
1007
|
null,
|
|
1008
1008
|
moment(published).format('LL')
|
|
1009
1009
|
)
|
|
1010
1010
|
/* Show Published date */
|
|
1011
1011
|
,
|
|
1012
|
-
|
|
1012
|
+
React.createElement(
|
|
1013
1013
|
'div',
|
|
1014
1014
|
{ className: 'mb-3' },
|
|
1015
1015
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1016
|
-
return
|
|
1016
|
+
return React.createElement(
|
|
1017
1017
|
'span',
|
|
1018
1018
|
{ key: index },
|
|
1019
1019
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor(props.client, authorDetail.profileImage).height(authorImgHeight).url())
|
|
1020
1020
|
);
|
|
1021
1021
|
}),
|
|
1022
|
-
|
|
1022
|
+
React.createElement(
|
|
1023
1023
|
'div',
|
|
1024
1024
|
null,
|
|
1025
|
-
source &&
|
|
1025
|
+
source && React.createElement(
|
|
1026
1026
|
'p',
|
|
1027
1027
|
{
|
|
1028
1028
|
style: {
|
|
@@ -1037,13 +1037,13 @@ var Article = function Article(props) {
|
|
|
1037
1037
|
source
|
|
1038
1038
|
)
|
|
1039
1039
|
),
|
|
1040
|
-
issue &&
|
|
1040
|
+
issue && React.createElement(
|
|
1041
1041
|
'div',
|
|
1042
1042
|
{ className: 'volume-issue' },
|
|
1043
|
-
issue.publication && issue.publication.name &&
|
|
1043
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1044
1044
|
'span',
|
|
1045
1045
|
{ className: 'mb-0' },
|
|
1046
|
-
|
|
1046
|
+
React.createElement(
|
|
1047
1047
|
'b',
|
|
1048
1048
|
null,
|
|
1049
1049
|
issue.publication.name
|
|
@@ -1051,34 +1051,34 @@ var Article = function Article(props) {
|
|
|
1051
1051
|
',',
|
|
1052
1052
|
' '
|
|
1053
1053
|
),
|
|
1054
|
-
issue.name &&
|
|
1054
|
+
issue.name && React.createElement(
|
|
1055
1055
|
'span',
|
|
1056
1056
|
{ className: 'mb-0' },
|
|
1057
1057
|
issue.name,
|
|
1058
1058
|
', '
|
|
1059
1059
|
),
|
|
1060
|
-
issue.volume &&
|
|
1060
|
+
issue.volume && React.createElement(
|
|
1061
1061
|
'span',
|
|
1062
1062
|
null,
|
|
1063
1063
|
'Volume ' + issue.volume,
|
|
1064
1064
|
','
|
|
1065
1065
|
),
|
|
1066
|
-
issue.issueNumber &&
|
|
1066
|
+
issue.issueNumber && React.createElement(
|
|
1067
1067
|
'span',
|
|
1068
1068
|
null,
|
|
1069
1069
|
' Issue ' + issue.issueNumber
|
|
1070
1070
|
)
|
|
1071
1071
|
),
|
|
1072
|
-
pageNumber &&
|
|
1072
|
+
pageNumber && React.createElement(
|
|
1073
1073
|
'div',
|
|
1074
1074
|
{ className: 'article-pageNumber' },
|
|
1075
1075
|
'Pages: ' + pageNumber
|
|
1076
1076
|
)
|
|
1077
1077
|
),
|
|
1078
|
-
!isVideoSeries &&
|
|
1078
|
+
!isVideoSeries && React.createElement(
|
|
1079
1079
|
'p',
|
|
1080
1080
|
null,
|
|
1081
|
-
|
|
1081
|
+
React.createElement(SocialShare, {
|
|
1082
1082
|
shareUrl: shareUrl,
|
|
1083
1083
|
shareTitle: shareTitle,
|
|
1084
1084
|
shareVia: shareVia,
|
|
@@ -1094,37 +1094,37 @@ var Article = function Article(props) {
|
|
|
1094
1094
|
})
|
|
1095
1095
|
)
|
|
1096
1096
|
),
|
|
1097
|
-
|
|
1097
|
+
React.createElement(
|
|
1098
1098
|
'div',
|
|
1099
1099
|
null,
|
|
1100
|
-
|
|
1100
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1101
1101
|
)
|
|
1102
1102
|
),
|
|
1103
|
-
!isVideoSeries && summary && display_summary &&
|
|
1103
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1104
1104
|
'p',
|
|
1105
1105
|
null,
|
|
1106
|
-
|
|
1106
|
+
React.createElement(
|
|
1107
1107
|
'em',
|
|
1108
1108
|
null,
|
|
1109
1109
|
summary
|
|
1110
1110
|
)
|
|
1111
1111
|
),
|
|
1112
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1112
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1113
1113
|
'div',
|
|
1114
1114
|
null,
|
|
1115
|
-
thumbnail &&
|
|
1115
|
+
thumbnail && React.createElement(
|
|
1116
1116
|
'div',
|
|
1117
1117
|
{ style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
1118
|
-
|
|
1118
|
+
React.createElement('img', { style: { maxWidth: '100%', maxHeight: '300px' }, src: urlFor(props.client, thumbnail) })
|
|
1119
1119
|
),
|
|
1120
|
-
|
|
1120
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1121
1121
|
),
|
|
1122
|
-
|
|
1122
|
+
React.createElement(
|
|
1123
1123
|
'div',
|
|
1124
1124
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1125
|
-
|
|
1125
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1126
1126
|
if (index === 0) {
|
|
1127
|
-
return
|
|
1127
|
+
return React.createElement(
|
|
1128
1128
|
'div',
|
|
1129
1129
|
{
|
|
1130
1130
|
key: index,
|
|
@@ -1141,24 +1141,24 @@ var Article = function Article(props) {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
})
|
|
1143
1143
|
),
|
|
1144
|
-
|
|
1144
|
+
React.createElement(
|
|
1145
1145
|
'div',
|
|
1146
1146
|
{ className: 'block-content mt-3' },
|
|
1147
1147
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1148
|
-
|
|
1149
|
-
|
|
1148
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1149
|
+
React.createElement(
|
|
1150
1150
|
'noscript',
|
|
1151
1151
|
null,
|
|
1152
|
-
|
|
1152
|
+
React.createElement(
|
|
1153
1153
|
'div',
|
|
1154
1154
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1155
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1155
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1156
1156
|
'a',
|
|
1157
1157
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1158
1158
|
'Previous ',
|
|
1159
1159
|
props.article.seriesDetail.type
|
|
1160
1160
|
),
|
|
1161
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1161
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1162
1162
|
'a',
|
|
1163
1163
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1164
1164
|
'Next ',
|
|
@@ -1166,20 +1166,20 @@ var Article = function Article(props) {
|
|
|
1166
1166
|
)
|
|
1167
1167
|
)
|
|
1168
1168
|
),
|
|
1169
|
-
issue && issue.url &&
|
|
1169
|
+
issue && issue.url && React.createElement(
|
|
1170
1170
|
'a',
|
|
1171
1171
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1172
|
-
|
|
1172
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1173
1173
|
'Download Issue : ',
|
|
1174
1174
|
issue.name
|
|
1175
1175
|
)
|
|
1176
1176
|
),
|
|
1177
|
-
|
|
1178
|
-
showRelatedArticles && !showIsi &&
|
|
1179
|
-
disqusConfig &&
|
|
1177
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1178
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1179
|
+
disqusConfig && React.createElement(
|
|
1180
1180
|
'div',
|
|
1181
1181
|
{ id: 'disqusContainer' },
|
|
1182
|
-
|
|
1182
|
+
React.createElement(DiscussionEmbed, {
|
|
1183
1183
|
shortname: disqusConfig.shortname,
|
|
1184
1184
|
config: {
|
|
1185
1185
|
url: disqusConfig.url,
|
|
@@ -1191,31 +1191,31 @@ var Article = function Article(props) {
|
|
|
1191
1191
|
),
|
|
1192
1192
|
renderIsiContent(props.article)
|
|
1193
1193
|
),
|
|
1194
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1194
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1195
1195
|
ISI,
|
|
1196
1196
|
null,
|
|
1197
|
-
|
|
1197
|
+
React.createElement(BlockContent, {
|
|
1198
1198
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1199
1199
|
blocks: isi
|
|
1200
1200
|
})
|
|
1201
1201
|
)
|
|
1202
1202
|
),
|
|
1203
|
-
|
|
1203
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1204
1204
|
if (index > 0) {
|
|
1205
|
-
return
|
|
1205
|
+
return React.createElement(
|
|
1206
1206
|
'div',
|
|
1207
1207
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1208
1208
|
ad.component
|
|
1209
1209
|
);
|
|
1210
1210
|
}
|
|
1211
1211
|
}),
|
|
1212
|
-
|
|
1212
|
+
React.createElement(
|
|
1213
1213
|
'noscript',
|
|
1214
1214
|
null,
|
|
1215
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1215
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1216
1216
|
'div',
|
|
1217
1217
|
{ style: { textAlign: 'center' } },
|
|
1218
|
-
|
|
1218
|
+
React.createElement(
|
|
1219
1219
|
'a',
|
|
1220
1220
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1221
1221
|
'Related Article ',
|
|
@@ -1223,7 +1223,7 @@ var Article = function Article(props) {
|
|
|
1223
1223
|
)
|
|
1224
1224
|
)
|
|
1225
1225
|
),
|
|
1226
|
-
props.infiniteScroll &&
|
|
1226
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1227
1227
|
);
|
|
1228
1228
|
};
|
|
1229
1229
|
|
|
@@ -1245,9 +1245,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1245
1245
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1246
1246
|
Ads = props.Ads,
|
|
1247
1247
|
_props$maxListLength = props.maxListLength,
|
|
1248
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1249
|
-
|
|
1250
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1248
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1249
|
+
props.sponsoredTaxonomies;
|
|
1250
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1251
1251
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1252
1252
|
_props$authorPrefix = props.authorPrefix,
|
|
1253
1253
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1273,7 +1273,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1273
1273
|
});
|
|
1274
1274
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1275
1275
|
|
|
1276
|
-
if (!
|
|
1276
|
+
if (!main_40) {
|
|
1277
1277
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1278
1278
|
if (window.googletag && googletag.pubadsReady) {
|
|
1279
1279
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1291,7 +1291,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1291
1291
|
});
|
|
1292
1292
|
}
|
|
1293
1293
|
//Refresh leaderboard ad on mobile
|
|
1294
|
-
if (
|
|
1294
|
+
if (main_40) {
|
|
1295
1295
|
var leaderboardSlotId = '';
|
|
1296
1296
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1297
1297
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1475,11 +1475,11 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
};
|
|
1477
1477
|
|
|
1478
|
-
return
|
|
1478
|
+
return React.createElement(
|
|
1479
1479
|
InfiniteScroll,
|
|
1480
1480
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '60%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1481
1481
|
queueData.map(function (article, index) {
|
|
1482
|
-
return
|
|
1482
|
+
return React.createElement(Article, _extends({
|
|
1483
1483
|
key: index
|
|
1484
1484
|
}, props, {
|
|
1485
1485
|
onChangeArticle: onChangeArticle,
|
|
@@ -1501,9 +1501,9 @@ var View = function View(props) {
|
|
|
1501
1501
|
var shareOptions = props.shareOptions,
|
|
1502
1502
|
article = props.article,
|
|
1503
1503
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1504
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1505
|
-
|
|
1506
|
-
Ads = props.Ads,
|
|
1504
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1505
|
+
props.sponsoredTaxonomies;
|
|
1506
|
+
var Ads = props.Ads,
|
|
1507
1507
|
setCustomDimensions = props.setCustomDimensions,
|
|
1508
1508
|
statusCode = props.statusCode,
|
|
1509
1509
|
prevUrl = props.prevUrl,
|
|
@@ -1516,9 +1516,9 @@ var View = function View(props) {
|
|
|
1516
1516
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1517
1517
|
var _props$article = props.article,
|
|
1518
1518
|
_props$article$passwo = _props$article.passwordLock,
|
|
1519
|
-
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo
|
|
1520
|
-
|
|
1521
|
-
title = _props$article.title,
|
|
1519
|
+
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo;
|
|
1520
|
+
_props$article.description;
|
|
1521
|
+
var title = _props$article.title,
|
|
1522
1522
|
seriesShareOptions = _props$article.seriesShareOptions;
|
|
1523
1523
|
|
|
1524
1524
|
var _useState = useState(0),
|
|
@@ -1575,7 +1575,6 @@ var View = function View(props) {
|
|
|
1575
1575
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries);
|
|
1576
1576
|
|
|
1577
1577
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1578
|
-
description = null;
|
|
1579
1578
|
title = null;
|
|
1580
1579
|
}
|
|
1581
1580
|
|
|
@@ -1612,74 +1611,74 @@ var View = function View(props) {
|
|
|
1612
1611
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1613
1612
|
}
|
|
1614
1613
|
|
|
1615
|
-
return
|
|
1616
|
-
|
|
1614
|
+
return React.createElement(
|
|
1615
|
+
React.Fragment,
|
|
1617
1616
|
null,
|
|
1618
|
-
|
|
1617
|
+
React.createElement(
|
|
1619
1618
|
Head,
|
|
1620
1619
|
null,
|
|
1621
|
-
|
|
1620
|
+
React.createElement(
|
|
1622
1621
|
'title',
|
|
1623
1622
|
{ key: 'title' },
|
|
1624
1623
|
seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1625
1624
|
),
|
|
1626
|
-
meta_description &&
|
|
1625
|
+
meta_description && React.createElement('meta', {
|
|
1627
1626
|
name: 'description',
|
|
1628
1627
|
key: 'description',
|
|
1629
1628
|
content: meta_description }),
|
|
1630
|
-
|
|
1631
|
-
passwordLock &&
|
|
1632
|
-
|
|
1629
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1630
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1631
|
+
React.createElement('meta', {
|
|
1633
1632
|
property: 'og:url',
|
|
1634
1633
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1635
1634
|
key: 'og:url'
|
|
1636
1635
|
}),
|
|
1637
|
-
|
|
1636
|
+
React.createElement('meta', {
|
|
1638
1637
|
property: 'og:title',
|
|
1639
1638
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1640
1639
|
key: 'og:title'
|
|
1641
1640
|
}),
|
|
1642
|
-
|
|
1641
|
+
React.createElement('meta', {
|
|
1643
1642
|
property: 'og:image',
|
|
1644
1643
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1645
1644
|
key: 'og:image'
|
|
1646
1645
|
}),
|
|
1647
|
-
|
|
1648
|
-
|
|
1646
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1647
|
+
React.createElement('meta', {
|
|
1649
1648
|
property: 'og:description',
|
|
1650
1649
|
content: meta_description,
|
|
1651
1650
|
key: 'og:description'
|
|
1652
1651
|
}),
|
|
1653
|
-
|
|
1654
|
-
|
|
1652
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1653
|
+
React.createElement('meta', {
|
|
1655
1654
|
name: 'twitter:title',
|
|
1656
1655
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1657
1656
|
key: 'twitter:title'
|
|
1658
1657
|
}),
|
|
1659
|
-
|
|
1658
|
+
React.createElement('meta', {
|
|
1660
1659
|
name: 'twitter:image',
|
|
1661
1660
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1662
1661
|
key: 'twitter:image'
|
|
1663
1662
|
}),
|
|
1664
|
-
|
|
1665
|
-
|
|
1663
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1664
|
+
React.createElement('meta', {
|
|
1666
1665
|
name: 'twitter:description',
|
|
1667
1666
|
content: meta_description,
|
|
1668
1667
|
key: 'twitter:description'
|
|
1669
1668
|
}),
|
|
1670
|
-
canonicalTag &&
|
|
1669
|
+
canonicalTag && React.createElement('link', {
|
|
1671
1670
|
rel: 'canonical',
|
|
1672
1671
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1673
1672
|
key: 'canonical'
|
|
1674
1673
|
}),
|
|
1675
|
-
|
|
1674
|
+
React.createElement(
|
|
1676
1675
|
'noscript',
|
|
1677
1676
|
null,
|
|
1678
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1679
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1677
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1678
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1680
1679
|
)
|
|
1681
1680
|
),
|
|
1682
|
-
!needInfiniteScroll ?
|
|
1681
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1683
1682
|
infiniteScroll: true,
|
|
1684
1683
|
showRelatedArticles: showRelatedArticles,
|
|
1685
1684
|
canonicalTag: canonicalTag,
|