@mjhls/mjh-framework 1.0.880-beta.0 → 1.0.880
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 +10 -9
- package/dist/cjs/AD300x250.js +29 -28
- package/dist/cjs/AD300x250x600.js +29 -28
- package/dist/cjs/AD728x90.js +32 -31
- package/dist/cjs/ADFloatingFooter.js +31 -30
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +31 -30
- package/dist/cjs/{ADInfeed-2e48af77.js → ADInfeed-9a2e923a.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -30
- package/dist/cjs/ADSponsoredResources.js +31 -30
- package/dist/cjs/ADWebcast.js +31 -30
- package/dist/cjs/ADWelcome.js +32 -31
- package/dist/cjs/{ADlgInfeed-c39c7131.js → ADlgInfeed-957a1996.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +18 -909
- package/dist/cjs/AlgoliaSearch.js +1391 -1272
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +21 -19
- package/dist/cjs/ArticleProgramLandingPage.js +61 -59
- package/dist/cjs/ArticleSeriesLandingPage.js +44 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -58
- package/dist/cjs/Auth.js +680 -1504
- package/dist/cjs/AuthWrapper.js +309 -267
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9c6b07ad.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +60 -57
- package/dist/cjs/ConferenceArticleCard.js +43 -41
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +105 -100
- package/dist/cjs/DeckQueue.js +91 -86
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
- package/dist/cjs/EventsDeck.js +157 -150
- package/dist/cjs/ExternalResources.js +80 -78
- package/dist/cjs/Feature.js +31 -28
- package/dist/cjs/ForbesHero.js +43 -41
- package/dist/cjs/GridContent.js +237 -231
- package/dist/cjs/GridHero.js +45 -43
- package/dist/cjs/GroupDeck.js +60 -58
- package/dist/cjs/HamMagazine.js +143 -138
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +16 -14
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +72 -70
- package/dist/cjs/HorizontalHero.js +30 -28
- package/dist/cjs/IssueContentDeck.js +77 -71
- package/dist/cjs/IssueDeck.js +76 -70
- package/dist/cjs/IssueLanding.js +94 -91
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -37
- package/dist/cjs/MasterDeck.js +355 -227
- package/dist/cjs/MediaSeriesLanding.js +1118 -1126
- package/dist/cjs/NavDvm.js +77 -72
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +150 -145
- package/dist/cjs/NavNative.js +145 -137
- package/dist/cjs/OncliveHero.js +24 -23
- package/dist/cjs/OncliveLargeHero.js +75 -73
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +119 -3917
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -38
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +71 -65
- package/dist/cjs/PublicationLanding.js +137 -133
- package/dist/cjs/QueueDeckExpanded.js +1173 -1001
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +59 -57
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +37 -36
- package/dist/cjs/{SeriesSlider-ec146338.js → SeriesSlider-ce3261cb.js} +41 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-5ec44406.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +67 -61
- package/dist/cjs/TaxonomyDescription.js +55 -53
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +26 -23
- package/dist/cjs/Ustream.js +28 -27
- package/dist/cjs/VerticalHero.js +22 -20
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +34 -32
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +52 -48
- package/dist/cjs/VideoSeriesListing.js +77 -75
- package/dist/cjs/View.js +275 -271
- package/dist/cjs/YahooHero.js +42 -40
- package/dist/cjs/YoutubeGroup.js +68 -66
- 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/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- 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-eed4f016.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -42
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-17c6af5a.js → index-22bdde81.js} +1093 -1067
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{urlFor-3a61226f.js → index-efca863c.js} +37 -88
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +170 -164
- package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
- 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-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- 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-5f52cf64.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +59 -5
- 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/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- 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 +25 -25
- package/dist/esm/AD300x250x600.js +25 -25
- package/dist/esm/AD728x90.js +28 -28
- package/dist/esm/ADFloatingFooter.js +27 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -27
- package/dist/esm/{ADInfeed-0c13c803.js → ADInfeed-8c5f8c58.js} +11 -11
- package/dist/esm/ADSkyscraper.js +27 -27
- package/dist/esm/ADSponsoredResources.js +27 -27
- package/dist/esm/ADWebcast.js +27 -27
- package/dist/esm/ADWelcome.js +28 -28
- package/dist/esm/{ADlgInfeed-e4e2031a.js → ADlgInfeed-2316e091.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +15 -907
- package/dist/esm/AlgoliaSearch.js +820 -702
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +17 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -53
- package/dist/esm/ArticleSeriesLandingPage.js +38 -33
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +659 -1487
- package/dist/esm/AuthWrapper.js +306 -265
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-f4515898.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +28 -28
- package/dist/esm/Column3.js +54 -54
- package/dist/esm/ConferenceArticleCard.js +38 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +96 -95
- package/dist/esm/DeckQueue.js +82 -81
- package/dist/esm/{Dfp-f867d061.js → Dfp-4ca12f2e.js} +20 -20
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +22 -21
- package/dist/esm/ForbesHero.js +33 -32
- package/dist/esm/GridContent.js +199 -198
- package/dist/esm/GridHero.js +35 -34
- package/dist/esm/GroupDeck.js +45 -44
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -12
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -67
- package/dist/esm/HorizontalHero.js +25 -24
- package/dist/esm/IssueContentDeck.js +59 -58
- package/dist/esm/IssueDeck.js +63 -62
- package/dist/esm/IssueLanding.js +90 -88
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +350 -223
- package/dist/esm/MediaSeriesLanding.js +839 -850
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +114 -114
- package/dist/esm/OncliveHero.js +20 -20
- package/dist/esm/OncliveLargeHero.js +58 -57
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/PartnerDetailListing.js +112 -3910
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -35
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +56 -55
- package/dist/esm/PublicationLanding.js +120 -120
- package/dist/esm/QueueDeckExpanded.js +1166 -994
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +51 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +31 -30
- package/dist/esm/{SeriesSlider-d6561e33.js → SeriesSlider-7a6c45ce.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-b5be0e6c.js → SocialSearchComponent-bdecba55.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -55
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +17 -16
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +17 -16
- package/dist/esm/VideoProgramLandingPage.js +65 -64
- package/dist/esm/VideoSeriesCard.js +26 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +42 -39
- package/dist/esm/VideoSeriesListing.js +72 -71
- package/dist/esm/View.js +246 -246
- package/dist/esm/YahooHero.js +33 -32
- package/dist/esm/YoutubeGroup.js +52 -51
- 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-64812e90.js → asyncToGenerator-b4dfe691.js} +31 -31
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- 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-5b1796d4.js → extends-dc6a71fd.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -42
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{urlFor-23b2244b.js → index-0dbff1d1.js} +37 -88
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-a35a5c39.js → index-c9bfc91f.js} +1017 -1001
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +140 -137
- package/dist/esm/{inherits-2409637d.js → inherits-8a801a18.js} +18 -18
- 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-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-4136096f.js +961 -0
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.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-c05a82ba.js → typeof-83d9eb10.js} +35 -35
- package/dist/esm/urlFor.js +62 -4
- 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-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +111 -112
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/Pagination-9cb60fba.js +0 -61
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/esm/Pagination-256b60e5.js +0 -56
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-c0612122.js +0 -851
- package/dist/esm/stringify-70b72959.js +0 -15
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
6
|
+
import Container from 'react-bootstrap/Container';
|
|
7
|
+
import Row from 'react-bootstrap/Row';
|
|
8
|
+
import Col from 'react-bootstrap/Col';
|
|
9
|
+
import Card from 'react-bootstrap/Card';
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
12
|
+
import { withRouter } from 'next/router';
|
|
13
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-8c5f8c58.js';
|
|
16
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-2316e091.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-c6222053.js';
|
|
22
|
+
import urlFor from './urlFor.js';
|
|
23
|
+
import { m as main_43 } from './main-4136096f.js';
|
|
24
|
+
import './AD.js';
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-46a745ba.js';
|
|
26
|
+
import Button from 'react-bootstrap/Button';
|
|
1
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
28
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
29
|
+
import './_iter-detect-f089461c.js';
|
|
30
|
+
import './_object-pie-133f504a.js';
|
|
31
|
+
import './_object-sap-169d6272.js';
|
|
32
|
+
import './define-property-99e66838.js';
|
|
33
|
+
import './typeof-83d9eb10.js';
|
|
34
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
35
|
+
import './_is-array-893ab020.js';
|
|
3
36
|
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-5b1796d4.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-2409637d.js';
|
|
10
|
-
import './define-property-6d26cb48.js';
|
|
11
|
-
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
-
import './typeof-c05a82ba.js';
|
|
13
|
-
import './_is-array-4df618a6.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
37
|
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
17
38
|
import 'prop-types';
|
|
18
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
19
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
20
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
21
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
|
-
import { withRouter } from 'next/router';
|
|
24
|
-
import './isSymbol-1981418f.js';
|
|
25
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
26
|
-
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
39
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import './slicedToArray-67a08c9c.js';
|
|
31
|
-
import { u as urlFor } from './urlFor-23b2244b.js';
|
|
32
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
33
|
-
import { m as main_36 } from './main-c0612122.js';
|
|
34
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
-
import './stringify-70b72959.js';
|
|
36
|
-
import './asyncToGenerator-64812e90.js';
|
|
37
|
-
import './Segment.js';
|
|
38
|
-
import './Beam.js';
|
|
40
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
39
41
|
import './AdSlot.js';
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import './eq-
|
|
46
|
-
import './
|
|
47
|
-
import
|
|
48
|
-
import Button$1 from 'react-bootstrap/Button';
|
|
42
|
+
import './Beam.js';
|
|
43
|
+
import './stringify-c21932b3.js';
|
|
44
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
45
|
+
import './Segment.js';
|
|
46
|
+
import './isSymbol-a7e9aafe.js';
|
|
47
|
+
import './eq-bdcbf886.js';
|
|
48
|
+
import './toNumber-5aeba6e7.js';
|
|
49
|
+
import './index-0dbff1d1.js';
|
|
49
50
|
|
|
50
51
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
51
52
|
var data = _ref.data,
|
|
@@ -70,20 +71,20 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
70
71
|
thumbnail = data.thumbnail;
|
|
71
72
|
|
|
72
73
|
if (name && articles && articles.length > 0) {
|
|
73
|
-
return
|
|
74
|
+
return React.createElement(
|
|
74
75
|
'div',
|
|
75
76
|
{ className: 'publication-feature-container border rounded p-2' },
|
|
76
|
-
|
|
77
|
-
Row
|
|
77
|
+
React.createElement(
|
|
78
|
+
Row,
|
|
78
79
|
null,
|
|
79
|
-
|
|
80
|
-
Col
|
|
80
|
+
React.createElement(
|
|
81
|
+
Col,
|
|
81
82
|
{ xs: 12 },
|
|
82
|
-
|
|
83
|
+
React.createElement(
|
|
83
84
|
'h4',
|
|
84
85
|
null,
|
|
85
86
|
name,
|
|
86
|
-
month && year &&
|
|
87
|
+
month && year && React.createElement(
|
|
87
88
|
'span',
|
|
88
89
|
null,
|
|
89
90
|
' ',
|
|
@@ -94,42 +95,42 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
94
95
|
)
|
|
95
96
|
)
|
|
96
97
|
),
|
|
97
|
-
|
|
98
|
-
Col
|
|
98
|
+
React.createElement(
|
|
99
|
+
Col,
|
|
99
100
|
{ xs: 12, sm: 4 },
|
|
100
|
-
|
|
101
|
+
React.createElement(
|
|
101
102
|
LazyLoad,
|
|
102
103
|
{ once: true },
|
|
103
|
-
|
|
104
|
+
React.createElement('img', { className: 'w-100 mb-2', src: thumbnail && thumbnail.asset && client ? urlFor({ client: client, source: thumbnail.asset }) : defaultImage, alt: name || '' })
|
|
104
105
|
)
|
|
105
106
|
),
|
|
106
|
-
|
|
107
|
-
Col
|
|
107
|
+
React.createElement(
|
|
108
|
+
Col,
|
|
108
109
|
{ xs: 12, sm: 8 },
|
|
109
|
-
|
|
110
|
-
Row
|
|
110
|
+
React.createElement(
|
|
111
|
+
Row,
|
|
111
112
|
null,
|
|
112
113
|
articles.map(function (article) {
|
|
113
|
-
return
|
|
114
|
-
Col
|
|
114
|
+
return React.createElement(
|
|
115
|
+
Col,
|
|
115
116
|
{ key: article._id, xs: 12, sm: 6 },
|
|
116
|
-
article.issueSection && article.issueSection.name &&
|
|
117
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
117
118
|
'h6',
|
|
118
119
|
{ className: 'text-primary m-0 p-0 text-uppercase font-weight-bold' },
|
|
119
120
|
article.issueSection.name
|
|
120
121
|
),
|
|
121
|
-
article.title &&
|
|
122
|
-
|
|
122
|
+
article.title && React.createElement(
|
|
123
|
+
React.Fragment,
|
|
123
124
|
null,
|
|
124
|
-
article.url && article.url.current ?
|
|
125
|
+
article.url && article.url.current ? React.createElement(
|
|
125
126
|
'a',
|
|
126
127
|
{ href: '/view/' + article.url.current },
|
|
127
|
-
|
|
128
|
+
React.createElement(
|
|
128
129
|
'h6',
|
|
129
130
|
{ className: 'text-break' },
|
|
130
131
|
article.title
|
|
131
132
|
)
|
|
132
|
-
) :
|
|
133
|
+
) : React.createElement(
|
|
133
134
|
'h6',
|
|
134
135
|
{ className: 'text-break' },
|
|
135
136
|
article.title
|
|
@@ -139,18 +140,18 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
139
140
|
})
|
|
140
141
|
)
|
|
141
142
|
),
|
|
142
|
-
issueMapping && parentSlug && childSlug &&
|
|
143
|
-
Col
|
|
143
|
+
issueMapping && parentSlug && childSlug && React.createElement(
|
|
144
|
+
Col,
|
|
144
145
|
{ xs: 12 },
|
|
145
|
-
|
|
146
|
-
Button
|
|
146
|
+
React.createElement(
|
|
147
|
+
Button,
|
|
147
148
|
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
148
149
|
'More Articles ',
|
|
149
150
|
'>>'
|
|
150
151
|
)
|
|
151
152
|
)
|
|
152
153
|
),
|
|
153
|
-
|
|
154
|
+
React.createElement(
|
|
154
155
|
'style',
|
|
155
156
|
{ jsx: 'true' },
|
|
156
157
|
'\n .row {\n margin-top: -15px;\n margin-left: -15px;\n margin-right: 0;\n }\n .row > * {\n padding-top: 15px;\n padding-left: 15px;\n padding-right: 0;\n }\n '
|
|
@@ -265,9 +266,9 @@ var GridContent = function (_React$Component) {
|
|
|
265
266
|
}
|
|
266
267
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
267
268
|
var _this$props2 = _this.props,
|
|
268
|
-
seoPaginate = _this$props2.seoPaginate
|
|
269
|
-
|
|
270
|
-
router = _this$props2.router;
|
|
269
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
270
|
+
_this$props2.pageview;
|
|
271
|
+
var router = _this$props2.router;
|
|
271
272
|
var currentPage = _this.state.currentPage;
|
|
272
273
|
|
|
273
274
|
if (seoPaginate) {
|
|
@@ -332,7 +333,7 @@ var GridContent = function (_React$Component) {
|
|
|
332
333
|
var rightItems = _this.props.rightItems;
|
|
333
334
|
|
|
334
335
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
335
|
-
return
|
|
336
|
+
return React.createElement(
|
|
336
337
|
'div',
|
|
337
338
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
338
339
|
rightItems[i].component
|
|
@@ -340,15 +341,15 @@ var GridContent = function (_React$Component) {
|
|
|
340
341
|
}, _this.renderManualPagination = function () {
|
|
341
342
|
var currentPage = _this.state.currentPage;
|
|
342
343
|
|
|
343
|
-
return
|
|
344
|
+
return React.createElement(
|
|
344
345
|
'div',
|
|
345
346
|
{ className: 'd-flex justify-content-between' },
|
|
346
|
-
currentPage && currentPage > 1 &&
|
|
347
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
347
348
|
'a',
|
|
348
349
|
{ href: '?page=' + (currentPage - 1) },
|
|
349
350
|
'<< Previous'
|
|
350
351
|
),
|
|
351
|
-
|
|
352
|
+
React.createElement(
|
|
352
353
|
'a',
|
|
353
354
|
{ href: '?page=' + (currentPage + 1) },
|
|
354
355
|
'Next >>'
|
|
@@ -383,62 +384,62 @@ var GridContent = function (_React$Component) {
|
|
|
383
384
|
var numberOfItemsBeforeAd = 6;
|
|
384
385
|
var numberOfItemsBeforeVideo = 3;
|
|
385
386
|
if (variant === 'stack') {
|
|
386
|
-
return
|
|
387
|
-
Row
|
|
387
|
+
return React.createElement(
|
|
388
|
+
Row,
|
|
388
389
|
null,
|
|
389
390
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
390
391
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
391
|
-
return
|
|
392
|
-
Col
|
|
392
|
+
return React.createElement(
|
|
393
|
+
Col,
|
|
393
394
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
394
|
-
|
|
395
|
-
Card
|
|
395
|
+
React.createElement(
|
|
396
|
+
Card,
|
|
396
397
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
397
|
-
|
|
398
|
-
Row
|
|
398
|
+
React.createElement(
|
|
399
|
+
Row,
|
|
399
400
|
{ style: { flexDirection: 'row' } },
|
|
400
|
-
|
|
401
|
-
Col
|
|
401
|
+
React.createElement(
|
|
402
|
+
Col,
|
|
402
403
|
{ md: 12, lg: 4 },
|
|
403
|
-
|
|
404
|
+
React.createElement(
|
|
404
405
|
'a',
|
|
405
406
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
406
|
-
|
|
407
|
+
React.createElement(
|
|
407
408
|
LazyLoad,
|
|
408
409
|
{ height: _this2.props.imageHeight },
|
|
409
|
-
|
|
410
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
410
411
|
)
|
|
411
412
|
)
|
|
412
413
|
),
|
|
413
|
-
|
|
414
|
-
Col
|
|
414
|
+
React.createElement(
|
|
415
|
+
Col,
|
|
415
416
|
null,
|
|
416
|
-
|
|
417
|
-
Card
|
|
417
|
+
React.createElement(
|
|
418
|
+
Card.Body,
|
|
418
419
|
{ style: { padding: '20px' } },
|
|
419
|
-
|
|
420
|
-
Card
|
|
420
|
+
React.createElement(
|
|
421
|
+
Card.Title,
|
|
421
422
|
null,
|
|
422
|
-
|
|
423
|
+
React.createElement(
|
|
423
424
|
'a',
|
|
424
425
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
425
426
|
row.title
|
|
426
427
|
)
|
|
427
428
|
),
|
|
428
|
-
_this2.props.showPublished && row.published &&
|
|
429
|
-
Card
|
|
429
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
430
|
+
Card.Subtitle,
|
|
430
431
|
{ style: { marginTop: 0 } },
|
|
431
432
|
moment(row.published).format('MMMM DD, YYYY')
|
|
432
433
|
),
|
|
433
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
434
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
434
435
|
LazyLoad,
|
|
435
436
|
{ height: 50 },
|
|
436
|
-
|
|
437
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
437
438
|
),
|
|
438
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
439
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
439
440
|
LazyLoad,
|
|
440
441
|
{ height: 50 },
|
|
441
|
-
|
|
442
|
+
React.createElement(
|
|
442
443
|
'p',
|
|
443
444
|
{
|
|
444
445
|
className: 'article-category',
|
|
@@ -453,8 +454,8 @@ var GridContent = function (_React$Component) {
|
|
|
453
454
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
454
455
|
)
|
|
455
456
|
),
|
|
456
|
-
|
|
457
|
-
Card
|
|
457
|
+
React.createElement(
|
|
458
|
+
Card.Text,
|
|
458
459
|
null,
|
|
459
460
|
clean_html_1(row.summary)
|
|
460
461
|
)
|
|
@@ -463,13 +464,13 @@ var GridContent = function (_React$Component) {
|
|
|
463
464
|
)
|
|
464
465
|
)
|
|
465
466
|
);
|
|
466
|
-
}) :
|
|
467
|
+
}) : React.createElement(
|
|
467
468
|
'div',
|
|
468
469
|
null,
|
|
469
|
-
|
|
470
|
+
React.createElement(
|
|
470
471
|
'h5',
|
|
471
472
|
null,
|
|
472
|
-
|
|
473
|
+
React.createElement(
|
|
473
474
|
'em',
|
|
474
475
|
null,
|
|
475
476
|
'New content coming soon, please check back later.'
|
|
@@ -584,7 +585,7 @@ var GridContent = function (_React$Component) {
|
|
|
584
585
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
585
586
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
586
587
|
var featureCount = 0;
|
|
587
|
-
return
|
|
588
|
+
return React.createElement(
|
|
588
589
|
'div',
|
|
589
590
|
{ className: 'grid-container' },
|
|
590
591
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -594,59 +595,59 @@ var GridContent = function (_React$Component) {
|
|
|
594
595
|
if (row._type === 'feature') {
|
|
595
596
|
featureCount++;
|
|
596
597
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
597
|
-
return
|
|
598
|
-
|
|
598
|
+
return React.createElement(
|
|
599
|
+
React.Fragment,
|
|
599
600
|
{ key: itemCounter },
|
|
600
|
-
|
|
601
|
+
React.createElement(
|
|
601
602
|
VisibilitySensor,
|
|
602
603
|
{
|
|
603
604
|
partialVisibility: true,
|
|
604
605
|
onChange: function onChange(isVisible) {
|
|
605
606
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
606
607
|
} },
|
|
607
|
-
|
|
608
|
+
React.createElement(
|
|
608
609
|
'div',
|
|
609
610
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
610
|
-
|
|
611
|
-
Card
|
|
611
|
+
React.createElement(
|
|
612
|
+
Card,
|
|
612
613
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
613
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
614
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
614
615
|
'a',
|
|
615
616
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
616
|
-
|
|
617
|
+
React.createElement(
|
|
617
618
|
LazyLoad,
|
|
618
619
|
{ height: _this2.props.imageHeight },
|
|
619
|
-
|
|
620
|
+
React.createElement(Card.Img, {
|
|
620
621
|
variant: 'top',
|
|
621
622
|
src: _this2.renderCardImage(row, page),
|
|
622
623
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
623
624
|
})
|
|
624
625
|
)
|
|
625
626
|
),
|
|
626
|
-
|
|
627
|
-
Card
|
|
627
|
+
React.createElement(
|
|
628
|
+
Card.Body,
|
|
628
629
|
null,
|
|
629
|
-
|
|
630
|
+
React.createElement(
|
|
630
631
|
'a',
|
|
631
632
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
632
|
-
|
|
633
|
-
Card
|
|
633
|
+
React.createElement(
|
|
634
|
+
Card.Title,
|
|
634
635
|
null,
|
|
635
636
|
row.title
|
|
636
637
|
)
|
|
637
638
|
),
|
|
638
|
-
_this2.props.showPublished && row.published &&
|
|
639
|
-
Card
|
|
639
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
640
|
+
Card.Subtitle,
|
|
640
641
|
{ style: { marginTop: 0 } },
|
|
641
642
|
moment(row.published).format('MMMM DD, YYYY')
|
|
642
643
|
),
|
|
643
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
644
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
644
645
|
LazyLoad,
|
|
645
646
|
{ height: 50 },
|
|
646
|
-
|
|
647
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
647
648
|
),
|
|
648
|
-
|
|
649
|
-
Card
|
|
649
|
+
React.createElement(
|
|
650
|
+
Card.Text,
|
|
650
651
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
651
652
|
clean_html_1(row.summary)
|
|
652
653
|
)
|
|
@@ -654,63 +655,63 @@ var GridContent = function (_React$Component) {
|
|
|
654
655
|
)
|
|
655
656
|
)
|
|
656
657
|
),
|
|
657
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
658
|
-
|
|
658
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
659
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
659
660
|
);
|
|
660
661
|
} else {
|
|
661
|
-
return
|
|
662
|
-
|
|
662
|
+
return React.createElement(
|
|
663
|
+
React.Fragment,
|
|
663
664
|
{ key: itemCounter },
|
|
664
|
-
|
|
665
|
+
React.createElement(
|
|
665
666
|
VisibilitySensor,
|
|
666
667
|
{
|
|
667
668
|
partialVisibility: true,
|
|
668
669
|
onChange: function onChange(isVisible) {
|
|
669
670
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, index);
|
|
670
671
|
} },
|
|
671
|
-
|
|
672
|
+
React.createElement(
|
|
672
673
|
'div',
|
|
673
674
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
674
|
-
|
|
675
|
-
Card
|
|
675
|
+
React.createElement(
|
|
676
|
+
Card,
|
|
676
677
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
677
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
678
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
678
679
|
'a',
|
|
679
680
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
680
|
-
|
|
681
|
+
React.createElement(
|
|
681
682
|
LazyLoad,
|
|
682
683
|
{ height: _this2.props.imageHeight },
|
|
683
|
-
|
|
684
|
+
React.createElement(Card.Img, {
|
|
684
685
|
variant: 'top',
|
|
685
686
|
src: _this2.renderCardImage(row, page),
|
|
686
687
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
687
688
|
})
|
|
688
689
|
)
|
|
689
690
|
),
|
|
690
|
-
|
|
691
|
-
Card
|
|
691
|
+
React.createElement(
|
|
692
|
+
Card.Body,
|
|
692
693
|
null,
|
|
693
|
-
|
|
694
|
+
React.createElement(
|
|
694
695
|
'a',
|
|
695
696
|
{ href: row.url.current },
|
|
696
|
-
|
|
697
|
-
Card
|
|
697
|
+
React.createElement(
|
|
698
|
+
Card.Title,
|
|
698
699
|
null,
|
|
699
700
|
row.title
|
|
700
701
|
)
|
|
701
702
|
),
|
|
702
|
-
_this2.props.showPublished && row.published &&
|
|
703
|
-
Card
|
|
703
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
704
|
+
Card.Subtitle,
|
|
704
705
|
{ style: { marginTop: 0 } },
|
|
705
706
|
moment(row.published).format('MMMM DD, YYYY')
|
|
706
707
|
),
|
|
707
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
708
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
708
709
|
LazyLoad,
|
|
709
710
|
{ height: 50 },
|
|
710
|
-
|
|
711
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
711
712
|
),
|
|
712
|
-
|
|
713
|
-
Card
|
|
713
|
+
React.createElement(
|
|
714
|
+
Card.Text,
|
|
714
715
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
715
716
|
clean_html_1(row.summary)
|
|
716
717
|
)
|
|
@@ -718,71 +719,71 @@ var GridContent = function (_React$Component) {
|
|
|
718
719
|
)
|
|
719
720
|
)
|
|
720
721
|
),
|
|
721
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
722
|
-
|
|
722
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
723
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
723
724
|
);
|
|
724
725
|
}
|
|
725
726
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
726
|
-
return
|
|
727
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
727
728
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
728
|
-
return
|
|
729
|
-
} else if (row._type === 'publication') return
|
|
729
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
730
|
+
} else if (row._type === 'publication') return React.createElement(PublicationFeature, { data: row, defaultImage: _this2.defaultImage, issueMapping: _this2.props.issueMapping, client: _this2.client });
|
|
730
731
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
731
|
-
return
|
|
732
|
-
|
|
732
|
+
return React.createElement(
|
|
733
|
+
React.Fragment,
|
|
733
734
|
{ key: itemCounter },
|
|
734
|
-
|
|
735
|
+
React.createElement(
|
|
735
736
|
VisibilitySensor,
|
|
736
737
|
{
|
|
737
738
|
onChange: function onChange(isVisible) {
|
|
738
739
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
739
740
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
740
741
|
} },
|
|
741
|
-
|
|
742
|
+
React.createElement(
|
|
742
743
|
'div',
|
|
743
744
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
744
|
-
|
|
745
|
-
Card
|
|
745
|
+
React.createElement(
|
|
746
|
+
Card,
|
|
746
747
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
747
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
748
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
748
749
|
'a',
|
|
749
750
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
750
|
-
|
|
751
|
+
React.createElement(
|
|
751
752
|
LazyLoad,
|
|
752
753
|
{ height: _this2.props.imageHeight },
|
|
753
|
-
|
|
754
|
+
React.createElement(Card.Img, {
|
|
754
755
|
variant: 'top',
|
|
755
756
|
src: _this2.renderCardImage(row, page),
|
|
756
757
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
757
758
|
})
|
|
758
759
|
)
|
|
759
760
|
),
|
|
760
|
-
|
|
761
|
-
Card
|
|
761
|
+
React.createElement(
|
|
762
|
+
Card.Body,
|
|
762
763
|
null,
|
|
763
|
-
|
|
764
|
+
React.createElement(
|
|
764
765
|
'a',
|
|
765
766
|
{ href: linkHref },
|
|
766
|
-
|
|
767
|
-
Card
|
|
767
|
+
React.createElement(
|
|
768
|
+
Card.Title,
|
|
768
769
|
null,
|
|
769
770
|
row.title
|
|
770
771
|
)
|
|
771
772
|
),
|
|
772
|
-
_this2.props.showPublished && row.published &&
|
|
773
|
-
Card
|
|
773
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
774
|
+
Card.Subtitle,
|
|
774
775
|
{ style: { marginTop: 0 } },
|
|
775
776
|
moment(row.published).format('MMMM DD, YYYY')
|
|
776
777
|
),
|
|
777
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
778
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
778
779
|
LazyLoad,
|
|
779
780
|
{ height: 50 },
|
|
780
|
-
|
|
781
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
781
782
|
),
|
|
782
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
783
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
783
784
|
LazyLoad,
|
|
784
785
|
{ height: 50 },
|
|
785
|
-
|
|
786
|
+
React.createElement(
|
|
786
787
|
'p',
|
|
787
788
|
{
|
|
788
789
|
className: 'article-category',
|
|
@@ -797,8 +798,8 @@ var GridContent = function (_React$Component) {
|
|
|
797
798
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
798
799
|
)
|
|
799
800
|
),
|
|
800
|
-
|
|
801
|
-
Card
|
|
801
|
+
React.createElement(
|
|
802
|
+
Card.Text,
|
|
802
803
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
803
804
|
clean_html_1(row.summary)
|
|
804
805
|
)
|
|
@@ -806,17 +807,17 @@ var GridContent = function (_React$Component) {
|
|
|
806
807
|
)
|
|
807
808
|
)
|
|
808
809
|
),
|
|
809
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
810
|
-
|
|
810
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
811
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
811
812
|
);
|
|
812
813
|
} else return null;
|
|
813
|
-
}) :
|
|
814
|
+
}) : React.createElement(
|
|
814
815
|
'div',
|
|
815
816
|
null,
|
|
816
|
-
|
|
817
|
+
React.createElement(
|
|
817
818
|
'h5',
|
|
818
819
|
null,
|
|
819
|
-
|
|
820
|
+
React.createElement(
|
|
820
821
|
'em',
|
|
821
822
|
null,
|
|
822
823
|
'New content coming soon, please check back later.'
|
|
@@ -841,29 +842,29 @@ var GridContent = function (_React$Component) {
|
|
|
841
842
|
brandInsight = _props.brandInsight;
|
|
842
843
|
|
|
843
844
|
|
|
844
|
-
return
|
|
845
|
+
return React.createElement(
|
|
845
846
|
'div',
|
|
846
847
|
{ className: 'contentDeck' },
|
|
847
|
-
autoScroll ?
|
|
848
|
+
autoScroll ? React.createElement(
|
|
848
849
|
InfiniteScroll,
|
|
849
850
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
850
|
-
|
|
851
|
-
Container
|
|
851
|
+
React.createElement(
|
|
852
|
+
Container,
|
|
852
853
|
null,
|
|
853
854
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
854
855
|
)
|
|
855
|
-
) :
|
|
856
|
-
|
|
856
|
+
) : React.createElement(
|
|
857
|
+
React.Fragment,
|
|
857
858
|
null,
|
|
858
|
-
|
|
859
|
-
Container
|
|
859
|
+
React.createElement(
|
|
860
|
+
Container,
|
|
860
861
|
null,
|
|
861
862
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
862
863
|
),
|
|
863
|
-
|
|
864
|
+
React.createElement(
|
|
864
865
|
'div',
|
|
865
866
|
{ style: { padding: '0px 10px' } },
|
|
866
|
-
this.state.scrolling ?
|
|
867
|
+
this.state.scrolling ? React.createElement(
|
|
867
868
|
'button',
|
|
868
869
|
{
|
|
869
870
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -871,17 +872,17 @@ var GridContent = function (_React$Component) {
|
|
|
871
872
|
_this3.loadMore();
|
|
872
873
|
} },
|
|
873
874
|
'Load More'
|
|
874
|
-
) :
|
|
875
|
+
) : React.createElement(
|
|
875
876
|
'p',
|
|
876
877
|
{ style: { textAlign: 'center' } },
|
|
877
|
-
|
|
878
|
+
React.createElement(
|
|
878
879
|
'b',
|
|
879
880
|
null,
|
|
880
881
|
'End of data'
|
|
881
882
|
)
|
|
882
883
|
)
|
|
883
884
|
),
|
|
884
|
-
|
|
885
|
+
React.createElement(
|
|
885
886
|
'noscript',
|
|
886
887
|
null,
|
|
887
888
|
this.renderManualPagination()
|
|
@@ -892,8 +893,8 @@ var GridContent = function (_React$Component) {
|
|
|
892
893
|
}]);
|
|
893
894
|
|
|
894
895
|
return GridContent;
|
|
895
|
-
}(
|
|
896
|
+
}(React.Component);
|
|
896
897
|
|
|
897
|
-
var GridContent$1 =
|
|
898
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
898
899
|
|
|
899
900
|
export default GridContent$1;
|