@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
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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 './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
+
import 'prop-types';
|
|
6
17
|
import Container from 'react-bootstrap/Container';
|
|
7
18
|
import Row from 'react-bootstrap/Row';
|
|
8
19
|
import Col from 'react-bootstrap/Col';
|
|
9
20
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
22
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-013e1f4a.js';
|
|
18
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
|
-
import { g as get_1 } from './get-3c308da4.js';
|
|
20
|
-
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
|
-
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
24
|
-
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
|
-
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
27
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
29
|
-
import './_iter-detect-98db3b07.js';
|
|
30
|
-
import './_object-pie-133f504a.js';
|
|
31
|
-
import './_object-sap-7cee6f84.js';
|
|
32
|
-
import './define-property-5f1bda73.js';
|
|
33
|
-
import './typeof-e9fc0c5d.js';
|
|
34
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
35
|
-
import './_is-array-8d21b9e3.js';
|
|
36
|
-
import './_library-528f1934.js';
|
|
37
|
-
import './events-6c3a7a63.js';
|
|
38
|
-
import 'prop-types';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
39
27
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './slicedToArray-67a08c9c.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import './stringify-70b72959.js';
|
|
36
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
45
37
|
import './Segment.js';
|
|
46
|
-
import './
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './AdSlot.js';
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-7ba4f982.js';
|
|
41
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
42
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8eb5060f.js';
|
|
43
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
44
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
45
|
+
import './eq-b470f743.js';
|
|
46
|
+
import './AD.js';
|
|
47
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
50
48
|
import 'react-bootstrap/Button';
|
|
49
|
+
import { P as PublicationFeature } from './PublicationFeature-d79db241.js';
|
|
51
50
|
|
|
52
51
|
var GridContent = function (_React$Component) {
|
|
53
52
|
_inherits(GridContent, _React$Component);
|
|
@@ -154,9 +153,9 @@ var GridContent = function (_React$Component) {
|
|
|
154
153
|
}
|
|
155
154
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
156
155
|
var _this$props2 = _this.props,
|
|
157
|
-
seoPaginate = _this$props2.seoPaginate
|
|
158
|
-
_this$props2.pageview
|
|
159
|
-
|
|
156
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
157
|
+
pageview = _this$props2.pageview,
|
|
158
|
+
router = _this$props2.router;
|
|
160
159
|
var currentPage = _this.state.currentPage;
|
|
161
160
|
|
|
162
161
|
if (seoPaginate) {
|
|
@@ -221,7 +220,7 @@ var GridContent = function (_React$Component) {
|
|
|
221
220
|
var rightItems = _this.props.rightItems;
|
|
222
221
|
|
|
223
222
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
224
|
-
return
|
|
223
|
+
return React.createElement(
|
|
225
224
|
'div',
|
|
226
225
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
227
226
|
rightItems[i].component
|
|
@@ -229,15 +228,15 @@ var GridContent = function (_React$Component) {
|
|
|
229
228
|
}, _this.renderManualPagination = function () {
|
|
230
229
|
var currentPage = _this.state.currentPage;
|
|
231
230
|
|
|
232
|
-
return
|
|
231
|
+
return React.createElement(
|
|
233
232
|
'div',
|
|
234
233
|
{ className: 'd-flex justify-content-between' },
|
|
235
|
-
currentPage && currentPage > 1 &&
|
|
234
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
236
235
|
'a',
|
|
237
236
|
{ href: '?page=' + (currentPage - 1) },
|
|
238
237
|
'<< Previous'
|
|
239
238
|
),
|
|
240
|
-
|
|
239
|
+
React.createElement(
|
|
241
240
|
'a',
|
|
242
241
|
{ href: '?page=' + (currentPage + 1) },
|
|
243
242
|
'Next >>'
|
|
@@ -272,62 +271,62 @@ var GridContent = function (_React$Component) {
|
|
|
272
271
|
var numberOfItemsBeforeAd = 6;
|
|
273
272
|
var numberOfItemsBeforeVideo = 3;
|
|
274
273
|
if (variant === 'stack') {
|
|
275
|
-
return
|
|
274
|
+
return React.createElement(
|
|
276
275
|
Row,
|
|
277
276
|
null,
|
|
278
277
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
279
278
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
280
|
-
return
|
|
279
|
+
return React.createElement(
|
|
281
280
|
Col,
|
|
282
281
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
283
|
-
|
|
282
|
+
React.createElement(
|
|
284
283
|
Card,
|
|
285
284
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
286
|
-
|
|
285
|
+
React.createElement(
|
|
287
286
|
Row,
|
|
288
287
|
{ style: { flexDirection: 'row' } },
|
|
289
|
-
|
|
288
|
+
React.createElement(
|
|
290
289
|
Col,
|
|
291
290
|
{ md: 12, lg: 4 },
|
|
292
|
-
|
|
291
|
+
React.createElement(
|
|
293
292
|
'a',
|
|
294
293
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
295
|
-
|
|
294
|
+
React.createElement(
|
|
296
295
|
LazyLoad,
|
|
297
296
|
{ height: _this2.props.imageHeight },
|
|
298
|
-
|
|
297
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
299
298
|
)
|
|
300
299
|
)
|
|
301
300
|
),
|
|
302
|
-
|
|
301
|
+
React.createElement(
|
|
303
302
|
Col,
|
|
304
303
|
null,
|
|
305
|
-
|
|
304
|
+
React.createElement(
|
|
306
305
|
Card.Body,
|
|
307
306
|
{ style: { padding: '20px' } },
|
|
308
|
-
|
|
307
|
+
React.createElement(
|
|
309
308
|
Card.Title,
|
|
310
309
|
null,
|
|
311
|
-
|
|
310
|
+
React.createElement(
|
|
312
311
|
'a',
|
|
313
312
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
314
313
|
row.title
|
|
315
314
|
)
|
|
316
315
|
),
|
|
317
|
-
_this2.props.showPublished && row.published &&
|
|
316
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
318
317
|
Card.Subtitle,
|
|
319
318
|
{ style: { marginTop: 0 } },
|
|
320
319
|
moment(row.published).format('MMMM DD, YYYY')
|
|
321
320
|
),
|
|
322
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
321
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
323
322
|
LazyLoad,
|
|
324
323
|
{ height: 50 },
|
|
325
|
-
|
|
324
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
326
325
|
),
|
|
327
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
326
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
328
327
|
LazyLoad,
|
|
329
328
|
{ height: 50 },
|
|
330
|
-
|
|
329
|
+
React.createElement(
|
|
331
330
|
'p',
|
|
332
331
|
{
|
|
333
332
|
className: 'article-category',
|
|
@@ -342,7 +341,7 @@ var GridContent = function (_React$Component) {
|
|
|
342
341
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
343
342
|
)
|
|
344
343
|
),
|
|
345
|
-
|
|
344
|
+
React.createElement(
|
|
346
345
|
Card.Text,
|
|
347
346
|
null,
|
|
348
347
|
clean_html_1(row.summary)
|
|
@@ -352,13 +351,13 @@ var GridContent = function (_React$Component) {
|
|
|
352
351
|
)
|
|
353
352
|
)
|
|
354
353
|
);
|
|
355
|
-
}) :
|
|
354
|
+
}) : React.createElement(
|
|
356
355
|
'div',
|
|
357
356
|
null,
|
|
358
|
-
|
|
357
|
+
React.createElement(
|
|
359
358
|
'h5',
|
|
360
359
|
null,
|
|
361
|
-
|
|
360
|
+
React.createElement(
|
|
362
361
|
'em',
|
|
363
362
|
null,
|
|
364
363
|
'New content coming soon, please check back later.'
|
|
@@ -475,7 +474,7 @@ var GridContent = function (_React$Component) {
|
|
|
475
474
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
476
475
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
477
476
|
var featureCount = 0;
|
|
478
|
-
return
|
|
477
|
+
return React.createElement(
|
|
479
478
|
'div',
|
|
480
479
|
{ className: 'grid-container' },
|
|
481
480
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -485,58 +484,58 @@ var GridContent = function (_React$Component) {
|
|
|
485
484
|
if (row._type === 'feature') {
|
|
486
485
|
featureCount++;
|
|
487
486
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
488
|
-
return
|
|
489
|
-
|
|
487
|
+
return React.createElement(
|
|
488
|
+
React.Fragment,
|
|
490
489
|
{ key: itemCounter },
|
|
491
|
-
|
|
490
|
+
React.createElement(
|
|
492
491
|
VisibilitySensor,
|
|
493
492
|
{
|
|
494
493
|
partialVisibility: true,
|
|
495
494
|
onChange: function onChange(isVisible) {
|
|
496
495
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
497
496
|
} },
|
|
498
|
-
|
|
497
|
+
React.createElement(
|
|
499
498
|
'div',
|
|
500
499
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
501
|
-
|
|
500
|
+
React.createElement(
|
|
502
501
|
Card,
|
|
503
502
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
504
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
503
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
505
504
|
'a',
|
|
506
505
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
507
|
-
|
|
506
|
+
React.createElement(
|
|
508
507
|
LazyLoad,
|
|
509
508
|
{ height: _this2.props.imageHeight },
|
|
510
|
-
|
|
509
|
+
React.createElement(Card.Img, {
|
|
511
510
|
variant: 'top',
|
|
512
511
|
src: _this2.renderCardImage(row, page),
|
|
513
512
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
514
513
|
})
|
|
515
514
|
)
|
|
516
515
|
),
|
|
517
|
-
|
|
516
|
+
React.createElement(
|
|
518
517
|
Card.Body,
|
|
519
518
|
null,
|
|
520
|
-
|
|
519
|
+
React.createElement(
|
|
521
520
|
'a',
|
|
522
521
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
523
|
-
|
|
522
|
+
React.createElement(
|
|
524
523
|
Card.Title,
|
|
525
524
|
null,
|
|
526
525
|
row.title
|
|
527
526
|
)
|
|
528
527
|
),
|
|
529
|
-
_this2.props.showPublished && row.published &&
|
|
528
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
530
529
|
Card.Subtitle,
|
|
531
530
|
{ style: { marginTop: 0 } },
|
|
532
531
|
moment(row.published).format('MMMM DD, YYYY')
|
|
533
532
|
),
|
|
534
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
533
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
535
534
|
LazyLoad,
|
|
536
535
|
{ height: 50 },
|
|
537
|
-
|
|
536
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
538
537
|
),
|
|
539
|
-
|
|
538
|
+
React.createElement(
|
|
540
539
|
Card.Text,
|
|
541
540
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
542
541
|
clean_html_1(row.summary)
|
|
@@ -545,62 +544,62 @@ var GridContent = function (_React$Component) {
|
|
|
545
544
|
)
|
|
546
545
|
)
|
|
547
546
|
),
|
|
548
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
549
|
-
|
|
547
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
548
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
550
549
|
);
|
|
551
550
|
} else {
|
|
552
|
-
return
|
|
553
|
-
|
|
551
|
+
return React.createElement(
|
|
552
|
+
React.Fragment,
|
|
554
553
|
{ key: itemCounter },
|
|
555
|
-
|
|
554
|
+
React.createElement(
|
|
556
555
|
VisibilitySensor,
|
|
557
556
|
{
|
|
558
557
|
partialVisibility: true,
|
|
559
558
|
onChange: function onChange(isVisible) {
|
|
560
559
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
561
560
|
} },
|
|
562
|
-
|
|
561
|
+
React.createElement(
|
|
563
562
|
'div',
|
|
564
563
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
565
|
-
|
|
564
|
+
React.createElement(
|
|
566
565
|
Card,
|
|
567
566
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
568
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
567
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
569
568
|
'a',
|
|
570
569
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
571
|
-
|
|
570
|
+
React.createElement(
|
|
572
571
|
LazyLoad,
|
|
573
572
|
{ height: _this2.props.imageHeight },
|
|
574
|
-
|
|
573
|
+
React.createElement(Card.Img, {
|
|
575
574
|
variant: 'top',
|
|
576
575
|
src: _this2.renderCardImage(row, page),
|
|
577
576
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
578
577
|
})
|
|
579
578
|
)
|
|
580
579
|
),
|
|
581
|
-
|
|
580
|
+
React.createElement(
|
|
582
581
|
Card.Body,
|
|
583
582
|
null,
|
|
584
|
-
|
|
583
|
+
React.createElement(
|
|
585
584
|
'a',
|
|
586
585
|
{ href: row.url.current },
|
|
587
|
-
|
|
586
|
+
React.createElement(
|
|
588
587
|
Card.Title,
|
|
589
588
|
null,
|
|
590
589
|
row.title
|
|
591
590
|
)
|
|
592
591
|
),
|
|
593
|
-
_this2.props.showPublished && row.published &&
|
|
592
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
594
593
|
Card.Subtitle,
|
|
595
594
|
{ style: { marginTop: 0 } },
|
|
596
595
|
moment(row.published).format('MMMM DD, YYYY')
|
|
597
596
|
),
|
|
598
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
597
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
599
598
|
LazyLoad,
|
|
600
599
|
{ height: 50 },
|
|
601
|
-
|
|
600
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
602
601
|
),
|
|
603
|
-
|
|
602
|
+
React.createElement(
|
|
604
603
|
Card.Text,
|
|
605
604
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
606
605
|
clean_html_1(row.summary)
|
|
@@ -609,71 +608,71 @@ var GridContent = function (_React$Component) {
|
|
|
609
608
|
)
|
|
610
609
|
)
|
|
611
610
|
),
|
|
612
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
613
|
-
|
|
611
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
612
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
614
613
|
);
|
|
615
614
|
}
|
|
616
615
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
617
|
-
return
|
|
616
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
618
617
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
619
|
-
return
|
|
620
|
-
} else if (row._type === 'publication') return
|
|
618
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
619
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
621
620
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
622
|
-
return
|
|
623
|
-
|
|
621
|
+
return React.createElement(
|
|
622
|
+
React.Fragment,
|
|
624
623
|
{ key: itemCounter },
|
|
625
|
-
|
|
624
|
+
React.createElement(
|
|
626
625
|
VisibilitySensor,
|
|
627
626
|
{
|
|
628
627
|
onChange: function onChange(isVisible) {
|
|
629
628
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
630
629
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
631
630
|
} },
|
|
632
|
-
|
|
631
|
+
React.createElement(
|
|
633
632
|
'div',
|
|
634
633
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
635
|
-
|
|
634
|
+
React.createElement(
|
|
636
635
|
Card,
|
|
637
636
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
638
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
637
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
639
638
|
'a',
|
|
640
639
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
641
|
-
|
|
640
|
+
React.createElement(
|
|
642
641
|
LazyLoad,
|
|
643
642
|
{ height: _this2.props.imageHeight },
|
|
644
|
-
|
|
643
|
+
React.createElement(Card.Img, {
|
|
645
644
|
variant: 'top',
|
|
646
645
|
src: _this2.renderCardImage(row, page),
|
|
647
646
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
648
647
|
})
|
|
649
648
|
)
|
|
650
649
|
),
|
|
651
|
-
|
|
650
|
+
React.createElement(
|
|
652
651
|
Card.Body,
|
|
653
652
|
null,
|
|
654
|
-
|
|
653
|
+
React.createElement(
|
|
655
654
|
'a',
|
|
656
655
|
{ href: linkHref },
|
|
657
|
-
|
|
656
|
+
React.createElement(
|
|
658
657
|
Card.Title,
|
|
659
658
|
null,
|
|
660
659
|
row.title
|
|
661
660
|
)
|
|
662
661
|
),
|
|
663
|
-
_this2.props.showPublished && row.published &&
|
|
662
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
664
663
|
Card.Subtitle,
|
|
665
664
|
{ style: { marginTop: 0 } },
|
|
666
665
|
moment(row.published).format('MMMM DD, YYYY')
|
|
667
666
|
),
|
|
668
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
667
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
669
668
|
LazyLoad,
|
|
670
669
|
{ height: 50 },
|
|
671
|
-
|
|
670
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
672
671
|
),
|
|
673
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
672
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
674
673
|
LazyLoad,
|
|
675
674
|
{ height: 50 },
|
|
676
|
-
|
|
675
|
+
React.createElement(
|
|
677
676
|
'p',
|
|
678
677
|
{
|
|
679
678
|
className: 'article-category',
|
|
@@ -688,7 +687,7 @@ var GridContent = function (_React$Component) {
|
|
|
688
687
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
689
688
|
)
|
|
690
689
|
),
|
|
691
|
-
|
|
690
|
+
React.createElement(
|
|
692
691
|
Card.Text,
|
|
693
692
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
694
693
|
clean_html_1(row.summary)
|
|
@@ -697,17 +696,17 @@ var GridContent = function (_React$Component) {
|
|
|
697
696
|
)
|
|
698
697
|
)
|
|
699
698
|
),
|
|
700
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
701
|
-
|
|
699
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
700
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
702
701
|
);
|
|
703
702
|
} else return null;
|
|
704
|
-
}) :
|
|
703
|
+
}) : React.createElement(
|
|
705
704
|
'div',
|
|
706
705
|
null,
|
|
707
|
-
|
|
706
|
+
React.createElement(
|
|
708
707
|
'h5',
|
|
709
708
|
null,
|
|
710
|
-
|
|
709
|
+
React.createElement(
|
|
711
710
|
'em',
|
|
712
711
|
null,
|
|
713
712
|
'New content coming soon, please check back later.'
|
|
@@ -732,29 +731,29 @@ var GridContent = function (_React$Component) {
|
|
|
732
731
|
brandInsight = _props.brandInsight;
|
|
733
732
|
|
|
734
733
|
|
|
735
|
-
return
|
|
734
|
+
return React.createElement(
|
|
736
735
|
'div',
|
|
737
736
|
{ className: 'contentDeck' },
|
|
738
|
-
autoScroll ?
|
|
737
|
+
autoScroll ? React.createElement(
|
|
739
738
|
InfiniteScroll,
|
|
740
739
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
741
|
-
|
|
740
|
+
React.createElement(
|
|
742
741
|
Container,
|
|
743
742
|
null,
|
|
744
743
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
745
744
|
)
|
|
746
|
-
) :
|
|
747
|
-
|
|
745
|
+
) : React.createElement(
|
|
746
|
+
React.Fragment,
|
|
748
747
|
null,
|
|
749
|
-
|
|
748
|
+
React.createElement(
|
|
750
749
|
Container,
|
|
751
750
|
null,
|
|
752
751
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
753
752
|
),
|
|
754
|
-
|
|
753
|
+
React.createElement(
|
|
755
754
|
'div',
|
|
756
755
|
{ style: { padding: '0px 10px' } },
|
|
757
|
-
this.state.scrolling ?
|
|
756
|
+
this.state.scrolling ? React.createElement(
|
|
758
757
|
'button',
|
|
759
758
|
{
|
|
760
759
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -762,17 +761,17 @@ var GridContent = function (_React$Component) {
|
|
|
762
761
|
_this3.loadMore();
|
|
763
762
|
} },
|
|
764
763
|
'Load More'
|
|
765
|
-
) :
|
|
764
|
+
) : React.createElement(
|
|
766
765
|
'p',
|
|
767
766
|
{ style: { textAlign: 'center' } },
|
|
768
|
-
|
|
767
|
+
React.createElement(
|
|
769
768
|
'b',
|
|
770
769
|
null,
|
|
771
770
|
'End of data'
|
|
772
771
|
)
|
|
773
772
|
)
|
|
774
773
|
),
|
|
775
|
-
|
|
774
|
+
React.createElement(
|
|
776
775
|
'noscript',
|
|
777
776
|
null,
|
|
778
777
|
this.renderManualPagination()
|
|
@@ -783,8 +782,8 @@ var GridContent = function (_React$Component) {
|
|
|
783
782
|
}]);
|
|
784
783
|
|
|
785
784
|
return GridContent;
|
|
786
|
-
}(
|
|
785
|
+
}(React.Component);
|
|
787
786
|
|
|
788
|
-
var GridContent$1 =
|
|
787
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
789
788
|
|
|
790
789
|
export default GridContent$1;
|