@mjhls/mjh-framework 1.0.856-beta.0 → 1.0.857
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 +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-ff26342c.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-ad4953d4.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +11 -903
- package/dist/cjs/AlgoliaSearch.js +49 -14012
- package/dist/cjs/AlphabeticList.js +17 -16
- package/dist/cjs/ArticleCarousel.js +12 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +237 -1197
- package/dist/cjs/AuthWrapper.js +26 -561
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -65
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +36 -34
- package/dist/cjs/ConferenceArticleCard.js +33 -32
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -82
- package/dist/cjs/DeckQueue.js +73 -70
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-0bf098b5.js} +23 -23
- package/dist/cjs/EventsDeck.js +141 -134
- package/dist/cjs/ExternalResources.js +49 -48
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +209 -205
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +130 -125
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +39 -38
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +66 -61
- package/dist/cjs/IssueLanding.js +60 -59
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +23 -22
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +801 -909
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +131 -126
- package/dist/cjs/NavNative.js +125 -117
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +288 -188
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +114 -110
- package/dist/cjs/QueueDeckExpanded.js +286 -287
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -50
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -27
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-60fa1342.js} +38 -37
- package/dist/cjs/SideFooter.js +26 -25
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +60 -55
- package/dist/cjs/TaxonomyDescription.js +24 -23
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +45 -41
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +212 -202
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +55 -54
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +67 -131
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-3e45e4d4.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-44481153.js} +494 -47
- package/dist/cjs/{index-998ad42c.js → index-646379c4.js} +954 -1204
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- 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-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +65 -61
- package/dist/cjs/{inherits-452ff02c.js → inherits-87492b40.js} +1 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +8 -9
- package/dist/esm/AD300x250x600.js +8 -9
- package/dist/esm/AD728x90.js +9 -10
- package/dist/esm/ADFloatingFooter.js +10 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -11
- package/dist/esm/{ADInfeed-1cc9d817.js → ADInfeed-422ad6e6.js} +7 -7
- package/dist/esm/ADSkyscraper.js +10 -11
- package/dist/esm/ADSponsoredResources.js +10 -11
- package/dist/esm/ADWebcast.js +10 -11
- package/dist/esm/ADWelcome.js +14 -15
- package/dist/esm/{ADlgInfeed-8c4f129e.js → ADlgInfeed-f7468db8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +6 -7
- package/dist/esm/AdSlotsProvider.js +10 -903
- package/dist/esm/AlgoliaSearch.js +41 -14005
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +22 -22
- package/dist/esm/ArticleSeriesLandingPage.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +37 -38
- package/dist/esm/Auth.js +217 -1181
- package/dist/esm/AuthWrapper.js +24 -561
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +31 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +65 -66
- package/dist/esm/{Dfp-b7236041.js → Dfp-85c9513e.js} +10 -11
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +43 -43
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +173 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +100 -100
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -36
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -18
- package/dist/esm/MasterDeck.js +55 -56
- package/dist/esm/MediaSeriesLanding.js +561 -672
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +103 -103
- package/dist/esm/NavNative.js +92 -92
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +178 -79
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +18 -19
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +252 -253
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +21 -22
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-05ecb544.js} +28 -28
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +18 -18
- package/dist/esm/TemplateNormal.js +32 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +34 -34
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +18 -19
- package/dist/esm/VideoSeriesListing.js +54 -55
- package/dist/esm/View.js +191 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +13 -13
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-41a678ea.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-2fccaa7f.js → index-d1dee060.js} +901 -1162
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- 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-8ee5ff72.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 +54 -53
- package/dist/esm/{inherits-cf8dde54.js → inherits-0d8cda6e.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- package/dist/esm/inherits-77d5e4fc.js +0 -101
package/dist/esm/View.js
CHANGED
|
@@ -6,31 +6,30 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
17
|
-
import './
|
|
18
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
19
18
|
import 'prop-types';
|
|
20
19
|
import 'react-bootstrap/Row';
|
|
21
20
|
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
23
22
|
import { useRouter } from 'next/router';
|
|
24
23
|
import './isSymbol-1981418f.js';
|
|
25
24
|
import './debounce-9207d8ee.js';
|
|
26
25
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
28
27
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
30
|
-
import './index-
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './index-51a80699.js';
|
|
31
30
|
import urlFor from './urlFor.js';
|
|
32
|
-
import './index-
|
|
33
|
-
import { m as
|
|
31
|
+
import './index-6c12bdd5.js';
|
|
32
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
34
33
|
import './entities-7cc3bf45.js';
|
|
35
34
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
35
|
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
@@ -38,17 +37,17 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1
|
|
|
38
37
|
import './Segment.js';
|
|
39
38
|
import './Beam.js';
|
|
40
39
|
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import Button
|
|
42
|
-
import { B as BlockContent } from './BlockContent-
|
|
40
|
+
import Button from 'react-bootstrap/Button';
|
|
41
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
43
42
|
import './index-c7e2ac95.js';
|
|
44
43
|
import './smoothscroll-0cd4c7a6.js';
|
|
45
44
|
import './GroupDeck.js';
|
|
46
45
|
import 'react-bootstrap';
|
|
47
46
|
import './iconBase-602d52fe.js';
|
|
48
|
-
import './index.esm-
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
47
|
+
import './index.esm-3fdda599.js';
|
|
48
|
+
import { r as renderAuthor, g as getSerializers } from './index-d1dee060.js';
|
|
50
49
|
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
52
51
|
import Head from 'next/head';
|
|
53
52
|
import 'react-share';
|
|
54
53
|
import SocialShare from './SocialShare.js';
|
|
@@ -58,17 +57,18 @@ import 'react-bootstrap/Figure';
|
|
|
58
57
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
58
|
import 'react-bootstrap/Tooltip';
|
|
60
59
|
import 'react-bootstrap/Popover';
|
|
60
|
+
import 'react-script-tag';
|
|
61
61
|
import Form from 'react-bootstrap/Form';
|
|
62
62
|
import FormControl from 'react-bootstrap/FormControl';
|
|
63
63
|
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
64
64
|
import 'react-bootstrap/Dropdown';
|
|
65
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
65
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
66
66
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
67
67
|
import './index-db3bb315.js';
|
|
68
68
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
69
69
|
import getQuery from './getQuery.js';
|
|
70
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
71
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
70
|
+
import { S as SeriesSlider } from './SeriesSlider-05ecb544.js';
|
|
71
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9cb7e014.js';
|
|
72
72
|
import getKeywords from './getKeywords.js';
|
|
73
73
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
74
74
|
import { DiscussionEmbed } from 'disqus-react';
|
|
@@ -149,17 +149,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
149
149
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
return
|
|
152
|
+
return React.createElement(
|
|
153
153
|
'a',
|
|
154
154
|
{
|
|
155
155
|
href: url,
|
|
156
156
|
className: 'doc-group',
|
|
157
157
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
158
|
-
thumbnailUrl &&
|
|
159
|
-
!thumbnailUrl &&
|
|
160
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
158
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
159
|
+
!thumbnailUrl && React.createElement('p', {
|
|
160
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
161
161
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
162
|
-
|
|
162
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
163
163
|
'style',
|
|
164
164
|
{ jsx: 'true' },
|
|
165
165
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -299,38 +299,38 @@ var ISI = function ISI(props) {
|
|
|
299
299
|
}, 300);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
|
-
return
|
|
303
|
-
|
|
302
|
+
return React.createElement(
|
|
303
|
+
React.Fragment,
|
|
304
304
|
null,
|
|
305
|
-
|
|
305
|
+
React.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isi', ref: isi },
|
|
308
|
-
|
|
308
|
+
React.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ id: 'isiContent' },
|
|
311
|
-
|
|
311
|
+
React.createElement(
|
|
312
312
|
'div',
|
|
313
313
|
{ onClick: function onClick() {
|
|
314
314
|
return setActive(function (prev) {
|
|
315
315
|
return !prev;
|
|
316
316
|
});
|
|
317
317
|
}, id: 'isiToggle' },
|
|
318
|
-
active ?
|
|
318
|
+
active ? React.createElement(
|
|
319
319
|
'p',
|
|
320
320
|
null,
|
|
321
321
|
'Close ',
|
|
322
|
-
|
|
323
|
-
) :
|
|
322
|
+
React.createElement(FaMinus, null)
|
|
323
|
+
) : React.createElement(
|
|
324
324
|
'p',
|
|
325
325
|
null,
|
|
326
326
|
'See More ',
|
|
327
|
-
|
|
327
|
+
React.createElement(FaPlus, null)
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
330
|
children
|
|
331
331
|
)
|
|
332
332
|
),
|
|
333
|
-
|
|
333
|
+
React.createElement(
|
|
334
334
|
'style',
|
|
335
335
|
{ jsx: true },
|
|
336
336
|
'\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 '
|
|
@@ -338,7 +338,7 @@ var ISI = function ISI(props) {
|
|
|
338
338
|
);
|
|
339
339
|
};
|
|
340
340
|
|
|
341
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
341
|
+
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";
|
|
342
342
|
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" };
|
|
343
343
|
styleInject(css);
|
|
344
344
|
|
|
@@ -352,33 +352,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
352
352
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
353
353
|
return null;
|
|
354
354
|
}
|
|
355
|
-
return
|
|
355
|
+
return React.createElement(
|
|
356
356
|
'div',
|
|
357
357
|
{ className: styles.mediaContainer },
|
|
358
358
|
articles.map(function (article, index) {
|
|
359
|
-
return
|
|
359
|
+
return React.createElement(
|
|
360
360
|
'div',
|
|
361
361
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
362
|
-
|
|
362
|
+
React.createElement(
|
|
363
363
|
'a',
|
|
364
364
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
365
|
-
article.thumbnail ?
|
|
365
|
+
article.thumbnail ? React.createElement('img', {
|
|
366
366
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
367
367
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
368
368
|
alt: article.title
|
|
369
|
-
}) :
|
|
370
|
-
|
|
369
|
+
}) : React.createElement(
|
|
370
|
+
React.Fragment,
|
|
371
371
|
null,
|
|
372
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
372
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
373
373
|
)
|
|
374
374
|
),
|
|
375
|
-
|
|
375
|
+
React.createElement(
|
|
376
376
|
'div',
|
|
377
377
|
{ className: styles.mediaBody },
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'a',
|
|
380
380
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
381
|
-
|
|
381
|
+
React.createElement(
|
|
382
382
|
'div',
|
|
383
383
|
{ className: styles.cardTitle },
|
|
384
384
|
article.title
|
|
@@ -512,7 +512,7 @@ function generateSchema(props) {
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
var Schema = function Schema(props) {
|
|
515
|
-
return
|
|
515
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
516
516
|
};
|
|
517
517
|
|
|
518
518
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -703,7 +703,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
703
703
|
};
|
|
704
704
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
705
705
|
if (biography) {
|
|
706
|
-
return
|
|
706
|
+
return React.createElement(BlockContent, _extends({
|
|
707
707
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
708
708
|
blocks: [biography]
|
|
709
709
|
}, client.config()));
|
|
@@ -713,9 +713,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
713
713
|
var url = article.url.current;
|
|
714
714
|
|
|
715
715
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
716
|
-
return
|
|
716
|
+
return React.createElement(ISIContent, null);
|
|
717
717
|
} else if (nationalPage === url && ISIContent) {
|
|
718
|
-
return
|
|
718
|
+
return React.createElement(ISIContent, { national: true });
|
|
719
719
|
}
|
|
720
720
|
return null;
|
|
721
721
|
};
|
|
@@ -749,19 +749,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
749
749
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
750
750
|
}
|
|
751
751
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
752
|
-
return
|
|
752
|
+
return React.createElement(
|
|
753
753
|
'div',
|
|
754
754
|
null,
|
|
755
755
|
relatedLinks.map(function (relatedLink, index) {
|
|
756
|
-
return
|
|
756
|
+
return React.createElement(
|
|
757
757
|
'span',
|
|
758
758
|
{ key: index, className: 'related-link' },
|
|
759
|
-
|
|
759
|
+
React.createElement(
|
|
760
760
|
'a',
|
|
761
761
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
762
762
|
relatedLink.label
|
|
763
763
|
),
|
|
764
|
-
|
|
764
|
+
React.createElement(
|
|
765
765
|
'style',
|
|
766
766
|
{ jsx: 'true' },
|
|
767
767
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -776,23 +776,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
776
776
|
};
|
|
777
777
|
|
|
778
778
|
var RelatedContent = function RelatedContent() {
|
|
779
|
-
return
|
|
779
|
+
return React.createElement(
|
|
780
780
|
'section',
|
|
781
781
|
{ id: 'related-content-section', className: 'my-1' },
|
|
782
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
782
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
783
783
|
'p',
|
|
784
784
|
{ className: 'mb-0' },
|
|
785
|
-
|
|
785
|
+
React.createElement(
|
|
786
786
|
'b',
|
|
787
787
|
null,
|
|
788
788
|
'Related Content:'
|
|
789
789
|
)
|
|
790
790
|
),
|
|
791
|
-
|
|
792
|
-
|
|
791
|
+
React.createElement(RelevantTopics, null),
|
|
792
|
+
React.createElement(
|
|
793
793
|
'div',
|
|
794
794
|
{ className: 'pt-2' },
|
|
795
|
-
|
|
795
|
+
React.createElement(RelatedArticle, {
|
|
796
796
|
articles: article.relatedArticle,
|
|
797
797
|
client: client,
|
|
798
798
|
fallbackImage: props.Settings.logo,
|
|
@@ -803,29 +803,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
803
803
|
};
|
|
804
804
|
|
|
805
805
|
var form = function form() {
|
|
806
|
-
return
|
|
807
|
-
|
|
806
|
+
return React.createElement(
|
|
807
|
+
React.Fragment,
|
|
808
808
|
null,
|
|
809
|
-
|
|
809
|
+
React.createElement(
|
|
810
810
|
Head,
|
|
811
811
|
null,
|
|
812
|
-
|
|
812
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
813
813
|
),
|
|
814
|
-
|
|
814
|
+
React.createElement(
|
|
815
815
|
'div',
|
|
816
816
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
Form,
|
|
819
819
|
{
|
|
820
820
|
inline: true,
|
|
821
821
|
onSubmit: function onSubmit(e) {
|
|
822
822
|
e.preventDefault();
|
|
823
823
|
} },
|
|
824
|
-
|
|
824
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
825
825
|
return setPasswordKey(e.target.value);
|
|
826
826
|
}, placeholder: 'Password' }),
|
|
827
|
-
|
|
828
|
-
Button
|
|
827
|
+
React.createElement(
|
|
828
|
+
Button,
|
|
829
829
|
{
|
|
830
830
|
variant: 'primary',
|
|
831
831
|
onClick: function onClick() {
|
|
@@ -874,31 +874,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
874
874
|
setContextualADFlag(true);
|
|
875
875
|
}
|
|
876
876
|
};
|
|
877
|
-
return
|
|
878
|
-
|
|
877
|
+
return React.createElement(
|
|
878
|
+
React.Fragment,
|
|
879
879
|
null,
|
|
880
|
-
|
|
880
|
+
React.createElement(BlockContent, _extends({
|
|
881
881
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
882
882
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
883
883
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
884
884
|
}, client.config())),
|
|
885
|
-
|
|
886
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
887
|
-
|
|
885
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
886
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
887
|
+
React.createElement(
|
|
888
888
|
'div',
|
|
889
889
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
890
|
-
|
|
890
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
891
891
|
refreshFlag: refreshFlag
|
|
892
892
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
893
893
|
}))
|
|
894
894
|
),
|
|
895
|
-
|
|
896
|
-
|
|
895
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
896
|
+
React.createElement(
|
|
897
897
|
'div',
|
|
898
898
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
899
|
-
|
|
899
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
900
900
|
),
|
|
901
|
-
|
|
901
|
+
React.createElement(BlockContent, _extends({
|
|
902
902
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
903
903
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
904
904
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -923,26 +923,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
923
923
|
if (seriesInfo.hasVideo) {
|
|
924
924
|
_selectedIndex = seriesInfo.videoIndex;
|
|
925
925
|
}
|
|
926
|
-
return
|
|
927
|
-
|
|
926
|
+
return React.createElement(
|
|
927
|
+
React.Fragment,
|
|
928
928
|
null,
|
|
929
|
-
|
|
929
|
+
React.createElement(BlockContent, _extends({
|
|
930
930
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
931
931
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
932
932
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
933
933
|
}, client.config())),
|
|
934
|
-
contextualADFlag &&
|
|
935
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
936
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
934
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
935
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
936
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
937
937
|
'div',
|
|
938
938
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
939
|
-
|
|
939
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
940
940
|
refreshFlag: refreshFlag
|
|
941
941
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
942
942
|
}))
|
|
943
943
|
),
|
|
944
|
-
contextualADFlag &&
|
|
945
|
-
|
|
944
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
945
|
+
React.createElement(BlockContent, _extends({
|
|
946
946
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
947
947
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
948
948
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -972,22 +972,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
972
972
|
}
|
|
973
973
|
};
|
|
974
974
|
|
|
975
|
-
return
|
|
976
|
-
|
|
975
|
+
return React.createElement(
|
|
976
|
+
React.Fragment,
|
|
977
977
|
null,
|
|
978
|
-
|
|
978
|
+
React.createElement(BlockContent, _extends({
|
|
979
979
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
980
980
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
981
981
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
982
982
|
}, client.config())),
|
|
983
|
-
|
|
984
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
985
|
-
|
|
983
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
984
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
985
|
+
React.createElement(
|
|
986
986
|
'div',
|
|
987
987
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
988
|
-
|
|
988
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
989
989
|
),
|
|
990
|
-
|
|
990
|
+
React.createElement(BlockContent, _extends({
|
|
991
991
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
992
992
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
993
993
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -999,16 +999,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
999
999
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
return
|
|
1002
|
+
return React.createElement(
|
|
1003
1003
|
'div',
|
|
1004
1004
|
null,
|
|
1005
|
-
|
|
1005
|
+
React.createElement(BlockContent, _extends({
|
|
1006
1006
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1007
1007
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1008
1008
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1009
1009
|
}, client.config())),
|
|
1010
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1010
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1011
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1012
1012
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1013
1013
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1014
1014
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1094,10 +1094,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1094
1094
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1095
1095
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1096
1096
|
|
|
1097
|
-
return
|
|
1098
|
-
|
|
1097
|
+
return React.createElement(
|
|
1098
|
+
React.Fragment,
|
|
1099
1099
|
null,
|
|
1100
|
-
|
|
1100
|
+
React.createElement(
|
|
1101
1101
|
VisibilitySensor,
|
|
1102
1102
|
{
|
|
1103
1103
|
partialVisibility: true,
|
|
@@ -1110,61 +1110,67 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1110
1110
|
});
|
|
1111
1111
|
}
|
|
1112
1112
|
} },
|
|
1113
|
-
|
|
1113
|
+
React.createElement(
|
|
1114
1114
|
'div',
|
|
1115
1115
|
{ id: 'article__block', ref: ref },
|
|
1116
|
-
|
|
1116
|
+
React.createElement(
|
|
1117
1117
|
'div',
|
|
1118
1118
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1119
1119
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1120
|
-
!isVideoSeries &&
|
|
1120
|
+
!isVideoSeries && React.createElement(
|
|
1121
1121
|
'div',
|
|
1122
1122
|
null,
|
|
1123
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1123
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1124
1124
|
'p',
|
|
1125
1125
|
{ style: { fontSize: '14px' } },
|
|
1126
1126
|
article.documentGroup.name,
|
|
1127
1127
|
' - Episode ',
|
|
1128
1128
|
episodeNumber
|
|
1129
1129
|
),
|
|
1130
|
-
|
|
1130
|
+
React.createElement(
|
|
1131
1131
|
'h1',
|
|
1132
1132
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1133
1133
|
title
|
|
1134
1134
|
)
|
|
1135
1135
|
),
|
|
1136
|
-
|
|
1136
|
+
React.createElement(
|
|
1137
1137
|
'div',
|
|
1138
1138
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1139
|
-
|
|
1139
|
+
React.createElement(
|
|
1140
1140
|
'style',
|
|
1141
1141
|
{ jsx: 'true' },
|
|
1142
1142
|
'\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 '
|
|
1143
1143
|
),
|
|
1144
|
-
|
|
1144
|
+
React.createElement(
|
|
1145
1145
|
'div',
|
|
1146
1146
|
{ className: 'left-wrap' },
|
|
1147
|
-
!isVideoSeries && showPublished &&
|
|
1147
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1148
1148
|
'div',
|
|
1149
1149
|
null,
|
|
1150
|
-
|
|
1150
|
+
React.createElement(
|
|
1151
|
+
'time',
|
|
1152
|
+
{
|
|
1153
|
+
'class': 'meta-date',
|
|
1154
|
+
datetime: moment(published).utc().format(moment.HTML5_FMT.DATETIME_LOCAL_MS) },
|
|
1155
|
+
moment(published).format('LL')
|
|
1156
|
+
)
|
|
1151
1157
|
)
|
|
1152
1158
|
/* Show Published date */
|
|
1153
1159
|
,
|
|
1154
|
-
|
|
1160
|
+
React.createElement(
|
|
1155
1161
|
'div',
|
|
1156
1162
|
{ className: 'mb-3' },
|
|
1157
1163
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1158
|
-
return
|
|
1164
|
+
return React.createElement(
|
|
1159
1165
|
'span',
|
|
1160
1166
|
{ key: index },
|
|
1161
1167
|
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 }))
|
|
1162
1168
|
);
|
|
1163
1169
|
}),
|
|
1164
|
-
|
|
1170
|
+
React.createElement(
|
|
1165
1171
|
'div',
|
|
1166
1172
|
null,
|
|
1167
|
-
source &&
|
|
1173
|
+
source && React.createElement(
|
|
1168
1174
|
'p',
|
|
1169
1175
|
{
|
|
1170
1176
|
style: {
|
|
@@ -1179,13 +1185,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1179
1185
|
source
|
|
1180
1186
|
)
|
|
1181
1187
|
),
|
|
1182
|
-
issue &&
|
|
1188
|
+
issue && React.createElement(
|
|
1183
1189
|
'div',
|
|
1184
1190
|
{ className: 'volume-issue' },
|
|
1185
|
-
issue.publication && issue.publication.name &&
|
|
1191
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1186
1192
|
'span',
|
|
1187
1193
|
{ className: 'mb-0' },
|
|
1188
|
-
|
|
1194
|
+
React.createElement(
|
|
1189
1195
|
'b',
|
|
1190
1196
|
null,
|
|
1191
1197
|
issue.publication.name
|
|
@@ -1193,34 +1199,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1193
1199
|
',',
|
|
1194
1200
|
' '
|
|
1195
1201
|
),
|
|
1196
|
-
issue.name &&
|
|
1202
|
+
issue.name && React.createElement(
|
|
1197
1203
|
'span',
|
|
1198
1204
|
{ className: 'mb-0' },
|
|
1199
1205
|
issue.name,
|
|
1200
1206
|
', '
|
|
1201
1207
|
),
|
|
1202
|
-
issue.volume &&
|
|
1208
|
+
issue.volume && React.createElement(
|
|
1203
1209
|
'span',
|
|
1204
1210
|
null,
|
|
1205
1211
|
'Volume ' + issue.volume,
|
|
1206
1212
|
','
|
|
1207
1213
|
),
|
|
1208
|
-
issue.issueNumber &&
|
|
1214
|
+
issue.issueNumber && React.createElement(
|
|
1209
1215
|
'span',
|
|
1210
1216
|
null,
|
|
1211
1217
|
' Issue ' + issue.issueNumber
|
|
1212
1218
|
)
|
|
1213
1219
|
),
|
|
1214
|
-
pageNumber &&
|
|
1220
|
+
pageNumber && React.createElement(
|
|
1215
1221
|
'div',
|
|
1216
1222
|
{ className: 'article-pageNumber' },
|
|
1217
1223
|
'Pages: ' + pageNumber
|
|
1218
1224
|
)
|
|
1219
1225
|
),
|
|
1220
|
-
!isVideoSeries && showSocialShare &&
|
|
1226
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1221
1227
|
'p',
|
|
1222
1228
|
null,
|
|
1223
|
-
|
|
1229
|
+
React.createElement(SocialShare, {
|
|
1224
1230
|
shareUrl: shareUrl,
|
|
1225
1231
|
shareTitle: shareTitle,
|
|
1226
1232
|
shareVia: shareVia,
|
|
@@ -1236,27 +1242,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1236
1242
|
})
|
|
1237
1243
|
)
|
|
1238
1244
|
),
|
|
1239
|
-
|
|
1245
|
+
React.createElement(
|
|
1240
1246
|
'div',
|
|
1241
1247
|
null,
|
|
1242
|
-
|
|
1248
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1243
1249
|
)
|
|
1244
1250
|
),
|
|
1245
|
-
!isVideoSeries && summary && display_summary &&
|
|
1251
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1246
1252
|
'p',
|
|
1247
1253
|
null,
|
|
1248
|
-
|
|
1254
|
+
React.createElement(
|
|
1249
1255
|
'em',
|
|
1250
1256
|
null,
|
|
1251
1257
|
summary
|
|
1252
1258
|
)
|
|
1253
1259
|
),
|
|
1254
|
-
|
|
1260
|
+
React.createElement(
|
|
1255
1261
|
'div',
|
|
1256
1262
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1257
|
-
|
|
1263
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1258
1264
|
if (index === 0) {
|
|
1259
|
-
return
|
|
1265
|
+
return React.createElement(
|
|
1260
1266
|
'div',
|
|
1261
1267
|
{
|
|
1262
1268
|
key: index,
|
|
@@ -1273,24 +1279,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1273
1279
|
}
|
|
1274
1280
|
})
|
|
1275
1281
|
),
|
|
1276
|
-
|
|
1282
|
+
React.createElement(
|
|
1277
1283
|
'div',
|
|
1278
1284
|
{ className: 'block-content mt-3' },
|
|
1279
1285
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1280
|
-
|
|
1281
|
-
|
|
1286
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1287
|
+
React.createElement(
|
|
1282
1288
|
'noscript',
|
|
1283
1289
|
null,
|
|
1284
|
-
|
|
1290
|
+
React.createElement(
|
|
1285
1291
|
'div',
|
|
1286
1292
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1287
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1293
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1288
1294
|
'a',
|
|
1289
1295
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1290
1296
|
'Previous ',
|
|
1291
1297
|
props.article.seriesDetail.type
|
|
1292
1298
|
),
|
|
1293
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1299
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1294
1300
|
'a',
|
|
1295
1301
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1296
1302
|
'Next ',
|
|
@@ -1298,26 +1304,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1298
1304
|
)
|
|
1299
1305
|
)
|
|
1300
1306
|
),
|
|
1301
|
-
issue && issue.url &&
|
|
1307
|
+
issue && issue.url && React.createElement(
|
|
1302
1308
|
'a',
|
|
1303
1309
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1304
|
-
|
|
1310
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1305
1311
|
'Download Issue : ',
|
|
1306
1312
|
issue.name
|
|
1307
1313
|
)
|
|
1308
1314
|
),
|
|
1309
|
-
|
|
1310
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1315
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1316
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1311
1317
|
'div',
|
|
1312
1318
|
null,
|
|
1313
1319
|
false ,
|
|
1314
|
-
|
|
1320
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1315
1321
|
),
|
|
1316
|
-
showRelatedArticles && !showIsi &&
|
|
1317
|
-
disqusConfig && showDisqus &&
|
|
1322
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1323
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1318
1324
|
'div',
|
|
1319
1325
|
{ id: 'disqusContainer' },
|
|
1320
|
-
|
|
1326
|
+
React.createElement(DiscussionEmbed, {
|
|
1321
1327
|
shortname: disqusConfig.shortname,
|
|
1322
1328
|
config: {
|
|
1323
1329
|
url: disqusConfig.url,
|
|
@@ -1330,30 +1336,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1330
1336
|
renderIsiContent(props.article)
|
|
1331
1337
|
)
|
|
1332
1338
|
),
|
|
1333
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1339
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1334
1340
|
ISI,
|
|
1335
1341
|
null,
|
|
1336
|
-
|
|
1342
|
+
React.createElement(BlockContent, {
|
|
1337
1343
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1338
1344
|
blocks: isi
|
|
1339
1345
|
})
|
|
1340
1346
|
),
|
|
1341
|
-
|
|
1347
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1342
1348
|
if (index > 0) {
|
|
1343
|
-
return
|
|
1349
|
+
return React.createElement(
|
|
1344
1350
|
'div',
|
|
1345
1351
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1346
1352
|
ad.component
|
|
1347
1353
|
);
|
|
1348
1354
|
}
|
|
1349
1355
|
}),
|
|
1350
|
-
|
|
1356
|
+
React.createElement(
|
|
1351
1357
|
'noscript',
|
|
1352
1358
|
null,
|
|
1353
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1359
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1354
1360
|
'div',
|
|
1355
1361
|
{ style: { textAlign: 'center' } },
|
|
1356
|
-
|
|
1362
|
+
React.createElement(
|
|
1357
1363
|
'a',
|
|
1358
1364
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1359
1365
|
'Related Article ',
|
|
@@ -1361,8 +1367,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1361
1367
|
)
|
|
1362
1368
|
)
|
|
1363
1369
|
),
|
|
1364
|
-
props.infiniteScroll &&
|
|
1365
|
-
|
|
1370
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1371
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1366
1372
|
);
|
|
1367
1373
|
};
|
|
1368
1374
|
|
|
@@ -1437,7 +1443,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1437
1443
|
return item.url.current === path;
|
|
1438
1444
|
});
|
|
1439
1445
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1440
|
-
if (!
|
|
1446
|
+
if (!main_40) {
|
|
1441
1447
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1442
1448
|
if (window.googletag && googletag.pubadsReady) {
|
|
1443
1449
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1454,7 +1460,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1454
1460
|
});
|
|
1455
1461
|
}
|
|
1456
1462
|
//Refresh leaderboard ad on mobile
|
|
1457
|
-
if (
|
|
1463
|
+
if (main_40) {
|
|
1458
1464
|
var leaderboardSlotId = '';
|
|
1459
1465
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1460
1466
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1636,14 +1642,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1636
1642
|
refreshAD(path);
|
|
1637
1643
|
};
|
|
1638
1644
|
|
|
1639
|
-
return
|
|
1645
|
+
return React.createElement(
|
|
1640
1646
|
InfiniteScroll,
|
|
1641
1647
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1642
1648
|
queueData.map(function (article, index) {
|
|
1643
|
-
return
|
|
1644
|
-
|
|
1649
|
+
return React.createElement(
|
|
1650
|
+
React.Fragment,
|
|
1645
1651
|
null,
|
|
1646
|
-
|
|
1652
|
+
React.createElement(Article, _extends({
|
|
1647
1653
|
key: index
|
|
1648
1654
|
}, props, {
|
|
1649
1655
|
containerHeight: containerHeight,
|
|
@@ -1785,63 +1791,63 @@ var View = function View(props) {
|
|
|
1785
1791
|
|
|
1786
1792
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1787
1793
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1788
|
-
return
|
|
1789
|
-
|
|
1794
|
+
return React.createElement(
|
|
1795
|
+
React.Fragment,
|
|
1790
1796
|
null,
|
|
1791
|
-
|
|
1797
|
+
React.createElement(
|
|
1792
1798
|
Head,
|
|
1793
1799
|
null,
|
|
1794
|
-
|
|
1800
|
+
React.createElement(
|
|
1795
1801
|
'title',
|
|
1796
1802
|
{ key: 'title' },
|
|
1797
1803
|
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 : '')
|
|
1798
1804
|
),
|
|
1799
|
-
metaDescriptionSanity ?
|
|
1800
|
-
|
|
1801
|
-
passwordLock &&
|
|
1802
|
-
|
|
1805
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1806
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1807
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1808
|
+
React.createElement('meta', {
|
|
1803
1809
|
property: 'og:url',
|
|
1804
1810
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1805
1811
|
key: 'og:url'
|
|
1806
1812
|
}),
|
|
1807
|
-
|
|
1813
|
+
React.createElement('meta', {
|
|
1808
1814
|
property: 'og:title',
|
|
1809
1815
|
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 : ''),
|
|
1810
1816
|
key: 'og:title'
|
|
1811
1817
|
}),
|
|
1812
|
-
|
|
1818
|
+
React.createElement('meta', {
|
|
1813
1819
|
property: 'og:image',
|
|
1814
1820
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1815
1821
|
key: 'og:image'
|
|
1816
1822
|
}),
|
|
1817
|
-
|
|
1818
|
-
metaDescriptionSanity ?
|
|
1819
|
-
|
|
1820
|
-
|
|
1823
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1824
|
+
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 }),
|
|
1825
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1826
|
+
React.createElement('meta', {
|
|
1821
1827
|
name: 'twitter:title',
|
|
1822
1828
|
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 : ''),
|
|
1823
1829
|
key: 'twitter:title'
|
|
1824
1830
|
}),
|
|
1825
|
-
|
|
1831
|
+
React.createElement('meta', {
|
|
1826
1832
|
name: 'twitter:image',
|
|
1827
1833
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1828
1834
|
key: 'twitter:image'
|
|
1829
1835
|
}),
|
|
1830
|
-
|
|
1831
|
-
metaDescriptionSanity ?
|
|
1832
|
-
canonicalTag &&
|
|
1836
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1837
|
+
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 }),
|
|
1838
|
+
canonicalTag && React.createElement('link', {
|
|
1833
1839
|
rel: 'canonical',
|
|
1834
1840
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1835
1841
|
key: 'canonical'
|
|
1836
1842
|
}),
|
|
1837
|
-
|
|
1843
|
+
React.createElement(
|
|
1838
1844
|
'noscript',
|
|
1839
1845
|
null,
|
|
1840
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1841
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1846
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1847
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1842
1848
|
)
|
|
1843
1849
|
),
|
|
1844
|
-
!needInfiniteScroll ?
|
|
1850
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1845
1851
|
infiniteScroll: true,
|
|
1846
1852
|
showRelatedArticles: showRelatedArticles,
|
|
1847
1853
|
canonicalTag: canonicalTag,
|