@mjhls/mjh-framework 1.0.866 → 1.0.867
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 +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-7d13830e.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-d9dbfadc.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +4 -6
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +25 -26
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-ad4e6a69.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-0cbd7bed.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-2d1a52d9.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +4 -6
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +189 -190
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-5e84f9cd.js → index-61397130.js} +452 -431
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/View.js
CHANGED
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
4
|
-
import
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-
|
|
11
|
-
import { m as main_43 } from './main-
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-61397130.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-485f514e.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
24
|
+
import { _ as _typeof } from './typeof-83d9eb10.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
26
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
28
|
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-
|
|
31
|
-
import { l as lib_3 } from './index-
|
|
29
|
+
import { _ as _Object$keys } from './keys-425c8ab0.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
32
32
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
33
|
import getQuery from './getQuery.js';
|
|
34
34
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
36
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
37
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
39
38
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
39
|
+
import './_iter-detect-f089461c.js';
|
|
42
40
|
import './_object-pie-133f504a.js';
|
|
43
41
|
import 'prop-types';
|
|
44
42
|
import './index-0dbff1d1.js';
|
|
@@ -49,20 +47,20 @@ import './index-c7e2ac95.js';
|
|
|
49
47
|
import './util-3ab476bf.js';
|
|
50
48
|
import './Beam.js';
|
|
51
49
|
import './Segment.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
53
51
|
import './GroupDeck.js';
|
|
54
52
|
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
-
import './_is-array-
|
|
56
|
-
import './_object-to-array-
|
|
53
|
+
import './_is-array-893ab020.js';
|
|
54
|
+
import './_object-to-array-50a6b9a3.js';
|
|
57
55
|
import 'react-bootstrap/Pagination';
|
|
58
56
|
import './entities-932b50cf.js';
|
|
59
57
|
import 'react-bootstrap/Row';
|
|
60
58
|
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-
|
|
62
|
-
import './_object-sap-
|
|
63
|
-
import './define-property-
|
|
64
|
-
import './index.esm-
|
|
65
|
-
import './iconBase-
|
|
59
|
+
import './inherits-8a801a18.js';
|
|
60
|
+
import './_object-sap-169d6272.js';
|
|
61
|
+
import './define-property-99e66838.js';
|
|
62
|
+
import './index.esm-3fdda599.js';
|
|
63
|
+
import './iconBase-602d52fe.js';
|
|
66
64
|
import 'react-bootstrap/Figure';
|
|
67
65
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
66
|
import 'react-bootstrap/Tooltip';
|
|
@@ -70,6 +68,7 @@ import 'react-bootstrap/Popover';
|
|
|
70
68
|
import './debounce-533d9748.js';
|
|
71
69
|
import './isSymbol-a7e9aafe.js';
|
|
72
70
|
import './toNumber-5aeba6e7.js';
|
|
71
|
+
import './events-6c3a7a63.js';
|
|
73
72
|
import './index-db3bb315.js';
|
|
74
73
|
|
|
75
74
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -148,17 +147,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
148
147
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
149
148
|
}
|
|
150
149
|
|
|
151
|
-
return
|
|
150
|
+
return React.createElement(
|
|
152
151
|
'a',
|
|
153
152
|
{
|
|
154
153
|
href: url,
|
|
155
154
|
className: 'doc-group',
|
|
156
155
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
157
|
-
thumbnailUrl &&
|
|
158
|
-
!thumbnailUrl &&
|
|
156
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
157
|
+
!thumbnailUrl && React.createElement('p', {
|
|
159
158
|
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
160
159
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
161
|
-
main_43 && !thumbnailUrl &&
|
|
160
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
162
161
|
'style',
|
|
163
162
|
{ jsx: 'true' },
|
|
164
163
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -298,38 +297,38 @@ var ISI = function ISI(props) {
|
|
|
298
297
|
}, 300);
|
|
299
298
|
}
|
|
300
299
|
};
|
|
301
|
-
return
|
|
302
|
-
|
|
300
|
+
return React.createElement(
|
|
301
|
+
React.Fragment,
|
|
303
302
|
null,
|
|
304
|
-
|
|
303
|
+
React.createElement(
|
|
305
304
|
'div',
|
|
306
305
|
{ id: 'isi', ref: isi },
|
|
307
|
-
|
|
306
|
+
React.createElement(
|
|
308
307
|
'div',
|
|
309
308
|
{ id: 'isiContent' },
|
|
310
|
-
|
|
309
|
+
React.createElement(
|
|
311
310
|
'div',
|
|
312
311
|
{ onClick: function onClick() {
|
|
313
312
|
return setActive(function (prev) {
|
|
314
313
|
return !prev;
|
|
315
314
|
});
|
|
316
315
|
}, id: 'isiToggle' },
|
|
317
|
-
active ?
|
|
316
|
+
active ? React.createElement(
|
|
318
317
|
'p',
|
|
319
318
|
null,
|
|
320
319
|
'Close ',
|
|
321
|
-
|
|
322
|
-
) :
|
|
320
|
+
React.createElement(FaMinus, null)
|
|
321
|
+
) : React.createElement(
|
|
323
322
|
'p',
|
|
324
323
|
null,
|
|
325
324
|
'See More ',
|
|
326
|
-
|
|
325
|
+
React.createElement(FaPlus, null)
|
|
327
326
|
)
|
|
328
327
|
),
|
|
329
328
|
children
|
|
330
329
|
)
|
|
331
330
|
),
|
|
332
|
-
|
|
331
|
+
React.createElement(
|
|
333
332
|
'style',
|
|
334
333
|
{ jsx: true },
|
|
335
334
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -337,7 +336,7 @@ var ISI = function ISI(props) {
|
|
|
337
336
|
);
|
|
338
337
|
};
|
|
339
338
|
|
|
340
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
339
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
341
340
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
342
341
|
styleInject(css);
|
|
343
342
|
|
|
@@ -351,33 +350,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
351
350
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
352
351
|
return null;
|
|
353
352
|
}
|
|
354
|
-
return
|
|
353
|
+
return React.createElement(
|
|
355
354
|
'div',
|
|
356
355
|
{ className: styles.mediaContainer },
|
|
357
356
|
articles.map(function (article, index) {
|
|
358
|
-
return
|
|
357
|
+
return React.createElement(
|
|
359
358
|
'div',
|
|
360
359
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
361
|
-
|
|
360
|
+
React.createElement(
|
|
362
361
|
'a',
|
|
363
362
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
364
|
-
article.thumbnail ?
|
|
363
|
+
article.thumbnail ? React.createElement('img', {
|
|
365
364
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
366
365
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
367
366
|
alt: article.title
|
|
368
|
-
}) :
|
|
369
|
-
|
|
367
|
+
}) : React.createElement(
|
|
368
|
+
React.Fragment,
|
|
370
369
|
null,
|
|
371
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
370
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
372
371
|
)
|
|
373
372
|
),
|
|
374
|
-
|
|
373
|
+
React.createElement(
|
|
375
374
|
'div',
|
|
376
375
|
{ className: styles.mediaBody },
|
|
377
|
-
|
|
376
|
+
React.createElement(
|
|
378
377
|
'a',
|
|
379
378
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
380
|
-
|
|
379
|
+
React.createElement(
|
|
381
380
|
'div',
|
|
382
381
|
{ className: styles.cardTitle },
|
|
383
382
|
article.title
|
|
@@ -512,7 +511,7 @@ function generateSchema(props) {
|
|
|
512
511
|
}
|
|
513
512
|
|
|
514
513
|
var Schema = function Schema(props) {
|
|
515
|
-
return
|
|
514
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
516
515
|
};
|
|
517
516
|
|
|
518
517
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -703,7 +702,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
703
702
|
};
|
|
704
703
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
705
704
|
if (biography) {
|
|
706
|
-
return
|
|
705
|
+
return React.createElement(BlockContent, _extends({
|
|
707
706
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
708
707
|
blocks: [biography]
|
|
709
708
|
}, client.config()));
|
|
@@ -713,9 +712,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
713
712
|
var url = article.url.current;
|
|
714
713
|
|
|
715
714
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
716
|
-
return
|
|
715
|
+
return React.createElement(ISIContent, null);
|
|
717
716
|
} else if (nationalPage === url && ISIContent) {
|
|
718
|
-
return
|
|
717
|
+
return React.createElement(ISIContent, { national: true });
|
|
719
718
|
}
|
|
720
719
|
return null;
|
|
721
720
|
};
|
|
@@ -749,19 +748,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
749
748
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
750
749
|
}
|
|
751
750
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
752
|
-
return
|
|
751
|
+
return React.createElement(
|
|
753
752
|
'div',
|
|
754
753
|
null,
|
|
755
754
|
relatedLinks.map(function (relatedLink, index) {
|
|
756
|
-
return
|
|
755
|
+
return React.createElement(
|
|
757
756
|
'span',
|
|
758
757
|
{ key: index, className: 'related-link' },
|
|
759
|
-
|
|
758
|
+
React.createElement(
|
|
760
759
|
'a',
|
|
761
760
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
762
761
|
relatedLink.label
|
|
763
762
|
),
|
|
764
|
-
|
|
763
|
+
React.createElement(
|
|
765
764
|
'style',
|
|
766
765
|
{ jsx: 'true' },
|
|
767
766
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -776,23 +775,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
776
775
|
};
|
|
777
776
|
|
|
778
777
|
var RelatedContent = function RelatedContent() {
|
|
779
|
-
return
|
|
778
|
+
return React.createElement(
|
|
780
779
|
'section',
|
|
781
780
|
{ id: 'related-content-section', className: 'my-1' },
|
|
782
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
781
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
783
782
|
'p',
|
|
784
783
|
{ className: 'mb-0' },
|
|
785
|
-
|
|
784
|
+
React.createElement(
|
|
786
785
|
'b',
|
|
787
786
|
null,
|
|
788
787
|
'Related Content:'
|
|
789
788
|
)
|
|
790
789
|
),
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
React.createElement(RelevantTopics, null),
|
|
791
|
+
React.createElement(
|
|
793
792
|
'div',
|
|
794
793
|
{ className: 'pt-2' },
|
|
795
|
-
|
|
794
|
+
React.createElement(RelatedArticle, {
|
|
796
795
|
articles: article.relatedArticle,
|
|
797
796
|
client: client,
|
|
798
797
|
fallbackImage: props.Settings.logo,
|
|
@@ -803,28 +802,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
803
802
|
};
|
|
804
803
|
|
|
805
804
|
var form = function form() {
|
|
806
|
-
return
|
|
807
|
-
|
|
805
|
+
return React.createElement(
|
|
806
|
+
React.Fragment,
|
|
808
807
|
null,
|
|
809
|
-
|
|
808
|
+
React.createElement(
|
|
810
809
|
Head,
|
|
811
810
|
null,
|
|
812
|
-
|
|
811
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
813
812
|
),
|
|
814
|
-
|
|
813
|
+
React.createElement(
|
|
815
814
|
'div',
|
|
816
815
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
817
|
-
|
|
816
|
+
React.createElement(
|
|
818
817
|
Form,
|
|
819
818
|
{
|
|
820
819
|
inline: true,
|
|
821
820
|
onSubmit: function onSubmit(e) {
|
|
822
821
|
e.preventDefault();
|
|
823
822
|
} },
|
|
824
|
-
|
|
823
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
825
824
|
return setPasswordKey(e.target.value);
|
|
826
825
|
}, placeholder: 'Password' }),
|
|
827
|
-
|
|
826
|
+
React.createElement(
|
|
828
827
|
Button,
|
|
829
828
|
{
|
|
830
829
|
variant: 'primary',
|
|
@@ -874,31 +873,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
874
873
|
setContextualADFlag(true);
|
|
875
874
|
}
|
|
876
875
|
};
|
|
877
|
-
return
|
|
878
|
-
|
|
876
|
+
return React.createElement(
|
|
877
|
+
React.Fragment,
|
|
879
878
|
null,
|
|
880
|
-
|
|
879
|
+
React.createElement(BlockContent, _extends({
|
|
881
880
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
882
881
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
883
882
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
884
883
|
}, client.config())),
|
|
885
|
-
|
|
886
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
887
|
-
|
|
884
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
885
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
886
|
+
React.createElement(
|
|
888
887
|
'div',
|
|
889
888
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
890
|
-
|
|
889
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
891
890
|
refreshFlag: refreshFlag
|
|
892
891
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
893
892
|
}))
|
|
894
893
|
),
|
|
895
|
-
|
|
896
|
-
|
|
894
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
895
|
+
React.createElement(
|
|
897
896
|
'div',
|
|
898
897
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
899
|
-
|
|
898
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
900
899
|
),
|
|
901
|
-
|
|
900
|
+
React.createElement(BlockContent, _extends({
|
|
902
901
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
903
902
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
904
903
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -923,26 +922,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
923
922
|
if (seriesInfo.hasVideo) {
|
|
924
923
|
_selectedIndex = seriesInfo.videoIndex;
|
|
925
924
|
}
|
|
926
|
-
return
|
|
927
|
-
|
|
925
|
+
return React.createElement(
|
|
926
|
+
React.Fragment,
|
|
928
927
|
null,
|
|
929
|
-
|
|
928
|
+
React.createElement(BlockContent, _extends({
|
|
930
929
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
931
930
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
932
931
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
933
932
|
}, client.config())),
|
|
934
|
-
contextualADFlag &&
|
|
935
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
936
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
933
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
934
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
935
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
937
936
|
'div',
|
|
938
937
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
939
|
-
|
|
938
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
940
939
|
refreshFlag: refreshFlag
|
|
941
940
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
942
941
|
}))
|
|
943
942
|
),
|
|
944
|
-
contextualADFlag &&
|
|
945
|
-
|
|
943
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
944
|
+
React.createElement(BlockContent, _extends({
|
|
946
945
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
947
946
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
948
947
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -972,22 +971,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
972
971
|
}
|
|
973
972
|
};
|
|
974
973
|
|
|
975
|
-
return
|
|
976
|
-
|
|
974
|
+
return React.createElement(
|
|
975
|
+
React.Fragment,
|
|
977
976
|
null,
|
|
978
|
-
|
|
977
|
+
React.createElement(BlockContent, _extends({
|
|
979
978
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
980
979
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
981
980
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
982
981
|
}, client.config())),
|
|
983
|
-
|
|
984
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
985
|
-
|
|
982
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
983
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
984
|
+
React.createElement(
|
|
986
985
|
'div',
|
|
987
986
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
988
|
-
|
|
987
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
989
988
|
),
|
|
990
|
-
|
|
989
|
+
React.createElement(BlockContent, _extends({
|
|
991
990
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
992
991
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
993
992
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -999,16 +998,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
999
998
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1000
999
|
}
|
|
1001
1000
|
|
|
1002
|
-
return
|
|
1001
|
+
return React.createElement(
|
|
1003
1002
|
'div',
|
|
1004
1003
|
null,
|
|
1005
|
-
|
|
1004
|
+
React.createElement(BlockContent, _extends({
|
|
1006
1005
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1007
1006
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1008
1007
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1009
1008
|
}, client.config())),
|
|
1010
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1009
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1010
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1012
1011
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1013
1012
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1014
1013
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1094,10 +1093,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1094
1093
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1095
1094
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1096
1095
|
|
|
1097
|
-
return
|
|
1098
|
-
|
|
1096
|
+
return React.createElement(
|
|
1097
|
+
React.Fragment,
|
|
1099
1098
|
null,
|
|
1100
|
-
|
|
1099
|
+
React.createElement(
|
|
1101
1100
|
VisibilitySensor,
|
|
1102
1101
|
{
|
|
1103
1102
|
partialVisibility: true,
|
|
@@ -1110,44 +1109,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1110
1109
|
});
|
|
1111
1110
|
}
|
|
1112
1111
|
} },
|
|
1113
|
-
|
|
1112
|
+
React.createElement(
|
|
1114
1113
|
'div',
|
|
1115
1114
|
{ id: 'article__block', ref: ref },
|
|
1116
|
-
|
|
1115
|
+
React.createElement(
|
|
1117
1116
|
'div',
|
|
1118
1117
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1119
1118
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1120
|
-
!isVideoSeries &&
|
|
1119
|
+
!isVideoSeries && React.createElement(
|
|
1121
1120
|
'div',
|
|
1122
1121
|
null,
|
|
1123
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1122
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1124
1123
|
'p',
|
|
1125
1124
|
{ style: { fontSize: '14px' } },
|
|
1126
1125
|
article.documentGroup.name,
|
|
1127
1126
|
' - Episode ',
|
|
1128
1127
|
episodeNumber
|
|
1129
1128
|
),
|
|
1130
|
-
|
|
1129
|
+
React.createElement(
|
|
1131
1130
|
'h1',
|
|
1132
1131
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1133
1132
|
title
|
|
1134
1133
|
)
|
|
1135
1134
|
),
|
|
1136
|
-
|
|
1135
|
+
React.createElement(
|
|
1137
1136
|
'div',
|
|
1138
1137
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1139
|
-
|
|
1138
|
+
React.createElement(
|
|
1140
1139
|
'style',
|
|
1141
1140
|
{ jsx: 'true' },
|
|
1142
1141
|
'\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
1142
|
),
|
|
1144
|
-
|
|
1143
|
+
React.createElement(
|
|
1145
1144
|
'div',
|
|
1146
1145
|
{ className: 'left-wrap' },
|
|
1147
|
-
!isVideoSeries && showPublished &&
|
|
1146
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1148
1147
|
'div',
|
|
1149
1148
|
null,
|
|
1150
|
-
|
|
1149
|
+
React.createElement(
|
|
1151
1150
|
'time',
|
|
1152
1151
|
{
|
|
1153
1152
|
'class': 'meta-date',
|
|
@@ -1157,20 +1156,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1157
1156
|
)
|
|
1158
1157
|
/* Show Published date */
|
|
1159
1158
|
,
|
|
1160
|
-
|
|
1159
|
+
React.createElement(
|
|
1161
1160
|
'div',
|
|
1162
1161
|
{ className: 'mb-3' },
|
|
1163
1162
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1164
|
-
return
|
|
1163
|
+
return React.createElement(
|
|
1165
1164
|
'span',
|
|
1166
1165
|
{ key: index },
|
|
1167
1166
|
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 }))
|
|
1168
1167
|
);
|
|
1169
1168
|
}),
|
|
1170
|
-
|
|
1169
|
+
React.createElement(
|
|
1171
1170
|
'div',
|
|
1172
1171
|
null,
|
|
1173
|
-
source &&
|
|
1172
|
+
source && React.createElement(
|
|
1174
1173
|
'p',
|
|
1175
1174
|
{
|
|
1176
1175
|
style: {
|
|
@@ -1185,13 +1184,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1185
1184
|
source
|
|
1186
1185
|
)
|
|
1187
1186
|
),
|
|
1188
|
-
issue &&
|
|
1187
|
+
issue && React.createElement(
|
|
1189
1188
|
'div',
|
|
1190
1189
|
{ className: 'volume-issue' },
|
|
1191
|
-
issue.publication && issue.publication.name &&
|
|
1190
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1192
1191
|
'span',
|
|
1193
1192
|
{ className: 'mb-0' },
|
|
1194
|
-
|
|
1193
|
+
React.createElement(
|
|
1195
1194
|
'b',
|
|
1196
1195
|
null,
|
|
1197
1196
|
issue.publication.name
|
|
@@ -1199,34 +1198,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1199
1198
|
',',
|
|
1200
1199
|
' '
|
|
1201
1200
|
),
|
|
1202
|
-
issue.name &&
|
|
1201
|
+
issue.name && React.createElement(
|
|
1203
1202
|
'span',
|
|
1204
1203
|
{ className: 'mb-0' },
|
|
1205
1204
|
issue.name,
|
|
1206
1205
|
', '
|
|
1207
1206
|
),
|
|
1208
|
-
issue.volume &&
|
|
1207
|
+
issue.volume && React.createElement(
|
|
1209
1208
|
'span',
|
|
1210
1209
|
null,
|
|
1211
1210
|
'Volume ' + issue.volume,
|
|
1212
1211
|
','
|
|
1213
1212
|
),
|
|
1214
|
-
issue.issueNumber &&
|
|
1213
|
+
issue.issueNumber && React.createElement(
|
|
1215
1214
|
'span',
|
|
1216
1215
|
null,
|
|
1217
1216
|
' Issue ' + issue.issueNumber
|
|
1218
1217
|
)
|
|
1219
1218
|
),
|
|
1220
|
-
pageNumber &&
|
|
1219
|
+
pageNumber && React.createElement(
|
|
1221
1220
|
'div',
|
|
1222
1221
|
{ className: 'article-pageNumber' },
|
|
1223
1222
|
'Pages: ' + pageNumber
|
|
1224
1223
|
)
|
|
1225
1224
|
),
|
|
1226
|
-
!isVideoSeries && showSocialShare &&
|
|
1225
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1227
1226
|
'p',
|
|
1228
1227
|
null,
|
|
1229
|
-
|
|
1228
|
+
React.createElement(SocialShare, {
|
|
1230
1229
|
shareUrl: shareUrl,
|
|
1231
1230
|
shareTitle: shareTitle,
|
|
1232
1231
|
shareVia: shareVia,
|
|
@@ -1242,27 +1241,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1242
1241
|
})
|
|
1243
1242
|
)
|
|
1244
1243
|
),
|
|
1245
|
-
|
|
1244
|
+
React.createElement(
|
|
1246
1245
|
'div',
|
|
1247
1246
|
null,
|
|
1248
|
-
|
|
1247
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1249
1248
|
)
|
|
1250
1249
|
),
|
|
1251
|
-
!isVideoSeries && summary && display_summary &&
|
|
1250
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1252
1251
|
'p',
|
|
1253
1252
|
null,
|
|
1254
|
-
|
|
1253
|
+
React.createElement(
|
|
1255
1254
|
'em',
|
|
1256
1255
|
null,
|
|
1257
1256
|
summary
|
|
1258
1257
|
)
|
|
1259
1258
|
),
|
|
1260
|
-
|
|
1259
|
+
React.createElement(
|
|
1261
1260
|
'div',
|
|
1262
1261
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1263
1262
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1264
1263
|
if (index === 0) {
|
|
1265
|
-
return
|
|
1264
|
+
return React.createElement(
|
|
1266
1265
|
'div',
|
|
1267
1266
|
{
|
|
1268
1267
|
key: index,
|
|
@@ -1279,24 +1278,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1279
1278
|
}
|
|
1280
1279
|
})
|
|
1281
1280
|
),
|
|
1282
|
-
|
|
1281
|
+
React.createElement(
|
|
1283
1282
|
'div',
|
|
1284
1283
|
{ className: 'block-content mt-3' },
|
|
1285
1284
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1286
|
-
|
|
1287
|
-
|
|
1285
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1286
|
+
React.createElement(
|
|
1288
1287
|
'noscript',
|
|
1289
1288
|
null,
|
|
1290
|
-
|
|
1289
|
+
React.createElement(
|
|
1291
1290
|
'div',
|
|
1292
1291
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1293
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1292
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1294
1293
|
'a',
|
|
1295
1294
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1296
1295
|
'Previous ',
|
|
1297
1296
|
props.article.seriesDetail.type
|
|
1298
1297
|
),
|
|
1299
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1298
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1300
1299
|
'a',
|
|
1301
1300
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1302
1301
|
'Next ',
|
|
@@ -1304,26 +1303,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1304
1303
|
)
|
|
1305
1304
|
)
|
|
1306
1305
|
),
|
|
1307
|
-
issue && issue.url &&
|
|
1306
|
+
issue && issue.url && React.createElement(
|
|
1308
1307
|
'a',
|
|
1309
1308
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1310
|
-
|
|
1309
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1311
1310
|
'Download Issue : ',
|
|
1312
1311
|
issue.name
|
|
1313
1312
|
)
|
|
1314
1313
|
),
|
|
1315
|
-
|
|
1316
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1314
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1315
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1317
1316
|
'div',
|
|
1318
1317
|
null,
|
|
1319
1318
|
false ,
|
|
1320
|
-
|
|
1319
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1321
1320
|
),
|
|
1322
|
-
showRelatedArticles && !showIsi &&
|
|
1323
|
-
disqusConfig && showDisqus &&
|
|
1321
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1322
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1324
1323
|
'div',
|
|
1325
1324
|
{ id: 'disqusContainer' },
|
|
1326
|
-
|
|
1325
|
+
React.createElement(DiscussionEmbed, {
|
|
1327
1326
|
shortname: disqusConfig.shortname,
|
|
1328
1327
|
config: {
|
|
1329
1328
|
url: disqusConfig.url,
|
|
@@ -1336,30 +1335,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1336
1335
|
renderIsiContent(props.article)
|
|
1337
1336
|
)
|
|
1338
1337
|
),
|
|
1339
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1338
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1340
1339
|
ISI,
|
|
1341
1340
|
null,
|
|
1342
|
-
|
|
1341
|
+
React.createElement(BlockContent, {
|
|
1343
1342
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1344
1343
|
blocks: isi
|
|
1345
1344
|
})
|
|
1346
1345
|
),
|
|
1347
1346
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1348
1347
|
if (index > 0) {
|
|
1349
|
-
return
|
|
1348
|
+
return React.createElement(
|
|
1350
1349
|
'div',
|
|
1351
1350
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1352
1351
|
ad.component
|
|
1353
1352
|
);
|
|
1354
1353
|
}
|
|
1355
1354
|
}),
|
|
1356
|
-
|
|
1355
|
+
React.createElement(
|
|
1357
1356
|
'noscript',
|
|
1358
1357
|
null,
|
|
1359
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1358
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1360
1359
|
'div',
|
|
1361
1360
|
{ style: { textAlign: 'center' } },
|
|
1362
|
-
|
|
1361
|
+
React.createElement(
|
|
1363
1362
|
'a',
|
|
1364
1363
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1365
1364
|
'Related Article ',
|
|
@@ -1367,8 +1366,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1367
1366
|
)
|
|
1368
1367
|
)
|
|
1369
1368
|
),
|
|
1370
|
-
props.infiniteScroll &&
|
|
1371
|
-
|
|
1369
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1370
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1372
1371
|
);
|
|
1373
1372
|
};
|
|
1374
1373
|
|
|
@@ -1642,14 +1641,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1642
1641
|
refreshAD(path);
|
|
1643
1642
|
};
|
|
1644
1643
|
|
|
1645
|
-
return
|
|
1644
|
+
return React.createElement(
|
|
1646
1645
|
InfiniteScroll,
|
|
1647
1646
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1648
1647
|
queueData.map(function (article, index) {
|
|
1649
|
-
return
|
|
1650
|
-
|
|
1648
|
+
return React.createElement(
|
|
1649
|
+
React.Fragment,
|
|
1651
1650
|
null,
|
|
1652
|
-
|
|
1651
|
+
React.createElement(Article, _extends({
|
|
1653
1652
|
key: index
|
|
1654
1653
|
}, props, {
|
|
1655
1654
|
containerHeight: containerHeight,
|
|
@@ -1790,63 +1789,63 @@ var View = function View(props) {
|
|
|
1790
1789
|
|
|
1791
1790
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1792
1791
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1793
|
-
return
|
|
1794
|
-
|
|
1792
|
+
return React.createElement(
|
|
1793
|
+
React.Fragment,
|
|
1795
1794
|
null,
|
|
1796
|
-
|
|
1795
|
+
React.createElement(
|
|
1797
1796
|
Head,
|
|
1798
1797
|
null,
|
|
1799
|
-
|
|
1798
|
+
React.createElement(
|
|
1800
1799
|
'title',
|
|
1801
1800
|
{ key: 'title' },
|
|
1802
1801
|
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 : '')
|
|
1803
1802
|
),
|
|
1804
|
-
metaDescriptionSanity ?
|
|
1805
|
-
|
|
1806
|
-
passwordLock &&
|
|
1807
|
-
|
|
1803
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1804
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1805
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1806
|
+
React.createElement('meta', {
|
|
1808
1807
|
property: 'og:url',
|
|
1809
1808
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1810
1809
|
key: 'og:url'
|
|
1811
1810
|
}),
|
|
1812
|
-
|
|
1811
|
+
React.createElement('meta', {
|
|
1813
1812
|
property: 'og:title',
|
|
1814
1813
|
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 : ''),
|
|
1815
1814
|
key: 'og:title'
|
|
1816
1815
|
}),
|
|
1817
|
-
|
|
1816
|
+
React.createElement('meta', {
|
|
1818
1817
|
property: 'og:image',
|
|
1819
1818
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1820
1819
|
key: 'og:image'
|
|
1821
1820
|
}),
|
|
1822
|
-
|
|
1823
|
-
metaDescriptionSanity ?
|
|
1824
|
-
|
|
1825
|
-
|
|
1821
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1822
|
+
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 }),
|
|
1823
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1824
|
+
React.createElement('meta', {
|
|
1826
1825
|
name: 'twitter:title',
|
|
1827
1826
|
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 : ''),
|
|
1828
1827
|
key: 'twitter:title'
|
|
1829
1828
|
}),
|
|
1830
|
-
|
|
1829
|
+
React.createElement('meta', {
|
|
1831
1830
|
name: 'twitter:image',
|
|
1832
1831
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1833
1832
|
key: 'twitter:image'
|
|
1834
1833
|
}),
|
|
1835
|
-
|
|
1836
|
-
metaDescriptionSanity ?
|
|
1837
|
-
canonicalTag &&
|
|
1834
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1835
|
+
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 }),
|
|
1836
|
+
canonicalTag && React.createElement('link', {
|
|
1838
1837
|
rel: 'canonical',
|
|
1839
1838
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1840
1839
|
key: 'canonical'
|
|
1841
1840
|
}),
|
|
1842
|
-
|
|
1841
|
+
React.createElement(
|
|
1843
1842
|
'noscript',
|
|
1844
1843
|
null,
|
|
1845
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1846
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1844
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1845
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1847
1846
|
)
|
|
1848
1847
|
),
|
|
1849
|
-
!needInfiniteScroll ?
|
|
1848
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1850
1849
|
infiniteScroll: true,
|
|
1851
1850
|
showRelatedArticles: showRelatedArticles,
|
|
1852
1851
|
canonicalTag: canonicalTag,
|