@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.703-testing-module-splitting
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +26 -24
- package/dist/cjs/AD300x250x600.js +26 -24
- package/dist/cjs/AD728x90.js +29 -27
- package/dist/cjs/ADFloatingFooter.js +31 -29
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +28 -26
- package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +28 -26
- package/dist/cjs/ADSponsoredResources.js +28 -26
- package/dist/cjs/ADWebcast.js +28 -26
- package/dist/cjs/ADWelcome.js +32 -30
- package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +33 -31
- package/dist/cjs/AdSlotsProvider.js +8 -7
- package/dist/cjs/AlphabeticList.js +26 -24
- package/dist/cjs/ArticleCarousel.js +23 -21
- package/dist/cjs/ArticleSeriesListing.js +59 -57
- package/dist/cjs/Auth.js +817 -530
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +10 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +41 -39
- package/dist/cjs/CMEDeck.js +79 -78
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -32
- package/dist/cjs/Column3.js +59 -55
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -102
- package/dist/cjs/DeckQueue.js +91 -86
- package/dist/cjs/{Dfp-390337bf.js → Dfp-80c3d853.js} +32 -30
- package/dist/cjs/EventsDeck.js +157 -149
- package/dist/cjs/ExternalResources.js +76 -74
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +42 -40
- package/dist/cjs/GridContent.js +182 -177
- package/dist/cjs/GridHero.js +44 -42
- package/dist/cjs/GroupDeck.js +51 -49
- package/dist/cjs/HamMagazine.js +145 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -72
- package/dist/cjs/IssueDeck.js +76 -70
- package/dist/cjs/IssueLanding.js +71 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -36
- package/dist/cjs/MasterDeck.js +81 -79
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +154 -148
- package/dist/cjs/NavNative.js +133 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +68 -66
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +107 -1302
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +119 -114
- package/dist/cjs/QueueDeckExpanded.js +293 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +8 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-a49e8e9d.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -57
- package/dist/cjs/TemplateNormal.js +74 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +28 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -33
- package/dist/cjs/VideoSeriesFilter.js +20 -19
- package/dist/cjs/VideoSeriesListing.js +74 -72
- package/dist/cjs/View.js +227 -223
- package/dist/cjs/YahooHero.js +41 -39
- package/dist/cjs/YoutubeGroup.js +70 -68
- package/dist/cjs/{_to-object-329a650b.js → _export-7e018e14.js} +2 -146
- package/dist/cjs/{_is-array-754e012d.js → _is-array-4c61cfba.js} +13 -12
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2a826637.js} +4 -4
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-d088ff6e.js} +10 -9
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-7ca8f87e.js} +58 -57
- 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-14f49e03.js} +4 -3
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-fd46a81e.js} +3 -3
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-edc12c5a.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-a390d61f.js} +18 -17
- package/dist/cjs/{extends-60837c34.js → extends-0a166456.js} +6 -5
- package/dist/cjs/getRelatedArticle.js +425 -13
- package/dist/cjs/getSerializers.js +42 -41
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-58dae365.js → index-0e3597c2.js} +440 -429
- package/dist/cjs/{index-099d45ae.js → index-5ad2b070.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-3294d3bc.js → index-cb6ed1fc.js} +17 -18
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- 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 +9 -260
- package/dist/cjs/{inherits-513d81cd.js → inherits-a9209207.js} +16 -15
- package/dist/cjs/{keys-a586b7a0.js → keys-d2f5bcf0.js} +4 -3
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-eeffe77b.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-60dafa9c.js} +7 -7
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-4bb00640.js} +9 -8
- package/dist/cjs/{typeof-725500bc.js → typeof-03c3fdc8.js} +50 -49
- 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-2d47ebe6.js} +6 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -22
- package/dist/esm/AD300x250x600.js +23 -22
- package/dist/esm/AD728x90.js +26 -25
- package/dist/esm/ADFloatingFooter.js +28 -27
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +25 -24
- package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-bf7de12d.js} +7 -7
- package/dist/esm/ADSkyscraper.js +25 -24
- package/dist/esm/ADSponsoredResources.js +25 -24
- package/dist/esm/ADWebcast.js +25 -24
- package/dist/esm/ADWelcome.js +29 -28
- package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-3ac04591.js} +6 -6
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +19 -18
- package/dist/esm/ArticleSeriesListing.js +53 -52
- package/dist/esm/Auth.js +798 -515
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +10 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +37 -36
- package/dist/esm/CMEDeck.js +76 -75
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -26
- package/dist/esm/Column3.js +50 -49
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +85 -84
- package/dist/esm/DeckQueue.js +65 -64
- package/dist/esm/{Dfp-741c01be.js → Dfp-08279047.js} +21 -20
- package/dist/esm/EventsDeck.js +101 -100
- package/dist/esm/ExternalResources.js +70 -69
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -34
- package/dist/esm/GridContent.js +140 -139
- package/dist/esm/GridHero.js +37 -36
- package/dist/esm/GroupDeck.js +46 -45
- package/dist/esm/HamMagazine.js +114 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -49
- package/dist/esm/IssueDeck.js +47 -46
- package/dist/esm/IssueLanding.js +68 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -33
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +125 -124
- package/dist/esm/NavNative.js +101 -100
- package/dist/esm/NavNormal.js +37 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -59
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +105 -1300
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +76 -75
- package/dist/esm/QueueDeckExpanded.js +274 -273
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +8 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-46ea0f4d.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -41
- package/dist/esm/TemplateNormal.js +68 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +24 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +26 -25
- package/dist/esm/VideoSeriesFilter.js +17 -16
- package/dist/esm/VideoSeriesListing.js +67 -66
- package/dist/esm/View.js +215 -215
- package/dist/esm/YahooHero.js +35 -34
- package/dist/esm/YoutubeGroup.js +54 -53
- package/dist/esm/{_to-object-ded78eb9.js → _export-9029ebab.js} +3 -134
- package/dist/esm/{_is-array-49698029.js → _is-array-46713c19.js} +7 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-60cd145f.js} +2 -2
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-108a1939.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-a4b3fe39.js} +6 -5
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-7714cea4.js} +10 -9
- 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-54d2e411.js → core.get-iterator-method-6636b3ef.js} +3 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-f2d6f244.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-69f06029.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-2efae22d.js} +4 -3
- package/dist/esm/{extends-cc5da797.js → extends-f866c8d0.js} +3 -2
- package/dist/esm/getRelatedArticle.js +425 -13
- package/dist/esm/getSerializers.js +42 -41
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-7779a6df.js → index-5db919a6.js} +384 -380
- package/dist/esm/{index-3f4dd6f2.js → index-669ff425.js} +10 -12
- package/dist/esm/{index-ef6d5dcf.js → index-750a7380.js} +17 -18
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-57f377a5.js} +7 -16
- 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 +11 -172
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-75d6495f.js} +6 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-78217618.js} +3 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-decc48f4.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-7021e5df.js → slicedToArray-fa9240c4.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-22907f56.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-bd01c637.js} +5 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-668f30cd.js} +9 -8
- 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-8956f9a5.js → web.dom.iterable-89515070.js} +4 -3
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
|
@@ -1,42 +1,43 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-bd01c637.js';
|
|
3
|
+
import { _ as _extends } from './extends-f866c8d0.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-669ff425.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
13
|
+
import { m as main_40 } from './main-decc48f4.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-22790017.js';
|
|
17
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-3ac04591.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 './
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import
|
|
10
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
11
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
22
|
+
import './web.dom.iterable-89515070.js';
|
|
23
|
+
import './es6.string.iterator-2efae22d.js';
|
|
24
|
+
import './_to-object-62924b74.js';
|
|
25
|
+
import './_export-9029ebab.js';
|
|
26
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
27
|
+
import './_iter-detect-60cd145f.js';
|
|
28
|
+
import './_object-pie-33c40e79.js';
|
|
29
|
+
import 'react-dom';
|
|
13
30
|
import 'prop-types';
|
|
31
|
+
import './stringify-22907f56.js';
|
|
14
32
|
import 'react-bootstrap/Card';
|
|
15
|
-
import
|
|
16
|
-
import { useRouter } from 'next/router';
|
|
17
|
-
import './isSymbol-807e927e.js';
|
|
33
|
+
import './AdSlot.js';
|
|
18
34
|
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-3849e3fe.js';
|
|
23
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
24
|
-
import { m as main_36 } from './main-35ff7b4f.js';
|
|
25
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
|
-
import './stringify-008c8802.js';
|
|
27
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
28
|
-
import './asyncToGenerator-7c654f36.js';
|
|
29
|
-
import './_set-species-cede29f8.js';
|
|
30
|
-
import './Segment.js';
|
|
35
|
+
import './isSymbol-807e927e.js';
|
|
31
36
|
import './Beam.js';
|
|
32
|
-
import './
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
37
|
-
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
|
38
|
-
import { Container, Media } from 'react-bootstrap';
|
|
39
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
37
|
+
import './asyncToGenerator-7714cea4.js';
|
|
38
|
+
import './_library-528f1934.js';
|
|
39
|
+
import './_set-species-a4b3fe39.js';
|
|
40
|
+
import './Segment.js';
|
|
40
41
|
|
|
41
42
|
var urlFor = function urlFor(source, builder) {
|
|
42
43
|
return builder.image(source).auto('format');
|
|
@@ -250,7 +251,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
250
251
|
});
|
|
251
252
|
|
|
252
253
|
var featureCount = 0;
|
|
253
|
-
return
|
|
254
|
+
return React.createElement(
|
|
254
255
|
'div',
|
|
255
256
|
null,
|
|
256
257
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -261,7 +262,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
261
262
|
if (article._type === 'feature') {
|
|
262
263
|
featureCount++;
|
|
263
264
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
264
|
-
return
|
|
265
|
+
return React.createElement(
|
|
265
266
|
VisibilitySensor,
|
|
266
267
|
{
|
|
267
268
|
key: article._id ? article._id : index,
|
|
@@ -269,51 +270,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
269
270
|
onChange: function onChange(isVisible) {
|
|
270
271
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
271
272
|
} },
|
|
272
|
-
|
|
273
|
-
|
|
273
|
+
React.createElement(
|
|
274
|
+
React.Fragment,
|
|
274
275
|
null,
|
|
275
|
-
|
|
276
|
+
React.createElement(
|
|
276
277
|
Media,
|
|
277
278
|
{
|
|
278
279
|
key: article._id ? article._id : index,
|
|
279
280
|
className: 'feature-media',
|
|
280
281
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
281
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
282
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
282
283
|
'a',
|
|
283
284
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
284
|
-
|
|
285
|
+
React.createElement(
|
|
285
286
|
LazyLoad,
|
|
286
|
-
{ height: imageHeight, placeholder:
|
|
287
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
287
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
288
|
+
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
289
|
),
|
|
289
|
-
article.source &&
|
|
290
|
+
article.source && React.createElement(
|
|
290
291
|
'div',
|
|
291
292
|
{ className: 'content-category-label' },
|
|
292
|
-
|
|
293
|
+
React.createElement(
|
|
293
294
|
'div',
|
|
294
295
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
295
296
|
article.source
|
|
296
297
|
)
|
|
297
298
|
)
|
|
298
299
|
),
|
|
299
|
-
|
|
300
|
+
React.createElement(
|
|
300
301
|
Media.Body,
|
|
301
302
|
null,
|
|
302
|
-
|
|
303
|
+
React.createElement(
|
|
303
304
|
'a',
|
|
304
305
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
305
|
-
article.title &&
|
|
306
|
+
article.title && React.createElement(
|
|
306
307
|
'h4',
|
|
307
308
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
308
309
|
article.title
|
|
309
310
|
)
|
|
310
311
|
),
|
|
311
|
-
showPublished && !showTimeDiff && article.published &&
|
|
312
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
312
313
|
'p',
|
|
313
314
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
314
315
|
moment(article.published).format('MMMM DD, YYYY')
|
|
315
316
|
),
|
|
316
|
-
showTimeDiff && article.published &&
|
|
317
|
+
showTimeDiff && article.published && React.createElement(
|
|
317
318
|
'p',
|
|
318
319
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
319
320
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -321,20 +322,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
321
322
|
return null;
|
|
322
323
|
}
|
|
323
324
|
if (index === 3) {
|
|
324
|
-
return
|
|
325
|
-
|
|
325
|
+
return React.createElement(
|
|
326
|
+
React.Fragment,
|
|
326
327
|
null,
|
|
327
|
-
|
|
328
|
+
React.createElement(
|
|
328
329
|
'em',
|
|
329
330
|
{ style: { marginRight: '.5rem' } },
|
|
330
331
|
'...'
|
|
331
332
|
)
|
|
332
333
|
);
|
|
333
334
|
}
|
|
334
|
-
return
|
|
335
|
-
|
|
335
|
+
return React.createElement(
|
|
336
|
+
React.Fragment,
|
|
336
337
|
null,
|
|
337
|
-
|
|
338
|
+
React.createElement(
|
|
338
339
|
'em',
|
|
339
340
|
null,
|
|
340
341
|
taxonomy.name
|
|
@@ -344,30 +345,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
344
345
|
);
|
|
345
346
|
}),
|
|
346
347
|
' ',
|
|
347
|
-
|
|
348
|
+
React.createElement(
|
|
348
349
|
'span',
|
|
349
350
|
{ style: { display: 'inline-block' } },
|
|
350
351
|
timeDifferenceCalc(article.published)
|
|
351
352
|
)
|
|
352
353
|
),
|
|
353
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
354
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
354
355
|
LazyLoad,
|
|
355
356
|
{ height: 50 },
|
|
356
|
-
|
|
357
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
357
358
|
),
|
|
358
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
359
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
359
360
|
'div',
|
|
360
361
|
{ className: 'content-category-label' },
|
|
361
|
-
|
|
362
|
+
React.createElement(
|
|
362
363
|
'div',
|
|
363
364
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
364
365
|
article.source
|
|
365
366
|
)
|
|
366
367
|
),
|
|
367
|
-
|
|
368
|
+
React.createElement(
|
|
368
369
|
'div',
|
|
369
370
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
370
|
-
showCategory && article.contentCategory &&
|
|
371
|
+
showCategory && article.contentCategory && React.createElement(
|
|
371
372
|
'p',
|
|
372
373
|
{
|
|
373
374
|
className: 'article-category',
|
|
@@ -381,7 +382,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
381
382
|
} },
|
|
382
383
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
383
384
|
),
|
|
384
|
-
article.issueSection && article.issueSection.name &&
|
|
385
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
385
386
|
'p',
|
|
386
387
|
{
|
|
387
388
|
className: 'issueSection',
|
|
@@ -397,21 +398,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
397
398
|
article.issueSection.name
|
|
398
399
|
)
|
|
399
400
|
),
|
|
400
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
401
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
401
402
|
'div',
|
|
402
403
|
{ className: 'pubInfo' },
|
|
403
|
-
article.volume &&
|
|
404
|
+
article.volume && React.createElement(
|
|
404
405
|
'p',
|
|
405
406
|
{ className: 'qdeVolume' },
|
|
406
407
|
article.volume
|
|
407
408
|
),
|
|
408
|
-
article.issue &&
|
|
409
|
+
article.issue && React.createElement(
|
|
409
410
|
'p',
|
|
410
411
|
{ className: 'qdeIssue' },
|
|
411
412
|
article.issue
|
|
412
413
|
)
|
|
413
414
|
),
|
|
414
|
-
showIntro && article.summary &&
|
|
415
|
+
showIntro && article.summary && React.createElement(
|
|
415
416
|
'p',
|
|
416
417
|
{ className: 'pt-2 card-text' },
|
|
417
418
|
clean_html_1(article.summary)
|
|
@@ -421,7 +422,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
421
422
|
)
|
|
422
423
|
);
|
|
423
424
|
} else {
|
|
424
|
-
return
|
|
425
|
+
return React.createElement(
|
|
425
426
|
VisibilitySensor,
|
|
426
427
|
{
|
|
427
428
|
key: article._id ? article._id : index,
|
|
@@ -429,51 +430,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
429
430
|
onChange: function onChange(isVisible) {
|
|
430
431
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
431
432
|
} },
|
|
432
|
-
|
|
433
|
-
|
|
433
|
+
React.createElement(
|
|
434
|
+
React.Fragment,
|
|
434
435
|
null,
|
|
435
|
-
|
|
436
|
+
React.createElement(
|
|
436
437
|
Media,
|
|
437
438
|
{
|
|
438
439
|
key: article._id ? article._id : index,
|
|
439
440
|
className: 'feature-media',
|
|
440
441
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
441
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
442
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
442
443
|
'a',
|
|
443
444
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
444
|
-
|
|
445
|
+
React.createElement(
|
|
445
446
|
LazyLoad,
|
|
446
|
-
{ height: imageHeight, placeholder:
|
|
447
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
447
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
448
|
+
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
449
|
),
|
|
449
|
-
article.source &&
|
|
450
|
+
article.source && React.createElement(
|
|
450
451
|
'div',
|
|
451
452
|
{ className: 'content-category-label' },
|
|
452
|
-
|
|
453
|
+
React.createElement(
|
|
453
454
|
'div',
|
|
454
455
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
455
456
|
article.source
|
|
456
457
|
)
|
|
457
458
|
)
|
|
458
459
|
),
|
|
459
|
-
|
|
460
|
+
React.createElement(
|
|
460
461
|
Media.Body,
|
|
461
462
|
null,
|
|
462
|
-
|
|
463
|
+
React.createElement(
|
|
463
464
|
'a',
|
|
464
465
|
{ href: article.url.current },
|
|
465
|
-
article.title &&
|
|
466
|
+
article.title && React.createElement(
|
|
466
467
|
'h4',
|
|
467
468
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
468
469
|
article.title
|
|
469
470
|
)
|
|
470
471
|
),
|
|
471
|
-
showPublished && !showTimeDiff && article.published &&
|
|
472
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
472
473
|
'p',
|
|
473
474
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
474
475
|
moment(article.published).format('MMMM DD, YYYY')
|
|
475
476
|
),
|
|
476
|
-
showTimeDiff && article.published &&
|
|
477
|
+
showTimeDiff && article.published && React.createElement(
|
|
477
478
|
'p',
|
|
478
479
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
479
480
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -481,10 +482,10 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
481
482
|
return null;
|
|
482
483
|
}
|
|
483
484
|
if (index === 3) {
|
|
484
|
-
return
|
|
485
|
-
|
|
485
|
+
return React.createElement(
|
|
486
|
+
React.Fragment,
|
|
486
487
|
null,
|
|
487
|
-
|
|
488
|
+
React.createElement(
|
|
488
489
|
'em',
|
|
489
490
|
{ style: { marginRight: '.5rem' } },
|
|
490
491
|
'...'
|
|
@@ -492,20 +493,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
492
493
|
);
|
|
493
494
|
}
|
|
494
495
|
if (index === 3) {
|
|
495
|
-
return
|
|
496
|
-
|
|
496
|
+
return React.createElement(
|
|
497
|
+
React.Fragment,
|
|
497
498
|
null,
|
|
498
|
-
|
|
499
|
+
React.createElement(
|
|
499
500
|
'em',
|
|
500
501
|
{ style: { marginRight: '.5rem' } },
|
|
501
502
|
'...'
|
|
502
503
|
)
|
|
503
504
|
);
|
|
504
505
|
}
|
|
505
|
-
return
|
|
506
|
-
|
|
506
|
+
return React.createElement(
|
|
507
|
+
React.Fragment,
|
|
507
508
|
null,
|
|
508
|
-
|
|
509
|
+
React.createElement(
|
|
509
510
|
'em',
|
|
510
511
|
null,
|
|
511
512
|
taxonomy.name
|
|
@@ -515,30 +516,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
515
516
|
);
|
|
516
517
|
}),
|
|
517
518
|
' ',
|
|
518
|
-
|
|
519
|
+
React.createElement(
|
|
519
520
|
'span',
|
|
520
521
|
{ style: { display: 'inline-block' } },
|
|
521
522
|
timeDifferenceCalc(article.published)
|
|
522
523
|
)
|
|
523
524
|
),
|
|
524
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
525
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
525
526
|
LazyLoad,
|
|
526
527
|
{ height: 50 },
|
|
527
|
-
|
|
528
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
528
529
|
),
|
|
529
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
530
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
530
531
|
'div',
|
|
531
532
|
{ className: 'content-category-label' },
|
|
532
|
-
|
|
533
|
+
React.createElement(
|
|
533
534
|
'div',
|
|
534
535
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
535
536
|
article.source
|
|
536
537
|
)
|
|
537
538
|
),
|
|
538
|
-
|
|
539
|
+
React.createElement(
|
|
539
540
|
'div',
|
|
540
541
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
541
|
-
showCategory && article.contentCategory &&
|
|
542
|
+
showCategory && article.contentCategory && React.createElement(
|
|
542
543
|
'p',
|
|
543
544
|
{
|
|
544
545
|
className: 'article-category',
|
|
@@ -552,7 +553,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
552
553
|
} },
|
|
553
554
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
554
555
|
),
|
|
555
|
-
article.issueSection && article.issueSection.name &&
|
|
556
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
556
557
|
'p',
|
|
557
558
|
{
|
|
558
559
|
className: 'issueSection',
|
|
@@ -568,21 +569,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
568
569
|
article.issueSection.name
|
|
569
570
|
)
|
|
570
571
|
),
|
|
571
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
572
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
572
573
|
'div',
|
|
573
574
|
{ className: 'pubInfo' },
|
|
574
|
-
article.volume &&
|
|
575
|
+
article.volume && React.createElement(
|
|
575
576
|
'p',
|
|
576
577
|
{ className: 'qdeVolume' },
|
|
577
578
|
article.volume
|
|
578
579
|
),
|
|
579
|
-
article.issue &&
|
|
580
|
+
article.issue && React.createElement(
|
|
580
581
|
'p',
|
|
581
582
|
{ className: 'qdeIssue' },
|
|
582
583
|
article.issue
|
|
583
584
|
)
|
|
584
585
|
),
|
|
585
|
-
showIntro && article.summary &&
|
|
586
|
+
showIntro && article.summary && React.createElement(
|
|
586
587
|
'p',
|
|
587
588
|
{ className: 'pt-2 card-text' },
|
|
588
589
|
clean_html_1(article.summary)
|
|
@@ -593,12 +594,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
593
594
|
);
|
|
594
595
|
}
|
|
595
596
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
596
|
-
return
|
|
597
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
597
598
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
598
|
-
return
|
|
599
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
599
600
|
}
|
|
600
601
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
601
|
-
return
|
|
602
|
+
return React.createElement(
|
|
602
603
|
VisibilitySensor,
|
|
603
604
|
{
|
|
604
605
|
key: article._id ? article._id : index,
|
|
@@ -606,50 +607,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
606
607
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
607
608
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
608
609
|
} },
|
|
609
|
-
|
|
610
|
-
|
|
610
|
+
React.createElement(
|
|
611
|
+
React.Fragment,
|
|
611
612
|
null,
|
|
612
|
-
|
|
613
|
+
React.createElement(
|
|
613
614
|
Media,
|
|
614
615
|
{
|
|
615
616
|
key: article._id ? article._id : index,
|
|
616
617
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
617
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
618
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
618
619
|
'a',
|
|
619
620
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
620
|
-
|
|
621
|
+
React.createElement(
|
|
621
622
|
LazyLoad,
|
|
622
|
-
{ height: imageHeight, placeholder:
|
|
623
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
623
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
624
|
+
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
625
|
),
|
|
625
|
-
article.source &&
|
|
626
|
+
article.source && React.createElement(
|
|
626
627
|
'div',
|
|
627
628
|
{ className: 'content-category-label' },
|
|
628
|
-
|
|
629
|
+
React.createElement(
|
|
629
630
|
'div',
|
|
630
631
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
631
632
|
article.source
|
|
632
633
|
)
|
|
633
634
|
)
|
|
634
635
|
),
|
|
635
|
-
|
|
636
|
+
React.createElement(
|
|
636
637
|
Media.Body,
|
|
637
638
|
null,
|
|
638
|
-
|
|
639
|
+
React.createElement(
|
|
639
640
|
'a',
|
|
640
641
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
641
|
-
article.title &&
|
|
642
|
+
article.title && React.createElement(
|
|
642
643
|
'h4',
|
|
643
644
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
644
645
|
article.title
|
|
645
646
|
)
|
|
646
647
|
),
|
|
647
|
-
showPublished && !showTimeDiff && article.published &&
|
|
648
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
648
649
|
'p',
|
|
649
650
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
650
651
|
moment(article.published).format('MMMM DD, YYYY')
|
|
651
652
|
),
|
|
652
|
-
showTimeDiff && article.published &&
|
|
653
|
+
showTimeDiff && article.published && React.createElement(
|
|
653
654
|
'p',
|
|
654
655
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
655
656
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -657,20 +658,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
657
658
|
return null;
|
|
658
659
|
}
|
|
659
660
|
if (index === 3) {
|
|
660
|
-
return
|
|
661
|
-
|
|
661
|
+
return React.createElement(
|
|
662
|
+
React.Fragment,
|
|
662
663
|
null,
|
|
663
|
-
|
|
664
|
+
React.createElement(
|
|
664
665
|
'em',
|
|
665
666
|
{ style: { marginRight: '.5rem' } },
|
|
666
667
|
'...'
|
|
667
668
|
)
|
|
668
669
|
);
|
|
669
670
|
}
|
|
670
|
-
return
|
|
671
|
-
|
|
671
|
+
return React.createElement(
|
|
672
|
+
React.Fragment,
|
|
672
673
|
null,
|
|
673
|
-
|
|
674
|
+
React.createElement(
|
|
674
675
|
'em',
|
|
675
676
|
null,
|
|
676
677
|
taxonomy.name
|
|
@@ -680,34 +681,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
680
681
|
);
|
|
681
682
|
}),
|
|
682
683
|
' ',
|
|
683
|
-
|
|
684
|
+
React.createElement(
|
|
684
685
|
'span',
|
|
685
686
|
{ style: { display: 'inline-block' } },
|
|
686
687
|
timeDifferenceCalc(article.published)
|
|
687
688
|
)
|
|
688
689
|
),
|
|
689
|
-
|
|
690
|
+
React.createElement(
|
|
690
691
|
'div',
|
|
691
692
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
692
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
693
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
693
694
|
LazyLoad,
|
|
694
695
|
{ height: 50 },
|
|
695
|
-
|
|
696
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
696
697
|
)
|
|
697
698
|
),
|
|
698
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
699
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
699
700
|
'div',
|
|
700
701
|
{ className: 'content-category-label' },
|
|
701
|
-
|
|
702
|
+
React.createElement(
|
|
702
703
|
'div',
|
|
703
704
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
704
705
|
article.source
|
|
705
706
|
)
|
|
706
707
|
),
|
|
707
|
-
|
|
708
|
+
React.createElement(
|
|
708
709
|
'div',
|
|
709
710
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
710
|
-
showCategory && article.contentCategory &&
|
|
711
|
+
showCategory && article.contentCategory && React.createElement(
|
|
711
712
|
'p',
|
|
712
713
|
{
|
|
713
714
|
className: 'article-category',
|
|
@@ -721,7 +722,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
721
722
|
} },
|
|
722
723
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
723
724
|
),
|
|
724
|
-
article.issueSection && article.issueSection.name &&
|
|
725
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
725
726
|
'p',
|
|
726
727
|
{
|
|
727
728
|
className: 'issueSection',
|
|
@@ -737,38 +738,38 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
737
738
|
article.issueSection.name
|
|
738
739
|
)
|
|
739
740
|
),
|
|
740
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
741
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
741
742
|
'div',
|
|
742
743
|
{ className: 'pubInfo' },
|
|
743
|
-
article.volume &&
|
|
744
|
+
article.volume && React.createElement(
|
|
744
745
|
'p',
|
|
745
746
|
{ className: 'qdeVolume' },
|
|
746
747
|
article.volume
|
|
747
748
|
),
|
|
748
|
-
article.issue &&
|
|
749
|
+
article.issue && React.createElement(
|
|
749
750
|
'p',
|
|
750
751
|
{ className: 'qdeIssue' },
|
|
751
752
|
article.issue
|
|
752
753
|
)
|
|
753
754
|
),
|
|
754
|
-
showIntro && article.summary &&
|
|
755
|
+
showIntro && article.summary && React.createElement(
|
|
755
756
|
'p',
|
|
756
757
|
{ className: 'pt-2 card-text' },
|
|
757
758
|
clean_html_1(article.summary)
|
|
758
759
|
)
|
|
759
760
|
)
|
|
760
761
|
),
|
|
761
|
-
|
|
762
|
+
React.createElement(
|
|
762
763
|
'div',
|
|
763
764
|
null,
|
|
764
|
-
|
|
765
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
765
766
|
)
|
|
766
767
|
)
|
|
767
768
|
);
|
|
768
769
|
} else return null;
|
|
769
770
|
}) :
|
|
770
771
|
// For Javascript Disabled Cases
|
|
771
|
-
|
|
772
|
+
React.createElement(
|
|
772
773
|
'noscript',
|
|
773
774
|
null,
|
|
774
775
|
data.map(function (article, index) {
|
|
@@ -778,7 +779,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
778
779
|
if (article._type === 'feature') {
|
|
779
780
|
featureCount++;
|
|
780
781
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
781
|
-
return
|
|
782
|
+
return React.createElement(
|
|
782
783
|
VisibilitySensor,
|
|
783
784
|
{
|
|
784
785
|
key: article._id ? article._id : index,
|
|
@@ -786,51 +787,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
786
787
|
onChange: function onChange(isVisible) {
|
|
787
788
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
788
789
|
} },
|
|
789
|
-
|
|
790
|
-
|
|
790
|
+
React.createElement(
|
|
791
|
+
React.Fragment,
|
|
791
792
|
null,
|
|
792
|
-
|
|
793
|
+
React.createElement(
|
|
793
794
|
Media,
|
|
794
795
|
{
|
|
795
796
|
key: article._id ? article._id : index,
|
|
796
797
|
className: 'feature-media',
|
|
797
798
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
798
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
799
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
799
800
|
'a',
|
|
800
801
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
801
|
-
|
|
802
|
+
React.createElement(
|
|
802
803
|
LazyLoad,
|
|
803
|
-
{ height: imageHeight, placeholder:
|
|
804
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
804
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
805
|
+
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
806
|
),
|
|
806
|
-
article.source &&
|
|
807
|
+
article.source && React.createElement(
|
|
807
808
|
'div',
|
|
808
809
|
{ className: 'content-category-label' },
|
|
809
|
-
|
|
810
|
+
React.createElement(
|
|
810
811
|
'div',
|
|
811
812
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
812
813
|
article.source
|
|
813
814
|
)
|
|
814
815
|
)
|
|
815
816
|
),
|
|
816
|
-
|
|
817
|
+
React.createElement(
|
|
817
818
|
Media.Body,
|
|
818
819
|
null,
|
|
819
|
-
|
|
820
|
+
React.createElement(
|
|
820
821
|
'a',
|
|
821
822
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
822
|
-
article.title &&
|
|
823
|
+
article.title && React.createElement(
|
|
823
824
|
'h4',
|
|
824
825
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
825
826
|
article.title
|
|
826
827
|
)
|
|
827
828
|
),
|
|
828
|
-
showPublished && article.published &&
|
|
829
|
+
showPublished && article.published && React.createElement(
|
|
829
830
|
'p',
|
|
830
831
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
831
832
|
moment(article.published).format('MMMM DD, YYYY')
|
|
832
833
|
),
|
|
833
|
-
showTimeDiff && article.published &&
|
|
834
|
+
showTimeDiff && article.published && React.createElement(
|
|
834
835
|
'p',
|
|
835
836
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
836
837
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -838,20 +839,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
838
839
|
return null;
|
|
839
840
|
}
|
|
840
841
|
if (index === 3) {
|
|
841
|
-
return
|
|
842
|
-
|
|
842
|
+
return React.createElement(
|
|
843
|
+
React.Fragment,
|
|
843
844
|
null,
|
|
844
|
-
|
|
845
|
+
React.createElement(
|
|
845
846
|
'em',
|
|
846
847
|
{ style: { marginRight: '.5rem' } },
|
|
847
848
|
'...'
|
|
848
849
|
)
|
|
849
850
|
);
|
|
850
851
|
}
|
|
851
|
-
return
|
|
852
|
-
|
|
852
|
+
return React.createElement(
|
|
853
|
+
React.Fragment,
|
|
853
854
|
null,
|
|
854
|
-
|
|
855
|
+
React.createElement(
|
|
855
856
|
'em',
|
|
856
857
|
null,
|
|
857
858
|
taxonomy.name
|
|
@@ -861,30 +862,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
861
862
|
);
|
|
862
863
|
}),
|
|
863
864
|
' ',
|
|
864
|
-
|
|
865
|
+
React.createElement(
|
|
865
866
|
'span',
|
|
866
867
|
{ style: { display: 'inline-block' } },
|
|
867
868
|
timeDifferenceCalc(article.published)
|
|
868
869
|
)
|
|
869
870
|
),
|
|
870
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
871
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
871
872
|
LazyLoad,
|
|
872
873
|
{ height: 50 },
|
|
873
|
-
|
|
874
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
874
875
|
),
|
|
875
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
876
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
876
877
|
'div',
|
|
877
878
|
{ className: 'content-category-label' },
|
|
878
|
-
|
|
879
|
+
React.createElement(
|
|
879
880
|
'div',
|
|
880
881
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
881
882
|
article.source
|
|
882
883
|
)
|
|
883
884
|
),
|
|
884
|
-
|
|
885
|
+
React.createElement(
|
|
885
886
|
'div',
|
|
886
887
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
887
|
-
showCategory && article.contentCategory &&
|
|
888
|
+
showCategory && article.contentCategory && React.createElement(
|
|
888
889
|
'p',
|
|
889
890
|
{
|
|
890
891
|
className: 'article-category',
|
|
@@ -898,7 +899,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
898
899
|
} },
|
|
899
900
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
900
901
|
),
|
|
901
|
-
article.issueSection && article.issueSection.name &&
|
|
902
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
902
903
|
'p',
|
|
903
904
|
{
|
|
904
905
|
className: 'issueSection',
|
|
@@ -914,21 +915,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
914
915
|
article.issueSection.name
|
|
915
916
|
)
|
|
916
917
|
),
|
|
917
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
918
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
918
919
|
'div',
|
|
919
920
|
{ className: 'pubInfo' },
|
|
920
|
-
article.volume &&
|
|
921
|
+
article.volume && React.createElement(
|
|
921
922
|
'p',
|
|
922
923
|
{ className: 'qdeVolume' },
|
|
923
924
|
article.volume
|
|
924
925
|
),
|
|
925
|
-
article.issue &&
|
|
926
|
+
article.issue && React.createElement(
|
|
926
927
|
'p',
|
|
927
928
|
{ className: 'qdeIssue' },
|
|
928
929
|
article.issue
|
|
929
930
|
)
|
|
930
931
|
),
|
|
931
|
-
showIntro && article.summary &&
|
|
932
|
+
showIntro && article.summary && React.createElement(
|
|
932
933
|
'p',
|
|
933
934
|
{ className: 'pt-2 card-text' },
|
|
934
935
|
clean_html_1(article.summary)
|
|
@@ -938,7 +939,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
938
939
|
)
|
|
939
940
|
);
|
|
940
941
|
} else {
|
|
941
|
-
return
|
|
942
|
+
return React.createElement(
|
|
942
943
|
VisibilitySensor,
|
|
943
944
|
{
|
|
944
945
|
key: article._id ? article._id : index,
|
|
@@ -946,51 +947,51 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
946
947
|
onChange: function onChange(isVisible) {
|
|
947
948
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
948
949
|
} },
|
|
949
|
-
|
|
950
|
-
|
|
950
|
+
React.createElement(
|
|
951
|
+
React.Fragment,
|
|
951
952
|
null,
|
|
952
|
-
|
|
953
|
+
React.createElement(
|
|
953
954
|
Media,
|
|
954
955
|
{
|
|
955
956
|
key: article._id ? article._id : index,
|
|
956
957
|
className: 'feature-media',
|
|
957
958
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
958
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
959
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
959
960
|
'a',
|
|
960
961
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
961
|
-
|
|
962
|
+
React.createElement(
|
|
962
963
|
LazyLoad,
|
|
963
|
-
{ height: imageHeight, placeholder:
|
|
964
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
964
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
965
|
+
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
966
|
),
|
|
966
|
-
article.source &&
|
|
967
|
+
article.source && React.createElement(
|
|
967
968
|
'div',
|
|
968
969
|
{ className: 'content-category-label' },
|
|
969
|
-
|
|
970
|
+
React.createElement(
|
|
970
971
|
'div',
|
|
971
972
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
972
973
|
article.source
|
|
973
974
|
)
|
|
974
975
|
)
|
|
975
976
|
),
|
|
976
|
-
|
|
977
|
+
React.createElement(
|
|
977
978
|
Media.Body,
|
|
978
979
|
null,
|
|
979
|
-
|
|
980
|
+
React.createElement(
|
|
980
981
|
'a',
|
|
981
982
|
{ href: article.url.current },
|
|
982
|
-
article.title &&
|
|
983
|
+
article.title && React.createElement(
|
|
983
984
|
'h4',
|
|
984
985
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
985
986
|
article.title
|
|
986
987
|
)
|
|
987
988
|
),
|
|
988
|
-
showPublished && article.published &&
|
|
989
|
+
showPublished && article.published && React.createElement(
|
|
989
990
|
'p',
|
|
990
991
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
991
992
|
moment(article.published).format('MMMM DD, YYYY')
|
|
992
993
|
),
|
|
993
|
-
showTimeDiff && article.published &&
|
|
994
|
+
showTimeDiff && article.published && React.createElement(
|
|
994
995
|
'p',
|
|
995
996
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
996
997
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -998,20 +999,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
998
999
|
return null;
|
|
999
1000
|
}
|
|
1000
1001
|
if (index === 3) {
|
|
1001
|
-
return
|
|
1002
|
-
|
|
1002
|
+
return React.createElement(
|
|
1003
|
+
React.Fragment,
|
|
1003
1004
|
null,
|
|
1004
|
-
|
|
1005
|
+
React.createElement(
|
|
1005
1006
|
'em',
|
|
1006
1007
|
{ style: { marginRight: '.5rem' } },
|
|
1007
1008
|
'...'
|
|
1008
1009
|
)
|
|
1009
1010
|
);
|
|
1010
1011
|
}
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1012
|
+
return React.createElement(
|
|
1013
|
+
React.Fragment,
|
|
1013
1014
|
null,
|
|
1014
|
-
|
|
1015
|
+
React.createElement(
|
|
1015
1016
|
'em',
|
|
1016
1017
|
null,
|
|
1017
1018
|
taxonomy.name
|
|
@@ -1021,30 +1022,30 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1021
1022
|
);
|
|
1022
1023
|
}),
|
|
1023
1024
|
' ',
|
|
1024
|
-
|
|
1025
|
+
React.createElement(
|
|
1025
1026
|
'span',
|
|
1026
1027
|
{ style: { display: 'inline-block' } },
|
|
1027
1028
|
timeDifferenceCalc(article.published)
|
|
1028
1029
|
)
|
|
1029
1030
|
),
|
|
1030
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1031
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1031
1032
|
LazyLoad,
|
|
1032
1033
|
{ height: 50 },
|
|
1033
|
-
|
|
1034
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1034
1035
|
),
|
|
1035
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1036
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1036
1037
|
'div',
|
|
1037
1038
|
{ className: 'content-category-label' },
|
|
1038
|
-
|
|
1039
|
+
React.createElement(
|
|
1039
1040
|
'div',
|
|
1040
1041
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1041
1042
|
article.source
|
|
1042
1043
|
)
|
|
1043
1044
|
),
|
|
1044
|
-
|
|
1045
|
+
React.createElement(
|
|
1045
1046
|
'div',
|
|
1046
1047
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1047
|
-
showCategory && article.contentCategory &&
|
|
1048
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1048
1049
|
'p',
|
|
1049
1050
|
{
|
|
1050
1051
|
className: 'article-category',
|
|
@@ -1058,7 +1059,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1058
1059
|
} },
|
|
1059
1060
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1060
1061
|
),
|
|
1061
|
-
article.issueSection && article.issueSection.name &&
|
|
1062
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1062
1063
|
'p',
|
|
1063
1064
|
{
|
|
1064
1065
|
className: 'issueSection',
|
|
@@ -1074,21 +1075,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1074
1075
|
article.issueSection.name
|
|
1075
1076
|
)
|
|
1076
1077
|
),
|
|
1077
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1078
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1078
1079
|
'div',
|
|
1079
1080
|
{ className: 'pubInfo' },
|
|
1080
|
-
article.volume &&
|
|
1081
|
+
article.volume && React.createElement(
|
|
1081
1082
|
'p',
|
|
1082
1083
|
{ className: 'qdeVolume' },
|
|
1083
1084
|
article.volume
|
|
1084
1085
|
),
|
|
1085
|
-
article.issue &&
|
|
1086
|
+
article.issue && React.createElement(
|
|
1086
1087
|
'p',
|
|
1087
1088
|
{ className: 'qdeIssue' },
|
|
1088
1089
|
article.issue
|
|
1089
1090
|
)
|
|
1090
1091
|
),
|
|
1091
|
-
showIntro && article.summary &&
|
|
1092
|
+
showIntro && article.summary && React.createElement(
|
|
1092
1093
|
'p',
|
|
1093
1094
|
{ className: 'pt-2 card-text' },
|
|
1094
1095
|
clean_html_1(article.summary)
|
|
@@ -1099,12 +1100,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1099
1100
|
);
|
|
1100
1101
|
}
|
|
1101
1102
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1102
|
-
return
|
|
1103
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1103
1104
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1104
|
-
return
|
|
1105
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1105
1106
|
}
|
|
1106
1107
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1107
|
-
return
|
|
1108
|
+
return React.createElement(
|
|
1108
1109
|
VisibilitySensor,
|
|
1109
1110
|
{
|
|
1110
1111
|
key: article._id ? article._id : index,
|
|
@@ -1112,50 +1113,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1112
1113
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1113
1114
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1114
1115
|
} },
|
|
1115
|
-
|
|
1116
|
-
|
|
1116
|
+
React.createElement(
|
|
1117
|
+
React.Fragment,
|
|
1117
1118
|
null,
|
|
1118
|
-
|
|
1119
|
+
React.createElement(
|
|
1119
1120
|
Media,
|
|
1120
1121
|
{
|
|
1121
1122
|
key: article._id ? article._id : index,
|
|
1122
1123
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1123
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1124
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1124
1125
|
'a',
|
|
1125
1126
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1126
|
-
|
|
1127
|
+
React.createElement(
|
|
1127
1128
|
LazyLoad,
|
|
1128
|
-
{ height: imageHeight, placeholder:
|
|
1129
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
1129
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1130
|
+
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
1131
|
),
|
|
1131
|
-
article.source &&
|
|
1132
|
+
article.source && React.createElement(
|
|
1132
1133
|
'div',
|
|
1133
1134
|
{ className: 'content-category-label' },
|
|
1134
|
-
|
|
1135
|
+
React.createElement(
|
|
1135
1136
|
'div',
|
|
1136
1137
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1137
1138
|
article.source
|
|
1138
1139
|
)
|
|
1139
1140
|
)
|
|
1140
1141
|
),
|
|
1141
|
-
|
|
1142
|
+
React.createElement(
|
|
1142
1143
|
Media.Body,
|
|
1143
1144
|
null,
|
|
1144
|
-
|
|
1145
|
+
React.createElement(
|
|
1145
1146
|
'a',
|
|
1146
1147
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1147
|
-
article.title &&
|
|
1148
|
+
article.title && React.createElement(
|
|
1148
1149
|
'h4',
|
|
1149
1150
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1150
1151
|
article.title
|
|
1151
1152
|
)
|
|
1152
1153
|
),
|
|
1153
|
-
showPublished && article.published &&
|
|
1154
|
+
showPublished && article.published && React.createElement(
|
|
1154
1155
|
'p',
|
|
1155
1156
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1156
1157
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1157
1158
|
),
|
|
1158
|
-
showTimeDiff && article.published &&
|
|
1159
|
+
showTimeDiff && article.published && React.createElement(
|
|
1159
1160
|
'p',
|
|
1160
1161
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1161
1162
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1163,20 +1164,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1163
1164
|
return null;
|
|
1164
1165
|
}
|
|
1165
1166
|
if (index === 3) {
|
|
1166
|
-
return
|
|
1167
|
-
|
|
1167
|
+
return React.createElement(
|
|
1168
|
+
React.Fragment,
|
|
1168
1169
|
null,
|
|
1169
|
-
|
|
1170
|
+
React.createElement(
|
|
1170
1171
|
'em',
|
|
1171
1172
|
{ style: { marginRight: '.5rem' } },
|
|
1172
1173
|
'...'
|
|
1173
1174
|
)
|
|
1174
1175
|
);
|
|
1175
1176
|
}
|
|
1176
|
-
return
|
|
1177
|
-
|
|
1177
|
+
return React.createElement(
|
|
1178
|
+
React.Fragment,
|
|
1178
1179
|
null,
|
|
1179
|
-
|
|
1180
|
+
React.createElement(
|
|
1180
1181
|
'em',
|
|
1181
1182
|
null,
|
|
1182
1183
|
taxonomy.name
|
|
@@ -1186,34 +1187,34 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1186
1187
|
);
|
|
1187
1188
|
}),
|
|
1188
1189
|
' ',
|
|
1189
|
-
|
|
1190
|
+
React.createElement(
|
|
1190
1191
|
'span',
|
|
1191
1192
|
{ style: { display: 'inline-block' } },
|
|
1192
1193
|
timeDifferenceCalc(article.published)
|
|
1193
1194
|
)
|
|
1194
1195
|
),
|
|
1195
|
-
|
|
1196
|
+
React.createElement(
|
|
1196
1197
|
'div',
|
|
1197
1198
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1198
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1199
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1199
1200
|
LazyLoad,
|
|
1200
1201
|
{ height: 50 },
|
|
1201
|
-
|
|
1202
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1202
1203
|
)
|
|
1203
1204
|
),
|
|
1204
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1205
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1205
1206
|
'div',
|
|
1206
1207
|
{ className: 'content-category-label' },
|
|
1207
|
-
|
|
1208
|
+
React.createElement(
|
|
1208
1209
|
'div',
|
|
1209
1210
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1210
1211
|
article.source
|
|
1211
1212
|
)
|
|
1212
1213
|
),
|
|
1213
|
-
|
|
1214
|
+
React.createElement(
|
|
1214
1215
|
'div',
|
|
1215
1216
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1216
|
-
showCategory && article.contentCategory &&
|
|
1217
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1217
1218
|
'p',
|
|
1218
1219
|
{
|
|
1219
1220
|
className: 'article-category',
|
|
@@ -1227,7 +1228,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1227
1228
|
} },
|
|
1228
1229
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1229
1230
|
),
|
|
1230
|
-
article.issueSection && article.issueSection.name &&
|
|
1231
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1231
1232
|
'p',
|
|
1232
1233
|
{
|
|
1233
1234
|
className: 'issueSection',
|
|
@@ -1243,50 +1244,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1243
1244
|
article.issueSection.name
|
|
1244
1245
|
)
|
|
1245
1246
|
),
|
|
1246
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1247
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1247
1248
|
'div',
|
|
1248
1249
|
{ className: 'pubInfo' },
|
|
1249
|
-
article.volume &&
|
|
1250
|
+
article.volume && React.createElement(
|
|
1250
1251
|
'p',
|
|
1251
1252
|
{ className: 'qdeVolume' },
|
|
1252
1253
|
article.volume
|
|
1253
1254
|
),
|
|
1254
|
-
article.issue &&
|
|
1255
|
+
article.issue && React.createElement(
|
|
1255
1256
|
'p',
|
|
1256
1257
|
{ className: 'qdeIssue' },
|
|
1257
1258
|
article.issue
|
|
1258
1259
|
)
|
|
1259
1260
|
),
|
|
1260
|
-
showIntro && article.summary &&
|
|
1261
|
+
showIntro && article.summary && React.createElement(
|
|
1261
1262
|
'p',
|
|
1262
1263
|
{ className: 'pt-2 card-text' },
|
|
1263
1264
|
clean_html_1(article.summary)
|
|
1264
1265
|
)
|
|
1265
1266
|
)
|
|
1266
1267
|
),
|
|
1267
|
-
|
|
1268
|
+
React.createElement(
|
|
1268
1269
|
'div',
|
|
1269
1270
|
null,
|
|
1270
|
-
|
|
1271
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1271
1272
|
)
|
|
1272
1273
|
)
|
|
1273
1274
|
);
|
|
1274
1275
|
} else return null;
|
|
1275
1276
|
})
|
|
1276
|
-
) :
|
|
1277
|
+
) : React.createElement(
|
|
1277
1278
|
'div',
|
|
1278
1279
|
null,
|
|
1279
|
-
|
|
1280
|
+
React.createElement(
|
|
1280
1281
|
'h5',
|
|
1281
1282
|
null,
|
|
1282
|
-
|
|
1283
|
+
React.createElement(
|
|
1283
1284
|
'em',
|
|
1284
1285
|
null,
|
|
1285
1286
|
'New content coming soon, please check back later.'
|
|
1286
1287
|
)
|
|
1287
1288
|
)
|
|
1288
1289
|
),
|
|
1289
|
-
|
|
1290
|
+
React.createElement(
|
|
1290
1291
|
'style',
|
|
1291
1292
|
{ jsx: 'true' },
|
|
1292
1293
|
'\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 +1296,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1295
1296
|
};
|
|
1296
1297
|
|
|
1297
1298
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1298
|
-
return
|
|
1299
|
-
|
|
1299
|
+
return React.createElement(
|
|
1300
|
+
React.Fragment,
|
|
1300
1301
|
null,
|
|
1301
|
-
|
|
1302
|
-
|
|
1302
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1303
|
+
React.createElement(
|
|
1303
1304
|
'style',
|
|
1304
1305
|
{ jsx: 'true' },
|
|
1305
1306
|
'\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 +1310,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1309
1310
|
|
|
1310
1311
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1311
1312
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1312
|
-
return
|
|
1313
|
+
return React.createElement(
|
|
1313
1314
|
'div',
|
|
1314
1315
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1315
1316
|
rightItems[i].component
|
|
@@ -1418,15 +1419,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1418
1419
|
return null;
|
|
1419
1420
|
}
|
|
1420
1421
|
|
|
1421
|
-
return
|
|
1422
|
+
return React.createElement(
|
|
1422
1423
|
'div',
|
|
1423
1424
|
{ className: 'd-flex justify-content-between' },
|
|
1424
|
-
currentPage && currentPage > 1 &&
|
|
1425
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1425
1426
|
'a',
|
|
1426
1427
|
{ href: '?page=' + (currentPage - 1) },
|
|
1427
1428
|
'<< Previous'
|
|
1428
1429
|
),
|
|
1429
|
-
|
|
1430
|
+
React.createElement(
|
|
1430
1431
|
'a',
|
|
1431
1432
|
{ href: '?page=' + (currentPage + 1) },
|
|
1432
1433
|
'Next >>'
|
|
@@ -1473,40 +1474,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1473
1474
|
}
|
|
1474
1475
|
};
|
|
1475
1476
|
|
|
1476
|
-
return
|
|
1477
|
+
return React.createElement(
|
|
1477
1478
|
'div',
|
|
1478
1479
|
null,
|
|
1479
|
-
autoScroll ?
|
|
1480
|
-
|
|
1480
|
+
autoScroll ? React.createElement(
|
|
1481
|
+
React.Fragment,
|
|
1481
1482
|
null,
|
|
1482
|
-
|
|
1483
|
+
React.createElement(
|
|
1483
1484
|
InfiniteScroll,
|
|
1484
1485
|
{ dataLength: data && data.length, next: function next() {
|
|
1485
1486
|
return loadMore(values, setValues, per);
|
|
1486
1487
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1487
|
-
|
|
1488
|
+
React.createElement(
|
|
1488
1489
|
Container,
|
|
1489
1490
|
null,
|
|
1490
1491
|
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
1492
|
)
|
|
1492
1493
|
),
|
|
1493
|
-
|
|
1494
|
+
React.createElement(
|
|
1494
1495
|
'noscript',
|
|
1495
1496
|
null,
|
|
1496
1497
|
renderManualPagination(currentPage)
|
|
1497
1498
|
)
|
|
1498
|
-
) :
|
|
1499
|
-
|
|
1499
|
+
) : React.createElement(
|
|
1500
|
+
React.Fragment,
|
|
1500
1501
|
null,
|
|
1501
|
-
|
|
1502
|
+
React.createElement(
|
|
1502
1503
|
Container,
|
|
1503
1504
|
null,
|
|
1504
1505
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1505
1506
|
),
|
|
1506
|
-
|
|
1507
|
+
React.createElement(
|
|
1507
1508
|
'div',
|
|
1508
1509
|
{ style: { padding: '0px 10px' } },
|
|
1509
|
-
scrolling ?
|
|
1510
|
+
scrolling ? React.createElement(
|
|
1510
1511
|
'button',
|
|
1511
1512
|
{
|
|
1512
1513
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -1514,17 +1515,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1514
1515
|
loadMore(values, setValues, per);
|
|
1515
1516
|
} },
|
|
1516
1517
|
'Load More'
|
|
1517
|
-
) :
|
|
1518
|
+
) : React.createElement(
|
|
1518
1519
|
'p',
|
|
1519
1520
|
{ style: { textAlign: 'center' } },
|
|
1520
|
-
|
|
1521
|
+
React.createElement(
|
|
1521
1522
|
'b',
|
|
1522
1523
|
null,
|
|
1523
1524
|
'End of data'
|
|
1524
1525
|
)
|
|
1525
1526
|
)
|
|
1526
1527
|
),
|
|
1527
|
-
|
|
1528
|
+
React.createElement(
|
|
1528
1529
|
'noscript',
|
|
1529
1530
|
null,
|
|
1530
1531
|
renderManualPagination(currentPage)
|