@mjhls/mjh-framework 1.0.740-beta.1 → 1.0.741
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 +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +28 -27
- package/dist/cjs/AD300x250x600.js +28 -27
- package/dist/cjs/AD728x90.js +31 -30
- package/dist/cjs/ADFloatingFooter.js +30 -29
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +30 -29
- package/dist/cjs/{ADInfeed-d1d7e784.js → ADInfeed-5fe7fd9d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +30 -29
- package/dist/cjs/ADSponsoredResources.js +30 -29
- package/dist/cjs/ADWebcast.js +30 -29
- package/dist/cjs/ADWelcome.js +82 -78
- package/dist/cjs/{ADlgInfeed-b6116a72.js → ADlgInfeed-a62d2f9b.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +56 -55
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +820 -334
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-80146e98.js} +31 -30
- package/dist/cjs/EventsDeck.js +138 -131
- package/dist/cjs/ExternalResources.js +78 -77
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +181 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +135 -130
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +70 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +71 -70
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +123 -115
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +107 -106
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +40 -39
- package/dist/cjs/PubToc.js +17 -16
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +78 -74
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +53 -52
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +75 -71
- package/dist/cjs/VideoSeriesCard.js +32 -31
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +47 -46
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +238 -235
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +138 -76
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-497b581d.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-9d39b2bb.js → index-00b7a18a.js} +942 -905
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
- 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-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +161 -158
- package/dist/cjs/{inherits-c9f99d47.js → inherits-2eb23889.js} +5 -5
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-4ef21f0f.js} +72 -23
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-0299bf7e.js → ADInfeed-3a9eef39.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +78 -75
- package/dist/esm/{ADlgInfeed-7b627388.js → ADlgInfeed-8d63ff91.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -52
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +799 -317
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-e9a07597.js → Dfp-8bfbd310.js} +20 -20
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +71 -71
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +64 -64
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +102 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +36 -36
- package/dist/esm/PubToc.js +13 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +50 -50
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -47
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -61
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +39 -39
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +218 -219
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
- package/dist/esm/{_set-species-3f8319f5.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
- package/dist/esm/{asyncToGenerator-502f13b4.js → asyncToGenerator-2bd4099a.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
- package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
- package/dist/esm/getRelatedArticle.js +133 -71
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-bf1c6e7b.js → index-a7f9ce66.js} +877 -847
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +127 -127
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ad27652f.js} +72 -23
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,42 +1,42 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
|
|
3
|
+
import { _ as _extends } from './extends-31d65aba.js';
|
|
4
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
5
|
+
import { Container, Media } from 'react-bootstrap';
|
|
6
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
7
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
10
|
+
import { l as lib_3 } from './index-888f9253.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
13
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-3a9eef39.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
|
|
17
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8d63ff91.js';
|
|
19
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
1
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
22
|
+
import './web.dom.iterable-035980f3.js';
|
|
23
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
24
|
+
import './_to-object-97770c52.js';
|
|
25
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
26
|
+
import './_iter-detect-48516cd3.js';
|
|
8
27
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import
|
|
10
|
-
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
28
|
+
import 'react-dom';
|
|
13
29
|
import 'prop-types';
|
|
14
30
|
import 'react-bootstrap/Card';
|
|
15
|
-
import
|
|
16
|
-
import { useRouter } from 'next/router';
|
|
17
|
-
import './isSymbol-807e927e.js';
|
|
31
|
+
import './AdSlot.js';
|
|
18
32
|
import './debounce-1a993acf.js';
|
|
19
|
-
import
|
|
20
|
-
import 'react-dom';
|
|
21
|
-
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
23
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
24
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
25
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
27
|
-
import './stringify-4330ccdc.js';
|
|
28
|
-
import './asyncToGenerator-502f13b4.js';
|
|
29
|
-
import './_set-species-3f8319f5.js';
|
|
30
|
-
import './Segment.js';
|
|
33
|
+
import './isSymbol-807e927e.js';
|
|
31
34
|
import './Beam.js';
|
|
32
|
-
import './
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
38
|
-
import { Container, Media } from 'react-bootstrap';
|
|
39
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
35
|
+
import './stringify-d4839bab.js';
|
|
36
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
37
|
+
import './_library-528f1934.js';
|
|
38
|
+
import './_set-species-494ed292.js';
|
|
39
|
+
import './Segment.js';
|
|
40
40
|
|
|
41
41
|
var urlFor = function urlFor(source, builder) {
|
|
42
42
|
return builder.image(source).auto('format');
|
|
@@ -250,7 +250,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
250
250
|
});
|
|
251
251
|
|
|
252
252
|
var featureCount = 0;
|
|
253
|
-
return
|
|
253
|
+
return React.createElement(
|
|
254
254
|
'div',
|
|
255
255
|
null,
|
|
256
256
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -261,7 +261,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
261
261
|
if (article._type === 'feature') {
|
|
262
262
|
featureCount++;
|
|
263
263
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
264
|
-
return
|
|
264
|
+
return React.createElement(
|
|
265
265
|
VisibilitySensor,
|
|
266
266
|
{
|
|
267
267
|
key: article._id ? article._id : index,
|
|
@@ -269,51 +269,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
269
269
|
onChange: function onChange(isVisible) {
|
|
270
270
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
271
271
|
} },
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
React.createElement(
|
|
273
|
+
React.Fragment,
|
|
274
274
|
null,
|
|
275
|
-
|
|
275
|
+
React.createElement(
|
|
276
276
|
Media,
|
|
277
277
|
{
|
|
278
278
|
key: article._id ? article._id : index,
|
|
279
279
|
className: 'feature-media',
|
|
280
280
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
281
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
281
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
282
282
|
'a',
|
|
283
283
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
284
|
-
|
|
284
|
+
React.createElement(
|
|
285
285
|
LazyLoad,
|
|
286
|
-
{ height: imageHeight, placeholder:
|
|
287
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
286
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
287
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
288
288
|
),
|
|
289
|
-
article.source &&
|
|
289
|
+
article.source && React.createElement(
|
|
290
290
|
'div',
|
|
291
291
|
{ className: 'content-category-label' },
|
|
292
|
-
|
|
292
|
+
React.createElement(
|
|
293
293
|
'div',
|
|
294
294
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
295
295
|
article.source
|
|
296
296
|
)
|
|
297
297
|
)
|
|
298
298
|
),
|
|
299
|
-
|
|
299
|
+
React.createElement(
|
|
300
300
|
Media.Body,
|
|
301
301
|
null,
|
|
302
|
-
|
|
302
|
+
React.createElement(
|
|
303
303
|
'a',
|
|
304
304
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
305
|
-
article.title &&
|
|
305
|
+
article.title && React.createElement(
|
|
306
306
|
'h4',
|
|
307
307
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
308
308
|
article.title
|
|
309
309
|
)
|
|
310
310
|
),
|
|
311
|
-
showPublished && !showTimeDiff && article.published &&
|
|
311
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
312
312
|
'p',
|
|
313
313
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
314
314
|
moment(article.published).format('MMMM DD, YYYY')
|
|
315
315
|
),
|
|
316
|
-
showTimeDiff && article.published &&
|
|
316
|
+
showTimeDiff && article.published && React.createElement(
|
|
317
317
|
'p',
|
|
318
318
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
319
319
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -321,20 +321,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
321
321
|
return null;
|
|
322
322
|
}
|
|
323
323
|
if (index === 3) {
|
|
324
|
-
return
|
|
325
|
-
|
|
324
|
+
return React.createElement(
|
|
325
|
+
React.Fragment,
|
|
326
326
|
null,
|
|
327
|
-
|
|
327
|
+
React.createElement(
|
|
328
328
|
'em',
|
|
329
329
|
{ style: { marginRight: '.5rem' } },
|
|
330
330
|
'...'
|
|
331
331
|
)
|
|
332
332
|
);
|
|
333
333
|
}
|
|
334
|
-
return
|
|
335
|
-
|
|
334
|
+
return React.createElement(
|
|
335
|
+
React.Fragment,
|
|
336
336
|
null,
|
|
337
|
-
|
|
337
|
+
React.createElement(
|
|
338
338
|
'em',
|
|
339
339
|
null,
|
|
340
340
|
taxonomy.name
|
|
@@ -344,30 +344,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
344
344
|
);
|
|
345
345
|
}),
|
|
346
346
|
' ',
|
|
347
|
-
|
|
347
|
+
React.createElement(
|
|
348
348
|
'span',
|
|
349
349
|
{ style: { display: 'inline-block' } },
|
|
350
350
|
timeDifferenceCalc(article.published)
|
|
351
351
|
)
|
|
352
352
|
),
|
|
353
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
353
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
354
354
|
LazyLoad,
|
|
355
355
|
{ height: 50 },
|
|
356
|
-
|
|
356
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
357
357
|
),
|
|
358
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
358
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
359
359
|
'div',
|
|
360
360
|
{ className: 'content-category-label' },
|
|
361
|
-
|
|
361
|
+
React.createElement(
|
|
362
362
|
'div',
|
|
363
363
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
364
364
|
article.source
|
|
365
365
|
)
|
|
366
366
|
),
|
|
367
|
-
|
|
367
|
+
React.createElement(
|
|
368
368
|
'div',
|
|
369
369
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
370
|
-
showCategory && article.contentCategory &&
|
|
370
|
+
showCategory && article.contentCategory && React.createElement(
|
|
371
371
|
'p',
|
|
372
372
|
{
|
|
373
373
|
className: 'article-category',
|
|
@@ -381,7 +381,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
381
381
|
} },
|
|
382
382
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
383
383
|
),
|
|
384
|
-
article.issueSection && article.issueSection.name &&
|
|
384
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
385
385
|
'p',
|
|
386
386
|
{
|
|
387
387
|
className: 'issueSection',
|
|
@@ -397,21 +397,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
397
397
|
article.issueSection.name
|
|
398
398
|
)
|
|
399
399
|
),
|
|
400
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
400
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
401
401
|
'div',
|
|
402
402
|
{ className: 'pubInfo' },
|
|
403
|
-
article.volume &&
|
|
403
|
+
article.volume && React.createElement(
|
|
404
404
|
'p',
|
|
405
405
|
{ className: 'qdeVolume' },
|
|
406
406
|
article.volume
|
|
407
407
|
),
|
|
408
|
-
article.issue &&
|
|
408
|
+
article.issue && React.createElement(
|
|
409
409
|
'p',
|
|
410
410
|
{ className: 'qdeIssue' },
|
|
411
411
|
article.issue
|
|
412
412
|
)
|
|
413
413
|
),
|
|
414
|
-
showIntro && article.summary &&
|
|
414
|
+
showIntro && article.summary && React.createElement(
|
|
415
415
|
'p',
|
|
416
416
|
{ className: 'pt-2 card-text' },
|
|
417
417
|
clean_html_1(article.summary)
|
|
@@ -421,7 +421,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
421
421
|
)
|
|
422
422
|
);
|
|
423
423
|
} else {
|
|
424
|
-
return
|
|
424
|
+
return React.createElement(
|
|
425
425
|
VisibilitySensor,
|
|
426
426
|
{
|
|
427
427
|
key: article._id ? article._id : index,
|
|
@@ -429,51 +429,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
429
429
|
onChange: function onChange(isVisible) {
|
|
430
430
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
431
431
|
} },
|
|
432
|
-
|
|
433
|
-
|
|
432
|
+
React.createElement(
|
|
433
|
+
React.Fragment,
|
|
434
434
|
null,
|
|
435
|
-
|
|
435
|
+
React.createElement(
|
|
436
436
|
Media,
|
|
437
437
|
{
|
|
438
438
|
key: article._id ? article._id : index,
|
|
439
439
|
className: 'feature-media',
|
|
440
440
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
441
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
441
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
442
442
|
'a',
|
|
443
443
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
444
|
-
|
|
444
|
+
React.createElement(
|
|
445
445
|
LazyLoad,
|
|
446
|
-
{ height: imageHeight, placeholder:
|
|
447
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
446
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
447
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
448
448
|
),
|
|
449
|
-
article.source &&
|
|
449
|
+
article.source && React.createElement(
|
|
450
450
|
'div',
|
|
451
451
|
{ className: 'content-category-label' },
|
|
452
|
-
|
|
452
|
+
React.createElement(
|
|
453
453
|
'div',
|
|
454
454
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
455
455
|
article.source
|
|
456
456
|
)
|
|
457
457
|
)
|
|
458
458
|
),
|
|
459
|
-
|
|
459
|
+
React.createElement(
|
|
460
460
|
Media.Body,
|
|
461
461
|
null,
|
|
462
|
-
|
|
462
|
+
React.createElement(
|
|
463
463
|
'a',
|
|
464
464
|
{ href: article.url.current },
|
|
465
|
-
article.title &&
|
|
465
|
+
article.title && React.createElement(
|
|
466
466
|
'h4',
|
|
467
467
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
468
468
|
article.title
|
|
469
469
|
)
|
|
470
470
|
),
|
|
471
|
-
showPublished && !showTimeDiff && article.published &&
|
|
471
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
472
472
|
'p',
|
|
473
473
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
474
474
|
moment(article.published).format('MMMM DD, YYYY')
|
|
475
475
|
),
|
|
476
|
-
showTimeDiff && article.published &&
|
|
476
|
+
showTimeDiff && article.published && React.createElement(
|
|
477
477
|
'p',
|
|
478
478
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
479
479
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -481,10 +481,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
481
481
|
return null;
|
|
482
482
|
}
|
|
483
483
|
if (index === 3) {
|
|
484
|
-
return
|
|
485
|
-
|
|
484
|
+
return React.createElement(
|
|
485
|
+
React.Fragment,
|
|
486
486
|
null,
|
|
487
|
-
|
|
487
|
+
React.createElement(
|
|
488
488
|
'em',
|
|
489
489
|
{ style: { marginRight: '.5rem' } },
|
|
490
490
|
'...'
|
|
@@ -492,20 +492,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
492
492
|
);
|
|
493
493
|
}
|
|
494
494
|
if (index === 3) {
|
|
495
|
-
return
|
|
496
|
-
|
|
495
|
+
return React.createElement(
|
|
496
|
+
React.Fragment,
|
|
497
497
|
null,
|
|
498
|
-
|
|
498
|
+
React.createElement(
|
|
499
499
|
'em',
|
|
500
500
|
{ style: { marginRight: '.5rem' } },
|
|
501
501
|
'...'
|
|
502
502
|
)
|
|
503
503
|
);
|
|
504
504
|
}
|
|
505
|
-
return
|
|
506
|
-
|
|
505
|
+
return React.createElement(
|
|
506
|
+
React.Fragment,
|
|
507
507
|
null,
|
|
508
|
-
|
|
508
|
+
React.createElement(
|
|
509
509
|
'em',
|
|
510
510
|
null,
|
|
511
511
|
taxonomy.name
|
|
@@ -515,30 +515,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
515
515
|
);
|
|
516
516
|
}),
|
|
517
517
|
' ',
|
|
518
|
-
|
|
518
|
+
React.createElement(
|
|
519
519
|
'span',
|
|
520
520
|
{ style: { display: 'inline-block' } },
|
|
521
521
|
timeDifferenceCalc(article.published)
|
|
522
522
|
)
|
|
523
523
|
),
|
|
524
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
524
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
525
525
|
LazyLoad,
|
|
526
526
|
{ height: 50 },
|
|
527
|
-
|
|
527
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
528
528
|
),
|
|
529
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
529
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
530
530
|
'div',
|
|
531
531
|
{ className: 'content-category-label' },
|
|
532
|
-
|
|
532
|
+
React.createElement(
|
|
533
533
|
'div',
|
|
534
534
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
535
535
|
article.source
|
|
536
536
|
)
|
|
537
537
|
),
|
|
538
|
-
|
|
538
|
+
React.createElement(
|
|
539
539
|
'div',
|
|
540
540
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
541
|
-
showCategory && article.contentCategory &&
|
|
541
|
+
showCategory && article.contentCategory && React.createElement(
|
|
542
542
|
'p',
|
|
543
543
|
{
|
|
544
544
|
className: 'article-category',
|
|
@@ -552,7 +552,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
552
552
|
} },
|
|
553
553
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
554
554
|
),
|
|
555
|
-
article.issueSection && article.issueSection.name &&
|
|
555
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
556
556
|
'p',
|
|
557
557
|
{
|
|
558
558
|
className: 'issueSection',
|
|
@@ -568,21 +568,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
568
568
|
article.issueSection.name
|
|
569
569
|
)
|
|
570
570
|
),
|
|
571
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
571
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
572
572
|
'div',
|
|
573
573
|
{ className: 'pubInfo' },
|
|
574
|
-
article.volume &&
|
|
574
|
+
article.volume && React.createElement(
|
|
575
575
|
'p',
|
|
576
576
|
{ className: 'qdeVolume' },
|
|
577
577
|
article.volume
|
|
578
578
|
),
|
|
579
|
-
article.issue &&
|
|
579
|
+
article.issue && React.createElement(
|
|
580
580
|
'p',
|
|
581
581
|
{ className: 'qdeIssue' },
|
|
582
582
|
article.issue
|
|
583
583
|
)
|
|
584
584
|
),
|
|
585
|
-
showIntro && article.summary &&
|
|
585
|
+
showIntro && article.summary && React.createElement(
|
|
586
586
|
'p',
|
|
587
587
|
{ className: 'pt-2 card-text' },
|
|
588
588
|
clean_html_1(article.summary)
|
|
@@ -593,12 +593,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
593
593
|
);
|
|
594
594
|
}
|
|
595
595
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
596
|
-
return
|
|
596
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
597
597
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
598
|
-
return
|
|
598
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
599
599
|
}
|
|
600
600
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
601
|
-
return
|
|
601
|
+
return React.createElement(
|
|
602
602
|
VisibilitySensor,
|
|
603
603
|
{
|
|
604
604
|
key: article._id ? article._id : index,
|
|
@@ -606,50 +606,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
606
606
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
607
607
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
608
608
|
} },
|
|
609
|
-
|
|
610
|
-
|
|
609
|
+
React.createElement(
|
|
610
|
+
React.Fragment,
|
|
611
611
|
null,
|
|
612
|
-
|
|
612
|
+
React.createElement(
|
|
613
613
|
Media,
|
|
614
614
|
{
|
|
615
615
|
key: article._id ? article._id : index,
|
|
616
616
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
617
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
617
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
618
618
|
'a',
|
|
619
619
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
620
|
-
|
|
620
|
+
React.createElement(
|
|
621
621
|
LazyLoad,
|
|
622
|
-
{ height: imageHeight, placeholder:
|
|
623
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
622
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
623
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
624
624
|
),
|
|
625
|
-
article.source &&
|
|
625
|
+
article.source && React.createElement(
|
|
626
626
|
'div',
|
|
627
627
|
{ className: 'content-category-label' },
|
|
628
|
-
|
|
628
|
+
React.createElement(
|
|
629
629
|
'div',
|
|
630
630
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
631
631
|
article.source
|
|
632
632
|
)
|
|
633
633
|
)
|
|
634
634
|
),
|
|
635
|
-
|
|
635
|
+
React.createElement(
|
|
636
636
|
Media.Body,
|
|
637
637
|
null,
|
|
638
|
-
|
|
638
|
+
React.createElement(
|
|
639
639
|
'a',
|
|
640
640
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
641
|
-
article.title &&
|
|
641
|
+
article.title && React.createElement(
|
|
642
642
|
'h4',
|
|
643
643
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
644
644
|
article.title
|
|
645
645
|
)
|
|
646
646
|
),
|
|
647
|
-
showPublished && !showTimeDiff && article.published &&
|
|
647
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
648
648
|
'p',
|
|
649
649
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
650
650
|
moment(article.published).format('MMMM DD, YYYY')
|
|
651
651
|
),
|
|
652
|
-
showTimeDiff && article.published &&
|
|
652
|
+
showTimeDiff && article.published && React.createElement(
|
|
653
653
|
'p',
|
|
654
654
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
655
655
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -657,20 +657,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
657
657
|
return null;
|
|
658
658
|
}
|
|
659
659
|
if (index === 3) {
|
|
660
|
-
return
|
|
661
|
-
|
|
660
|
+
return React.createElement(
|
|
661
|
+
React.Fragment,
|
|
662
662
|
null,
|
|
663
|
-
|
|
663
|
+
React.createElement(
|
|
664
664
|
'em',
|
|
665
665
|
{ style: { marginRight: '.5rem' } },
|
|
666
666
|
'...'
|
|
667
667
|
)
|
|
668
668
|
);
|
|
669
669
|
}
|
|
670
|
-
return
|
|
671
|
-
|
|
670
|
+
return React.createElement(
|
|
671
|
+
React.Fragment,
|
|
672
672
|
null,
|
|
673
|
-
|
|
673
|
+
React.createElement(
|
|
674
674
|
'em',
|
|
675
675
|
null,
|
|
676
676
|
taxonomy.name
|
|
@@ -680,34 +680,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
680
680
|
);
|
|
681
681
|
}),
|
|
682
682
|
' ',
|
|
683
|
-
|
|
683
|
+
React.createElement(
|
|
684
684
|
'span',
|
|
685
685
|
{ style: { display: 'inline-block' } },
|
|
686
686
|
timeDifferenceCalc(article.published)
|
|
687
687
|
)
|
|
688
688
|
),
|
|
689
|
-
|
|
689
|
+
React.createElement(
|
|
690
690
|
'div',
|
|
691
691
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
692
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
692
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
693
693
|
LazyLoad,
|
|
694
694
|
{ height: 50 },
|
|
695
|
-
|
|
695
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
696
696
|
)
|
|
697
697
|
),
|
|
698
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
698
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
699
699
|
'div',
|
|
700
700
|
{ className: 'content-category-label' },
|
|
701
|
-
|
|
701
|
+
React.createElement(
|
|
702
702
|
'div',
|
|
703
703
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
704
704
|
article.source
|
|
705
705
|
)
|
|
706
706
|
),
|
|
707
|
-
|
|
707
|
+
React.createElement(
|
|
708
708
|
'div',
|
|
709
709
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
710
|
-
showCategory && article.contentCategory &&
|
|
710
|
+
showCategory && article.contentCategory && React.createElement(
|
|
711
711
|
'p',
|
|
712
712
|
{
|
|
713
713
|
className: 'article-category',
|
|
@@ -721,7 +721,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
721
721
|
} },
|
|
722
722
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
723
723
|
),
|
|
724
|
-
article.issueSection && article.issueSection.name &&
|
|
724
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
725
725
|
'p',
|
|
726
726
|
{
|
|
727
727
|
className: 'issueSection',
|
|
@@ -737,38 +737,38 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
737
737
|
article.issueSection.name
|
|
738
738
|
)
|
|
739
739
|
),
|
|
740
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
740
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
741
741
|
'div',
|
|
742
742
|
{ className: 'pubInfo' },
|
|
743
|
-
article.volume &&
|
|
743
|
+
article.volume && React.createElement(
|
|
744
744
|
'p',
|
|
745
745
|
{ className: 'qdeVolume' },
|
|
746
746
|
article.volume
|
|
747
747
|
),
|
|
748
|
-
article.issue &&
|
|
748
|
+
article.issue && React.createElement(
|
|
749
749
|
'p',
|
|
750
750
|
{ className: 'qdeIssue' },
|
|
751
751
|
article.issue
|
|
752
752
|
)
|
|
753
753
|
),
|
|
754
|
-
showIntro && article.summary &&
|
|
754
|
+
showIntro && article.summary && React.createElement(
|
|
755
755
|
'p',
|
|
756
756
|
{ className: 'pt-2 card-text' },
|
|
757
757
|
clean_html_1(article.summary)
|
|
758
758
|
)
|
|
759
759
|
)
|
|
760
760
|
),
|
|
761
|
-
|
|
761
|
+
React.createElement(
|
|
762
762
|
'div',
|
|
763
763
|
null,
|
|
764
|
-
|
|
764
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
765
765
|
)
|
|
766
766
|
)
|
|
767
767
|
);
|
|
768
768
|
} else return null;
|
|
769
769
|
}) :
|
|
770
770
|
// For Javascript Disabled Cases
|
|
771
|
-
|
|
771
|
+
React.createElement(
|
|
772
772
|
'noscript',
|
|
773
773
|
null,
|
|
774
774
|
data.map(function (article, index) {
|
|
@@ -778,7 +778,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
778
778
|
if (article._type === 'feature') {
|
|
779
779
|
featureCount++;
|
|
780
780
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
781
|
-
return
|
|
781
|
+
return React.createElement(
|
|
782
782
|
VisibilitySensor,
|
|
783
783
|
{
|
|
784
784
|
key: article._id ? article._id : index,
|
|
@@ -786,51 +786,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
786
786
|
onChange: function onChange(isVisible) {
|
|
787
787
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
788
788
|
} },
|
|
789
|
-
|
|
790
|
-
|
|
789
|
+
React.createElement(
|
|
790
|
+
React.Fragment,
|
|
791
791
|
null,
|
|
792
|
-
|
|
792
|
+
React.createElement(
|
|
793
793
|
Media,
|
|
794
794
|
{
|
|
795
795
|
key: article._id ? article._id : index,
|
|
796
796
|
className: 'feature-media',
|
|
797
797
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
798
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
798
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
799
799
|
'a',
|
|
800
800
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
801
|
-
|
|
801
|
+
React.createElement(
|
|
802
802
|
LazyLoad,
|
|
803
|
-
{ height: imageHeight, placeholder:
|
|
804
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
803
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
804
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
805
805
|
),
|
|
806
|
-
article.source &&
|
|
806
|
+
article.source && React.createElement(
|
|
807
807
|
'div',
|
|
808
808
|
{ className: 'content-category-label' },
|
|
809
|
-
|
|
809
|
+
React.createElement(
|
|
810
810
|
'div',
|
|
811
811
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
812
812
|
article.source
|
|
813
813
|
)
|
|
814
814
|
)
|
|
815
815
|
),
|
|
816
|
-
|
|
816
|
+
React.createElement(
|
|
817
817
|
Media.Body,
|
|
818
818
|
null,
|
|
819
|
-
|
|
819
|
+
React.createElement(
|
|
820
820
|
'a',
|
|
821
821
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
822
|
-
article.title &&
|
|
822
|
+
article.title && React.createElement(
|
|
823
823
|
'h4',
|
|
824
824
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
825
825
|
article.title
|
|
826
826
|
)
|
|
827
827
|
),
|
|
828
|
-
showPublished && article.published &&
|
|
828
|
+
showPublished && article.published && React.createElement(
|
|
829
829
|
'p',
|
|
830
830
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
831
831
|
moment(article.published).format('MMMM DD, YYYY')
|
|
832
832
|
),
|
|
833
|
-
showTimeDiff && article.published &&
|
|
833
|
+
showTimeDiff && article.published && React.createElement(
|
|
834
834
|
'p',
|
|
835
835
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
836
836
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -838,20 +838,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
838
838
|
return null;
|
|
839
839
|
}
|
|
840
840
|
if (index === 3) {
|
|
841
|
-
return
|
|
842
|
-
|
|
841
|
+
return React.createElement(
|
|
842
|
+
React.Fragment,
|
|
843
843
|
null,
|
|
844
|
-
|
|
844
|
+
React.createElement(
|
|
845
845
|
'em',
|
|
846
846
|
{ style: { marginRight: '.5rem' } },
|
|
847
847
|
'...'
|
|
848
848
|
)
|
|
849
849
|
);
|
|
850
850
|
}
|
|
851
|
-
return
|
|
852
|
-
|
|
851
|
+
return React.createElement(
|
|
852
|
+
React.Fragment,
|
|
853
853
|
null,
|
|
854
|
-
|
|
854
|
+
React.createElement(
|
|
855
855
|
'em',
|
|
856
856
|
null,
|
|
857
857
|
taxonomy.name
|
|
@@ -861,30 +861,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
861
861
|
);
|
|
862
862
|
}),
|
|
863
863
|
' ',
|
|
864
|
-
|
|
864
|
+
React.createElement(
|
|
865
865
|
'span',
|
|
866
866
|
{ style: { display: 'inline-block' } },
|
|
867
867
|
timeDifferenceCalc(article.published)
|
|
868
868
|
)
|
|
869
869
|
),
|
|
870
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
870
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
871
871
|
LazyLoad,
|
|
872
872
|
{ height: 50 },
|
|
873
|
-
|
|
873
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
874
874
|
),
|
|
875
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
875
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
876
876
|
'div',
|
|
877
877
|
{ className: 'content-category-label' },
|
|
878
|
-
|
|
878
|
+
React.createElement(
|
|
879
879
|
'div',
|
|
880
880
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
881
881
|
article.source
|
|
882
882
|
)
|
|
883
883
|
),
|
|
884
|
-
|
|
884
|
+
React.createElement(
|
|
885
885
|
'div',
|
|
886
886
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
887
|
-
showCategory && article.contentCategory &&
|
|
887
|
+
showCategory && article.contentCategory && React.createElement(
|
|
888
888
|
'p',
|
|
889
889
|
{
|
|
890
890
|
className: 'article-category',
|
|
@@ -898,7 +898,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
898
898
|
} },
|
|
899
899
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
900
900
|
),
|
|
901
|
-
article.issueSection && article.issueSection.name &&
|
|
901
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
902
902
|
'p',
|
|
903
903
|
{
|
|
904
904
|
className: 'issueSection',
|
|
@@ -914,21 +914,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
914
914
|
article.issueSection.name
|
|
915
915
|
)
|
|
916
916
|
),
|
|
917
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
917
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
918
918
|
'div',
|
|
919
919
|
{ className: 'pubInfo' },
|
|
920
|
-
article.volume &&
|
|
920
|
+
article.volume && React.createElement(
|
|
921
921
|
'p',
|
|
922
922
|
{ className: 'qdeVolume' },
|
|
923
923
|
article.volume
|
|
924
924
|
),
|
|
925
|
-
article.issue &&
|
|
925
|
+
article.issue && React.createElement(
|
|
926
926
|
'p',
|
|
927
927
|
{ className: 'qdeIssue' },
|
|
928
928
|
article.issue
|
|
929
929
|
)
|
|
930
930
|
),
|
|
931
|
-
showIntro && article.summary &&
|
|
931
|
+
showIntro && article.summary && React.createElement(
|
|
932
932
|
'p',
|
|
933
933
|
{ className: 'pt-2 card-text' },
|
|
934
934
|
clean_html_1(article.summary)
|
|
@@ -938,7 +938,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
938
938
|
)
|
|
939
939
|
);
|
|
940
940
|
} else {
|
|
941
|
-
return
|
|
941
|
+
return React.createElement(
|
|
942
942
|
VisibilitySensor,
|
|
943
943
|
{
|
|
944
944
|
key: article._id ? article._id : index,
|
|
@@ -946,51 +946,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
946
946
|
onChange: function onChange(isVisible) {
|
|
947
947
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
948
948
|
} },
|
|
949
|
-
|
|
950
|
-
|
|
949
|
+
React.createElement(
|
|
950
|
+
React.Fragment,
|
|
951
951
|
null,
|
|
952
|
-
|
|
952
|
+
React.createElement(
|
|
953
953
|
Media,
|
|
954
954
|
{
|
|
955
955
|
key: article._id ? article._id : index,
|
|
956
956
|
className: 'feature-media',
|
|
957
957
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
958
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
958
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
959
959
|
'a',
|
|
960
960
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
961
|
-
|
|
961
|
+
React.createElement(
|
|
962
962
|
LazyLoad,
|
|
963
|
-
{ height: imageHeight, placeholder:
|
|
964
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
963
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
964
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
965
965
|
),
|
|
966
|
-
article.source &&
|
|
966
|
+
article.source && React.createElement(
|
|
967
967
|
'div',
|
|
968
968
|
{ className: 'content-category-label' },
|
|
969
|
-
|
|
969
|
+
React.createElement(
|
|
970
970
|
'div',
|
|
971
971
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
972
972
|
article.source
|
|
973
973
|
)
|
|
974
974
|
)
|
|
975
975
|
),
|
|
976
|
-
|
|
976
|
+
React.createElement(
|
|
977
977
|
Media.Body,
|
|
978
978
|
null,
|
|
979
|
-
|
|
979
|
+
React.createElement(
|
|
980
980
|
'a',
|
|
981
981
|
{ href: article.url.current },
|
|
982
|
-
article.title &&
|
|
982
|
+
article.title && React.createElement(
|
|
983
983
|
'h4',
|
|
984
984
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
985
985
|
article.title
|
|
986
986
|
)
|
|
987
987
|
),
|
|
988
|
-
showPublished && article.published &&
|
|
988
|
+
showPublished && article.published && React.createElement(
|
|
989
989
|
'p',
|
|
990
990
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
991
991
|
moment(article.published).format('MMMM DD, YYYY')
|
|
992
992
|
),
|
|
993
|
-
showTimeDiff && article.published &&
|
|
993
|
+
showTimeDiff && article.published && React.createElement(
|
|
994
994
|
'p',
|
|
995
995
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
996
996
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -998,20 +998,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
998
998
|
return null;
|
|
999
999
|
}
|
|
1000
1000
|
if (index === 3) {
|
|
1001
|
-
return
|
|
1002
|
-
|
|
1001
|
+
return React.createElement(
|
|
1002
|
+
React.Fragment,
|
|
1003
1003
|
null,
|
|
1004
|
-
|
|
1004
|
+
React.createElement(
|
|
1005
1005
|
'em',
|
|
1006
1006
|
{ style: { marginRight: '.5rem' } },
|
|
1007
1007
|
'...'
|
|
1008
1008
|
)
|
|
1009
1009
|
);
|
|
1010
1010
|
}
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1011
|
+
return React.createElement(
|
|
1012
|
+
React.Fragment,
|
|
1013
1013
|
null,
|
|
1014
|
-
|
|
1014
|
+
React.createElement(
|
|
1015
1015
|
'em',
|
|
1016
1016
|
null,
|
|
1017
1017
|
taxonomy.name
|
|
@@ -1021,30 +1021,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1021
1021
|
);
|
|
1022
1022
|
}),
|
|
1023
1023
|
' ',
|
|
1024
|
-
|
|
1024
|
+
React.createElement(
|
|
1025
1025
|
'span',
|
|
1026
1026
|
{ style: { display: 'inline-block' } },
|
|
1027
1027
|
timeDifferenceCalc(article.published)
|
|
1028
1028
|
)
|
|
1029
1029
|
),
|
|
1030
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1030
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1031
1031
|
LazyLoad,
|
|
1032
1032
|
{ height: 50 },
|
|
1033
|
-
|
|
1033
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1034
1034
|
),
|
|
1035
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1035
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1036
1036
|
'div',
|
|
1037
1037
|
{ className: 'content-category-label' },
|
|
1038
|
-
|
|
1038
|
+
React.createElement(
|
|
1039
1039
|
'div',
|
|
1040
1040
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1041
1041
|
article.source
|
|
1042
1042
|
)
|
|
1043
1043
|
),
|
|
1044
|
-
|
|
1044
|
+
React.createElement(
|
|
1045
1045
|
'div',
|
|
1046
1046
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1047
|
-
showCategory && article.contentCategory &&
|
|
1047
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1048
1048
|
'p',
|
|
1049
1049
|
{
|
|
1050
1050
|
className: 'article-category',
|
|
@@ -1058,7 +1058,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1058
1058
|
} },
|
|
1059
1059
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1060
1060
|
),
|
|
1061
|
-
article.issueSection && article.issueSection.name &&
|
|
1061
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1062
1062
|
'p',
|
|
1063
1063
|
{
|
|
1064
1064
|
className: 'issueSection',
|
|
@@ -1074,21 +1074,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1074
1074
|
article.issueSection.name
|
|
1075
1075
|
)
|
|
1076
1076
|
),
|
|
1077
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1077
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1078
1078
|
'div',
|
|
1079
1079
|
{ className: 'pubInfo' },
|
|
1080
|
-
article.volume &&
|
|
1080
|
+
article.volume && React.createElement(
|
|
1081
1081
|
'p',
|
|
1082
1082
|
{ className: 'qdeVolume' },
|
|
1083
1083
|
article.volume
|
|
1084
1084
|
),
|
|
1085
|
-
article.issue &&
|
|
1085
|
+
article.issue && React.createElement(
|
|
1086
1086
|
'p',
|
|
1087
1087
|
{ className: 'qdeIssue' },
|
|
1088
1088
|
article.issue
|
|
1089
1089
|
)
|
|
1090
1090
|
),
|
|
1091
|
-
showIntro && article.summary &&
|
|
1091
|
+
showIntro && article.summary && React.createElement(
|
|
1092
1092
|
'p',
|
|
1093
1093
|
{ className: 'pt-2 card-text' },
|
|
1094
1094
|
clean_html_1(article.summary)
|
|
@@ -1099,12 +1099,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1099
1099
|
);
|
|
1100
1100
|
}
|
|
1101
1101
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1102
|
-
return
|
|
1102
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1103
1103
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1104
|
-
return
|
|
1104
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1105
1105
|
}
|
|
1106
1106
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1107
|
-
return
|
|
1107
|
+
return React.createElement(
|
|
1108
1108
|
VisibilitySensor,
|
|
1109
1109
|
{
|
|
1110
1110
|
key: article._id ? article._id : index,
|
|
@@ -1112,50 +1112,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1112
1112
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1113
1113
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1114
1114
|
} },
|
|
1115
|
-
|
|
1116
|
-
|
|
1115
|
+
React.createElement(
|
|
1116
|
+
React.Fragment,
|
|
1117
1117
|
null,
|
|
1118
|
-
|
|
1118
|
+
React.createElement(
|
|
1119
1119
|
Media,
|
|
1120
1120
|
{
|
|
1121
1121
|
key: article._id ? article._id : index,
|
|
1122
1122
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1123
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1123
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1124
1124
|
'a',
|
|
1125
1125
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1126
|
-
|
|
1126
|
+
React.createElement(
|
|
1127
1127
|
LazyLoad,
|
|
1128
|
-
{ height: imageHeight, placeholder:
|
|
1129
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
1128
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1129
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
1130
1130
|
),
|
|
1131
|
-
article.source &&
|
|
1131
|
+
article.source && React.createElement(
|
|
1132
1132
|
'div',
|
|
1133
1133
|
{ className: 'content-category-label' },
|
|
1134
|
-
|
|
1134
|
+
React.createElement(
|
|
1135
1135
|
'div',
|
|
1136
1136
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1137
1137
|
article.source
|
|
1138
1138
|
)
|
|
1139
1139
|
)
|
|
1140
1140
|
),
|
|
1141
|
-
|
|
1141
|
+
React.createElement(
|
|
1142
1142
|
Media.Body,
|
|
1143
1143
|
null,
|
|
1144
|
-
|
|
1144
|
+
React.createElement(
|
|
1145
1145
|
'a',
|
|
1146
1146
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1147
|
-
article.title &&
|
|
1147
|
+
article.title && React.createElement(
|
|
1148
1148
|
'h4',
|
|
1149
1149
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1150
1150
|
article.title
|
|
1151
1151
|
)
|
|
1152
1152
|
),
|
|
1153
|
-
showPublished && article.published &&
|
|
1153
|
+
showPublished && article.published && React.createElement(
|
|
1154
1154
|
'p',
|
|
1155
1155
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1156
1156
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1157
1157
|
),
|
|
1158
|
-
showTimeDiff && article.published &&
|
|
1158
|
+
showTimeDiff && article.published && React.createElement(
|
|
1159
1159
|
'p',
|
|
1160
1160
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1161
1161
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1163,20 +1163,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1163
1163
|
return null;
|
|
1164
1164
|
}
|
|
1165
1165
|
if (index === 3) {
|
|
1166
|
-
return
|
|
1167
|
-
|
|
1166
|
+
return React.createElement(
|
|
1167
|
+
React.Fragment,
|
|
1168
1168
|
null,
|
|
1169
|
-
|
|
1169
|
+
React.createElement(
|
|
1170
1170
|
'em',
|
|
1171
1171
|
{ style: { marginRight: '.5rem' } },
|
|
1172
1172
|
'...'
|
|
1173
1173
|
)
|
|
1174
1174
|
);
|
|
1175
1175
|
}
|
|
1176
|
-
return
|
|
1177
|
-
|
|
1176
|
+
return React.createElement(
|
|
1177
|
+
React.Fragment,
|
|
1178
1178
|
null,
|
|
1179
|
-
|
|
1179
|
+
React.createElement(
|
|
1180
1180
|
'em',
|
|
1181
1181
|
null,
|
|
1182
1182
|
taxonomy.name
|
|
@@ -1186,34 +1186,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1186
1186
|
);
|
|
1187
1187
|
}),
|
|
1188
1188
|
' ',
|
|
1189
|
-
|
|
1189
|
+
React.createElement(
|
|
1190
1190
|
'span',
|
|
1191
1191
|
{ style: { display: 'inline-block' } },
|
|
1192
1192
|
timeDifferenceCalc(article.published)
|
|
1193
1193
|
)
|
|
1194
1194
|
),
|
|
1195
|
-
|
|
1195
|
+
React.createElement(
|
|
1196
1196
|
'div',
|
|
1197
1197
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1198
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1198
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1199
1199
|
LazyLoad,
|
|
1200
1200
|
{ height: 50 },
|
|
1201
|
-
|
|
1201
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1202
1202
|
)
|
|
1203
1203
|
),
|
|
1204
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1204
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1205
1205
|
'div',
|
|
1206
1206
|
{ className: 'content-category-label' },
|
|
1207
|
-
|
|
1207
|
+
React.createElement(
|
|
1208
1208
|
'div',
|
|
1209
1209
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1210
1210
|
article.source
|
|
1211
1211
|
)
|
|
1212
1212
|
),
|
|
1213
|
-
|
|
1213
|
+
React.createElement(
|
|
1214
1214
|
'div',
|
|
1215
1215
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1216
|
-
showCategory && article.contentCategory &&
|
|
1216
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1217
1217
|
'p',
|
|
1218
1218
|
{
|
|
1219
1219
|
className: 'article-category',
|
|
@@ -1227,7 +1227,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1227
1227
|
} },
|
|
1228
1228
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1229
1229
|
),
|
|
1230
|
-
article.issueSection && article.issueSection.name &&
|
|
1230
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1231
1231
|
'p',
|
|
1232
1232
|
{
|
|
1233
1233
|
className: 'issueSection',
|
|
@@ -1243,50 +1243,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1243
1243
|
article.issueSection.name
|
|
1244
1244
|
)
|
|
1245
1245
|
),
|
|
1246
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1246
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1247
1247
|
'div',
|
|
1248
1248
|
{ className: 'pubInfo' },
|
|
1249
|
-
article.volume &&
|
|
1249
|
+
article.volume && React.createElement(
|
|
1250
1250
|
'p',
|
|
1251
1251
|
{ className: 'qdeVolume' },
|
|
1252
1252
|
article.volume
|
|
1253
1253
|
),
|
|
1254
|
-
article.issue &&
|
|
1254
|
+
article.issue && React.createElement(
|
|
1255
1255
|
'p',
|
|
1256
1256
|
{ className: 'qdeIssue' },
|
|
1257
1257
|
article.issue
|
|
1258
1258
|
)
|
|
1259
1259
|
),
|
|
1260
|
-
showIntro && article.summary &&
|
|
1260
|
+
showIntro && article.summary && React.createElement(
|
|
1261
1261
|
'p',
|
|
1262
1262
|
{ className: 'pt-2 card-text' },
|
|
1263
1263
|
clean_html_1(article.summary)
|
|
1264
1264
|
)
|
|
1265
1265
|
)
|
|
1266
1266
|
),
|
|
1267
|
-
|
|
1267
|
+
React.createElement(
|
|
1268
1268
|
'div',
|
|
1269
1269
|
null,
|
|
1270
|
-
|
|
1270
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1271
1271
|
)
|
|
1272
1272
|
)
|
|
1273
1273
|
);
|
|
1274
1274
|
} else return null;
|
|
1275
1275
|
})
|
|
1276
|
-
) :
|
|
1276
|
+
) : React.createElement(
|
|
1277
1277
|
'div',
|
|
1278
1278
|
null,
|
|
1279
|
-
|
|
1279
|
+
React.createElement(
|
|
1280
1280
|
'h5',
|
|
1281
1281
|
null,
|
|
1282
|
-
|
|
1282
|
+
React.createElement(
|
|
1283
1283
|
'em',
|
|
1284
1284
|
null,
|
|
1285
1285
|
'New content coming soon, please check back later.'
|
|
1286
1286
|
)
|
|
1287
1287
|
)
|
|
1288
1288
|
),
|
|
1289
|
-
|
|
1289
|
+
React.createElement(
|
|
1290
1290
|
'style',
|
|
1291
1291
|
{ jsx: 'true' },
|
|
1292
1292
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: fit-content;\n width: -moz-fit-content;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .sanityDisplayLabel {\n max-width: 100%;\n }\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
@@ -1295,11 +1295,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1295
1295
|
};
|
|
1296
1296
|
|
|
1297
1297
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1298
|
-
return
|
|
1299
|
-
|
|
1298
|
+
return React.createElement(
|
|
1299
|
+
React.Fragment,
|
|
1300
1300
|
null,
|
|
1301
|
-
|
|
1302
|
-
|
|
1301
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1302
|
+
React.createElement(
|
|
1303
1303
|
'style',
|
|
1304
1304
|
{ jsx: 'true' },
|
|
1305
1305
|
'\n .queuedeck-exp-image-placeholder {\n width: 240px;\n height: 0;\n padding-top: calc(240px * 9 / 16);\n margin: 0 1rem 0 0;\n }\n @media only screen and (max-width: 767px) {\n .queuedeck-exp-image-placeholder {\n width: 100%;\n height: 0;\n padding-top: calc(100% * 9 / 16);\n margin: 0 0 1rem 0;\n }\n }\n '
|
|
@@ -1309,7 +1309,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1309
1309
|
|
|
1310
1310
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1311
1311
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1312
|
-
return
|
|
1312
|
+
return React.createElement(
|
|
1313
1313
|
'div',
|
|
1314
1314
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1315
1315
|
rightItems[i].component
|
|
@@ -1418,15 +1418,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1418
1418
|
return null;
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
|
-
return
|
|
1421
|
+
return React.createElement(
|
|
1422
1422
|
'div',
|
|
1423
1423
|
{ className: 'd-flex justify-content-between' },
|
|
1424
|
-
currentPage && currentPage > 1 &&
|
|
1424
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1425
1425
|
'a',
|
|
1426
1426
|
{ href: '?page=' + (currentPage - 1) },
|
|
1427
1427
|
'<< Previous'
|
|
1428
1428
|
),
|
|
1429
|
-
|
|
1429
|
+
React.createElement(
|
|
1430
1430
|
'a',
|
|
1431
1431
|
{ href: '?page=' + (currentPage + 1) },
|
|
1432
1432
|
'Next >>'
|
|
@@ -1473,40 +1473,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
};
|
|
1475
1475
|
|
|
1476
|
-
return
|
|
1476
|
+
return React.createElement(
|
|
1477
1477
|
'div',
|
|
1478
1478
|
null,
|
|
1479
|
-
autoScroll ?
|
|
1480
|
-
|
|
1479
|
+
autoScroll ? React.createElement(
|
|
1480
|
+
React.Fragment,
|
|
1481
1481
|
null,
|
|
1482
|
-
|
|
1482
|
+
React.createElement(
|
|
1483
1483
|
InfiniteScroll,
|
|
1484
1484
|
{ dataLength: data && data.length, next: function next() {
|
|
1485
1485
|
return loadMore(values, setValues, per);
|
|
1486
1486
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1487
|
-
|
|
1487
|
+
React.createElement(
|
|
1488
1488
|
Container,
|
|
1489
1489
|
null,
|
|
1490
1490
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1491
1491
|
)
|
|
1492
1492
|
),
|
|
1493
|
-
|
|
1493
|
+
React.createElement(
|
|
1494
1494
|
'noscript',
|
|
1495
1495
|
null,
|
|
1496
1496
|
renderManualPagination(currentPage)
|
|
1497
1497
|
)
|
|
1498
|
-
) :
|
|
1499
|
-
|
|
1498
|
+
) : React.createElement(
|
|
1499
|
+
React.Fragment,
|
|
1500
1500
|
null,
|
|
1501
|
-
|
|
1501
|
+
React.createElement(
|
|
1502
1502
|
Container,
|
|
1503
1503
|
null,
|
|
1504
1504
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1505
1505
|
),
|
|
1506
|
-
|
|
1506
|
+
React.createElement(
|
|
1507
1507
|
'div',
|
|
1508
1508
|
{ style: { padding: '0px 10px' } },
|
|
1509
|
-
scrolling ?
|
|
1509
|
+
scrolling ? React.createElement(
|
|
1510
1510
|
'button',
|
|
1511
1511
|
{
|
|
1512
1512
|
className: 'load-more-btn',
|
|
@@ -1515,17 +1515,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1515
1515
|
loadMore(values, setValues, per);
|
|
1516
1516
|
} },
|
|
1517
1517
|
'Load More'
|
|
1518
|
-
) :
|
|
1518
|
+
) : React.createElement(
|
|
1519
1519
|
'p',
|
|
1520
1520
|
{ style: { textAlign: 'center' } },
|
|
1521
|
-
|
|
1521
|
+
React.createElement(
|
|
1522
1522
|
'b',
|
|
1523
1523
|
null,
|
|
1524
1524
|
'End of data'
|
|
1525
1525
|
)
|
|
1526
1526
|
)
|
|
1527
1527
|
),
|
|
1528
|
-
|
|
1528
|
+
React.createElement(
|
|
1529
1529
|
'noscript',
|
|
1530
1530
|
null,
|
|
1531
1531
|
renderManualPagination(currentPage)
|