@mjhls/mjh-framework 1.0.796-beta.0 → 1.0.796-series-test-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -170
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +30 -29
- package/dist/cjs/AD300x250x600.js +30 -29
- package/dist/cjs/AD728x90.js +33 -32
- package/dist/cjs/ADFloatingFooter.js +32 -31
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +32 -31
- package/dist/cjs/{ADInfeed-bb09e44c.js → ADInfeed-e7aecdf9.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +32 -31
- package/dist/cjs/ADSponsoredResources.js +32 -31
- package/dist/cjs/ADWebcast.js +32 -31
- package/dist/cjs/ADWelcome.js +33 -32
- package/dist/cjs/{ADlgInfeed-fa91dbda.js → ADlgInfeed-0941023e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +35 -34
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +57 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +686 -662
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- 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 +61 -58
- package/dist/cjs/ConferenceArticleCard.js +39 -38
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-946b8c39.js → Dfp-3f0ed4c8.js} +34 -33
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +80 -79
- 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 +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +70 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +72 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -38
- package/dist/cjs/MasterDeck.js +80 -79
- package/dist/cjs/MediaSeriesLanding.js +965 -961
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/NavNormal.js +52 -47
- 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 +109 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +42 -41
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +142 -138
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-c022ce04.js} +42 -41
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-31afe61f.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +76 -75
- 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 +33 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +49 -48
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +268 -269
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.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-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- 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-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +425 -12
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-be6168ad.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-76e3378a.js → index-70cfabd2.js} +1013 -1018
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- 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 +163 -160
- package/dist/cjs/{inherits-452ff02c.js → inherits-c2065b95.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-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- 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-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -26
- package/dist/esm/AD300x250x600.js +26 -26
- package/dist/esm/AD728x90.js +29 -29
- package/dist/esm/ADFloatingFooter.js +28 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +28 -28
- package/dist/esm/{ADInfeed-ab8f9325.js → ADInfeed-e1e18f87.js} +11 -11
- package/dist/esm/ADSkyscraper.js +28 -28
- package/dist/esm/ADSponsoredResources.js +28 -28
- package/dist/esm/ADWebcast.js +28 -28
- package/dist/esm/ADWelcome.js +29 -29
- package/dist/esm/{ADlgInfeed-49f41f83.js → ADlgInfeed-c6d2831b.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -26
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +53 -53
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +665 -645
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +55 -55
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +97 -97
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-965b3873.js → Dfp-a304d96c.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +170 -170
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +60 -60
- package/dist/esm/IssueDeck.js +64 -64
- package/dist/esm/IssueLanding.js +68 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -34
- package/dist/esm/MasterDeck.js +76 -76
- package/dist/esm/MediaSeriesLanding.js +790 -789
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/NavNormal.js +38 -38
- 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 +104 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +38 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +52 -52
- package/dist/esm/PublicationLanding.js +125 -125
- package/dist/esm/QueueDeckExpanded.js +274 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-8414085b.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-719f230f.js → SocialSearchComponent-116b1d5d.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +53 -53
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +71 -71
- 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 +65 -65
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +41 -41
- package/dist/esm/VideoSeriesListing.js +73 -73
- package/dist/esm/View.js +249 -254
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.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-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- 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-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +425 -12
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-68291ce9.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-1efc4a5c.js → index-613fdebe.js} +949 -961
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/index-db3bb315.js +207 -0
- 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 +132 -132
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- 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-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +108 -108
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
+
import Head from 'next/head';
|
|
6
|
+
import { useRouter } from 'next/router';
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.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 { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-613fdebe.js';
|
|
19
|
+
import DFPAdSlot from './AdSlot.js';
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-8414085b.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-888f9253.js';
|
|
32
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
+
import getQuery from './getQuery.js';
|
|
34
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
1
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
39
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-cf8dde54.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, forwardRef } from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
18
43
|
import 'prop-types';
|
|
19
|
-
import '
|
|
20
|
-
import 'react-bootstrap/Col';
|
|
21
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
22
|
-
import { useRouter } from 'next/router';
|
|
23
|
-
import './isSymbol-1981418f.js';
|
|
24
|
-
import './debounce-9207d8ee.js';
|
|
25
|
-
import './toNumber-2f7a84cd.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
27
45
|
import 'react-dom';
|
|
28
|
-
import
|
|
29
|
-
import '
|
|
30
|
-
import './index-5f7e79e7.js';
|
|
31
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
32
|
-
import './entities-7cc3bf45.js';
|
|
33
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
34
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
35
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
36
|
-
import './Segment.js';
|
|
37
|
-
import './Beam.js';
|
|
38
|
-
import DFPAdSlot from './AdSlot.js';
|
|
39
|
-
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
46
|
+
import 'react-share';
|
|
47
|
+
import 'react-bootstrap';
|
|
40
48
|
import './index-c7e2ac95.js';
|
|
41
|
-
import './
|
|
49
|
+
import './util-3ab476bf.js';
|
|
50
|
+
import './Beam.js';
|
|
51
|
+
import './Segment.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
42
53
|
import './GroupDeck.js';
|
|
43
|
-
import '
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
46
|
-
import { r as renderAuthor, g as getSerializers } from './index-1efc4a5c.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';
|
|
54
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
+
import './_is-array-3e99e06e.js';
|
|
56
|
+
import './_object-to-array-0f197f89.js';
|
|
53
57
|
import 'react-bootstrap/Pagination';
|
|
54
|
-
import
|
|
58
|
+
import './entities-932b50cf.js';
|
|
59
|
+
import 'react-bootstrap/Row';
|
|
60
|
+
import 'react-bootstrap/Col';
|
|
61
|
+
import './inherits-a41fe93f.js';
|
|
62
|
+
import './_object-sap-f353c2a9.js';
|
|
63
|
+
import './define-property-fe54dc9f.js';
|
|
64
|
+
import './index.esm-3fdda599.js';
|
|
65
|
+
import './iconBase-602d52fe.js';
|
|
55
66
|
import 'react-bootstrap/Figure';
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import '
|
|
60
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
61
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
62
|
-
import 'nookies';
|
|
63
|
-
import getQuery from './getQuery.js';
|
|
64
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
65
|
-
import { S as SeriesSlider } from './SeriesSlider-36be7223.js';
|
|
66
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.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';
|
|
67
|
+
import './debounce-533d9748.js';
|
|
68
|
+
import './isSymbol-a7e9aafe.js';
|
|
69
|
+
import './toNumber-5aeba6e7.js';
|
|
70
|
+
import './index-db3bb315.js';
|
|
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_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
157
157
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
158
|
-
|
|
158
|
+
main_43 && !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 '
|
|
@@ -334,7 +334,7 @@ var ISI = function ISI(props) {
|
|
|
334
334
|
);
|
|
335
335
|
};
|
|
336
336
|
|
|
337
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
337
|
+
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";
|
|
338
338
|
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" };
|
|
339
339
|
styleInject(css);
|
|
340
340
|
|
|
@@ -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
|
|
@@ -486,9 +486,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
486
486
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
487
487
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
488
488
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
489
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
490
|
-
|
|
491
|
-
containerHeight = props.containerHeight,
|
|
489
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
490
|
+
props.active;
|
|
491
|
+
var containerHeight = props.containerHeight,
|
|
492
492
|
_props$refreshFlag = props.refreshFlag,
|
|
493
493
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
494
494
|
disqusConfig = props.disqusConfig,
|
|
@@ -545,9 +545,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
545
545
|
setArticleBody = _useState10[1];
|
|
546
546
|
|
|
547
547
|
var _useState11 = useState(true),
|
|
548
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
549
|
-
|
|
550
|
-
setPreviewAd = _useState12[1];
|
|
548
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
549
|
+
_useState12[0];
|
|
550
|
+
var setPreviewAd = _useState12[1];
|
|
551
551
|
|
|
552
552
|
useEffect(function () {
|
|
553
553
|
var path = window && window.location && window.location.search;
|
|
@@ -568,7 +568,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
568
568
|
};
|
|
569
569
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
570
570
|
if (biography) {
|
|
571
|
-
return
|
|
571
|
+
return React.createElement(BlockContent, _extends({
|
|
572
572
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
573
573
|
blocks: [biography]
|
|
574
574
|
}, client.config()));
|
|
@@ -578,9 +578,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
578
578
|
var url = article.url.current;
|
|
579
579
|
|
|
580
580
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
581
|
-
return
|
|
581
|
+
return React.createElement(ISIContent, null);
|
|
582
582
|
} else if (nationalPage === url && ISIContent) {
|
|
583
|
-
return
|
|
583
|
+
return React.createElement(ISIContent, { national: true });
|
|
584
584
|
}
|
|
585
585
|
return null;
|
|
586
586
|
};
|
|
@@ -611,19 +611,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
611
611
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
612
612
|
}
|
|
613
613
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
614
|
-
return
|
|
614
|
+
return React.createElement(
|
|
615
615
|
'div',
|
|
616
616
|
null,
|
|
617
617
|
relatedLinks.map(function (relatedLink, index) {
|
|
618
|
-
return
|
|
618
|
+
return React.createElement(
|
|
619
619
|
'span',
|
|
620
620
|
{ key: index, className: 'related-link' },
|
|
621
|
-
|
|
621
|
+
React.createElement(
|
|
622
622
|
'a',
|
|
623
623
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
624
624
|
relatedLink.label
|
|
625
625
|
),
|
|
626
|
-
|
|
626
|
+
React.createElement(
|
|
627
627
|
'style',
|
|
628
628
|
{ jsx: 'true' },
|
|
629
629
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -638,23 +638,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
638
638
|
};
|
|
639
639
|
|
|
640
640
|
var RelatedContent = function RelatedContent() {
|
|
641
|
-
return
|
|
641
|
+
return React.createElement(
|
|
642
642
|
'section',
|
|
643
643
|
{ id: 'related-content-section', className: 'my-1' },
|
|
644
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
644
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
645
645
|
'p',
|
|
646
646
|
{ className: 'mb-0' },
|
|
647
|
-
|
|
647
|
+
React.createElement(
|
|
648
648
|
'b',
|
|
649
649
|
null,
|
|
650
650
|
'Related Content:'
|
|
651
651
|
)
|
|
652
652
|
),
|
|
653
|
-
|
|
654
|
-
|
|
653
|
+
React.createElement(RelevantTopics, null),
|
|
654
|
+
React.createElement(
|
|
655
655
|
'div',
|
|
656
656
|
{ className: 'pt-2' },
|
|
657
|
-
|
|
657
|
+
React.createElement(RelatedArticle, {
|
|
658
658
|
articles: article.relatedArticle,
|
|
659
659
|
client: client,
|
|
660
660
|
fallbackImage: props.Settings.logo,
|
|
@@ -665,29 +665,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
665
665
|
};
|
|
666
666
|
|
|
667
667
|
var form = function form() {
|
|
668
|
-
return
|
|
669
|
-
|
|
668
|
+
return React.createElement(
|
|
669
|
+
React.Fragment,
|
|
670
670
|
null,
|
|
671
|
-
|
|
671
|
+
React.createElement(
|
|
672
672
|
Head,
|
|
673
673
|
null,
|
|
674
|
-
|
|
674
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
675
675
|
),
|
|
676
|
-
|
|
676
|
+
React.createElement(
|
|
677
677
|
'div',
|
|
678
678
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
679
|
-
|
|
679
|
+
React.createElement(
|
|
680
680
|
Form,
|
|
681
681
|
{
|
|
682
682
|
inline: true,
|
|
683
683
|
onSubmit: function onSubmit(e) {
|
|
684
684
|
e.preventDefault();
|
|
685
685
|
} },
|
|
686
|
-
|
|
686
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
687
687
|
return setPasswordKey(e.target.value);
|
|
688
688
|
}, placeholder: 'Password' }),
|
|
689
|
-
|
|
690
|
-
Button
|
|
689
|
+
React.createElement(
|
|
690
|
+
Button,
|
|
691
691
|
{
|
|
692
692
|
variant: 'primary',
|
|
693
693
|
onClick: function onClick() {
|
|
@@ -736,31 +736,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
736
736
|
setContextualADFlag(true);
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
|
-
return
|
|
740
|
-
|
|
739
|
+
return React.createElement(
|
|
740
|
+
React.Fragment,
|
|
741
741
|
null,
|
|
742
|
-
|
|
742
|
+
React.createElement(BlockContent, _extends({
|
|
743
743
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
744
744
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
745
745
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
746
746
|
}, client.config())),
|
|
747
|
-
|
|
748
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
749
|
-
|
|
747
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
748
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
749
|
+
React.createElement(
|
|
750
750
|
'div',
|
|
751
751
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
752
|
-
|
|
752
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
753
753
|
refreshFlag: refreshFlag
|
|
754
754
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
755
755
|
}))
|
|
756
756
|
),
|
|
757
|
-
|
|
758
|
-
|
|
757
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
758
|
+
React.createElement(
|
|
759
759
|
'div',
|
|
760
760
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
761
|
-
|
|
761
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
762
762
|
),
|
|
763
|
-
|
|
763
|
+
React.createElement(BlockContent, _extends({
|
|
764
764
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
765
765
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
766
766
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -785,26 +785,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
785
785
|
if (seriesInfo.hasVideo) {
|
|
786
786
|
_selectedIndex = seriesInfo.videoIndex;
|
|
787
787
|
}
|
|
788
|
-
return
|
|
789
|
-
|
|
788
|
+
return React.createElement(
|
|
789
|
+
React.Fragment,
|
|
790
790
|
null,
|
|
791
|
-
|
|
791
|
+
React.createElement(BlockContent, _extends({
|
|
792
792
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
793
793
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
794
794
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
795
795
|
}, client.config())),
|
|
796
|
-
contextualADFlag &&
|
|
797
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
798
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
796
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
797
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
798
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
799
799
|
'div',
|
|
800
800
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
801
|
-
|
|
801
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
802
802
|
refreshFlag: refreshFlag
|
|
803
803
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
804
804
|
}))
|
|
805
805
|
),
|
|
806
|
-
contextualADFlag &&
|
|
807
|
-
|
|
806
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
807
|
+
React.createElement(BlockContent, _extends({
|
|
808
808
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
809
809
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
810
810
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -834,22 +834,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
834
834
|
}
|
|
835
835
|
};
|
|
836
836
|
|
|
837
|
-
return
|
|
838
|
-
|
|
837
|
+
return React.createElement(
|
|
838
|
+
React.Fragment,
|
|
839
839
|
null,
|
|
840
|
-
|
|
840
|
+
React.createElement(BlockContent, _extends({
|
|
841
841
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
842
842
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
843
843
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
844
844
|
}, client.config())),
|
|
845
|
-
|
|
846
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
847
|
-
|
|
845
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
846
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
847
|
+
React.createElement(
|
|
848
848
|
'div',
|
|
849
849
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
850
|
-
|
|
850
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
851
851
|
),
|
|
852
|
-
|
|
852
|
+
React.createElement(BlockContent, _extends({
|
|
853
853
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
854
854
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
855
855
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -861,16 +861,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
861
861
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
return
|
|
864
|
+
return React.createElement(
|
|
865
865
|
'div',
|
|
866
866
|
null,
|
|
867
|
-
|
|
867
|
+
React.createElement(BlockContent, _extends({
|
|
868
868
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
869
869
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
870
870
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
871
871
|
}, client.config())),
|
|
872
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
873
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
872
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
873
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
874
874
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
875
875
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
876
876
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -915,8 +915,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
915
915
|
shareSubject = shareOptions.shareSubject,
|
|
916
916
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
917
917
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
918
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
919
|
-
|
|
918
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
919
|
+
shareOptions.shareSiteTitle;
|
|
920
920
|
|
|
921
921
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
922
922
|
var shareTitle = article.title;
|
|
@@ -956,10 +956,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
956
956
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
957
957
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
958
958
|
|
|
959
|
-
return
|
|
960
|
-
|
|
959
|
+
return React.createElement(
|
|
960
|
+
React.Fragment,
|
|
961
961
|
null,
|
|
962
|
-
|
|
962
|
+
React.createElement(
|
|
963
963
|
VisibilitySensor,
|
|
964
964
|
{
|
|
965
965
|
partialVisibility: true,
|
|
@@ -972,61 +972,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
972
972
|
});
|
|
973
973
|
}
|
|
974
974
|
} },
|
|
975
|
-
|
|
975
|
+
React.createElement(
|
|
976
976
|
'div',
|
|
977
977
|
{ id: 'article__block', ref: ref },
|
|
978
|
-
|
|
978
|
+
React.createElement(
|
|
979
979
|
'div',
|
|
980
980
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
981
981
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
982
|
-
!isVideoSeries &&
|
|
982
|
+
!isVideoSeries && React.createElement(
|
|
983
983
|
'div',
|
|
984
984
|
null,
|
|
985
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
985
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
986
986
|
'p',
|
|
987
987
|
{ style: { fontSize: '14px' } },
|
|
988
988
|
article.documentGroup.name,
|
|
989
989
|
' - Episode ',
|
|
990
990
|
episodeNumber
|
|
991
991
|
),
|
|
992
|
-
|
|
992
|
+
React.createElement(
|
|
993
993
|
'h1',
|
|
994
994
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
995
995
|
title
|
|
996
996
|
)
|
|
997
997
|
),
|
|
998
|
-
|
|
998
|
+
React.createElement(
|
|
999
999
|
'div',
|
|
1000
1000
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1001
|
-
|
|
1001
|
+
React.createElement(
|
|
1002
1002
|
'style',
|
|
1003
1003
|
{ jsx: 'true' },
|
|
1004
1004
|
'\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 '
|
|
1005
1005
|
),
|
|
1006
|
-
|
|
1006
|
+
React.createElement(
|
|
1007
1007
|
'div',
|
|
1008
1008
|
{ className: 'left-wrap' },
|
|
1009
|
-
!isVideoSeries && showPublished &&
|
|
1009
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1010
1010
|
'div',
|
|
1011
1011
|
null,
|
|
1012
1012
|
moment(published).format('LL')
|
|
1013
1013
|
)
|
|
1014
1014
|
/* Show Published date */
|
|
1015
1015
|
,
|
|
1016
|
-
|
|
1016
|
+
React.createElement(
|
|
1017
1017
|
'div',
|
|
1018
1018
|
{ className: 'mb-3' },
|
|
1019
1019
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1020
|
-
return
|
|
1020
|
+
return React.createElement(
|
|
1021
1021
|
'span',
|
|
1022
1022
|
{ key: index },
|
|
1023
1023
|
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())
|
|
1024
1024
|
);
|
|
1025
1025
|
}),
|
|
1026
|
-
|
|
1026
|
+
React.createElement(
|
|
1027
1027
|
'div',
|
|
1028
1028
|
null,
|
|
1029
|
-
source &&
|
|
1029
|
+
source && React.createElement(
|
|
1030
1030
|
'p',
|
|
1031
1031
|
{
|
|
1032
1032
|
style: {
|
|
@@ -1041,13 +1041,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1041
1041
|
source
|
|
1042
1042
|
)
|
|
1043
1043
|
),
|
|
1044
|
-
issue &&
|
|
1044
|
+
issue && React.createElement(
|
|
1045
1045
|
'div',
|
|
1046
1046
|
{ className: 'volume-issue' },
|
|
1047
|
-
issue.publication && issue.publication.name &&
|
|
1047
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1048
1048
|
'span',
|
|
1049
1049
|
{ className: 'mb-0' },
|
|
1050
|
-
|
|
1050
|
+
React.createElement(
|
|
1051
1051
|
'b',
|
|
1052
1052
|
null,
|
|
1053
1053
|
issue.publication.name
|
|
@@ -1055,34 +1055,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1055
1055
|
',',
|
|
1056
1056
|
' '
|
|
1057
1057
|
),
|
|
1058
|
-
issue.name &&
|
|
1058
|
+
issue.name && React.createElement(
|
|
1059
1059
|
'span',
|
|
1060
1060
|
{ className: 'mb-0' },
|
|
1061
1061
|
issue.name,
|
|
1062
1062
|
', '
|
|
1063
1063
|
),
|
|
1064
|
-
issue.volume &&
|
|
1064
|
+
issue.volume && React.createElement(
|
|
1065
1065
|
'span',
|
|
1066
1066
|
null,
|
|
1067
1067
|
'Volume ' + issue.volume,
|
|
1068
1068
|
','
|
|
1069
1069
|
),
|
|
1070
|
-
issue.issueNumber &&
|
|
1070
|
+
issue.issueNumber && React.createElement(
|
|
1071
1071
|
'span',
|
|
1072
1072
|
null,
|
|
1073
1073
|
' Issue ' + issue.issueNumber
|
|
1074
1074
|
)
|
|
1075
1075
|
),
|
|
1076
|
-
pageNumber &&
|
|
1076
|
+
pageNumber && React.createElement(
|
|
1077
1077
|
'div',
|
|
1078
1078
|
{ className: 'article-pageNumber' },
|
|
1079
1079
|
'Pages: ' + pageNumber
|
|
1080
1080
|
)
|
|
1081
1081
|
),
|
|
1082
|
-
!isVideoSeries &&
|
|
1082
|
+
!isVideoSeries && React.createElement(
|
|
1083
1083
|
'p',
|
|
1084
1084
|
null,
|
|
1085
|
-
|
|
1085
|
+
React.createElement(SocialShare, {
|
|
1086
1086
|
shareUrl: shareUrl,
|
|
1087
1087
|
shareTitle: shareTitle,
|
|
1088
1088
|
shareVia: shareVia,
|
|
@@ -1098,37 +1098,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1098
1098
|
})
|
|
1099
1099
|
)
|
|
1100
1100
|
),
|
|
1101
|
-
|
|
1101
|
+
React.createElement(
|
|
1102
1102
|
'div',
|
|
1103
1103
|
null,
|
|
1104
|
-
|
|
1104
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1105
1105
|
)
|
|
1106
1106
|
),
|
|
1107
|
-
!isVideoSeries && summary && display_summary &&
|
|
1107
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1108
1108
|
'p',
|
|
1109
1109
|
null,
|
|
1110
|
-
|
|
1110
|
+
React.createElement(
|
|
1111
1111
|
'em',
|
|
1112
1112
|
null,
|
|
1113
1113
|
summary
|
|
1114
1114
|
)
|
|
1115
1115
|
),
|
|
1116
|
-
|
|
1117
|
-
'div',
|
|
1118
|
-
null,
|
|
1119
|
-
thumbnail && React__default.createElement(
|
|
1120
|
-
'div',
|
|
1121
|
-
{ style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
1122
|
-
React__default.createElement('img', { style: { maxWidth: '100%', maxHeight: '300px' }, src: urlFor(props.client, thumbnail) })
|
|
1123
|
-
),
|
|
1124
|
-
React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1125
|
-
),
|
|
1126
|
-
React__default.createElement(
|
|
1116
|
+
React.createElement(
|
|
1127
1117
|
'div',
|
|
1128
1118
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1129
|
-
|
|
1119
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1130
1120
|
if (index === 0) {
|
|
1131
|
-
return
|
|
1121
|
+
return React.createElement(
|
|
1132
1122
|
'div',
|
|
1133
1123
|
{
|
|
1134
1124
|
key: index,
|
|
@@ -1145,24 +1135,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1145
1135
|
}
|
|
1146
1136
|
})
|
|
1147
1137
|
),
|
|
1148
|
-
|
|
1138
|
+
React.createElement(
|
|
1149
1139
|
'div',
|
|
1150
1140
|
{ className: 'block-content mt-3' },
|
|
1151
1141
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1152
|
-
|
|
1153
|
-
|
|
1142
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1143
|
+
React.createElement(
|
|
1154
1144
|
'noscript',
|
|
1155
1145
|
null,
|
|
1156
|
-
|
|
1146
|
+
React.createElement(
|
|
1157
1147
|
'div',
|
|
1158
1148
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1159
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1149
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1160
1150
|
'a',
|
|
1161
1151
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1162
1152
|
'Previous ',
|
|
1163
1153
|
props.article.seriesDetail.type
|
|
1164
1154
|
),
|
|
1165
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1155
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1166
1156
|
'a',
|
|
1167
1157
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1168
1158
|
'Next ',
|
|
@@ -1170,20 +1160,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1170
1160
|
)
|
|
1171
1161
|
)
|
|
1172
1162
|
),
|
|
1173
|
-
issue && issue.url &&
|
|
1163
|
+
issue && issue.url && React.createElement(
|
|
1174
1164
|
'a',
|
|
1175
1165
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1176
|
-
|
|
1166
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1177
1167
|
'Download Issue : ',
|
|
1178
1168
|
issue.name
|
|
1179
1169
|
)
|
|
1180
1170
|
),
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1171
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1172
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1173
|
+
'div',
|
|
1174
|
+
null,
|
|
1175
|
+
false ,
|
|
1176
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1177
|
+
),
|
|
1178
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1179
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1184
1180
|
'div',
|
|
1185
1181
|
{ id: 'disqusContainer' },
|
|
1186
|
-
|
|
1182
|
+
React.createElement(DiscussionEmbed, {
|
|
1187
1183
|
shortname: disqusConfig.shortname,
|
|
1188
1184
|
config: {
|
|
1189
1185
|
url: disqusConfig.url,
|
|
@@ -1196,30 +1192,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1196
1192
|
renderIsiContent(props.article)
|
|
1197
1193
|
)
|
|
1198
1194
|
),
|
|
1199
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1195
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1200
1196
|
ISI,
|
|
1201
1197
|
null,
|
|
1202
|
-
|
|
1198
|
+
React.createElement(BlockContent, {
|
|
1203
1199
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1204
1200
|
blocks: isi
|
|
1205
1201
|
})
|
|
1206
1202
|
),
|
|
1207
|
-
|
|
1203
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1208
1204
|
if (index > 0) {
|
|
1209
|
-
return
|
|
1205
|
+
return React.createElement(
|
|
1210
1206
|
'div',
|
|
1211
1207
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1212
1208
|
ad.component
|
|
1213
1209
|
);
|
|
1214
1210
|
}
|
|
1215
1211
|
}),
|
|
1216
|
-
|
|
1212
|
+
React.createElement(
|
|
1217
1213
|
'noscript',
|
|
1218
1214
|
null,
|
|
1219
|
-
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(
|
|
1220
1216
|
'div',
|
|
1221
1217
|
{ style: { textAlign: 'center' } },
|
|
1222
|
-
|
|
1218
|
+
React.createElement(
|
|
1223
1219
|
'a',
|
|
1224
1220
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1225
1221
|
'Related Article ',
|
|
@@ -1227,7 +1223,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1227
1223
|
)
|
|
1228
1224
|
)
|
|
1229
1225
|
),
|
|
1230
|
-
props.infiniteScroll &&
|
|
1226
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1231
1227
|
);
|
|
1232
1228
|
};
|
|
1233
1229
|
|
|
@@ -1242,16 +1238,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1242
1238
|
}
|
|
1243
1239
|
});
|
|
1244
1240
|
|
|
1245
|
-
var _this = undefined;
|
|
1241
|
+
var _this$1 = undefined;
|
|
1246
1242
|
|
|
1247
1243
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1248
1244
|
var _props$prevUrl = props.prevUrl,
|
|
1249
1245
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1250
1246
|
Ads = props.Ads,
|
|
1251
1247
|
_props$maxListLength = props.maxListLength,
|
|
1252
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1253
|
-
|
|
1254
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1248
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1249
|
+
props.sponsoredTaxonomies;
|
|
1250
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1255
1251
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1256
1252
|
_props$authorPrefix = props.authorPrefix,
|
|
1257
1253
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1300,7 +1296,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1300
1296
|
return item.url.current === path;
|
|
1301
1297
|
});
|
|
1302
1298
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1303
|
-
if (!
|
|
1299
|
+
if (!main_43) {
|
|
1304
1300
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1305
1301
|
if (window.googletag && googletag.pubadsReady) {
|
|
1306
1302
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1317,7 +1313,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1317
1313
|
});
|
|
1318
1314
|
}
|
|
1319
1315
|
//Refresh leaderboard ad on mobile
|
|
1320
|
-
if (
|
|
1316
|
+
if (main_43) {
|
|
1321
1317
|
var leaderboardSlotId = '';
|
|
1322
1318
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1323
1319
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1421,7 +1417,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1421
1417
|
return _context.stop();
|
|
1422
1418
|
}
|
|
1423
1419
|
}
|
|
1424
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1420
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1425
1421
|
}));
|
|
1426
1422
|
|
|
1427
1423
|
return function loadmore() {
|
|
@@ -1464,14 +1460,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1464
1460
|
refreshAD(path);
|
|
1465
1461
|
};
|
|
1466
1462
|
|
|
1467
|
-
return
|
|
1463
|
+
return React.createElement(
|
|
1468
1464
|
InfiniteScroll,
|
|
1469
1465
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1470
1466
|
queueData.map(function (article, index) {
|
|
1471
|
-
return
|
|
1472
|
-
|
|
1467
|
+
return React.createElement(
|
|
1468
|
+
React.Fragment,
|
|
1473
1469
|
null,
|
|
1474
|
-
|
|
1470
|
+
React.createElement(Article, _extends({
|
|
1475
1471
|
key: index
|
|
1476
1472
|
}, props, {
|
|
1477
1473
|
containerHeight: containerHeight,
|
|
@@ -1489,7 +1485,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1489
1485
|
);
|
|
1490
1486
|
};
|
|
1491
1487
|
|
|
1492
|
-
var _this
|
|
1488
|
+
var _this = undefined;
|
|
1493
1489
|
|
|
1494
1490
|
var View = function View(props) {
|
|
1495
1491
|
var router = useRouter();
|
|
@@ -1499,9 +1495,9 @@ var View = function View(props) {
|
|
|
1499
1495
|
hideComments = _props$article.hideComments,
|
|
1500
1496
|
content_placement = _props$article.content_placement,
|
|
1501
1497
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1502
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1503
|
-
|
|
1504
|
-
Ads = props.Ads,
|
|
1498
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1499
|
+
props.sponsoredTaxonomies;
|
|
1500
|
+
var Ads = props.Ads,
|
|
1505
1501
|
setCustomDimensions = props.setCustomDimensions,
|
|
1506
1502
|
statusCode = props.statusCode,
|
|
1507
1503
|
prevUrl = props.prevUrl,
|
|
@@ -1514,9 +1510,9 @@ var View = function View(props) {
|
|
|
1514
1510
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1515
1511
|
var _props$article2 = props.article,
|
|
1516
1512
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1517
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1518
|
-
|
|
1519
|
-
title = _props$article2.title,
|
|
1513
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1514
|
+
_props$article2.description;
|
|
1515
|
+
var title = _props$article2.title,
|
|
1520
1516
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1521
1517
|
|
|
1522
1518
|
var _useState = useState(0),
|
|
@@ -1577,7 +1573,6 @@ var View = function View(props) {
|
|
|
1577
1573
|
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) && !showDisqus;
|
|
1578
1574
|
|
|
1579
1575
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1580
|
-
description = null;
|
|
1581
1576
|
title = null;
|
|
1582
1577
|
}
|
|
1583
1578
|
|
|
@@ -1614,63 +1609,63 @@ var View = function View(props) {
|
|
|
1614
1609
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1615
1610
|
}
|
|
1616
1611
|
|
|
1617
|
-
return
|
|
1618
|
-
|
|
1612
|
+
return React.createElement(
|
|
1613
|
+
React.Fragment,
|
|
1619
1614
|
null,
|
|
1620
|
-
|
|
1615
|
+
React.createElement(
|
|
1621
1616
|
Head,
|
|
1622
1617
|
null,
|
|
1623
|
-
|
|
1618
|
+
React.createElement(
|
|
1624
1619
|
'title',
|
|
1625
1620
|
{ key: 'title' },
|
|
1626
1621
|
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 : '')
|
|
1627
1622
|
),
|
|
1628
|
-
meta_description &&
|
|
1629
|
-
|
|
1630
|
-
passwordLock &&
|
|
1631
|
-
|
|
1623
|
+
meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1624
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1625
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1626
|
+
React.createElement('meta', {
|
|
1632
1627
|
property: 'og:url',
|
|
1633
1628
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1634
1629
|
key: 'og:url'
|
|
1635
1630
|
}),
|
|
1636
|
-
|
|
1631
|
+
React.createElement('meta', {
|
|
1637
1632
|
property: 'og:title',
|
|
1638
1633
|
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 : ''),
|
|
1639
1634
|
key: 'og:title'
|
|
1640
1635
|
}),
|
|
1641
|
-
|
|
1636
|
+
React.createElement('meta', {
|
|
1642
1637
|
property: 'og:image',
|
|
1643
1638
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1644
1639
|
key: 'og:image'
|
|
1645
1640
|
}),
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1641
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1642
|
+
React.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1643
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1644
|
+
React.createElement('meta', {
|
|
1650
1645
|
name: 'twitter:title',
|
|
1651
1646
|
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 : ''),
|
|
1652
1647
|
key: 'twitter:title'
|
|
1653
1648
|
}),
|
|
1654
|
-
|
|
1649
|
+
React.createElement('meta', {
|
|
1655
1650
|
name: 'twitter:image',
|
|
1656
1651
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1657
1652
|
key: 'twitter:image'
|
|
1658
1653
|
}),
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
canonicalTag &&
|
|
1654
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1655
|
+
React.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1656
|
+
canonicalTag && React.createElement('link', {
|
|
1662
1657
|
rel: 'canonical',
|
|
1663
1658
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1664
1659
|
key: 'canonical'
|
|
1665
1660
|
}),
|
|
1666
|
-
|
|
1661
|
+
React.createElement(
|
|
1667
1662
|
'noscript',
|
|
1668
1663
|
null,
|
|
1669
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1670
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1664
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1665
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1671
1666
|
)
|
|
1672
1667
|
),
|
|
1673
|
-
!needInfiniteScroll ?
|
|
1668
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1674
1669
|
infiniteScroll: true,
|
|
1675
1670
|
showRelatedArticles: showRelatedArticles,
|
|
1676
1671
|
canonicalTag: canonicalTag,
|
|
@@ -1807,7 +1802,7 @@ View.returnGetInitialProps = function () {
|
|
|
1807
1802
|
return _context.stop();
|
|
1808
1803
|
}
|
|
1809
1804
|
}
|
|
1810
|
-
}, _callee, _this
|
|
1805
|
+
}, _callee, _this);
|
|
1811
1806
|
}));
|
|
1812
1807
|
|
|
1813
1808
|
return function (_x, _x2, _x3, _x4, _x5) {
|