@mjhls/mjh-framework 1.0.874-beta.0 → 1.0.874
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 +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +29 -28
- package/dist/cjs/AD300x250x600.js +29 -28
- package/dist/cjs/AD728x90.js +32 -31
- package/dist/cjs/ADFloatingFooter.js +31 -30
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +31 -30
- package/dist/cjs/{ADInfeed-c628363f.js → ADInfeed-b9e5ff3f.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -30
- package/dist/cjs/ADSponsoredResources.js +31 -30
- package/dist/cjs/ADWebcast.js +31 -30
- package/dist/cjs/ADWelcome.js +32 -31
- package/dist/cjs/{ADlgInfeed-a827d389.js → ADlgInfeed-3cdefebd.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +34 -33
- package/dist/cjs/AdSlotsProvider.js +18 -909
- package/dist/cjs/AlgoliaSearch.js +1392 -1274
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +20 -19
- package/dist/cjs/ArticleProgramLandingPage.js +61 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +680 -1504
- package/dist/cjs/AuthWrapper.js +309 -267
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +60 -57
- package/dist/cjs/ConferenceArticleCard.js +41 -40
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +105 -101
- package/dist/cjs/DeckQueue.js +91 -87
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
- package/dist/cjs/EventsDeck.js +157 -150
- package/dist/cjs/ExternalResources.js +79 -78
- package/dist/cjs/Feature.js +29 -27
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +236 -231
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +58 -57
- package/dist/cjs/HamMagazine.js +143 -138
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +16 -15
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +72 -71
- package/dist/cjs/HorizontalHero.js +28 -27
- package/dist/cjs/IssueContentDeck.js +76 -71
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +94 -93
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -37
- package/dist/cjs/MasterDeck.js +79 -78
- package/dist/cjs/MediaSeriesLanding.js +1118 -1127
- package/dist/cjs/NavDvm.js +77 -72
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +150 -145
- package/dist/cjs/NavNative.js +145 -137
- package/dist/cjs/OncliveHero.js +22 -22
- package/dist/cjs/OncliveLargeHero.js +71 -70
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +116 -3916
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -40
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +70 -65
- package/dist/cjs/PublicationLanding.js +137 -133
- package/dist/cjs/QueueDeckExpanded.js +308 -308
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +58 -57
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-ce3261cb.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-5ec44406.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +66 -61
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +26 -24
- package/dist/cjs/Ustream.js +28 -27
- package/dist/cjs/VerticalHero.js +20 -19
- package/dist/cjs/VideoProgramLandingPage.js +78 -74
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +50 -49
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +271 -268
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +68 -67
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- 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-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.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/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-cdacba23.js → index-6a2a3e03.js} +1089 -1063
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- 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-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- 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-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- 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 +170 -164
- package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- 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-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- 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-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +25 -25
- package/dist/esm/AD300x250x600.js +25 -25
- package/dist/esm/AD728x90.js +28 -28
- package/dist/esm/ADFloatingFooter.js +27 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -27
- package/dist/esm/{ADInfeed-8d5edcac.js → ADInfeed-6c6093ae.js} +11 -11
- package/dist/esm/ADSkyscraper.js +27 -27
- package/dist/esm/ADSponsoredResources.js +27 -27
- package/dist/esm/ADWebcast.js +27 -27
- package/dist/esm/ADWelcome.js +28 -28
- package/dist/esm/{ADlgInfeed-996c0199.js → ADlgInfeed-5d7386e8.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +25 -25
- package/dist/esm/AdSlotsProvider.js +15 -907
- package/dist/esm/AlgoliaSearch.js +820 -703
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +659 -1487
- package/dist/esm/AuthWrapper.js +306 -265
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +28 -28
- package/dist/esm/Column3.js +54 -54
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +96 -96
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-f867d061.js → Dfp-4ca12f2e.js} +20 -20
- package/dist/esm/EventsDeck.js +127 -127
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +199 -199
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -68
- package/dist/esm/HorizontalHero.js +25 -25
- package/dist/esm/IssueContentDeck.js +59 -59
- package/dist/esm/IssueDeck.js +63 -63
- package/dist/esm/IssueLanding.js +90 -90
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +75 -75
- package/dist/esm/MediaSeriesLanding.js +839 -851
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +114 -114
- package/dist/esm/OncliveHero.js +19 -20
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/PartnerDetailListing.js +112 -3912
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +56 -56
- package/dist/esm/PublicationLanding.js +120 -120
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-d555a1d2.js → SeriesSlider-485f514e.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-d240935c.js → SocialSearchComponent-a5b11613.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -56
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +72 -72
- package/dist/esm/View.js +249 -250
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-4df618a6.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-b4dfe691.js} +30 -30
- 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-86d4db69.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-6d26cb48.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8fa0bc8d.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/{extends-5b1796d4.js → extends-dc6a71fd.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-f51152f7.js → index-5bbd1562.js} +1037 -1021
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- 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-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +140 -137
- package/dist/esm/{inherits-2409637d.js → inherits-8a801a18.js} +18 -18
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-425c8ab0.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/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- 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-67a08c9c.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-c05a82ba.js → typeof-83d9eb10.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-41166338.js} +4 -4
- 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-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +111 -111
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-70b72959.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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-c21932b3.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.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-5bbd1562.js';
|
|
19
|
+
import DFPAdSlot from './AdSlot.js';
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-485f514e.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { _ as _typeof } from './typeof-83d9eb10.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-425c8ab0.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-2446af28.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 './core.get-iterator-method-
|
|
36
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
37
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
3
38
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends, a as _Object$assign } from './extends-5b1796d4.js';
|
|
8
|
-
import './_object-sap-8b8ea5a9.js';
|
|
9
|
-
import './inherits-2409637d.js';
|
|
10
|
-
import './define-property-6d26cb48.js';
|
|
11
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
-
import { _ as _typeof } from './typeof-c05a82ba.js';
|
|
13
|
-
import './_is-array-4df618a6.js';
|
|
14
|
-
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
15
|
-
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
39
|
+
import './_iter-detect-f089461c.js';
|
|
40
|
+
import './_object-pie-133f504a.js';
|
|
17
41
|
import 'prop-types';
|
|
18
|
-
import '
|
|
19
|
-
import 'react-bootstrap/Col';
|
|
20
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
21
|
-
import { useRouter } from 'next/router';
|
|
22
|
-
import './isSymbol-1981418f.js';
|
|
23
|
-
import './debounce-9207d8ee.js';
|
|
24
|
-
import './toNumber-2f7a84cd.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
42
|
+
import './index-0dbff1d1.js';
|
|
26
43
|
import 'react-dom';
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import './index-73819142.js';
|
|
30
|
-
import urlFor from './urlFor.js';
|
|
31
|
-
import './index-5f7e79e7.js';
|
|
32
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
33
|
-
import './entities-7cc3bf45.js';
|
|
34
|
-
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
35
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
36
|
-
import './Segment.js';
|
|
37
|
-
import './Beam.js';
|
|
38
|
-
import DFPAdSlot from './AdSlot.js';
|
|
39
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
40
|
-
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
44
|
+
import 'react-share';
|
|
45
|
+
import 'react-bootstrap';
|
|
41
46
|
import './index-c7e2ac95.js';
|
|
42
|
-
import './
|
|
47
|
+
import './util-3ab476bf.js';
|
|
48
|
+
import './Beam.js';
|
|
49
|
+
import './Segment.js';
|
|
50
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
43
51
|
import './GroupDeck.js';
|
|
44
|
-
import '
|
|
45
|
-
import './
|
|
46
|
-
import './
|
|
47
|
-
import { r as renderAuthor, g as getSerializers } from './index-f51152f7.js';
|
|
48
|
-
import './util-7700fc59.js';
|
|
49
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
50
|
-
import Head from 'next/head';
|
|
51
|
-
import 'react-share';
|
|
52
|
-
import SocialShare from './SocialShare.js';
|
|
53
|
-
import './_object-to-array-c54dd835.js';
|
|
52
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
+
import './_is-array-893ab020.js';
|
|
54
|
+
import './_object-to-array-50a6b9a3.js';
|
|
54
55
|
import 'react-bootstrap/Pagination';
|
|
56
|
+
import './entities-932b50cf.js';
|
|
57
|
+
import 'react-bootstrap/Row';
|
|
58
|
+
import 'react-bootstrap/Col';
|
|
59
|
+
import './inherits-8a801a18.js';
|
|
60
|
+
import './_object-sap-169d6272.js';
|
|
61
|
+
import './define-property-99e66838.js';
|
|
62
|
+
import './index.esm-3fdda599.js';
|
|
63
|
+
import './iconBase-602d52fe.js';
|
|
55
64
|
import 'react-bootstrap/Figure';
|
|
56
65
|
import 'react-bootstrap/OverlayTrigger';
|
|
57
66
|
import 'react-bootstrap/Tooltip';
|
|
58
67
|
import 'react-bootstrap/Popover';
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import '
|
|
63
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
64
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
68
|
+
import './debounce-533d9748.js';
|
|
69
|
+
import './isSymbol-a7e9aafe.js';
|
|
70
|
+
import './toNumber-5aeba6e7.js';
|
|
71
|
+
import './events-6c3a7a63.js';
|
|
65
72
|
import './index-db3bb315.js';
|
|
66
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
67
|
-
import getQuery from './getQuery.js';
|
|
68
|
-
import { S as SeriesSlider } from './SeriesSlider-d555a1d2.js';
|
|
69
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-277c801e.js';
|
|
70
|
-
import getKeywords from './getKeywords.js';
|
|
71
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
72
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
73
73
|
|
|
74
74
|
var getArticleSummary = function getArticleSummary(article) {
|
|
75
75
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -147,17 +147,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
147
147
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
return
|
|
150
|
+
return React.createElement(
|
|
151
151
|
'a',
|
|
152
152
|
{
|
|
153
153
|
href: url,
|
|
154
154
|
className: 'doc-group',
|
|
155
155
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
156
|
-
thumbnailUrl &&
|
|
157
|
-
!thumbnailUrl &&
|
|
158
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
156
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
157
|
+
!thumbnailUrl && React.createElement('p', {
|
|
158
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
159
159
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
160
|
-
|
|
160
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
161
161
|
'style',
|
|
162
162
|
{ jsx: 'true' },
|
|
163
163
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -297,38 +297,38 @@ var ISI = function ISI(props) {
|
|
|
297
297
|
}, 300);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
return
|
|
301
|
-
|
|
300
|
+
return React.createElement(
|
|
301
|
+
React.Fragment,
|
|
302
302
|
null,
|
|
303
|
-
|
|
303
|
+
React.createElement(
|
|
304
304
|
'div',
|
|
305
305
|
{ id: 'isi', ref: isi },
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
'div',
|
|
308
308
|
{ id: 'isiContent' },
|
|
309
|
-
|
|
309
|
+
React.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ onClick: function onClick() {
|
|
312
312
|
return setActive(function (prev) {
|
|
313
313
|
return !prev;
|
|
314
314
|
});
|
|
315
315
|
}, id: 'isiToggle' },
|
|
316
|
-
active ?
|
|
316
|
+
active ? React.createElement(
|
|
317
317
|
'p',
|
|
318
318
|
null,
|
|
319
319
|
'Close ',
|
|
320
|
-
|
|
321
|
-
) :
|
|
320
|
+
React.createElement(FaMinus, null)
|
|
321
|
+
) : React.createElement(
|
|
322
322
|
'p',
|
|
323
323
|
null,
|
|
324
324
|
'See More ',
|
|
325
|
-
|
|
325
|
+
React.createElement(FaPlus, null)
|
|
326
326
|
)
|
|
327
327
|
),
|
|
328
328
|
children
|
|
329
329
|
)
|
|
330
330
|
),
|
|
331
|
-
|
|
331
|
+
React.createElement(
|
|
332
332
|
'style',
|
|
333
333
|
{ jsx: true },
|
|
334
334
|
'\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 '
|
|
@@ -336,7 +336,7 @@ var ISI = function ISI(props) {
|
|
|
336
336
|
);
|
|
337
337
|
};
|
|
338
338
|
|
|
339
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
339
|
+
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";
|
|
340
340
|
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" };
|
|
341
341
|
styleInject(css);
|
|
342
342
|
|
|
@@ -350,33 +350,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
350
350
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
351
351
|
return null;
|
|
352
352
|
}
|
|
353
|
-
return
|
|
353
|
+
return React.createElement(
|
|
354
354
|
'div',
|
|
355
355
|
{ className: styles.mediaContainer },
|
|
356
356
|
articles.map(function (article, index) {
|
|
357
|
-
return
|
|
357
|
+
return React.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
360
|
-
|
|
360
|
+
React.createElement(
|
|
361
361
|
'a',
|
|
362
362
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
363
|
-
article.thumbnail ?
|
|
363
|
+
article.thumbnail ? React.createElement('img', {
|
|
364
364
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
365
365
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
366
366
|
alt: article.title
|
|
367
|
-
}) :
|
|
368
|
-
|
|
367
|
+
}) : React.createElement(
|
|
368
|
+
React.Fragment,
|
|
369
369
|
null,
|
|
370
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
370
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
371
371
|
)
|
|
372
372
|
),
|
|
373
|
-
|
|
373
|
+
React.createElement(
|
|
374
374
|
'div',
|
|
375
375
|
{ className: styles.mediaBody },
|
|
376
|
-
|
|
376
|
+
React.createElement(
|
|
377
377
|
'a',
|
|
378
378
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
379
|
-
|
|
379
|
+
React.createElement(
|
|
380
380
|
'div',
|
|
381
381
|
{ className: styles.cardTitle },
|
|
382
382
|
article.title
|
|
@@ -481,17 +481,17 @@ function generateSchema(props) {
|
|
|
481
481
|
var articleSection = content_placement && content_placement.map(function (cp) {
|
|
482
482
|
return cp.name;
|
|
483
483
|
});
|
|
484
|
-
var image = thumbnail && thumbnail.asset && client ? urlFor({ source: thumbnail, client: client }) : liveDomain && logo && 'https://' + liveDomain + logo;
|
|
485
484
|
|
|
486
|
-
if (title && published && _updatedAt) {
|
|
485
|
+
if (title && thumbnail && client && published && _updatedAt) {
|
|
487
486
|
return _extends({
|
|
488
487
|
'@context': 'https://schema.org',
|
|
489
488
|
'@type': 'NewsArticle',
|
|
490
489
|
headline: title,
|
|
490
|
+
image: urlFor({ source: thumbnail, client: client }),
|
|
491
491
|
datePublished: published,
|
|
492
492
|
dateModified: _updatedAt,
|
|
493
493
|
inLanguage: 'en-US'
|
|
494
|
-
},
|
|
494
|
+
}, liveDomain && url && url.current && {
|
|
495
495
|
mainEntityOfPage: {
|
|
496
496
|
'@type': 'WebPage',
|
|
497
497
|
'@id': 'https://' + liveDomain + '/view/' + url.current
|
|
@@ -511,7 +511,7 @@ function generateSchema(props) {
|
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
var Schema = function Schema(props) {
|
|
514
|
-
return
|
|
514
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
515
515
|
};
|
|
516
516
|
|
|
517
517
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -619,9 +619,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
619
619
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
620
620
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
621
621
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
622
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
623
|
-
|
|
624
|
-
containerHeight = props.containerHeight,
|
|
622
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
623
|
+
props.active;
|
|
624
|
+
var containerHeight = props.containerHeight,
|
|
625
625
|
_props$refreshFlag = props.refreshFlag,
|
|
626
626
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
627
627
|
disqusConfig = props.disqusConfig,
|
|
@@ -681,9 +681,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
681
681
|
setArticleBody = _useState10[1];
|
|
682
682
|
|
|
683
683
|
var _useState11 = useState(true),
|
|
684
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
685
|
-
|
|
686
|
-
setPreviewAd = _useState12[1];
|
|
684
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
685
|
+
_useState12[0];
|
|
686
|
+
var setPreviewAd = _useState12[1];
|
|
687
687
|
|
|
688
688
|
useEffect(function () {
|
|
689
689
|
var path = window && window.location && window.location.search;
|
|
@@ -704,7 +704,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
704
704
|
};
|
|
705
705
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
706
706
|
if (biography) {
|
|
707
|
-
return
|
|
707
|
+
return React.createElement(BlockContent, _extends({
|
|
708
708
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
709
709
|
blocks: [biography]
|
|
710
710
|
}, client.config()));
|
|
@@ -714,9 +714,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
714
714
|
var url = article.url.current;
|
|
715
715
|
|
|
716
716
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
717
|
-
return
|
|
717
|
+
return React.createElement(ISIContent, null);
|
|
718
718
|
} else if (nationalPage === url && ISIContent) {
|
|
719
|
-
return
|
|
719
|
+
return React.createElement(ISIContent, { national: true });
|
|
720
720
|
}
|
|
721
721
|
return null;
|
|
722
722
|
};
|
|
@@ -750,19 +750,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
750
750
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
751
751
|
}
|
|
752
752
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
753
|
-
return
|
|
753
|
+
return React.createElement(
|
|
754
754
|
'div',
|
|
755
755
|
null,
|
|
756
756
|
relatedLinks.map(function (relatedLink, index) {
|
|
757
|
-
return
|
|
757
|
+
return React.createElement(
|
|
758
758
|
'span',
|
|
759
759
|
{ key: index, className: 'related-link' },
|
|
760
|
-
|
|
760
|
+
React.createElement(
|
|
761
761
|
'a',
|
|
762
762
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
763
763
|
relatedLink.label
|
|
764
764
|
),
|
|
765
|
-
|
|
765
|
+
React.createElement(
|
|
766
766
|
'style',
|
|
767
767
|
{ jsx: 'true' },
|
|
768
768
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -777,23 +777,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
777
777
|
};
|
|
778
778
|
|
|
779
779
|
var RelatedContent = function RelatedContent() {
|
|
780
|
-
return
|
|
780
|
+
return React.createElement(
|
|
781
781
|
'section',
|
|
782
782
|
{ id: 'related-content-section', className: 'my-1' },
|
|
783
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
783
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
784
784
|
'p',
|
|
785
785
|
{ className: 'mb-0' },
|
|
786
|
-
|
|
786
|
+
React.createElement(
|
|
787
787
|
'b',
|
|
788
788
|
null,
|
|
789
789
|
'Related Content:'
|
|
790
790
|
)
|
|
791
791
|
),
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
React.createElement(RelevantTopics, null),
|
|
793
|
+
React.createElement(
|
|
794
794
|
'div',
|
|
795
795
|
{ className: 'pt-2' },
|
|
796
|
-
|
|
796
|
+
React.createElement(RelatedArticle, {
|
|
797
797
|
articles: article.relatedArticle,
|
|
798
798
|
client: client,
|
|
799
799
|
fallbackImage: props.Settings.logo,
|
|
@@ -804,29 +804,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
804
804
|
};
|
|
805
805
|
|
|
806
806
|
var form = function form() {
|
|
807
|
-
return
|
|
808
|
-
|
|
807
|
+
return React.createElement(
|
|
808
|
+
React.Fragment,
|
|
809
809
|
null,
|
|
810
|
-
|
|
810
|
+
React.createElement(
|
|
811
811
|
Head,
|
|
812
812
|
null,
|
|
813
|
-
|
|
813
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
814
814
|
),
|
|
815
|
-
|
|
815
|
+
React.createElement(
|
|
816
816
|
'div',
|
|
817
817
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
818
|
-
|
|
818
|
+
React.createElement(
|
|
819
819
|
Form,
|
|
820
820
|
{
|
|
821
821
|
inline: true,
|
|
822
822
|
onSubmit: function onSubmit(e) {
|
|
823
823
|
e.preventDefault();
|
|
824
824
|
} },
|
|
825
|
-
|
|
825
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
826
826
|
return setPasswordKey(e.target.value);
|
|
827
827
|
}, placeholder: 'Password' }),
|
|
828
|
-
|
|
829
|
-
Button
|
|
828
|
+
React.createElement(
|
|
829
|
+
Button,
|
|
830
830
|
{
|
|
831
831
|
variant: 'primary',
|
|
832
832
|
onClick: function onClick() {
|
|
@@ -875,31 +875,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
875
875
|
setContextualADFlag(true);
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
return
|
|
879
|
-
|
|
878
|
+
return React.createElement(
|
|
879
|
+
React.Fragment,
|
|
880
880
|
null,
|
|
881
|
-
|
|
881
|
+
React.createElement(BlockContent, _extends({
|
|
882
882
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
883
883
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
884
884
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
885
885
|
}, client.config())),
|
|
886
|
-
|
|
887
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
888
|
-
|
|
886
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
887
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
888
|
+
React.createElement(
|
|
889
889
|
'div',
|
|
890
890
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
891
|
-
|
|
891
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
892
892
|
refreshFlag: refreshFlag
|
|
893
893
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
894
894
|
}))
|
|
895
895
|
),
|
|
896
|
-
|
|
897
|
-
|
|
896
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
897
|
+
React.createElement(
|
|
898
898
|
'div',
|
|
899
899
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
900
|
-
|
|
900
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
901
901
|
),
|
|
902
|
-
|
|
902
|
+
React.createElement(BlockContent, _extends({
|
|
903
903
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
904
904
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
905
905
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -924,26 +924,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
924
924
|
if (seriesInfo.hasVideo) {
|
|
925
925
|
_selectedIndex = seriesInfo.videoIndex;
|
|
926
926
|
}
|
|
927
|
-
return
|
|
928
|
-
|
|
927
|
+
return React.createElement(
|
|
928
|
+
React.Fragment,
|
|
929
929
|
null,
|
|
930
|
-
|
|
930
|
+
React.createElement(BlockContent, _extends({
|
|
931
931
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
932
932
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
933
933
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
934
934
|
}, client.config())),
|
|
935
|
-
contextualADFlag &&
|
|
936
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
937
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
935
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
936
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
937
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
938
938
|
'div',
|
|
939
939
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
940
|
-
|
|
940
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
941
941
|
refreshFlag: refreshFlag
|
|
942
942
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
943
943
|
}))
|
|
944
944
|
),
|
|
945
|
-
contextualADFlag &&
|
|
946
|
-
|
|
945
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
946
|
+
React.createElement(BlockContent, _extends({
|
|
947
947
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
948
948
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
949
949
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -973,22 +973,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
973
973
|
}
|
|
974
974
|
};
|
|
975
975
|
|
|
976
|
-
return
|
|
977
|
-
|
|
976
|
+
return React.createElement(
|
|
977
|
+
React.Fragment,
|
|
978
978
|
null,
|
|
979
|
-
|
|
979
|
+
React.createElement(BlockContent, _extends({
|
|
980
980
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
981
981
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
982
982
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
983
983
|
}, client.config())),
|
|
984
|
-
|
|
985
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
986
|
-
|
|
984
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
985
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
986
|
+
React.createElement(
|
|
987
987
|
'div',
|
|
988
988
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
989
|
-
|
|
989
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
990
990
|
),
|
|
991
|
-
|
|
991
|
+
React.createElement(BlockContent, _extends({
|
|
992
992
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
993
993
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
994
994
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1000,16 +1000,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1000
1000
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
return
|
|
1003
|
+
return React.createElement(
|
|
1004
1004
|
'div',
|
|
1005
1005
|
null,
|
|
1006
|
-
|
|
1006
|
+
React.createElement(BlockContent, _extends({
|
|
1007
1007
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1008
1008
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1009
1009
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1010
1010
|
}, client.config())),
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1012
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1011
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1012
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1013
1013
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1014
1014
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1015
1015
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1054,8 +1054,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1054
1054
|
shareSubject = shareOptions.shareSubject,
|
|
1055
1055
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1056
1056
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1057
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1058
|
-
|
|
1057
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
1058
|
+
shareOptions.shareSiteTitle;
|
|
1059
1059
|
|
|
1060
1060
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1061
1061
|
var shareTitle = article.title;
|
|
@@ -1095,10 +1095,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1095
1095
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1096
1096
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1097
1097
|
|
|
1098
|
-
return
|
|
1099
|
-
|
|
1098
|
+
return React.createElement(
|
|
1099
|
+
React.Fragment,
|
|
1100
1100
|
null,
|
|
1101
|
-
|
|
1101
|
+
React.createElement(
|
|
1102
1102
|
VisibilitySensor,
|
|
1103
1103
|
{
|
|
1104
1104
|
partialVisibility: true,
|
|
@@ -1114,44 +1114,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1114
1114
|
});
|
|
1115
1115
|
}
|
|
1116
1116
|
} },
|
|
1117
|
-
|
|
1117
|
+
React.createElement(
|
|
1118
1118
|
'div',
|
|
1119
1119
|
{ id: 'article__block', ref: ref },
|
|
1120
|
-
|
|
1120
|
+
React.createElement(
|
|
1121
1121
|
'div',
|
|
1122
1122
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1123
1123
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1124
|
-
!isVideoSeries &&
|
|
1124
|
+
!isVideoSeries && React.createElement(
|
|
1125
1125
|
'div',
|
|
1126
1126
|
null,
|
|
1127
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1127
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1128
1128
|
'p',
|
|
1129
1129
|
{ style: { fontSize: '14px' } },
|
|
1130
1130
|
article.documentGroup.name,
|
|
1131
1131
|
' - Episode ',
|
|
1132
1132
|
episodeNumber
|
|
1133
1133
|
),
|
|
1134
|
-
|
|
1134
|
+
React.createElement(
|
|
1135
1135
|
'h1',
|
|
1136
1136
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1137
1137
|
title
|
|
1138
1138
|
)
|
|
1139
1139
|
),
|
|
1140
|
-
|
|
1140
|
+
React.createElement(
|
|
1141
1141
|
'div',
|
|
1142
1142
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1143
|
-
|
|
1143
|
+
React.createElement(
|
|
1144
1144
|
'style',
|
|
1145
1145
|
{ jsx: 'true' },
|
|
1146
1146
|
'\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 '
|
|
1147
1147
|
),
|
|
1148
|
-
|
|
1148
|
+
React.createElement(
|
|
1149
1149
|
'div',
|
|
1150
1150
|
{ className: 'left-wrap' },
|
|
1151
|
-
!isVideoSeries && showPublished &&
|
|
1151
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1152
1152
|
'div',
|
|
1153
1153
|
null,
|
|
1154
|
-
|
|
1154
|
+
React.createElement(
|
|
1155
1155
|
'time',
|
|
1156
1156
|
{
|
|
1157
1157
|
className: 'meta-date',
|
|
@@ -1161,20 +1161,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1161
1161
|
)
|
|
1162
1162
|
/* Show Published date */
|
|
1163
1163
|
,
|
|
1164
|
-
|
|
1164
|
+
React.createElement(
|
|
1165
1165
|
'div',
|
|
1166
1166
|
{ className: 'mb-3' },
|
|
1167
1167
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1168
|
-
return
|
|
1168
|
+
return React.createElement(
|
|
1169
1169
|
'span',
|
|
1170
1170
|
{ key: index },
|
|
1171
1171
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }), showAuthorDetails)
|
|
1172
1172
|
);
|
|
1173
1173
|
}),
|
|
1174
|
-
|
|
1174
|
+
React.createElement(
|
|
1175
1175
|
'div',
|
|
1176
1176
|
null,
|
|
1177
|
-
source &&
|
|
1177
|
+
source && React.createElement(
|
|
1178
1178
|
'p',
|
|
1179
1179
|
{
|
|
1180
1180
|
style: {
|
|
@@ -1189,13 +1189,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1189
1189
|
source
|
|
1190
1190
|
)
|
|
1191
1191
|
),
|
|
1192
|
-
issue &&
|
|
1192
|
+
issue && React.createElement(
|
|
1193
1193
|
'div',
|
|
1194
1194
|
{ className: 'volume-issue' },
|
|
1195
|
-
issue.publication && issue.publication.name &&
|
|
1195
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1196
1196
|
'span',
|
|
1197
1197
|
{ className: 'mb-0' },
|
|
1198
|
-
|
|
1198
|
+
React.createElement(
|
|
1199
1199
|
'b',
|
|
1200
1200
|
null,
|
|
1201
1201
|
issue.publication.name
|
|
@@ -1203,34 +1203,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1203
1203
|
',',
|
|
1204
1204
|
' '
|
|
1205
1205
|
),
|
|
1206
|
-
issue.name &&
|
|
1206
|
+
issue.name && React.createElement(
|
|
1207
1207
|
'span',
|
|
1208
1208
|
{ className: 'mb-0' },
|
|
1209
1209
|
issue.name,
|
|
1210
1210
|
', '
|
|
1211
1211
|
),
|
|
1212
|
-
issue.volume &&
|
|
1212
|
+
issue.volume && React.createElement(
|
|
1213
1213
|
'span',
|
|
1214
1214
|
null,
|
|
1215
1215
|
'Volume ' + issue.volume,
|
|
1216
1216
|
','
|
|
1217
1217
|
),
|
|
1218
|
-
issue.issueNumber &&
|
|
1218
|
+
issue.issueNumber && React.createElement(
|
|
1219
1219
|
'span',
|
|
1220
1220
|
null,
|
|
1221
1221
|
' Issue ' + issue.issueNumber
|
|
1222
1222
|
)
|
|
1223
1223
|
),
|
|
1224
|
-
pageNumber &&
|
|
1224
|
+
pageNumber && React.createElement(
|
|
1225
1225
|
'div',
|
|
1226
1226
|
{ className: 'article-pageNumber' },
|
|
1227
1227
|
'Pages: ' + pageNumber
|
|
1228
1228
|
)
|
|
1229
1229
|
),
|
|
1230
|
-
!isVideoSeries && showSocialShare &&
|
|
1230
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1231
1231
|
'p',
|
|
1232
1232
|
null,
|
|
1233
|
-
|
|
1233
|
+
React.createElement(SocialShare, {
|
|
1234
1234
|
shareUrl: shareUrl,
|
|
1235
1235
|
shareTitle: shareTitle,
|
|
1236
1236
|
shareVia: shareVia,
|
|
@@ -1246,27 +1246,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1246
1246
|
})
|
|
1247
1247
|
)
|
|
1248
1248
|
),
|
|
1249
|
-
|
|
1249
|
+
React.createElement(
|
|
1250
1250
|
'div',
|
|
1251
1251
|
null,
|
|
1252
|
-
|
|
1252
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1253
1253
|
)
|
|
1254
1254
|
),
|
|
1255
|
-
!isVideoSeries && summary && display_summary &&
|
|
1255
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1256
1256
|
'p',
|
|
1257
1257
|
null,
|
|
1258
|
-
|
|
1258
|
+
React.createElement(
|
|
1259
1259
|
'em',
|
|
1260
1260
|
null,
|
|
1261
1261
|
summary
|
|
1262
1262
|
)
|
|
1263
1263
|
),
|
|
1264
|
-
|
|
1264
|
+
React.createElement(
|
|
1265
1265
|
'div',
|
|
1266
1266
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1267
|
-
|
|
1267
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1268
1268
|
if (index === 0) {
|
|
1269
|
-
return
|
|
1269
|
+
return React.createElement(
|
|
1270
1270
|
'div',
|
|
1271
1271
|
{
|
|
1272
1272
|
key: index,
|
|
@@ -1283,24 +1283,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
})
|
|
1285
1285
|
),
|
|
1286
|
-
|
|
1286
|
+
React.createElement(
|
|
1287
1287
|
'div',
|
|
1288
1288
|
{ className: 'block-content mt-3' },
|
|
1289
1289
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1290
|
-
|
|
1291
|
-
|
|
1290
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1291
|
+
React.createElement(
|
|
1292
1292
|
'noscript',
|
|
1293
1293
|
null,
|
|
1294
|
-
|
|
1294
|
+
React.createElement(
|
|
1295
1295
|
'div',
|
|
1296
1296
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1297
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1297
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1298
1298
|
'a',
|
|
1299
1299
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1300
1300
|
'Previous ',
|
|
1301
1301
|
props.article.seriesDetail.type
|
|
1302
1302
|
),
|
|
1303
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1303
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1304
1304
|
'a',
|
|
1305
1305
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1306
1306
|
'Next ',
|
|
@@ -1308,26 +1308,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1308
1308
|
)
|
|
1309
1309
|
)
|
|
1310
1310
|
),
|
|
1311
|
-
issue && issue.url &&
|
|
1311
|
+
issue && issue.url && React.createElement(
|
|
1312
1312
|
'a',
|
|
1313
1313
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1314
|
-
|
|
1314
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1315
1315
|
'Download Issue : ',
|
|
1316
1316
|
issue.name
|
|
1317
1317
|
)
|
|
1318
1318
|
),
|
|
1319
|
-
|
|
1320
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1319
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1320
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1321
1321
|
'div',
|
|
1322
1322
|
null,
|
|
1323
1323
|
false ,
|
|
1324
|
-
|
|
1324
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1325
1325
|
),
|
|
1326
|
-
showRelatedArticles && !showIsi &&
|
|
1327
|
-
disqusConfig && showDisqus &&
|
|
1326
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1327
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1328
1328
|
'div',
|
|
1329
1329
|
{ id: 'disqusContainer' },
|
|
1330
|
-
|
|
1330
|
+
React.createElement(DiscussionEmbed, {
|
|
1331
1331
|
shortname: disqusConfig.shortname,
|
|
1332
1332
|
config: {
|
|
1333
1333
|
url: disqusConfig.url,
|
|
@@ -1340,30 +1340,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1340
1340
|
renderIsiContent(props.article)
|
|
1341
1341
|
)
|
|
1342
1342
|
),
|
|
1343
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1343
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1344
1344
|
ISI,
|
|
1345
1345
|
null,
|
|
1346
|
-
|
|
1346
|
+
React.createElement(BlockContent, {
|
|
1347
1347
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1348
1348
|
blocks: isi
|
|
1349
1349
|
})
|
|
1350
1350
|
),
|
|
1351
|
-
|
|
1351
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1352
1352
|
if (index > 0) {
|
|
1353
|
-
return
|
|
1353
|
+
return React.createElement(
|
|
1354
1354
|
'div',
|
|
1355
1355
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1356
1356
|
ad.component
|
|
1357
1357
|
);
|
|
1358
1358
|
}
|
|
1359
1359
|
}),
|
|
1360
|
-
|
|
1360
|
+
React.createElement(
|
|
1361
1361
|
'noscript',
|
|
1362
1362
|
null,
|
|
1363
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1363
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1364
1364
|
'div',
|
|
1365
1365
|
{ style: { textAlign: 'center' } },
|
|
1366
|
-
|
|
1366
|
+
React.createElement(
|
|
1367
1367
|
'a',
|
|
1368
1368
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1369
1369
|
'Related Article ',
|
|
@@ -1371,8 +1371,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1371
1371
|
)
|
|
1372
1372
|
)
|
|
1373
1373
|
),
|
|
1374
|
-
props.infiniteScroll &&
|
|
1375
|
-
|
|
1374
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1375
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1376
1376
|
);
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
@@ -1387,7 +1387,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
1390
|
-
var _this = undefined;
|
|
1390
|
+
var _this$1 = undefined;
|
|
1391
1391
|
|
|
1392
1392
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1393
1393
|
var router = useRouter();
|
|
@@ -1396,9 +1396,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1396
1396
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1397
1397
|
Ads = props.Ads,
|
|
1398
1398
|
_props$maxListLength = props.maxListLength,
|
|
1399
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1400
|
-
|
|
1401
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1399
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1400
|
+
props.sponsoredTaxonomies;
|
|
1401
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1402
1402
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1403
1403
|
_props$authorPrefix = props.authorPrefix,
|
|
1404
1404
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1447,7 +1447,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1447
1447
|
return item.url.current === path;
|
|
1448
1448
|
});
|
|
1449
1449
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1450
|
-
if (!
|
|
1450
|
+
if (!main_43) {
|
|
1451
1451
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1452
1452
|
if (window.googletag && googletag.pubadsReady) {
|
|
1453
1453
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1464,7 +1464,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1464
1464
|
});
|
|
1465
1465
|
}
|
|
1466
1466
|
//Refresh leaderboard ad on mobile
|
|
1467
|
-
if (
|
|
1467
|
+
if (main_43) {
|
|
1468
1468
|
var leaderboardSlotId = '';
|
|
1469
1469
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1470
1470
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1568,7 +1568,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1568
1568
|
return _context.stop();
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1571
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1572
1572
|
}));
|
|
1573
1573
|
|
|
1574
1574
|
return function loadmore() {
|
|
@@ -1646,14 +1646,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1646
1646
|
refreshAD(path);
|
|
1647
1647
|
};
|
|
1648
1648
|
|
|
1649
|
-
return
|
|
1649
|
+
return React.createElement(
|
|
1650
1650
|
InfiniteScroll,
|
|
1651
1651
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1652
1652
|
queueData.map(function (article, index) {
|
|
1653
|
-
return
|
|
1654
|
-
|
|
1653
|
+
return React.createElement(
|
|
1654
|
+
React.Fragment,
|
|
1655
1655
|
{ key: index },
|
|
1656
|
-
|
|
1656
|
+
React.createElement(Article, _extends({}, props, {
|
|
1657
1657
|
containerHeight: containerHeight,
|
|
1658
1658
|
onChangeArticle: onChangeArticle,
|
|
1659
1659
|
authorPrfix: authorPrefix,
|
|
@@ -1669,7 +1669,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1669
1669
|
);
|
|
1670
1670
|
};
|
|
1671
1671
|
|
|
1672
|
-
var _this
|
|
1672
|
+
var _this = undefined;
|
|
1673
1673
|
|
|
1674
1674
|
var View = function View(props) {
|
|
1675
1675
|
var router = useRouter();
|
|
@@ -1679,9 +1679,9 @@ var View = function View(props) {
|
|
|
1679
1679
|
hideComments = _props$article.hideComments,
|
|
1680
1680
|
content_placement = _props$article.content_placement,
|
|
1681
1681
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1682
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1683
|
-
|
|
1684
|
-
Ads = props.Ads,
|
|
1682
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1683
|
+
props.sponsoredTaxonomies;
|
|
1684
|
+
var Ads = props.Ads,
|
|
1685
1685
|
setCustomDimensions = props.setCustomDimensions,
|
|
1686
1686
|
statusCode = props.statusCode,
|
|
1687
1687
|
prevUrl = props.prevUrl,
|
|
@@ -1694,9 +1694,9 @@ var View = function View(props) {
|
|
|
1694
1694
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1695
1695
|
var _props$article2 = props.article,
|
|
1696
1696
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1697
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1698
|
-
|
|
1699
|
-
title = _props$article2.title,
|
|
1697
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1698
|
+
_props$article2.description;
|
|
1699
|
+
var title = _props$article2.title,
|
|
1700
1700
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1701
1701
|
|
|
1702
1702
|
var _useState = useState(0),
|
|
@@ -1752,7 +1752,6 @@ var View = function View(props) {
|
|
|
1752
1752
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !disableInfiniteScroll && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1753
1753
|
|
|
1754
1754
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1755
|
-
description = null;
|
|
1756
1755
|
title = null;
|
|
1757
1756
|
}
|
|
1758
1757
|
|
|
@@ -1796,63 +1795,63 @@ var View = function View(props) {
|
|
|
1796
1795
|
|
|
1797
1796
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1798
1797
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1799
|
-
return
|
|
1800
|
-
|
|
1798
|
+
return React.createElement(
|
|
1799
|
+
React.Fragment,
|
|
1801
1800
|
null,
|
|
1802
|
-
|
|
1801
|
+
React.createElement(
|
|
1803
1802
|
Head,
|
|
1804
1803
|
null,
|
|
1805
|
-
|
|
1804
|
+
React.createElement(
|
|
1806
1805
|
'title',
|
|
1807
1806
|
{ key: 'title' },
|
|
1808
1807
|
metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : 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 : '')
|
|
1809
1808
|
),
|
|
1810
|
-
metaDescriptionSanity ?
|
|
1811
|
-
|
|
1812
|
-
passwordLock &&
|
|
1813
|
-
|
|
1809
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1810
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1811
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1812
|
+
React.createElement('meta', {
|
|
1814
1813
|
property: 'og:url',
|
|
1815
1814
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1816
1815
|
key: 'og:url'
|
|
1817
1816
|
}),
|
|
1818
|
-
|
|
1817
|
+
React.createElement('meta', {
|
|
1819
1818
|
property: 'og:title',
|
|
1820
1819
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : 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 : ''),
|
|
1821
1820
|
key: 'og:title'
|
|
1822
1821
|
}),
|
|
1823
|
-
|
|
1822
|
+
React.createElement('meta', {
|
|
1824
1823
|
property: 'og:image',
|
|
1825
1824
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1826
1825
|
key: 'og:image'
|
|
1827
1826
|
}),
|
|
1828
|
-
|
|
1829
|
-
metaDescriptionSanity ?
|
|
1830
|
-
|
|
1831
|
-
|
|
1827
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1828
|
+
metaDescriptionSanity ? React.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1829
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1830
|
+
React.createElement('meta', {
|
|
1832
1831
|
name: 'twitter:title',
|
|
1833
1832
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : 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 : ''),
|
|
1834
1833
|
key: 'twitter:title'
|
|
1835
1834
|
}),
|
|
1836
|
-
|
|
1835
|
+
React.createElement('meta', {
|
|
1837
1836
|
name: 'twitter:image',
|
|
1838
1837
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1839
1838
|
key: 'twitter:image'
|
|
1840
1839
|
}),
|
|
1841
|
-
|
|
1842
|
-
metaDescriptionSanity ?
|
|
1843
|
-
canonicalTag &&
|
|
1840
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1841
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1842
|
+
canonicalTag && React.createElement('link', {
|
|
1844
1843
|
rel: 'canonical',
|
|
1845
1844
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1846
1845
|
key: 'canonical'
|
|
1847
1846
|
}),
|
|
1848
|
-
|
|
1847
|
+
React.createElement(
|
|
1849
1848
|
'noscript',
|
|
1850
1849
|
null,
|
|
1851
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1852
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1850
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1851
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1853
1852
|
)
|
|
1854
1853
|
),
|
|
1855
|
-
!needInfiniteScroll ?
|
|
1854
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1856
1855
|
infiniteScroll: true,
|
|
1857
1856
|
showRelatedArticles: showRelatedArticles,
|
|
1858
1857
|
canonicalTag: canonicalTag,
|
|
@@ -1989,7 +1988,7 @@ View.returnGetInitialProps = function () {
|
|
|
1989
1988
|
return _context.stop();
|
|
1990
1989
|
}
|
|
1991
1990
|
}
|
|
1992
|
-
}, _callee, _this
|
|
1991
|
+
}, _callee, _this);
|
|
1993
1992
|
}));
|
|
1994
1993
|
|
|
1995
1994
|
return function (_x, _x2, _x3, _x4, _x5) {
|