@mjhls/mjh-framework 1.0.922 → 1.0.923
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-bce0ba07.js → ADInfeed-a4d973da.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-950b414b.js → ADlgInfeed-def2c25d.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 +49 -49
- 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 +46 -46
- 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/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- 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 +55 -55
- 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-34235827.js → MediaSeriesCard-be3f9e36.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +50 -51
- package/dist/cjs/MediaSeriesLandingPaginated.js +56 -57
- 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-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +61 -62
- package/dist/cjs/PartnerDetailListingPaginated.js +61 -62
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- 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 +25 -8
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-88e59074.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 +45 -45
- 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 +51 -51
- 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 +92 -91
- 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/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -45
- 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-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-f9f5f7c0.js → index-faf269e6.js} +157 -407
- 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 +144 -146
- 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-0a55cd2d.js → ADInfeed-7ba4f982.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-013e1f4a.js → ADlgInfeed-8eb5060f.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 +55 -55
- 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-37ebc2bd.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 +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- 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/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +63 -63
- 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-8a9b91e6.js → MediaSeriesCard-b6034225.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +75 -76
- package/dist/esm/MediaSeriesLandingPaginated.js +79 -80
- 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-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +94 -95
- package/dist/esm/PartnerDetailListingPaginated.js +92 -93
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- 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-d79db241.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 +25 -8
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- 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-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -49
- 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 +63 -63
- 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 +249 -248
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.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-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-7bf8bc4d.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-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.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-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.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-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-4d8a8743.js → index-93fc4be2.js} +551 -802
- 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 +139 -141
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- 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-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.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-f8f967cd.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/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,42 +1,41 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
|
-
import React__default, { useEffect, useState, useRef } from 'react';
|
|
5
|
-
import { Container, Media } from 'react-bootstrap';
|
|
6
|
-
import urlFor from './urlFor.js';
|
|
7
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
11
|
-
import { useRouter } from 'next/router';
|
|
12
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
14
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
16
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
17
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
19
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './_iter-detect-
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import '
|
|
28
|
-
import './
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
9
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
29
11
|
import 'prop-types';
|
|
30
12
|
import 'react-bootstrap/Card';
|
|
31
|
-
import './
|
|
32
|
-
import '
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import '
|
|
38
|
-
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 { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
19
|
+
import 'react-dom';
|
|
20
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
21
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
22
|
+
import './index-51a80699.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
25
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
26
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
27
|
+
import './stringify-70b72959.js';
|
|
28
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
39
29
|
import './Segment.js';
|
|
30
|
+
import './Beam.js';
|
|
31
|
+
import './AdSlot.js';
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-7ba4f982.js';
|
|
33
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8eb5060f.js';
|
|
35
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
36
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
37
|
+
import { Container, Media } from 'react-bootstrap';
|
|
38
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
40
39
|
|
|
41
40
|
var renderCardImage = function renderCardImage(row, client) {
|
|
42
41
|
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
@@ -252,7 +251,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
252
251
|
});
|
|
253
252
|
|
|
254
253
|
var featureCount = 0;
|
|
255
|
-
return
|
|
254
|
+
return React.createElement(
|
|
256
255
|
'div',
|
|
257
256
|
null,
|
|
258
257
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -263,7 +262,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
263
262
|
if (article._type === 'feature') {
|
|
264
263
|
featureCount++;
|
|
265
264
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
266
|
-
return
|
|
265
|
+
return React.createElement(
|
|
267
266
|
VisibilitySensor,
|
|
268
267
|
{
|
|
269
268
|
key: article._id ? article._id : index,
|
|
@@ -271,51 +270,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
271
270
|
onChange: function onChange(isVisible) {
|
|
272
271
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
273
272
|
} },
|
|
274
|
-
|
|
275
|
-
|
|
273
|
+
React.createElement(
|
|
274
|
+
React.Fragment,
|
|
276
275
|
null,
|
|
277
|
-
|
|
276
|
+
React.createElement(
|
|
278
277
|
Media,
|
|
279
278
|
{
|
|
280
279
|
key: article._id ? article._id : index,
|
|
281
280
|
className: 'feature-media',
|
|
282
281
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
283
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
282
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
284
283
|
'a',
|
|
285
284
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
286
|
-
|
|
285
|
+
React.createElement(
|
|
287
286
|
LazyLoad,
|
|
288
|
-
{ height: imageHeight, placeholder:
|
|
289
|
-
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, 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 })
|
|
290
289
|
),
|
|
291
|
-
article.source &&
|
|
290
|
+
article.source && React.createElement(
|
|
292
291
|
'div',
|
|
293
292
|
{ className: 'content-category-label' },
|
|
294
|
-
|
|
293
|
+
React.createElement(
|
|
295
294
|
'div',
|
|
296
295
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
297
296
|
article.source
|
|
298
297
|
)
|
|
299
298
|
)
|
|
300
299
|
),
|
|
301
|
-
|
|
300
|
+
React.createElement(
|
|
302
301
|
Media.Body,
|
|
303
302
|
null,
|
|
304
|
-
|
|
303
|
+
React.createElement(
|
|
305
304
|
'a',
|
|
306
305
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
307
|
-
article.title &&
|
|
306
|
+
article.title && React.createElement(
|
|
308
307
|
'h4',
|
|
309
308
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
310
309
|
article.title
|
|
311
310
|
)
|
|
312
311
|
),
|
|
313
|
-
showPublished && !showTimeDiff && article.published &&
|
|
312
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
314
313
|
'p',
|
|
315
314
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
316
315
|
moment(article.published).format('MMMM DD, YYYY')
|
|
317
316
|
),
|
|
318
|
-
showTimeDiff && article.published &&
|
|
317
|
+
showTimeDiff && article.published && React.createElement(
|
|
319
318
|
'p',
|
|
320
319
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
321
320
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -323,20 +322,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
323
322
|
return null;
|
|
324
323
|
}
|
|
325
324
|
if (index === 3) {
|
|
326
|
-
return
|
|
327
|
-
|
|
325
|
+
return React.createElement(
|
|
326
|
+
React.Fragment,
|
|
328
327
|
null,
|
|
329
|
-
|
|
328
|
+
React.createElement(
|
|
330
329
|
'em',
|
|
331
330
|
{ style: { marginRight: '.5rem' } },
|
|
332
331
|
'...'
|
|
333
332
|
)
|
|
334
333
|
);
|
|
335
334
|
}
|
|
336
|
-
return
|
|
337
|
-
|
|
335
|
+
return React.createElement(
|
|
336
|
+
React.Fragment,
|
|
338
337
|
null,
|
|
339
|
-
|
|
338
|
+
React.createElement(
|
|
340
339
|
'em',
|
|
341
340
|
null,
|
|
342
341
|
taxonomy.name
|
|
@@ -346,30 +345,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
346
345
|
);
|
|
347
346
|
}),
|
|
348
347
|
' ',
|
|
349
|
-
|
|
348
|
+
React.createElement(
|
|
350
349
|
'span',
|
|
351
350
|
{ style: { display: 'inline-block' } },
|
|
352
351
|
timeDifferenceCalc(article.published)
|
|
353
352
|
)
|
|
354
353
|
),
|
|
355
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
354
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
356
355
|
LazyLoad,
|
|
357
356
|
{ height: 50 },
|
|
358
|
-
|
|
357
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
359
358
|
),
|
|
360
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
359
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
361
360
|
'div',
|
|
362
361
|
{ className: 'content-category-label' },
|
|
363
|
-
|
|
362
|
+
React.createElement(
|
|
364
363
|
'div',
|
|
365
364
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
366
365
|
article.source
|
|
367
366
|
)
|
|
368
367
|
),
|
|
369
|
-
|
|
368
|
+
React.createElement(
|
|
370
369
|
'div',
|
|
371
370
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
372
|
-
showCategory && article.contentCategory &&
|
|
371
|
+
showCategory && article.contentCategory && React.createElement(
|
|
373
372
|
'p',
|
|
374
373
|
{
|
|
375
374
|
className: 'article-category',
|
|
@@ -383,7 +382,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
383
382
|
} },
|
|
384
383
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
385
384
|
),
|
|
386
|
-
article.issueSection && article.issueSection.name &&
|
|
385
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
387
386
|
'p',
|
|
388
387
|
{
|
|
389
388
|
className: 'issueSection',
|
|
@@ -399,21 +398,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
399
398
|
article.issueSection.name
|
|
400
399
|
)
|
|
401
400
|
),
|
|
402
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
401
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
403
402
|
'div',
|
|
404
403
|
{ className: 'pubInfo' },
|
|
405
|
-
article.volume &&
|
|
404
|
+
article.volume && React.createElement(
|
|
406
405
|
'p',
|
|
407
406
|
{ className: 'qdeVolume' },
|
|
408
407
|
article.volume
|
|
409
408
|
),
|
|
410
|
-
article.issue &&
|
|
409
|
+
article.issue && React.createElement(
|
|
411
410
|
'p',
|
|
412
411
|
{ className: 'qdeIssue' },
|
|
413
412
|
article.issue
|
|
414
413
|
)
|
|
415
414
|
),
|
|
416
|
-
showIntro && article.summary &&
|
|
415
|
+
showIntro && article.summary && React.createElement(
|
|
417
416
|
'p',
|
|
418
417
|
{ className: 'pt-2 card-text' },
|
|
419
418
|
clean_html_1(article.summary)
|
|
@@ -423,7 +422,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
423
422
|
)
|
|
424
423
|
);
|
|
425
424
|
} else {
|
|
426
|
-
return
|
|
425
|
+
return React.createElement(
|
|
427
426
|
VisibilitySensor,
|
|
428
427
|
{
|
|
429
428
|
key: article._id ? article._id : index,
|
|
@@ -431,51 +430,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
431
430
|
onChange: function onChange(isVisible) {
|
|
432
431
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
433
432
|
} },
|
|
434
|
-
|
|
435
|
-
|
|
433
|
+
React.createElement(
|
|
434
|
+
React.Fragment,
|
|
436
435
|
null,
|
|
437
|
-
|
|
436
|
+
React.createElement(
|
|
438
437
|
Media,
|
|
439
438
|
{
|
|
440
439
|
key: article._id ? article._id : index,
|
|
441
440
|
className: 'feature-media',
|
|
442
441
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
443
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
442
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
444
443
|
'a',
|
|
445
444
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
446
|
-
|
|
445
|
+
React.createElement(
|
|
447
446
|
LazyLoad,
|
|
448
|
-
{ height: imageHeight, placeholder:
|
|
449
|
-
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, 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 })
|
|
450
449
|
),
|
|
451
|
-
article.source &&
|
|
450
|
+
article.source && React.createElement(
|
|
452
451
|
'div',
|
|
453
452
|
{ className: 'content-category-label' },
|
|
454
|
-
|
|
453
|
+
React.createElement(
|
|
455
454
|
'div',
|
|
456
455
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
457
456
|
article.source
|
|
458
457
|
)
|
|
459
458
|
)
|
|
460
459
|
),
|
|
461
|
-
|
|
460
|
+
React.createElement(
|
|
462
461
|
Media.Body,
|
|
463
462
|
null,
|
|
464
|
-
|
|
463
|
+
React.createElement(
|
|
465
464
|
'a',
|
|
466
465
|
{ href: article.url.current },
|
|
467
|
-
article.title &&
|
|
466
|
+
article.title && React.createElement(
|
|
468
467
|
'h4',
|
|
469
468
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
470
469
|
article.title
|
|
471
470
|
)
|
|
472
471
|
),
|
|
473
|
-
showPublished && !showTimeDiff && article.published &&
|
|
472
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
474
473
|
'p',
|
|
475
474
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
476
475
|
moment(article.published).format('MMMM DD, YYYY')
|
|
477
476
|
),
|
|
478
|
-
showTimeDiff && article.published &&
|
|
477
|
+
showTimeDiff && article.published && React.createElement(
|
|
479
478
|
'p',
|
|
480
479
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
481
480
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -483,10 +482,10 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
483
482
|
return null;
|
|
484
483
|
}
|
|
485
484
|
if (index === 3) {
|
|
486
|
-
return
|
|
487
|
-
|
|
485
|
+
return React.createElement(
|
|
486
|
+
React.Fragment,
|
|
488
487
|
null,
|
|
489
|
-
|
|
488
|
+
React.createElement(
|
|
490
489
|
'em',
|
|
491
490
|
{ style: { marginRight: '.5rem' } },
|
|
492
491
|
'...'
|
|
@@ -494,20 +493,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
494
493
|
);
|
|
495
494
|
}
|
|
496
495
|
if (index === 3) {
|
|
497
|
-
return
|
|
498
|
-
|
|
496
|
+
return React.createElement(
|
|
497
|
+
React.Fragment,
|
|
499
498
|
null,
|
|
500
|
-
|
|
499
|
+
React.createElement(
|
|
501
500
|
'em',
|
|
502
501
|
{ style: { marginRight: '.5rem' } },
|
|
503
502
|
'...'
|
|
504
503
|
)
|
|
505
504
|
);
|
|
506
505
|
}
|
|
507
|
-
return
|
|
508
|
-
|
|
506
|
+
return React.createElement(
|
|
507
|
+
React.Fragment,
|
|
509
508
|
null,
|
|
510
|
-
|
|
509
|
+
React.createElement(
|
|
511
510
|
'em',
|
|
512
511
|
null,
|
|
513
512
|
taxonomy.name
|
|
@@ -517,30 +516,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
517
516
|
);
|
|
518
517
|
}),
|
|
519
518
|
' ',
|
|
520
|
-
|
|
519
|
+
React.createElement(
|
|
521
520
|
'span',
|
|
522
521
|
{ style: { display: 'inline-block' } },
|
|
523
522
|
timeDifferenceCalc(article.published)
|
|
524
523
|
)
|
|
525
524
|
),
|
|
526
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
525
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
527
526
|
LazyLoad,
|
|
528
527
|
{ height: 50 },
|
|
529
|
-
|
|
528
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
530
529
|
),
|
|
531
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
530
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
532
531
|
'div',
|
|
533
532
|
{ className: 'content-category-label' },
|
|
534
|
-
|
|
533
|
+
React.createElement(
|
|
535
534
|
'div',
|
|
536
535
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
537
536
|
article.source
|
|
538
537
|
)
|
|
539
538
|
),
|
|
540
|
-
|
|
539
|
+
React.createElement(
|
|
541
540
|
'div',
|
|
542
541
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
543
|
-
showCategory && article.contentCategory &&
|
|
542
|
+
showCategory && article.contentCategory && React.createElement(
|
|
544
543
|
'p',
|
|
545
544
|
{
|
|
546
545
|
className: 'article-category',
|
|
@@ -554,7 +553,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
554
553
|
} },
|
|
555
554
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
556
555
|
),
|
|
557
|
-
article.issueSection && article.issueSection.name &&
|
|
556
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
558
557
|
'p',
|
|
559
558
|
{
|
|
560
559
|
className: 'issueSection',
|
|
@@ -570,21 +569,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
570
569
|
article.issueSection.name
|
|
571
570
|
)
|
|
572
571
|
),
|
|
573
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
572
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
574
573
|
'div',
|
|
575
574
|
{ className: 'pubInfo' },
|
|
576
|
-
article.volume &&
|
|
575
|
+
article.volume && React.createElement(
|
|
577
576
|
'p',
|
|
578
577
|
{ className: 'qdeVolume' },
|
|
579
578
|
article.volume
|
|
580
579
|
),
|
|
581
|
-
article.issue &&
|
|
580
|
+
article.issue && React.createElement(
|
|
582
581
|
'p',
|
|
583
582
|
{ className: 'qdeIssue' },
|
|
584
583
|
article.issue
|
|
585
584
|
)
|
|
586
585
|
),
|
|
587
|
-
showIntro && article.summary &&
|
|
586
|
+
showIntro && article.summary && React.createElement(
|
|
588
587
|
'p',
|
|
589
588
|
{ className: 'pt-2 card-text' },
|
|
590
589
|
clean_html_1(article.summary)
|
|
@@ -595,12 +594,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
595
594
|
);
|
|
596
595
|
}
|
|
597
596
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
598
|
-
return
|
|
597
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
599
598
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
600
|
-
return
|
|
599
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
601
600
|
}
|
|
602
601
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
603
|
-
return
|
|
602
|
+
return React.createElement(
|
|
604
603
|
VisibilitySensor,
|
|
605
604
|
{
|
|
606
605
|
key: article._id ? article._id : index,
|
|
@@ -608,50 +607,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
608
607
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
609
608
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
610
609
|
} },
|
|
611
|
-
|
|
612
|
-
|
|
610
|
+
React.createElement(
|
|
611
|
+
React.Fragment,
|
|
613
612
|
null,
|
|
614
|
-
|
|
613
|
+
React.createElement(
|
|
615
614
|
Media,
|
|
616
615
|
{
|
|
617
616
|
key: article._id ? article._id : index,
|
|
618
617
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
619
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
618
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
620
619
|
'a',
|
|
621
620
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
622
|
-
|
|
621
|
+
React.createElement(
|
|
623
622
|
LazyLoad,
|
|
624
|
-
{ height: imageHeight, placeholder:
|
|
625
|
-
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, 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 })
|
|
626
625
|
),
|
|
627
|
-
article.source &&
|
|
626
|
+
article.source && React.createElement(
|
|
628
627
|
'div',
|
|
629
628
|
{ className: 'content-category-label' },
|
|
630
|
-
|
|
629
|
+
React.createElement(
|
|
631
630
|
'div',
|
|
632
631
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
633
632
|
article.source
|
|
634
633
|
)
|
|
635
634
|
)
|
|
636
635
|
),
|
|
637
|
-
|
|
636
|
+
React.createElement(
|
|
638
637
|
Media.Body,
|
|
639
638
|
null,
|
|
640
|
-
|
|
639
|
+
React.createElement(
|
|
641
640
|
'a',
|
|
642
641
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
643
|
-
article.title &&
|
|
642
|
+
article.title && React.createElement(
|
|
644
643
|
'h4',
|
|
645
644
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
646
645
|
article.title
|
|
647
646
|
)
|
|
648
647
|
),
|
|
649
|
-
showPublished && !showTimeDiff && article.published &&
|
|
648
|
+
showPublished && !showTimeDiff && article.published && React.createElement(
|
|
650
649
|
'p',
|
|
651
650
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
652
651
|
moment(article.published).format('MMMM DD, YYYY')
|
|
653
652
|
),
|
|
654
|
-
showTimeDiff && article.published &&
|
|
653
|
+
showTimeDiff && article.published && React.createElement(
|
|
655
654
|
'p',
|
|
656
655
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
657
656
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -659,20 +658,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
659
658
|
return null;
|
|
660
659
|
}
|
|
661
660
|
if (index === 3) {
|
|
662
|
-
return
|
|
663
|
-
|
|
661
|
+
return React.createElement(
|
|
662
|
+
React.Fragment,
|
|
664
663
|
null,
|
|
665
|
-
|
|
664
|
+
React.createElement(
|
|
666
665
|
'em',
|
|
667
666
|
{ style: { marginRight: '.5rem' } },
|
|
668
667
|
'...'
|
|
669
668
|
)
|
|
670
669
|
);
|
|
671
670
|
}
|
|
672
|
-
return
|
|
673
|
-
|
|
671
|
+
return React.createElement(
|
|
672
|
+
React.Fragment,
|
|
674
673
|
null,
|
|
675
|
-
|
|
674
|
+
React.createElement(
|
|
676
675
|
'em',
|
|
677
676
|
null,
|
|
678
677
|
taxonomy.name
|
|
@@ -682,34 +681,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
682
681
|
);
|
|
683
682
|
}),
|
|
684
683
|
' ',
|
|
685
|
-
|
|
684
|
+
React.createElement(
|
|
686
685
|
'span',
|
|
687
686
|
{ style: { display: 'inline-block' } },
|
|
688
687
|
timeDifferenceCalc(article.published)
|
|
689
688
|
)
|
|
690
689
|
),
|
|
691
|
-
|
|
690
|
+
React.createElement(
|
|
692
691
|
'div',
|
|
693
692
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
694
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
693
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
695
694
|
LazyLoad,
|
|
696
695
|
{ height: 50 },
|
|
697
|
-
|
|
696
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
698
697
|
)
|
|
699
698
|
),
|
|
700
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
699
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
701
700
|
'div',
|
|
702
701
|
{ className: 'content-category-label' },
|
|
703
|
-
|
|
702
|
+
React.createElement(
|
|
704
703
|
'div',
|
|
705
704
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
706
705
|
article.source
|
|
707
706
|
)
|
|
708
707
|
),
|
|
709
|
-
|
|
708
|
+
React.createElement(
|
|
710
709
|
'div',
|
|
711
710
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
712
|
-
showCategory && article.contentCategory &&
|
|
711
|
+
showCategory && article.contentCategory && React.createElement(
|
|
713
712
|
'p',
|
|
714
713
|
{
|
|
715
714
|
className: 'article-category',
|
|
@@ -723,7 +722,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
723
722
|
} },
|
|
724
723
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
725
724
|
),
|
|
726
|
-
article.issueSection && article.issueSection.name &&
|
|
725
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
727
726
|
'p',
|
|
728
727
|
{
|
|
729
728
|
className: 'issueSection',
|
|
@@ -739,38 +738,38 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
739
738
|
article.issueSection.name
|
|
740
739
|
)
|
|
741
740
|
),
|
|
742
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
741
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
743
742
|
'div',
|
|
744
743
|
{ className: 'pubInfo' },
|
|
745
|
-
article.volume &&
|
|
744
|
+
article.volume && React.createElement(
|
|
746
745
|
'p',
|
|
747
746
|
{ className: 'qdeVolume' },
|
|
748
747
|
article.volume
|
|
749
748
|
),
|
|
750
|
-
article.issue &&
|
|
749
|
+
article.issue && React.createElement(
|
|
751
750
|
'p',
|
|
752
751
|
{ className: 'qdeIssue' },
|
|
753
752
|
article.issue
|
|
754
753
|
)
|
|
755
754
|
),
|
|
756
|
-
showIntro && article.summary &&
|
|
755
|
+
showIntro && article.summary && React.createElement(
|
|
757
756
|
'p',
|
|
758
757
|
{ className: 'pt-2 card-text' },
|
|
759
758
|
clean_html_1(article.summary)
|
|
760
759
|
)
|
|
761
760
|
)
|
|
762
761
|
),
|
|
763
|
-
|
|
762
|
+
React.createElement(
|
|
764
763
|
'div',
|
|
765
764
|
null,
|
|
766
|
-
|
|
765
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
767
766
|
)
|
|
768
767
|
)
|
|
769
768
|
);
|
|
770
769
|
} else return null;
|
|
771
770
|
}) :
|
|
772
771
|
// For Javascript Disabled Cases
|
|
773
|
-
|
|
772
|
+
React.createElement(
|
|
774
773
|
'noscript',
|
|
775
774
|
null,
|
|
776
775
|
data.map(function (article, index) {
|
|
@@ -780,7 +779,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
780
779
|
if (article._type === 'feature') {
|
|
781
780
|
featureCount++;
|
|
782
781
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
783
|
-
return
|
|
782
|
+
return React.createElement(
|
|
784
783
|
VisibilitySensor,
|
|
785
784
|
{
|
|
786
785
|
key: article._id ? article._id : index,
|
|
@@ -788,51 +787,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
788
787
|
onChange: function onChange(isVisible) {
|
|
789
788
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
790
789
|
} },
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
React.createElement(
|
|
791
|
+
React.Fragment,
|
|
793
792
|
null,
|
|
794
|
-
|
|
793
|
+
React.createElement(
|
|
795
794
|
Media,
|
|
796
795
|
{
|
|
797
796
|
key: article._id ? article._id : index,
|
|
798
797
|
className: 'feature-media',
|
|
799
798
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
800
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
799
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
801
800
|
'a',
|
|
802
801
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
803
|
-
|
|
802
|
+
React.createElement(
|
|
804
803
|
LazyLoad,
|
|
805
|
-
{ height: imageHeight, placeholder:
|
|
806
|
-
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, 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 })
|
|
807
806
|
),
|
|
808
|
-
article.source &&
|
|
807
|
+
article.source && React.createElement(
|
|
809
808
|
'div',
|
|
810
809
|
{ className: 'content-category-label' },
|
|
811
|
-
|
|
810
|
+
React.createElement(
|
|
812
811
|
'div',
|
|
813
812
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
814
813
|
article.source
|
|
815
814
|
)
|
|
816
815
|
)
|
|
817
816
|
),
|
|
818
|
-
|
|
817
|
+
React.createElement(
|
|
819
818
|
Media.Body,
|
|
820
819
|
null,
|
|
821
|
-
|
|
820
|
+
React.createElement(
|
|
822
821
|
'a',
|
|
823
822
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
824
|
-
article.title &&
|
|
823
|
+
article.title && React.createElement(
|
|
825
824
|
'h4',
|
|
826
825
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
827
826
|
article.title
|
|
828
827
|
)
|
|
829
828
|
),
|
|
830
|
-
showPublished && article.published &&
|
|
829
|
+
showPublished && article.published && React.createElement(
|
|
831
830
|
'p',
|
|
832
831
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
833
832
|
moment(article.published).format('MMMM DD, YYYY')
|
|
834
833
|
),
|
|
835
|
-
showTimeDiff && article.published &&
|
|
834
|
+
showTimeDiff && article.published && React.createElement(
|
|
836
835
|
'p',
|
|
837
836
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
838
837
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -840,20 +839,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
840
839
|
return null;
|
|
841
840
|
}
|
|
842
841
|
if (index === 3) {
|
|
843
|
-
return
|
|
844
|
-
|
|
842
|
+
return React.createElement(
|
|
843
|
+
React.Fragment,
|
|
845
844
|
null,
|
|
846
|
-
|
|
845
|
+
React.createElement(
|
|
847
846
|
'em',
|
|
848
847
|
{ style: { marginRight: '.5rem' } },
|
|
849
848
|
'...'
|
|
850
849
|
)
|
|
851
850
|
);
|
|
852
851
|
}
|
|
853
|
-
return
|
|
854
|
-
|
|
852
|
+
return React.createElement(
|
|
853
|
+
React.Fragment,
|
|
855
854
|
null,
|
|
856
|
-
|
|
855
|
+
React.createElement(
|
|
857
856
|
'em',
|
|
858
857
|
null,
|
|
859
858
|
taxonomy.name
|
|
@@ -863,30 +862,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
863
862
|
);
|
|
864
863
|
}),
|
|
865
864
|
' ',
|
|
866
|
-
|
|
865
|
+
React.createElement(
|
|
867
866
|
'span',
|
|
868
867
|
{ style: { display: 'inline-block' } },
|
|
869
868
|
timeDifferenceCalc(article.published)
|
|
870
869
|
)
|
|
871
870
|
),
|
|
872
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
871
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
873
872
|
LazyLoad,
|
|
874
873
|
{ height: 50 },
|
|
875
|
-
|
|
874
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
876
875
|
),
|
|
877
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
876
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
878
877
|
'div',
|
|
879
878
|
{ className: 'content-category-label' },
|
|
880
|
-
|
|
879
|
+
React.createElement(
|
|
881
880
|
'div',
|
|
882
881
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
883
882
|
article.source
|
|
884
883
|
)
|
|
885
884
|
),
|
|
886
|
-
|
|
885
|
+
React.createElement(
|
|
887
886
|
'div',
|
|
888
887
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
889
|
-
showCategory && article.contentCategory &&
|
|
888
|
+
showCategory && article.contentCategory && React.createElement(
|
|
890
889
|
'p',
|
|
891
890
|
{
|
|
892
891
|
className: 'article-category',
|
|
@@ -900,7 +899,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
900
899
|
} },
|
|
901
900
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
902
901
|
),
|
|
903
|
-
article.issueSection && article.issueSection.name &&
|
|
902
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
904
903
|
'p',
|
|
905
904
|
{
|
|
906
905
|
className: 'issueSection',
|
|
@@ -916,21 +915,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
916
915
|
article.issueSection.name
|
|
917
916
|
)
|
|
918
917
|
),
|
|
919
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
918
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
920
919
|
'div',
|
|
921
920
|
{ className: 'pubInfo' },
|
|
922
|
-
article.volume &&
|
|
921
|
+
article.volume && React.createElement(
|
|
923
922
|
'p',
|
|
924
923
|
{ className: 'qdeVolume' },
|
|
925
924
|
article.volume
|
|
926
925
|
),
|
|
927
|
-
article.issue &&
|
|
926
|
+
article.issue && React.createElement(
|
|
928
927
|
'p',
|
|
929
928
|
{ className: 'qdeIssue' },
|
|
930
929
|
article.issue
|
|
931
930
|
)
|
|
932
931
|
),
|
|
933
|
-
showIntro && article.summary &&
|
|
932
|
+
showIntro && article.summary && React.createElement(
|
|
934
933
|
'p',
|
|
935
934
|
{ className: 'pt-2 card-text' },
|
|
936
935
|
clean_html_1(article.summary)
|
|
@@ -940,7 +939,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
940
939
|
)
|
|
941
940
|
);
|
|
942
941
|
} else {
|
|
943
|
-
return
|
|
942
|
+
return React.createElement(
|
|
944
943
|
VisibilitySensor,
|
|
945
944
|
{
|
|
946
945
|
key: article._id ? article._id : index,
|
|
@@ -948,51 +947,51 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
948
947
|
onChange: function onChange(isVisible) {
|
|
949
948
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage);
|
|
950
949
|
} },
|
|
951
|
-
|
|
952
|
-
|
|
950
|
+
React.createElement(
|
|
951
|
+
React.Fragment,
|
|
953
952
|
null,
|
|
954
|
-
|
|
953
|
+
React.createElement(
|
|
955
954
|
Media,
|
|
956
955
|
{
|
|
957
956
|
key: article._id ? article._id : index,
|
|
958
957
|
className: 'feature-media',
|
|
959
958
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
960
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
959
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
961
960
|
'a',
|
|
962
961
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
963
|
-
|
|
962
|
+
React.createElement(
|
|
964
963
|
LazyLoad,
|
|
965
|
-
{ height: imageHeight, placeholder:
|
|
966
|
-
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, 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 })
|
|
967
966
|
),
|
|
968
|
-
article.source &&
|
|
967
|
+
article.source && React.createElement(
|
|
969
968
|
'div',
|
|
970
969
|
{ className: 'content-category-label' },
|
|
971
|
-
|
|
970
|
+
React.createElement(
|
|
972
971
|
'div',
|
|
973
972
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
974
973
|
article.source
|
|
975
974
|
)
|
|
976
975
|
)
|
|
977
976
|
),
|
|
978
|
-
|
|
977
|
+
React.createElement(
|
|
979
978
|
Media.Body,
|
|
980
979
|
null,
|
|
981
|
-
|
|
980
|
+
React.createElement(
|
|
982
981
|
'a',
|
|
983
982
|
{ href: article.url.current },
|
|
984
|
-
article.title &&
|
|
983
|
+
article.title && React.createElement(
|
|
985
984
|
'h4',
|
|
986
985
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
987
986
|
article.title
|
|
988
987
|
)
|
|
989
988
|
),
|
|
990
|
-
showPublished && article.published &&
|
|
989
|
+
showPublished && article.published && React.createElement(
|
|
991
990
|
'p',
|
|
992
991
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
993
992
|
moment(article.published).format('MMMM DD, YYYY')
|
|
994
993
|
),
|
|
995
|
-
showTimeDiff && article.published &&
|
|
994
|
+
showTimeDiff && article.published && React.createElement(
|
|
996
995
|
'p',
|
|
997
996
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
998
997
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1000,20 +999,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1000
999
|
return null;
|
|
1001
1000
|
}
|
|
1002
1001
|
if (index === 3) {
|
|
1003
|
-
return
|
|
1004
|
-
|
|
1002
|
+
return React.createElement(
|
|
1003
|
+
React.Fragment,
|
|
1005
1004
|
null,
|
|
1006
|
-
|
|
1005
|
+
React.createElement(
|
|
1007
1006
|
'em',
|
|
1008
1007
|
{ style: { marginRight: '.5rem' } },
|
|
1009
1008
|
'...'
|
|
1010
1009
|
)
|
|
1011
1010
|
);
|
|
1012
1011
|
}
|
|
1013
|
-
return
|
|
1014
|
-
|
|
1012
|
+
return React.createElement(
|
|
1013
|
+
React.Fragment,
|
|
1015
1014
|
null,
|
|
1016
|
-
|
|
1015
|
+
React.createElement(
|
|
1017
1016
|
'em',
|
|
1018
1017
|
null,
|
|
1019
1018
|
taxonomy.name
|
|
@@ -1023,30 +1022,30 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1023
1022
|
);
|
|
1024
1023
|
}),
|
|
1025
1024
|
' ',
|
|
1026
|
-
|
|
1025
|
+
React.createElement(
|
|
1027
1026
|
'span',
|
|
1028
1027
|
{ style: { display: 'inline-block' } },
|
|
1029
1028
|
timeDifferenceCalc(article.published)
|
|
1030
1029
|
)
|
|
1031
1030
|
),
|
|
1032
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1031
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1033
1032
|
LazyLoad,
|
|
1034
1033
|
{ height: 50 },
|
|
1035
|
-
|
|
1034
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1036
1035
|
),
|
|
1037
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1036
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1038
1037
|
'div',
|
|
1039
1038
|
{ className: 'content-category-label' },
|
|
1040
|
-
|
|
1039
|
+
React.createElement(
|
|
1041
1040
|
'div',
|
|
1042
1041
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1043
1042
|
article.source
|
|
1044
1043
|
)
|
|
1045
1044
|
),
|
|
1046
|
-
|
|
1045
|
+
React.createElement(
|
|
1047
1046
|
'div',
|
|
1048
1047
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1049
|
-
showCategory && article.contentCategory &&
|
|
1048
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1050
1049
|
'p',
|
|
1051
1050
|
{
|
|
1052
1051
|
className: 'article-category',
|
|
@@ -1060,7 +1059,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1060
1059
|
} },
|
|
1061
1060
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1062
1061
|
),
|
|
1063
|
-
article.issueSection && article.issueSection.name &&
|
|
1062
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1064
1063
|
'p',
|
|
1065
1064
|
{
|
|
1066
1065
|
className: 'issueSection',
|
|
@@ -1076,21 +1075,21 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1076
1075
|
article.issueSection.name
|
|
1077
1076
|
)
|
|
1078
1077
|
),
|
|
1079
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1078
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1080
1079
|
'div',
|
|
1081
1080
|
{ className: 'pubInfo' },
|
|
1082
|
-
article.volume &&
|
|
1081
|
+
article.volume && React.createElement(
|
|
1083
1082
|
'p',
|
|
1084
1083
|
{ className: 'qdeVolume' },
|
|
1085
1084
|
article.volume
|
|
1086
1085
|
),
|
|
1087
|
-
article.issue &&
|
|
1086
|
+
article.issue && React.createElement(
|
|
1088
1087
|
'p',
|
|
1089
1088
|
{ className: 'qdeIssue' },
|
|
1090
1089
|
article.issue
|
|
1091
1090
|
)
|
|
1092
1091
|
),
|
|
1093
|
-
showIntro && article.summary &&
|
|
1092
|
+
showIntro && article.summary && React.createElement(
|
|
1094
1093
|
'p',
|
|
1095
1094
|
{ className: 'pt-2 card-text' },
|
|
1096
1095
|
clean_html_1(article.summary)
|
|
@@ -1101,12 +1100,12 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1101
1100
|
);
|
|
1102
1101
|
}
|
|
1103
1102
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
1104
|
-
return
|
|
1103
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
1105
1104
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
1106
|
-
return
|
|
1105
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
1107
1106
|
}
|
|
1108
1107
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
1109
|
-
return
|
|
1108
|
+
return React.createElement(
|
|
1110
1109
|
VisibilitySensor,
|
|
1111
1110
|
{
|
|
1112
1111
|
key: article._id ? article._id : index,
|
|
@@ -1114,50 +1113,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1114
1113
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
1115
1114
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
1116
1115
|
} },
|
|
1117
|
-
|
|
1118
|
-
|
|
1116
|
+
React.createElement(
|
|
1117
|
+
React.Fragment,
|
|
1119
1118
|
null,
|
|
1120
|
-
|
|
1119
|
+
React.createElement(
|
|
1121
1120
|
Media,
|
|
1122
1121
|
{
|
|
1123
1122
|
key: article._id ? article._id : index,
|
|
1124
1123
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
1125
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
1124
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
1126
1125
|
'a',
|
|
1127
1126
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
1128
|
-
|
|
1127
|
+
React.createElement(
|
|
1129
1128
|
LazyLoad,
|
|
1130
|
-
{ height: imageHeight, placeholder:
|
|
1131
|
-
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, 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 })
|
|
1132
1131
|
),
|
|
1133
|
-
article.source &&
|
|
1132
|
+
article.source && React.createElement(
|
|
1134
1133
|
'div',
|
|
1135
1134
|
{ className: 'content-category-label' },
|
|
1136
|
-
|
|
1135
|
+
React.createElement(
|
|
1137
1136
|
'div',
|
|
1138
1137
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1139
1138
|
article.source
|
|
1140
1139
|
)
|
|
1141
1140
|
)
|
|
1142
1141
|
),
|
|
1143
|
-
|
|
1142
|
+
React.createElement(
|
|
1144
1143
|
Media.Body,
|
|
1145
1144
|
null,
|
|
1146
|
-
|
|
1145
|
+
React.createElement(
|
|
1147
1146
|
'a',
|
|
1148
1147
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1149
|
-
article.title &&
|
|
1148
|
+
article.title && React.createElement(
|
|
1150
1149
|
'h4',
|
|
1151
1150
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1152
1151
|
article.title
|
|
1153
1152
|
)
|
|
1154
1153
|
),
|
|
1155
|
-
showPublished && article.published &&
|
|
1154
|
+
showPublished && article.published && React.createElement(
|
|
1156
1155
|
'p',
|
|
1157
1156
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1158
1157
|
moment(article.published).format('MMMM DD, YYYY')
|
|
1159
1158
|
),
|
|
1160
|
-
showTimeDiff && article.published &&
|
|
1159
|
+
showTimeDiff && article.published && React.createElement(
|
|
1161
1160
|
'p',
|
|
1162
1161
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1163
1162
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1165,20 +1164,20 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1165
1164
|
return null;
|
|
1166
1165
|
}
|
|
1167
1166
|
if (index === 3) {
|
|
1168
|
-
return
|
|
1169
|
-
|
|
1167
|
+
return React.createElement(
|
|
1168
|
+
React.Fragment,
|
|
1170
1169
|
null,
|
|
1171
|
-
|
|
1170
|
+
React.createElement(
|
|
1172
1171
|
'em',
|
|
1173
1172
|
{ style: { marginRight: '.5rem' } },
|
|
1174
1173
|
'...'
|
|
1175
1174
|
)
|
|
1176
1175
|
);
|
|
1177
1176
|
}
|
|
1178
|
-
return
|
|
1179
|
-
|
|
1177
|
+
return React.createElement(
|
|
1178
|
+
React.Fragment,
|
|
1180
1179
|
null,
|
|
1181
|
-
|
|
1180
|
+
React.createElement(
|
|
1182
1181
|
'em',
|
|
1183
1182
|
null,
|
|
1184
1183
|
taxonomy.name
|
|
@@ -1188,34 +1187,34 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1188
1187
|
);
|
|
1189
1188
|
}),
|
|
1190
1189
|
' ',
|
|
1191
|
-
|
|
1190
|
+
React.createElement(
|
|
1192
1191
|
'span',
|
|
1193
1192
|
{ style: { display: 'inline-block' } },
|
|
1194
1193
|
timeDifferenceCalc(article.published)
|
|
1195
1194
|
)
|
|
1196
1195
|
),
|
|
1197
|
-
|
|
1196
|
+
React.createElement(
|
|
1198
1197
|
'div',
|
|
1199
1198
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1200
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
1199
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
1201
1200
|
LazyLoad,
|
|
1202
1201
|
{ height: 50 },
|
|
1203
|
-
|
|
1202
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1204
1203
|
)
|
|
1205
1204
|
),
|
|
1206
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
1205
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
1207
1206
|
'div',
|
|
1208
1207
|
{ className: 'content-category-label' },
|
|
1209
|
-
|
|
1208
|
+
React.createElement(
|
|
1210
1209
|
'div',
|
|
1211
1210
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1212
1211
|
article.source
|
|
1213
1212
|
)
|
|
1214
1213
|
),
|
|
1215
|
-
|
|
1214
|
+
React.createElement(
|
|
1216
1215
|
'div',
|
|
1217
1216
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1218
|
-
showCategory && article.contentCategory &&
|
|
1217
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1219
1218
|
'p',
|
|
1220
1219
|
{
|
|
1221
1220
|
className: 'article-category',
|
|
@@ -1229,7 +1228,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1229
1228
|
} },
|
|
1230
1229
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1231
1230
|
),
|
|
1232
|
-
article.issueSection && article.issueSection.name &&
|
|
1231
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1233
1232
|
'p',
|
|
1234
1233
|
{
|
|
1235
1234
|
className: 'issueSection',
|
|
@@ -1245,50 +1244,50 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1245
1244
|
article.issueSection.name
|
|
1246
1245
|
)
|
|
1247
1246
|
),
|
|
1248
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1247
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1249
1248
|
'div',
|
|
1250
1249
|
{ className: 'pubInfo' },
|
|
1251
|
-
article.volume &&
|
|
1250
|
+
article.volume && React.createElement(
|
|
1252
1251
|
'p',
|
|
1253
1252
|
{ className: 'qdeVolume' },
|
|
1254
1253
|
article.volume
|
|
1255
1254
|
),
|
|
1256
|
-
article.issue &&
|
|
1255
|
+
article.issue && React.createElement(
|
|
1257
1256
|
'p',
|
|
1258
1257
|
{ className: 'qdeIssue' },
|
|
1259
1258
|
article.issue
|
|
1260
1259
|
)
|
|
1261
1260
|
),
|
|
1262
|
-
showIntro && article.summary &&
|
|
1261
|
+
showIntro && article.summary && React.createElement(
|
|
1263
1262
|
'p',
|
|
1264
1263
|
{ className: 'pt-2 card-text' },
|
|
1265
1264
|
clean_html_1(article.summary)
|
|
1266
1265
|
)
|
|
1267
1266
|
)
|
|
1268
1267
|
),
|
|
1269
|
-
|
|
1268
|
+
React.createElement(
|
|
1270
1269
|
'div',
|
|
1271
1270
|
null,
|
|
1272
|
-
|
|
1271
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1273
1272
|
)
|
|
1274
1273
|
)
|
|
1275
1274
|
);
|
|
1276
1275
|
} else return null;
|
|
1277
1276
|
})
|
|
1278
|
-
) :
|
|
1277
|
+
) : React.createElement(
|
|
1279
1278
|
'div',
|
|
1280
1279
|
null,
|
|
1281
|
-
|
|
1280
|
+
React.createElement(
|
|
1282
1281
|
'h5',
|
|
1283
1282
|
null,
|
|
1284
|
-
|
|
1283
|
+
React.createElement(
|
|
1285
1284
|
'em',
|
|
1286
1285
|
null,
|
|
1287
1286
|
'New content coming soon, please check back later.'
|
|
1288
1287
|
)
|
|
1289
1288
|
)
|
|
1290
1289
|
),
|
|
1291
|
-
|
|
1290
|
+
React.createElement(
|
|
1292
1291
|
'style',
|
|
1293
1292
|
{ jsx: 'true' },
|
|
1294
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 '
|
|
@@ -1297,11 +1296,11 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1297
1296
|
};
|
|
1298
1297
|
|
|
1299
1298
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1300
|
-
return
|
|
1301
|
-
|
|
1299
|
+
return React.createElement(
|
|
1300
|
+
React.Fragment,
|
|
1302
1301
|
null,
|
|
1303
|
-
|
|
1304
|
-
|
|
1302
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1303
|
+
React.createElement(
|
|
1305
1304
|
'style',
|
|
1306
1305
|
{ jsx: 'true' },
|
|
1307
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 '
|
|
@@ -1311,7 +1310,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1311
1310
|
|
|
1312
1311
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1313
1312
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1314
|
-
return
|
|
1313
|
+
return React.createElement(
|
|
1315
1314
|
'div',
|
|
1316
1315
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1317
1316
|
rightItems[i].component
|
|
@@ -1416,15 +1415,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1416
1415
|
return null;
|
|
1417
1416
|
}
|
|
1418
1417
|
|
|
1419
|
-
return
|
|
1418
|
+
return React.createElement(
|
|
1420
1419
|
'div',
|
|
1421
1420
|
{ className: 'd-flex justify-content-between' },
|
|
1422
|
-
currentPage && currentPage > 1 &&
|
|
1421
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1423
1422
|
'a',
|
|
1424
1423
|
{ href: '?page=' + (currentPage - 1) },
|
|
1425
1424
|
'<< Previous'
|
|
1426
1425
|
),
|
|
1427
|
-
|
|
1426
|
+
React.createElement(
|
|
1428
1427
|
'a',
|
|
1429
1428
|
{ href: '?page=' + (currentPage + 1) },
|
|
1430
1429
|
'Next >>'
|
|
@@ -1471,40 +1470,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1471
1470
|
// }
|
|
1472
1471
|
// }
|
|
1473
1472
|
|
|
1474
|
-
return
|
|
1473
|
+
return React.createElement(
|
|
1475
1474
|
'div',
|
|
1476
1475
|
null,
|
|
1477
|
-
autoScroll ?
|
|
1478
|
-
|
|
1476
|
+
autoScroll ? React.createElement(
|
|
1477
|
+
React.Fragment,
|
|
1479
1478
|
null,
|
|
1480
|
-
|
|
1479
|
+
React.createElement(
|
|
1481
1480
|
InfiniteScroll,
|
|
1482
1481
|
{ dataLength: data && data.length, next: function next() {
|
|
1483
1482
|
return loadMore(values, setValues, itemsPerPage);
|
|
1484
1483
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1485
|
-
|
|
1484
|
+
React.createElement(
|
|
1486
1485
|
Container,
|
|
1487
1486
|
null,
|
|
1488
1487
|
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1489
1488
|
)
|
|
1490
1489
|
),
|
|
1491
|
-
|
|
1490
|
+
React.createElement(
|
|
1492
1491
|
'noscript',
|
|
1493
1492
|
null,
|
|
1494
1493
|
renderManualPagination(currentPage)
|
|
1495
1494
|
)
|
|
1496
|
-
) :
|
|
1497
|
-
|
|
1495
|
+
) : React.createElement(
|
|
1496
|
+
React.Fragment,
|
|
1498
1497
|
null,
|
|
1499
|
-
|
|
1498
|
+
React.createElement(
|
|
1500
1499
|
Container,
|
|
1501
1500
|
null,
|
|
1502
1501
|
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1503
1502
|
),
|
|
1504
|
-
|
|
1503
|
+
React.createElement(
|
|
1505
1504
|
'div',
|
|
1506
1505
|
{ style: { padding: '0px 10px' } },
|
|
1507
|
-
scrolling ?
|
|
1506
|
+
scrolling ? React.createElement(
|
|
1508
1507
|
'button',
|
|
1509
1508
|
{
|
|
1510
1509
|
className: 'load-more-btn',
|
|
@@ -1513,17 +1512,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1513
1512
|
loadMore(values, setValues, itemsPerPage);
|
|
1514
1513
|
} },
|
|
1515
1514
|
'Load More'
|
|
1516
|
-
) :
|
|
1515
|
+
) : React.createElement(
|
|
1517
1516
|
'p',
|
|
1518
1517
|
{ style: { textAlign: 'center' } },
|
|
1519
|
-
|
|
1518
|
+
React.createElement(
|
|
1520
1519
|
'b',
|
|
1521
1520
|
null,
|
|
1522
1521
|
'End of data'
|
|
1523
1522
|
)
|
|
1524
1523
|
)
|
|
1525
1524
|
),
|
|
1526
|
-
|
|
1525
|
+
React.createElement(
|
|
1527
1526
|
'noscript',
|
|
1528
1527
|
null,
|
|
1529
1528
|
renderManualPagination(currentPage)
|