@mjhls/mjh-framework 1.0.876-beta.0 → 1.0.876
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 -91
- 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 -3914
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -38
- 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 +1172 -1052
- 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 +268 -265
- 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-35a2a91f.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-fd34a881.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 -88
- 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 -3910
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -35
- 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 +1165 -1045
- 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 +246 -247
- 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-64812e90.js → asyncToGenerator-b4dfe691.js} +31 -31
- 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-604589b2.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 -112
- 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 { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.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-604589b2.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,34 +350,34 @@ 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
357
|
if (article && article.url && article.url.current) {
|
|
358
|
-
return
|
|
358
|
+
return React.createElement(
|
|
359
359
|
'div',
|
|
360
360
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
361
|
-
|
|
361
|
+
React.createElement(
|
|
362
362
|
'a',
|
|
363
363
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
364
|
-
article.thumbnail ?
|
|
364
|
+
article.thumbnail ? React.createElement('img', {
|
|
365
365
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
366
366
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
367
367
|
alt: article.title
|
|
368
|
-
}) :
|
|
369
|
-
|
|
368
|
+
}) : React.createElement(
|
|
369
|
+
React.Fragment,
|
|
370
370
|
null,
|
|
371
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
371
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
372
372
|
)
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'div',
|
|
376
376
|
{ className: styles.mediaBody },
|
|
377
|
-
|
|
377
|
+
React.createElement(
|
|
378
378
|
'a',
|
|
379
379
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
380
|
-
|
|
380
|
+
React.createElement(
|
|
381
381
|
'div',
|
|
382
382
|
{ className: styles.cardTitle },
|
|
383
383
|
article.title
|
|
@@ -513,7 +513,7 @@ function generateSchema(props) {
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
var Schema = function Schema(props) {
|
|
516
|
-
return
|
|
516
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
517
517
|
};
|
|
518
518
|
|
|
519
519
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -621,9 +621,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
621
621
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
622
622
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
623
623
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
624
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
625
|
-
|
|
626
|
-
containerHeight = props.containerHeight,
|
|
624
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
625
|
+
props.active;
|
|
626
|
+
var containerHeight = props.containerHeight,
|
|
627
627
|
_props$refreshFlag = props.refreshFlag,
|
|
628
628
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
629
629
|
disqusConfig = props.disqusConfig,
|
|
@@ -683,9 +683,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
683
683
|
setArticleBody = _useState10[1];
|
|
684
684
|
|
|
685
685
|
var _useState11 = useState(true),
|
|
686
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
687
|
-
|
|
688
|
-
setPreviewAd = _useState12[1];
|
|
686
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
687
|
+
_useState12[0];
|
|
688
|
+
var setPreviewAd = _useState12[1];
|
|
689
689
|
|
|
690
690
|
useEffect(function () {
|
|
691
691
|
var path = window && window.location && window.location.search;
|
|
@@ -706,7 +706,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
706
706
|
};
|
|
707
707
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
708
708
|
if (biography) {
|
|
709
|
-
return
|
|
709
|
+
return React.createElement(BlockContent, _extends({
|
|
710
710
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
711
711
|
blocks: [biography]
|
|
712
712
|
}, client.config()));
|
|
@@ -716,9 +716,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
716
716
|
var url = article.url.current;
|
|
717
717
|
|
|
718
718
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
719
|
-
return
|
|
719
|
+
return React.createElement(ISIContent, null);
|
|
720
720
|
} else if (nationalPage === url && ISIContent) {
|
|
721
|
-
return
|
|
721
|
+
return React.createElement(ISIContent, { national: true });
|
|
722
722
|
}
|
|
723
723
|
return null;
|
|
724
724
|
};
|
|
@@ -752,20 +752,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
752
752
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
753
753
|
}
|
|
754
754
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
755
|
-
return
|
|
755
|
+
return React.createElement(
|
|
756
756
|
'div',
|
|
757
757
|
null,
|
|
758
758
|
relatedLinks.map(function (relatedLink, index) {
|
|
759
759
|
if (relatedLink && relatedLink.href && relatedLink.label) {
|
|
760
|
-
return
|
|
760
|
+
return React.createElement(
|
|
761
761
|
'span',
|
|
762
762
|
{ key: index, className: 'related-link' },
|
|
763
|
-
|
|
763
|
+
React.createElement(
|
|
764
764
|
'a',
|
|
765
765
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
766
766
|
relatedLink.label
|
|
767
767
|
),
|
|
768
|
-
|
|
768
|
+
React.createElement(
|
|
769
769
|
'style',
|
|
770
770
|
{ jsx: 'true' },
|
|
771
771
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -781,23 +781,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
781
781
|
};
|
|
782
782
|
|
|
783
783
|
var RelatedContent = function RelatedContent() {
|
|
784
|
-
return
|
|
784
|
+
return React.createElement(
|
|
785
785
|
'section',
|
|
786
786
|
{ id: 'related-content-section', className: 'my-1' },
|
|
787
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
787
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
788
788
|
'p',
|
|
789
789
|
{ className: 'mb-0' },
|
|
790
|
-
|
|
790
|
+
React.createElement(
|
|
791
791
|
'b',
|
|
792
792
|
null,
|
|
793
793
|
'Related Content:'
|
|
794
794
|
)
|
|
795
795
|
),
|
|
796
|
-
|
|
797
|
-
|
|
796
|
+
React.createElement(RelevantTopics, null),
|
|
797
|
+
React.createElement(
|
|
798
798
|
'div',
|
|
799
799
|
{ className: 'pt-2' },
|
|
800
|
-
|
|
800
|
+
React.createElement(RelatedArticle, {
|
|
801
801
|
articles: article.relatedArticle,
|
|
802
802
|
client: client,
|
|
803
803
|
fallbackImage: props.Settings.logo,
|
|
@@ -808,29 +808,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
808
808
|
};
|
|
809
809
|
|
|
810
810
|
var form = function form() {
|
|
811
|
-
return
|
|
812
|
-
|
|
811
|
+
return React.createElement(
|
|
812
|
+
React.Fragment,
|
|
813
813
|
null,
|
|
814
|
-
|
|
814
|
+
React.createElement(
|
|
815
815
|
Head,
|
|
816
816
|
null,
|
|
817
|
-
|
|
817
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
818
818
|
),
|
|
819
|
-
|
|
819
|
+
React.createElement(
|
|
820
820
|
'div',
|
|
821
821
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
822
|
-
|
|
822
|
+
React.createElement(
|
|
823
823
|
Form,
|
|
824
824
|
{
|
|
825
825
|
inline: true,
|
|
826
826
|
onSubmit: function onSubmit(e) {
|
|
827
827
|
e.preventDefault();
|
|
828
828
|
} },
|
|
829
|
-
|
|
829
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
830
830
|
return setPasswordKey(e.target.value);
|
|
831
831
|
}, placeholder: 'Password' }),
|
|
832
|
-
|
|
833
|
-
Button
|
|
832
|
+
React.createElement(
|
|
833
|
+
Button,
|
|
834
834
|
{
|
|
835
835
|
variant: 'primary',
|
|
836
836
|
onClick: function onClick() {
|
|
@@ -879,31 +879,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
879
879
|
setContextualADFlag(true);
|
|
880
880
|
}
|
|
881
881
|
};
|
|
882
|
-
return
|
|
883
|
-
|
|
882
|
+
return React.createElement(
|
|
883
|
+
React.Fragment,
|
|
884
884
|
null,
|
|
885
|
-
|
|
885
|
+
React.createElement(BlockContent, _extends({
|
|
886
886
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
887
887
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
888
888
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
889
889
|
}, client.config())),
|
|
890
|
-
|
|
891
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
892
|
-
|
|
890
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
891
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
892
|
+
React.createElement(
|
|
893
893
|
'div',
|
|
894
894
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
895
|
-
|
|
895
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
896
896
|
refreshFlag: refreshFlag
|
|
897
897
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
898
898
|
}))
|
|
899
899
|
),
|
|
900
|
-
|
|
901
|
-
|
|
900
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
901
|
+
React.createElement(
|
|
902
902
|
'div',
|
|
903
903
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
904
|
-
|
|
904
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
905
905
|
),
|
|
906
|
-
|
|
906
|
+
React.createElement(BlockContent, _extends({
|
|
907
907
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
908
908
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
909
909
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -928,26 +928,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
928
928
|
if (seriesInfo.hasVideo) {
|
|
929
929
|
_selectedIndex = seriesInfo.videoIndex;
|
|
930
930
|
}
|
|
931
|
-
return
|
|
932
|
-
|
|
931
|
+
return React.createElement(
|
|
932
|
+
React.Fragment,
|
|
933
933
|
null,
|
|
934
|
-
|
|
934
|
+
React.createElement(BlockContent, _extends({
|
|
935
935
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
936
936
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
937
937
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
938
938
|
}, client.config())),
|
|
939
|
-
contextualADFlag &&
|
|
940
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
941
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
939
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
940
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
941
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
942
942
|
'div',
|
|
943
943
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
944
|
-
|
|
944
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
945
945
|
refreshFlag: refreshFlag
|
|
946
946
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
947
947
|
}))
|
|
948
948
|
),
|
|
949
|
-
contextualADFlag &&
|
|
950
|
-
|
|
949
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
950
|
+
React.createElement(BlockContent, _extends({
|
|
951
951
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
952
952
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
953
953
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -977,22 +977,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
return
|
|
981
|
-
|
|
980
|
+
return React.createElement(
|
|
981
|
+
React.Fragment,
|
|
982
982
|
null,
|
|
983
|
-
|
|
983
|
+
React.createElement(BlockContent, _extends({
|
|
984
984
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
985
985
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
986
986
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
987
987
|
}, client.config())),
|
|
988
|
-
|
|
989
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
990
|
-
|
|
988
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
989
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
990
|
+
React.createElement(
|
|
991
991
|
'div',
|
|
992
992
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
993
|
-
|
|
993
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
994
994
|
),
|
|
995
|
-
|
|
995
|
+
React.createElement(BlockContent, _extends({
|
|
996
996
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
997
997
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
998
998
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1004,16 +1004,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1004
1004
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
|
-
return
|
|
1007
|
+
return React.createElement(
|
|
1008
1008
|
'div',
|
|
1009
1009
|
null,
|
|
1010
|
-
|
|
1010
|
+
React.createElement(BlockContent, _extends({
|
|
1011
1011
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1012
1012
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1013
1013
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1014
1014
|
}, client.config())),
|
|
1015
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1016
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1015
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1016
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1017
1017
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1018
1018
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1019
1019
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1058,8 +1058,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1058
1058
|
shareSubject = shareOptions.shareSubject,
|
|
1059
1059
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1060
1060
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1061
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1062
|
-
|
|
1061
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
1062
|
+
shareOptions.shareSiteTitle;
|
|
1063
1063
|
|
|
1064
1064
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1065
1065
|
var shareTitle = article.title;
|
|
@@ -1099,10 +1099,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1099
1099
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1100
1100
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1101
1101
|
|
|
1102
|
-
return
|
|
1103
|
-
|
|
1102
|
+
return React.createElement(
|
|
1103
|
+
React.Fragment,
|
|
1104
1104
|
null,
|
|
1105
|
-
|
|
1105
|
+
React.createElement(
|
|
1106
1106
|
VisibilitySensor,
|
|
1107
1107
|
{
|
|
1108
1108
|
partialVisibility: true,
|
|
@@ -1118,44 +1118,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
} },
|
|
1121
|
-
|
|
1121
|
+
React.createElement(
|
|
1122
1122
|
'div',
|
|
1123
1123
|
{ id: 'article__block', ref: ref },
|
|
1124
|
-
|
|
1124
|
+
React.createElement(
|
|
1125
1125
|
'div',
|
|
1126
1126
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1127
1127
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1128
|
-
!isVideoSeries &&
|
|
1128
|
+
!isVideoSeries && React.createElement(
|
|
1129
1129
|
'div',
|
|
1130
1130
|
null,
|
|
1131
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1131
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1132
1132
|
'p',
|
|
1133
1133
|
{ style: { fontSize: '14px' } },
|
|
1134
1134
|
article.documentGroup.name,
|
|
1135
1135
|
' - Episode ',
|
|
1136
1136
|
episodeNumber
|
|
1137
1137
|
),
|
|
1138
|
-
|
|
1138
|
+
React.createElement(
|
|
1139
1139
|
'h1',
|
|
1140
1140
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1141
1141
|
title
|
|
1142
1142
|
)
|
|
1143
1143
|
),
|
|
1144
|
-
|
|
1144
|
+
React.createElement(
|
|
1145
1145
|
'div',
|
|
1146
1146
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1147
|
-
|
|
1147
|
+
React.createElement(
|
|
1148
1148
|
'style',
|
|
1149
1149
|
{ jsx: 'true' },
|
|
1150
1150
|
'\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 '
|
|
1151
1151
|
),
|
|
1152
|
-
|
|
1152
|
+
React.createElement(
|
|
1153
1153
|
'div',
|
|
1154
1154
|
{ className: 'left-wrap' },
|
|
1155
|
-
!isVideoSeries && showPublished &&
|
|
1155
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1156
1156
|
'div',
|
|
1157
1157
|
null,
|
|
1158
|
-
|
|
1158
|
+
React.createElement(
|
|
1159
1159
|
'time',
|
|
1160
1160
|
{
|
|
1161
1161
|
className: 'meta-date',
|
|
@@ -1165,20 +1165,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1165
1165
|
)
|
|
1166
1166
|
/* Show Published date */
|
|
1167
1167
|
,
|
|
1168
|
-
|
|
1168
|
+
React.createElement(
|
|
1169
1169
|
'div',
|
|
1170
1170
|
{ className: 'mb-3' },
|
|
1171
1171
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1172
|
-
return
|
|
1172
|
+
return React.createElement(
|
|
1173
1173
|
'span',
|
|
1174
1174
|
{ key: index },
|
|
1175
1175
|
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)
|
|
1176
1176
|
);
|
|
1177
1177
|
}),
|
|
1178
|
-
|
|
1178
|
+
React.createElement(
|
|
1179
1179
|
'div',
|
|
1180
1180
|
null,
|
|
1181
|
-
source &&
|
|
1181
|
+
source && React.createElement(
|
|
1182
1182
|
'p',
|
|
1183
1183
|
{
|
|
1184
1184
|
style: {
|
|
@@ -1193,13 +1193,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1193
1193
|
source
|
|
1194
1194
|
)
|
|
1195
1195
|
),
|
|
1196
|
-
issue &&
|
|
1196
|
+
issue && React.createElement(
|
|
1197
1197
|
'div',
|
|
1198
1198
|
{ className: 'volume-issue' },
|
|
1199
|
-
issue.publication && issue.publication.name &&
|
|
1199
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1200
1200
|
'span',
|
|
1201
1201
|
{ className: 'mb-0' },
|
|
1202
|
-
|
|
1202
|
+
React.createElement(
|
|
1203
1203
|
'b',
|
|
1204
1204
|
null,
|
|
1205
1205
|
issue.publication.name
|
|
@@ -1207,34 +1207,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1207
1207
|
',',
|
|
1208
1208
|
' '
|
|
1209
1209
|
),
|
|
1210
|
-
issue.name &&
|
|
1210
|
+
issue.name && React.createElement(
|
|
1211
1211
|
'span',
|
|
1212
1212
|
{ className: 'mb-0' },
|
|
1213
1213
|
issue.name,
|
|
1214
1214
|
', '
|
|
1215
1215
|
),
|
|
1216
|
-
issue.volume &&
|
|
1216
|
+
issue.volume && React.createElement(
|
|
1217
1217
|
'span',
|
|
1218
1218
|
null,
|
|
1219
1219
|
'Volume ' + issue.volume,
|
|
1220
1220
|
','
|
|
1221
1221
|
),
|
|
1222
|
-
issue.issueNumber &&
|
|
1222
|
+
issue.issueNumber && React.createElement(
|
|
1223
1223
|
'span',
|
|
1224
1224
|
null,
|
|
1225
1225
|
' Issue ' + issue.issueNumber
|
|
1226
1226
|
)
|
|
1227
1227
|
),
|
|
1228
|
-
pageNumber &&
|
|
1228
|
+
pageNumber && React.createElement(
|
|
1229
1229
|
'div',
|
|
1230
1230
|
{ className: 'article-pageNumber' },
|
|
1231
1231
|
'Pages: ' + pageNumber
|
|
1232
1232
|
)
|
|
1233
1233
|
),
|
|
1234
|
-
!isVideoSeries && showSocialShare &&
|
|
1234
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1235
1235
|
'p',
|
|
1236
1236
|
null,
|
|
1237
|
-
|
|
1237
|
+
React.createElement(SocialShare, {
|
|
1238
1238
|
shareUrl: shareUrl,
|
|
1239
1239
|
shareTitle: shareTitle,
|
|
1240
1240
|
shareVia: shareVia,
|
|
@@ -1250,27 +1250,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1250
1250
|
})
|
|
1251
1251
|
)
|
|
1252
1252
|
),
|
|
1253
|
-
|
|
1253
|
+
React.createElement(
|
|
1254
1254
|
'div',
|
|
1255
1255
|
null,
|
|
1256
|
-
|
|
1256
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1257
1257
|
)
|
|
1258
1258
|
),
|
|
1259
|
-
!isVideoSeries && summary && display_summary &&
|
|
1259
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1260
1260
|
'p',
|
|
1261
1261
|
null,
|
|
1262
|
-
|
|
1262
|
+
React.createElement(
|
|
1263
1263
|
'em',
|
|
1264
1264
|
null,
|
|
1265
1265
|
summary
|
|
1266
1266
|
)
|
|
1267
1267
|
),
|
|
1268
|
-
|
|
1268
|
+
React.createElement(
|
|
1269
1269
|
'div',
|
|
1270
1270
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1271
|
-
|
|
1271
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1272
1272
|
if (index === 0) {
|
|
1273
|
-
return
|
|
1273
|
+
return React.createElement(
|
|
1274
1274
|
'div',
|
|
1275
1275
|
{
|
|
1276
1276
|
key: index,
|
|
@@ -1287,24 +1287,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
})
|
|
1289
1289
|
),
|
|
1290
|
-
|
|
1290
|
+
React.createElement(
|
|
1291
1291
|
'div',
|
|
1292
1292
|
{ className: 'block-content mt-3' },
|
|
1293
1293
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1294
|
-
|
|
1295
|
-
|
|
1294
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1295
|
+
React.createElement(
|
|
1296
1296
|
'noscript',
|
|
1297
1297
|
null,
|
|
1298
|
-
|
|
1298
|
+
React.createElement(
|
|
1299
1299
|
'div',
|
|
1300
1300
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1301
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1301
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1302
1302
|
'a',
|
|
1303
1303
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1304
1304
|
'Previous ',
|
|
1305
1305
|
props.article.seriesDetail.type
|
|
1306
1306
|
),
|
|
1307
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1307
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1308
1308
|
'a',
|
|
1309
1309
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1310
1310
|
'Next ',
|
|
@@ -1312,26 +1312,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1312
1312
|
)
|
|
1313
1313
|
)
|
|
1314
1314
|
),
|
|
1315
|
-
issue && issue.url &&
|
|
1315
|
+
issue && issue.url && React.createElement(
|
|
1316
1316
|
'a',
|
|
1317
1317
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1318
|
-
|
|
1318
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1319
1319
|
'Download Issue : ',
|
|
1320
1320
|
issue.name
|
|
1321
1321
|
)
|
|
1322
1322
|
),
|
|
1323
|
-
|
|
1324
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1323
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1324
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1325
1325
|
'div',
|
|
1326
1326
|
null,
|
|
1327
1327
|
false ,
|
|
1328
|
-
|
|
1328
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1329
1329
|
),
|
|
1330
|
-
showRelatedArticles && !showIsi &&
|
|
1331
|
-
disqusConfig && showDisqus &&
|
|
1330
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1331
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1332
1332
|
'div',
|
|
1333
1333
|
{ id: 'disqusContainer' },
|
|
1334
|
-
|
|
1334
|
+
React.createElement(DiscussionEmbed, {
|
|
1335
1335
|
shortname: disqusConfig.shortname,
|
|
1336
1336
|
config: {
|
|
1337
1337
|
url: disqusConfig.url,
|
|
@@ -1344,30 +1344,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1344
1344
|
renderIsiContent(props.article)
|
|
1345
1345
|
)
|
|
1346
1346
|
),
|
|
1347
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1347
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1348
1348
|
ISI,
|
|
1349
1349
|
null,
|
|
1350
|
-
|
|
1350
|
+
React.createElement(BlockContent, {
|
|
1351
1351
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1352
1352
|
blocks: isi
|
|
1353
1353
|
})
|
|
1354
1354
|
),
|
|
1355
|
-
|
|
1355
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1356
1356
|
if (index > 0) {
|
|
1357
|
-
return
|
|
1357
|
+
return React.createElement(
|
|
1358
1358
|
'div',
|
|
1359
1359
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1360
1360
|
ad.component
|
|
1361
1361
|
);
|
|
1362
1362
|
}
|
|
1363
1363
|
}),
|
|
1364
|
-
|
|
1364
|
+
React.createElement(
|
|
1365
1365
|
'noscript',
|
|
1366
1366
|
null,
|
|
1367
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1367
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1368
1368
|
'div',
|
|
1369
1369
|
{ style: { textAlign: 'center' } },
|
|
1370
|
-
|
|
1370
|
+
React.createElement(
|
|
1371
1371
|
'a',
|
|
1372
1372
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1373
1373
|
'Related Article ',
|
|
@@ -1375,8 +1375,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1375
1375
|
)
|
|
1376
1376
|
)
|
|
1377
1377
|
),
|
|
1378
|
-
props.infiniteScroll &&
|
|
1379
|
-
|
|
1378
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1379
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1380
1380
|
);
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
@@ -1391,7 +1391,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
});
|
|
1393
1393
|
|
|
1394
|
-
var _this = undefined;
|
|
1394
|
+
var _this$1 = undefined;
|
|
1395
1395
|
|
|
1396
1396
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1397
1397
|
var router = useRouter();
|
|
@@ -1400,9 +1400,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1400
1400
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1401
1401
|
Ads = props.Ads,
|
|
1402
1402
|
_props$maxListLength = props.maxListLength,
|
|
1403
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1404
|
-
|
|
1405
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1403
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1404
|
+
props.sponsoredTaxonomies;
|
|
1405
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1406
1406
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1407
1407
|
_props$authorPrefix = props.authorPrefix,
|
|
1408
1408
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1451,7 +1451,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1451
1451
|
return item.url.current === path;
|
|
1452
1452
|
});
|
|
1453
1453
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1454
|
-
if (!
|
|
1454
|
+
if (!main_43) {
|
|
1455
1455
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1456
1456
|
if (window.googletag && googletag.pubadsReady) {
|
|
1457
1457
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1468,7 +1468,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1468
1468
|
});
|
|
1469
1469
|
}
|
|
1470
1470
|
//Refresh leaderboard ad on mobile
|
|
1471
|
-
if (
|
|
1471
|
+
if (main_43) {
|
|
1472
1472
|
var leaderboardSlotId = '';
|
|
1473
1473
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1474
1474
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1572,7 +1572,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1572
1572
|
return _context.stop();
|
|
1573
1573
|
}
|
|
1574
1574
|
}
|
|
1575
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1575
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1576
1576
|
}));
|
|
1577
1577
|
|
|
1578
1578
|
return function loadmore() {
|
|
@@ -1650,14 +1650,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1650
1650
|
refreshAD(path);
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
|
-
return
|
|
1653
|
+
return React.createElement(
|
|
1654
1654
|
InfiniteScroll,
|
|
1655
1655
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1656
1656
|
queueData.map(function (article, index) {
|
|
1657
|
-
return
|
|
1658
|
-
|
|
1657
|
+
return React.createElement(
|
|
1658
|
+
React.Fragment,
|
|
1659
1659
|
{ key: index },
|
|
1660
|
-
|
|
1660
|
+
React.createElement(Article, _extends({}, props, {
|
|
1661
1661
|
containerHeight: containerHeight,
|
|
1662
1662
|
onChangeArticle: onChangeArticle,
|
|
1663
1663
|
authorPrfix: authorPrefix,
|
|
@@ -1673,7 +1673,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1673
1673
|
);
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
|
-
var _this
|
|
1676
|
+
var _this = undefined;
|
|
1677
1677
|
|
|
1678
1678
|
var View = function View(props) {
|
|
1679
1679
|
var router = useRouter();
|
|
@@ -1683,9 +1683,9 @@ var View = function View(props) {
|
|
|
1683
1683
|
hideComments = _props$article.hideComments,
|
|
1684
1684
|
content_placement = _props$article.content_placement,
|
|
1685
1685
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1686
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1687
|
-
|
|
1688
|
-
Ads = props.Ads,
|
|
1686
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1687
|
+
props.sponsoredTaxonomies;
|
|
1688
|
+
var Ads = props.Ads,
|
|
1689
1689
|
setCustomDimensions = props.setCustomDimensions,
|
|
1690
1690
|
statusCode = props.statusCode,
|
|
1691
1691
|
prevUrl = props.prevUrl,
|
|
@@ -1698,9 +1698,9 @@ var View = function View(props) {
|
|
|
1698
1698
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1699
1699
|
var _props$article2 = props.article,
|
|
1700
1700
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1701
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1702
|
-
|
|
1703
|
-
title = _props$article2.title,
|
|
1701
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1702
|
+
_props$article2.description;
|
|
1703
|
+
var title = _props$article2.title,
|
|
1704
1704
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1705
1705
|
|
|
1706
1706
|
var _useState = useState(0),
|
|
@@ -1756,7 +1756,6 @@ var View = function View(props) {
|
|
|
1756
1756
|
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;
|
|
1757
1757
|
|
|
1758
1758
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1759
|
-
description = null;
|
|
1760
1759
|
title = null;
|
|
1761
1760
|
}
|
|
1762
1761
|
|
|
@@ -1800,63 +1799,63 @@ var View = function View(props) {
|
|
|
1800
1799
|
|
|
1801
1800
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1802
1801
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1803
|
-
return
|
|
1804
|
-
|
|
1802
|
+
return React.createElement(
|
|
1803
|
+
React.Fragment,
|
|
1805
1804
|
null,
|
|
1806
|
-
|
|
1805
|
+
React.createElement(
|
|
1807
1806
|
Head,
|
|
1808
1807
|
null,
|
|
1809
|
-
|
|
1808
|
+
React.createElement(
|
|
1810
1809
|
'title',
|
|
1811
1810
|
{ key: 'title' },
|
|
1812
1811
|
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 : '')
|
|
1813
1812
|
),
|
|
1814
|
-
metaDescriptionSanity ?
|
|
1815
|
-
|
|
1816
|
-
passwordLock &&
|
|
1817
|
-
|
|
1813
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1814
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1815
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1816
|
+
React.createElement('meta', {
|
|
1818
1817
|
property: 'og:url',
|
|
1819
1818
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1820
1819
|
key: 'og:url'
|
|
1821
1820
|
}),
|
|
1822
|
-
|
|
1821
|
+
React.createElement('meta', {
|
|
1823
1822
|
property: 'og:title',
|
|
1824
1823
|
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 : ''),
|
|
1825
1824
|
key: 'og:title'
|
|
1826
1825
|
}),
|
|
1827
|
-
|
|
1826
|
+
React.createElement('meta', {
|
|
1828
1827
|
property: 'og:image',
|
|
1829
1828
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1830
1829
|
key: 'og:image'
|
|
1831
1830
|
}),
|
|
1832
|
-
|
|
1833
|
-
metaDescriptionSanity ?
|
|
1834
|
-
|
|
1835
|
-
|
|
1831
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1832
|
+
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 }),
|
|
1833
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1834
|
+
React.createElement('meta', {
|
|
1836
1835
|
name: 'twitter:title',
|
|
1837
1836
|
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 : ''),
|
|
1838
1837
|
key: 'twitter:title'
|
|
1839
1838
|
}),
|
|
1840
|
-
|
|
1839
|
+
React.createElement('meta', {
|
|
1841
1840
|
name: 'twitter:image',
|
|
1842
1841
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1843
1842
|
key: 'twitter:image'
|
|
1844
1843
|
}),
|
|
1845
|
-
|
|
1846
|
-
metaDescriptionSanity ?
|
|
1847
|
-
canonicalTag &&
|
|
1844
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1845
|
+
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 }),
|
|
1846
|
+
canonicalTag && React.createElement('link', {
|
|
1848
1847
|
rel: 'canonical',
|
|
1849
1848
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1850
1849
|
key: 'canonical'
|
|
1851
1850
|
}),
|
|
1852
|
-
|
|
1851
|
+
React.createElement(
|
|
1853
1852
|
'noscript',
|
|
1854
1853
|
null,
|
|
1855
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1856
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1854
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1855
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1857
1856
|
)
|
|
1858
1857
|
),
|
|
1859
|
-
!needInfiniteScroll ?
|
|
1858
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1860
1859
|
infiniteScroll: true,
|
|
1861
1860
|
showRelatedArticles: showRelatedArticles,
|
|
1862
1861
|
canonicalTag: canonicalTag,
|
|
@@ -1993,7 +1992,7 @@ View.returnGetInitialProps = function () {
|
|
|
1993
1992
|
return _context.stop();
|
|
1994
1993
|
}
|
|
1995
1994
|
}
|
|
1996
|
-
}, _callee, _this
|
|
1995
|
+
}, _callee, _this);
|
|
1997
1996
|
}));
|
|
1998
1997
|
|
|
1999
1998
|
return function (_x, _x2, _x3, _x4, _x5) {
|