@mjhls/mjh-framework 1.0.923 → 1.0.924
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-a4d973da.js → ADInfeed-0928d0ba.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-def2c25d.js → ADlgInfeed-757617ea.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 +48 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +482 -346
- package/dist/cjs/AuthWrapper.js +586 -9
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.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-bcaa7e3f.js → Dfp-94f8ccdf.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +45 -46
- 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 +48 -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 +46 -47
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +83 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +40 -38
- package/dist/cjs/MasterDeckPaginated.js +43 -41
- package/dist/cjs/{MediaSeriesCard-be3f9e36.js → MediaSeriesCard-1256b976.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -55
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -61
- 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-a2807e27.js → Pagination-885dcfbd.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-6f89fb97.js → PublicationFeature-be5f3503.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +37 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +40 -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 +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-88e59074.js → SeriesSlider-f9128638.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +44 -45
- 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 +50 -51
- 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 +91 -93
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +133 -69
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -45
- package/dist/cjs/{getTargeting-1359b868.js → getTargeting-dab97fe1.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-faf269e6.js → index-84352936.js} +407 -157
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +143 -143
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.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-7ba4f982.js → ADInfeed-c2170b53.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-8eb5060f.js → ADlgInfeed-b4e6539f.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 +54 -55
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +552 -416
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-37ebc2bd.js → AuthorComponent-defe68b6.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.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-9162d0ca.js → ConferenceBanner-8792ebd2.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-23281963.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -72
- 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 +135 -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 +68 -69
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-eab2fe41.js +176 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +91 -92
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +73 -71
- package/dist/esm/MasterDeckPaginated.js +65 -63
- package/dist/esm/{MediaSeriesCard-b6034225.js → MediaSeriesCard-8d8f5713.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -80
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -84
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.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-185dfca0.js → Pagination-59436882.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-d79db241.js → PublicationFeature-03500094.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +275 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +255 -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 +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-0a8cfca0.js → SeriesSlider-98b7a870.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-32ee0f63.js → SocialSearchComponent-1d8a9f59.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +48 -49
- 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 +62 -63
- 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 +248 -250
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-4df618a6.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-b4dfe691.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-6d26cb48.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-a4230287.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +133 -69
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -45
- package/dist/esm/{getTargeting-ba1ffe43.js → getTargeting-0cdf8983.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-93fc4be2.js → index-c7ca5b14.js} +802 -551
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +138 -138
- package/dist/esm/{inherits-91a2c374.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-425c8ab0.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-f1b7564e.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-d2a27665.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/esm/ImageSlider-522a2cd0.js +0 -1375
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-70b72959.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import { _ as
|
|
6
|
-
import '
|
|
7
|
-
import {
|
|
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';
|
|
1
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
3
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
4
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
5
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
6
|
+
import React__default from 'react';
|
|
7
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
17
8
|
import Container from 'react-bootstrap/Container';
|
|
18
9
|
import Row from 'react-bootstrap/Row';
|
|
19
10
|
import Col from 'react-bootstrap/Col';
|
|
20
11
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import { m as moment } from './moment-
|
|
12
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
22
13
|
import { withRouter } from 'next/router';
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import '
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
14
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-c2170b53.js';
|
|
17
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-b4e6539f.js';
|
|
19
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
|
+
import { g as get_1 } from './get-3c308da4.js';
|
|
29
21
|
import urlFor from './urlFor.js';
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
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';
|
|
38
|
+
import 'react-dom';
|
|
39
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
37
40
|
import './AdSlot.js';
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import './eq-
|
|
44
|
-
import
|
|
41
|
+
import './debounce-533d9748.js';
|
|
42
|
+
import './isSymbol-a7e9aafe.js';
|
|
43
|
+
import './toNumber-5aeba6e7.js';
|
|
44
|
+
import './Beam.js';
|
|
45
|
+
import './Segment.js';
|
|
46
|
+
import './eq-bdcbf886.js';
|
|
47
|
+
import './index-0dbff1d1.js';
|
|
45
48
|
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';
|
|
50
49
|
import 'react-paginate';
|
|
51
|
-
import
|
|
50
|
+
import './index.esm-1bd8a0a8.js';
|
|
51
|
+
import './iconBase-ccc56b97.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__default.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__default.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__default.createElement(
|
|
214
214
|
Col,
|
|
215
215
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
216
|
-
|
|
216
|
+
React__default.createElement(
|
|
217
217
|
Card,
|
|
218
218
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
219
|
-
|
|
219
|
+
React__default.createElement(
|
|
220
220
|
Row,
|
|
221
221
|
{ style: { flexDirection: 'row' } },
|
|
222
|
-
|
|
222
|
+
React__default.createElement(
|
|
223
223
|
Col,
|
|
224
224
|
{ md: 12, lg: 4 },
|
|
225
|
-
|
|
225
|
+
React__default.createElement(
|
|
226
226
|
'a',
|
|
227
227
|
{ href: _this3.page + '/' + get_1(row, 'url.current') },
|
|
228
|
-
|
|
228
|
+
React__default.createElement(
|
|
229
229
|
LazyLoad,
|
|
230
230
|
{ height: _this3.props.imageHeight },
|
|
231
|
-
|
|
231
|
+
React__default.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__default.createElement(
|
|
236
236
|
Col,
|
|
237
237
|
null,
|
|
238
|
-
|
|
238
|
+
React__default.createElement(
|
|
239
239
|
Card.Body,
|
|
240
240
|
{ style: { padding: '20px' } },
|
|
241
|
-
|
|
241
|
+
React__default.createElement(
|
|
242
242
|
Card.Title,
|
|
243
243
|
null,
|
|
244
|
-
|
|
244
|
+
React__default.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__default.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__default.createElement(
|
|
256
256
|
LazyLoad,
|
|
257
257
|
{ height: 50 },
|
|
258
|
-
|
|
258
|
+
React__default.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__default.createElement(
|
|
261
261
|
LazyLoad,
|
|
262
262
|
{ height: 50 },
|
|
263
|
-
|
|
263
|
+
React__default.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__default.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__default.createElement(
|
|
289
289
|
'div',
|
|
290
290
|
null,
|
|
291
|
-
|
|
291
|
+
React__default.createElement(
|
|
292
292
|
'h5',
|
|
293
293
|
null,
|
|
294
|
-
|
|
294
|
+
React__default.createElement(
|
|
295
295
|
'em',
|
|
296
296
|
null,
|
|
297
297
|
'New content coming soon, please check back later.'
|
|
@@ -326,6 +326,7 @@ var GridContent = function (_React$Component) {
|
|
|
326
326
|
targeting: {
|
|
327
327
|
content_placement: brandInsight.targeting.content_placement,
|
|
328
328
|
document_url: brandInsight.targeting.document_url,
|
|
329
|
+
document_group: brandInsight.targeting.document_group,
|
|
329
330
|
rootDocumentGroup: brandInsight.targeting.rootDocumentGroup
|
|
330
331
|
},
|
|
331
332
|
/* Passing refresh flag */
|
|
@@ -365,6 +366,7 @@ var GridContent = function (_React$Component) {
|
|
|
365
366
|
pos: 'infeed',
|
|
366
367
|
content_placement: brandInsight.targeting.content_placement,
|
|
367
368
|
document_url: brandInsight.targeting.document_url,
|
|
369
|
+
document_group: brandInsight.targeting.document_group,
|
|
368
370
|
rootDocumentGroup: brandInsight.targeting.rootDocumentGroup
|
|
369
371
|
},
|
|
370
372
|
_type: 'brandInsightAd',
|
|
@@ -403,10 +405,10 @@ var GridContent = function (_React$Component) {
|
|
|
403
405
|
|
|
404
406
|
if (publicationFeature) posts = insert(posts, 3, publicationFeature);
|
|
405
407
|
|
|
406
|
-
|
|
408
|
+
this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
407
409
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
408
410
|
var featureCount = 0;
|
|
409
|
-
return
|
|
411
|
+
return React__default.createElement(
|
|
410
412
|
'div',
|
|
411
413
|
{ className: 'grid-container' },
|
|
412
414
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -415,51 +417,51 @@ var GridContent = function (_React$Component) {
|
|
|
415
417
|
if (row._type === 'feature') {
|
|
416
418
|
featureCount++;
|
|
417
419
|
if (row.blank || _this3.checkExternalUrl(row.url.current)) {
|
|
418
|
-
return
|
|
419
|
-
|
|
420
|
+
return React__default.createElement(
|
|
421
|
+
React__default.Fragment,
|
|
420
422
|
{ key: itemCounter },
|
|
421
|
-
|
|
423
|
+
React__default.createElement(
|
|
422
424
|
'div',
|
|
423
425
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
424
|
-
|
|
426
|
+
React__default.createElement(
|
|
425
427
|
Card,
|
|
426
428
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
427
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
429
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React__default.createElement(
|
|
428
430
|
'a',
|
|
429
431
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
430
|
-
|
|
432
|
+
React__default.createElement(
|
|
431
433
|
LazyLoad,
|
|
432
434
|
{ height: _this3.props.imageHeight },
|
|
433
|
-
|
|
435
|
+
React__default.createElement(Card.Img, {
|
|
434
436
|
variant: 'top',
|
|
435
437
|
src: _this3.renderCardImage(row, page),
|
|
436
438
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
437
439
|
})
|
|
438
440
|
)
|
|
439
441
|
),
|
|
440
|
-
|
|
442
|
+
React__default.createElement(
|
|
441
443
|
Card.Body,
|
|
442
444
|
null,
|
|
443
|
-
|
|
445
|
+
React__default.createElement(
|
|
444
446
|
'a',
|
|
445
447
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
446
|
-
|
|
448
|
+
React__default.createElement(
|
|
447
449
|
Card.Title,
|
|
448
450
|
null,
|
|
449
451
|
row.title
|
|
450
452
|
)
|
|
451
453
|
),
|
|
452
|
-
_this3.props.showPublished && row.published &&
|
|
454
|
+
_this3.props.showPublished && row.published && React__default.createElement(
|
|
453
455
|
Card.Subtitle,
|
|
454
456
|
{ style: { marginTop: 0 } },
|
|
455
457
|
moment(row.published).format('MMMM DD, YYYY')
|
|
456
458
|
),
|
|
457
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
459
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React__default.createElement(
|
|
458
460
|
LazyLoad,
|
|
459
461
|
{ height: 50 },
|
|
460
|
-
|
|
462
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
461
463
|
),
|
|
462
|
-
|
|
464
|
+
React__default.createElement(
|
|
463
465
|
Card.Text,
|
|
464
466
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
465
467
|
clean_html_1(row.summary)
|
|
@@ -467,55 +469,55 @@ var GridContent = function (_React$Component) {
|
|
|
467
469
|
)
|
|
468
470
|
)
|
|
469
471
|
),
|
|
470
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
471
|
-
|
|
472
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
473
|
+
main_43 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
472
474
|
);
|
|
473
475
|
} else {
|
|
474
|
-
return
|
|
475
|
-
|
|
476
|
+
return React__default.createElement(
|
|
477
|
+
React__default.Fragment,
|
|
476
478
|
{ key: itemCounter },
|
|
477
|
-
|
|
479
|
+
React__default.createElement(
|
|
478
480
|
'div',
|
|
479
481
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
480
|
-
|
|
482
|
+
React__default.createElement(
|
|
481
483
|
Card,
|
|
482
484
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
483
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
485
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React__default.createElement(
|
|
484
486
|
'a',
|
|
485
487
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
486
|
-
|
|
488
|
+
React__default.createElement(
|
|
487
489
|
LazyLoad,
|
|
488
490
|
{ height: _this3.props.imageHeight },
|
|
489
|
-
|
|
491
|
+
React__default.createElement(Card.Img, {
|
|
490
492
|
variant: 'top',
|
|
491
493
|
src: _this3.renderCardImage(row, page),
|
|
492
494
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
493
495
|
})
|
|
494
496
|
)
|
|
495
497
|
),
|
|
496
|
-
|
|
498
|
+
React__default.createElement(
|
|
497
499
|
Card.Body,
|
|
498
500
|
null,
|
|
499
|
-
|
|
501
|
+
React__default.createElement(
|
|
500
502
|
'a',
|
|
501
503
|
{ href: row.url.current },
|
|
502
|
-
|
|
504
|
+
React__default.createElement(
|
|
503
505
|
Card.Title,
|
|
504
506
|
null,
|
|
505
507
|
row.title
|
|
506
508
|
)
|
|
507
509
|
),
|
|
508
|
-
_this3.props.showPublished && row.published &&
|
|
510
|
+
_this3.props.showPublished && row.published && React__default.createElement(
|
|
509
511
|
Card.Subtitle,
|
|
510
512
|
{ style: { marginTop: 0 } },
|
|
511
513
|
moment(row.published).format('MMMM DD, YYYY')
|
|
512
514
|
),
|
|
513
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
515
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React__default.createElement(
|
|
514
516
|
LazyLoad,
|
|
515
517
|
{ height: 50 },
|
|
516
|
-
|
|
518
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
517
519
|
),
|
|
518
|
-
|
|
520
|
+
React__default.createElement(
|
|
519
521
|
Card.Text,
|
|
520
522
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
521
523
|
clean_html_1(row.summary)
|
|
@@ -523,60 +525,60 @@ var GridContent = function (_React$Component) {
|
|
|
523
525
|
)
|
|
524
526
|
)
|
|
525
527
|
),
|
|
526
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
527
|
-
|
|
528
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
529
|
+
main_43 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
528
530
|
);
|
|
529
531
|
}
|
|
530
532
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
531
|
-
return
|
|
533
|
+
return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
532
534
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
533
|
-
return
|
|
534
|
-
} else if (row._type === 'publication') return
|
|
535
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
536
|
+
} else if (row._type === 'publication') return React__default.createElement(PublicationFeature, { data: row, defaultImage: _this3.defaultImage, issueMapping: _this3.props.issueMapping, client: _this3.client });
|
|
535
537
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
536
|
-
return
|
|
537
|
-
|
|
538
|
+
return React__default.createElement(
|
|
539
|
+
React__default.Fragment,
|
|
538
540
|
{ key: itemCounter },
|
|
539
|
-
|
|
541
|
+
React__default.createElement(
|
|
540
542
|
'div',
|
|
541
543
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
542
|
-
|
|
544
|
+
React__default.createElement(
|
|
543
545
|
Card,
|
|
544
546
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
545
|
-
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) &&
|
|
547
|
+
(row.thumbnail && row.thumbnail.asset || _this3.props.defaultImage) && React__default.createElement(
|
|
546
548
|
'a',
|
|
547
549
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
548
|
-
|
|
550
|
+
React__default.createElement(
|
|
549
551
|
LazyLoad,
|
|
550
552
|
{ height: _this3.props.imageHeight },
|
|
551
|
-
|
|
553
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this3.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
552
554
|
)
|
|
553
555
|
),
|
|
554
|
-
|
|
556
|
+
React__default.createElement(
|
|
555
557
|
Card.Body,
|
|
556
558
|
null,
|
|
557
|
-
|
|
559
|
+
React__default.createElement(
|
|
558
560
|
'a',
|
|
559
561
|
{ href: linkHref },
|
|
560
|
-
|
|
562
|
+
React__default.createElement(
|
|
561
563
|
Card.Title,
|
|
562
564
|
null,
|
|
563
565
|
row.title
|
|
564
566
|
)
|
|
565
567
|
),
|
|
566
|
-
_this3.props.showPublished && row.published &&
|
|
568
|
+
_this3.props.showPublished && row.published && React__default.createElement(
|
|
567
569
|
Card.Subtitle,
|
|
568
570
|
{ style: { marginTop: 0 } },
|
|
569
571
|
moment(row.published).format('MMMM DD, YYYY')
|
|
570
572
|
),
|
|
571
|
-
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
573
|
+
_this3.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React__default.createElement(
|
|
572
574
|
LazyLoad,
|
|
573
575
|
{ height: 50 },
|
|
574
|
-
|
|
576
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
575
577
|
),
|
|
576
|
-
_this3.props.showCategory && row.contentCategory &&
|
|
578
|
+
_this3.props.showCategory && row.contentCategory && React__default.createElement(
|
|
577
579
|
LazyLoad,
|
|
578
580
|
{ height: 50 },
|
|
579
|
-
|
|
581
|
+
React__default.createElement(
|
|
580
582
|
'p',
|
|
581
583
|
{
|
|
582
584
|
className: 'article-category',
|
|
@@ -591,7 +593,7 @@ var GridContent = function (_React$Component) {
|
|
|
591
593
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
592
594
|
)
|
|
593
595
|
),
|
|
594
|
-
|
|
596
|
+
React__default.createElement(
|
|
595
597
|
Card.Text,
|
|
596
598
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
597
599
|
clean_html_1(row.summary)
|
|
@@ -599,17 +601,17 @@ var GridContent = function (_React$Component) {
|
|
|
599
601
|
)
|
|
600
602
|
)
|
|
601
603
|
),
|
|
602
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
603
|
-
|
|
604
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
605
|
+
main_43 && _this3.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this3.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
604
606
|
);
|
|
605
607
|
} else return null;
|
|
606
|
-
}) :
|
|
608
|
+
}) : React__default.createElement(
|
|
607
609
|
'div',
|
|
608
610
|
null,
|
|
609
|
-
|
|
611
|
+
React__default.createElement(
|
|
610
612
|
'h5',
|
|
611
613
|
null,
|
|
612
|
-
|
|
614
|
+
React__default.createElement(
|
|
613
615
|
'em',
|
|
614
616
|
null,
|
|
615
617
|
'New content coming soon, please check back later.'
|
|
@@ -631,36 +633,36 @@ var GridContent = function (_React$Component) {
|
|
|
631
633
|
brandInsight = _props.brandInsight;
|
|
632
634
|
|
|
633
635
|
|
|
634
|
-
return
|
|
636
|
+
return React__default.createElement(
|
|
635
637
|
'div',
|
|
636
638
|
{ className: 'contentDeck' },
|
|
637
|
-
this.state.isDataLoading ?
|
|
639
|
+
this.state.isDataLoading ? React__default.createElement(
|
|
638
640
|
'div',
|
|
639
641
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
640
|
-
|
|
642
|
+
React__default.createElement(
|
|
641
643
|
Spinner,
|
|
642
644
|
{ animation: 'border', role: 'status' },
|
|
643
|
-
|
|
645
|
+
React__default.createElement(
|
|
644
646
|
'span',
|
|
645
647
|
{ className: 'sr-only' },
|
|
646
648
|
'Loading...'
|
|
647
649
|
)
|
|
648
650
|
)
|
|
649
|
-
) :
|
|
651
|
+
) : React__default.createElement(
|
|
650
652
|
Container,
|
|
651
653
|
null,
|
|
652
654
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping),
|
|
653
|
-
|
|
655
|
+
React__default.createElement(
|
|
654
656
|
'div',
|
|
655
657
|
{ className: 'pagination-wrapper' },
|
|
656
|
-
|
|
658
|
+
React__default.createElement(Pagination, {
|
|
657
659
|
pageCount: Math.ceil(this.state.totalDataCount / this.state.itemsPerPage),
|
|
658
|
-
pageRangeDisplayed:
|
|
660
|
+
pageRangeDisplayed: main_43 ? 3 : 9,
|
|
659
661
|
currentPage: this.state.currentPage,
|
|
660
662
|
onPageChange: this.handlePageChange,
|
|
661
663
|
needLargePaginateButtons: this.props.needLargePaginateButtons
|
|
662
664
|
}),
|
|
663
|
-
|
|
665
|
+
React__default.createElement(
|
|
664
666
|
'style',
|
|
665
667
|
{ jsx: 'true' },
|
|
666
668
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|
|
@@ -684,8 +686,8 @@ var GridContent = function (_React$Component) {
|
|
|
684
686
|
}]);
|
|
685
687
|
|
|
686
688
|
return GridContent;
|
|
687
|
-
}(
|
|
689
|
+
}(React__default.Component);
|
|
688
690
|
|
|
689
|
-
var GridContentPaginated =
|
|
691
|
+
var GridContentPaginated = React__default.memo(withRouter(GridContent));
|
|
690
692
|
|
|
691
693
|
export default GridContentPaginated;
|