@mjhls/mjh-framework 1.0.836-beta.0 → 1.0.836
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 +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-8d621d3c.js → ADInfeed-8b336c67.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-0e26bccb.js → ADlgInfeed-aedd5e18.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +20 -911
- package/dist/cjs/AlgoliaSearch.js +1391 -1273
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +63 -62
- package/dist/cjs/ArticleSeriesLandingPage.js +43 -42
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +686 -462
- package/dist/cjs/AuthWrapper.js +311 -269
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +238 -233
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +145 -140
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -72
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +96 -95
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1119 -1128
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +125 -3950
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -42
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +310 -310
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +55 -54
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-cbab9f0f.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -55
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +80 -76
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +52 -51
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +264 -261
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +21 -21
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +8 -8
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-be6168ad.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-4cedf2c1.js → index-393c5040.js} +984 -961
- 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 +168 -164
- package/dist/cjs/{inherits-1f5a1c72.js → inherits-c2065b95.js} +20 -20
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/{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-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.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-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-b566ce41.js → ADInfeed-28b1e946.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-5eb7281d.js → ADlgInfeed-0b474b02.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +17 -909
- package/dist/esm/AlgoliaSearch.js +819 -702
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +665 -445
- package/dist/esm/AuthWrapper.js +308 -267
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +98 -98
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +201 -201
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +116 -116
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +92 -92
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +840 -852
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +121 -3946
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +122 -122
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-5c62a578.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +70 -70
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +245 -246
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-68291ce9.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- 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-a20d9ee5.js → index-f21b15a5.js} +940 -924
- 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 +138 -137
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/{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-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.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-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -111
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
+
import Head from 'next/head';
|
|
6
|
+
import { useRouter } from 'next/router';
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
|
+
import 'react-bootstrap/Dropdown';
|
|
13
|
+
import Form from 'react-bootstrap/Form';
|
|
14
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
+
import Button from 'react-bootstrap/Button';
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-f21b15a5.js';
|
|
19
|
+
import DFPAdSlot from './AdSlot.js';
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5c62a578.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-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 './
|
|
3
|
-
import './
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
39
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-cf8dde54.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
|
-
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
-
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
19
43
|
import 'prop-types';
|
|
20
|
-
import '
|
|
21
|
-
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
|
-
import { useRouter } from 'next/router';
|
|
24
|
-
import './isSymbol-1981418f.js';
|
|
25
|
-
import './debounce-9207d8ee.js';
|
|
26
|
-
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
28
45
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import '
|
|
31
|
-
import urlFor from './urlFor.js';
|
|
32
|
-
import './index-5f7e79e7.js';
|
|
33
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
-
import './entities-7cc3bf45.js';
|
|
35
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
40
|
-
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
42
|
-
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
46
|
+
import 'react-share';
|
|
47
|
+
import 'react-bootstrap';
|
|
43
48
|
import './index-c7e2ac95.js';
|
|
44
|
-
import './
|
|
49
|
+
import './util-3ab476bf.js';
|
|
50
|
+
import './Beam.js';
|
|
51
|
+
import './Segment.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
45
53
|
import './GroupDeck.js';
|
|
46
|
-
import '
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-a20d9ee5.js';
|
|
50
|
-
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
|
-
import Head from 'next/head';
|
|
53
|
-
import 'react-share';
|
|
54
|
-
import SocialShare from './SocialShare.js';
|
|
55
|
-
import './_object-to-array-7e804fce.js';
|
|
54
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
+
import './_is-array-3e99e06e.js';
|
|
56
|
+
import './_object-to-array-0f197f89.js';
|
|
56
57
|
import 'react-bootstrap/Pagination';
|
|
58
|
+
import './entities-932b50cf.js';
|
|
59
|
+
import 'react-bootstrap/Row';
|
|
60
|
+
import 'react-bootstrap/Col';
|
|
61
|
+
import './inherits-a41fe93f.js';
|
|
62
|
+
import './_object-sap-f353c2a9.js';
|
|
63
|
+
import './define-property-fe54dc9f.js';
|
|
64
|
+
import './index.esm-3fdda599.js';
|
|
65
|
+
import './iconBase-602d52fe.js';
|
|
57
66
|
import 'react-bootstrap/Figure';
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import '
|
|
62
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
63
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
67
|
+
import './debounce-533d9748.js';
|
|
68
|
+
import './isSymbol-a7e9aafe.js';
|
|
69
|
+
import './toNumber-5aeba6e7.js';
|
|
70
|
+
import './events-6c3a7a63.js';
|
|
64
71
|
import './index-db3bb315.js';
|
|
65
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
-
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-a866bb21.js';
|
|
68
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
|
-
import getKeywords from './getKeywords.js';
|
|
70
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -146,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
146
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
return
|
|
149
|
+
return React.createElement(
|
|
150
150
|
'a',
|
|
151
151
|
{
|
|
152
152
|
href: url,
|
|
153
153
|
className: 'doc-group',
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
|
-
thumbnailUrl &&
|
|
156
|
-
!thumbnailUrl &&
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
155
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
|
+
!thumbnailUrl && React.createElement('p', {
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -296,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
296
296
|
}, 300);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
return
|
|
300
|
-
|
|
299
|
+
return React.createElement(
|
|
300
|
+
React.Fragment,
|
|
301
301
|
null,
|
|
302
|
-
|
|
302
|
+
React.createElement(
|
|
303
303
|
'div',
|
|
304
304
|
{ id: 'isi', ref: isi },
|
|
305
|
-
|
|
305
|
+
React.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isiContent' },
|
|
308
|
-
|
|
308
|
+
React.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ onClick: function onClick() {
|
|
311
311
|
return setActive(function (prev) {
|
|
312
312
|
return !prev;
|
|
313
313
|
});
|
|
314
314
|
}, id: 'isiToggle' },
|
|
315
|
-
active ?
|
|
315
|
+
active ? React.createElement(
|
|
316
316
|
'p',
|
|
317
317
|
null,
|
|
318
318
|
'Close ',
|
|
319
|
-
|
|
320
|
-
) :
|
|
319
|
+
React.createElement(FaMinus, null)
|
|
320
|
+
) : React.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'See More ',
|
|
324
|
-
|
|
324
|
+
React.createElement(FaPlus, null)
|
|
325
325
|
)
|
|
326
326
|
),
|
|
327
327
|
children
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
|
-
|
|
330
|
+
React.createElement(
|
|
331
331
|
'style',
|
|
332
332
|
{ jsx: true },
|
|
333
333
|
'\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 '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
338
|
+
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";
|
|
339
339
|
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" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -349,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
349
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
350
350
|
return null;
|
|
351
351
|
}
|
|
352
|
-
return
|
|
352
|
+
return React.createElement(
|
|
353
353
|
'div',
|
|
354
354
|
{ className: styles.mediaContainer },
|
|
355
355
|
articles.map(function (article, index) {
|
|
356
|
-
return
|
|
356
|
+
return React.createElement(
|
|
357
357
|
'div',
|
|
358
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
359
|
-
|
|
359
|
+
React.createElement(
|
|
360
360
|
'a',
|
|
361
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
362
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React.createElement('img', {
|
|
363
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
364
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
365
365
|
alt: article.title
|
|
366
|
-
}) :
|
|
367
|
-
|
|
366
|
+
}) : React.createElement(
|
|
367
|
+
React.Fragment,
|
|
368
368
|
null,
|
|
369
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
370
370
|
)
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
React.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ className: styles.mediaBody },
|
|
375
|
-
|
|
375
|
+
React.createElement(
|
|
376
376
|
'a',
|
|
377
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.cardTitle },
|
|
381
381
|
article.title
|
|
@@ -535,9 +535,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
535
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
536
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
537
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
|
|
540
|
-
containerHeight = props.containerHeight,
|
|
538
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
539
|
+
props.active;
|
|
540
|
+
var containerHeight = props.containerHeight,
|
|
541
541
|
_props$refreshFlag = props.refreshFlag,
|
|
542
542
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
543
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +597,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
597
|
setArticleBody = _useState10[1];
|
|
598
598
|
|
|
599
599
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
|
|
602
|
-
setPreviewAd = _useState12[1];
|
|
600
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
601
|
+
_useState12[0];
|
|
602
|
+
var setPreviewAd = _useState12[1];
|
|
603
603
|
|
|
604
604
|
useEffect(function () {
|
|
605
605
|
var path = window && window.location && window.location.search;
|
|
@@ -620,7 +620,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
620
620
|
};
|
|
621
621
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
622
622
|
if (biography) {
|
|
623
|
-
return
|
|
623
|
+
return React.createElement(BlockContent, _extends({
|
|
624
624
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
625
625
|
blocks: [biography]
|
|
626
626
|
}, client.config()));
|
|
@@ -630,9 +630,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
630
630
|
var url = article.url.current;
|
|
631
631
|
|
|
632
632
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
633
|
-
return
|
|
633
|
+
return React.createElement(ISIContent, null);
|
|
634
634
|
} else if (nationalPage === url && ISIContent) {
|
|
635
|
-
return
|
|
635
|
+
return React.createElement(ISIContent, { national: true });
|
|
636
636
|
}
|
|
637
637
|
return null;
|
|
638
638
|
};
|
|
@@ -666,19 +666,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
666
666
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
667
667
|
}
|
|
668
668
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
669
|
-
return
|
|
669
|
+
return React.createElement(
|
|
670
670
|
'div',
|
|
671
671
|
null,
|
|
672
672
|
relatedLinks.map(function (relatedLink, index) {
|
|
673
|
-
return
|
|
673
|
+
return React.createElement(
|
|
674
674
|
'span',
|
|
675
675
|
{ key: index, className: 'related-link' },
|
|
676
|
-
|
|
676
|
+
React.createElement(
|
|
677
677
|
'a',
|
|
678
678
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
679
679
|
relatedLink.label
|
|
680
680
|
),
|
|
681
|
-
|
|
681
|
+
React.createElement(
|
|
682
682
|
'style',
|
|
683
683
|
{ jsx: 'true' },
|
|
684
684
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -693,23 +693,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
693
693
|
};
|
|
694
694
|
|
|
695
695
|
var RelatedContent = function RelatedContent() {
|
|
696
|
-
return
|
|
696
|
+
return React.createElement(
|
|
697
697
|
'section',
|
|
698
698
|
{ id: 'related-content-section', className: 'my-1' },
|
|
699
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
699
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
700
700
|
'p',
|
|
701
701
|
{ className: 'mb-0' },
|
|
702
|
-
|
|
702
|
+
React.createElement(
|
|
703
703
|
'b',
|
|
704
704
|
null,
|
|
705
705
|
'Related Content:'
|
|
706
706
|
)
|
|
707
707
|
),
|
|
708
|
-
|
|
709
|
-
|
|
708
|
+
React.createElement(RelevantTopics, null),
|
|
709
|
+
React.createElement(
|
|
710
710
|
'div',
|
|
711
711
|
{ className: 'pt-2' },
|
|
712
|
-
|
|
712
|
+
React.createElement(RelatedArticle, {
|
|
713
713
|
articles: article.relatedArticle,
|
|
714
714
|
client: client,
|
|
715
715
|
fallbackImage: props.Settings.logo,
|
|
@@ -720,29 +720,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
720
720
|
};
|
|
721
721
|
|
|
722
722
|
var form = function form() {
|
|
723
|
-
return
|
|
724
|
-
|
|
723
|
+
return React.createElement(
|
|
724
|
+
React.Fragment,
|
|
725
725
|
null,
|
|
726
|
-
|
|
726
|
+
React.createElement(
|
|
727
727
|
Head,
|
|
728
728
|
null,
|
|
729
|
-
|
|
729
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
730
730
|
),
|
|
731
|
-
|
|
731
|
+
React.createElement(
|
|
732
732
|
'div',
|
|
733
733
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
734
|
-
|
|
734
|
+
React.createElement(
|
|
735
735
|
Form,
|
|
736
736
|
{
|
|
737
737
|
inline: true,
|
|
738
738
|
onSubmit: function onSubmit(e) {
|
|
739
739
|
e.preventDefault();
|
|
740
740
|
} },
|
|
741
|
-
|
|
741
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
742
742
|
return setPasswordKey(e.target.value);
|
|
743
743
|
}, placeholder: 'Password' }),
|
|
744
|
-
|
|
745
|
-
Button
|
|
744
|
+
React.createElement(
|
|
745
|
+
Button,
|
|
746
746
|
{
|
|
747
747
|
variant: 'primary',
|
|
748
748
|
onClick: function onClick() {
|
|
@@ -791,31 +791,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
791
791
|
setContextualADFlag(true);
|
|
792
792
|
}
|
|
793
793
|
};
|
|
794
|
-
return
|
|
795
|
-
|
|
794
|
+
return React.createElement(
|
|
795
|
+
React.Fragment,
|
|
796
796
|
null,
|
|
797
|
-
|
|
797
|
+
React.createElement(BlockContent, _extends({
|
|
798
798
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
799
799
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
800
800
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
801
801
|
}, client.config())),
|
|
802
|
-
|
|
803
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
804
|
-
|
|
802
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
803
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
804
|
+
React.createElement(
|
|
805
805
|
'div',
|
|
806
806
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
807
|
-
|
|
807
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
808
808
|
refreshFlag: refreshFlag
|
|
809
809
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
810
810
|
}))
|
|
811
811
|
),
|
|
812
|
-
|
|
813
|
-
|
|
812
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
813
|
+
React.createElement(
|
|
814
814
|
'div',
|
|
815
815
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
816
|
-
|
|
816
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
817
817
|
),
|
|
818
|
-
|
|
818
|
+
React.createElement(BlockContent, _extends({
|
|
819
819
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
820
820
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
821
821
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -840,26 +840,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
840
840
|
if (seriesInfo.hasVideo) {
|
|
841
841
|
_selectedIndex = seriesInfo.videoIndex;
|
|
842
842
|
}
|
|
843
|
-
return
|
|
844
|
-
|
|
843
|
+
return React.createElement(
|
|
844
|
+
React.Fragment,
|
|
845
845
|
null,
|
|
846
|
-
|
|
846
|
+
React.createElement(BlockContent, _extends({
|
|
847
847
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
848
848
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
849
849
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
850
850
|
}, client.config())),
|
|
851
|
-
contextualADFlag &&
|
|
852
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
853
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
851
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
852
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
853
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
854
854
|
'div',
|
|
855
855
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
856
|
-
|
|
856
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
857
857
|
refreshFlag: refreshFlag
|
|
858
858
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
859
859
|
}))
|
|
860
860
|
),
|
|
861
|
-
contextualADFlag &&
|
|
862
|
-
|
|
861
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
862
|
+
React.createElement(BlockContent, _extends({
|
|
863
863
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
864
864
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
865
865
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -889,22 +889,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
891
|
|
|
892
|
-
return
|
|
893
|
-
|
|
892
|
+
return React.createElement(
|
|
893
|
+
React.Fragment,
|
|
894
894
|
null,
|
|
895
|
-
|
|
895
|
+
React.createElement(BlockContent, _extends({
|
|
896
896
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
897
897
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
898
898
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
899
899
|
}, client.config())),
|
|
900
|
-
|
|
901
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
902
|
-
|
|
900
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
901
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
902
|
+
React.createElement(
|
|
903
903
|
'div',
|
|
904
904
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
905
|
-
|
|
905
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
906
906
|
),
|
|
907
|
-
|
|
907
|
+
React.createElement(BlockContent, _extends({
|
|
908
908
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
909
909
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
910
910
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -916,16 +916,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
916
916
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
-
return
|
|
919
|
+
return React.createElement(
|
|
920
920
|
'div',
|
|
921
921
|
null,
|
|
922
|
-
|
|
922
|
+
React.createElement(BlockContent, _extends({
|
|
923
923
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
924
924
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
925
925
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
926
926
|
}, client.config())),
|
|
927
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
928
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
927
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
928
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
929
929
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
930
930
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
931
931
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -970,8 +970,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
970
970
|
shareSubject = shareOptions.shareSubject,
|
|
971
971
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
972
972
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
973
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
974
|
-
|
|
973
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
974
|
+
shareOptions.shareSiteTitle;
|
|
975
975
|
|
|
976
976
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
977
977
|
var shareTitle = article.title;
|
|
@@ -1011,10 +1011,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1011
1011
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1012
1012
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1013
1013
|
|
|
1014
|
-
return
|
|
1015
|
-
|
|
1014
|
+
return React.createElement(
|
|
1015
|
+
React.Fragment,
|
|
1016
1016
|
null,
|
|
1017
|
-
|
|
1017
|
+
React.createElement(
|
|
1018
1018
|
VisibilitySensor,
|
|
1019
1019
|
{
|
|
1020
1020
|
partialVisibility: true,
|
|
@@ -1027,61 +1027,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1027
1027
|
});
|
|
1028
1028
|
}
|
|
1029
1029
|
} },
|
|
1030
|
-
|
|
1030
|
+
React.createElement(
|
|
1031
1031
|
'div',
|
|
1032
1032
|
{ id: 'article__block', ref: ref },
|
|
1033
|
-
|
|
1033
|
+
React.createElement(
|
|
1034
1034
|
'div',
|
|
1035
1035
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1036
1036
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1037
|
-
!isVideoSeries &&
|
|
1037
|
+
!isVideoSeries && React.createElement(
|
|
1038
1038
|
'div',
|
|
1039
1039
|
null,
|
|
1040
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1040
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1041
1041
|
'p',
|
|
1042
1042
|
{ style: { fontSize: '14px' } },
|
|
1043
1043
|
article.documentGroup.name,
|
|
1044
1044
|
' - Episode ',
|
|
1045
1045
|
episodeNumber
|
|
1046
1046
|
),
|
|
1047
|
-
|
|
1047
|
+
React.createElement(
|
|
1048
1048
|
'h1',
|
|
1049
1049
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1050
1050
|
title
|
|
1051
1051
|
)
|
|
1052
1052
|
),
|
|
1053
|
-
|
|
1053
|
+
React.createElement(
|
|
1054
1054
|
'div',
|
|
1055
1055
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1056
|
-
|
|
1056
|
+
React.createElement(
|
|
1057
1057
|
'style',
|
|
1058
1058
|
{ jsx: 'true' },
|
|
1059
1059
|
'\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 '
|
|
1060
1060
|
),
|
|
1061
|
-
|
|
1061
|
+
React.createElement(
|
|
1062
1062
|
'div',
|
|
1063
1063
|
{ className: 'left-wrap' },
|
|
1064
|
-
!isVideoSeries && showPublished &&
|
|
1064
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1065
1065
|
'div',
|
|
1066
1066
|
null,
|
|
1067
1067
|
moment(published).format('LL')
|
|
1068
1068
|
)
|
|
1069
1069
|
/* Show Published date */
|
|
1070
1070
|
,
|
|
1071
|
-
|
|
1071
|
+
React.createElement(
|
|
1072
1072
|
'div',
|
|
1073
1073
|
{ className: 'mb-3' },
|
|
1074
1074
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1075
|
-
return
|
|
1075
|
+
return React.createElement(
|
|
1076
1076
|
'span',
|
|
1077
1077
|
{ key: index },
|
|
1078
1078
|
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 }))
|
|
1079
1079
|
);
|
|
1080
1080
|
}),
|
|
1081
|
-
|
|
1081
|
+
React.createElement(
|
|
1082
1082
|
'div',
|
|
1083
1083
|
null,
|
|
1084
|
-
source &&
|
|
1084
|
+
source && React.createElement(
|
|
1085
1085
|
'p',
|
|
1086
1086
|
{
|
|
1087
1087
|
style: {
|
|
@@ -1096,13 +1096,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1096
1096
|
source
|
|
1097
1097
|
)
|
|
1098
1098
|
),
|
|
1099
|
-
issue &&
|
|
1099
|
+
issue && React.createElement(
|
|
1100
1100
|
'div',
|
|
1101
1101
|
{ className: 'volume-issue' },
|
|
1102
|
-
issue.publication && issue.publication.name &&
|
|
1102
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1103
1103
|
'span',
|
|
1104
1104
|
{ className: 'mb-0' },
|
|
1105
|
-
|
|
1105
|
+
React.createElement(
|
|
1106
1106
|
'b',
|
|
1107
1107
|
null,
|
|
1108
1108
|
issue.publication.name
|
|
@@ -1110,34 +1110,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1110
1110
|
',',
|
|
1111
1111
|
' '
|
|
1112
1112
|
),
|
|
1113
|
-
issue.name &&
|
|
1113
|
+
issue.name && React.createElement(
|
|
1114
1114
|
'span',
|
|
1115
1115
|
{ className: 'mb-0' },
|
|
1116
1116
|
issue.name,
|
|
1117
1117
|
', '
|
|
1118
1118
|
),
|
|
1119
|
-
issue.volume &&
|
|
1119
|
+
issue.volume && React.createElement(
|
|
1120
1120
|
'span',
|
|
1121
1121
|
null,
|
|
1122
1122
|
'Volume ' + issue.volume,
|
|
1123
1123
|
','
|
|
1124
1124
|
),
|
|
1125
|
-
issue.issueNumber &&
|
|
1125
|
+
issue.issueNumber && React.createElement(
|
|
1126
1126
|
'span',
|
|
1127
1127
|
null,
|
|
1128
1128
|
' Issue ' + issue.issueNumber
|
|
1129
1129
|
)
|
|
1130
1130
|
),
|
|
1131
|
-
pageNumber &&
|
|
1131
|
+
pageNumber && React.createElement(
|
|
1132
1132
|
'div',
|
|
1133
1133
|
{ className: 'article-pageNumber' },
|
|
1134
1134
|
'Pages: ' + pageNumber
|
|
1135
1135
|
)
|
|
1136
1136
|
),
|
|
1137
|
-
!isVideoSeries && showSocialShare &&
|
|
1137
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1138
1138
|
'p',
|
|
1139
1139
|
null,
|
|
1140
|
-
|
|
1140
|
+
React.createElement(SocialShare, {
|
|
1141
1141
|
shareUrl: shareUrl,
|
|
1142
1142
|
shareTitle: shareTitle,
|
|
1143
1143
|
shareVia: shareVia,
|
|
@@ -1153,27 +1153,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1153
1153
|
})
|
|
1154
1154
|
)
|
|
1155
1155
|
),
|
|
1156
|
-
|
|
1156
|
+
React.createElement(
|
|
1157
1157
|
'div',
|
|
1158
1158
|
null,
|
|
1159
|
-
|
|
1159
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1160
1160
|
)
|
|
1161
1161
|
),
|
|
1162
|
-
!isVideoSeries && summary && display_summary &&
|
|
1162
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1163
1163
|
'p',
|
|
1164
1164
|
null,
|
|
1165
|
-
|
|
1165
|
+
React.createElement(
|
|
1166
1166
|
'em',
|
|
1167
1167
|
null,
|
|
1168
1168
|
summary
|
|
1169
1169
|
)
|
|
1170
1170
|
),
|
|
1171
|
-
|
|
1171
|
+
React.createElement(
|
|
1172
1172
|
'div',
|
|
1173
1173
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1174
|
-
|
|
1174
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1175
1175
|
if (index === 0) {
|
|
1176
|
-
return
|
|
1176
|
+
return React.createElement(
|
|
1177
1177
|
'div',
|
|
1178
1178
|
{
|
|
1179
1179
|
key: index,
|
|
@@ -1190,24 +1190,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
})
|
|
1192
1192
|
),
|
|
1193
|
-
|
|
1193
|
+
React.createElement(
|
|
1194
1194
|
'div',
|
|
1195
1195
|
{ className: 'block-content mt-3' },
|
|
1196
1196
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1197
|
-
|
|
1198
|
-
|
|
1197
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1198
|
+
React.createElement(
|
|
1199
1199
|
'noscript',
|
|
1200
1200
|
null,
|
|
1201
|
-
|
|
1201
|
+
React.createElement(
|
|
1202
1202
|
'div',
|
|
1203
1203
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1204
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1204
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1205
1205
|
'a',
|
|
1206
1206
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1207
1207
|
'Previous ',
|
|
1208
1208
|
props.article.seriesDetail.type
|
|
1209
1209
|
),
|
|
1210
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1210
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1211
1211
|
'a',
|
|
1212
1212
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1213
1213
|
'Next ',
|
|
@@ -1215,26 +1215,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1215
1215
|
)
|
|
1216
1216
|
)
|
|
1217
1217
|
),
|
|
1218
|
-
issue && issue.url &&
|
|
1218
|
+
issue && issue.url && React.createElement(
|
|
1219
1219
|
'a',
|
|
1220
1220
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1221
|
-
|
|
1221
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1222
1222
|
'Download Issue : ',
|
|
1223
1223
|
issue.name
|
|
1224
1224
|
)
|
|
1225
1225
|
),
|
|
1226
|
-
|
|
1227
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1226
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1227
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1228
1228
|
'div',
|
|
1229
1229
|
null,
|
|
1230
1230
|
false ,
|
|
1231
|
-
|
|
1231
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1232
1232
|
),
|
|
1233
|
-
showRelatedArticles && !showIsi &&
|
|
1234
|
-
disqusConfig && showDisqus &&
|
|
1233
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1234
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1235
1235
|
'div',
|
|
1236
1236
|
{ id: 'disqusContainer' },
|
|
1237
|
-
|
|
1237
|
+
React.createElement(DiscussionEmbed, {
|
|
1238
1238
|
shortname: disqusConfig.shortname,
|
|
1239
1239
|
config: {
|
|
1240
1240
|
url: disqusConfig.url,
|
|
@@ -1247,30 +1247,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1247
1247
|
renderIsiContent(props.article)
|
|
1248
1248
|
)
|
|
1249
1249
|
),
|
|
1250
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1250
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1251
1251
|
ISI,
|
|
1252
1252
|
null,
|
|
1253
|
-
|
|
1253
|
+
React.createElement(BlockContent, {
|
|
1254
1254
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1255
1255
|
blocks: isi
|
|
1256
1256
|
})
|
|
1257
1257
|
),
|
|
1258
|
-
|
|
1258
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1259
1259
|
if (index > 0) {
|
|
1260
|
-
return
|
|
1260
|
+
return React.createElement(
|
|
1261
1261
|
'div',
|
|
1262
1262
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1263
1263
|
ad.component
|
|
1264
1264
|
);
|
|
1265
1265
|
}
|
|
1266
1266
|
}),
|
|
1267
|
-
|
|
1267
|
+
React.createElement(
|
|
1268
1268
|
'noscript',
|
|
1269
1269
|
null,
|
|
1270
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1270
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1271
1271
|
'div',
|
|
1272
1272
|
{ style: { textAlign: 'center' } },
|
|
1273
|
-
|
|
1273
|
+
React.createElement(
|
|
1274
1274
|
'a',
|
|
1275
1275
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1276
1276
|
'Related Article ',
|
|
@@ -1278,7 +1278,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1278
1278
|
)
|
|
1279
1279
|
)
|
|
1280
1280
|
),
|
|
1281
|
-
props.infiniteScroll &&
|
|
1281
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1282
1282
|
);
|
|
1283
1283
|
};
|
|
1284
1284
|
|
|
@@ -1293,16 +1293,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
1295
|
|
|
1296
|
-
var _this = undefined;
|
|
1296
|
+
var _this$1 = undefined;
|
|
1297
1297
|
|
|
1298
1298
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1299
1299
|
var _props$prevUrl = props.prevUrl,
|
|
1300
1300
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1301
1301
|
Ads = props.Ads,
|
|
1302
1302
|
_props$maxListLength = props.maxListLength,
|
|
1303
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1304
|
-
|
|
1305
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1303
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1304
|
+
props.sponsoredTaxonomies;
|
|
1305
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1306
1306
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1307
1307
|
_props$authorPrefix = props.authorPrefix,
|
|
1308
1308
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1351,7 +1351,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1351
1351
|
return item.url.current === path;
|
|
1352
1352
|
});
|
|
1353
1353
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1354
|
-
if (!
|
|
1354
|
+
if (!main_43) {
|
|
1355
1355
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1356
1356
|
if (window.googletag && googletag.pubadsReady) {
|
|
1357
1357
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1368,7 +1368,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1368
1368
|
});
|
|
1369
1369
|
}
|
|
1370
1370
|
//Refresh leaderboard ad on mobile
|
|
1371
|
-
if (
|
|
1371
|
+
if (main_43) {
|
|
1372
1372
|
var leaderboardSlotId = '';
|
|
1373
1373
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1374
1374
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1472,7 +1472,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1472
1472
|
return _context.stop();
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1475
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1476
1476
|
}));
|
|
1477
1477
|
|
|
1478
1478
|
return function loadmore() {
|
|
@@ -1517,14 +1517,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1517
1517
|
refreshAD(path);
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
return
|
|
1520
|
+
return React.createElement(
|
|
1521
1521
|
InfiniteScroll,
|
|
1522
1522
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1523
1523
|
queueData.map(function (article, index) {
|
|
1524
|
-
return
|
|
1525
|
-
|
|
1524
|
+
return React.createElement(
|
|
1525
|
+
React.Fragment,
|
|
1526
1526
|
null,
|
|
1527
|
-
|
|
1527
|
+
React.createElement(Article, _extends({
|
|
1528
1528
|
key: index
|
|
1529
1529
|
}, props, {
|
|
1530
1530
|
containerHeight: containerHeight,
|
|
@@ -1542,7 +1542,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1542
1542
|
);
|
|
1543
1543
|
};
|
|
1544
1544
|
|
|
1545
|
-
var _this
|
|
1545
|
+
var _this = undefined;
|
|
1546
1546
|
|
|
1547
1547
|
var View = function View(props) {
|
|
1548
1548
|
var router = useRouter();
|
|
@@ -1552,9 +1552,9 @@ var View = function View(props) {
|
|
|
1552
1552
|
hideComments = _props$article.hideComments,
|
|
1553
1553
|
content_placement = _props$article.content_placement,
|
|
1554
1554
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1555
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1556
|
-
|
|
1557
|
-
Ads = props.Ads,
|
|
1555
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1556
|
+
props.sponsoredTaxonomies;
|
|
1557
|
+
var Ads = props.Ads,
|
|
1558
1558
|
setCustomDimensions = props.setCustomDimensions,
|
|
1559
1559
|
statusCode = props.statusCode,
|
|
1560
1560
|
prevUrl = props.prevUrl,
|
|
@@ -1567,9 +1567,9 @@ var View = function View(props) {
|
|
|
1567
1567
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1568
1568
|
var _props$article2 = props.article,
|
|
1569
1569
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1570
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1571
|
-
|
|
1572
|
-
title = _props$article2.title,
|
|
1570
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1571
|
+
_props$article2.description;
|
|
1572
|
+
var title = _props$article2.title,
|
|
1573
1573
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1574
1574
|
|
|
1575
1575
|
var _useState = useState(0),
|
|
@@ -1630,7 +1630,6 @@ var View = function View(props) {
|
|
|
1630
1630
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1631
1631
|
|
|
1632
1632
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1633
|
-
description = null;
|
|
1634
1633
|
title = null;
|
|
1635
1634
|
}
|
|
1636
1635
|
|
|
@@ -1667,63 +1666,63 @@ var View = function View(props) {
|
|
|
1667
1666
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1668
1667
|
}
|
|
1669
1668
|
|
|
1670
|
-
return
|
|
1671
|
-
|
|
1669
|
+
return React.createElement(
|
|
1670
|
+
React.Fragment,
|
|
1672
1671
|
null,
|
|
1673
|
-
|
|
1672
|
+
React.createElement(
|
|
1674
1673
|
Head,
|
|
1675
1674
|
null,
|
|
1676
|
-
|
|
1675
|
+
React.createElement(
|
|
1677
1676
|
'title',
|
|
1678
1677
|
{ key: 'title' },
|
|
1679
1678
|
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 : '')
|
|
1680
1679
|
),
|
|
1681
|
-
meta_description &&
|
|
1682
|
-
|
|
1683
|
-
passwordLock &&
|
|
1684
|
-
|
|
1680
|
+
meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1681
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1682
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1683
|
+
React.createElement('meta', {
|
|
1685
1684
|
property: 'og:url',
|
|
1686
1685
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1687
1686
|
key: 'og:url'
|
|
1688
1687
|
}),
|
|
1689
|
-
|
|
1688
|
+
React.createElement('meta', {
|
|
1690
1689
|
property: 'og:title',
|
|
1691
1690
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1692
1691
|
key: 'og:title'
|
|
1693
1692
|
}),
|
|
1694
|
-
|
|
1693
|
+
React.createElement('meta', {
|
|
1695
1694
|
property: 'og:image',
|
|
1696
1695
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1697
1696
|
key: 'og:image'
|
|
1698
1697
|
}),
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1698
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1699
|
+
React.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1700
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1701
|
+
React.createElement('meta', {
|
|
1703
1702
|
name: 'twitter:title',
|
|
1704
1703
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1705
1704
|
key: 'twitter:title'
|
|
1706
1705
|
}),
|
|
1707
|
-
|
|
1706
|
+
React.createElement('meta', {
|
|
1708
1707
|
name: 'twitter:image',
|
|
1709
1708
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1710
1709
|
key: 'twitter:image'
|
|
1711
1710
|
}),
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
canonicalTag &&
|
|
1711
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1712
|
+
React.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1713
|
+
canonicalTag && React.createElement('link', {
|
|
1715
1714
|
rel: 'canonical',
|
|
1716
1715
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1717
1716
|
key: 'canonical'
|
|
1718
1717
|
}),
|
|
1719
|
-
|
|
1718
|
+
React.createElement(
|
|
1720
1719
|
'noscript',
|
|
1721
1720
|
null,
|
|
1722
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1723
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1721
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1722
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1724
1723
|
)
|
|
1725
1724
|
),
|
|
1726
|
-
!needInfiniteScroll ?
|
|
1725
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1727
1726
|
infiniteScroll: true,
|
|
1728
1727
|
showRelatedArticles: showRelatedArticles,
|
|
1729
1728
|
canonicalTag: canonicalTag,
|
|
@@ -1860,7 +1859,7 @@ View.returnGetInitialProps = function () {
|
|
|
1860
1859
|
return _context.stop();
|
|
1861
1860
|
}
|
|
1862
1861
|
}
|
|
1863
|
-
}, _callee, _this
|
|
1862
|
+
}, _callee, _this);
|
|
1864
1863
|
}));
|
|
1865
1864
|
|
|
1866
1865
|
return function (_x, _x2, _x3, _x4, _x5) {
|