@mjhls/mjh-framework 1.0.921 → 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/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +9 -586
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-bcaa7e3f.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +46 -45
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- 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 +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-d237146e.js → MediaSeriesCard-be3f9e36.js} +446 -646
- package/dist/cjs/MediaSeriesLanding.js +55 -54
- package/dist/cjs/MediaSeriesLandingPaginated.js +61 -60
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- 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 +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.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 -17
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-88e59074.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- 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 -50
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +94 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- 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-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- 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 +69 -133
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-1359b868.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-44481153.js} +21 -40
- 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-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-e6ba0197.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 +143 -143
- 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-6f784d85.js → util-f2c1b65b.js} +1 -1
- 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 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +416 -552
- package/dist/esm/AuthWrapper.js +27 -605
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-23281963.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +72 -71
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- 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 -68
- 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 +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-131f2659.js → MediaSeriesCard-b6034225.js} +707 -907
- package/dist/esm/MediaSeriesLanding.js +80 -79
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -83
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- 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 +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- 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 -30
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-0a8cfca0.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-1d8a9f59.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 -48
- package/dist/esm/TemplateNormal.js +65 -65
- 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 -62
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +251 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.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-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.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-e903ff31.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-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-dc6a71fd.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 -44
- package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-ba1ffe43.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-1819118a.js} +24 -43
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-01c66814.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 +138 -138
- package/dist/esm/{inherits-8a801a18.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.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-ca2c8b8d.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-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/ImageSlider-eab2fe41.js +0 -176
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { _ as
|
|
6
|
-
import
|
|
7
|
-
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';
|
|
8
17
|
import Container from 'react-bootstrap/Container';
|
|
9
18
|
import Row from 'react-bootstrap/Row';
|
|
10
19
|
import Col from 'react-bootstrap/Col';
|
|
11
20
|
import Card from 'react-bootstrap/Card';
|
|
12
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
13
22
|
import { withRouter } from 'next/router';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-a45afa1d.js';
|
|
19
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
-
import { g as get_1 } from './get-3c308da4.js';
|
|
21
|
-
import urlFor from './urlFor.js';
|
|
22
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
23
|
-
import { A as AuthorComponent } from './AuthorComponent-defe68b6.js';
|
|
24
|
-
import { P as PublicationFeature } from './PublicationFeature-03500094.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-59436882.js';
|
|
26
|
-
import Spinner from 'react-bootstrap/Spinner';
|
|
27
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './core.get-iterator-method-e903ff31.js';
|
|
29
|
-
import './_iter-detect-f089461c.js';
|
|
30
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
31
|
-
import './_library-528f1934.js';
|
|
32
|
-
import './_object-pie-133f504a.js';
|
|
33
|
-
import './_object-sap-169d6272.js';
|
|
34
|
-
import './define-property-99e66838.js';
|
|
35
|
-
import './typeof-83d9eb10.js';
|
|
36
|
-
import './_is-array-893ab020.js';
|
|
37
|
-
import 'prop-types';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
38
26
|
import 'react-dom';
|
|
39
|
-
import './slicedToArray-
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
27
|
+
import './slicedToArray-67a08c9c.js';
|
|
28
|
+
import './index-51a80699.js';
|
|
29
|
+
import urlFor from './urlFor.js';
|
|
30
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
31
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
32
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
34
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7bf8bc4d.js';
|
|
45
35
|
import './Segment.js';
|
|
46
|
-
import './
|
|
47
|
-
import './
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './AdSlot.js';
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-7ba4f982.js';
|
|
39
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
40
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8eb5060f.js';
|
|
41
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
42
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
43
|
+
import './eq-b470f743.js';
|
|
44
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
48
45
|
import 'react-bootstrap/Button';
|
|
46
|
+
import { P as PublicationFeature } from './PublicationFeature-d79db241.js';
|
|
47
|
+
import './iconBase-602d52fe.js';
|
|
48
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
49
|
+
import './index.esm-d1125763.js';
|
|
49
50
|
import 'react-paginate';
|
|
50
|
-
import './
|
|
51
|
-
import './iconBase-ccc56b97.js';
|
|
51
|
+
import { P as Pagination } from './Pagination-185dfca0.js';
|
|
52
52
|
|
|
53
53
|
var GridContent = function (_React$Component) {
|
|
54
54
|
_inherits(GridContent, _React$Component);
|
|
@@ -187,7 +187,7 @@ var GridContent = function (_React$Component) {
|
|
|
187
187
|
var rightItems = _this.props.rightItems;
|
|
188
188
|
|
|
189
189
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
190
|
-
return
|
|
190
|
+
return React.createElement(
|
|
191
191
|
'div',
|
|
192
192
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
193
193
|
rightItems[i].component
|
|
@@ -205,62 +205,62 @@ var GridContent = function (_React$Component) {
|
|
|
205
205
|
var numberOfItemsBeforeAd = 6;
|
|
206
206
|
var numberOfItemsBeforeVideo = 3;
|
|
207
207
|
if (variant === 'stack') {
|
|
208
|
-
return
|
|
208
|
+
return React.createElement(
|
|
209
209
|
Row,
|
|
210
210
|
null,
|
|
211
211
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
212
212
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
213
|
-
return
|
|
213
|
+
return React.createElement(
|
|
214
214
|
Col,
|
|
215
215
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
216
|
-
|
|
216
|
+
React.createElement(
|
|
217
217
|
Card,
|
|
218
218
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
219
|
-
|
|
219
|
+
React.createElement(
|
|
220
220
|
Row,
|
|
221
221
|
{ style: { flexDirection: 'row' } },
|
|
222
|
-
|
|
222
|
+
React.createElement(
|
|
223
223
|
Col,
|
|
224
224
|
{ md: 12, lg: 4 },
|
|
225
|
-
|
|
225
|
+
React.createElement(
|
|
226
226
|
'a',
|
|
227
227
|
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
228
|
-
|
|
228
|
+
React.createElement(
|
|
229
229
|
LazyLoad,
|
|
230
230
|
{ height: _this3.props.imageHeight },
|
|
231
|
-
|
|
231
|
+
React.createElement(Card.Img, { variant: 'top', src: _this3.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
232
232
|
)
|
|
233
233
|
)
|
|
234
234
|
),
|
|
235
|
-
|
|
235
|
+
React.createElement(
|
|
236
236
|
Col,
|
|
237
237
|
null,
|
|
238
|
-
|
|
238
|
+
React.createElement(
|
|
239
239
|
Card.Body,
|
|
240
240
|
{ style: { padding: '20px' } },
|
|
241
|
-
|
|
241
|
+
React.createElement(
|
|
242
242
|
Card.Title,
|
|
243
243
|
null,
|
|
244
|
-
|
|
244
|
+
React.createElement(
|
|
245
245
|
'a',
|
|
246
246
|
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
247
247
|
row.title
|
|
248
248
|
)
|
|
249
249
|
),
|
|
250
|
-
_this3.props.showPublished && row.published &&
|
|
250
|
+
_this3.props.showPublished && row.published && React.createElement(
|
|
251
251
|
Card.Subtitle,
|
|
252
252
|
{ style: { marginTop: 0 } },
|
|
253
253
|
moment(row.published).format('MMMM DD, YYYY')
|
|
254
254
|
),
|
|
255
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
255
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
256
256
|
LazyLoad,
|
|
257
257
|
{ height: 50 },
|
|
258
|
-
|
|
258
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
259
259
|
),
|
|
260
|
-
_this3.props.showCategory && row.contentCategory &&
|
|
260
|
+
_this3.props.showCategory && row.contentCategory && React.createElement(
|
|
261
261
|
LazyLoad,
|
|
262
262
|
{ height: 50 },
|
|
263
|
-
|
|
263
|
+
React.createElement(
|
|
264
264
|
'p',
|
|
265
265
|
{
|
|
266
266
|
className: 'article-category',
|
|
@@ -275,7 +275,7 @@ var GridContent = function (_React$Component) {
|
|
|
275
275
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
276
276
|
)
|
|
277
277
|
),
|
|
278
|
-
|
|
278
|
+
React.createElement(
|
|
279
279
|
Card.Text,
|
|
280
280
|
null,
|
|
281
281
|
clean_html_1(row.summary)
|
|
@@ -285,13 +285,13 @@ var GridContent = function (_React$Component) {
|
|
|
285
285
|
)
|
|
286
286
|
)
|
|
287
287
|
);
|
|
288
|
-
}) :
|
|
288
|
+
}) : React.createElement(
|
|
289
289
|
'div',
|
|
290
290
|
null,
|
|
291
|
-
|
|
291
|
+
React.createElement(
|
|
292
292
|
'h5',
|
|
293
293
|
null,
|
|
294
|
-
|
|
294
|
+
React.createElement(
|
|
295
295
|
'em',
|
|
296
296
|
null,
|
|
297
297
|
'New content coming soon, please check back later.'
|
|
@@ -403,10 +403,10 @@ var GridContent = function (_React$Component) {
|
|
|
403
403
|
|
|
404
404
|
if (publicationFeature) posts = insert(posts, 3, publicationFeature);
|
|
405
405
|
|
|
406
|
-
this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
406
|
+
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
407
407
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
408
408
|
var featureCount = 0;
|
|
409
|
-
return
|
|
409
|
+
return React.createElement(
|
|
410
410
|
'div',
|
|
411
411
|
{ className: 'grid-container' },
|
|
412
412
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -415,51 +415,51 @@ var GridContent = function (_React$Component) {
|
|
|
415
415
|
if (row._type === 'feature') {
|
|
416
416
|
featureCount++;
|
|
417
417
|
if (row.blank || _this3.checkExternalUrl(row.url.current)) {
|
|
418
|
-
return
|
|
419
|
-
|
|
418
|
+
return React.createElement(
|
|
419
|
+
React.Fragment,
|
|
420
420
|
{ key: itemCounter },
|
|
421
|
-
|
|
421
|
+
React.createElement(
|
|
422
422
|
'div',
|
|
423
423
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
424
|
-
|
|
424
|
+
React.createElement(
|
|
425
425
|
Card,
|
|
426
426
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
427
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
427
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React.createElement(
|
|
428
428
|
'a',
|
|
429
429
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
430
|
-
|
|
430
|
+
React.createElement(
|
|
431
431
|
LazyLoad,
|
|
432
432
|
{ height: _this3.props.imageHeight },
|
|
433
|
-
|
|
433
|
+
React.createElement(Card.Img, {
|
|
434
434
|
variant: 'top',
|
|
435
435
|
src: _this3.renderCardImage(row, page),
|
|
436
436
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
437
437
|
})
|
|
438
438
|
)
|
|
439
439
|
),
|
|
440
|
-
|
|
440
|
+
React.createElement(
|
|
441
441
|
Card.Body,
|
|
442
442
|
null,
|
|
443
|
-
|
|
443
|
+
React.createElement(
|
|
444
444
|
'a',
|
|
445
445
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
446
|
-
|
|
446
|
+
React.createElement(
|
|
447
447
|
Card.Title,
|
|
448
448
|
null,
|
|
449
449
|
row.title
|
|
450
450
|
)
|
|
451
451
|
),
|
|
452
|
-
_this3.props.showPublished && row.published &&
|
|
452
|
+
_this3.props.showPublished && row.published && React.createElement(
|
|
453
453
|
Card.Subtitle,
|
|
454
454
|
{ style: { marginTop: 0 } },
|
|
455
455
|
moment(row.published).format('MMMM DD, YYYY')
|
|
456
456
|
),
|
|
457
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
457
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
458
458
|
LazyLoad,
|
|
459
459
|
{ height: 50 },
|
|
460
|
-
|
|
460
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
461
461
|
),
|
|
462
|
-
|
|
462
|
+
React.createElement(
|
|
463
463
|
Card.Text,
|
|
464
464
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
465
465
|
clean_html_1(row.summary)
|
|
@@ -467,55 +467,55 @@ var GridContent = function (_React$Component) {
|
|
|
467
467
|
)
|
|
468
468
|
)
|
|
469
469
|
),
|
|
470
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
471
|
-
|
|
470
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
471
|
+
main_40 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
472
472
|
);
|
|
473
473
|
} else {
|
|
474
|
-
return
|
|
475
|
-
|
|
474
|
+
return React.createElement(
|
|
475
|
+
React.Fragment,
|
|
476
476
|
{ key: itemCounter },
|
|
477
|
-
|
|
477
|
+
React.createElement(
|
|
478
478
|
'div',
|
|
479
479
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
480
|
-
|
|
480
|
+
React.createElement(
|
|
481
481
|
Card,
|
|
482
482
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
483
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
483
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React.createElement(
|
|
484
484
|
'a',
|
|
485
485
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
486
|
-
|
|
486
|
+
React.createElement(
|
|
487
487
|
LazyLoad,
|
|
488
488
|
{ height: _this3.props.imageHeight },
|
|
489
|
-
|
|
489
|
+
React.createElement(Card.Img, {
|
|
490
490
|
variant: 'top',
|
|
491
491
|
src: _this3.renderCardImage(row, page),
|
|
492
492
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
493
493
|
})
|
|
494
494
|
)
|
|
495
495
|
),
|
|
496
|
-
|
|
496
|
+
React.createElement(
|
|
497
497
|
Card.Body,
|
|
498
498
|
null,
|
|
499
|
-
|
|
499
|
+
React.createElement(
|
|
500
500
|
'a',
|
|
501
501
|
{ href: row.url.current },
|
|
502
|
-
|
|
502
|
+
React.createElement(
|
|
503
503
|
Card.Title,
|
|
504
504
|
null,
|
|
505
505
|
row.title
|
|
506
506
|
)
|
|
507
507
|
),
|
|
508
|
-
_this3.props.showPublished && row.published &&
|
|
508
|
+
_this3.props.showPublished && row.published && React.createElement(
|
|
509
509
|
Card.Subtitle,
|
|
510
510
|
{ style: { marginTop: 0 } },
|
|
511
511
|
moment(row.published).format('MMMM DD, YYYY')
|
|
512
512
|
),
|
|
513
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
513
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
514
514
|
LazyLoad,
|
|
515
515
|
{ height: 50 },
|
|
516
|
-
|
|
516
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
517
517
|
),
|
|
518
|
-
|
|
518
|
+
React.createElement(
|
|
519
519
|
Card.Text,
|
|
520
520
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
521
521
|
clean_html_1(row.summary)
|
|
@@ -523,60 +523,60 @@ var GridContent = function (_React$Component) {
|
|
|
523
523
|
)
|
|
524
524
|
)
|
|
525
525
|
),
|
|
526
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
527
|
-
|
|
526
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
527
|
+
main_40 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
530
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
531
|
-
return
|
|
531
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
532
532
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
533
|
-
return
|
|
534
|
-
} else if (row._type === 'publication') return
|
|
533
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
534
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this3.defaultImage, issueMapping: _this3.props.issueMapping, client: _this3.client });
|
|
535
535
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
536
|
-
return
|
|
537
|
-
|
|
536
|
+
return React.createElement(
|
|
537
|
+
React.Fragment,
|
|
538
538
|
{ key: itemCounter },
|
|
539
|
-
|
|
539
|
+
React.createElement(
|
|
540
540
|
'div',
|
|
541
541
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
542
|
-
|
|
542
|
+
React.createElement(
|
|
543
543
|
Card,
|
|
544
544
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
545
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
545
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React.createElement(
|
|
546
546
|
'a',
|
|
547
547
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
548
|
-
|
|
548
|
+
React.createElement(
|
|
549
549
|
LazyLoad,
|
|
550
550
|
{ height: _this3.props.imageHeight },
|
|
551
|
-
|
|
551
|
+
React.createElement(Card.Img, { variant: 'top', src: _this3.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
552
552
|
)
|
|
553
553
|
),
|
|
554
|
-
|
|
554
|
+
React.createElement(
|
|
555
555
|
Card.Body,
|
|
556
556
|
null,
|
|
557
|
-
|
|
557
|
+
React.createElement(
|
|
558
558
|
'a',
|
|
559
559
|
{ href: linkHref },
|
|
560
|
-
|
|
560
|
+
React.createElement(
|
|
561
561
|
Card.Title,
|
|
562
562
|
null,
|
|
563
563
|
row.title
|
|
564
564
|
)
|
|
565
565
|
),
|
|
566
|
-
_this3.props.showPublished && row.published &&
|
|
566
|
+
_this3.props.showPublished && row.published && React.createElement(
|
|
567
567
|
Card.Subtitle,
|
|
568
568
|
{ style: { marginTop: 0 } },
|
|
569
569
|
moment(row.published).format('MMMM DD, YYYY')
|
|
570
570
|
),
|
|
571
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
571
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
572
572
|
LazyLoad,
|
|
573
573
|
{ height: 50 },
|
|
574
|
-
|
|
574
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
575
575
|
),
|
|
576
|
-
_this3.props.showCategory && row.contentCategory &&
|
|
576
|
+
_this3.props.showCategory && row.contentCategory && React.createElement(
|
|
577
577
|
LazyLoad,
|
|
578
578
|
{ height: 50 },
|
|
579
|
-
|
|
579
|
+
React.createElement(
|
|
580
580
|
'p',
|
|
581
581
|
{
|
|
582
582
|
className: 'article-category',
|
|
@@ -591,7 +591,7 @@ var GridContent = function (_React$Component) {
|
|
|
591
591
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
592
592
|
)
|
|
593
593
|
),
|
|
594
|
-
|
|
594
|
+
React.createElement(
|
|
595
595
|
Card.Text,
|
|
596
596
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
597
597
|
clean_html_1(row.summary)
|
|
@@ -599,17 +599,17 @@ var GridContent = function (_React$Component) {
|
|
|
599
599
|
)
|
|
600
600
|
)
|
|
601
601
|
),
|
|
602
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
603
|
-
|
|
602
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
603
|
+
main_40 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
604
604
|
);
|
|
605
605
|
} else return null;
|
|
606
|
-
}) :
|
|
606
|
+
}) : React.createElement(
|
|
607
607
|
'div',
|
|
608
608
|
null,
|
|
609
|
-
|
|
609
|
+
React.createElement(
|
|
610
610
|
'h5',
|
|
611
611
|
null,
|
|
612
|
-
|
|
612
|
+
React.createElement(
|
|
613
613
|
'em',
|
|
614
614
|
null,
|
|
615
615
|
'New content coming soon, please check back later.'
|
|
@@ -631,36 +631,36 @@ var GridContent = function (_React$Component) {
|
|
|
631
631
|
brandInsight = _props.brandInsight;
|
|
632
632
|
|
|
633
633
|
|
|
634
|
-
return
|
|
634
|
+
return React.createElement(
|
|
635
635
|
'div',
|
|
636
636
|
{ className: 'contentDeck' },
|
|
637
|
-
this.state.isDataLoading ?
|
|
637
|
+
this.state.isDataLoading ? React.createElement(
|
|
638
638
|
'div',
|
|
639
639
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
640
|
-
|
|
640
|
+
React.createElement(
|
|
641
641
|
Spinner,
|
|
642
642
|
{ animation: 'border', role: 'status' },
|
|
643
|
-
|
|
643
|
+
React.createElement(
|
|
644
644
|
'span',
|
|
645
645
|
{ className: 'sr-only' },
|
|
646
646
|
'Loading...'
|
|
647
647
|
)
|
|
648
648
|
)
|
|
649
|
-
) :
|
|
649
|
+
) : React.createElement(
|
|
650
650
|
Container,
|
|
651
651
|
null,
|
|
652
652
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping),
|
|
653
|
-
|
|
653
|
+
React.createElement(
|
|
654
654
|
'div',
|
|
655
655
|
{ className: 'pagination-wrapper' },
|
|
656
|
-
|
|
656
|
+
React.createElement(Pagination, {
|
|
657
657
|
pageCount: Math.ceil(this.state.totalDataCount / this.state.itemsPerPage),
|
|
658
|
-
pageRangeDisplayed:
|
|
658
|
+
pageRangeDisplayed: main_40 ? 3 : 9,
|
|
659
659
|
currentPage: this.state.currentPage,
|
|
660
660
|
onPageChange: this.handlePageChange,
|
|
661
661
|
needLargePaginateButtons: this.props.needLargePaginateButtons
|
|
662
662
|
}),
|
|
663
|
-
|
|
663
|
+
React.createElement(
|
|
664
664
|
'style',
|
|
665
665
|
{ jsx: 'true' },
|
|
666
666
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
@@ -684,8 +684,8 @@ var GridContent = function (_React$Component) {
|
|
|
684
684
|
}]);
|
|
685
685
|
|
|
686
686
|
return GridContent;
|
|
687
|
-
}(
|
|
687
|
+
}(React.Component);
|
|
688
688
|
|
|
689
|
-
var GridContentPaginated =
|
|
689
|
+
var GridContentPaginated = React.memo(withRouter(GridContent));
|
|
690
690
|
|
|
691
691
|
export default GridContentPaginated;
|