@mjhls/mjh-framework 1.0.933 → 1.0.934
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14178
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -23
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-ebf0b083.js → MediaSeriesCard-2e1f34e6.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -58
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -63
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -39
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-88e59074.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +45 -46
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +94 -93
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +2 -1
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index-e6bae72c.js → index-cda68ef1.js} +159 -409
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +145 -147
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-f3a93040.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-c4814c4e.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- 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 +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-5b06f89b.js → MediaSeriesCard-4ba5bde7.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +76 -77
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -81
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +93 -94
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +250 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-64812e90.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -1
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-2eb00bbf.js → index-85bb0372.js} +569 -820
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +171 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/View.js
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-6d8e3924.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import React__default, { 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-2b084bee.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-1894c974.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-72fd8f8b.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-2eb00bbf.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-42f9b439.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
25
|
-
import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
26
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-1bd8a0a8.js';
|
|
27
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
28
|
-
import './index-755f2cc2.js';
|
|
29
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
30
|
-
import Schema from './Schema.js';
|
|
31
|
-
import FileSaver from 'file-saver';
|
|
32
|
-
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
33
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
34
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
35
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
36
|
-
import getQuery from './getQuery.js';
|
|
37
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
38
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
39
|
-
import './core.get-iterator-method-
|
|
40
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
41
3
|
import './_library-528f1934.js';
|
|
42
|
-
import './_iter-detect-
|
|
43
|
-
import './
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends, a as _Object$assign } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
44
16
|
import 'prop-types';
|
|
45
|
-
import '
|
|
17
|
+
import 'react-bootstrap/Row';
|
|
18
|
+
import 'react-bootstrap/Col';
|
|
19
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
20
|
+
import { useRouter } from 'next/router';
|
|
21
|
+
import './isSymbol-1981418f.js';
|
|
22
|
+
import './debounce-9207d8ee.js';
|
|
23
|
+
import './toNumber-2f7a84cd.js';
|
|
24
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
46
25
|
import 'react-dom';
|
|
47
|
-
import '
|
|
48
|
-
import '
|
|
49
|
-
import './index-
|
|
50
|
-
import './
|
|
51
|
-
import './
|
|
26
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
28
|
+
import './index-51a80699.js';
|
|
29
|
+
import urlFor from './urlFor.js';
|
|
30
|
+
import './index-6c12bdd5.js';
|
|
31
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
34
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
52
35
|
import './Segment.js';
|
|
53
|
-
import './
|
|
54
|
-
import '
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import DFPAdSlot from './AdSlot.js';
|
|
38
|
+
import Button from 'react-bootstrap/Button';
|
|
39
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
40
|
+
import './index-c7e2ac95.js';
|
|
41
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
55
42
|
import './GroupDeck.js';
|
|
56
|
-
import '
|
|
57
|
-
import './
|
|
58
|
-
import './
|
|
43
|
+
import 'react-bootstrap';
|
|
44
|
+
import './iconBase-602d52fe.js';
|
|
45
|
+
import './index.esm-55f22b35.js';
|
|
46
|
+
import { r as renderAuthor, g as getSerializers } from './index-85bb0372.js';
|
|
47
|
+
import './util-7700fc59.js';
|
|
48
|
+
import { u as urlForFile } from './urlForFile-d2a27665.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
50
|
+
import 'react-bootstrap/Modal';
|
|
51
|
+
import Form from 'react-bootstrap/Form';
|
|
52
|
+
import Head from 'next/head';
|
|
53
|
+
import 'react-share';
|
|
54
|
+
import SocialShare from './SocialShare.js';
|
|
55
|
+
import './_object-to-array-c54dd835.js';
|
|
59
56
|
import 'react-bootstrap/Pagination';
|
|
60
|
-
import './entities-6d9154b4.js';
|
|
61
|
-
import 'react-bootstrap/Row';
|
|
62
|
-
import 'react-bootstrap/Col';
|
|
63
|
-
import './inherits-a6ba2ec4.js';
|
|
64
|
-
import './_object-sap-7cee6f84.js';
|
|
65
|
-
import './define-property-5f1bda73.js';
|
|
66
|
-
import './index.esm-eb1e8e80.js';
|
|
67
|
-
import './iconBase-ccc56b97.js';
|
|
68
57
|
import 'react-bootstrap/Figure';
|
|
69
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
70
59
|
import 'react-bootstrap/Tooltip';
|
|
71
60
|
import 'react-bootstrap/Popover';
|
|
72
|
-
import '
|
|
73
|
-
import '
|
|
74
|
-
import './
|
|
75
|
-
import '
|
|
61
|
+
import 'react-script-tag';
|
|
62
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
63
|
+
import { _ as _Object$keys } from './keys-69989821.js';
|
|
64
|
+
import 'react-bootstrap/Dropdown';
|
|
65
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-d1125763.js';
|
|
66
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
76
67
|
import './index-db3bb315.js';
|
|
68
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
69
|
+
import getQuery from './getQuery.js';
|
|
70
|
+
import { S as SeriesSlider } from './SeriesSlider-0a8cfca0.js';
|
|
71
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ba1ffe43.js';
|
|
72
|
+
import getKeywords from './getKeywords.js';
|
|
73
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
74
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
75
|
+
import Schema from './Schema.js';
|
|
76
|
+
import FileSaver from 'file-saver';
|
|
77
77
|
|
|
78
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
79
79
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -151,17 +151,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
151
151
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
return
|
|
154
|
+
return React.createElement(
|
|
155
155
|
'a',
|
|
156
156
|
{
|
|
157
157
|
href: url,
|
|
158
158
|
className: 'doc-group',
|
|
159
159
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
160
|
-
thumbnailUrl &&
|
|
161
|
-
!thumbnailUrl &&
|
|
162
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
160
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
161
|
+
!thumbnailUrl && React.createElement('p', {
|
|
162
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
163
163
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
164
|
-
|
|
164
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
165
165
|
'style',
|
|
166
166
|
{ jsx: 'true' },
|
|
167
167
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -301,38 +301,38 @@ var ISI = function ISI(props) {
|
|
|
301
301
|
}, 300);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
return
|
|
305
|
-
|
|
304
|
+
return React.createElement(
|
|
305
|
+
React.Fragment,
|
|
306
306
|
null,
|
|
307
|
-
|
|
307
|
+
React.createElement(
|
|
308
308
|
'div',
|
|
309
309
|
{ id: 'isi', ref: isi },
|
|
310
|
-
|
|
310
|
+
React.createElement(
|
|
311
311
|
'div',
|
|
312
312
|
{ id: 'isiContent' },
|
|
313
|
-
|
|
313
|
+
React.createElement(
|
|
314
314
|
'div',
|
|
315
315
|
{ onClick: function onClick() {
|
|
316
316
|
return setActive(function (prev) {
|
|
317
317
|
return !prev;
|
|
318
318
|
});
|
|
319
319
|
}, id: 'isiToggle' },
|
|
320
|
-
active ?
|
|
320
|
+
active ? React.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'Close ',
|
|
324
|
-
|
|
325
|
-
) :
|
|
324
|
+
React.createElement(FaMinus, null)
|
|
325
|
+
) : React.createElement(
|
|
326
326
|
'p',
|
|
327
327
|
null,
|
|
328
328
|
'See More ',
|
|
329
|
-
|
|
329
|
+
React.createElement(FaPlus, null)
|
|
330
330
|
)
|
|
331
331
|
),
|
|
332
332
|
children
|
|
333
333
|
)
|
|
334
334
|
),
|
|
335
|
-
|
|
335
|
+
React.createElement(
|
|
336
336
|
'style',
|
|
337
337
|
{ jsx: true },
|
|
338
338
|
'\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 '
|
|
@@ -354,34 +354,34 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
354
354
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
355
355
|
return null;
|
|
356
356
|
}
|
|
357
|
-
return
|
|
357
|
+
return React.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ className: styles.mediaContainer },
|
|
360
360
|
articles.map(function (article, index) {
|
|
361
361
|
if (article && article.url && article.url.current) {
|
|
362
|
-
return
|
|
362
|
+
return React.createElement(
|
|
363
363
|
'div',
|
|
364
364
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
365
|
-
|
|
365
|
+
React.createElement(
|
|
366
366
|
'a',
|
|
367
367
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
368
|
-
article.thumbnail ?
|
|
368
|
+
article.thumbnail ? React.createElement('img', {
|
|
369
369
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
370
370
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
371
371
|
alt: article.title
|
|
372
|
-
}) :
|
|
373
|
-
|
|
372
|
+
}) : React.createElement(
|
|
373
|
+
React.Fragment,
|
|
374
374
|
null,
|
|
375
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
375
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
376
376
|
)
|
|
377
377
|
),
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.mediaBody },
|
|
381
|
-
|
|
381
|
+
React.createElement(
|
|
382
382
|
'a',
|
|
383
383
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
384
|
-
|
|
384
|
+
React.createElement(
|
|
385
385
|
'div',
|
|
386
386
|
{ className: styles.cardTitle },
|
|
387
387
|
article.title
|
|
@@ -544,9 +544,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
544
544
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
545
545
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
546
546
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
547
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
548
|
-
props.active
|
|
549
|
-
|
|
547
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
548
|
+
active = props.active,
|
|
549
|
+
containerHeight = props.containerHeight,
|
|
550
550
|
_props$refreshFlag = props.refreshFlag,
|
|
551
551
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
552
552
|
disqusConfig = props.disqusConfig,
|
|
@@ -627,9 +627,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
627
627
|
setArticleBody = _useState10[1];
|
|
628
628
|
|
|
629
629
|
var _useState11 = useState(true),
|
|
630
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
631
|
-
_useState12[0]
|
|
632
|
-
|
|
630
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
631
|
+
previewAd = _useState12[0],
|
|
632
|
+
setPreviewAd = _useState12[1];
|
|
633
633
|
|
|
634
634
|
useEffect(function () {
|
|
635
635
|
var path = window && window.location && window.location.search;
|
|
@@ -650,7 +650,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
650
650
|
};
|
|
651
651
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
652
652
|
if (biography) {
|
|
653
|
-
return
|
|
653
|
+
return React.createElement(BlockContent, _extends({
|
|
654
654
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
655
655
|
blocks: [biography]
|
|
656
656
|
}, client.config()));
|
|
@@ -660,9 +660,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
660
660
|
var url = article.url.current;
|
|
661
661
|
|
|
662
662
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
663
|
-
return
|
|
663
|
+
return React.createElement(ISIContent, null);
|
|
664
664
|
} else if (nationalPage === url && ISIContent) {
|
|
665
|
-
return
|
|
665
|
+
return React.createElement(ISIContent, { national: true });
|
|
666
666
|
}
|
|
667
667
|
return null;
|
|
668
668
|
};
|
|
@@ -755,20 +755,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
755
755
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
756
756
|
}
|
|
757
757
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
758
|
-
return
|
|
758
|
+
return React.createElement(
|
|
759
759
|
'div',
|
|
760
760
|
null,
|
|
761
761
|
relatedLinks.map(function (relatedLink, index) {
|
|
762
762
|
if (relatedLink && relatedLink.href && relatedLink.label) {
|
|
763
|
-
return
|
|
763
|
+
return React.createElement(
|
|
764
764
|
'span',
|
|
765
765
|
{ key: index, className: 'related-link' },
|
|
766
|
-
|
|
766
|
+
React.createElement(
|
|
767
767
|
'a',
|
|
768
768
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
769
769
|
relatedLink.label
|
|
770
770
|
),
|
|
771
|
-
|
|
771
|
+
React.createElement(
|
|
772
772
|
'style',
|
|
773
773
|
{ jsx: 'true' },
|
|
774
774
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -784,23 +784,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
784
784
|
};
|
|
785
785
|
|
|
786
786
|
var RelatedContent = function RelatedContent() {
|
|
787
|
-
return
|
|
787
|
+
return React.createElement(
|
|
788
788
|
'section',
|
|
789
789
|
{ id: 'related-content-section', className: 'my-1' },
|
|
790
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
790
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
791
791
|
'p',
|
|
792
792
|
{ className: 'mb-0' },
|
|
793
|
-
|
|
793
|
+
React.createElement(
|
|
794
794
|
'b',
|
|
795
795
|
null,
|
|
796
796
|
'Related Content:'
|
|
797
797
|
)
|
|
798
798
|
),
|
|
799
|
-
|
|
800
|
-
|
|
799
|
+
React.createElement(RelevantTopics, null),
|
|
800
|
+
React.createElement(
|
|
801
801
|
'div',
|
|
802
802
|
{ className: 'pt-2' },
|
|
803
|
-
|
|
803
|
+
React.createElement(RelatedArticle, {
|
|
804
804
|
articles: article.relatedArticle,
|
|
805
805
|
client: client,
|
|
806
806
|
fallbackImage: props.Settings.logo,
|
|
@@ -811,28 +811,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
811
811
|
};
|
|
812
812
|
|
|
813
813
|
var form = function form() {
|
|
814
|
-
return
|
|
815
|
-
|
|
814
|
+
return React.createElement(
|
|
815
|
+
React.Fragment,
|
|
816
816
|
null,
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
Head,
|
|
819
819
|
null,
|
|
820
|
-
|
|
820
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
821
821
|
),
|
|
822
|
-
|
|
822
|
+
React.createElement(
|
|
823
823
|
'div',
|
|
824
824
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
825
|
-
|
|
825
|
+
React.createElement(
|
|
826
826
|
Form,
|
|
827
827
|
{
|
|
828
828
|
inline: true,
|
|
829
829
|
onSubmit: function onSubmit(e) {
|
|
830
830
|
e.preventDefault();
|
|
831
831
|
} },
|
|
832
|
-
|
|
832
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
833
833
|
return setPasswordKey(e.target.value);
|
|
834
834
|
}, placeholder: 'Password' }),
|
|
835
|
-
|
|
835
|
+
React.createElement(
|
|
836
836
|
Button,
|
|
837
837
|
{
|
|
838
838
|
variant: 'primary',
|
|
@@ -882,31 +882,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
882
882
|
setContextualADFlag(true);
|
|
883
883
|
}
|
|
884
884
|
};
|
|
885
|
-
return
|
|
886
|
-
|
|
885
|
+
return React.createElement(
|
|
886
|
+
React.Fragment,
|
|
887
887
|
null,
|
|
888
|
-
|
|
888
|
+
React.createElement(BlockContent, _extends({
|
|
889
889
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
890
890
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
891
891
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
892
892
|
}, client.config())),
|
|
893
|
-
|
|
894
|
-
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo &&
|
|
895
|
-
|
|
893
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
894
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
895
|
+
React.createElement(
|
|
896
896
|
'div',
|
|
897
897
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
898
|
-
|
|
898
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
899
899
|
refreshFlag: refreshFlag
|
|
900
900
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
901
901
|
}))
|
|
902
902
|
),
|
|
903
|
-
|
|
904
|
-
|
|
903
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
904
|
+
React.createElement(
|
|
905
905
|
'div',
|
|
906
906
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
907
|
-
|
|
907
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
908
908
|
),
|
|
909
|
-
|
|
909
|
+
React.createElement(BlockContent, _extends({
|
|
910
910
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
911
911
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
912
912
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -931,26 +931,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
931
931
|
if (seriesInfo.hasVideo) {
|
|
932
932
|
_selectedIndex = seriesInfo.videoIndex;
|
|
933
933
|
}
|
|
934
|
-
return
|
|
935
|
-
|
|
934
|
+
return React.createElement(
|
|
935
|
+
React.Fragment,
|
|
936
936
|
null,
|
|
937
|
-
|
|
937
|
+
React.createElement(BlockContent, _extends({
|
|
938
938
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
939
939
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
940
940
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
941
941
|
}, client.config())),
|
|
942
|
-
contextualADFlag &&
|
|
943
|
-
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo &&
|
|
944
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
942
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
943
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
944
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
945
945
|
'div',
|
|
946
946
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
947
|
-
|
|
947
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
948
948
|
refreshFlag: refreshFlag
|
|
949
949
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
950
950
|
}))
|
|
951
951
|
),
|
|
952
|
-
contextualADFlag &&
|
|
953
|
-
|
|
952
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
953
|
+
React.createElement(BlockContent, _extends({
|
|
954
954
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
955
955
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
956
956
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -980,22 +980,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
980
980
|
}
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
return
|
|
984
|
-
|
|
983
|
+
return React.createElement(
|
|
984
|
+
React.Fragment,
|
|
985
985
|
null,
|
|
986
|
-
|
|
986
|
+
React.createElement(BlockContent, _extends({
|
|
987
987
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
988
988
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
989
989
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
990
990
|
}, client.config())),
|
|
991
|
-
|
|
992
|
-
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo &&
|
|
993
|
-
|
|
991
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
992
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
993
|
+
React.createElement(
|
|
994
994
|
'div',
|
|
995
995
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
996
|
-
|
|
996
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
997
997
|
),
|
|
998
|
-
|
|
998
|
+
React.createElement(BlockContent, _extends({
|
|
999
999
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1000
1000
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
1001
1001
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1007,16 +1007,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1007
1007
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
return
|
|
1010
|
+
return React.createElement(
|
|
1011
1011
|
'div',
|
|
1012
1012
|
null,
|
|
1013
|
-
|
|
1013
|
+
React.createElement(BlockContent, _extends({
|
|
1014
1014
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1015
1015
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1016
1016
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1017
1017
|
}, client.config())),
|
|
1018
|
-
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo &&
|
|
1019
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1018
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1019
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1020
1020
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1021
1021
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1022
1022
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1074,8 +1074,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1074
1074
|
shareSubject = shareOptions.shareSubject,
|
|
1075
1075
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1076
1076
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1077
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1078
|
-
shareOptions.shareSiteTitle;
|
|
1077
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1078
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
1079
1079
|
|
|
1080
1080
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1081
1081
|
var shareTitle = article.title;
|
|
@@ -1115,10 +1115,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1115
1115
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1116
1116
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1117
1117
|
var isFormAssembly = checkIfFormAssembly(article);
|
|
1118
|
-
return
|
|
1119
|
-
|
|
1118
|
+
return React.createElement(
|
|
1119
|
+
React.Fragment,
|
|
1120
1120
|
null,
|
|
1121
|
-
|
|
1121
|
+
React.createElement(
|
|
1122
1122
|
VisibilitySensor,
|
|
1123
1123
|
{
|
|
1124
1124
|
partialVisibility: true,
|
|
@@ -1134,44 +1134,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
1136
|
} },
|
|
1137
|
-
|
|
1137
|
+
React.createElement(
|
|
1138
1138
|
'div',
|
|
1139
1139
|
{ id: 'article__block', ref: ref },
|
|
1140
|
-
|
|
1140
|
+
React.createElement(
|
|
1141
1141
|
'div',
|
|
1142
1142
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1143
1143
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1144
|
-
!isVideoSeries &&
|
|
1144
|
+
!isVideoSeries && React.createElement(
|
|
1145
1145
|
'div',
|
|
1146
1146
|
null,
|
|
1147
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1147
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1148
1148
|
'p',
|
|
1149
1149
|
{ style: { fontSize: '14px' } },
|
|
1150
1150
|
article.documentGroup.name,
|
|
1151
1151
|
' - Episode ',
|
|
1152
1152
|
episodeNumber
|
|
1153
1153
|
),
|
|
1154
|
-
|
|
1154
|
+
React.createElement(
|
|
1155
1155
|
'h1',
|
|
1156
1156
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1157
1157
|
title
|
|
1158
1158
|
)
|
|
1159
1159
|
),
|
|
1160
|
-
|
|
1160
|
+
React.createElement(
|
|
1161
1161
|
'div',
|
|
1162
1162
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1163
|
-
|
|
1163
|
+
React.createElement(
|
|
1164
1164
|
'style',
|
|
1165
1165
|
{ jsx: 'true' },
|
|
1166
1166
|
'\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 '
|
|
1167
1167
|
),
|
|
1168
|
-
|
|
1168
|
+
React.createElement(
|
|
1169
1169
|
'div',
|
|
1170
1170
|
{ className: 'left-wrap' },
|
|
1171
|
-
!isVideoSeries && !isFormAssembly && showPublished &&
|
|
1171
|
+
!isVideoSeries && !isFormAssembly && showPublished && React.createElement(
|
|
1172
1172
|
'div',
|
|
1173
1173
|
null,
|
|
1174
|
-
|
|
1174
|
+
React.createElement(
|
|
1175
1175
|
'time',
|
|
1176
1176
|
{
|
|
1177
1177
|
className: 'meta-date',
|
|
@@ -1181,20 +1181,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1181
1181
|
)
|
|
1182
1182
|
/* Show Published date */
|
|
1183
1183
|
,
|
|
1184
|
-
|
|
1184
|
+
React.createElement(
|
|
1185
1185
|
'div',
|
|
1186
1186
|
{ className: 'mb-3' },
|
|
1187
1187
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1188
|
-
return
|
|
1188
|
+
return React.createElement(
|
|
1189
1189
|
'span',
|
|
1190
1190
|
{ key: index },
|
|
1191
1191
|
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)
|
|
1192
1192
|
);
|
|
1193
1193
|
}),
|
|
1194
|
-
|
|
1194
|
+
React.createElement(
|
|
1195
1195
|
'div',
|
|
1196
1196
|
null,
|
|
1197
|
-
source &&
|
|
1197
|
+
source && React.createElement(
|
|
1198
1198
|
'p',
|
|
1199
1199
|
{
|
|
1200
1200
|
style: {
|
|
@@ -1209,13 +1209,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1209
1209
|
source
|
|
1210
1210
|
)
|
|
1211
1211
|
),
|
|
1212
|
-
issue &&
|
|
1212
|
+
issue && React.createElement(
|
|
1213
1213
|
'div',
|
|
1214
1214
|
{ className: 'volume-issue' },
|
|
1215
|
-
issue.publication && issue.publication.name &&
|
|
1215
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1216
1216
|
'span',
|
|
1217
1217
|
{ className: 'mb-0' },
|
|
1218
|
-
|
|
1218
|
+
React.createElement(
|
|
1219
1219
|
'b',
|
|
1220
1220
|
null,
|
|
1221
1221
|
issue.publication.name
|
|
@@ -1223,34 +1223,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1223
1223
|
',',
|
|
1224
1224
|
' '
|
|
1225
1225
|
),
|
|
1226
|
-
issue.name &&
|
|
1226
|
+
issue.name && React.createElement(
|
|
1227
1227
|
'span',
|
|
1228
1228
|
{ className: 'mb-0' },
|
|
1229
1229
|
issue.name,
|
|
1230
1230
|
', '
|
|
1231
1231
|
),
|
|
1232
|
-
issue.volume &&
|
|
1232
|
+
issue.volume && React.createElement(
|
|
1233
1233
|
'span',
|
|
1234
1234
|
null,
|
|
1235
1235
|
'Volume ' + issue.volume,
|
|
1236
1236
|
','
|
|
1237
1237
|
),
|
|
1238
|
-
issue.issueNumber &&
|
|
1238
|
+
issue.issueNumber && React.createElement(
|
|
1239
1239
|
'span',
|
|
1240
1240
|
null,
|
|
1241
1241
|
' Issue ' + issue.issueNumber
|
|
1242
1242
|
)
|
|
1243
1243
|
),
|
|
1244
|
-
pageNumber &&
|
|
1244
|
+
pageNumber && React.createElement(
|
|
1245
1245
|
'div',
|
|
1246
1246
|
{ className: 'article-pageNumber' },
|
|
1247
1247
|
'Pages: ' + pageNumber
|
|
1248
1248
|
)
|
|
1249
1249
|
),
|
|
1250
|
-
!isVideoSeries && showSocialShare &&
|
|
1250
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1251
1251
|
'p',
|
|
1252
1252
|
null,
|
|
1253
|
-
|
|
1253
|
+
React.createElement(SocialShare, {
|
|
1254
1254
|
shareUrl: shareUrl,
|
|
1255
1255
|
shareTitle: shareTitle,
|
|
1256
1256
|
shareVia: shareVia,
|
|
@@ -1266,27 +1266,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1266
1266
|
})
|
|
1267
1267
|
)
|
|
1268
1268
|
),
|
|
1269
|
-
|
|
1269
|
+
React.createElement(
|
|
1270
1270
|
'div',
|
|
1271
1271
|
null,
|
|
1272
|
-
|
|
1272
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1273
1273
|
)
|
|
1274
1274
|
),
|
|
1275
|
-
!isVideoSeries && summary && display_summary &&
|
|
1275
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1276
1276
|
'p',
|
|
1277
1277
|
null,
|
|
1278
|
-
|
|
1278
|
+
React.createElement(
|
|
1279
1279
|
'em',
|
|
1280
1280
|
null,
|
|
1281
1281
|
summary
|
|
1282
1282
|
)
|
|
1283
1283
|
),
|
|
1284
|
-
|
|
1284
|
+
React.createElement(
|
|
1285
1285
|
'div',
|
|
1286
1286
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1287
|
-
|
|
1287
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1288
1288
|
if (index === 0) {
|
|
1289
|
-
return
|
|
1289
|
+
return React.createElement(
|
|
1290
1290
|
'div',
|
|
1291
1291
|
{
|
|
1292
1292
|
key: index,
|
|
@@ -1303,24 +1303,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
})
|
|
1305
1305
|
),
|
|
1306
|
-
|
|
1306
|
+
React.createElement(
|
|
1307
1307
|
'div',
|
|
1308
1308
|
{ className: 'block-content mt-3' },
|
|
1309
1309
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1310
|
-
|
|
1311
|
-
|
|
1310
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1311
|
+
React.createElement(
|
|
1312
1312
|
'noscript',
|
|
1313
1313
|
null,
|
|
1314
|
-
|
|
1314
|
+
React.createElement(
|
|
1315
1315
|
'div',
|
|
1316
1316
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1317
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1317
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1318
1318
|
'a',
|
|
1319
1319
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1320
1320
|
'Previous ',
|
|
1321
1321
|
props.article.seriesDetail.type
|
|
1322
1322
|
),
|
|
1323
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1323
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1324
1324
|
'a',
|
|
1325
1325
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1326
1326
|
'Next ',
|
|
@@ -1328,37 +1328,37 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1328
1328
|
)
|
|
1329
1329
|
)
|
|
1330
1330
|
),
|
|
1331
|
-
|
|
1331
|
+
React.createElement(
|
|
1332
1332
|
'div',
|
|
1333
1333
|
{ className: 'downloads-container' },
|
|
1334
|
-
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) &&
|
|
1334
|
+
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) && React.createElement(
|
|
1335
1335
|
Button,
|
|
1336
1336
|
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1337
1337
|
return downloadRIS();
|
|
1338
1338
|
} },
|
|
1339
1339
|
'Download RIS'
|
|
1340
1340
|
),
|
|
1341
|
-
issue && issue.pdf &&
|
|
1341
|
+
issue && issue.pdf && React.createElement(
|
|
1342
1342
|
'a',
|
|
1343
1343
|
{ rel: 'noopener', href: urlForFile({ asset: issue.pdf }), target: '_blank', title: 'Download issue' },
|
|
1344
|
-
|
|
1344
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1345
1345
|
'Download Issue : ',
|
|
1346
1346
|
issue.name
|
|
1347
1347
|
)
|
|
1348
1348
|
)
|
|
1349
1349
|
),
|
|
1350
|
-
|
|
1351
|
-
article.documentGroup && article.documentGroup.isSeries && sliderData && !seriesInfo.hasVideo &&
|
|
1350
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1351
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1352
1352
|
'div',
|
|
1353
1353
|
null,
|
|
1354
1354
|
false ,
|
|
1355
|
-
|
|
1355
|
+
React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1356
1356
|
),
|
|
1357
|
-
showRelatedArticles && !showIsi &&
|
|
1358
|
-
disqusConfig && showDisqus &&
|
|
1357
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1358
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1359
1359
|
'div',
|
|
1360
1360
|
{ id: 'disqusContainer' },
|
|
1361
|
-
|
|
1361
|
+
React.createElement(DiscussionEmbed, {
|
|
1362
1362
|
shortname: disqusConfig.shortname,
|
|
1363
1363
|
config: {
|
|
1364
1364
|
url: disqusConfig.url,
|
|
@@ -1371,30 +1371,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1371
1371
|
renderIsiContent(props.article)
|
|
1372
1372
|
)
|
|
1373
1373
|
),
|
|
1374
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1374
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1375
1375
|
ISI,
|
|
1376
1376
|
null,
|
|
1377
|
-
|
|
1377
|
+
React.createElement(BlockContent, {
|
|
1378
1378
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1379
1379
|
blocks: isi
|
|
1380
1380
|
})
|
|
1381
1381
|
),
|
|
1382
|
-
|
|
1382
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1383
1383
|
if (index > 0) {
|
|
1384
|
-
return
|
|
1384
|
+
return React.createElement(
|
|
1385
1385
|
'div',
|
|
1386
1386
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1387
1387
|
ad.component
|
|
1388
1388
|
);
|
|
1389
1389
|
}
|
|
1390
1390
|
}),
|
|
1391
|
-
|
|
1391
|
+
React.createElement(
|
|
1392
1392
|
'noscript',
|
|
1393
1393
|
null,
|
|
1394
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1394
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1395
1395
|
'div',
|
|
1396
1396
|
{ style: { textAlign: 'center' } },
|
|
1397
|
-
|
|
1397
|
+
React.createElement(
|
|
1398
1398
|
'a',
|
|
1399
1399
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1400
1400
|
'Related Article ',
|
|
@@ -1402,8 +1402,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1402
1402
|
)
|
|
1403
1403
|
)
|
|
1404
1404
|
),
|
|
1405
|
-
props.infiniteScroll &&
|
|
1406
|
-
|
|
1405
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1406
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1407
1407
|
);
|
|
1408
1408
|
};
|
|
1409
1409
|
|
|
@@ -1418,7 +1418,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
});
|
|
1420
1420
|
|
|
1421
|
-
var _this
|
|
1421
|
+
var _this = undefined;
|
|
1422
1422
|
|
|
1423
1423
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1424
1424
|
var router = useRouter();
|
|
@@ -1427,9 +1427,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1427
1427
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1428
1428
|
Ads = props.Ads,
|
|
1429
1429
|
_props$maxListLength = props.maxListLength,
|
|
1430
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1431
|
-
props.sponsoredTaxonomies
|
|
1432
|
-
|
|
1430
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1431
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1432
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1433
1433
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1434
1434
|
_props$authorPrefix = props.authorPrefix,
|
|
1435
1435
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1485,7 +1485,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1485
1485
|
return item.url.current === path;
|
|
1486
1486
|
});
|
|
1487
1487
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1488
|
-
if (!
|
|
1488
|
+
if (!main_40) {
|
|
1489
1489
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1490
1490
|
if (window.googletag && googletag.pubadsReady) {
|
|
1491
1491
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1502,7 +1502,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1502
1502
|
});
|
|
1503
1503
|
}
|
|
1504
1504
|
//Refresh leaderboard ad on mobile
|
|
1505
|
-
if (
|
|
1505
|
+
if (main_40) {
|
|
1506
1506
|
var leaderboardSlotId = '';
|
|
1507
1507
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1508
1508
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1606,7 +1606,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1606
1606
|
return _context.stop();
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
|
-
}, _callee, _this
|
|
1609
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1610
1610
|
}));
|
|
1611
1611
|
|
|
1612
1612
|
return function loadmore() {
|
|
@@ -1684,14 +1684,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1684
1684
|
refreshAD(path);
|
|
1685
1685
|
};
|
|
1686
1686
|
|
|
1687
|
-
return
|
|
1687
|
+
return React.createElement(
|
|
1688
1688
|
InfiniteScroll,
|
|
1689
1689
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1690
1690
|
queueData.map(function (article, index) {
|
|
1691
|
-
return
|
|
1692
|
-
|
|
1691
|
+
return React.createElement(
|
|
1692
|
+
React.Fragment,
|
|
1693
1693
|
{ key: index },
|
|
1694
|
-
|
|
1694
|
+
React.createElement(Article, _extends({}, props, {
|
|
1695
1695
|
containerHeight: containerHeight,
|
|
1696
1696
|
onChangeArticle: onChangeArticle,
|
|
1697
1697
|
authorPrfix: authorPrefix,
|
|
@@ -1707,7 +1707,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1707
1707
|
);
|
|
1708
1708
|
};
|
|
1709
1709
|
|
|
1710
|
-
var _this = undefined;
|
|
1710
|
+
var _this$1 = undefined;
|
|
1711
1711
|
|
|
1712
1712
|
var View = function View(props) {
|
|
1713
1713
|
var router = useRouter();
|
|
@@ -1717,9 +1717,9 @@ var View = function View(props) {
|
|
|
1717
1717
|
hideComments = _props$article.hideComments,
|
|
1718
1718
|
content_placement = _props$article.content_placement,
|
|
1719
1719
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1720
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1721
|
-
props.sponsoredTaxonomies
|
|
1722
|
-
|
|
1720
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1721
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1722
|
+
Ads = props.Ads,
|
|
1723
1723
|
setCustomDimensions = props.setCustomDimensions,
|
|
1724
1724
|
statusCode = props.statusCode,
|
|
1725
1725
|
prevUrl = props.prevUrl,
|
|
@@ -1732,9 +1732,9 @@ var View = function View(props) {
|
|
|
1732
1732
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1733
1733
|
var _props$article2 = props.article,
|
|
1734
1734
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1735
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1736
|
-
_props$article2.description
|
|
1737
|
-
|
|
1735
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1736
|
+
description = _props$article2.description,
|
|
1737
|
+
title = _props$article2.title,
|
|
1738
1738
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1739
1739
|
|
|
1740
1740
|
var _useState = useState(0),
|
|
@@ -1790,6 +1790,7 @@ var View = function View(props) {
|
|
|
1790
1790
|
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;
|
|
1791
1791
|
|
|
1792
1792
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1793
|
+
description = null;
|
|
1793
1794
|
title = null;
|
|
1794
1795
|
}
|
|
1795
1796
|
|
|
@@ -1833,63 +1834,63 @@ var View = function View(props) {
|
|
|
1833
1834
|
|
|
1834
1835
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1835
1836
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1836
|
-
return
|
|
1837
|
-
|
|
1837
|
+
return React.createElement(
|
|
1838
|
+
React.Fragment,
|
|
1838
1839
|
null,
|
|
1839
|
-
|
|
1840
|
+
React.createElement(
|
|
1840
1841
|
Head,
|
|
1841
1842
|
null,
|
|
1842
|
-
|
|
1843
|
+
React.createElement(
|
|
1843
1844
|
'title',
|
|
1844
1845
|
{ key: 'title' },
|
|
1845
1846
|
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 : '')
|
|
1846
1847
|
),
|
|
1847
|
-
metaDescriptionSanity ?
|
|
1848
|
-
|
|
1849
|
-
passwordLock &&
|
|
1850
|
-
|
|
1848
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1849
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1850
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1851
|
+
React.createElement('meta', {
|
|
1851
1852
|
property: 'og:url',
|
|
1852
1853
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1853
1854
|
key: 'og:url'
|
|
1854
1855
|
}),
|
|
1855
|
-
|
|
1856
|
+
React.createElement('meta', {
|
|
1856
1857
|
property: 'og:title',
|
|
1857
1858
|
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 : ''),
|
|
1858
1859
|
key: 'og:title'
|
|
1859
1860
|
}),
|
|
1860
|
-
|
|
1861
|
+
React.createElement('meta', {
|
|
1861
1862
|
property: 'og:image',
|
|
1862
1863
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1863
1864
|
key: 'og:image'
|
|
1864
1865
|
}),
|
|
1865
|
-
|
|
1866
|
-
metaDescriptionSanity ?
|
|
1867
|
-
|
|
1868
|
-
|
|
1866
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1867
|
+
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 }),
|
|
1868
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1869
|
+
React.createElement('meta', {
|
|
1869
1870
|
name: 'twitter:title',
|
|
1870
1871
|
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 : ''),
|
|
1871
1872
|
key: 'twitter:title'
|
|
1872
1873
|
}),
|
|
1873
|
-
|
|
1874
|
+
React.createElement('meta', {
|
|
1874
1875
|
name: 'twitter:image',
|
|
1875
1876
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1876
1877
|
key: 'twitter:image'
|
|
1877
1878
|
}),
|
|
1878
|
-
|
|
1879
|
-
metaDescriptionSanity ?
|
|
1880
|
-
canonicalTag &&
|
|
1879
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1880
|
+
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 }),
|
|
1881
|
+
canonicalTag && React.createElement('link', {
|
|
1881
1882
|
rel: 'canonical',
|
|
1882
1883
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1883
1884
|
key: 'canonical'
|
|
1884
1885
|
}),
|
|
1885
|
-
|
|
1886
|
+
React.createElement(
|
|
1886
1887
|
'noscript',
|
|
1887
1888
|
null,
|
|
1888
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1889
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1889
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1890
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1890
1891
|
)
|
|
1891
1892
|
),
|
|
1892
|
-
!needInfiniteScroll ?
|
|
1893
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1893
1894
|
infiniteScroll: true,
|
|
1894
1895
|
showRelatedArticles: showRelatedArticles,
|
|
1895
1896
|
canonicalTag: canonicalTag,
|
|
@@ -2026,7 +2027,7 @@ View.returnGetInitialProps = function () {
|
|
|
2026
2027
|
return _context.stop();
|
|
2027
2028
|
}
|
|
2028
2029
|
}
|
|
2029
|
-
}, _callee, _this);
|
|
2030
|
+
}, _callee, _this$1);
|
|
2030
2031
|
}));
|
|
2031
2032
|
|
|
2032
2033
|
return function (_x, _x2, _x3, _x4, _x5) {
|