@mjhls/mjh-framework 1.0.983 → 1.0.984
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-b54f0bda.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-4f0850ec.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14178
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -23
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/HealthCareProfessionalModal.js +2 -2
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-958db77e.js → MediaSeriesCard-408eaac7.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -58
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-1e0d5f1d.js → Pagination-7624a3bd.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -63
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -39
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-08699353.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +45 -46
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +118 -117
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-fbf4dd38.js → index-7deba8d6.js} +166 -415
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +145 -147
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-310d113c.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-eeaa14e2.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-b0a47123.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +70 -71
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-e151d2de.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +145 -146
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/HealthCareProfessionalModal.js +12 -12
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-5ae6287a.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-4279b0c5.js → MediaSeriesCard-ae83cba2.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +76 -77
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -81
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-cd21f8c2.js → Pagination-1e09918f.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +97 -98
- package/dist/esm/PartnerDetailListingPaginated.js +93 -94
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PtceDeck.js +23 -23
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-0379cc20.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-b364d074.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-77a22145.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +321 -320
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-31d40a83.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-72edfd60.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-4201ccf6.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-fa0feeff.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-9c835201.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-8c71f470.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-a8a00786.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-3518b6fe.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-7fbbe94e.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-260246fb.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-73f8a403.js → index-620826cb.js} +575 -825
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +171 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-d26c739e.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/keys-5e9bd229.js +23 -0
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-99bcfd93.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-0c65d837.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-47a5394a.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-d92ed6e0.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-0fc42ed8.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-cbba615a.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-406140e0.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/keys-31dcdb31.js +0 -23
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
|
-
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
9
|
-
import { useRouter } from 'next/router';
|
|
10
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
17
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
|
-
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-cd21f8c2.js';
|
|
21
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './core.get-iterator-method-
|
|
23
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-8c71f470.js';
|
|
24
3
|
import './_library-528f1934.js';
|
|
25
|
-
import './_iter-detect-
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
4
|
+
import './_iter-detect-72edfd60.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
+
import './web.dom.iterable-406140e0.js';
|
|
9
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
28
11
|
import 'prop-types';
|
|
29
|
-
import 'react-dom';
|
|
30
12
|
import 'react-bootstrap/Card';
|
|
31
|
-
import './
|
|
32
|
-
import '
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import '
|
|
13
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
14
|
+
import { useRouter } from 'next/router';
|
|
15
|
+
import './isSymbol-1981418f.js';
|
|
16
|
+
import './debounce-9207d8ee.js';
|
|
17
|
+
import './toNumber-2f7a84cd.js';
|
|
18
|
+
import 'react-dom';
|
|
19
|
+
import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
|
|
20
|
+
import './index-51a80699.js';
|
|
21
|
+
import urlFor from './urlFor.js';
|
|
22
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
23
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
24
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
25
|
+
import './stringify-0c65d837.js';
|
|
26
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
37
27
|
import './Segment.js';
|
|
38
|
-
import './
|
|
39
|
-
import '
|
|
28
|
+
import './Beam.js';
|
|
29
|
+
import './AdSlot.js';
|
|
30
|
+
import { A as ADInfeed } from './ADInfeed-310d113c.js';
|
|
31
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
32
|
+
import { A as ADlgInfeed } from './ADlgInfeed-eeaa14e2.js';
|
|
33
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
34
|
+
import { A as AuthorComponent } from './AuthorComponent-b0a47123.js';
|
|
40
35
|
import 'react-bootstrap/Button';
|
|
41
|
-
import '
|
|
42
|
-
import './
|
|
36
|
+
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
37
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
38
|
+
import './iconBase-602d52fe.js';
|
|
39
|
+
import './index.esm-d1125763.js';
|
|
40
|
+
import 'react-paginate';
|
|
41
|
+
import { P as Pagination } from './Pagination-1e09918f.js';
|
|
43
42
|
|
|
44
43
|
var _this = undefined;
|
|
45
44
|
|
|
@@ -170,7 +169,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
170
169
|
});
|
|
171
170
|
|
|
172
171
|
var featureCount = 0;
|
|
173
|
-
return
|
|
172
|
+
return React.createElement(
|
|
174
173
|
'div',
|
|
175
174
|
null,
|
|
176
175
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -180,48 +179,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
180
179
|
if (article._type === 'feature') {
|
|
181
180
|
featureCount++;
|
|
182
181
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
183
|
-
return
|
|
182
|
+
return React.createElement(
|
|
184
183
|
Media,
|
|
185
184
|
{
|
|
186
185
|
key: article._id ? article._id : index,
|
|
187
186
|
className: 'feature-media',
|
|
188
187
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
189
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
188
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
190
189
|
'a',
|
|
191
190
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
192
|
-
|
|
191
|
+
React.createElement(
|
|
193
192
|
LazyLoad,
|
|
194
|
-
{ height: imageHeight, placeholder:
|
|
195
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
193
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
194
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
196
195
|
),
|
|
197
|
-
article.source &&
|
|
196
|
+
article.source && React.createElement(
|
|
198
197
|
'div',
|
|
199
198
|
{ className: 'content-category-label' },
|
|
200
|
-
|
|
199
|
+
React.createElement(
|
|
201
200
|
'div',
|
|
202
201
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
203
202
|
article.source
|
|
204
203
|
)
|
|
205
204
|
)
|
|
206
205
|
),
|
|
207
|
-
|
|
206
|
+
React.createElement(
|
|
208
207
|
Media.Body,
|
|
209
208
|
null,
|
|
210
|
-
|
|
209
|
+
React.createElement(
|
|
211
210
|
'a',
|
|
212
211
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
213
|
-
article.title &&
|
|
212
|
+
article.title && React.createElement(
|
|
214
213
|
'h4',
|
|
215
214
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
216
215
|
article.title
|
|
217
216
|
)
|
|
218
217
|
),
|
|
219
|
-
showPublished && !showTimeDiff && article.published &&
|
|
218
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
220
219
|
'p',
|
|
221
220
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
222
221
|
moment(article.published).format('MMMM DD, YYYY')
|
|
223
222
|
),
|
|
224
|
-
showTimeDiff && article.published &&
|
|
223
|
+
showTimeDiff && article.published && React.createElement(
|
|
225
224
|
'p',
|
|
226
225
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
227
226
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -229,20 +228,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
229
228
|
return null;
|
|
230
229
|
}
|
|
231
230
|
if (index === 3) {
|
|
232
|
-
return
|
|
233
|
-
|
|
231
|
+
return React.createElement(
|
|
232
|
+
React.Fragment,
|
|
234
233
|
null,
|
|
235
|
-
|
|
234
|
+
React.createElement(
|
|
236
235
|
'em',
|
|
237
236
|
{ style: { marginRight: '.5rem' } },
|
|
238
237
|
'...'
|
|
239
238
|
)
|
|
240
239
|
);
|
|
241
240
|
}
|
|
242
|
-
return
|
|
243
|
-
|
|
241
|
+
return React.createElement(
|
|
242
|
+
React.Fragment,
|
|
244
243
|
null,
|
|
245
|
-
|
|
244
|
+
React.createElement(
|
|
246
245
|
'em',
|
|
247
246
|
null,
|
|
248
247
|
taxonomy.name
|
|
@@ -252,30 +251,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
252
251
|
);
|
|
253
252
|
}),
|
|
254
253
|
' ',
|
|
255
|
-
|
|
254
|
+
React.createElement(
|
|
256
255
|
'span',
|
|
257
256
|
{ style: { display: 'inline-block' } },
|
|
258
257
|
timeDifferenceCalc(article.published)
|
|
259
258
|
)
|
|
260
259
|
),
|
|
261
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
260
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
262
261
|
LazyLoad,
|
|
263
262
|
{ height: 50 },
|
|
264
|
-
|
|
263
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
265
264
|
),
|
|
266
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
265
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
267
266
|
'div',
|
|
268
267
|
{ className: 'content-category-label' },
|
|
269
|
-
|
|
268
|
+
React.createElement(
|
|
270
269
|
'div',
|
|
271
270
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
272
271
|
article.source
|
|
273
272
|
)
|
|
274
273
|
),
|
|
275
|
-
|
|
274
|
+
React.createElement(
|
|
276
275
|
'div',
|
|
277
276
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
278
|
-
showCategory && article.contentCategory &&
|
|
277
|
+
showCategory && article.contentCategory && React.createElement(
|
|
279
278
|
'p',
|
|
280
279
|
{
|
|
281
280
|
className: 'article-category',
|
|
@@ -289,7 +288,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
289
288
|
} },
|
|
290
289
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
291
290
|
),
|
|
292
|
-
article.issueSection && article.issueSection.name &&
|
|
291
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
293
292
|
'p',
|
|
294
293
|
{
|
|
295
294
|
className: 'issueSection',
|
|
@@ -305,21 +304,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
305
304
|
article.issueSection.name
|
|
306
305
|
)
|
|
307
306
|
),
|
|
308
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
307
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
309
308
|
'div',
|
|
310
309
|
{ className: 'pubInfo' },
|
|
311
|
-
article.volume &&
|
|
310
|
+
article.volume && React.createElement(
|
|
312
311
|
'p',
|
|
313
312
|
{ className: 'qdeVolume' },
|
|
314
313
|
article.volume
|
|
315
314
|
),
|
|
316
|
-
article.issue &&
|
|
315
|
+
article.issue && React.createElement(
|
|
317
316
|
'p',
|
|
318
317
|
{ className: 'qdeIssue' },
|
|
319
318
|
article.issue
|
|
320
319
|
)
|
|
321
320
|
),
|
|
322
|
-
showIntro && article.summary &&
|
|
321
|
+
showIntro && article.summary && React.createElement(
|
|
323
322
|
'p',
|
|
324
323
|
{ className: 'pt-2 card-text' },
|
|
325
324
|
clean_html_1(article.summary)
|
|
@@ -327,48 +326,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
327
326
|
)
|
|
328
327
|
);
|
|
329
328
|
} else {
|
|
330
|
-
return
|
|
329
|
+
return React.createElement(
|
|
331
330
|
Media,
|
|
332
331
|
{
|
|
333
332
|
key: article._id ? article._id : index,
|
|
334
333
|
className: 'feature-media',
|
|
335
334
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
336
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
335
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
337
336
|
'a',
|
|
338
337
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
339
|
-
|
|
338
|
+
React.createElement(
|
|
340
339
|
LazyLoad,
|
|
341
|
-
{ height: imageHeight, placeholder:
|
|
342
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
340
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
341
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
343
342
|
),
|
|
344
|
-
article.source &&
|
|
343
|
+
article.source && React.createElement(
|
|
345
344
|
'div',
|
|
346
345
|
{ className: 'content-category-label' },
|
|
347
|
-
|
|
346
|
+
React.createElement(
|
|
348
347
|
'div',
|
|
349
348
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
350
349
|
article.source
|
|
351
350
|
)
|
|
352
351
|
)
|
|
353
352
|
),
|
|
354
|
-
|
|
353
|
+
React.createElement(
|
|
355
354
|
Media.Body,
|
|
356
355
|
null,
|
|
357
|
-
|
|
356
|
+
React.createElement(
|
|
358
357
|
'a',
|
|
359
358
|
{ href: article.url.current },
|
|
360
|
-
article.title &&
|
|
359
|
+
article.title && React.createElement(
|
|
361
360
|
'h4',
|
|
362
361
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
363
362
|
article.title
|
|
364
363
|
)
|
|
365
364
|
),
|
|
366
|
-
showPublished && !showTimeDiff && article.published &&
|
|
365
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
367
366
|
'p',
|
|
368
367
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
369
368
|
moment(article.published).format('MMMM DD, YYYY')
|
|
370
369
|
),
|
|
371
|
-
showTimeDiff && article.published &&
|
|
370
|
+
showTimeDiff && article.published && React.createElement(
|
|
372
371
|
'p',
|
|
373
372
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
374
373
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -376,10 +375,10 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
376
375
|
return null;
|
|
377
376
|
}
|
|
378
377
|
if (index === 3) {
|
|
379
|
-
return
|
|
380
|
-
|
|
378
|
+
return React.createElement(
|
|
379
|
+
React.Fragment,
|
|
381
380
|
null,
|
|
382
|
-
|
|
381
|
+
React.createElement(
|
|
383
382
|
'em',
|
|
384
383
|
{ style: { marginRight: '.5rem' } },
|
|
385
384
|
'...'
|
|
@@ -387,20 +386,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
387
386
|
);
|
|
388
387
|
}
|
|
389
388
|
if (index === 3) {
|
|
390
|
-
return
|
|
391
|
-
|
|
389
|
+
return React.createElement(
|
|
390
|
+
React.Fragment,
|
|
392
391
|
null,
|
|
393
|
-
|
|
392
|
+
React.createElement(
|
|
394
393
|
'em',
|
|
395
394
|
{ style: { marginRight: '.5rem' } },
|
|
396
395
|
'...'
|
|
397
396
|
)
|
|
398
397
|
);
|
|
399
398
|
}
|
|
400
|
-
return
|
|
401
|
-
|
|
399
|
+
return React.createElement(
|
|
400
|
+
React.Fragment,
|
|
402
401
|
null,
|
|
403
|
-
|
|
402
|
+
React.createElement(
|
|
404
403
|
'em',
|
|
405
404
|
null,
|
|
406
405
|
taxonomy.name
|
|
@@ -410,30 +409,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
410
409
|
);
|
|
411
410
|
}),
|
|
412
411
|
' ',
|
|
413
|
-
|
|
412
|
+
React.createElement(
|
|
414
413
|
'span',
|
|
415
414
|
{ style: { display: 'inline-block' } },
|
|
416
415
|
timeDifferenceCalc(article.published)
|
|
417
416
|
)
|
|
418
417
|
),
|
|
419
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
418
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
420
419
|
LazyLoad,
|
|
421
420
|
{ height: 50 },
|
|
422
|
-
|
|
421
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
423
422
|
),
|
|
424
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
423
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
425
424
|
'div',
|
|
426
425
|
{ className: 'content-category-label' },
|
|
427
|
-
|
|
426
|
+
React.createElement(
|
|
428
427
|
'div',
|
|
429
428
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
430
429
|
article.source
|
|
431
430
|
)
|
|
432
431
|
),
|
|
433
|
-
|
|
432
|
+
React.createElement(
|
|
434
433
|
'div',
|
|
435
434
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
436
|
-
showCategory && article.contentCategory &&
|
|
435
|
+
showCategory && article.contentCategory && React.createElement(
|
|
437
436
|
'p',
|
|
438
437
|
{
|
|
439
438
|
className: 'article-category',
|
|
@@ -447,7 +446,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
447
446
|
} },
|
|
448
447
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
449
448
|
),
|
|
450
|
-
article.issueSection && article.issueSection.name &&
|
|
449
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
451
450
|
'p',
|
|
452
451
|
{
|
|
453
452
|
className: 'issueSection',
|
|
@@ -463,21 +462,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
463
462
|
article.issueSection.name
|
|
464
463
|
)
|
|
465
464
|
),
|
|
466
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
465
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
467
466
|
'div',
|
|
468
467
|
{ className: 'pubInfo' },
|
|
469
|
-
article.volume &&
|
|
468
|
+
article.volume && React.createElement(
|
|
470
469
|
'p',
|
|
471
470
|
{ className: 'qdeVolume' },
|
|
472
471
|
article.volume
|
|
473
472
|
),
|
|
474
|
-
article.issue &&
|
|
473
|
+
article.issue && React.createElement(
|
|
475
474
|
'p',
|
|
476
475
|
{ className: 'qdeIssue' },
|
|
477
476
|
article.issue
|
|
478
477
|
)
|
|
479
478
|
),
|
|
480
|
-
showIntro && article.summary &&
|
|
479
|
+
showIntro && article.summary && React.createElement(
|
|
481
480
|
'p',
|
|
482
481
|
{ className: 'pt-2 card-text' },
|
|
483
482
|
clean_html_1(article.summary)
|
|
@@ -486,55 +485,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
486
485
|
);
|
|
487
486
|
}
|
|
488
487
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
489
|
-
return
|
|
488
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
490
489
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
491
|
-
return
|
|
490
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
492
491
|
}
|
|
493
492
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
494
|
-
return
|
|
495
|
-
|
|
493
|
+
return React.createElement(
|
|
494
|
+
React.Fragment,
|
|
496
495
|
{ key: article._id ? article._id : index },
|
|
497
|
-
|
|
496
|
+
React.createElement(
|
|
498
497
|
Media,
|
|
499
498
|
{
|
|
500
499
|
key: article._id ? article._id : index,
|
|
501
500
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
502
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
501
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
503
502
|
'a',
|
|
504
503
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
505
|
-
|
|
504
|
+
React.createElement(
|
|
506
505
|
LazyLoad,
|
|
507
|
-
{ height: imageHeight, placeholder:
|
|
508
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
506
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
507
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
509
508
|
),
|
|
510
|
-
article.source &&
|
|
509
|
+
article.source && React.createElement(
|
|
511
510
|
'div',
|
|
512
511
|
{ className: 'content-category-label' },
|
|
513
|
-
|
|
512
|
+
React.createElement(
|
|
514
513
|
'div',
|
|
515
514
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
516
515
|
article.source
|
|
517
516
|
)
|
|
518
517
|
)
|
|
519
518
|
),
|
|
520
|
-
|
|
519
|
+
React.createElement(
|
|
521
520
|
Media.Body,
|
|
522
521
|
null,
|
|
523
|
-
|
|
522
|
+
React.createElement(
|
|
524
523
|
'a',
|
|
525
524
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
526
|
-
article.title &&
|
|
525
|
+
article.title && React.createElement(
|
|
527
526
|
'h4',
|
|
528
527
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
529
528
|
article.title
|
|
530
529
|
)
|
|
531
530
|
),
|
|
532
|
-
showPublished && !showTimeDiff && article.published &&
|
|
531
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
533
532
|
'p',
|
|
534
533
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
535
534
|
moment(article.published).format('MMMM DD, YYYY')
|
|
536
535
|
),
|
|
537
|
-
showTimeDiff && article.published &&
|
|
536
|
+
showTimeDiff && article.published && React.createElement(
|
|
538
537
|
'p',
|
|
539
538
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
540
539
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -542,20 +541,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
542
541
|
return null;
|
|
543
542
|
}
|
|
544
543
|
if (index === 3) {
|
|
545
|
-
return
|
|
546
|
-
|
|
544
|
+
return React.createElement(
|
|
545
|
+
React.Fragment,
|
|
547
546
|
null,
|
|
548
|
-
|
|
547
|
+
React.createElement(
|
|
549
548
|
'em',
|
|
550
549
|
{ style: { marginRight: '.5rem' } },
|
|
551
550
|
'...'
|
|
552
551
|
)
|
|
553
552
|
);
|
|
554
553
|
}
|
|
555
|
-
return
|
|
556
|
-
|
|
554
|
+
return React.createElement(
|
|
555
|
+
React.Fragment,
|
|
557
556
|
null,
|
|
558
|
-
|
|
557
|
+
React.createElement(
|
|
559
558
|
'em',
|
|
560
559
|
null,
|
|
561
560
|
taxonomy.name
|
|
@@ -565,34 +564,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
565
564
|
);
|
|
566
565
|
}),
|
|
567
566
|
' ',
|
|
568
|
-
|
|
567
|
+
React.createElement(
|
|
569
568
|
'span',
|
|
570
569
|
{ style: { display: 'inline-block' } },
|
|
571
570
|
timeDifferenceCalc(article.published)
|
|
572
571
|
)
|
|
573
572
|
),
|
|
574
|
-
|
|
573
|
+
React.createElement(
|
|
575
574
|
'div',
|
|
576
575
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
577
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
576
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
578
577
|
LazyLoad,
|
|
579
578
|
{ height: 50 },
|
|
580
|
-
|
|
579
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
581
580
|
)
|
|
582
581
|
),
|
|
583
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
582
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
584
583
|
'div',
|
|
585
584
|
{ className: 'content-category-label' },
|
|
586
|
-
|
|
585
|
+
React.createElement(
|
|
587
586
|
'div',
|
|
588
587
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
589
588
|
article.source
|
|
590
589
|
)
|
|
591
590
|
),
|
|
592
|
-
|
|
591
|
+
React.createElement(
|
|
593
592
|
'div',
|
|
594
593
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
595
|
-
showCategory && article.contentCategory &&
|
|
594
|
+
showCategory && article.contentCategory && React.createElement(
|
|
596
595
|
'p',
|
|
597
596
|
{
|
|
598
597
|
className: 'article-category',
|
|
@@ -606,7 +605,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
606
605
|
} },
|
|
607
606
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
608
607
|
),
|
|
609
|
-
article.issueSection && article.issueSection.name &&
|
|
608
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
610
609
|
'p',
|
|
611
610
|
{
|
|
612
611
|
className: 'issueSection',
|
|
@@ -622,37 +621,37 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
622
621
|
article.issueSection.name
|
|
623
622
|
)
|
|
624
623
|
),
|
|
625
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
624
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
626
625
|
'div',
|
|
627
626
|
{ className: 'pubInfo' },
|
|
628
|
-
article.volume &&
|
|
627
|
+
article.volume && React.createElement(
|
|
629
628
|
'p',
|
|
630
629
|
{ className: 'qdeVolume' },
|
|
631
630
|
article.volume
|
|
632
631
|
),
|
|
633
|
-
article.issue &&
|
|
632
|
+
article.issue && React.createElement(
|
|
634
633
|
'p',
|
|
635
634
|
{ className: 'qdeIssue' },
|
|
636
635
|
article.issue
|
|
637
636
|
)
|
|
638
637
|
),
|
|
639
|
-
showIntro && article.summary &&
|
|
638
|
+
showIntro && article.summary && React.createElement(
|
|
640
639
|
'p',
|
|
641
640
|
{ className: 'pt-2 card-text' },
|
|
642
641
|
clean_html_1(article.summary)
|
|
643
642
|
)
|
|
644
643
|
)
|
|
645
644
|
),
|
|
646
|
-
|
|
645
|
+
React.createElement(
|
|
647
646
|
'div',
|
|
648
647
|
null,
|
|
649
|
-
|
|
648
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
650
649
|
)
|
|
651
650
|
);
|
|
652
651
|
} else return null;
|
|
653
652
|
}) :
|
|
654
653
|
// For Javascript Disabled Cases
|
|
655
|
-
|
|
654
|
+
React.createElement(
|
|
656
655
|
'noscript',
|
|
657
656
|
null,
|
|
658
657
|
data.map(function (article, index) {
|
|
@@ -661,48 +660,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
661
660
|
if (article._type === 'feature') {
|
|
662
661
|
featureCount++;
|
|
663
662
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
664
|
-
return
|
|
663
|
+
return React.createElement(
|
|
665
664
|
Media,
|
|
666
665
|
{
|
|
667
666
|
key: article._id ? article._id : index,
|
|
668
667
|
className: 'feature-media',
|
|
669
668
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
670
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
669
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
671
670
|
'a',
|
|
672
671
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
673
|
-
|
|
672
|
+
React.createElement(
|
|
674
673
|
LazyLoad,
|
|
675
|
-
{ height: imageHeight, placeholder:
|
|
676
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
674
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
675
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
677
676
|
),
|
|
678
|
-
article.source &&
|
|
677
|
+
article.source && React.createElement(
|
|
679
678
|
'div',
|
|
680
679
|
{ className: 'content-category-label' },
|
|
681
|
-
|
|
680
|
+
React.createElement(
|
|
682
681
|
'div',
|
|
683
682
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
684
683
|
article.source
|
|
685
684
|
)
|
|
686
685
|
)
|
|
687
686
|
),
|
|
688
|
-
|
|
687
|
+
React.createElement(
|
|
689
688
|
Media.Body,
|
|
690
689
|
null,
|
|
691
|
-
|
|
690
|
+
React.createElement(
|
|
692
691
|
'a',
|
|
693
692
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
694
|
-
article.title &&
|
|
693
|
+
article.title && React.createElement(
|
|
695
694
|
'h4',
|
|
696
695
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
697
696
|
article.title
|
|
698
697
|
)
|
|
699
698
|
),
|
|
700
|
-
showPublished && article.published &&
|
|
699
|
+
showPublished && article.published && React.createElement(
|
|
701
700
|
'p',
|
|
702
701
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
703
702
|
moment(article.published).format('MMMM DD, YYYY')
|
|
704
703
|
),
|
|
705
|
-
showTimeDiff && article.published &&
|
|
704
|
+
showTimeDiff && article.published && React.createElement(
|
|
706
705
|
'p',
|
|
707
706
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
708
707
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -710,20 +709,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
710
709
|
return null;
|
|
711
710
|
}
|
|
712
711
|
if (index === 3) {
|
|
713
|
-
return
|
|
714
|
-
|
|
712
|
+
return React.createElement(
|
|
713
|
+
React.Fragment,
|
|
715
714
|
null,
|
|
716
|
-
|
|
715
|
+
React.createElement(
|
|
717
716
|
'em',
|
|
718
717
|
{ style: { marginRight: '.5rem' } },
|
|
719
718
|
'...'
|
|
720
719
|
)
|
|
721
720
|
);
|
|
722
721
|
}
|
|
723
|
-
return
|
|
724
|
-
|
|
722
|
+
return React.createElement(
|
|
723
|
+
React.Fragment,
|
|
725
724
|
null,
|
|
726
|
-
|
|
725
|
+
React.createElement(
|
|
727
726
|
'em',
|
|
728
727
|
null,
|
|
729
728
|
taxonomy.name
|
|
@@ -733,30 +732,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
733
732
|
);
|
|
734
733
|
}),
|
|
735
734
|
' ',
|
|
736
|
-
|
|
735
|
+
React.createElement(
|
|
737
736
|
'span',
|
|
738
737
|
{ style: { display: 'inline-block' } },
|
|
739
738
|
timeDifferenceCalc(article.published)
|
|
740
739
|
)
|
|
741
740
|
),
|
|
742
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
741
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
743
742
|
LazyLoad,
|
|
744
743
|
{ height: 50 },
|
|
745
|
-
|
|
744
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
746
745
|
),
|
|
747
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
746
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
748
747
|
'div',
|
|
749
748
|
{ className: 'content-category-label' },
|
|
750
|
-
|
|
749
|
+
React.createElement(
|
|
751
750
|
'div',
|
|
752
751
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
753
752
|
article.source
|
|
754
753
|
)
|
|
755
754
|
),
|
|
756
|
-
|
|
755
|
+
React.createElement(
|
|
757
756
|
'div',
|
|
758
757
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
759
|
-
showCategory && article.contentCategory &&
|
|
758
|
+
showCategory && article.contentCategory && React.createElement(
|
|
760
759
|
'p',
|
|
761
760
|
{
|
|
762
761
|
className: 'article-category',
|
|
@@ -770,7 +769,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
770
769
|
} },
|
|
771
770
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
772
771
|
),
|
|
773
|
-
article.issueSection && article.issueSection.name &&
|
|
772
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
774
773
|
'p',
|
|
775
774
|
{
|
|
776
775
|
className: 'issueSection',
|
|
@@ -786,21 +785,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
786
785
|
article.issueSection.name
|
|
787
786
|
)
|
|
788
787
|
),
|
|
789
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
788
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
790
789
|
'div',
|
|
791
790
|
{ className: 'pubInfo' },
|
|
792
|
-
article.volume &&
|
|
791
|
+
article.volume && React.createElement(
|
|
793
792
|
'p',
|
|
794
793
|
{ className: 'qdeVolume' },
|
|
795
794
|
article.volume
|
|
796
795
|
),
|
|
797
|
-
article.issue &&
|
|
796
|
+
article.issue && React.createElement(
|
|
798
797
|
'p',
|
|
799
798
|
{ className: 'qdeIssue' },
|
|
800
799
|
article.issue
|
|
801
800
|
)
|
|
802
801
|
),
|
|
803
|
-
showIntro && article.summary &&
|
|
802
|
+
showIntro && article.summary && React.createElement(
|
|
804
803
|
'p',
|
|
805
804
|
{ className: 'pt-2 card-text' },
|
|
806
805
|
clean_html_1(article.summary)
|
|
@@ -808,48 +807,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
808
807
|
)
|
|
809
808
|
);
|
|
810
809
|
} else {
|
|
811
|
-
return
|
|
810
|
+
return React.createElement(
|
|
812
811
|
Media,
|
|
813
812
|
{
|
|
814
813
|
key: article._id ? article._id : index,
|
|
815
814
|
className: 'feature-media',
|
|
816
815
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
817
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
816
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
818
817
|
'a',
|
|
819
818
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
820
|
-
|
|
819
|
+
React.createElement(
|
|
821
820
|
LazyLoad,
|
|
822
|
-
{ height: imageHeight, placeholder:
|
|
823
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
821
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
822
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
824
823
|
),
|
|
825
|
-
article.source &&
|
|
824
|
+
article.source && React.createElement(
|
|
826
825
|
'div',
|
|
827
826
|
{ className: 'content-category-label' },
|
|
828
|
-
|
|
827
|
+
React.createElement(
|
|
829
828
|
'div',
|
|
830
829
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
831
830
|
article.source
|
|
832
831
|
)
|
|
833
832
|
)
|
|
834
833
|
),
|
|
835
|
-
|
|
834
|
+
React.createElement(
|
|
836
835
|
Media.Body,
|
|
837
836
|
null,
|
|
838
|
-
|
|
837
|
+
React.createElement(
|
|
839
838
|
'a',
|
|
840
839
|
{ href: article.url.current },
|
|
841
|
-
article.title &&
|
|
840
|
+
article.title && React.createElement(
|
|
842
841
|
'h4',
|
|
843
842
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
844
843
|
article.title
|
|
845
844
|
)
|
|
846
845
|
),
|
|
847
|
-
showPublished && article.published &&
|
|
846
|
+
showPublished && article.published && React.createElement(
|
|
848
847
|
'p',
|
|
849
848
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
850
849
|
moment(article.published).format('MMMM DD, YYYY')
|
|
851
850
|
),
|
|
852
|
-
showTimeDiff && article.published &&
|
|
851
|
+
showTimeDiff && article.published && React.createElement(
|
|
853
852
|
'p',
|
|
854
853
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
855
854
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -857,20 +856,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
857
856
|
return null;
|
|
858
857
|
}
|
|
859
858
|
if (index === 3) {
|
|
860
|
-
return
|
|
861
|
-
|
|
859
|
+
return React.createElement(
|
|
860
|
+
React.Fragment,
|
|
862
861
|
null,
|
|
863
|
-
|
|
862
|
+
React.createElement(
|
|
864
863
|
'em',
|
|
865
864
|
{ style: { marginRight: '.5rem' } },
|
|
866
865
|
'...'
|
|
867
866
|
)
|
|
868
867
|
);
|
|
869
868
|
}
|
|
870
|
-
return
|
|
871
|
-
|
|
869
|
+
return React.createElement(
|
|
870
|
+
React.Fragment,
|
|
872
871
|
null,
|
|
873
|
-
|
|
872
|
+
React.createElement(
|
|
874
873
|
'em',
|
|
875
874
|
null,
|
|
876
875
|
taxonomy.name
|
|
@@ -880,30 +879,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
880
879
|
);
|
|
881
880
|
}),
|
|
882
881
|
' ',
|
|
883
|
-
|
|
882
|
+
React.createElement(
|
|
884
883
|
'span',
|
|
885
884
|
{ style: { display: 'inline-block' } },
|
|
886
885
|
timeDifferenceCalc(article.published)
|
|
887
886
|
)
|
|
888
887
|
),
|
|
889
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
888
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
890
889
|
LazyLoad,
|
|
891
890
|
{ height: 50 },
|
|
892
|
-
|
|
891
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
893
892
|
),
|
|
894
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
893
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
895
894
|
'div',
|
|
896
895
|
{ className: 'content-category-label' },
|
|
897
|
-
|
|
896
|
+
React.createElement(
|
|
898
897
|
'div',
|
|
899
898
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
900
899
|
article.source
|
|
901
900
|
)
|
|
902
901
|
),
|
|
903
|
-
|
|
902
|
+
React.createElement(
|
|
904
903
|
'div',
|
|
905
904
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
906
|
-
showCategory && article.contentCategory &&
|
|
905
|
+
showCategory && article.contentCategory && React.createElement(
|
|
907
906
|
'p',
|
|
908
907
|
{
|
|
909
908
|
className: 'article-category',
|
|
@@ -917,7 +916,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
917
916
|
} },
|
|
918
917
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
919
918
|
),
|
|
920
|
-
article.issueSection && article.issueSection.name &&
|
|
919
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
921
920
|
'p',
|
|
922
921
|
{
|
|
923
922
|
className: 'issueSection',
|
|
@@ -933,21 +932,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
933
932
|
article.issueSection.name
|
|
934
933
|
)
|
|
935
934
|
),
|
|
936
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
935
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
937
936
|
'div',
|
|
938
937
|
{ className: 'pubInfo' },
|
|
939
|
-
article.volume &&
|
|
938
|
+
article.volume && React.createElement(
|
|
940
939
|
'p',
|
|
941
940
|
{ className: 'qdeVolume' },
|
|
942
941
|
article.volume
|
|
943
942
|
),
|
|
944
|
-
article.issue &&
|
|
943
|
+
article.issue && React.createElement(
|
|
945
944
|
'p',
|
|
946
945
|
{ className: 'qdeIssue' },
|
|
947
946
|
article.issue
|
|
948
947
|
)
|
|
949
948
|
),
|
|
950
|
-
showIntro && article.summary &&
|
|
949
|
+
showIntro && article.summary && React.createElement(
|
|
951
950
|
'p',
|
|
952
951
|
{ className: 'pt-2 card-text' },
|
|
953
952
|
clean_html_1(article.summary)
|
|
@@ -956,55 +955,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
956
955
|
);
|
|
957
956
|
}
|
|
958
957
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
959
|
-
return
|
|
958
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
960
959
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
961
|
-
return
|
|
960
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
962
961
|
}
|
|
963
962
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
964
|
-
return
|
|
965
|
-
|
|
963
|
+
return React.createElement(
|
|
964
|
+
React.Fragment,
|
|
966
965
|
{ key: article._id ? article._id : index },
|
|
967
|
-
|
|
966
|
+
React.createElement(
|
|
968
967
|
Media,
|
|
969
968
|
{
|
|
970
969
|
key: article._id ? article._id : index,
|
|
971
970
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
972
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
971
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
973
972
|
'a',
|
|
974
973
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
975
|
-
|
|
974
|
+
React.createElement(
|
|
976
975
|
LazyLoad,
|
|
977
|
-
{ height: imageHeight, placeholder:
|
|
978
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
976
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
977
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), 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 })
|
|
979
978
|
),
|
|
980
|
-
article.source &&
|
|
979
|
+
article.source && React.createElement(
|
|
981
980
|
'div',
|
|
982
981
|
{ className: 'content-category-label' },
|
|
983
|
-
|
|
982
|
+
React.createElement(
|
|
984
983
|
'div',
|
|
985
984
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
986
985
|
article.source
|
|
987
986
|
)
|
|
988
987
|
)
|
|
989
988
|
),
|
|
990
|
-
|
|
989
|
+
React.createElement(
|
|
991
990
|
Media.Body,
|
|
992
991
|
null,
|
|
993
|
-
|
|
992
|
+
React.createElement(
|
|
994
993
|
'a',
|
|
995
994
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
996
|
-
article.title &&
|
|
995
|
+
article.title && React.createElement(
|
|
997
996
|
'h4',
|
|
998
997
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
999
998
|
article.title
|
|
1000
999
|
)
|
|
1001
1000
|
),
|
|
1002
|
-
showPublished && article.published &&
|
|
1001
|
+
showPublished && article.published && React.createElement(
|
|
1003
1002
|
'p',
|
|
1004
1003
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1005
1004
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1006
1005
|
),
|
|
1007
|
-
showTimeDiff && article.published &&
|
|
1006
|
+
showTimeDiff && article.published && React.createElement(
|
|
1008
1007
|
'p',
|
|
1009
1008
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1010
1009
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1012,20 +1011,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1012
1011
|
return null;
|
|
1013
1012
|
}
|
|
1014
1013
|
if (index === 3) {
|
|
1015
|
-
return
|
|
1016
|
-
|
|
1014
|
+
return React.createElement(
|
|
1015
|
+
React.Fragment,
|
|
1017
1016
|
null,
|
|
1018
|
-
|
|
1017
|
+
React.createElement(
|
|
1019
1018
|
'em',
|
|
1020
1019
|
{ style: { marginRight: '.5rem' } },
|
|
1021
1020
|
'...'
|
|
1022
1021
|
)
|
|
1023
1022
|
);
|
|
1024
1023
|
}
|
|
1025
|
-
return
|
|
1026
|
-
|
|
1024
|
+
return React.createElement(
|
|
1025
|
+
React.Fragment,
|
|
1027
1026
|
null,
|
|
1028
|
-
|
|
1027
|
+
React.createElement(
|
|
1029
1028
|
'em',
|
|
1030
1029
|
null,
|
|
1031
1030
|
taxonomy.name
|
|
@@ -1035,34 +1034,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1035
1034
|
);
|
|
1036
1035
|
}),
|
|
1037
1036
|
' ',
|
|
1038
|
-
|
|
1037
|
+
React.createElement(
|
|
1039
1038
|
'span',
|
|
1040
1039
|
{ style: { display: 'inline-block' } },
|
|
1041
1040
|
timeDifferenceCalc(article.published)
|
|
1042
1041
|
)
|
|
1043
1042
|
),
|
|
1044
|
-
|
|
1043
|
+
React.createElement(
|
|
1045
1044
|
'div',
|
|
1046
1045
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1047
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1046
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1048
1047
|
LazyLoad,
|
|
1049
1048
|
{ height: 50 },
|
|
1050
|
-
|
|
1049
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1051
1050
|
)
|
|
1052
1051
|
),
|
|
1053
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1052
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1054
1053
|
'div',
|
|
1055
1054
|
{ className: 'content-category-label' },
|
|
1056
|
-
|
|
1055
|
+
React.createElement(
|
|
1057
1056
|
'div',
|
|
1058
1057
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1059
1058
|
article.source
|
|
1060
1059
|
)
|
|
1061
1060
|
),
|
|
1062
|
-
|
|
1061
|
+
React.createElement(
|
|
1063
1062
|
'div',
|
|
1064
1063
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1065
|
-
showCategory && article.contentCategory &&
|
|
1064
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1066
1065
|
'p',
|
|
1067
1066
|
{
|
|
1068
1067
|
className: 'article-category',
|
|
@@ -1076,7 +1075,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1076
1075
|
} },
|
|
1077
1076
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1078
1077
|
),
|
|
1079
|
-
article.issueSection && article.issueSection.name &&
|
|
1078
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1080
1079
|
'p',
|
|
1081
1080
|
{
|
|
1082
1081
|
className: 'issueSection',
|
|
@@ -1092,49 +1091,49 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1092
1091
|
article.issueSection.name
|
|
1093
1092
|
)
|
|
1094
1093
|
),
|
|
1095
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1094
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1096
1095
|
'div',
|
|
1097
1096
|
{ className: 'pubInfo' },
|
|
1098
|
-
article.volume &&
|
|
1097
|
+
article.volume && React.createElement(
|
|
1099
1098
|
'p',
|
|
1100
1099
|
{ className: 'qdeVolume' },
|
|
1101
1100
|
article.volume
|
|
1102
1101
|
),
|
|
1103
|
-
article.issue &&
|
|
1102
|
+
article.issue && React.createElement(
|
|
1104
1103
|
'p',
|
|
1105
1104
|
{ className: 'qdeIssue' },
|
|
1106
1105
|
article.issue
|
|
1107
1106
|
)
|
|
1108
1107
|
),
|
|
1109
|
-
showIntro && article.summary &&
|
|
1108
|
+
showIntro && article.summary && React.createElement(
|
|
1110
1109
|
'p',
|
|
1111
1110
|
{ className: 'pt-2 card-text' },
|
|
1112
1111
|
clean_html_1(article.summary)
|
|
1113
1112
|
)
|
|
1114
1113
|
)
|
|
1115
1114
|
),
|
|
1116
|
-
|
|
1115
|
+
React.createElement(
|
|
1117
1116
|
'div',
|
|
1118
1117
|
null,
|
|
1119
|
-
|
|
1118
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1120
1119
|
)
|
|
1121
1120
|
);
|
|
1122
1121
|
} else return null;
|
|
1123
1122
|
})
|
|
1124
|
-
) :
|
|
1123
|
+
) : React.createElement(
|
|
1125
1124
|
'div',
|
|
1126
1125
|
null,
|
|
1127
|
-
|
|
1126
|
+
React.createElement(
|
|
1128
1127
|
'h5',
|
|
1129
1128
|
null,
|
|
1130
|
-
|
|
1129
|
+
React.createElement(
|
|
1131
1130
|
'em',
|
|
1132
1131
|
null,
|
|
1133
1132
|
'New content coming soon, please check back later.'
|
|
1134
1133
|
)
|
|
1135
1134
|
)
|
|
1136
1135
|
),
|
|
1137
|
-
|
|
1136
|
+
React.createElement(
|
|
1138
1137
|
'style',
|
|
1139
1138
|
{ jsx: 'true' },
|
|
1140
1139
|
'\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 '
|
|
@@ -1143,11 +1142,11 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1143
1142
|
};
|
|
1144
1143
|
|
|
1145
1144
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1146
|
-
return
|
|
1147
|
-
|
|
1145
|
+
return React.createElement(
|
|
1146
|
+
React.Fragment,
|
|
1148
1147
|
null,
|
|
1149
|
-
|
|
1150
|
-
|
|
1148
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1149
|
+
React.createElement(
|
|
1151
1150
|
'style',
|
|
1152
1151
|
{ jsx: 'true' },
|
|
1153
1152
|
'\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 '
|
|
@@ -1157,7 +1156,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1157
1156
|
|
|
1158
1157
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1159
1158
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1160
|
-
return
|
|
1159
|
+
return React.createElement(
|
|
1161
1160
|
'div',
|
|
1162
1161
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1163
1162
|
rightItems[i].component
|
|
@@ -1319,25 +1318,25 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1319
1318
|
};
|
|
1320
1319
|
}();
|
|
1321
1320
|
|
|
1322
|
-
return
|
|
1321
|
+
return React.createElement(
|
|
1323
1322
|
'div',
|
|
1324
1323
|
{ className: 'queuedeck-expanded' },
|
|
1325
|
-
isDataLoading ?
|
|
1324
|
+
isDataLoading ? React.createElement(
|
|
1326
1325
|
'div',
|
|
1327
1326
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
1328
|
-
|
|
1327
|
+
React.createElement(
|
|
1329
1328
|
Spinner,
|
|
1330
1329
|
{ animation: 'border', role: 'status' },
|
|
1331
|
-
|
|
1330
|
+
React.createElement(
|
|
1332
1331
|
'span',
|
|
1333
1332
|
{ className: 'sr-only' },
|
|
1334
1333
|
'Loading...'
|
|
1335
1334
|
)
|
|
1336
1335
|
)
|
|
1337
|
-
) :
|
|
1336
|
+
) : React.createElement(
|
|
1338
1337
|
Container,
|
|
1339
1338
|
null,
|
|
1340
|
-
|
|
1339
|
+
React.createElement(CardLoader, {
|
|
1341
1340
|
data: data,
|
|
1342
1341
|
client: client,
|
|
1343
1342
|
mapping: mapping,
|
|
@@ -1360,17 +1359,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1360
1359
|
showTaxonomies: showTaxonomies,
|
|
1361
1360
|
showIntro: showIntro
|
|
1362
1361
|
}),
|
|
1363
|
-
|
|
1362
|
+
React.createElement(
|
|
1364
1363
|
'div',
|
|
1365
1364
|
{ className: 'pagination-wrapper' },
|
|
1366
|
-
|
|
1365
|
+
React.createElement(Pagination, {
|
|
1367
1366
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
1368
|
-
pageRangeDisplayed:
|
|
1367
|
+
pageRangeDisplayed: main_40 ? 3 : 9,
|
|
1369
1368
|
currentPage: currentPage,
|
|
1370
1369
|
onPageChange: handlePageChange,
|
|
1371
1370
|
needLargePaginateButtons: props.needLargePaginateButtons
|
|
1372
1371
|
}),
|
|
1373
|
-
|
|
1372
|
+
React.createElement(
|
|
1374
1373
|
'style',
|
|
1375
1374
|
{ jsx: 'true' },
|
|
1376
1375
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|